- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for firstSlash (0.13 sec)
-
platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/AbstractFileSystemNodeWithChildrenTest.groovy
childPaths.collect { childPath -> def firstSlash = childPath.indexOf('/') String newChildPath = firstSlash > -1 ? "${childPath.substring(0, firstSlash)}0${childPath.substring(firstSlash)}" : "${childPath}0" new VirtualFileSystemTestSpec(childPaths, newChildPath, null)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 9.3K bytes - Viewed (0) -
src/internal/platform/zosarch.go
{"ios", "arm64"}: {CgoSupported: true}, {"js", "wasm"}: {}, {"linux", "386"}: {CgoSupported: true, FirstClass: true}, {"linux", "amd64"}: {CgoSupported: true, FirstClass: true}, {"linux", "arm"}: {CgoSupported: true, FirstClass: true}, {"linux", "arm64"}: {CgoSupported: true, FirstClass: true}, {"linux", "loong64"}: {CgoSupported: true}, {"linux", "mips"}: {CgoSupported: true},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 25 09:19:16 UTC 2024 - 3.8K bytes - Viewed (0) -
src/internal/platform/zosarch_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 22 19:44:52 UTC 2023 - 2.9K bytes - Viewed (0) -
pkg/ledger/ledger_test.go
getResult, err = l.GetPreviousValue(firstHash, "foo") assert.NoError(t, err) assert.Equal(t, getResult, "bar") if len(resultHashes) != 3 { t.Fatal("Encountered has collision") } } func TestOrderAgnosticism(t *testing.T) { l := smtLedger{tree: newSMT(MyHasher, nil, time.Minute)} _, err := l.Put("foo", "bar") assert.NoError(t, err) firstHash, err := l.Put("second", "value") assert.NoError(t, err)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jul 12 16:12:59 UTC 2023 - 4K bytes - Viewed (0) -
src/internal/platform/supported.go
// stored in the generated distInfo map. type osArchInfo struct { CgoSupported bool FirstClass bool Broken bool } // CgoSupported reports whether goos/goarch supports cgo. func CgoSupported(goos, goarch string) bool { return distInfo[OSArch{goos, goarch}].CgoSupported } // FirstClass reports whether goos/goarch is considered a “first class” port.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 04 07:50:22 UTC 2024 - 7.6K bytes - Viewed (0) -
src/cmd/go/internal/tool/tool.go
} if *jsonFlag { results = append(results, jsonResult{ GOOS: p.GOOS, GOARCH: p.GOARCH, CgoSupported: platform.CgoSupported(p.GOOS, p.GOARCH), FirstClass: platform.FirstClass(p.GOOS, p.GOARCH), Broken: broken, }) } } out, err := json.MarshalIndent(results, "", "\t") if err != nil { return false } os.Stdout.Write(out) return true
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 05 18:02:11 UTC 2024 - 5.9K bytes - Viewed (0) -
pilot/pkg/serviceregistry/serviceentry/controller.go
hash.Write([]byte(makeServiceKey(svc))) s := hash.Sum32() firstHash := s % uint32(maxIPs) // Check if there is a service with this hash first. If there is no service // at this location - then we can safely assign this position for this service. if hashedServices[firstHash] == nil { hashedServices[firstHash] = svc } else { // This means we have a collision. Resolve collision by "DoubleHashing".
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 15:31:09 UTC 2024 - 36.8K bytes - Viewed (0) -
src/cmd/dist/build.go
GOARCH string CgoSupported bool FirstClass bool Broken bool `json:",omitempty"` } var results []jsonResult for _, p := range plats { fields := strings.Split(p, "/") results = append(results, jsonResult{ GOOS: fields[0], GOARCH: fields[1], CgoSupported: cgoEnabled[p], FirstClass: firstClass[p], Broken: broken[p], }) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 18:34:40 UTC 2024 - 54K bytes - Viewed (0)