- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 117 for 0x02FF (0.1 seconds)
-
src/test/java/jcifs/ntlmssp/av/AvFlagsTest.java
/** * Test constructor with raw bytes. */ @Test void testAvFlagsByteArrayConstructor() { // Test with a positive integer byte[] rawBytes = new byte[] { 0x01, 0x02, 0x03, 0x04 }; // Represents 0x04030201 (little-endian) AvFlags avFlags = new AvFlags(rawBytes); assertNotNull(avFlags, "AvFlags object should not be null");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFileHandleImplTest.java
void getters_throw_whenInvalid() { when(cfg.isTraceResourceUsage()).thenReturn(false); stubValidTree(1L, true, true); SmbFileHandleImpl h = new SmbFileHandleImpl(cfg, new byte[] { 0x01, 0x02 }, tree, "//x", 0, 0, 0, 0, 0L); // invalidate h.markClosed(); SmbException ex1 = assertThrows(SmbException.class, h::getFid);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.3K bytes - Click Count (0) -
src/test/java/jcifs/pac/PacSignatureTest.java
* Test constructor with malformed data (too short). */ @Test void testConstructorMalformedData() { // Prepare data (only 2 bytes, less than an int) byte[] data = new byte[] { 0x01, 0x02 }; // Verify that PACDecodingException is thrown assertThrows(PACDecodingException.class, () -> { new PacSignature(data); }); } /**
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.3K bytes - Click Count (0) -
src/test/java/jcifs/ntlmssp/av/AvPairsTest.java
*/ @Test @DisplayName("Decode unknown AvPair type as generic AvPair") void testDecodeUnknownType() throws CIFSException { byte[] data = new byte[] { 0x01, 0x02, 0x03, 0x04 }; int unknownType = 0xFF; byte[] avPairData = createAvPairData(unknownType, data); byte[] eolData = createEolData();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/Trans2FindFirst2.java
import jcifs.smb1.util.Hexdump; class Trans2FindFirst2 extends SmbComTransaction { // flags private static final int FLAGS_CLOSE_AFTER_THIS_REQUEST = 0x01; private static final int FLAGS_CLOSE_IF_END_REACHED = 0x02; private static final int FLAGS_RETURN_RESUME_KEYS = 0x04; private static final int FLAGS_RESUME_FROM_PREVIOUS_END = 0x08; private static final int FLAGS_FIND_WITH_BACKUP_INTENT = 0x10;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 4.5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbComTransactionResponse.java
// relative to headerStart private static final int SETUP_OFFSET = 61; private static final int DISCONNECT_TID = 0x01; private static final int ONE_WAY_TRANSACTION = 0x02; private int pad; private int pad1; private boolean parametersDone, dataDone; protected int totalParameterCount; protected int totalDataCount; protected int parameterCount;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 5.9K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComOpenAndXTest.java
*/ @Test void testConstructor_TruncateOnly() { int flags = SmbFile.O_TRUNC; smbComOpenAndX = new SmbComOpenAndX(fileName, access, flags, andx); assertEquals(0x02, smbComOpenAndX.openFunction); // OPEN_FN_TRUNC } /** * Test getBatchLimit with SMB_COM_READ_ANDX command. */ @Test void testGetBatchLimit_ReadAndX() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 5.6K bytes - Click Count (0) -
src/main/java/jcifs/spnego/NegTokenInit.java
*/ public static final int CONFIDENTIALITY = 0x04; /** * Context flag for integrity (signing) capability */ public static final int INTEGRITY = 0x02; private static final ASN1ObjectIdentifier SPNEGO_OID = new ASN1ObjectIdentifier(SpnegoConstants.SPNEGO_MECHANISM); private ASN1ObjectIdentifier[] mechanisms; private int contextFlags; /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 10.3K bytes - Click Count (0) -
src/main/java/jcifs/smb1/netbios/NbtException.java
public static final int SUCCESS = 0; /** Name service error class */ public static final int ERR_NAM_SRVC = 0x01; /** Session service error class */ public static final int ERR_SSN_SRVC = 0x02; // name service error codes /** Format error in the name service */ public static final int FMT_ERR = 0x1; /** Server error in the name service */ public static final int SRV_ERR = 0x2;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2.java
* * @author mbechler */ public class Trans2FindFirst2 extends SmbComTransaction { // flags static final int FLAGS_CLOSE_AFTER_THIS_REQUEST = 0x01; static final int FLAGS_CLOSE_IF_END_REACHED = 0x02; static final int FLAGS_RETURN_RESUME_KEYS = 0x04; static final int FLAGS_RESUME_FROM_PREVIOUS_END = 0x08; static final int FLAGS_FIND_WITH_BACKUP_INTENT = 0x10; private final int searchAttributes;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.3K bytes - Click Count (0)