- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for ErrRange (0.29 sec)
-
src/math/big/int_test.go
t.Errorf("SetString(%s, 0) failed", s) continue } want, err := strconv.ParseUint(s, 0, 64) if err != nil { // check for sign explicitly (ErrRange doesn't cover signed input) if s[0] == '-' || err.(*strconv.NumError).Err == strconv.ErrRange { if x.IsUint64() { t.Errorf("IsUint64(%s) succeeded unexpectedly", s) } } else { t.Errorf("ParseUint(%s) failed", s) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 58.5K bytes - Viewed (0) -
cmd/api-errors.go
} // Add more other SDK related errors here if any in future. default: //nolint:gocritic if errors.Is(err, errMalformedEncoding) || errors.Is(err, errChunkTooBig) || errors.Is(err, strconv.ErrRange) { apiErr = APIError{ Code: "BadRequest", Description: err.Error(), HTTPStatusCode: http.StatusBadRequest, } } else { apiErr = APIError{
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jun 13 22:26:38 UTC 2024 - 92.1K bytes - Viewed (1) -
pkg/controller/volume/attachdetach/cache/actual_state_of_world_test.go
) // Calls AddVolumeNode() once with attached set to true. // Verifies a single volume/node entry exists. func Test_AddVolumeNode_Positive_NewVolumeNewNode(t *testing.T) { // Arrange volumePluginMgr, _ := volumetesting.GetTestVolumePluginMgr(t) asw := NewActualStateOfWorld(volumePluginMgr) volumeName := v1.UniqueVolumeName("volume-name")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 11 07:35:17 UTC 2024 - 66.1K bytes - Viewed (0) -
pkg/controller/volume/attachdetach/reconciler/reconciler_test.go
volumeAttachedCheckTimeout = 5 * time.Second ) var registerMetrics sync.Once // Calls Run() // Verifies there are no calls to attach or detach. func Test_Run_Positive_DoNothing(t *testing.T) { // Arrange volumePluginMgr, fakePlugin := volumetesting.GetTestVolumePluginMgr(t) dsw := cache.NewDesiredStateOfWorld(volumePluginMgr) asw := cache.NewActualStateOfWorld(volumePluginMgr)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 07:00:14 UTC 2024 - 72.8K bytes - Viewed (0) -
pkg/kubelet/volumemanager/reconciler/reconciler_test.go
) func hasAddedPods() bool { return true } // Calls Run() // Verifies there are no calls to attach, detach, mount, unmount, etc. func Test_Run_Positive_DoNothing(t *testing.T) { // Arrange volumePluginMgr, fakePlugin := volumetesting.GetTestKubeletVolumePluginMgr(t) seLinuxTranslator := util.NewFakeSELinuxLabelTranslator() dsw := cache.NewDesiredStateOfWorld(volumePluginMgr, seLinuxTranslator)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 09 07:34:33 UTC 2024 - 75.4K bytes - Viewed (0) -
src/cmd/cgo/out.go
} ` const cStringDef = ` // CString converts the Go string s to a C string. // // The C string is allocated in the C heap using malloc. // It is the caller's responsibility to arrange for it to be // freed, such as by calling C.free (be sure to include stdlib.h // if C.free is needed). func _Cfunc_CString(s string) *_Ctype_char { if len(s)+1 <= 0 { panic("string too large") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 29 16:41:10 UTC 2024 - 59.6K bytes - Viewed (0) -
pilot/pkg/networking/core/route/route.go
// Note: Currently we are not fully utilizing this structure. We could invoke this logic // once for all sidecars in the cluster to compute all RDS for inside the mesh and arrange // it by listener port. However to properly use such an optimization, we need to have an // eventing subsystem to invalidate the computed routes if any service changes/virtual Services change. type VirtualHostWrapper struct {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 14:12:39 UTC 2024 - 56.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go
if !watcher.nonblockingAdd(event) { c.blockedWatchers = append(c.blockedWatchers, watcher) } } if len(c.blockedWatchers) > 0 { // dispatchEvent is called very often, so arrange // to reuse timers instead of constantly allocating. startTime := time.Now() timeout := c.dispatchTimeoutBudget.takeAvailable() c.timer.Reset(timeout)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 10:12:02 UTC 2024 - 51.8K bytes - Viewed (0) -
src/index/suffixarray/sais2.go
if len(tmp) < numLMS { // TestSAIS/forcealloc reaches this code. n := maxID if n < numLMS/2 { n = numLMS / 2 } tmp = make([]int64, n) } // sais_64 requires that the caller arrange to clear dst, // because in general the caller may know dst is // freshly-allocated and already cleared. But this one is not. clear(dst) sais_64(text, maxID, dst, tmp) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 18 23:57:18 UTC 2024 - 52.3K bytes - Viewed (0) -
src/runtime/asm_amd64.s
TEXT main(SB),NOSPLIT,$-8 JMP runtime·rt0_go(SB) // _rt0_amd64_lib is common startup code for most amd64 systems when // using -buildmode=c-archive or -buildmode=c-shared. The linker will // arrange to invoke this function as a global constructor (for // c-archive) or when the shared library is loaded (for c-shared). // We expect argc and argv to be passed in the usual C ABI registers // DI and SI.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 11 20:38:24 UTC 2024 - 60.4K bytes - Viewed (0)