- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 378 for positive (0.04 sec)
-
guava/src/com/google/common/primitives/Booleans.java
* equivalent {@link Boolean#compare} method instead. * * @param a the first {@code boolean} to compare * @param b the second {@code boolean} to compare * @return a positive number if only {@code a} is {@code true}, a negative number if only {@code * b} is true, or zero if {@code a == b} */ @InlineMe(replacement = "Boolean.compare(a, b)")
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 20.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheEvictionTest.java
CacheTesting.checkValidState(cache); } /** * With an unlimited-size cache with maxWeight of 0, entries weighing 0 should still be cached. * Entries with positive weight should not be cached (nor dump existing cache). */ public void testEviction_maxWeight_zero() { CountingRemovalListener<Integer, Integer> removalListener = countingRemovalListener();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 15K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcHandleTest.java
// When: Getting max transmission values int maxRecv = handle.getMaxRecv(); int maxXmit = handle.getMaxXmit(); // Then: Should return positive values assertTrue(maxRecv > 0); assertTrue(maxXmit > 0); } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java
ndrBuffer.reset(); ndrBuffer.enc_ndr_referent(obj1, 2); assertEquals(4, ndrBuffer.getIndex()); int referent1 = Encdec.dec_uint32le(buffer, 0); assertTrue(referent1 > 0); // Should be a positive referent ID ndrBuffer.reset(); ndrBuffer.enc_ndr_referent(obj1, 2); // Same object, should get same referent assertEquals(4, ndrBuffer.getIndex());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/CriticalPerformanceTest.java
allocations.incrementAndGet(); assertNotNull(buffer, "Buffer should not be null"); assertTrue(buffer.length > 0, "Buffer should have positive length"); // Test release performance long releaseStart = System.nanoTime(); BufferCache.releaseBuffer(buffer);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactHashSet.java
*/ public static <E extends @Nullable Object> CompactHashSet<E> createWithExpectedSize( int expectedSize) { return new CompactHashSet<>(expectedSize); } /** * Maximum allowed false positive probability of detecting a hash flooding attack given random * input. */ @VisibleForTesting( ) static final double HASH_FLOODING_FPP = 0.001; /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 23.9K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AtomicLongMap.java
* atomic unless otherwise noted. * * <p>Instances of this class are serializable if the keys are serializable. * * <p><b>Note:</b> If your values are always positive and less than 2^31, you may wish to use a * {@link com.google.common.collect.Multiset} such as {@link * com.google.common.collect.ConcurrentHashMultiset} instead. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 11.7K bytes - Viewed (0) -
src/archive/tar/strconv.go
// -a-1 == ^a // // If the number is negative, we use an inversion mask to invert the // data bytes and treat the value as an unsigned number. var inv byte // 0x00 if positive or zero, 0xff if negative if b[0]&0x40 != 0 { inv = 0xff } var x uint64 for i, c := range b { c ^= inv // Inverts c only if inv is 0xff, otherwise does nothing if i == 0 {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Sep 08 17:08:20 UTC 2025 - 9.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/ServerDataTest.java
public void testServerTimeField() { // Test with zero serverData.serverTime = 0L; assertEquals(0L, serverData.serverTime); // Test with positive value serverData.serverTime = 132514080000000000L; // Windows file time assertEquals(132514080000000000L, serverData.serverTime); // Test with negative value serverData.serverTime = -1L;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17K bytes - Viewed (0) -
guava/src/com/google/common/math/BigIntegerMath.java
BigDecimal qDec = new BigDecimal(q); return pDec.divide(qDec, 0, mode).toBigIntegerExact(); } /** * Returns {@code n!}, that is, the product of the first {@code n} positive integers, or {@code 1} * if {@code n == 0}. * * <p><b>Warning:</b> the result takes <i>O(n log n)</i> space, so use cautiously. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18.8K bytes - Viewed (0)