Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 80 for Toot (0.17 sec)

  1. android/guava-tests/benchmark/com/google/common/collect/BinaryTreeTraverserBenchmark.java

            Optional<BinaryNode> root = Optional.absent();
            for (int i = 0; i < size; i++) {
              root = Optional.of(new BinaryNode(rng.nextInt(), root, Optional.<BinaryNode>absent()));
            }
            return root;
          }
        },
        ALL_RIGHT {
          @Override
          Optional<BinaryNode> createTree(int size, Random rng) {
            Optional<BinaryNode> root = Optional.absent();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 26 19:18:53 GMT 2019
    - 4.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/TreeMultiset.java

          @Override
          long treeAggregate(@CheckForNull AvlNode<?> root) {
            return (root == null) ? 0 : root.totalCount;
          }
        },
        DISTINCT {
          @Override
          int nodeAggregate(AvlNode<?> node) {
            return 1;
          }
    
          @Override
          long treeAggregate(@CheckForNull AvlNode<?> root) {
            return (root == null) ? 0 : root.distinctElements;
          }
        };
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 34.2K bytes
    - Viewed (0)
  3. .github/workflows/ci.yml

        name: "${{ matrix.root-pom }} on JDK ${{ matrix.java }} on ${{ matrix.os }}"
        strategy:
          matrix:
            os: [ ubuntu-latest ]
            java: [ 8, 11, 17, 21 ]
            root-pom: [ 'pom.xml', 'android/pom.xml' ]
            include:
              - os: windows-latest
                java: 21
                root-pom: pom.xml
        runs-on: ${{ matrix.os }}
        env:
          ROOT_POM: ${{ matrix.root-pom }}
        steps:
    Others
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:33:50 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/graph/TraverserTest.java

       */
      private static final SuccessorsFunction<Character> TWO_TREES = createDirectedGraph("ab", "cd");
    
      /**
       * A graph consisting of a single root {@code a}:
       *
       * <pre>{@code
       * a
       * }</pre>
       */
      private static final SuccessorsFunction<Character> SINGLE_ROOT = createSingleRootGraph();
    
      /**
       * A graph that is not a tree (for example, it has two antiparallel edge between {@code e} and
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 47.5K bytes
    - Viewed (0)
  5. guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java

        assertGoodFeatureEnum(CollectionSize.class);
        assertGoodFeatureEnum(MapFeature.class);
      }
    
      private static String rootLocaleFormat(String format, Object... args) {
        return String.format(Locale.ROOT, format, args);
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertEquals("cool", Iterators.find(iterator, Predicates.equalTo("cool"), "woot"));
        assertEquals("pants", iterator.next());
      }
    
      public void testFind_withDefault_last() {
        Iterable<String> list = Lists.newArrayList("cool", "pants");
        Iterator<String> iterator = list.iterator();
        assertEquals("pants", Iterators.find(iterator, Predicates.equalTo("pants"), "woot"));
        assertFalse(iterator.hasNext());
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 55.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/cache/CacheBuilderSpec.java

          spec.refreshDuration = duration;
          spec.refreshTimeUnit = unit;
        }
      }
    
      private static String format(String format, Object... args) {
        return String.format(Locale.ROOT, format, args);
      }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Aug 22 14:27:44 GMT 2022
    - 18.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    she felt a violent blow underneath her chin:  it had struck her
    foot!
    
      She was a good deal frightened by this very sudden change, but
    she felt that there was no time to be lost, as she was shrinking
    rapidly; so she set to work at once to eat some of the other bit.
    Her chin was pressed so closely against her foot, that there was
    hardly room to open her mouth; but she did it at last, and
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/RateLimiter.java

       *     arbitrary past or present time
       */
      abstract long reserveEarliestAvailable(int permits, long nowMicros);
    
      @Override
      public String toString() {
        return String.format(Locale.ROOT, "RateLimiter[stableRate=%3.1fqps]", getRate());
      }
    
      abstract static class SleepingStopwatch {
        /** Constructor for use by subclasses. */
        protected SleepingStopwatch() {}
    
        /*
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 18.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

          sleepMicros("U", MILLISECONDS.toMicros(millis));
        }
    
        void sleepMicros(String caption, long micros) {
          instant += MICROSECONDS.toNanos(micros);
          events.add(caption + String.format(Locale.ROOT, "%3.2f", (micros / 1000000.0)));
        }
    
        @Override
        protected void sleepMicrosUninterruptibly(long micros) {
          sleepMicros("R", micros);
        }
    
        String readEventsAndClear() {
          try {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.6K bytes
    - Viewed (0)
Back to top