- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 167 for 0x104 (0.02 seconds)
-
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
byte[] b = inv.getArgument(0); int off = inv.getArgument(1); b[off] = 0x01; b[off + 1] = 0x02; b[off + 2] = 0x03; b[off + 3] = 0x04; return 4; }).when(raf).read(any(byte[].class), anyInt(), eq(4)); assertEquals(0x01020304, raf.readInt()); // long 0x0102030405060708L doAnswer(inv -> {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/IntsTest.java
assertThat(Ints.toByteArray(0x12131415)).isEqualTo(new byte[] {0x12, 0x13, 0x14, 0x15}); assertThat(Ints.toByteArray(0xFFEEDDCC)) .isEqualTo(new byte[] {(byte) 0xFF, (byte) 0xEE, (byte) 0xDD, (byte) 0xCC}); } public void testFromByteArray() { assertThat(Ints.fromByteArray(new byte[] {0x12, 0x13, 0x14, 0x15, 0x33})).isEqualTo(0x12131415);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 29.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/HashCodeTest.java
(byte) 0x67, (byte) 0x45, (byte) 0x23, (byte) 0x01, // up to here, same bytes as above (byte) 0x01, (byte) 0x02, (byte) 0x03, (byte) 0x04, (byte) 0x05, (byte) 0x06, (byte) 0x07, (byte) 0x08 }, 0x89abcdef, 0x0123456789abcdefL, // asInt/asLong as above, due to equal eight first bytesCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 13.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java
when(mockFile2.length()).thenReturn(0L); when(mockFile2.lastModified()).thenReturn(2000L); when(mockFile2.isDirectory()).thenReturn(true); when(mockFile2.getAttributes()).thenReturn(0x10); when(mockFile2.createTime()).thenReturn(600L); when(mockFile2.lastAccess()).thenReturn(900L); // Update cache List<SmbFile> files = Arrays.asList(mockFile1, mockFile2);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 15.9K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java
smb.pid = 456; smb.tid = 789; smb.uid = 101; smb.flags2 = ServerMessageBlock.FLAGS2_UNICODE; smb.useUnicode = true; byte[] params = { 0x01, 0x02, 0x03, 0x04 }; byte[] bytes = { 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F }; smb.setParamWords(params); smb.setBytes(bytes); byte[] buffer = new byte[1024]; int length = smb.encode(buffer, 0);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.9K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/ServerMessageBlock.java
*/ public static final byte SMB_COM_DELETE_DIRECTORY = (byte) 0x01; /** * SMB command to close a file handle. */ public static final byte SMB_COM_CLOSE = (byte) 0x04; /** * SMB command to delete a file. */ public static final byte SMB_COM_DELETE = (byte) 0x06; /** * SMB command to rename a file. */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 38.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/SecurityBlobTest.java
return Stream.of(Arguments.of(new byte[] {}, ""), Arguments.of(new byte[] { (byte) 0x00 }, "00"), 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")); }
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) -
src/test/java/jcifs/internal/SMBSigningDigestTest.java
@Mock private CommonServerMessageBlock message; private byte[] testData; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); testData = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 }; } @Test @DisplayName("Test sign method with valid parameters") void testSignWithValidParameters() { // Arrange int offset = 0;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) -
src/test/java/jcifs/internal/fscc/FileInformationTest.java
@Test @DisplayName("Test FileInformation constants match SMB protocol values") void testFileInformationConstantsMatchProtocol() { // These values are defined in MS-FSCC specification assertEquals(0x04, FileInformation.FILE_BASIC_INFO); assertEquals(0x05, FileInformation.FILE_STANDARD_INFO); assertEquals(0x06, FileInformation.FILE_INTERNAL_INFO); assertEquals(10, FileInformation.FILE_RENAME_INFO);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/smb1/com/SmbComNegotiateResponseTest.java
buffer[bufferIndex++] = (byte) 0x40; buffer[bufferIndex++] = 0; buffer[bufferIndex++] = 0; // maxRawSize buffer[bufferIndex++] = (byte) 0x00; buffer[bufferIndex++] = (byte) 0x10; buffer[bufferIndex++] = 0; buffer[bufferIndex++] = 0; // sessionKey buffer[bufferIndex++] = 1; buffer[bufferIndex++] = 2; buffer[bufferIndex++] = 3;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.4K bytes - Click Count (0)