fork of https://github.com/sourcegraph/zoekt
1queryString: time compare\(
2query: (and substr:"time" substr:"compare(")
3targetRank: 1
4
5**github.com/golang/go/src/time/time.go**
6129:type Time struct {
779:package time
8271:func (t Time) Compare(u Time) int {
9hidden 250 more line matches
10
11github.com/sourcegraph/sourcegraph-public-snapshot/internal/api/api.go
12127:func (r ExternalRepoSpec) Compare(s ExternalRepoSpec) int {
137: "time"
14170: CreatedAt time.Time // the date when this settings value was created
15
16github.com/sourcegraph/sourcegraph-public-snapshot/client/shared/src/codeintel/scip.ts
17117: public compare(other: Range): number {
1853: return this.compare(other) < 0
1956: return this.compare(other) <= 0
20hidden 10 more line matches
21
22github.com/golang/go/src/strings/compare.go
2313:func Compare(a, b string) int {
2414: // NOTE(rsc): This function does NOT call the runtime cmpstring function,
25
26github.com/golang/go/src/go/constant/value.go
271337:func Compare(x_ Value, op token.Token, y_ Value) bool {
281102:// Division by zero leads to a run-time panic.
291381: re := Compare(x.re, token.EQL, y.re)
30hidden 1 more line matches
31
32github.com/golang/go/src/cmd/go/internal/gover/gover.go
3336:func Compare(x, y string) int {
3420:// but at the time this code was written, there was an existing test that used
3549: if c := cmp.Compare(vx.kind, vy.kind); c != 0 { // "" < alpha < beta < rc
36hidden 4 more line matches
37
38hidden 139 more file matches