- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for Shanks (0.03 sec)
-
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java
@DisplayName("Should return correct size with multiple chunks") @ValueSource(ints = { 1, 2, 3, 5, 10, 100 }) void testSizeWithMultipleChunks(int chunkCount) { // Given byte[] sourceKey = new byte[SOURCE_KEY_SIZE]; SrvCopychunk[] chunks = new SrvCopychunk[chunkCount]; for (int i = 0; i < chunkCount; i++) { chunks[i] = new SrvCopychunk(i * 100, i * 200, i * 300);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 23.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbCopyUtil.java
wsize = byteLimit; } int chunks = (int) (wsize / maxChunkSize); int lastChunkSize; if (chunks + 1 > maxChunks) { chunks = maxChunks; lastChunkSize = maxChunkSize; } else {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 16.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java
void testDecodeVariousChunksWritten(int chunks) throws SMBProtocolDecodingException { byte[] buffer = createValidCopyChunkResponse(chunks, 0, 0); int bytesDecoded = response.decode(buffer, 0, buffer.length); assertEquals(12, bytesDecoded); assertEquals(chunks, response.getChunksWritten()); } @ParameterizedTest
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.8K bytes - Viewed (0) -
docs/changelogs/upgrading_to_okhttp_4.md
OkHttp 3.x. You can use an OkHttp 4.x .jar file with applications or libraries built for OkHttp 3.x. OkHttp is **not** source-compatible for Kotlin callers, but upgrading should be automatic thanks to Kotlin’s powerful deprecation features. Most developers should be able to use IntelliJ’s _Code Cleanup_ for a safe and fast upgrade. Backwards-Incompatible Changes ------------------------------
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Feb 06 16:58:16 UTC 2022 - 10.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParserTest.java
createDefaultReadingConverter(), createDefaultReadingConverter(), createDefaultNormalizer(), analyzer); assertNotNull(items); // Should handle large text by splitting into chunks assertTrue(items.size() > 0); } @Test public void test_analyzeText() throws Exception { SuggestAnalyzer analyzer = suggester.settings().analyzer().new DefaultContentsAnalyzer();
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 12.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt
val connect = planConnect() // Now that we have a set of IP addresses, make another attempt at getting a connection from // the pool. We have a better chance of matching thanks to connection coalescing. val pooled2 = planReusePooledConnection(connect, connect.routes) if (pooled2 != null) return pooled2 return connect } /**
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Oct 08 03:50:05 UTC 2025 - 12K bytes - Viewed (0) -
android/guava/src/com/google/common/eventbus/SubscriberRegistry.java
if (e.getCause() instanceof IllegalArgumentException) { /* * IllegalArgumentException is the one unchecked exception that we know is likely to happen * (thanks to the checkArgument calls in getAnnotatedMethodsNotCached). If it happens, we'd * prefer to propagate an IllegalArgumentException to the caller. However, we don't want to
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 10.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt
detachTimeout(timeout) state = STATE_READ_RESPONSE_HEADERS } } /** * An HTTP body with alternating chunk sizes and chunk bodies. It is the caller's responsibility * to buffer chunks; typically by using a buffered sink with this sink. */ private inner class ChunkedSink : Sink { private val timeout = ForwardingTimeout(socket.sink.timeout()) private var closed: Boolean = false
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 17.5K bytes - Viewed (7) -
okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt
} } private fun MockResponse.Builder.body( protocol: Protocol, body: String, ) = apply { when (protocol) { Protocol.HTTP_1_1 -> chunkedBody(body, 1024) // Force multiple chunks. else -> body(body) } } private fun enableProtocol(protocol: Protocol) { if (protocol == Protocol.HTTP_2) { enableTls() client = client
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/smb/NtlmUtilTest.java
void testE_blockSplitConsistency() throws ShortBufferException { // Arrange byte[] key14 = hex("01020304050607 11121314151617"); // two 7-byte chunks byte[] key7 = Arrays.copyOfRange(key14, 0, 7); byte[] data8 = NtlmUtil.S8; byte[] out14 = new byte[16]; byte[] out7 = new byte[8]; // Act
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12K bytes - Viewed (1)