- Sort Score
- Result 10 results
- Languages All
Results 261 - 270 of 326 for isSmall (0.06 sec)
-
guava/src/com/google/common/util/concurrent/Striped.java
* allowed to be reclaimed if nobody is holding on to them. This is useful, for example, if one * wants to create a {@code Striped<Lock>} of many locks, but worries that in most cases only a * small portion of these would be in use. * * <p>Prior to this class, one might be tempted to use {@code Map<K, Lock>}, where {@code K} * represents the task. This maximizes concurrency by having each unique key mapped to a unique
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 20.6K bytes - Viewed (0) -
guava/src/com/google/common/math/LongMath.java
1263739024124850375L }, {Long.MAX_VALUE, 2, 325, 9375, 28178, 450775, 9780504, 1795265022} }; private enum MillerRabinTester { /** Works for inputs ≤ FLOOR_SQRT_MAX_LONG. */ SMALL { @Override long mulMod(long a, long b, long m) { /* * lowasser, 2015-Feb-12: Benchmarks suggest that changing this to UnsignedLongs.remainder
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Aug 29 16:20:07 UTC 2025 - 46.8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/lsarpcTest.java
} @Override public void enc_ndr_small(int v) { // Simulate encoding a small offset += 1; } @Override public int dec_ndr_small() { // Simulate decoding a small offset += 1; return 0; // Return a dummy value } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 60.8K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/EnumsBenchmark.java
import java.util.List; import org.jspecify.annotations.NullUnmarked; @SuppressWarnings("unused") // Nested enums used reflectively in setUp. @NullUnmarked public class EnumsBenchmark { @Param({"Small", "Medium", "Large"}) String enumSize; @Param({"0.2", "0.8"}) float hitRate; // We could avoid the raw type here by initializing this with a ternary (? SmallEnum.class : ...).
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 29.4K bytes - Viewed (0) -
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt
assertThat(adapter.fromDer(bytes)).isNull() } /** Make the claimed length of a nested object larger than the enclosing object. */ @Test fun `large object inside small object`() { val bytes = "301b300d06092a864886f70d010101050003847fffffff000504030201".decodeHex() assertFailsWith<ProtocolException> { CertificateAdapters.subjectPublicKeyInfo.fromDer(bytes)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 31.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbTransport.java
} InetAddress localAddr; int localPort; UniAddress address; Socket socket; int port, mid; OutputStream out; InputStream in; byte[] sbuf = new byte[512]; /* small local buffer */ SmbComBlankResponse key = new SmbComBlankResponse(); long sessionExpiration = System.currentTimeMillis() + SO_TIMEOUT; LinkedList referrals = new LinkedList(); SigningDigest digest = null;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 31.8K bytes - Viewed (0) -
src/bytes/bytes.go
if j := bytealg.Index(s[i-last:], b[:n]); j >= 0 { return i + j - last } } else { // If bytealg.Index is not available a brute force search is // ~1.5-3x faster than Rabin-Karp since n is small. c0 := b[last] c1 := b[last-1] // There are at least 2 chars to match loop: for ; i < len(s); i++ { if s[i] == c0 && s[i-1] == c1 { for k := 2; k < n; k++ { if s[i-k] != b[last-k] {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Sep 03 14:04:47 UTC 2025 - 35.5K bytes - Viewed (0) -
cmd/object-api-multipart_test.go
}{ // inputParts - 0. // Case for replicating ETag mismatch. { []CompletePart{ {ETag: "abcd", PartNumber: 1}, }, }, // inputParts - 1. // should error out with part too small. { []CompletePart{ {ETag: "e2fc714c4727ee9395f324cd2e7f331f", PartNumber: 1}, {ETag: "1f7690ebdd9b4caf8fab49ca1757bf27", PartNumber: 2}, }, }, // inputParts - 2.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 89.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt
// Flow control was designed more for servers, or proxies than edge clients. If we are a client, // set the flow control window to 16MiB. This avoids thrashing window updates every 64KiB, yet // small enough to avoid blowing up the heap. if (builder.client) { set(Settings.INITIAL_WINDOW_SIZE, OKHTTP_CLIENT_WINDOW_SIZE) } } /**
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 31.8K bytes - Viewed (0) -
docs/smb3-features/03-multi-channel-design.md
// In SmbFile.java public void optimizedLargeRead(byte[] buffer, long offset, int length) throws IOException { if (!session.isMultiChannelEnabled() || length < 1048576) { // 1MB threshold // Use single channel for small reads normalRead(buffer, offset, length); return; } // Split large read across multiple channels ChannelManager channelManager = session.getChannelManager();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 39.6K bytes - Viewed (0)