- Sort Score
- Num 10 results
- Language All
Results 151 - 160 of 267 for 0x41 (0.04 seconds)
-
src/main/java/jcifs/smb1/smb1/Trans2FindFirst2Response.java
sid = readInt2(buffer, bufferIndex); bufferIndex += 2; } numEntries = readInt2(buffer, bufferIndex); bufferIndex += 2; isEndOfSearch = ((buffer[bufferIndex] & 0x01) == 0x01) == true; bufferIndex += 2; eaErrorOffset = readInt2(buffer, bufferIndex); bufferIndex += 2; lastNameOffset = readInt2(buffer, bufferIndex); bufferIndex += 2;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 8.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java
byte[] base = buildCreateBodyNoContexts((byte) 1, (byte) 2, 3, 1000L, 2000L, 3000L, 4000L, 512L, 1024L, 0x20, fileId); // Create a simple context entry byte[] ctx = new byte[0x40]; int ci = 0; SMBUtil.writeInt4(0, ctx, ci); // Next = 0 (only one) ci += 4; SMBUtil.writeInt2(0x10, ctx, ci); // NameOffset SMBUtil.writeInt2(4, ctx, ci + 2); // NameLength
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/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);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/ntlmssp/av/AvFlagsTest.java
public class AvFlagsTest { /** * 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) -
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) -
src/test/java/jcifs/internal/CommonServerMessageBlockTest.java
} }; // Test the concrete implementation concreteBlock.setMid(555L); assertEquals(555L, concreteBlock.getMid()); concreteBlock.setCommand(0x42); assertEquals(0x42, concreteBlock.getCommand()); concreteBlock.setDigest(digest); assertEquals(digest, concreteBlock.getDigest()); concreteBlock.setResponse(response);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.7K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/Trans2FindFirst2.java
package jcifs.smb1.smb1; import jcifs.smb1.Config; 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;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/internal/smb2/tree/Smb2TreeConnectResponse.java
*/ public static final int SMB2_SHARE_CAP_SCALEOUT = 0x20; /** * Share capability indicating cluster support. */ public static final int SMB2_SHARE_CAP_CLUSTER = 0x40; /** * Share capability indicating asymmetric support. */ public static final int SMB2_SHARE_CAP_ASYMMETRIC = 0x80; private byte shareType; private int shareFlags;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 7.8K bytes - Click Count (0) -
src/test/java/jcifs/util/EncdecTest.java
@Test @DisplayName("Should encode and decode UUIDs") void testUUIDOperations() { // Given byte[] uuid = { 0x12, 0x34, 0x56, 0x78, (byte) 0x9A, (byte) 0xBC, (byte) 0xDE, (byte) 0xF0, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, (byte) 0x88 }; byte[] buffer = new byte[16]; // When System.arraycopy(uuid, 0, buffer, 0, 16); // ThenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.1K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java
private static final Random RANDOM = new Random(); private static LogStream log = LogStream.getInstance(); // KGS!@#$% private static final byte[] S8 = { (byte) 0x4b, (byte) 0x47, (byte) 0x53, (byte) 0x21, (byte) 0x40, (byte) 0x23, (byte) 0x24, (byte) 0x25 }; /* Accepts key multiple of 7 * Returns enc multiple of 8 * Multiple is the same like: 21 byte key gives 24 byte result */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 26.7K bytes - Click Count (0)