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
#include <libopencm3/stm32/gpio.h> | |
#include <libopencm3/stm32/dac.h> | |
#include <libopencm3/stm32/dma.h> | |
#include <libopencm3/stm32/rcc.h> | |
#include <libopencm3/stm32/timer.h> | |
#define SINE_TABLE_LEN 256 | |
const uint16_t sine_table[SINE_TABLE_LEN] = { // now with actual sine | |
2047, 2097, 2147, 2198, 2248, 2298, 2347, 2397, 2446, 2496, 2544, 2593, 2641, 2689, 2737, 2784, 2830, 2877, 2922, 2967, 3012, 3056, 3099, 3142, 3184, 3226, 3266, 3306, 3346, 3384, 3422, 3458, 3494, 3530, 3564, 3597, 3629, 3661, 3691, 3721, 3749, 3776, 3803, 3828, 3852, 3875, 3897, 3918, 3938, 3957, 3974, 3991, 4006, 4020, 4033, 4044, 4055, 4064, 4072, 4079, 4084, 4088, 4092, 4093, 4094, 4093, 4092, 4088, 4084, 4079, 4072, 4064, 4055, 4044, 4033, 4020, 4006, 3991, 3974, 3957, 3938, 3918, 3897, 3875, 3852, 3828, 3803, 3776, 3749, 3721, 3691, 3661, 3629, 3597, 3564, 3530, 3494, 3458, 3422, 3384, 3346, 3306, 3266, 3226, 3184, 3142, 3099, 3056, 3012, 2967, 2922, 2877, 2830, 2784, 2737, 2689, 2641, 2593, 2544, 2496, 2446, 2397, 2347, 2298, 2248, |
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
vagrant@jessie:~/skia$ ninja -C out/pi skia | |
ninja: Entering directory `out/pi' | |
[47/1162] compile ../../src/ports/SkFontConfigInterface_direct_factory.cpp | |
FAILED: obj/src/ports/fontmgr_fontconfig.SkFontConfigInterface_direct_factory.o | |
c++ -MMD -MF obj/src/ports/fontmgr_fontconfig.SkFontConfigInterface_direct_factory.o.d -DSK_SAMPLES_FOR_X -DSK_GAMMA_APPLY_TO_A8 -DSK_INTERNAL -DSKIA_IMPLEMENTATION=1 -I../../include/android -I../../include/c -I../../include/codec -I../../include/config -I../../include/core -I../../include/effects -I../../include/gpu -I../../include/gpu/gl -I../../include/images -I../../include/pathops -I../../include/ports -I../../include/svg -I../../include/utils -I../../include/utils/mac -I../../include/xml -I../../include/private -I../../src/c -I../../src/codec -I../../src/core -I../../src/effects -I../../src/effects/gradients -I../../src/fonts -I../../src/gpu -I../../src/image -I../../src/images -I../../src/lazy -I../../src/opts -I../../src/pathops -I../../src/pdf -I../../src/ports -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
/* | |
* Copyright 2014 Google Inc. | |
* | |
* Use of this source code is governed by a BSD-style license that can be | |
* found in the LICENSE file. | |
*/ | |
#include "SkTypes.h" | |
#include "gl/GrGLInterface.h" | |
#include "gl/GrGLAssembleInterface.h" |
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
#include <iostream> | |
#include <assert.h> | |
#include <stdio.h> | |
#include <cstdio> | |
#include <bcm_host.h> | |
#include <EGL/egl.h> | |
#include <EGL/eglext.h> | |
#include <GLES2/gl2.h> | |
#include <GLES2/gl2ext.h> |
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
<html> | |
<head> | |
<script language="javascript" type="text/javascript"> | |
function setAmount(amount) { | |
document.getElementById("amount").setAttribute('value', amount) | |
} | |
function openDonation() { | |
window.open("https://www.paypal.me/dominicboeck/" + document.getElementById("amount").getAttribute('value'), "_blank"); | |
} |
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
package at.renehollander.euler; | |
import java.util.*; | |
public class Sort { | |
static int n = 10; | |
static List<Integer> list = new ArrayList<>(); | |
static final int RED = 0; |
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
C:\Development\Overtool>OverTool.exe "C:\Program Files (x86)\Overwatch" M D:\OverDump Hanamura > log.txt | |
Unbehandelte Ausnahme: System.IndexOutOfRangeException: Der Index war außerhalb des Arraybereichs. | |
bei OWLib.Map..ctor(Stream input, Boolean open) | |
bei OverTool.ExtractMap.Parse(Dictionary`2 track, Dictionary`2 map, CASCHandler handler, Boolean quiet, OverToolFlags flags) | |
bei OverTool.Program.Main(String[] args) |
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
{ | |
"PresetList": [ | |
{ | |
"AudioCopyMask": [ | |
"copy:aac", | |
"copy:ac3", | |
"copy:dtshd", | |
"copy:dts", | |
"copy:mp3", | |
"copy:truehd", |
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
#include <iostream> | |
#include <iomanip> | |
#include "../src/kissrandom.h" | |
#include "../src/annoylib.h" | |
#include <chrono> | |
#include <map> | |
int main(int argc, char **argv) { | |
int f = 96; | |
int n = 100000; |
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
Adding items | |
Building index | |
Building took 53.623s | |
Searching took 15.394 ms | |
Searching took 14.526 ms | |
Searching took 14.187 ms | |
Searching took 14.201 ms | |
Searching took 13.615 ms | |
Searching took 14.154 ms | |
Searching took 14.527 ms |