- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 240 for zeroed (0.04 sec)
-
src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java
SuggestItem merged = SuggestItem.merge(item1, item2); assertNotNull(merged); assertEquals("item1", merged.getText()); assertEquals(150L, merged.getQueryFreq()); // Sum of frequencies assertEquals(75L, merged.getDocFreq()); // Sum of frequencies assertEquals(1.5f, merged.getUserBoost(), 0.001f); // Takes item2's boostRegistered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 16.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java
assertEquals(length, SMBUtil.readInt4(buffer, startIndex + 16)); // Verify reserved bytes are zeros for (int i = 0; i < RESERVED_BYTES; i++) { assertEquals(0, buffer[startIndex + 20 + i]); } } @Test @DisplayName("Should encode zero values correctly") void testEncodeZeroValues() { // Given
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvFlagsTest.java
// 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"); assertEquals(0, zeroAvFlags.getFlags(), "Flags should be 0 for zero bytes"); // Test with negative integer (two's complement)Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java
} @Test @DisplayName("Should write zeros for reserved field") void testReservedFieldIsZero() { // Given Configuration mockConfig = mock(Configuration.class); Smb2TreeDisconnectRequest request = new Smb2TreeDisconnectRequest(mockConfig); byte[] buffer = new byte[256]; // Fill with non-zero values first for (int i = 0; i < buffer.length; i++) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/UnicodeString.java
* */ public class UnicodeString extends rpc.unicode_string { boolean zterm; /** * Constructs a UnicodeString with zero termination option. * * @param zterm * whether the string should be zero terminated */ public UnicodeString(final boolean zterm) { this.zterm = zterm; } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java
} @Test @DisplayName("Should handle edge case with all zero session key") void testDeriveKeys_AllZeroSessionKey() { // Given byte[] zeroSessionKey = new byte[16]; // All zeros int dialect = Smb2Constants.SMB2_DIALECT_0311; // WhenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2CancelRequestTest.java
assertEquals(asyncId, request.getAsyncId()); assertTrue((request.getFlags() & SMB2_FLAGS_ASYNC_COMMAND) != 0, "Async flag should be set when asyncId is non-zero"); } @Test @DisplayName("Test constructor with zero asyncId does not set async flag") void testConstructorWithZeroAsyncId() { // Given long mid = 12345L; long asyncId = 0L; // When
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java
} @Test @DisplayName("Test decode with zero values") void testDecodeWithZeroValues() throws SMBProtocolDecodingException { // Prepare test data with zero values byte[] buffer = createValidBuffer("zerofile.txt", "ZEROFI~1.TXT", true); // Set zero values - for SMB times, 0 in wire format represents 0 in Java timeRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.9K bytes - Viewed (0) -
src/main/java/jcifs/util/Hexdump.java
* that the result is <code>size</code> digits. * * @param val the integer value to convert to hexadecimal * @param size the desired length of the resulting hex string (will be left-padded with zeros) * @return a hexadecimal string representation of the value, padded to the specified size */ public static String toHexString(final int val, final int size) { final char[] c = new char[size];
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.3K bytes - Viewed (0)