- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 712 for amount (0.19 sec)
-
okhttp/src/test/java/okhttp3/internal/connection/ConnectionPoolTest.kt
} private fun updateMaxConcurrentStreams( connection: Http2Connection, amount: Int, ) { val settings = Settings() settings[Settings.MAX_CONCURRENT_STREAMS] = amount connection.readerRunnable.applyAndAckSettings(true, settings) assertThat(connection.peerSettings[Settings.MAX_CONCURRENT_STREAMS]).isEqualTo(amount) taskFaker.runTasks() }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jun 22 16:06:35 UTC 2024 - 12.8K bytes - Viewed (0) -
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: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 16.2K bytes - Viewed (0) -
cmd/batch-replicate_test.go
# token: "Bearer xxxxx" # optional authentication token for the notification endpoint # # retry: # attempts: 10 # number of retries for the job before giving up # delay: "500ms" # least amount of delay between each retry ` var job BatchJobRequest err := yaml.Unmarshal([]byte(replicateYaml), &job) if err != nil { t.Fatal("Failed to parse batch-job-replicate yaml", err) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 01 12:53:30 UTC 2024 - 7.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/TestThread.java
} /** * Sends the given method call to this thread. * * @throws TimeoutException if this thread does not accept the request within a reasonable amount * of time */ private void sendRequest(String methodName, Object... arguments) throws Exception { if (!requestQueue.offer(new Request(methodName, arguments), TIMEOUT_MILLIS, MILLISECONDS)) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 10.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/FakeTicker.java
@CanIgnoreReturnValue public FakeTicker setAutoIncrementStep(long autoIncrementStep, TimeUnit timeUnit) { checkArgument(autoIncrementStep >= 0, "May not auto-increment by a negative amount"); this.autoIncrementStepNanos = timeUnit.toNanos(autoIncrementStep); return this; } /** * Sets the increment applied to the ticker whenever it is queried. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 3.6K bytes - Viewed (0) -
docs/en/docs/deployment/concepts.md
If you have an API that does a comparable amount of computations every time and you have a lot of clients, then the **CPU utilization** will probably *also be stable* (instead of constantly going up and down quickly). ### Examples of Replication Tools and Strategies There can be several approaches to achieve this, and I'll tell you more about specific strategies in the next chapters, for example when talking about Docker and containers.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Sep 18 16:09:57 UTC 2024 - 17.8K bytes - Viewed (0) -
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, SECONDS)); } public void testExecute_idempotent() { final AtomicInteger runCalled = new AtomicInteger(); list.add( new Runnable() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 4.7K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/BuildSummary.java
*/ private final MavenProject project; /** * The build time of the project in milliseconds. */ private final long wallTime; /** * The total amount of time spent for to run mojos in milliseconds. */ private final long execTime; /** * Creates a new build summary for the specified project. *
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.8K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java
* "expected arrival time of the next request" is actually in the past, then the difference (now - * past) is the amount of time that the RateLimiter was formally unused, and it is that amount of * time which we translate to storedPermits. (We increase storedPermits with the amount of permits * that would have been produced in that idle time). So, if rate == 1 permit per second, and
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Apr 04 09:45:04 UTC 2023 - 19.3K bytes - Viewed (0) -
src/cmd/asm/internal/asm/parse.go
tok := p.next() ext = tok.String() } if p.peek() == lex.LSH { // parses left shift amount applied after extension: <<Amount p.get(lex.LSH) tok := p.get(scanner.Int) amount, err := strconv.ParseInt(tok.String(), 10, 16) if err != nil { p.errorf("parsing left shift amount: %s", err) } num = int16(amount) } else if p.peek() == '[' { // parses an element: [Index] p.get('[')
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Sep 04 18:16:59 UTC 2024 - 36.9K bytes - Viewed (0)