- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 265 for EXPECT (0.04 sec)
-
android/guava-tests/test/com/google/common/math/IntMathTest.java
- }
- }
- }
- // Relies on the correctness of isPowerOfTwo(int).
- public void testLog2Exact() {
- for (int x : POSITIVE_INTEGER_CANDIDATES) {
- // We only expect an exception if x was not a power of 2.
- boolean isPowerOf2 = IntMath.isPowerOfTwo(x);
- try {
- assertEquals(x, 1 << IntMath.log2(x, UNNECESSARY));
- assertTrue(isPowerOf2);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 23.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompactLinkedHashMap.java
- * <i>should</i> hold {@code expectedSize} elements without rebuilding internal data structures.
- *
- * @param expectedSize the number of elements you expect to add to the returned set
- * @return a new, empty {@code CompactLinkedHashMap} with enough capacity to hold {@code
- * expectedSize} elements without resizing
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 8.5K bytes - Viewed (0) -
internal/grid/muxserver.go
- }
- if !m.checkSeq(msg.Seq) {
- return
- }
- m.recvMu.Lock()
- defer m.recvMu.Unlock()
- if cap(m.inbound) == 0 {
- m.disconnect("did not expect inbound message", true)
- return
- }
- // Note, on EOF no value can be sent.
- if msg.Flags&FlagEOF != 0 {
- if len(msg.Payload) > 0 {
- gridLogIf(m.ctx, fmt.Errorf("muxServer: EOF message with payload"))
- }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 07 15:51:52 UTC 2024 - 9.7K bytes - Viewed (0) -
futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java
- * in com.google.guava:guava differs from the "frozen" copy in the listenablefuture artifact. This
- * could in principle cause problems for some users. Still, we expect that the benefits of the
- * nullness annotations in particular will outweigh the costs. (And it's worth noting that we have
- * released multiple ListenableFuture.class files that are not byte-for-byte compatible even from
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jun 26 21:13:41 UTC 2023 - 8K bytes - Viewed (0) -
integration-tests/gradle/gradlew
- # * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
- # and any embedded shellness will be escaped.
- # * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
- # treated as '${Hostname}' itself on the command line.
- set -- \
- "-Dorg.gradle.appname=$APP_BASE_NAME" \
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 31 19:07:19 UTC 2023 - 8.5K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ListenableFuture.java
- * in com.google.guava:guava differs from the "frozen" copy in the listenablefuture artifact. This
- * could in principle cause problems for some users. Still, we expect that the benefits of the
- * nullness annotations in particular will outweigh the costs. (And it's worth noting that we have
- * released multiple ListenableFuture.class files that are not byte-for-byte compatible even from
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jun 26 21:13:41 UTC 2023 - 8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskRunner.kt
- private var coordinatorWaiting = false
- private var coordinatorWakeUpAt = 0L
- /**
- * When we need a new thread to run tasks, we call [Backend.execute]. A few microseconds later we
- * expect a newly-started thread to call [Runnable.run]. We shouldn't request new threads until
- * the already-requested ones are in service, otherwise we might create more threads than we need.
- *
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 29 00:33:04 UTC 2024 - 10.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
- * Reference iterator returned a value, so we should expect the
- * same value from the target
- */
- assertEquals(referenceReturnValue, targetReturnValue);
- return;
- }
- if (targetException == null) {
- fail("Target failed to throw " + referenceException);
- }
- /*
- * Reference iterator threw an exception, so we should expect an acceptable
- * exception from the target.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 21.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableCollection.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Aug 12 16:59:15 UTC 2024 - 18.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/IntMathTest.java
- }
- }
- }
- // Relies on the correctness of isPowerOfTwo(int).
- public void testLog2Exact() {
- for (int x : POSITIVE_INTEGER_CANDIDATES) {
- // We only expect an exception if x was not a power of 2.
- boolean isPowerOf2 = IntMath.isPowerOfTwo(x);
- try {
- assertEquals(x, 1 << IntMath.log2(x, UNNECESSARY));
- assertTrue(isPowerOf2);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 23.1K bytes - Viewed (0)