- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 27 for wantnil (0.29 sec)
-
src/net/splice_linux_test.go
t.Errorf("want %d bytes spliced, got %d", want, n) } if tc.limitReadSize > 0 { wantN := 0 if tc.limitReadSize > size { wantN = tc.limitReadSize - size } if n := r.(*io.LimitedReader).N; n != int64(wantN) { t.Errorf("r.N = %d, want %d", n, wantN) } } // poll.Splice is expected to be called when the source is not // a wrapper or the destination is TCPConn.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 21:49:26 UTC 2024 - 14.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/config_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 16:56:39 UTC 2024 - 72.3K bytes - Viewed (0) -
src/cmd/compile/internal/test/pgo_inl_test.go
testenv.MustHaveGoRun(t) t.Parallel() const pkg = "example.com/pgo/inline" want := []string{ "(*BS).NS", } // The functions which are not expected to be inlined are as follows. wantNot := []string{ // The calling edge main->A is hot and the cost of A is large // than inlineHotCalleeMaxBudget. "A", // The calling edge BenchmarkA" -> benchmarkB is cold and the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 11.1K bytes - Viewed (0) -
cmd/streaming-signature-v4.go
} sig = sig[len("x-amz-trailer-signature:"):] sig = bytes.TrimSpace(sig) cr.chunkSHA256Writer.Write(valueBuffer.Bytes()) wantSig := cr.getTrailerChunkSignature() if !compareSignatureV4(string(sig), wantSig) { if cr.debug { fmt.Printf("signature, want: %q, got %q\nSignature buffer: %q\n", wantSig, string(sig), valueBuffer.String()) } return errSignatureMismatch } // Parse trailers.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu May 16 23:13:47 UTC 2024 - 18.2K bytes - Viewed (0) -
internal/grid/grid_test.go
}, OutCapacity: 1, InCapacity: 1, })) } register(local) register(remote) // Double remote DL local.debugMsg(debugAddToDeadline, wantDL) defer local.debugMsg(debugAddToDeadline, time.Duration(0)) remote.debugMsg(debugAddToDeadline, wantDL) defer remote.debugMsg(debugAddToDeadline, time.Duration(0)) testHandler := func(t *testing.T, handler HandlerID) { remoteConn := local.Connection(remoteHost)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Jun 07 15:51:52 UTC 2024 - 36.4K bytes - Viewed (0) -
cmd/xl-storage-disk-id-check.go
// checkID will check if the disk ID matches the provided ID. func (p *xlStorageDiskIDCheck) checkID(wantID string) (err error) { if wantID == "" { return nil } id, err := p.storage.GetDiskID() if err != nil { return err } if id != wantID { return fmt.Errorf("disk ID %s does not match. disk reports %s", wantID, id) } return nil }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 33.4K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/profile/profile.go
for k := range s.NumLabel { encounteredKeys[k] = true for _, unit := range s.NumUnit[k] { if unit == "" { continue } if wantUnit, ok := numLabelUnits[k]; !ok { numLabelUnits[k] = unit } else if wantUnit != unit { if v, ok := ignoredUnits[k]; ok { v[unit] = true } else { ignoredUnits[k] = map[string]bool{unit: true} } } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 22.3K bytes - Viewed (0) -
cmd/xl-storage-format-v2_test.go
t.Fatal(err) } v0 := xl.versions[0] // Saved with signature 0xfe, 0x54, 0xbc, 0x2f // Signature must be converted after load. wantSig := [4]byte{0x1e, 0x5f, 0xba, 0x4a} if v0.header.Signature != wantSig { t.Errorf("Wrong signature, want %#v, got %#v", wantSig, v0.header.Signature) } v, err := xl.getIdx(0) if err != nil { t.Fatal(err) } wantTimeStamp := "2022-10-27T07:40:53.195813291Z"
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Mar 08 17:50:48 UTC 2024 - 36.4K bytes - Viewed (0) -
cmd/storage-rest-server.go
return true } // checkID - check if the disk-id in the request corresponds to the underlying disk. func (s *storageRESTServer) checkID(wantID string) bool { if s.getStorage() == nil { return false } if wantID == "" { // Request sent empty disk-id, we allow the request // as the peer might be coming up and trying to read format.json // or create format.json return true }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 44.8K bytes - Viewed (0) -
src/syscall/syscall_linux_test.go
// wanted value for KEEPCAPS. for k := 0; k < routines; k++ { question <- want } // At this point, we should have a large // number of locked OS threads all wanting to // reply. for k := 0; k < routines; k++ { if got := <-response; got != want { t.Errorf("[%d,%d,%d] waiter result got=%d, want=%d", i, j, k, got, want) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 23K bytes - Viewed (0)