- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for chun (0.06 sec)
-
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java
} @Test @DisplayName("Should return correct size with single chunk") void testSizeWithSingleChunk() { // Given byte[] sourceKey = new byte[SOURCE_KEY_SIZE]; SrvCopychunk chunk = new SrvCopychunk(0, 0, 0); SrvCopychunkCopy copy = new SrvCopychunkCopy(sourceKey, chunk); // When int size = copy.size(); // ThenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 23.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt
if (closed) return closed = true 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 {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 17.5K bytes - Viewed (7) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java
int length = 0x12345678; SrvCopychunk chunk = new SrvCopychunk(sourceOffset, targetOffset, length); byte[] buffer = new byte[EXPECTED_SIZE]; // When int bytesWritten = chunk.encode(buffer, 0); // Then assertEquals(EXPECTED_SIZE, bytesWritten); assertEquals(chunk.size(), bytesWritten); // Verify complete structureRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
guava/src/com/google/common/io/BaseEncoding.java
for (int remaining = len; remaining >= 3; remaining -= 3) { int chunk = (bytes[i++] & 0xFF) << 16 | (bytes[i++] & 0xFF) << 8 | (bytes[i++] & 0xFF); target.append(alphabet.encode(chunk >>> 18)); target.append(alphabet.encode((chunk >>> 12) & 0x3F)); target.append(alphabet.encode((chunk >>> 6) & 0x3F)); target.append(alphabet.encode(chunk & 0x3F)); } if (i < off + len) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Oct 06 14:51:47 UTC 2025 - 41.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java
} @Test @DisplayName("Should handle mismatched chunk and total bytes") void testMismatchedValues() throws SMBProtocolDecodingException { // This could happen if the last chunk is smaller byte[] buffer = createValidCopyChunkResponse(10, // 10 chunks 65536, // Last chunk size (not average) 589824 // Total less than 10 * 65536 );Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.8K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/FileUtilTest.java
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 10.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingMultisetTest.java
import junit.framework.TestSuite; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** * Tests for {@link ForwardingMultiset}. * * @author Hayward Chan * @author Louis Wasserman */ @NullUnmarked public class ForwardingMultisetTest extends TestCase { static final class StandardImplForwardingMultiset<T> extends ForwardingMultiset<T> {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 20:34:52 UTC 2025 - 11.8K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ExecutionSequencer.java
* ThreadLocal; however, ThreadLocal is not well optimized for the case where the ThreadLocal is * non-static, and is initialized/removed frequently - this causes churn in the Thread specific * hashmaps. Using a static ThreadLocal to avoid that overhead would mean that different * ExecutionSequencer objects interfere with each other, which would be undesirable, in addition
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 01:35:55 UTC 2025 - 22.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmUtilTest.java
byte[] out7 = new byte[8]; // Act NtlmUtil.E(key14, data8, out14); NtlmUtil.E(key7, data8, out7); // Assert: first block identical to single-chunk encryption assertArrayEquals(Arrays.copyOfRange(out14, 0, 8), out7); // And second block is present and not all zeros assertFalse(Arrays.equals(new byte[8], Arrays.copyOfRange(out14, 8, 16))); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12K bytes - Viewed (1) -
src/main/java/jcifs/smb/Kerb5Context.java
import org.slf4j.Logger; import org.slf4j.LoggerFactory; import jcifs.CIFSException; import jcifs.spnego.NegTokenInit; /** * This class used to provide Kerberos feature when setup GSSContext. * * @author Shun */ class Kerb5Context implements SSPContext { private static final Logger log = LoggerFactory.getLogger(Kerb5Context.class); private static final ASN1ObjectIdentifier KRB5_MECH_OID;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 13.5K bytes - Viewed (1)