This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# requires android ndkr8b or above | |
.PHONY: check-ndk clean | |
LIBOBJC2_MAKEFILE := libobjc2-1.6.1/Makefile | |
X86SYSROOT := $(shell pwd)/androidtoolchain-x86 | |
ARMSYSROOT := $(shell pwd)/androidtoolchain-arm | |
GCC_X86 := $(X86SYSROOT)/bin/i686-android-linux-gcc | |
GCC_ARM := $(ARMSYSROOT)/bin/arm-linux-androideabi-gcc | |
LLVM_CONFIGURE := llvm/configure |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
driver = sqlite | |
connect = /etc/mailbox.sqlite | |
password_query = SELECT password, (username || '@' || domain) AS user FROM mailbox WHERE username = '%n' AND domain = '%d' | |
user_query = SELECT '/var/vmail/%d/%n' AS mail, 999 AS uid, 8 AS gid FROM mailbox WHERE username = '%n' AND domain = '%d' AND active = '1' | |
iterate_query = SELECT username, domain FROM mailbox | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
template<class T> | |
class storage_pool { | |
static const size_t mBlockSize = sizeof(T); | |
typedef union freelist_t {char data[mBlockSize];freelist_t* next;} freelist_t; | |
private: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ByteBuffer buff = ByteBuffer.allocateDirect(2); | |
buff.order(ByteOrder.LITTLE_ENDIAN); | |
res = LibUsb.controlTransfer(handle, | |
(byte) (LibUsb.ENDPOINT_IN | LibUsb.REQUEST_TYPE_VENDOR), | |
(byte) 51, | |
(short) 0, | |
(short) 0, | |
buff, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# XRF v2.1 Test Plan | |
- [ ] Test Auto Export setting from all apps | |
- [ ] Auto Export setting persits after toggling, opening/closing app, restart instrument | |
- [ ] Test Auto Export append setting | |
- [ ] Test export to network share | |
- [ ] Test export spectra setting from all app | |
- [ ] Auto export spectra setting persists after toggling, opening/closing app, restart instrument | |
- [ ] |