Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 100 for ErrRange (0.49 sec)

  1. src/net/http/h2_bundle.go

    			goto Error
    		}
    
    		if n >= cutoff {
    			// n*base overflows
    			n = 1<<64 - 1
    			err = strconv.ErrRange
    			goto Error
    		}
    		n *= uint64(base)
    
    		n1 := n + uint64(v)
    		if n1 < n || n1 > maxVal {
    			// n+v overflows
    			n = 1<<64 - 1
    			err = strconv.ErrRange
    			goto Error
    		}
    		n = n1
    	}
    
    	return n, nil
    
    Error:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
  2. pkg/volume/flexvolume/probe_test.go

    	assert.True(t, strings.HasSuffix(dir2, dir1))
    }
    
    // Probes a driver installed before prober initialization.
    func TestProberExistingDriverBeforeInit(t *testing.T) {
    	// Arrange
    	driverPath, _, watcher, prober := initTestEnvironment(t)
    
    	// Act
    	events, err := prober.Probe()
    
    	// Assert
    	// Probe occurs, 1 plugin should be returned, and 2 watches (pluginDir and all its
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 28 11:14:00 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/exception/NullArgumentExceptionTest.java

            LocaleUtil.setDefault(null);
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testErrorMessage_ja() throws Exception {
            // ## Arrange ##
            Locale.setDefault(Locale.JAPANESE);
            final NullArgumentException nullArgumentException = new NullArgumentException("hoge");
            assertThat(nullArgumentException.getArgName(), is("hoge"));
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. pkg/volume/util/nestedpendingoperations/nestedpendingoperations_test.go

    	// exponential backoff).
    	initialOperationWaitTimeLong time.Duration = 500 * time.Millisecond
    )
    
    func Test_NestedPendingOperations_Positive_SingleOp(t *testing.T) {
    	// Arrange
    	grm := NewNestedPendingOperations(false /* exponentialBackOffOnError */)
    	volumeName := v1.UniqueVolumeName("volume-name")
    
    	// Act
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 26 01:29:17 UTC 2022
    - 36.1K bytes
    - Viewed (0)
  5. pkg/controller/volume/attachdetach/cache/desired_state_of_world_test.go

    	"k8s.io/kubernetes/pkg/volume/util/types"
    )
    
    // Calls AddNode() once.
    // Verifies node exists, and zero volumes to attach.
    func Test_AddNode_Positive_NewNode(t *testing.T) {
    	// Arrange
    	volumePluginMgr, _ := volumetesting.GetTestVolumePluginMgr(t)
    	dsw := NewDesiredStateOfWorld(volumePluginMgr)
    	nodeName := k8stypes.NodeName("node-name")
    
    	// Act
    	dsw.AddNode(nodeName)
    
    	// Assert
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 10:42:15 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/exception/SQLRuntimeExceptionTest.java

            LocaleUtil.setDefault(null);
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testErrorMessage_ja() throws Exception {
            // ## Arrange ##
            Locale.setDefault(Locale.JAPANESE);
            final SQLException sqlException = new SQLException("some reason", "fooState", 7650);
            final SQLException sqlException2 = new SQLException("hoge reason", "barState", 7660);
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. src/cmd/tools/tools.go

    // Copyright 2023 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build tools
    
    package tools
    
    // Arrange to vendor the bisect command for use
    // by the internal/godebug package test.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 09 01:28:10 UTC 2023
    - 323 bytes
    - Viewed (0)
  8. pkg/kubelet/volumemanager/cache/desired_state_of_world_test.go

    // Verifies newly added pod/volume exists via
    // PodExistsInVolume() VolumeExists() and GetVolumesToMount()
    func Test_AddPodToVolume_Positive_NewPodNewVolume(t *testing.T) {
    	// Arrange
    	volumePluginMgr, _ := volumetesting.GetTestKubeletVolumePluginMgr(t)
    	seLinuxTranslator := util.NewFakeSELinuxLabelTranslator()
    	dsw := NewDesiredStateOfWorld(volumePluginMgr, seLinuxTranslator)
    	pod := &v1.Pod{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 34K bytes
    - Viewed (0)
  9. pkg/kubelet/volumemanager/cache/actual_state_of_world_test.go

    // Verifies newly added volume exists in GetUnmountedVolumes()
    // Verifies newly added volume doesn't exist in GetGloballyMountedVolumes()
    func Test_MarkVolumeAsAttached_Positive_NewVolume(t *testing.T) {
    	// Arrange
    	volumePluginMgr, plugin := volumetesting.GetTestKubeletVolumePluginMgr(t)
    	asw := NewActualStateOfWorld("mynode" /* nodeName */, volumePluginMgr)
    	pod := &v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: "pod1",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 46.3K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/arm64/list7.go

    	case REG_LSL <= r && r < (REG_LSL+1<<8):
    		return fmt.Sprintf("R%d<<%d", r&31, (r>>5)&7)
    	case REG_ARNG <= r && r < REG_ELEM:
    		return fmt.Sprintf("V%d.%s", r&31, arrange((r>>5)&15))
    	case REG_ELEM <= r && r < REG_ELEM_END:
    		return fmt.Sprintf("V%d.%s", r&31, arrange((r>>5)&15))
    	}
    	// Return system register name.
    	name, _, _ := SysRegEnc(int16(r))
    	if name != "" {
    		return name
    	}
    	return fmt.Sprintf("badreg(%d)", r)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 17:56:30 UTC 2023
    - 6K bytes
    - Viewed (0)
Back to top