- Sort Score
- Num 10 results
- Language All
Results 211 - 220 of 2,245 for methods_ (0.44 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
guava-tests/test/com/google/common/io/ByteSourceTester.java
ByteSourceFactory factory, byte[] bytes, String name, String desc, boolean slice) { TestSuite suite = new TestSuite(name + " [" + desc + "]"); for (Method method : testMethods) { suite.addTest(new ByteSourceTester(factory, bytes, name, desc, method)); } if (slice && bytes.length > 0) { // test a random slice() of the ByteSource Random random = new Random();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 8.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/eventbus/StringCatcher.java
@Subscribe public void hereHaveAString(@Nullable String string) { events.add(string); } public void methodWithoutAnnotation(@Nullable String string) { Assert.fail("Event bus must not call methods without @Subscribe!"); } public List<String> getEvents() { return events; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 1.4K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ResolutionListenerForDepMgmt.java
/** * Do not use! * <p> * Should only be implemented by DebugResolutionListener. Remove this * when the ResolutionListener interface deprecation of the manageArtifact * method (and the [yet to be done] addition of these methods to that * interface) has had a chance to propagate to all interested plugins. */ @Deprecated public interface ResolutionListenerForDepMgmt {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.5K bytes - Click Count (0) -
docs/changelogs/upgrading_to_okhttp_4.md
readTimeoutMillis, retryOnConnectionFailure, socketFactory, sslSocketFactory, writeTimeoutMillis * **PushPromise**: headers, method, path, response * **Request**: body, cacheControl, headers, method, url * **Response**: body, cacheControl, cacheResponse, code, handshake, headers, message, networkResponse, priorResponse, protocol, receivedResponseAtMillis, request, sentRequestAtMillis
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Feb 06 16:58:16 GMT 2022 - 10.9K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java
* {@link Uninterruptibles}. Still, this method allows callers to write <a * href="https://errorprone.info/bugpattern/WaitNotInLoop">the standard, required loop for waiting on a {@code * Condition}</a> but without the need to handle interruption. * * @return {@code false} if the waiting time detectably elapsed before return from the method * @since 33.4.0 (but since 28.0 in the JRE flavor) */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 23:24:32 GMT 2026 - 22.5K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ServiceManager.java
* @param executor the executor in which the listeners callback methods will be run. */ public void addListener(Listener listener, Executor executor) { state.addListener(listener, executor); } /** * Initiates service {@linkplain Service#startAsync startup} on all the services being managed. It * is only valid to call this method if all of the services are {@linkplain State#NEW new}. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 33.2K bytes - Click Count (1) -
android/guava/src/com/google/common/util/concurrent/TimeLimiter.java
* run finishes before the limit is reached, this method returns or a wrapped exception is * propagated. If, on the other hand, the time limit is reached, we attempt to abort the run, and * throw a {@link TimeoutException} to the caller. * * <p>The difference with {@link #runWithTimeout(Runnable, long, TimeUnit)} is that this method * will ignore interrupts on the current thread.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 8.2K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Strings.java
* purpose except to supplant the real information you were trying to provide. These are the cases * this method is made for; it instead generates a best-effort string with all supplied argument * values present. This method is also useful in environments such as GWT where {@code * String.format} is not available. As an example, method implementations of the {@link * Preconditions} class use this formatter, for both of the reasons just discussed.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 12.2K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java
computeIsReachabilityFenceMethodUsable(); private static boolean computeIsReachabilityFenceMethodUsable() { try { Method method = Reference.class.getMethod("reachabilityFence", Object.class); method.invoke(null, GcFinalizationTest.class); // to make sure the method is accessible return true; } catch (NoSuchMethodException | IllegalAccessException probablyBeforeJava9OrAndroid28) { /*
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 8.8K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java
/** * Replaces the existing container under test with a new container. This is useful when a single * test method needs to create multiple containers while retaining the ability to use {@link * #expectContents(Object[]) expectContents(E...)} and other convenience methods. The creation of * multiple containers in a single method is discouraged in most cases, but it is vital to the * iterator tests. * * @return the new container instanceCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 8.9K bytes - Click Count (0)