- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 5,360 for watt (0.05 sec)
-
cmd/data-scanner_test.go
obj ObjectInfo want lifecycle.Action }{ { // with object locking ilm: *deleteAllLc, retention: lock.Retention{LockEnabled: true}, obj: obj, want: lifecycle.NoneAction, }, { // without object locking ilm: *deleteAllLc, retention: lock.Retention{}, obj: obj, want: lifecycle.DeleteAllVersionsAction, },
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 03 11:18:58 UTC 2024 - 6.9K bytes - Viewed (0) -
src/runtime/stack_test.go
t.Errorf("output does not contain %d instances of %q:\n%s", count, want, output) } if want, count := "main.recurseThenCallGo(...)", ancestorsExpected*(numFrames+1); strings.Count(output, want) != count { t.Errorf("output does not contain %d instances of %q:\n%s", count, want, output) } if want, count := "main.recurseThenCallGo(0x", 1; strings.Count(output, want) != count {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 14 00:03:57 UTC 2023 - 23.1K bytes - Viewed (0) -
pkg/kube/informerfactory/factory.go
if !cache.WaitForCacheSync(stopCh, informer.HasSynced) { return false } } return true } func (f *informerFactory) Shutdown() { // Will return immediately if there is nothing to wait for. defer f.wg.Wait() f.lock.Lock() defer f.lock.Unlock() f.shuttingDown = true
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 7.9K bytes - Viewed (0) -
src/html/template/clone_test.go
} if _, err := t0.Lookup("lhs").Clone(); err == nil { t.Error(`t0.Lookup("lhs").Clone(): got nil err want non-nil`) } // Execute t3. b.Reset() if err := t3.ExecuteTemplate(b, "a", "<i>*/"); err != nil { t.Fatal(err) } if got, want := b.String(), ` <style> ZgotmplZ </style> `; got != want { t.Errorf("t3: got %q want %q", got, want) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 06 15:48:16 UTC 2022 - 8K bytes - Viewed (0) -
src/cmd/go/go_unix_test.go
tg.creatingTemp(exe) tg.run("build", "-o", exe, tg.path("x.go")) fi, err := os.Stat(exe) if err != nil { t.Fatal(err) } got, want := fi.Mode(), cfi.Mode() if got == want { t.Logf("wrote x with mode %v", got) } else { t.Fatalf("wrote x with mode %v, wanted no 0077 bits (%v)", got, want) } } // TestTestInterrupt verifies the fix for issue #60203. // // If the whole process group for a 'go test' invocation receives
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 19 16:17:55 UTC 2023 - 3.5K bytes - Viewed (0) -
src/runtime/profbuf.go
// first record want := 2 + int(b.hdrsize) + nstk1 i := int(bw.dataCount() % uint32(len(b.data))) if i+want > len(b.data) { // Can't fit in trailing fragment of slice. // Skip over that and start over at beginning of slice. nd -= len(b.data) - i i = 0 } i += want nd -= want // second record want = 2 + int(b.hdrsize) + nstk2 if i+want > len(b.data) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 18.2K bytes - Viewed (0) -
src/os/signal/signal_cgo_test.go
t.Fatalf("unable to find child process: %v", err) } // Wait for the third child to write a byte indicating that it is // entering the read. b = make([]byte, 1) _, err = pty.Read(b) if err != nil { t.Fatalf("error reading from child: %v", err) } // Give the program time to enter the read call. // It doesn't matter much if we occasionally don't wait long enough;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 20 10:09:15 UTC 2024 - 10.7K bytes - Viewed (0) -
src/os/os_test.go
} if g, e := len(de), want; g != e { t.Errorf("ReadDir of %d got %d files, want %d", n, g, e) } } readdirnamesExpect := func(n, want int, wantErr error) { t.Helper() fi, err := d.Readdirnames(n) if err != wantErr { t.Fatalf("Readdirnames of %d got error %v, want %v", n, err, wantErr) } if g, e := len(fi), want; g != e {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 83.1K bytes - Viewed (0) -
src/sync/map_test.go
t.Fatalf("Nested Range loads unexpected value, got %+v want %+v", v, value) } // We didn't keep 42 and a value into the map before, if somehow we loaded // a value from such a key, meaning there must be an internal bug regarding // nested range in the Map. if _, loaded := m.LoadOrStore(42, "dummy"); loaded { t.Fatalf("Nested Range loads unexpected value, want store a new value") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 01 15:34:22 UTC 2024 - 8.1K bytes - Viewed (0) -
src/net/file_test.go
}() c, err := ln2.Accept() if err != nil { if perr := parseAcceptError(err); perr != nil { t.Error(perr) } t.Fatal(err) } c.Close() wg.Wait() if !reflect.DeepEqual(ln2.Addr(), addr) { t.Fatalf("got %#v; want %#v", ln2.Addr(), addr) } } } var filePacketConnTests = []struct { network string }{ {"udp"}, {"unixgram"}, }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 6.4K bytes - Viewed (0)