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 main | |
import ( | |
"fmt" | |
"github.com/HouzuoGuo/tiedot/db" | |
) | |
func main() { | |
d, err := db.OpenDB("/tmp/tiedot-tags") | |
if err != nil { |
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 <stdlib.h> | |
#include <stdio.h> | |
#include <of_openfec_api.h> | |
#define check(expr) if (!(expr)) { fprintf(stderr, "check failed: %s\n", #expr); exit(1); } | |
enum { N_SRC = 20, N_REP = 10, SZ = 100 }; | |
int main(int argc, char** argv) { | |
of_session_t* of_inst = NULL; |
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 <stdlib.h> | |
#include <stdio.h> | |
#include <of_openfec_api.h> | |
#define check(expr) if (!(expr)) { fprintf(stderr, "check failed: %s\n", #expr); exit(1); } | |
enum { N_SRC = 20, N_REP = 10, SZ = 100 }; | |
int main(int argc, char** argv) { | |
unsigned shift = 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
package main | |
import "reflect" | |
type Test *Test | |
func makeTest() Test { | |
var t1, t2 Test | |
t1 = new(Test) | |
t2 = &t1 |
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 main | |
import ( | |
"github.com/go-xorm/xorm" | |
_ "github.com/mattn/go-sqlite3" | |
) | |
type Test struct { | |
Foo string | |
} |
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
--- /dev/null 2016-05-15 11:33:43.820023781 +0300 | |
+++ configparms 2016-05-16 17:46:22.160347362 +0300 | |
@@ -0,0 +1 @@ | |
+CFLAGS += -fno-stack-protector |
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
/* $Id: of_symbol.c 206 2014-12-10 04:47:09Z roca $ */ | |
/* | |
* OpenFEC.org AL-FEC Library. | |
* (c) Copyright 2009 - 2012 INRIA - All rights reserved | |
* Contact: vincent.roca@inria.fr | |
* | |
* This software is governed by the CeCILL-C license under French law and | |
* abiding by the rules of distribution of free software. You can use, | |
* modify and/ or redistribute the software under the terms of the CeCILL-C | |
* license as circulated by CEA, CNRS and INRIA at the following URL |
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
These are the packages that would be merged, in order: | |
Calculating dependencies... done! | |
[ebuild R ~] net-im/telegram-desktop-bin-0.9.51::gv-overlay 0 KiB | |
Total: 1 package (1 reinstall), Size of downloads: 0 KiB | |
>>> Verifying ebuild manifests |
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
diff -rup a/src/lib_stable/reed-solomon_gf_2_m/of_reed-solomon_gf_2_m_api.c b/src/lib_stable/reed-solomon_gf_2_m/of_reed-solomon_gf_2_m_api.c | |
--- a/src/lib_stable/reed-solomon_gf_2_m/of_reed-solomon_gf_2_m_api.c 2014-12-16 17:29:00.000000000 +0300 | |
+++ b/src/lib_stable/reed-solomon_gf_2_m/of_reed-solomon_gf_2_m_api.c 2017-03-25 19:53:56.079893230 +0300 | |
@@ -398,7 +398,7 @@ of_status_t of_rs_2_m_finish_decoding (o | |
//char ** tmp_buf = (char**)malloc(n*sizeof(char*)); // ???? WRT RS(255) | |
if (ofcb->nb_available_symbols < k) | |
{ | |
- OF_PRINT_ERROR(("ERROR: nb received symbols < nb source symbols\n")) | |
+ OF_TRACE_LVL( 1, ("WARNING: nb received symbols < nb source symbols\n")) | |
OF_EXIT_FUNCTION |
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
./roc-recv -vv :12345 --beep | |
[debug] roc_netio: parse address: parsed 0.0.0.0:12345 | |
[debug] roc_audio: sample buffer queue: max_size=100 | |
[debug] roc_netio: udp receiver: attaching to event loop | |
[debug] roc_netio: udp sender: attaching to event loop | |
[info] roc_netio: udp receiver: adding port 0.0.0.0:12345 | |
[debug] roc_netio: udp receiver: opening port 0.0.0.0:12345 | |
[debug] roc_sndio: writer: opening: name=(null) type=(null) | |
[info] roc_sndio: initializing sox | |
[debug] roc_sndio: driver waveaudio is not supported |
OlderNewer