- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 84 for zeroed (0.47 sec)
-
src/test/java/jcifs/smb/BufferCacheImplTest.java
// And it should still be zeroed for (byte value : reused) { assertEquals(0, value, "Reused buffer must be zeroed"); } } // Edge: cache size 0 means nothing is cached; release still zeroes argument @Test @DisplayName("Cache size 0: release zeroes but does not cache; getBuffer allocates new") void zeroSizedCacheDoesNotStore() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessUnregisterMessage.java
// Context handle is modified by the server (typically zeroed out) if (contextHandle == null) { contextHandle = new byte[20]; } buf.readOctetArray(contextHandle, 0, 20); } /** * Checks if the context handle has been invalidated (all zeros). * A successful unregistration typically results in a zeroed context handle. *Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 3.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleResponse.java
// The response structure is reserved and must be zero (8 bytes) private byte[] reserved = new byte[8]; /** * Create a new durable handle response */ public DurableHandleResponse() { // Reserved field initialized to zeros } @Override public byte[] getName() { return CONTEXT_NAME_BYTES; }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 1.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2TransformHeader.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessHeartbeatMessage.java
buf.writeOctetArray(contextHandle, 0, Math.min(contextHandle.length, 20)); // Pad with zeros if context handle is shorter than 20 bytes for (int i = contextHandle.length; i < 20; i++) { buf.enc_ndr_small(0); } } else { // Write 20 zero bytes for null context handle for (int i = 0; i < 20; i++) { buf.enc_ndr_small(0);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 5.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/IpAddressUtil.java
// Normalize each part (remove leading zeros) final String[] normalized = new String[8]; for (int i = 0; i < 8; i++) { normalized[i] = parts[i].replaceFirst("^0+(?!$)", ""); if (normalized[i].isEmpty()) { normalized[i] = "0"; } } // Find longest sequence of consecutive zeros int longestStart = -1;Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 06 08:31:03 UTC 2025 - 9.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/writer/SuggestWriter.java
* <p>This method iterates through the provided array of SuggestItem objects and merges * items that have the same ID. The merged items are added to a new list, which is then * converted back to an array and returned.</p> * * @param items an array of SuggestItem objects to be merged * @return an array of merged SuggestItem objects */ default SuggestItem[] mergeItems(final SuggestItem[] items) {Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 4.1K 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/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/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)