- Sort Score
- Num 10 results
- Language All
Results 221 - 230 of 473 for 0x00 (0.02 seconds)
-
src/main/java/jcifs/smb1/smb1/SmbFile.java
* * @see java.io.File */ public class SmbFile extends URLConnection implements SmbConstants { static final int O_RDONLY = 0x01; static final int O_WRONLY = 0x02; static final int O_RDWR = 0x03; static final int O_APPEND = 0x04; // Open Function Encoding // create if the file does not exist static final int O_CREAT = 0x0010; // fail if the file existsCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 112.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java
void testSizeWithMultipleHashAlgosAndSalt() { int[] hashAlgos = { 0x01, 0x02, 0x03 }; byte[] salt = { 0x01, 0x02, 0x03, 0x04, 0x05 }; PreauthIntegrityNegotiateContext context = new PreauthIntegrityNegotiateContext(mockConfig, hashAlgos, salt); assertEquals(15, context.size()); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 34K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/QueryResponseListTest.java
doc.put("title", "Test"); documentList1.add(doc); documentList2.add(doc); QueryResponseList qrList1 = new QueryResponseList(documentList1, 0, 10, 0); QueryResponseList qrList2 = new QueryResponseList(documentList2, 0, 10, 0); assertTrue(qrList1.equals(qrList2)); assertEquals(qrList1.hashCode(), qrList2.hashCode()); // Test with different content
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 40.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java
request.setOffset(1000L); request.setRemainingBytes(500); request.setWriteFlags(0x01); // Update parameters request.setData(new byte[200], 0, 200); request.setOffset(2000L); request.setRemainingBytes(1000); request.setWriteFlags(0x02); // Update file ID byte[] newFileId = new byte[16];
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 22.4K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenDomainTest.java
// Verify that flags are set correctly (DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG) // The actual values for DCERPC_FIRST_FRAG and DCERPC_LAST_FRAG are typically 0x01 and 0x02 respectively. int expectedFlags = 0x01 | 0x02; // DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG assertEquals(expectedFlags, msrpcSamrOpenDomain.getFlags(), "flags should be initialized to DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 1.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/SmbNegotiationTest.java
private SmbNegotiation negotiation; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); testRequestBuffer = new byte[] { 0x01, 0x02, 0x03, 0x04 }; testResponseBuffer = new byte[] { 0x05, 0x06, 0x07, 0x08 }; negotiation = new SmbNegotiation(mockRequest, mockResponse, testRequestBuffer, testResponseBuffer); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java
private byte[] testMacSigningKey; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); testMacSigningKey = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10 }; } @Test @DisplayName("Test constructor with MAC signing key and bypass flag") void testConstructorWithBypass() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (0) -
src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java
// ---------------- Static read tests ----------------- @Test @DisplayName("readULong correctly interprets little endian") void testReadULong() { byte[] a = new byte[] { (byte) 0x01, (byte) 0x02, (byte) 0x03, (byte) 0x04 }; int result = NtlmMessage.readULong(a, 0); assertEquals(0x04030201, result, "ULong should be little‑endian"); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.8K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/SignedBytes.java
* prefix, or when one array is a prefix of the other, treats the shorter array as the lesser. For * example, {@code [] < [0x01] < [0x01, 0x80] < [0x01, 0x7F] < [0x02]}. Values are treated as * signed. * * <p>The returned comparator is inconsistent with {@link Object#equals(Object)} (since arraysCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 7.2K bytes - Click Count (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/CLIReportingUtilsTest.java
assertEquals("01:00 min", CLIReportingUtils.formatDuration(60 * 1000)); assertEquals("59:59 min", CLIReportingUtils.formatDuration(60 * 60 * 1000 - 1)); assertEquals("01:00 h", CLIReportingUtils.formatDuration(60 * 60 * 1000)); assertEquals("23:59 h", CLIReportingUtils.formatDuration(24 * 60 * 60 * 1000 - 1)); assertEquals("1 d 00:00 h", CLIReportingUtils.formatDuration(24 * 60 * 60 * 1000));
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sun Dec 01 19:41:22 GMT 2024 - 1.7K bytes - Click Count (0)