- Sort Score
- Num 10 results
- Language All
Results 471 - 480 of 4,954 for new (0.02 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java
} public void testBuilderPutAll() { Map<String, Integer> toPut = new LinkedHashMap<>(); toPut.put("one", 1); toPut.put("two", 2); toPut.put("three", 3); Map<String, Integer> moreToPut = new LinkedHashMap<>(); moreToPut.put("four", 4); moreToPut.put("five", 5); ImmutableBiMap<String, Integer> map = new Builder<String, Integer>().putAll(toPut).putAll(moreToPut).build();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 21.4K bytes - Click Count (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java
throw new InvalidVersionSpecificationException( "Only fully-qualified sets allowed in multiple set scenario: " + spec); } else { version = new DefaultArtifactVersion(process); restrictions.add(Restriction.EVERYTHING); } } cached = new VersionRange(version, restrictions);
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 19K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProviderTest.java
final Exception[] exceptions = new Exception[threadCount]; for (int i = 0; i < threadCount; i++) { final int index = i; threads[i] = new Thread(() -> { try { providers[index] = new FessTimeResourceProvider(mockConfig); } catch (Exception e) { exceptions[index] = e; }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 17.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java
} public void testCopyOfDuplicateKey() { Map<IntegerDiv10, String> original = ImmutableMap.of( new IntegerDiv10(3), "three", new IntegerDiv10(20), "twenty", new IntegerDiv10(11), "eleven", new IntegerDiv10(35), "thirty five", new IntegerDiv10(12), "twelve"); assertThrows(IllegalArgumentException.class, () -> ImmutableSortedMap.copyOf(original)); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 29.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java
} @J2ktIncompatible @GwtIncompatible // NullPointerTester public void testNulls() { new NullPointerTester().testAllPublicStaticMethods(AtomicDoubleArray.class); new NullPointerTester().testAllPublicConstructors(AtomicDoubleArray.class); new NullPointerTester().testAllPublicInstanceMethods(new AtomicDoubleArray(1)); } /** constructor creates array of given size with all elements zero */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 10.8K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcQueryInformationPolicyTest.java
short level = 1; // Act queryPolicy = new MsrpcQueryInformationPolicy(mockPolicyHandle, level, mockNdrObject); // Assert assertSame(mockPolicyHandle, queryPolicy.handle); } @Test void constructor_shouldSetLevelCorrectly() { // Arrange short level = 7; // Act queryPolicy = new MsrpcQueryInformationPolicy(mockPolicyHandle, level, mockNdrObject);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.6K bytes - Click Count (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java
} } @Test public void testMng7714() { ComparableVersion f = new ComparableVersion("1.0.final-redhat"); ComparableVersion sp1 = new ComparableVersion("1.0-sp1-redhat"); ComparableVersion sp2 = new ComparableVersion("1.0-sp-1-redhat"); ComparableVersion sp3 = new ComparableVersion("1.0-sp.1-redhat"); assertTrue(f.compareTo(sp1) < 0, "expected " + f + " < " + sp1);Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 17.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractServiceTest.java
AbstractService service = new DefaultService(); assertThrows(IllegalStateException.class, () -> service.notifyFailed(new Exception())); } public void testNotifyFailedWhenTerminated() { NoOpService service = new NoOpService(); service.startAsync().awaitRunning(); service.stopAsync().awaitTerminated(); assertThrows(IllegalStateException.class, () -> service.notifyFailed(new Exception())); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 28.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractServiceTest.java
AbstractService service = new DefaultService(); assertThrows(IllegalStateException.class, () -> service.notifyFailed(new Exception())); } public void testNotifyFailedWhenTerminated() { NoOpService service = new NoOpService(); service.startAsync().awaitRunning(); service.stopAsync().awaitTerminated(); assertThrows(IllegalStateException.class, () -> service.notifyFailed(new Exception())); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 28.7K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java
// Test various boundary values assertEquals(0, new NdrShort(0).value); assertEquals(255, new NdrShort(255).value); assertEquals(0, new NdrShort(256).value); // 256 & 0xFF = 0 assertEquals(255, new NdrShort(-1).value); // -1 & 0xFF = 255 assertEquals(128, new NdrShort(-128).value); // -128 & 0xFF = 128 } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.2K bytes - Click Count (0)