This file contains 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
#!/usr/bin/env python3 | |
from bitstruct import unpack | |
from collections import namedtuple, defaultdict | |
FRAME_SIZE = 0x45b | |
# FRAME_SIZE was found like this: | |
# hexdata = bytearray(data).hex() | |
# starts=[m.span()[0] for m in re.finditer('28f1',hexdata)] |
This file contains 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
#version 410 core | |
// hacked together quickly, can be improved a lot. | |
// Also only 2-D triangle for now, and screen space and object space identified | |
// Use with GLSL Bonzomatic: https://github.com/Gargaj/Bonzomatic | |
uniform float fGlobalTime; // in seconds | |
uniform vec2 v2Resolution; // viewport resolution (in pixels) | |
uniform sampler1D texFFT; // towards 0.0 is bass / lower freq, towards 1.0 is higher / treble freq |
This file contains 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
not in cgo.js: INDEX_PAGE | |
(TAKE_PHOTO) | |
not in cgo.js: request_bind | |
not in cgo.js: get_bind_state | |
(START_RECORD) | |
(STOP_RECORD) | |
not in cgo.js: REST_VF | |
not in cgo.js: STOP_VF | |
(FORMAT_CARD) | |
not in cgo.js: DETECT_CARD |
This file contains 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
CMD:%s | |
CMD:%s | |
CMD=INDEX_PAGE | |
CMD=TAKE_PHOTO | |
CMD=request_bind | |
CMD=get_bind_state | |
CMD=START_RECORD | |
CMD=STOP_RECORD | |
CMD=REST_VF | |
CMD=STOP_VF |
This file contains 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
-------------------------------------------------------------------------------- | |
Language Files Lines Blank Comment Code | |
-------------------------------------------------------------------------------- | |
C++ 645 264440 54674 57994 151772 | |
C/C++ Header 653 122332 25020 59964 37348 | |
TypeScript 11 7244 7 0 7237 | |
XML 20 2376 61 0 2315 | |
Plain Text 132 2858 600 0 2258 | |
Autoconf 7 11976 2662 7681 1633 | |
TeX 9 722 169 20 533 |
This file contains 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
-------------------------------------------------------------------------------- | |
Language Files Lines Blank Comment Code | |
-------------------------------------------------------------------------------- | |
C++ 2062 712296 94914 88896 528486 | |
Makefile 696 375673 106112 66656 202905 | |
C/C++ Header 1254 274751 55892 82299 136560 | |
Plain Text 844 32850 5362 0 27488 | |
JSON 3 15491 0 0 15491 | |
XML 101 13300 305 0 12995 | |
Python 31 11485 2048 2132 7305 |
This file contains 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
# http://stackoverflow.com/questions/3780667/use-cmake-to-get-build-time-svn-revision | |
find_package(Git) | |
if(GIT_FOUND) | |
execute_process(COMMAND ${GIT_EXECUTABLE} describe --tags --dirty --always RESULT_VARIABLE res_var OUTPUT_VARIABLE GIT_COM_ID ) | |
if( NOT ${res_var} EQUAL 0 ) | |
set( GIT_COMMIT_ID "git commit id unknown") | |
message( WARNING "Git failed (not a repo, or no tags). Build will not contain git revision info." ) | |
endif() | |
string( REPLACE "\n" "" GIT_COMMIT_ID ${GIT_COM_ID} ) |
This file contains 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
/home/mxn/src/OpenFlipper-Free/Plugin-FeatureGraph/FeatureGraph.cc:69:9: warning: Detected code clone. [google-readability-todo] | |
max_namesize_ = std::max(name.size(), max_namesize_); | |
^ | |
/home/mxn/src/OpenFlipper-Free/Plugin-FeatureGraph/FeatureGraph.cc:69:9: note: Related code clone is here. | |
max_namesize_ = std::max(name.size(), max_namesize_); | |
^ | |
/home/mxn/src/OpenFlipper-Free/Plugin-FeatureGraph/FeatureGraph.cc:70:9: warning: Detected code clone. [google-readability-todo] | |
cout << "starting " << name << "... " << endl; | |
^ | |
/home/mxn/src/OpenFlipper-Free/Plugin-FeatureGraph/FeatureGraph.cc:78:13: note: Related code clone is here. |
This file contains 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
// clang-tidy-4.0 test.cc -- -fopenmp | |
void test() { | |
#pragma omp parallel for | |
for(int i=0; i<10; ++i) { | |
} | |
} |
This file contains 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
// clang-tidy-4.0 test.cc -- -fopenmp | |
void test() { | |
#pragma omp parallel for | |
for(int i=0; i<10; ++i) { | |
} | |
} |
NewerOlder