- Sort Score
- Result 10 results
- Languages All
Results 221 - 230 of 251 for 0x200 (1.62 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/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/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/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/main/java/jcifs/smb1/ntlmssp/Type3Message.java
// NTLM2 Session Response final byte[] clientChallenge = new byte[24]; RANDOM.nextBytes(clientChallenge); java.util.Arrays.fill(clientChallenge, 8, 24, (byte) 0x00); // NTLMv1 w/ NTLM2 session sec and key exch all been verified with a debug build of smbclient final byte[] responseKeyNT = NtlmPasswordAuthentication.nTOWFv1(password);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 24.1K bytes - Viewed (0)