- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 811 for zeroed (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
internal/crypto/header_test.go
}, } func TestSSECParse(t *testing.T) { var zeroKey [32]byte for i, test := range ssecParseTests { key, err := SSEC.ParseHTTP(test.Header) if err != test.ExpectedErr { t.Errorf("Test %d: want error '%v' but got '%v'", i, test.ExpectedErr, err) } if err != nil && key != zeroKey { t.Errorf("Test %d: parsing failed and client key is not zero key", i) } if err == nil && key == zeroKey {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Jul 13 14:52:15 GMT 2022 - 21.4K bytes - Click Count (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; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 1.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java
assertEquals(0, response.getCapabilities(), "Capabilities should be zero"); assertArrayEquals(new byte[16], response.getServerGuid(), "Server GUID should be all zeros"); assertEquals(0, response.getSecurityMode(), "Security mode should be zero"); assertEquals(0, response.getDialect(), "Dialect should be zero"); } @Test @DisplayName("Test decode with maximum values")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java
lock = new Smb2Lock(999L, 888L, 0xFF); // Fill buffer with non-zero values Arrays.fill(buffer, (byte) 0xFF); lock.encode(buffer, 0); // Reserved field bytes are not modified by the encode method // The implementation just skips these bytes without writing zeros assertEquals(-1, SMBUtil.readInt4(buffer, 20)); } }
Created: 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/main/java/jcifs/internal/smb2/Smb2TransformHeader.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 9.1K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java
long blah = 0; for (int i = 0; i < reps; i++) { Integer key = keys.get(random.nextInt(nKeys)); // This range is [-5, 4] - slight negative bias so we often hit zero, which brings the // auto-removal of zeroes into play. int delta = random.nextInt(10) - 5; blah += delta; if (delta >= 0) { multiset.add(key, delta); } else { multiset.remove(key, -delta);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 16.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/util/SMBUtilTest.java
assertEquals((byte) 0xFF, dst[i]); } // Test with zero SMBUtil.writeInt8(0L, dst, 16); for (int i = 16; i < 24; i++) { assertEquals((byte) 0x00, dst[i]); } } @Test void testReadTime() { byte[] src = new byte[16]; // Test with zero time SMBUtil.writeInt8(0L, src, 0);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.1K bytes - Click Count (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;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 06 08:31:03 GMT 2025 - 9.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java
trans2SetFileInfo = new Trans2SetFileInformation(config, TEST_FID, mockFileInfo); byte[] buffer = new byte[512]; // Fill buffer with non-zero values to ensure padding writes zeros for (int i = 0; i < buffer.length; i++) { buffer[i] = (byte) 0xFF; } int written = trans2SetFileInfo.writeDataWireFormat(buffer, 0);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.8K bytes - Click Count (0) -
internal/grid/msg.go
// When a response is received, the mux is already removed from the remote. OpResponse // OpDisconnect instructs that remote wants to disconnect OpDisconnect // OpMerged is several operations merged into one. OpMerged ) const ( // FlagCRCxxh3 indicates that, the lower 32 bits of xxhash3 of the serialized // message will be sent after the serialized message as little endian. FlagCRCxxh3 Flags = 1 << iota
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Jul 25 21:07:21 GMT 2024 - 7.6K bytes - Click Count (0)