- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 1,958 for length (0.03 sec)
-
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java
int offset = 50; byte[] infoData = createMockFileBasicInfoBuffer(); System.arraycopy(infoData, 0, buffer, offset, infoData.length); response.setDataCount(infoData.length); int bytesRead = response.readDataWireFormat(buffer, offset, buffer.length - offset); assertTrue(bytesRead > 0); assertNotNull(response.getInfo()); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
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() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lock/Smb2Lock.java
this.offset = offset; this.length = length; this.flags = flags; } /** * {@inheritDoc} * * @see jcifs.Encodable#size() */ @Override public int size() { return 24; } /** * {@inheritDoc} * * @see jcifs.Encodable#encode(byte[], int) */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java
assertTrue(securityBufferOffset > 0); // Security Buffer Length assertEquals(token.length, SMBUtil.readInt2(buffer, bodyOffset + 14)); // Previous Session ID assertEquals(previousSessionId, SMBUtil.readInt8(buffer, bodyOffset + 16)); // Token content byte[] actualToken = new byte[token.length]; System.arraycopy(buffer, securityBufferOffset, actualToken, 0, token.length);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcHandle.java
* @param buf the buffer containing the fragment data * @param off the offset into the buffer * @param length the length of data to send * @throws IOException if an I/O error occurs during transmission */ protected abstract void doSendFragment(byte[] buf, int off, int length) throws IOException; /** * Receives a DCERPC fragment from the remote endpointRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/Kerb5ContextTest.java
int len = 2 + 2 + der.length + 4 + nb.length; byte[] out = new byte[len]; int i = 0; out[i++] = 0x04; // TOK_ID[0] out[i++] = 0x01; // TOK_ID[1] out[i++] = (byte) ((der.length >> 8) & 0xFF); out[i++] = (byte) (der.length & 0xFF); System.arraycopy(der, 0, out, i, der.length); i += der.length; out[i++] = (byte) ((nb.length >> 24) & 0xFF);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.2K bytes - Viewed (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()) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/QueryStringBuilder.java
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 12.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/message/MessageFormatter.java
if (resourceBundle == null) { return null; } final int length = messageCode.length(); if (length > CODE_NUMBER_LENGTH) { final String key = messageCode.charAt(0) + messageCode.substring(length - CODE_NUMBER_LENGTH); final String pattern = ResourceBundleUtil.getString(resourceBundle, key); if (pattern != null) {
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 5.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/TransactNamedPipeInputStream.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.6K bytes - Viewed (0)