- Sort Score
- Num 10 results
- Language All
Results 331 - 340 of 748 for invokes (0.08 seconds)
-
android/guava/src/com/google/common/collect/Internal.java
* a duration in order to call a legacy API which requires a {@code long, TimeUnit} pair. */ static long toNanosSaturated(Duration duration) { // Using a try/catch seems lazy, but the catch block will rarely get invoked (except for // durations longer than approximately +/- 292 years). try { return duration.toNanos(); } catch (ArithmeticException tooBig) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Nov 04 17:24:58 GMT 2025 - 1.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/ReflectionTest.java
} private static final InvocationHandler X_RETURNER = new InvocationHandler() { @Override public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { return "x"; } }; private static int classesInitialized = 0; private static class A { static {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 2.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/ForwardingExecutorServiceTest.java
} catch (NoSuchMethodException e) { assertThat(isAndroid() || isBeforeJava19()).isTrue(); return; // close() doesn't exist, so we can't test it. } closeMethod.invoke(wrapper); assertThat(delegate.isTerminated()).isTrue(); } private static boolean isAndroid() { return System.getProperty("java.runtime.name", "").contains("Android"); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 2.9K bytes - Click Count (0) -
docs/uk/docs/advanced/openapi-callbacks.md
У цьому випадку це строка: ```Python "{$callback_url}/invoices/{$request.body.id}" ``` Отже, якщо користувач вашого API (зовнішній розробник) надішле запит до *вашого API* на: ``` https://yourapi.com/invoices/?callback_url=https://www.external.org/events ``` з JSON-тілом: ```JSON { "id": "2expen51ve",Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:27:41 GMT 2026 - 12K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionCreationTester.java
import java.lang.reflect.Method; import org.junit.Ignore; /** * A generic JUnit test which tests creation (typically through a constructor or static factory * method) of a collection. Can't be invoked directly; please see {@link * com.google.common.collect.testing.CollectionTestSuiteBuilder}. * * @author Chris Povirk */ @GwtCompatible
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapContainsValueTester.java
import com.google.common.collect.testing.features.MapFeature; import org.junit.Ignore; /** * A generic JUnit test which tests {@code containsValue()} operations on a map. Can't be invoked * directly; please see {@link com.google.common.collect.testing.MapTestSuiteBuilder}. * * @author George van den Driessche * @author Chris Povirk */ @GwtCompatibleCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 3.3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsTester.java
import com.google.common.collect.testing.features.CollectionSize; import org.junit.Ignore; /** * A generic JUnit test which tests {@code contains()} operations on a collection. Can't be invoked * directly; please see {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}. * * @author Kevin Bourrillion * @author Chris Povirk */ @GwtCompatibleCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 3.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java
service.startAsync().awaitRunning(); assertTrue(service.startUpCalled); assertEquals(Service.State.RUNNING, service.state()); enterRun.await(); // to avoid stopping the service until run() is invoked service.stopAsync().awaitTerminated(); assertTrue(service.shutDownCalled); assertEquals(Service.State.TERMINATED, service.state()); executionThread.join(); }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) -
android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java
implements ListenableFuture<V> { /** * Performs a {@linkplain java.lang.invoke.VarHandle#compareAndSet compare-and-set} operation on * {@link #listenersField}. */ final boolean casListeners(@Nullable Listener expect, Listener update) { return ATOMIC_HELPER.casListeners(this, expect, update); } /** * Performs a {@linkplain java.lang.invoke.VarHandle#getAndSet get-and-set} operation on {@link * #listenersField}.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 33.2K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestratorTest.java
* under the License. */ package org.apache.maven.cling.invoker.mvnup.goals; import java.nio.file.Path; import java.nio.file.Paths; import java.util.List; import java.util.Map; import java.util.Set; import eu.maveniverse.domtrip.Document; import org.apache.maven.cling.invoker.mvnup.UpgradeContext; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName;
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 12.3K bytes - Click Count (0)