- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 117 for 0x02FF (0.06 seconds)
-
src/main/java/jcifs/smb1/netbios/NameServicePacket.java
writeInt2(nameTrnId, dst, dstIndex); dst[dstIndex + OPCODE_OFFSET] = (byte) ((isResponse ? 0x80 : 0x00) + (opCode << 3 & 0x78) + (isAuthAnswer ? 0x04 : 0x00) + (isTruncated ? 0x02 : 0x00) + (isRecurDesired ? 0x01 : 0x00)); dst[dstIndex + OPCODE_OFFSET + 1] = (byte) ((isRecurAvailable ? 0x80 : 0x00) + (isBroadcast ? 0x10 : 0x00) + (resultCode & 0x0F));
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 10.6K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/SignedBytes.java
max = array[i]; } } return max; } /** * Returns a string containing the supplied {@code byte} values separated by {@code separator}. * For example, {@code join(":", 0x01, 0x02, -0x01)} returns the string {@code "1:2:-1"}. * * @param separator the text that should appear between consecutive values in the resulting string * (but not at the start or end)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 7.2K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComDeleteTest.java
byte[] dst = new byte[2]; int bytesWritten = smbComDelete.writeParameterWordsWireFormat(dst, 0); assertEquals(2, bytesWritten); // ATTR_HIDDEN (0x02) | ATTR_SYSTEM (0x04) = 0x06 assertEquals(0x06, dst[0]); assertEquals(0x00, dst[1]); } @Test public void testWriteBytesWireFormat() { // Test the writing of bytes to a byte array
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/main/java/jcifs/smb1/dcerpc/DcerpcConstants.java
*/ int DCERPC_FIRST_FRAG = 0x01; /* First fragment */ /** * Last fragment flag - indicates last fragment of a multi-fragment message */ int DCERPC_LAST_FRAG = 0x02; /* Last fragment */ /** * Pending cancel flag - indicates cancel was pending at sender */ int DCERPC_PENDING_CANCEL = 0x04; /* Cancel was pending at sender */ /** * Reserved flag for future useCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java
@Test @DisplayName("Test all file information class constants") void testFileInformationClassConstants() { assertEquals(0x01, Smb2QueryDirectoryRequest.FILE_DIRECTORY_INFO); assertEquals(0x02, Smb2QueryDirectoryRequest.FILE_FULL_DIRECTORY_INFO); assertEquals(0x03, Smb2QueryDirectoryRequest.FILE_BOTH_DIRECTORY_INFO); assertEquals(0x0C, Smb2QueryDirectoryRequest.FILE_NAMES_INFO);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.2K bytes - Click Count (0) -
src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java
void byteArrayConstructor_malformedDER_throwsWrapped() { // Arrange: Truncated SEQUENCE (0x30 len=2 but only 1 byte of content) byte[] malformed = new byte[] { 0x30, 0x02, 0x01 }; // Act + Assert PACDecodingException ex = assertThrows(PACDecodingException.class, () -> new KerberosApRequest(malformed, null)); assertTrue(ex.getMessage().contains("Malformed Kerberos Ticket"));
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.3K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbConstantsTest.java
* Test file attribute constants. */ @Test @DisplayName("File attribute constants are correct") void fileAttributesTest() { assertEquals(0x01, SmbConstants.ATTR_READONLY); assertEquals(0x02, SmbConstants.ATTR_HIDDEN); assertEquals(0x04, SmbConstants.ATTR_SYSTEM); assertEquals(0x08, SmbConstants.ATTR_VOLUME); assertEquals(0x10, SmbConstants.ATTR_DIRECTORY); } /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.2K bytes - Click Count (0) -
src/test/java/jcifs/spnego/NegTokenTargTest.java
} @Test @DisplayName("parsing malformed token throws IOException") void testMalformedToken() { byte[] bad = new byte[] { 0x01, 0x02, 0x03 }; // not a valid ASN.1 tagged object assertThrows(IOException.class, () -> new NegTokenTarg(bad), "Malformed byte[] should cause IOException"); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java
private LeaseV1CreateContextRequest leaseContext; private Smb2LeaseKey testKey; private int testState; @BeforeEach void setUp() { byte[] keyBytes = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10 }; testKey = new Smb2LeaseKey(keyBytes); testState = Smb2LeaseState.SMB2_LEASE_READ_WRITE;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 00:16:17 GMT 2025 - 5.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/SmbComNegotiate.java
protected int writeBytesWireFormat(final byte[] dst, final int dstIndex) { final ByteArrayOutputStream bos = new ByteArrayOutputStream(); for (final String dialect : this.dialects) { bos.write(0x02); try { bos.write(Strings.getASCIIBytes(dialect)); } catch (final IOException e) { throw new RuntimeCIFSException(e); } bos.write(0x0);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.5K bytes - Click Count (3)