- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 454 for positive (0.09 seconds)
-
src/test/java/jcifs/smb1/smb1/NtTransQuerySecurityDescTest.java
assertEquals(0, cmd.readDataWireFormat(buf, 0, buf.length)); } @ParameterizedTest @CsvSource({ "0, 0", // all zeros "-1, 2147483647", // negative fid, max positive security "12345, 999" // arbitrary numbers }) void toString_includesCorrectHexValues(int fid, int securityInformation) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.6K bytes - Click Count (0) -
src/test/java/jcifs/smb1/util/HexdumpTest.java
// Test zero assertEquals("00000000", Hexdump.toHexString(0, 8)); assertEquals("0000", Hexdump.toHexString(0, 4)); assertEquals("00", Hexdump.toHexString(0, 2)); // Test positive values assertEquals("000000FF", Hexdump.toHexString(255, 8)); assertEquals("00FF", Hexdump.toHexString(255, 4)); assertEquals("FF", Hexdump.toHexString(255, 2)); // Test larger valuesCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.4K bytes - Click Count (0) -
android/guava/src/com/google/common/math/PairedStatsAccumulator.java
double ySumOfSquaresOfDeltas = yStats.sumOfSquaresOfDeltas(); checkState(xSumOfSquaresOfDeltas > 0.0); checkState(ySumOfSquaresOfDeltas > 0.0); // The product of two positive numbers can be zero if the multiplication underflowed. We // force a positive value by effectively rounding up to MIN_VALUE. double productOfSumsOfSquaresOfDeltas = ensurePositive(xSumOfSquaresOfDeltas * ySumOfSquaresOfDeltas);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 08 18:35:13 GMT 2025 - 10.4K bytes - Click Count (0) -
android/guava/src/com/google/common/math/DoubleUtils.java
} static boolean isNormal(double d) { return getExponent(d) >= MIN_EXPONENT; } /* * Returns x scaled by a power of 2 such that it is in the range [1, 2). Assumes x is positive, * normal, and finite. */ static double scaleNormalize(double x) { long significand = doubleToRawLongBits(x) & SIGNIFICAND_MASK; return longBitsToDouble(significand | ONE_BITS); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 04:51:56 GMT 2026 - 5K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientCreator.java
*/ public void setMaxClientFactorySize(final int maxClientFactorySize) { if (maxClientFactorySize <= 0) { throw new IllegalArgumentException("maxClientFactorySize must be positive."); } this.maxClientFactorySize = maxClientFactorySize; }Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Sun Jul 06 02:13:03 GMT 2025 - 4.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/RegularImmutableMultiset.java
* saving space. */ @VisibleForTesting static final double MAX_LOAD_FACTOR = 1.0; /** * Maximum allowed false positive probability of detecting a hash flooding attack given random * input. */ @VisibleForTesting static final double HASH_FLOODING_FPP = 0.001; /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 6.8K bytes - Click Count (0) -
src/test/java/jcifs/util/HexdumpTest.java
void testSpecialByteValues() { // Test boundary values byte[] data = { (byte) 0x00, // min value (byte) 0xFF, // max value (-1 as signed byte) (byte) 0x7F, // max positive (byte) 0x80 // min negative }; String result = Hexdump.toHexString(data); assertEquals("00FF7F80", result); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.8K bytes - Click Count (0) -
src/test/java/jcifs/DialectVersionTest.java
for (DialectVersion version : DialectVersion.values()) { if (version.isSMB2()) { int dialect = version.getDialect(); assertTrue(dialect > 0, "Dialect code should be positive for " + version); assertTrue(dialectCodes.add(dialect), "Dialect code should be unique for " + version); } } // Should have 5 unique dialect codes for SMB2+ versionsCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.1K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/UnsignedLongs.java
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. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jan 05 22:13:21 GMT 2026 - 17.8K bytes - Click Count (0) -
android/guava/src/com/google/common/math/Quantiles.java
return scale(100); } /** * Specifies the computation of q-quantiles. * * @param scale the scale for the quantiles to be calculated, i.e. the q of the q-quantiles, which * must be positive */ public static Scale scale(int scale) { return new Scale(scale); } /** * Describes the point in a fluent API chain where only the scale (i.e. the q in q-quantiles) has
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 30.1K bytes - Click Count (0)