- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 404 for negation (0.04 sec)
-
android/guava/src/com/google/common/graph/GraphBuilder.java
this.allowsSelfLoops = allowsSelfLoops; return this; } /** * Specifies the expected number of nodes in the graph. * * @throws IllegalArgumentException if {@code expectedNodeCount} is negative */ @CanIgnoreReturnValue public GraphBuilder<N> expectedNodeCount(int expectedNodeCount) { this.expectedNodeCount = Optional.of(checkNonNegative(expectedNodeCount)); return this; } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 7.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/BloomFilterTest.java
// https://github.com/google/guava/issues/1781 public void testOptimalNumOfHashFunctionsRounding() { assertEquals(5, BloomFilter.optimalNumOfHashFunctions(0.03)); } /** Tests that we always get a non-negative optimal size. */ public void testOptimalSize() { for (int n = 1; n < 1000; n++) { for (double fpp = Double.MIN_VALUE; fpp < 1.0; fpp += 0.001) { assertTrue(BloomFilter.optimalNumOfBits(n, fpp) >= 0);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 22K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java
class EdgeCaseTests { @Test @DisplayName("Should handle negative offset") void testNegativeOffset() { request.setOffset(-1L); request.setReadLength(1024); byte[] buffer = new byte[256]; int bytesWritten = request.writeBytesWireFormat(buffer, 0); // Negative value should be written as-is (interpreted as unsigned by receiver)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMultiset.java
* case no change will be made. * @return this {@code Builder} object * @throws NullPointerException if {@code element} is null * @throws IllegalArgumentException if {@code occurrences} is negative, or if this operation * would result in more than {@link Integer#MAX_VALUE} occurrences of the element */ @CanIgnoreReturnValue public Builder<E> addCopies(E element, int occurrences) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 20.6K bytes - Viewed (0) -
doc/go_mem.html
</p> <p> The <i>synchronized before</i> relation is a partial order on synchronizing memory operations, derived from <i>W</i>. If a synchronizing read-like memory operation <i>r</i> observes a synchronizing write-like memory operation <i>w</i> (that is, if <i>W</i>(<i>r</i>) = <i>w</i>), then <i>w</i> is synchronized before <i>r</i>. Informally, the synchronized before relation is a subset of the implied total order
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Aug 05 15:41:37 UTC 2025 - 26.6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java
if (localInputFuture != null) { String message = "inputFuture=[" + localInputFuture + "]"; if (localTimer != null) { long delay = localTimer.getDelay(MILLISECONDS); // Negative delays look confusing in an error message if (delay > 0) { message += ", remaining delay=[" + delay + " ms]"; } } return message; } return null; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java
void testTimeReadWriteZero() { byte[] buffer = new byte[8]; ServerMessageBlock.writeTime(0, buffer, 0); // When zero is written, it stays as zero in buffer // When read back, it converts to negative Unix time due to Windows FileTime conversion long expectedTime = -SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601; assertEquals(expectedTime, ServerMessageBlock.readTime(buffer, 0)); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/Striped64.java
* scattered in memory and thus don't interfere much with each * other. But Atomic objects residing in arrays will tend to be * placed adjacent to each other, and so will most often share * cache lines (with a huge negative performance impact) without * this precaution. * * In part because Cells are relatively large, we avoid creating * them until they are needed. When there is no contention, all
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jan 15 22:17:15 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java
assertEquals(0, result); result = response.readSetupWireFormat(smallBuffer, Integer.MAX_VALUE, 0); assertEquals(0, result); // Test with negative length (should still return 0) result = response.readParametersWireFormat(smallBuffer, 0, -1); assertEquals(0, result); } @Test @DisplayName("Test command type is correct")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Fingerprint2011.java
* * <p>Note to maintainers: This implementation relies on signed arithmetic being bit-wise equivalent * to unsigned arithmetic in all cases except: * * <ul> * <li>comparisons (signed values can be negative) * <li>division (avoided here) * <li>shifting (right shift must be unsigned) * </ul> * * @author ******@****.*** (Kyle Maddison) * @author ******@****.*** (Geoff Pike) */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 6.5K bytes - Viewed (0)