- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 28 for 10106 (0.14 sec)
-
compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java
checkVersionsEqual("1", "1"); checkVersionsEqual("1", "1.0"); checkVersionsEqual("1", "1.0.0"); checkVersionsEqual("1.0", "1.0.0"); checkVersionsEqual("1", "1-0"); checkVersionsEqual("1", "1.0-0"); checkVersionsEqual("1.0", "1.0-0"); // no separator between number and character checkVersionsEqual("1a", "1-a"); checkVersionsEqual("1a", "1.0-a");
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 17.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java
} @Test public void expireAfterWrite() { Cache<Integer, Integer> cache = CacheBuilder.newBuilder().expireAfterWrite(1000, MILLISECONDS).ticker(fakeTicker).build(); cache.put(10, 100); cache.put(20, 200); cache.put(4, 2); fakeTicker.advance(999, MILLISECONDS); assertThat(cache.getIfPresent(10)).isEqualTo(100); assertThat(cache.getIfPresent(20)).isEqualTo(200);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 22:03:28 UTC 2025 - 14.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java
assertEquals(0, response.writeDataWireFormat(buffer, i * 10)); assertEquals(0, response.readSetupWireFormat(buffer, i * 10, 10)); assertEquals(0, response.readParametersWireFormat(buffer, i * 10, 10)); assertEquals(0, response.readDataWireFormat(buffer, i * 10, 10)); } } @Test @DisplayName("Test toString contains proper class name") void testToStringFormat() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt
val clientReason = "unexpected Sec-WebSocket-Extensions in response header" serverListener.assertClosing(1010, clientReason) server.close(1010, "") clientListener.assertClosing(1010, "") clientListener.assertClosed(1010, "") serverListener.assertClosed(1010, clientReason) clientListener.assertExhausted() serverListener.assertExhausted() }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 19:13:52 UTC 2025 - 35.5K bytes - Viewed (0) -
.idea/inspectionProfiles/Gradle.xml
array with a utility function" suppressId="manual_array_contains" problemDescriptor="Replace manual array-contains check with utility function" text="for ($TYPE$ $ITEM$ : $ARR$) { if ($ITEM$.equals($TARGET$)) { return $RES$; } }" recursive="false" caseInsensitive="false" type="JAVA" pattern_context="default" reformatAccordingToStyle="true" shortenFQN="true" useStaticImport="true" replacement="if (org.gradle.util.internal.ArrayUtils.contains($ARR$, $TARGET$)) { ...
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Jun 26 21:49:47 UTC 2024 - 15.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/DoublesTest.java
assertThat(Doubles.contains(EMPTY, 1.0)).isFalse(); assertThat(Doubles.contains(ARRAY1, 2.0)).isFalse(); assertThat(Doubles.contains(ARRAY234, 1.0)).isFalse(); assertThat(Doubles.contains(new double[] {-1.0}, -1.0)).isTrue(); assertThat(Doubles.contains(ARRAY234, 2.0)).isTrue(); assertThat(Doubles.contains(ARRAY234, 3.0)).isTrue(); assertThat(Doubles.contains(ARRAY234, 4.0)).isTrue();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 30.9K bytes - Viewed (0) -
src/test/java/jcifs/util/InputValidatorTest.java
} @Test @DisplayName("Test safe integer multiplication") void testSafeMultiplication() { assertEquals(100, InputValidator.safeMultiply(10, 10)); assertEquals(-100, InputValidator.safeMultiply(10, -10)); assertThrows(ArithmeticException.class, () -> InputValidator.safeMultiply(Integer.MAX_VALUE, 2));Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.9K bytes - Viewed (0) -
fastapi/encoders.py
where an integer (but not int typed) is used. Encoding this as a float results in failed round-tripping between encode and parse. Our Id type is a prime example of this. >>> decimal_encoder(Decimal("1.0")) 1.0 >>> decimal_encoder(Decimal("1")) 1 >>> decimal_encoder(Decimal("NaN")) nan """ exponent = dec_value.as_tuple().exponent if isinstance(exponent, int) and exponent >= 0:
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 10.7K bytes - Viewed (0) -
.github/workflows/maven.yml
# allow single build per branch or PR concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true # clear all permissions for GITHUB_TOKEN permissions: {} env: MIMIR_VERSION: 0.10.6 MIMIR_BASEDIR: ~/.mimir MIMIR_LOCAL: ~/.mimir/local MAVEN_OPTS: -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=./target/java_heapdump.hprof jobs: initial-build: runs-on: ubuntu-latest steps:Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Dec 16 04:24:24 UTC 2025 - 12.2K bytes - Viewed (0) -
guava/src/com/google/common/math/PairedStatsAccumulator.java
if (value > 0.0) { return value; } else { return Double.MIN_VALUE; } } private static double ensureInUnitRange(double value) { return Doubles.constrainToRange(value, -1.0, 1.0); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 08 18:35:13 UTC 2025 - 10.4K bytes - Viewed (0)