- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 330 for corretto (0.04 sec)
-
docs/features/caching.md
Caching ======= OkHttp implements an optional, off by default, Cache. OkHttp aims for RFC correct and pragmatic caching behaviour, following common real-world browser like Firefox/Chrome and server behaviour when ambiguous. # Basic Usage ```kotlin private val client: OkHttpClient = OkHttpClient.Builder() .cache(Cache( directory = File(application.cacheDir, "http_cache"), // $0.05 worth of phone storage in 2020
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 3.1K bytes - Viewed (1) -
src/test/java/jcifs/pac/PacCredentialTypeTest.java
* @throws PACDecodingException if the PAC decoding fails. */ @Test void testIsCredentialTypeCorrectWithValidData() throws PACDecodingException { // A byte array with a length less than 32 should be correct. byte[] validData = new byte[31]; PacCredentialType pacCredentialType = new PacCredentialType(validData); assertTrue(pacCredentialType.isCredentialTypeCorrect()); } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/FrameLogTest.kt
assertThat(frameLog(true, 3, 10000, TYPE_DATA, 0x20)) .isEqualTo("<< 0x00000003 10000 DATA COMPRESSED") } /** * Ensures that valid flag combinations appear visually correct, and invalid show in hex. This * also demonstrates how sparse the lookup table is. */ @Test fun allFormattedFlagsWithValidBits() {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 5.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java
} @Test @DisplayName("Test decode reads correct number of bytes") void testDecodeReadsCorrectBytes() throws SMBProtocolDecodingException { // Prepare test data byte[] buffer = new byte[22]; // Fill with pattern to verify we read correct bytes for (int i = 0; i < buffer.length; i++) { buffer[i] = (byte) (i + 1); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/BufferCacheTest.java
@BeforeEach void setUp() { testCache = new TestBufferCacheImpl(5, 1024); // 5 buffers of 1KB each } @Test @DisplayName("BufferCache interface should define correct method signatures") void testInterfaceContract() { // Given BufferCache cache = mockBufferCache; // When & Then - verify interface methods exist and can be calledRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java
// This test verifies actual behavior testBlock.setFlags((byte) 0x00); assertFalse(testBlock.isResolveInDfs()); // The correct implementation should check flags2, not flags testBlock.addFlags2(SmbConstants.FLAGS2_RESOLVE_PATHS_IN_DFS); // But due to the bug, this still returns falseRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 36.2K bytes - Viewed (0) -
src/test/java/jcifs/util/ByteEncodableTest.java
// Verify content assertArrayEquals(new byte[] { (byte) 0xFF, 0x01, 0x02, 0x03, 0x00 }, dest, "Encoded bytes should be placed at the correct offset"); } @Test void testEncodeZeroLength() { // Test encoding with zero length byte[] data = { 0x01, 0x02, 0x03 }; ByteEncodable encodable = new ByteEncodable(data, 0, 0);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (0) -
guava/src/com/google/common/hash/AbstractNonStreamingHashFunction.java
// We must switch the old buffer to read mode to extract data Java8Compatibility.flip(buffer); newBuffer.put(buffer); // Swap references, newBuffer is already in write mode at the correct position this.buffer = newBuffer; } @Override public Hasher putByte(byte b) { ensureCapacity(Byte.BYTES); buffer.put(b); return this; }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 04 15:39:10 UTC 2025 - 4.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/AbstractNonStreamingHashFunctionTest.java
} private static void assertPutString(char[] chars) { Hasher h1 = new NonStreamingVersion().newHasher(); Hasher h2 = new NonStreamingVersion().newHasher(); String s = new String(chars); // this is the correct implementation of the spec for (int i = 0; i < s.length(); i++) { h1.putChar(s.charAt(i)); } h2.putUnencodedChars(s); assertEquals(h1.hash(), h2.hash()); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameServiceClientImplTest.java
// Then assertNotNull(address, "Should return address for IP address"); assertEquals("127.0.0.1", address.getHostAddress(), "Should return correct IP address"); } @Test @DisplayName("Should get all addresses by name") void testGetAllByName() throws UnknownHostException { // WhenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11K bytes - Viewed (0)