- Sort Score
- Result 10 results
- Languages All
Results 451 - 460 of 687 for _max (0.05 sec)
-
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt
val bytes = "0202ff00".decodeHex() assertThat(Adapters.INTEGER_AS_LONG.toDer(-256L)).isEqualTo(bytes) assertThat(Adapters.INTEGER_AS_LONG.fromDer(bytes)).isEqualTo(-256L) } @Test fun `max long`() { val bytes = "02087fffffffffffffff".decodeHex() assertThat(Adapters.INTEGER_AS_LONG.fromDer(bytes)).isEqualTo(Long.MAX_VALUE) assertThat(Adapters.INTEGER_AS_LONG.toDer(Long.MAX_VALUE)).isEqualTo(bytes) }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 31.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt
private fun trailersAndCache(protocol: Protocol) { enableProtocol(protocol) server.enqueue( MockResponse .Builder() .addHeader("h1", "v1") .addHeader("Cache-Control: max-age=30") .body(protocol, "Hello") .trailers(headersOf("t1", "v2")) .build(), ) val call1 = client.newCall(Request(server.url("/"))) call1.execute().use { response ->
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Nov 08 21:45:04 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type2MessageTest.java
// Set empty target name buffer Type2Message.writeUShort(truncatedMessage, 12, 0); // length Type2Message.writeUShort(truncatedMessage, 14, 0); // max length Type2Message.writeULong(truncatedMessage, 16, 48); // offset (past the end) // Set flags Type2Message.writeULong(truncatedMessage, 20, Type2Message.NTLMSSP_NEGOTIATE_UNICODE);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 38.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/dtyp/ACETest.java
}) void testVariousAccessMaskValues(int accessMask) { ace.access = accessMask; assertEquals(accessMask, ace.getAccessMask()); } @Test @DisplayName("Test decode with max values") void testDecodeMaxValues() { testBuffer = new byte[100]; testBuffer[0] = (byte) 0xFF; // Non-zero = Deny testBuffer[1] = (byte) 0xFF; // All flagsRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.6K bytes - Viewed (0) -
cmd/bucket-listobjects-handlers.go
// - marker if set should have a common prefix with 'prefix' param, otherwise // the request is rejected. func validateListObjectsArgs(prefix, marker, delimiter, encodingType string, maxKeys int) APIErrorCode { // Max keys cannot be negative. if maxKeys < 0 { return ErrInvalidMaxKeys } if encodingType != "" { // AWS S3 spec only supports 'url' encoding type if !strings.EqualFold(encodingType, "url") {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 11.6K bytes - Viewed (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java
throw new RuntimeException("Persistent failure"); }); try { fesenClient.get(c -> mockFuture); fail("Expected exception after max retries"); } catch (RuntimeException e) { assertEquals("Persistent failure", e.getMessage()); } // Should try initial + maxRetryCount times (1 + 3 = 4)
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 08:44:44 UTC 2025 - 17K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileInputStream.java
final int optimizedBlockSize = Math.min(blockSize * 2, 64 * 1024); // Cap at 64KB for memory efficiency final int effectiveBlockSize = Math.max(blockSize, optimizedBlockSize); SmbComReadAndXResponse response = null; if (!th.isSMB2()) { response = new SmbComReadAndXResponse(th.getConfig(), b, off); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.6K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java
assertEquals(0, Encdec.dec_uint32le(buffer, 4)); // Offset assertEquals(testString.length() + 1, Encdec.dec_uint32le(buffer, 8)); // Max count ndrBuffer.setIndex(0); String decodedString = ndrBuffer.dec_ndr_string(); assertEquals(testString, decodedString); assertEquals(expectedLength, ndrBuffer.getIndex());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/Utf8Test.java
* @param start the starting bytes encoded as a long as big-endian * @param lim the limit of bytes to process encoded as a long as big-endian, or -1 to mean the max * limit for numBytes */ @GwtIncompatible // java.nio.charset.Charset private static void testBytes(int numBytes, long expectedCount, long start, long lim) { byte[] bytes = new byte[numBytes];
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 12.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheEvictionTest.java
// Should we pepper more of these calls throughout the above? Where? CacheTesting.checkValidState(cache); } /** * Tests that when a single entry exceeds the segment's max weight, the new entry is immediately * evicted and nothing else. */ public void testEviction_maxWeight_entryTooBig() { CountingRemovalListener<Integer, Integer> removalListener = countingRemovalListener();Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:19:59 UTC 2025 - 15.1K bytes - Viewed (0)