- Sort Score
- Num 10 results
- Language All
Results 501 - 510 of 6,187 for New (0.04 seconds)
-
guava-tests/test/com/google/common/primitives/CharArrayAsListTest.java
ListTestSuiteBuilder.using(new CharsAsListGenerator()).named("Chars.asList"), ListTestSuiteBuilder.using(new CharsAsListHeadSubListGenerator()) .named("Chars.asList, head subList"), ListTestSuiteBuilder.using(new CharsAsListTailSubListGenerator()) .named("Chars.asList, tail subList"), ListTestSuiteBuilder.using(new CharsAsListMiddleSubListGenerator())
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/ShortArrayAsListTest.java
ListTestSuiteBuilder.using(new ShortsAsListGenerator()).named("Shorts.asList"), ListTestSuiteBuilder.using(new ShortsAsListHeadSubListGenerator()) .named("Shorts.asList, head subList"), ListTestSuiteBuilder.using(new ShortsAsListTailSubListGenerator()) .named("Shorts.asList, tail subList"), ListTestSuiteBuilder.using(new ShortsAsListMiddleSubListGenerator())
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 5.6K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/Types.java
return newTypeVariableImpl( declaration, name, (bounds.length == 0) ? new Type[] {Object.class} : bounds); } /** Returns a new {@link WildcardType} with {@code upperBound}. */ @VisibleForTesting static WildcardType subtypeOf(Type upperBound) { return new WildcardTypeImpl(new Type[0], new Type[] {upperBound}); } /** Returns a new {@link WildcardType} with {@code lowerBound}. */ @VisibleForTesting
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Oct 31 19:34:24 GMT 2025 - 24.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/TypeParameterTest.java
Method method = TypeParameterTest.class.getDeclaredMethod("testEquals"); new EqualsTester() .addEqualityGroup(new TypeParameter<A>() {}, new TypeParameter<A>() {}) .addEqualityGroup(new TypeParameter<B>() {}) .testEquals(); } public void testNullPointers() { new NullPointerTester().testAllPublicStaticMethods(TypeParameter.class); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 1.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/cors/CorsHandlerFactoryTest.java
String origin2 = "https://example2.com"; String origin3 = "https://example3.com"; TestCorsHandler handler1 = new TestCorsHandler("handler1"); TestCorsHandler handler2 = new TestCorsHandler("handler2"); TestCorsHandler handler3 = new TestCorsHandler("handler3"); // Execute corsHandlerFactory.add(origin1, handler1); corsHandlerFactory.add(origin2, handler2);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 9.3K bytes - Click Count (0) -
src/test/java/jcifs/spnego/SpnegoExceptionTest.java
void testJavaSerialization() throws Exception { // Given SpnegoException original = new SpnegoException("serialize me", new IllegalArgumentException("iaex")); // When byte[] bytes; try (ByteArrayOutputStream bout = new ByteArrayOutputStream(); ObjectOutputStream oout = new ObjectOutputStream(bout)) { oout.writeObject(original); oout.flush();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.9K bytes - Click Count (0) -
src/test/java/jcifs/smb1/util/HexdumpTest.java
char[] dst1 = new char[8]; Hexdump.toHexChars(0x1234ABCD, dst1, 0, 8); assertEquals("1234ABCD", new String(dst1)); // Test with smaller size char[] dst2 = new char[4]; Hexdump.toHexChars(0xABCD, dst2, 0, 4); assertEquals("ABCD", new String(dst2)); // Test with offset char[] dst3 = new char[10];
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java
private final TearDownStack tearDownStack = new TearDownStack(true); private final CountDownLatch enterRun = new CountDownLatch(1); private final CountDownLatch exitRun = new CountDownLatch(1); private Thread executionThread; private Throwable thrownByExecutionThread; private final Executor exceptionCatchingExecutor = new Executor() { @Override public void execute(Runnable command) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 12.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableSetTest.java
return false; } } return true; }; TypeWithDuplicates a = new TypeWithDuplicates(1, 1); TypeWithDuplicates b1 = new TypeWithDuplicates(2, 1); TypeWithDuplicates b2 = new TypeWithDuplicates(2, 2); TypeWithDuplicates c = new TypeWithDuplicates(3, 1); CollectorTester.of(collector, equivalence) .expectCollects(ImmutableSet.of(a, b1, c), a, b1, c, b2);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 14.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
public void testListeningDecorator_scheduleFailure() throws Exception { ScheduledThreadPoolExecutor delegate = new ScheduledThreadPoolExecutor(1); ListeningScheduledExecutorService service = listeningDecorator(delegate); RuntimeException ex = new RuntimeException(); ListenableFuture<?> future = service.schedule(new ThrowingRunnable(0, ex), 1, MILLISECONDS); assertExecutionException(future, ex);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 26.1K bytes - Click Count (0)