- Sort Score
- Num 10 results
- Language All
Results 231 - 240 of 365 for 0xff (0.03 seconds)
-
src/main/java/jcifs/smb/SmbTransportImpl.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 69.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java
bufferIndex += 2; this.dataDisplacement = SMBUtil.readInt2(buffer, bufferIndex); bufferIndex += 2; this.setupCount = buffer[bufferIndex] & 0xFF; bufferIndex += 2; return bufferIndex - start; } @Override protected int readBytesWireFormat(final byte[] buffer, int bufferIndex) throws SMBProtocolDecodingException {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 12.3K bytes - Click Count (0) -
cmd/erasure-metadata-utils_test.go
{"a/b/c/", []int{3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 1, 2}}, {"/a/b/c", []int{6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 1, 2, 3, 4, 5}}, {string([]byte{0xff, 0xfe, 0xfd}), []int{15, 16, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14}}, } // Tests hashing order to be consistent. for i, testCase := range testCases { hashedOrder := hashOrder(testCase.objectName, 16)Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 7.3K bytes - Click Count (0) -
src/main/java/jcifs/smb1/util/Hexdump.java
size = size % 2 == 0 ? size / 2 : size / 2 + 1; for (int i = 0, j = 0; i < size; i++) { c[j] = HEX_DIGITS[src[i] >> 4 & 0x0F]; j++; if (j == c.length) { break; } c[j++] = HEX_DIGITS[src[i] & 0x0F]; } return new String(c); } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
@DisplayName("Should not modify destination buffer") void testWriteBytesWireFormatDoesNotModifyBuffer() { // Given byte[] dst = new byte[100]; Arrays.fill(dst, (byte) 0xFF); byte[] originalDst = dst.clone(); // When response.writeBytesWireFormat(dst, 0); // Then assertArrayEquals(originalDst, dst); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 26.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbWatchHandleImplTest.java
when(resp.getErrorCode()).thenReturn(0x10B); when(resp.getNotifyInformation()).thenReturn(new ArrayList<>()); setupSmb1(resp, 42); SmbWatchHandleImpl sut = new SmbWatchHandleImpl(handle, 0xFF, false); List<FileNotifyInformation> result = sut.watch(); assertNotNull(result); verify(handle, times(1)).markClosed();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java
int readDataAvailable = Integer.MAX_VALUE; int numberOfMessages = Integer.MAX_VALUE; int messageLength = Integer.MAX_VALUE; byte[] testData = { 0x7F, 0x7F, 0x7F, 0x7F }; // Write values to buffer SMBUtil.writeInt4(namedPipeState, buffer, bufferIndex); SMBUtil.writeInt4(readDataAvailable, buffer, bufferIndex + 4);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java
request.writeBytesWireFormat(buffer, 0); // Then int readFilter = SMBUtil.readInt4(buffer, 24); assertEquals(combinedFilter, readFilter); assertEquals(0x1F, readFilter); // 1 + 2 + 4 + 8 + 16 = 31 = 0x1F } @Test @DisplayName("Should handle all file change notifications") void testAllFileChangeNotifications() { // Given - all possible filters
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java
@Test @DisplayName("Test decode operation") void testDecode() { byte[] buffer = new byte[1024]; // Fill with basic SMB header structure System.arraycopy(new byte[] { (byte) 0xFF, 'S', 'M', 'B' }, 0, buffer, 0, 4); buffer[4] = 1; // wordCount buffer[7] = 0; // byteCount low buffer[8] = 0; // byteCount high assertDoesNotThrow(() -> response.decode(buffer, 0));Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/SecurityBlobTest.java
Arguments.of(new byte[] { (byte) 0x0F }, "0f"), Arguments.of(new byte[] { (byte) 0x10 }, "10"), Arguments.of(new byte[] { (byte) 0xAB }, "ab"), Arguments.of(new byte[] { (byte) 0x7F, (byte) 0x80, (byte) 0xFF }, "7f80ff")); } // Verifies that toString() formats bytes as lower-case hex with zero-padding
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.4K bytes - Click Count (0)