- Sort Score
- Result 10 results
- Languages All
Results 591 - 600 of 954 for zero (0.02 sec)
-
android/guava-tests/test/com/google/common/base/SuppliersTest.java
public void testMemoizeWithExpiration_durationNegative() throws InterruptedException { assertThrows( IllegalArgumentException.class, () -> Suppliers.memoizeWithExpiration(() -> "", Duration.ZERO)); assertThrows( IllegalArgumentException.class, () -> Suppliers.memoizeWithExpiration(() -> "", Duration.ofMillis(-1))); } @J2ktIncompatible
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 17.9K bytes - Viewed (0) -
internal/event/target/postgresql.go
if !filepath.IsAbs(p.QueueDir) { return errors.New("queueDir path should be absolute") } } if p.MaxOpenConnections < 0 { return errors.New("maxOpenConnections cannot be less than zero") } return nil } // PostgreSQLTarget - PostgreSQL target. type PostgreSQLTarget struct { initOnce once.Init id event.TargetID args PostgreSQLArgs
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 13.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java
} @ParameterizedTest @ValueSource(longs = { 1L, 100L, Long.MAX_VALUE }) @DisplayName("isResponseAsync should return true for various non-zero asyncIds") void testIsResponseAsyncWithDifferentValues(long asyncId) { testRequest.setAsyncId(asyncId); assertTrue(testRequest.isResponseAsync()); } } @NestedRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java
void testReadAndXWireFormatWithErrorCode() { DummyPlainSMB next = new DummyPlainSMB(); DummyAndXBlock block = new DummyAndXBlock(next); block.errorCode = 1; // any non-zero error code should inhibit chaining block.headerStart = 0; byte[] buf = new byte[64]; buf[0] = 4; // wordCount buf[1] = 0x42; // andxCommand present
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java
int offset = 10; // When int bytesWritten = response.writeBytesWireFormat(buffer, offset); // Then assertEquals(0, bytesWritten); } @DisplayName("Should write zero bytes at various offsets") @ParameterizedTest @ValueSource(ints = { 0, 1, 10, 50, 100, 255 }) void testWriteBytesWireFormatAtDifferentOffsets(int offset) { // Given byte[] buffer = new byte[256];Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
.teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt
scenario.scenario } }.firstOrNull() // Fallback for new performance tests (don't use 0 to avoid division by zero) ?: PerformanceTestDuration(scenario.scenario, 1) }) .entries .map { TestProjectDuration(it.key, it.value) } .sortedBy { -it.totalTime }Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Thu Jul 10 02:18:03 UTC 2025 - 16.6K bytes - Viewed (0) -
cmd/xl-storage-format-v2.go
hex.EncodeToString(x.Signature[:]), time.Unix(0, x.ModTime), x.Flags.String(), x.EcN, x.EcM, ) } // matchesNotStrict returns whether x and o have both have non-zero version, // their versions match and their type match. // If they have zero version, modtime must match. func (x xlMetaV2VersionHeader) matchesNotStrict(o xlMetaV2VersionHeader) (ok bool) { ok = x.VersionID == o.VersionID && x.Type == o.Type && x.matchesEC(o)
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 65.6K bytes - Viewed (1) -
src/archive/zip/writer.go
offset: uint64(w.cw.count), } if strings.HasSuffix(fh.Name, "/") { // Set the compression method to Store to ensure data length is truly zero, // which the writeHeader method always encodes for the size fields. // This is necessary as most compression formats have non-zero lengths // even when compressing an empty string. fh.Method = Store fh.Flags &^= 0x8 // we will not write a data descriptor
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Tue Jan 28 04:20:09 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java
@DisplayName("Should handle buffer with extra data") void testBufferWithExtraData() throws Exception { byte[] buffer = new byte[100]; Arrays.fill(buffer, (byte) 0xFF); // Fill with non-zero values // Write valid notification data SMBUtil.writeInt2(24, buffer, 0); buffer[2] = 0x02; byte[] fileId = createTestData(16);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/archive/tar/writer.go
} // writeRawHeader writes the value of blk, regardless of its value. // It sets up the Writer such that it can accept a file of the given size. // If the flag is a special header-only flag, then the size is treated as zero. func (tw *Writer) writeRawHeader(blk *block, size int64, flag byte) error { if err := tw.Flush(); err != nil { return err } if _, err := tw.w.Write(blk[:]); err != nil { return err }
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Mon Feb 03 16:38:43 UTC 2025 - 19.7K bytes - Viewed (0)