- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 454 for positive (0.05 seconds)
-
src/test/java/jcifs/smb1/smb1/SmbExceptionTest.java
} /** * Parameterised test covering many error codes. * - Error code 0 returns 0 (NT_STATUS_SUCCESS) * - Negative values with 0xC0000000 bits set are returned as-is * - Positive values not in DOS_ERROR_CODES map to NT_STATUS_UNSUCCESSFUL */ @ParameterizedTest @ValueSource(ints = { 0, 1, 123, -7 }) void testGetNtStatusVariousCodes(int errcode) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/BloomFilterTest.java
for (int i = 0; i < numInsertions * 2; i += 2) { assertTrue(bf.mightContain(Integer.toString(i))); } // Now we check for known false positives using a set of known false positives. // (These are all of the false positives under 900.) ImmutableSet<Integer> falsePositives = ImmutableSet.of( 49, 51, 59, 163, 199, 321, 325, 363, 367, 469, 545, 561, 727, 769, 773, 781);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 23K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/BuilderProblem.java
*/ int getLineNumber(); /** * Gets the one-based index of the column containing the problem. The column number should refer to some text file * that is given by {@link #getSource()}. * * @return the one-based index of the column containing the problem or non-positive value if unknown */ int getColumnNumber();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Mar 23 05:29:39 GMT 2023 - 3.6K bytes - Click Count (0) -
android/guava/src/com/google/common/math/IntMath.java
*/ public static int gcd(int a, int b) { /* * The reason we require both arguments to be >= 0 is because otherwise, what do you return on * gcd(0, Integer.MIN_VALUE)? BigInteger.gcd would return positive 2^31, but positive 2^31 isn't * an int. */ checkNonNegative("a", a); checkNonNegative("b", b); if (a == 0) { // 0 % b == 0, so b divides a, but the converse doesn't hold.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 26.1K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblem.java
*/ int getLineNumber(); /** * Gets the one-based index of the column containing the problem. The column number should refer to some text file * that is given by {@link #getSource()}. * * @return The one-based index of the column containing the problem or non-positive value if unknown. */ int getColumnNumber();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/rdma/RdmaBufferManagerTest.java
RdmaMemoryRegion region = bufferManager.getReceiveRegion(); assertNotNull(region, "Receive region should not be null"); assertTrue(region.getSize() > 0, "Region should have positive size"); assertTrue(region.hasAccess(RdmaAccess.LOCAL_WRITE), "Should have local write access"); assertTrue(region.hasAccess(RdmaAccess.REMOTE_WRITE), "Should have remote write access");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 7.1K bytes - Click Count (0) -
internal/bucket/lifecycle/delmarker-expiration.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package lifecycle import ( "encoding/xml" "time" ) var errInvalidDaysDelMarkerExpiration = Errorf("Days must be a positive integer with DelMarkerExpiration") // DelMarkerExpiration used to xml encode/decode ILM action by the same name type DelMarkerExpiration struct { XMLName xml.Name `xml:"DelMarkerExpiration"`
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed May 01 01:11:10 GMT 2024 - 2.3K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/MapMaker.java
checkArgument( concurrencyLevel >= 1, "concurrency level (%s) must be at least 1", concurrencyLevel); // GWT technically only supports concurrencyLevel == 1, but we silently // ignore other positive values. return this; } public <K, V> ConcurrentMap<K, V> makeMap() { return new ConcurrentHashMap<K, V>(initialCapacity); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 1.6K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/ndr/NdrSmallTest.java
assertEquals(0, ndrSmall.value, "Value should be initialized correctly for zero."); } @Test void testConstructor_negativeValue() { // Test with a negative value, expecting it to be masked to a positive byte NdrSmall ndrSmall = new NdrSmall(-1); // -1 & 0xFF = 255 assertEquals(255, ndrSmall.value, "Negative value should be masked to its unsigned byte equivalent."); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/CollectPreconditions.java
} return value; } static void checkPositive(int value, String name) { if (value <= 0) { throw new IllegalArgumentException(name + " must be positive but was: " + value); } } /** * Precondition tester for {@code Iterator.remove()} that throws an exception with a consistent * error message. */ static void checkRemove(boolean canRemove) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Nov 10 21:56:42 GMT 2025 - 2.1K bytes - Click Count (0)