Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 1,108 for Amount (0.09 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java

        list.add(new MockRunnable(countDownLatch), exec);
        assertEquals(3L, countDownLatch.getCount());
    
        list.execute();
    
        // Verify that all of the runnables execute in a reasonable amount of time.
        assertTrue(countDownLatch.await(1L, TimeUnit.SECONDS));
      }
    
      public void testExecute_idempotent() {
        final AtomicInteger runCalled = new AtomicInteger();
        list.add(
            new Runnable() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 09 22:57:07 UTC 2022
    - 4.7K bytes
    - Viewed (0)
  2. pkg/util/filesystem/util_windows_test.go

    		assert.Nil(t, err, "Unexpected error from IsUnixDomainSocket: %v", err)
    		assert.True(t, result, "Unexpected result: false from IsUnixDomainSocket.")
    		wg.Done()
    	}()
    
    	// Wait a sufficient amount of time to make sure the retry logic kicks in
    	time.Sleep(socketDialRetryPeriod)
    
    	// Replace the temporary file with an actual Unix domain socket file
    	os.Remove(testFile)
    	ta, err := net.ResolveUnixAddr("unix", testFile)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 09:10:26 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/memorymanager/fake_memory_manager.go

    	return map[string][]topologymanager.TopologyHint{}
    }
    
    func (m *fakeManager) State() state.Reader {
    	return m.state
    }
    
    // GetAllocatableMemory returns the amount of allocatable memory for each NUMA node
    func (m *fakeManager) GetAllocatableMemory() []state.Block {
    	klog.InfoS("Get Allocatable Memory")
    	return []state.Block{}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 27 13:02:15 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/server/options/audit.go

    	fs.DurationVar(&o.InitialBackoff, "audit-webhook-initial-backoff",
    		o.InitialBackoff, "The amount of time to wait before retrying the first failed request.")
    	fs.DurationVar(&o.InitialBackoff, "audit-webhook-batch-initial-backoff",
    		o.InitialBackoff, "The amount of time to wait before retrying the first failed request.")
    	fs.MarkDeprecated("audit-webhook-batch-initial-backoff",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 24 06:30:04 UTC 2022
    - 20.3K bytes
    - Viewed (0)
  5. src/net/http/internal/chunked.go

    	//
    	// A sender can use chunk extensions to add arbitrary amounts of additional
    	// data per byte read. ("1;very long extension\r\nX\r\n" to send "X".)
    	// We don't want to disallow extensions (although we discard them),
    	// but we also don't want to allow a sender to reduce the signal/noise ratio
    	// arbitrarily.
    	//
    	// We track the amount of excess overhead read,
    	// and produce an error if it grows too large.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/apis/kubeadm/types.go

    	// KubernetesAPICall is the amount of time to wait for the kubeadm client to complete a request to
    	// the API server. This applies to all types of methods (GET, POST, etc).
    	KubernetesAPICall *metav1.Duration
    
    	// EtcdAPICall is the amount of time to wait for the kubeadm etcd client to complete a request to
    	// the etcd cluster.
    	EtcdAPICall *metav1.Duration
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 03:12:52 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

          return state.policy.backoffDelayMillis.jitterBy(state.policy.backoffJitterMillis) * 1_000_000
        }
      }
    
      private fun Long.jitterBy(amount: Int): Long {
        return this + ThreadLocalRandom.current().nextInt(amount * -1, amount)
      }
    
      class AddressState(
        val address: Address,
        val queue: TaskQueue,
        var policy: ConnectionPool.AddressPolicy,
      ) {
        /**
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  8. src/math/big/decimal.go

    // at returns the i'th mantissa digit, starting with the most significant digit at 0.
    func (d *decimal) at(i int) byte {
    	if 0 <= i && i < len(d.mant) {
    		return d.mant[i]
    	}
    	return '0'
    }
    
    // Maximum shift amount that can be done in one pass without overflow.
    // A Word has _W bits and (1<<maxShift - 1)*10 + 9 must fit into Word.
    const maxShift = _W - 4
    
    // TODO(gri) Since we know the desired decimal precision when converting
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 29 22:45:29 UTC 2020
    - 6.6K bytes
    - Viewed (0)
  9. src/runtime/os_illumos.go

    	const rblkmaxsize = 8 * 1024
    	if rctlblk_size() > rblkmaxsize {
    		return 0
    	}
    
    	// The "zone.cpu-cap" resource control, as described in
    	// resource_controls(5), "sets a limit on the amount of CPU time that
    	// can be used by a zone.  The unit used is the percentage of a single
    	// CPU that can be used by all user threads in a zone, expressed as an
    	// integer."  A C string of the name must be passed to getrctl(2).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 28 18:06:12 UTC 2019
    - 3.9K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/api/internal/initialization/ResettableConfiguration.java

         * This method was originally added in order to release the resources of the {@code classpath}
         * configurations used for resolving buildscript classpaths, as they consumed a non-negligible
         * amount of memory even after the buildscript classpath was assembled.
         * <p>
         * Future work in this area should remove the need of this method by instead caching resolution
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 27 17:33:18 UTC 2023
    - 3K bytes
    - Viewed (0)
Back to top