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
| // Assume setup from touch control | |
| // Connect 20 turns of ~2" wide 28AWG wire between PA2 and GND. | |
| void RunTest()__attribute__((noinline, section(".srodata"))); | |
| void DelaySysTick_RAM( uint32_t n ) __attribute__((noinline, section(".srodata"))); | |
| void DelaySysTick_RAM( uint32_t n ) | |
| { | |
| #if defined(CH32V003) || defined(CH32V00x) | |
| uint32_t targend = SysTick->CNT + n; |
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
| Shader "cnlohr/StepShader" | |
| { | |
| Properties | |
| { | |
| _MainTex ("Texture", 2D) = "white" {} | |
| _TANoiseTex ("TANoise", 2D) = "white" {} | |
| } | |
| SubShader | |
| { | |
| Tags { "RenderType"="Opaque" } |
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
| set nocompatible | |
| set number | |
| set ruler | |
| syntax on |
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
| Shader "Unlit/QuestGEO" | |
| { | |
| Properties | |
| { | |
| } | |
| SubShader | |
| { | |
| Tags { "RenderType"="Opaque" } | |
| Pass |
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
| // Execute with | |
| // gcc -g dependagen.c -o dependagen && ./dependagen > test.dot | |
| // dot -Tpng < test.dot > test.png | |
| #include <stdint.h> | |
| #include <stdio.h> | |
| #include <dirent.h> | |
| #include <string.h> | |
| #include <stdlib.h> | |
| #include <sys/stat.h> | |
| #include <errno.h> |
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
| #include <stdint.h> | |
| #include <stdio.h> | |
| int main() | |
| { | |
| int i; | |
| int a = 0; | |
| int b = 1073741823; // 2^30-1 |
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
| # So you don't pull your hair out, workflow dispatches must be in the default branch. | |
| name: Secret Test | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| jobs: |
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
| #ifndef FIX_FFT_H | |
| #define FIX_FFT_H | |
| int fix_fftr(short*, int, int); | |
| int fix_fft(short fr[], short fi[], short m, short inverse); | |
| #endif | |
| #ifdef FIX_FFT_IMPLEMENTATION |
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
| {"schemaVersion":1,"label":"Exe Size","message":"21672\nminiosctest","color":"orange"} |
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
| #include <stdio.h> | |
| #include <math.h> | |
| #include <stdlib.h> | |
| #define CNFG_IMPLEMENTATION | |
| #include "rawdraw_sf.h" | |
| void HandleKey( int keycode, int bDown ) { } | |
| void HandleButton( int x, int y, int button, int bDown ) { } |
NewerOlder