- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for newV2 (0.06 sec)
-
pkg/kubelet/cm/devicemanager/checkpoint/checkpoint.go
} // New returns an instance of Checkpoint - must be an alias for the most recent version func New(devEntries []PodDevicesEntry, devices map[string][]string) DeviceManagerCheckpoint { return newV2(devEntries, devices) } func newV2(devEntries []PodDevicesEntry, devices map[string][]string) DeviceManagerCheckpoint { return &Data{ Data: checkpointData{ PodDeviceEntries: devEntries, RegisteredDevices: devices, }, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 15 12:01:56 UTC 2024 - 3.2K bytes - Viewed (0) -
src/hash/fnv/fnv.go
offset128Higher = 0x6c62272e07bb0142 prime32 = 16777619 prime64 = 1099511628211 prime128Lower = 0x13b prime128Shift = 24 ) // New32 returns a new 32-bit FNV-1 [hash.Hash]. // Its Sum method will lay the value out in big-endian byte order. func New32() hash.Hash32 { var s sum32 = offset32 return &s } // New32a returns a new 32-bit FNV-1a [hash.Hash].
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 18 22:36:41 UTC 2024 - 8.5K bytes - Viewed (0) -
src/runtime/gc_test.go
// further move the stack. new2 := uintptr(unsafe.Pointer(new)) t.Logf("old stack pointer %x, new stack pointer %x", old, new2) if new2 == old { // Check that we didn't screw up the test's escape analysis. if cls := runtime.GCTestPointerClass(unsafe.Pointer(new)); cls != "stack" { t.Fatalf("test bug: new (%#x) should be a stack pointer, not %s", new2, cls) } // This was a real failure.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 05 22:33:52 UTC 2024 - 17.6K bytes - Viewed (0) -
src/internal/types/testdata/check/builtins0.go
q := new(*float64) _ = *p == **q new /* ERROR "not used" */ (int) _ = &new /* ERROR "cannot take address" */ (int) _ = new(int... /* ERROR "invalid use of ..." */ ) } func new2() { f1 := func() (x []int) { return } _ = new(f0 /* ERROR "not a type" */ ()) _ = new(f1 /* ERROR "not a type" */ ()) } func panic1() { panic() // ERROR "not enough arguments"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 29.3K bytes - Viewed (0) -
src/cmd/internal/testdir/testdir_test.go
} } else if wantError { t.Fatal("unexpected success") } }) } } } func shardMatch(name string) bool { if *shards <= 1 { return true } h := fnv.New32() io.WriteString(h, name) return int(h.Sum32()%uint32(*shards)) == *shard } func goFiles(t *testing.T, dir string) []string { f, err := os.Open(filepath.Join(testenv.GOROOT(t), "test", dir)) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 20:08:06 UTC 2024 - 57.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"MakeTable", Func, 0}, {"New", Func, 0}, {"Size", Const, 0}, {"Table", Type, 0}, {"Update", Func, 0}, }, "hash/fnv": { {"New128", Func, 9}, {"New128a", Func, 9}, {"New32", Func, 0}, {"New32a", Func, 0}, {"New64", Func, 0}, {"New64a", Func, 0}, }, "hash/maphash": { {"(*Hash).BlockSize", Method, 14}, {"(*Hash).Reset", Method, 14},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0)