- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for makeError (0.15 sec)
-
src/internal/zstd/zstd.go
return r.makeError(relativeOffset, "windowSize too large") } } // Dictionary_ID. RFC 3.1.1.1.3. if dictionaryIdSize != 0 { dictionaryId := r.scratch[windowDescriptorSize : windowDescriptorSize+dictionaryIdSize] // Allow only zero Dictionary ID. for _, b := range dictionaryId { if b != 0 { return r.makeError(relativeOffset, "dictionaries are not supported") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 30 04:10:45 UTC 2024 - 12.7K bytes - Viewed (0) -
operator/pkg/validate/validate_values_test.go
yamlStr: ` global: proxy: includeIPRanges: "*,1.1.0.0/16,2.2.0.0/16" `, wantErrs: makeErrors([]string{`global.proxy.includeIPRanges netip.ParsePrefix("*"): no '/'`}), }, { desc: "BadPortRange", yamlStr: ` global: proxy: excludeInboundPorts: "-1,444" `, wantErrs: makeErrors([]string{`value global.proxy.excludeInboundPorts:-1 falls outside range [0, 65535]`}), }, {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 13:43:12 UTC 2024 - 6K bytes - Viewed (0) -
src/math/rand/rand_test.go
mean float64 stddev float64 closeEnough float64 maxError float64 } func nearEqual(a, b, closeEnough, maxError float64) bool { absDiff := math.Abs(a - b) if absDiff < closeEnough { // Necessary when one value is zero and one value is close to zero. return true } return absDiff/max(math.Abs(a), math.Abs(b)) < maxError } var testSeeds = []int64{1, 1754801282, 1698661970, 1550503961}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 16.9K bytes - Viewed (0) -
src/database/sql/fakedb_test.go
useRawBytes atomic.Bool mu sync.Mutex tables map[string]*table badConn bool allowAny bool } type fakeError struct { Message string Wrapped error } func (err fakeError) Error() string { return err.Message } func (err fakeError) Unwrap() error { return err.Wrapped } type table struct { mu sync.Mutex colname []string coltype []string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 01 12:38:07 UTC 2024 - 30.3K bytes - Viewed (0) -
src/math/rand/v2/rand_test.go
mean float64 stddev float64 closeEnough float64 maxError float64 } func nearEqual(a, b, closeEnough, maxError float64) bool { absDiff := math.Abs(a - b) if absDiff < closeEnough { // Necessary when one value is zero and one value is close to zero. return true } return absDiff/max(math.Abs(a), math.Abs(b)) < maxError } var testSeeds = []uint64{1, 1754801282, 1698661970, 1550503961}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 17.4K bytes - Viewed (0) -
cmd/kubeadm/app/util/apiclient/idempotency_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Feb 18 11:14:32 UTC 2024 - 33.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/runtime_fallback/runtime_fallback_executor.cc
CHECK(status.ok()) << "Failed to setup request context: " << status.message(); auto req_ctx = std::move(builder).build(); if (auto err = req_ctx.takeError()) LOG(FATAL) << "Failed to build a request context"; exec_ctx_ = std::make_unique<tfrt::ExecutionContext>(std::move(*req_ctx)); } void RuntimeFallbackExecutor::Prepare(llvm::StringRef mlir_input) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 08 00:18:59 UTC 2024 - 9.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go
) type Timespec struct { Sec int64 Nsec int64 } type Timeval struct { Sec int64 Usec int64 } type Timex struct { Modes uint32 Offset int64 Freq int64 Maxerror int64 Esterror int64 Status int32 Constant int64 Precision int64 Tolerance int64 Time Timeval Tick int64 Ppsfreq int64 Jitter int64 Shift int32 Stabil int64
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 16:12:58 UTC 2024 - 12.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go
) type Timespec struct { Sec int32 Nsec int32 } type Timeval struct { Sec int32 Usec int32 } type Timex struct { Modes uint32 Offset int32 Freq int32 Maxerror int32 Esterror int32 Status int32 Constant int32 Precision int32 Tolerance int32 Time Timeval Tick int32 Ppsfreq int32 Jitter int32 Shift int32 Stabil int32
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 16:12:58 UTC 2024 - 12.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go
) type Timespec struct { Sec int64 Nsec int64 } type Timeval struct { Sec int64 Usec int64 } type Timex struct { Modes uint32 Offset int64 Freq int64 Maxerror int64 Esterror int64 Status int32 Constant int64 Precision int64 Tolerance int64 Time Timeval Tick int64 Ppsfreq int64 Jitter int64 Shift int32 Stabil int64
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 16:12:58 UTC 2024 - 12.3K bytes - Viewed (0)