- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 50 for consistency (0.31 sec)
-
pkg/config/validation/validation.go
if httpCookie != nil && httpCookie.GetName() == "" { errs = AppendValidation(errs, fmt.Errorf("name required for HttpCookie")) } if consistentHash.MinimumRingSize != 0 { // nolint: staticcheck warn := "consistent hash MinimumRingSize is deprecated, use ConsistentHashLB's RingHash configuration instead" scope.Warnf(warn) errs = AppendValidation(errs, WrapWarning(errors.New(warn))) } // nolint: staticcheck
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 04:03:33 UTC 2024 - 107.2K bytes - Viewed (0) -
cmd/server_test.go
c.Assert(createdBucket.Name != "", true) // Parse the bucket modtime creationTime, err := time.Parse(iso8601TimeFormat, createdBucket.CreationDate) c.Assert(err, nil) // Check if bucket modtime is consistent (not less than current time and not late more than 5 minutes) timeNow := time.Now().UTC() c.Assert(creationTime.Before(timeNow), true) c.Assert(timeNow.Sub(creationTime) < time.Minute*5, true) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 115.3K bytes - Viewed (0) -
src/net/http/server.go
// But for now any three digits. // // We used to send "HTTP/1.1 000 0" on the wire in responses but there's // no equivalent bogus thing we can realistically send in HTTP/2, // so we'll consistently panic instead and help people find their bugs // early. (We can't return an error from WriteHeader even if we wanted to.) if code < 100 || code > 999 { panic(fmt.Sprintf("invalid WriteHeader code %v", code)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 17:57:01 UTC 2024 - 123.4K bytes - Viewed (0) -
src/cmd/go/internal/load/pkg.go
ctxt.UseAllFiles = true // Synthesize fake "directory" that only shows the named files, // to make it look like this is a standard package or // command directory. So that local imports resolve // consistently, the files must all be in the same directory. var dirent []fs.FileInfo var dir string for _, file := range gofiles { fi, err := fsys.Stat(file) if err != nil { base.Fatalf("%s", err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 28 17:00:51 UTC 2024 - 120K bytes - Viewed (0) -
src/reflect/value.go
// and other programs can use all the keys returned by // MapKeys as arguments to MapIndex. If either the map // or the key is unexported, though, the result will be // considered unexported. This is consistent with the // behavior for structs, which allow read but not write // of unexported fields. var e unsafe.Pointer
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:17:41 UTC 2024 - 119.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.td
TFL_TensorOf<[F32, I8, I16, I32, I64, UI8, QI8, QI16, QUI8, TFL_Quint8]>:$result ); let hasOptions = 0; } // These ops are named NonMaxSuppressionV4 & NonMaxSuppressionV5 to be // consistent with TensorFlow's naming. They are NOT 'versions' of NMS in the // sense that one is an incremental change over the other. // In reality NonMaxSuppressionV5 implements Soft Non Max Suppression and
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 19:09:08 UTC 2024 - 186K bytes - Viewed (0) -
pkg/kubelet/kubelet_pods_test.go
// should have its own vector clock increased independently. Golang race detector uses pure happens-before // detection, so would catch a race condition consistently, despite only spawning 2 goroutines for i := 0; i < 2; i++ { go func() { kl.convertToAPIContainerStatuses(pod, criStatus, []v1.ContainerStatus{}, []v1.Container{}, false, false) }() } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 00:05:23 UTC 2024 - 198.8K bytes - Viewed (0) -
cmd/site-replication.go
if !ok { return nil, errors.New("site replication service account not found") } return &u.Credentials, nil } // listBuckets returns a consistent common view of latest unique buckets across // sites, this is used for replication. func (c *SiteReplicationSys) listBuckets(ctx context.Context) ([]BucketInfo, error) {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 184.3K bytes - Viewed (0) -
src/net/http/transport_test.go
// a client doing two subsequent requests could end up on different // connections. It's somewhat harmless but enough tests assume it's // not true in order to test other things that it's worth fixing. // Plus it's nice to be consistent and not have timing-dependent // behavior. func TestTransportReuseConnEmptyResponseBody(t *testing.T) { run(t, testTransportReuseConnEmptyResponseBody) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 21:59:21 UTC 2024 - 192.6K bytes - Viewed (0) -
src/reflect/all_test.go
if method.String() != "<func() Value>" { t.Errorf("ValueOf(Impl{}).Method(0).String() = %q, want %q", method.String(), "<func() Value>") } } func TestInvalid(t *testing.T) { // Used to have inconsistency between IsValid() and Kind() != Invalid. type T struct{ v any } v := ValueOf(T{}).Field(0) if v.IsValid() != true || v.Kind() != Interface {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 218.8K bytes - Viewed (0)