- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 251 for 0x200 (3.04 sec)
-
src/test/java/jcifs/smb/SecurityBlobTest.java
class SecurityBlobTest { // Parameter source for toString() hex rendering cases static Stream<Arguments> hexCases() { 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"),Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java
this.flags0 |= fl; } @Override protected int writeParameterWordsWireFormat(final byte[] dst, int dstIndex) { final int start = dstIndex; dst[dstIndex] = (byte) 0x00; dstIndex++; // name length without counting null termination this.namelen_index = dstIndex; dstIndex += 2; SMBUtil.writeInt4(this.flags0, dst, dstIndex);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SpnegoContextTest.java
assertEquals(0, cap.getValue().length, "Optimistic token must be zero-length"); } @ParameterizedTest @ValueSource(bytes = { 0x00, 0x7F, (byte) 0xFF }) @DisplayName("initSecContext throws on invalid token type") void testInitSecContextInvalidTokenType(byte firstByte) throws Exception { SpnegoContext ctx = newContext();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java
assertTrue(workgroupLike.isWorkgroup()); // Server: return a NetBIOS type not 0x1d/0x1b when(nb.getNameType()).thenReturn(0x20); SmbResourceLocatorImpl server = locator("smb://server"); when(nsc.getAllByName(eq("server"), eq(true))).thenReturn(new Address[] { addr }); assertEquals(SmbConstants.TYPE_SERVER, server.getType());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbEnumerationUtilTest.java
// Test with various wildcard patterns and attribute masks String[] wildcards = { "*.txt", "test*", null }; int[] attributes = { 0x10, 0x20, 0x07 }; for (int i = 0; i < wildcards.length; i++) { DosFileFilter dos = new DosFileFilter(wildcards[i], attributes[i]);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java
assertArrayEquals(maxFileId, copiedFileId); // Test with file ID having minimum byte values byte[] minFileId = new byte[16]; Arrays.fill(minFileId, (byte) 0x00); Smb2FlushRequest minRequest = new Smb2FlushRequest(mockConfig, minFileId); written = minRequest.writeBytesWireFormat(buffer, 0); assertEquals(24, written);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java
@DisplayName("Command Constants Tests") class CommandConstantsTests { @Test @DisplayName("Should have correct command constants") void testCommandConstants() { assertEquals(0x00, ServerMessageBlock2.SMB2_NEGOTIATE); assertEquals(0x01, ServerMessageBlock2.SMB2_SESSION_SETUP); assertEquals(0x02, ServerMessageBlock2.SMB2_LOGOFF);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 39.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbRandomAccessFile.java
@Override public final boolean readBoolean() throws SmbException { if (read(this.tmp, 0, 1) < 0) { throw new SmbEndOfFileException(); } return this.tmp[0] != (byte) 0x00; } @Override public final byte readByte() throws SmbException { if (read(this.tmp, 0, 1) < 0) { throw new SmbEndOfFileException(); } return this.tmp[0];Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java
assertTrue(n > 0); // Common AndX header: command at +1, reserved at +2, offset at +3/+4 assertEquals((byte) 0xFF, buf[1], "AndX command should be 0xFF when no chaining"); assertEquals((byte) 0x00, buf[2], "Reserved byte must be 0"); assertEquals((byte) 0xDE, buf[3], "Sentinel low offset when no chaining"); assertEquals((byte) 0xDE, buf[4], "Sentinel high offset when no chaining");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0)