- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 404 for negation (0.04 sec)
-
src/test/java/jcifs/smb/SmbFileOutputStreamTest.java
SmbConstants.DEFAULT_SHARING); byte[] data = new byte[10]; // When & Then - test boundary conditions // Negative length or offset should not cause issues (len <= 0 returns early) assertDoesNotThrow(() -> outputStream.write(data, 0, -1)); // negative length, returns early assertDoesNotThrow(() -> outputStream.write(data, 0, 0)); // zero length, returns early
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Floats.java
* @param padding an extra amount to "grow" the array by if growth is necessary * @throws IllegalArgumentException if {@code minLength} or {@code padding} is negative * @return an array containing the values of {@code array}, with guaranteed minimum length {@code * minLength} */ public static float[] ensureCapacity(float[] array, int minLength, int padding) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.7K bytes - Viewed (0) -
guava/src/com/google/common/math/Stats.java
* is not guaranteed to return zero when the dataset consists of the same value multiple times, * due to numerical errors. However, it is guaranteed never to return a negative result. * * <h3>Non-finite values</h3> * * <p>If the dataset contains any non-finite values ({@link Double#POSITIVE_INFINITY}, {@link
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 24.8K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/UnsignedLongs.java
import java.math.BigInteger; import java.util.Arrays; import java.util.Comparator; /** * Static utility methods pertaining to {@code long} primitives that interpret values as * <i>unsigned</i> (that is, any negative value {@code x} is treated as the positive value {@code * 2^64 + x}). The methods for which signedness is not an issue are in {@link Longs}, as well as * signed versions of methods for which signedness is an issue. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 17.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/score/ScoreUpdaterTest.java
String result = scoreUpdater.execute(); // NullPointerException message should be captured assertTrue(result.contains("null") || result.contains("NullPointer")); } // Test with negative priority public void test_addScoreBooster_negativePriority() { PriorityTrackingBooster booster1 = new PriorityTrackingBooster(-1, 100L); PriorityTrackingBooster booster2 = new PriorityTrackingBooster(0, 200L);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java
assertEquals("EndOfFileInformation[endOfFile=12345]", str2); } @Test @DisplayName("Test toString with various values") void testToStringWithVariousValues() { // Test negative value FileEndOfFileInformation info1 = new FileEndOfFileInformation(-100L); assertEquals("EndOfFileInformation[endOfFile=-100]", info1.toString()); // Test zero
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/net/HostSpecifier.java
import java.text.ParseException; import org.jspecify.annotations.Nullable; /** * A syntactically valid host specifier, suitable for use in a URI. This may be either a numeric IP * address in IPv4 or IPv6 notation, or a domain name. * * <p>Because this class is intended to represent host specifiers which can reasonably be used in a * URI, the domain name case is further restricted to include only those domain names which end in a
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 6K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/BloomFilterStrategies.java
int hash2 = (int) (hash64 >>> 32); boolean bitsChanged = false; for (int i = 1; i <= numHashFunctions; i++) { int combinedHash = hash1 + (i * hash2); // Flip all the bits if it's negative (guaranteed positive number) if (combinedHash < 0) { combinedHash = ~combinedHash; } bitsChanged |= bits.set(combinedHash % bitSize); } return bitsChanged; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 10.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/DiscreteDomain.java
* minValue()} */ public abstract @Nullable C previous(C value); /** * Returns a signed value indicating how many nested invocations of {@link #next} (if positive) or * {@link #previous} (if negative) are needed to reach {@code end} starting from {@code start}. * For example, if {@code end = next(next(next(start)))}, then {@code distance(start, end) == 3}
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 10.4K bytes - Viewed (0) -
src/bytes/reader_test.go
{seek: io.SeekStart, off: 0, n: 20, want: "0123456789"}, {seek: io.SeekStart, off: 1, n: 1, want: "1"}, {seek: io.SeekCurrent, off: 1, wantpos: 3, n: 2, want: "34"}, {seek: io.SeekStart, off: -1, seekerr: "bytes.Reader.Seek: negative position"}, {seek: io.SeekStart, off: 1 << 33, wantpos: 1 << 33, readerr: io.EOF}, {seek: io.SeekCurrent, off: 1, wantpos: 1<<33 + 1, readerr: io.EOF}, {seek: io.SeekStart, n: 5, want: "01234"},
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 8K bytes - Viewed (0)