- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 312 for 0300 (0.03 sec)
-
src/main/java/jcifs/util/Strings.java
*/ public static int findUNITermination(final byte[] buffer, final int bufferIndex, final int maxLen) { int len = 0; while (buffer[bufferIndex + len] != (byte) 0x00 || buffer[bufferIndex + len + 1] != (byte) 0x00) { len += 2; if (len > maxLen) { if (log.isDebugEnabled()) { log.warn("Failed to find string termination with max length " + maxLen);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java
// Then assertEquals(4, bytesWritten); assertEquals(SmbComTransaction.TRANS_CALL_NAMED_PIPE, dst[0]); assertEquals((byte) 0x00, dst[1]); assertEquals((byte) 0x00, dst[2]); assertEquals((byte) 0x00, dst[3]); } @Test @DisplayName("Test writeSetupWireFormat with offset") void testWriteSetupWireFormatWithOffset() { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvFlagsTest.java
assertEquals(0x04030201, avFlags.getFlags(), "Flags should match the raw bytes (little-endian)"); // Test with zero byte[] zeroBytes = new byte[] { 0x00, 0x00, 0x00, 0x00 }; AvFlags zeroAvFlags = new AvFlags(zeroBytes); assertNotNull(zeroAvFlags, "AvFlags object should not be null for zero bytes");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/util/SMBUtilTest.java
(byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, // 0x0000000000000000L (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00 }; assertEquals(0x123456789ABCDEF0L, SMBUtil.readInt8(src, 0)); assertEquals(0xFFFFFFFFFFFFFFFFL, SMBUtil.readInt8(src, 8));
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java
assertEquals(2, trans.maxParameterCount, "The maxParameterCount should be 2."); assertEquals(40, trans.maxDataCount, "The maxDataCount should be 40."); assertEquals((byte) 0x00, trans.maxSetupCount, "The maxSetupCount should be 0."); } /** * Tests the writeSetupWireFormat method. */ @Test void testWriteSetupWireFormat() { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/EmptyCachesTest.java
} } public void testKeySet_clear() { for (LoadingCache<Object, Object> cache : caches()) { warmUp(cache, 0, 100); Set<Object> keys = cache.asMap().keySet(); keys.clear(); checkEmpty(keys); checkEmpty(cache); } } public void testKeySet_empty_remove() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 11.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/Trans2QueryPathInformation.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 2.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationTest.java
// When int result = trans2SetFileInformation.readSetupWireFormat(new byte[0], 0, 0); // Then assertEquals(0, result); } @Test void testReadParametersWireFormat() { // When int result = trans2SetFileInformation.readParametersWireFormat(new byte[0], 0, 0); // Then assertEquals(0, result); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java
// Arrange context = new PreauthIntegrityNegotiateContext(); byte[] buffer = new byte[] { 0x02, 0x00, // 2 hash algos 0x04, 0x00, // 4 bytes salt 0x01, 0x00, // SHA512 0x02, 0x00, // Another hash algo 0x0A, 0x0B, 0x0C, 0x0D // Salt }; // Act
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java
void testEncode() { byte[] testBytes = new byte[] { 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, (byte) 0x88, (byte) 0x99, (byte) 0xAA, (byte) 0xBB, (byte) 0xCC, (byte) 0xDD, (byte) 0xEE, (byte) 0xFF, 0x00 }; Smb2LeaseKey key = new Smb2LeaseKey(testBytes); byte[] buffer = new byte[20]; key.encode(buffer, 2); for (int i = 0; i < 16; i++) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 6K bytes - Viewed (0)