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
STARTING a lot of adding; N = 1000000000 | |
buckets per file: 523263 | |
initializing (zeroing) filesize: 2143285248 | |
done zeroing filesize for testfile.dish.0, elapsed: 17.751s | |
initializing (zeroing) filesize: 2143285248 | |
done zeroing filesize for testfile.dish.1, elapsed: 15.65s | |
initializing (zeroing) filesize: 2143285248 | |
done zeroing filesize for testfile.dish.2, elapsed: 15.752s | |
initializing (zeroing) filesize: 2143285248 | |
done zeroing filesize for testfile.dish.3, elapsed: 15.477s |
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
.highlight pre { | |
-moz-tab-size: 3 !important; | |
-webkit-tab-size: 3 !important; | |
-o-tab-size: 3 !important; | |
tab-size: 3 !important; | |
} | |
textarea.code { | |
-moz-tab-size: 3 !important; | |
-webkit-tab-size: 3 !important; |
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 ( | |
"bytes" | |
"io/ioutil" | |
"log" | |
"os" | |
"os/exec" | |
) |
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
{ | |
"outputGraphPath":"/Users/wfreeman/rdf2neo-test/", | |
"gzippedNTripleFile":"/Users/wfreeman/rdf2neo/freebase-1m.nt.gz", | |
"nodeTypeSubjects": [], | |
"nodeTypePredicates": ["<http://rdf.freebase.com/ns/type.type.instance>"], | |
"nodeTypeSubjectsConjunctive": [], | |
"ignoreSubjects":[], | |
"ignorePredicates":[], | |
"ignoreObjects":[], | |
"ignorePredicatePrefixes":[], |
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/FoundationDB/fdb-go/fdb" | |
"github.com/FoundationDB/fdb-go/fdb/directory" | |
"github.com/FoundationDB/fdb-go/fdb/subspace" | |
"github.com/FoundationDB/fdb-go/fdb/tuple" | |
"errors" | |
"fmt" |
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
match (n:Position) return n.score, n.fen limit 10; |
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
CREATE CONSTRAINT ON (p:Position) ASSERT p.fen IS UNIQUE; | |
CREATE (g:Game) SET g.black = 'Polgar, Zsuzsa', g.white = 'Ftacnik, Lubomir', g.date= '1982.??.??', g.result = '0-1' | |
MERGE (p0:Position {fen:'rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1'}) ON CREATE SET p0.score = -39, p0.depth = 10 WITH p0, g MERGE (p0)<-[:CONTAINS {movenum:0}]-(g) | |
MERGE (p1:Position {fen:'rnbqkbnr/pppppppp/8/8/3P4/8/PPP1PPPP/RNBQKBNR b KQkq d3 0 1'}) ON CREATE SET p1.score = 41, p1.depth = 10 MERGE (p0)-[:NEXT {move:'g8f6'}]->(p1) MERGE (p1)<-[:CONTAINS {movenum:1}]-(g) | |
MERGE (p2:Position {fen:'rnbqkb1r/pppppppp/5n2/8/3P4/8/PPP1PPPP/RNBQKBNR w KQkq - 1 2'}) ON CREATE SET p2.score = 18, p2.depth = 10 MERGE (p1)-[:NEXT {move:'c1f4'}]->(p2) MERGE (p2)<-[:CONTAINS {movenum:2}]-(g) | |
MERGE (p3:Position {fen:'rnbqkb1r/pppppppp/5n2/8/2PP4/8/PP2PPPP/RNBQKBNR b KQkq c3 0 2'}) ON CREATE SET p3.score = -14, p3.depth = 10 MERGE (p2)-[:NEXT {move:'e7e6'}]->(p3) MERGE (p3)<-[:CONTAINS {movenum:3}]-(g) | |
MERGE (p4:Position {fen:'rnbqk |
This file has been truncated, but you can view the full file.
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
# github.com/FoundationDB/fdb-go/fdb | |
"".int64ToBytes t=1 size=528 value=0 args=0x30 locals=0xa0 | |
000000 00000 (/Users/wfreeman/gocode/src/github.com/FoundationDB/fdb-go/fdb/generated.go:17) TEXT "".int64ToBytes+0(SB),$160-48 | |
000000 00000 (/Users/wfreeman/gocode/src/github.com/FoundationDB/fdb-go/fdb/generated.go:17) MOVQ (TLS),CX | |
0x0009 00009 (/Users/wfreeman/gocode/src/github.com/FoundationDB/fdb-go/fdb/generated.go:17) LEAQ -32(SP),AX | |
0x000e 00014 (/Users/wfreeman/gocode/src/github.com/FoundationDB/fdb-go/fdb/generated.go:17) CMPQ AX,(CX) | |
0x0011 00017 (/Users/wfreeman/gocode/src/github.com/FoundationDB/fdb-go/fdb/generated.go:17) JHI ,26 | |
0x0013 00019 (/Users/wfreeman/gocode/src/github.com/FoundationDB/fdb-go/fdb/generated.go:17) CALL ,runtime.morestack48_noctxt(SB) | |
0x0018 00024 (/Users/wfreeman/gocode/src/github.com/FoundationDB/fdb-go/fdb/generated.go:17) JMP ,0 | |
0x001a 00026 (/Users/wfreeman/gocode/src/github.com/FoundationDB/fdb-go/fdb/generated.go:17) SUBQ $160,SP |
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 ( | |
"bufio" | |
"fmt" | |
"os" | |
) | |
func main() { | |
filename := os.Args[1] |
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 ( | |
"bufio" | |
"fmt" | |
"math/rand" | |
"os" | |
"strings" | |
"time" | |
) |
OlderNewer