Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1071 - 1080 of 1,376 for expectEq (0.07 sec)

  1. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

      }
    
      private static void assertErrorMessage(Throwable e, String message) {
        // TODO(kevinb): use a Truth assertion here
        if (!e.getMessage().contains(message)) {
          fail("expected <" + e.getMessage() + "> to contain <" + message + ">");
        }
      }
    
      /**
       * Test class with valid equals and hashCode methods. Testers created with instances of this class
       * should always pass.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/Futures.java

       *     unrecoverable errors, callers should prefer more specific types, avoiding {@code
       *     Throwable.class} in particular.
       * @param fallback the {@link Function} to be called if {@code input} fails with the expected
       *     exception type. The function's argument is the input's exception. "The input's exception"
       *     means the cause of the {@link ExecutionException} thrown by {@code input.get()} or, if
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableSetMultimap.java

      /** Returns a new {@link Builder}. */
      public static <K, V> Builder<K, V> builder() {
        return new Builder<>();
      }
    
      /**
       * Returns a new builder with a hint for how many distinct keys are expected to be added. The
       * generated builder is equivalent to that returned by {@link #builder}, but may perform better if
       * {@code expectedKeys} is a good estimate.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  4. common/scripts/metallb-native.yaml

                      mode is disabled by default, and not supported on multi hops setups.
                    type: boolean
                  minimumTtl:
                    description: 'For multi hop sessions only: configure the minimum expected
                      TTL for an incoming BFD control packet.'
                    format: int32
                    maximum: 254
                    minimum: 1
                    type: integer
                  passiveMode:
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Feb 23 23:56:31 UTC 2024
    - 63.9K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java

                            computed.stream().filter(s -> !given.contains(s)).collect(Collectors.toSet());
                    throw new IllegalStateException(
                            "List of phases differ in size: expected " + computed.size() + ", but received " + given.size()
                                    + (s1.isEmpty() ? "" : ", missing " + s1)
                                    + (s2.isEmpty() ? "" : ", unexpected " + s2));
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_unified_experimental_graph.cc

        TF_RETURN_IF_ERROR(operation->Execute(
            absl::Span<AbstractTensorHandle*>(outputs), &num_outputs));
    
        if (num_outputs != 1) {
          return errors::Internal("Expected 1 output but found ", num_outputs);
        }
        auto* t = dyn_cast<GraphTensor>(outputs[0]);
        if (!t) {
          return tensorflow::errors::InvalidArgument(
              "Unable to cast input to GraphTensor");
        }
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java

    import java.util.Set;
    import junit.framework.TestSuite;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests a {@code
     * SortedMultiset} implementation.
     *
     * <p><b>Warning:</b> expects that {@code E} is a String.
     *
     * @author Louis Wasserman
     */
    @GwtIncompatible
    public class SortedMultisetTestSuiteBuilder<E> extends MultisetTestSuiteBuilder<E> {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/DispatcherTest.kt

      }
    
      private fun makeSynchronousCall(call: Call): Thread {
        val thread =
          Thread {
            try {
              call.execute()
              throw AssertionError()
            } catch (expected: IOException) {
            }
          }
        thread.start()
        return thread
      }
    
      private fun newRequest(url: String): Request {
        return Request.Builder().url(url).build()
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top