- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 365 for positive (0.07 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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) -
src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java
@Test @DisplayName("Header length should be suitable for SMB2 protocol") void testHeaderLengthValidity() { assertTrue(Smb2Constants.SMB2_HEADER_LENGTH > 0, "Header length must be positive"); assertTrue(Smb2Constants.SMB2_HEADER_LENGTH % 8 == 0, "Header length should be multiple of 8 for alignment"); } @Test @DisplayName("Dialect ANY should encompass SMB2 range")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.1K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt
) ) if (dateCharacter == !invert) return i } return limit } /** * Returns the positive value if [s] is positive, or [Long.MIN_VALUE] if it is either 0 or * negative. If the value is positive but out of range, this returns [Long.MAX_VALUE]. * * @throws NumberFormatException if [s] is not an integer of any precision. */Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 23.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFileInputStreamTest.java
void availableAlwaysZero() throws Exception { SmbFileInputStream in = newStream(); assertEquals(0, in.available()); } @Test @DisplayName("skip: positive advances; non-positive returns 0") void skipBehavior() throws Exception { SmbFileInputStream in = newStream(); assertEquals(0, in.skip(0)); assertEquals(0, in.skip(-1));
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.8K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/Hashing.java
} } return HashCode.fromBytesNoCopy(resultBytes); } /** Checks that the passed argument is positive, and ceils it to a multiple of 32. */ static int checkPositiveAndMakeMultipleOf32(int bits) { checkArgument(bits > 0, "Number of bits must be positive"); return (bits + 31) & ~31; } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jul 17 15:26:41 GMT 2025 - 29.8K bytes - Click Count (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}
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 10.4K bytes - Click Count (0) -
code_of_conduct.md
nationality, personal appearance, race, religion, or sexual identity and orientation. ## Our Standards Examples of behavior that contributes to creating a positive environment include: * Using welcoming and inclusive language * Being respectful of differing viewpoints and experiences * Gracefully accepting constructive criticism * Focusing on what is best for the community
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Jan 20 18:38:58 GMT 2020 - 3.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/job/PurgeThumbnailJob.java
*/ public long getExpiry() { return expiry; } /** * Sets the expiration time for thumbnails. * * @param expiry the expiration time in milliseconds (must be positive) * @return this PurgeThumbnailJob instance for method chaining */ public PurgeThumbnailJob expiry(final long expiry) { if (expiry > 0) { this.expiry = expiry; }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 2.6K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CacheCorruptionTest.kt
corruptor() return client.newCall(request).execute() } /** * @param delta the offset from the current date to use. Negative values yield dates in the past; * positive values yield dates in the future. */ private fun formatDate( delta: Long, timeUnit: TimeUnit, ): String? = formatDate(Date(System.currentTimeMillis() + timeUnit.toMillis(delta)))Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Jun 18 12:28:21 GMT 2025 - 6K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/UnsignedBytes.java
* because it is seen as having the value of positive {@code 129}. * * @param a the first {@code byte} to compare * @param b the second {@code byte} to compare * @return a negative value if {@code a} is less than {@code b}; a positive value if {@code a} is * greater than {@code b}; or zero if they are equal */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 16:38:16 GMT 2026 - 21K bytes - Click Count (0)