- Sort Score
- Num 10 results
- Language All
Results 541 - 550 of 1,276 for Chan (0.11 seconds)
-
android/guava/src/com/google/common/util/concurrent/RateLimiter.java
* the permits issued each second steadily increases until it hits the stable rate. * * <p>As an example, imagine that we have a list of tasks to execute, but we don't want to submit * more than 2 per second: * * {@snippet : * final RateLimiter rateLimiter = RateLimiter.create(2.0); // rate is "2 permits per second" * void submitTasks(List<Runnable> tasks, Executor executor) { * for (Runnable task : tasks) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:05:27 GMT 2025 - 21.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/net/InetAddressesTest.java
IllegalArgumentException.class, () -> InetAddresses.fromIPv4BigInteger(BigInteger.valueOf(-1L))); assertThat(expected) .hasMessageThat() .isEqualTo("BigInteger must be greater than or equal to 0"); } public void testFromIpv6BigIntegerThrowsLessThanZero() { IllegalArgumentException expected = assertThrows( IllegalArgumentException.class,Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 16:38:16 GMT 2026 - 36.3K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/HashingOutputStream.java
hasher.putBytes(bytes, off, len); out.write(bytes, off, len); } /** * Returns the {@link HashCode} based on the data written to this stream. The result is * unspecified if this method is called more than once on the same instance. */ public HashCode hash() { return hasher.hash(); } // Overriding close() because FilterOutputStream's close() method pre-JDK8 has bad behavior:
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 2.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/SneakyThrows.java
* * <p>This method is useful primarily when we make a reflective call to a method with no {@code * throws} clause: Java forces us to handle an arbitrary {@link Throwable} from that method, * rather than just the {@link RuntimeException} or {@link Error} that should be possible. (And in * fact the static type of {@link Throwable} is occasionally justified even for a method with noCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Dec 30 18:44:22 GMT 2024 - 2.4K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/SneakyThrows.java
* * <p>This method is useful primarily when we make a reflective call to a method with no {@code * throws} clause: Java forces us to handle an arbitrary {@link Throwable} from that method, * rather than just the {@link RuntimeException} or {@link Error} that should be possible. (And in * fact the static type of {@link Throwable} is occasionally justified even for a method with noCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Dec 30 18:44:22 GMT 2024 - 2.4K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AggregateFuture.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 16K bytes - Click Count (0) -
cmd/admin-handlers-config-kv.go
ctx := r.Context() objectAPI, cred := validateAdminReq(ctx, w, r, policy.ConfigUpdateAdminAction) if objectAPI == nil { return } if r.ContentLength > maxEConfigJSONSize || r.ContentLength == -1 { // More than maxConfigSize bytes were available writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAdminConfigTooLarge), r.URL) return } password := cred.SecretKey
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 15.8K bytes - Click Count (1) -
android/guava/src/com/google/common/collect/Multiset.java
* the <i>count</i> of that element (the terms "frequency" and "multiplicity" are equivalent, but * not used in this API). Since the count of an element is represented as an {@code int}, a multiset * may never contain more than {@link Integer#MAX_VALUE} occurrences of any one element. * * <p>{@code Multiset} refines the specifications of several methods from {@code Collection}. It
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 19.5K bytes - Click Count (0) -
guava/src/com/google/common/base/Splitter.java
* Splitter.fixedLength(2).split("abcde")} returns an iterable containing {@code ["ab", "cd", * "e"]}. The last piece can be smaller than {@code length} but will never be empty. * * <p><b>Note:</b> if {@link #fixedLength} is used in conjunction with {@link #limit}, the final * split piece <i>may be longer than the specified fixed length</i>. This is because the splitter
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 23.8K bytes - Click Count (0) -
src/test/java/jcifs/ACETest.java
assertTrue(ACE.GENERIC_ALL < ACE.GENERIC_EXECUTE, "GENERIC_ALL should be less than GENERIC_EXECUTE"); assertTrue(ACE.GENERIC_EXECUTE < ACE.GENERIC_WRITE, "GENERIC_EXECUTE should be less than GENERIC_WRITE"); // Note: GENERIC_READ (0x80000000) is negative, so it's less than positive values in signed comparison
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.4K bytes - Click Count (0)