- Sort Score
- Num 10 results
- Language All
Results 201 - 210 of 2,271 for LENGTH (0.19 seconds)
-
src/main/java/jcifs/smb1/util/DES.java
final int length = cipherText.length; if (length % 8 != 0) { // DES requires 8-byte blocks throw new IllegalArgumentException("Array must be a multiple of 8 bytes for DES encryption"); } final byte[] clearText = new byte[length]; final int count = length / 8; for (int i = 0; i < count; i++) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 22.7K bytes - Click Count (0) -
src/main/java/jcifs/smb1/netbios/SessionServicePacket.java
*/ public int writeWireFormat(final byte[] dst, final int dstIndex) { length = writeTrailerWireFormat(dst, dstIndex + HEADER_LENGTH); writeHeaderWireFormat(dst, dstIndex); return HEADER_LENGTH + length; } int readWireFormat(final InputStream in, final byte[] buffer, final int bufferIndex) throws IOException { readHeaderWireFormat(in, buffer, bufferIndex);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.2K bytes - Click Count (0) -
src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java
assertEquals(3, NtlmMessage.readUShort(dest, 0), "Length field must be 3"); assertEquals(3, NtlmMessage.readUShort(dest, 2), "Length field must be 3 again"); assertEquals(8, NtlmMessage.readULong(dest, 4), "Offset must point to payload start"); byte[] actualPayload = new byte[payload.length]; System.arraycopy(dest, 8, actualPayload, 0, payload.length);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.8K bytes - Click Count (0) -
cmd/warm-backend-s3.go
} return destObj } func (s3 *warmBackendS3) PutWithMeta(ctx context.Context, object string, r io.Reader, length int64, meta map[string]string) (remoteVersionID, error) { res, err := s3.client.PutObject(ctx, s3.Bucket, s3.getDest(object), r, length, minio.PutObjectOptions{ SendContentMd5: true, StorageClass: s3.StorageClass, UserMetadata: meta, })
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Jun 08 16:13:30 GMT 2025 - 5.8K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt
* contains newline characters. */ internal fun String.indexOfNonWhitespace(startIndex: Int = 0): Int { for (i in startIndex until length) { val c = this[i] if (c != ' ' && c != '\t') { return i } } return length } fun String.toLongOrDefault(defaultValue: Long): Long = try { toLong() } catch (_: NumberFormatException) { defaultValue }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon May 05 16:01:00 GMT 2025 - 10.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java
// Fill buffer with test data for (int i = 0; i < buffer.length; i++) { buffer[i] = (byte) (i % 256); } // Set structure size to 9 SMBUtil.writeInt2(9, buffer, bufferIndex); // Set buffer offset SMBUtil.writeInt2(100, buffer, bufferIndex + 2); // Set buffer length SMBUtil.writeInt4(8, buffer, bufferIndex + 4);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.5K bytes - Click Count (0) -
guava/src/com/google/common/base/Strings.java
int maxSuffixLength = min(a.length(), b.length()); int s = 0; while (s < maxSuffixLength && a.charAt(a.length() - s - 1) == b.charAt(b.length() - s - 1)) { s++; } if (validSurrogatePairAt(a, a.length() - s - 1) || validSurrogatePairAt(b, b.length() - s - 1)) { s--; } return a.subSequence(a.length() - s, a.length()).toString(); } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 12.5K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/Murmur3_128HashFunction.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 5.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/BufferCacheImplTest.java
// When cache is empty, getBuffer allocates a new buffer with configured size byte[] buf = impl.getBuffer(); assertNotNull(buf, "getBuffer should never return null"); assertEquals(5, buf.length, "Newly allocated buffer length should match config maximum size"); } // Happy path: get -> release -> get returns same instance, zeroed on release @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/PermissionHelper.java
if (lower.startsWith(userPrefix)) { if (permission.length() > userPrefix.length()) { return aclPrefix + systemHelper.getSearchRoleByUser(permission.substring(userPrefix.length())); } return null; } if (lower.startsWith(groupPrefix)) { if (permission.length() > groupPrefix.length()) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 13 05:54:52 GMT 2025 - 15.4K bytes - Click Count (0)