- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 1,748 for LENGTH (0.03 sec)
-
src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java
@Override public void setPath(String path) { if (path.length() > 0 && path.charAt(0) == '\\') { path = path.substring(1); } // win8.1 returns ACCESS_DENIED if the trailing backslash is included if (path.length() > 1 && path.charAt(path.length() - 1) == '\\') { path = path.substring(0, path.length() - 1); } this.name = path; } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 22.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/MIENameTest.java
// OID length claims more than available Arguments.of("oid length exceeds buffer", new byte[] { 0x04, 0x01, 0x00, 0x10, 0x06 }, IllegalArgumentException.class), // Missing NAME_LEN (not enough bytes for 4-byte length) Arguments.of("missing NAME_LEN bytes", new byte[] { 0x04, 0x01, 0x00, (byte) der.length, der[0] },
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java
void testConstructorWithValidParameters() { // Given long sourceOffset = 1024L; long targetOffset = 2048L; int length = 4096; // When SrvCopychunk chunk = new SrvCopychunk(sourceOffset, targetOffset, length); // Then assertNotNull(chunk); } @ParameterizedTest
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/HashingInputStreamTest.java
byte[] buf = new byte[4]; int numOfByteRead = in.read(buf, 0, buf.length); assertEquals(4, numOfByteRead); for (int i = 0; i < testBytes.length; i++) { assertEquals(testBytes[i], buf[i]); } verify(hasher).putBytes(testBytes, 0, testBytes.length); verify(hashFunction).newHasher(); verifyNoMoreInteractions(hashFunction, hasher); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 5K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashingInputStreamTest.java
byte[] buf = new byte[4]; int numOfByteRead = in.read(buf, 0, buf.length); assertEquals(4, numOfByteRead); for (int i = 0; i < testBytes.length; i++) { assertEquals(testBytes[i], buf[i]); } verify(hasher).putBytes(testBytes, 0, testBytes.length); verify(hashFunction).newHasher(); verifyNoMoreInteractions(hashFunction, hasher); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 5K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/DefaultArtifactVersion.java
int idx = 0; if (idx < tok.length) { majorVersion = getNextIntegerToken(tok[idx++]); if (majorVersion == null) { fallback = true; } } else { fallback = true; } if (idx < tok.length) { minorVersion = getNextIntegerToken(tok[idx++]);
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 6.1K bytes - Viewed (0) -
src/test/java/jcifs/BaseTest.java
data[i] = (byte) (i % 256); } return data; } /** * Create a test string with specified length */ protected String createTestString(int length) { StringBuilder sb = new StringBuilder(length); for (int i = 0; i < length; i++) { sb.append((char) ('A' + (i % 26))); } return sb.toString(); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComLockingAndX.java
for (int i = 0; i < this.unlocks.length; i++) { this.unlocks[i] = createLockRange(); bufferIndex += this.unlocks[i].decode(buffer, bufferIndex, buffer.length); } for (int i = 0; i < this.locks.length; i++) { this.locks[i] = createLockRange(); bufferIndex += this.locks[i].decode(buffer, bufferIndex, buffer.length); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/UnicodeString.java
* * @param rus wrapped string * @param zterm whether the string should be zero terminated */ public UnicodeString(final rpc.unicode_string rus, final boolean zterm) { this.length = rus.length; this.maximum_length = rus.maximum_length; this.buffer = rus.buffer; this.zterm = zterm; } /** * Constructs a UnicodeString from a Java String. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableList.java
} private final class SubList extends ImmutableList<E> { final transient int offset; final transient int length; SubList(int offset, int length) { this.offset = offset; this.length = length; } @Override public int size() { return length; } @Override @Nullable Object @Nullable [] internalArray() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 27.5K bytes - Viewed (0)