- Sort Score
- Num 10 results
- Language All
Results 2451 - 2460 of 6,205 for newA (0.07 seconds)
-
android/guava-tests/test/com/google/common/collect/ImmutableClassToInstanceMapTest.java
@AndroidIncompatible // test-suite builders public static Test suite() { TestSuite suite = new TestSuite(); suite.addTestSuite(ImmutableClassToInstanceMapTest.class); suite.addTest( MapTestSuiteBuilder.using( new TestClassToInstanceMapGenerator() { // Other tests will verify what real, warning-free usage looks like
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 31 20:00:15 GMT 2026 - 5.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java
String concurrentPackage = SettableFuture.class.getPackage().getName(); classReloader = new URLClassLoader(ClassPathUtil.getClassPathUrls()) { @GuardedBy("loadedClasses") final Map<String, Class<?>> loadedClasses = new HashMap<>(); @Override public Class<?> loadClass(String name) throws ClassNotFoundException {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 6.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/ReflectionFreeAssertThrows.java
return caught; } throw new AssertionError( "expected to throw " + expectedThrowable.getSimpleName() + " but threw " + t, t); } if (userPassedSupplier) { throw new AssertionError( "expected to throw " + expectedThrowable.getSimpleName() + " but returned result: " + result); } else {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/ReflectionFreeAssertThrows.java
return caught; } throw new AssertionError( "expected to throw " + expectedThrowable.getSimpleName() + " but threw " + t, t); } if (userPassedSupplier) { throw new AssertionError( "expected to throw " + expectedThrowable.getSimpleName() + " but returned result: " + result); } else {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureCancellationCauseTest.java
String concurrentPackage = SettableFuture.class.getPackage().getName(); classReloader = new URLClassLoader(ClassPathUtil.getClassPathUrls()) { @GuardedBy("loadedClasses") final Map<String, Class<?>> loadedClasses = new HashMap<>(); @Override public Class<?> loadClass(String name) throws ClassNotFoundException {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 6.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/Interners.java
public <E> Interner<E> build() { if (!strong) { mapMaker.weakKeys(); } return new InternerImpl<>(mapMaker); } } /** Returns a fresh {@link InternerBuilder} instance. */ public static InternerBuilder newBuilder() { return new InternerBuilder(); } /** * Returns a new thread-safe interner which retains a strong reference to each instance it has
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 6K bytes - Click Count (0) -
src/main/java/jcifs/http/Handler.java
return DEFAULT_HTTP_PORT; } @Override protected URLConnection openConnection(URL url) throws IOException { url = new URL(url, url.toExternalForm(), getDefaultStreamHandler(url.getProtocol())); return new NtlmHttpURLConnection((HttpURLConnection) url.openConnection(), this.transportContext); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 6.9K bytes - Click Count (0) -
src/test/java/jcifs/SmbTransportPoolTest.java
// When - simulate concurrent requests Thread thread1 = new Thread(() -> transportPool.getSmbTransport(context, address, DEFAULT_PORT, false)); Thread thread2 = new Thread(() -> transportPool.getSmbTransport(context, address, DEFAULT_PORT, true)); thread1.start(); thread2.start();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 22.6K bytes - Click Count (0) -
.github/ISSUE_TEMPLATE/feature_addition_request.yaml
#### Utility: compare with alternatives There is always *some* alternative to adding a new feature to Guava, even if it's just forking Guava yourself. We want to see that new features have some significant advantage over the alternatives. These advantages can takeCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Nov 17 18:47:47 GMT 2023 - 5.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/TableCollectors.java
final List<MutableCell<R, C, V>> insertionOrder = new ArrayList<>(); final Table<R, C, MutableCell<R, C, V>> table = HashBasedTable.create(); void put(R row, C column, V value, BinaryOperator<V> merger) { MutableCell<R, C, V> oldCell = table.get(row, column); if (oldCell == null) { MutableCell<R, C, V> cell = new MutableCell<>(row, column, value); insertionOrder.add(cell);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Feb 11 19:03:19 GMT 2025 - 7.5K bytes - Click Count (0)