- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 534 for calcs (0.02 sec)
-
guava/src/com/google/common/util/concurrent/ForwardingListenableFuture.java
import com.google.common.base.Preconditions; import java.util.concurrent.Executor; import org.checkerframework.checker.nullness.qual.Nullable; /** * A {@link ListenableFuture} which forwards all its method calls to another future. Subclasses * should override one or more methods to modify the behavior of the backing future as desired per * the <a href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Mar 04 12:23:41 UTC 2022 - 2.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
import java.util.List; import java.util.concurrent.atomic.AtomicInteger; import org.checkerframework.checker.nullness.qual.Nullable; /** * Tester to ensure forwarding wrapper works by delegating calls to the corresponding method with * the same parameters forwarded and return value forwarded back or exception propagated as is. * * <p>For example: * * <pre>{@code
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 13:00:28 UTC 2024 - 9.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingList.java
import java.util.Iterator; import java.util.List; import java.util.ListIterator; import javax.annotation.CheckForNull; import org.checkerframework.checker.nullness.qual.Nullable; /** * A list which forwards all its method calls to another list. Subclasses should override one or * more methods to modify the behavior of the backing list as desired per the <a * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 15:26:39 UTC 2023 - 7.9K bytes - Viewed (0) -
docs/en/docs/tutorial/testing.md
```Python hl_lines="2 12 15-18" {!../../docs_src/app_testing/tutorial001.py!} ``` /// tip Notice that the testing functions are normal `def`, not `async def`. And the calls to the client are also normal calls, not using `await`. This allows you to use `pytest` directly without complications. /// /// note | "Technical Details" You could also use `from starlette.testclient import TestClient`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 6.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
import java.util.List; import java.util.concurrent.atomic.AtomicInteger; import org.checkerframework.checker.nullness.qual.Nullable; /** * Tester to ensure forwarding wrapper works by delegating calls to the corresponding method with * the same parameters forwarded and return value forwarded back or exception propagated as is. * * <p>For example: * * <pre>{@code
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 13:00:28 UTC 2024 - 9.1K bytes - Viewed (0) -
misc/cgo/gmp/pi.go
nextTerm(k) d = extractDigit() } eliminateDigit(d) fmt.Printf("%c", d+'0') if i++; i%50 == 0 { fmt.Printf("\n") if i >= 1000 { break } } } fmt.Printf("\n%d calls; bit sizes: %d %d %d\n", runtime.NumCgoCall(), numer.Len(), accum.Len(), denom.Len())
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Apr 10 22:32:35 UTC 2023 - 1.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListGetTester.java
@SuppressWarnings("JUnit4ClassUsedInJUnit3") public class ListGetTester<E> extends AbstractListTester<E> { public void testGet_valid() { // This calls get() on each index and checks the result: expectContents(createOrderedArray()); } public void testGet_negative() { assertThrows(IndexOutOfBoundsException.class, () -> getList().get(-1)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 20:00:30 UTC 2024 - 1.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/UnhashableObject.java
return this.value == that.value; } return false; } @Override public int hashCode() { throw new UnsupportedOperationException(); } // needed because otherwise Object.toString() calls hashCode() @Override public String toString() { return "DontHashMe" + value; } @Override public int compareTo(UnhashableObject o) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Apr 20 11:19:03 UTC 2023 - 1.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/InvalidatableSetTest.java
// sanity check on construction of copyOfModifiedSet assertThat(wrappedSet).isEqualTo(copyOfModifiedSet); // setToTest should throw when it calls equals(), or equals is called on it, except for itself assertThat(setToTest).isEqualTo(setToTest); assertThrows(IllegalStateException.class, () -> setToTest.equals(wrappedSet));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jan 22 17:29:38 UTC 2024 - 2.2K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/DelegatingSSLSession.kt
import javax.net.ssl.SSLPeerUnverifiedException import javax.net.ssl.SSLSession import javax.net.ssl.SSLSessionContext import javax.security.cert.X509Certificate /** An [SSLSession] that delegates all calls. */ abstract class DelegatingSSLSession(protected val delegate: SSLSession?) : SSLSession { override fun getId(): ByteArray { return delegate!!.id } override fun getSessionContext(): SSLSessionContext {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.8K bytes - Viewed (0)