- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 23 for 07 (0.02 sec)
-
src/test/java/jcifs/internal/smb1/com/SmbComSetInformationResponseTest.java
@DisplayName("Returns 0 with null array") void nullArray() { assertEquals(0, response.writeBytesWireFormat(null, 0)); } @ParameterizedTest @ValueSource(ints = { 0, 7 }) @DisplayName("Returns 0 with valid array and various indices") void nonNullArray(int idx) { byte[] arr = new byte[10]; assertEquals(0, response.writeBytesWireFormat(arr, idx));Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.1K bytes - Viewed (0) -
src/main/java/jcifs/util/Crypto.java
* @return 8-byte DES key with parity */ static byte[] des7to8(final byte[] key) { final byte key8[] = new byte[8]; key8[0] = (byte) (key[0] & 0xFE); key8[1] = (byte) (key[0] << 7 | (key[1] & 0xFF) >>> 1); key8[2] = (byte) (key[1] << 6 | (key[2] & 0xFF) >>> 2); key8[3] = (byte) (key[2] << 5 | (key[3] & 0xFF) >>> 3); key8[4] = (byte) (key[3] << 4 | (key[4] & 0xFF) >>> 4);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java
void testDecodeNonAlignedNextOffset() { byte[] buffer = new byte[100]; // Write non-aligned next entry offset (not divisible by 4) SMBUtil.writeInt4(7, buffer, 0); // 7 is not aligned to 4 bytes SMBUtil.writeInt4(FileNotifyInformation.FILE_ACTION_ADDED, buffer, 4); SMBUtil.writeInt4(8, buffer, 8); // file name length
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/BufferCacheImplTest.java
} @Test @DisplayName("Negative maxSize throws when allocating a new buffer") void negativeMaxSizeThrowsOnAllocation() { BufferCacheImpl impl = new BufferCacheImpl(0, -7); assertThrows(NegativeArraySizeException.class, impl::getBuffer); } } // Heterogeneous buffer sizes: cache should return exactly what was released @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmUtilTest.java
void testE_blockSplitConsistency() throws ShortBufferException { // Arrange byte[] key14 = hex("01020304050607 11121314151617"); // two 7-byte chunks byte[] key7 = Arrays.copyOfRange(key14, 0, 7); byte[] data8 = NtlmUtil.S8; byte[] out14 = new byte[16]; byte[] out7 = new byte[8]; // Act NtlmUtil.E(key14, data8, out14); NtlmUtil.E(key7, data8, out7);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmUtil.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/DES.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 22.7K bytes - Viewed (0) -
src/main/java/jcifs/smb1/Config.java
String ver, pkgs; ver = System.getProperty("java.version"); if (ver.startsWith("1.1.") || ver.startsWith("1.2.")) { throw new RuntimeException("jcifs.smb1-0.7.0b4+ requires Java 1.3 or above. You are running " + ver); } pkgs = System.getProperty("java.protocol.handler.pkgs"); if (pkgs == null) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.5K bytes - Viewed (0) -
cmd/data-usage_test.go
path string isNil bool size, objs int oSizes sizeHistogram }{ { path: "flat", size: 363515 + expectSize, objs: 14 + expectSize, oSizes: sizeHistogram{0: 7 + expectSize, 1: 5, 2: 2}, }, { path: "bucket/dir1", size: 342210, objs: 7, oSizes: sizeHistogram{0: 2, 1: 3, 2: 2}, }, { path: "bucket/", size: 21000,Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 14.6K bytes - Viewed (0) -
cmd/metacache-entries_test.go
VersionID: [16]byte{}, ModTime: baseTime.Add(90 * time.Minute).UnixNano(), Signature: [4]byte{6, 1, 1, 1}, Type: ObjectType, Flags: 0, }}, }, }, 7: { versions: []xlMetaV2ShallowVersion{ {header: xlMetaV2VersionHeader{ VersionID: [16]byte{}, ModTime: baseTime.Add(90 * time.Minute).UnixNano(), Signature: [4]byte{6, 1, 1, 1},Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 31.6K bytes - Viewed (0)