- Sort Score
- Result 10 results
- Languages All
Results 211 - 220 of 435 for _offset (0.04 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt
internal fun checkOffsetAndCount( arrayLength: Long, offset: Long, count: Long, ) { if (offset or count < 0L || offset > arrayLength || arrayLength - offset < count) { throw ArrayIndexOutOfBoundsException("length=$arrayLength, offset=$offset, count=$offset") } } internal fun <T> interleave( a: Iterable<T>, b: Iterable<T>, ): List<T> {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 10.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/lsarpcTest.java
private byte[] data; private int offset; public MockNdrBuffer(byte[] data) { super(data, 0); this.data = data; this.offset = 0; } @Override public int align(int a) { // Simulate alignment by advancing offset int remainder = offset % a; if (remainder != 0) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 60.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableCollection.java
/** * Copies the contents of this immutable collection into the specified array at the specified * offset. Returns {@code offset + size()}. */ @CanIgnoreReturnValue int copyIntoArray(@Nullable Object[] dst, int offset) { for (E e : this) { dst[offset++] = e; } return offset; } @J2ktIncompatible @GwtIncompatible Object writeReplace() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.7K bytes - Viewed (0) -
src/test/java/jcifs/util/HMACT64Test.java
verify(mockMd5, times(1)).update((byte) 0x01); } } @Test void testEngineUpdateByteArray() throws NoSuchAlgorithmException { // Test engineUpdate(byte[] input, int offset, int len) try (MockedStatic<Crypto> mockedCrypto = mockStatic(Crypto.class)) { mockedCrypto.when(Crypto::getMD5).thenReturn(mockMd5); HMACT64 hmac = new HMACT64(TEST_KEY);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NtlmContext.java
* @param token the input token bytes * @param offset offset into the token array * @param len length of token data * @return the output token bytes * @throws SmbException if an error occurs during context initialization */ public byte[] initSecContext(byte[] token, final int offset, final int len) throws SmbException { switch (state) { case 1:
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java
} return this; } /** * Calculates padding needed for the given offset * @param offset * the current offset * @return padding size in bytes */ protected int pad(final int offset) { final int p = offset % getPadding(); if (p == 0) { return 0; } return getPadding() - p; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 17.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java
assertEquals((byte) 0xFE, buffer[offset]); assertEquals((byte) 'S', buffer[offset + 1]); assertEquals((byte) 'M', buffer[offset + 2]); assertEquals((byte) 'B', buffer[offset + 3]); } @Test @DisplayName("Should handle deep message chaining") void testDeepMessageChaining() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 39.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java
} // Helper method to read string from buffer private String readStringFromBuffer(byte[] buffer, int offset, int length) { // Simple ASCII string reading for test purposes StringBuilder sb = new StringBuilder(); for (int i = offset; i < offset + length && buffer[i] != 0; i++) { if (buffer[i] != 0) { sb.append((char) buffer[i]); } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java
this.server.serverTime = SMBUtil.readTime(buffer, bufferIndex); bufferIndex += 8; int tzOffset = SMBUtil.readInt2(buffer, bufferIndex); // tzOffset is signed! if (tzOffset > Short.MAX_VALUE) { tzOffset = -1 * (65536 - tzOffset); } this.server.serverTimeZone = tzOffset; bufferIndex += 2; this.server.encryptionKeyLength = buffer[bufferIndex++] & 0xFF;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 15.8K bytes - Viewed (0)