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
| WARNING: DATA RACE | |
| Write by goroutine 12: | |
| github.com/google/cayley/query/gremlin.func·011() | |
| /home/daniel/Development/src/github.com/google/cayley/query/gremlin/session.go:143 +0x1d1 | |
| Previous read by **** | |
| id : /en/aries_spears | |
| goroutine 11: | |
| github.com/google/cayley/query/gremlin.runIteratorOnSession() | |
| /home/daniel/Development/src/github.com/google/cayley/query/gremlin/finals.go:256 +0x1fa |
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
| --- FAIL: TestQueries (25.37 seconds) | |
| cayley_test.go:357: Unexpected results for Net and Speed: | |
| cayley_test.go:359: | |
| got:[]interface {}{map[string]string{"movie1":"The Net", "movie2":"/film/film", "id":"Sandra Bullock"}} | |
| expect:[]interface {}{map[string]string{"id":"Sandra Bullock", "movie1":"The Net", "movie2":"Speed"}} | |
| cayley_test.go:357: Unexpected results for Keanu with other in The Net: | |
| cayley_test.go:359: | |
| got:[]interface {}{map[string]string{"costar1_movie":"/film/film", "id":"Sandra Bullock", "movie1":"The Net"}} | |
| expect:[]interface {}{map[string]string{"id":"Sandra Bullock", "movie1":"The Net", "costar1_movie":"Speed"}} | |
| cayley_test.go:359: |
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
| package biogollrb_test | |
| import ( | |
| "testing" | |
| "code.google.com/p/biogo.store/llrb" | |
| "github.com/tv42/benchmark-ordered-map/fixture" | |
| ) | |
| type llrbItemUnique fixture.Item |
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
| // ranker is a helper type for the rank function. | |
| type ranker struct { | |
| f []float64 // Data to be ranked. | |
| r []int // A list of indexes into f that reflects rank order after sorting. | |
| } | |
| // ranker satisfies the sort.Interface without mutating the reference slice, f. | |
| func (r ranker) Len() int { return len(r.f) } | |
| func (r ranker) Less(i, j int) bool { return r.f[r.r[i]] < r.f[r.r[j]] } | |
| func (r ranker) Swap(i, j int) { r.r[i], r.r[j] = r.r[j], r.r[i] } |
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
| // Copyright ©2014 The gonum Authors. All rights reserved. | |
| // Use of this source code is governed by a BSD-style | |
| // license that can be found in the LICENSE file. | |
| package concrete | |
| import ( | |
| "github.com/gonum/graph" | |
| ) |
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
| // Copyright ©2013 The gonum Authors. All rights reserved. | |
| // Use of this source code is governed by a BSD-style | |
| // license that can be found in the LICENSE file. | |
| /* | |
| Package blas provides interfaces for the BLAS linear algebra standard. | |
| All methods must perform appropriate parameter checking and panic if | |
| provided parameters that do not conform to the requirements specified | |
| by the BLAS standard. |
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
| // Copyright ©2014 Dan Kortschak. All rights reserved. | |
| // Use of this source code is governed by a BSD-style | |
| // license that can be found in the LICENSE file. | |
| // +build !ansi | |
| package ct | |
| import ( | |
| "fmt" |
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
| package matrix | |
| import ( | |
| "github.com/gonum/blas" | |
| ) | |
| var blasEngine blas.Float64 | |
| type Float64 struct { | |
| mat BlasMatrix |
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
| // Copyright ©2013 The gonum Authors. All rights reserved. | |
| // Use of this source code is governed by a BSD-style | |
| // license that can be found in the LICENSE file. | |
| /* | |
| Package blas provides interfaces for the BLAS linear algebra standard. | |
| All methods perform appropriate parameter checking and may panic | |
| if provided parameters do not conform to the requirements specified | |
| by the BLAS standard. |
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
| diff --git a/spew/dump_test.go b/spew/dump_test.go | |
| index a9504a8..d468886 100644 | |
| --- a/spew/dump_test.go | |
| +++ b/spew/dump_test.go | |
| @@ -161,6 +161,13 @@ func addIntTests() { | |
| addDumpTest(v5, "("+v5t+") "+v5s+"\n") | |
| addDumpTest(pv5, "(*"+v5t+")("+v5Addr+")("+v5s+")\n") | |
| addDumpTest(&pv5, "(**"+v5t+")("+pv5Addr+"->"+v5Addr+")("+v5s+")\n") | |
| + | |
| + // nil int* pointers. |