Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 378 for could (0.04 sec)

  1. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

                                                           askance--
    Said he thanked the whiting kindly, but he would not join the
       dance.
        Would not, could not, would not, could not, would not join
            the dance.
        Would not, could not, would not, could not, could not join
            the dance.
    
    `"What matters it how far we go?" his scaly friend replied.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 29 21:35:03 UTC 2012
    - 145.2K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java

        /*
         * In principle, a Multimap implementation could add e3 first before failing on the null. But
         * that seems unlikely enough to be worth complicating the test over, especially if there's any
         * chance that a permissive test could mask a bug.
         */
        expectUnchanged();
        // Be extra thorough in case internal state was corrupted by the expected null.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java

      private TearDownStack stack = new TearDownStack();
    
      @Override
      protected void setUp() throws Exception {
        super.setUp();
    
        handler = new TestLogHandler();
    
        // You could also apply it higher up the Logger hierarchy than this
        ExampleClassUnderTest.logger.addHandler(handler);
    
        ExampleClassUnderTest.logger.setUseParentHandlers(false); // optional
    
        stack.addTearDown(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.8K bytes
    - Viewed (0)
  4. guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java

       * insists upon doing. It then runs the test, which behaves exactly like this package's existing
       * PackageSanityTests. (The test would run on the JVM, too, if not for the suppression below, and
       * that would be a problem because it violates small-test rules. Note that we strip the
       * suppression externally, but it's OK because we don't enforce test-size rules there.)
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 21:37:55 UTC 2019
    - 5.3K bytes
    - Viewed (0)
  5. guava-tests/benchmark/com/google/common/collect/SortedCopyBenchmark.java

        }
        List<Integer> list = new ArrayList<>(set);
        inputOrder.arrange(list);
        input = ImmutableList.copyOf(list);
      }
    
      @Benchmark
      int collections(int reps) {
        int dummy = 0;
        // Yes, this could be done more elegantly
        if (mutable) {
          for (int i = 0; i < reps; i++) {
            List<Integer> copy = new ArrayList<>(input);
            sort(copy);
            dummy += copy.get(0);
          }
        } else {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

          // No need to verify them.
          // Can't check isDefault() for Android compatibility.
          if (!Modifier.isAbstract(method.getModifiers())) {
            continue;
          }
          // The interface could be package-private or private.
          // filter out equals/hashCode/toString
          if (method.getName().equals("equals")
              && method.getParameterTypes().length == 1
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/base/EnumsBenchmark.java

    @SuppressWarnings("unused") // Nested enums used reflectively in setUp.
    public class EnumsBenchmark {
    
      @Param({"Small", "Medium", "Large"})
      String enumSize;
    
      @Param({"0.2", "0.8"})
      float hitRate;
    
      // We could avoid the raw type here by initializing this with a ternary (? SmallEnum.class : ...).
      // However, we end up needing a raw type in getIfPresent, as discussed there.
      @SuppressWarnings("rawtypes")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveEntryTester.java

      public void testRemove_nullKeyQueriesUnsupported() {
        try {
          assertFalse(getMap().remove(null, v3()));
        } catch (NullPointerException tolerated) {
          // since the operation would be a no-op, the exception is not required
        }
        expectUnchanged();
      }
    
      @MapFeature.Require(value = SUPPORTS_REMOVE, absent = ALLOWS_NULL_VALUE_QUERIES)
      public void testRemove_nullValueQueriesUnsupported() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/SourceSinkFactory.java

       * some cases it may alter the input. For example, if the factory returns a sliced view of a
       * source created with some given bytes, this method would return a subsequence of the given
       * (byte[]) data.
       */
      T getExpected(T data);
    
      /** Cleans up anything created when creating the source or sink. */
      public abstract void tearDown() throws IOException;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/ClusterException.java

     *     thingToRun.run(); // say this may throw an exception, but you want to
     *                       // always run all thingsToRun
     *   }
     * }
     * </pre>
     *
     * <p>This is what the code would become:
     *
     * <pre>
     * void runManyThings({@literal List<ThingToRun>} thingsToRun) {
     *   {@literal List<Exception>} exceptions = Lists.newArrayList();
     *   for (ThingToRun thingToRun : thingsToRun) {
     *     try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 26 20:07:17 UTC 2023
    - 4K bytes
    - Viewed (0)
Back to top