- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 491 for Offset (0.03 sec)
-
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/smb/SIDCacheImplTest.java
assertEquals(NtStatus.NT_STATUS_ACCESS_DENIED, ex.getNtStatus()); } @Test @DisplayName("resolveSids(CIFSContext,server,sids,offset,length) resolves missing, caches, and reuses cache") void resolveSids_withOffsetAndCache_behavesCorrectly() throws Exception { CIFSContext ctx = mock(CIFSContext.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationResponseTest.java
response.setDataCount(infoData.length); int bytesRead = response.readDataWireFormat(buffer, offset, buffer.length - offset); assertTrue(bytesRead > 0); assertNotNull(response.getInfo()); } // Helper methods to create mock buffers for different file information types private byte[] createMockFileBasicInfoBuffer() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/ResultOffsetExceededExceptionTest.java
} public void test_specialCharactersInMessage() { // Test with special characters in message String messageWithSpecialChars = "Error: offset > 1000 && offset < 2000 | \"quotes\" 'single' \n\t tab"; ResultOffsetExceededException exception = new ResultOffsetExceededException(messageWithSpecialChars); assertEquals(messageWithSpecialChars, exception.getMessage());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbPipeHandleInternal.java
* @param off offset in the buffer * @param length maximum length to receive * @return number of bytes received * @throws IOException if an I/O error occurs */ int recv(byte[] buf, int off, int length) throws IOException; /** * Send data to the pipe * * @param buf buffer containing data to send * @param off offset in the buffer
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.7K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java
assertEquals(0, ndrBuffer.index); assertEquals(0, ndrBuffer.length); assertSame(ndrBuffer, ndrBuffer.deferred); assertSame(buffer, ndrBuffer.buf); // Test with a different start offset NdrBuffer offsetBuffer = new NdrBuffer(buffer, 10); assertEquals(10, offsetBuffer.start); assertEquals(10, offsetBuffer.index); assertEquals(0, offsetBuffer.length); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0) -
src/main/webapp/css/bootstrap.min.css
auto;width:91.66666667%}.col-sm-12{flex:0 0 auto;width:100%}.offset-sm-0{margin-left:0}.offset-sm-1{margin-left:8.33333333%}.offset-sm-2{margin-left:16.66666667%}.offset-sm-3{margin-left:25%}.offset-sm-4{margin-left:33.33333333%}.offset-sm-5{margin-left:41.66666667%}.offset-sm-6{margin-left:50%}.offset-sm-7{margin-left:58.33333333%}.offset-sm-8{margin-left:66.66666667%}.offset-sm-9{margin-left:75%}.offset-sm-10{margin-left:83.33333333%}.offset-sm-11{margin-left:91.66666667%}.g-sm-0,.gx-sm-0{--bs-gut...
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sun Jan 12 06:14:02 UTC 2025 - 227.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java
void testReadParametersWireFormatWithBufferOffset() throws Exception { int offset = 20; byte[] notificationData = createSingleNotificationBuffer("offset_test.txt", FileNotifyInformation.FILE_ACTION_MODIFIED); byte[] buffer = new byte[offset + notificationData.length]; System.arraycopy(notificationData, 0, buffer, offset, notificationData.length);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java
void testDecodeWithNonZeroBufferIndex() throws SMBProtocolDecodingException { // Prepare test data with offset int offset = 10; byte[] buffer = new byte[34]; // 10 offset + 16 header + 8 data int bufferIndex = offset; // Set up test values int namedPipeState = 0x02; int readDataAvailable = 256; int numberOfMessages = 5;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java
private String readString(byte[] buffer, int offset, int maxLength) { int length = 0; for (int i = offset; i < offset + maxLength && i < buffer.length; i++) { if (buffer[i] == 0) { break; } length++; } return new String(buffer, offset, length); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.2K bytes - Viewed (0)