- Sort Score
- Num 10 results
- Language All
Results 181 - 190 of 1,843 for lengths (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java
long offset = 1024L; long length = 2048L; int flags = Smb2Lock.SMB2_LOCKFLAG_EXCLUSIVE_LOCK; lock = new Smb2Lock(offset, length, flags); assertNotNull(lock); } @Test @DisplayName("Should create lock with zero offset and length") void testConstructorWithZeroValues() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0) -
internal/auth/credentials.go
// If length <= 0, the access key length is chosen automatically. // // GenerateAccessKey returns an error if length is too small for a valid // access key. func GenerateAccessKey(length int, random io.Reader) (string, error) { if random == nil { random = rand.Reader } if length <= 0 { length = accessKeyMaxLen } if length < accessKeyMinLen {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 11.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/io/Smb2ReadRequest.java
* * @param remoteKey remote memory key * @param address remote memory address * @param length length of memory region */ public void addRdmaChannelInfo(int remoteKey, long address, int length) { this.rdmaChannelInfo = new RdmaChannelInfo(remoteKey, address, length); this.channel = Smb2Constants.SMB2_CHANNEL_RDMA_V1; } /** * Get RDMA channel informationCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 7.8K bytes - Click Count (0) -
src/main/java/jcifs/util/PathValidator.java
if (path == null || path.isEmpty()) { throw new SmbException("Path cannot be null or empty"); } // Check length if (path.length() > maxPathLength) { throw new SmbException("Path exceeds maximum length: " + path.length() + " > " + maxPathLength); } // Check for null bytes if (NULL_BYTE.matcher(path).find()) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 14.5K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/CurlResponseTest.java
headers.put("Content-Length", Arrays.asList("100")); response.setHeaders(headers); Map<String, List<String>> result = response.getHeaders(); assertNotNull(result); // Headers should be stored in lowercase assertTrue(result.containsKey("content-type")); assertTrue(result.containsKey("content-length")); } @Test
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 09:11:12 GMT 2026 - 17.7K bytes - Click Count (0) -
src/main/java/jcifs/smb1/netbios/Name.java
} catch (final UnsupportedEncodingException uee) {} dstIndex += scope.length(); dst[dstIndex++] = (byte) 0x00; // now go over scope backwards converting '.' to label length int i = dstIndex - 2; final int e = i - scope.length(); int c = 0; do {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.2K bytes - Click Count (0) -
src/test/java/jcifs/http/NtlmSspTest.java
// LM Response (24 bytes at offset 64) message[12] = 24; // Length message[13] = 0; message[14] = 24; // Max Length message[15] = 0; message[16] = 64; // Offset message[17] = 0; message[18] = 0; message[19] = 0; // NT Response (24 bytes at offset 88) message[20] = 24; // Length message[21] = 0; message[22] = 24; // Max Length
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 11.4K bytes - Click Count (1) -
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() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 27.5K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbResourceLocatorImpl.java
@Override public boolean isRoot() { // length == 0 should not happen return getShare() == null && getUNCPath().length() <= 1; } boolean isRootOrShare() { // length == 0 should not happen return getUNCPath().length() <= 1; } /** * @throws MalformedURLException * */ private synchronized void canonicalizePath() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 23.6K bytes - Click Count (0) -
src/main/java/jcifs/util/SecureKeyManager.java
byte[] derived = new byte[length]; // Combine inputs byte[] labelBytes = label.getBytes(java.nio.charset.StandardCharsets.UTF_8); byte[] input = new byte[baseKey.length + labelBytes.length + (context != null ? context.length : 0)]; int pos = 0; System.arraycopy(baseKey, 0, input, pos, baseKey.length); pos += baseKey.length;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 21.5K bytes - Click Count (0)