- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 601 for negative (0.5 sec)
-
android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java
try { long remainingNanos = unit.toNanos(timeout); long end = System.nanoTime() + remainingNanos; while (true) { try { // CountDownLatch treats negative timeouts just like zero. return latch.await(remainingNanos, NANOSECONDS); } catch (InterruptedException e) { interrupted = true; remainingNanos = end - System.nanoTime(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/BufferCacheImplTest.java
for (byte value : fromCache) { assertEquals(0, value); } } // Invalid inputs: negative sizes for constructor arguments @Nested class InvalidConstruction { @Test @DisplayName("Negative maxBuffers throws immediately in constructor") void negativeMaxBuffersThrows() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.5K bytes - Viewed (0) -
src/main/webapp/js/admin/plugins/form-validator/html5.js
(j="0"),i||(i="9007199254740992"),k||(k="1"),h["data-validation-allowing"]="range["+j+";"+i+"]",0!==j.indexOf("-")&&0!==i.indexOf("-")||(h["data-validation-allowing"]+=",negative"),(j.indexOf(".")>-1||i.indexOf(".")>-1||k.indexOf(".")>-1)&&(h["data-validation-allowing"]+=",float")):h["data-validation-allowing"]+=",float,negative"}if(e.attr("pattern")&&(b.push("custom"),h["data-validation-regexp"]=e.attr("pattern")),e.attr("maxlength")&&(b.push("length"),h["data-validation-length"]="max"+e.attr("...
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Mon Jan 01 05:12:47 UTC 2018 - 2.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java
@DisplayName("Should create instance with various offset values") @CsvSource({ "0, 0, 1024", "1024, 2048, 4096", "9223372036854775807, 9223372036854775807, 2147483647", // Max long values "-1, -1, -1", // Negative values (should still create instance) "0, 9223372036854775807, 0" // Edge cases }) void testConstructorWithVariousValues(long sourceOffset, long targetOffset, int length) { // When
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/Multiset.java
* <li>{@link HashMultiset} * <li>{@link LinkedHashMultiset} * <li>{@link TreeMultiset} * <li>{@link EnumMultiset} * <li>{@link ConcurrentHashMultiset} * </ul> * * <p>If your values may be zero, negative, or outside the range of an int, you may wish to use * {@link com.google.common.util.concurrent.AtomicLongMap} instead. Note, however, that unlike * {@code Multiset}, {@code AtomicLongMap} does not automatically remove zeros. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 20.9K bytes - Viewed (0) -
guava/src/com/google/common/primitives/UnsignedInteger.java
* Returns a {@code UnsignedInteger} representing the same value as the specified {@link * BigInteger}. This is the inverse operation of {@link #bigIntegerValue()}. * * @throws IllegalArgumentException if {@code value} is negative or {@code value >= 2^32} */ public static UnsignedInteger valueOf(BigInteger value) { checkNotNull(value); checkArgument( value.signum() >= 0 && value.bitLength() <= Integer.SIZE,
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java
@Test @DisplayName("Should throw exception on negative buffer index") void testDecodeWithNegativeIndex() { assertThrows(SMBProtocolDecodingException.class, () -> testResponse.decode(testBuffer, -1, 10), "Should throw exception for negative buffer index"); } @Test @DisplayName("Should throw exception on negative length") void testDecodeWithNegativeLength() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskLogger.kt
* it returns is "s". For values in [-499..499] this returns " 0 µs". * * The returned string attempts to be column-aligned to 6 characters. For negative and large values * the returned string may be longer. */ fun formatDuration(ns: Long): String { val s = when { ns <= -999_500_000 -> "${(ns - 500_000_000) / 1_000_000_000} s "
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 2.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java
} @Test @DisplayName("Test decode with negative values") void testDecodeWithNegativeValues() throws SMBProtocolDecodingException { // Prepare test data with negative values (when interpreted as signed) byte[] buffer = new byte[16]; int bufferIndex = 0; // Set up negative values int namedPipeState = -1; int readDataAvailable = -100;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/util/SMBUtilTest.java
} } @Test void testNegativeValueHandling() { byte[] buffer = new byte[8]; // Test negative values in writeInt4 SMBUtil.writeInt4(-1L, buffer, 0); assertEquals(-1, SMBUtil.readInt4(buffer, 0)); // Test negative values in writeInt8 SMBUtil.writeInt8(-1L, buffer, 0); assertEquals(-1L, SMBUtil.readInt8(buffer, 0)); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0)