Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 117 for ErrRange (0.47 sec)

  1. android/guava-tests/benchmark/com/google/common/collect/SortedCopyBenchmark.java

      @Param boolean mutable;
    
      @Param InputOrder inputOrder;
    
      enum InputOrder {
        SORTED {
          @Override
          void arrange(List<Integer> list) {
            Collections.sort(list);
          }
        },
        ALMOST_SORTED {
          @Override
          void arrange(List<Integer> list) {
            Collections.sort(list);
            if (list.size() > 1) {
              int i = (list.size() - 1) / 2;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.5K bytes
    - Viewed (0)
  2. pkg/volume/util/operationexecutor/operation_executor_test.go

    	numDevicesToUnmap                    = 2
    )
    
    var _ OperationGenerator = &fakeOperationGenerator{}
    
    func TestOperationExecutor_MountVolume_ConcurrentMountForNonAttachableAndNonDevicemountablePlugins(t *testing.T) {
    	// Arrange
    	ch, quit, oe := setup()
    	volumesToMount := make([]VolumeToMount, numVolumesToMount)
    	secretName := "secret-volume"
    	volumeName := v1.UniqueVolumeName(secretName)
    
    	// Act
    	for i := range volumesToMount {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. pkg/util/goroutinemap/goroutinemap_test.go

    	// exponential backoff).
    	initialOperationWaitTimeLong time.Duration = 500 * time.Millisecond
    )
    
    func Test_NewGoRoutineMap_Positive_SingleOp(t *testing.T) {
    	// Arrange
    	grm := NewGoRoutineMap(false /* exponentialBackOffOnError */)
    	operationName := "operation-name"
    	operation := func() error { return nil }
    
    	// Act
    	err := grm.Run(operationName, operation)
    
    	// Assert
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 11 14:09:48 UTC 2017
    - 14.9K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top