Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for recursos (0.17 sec)

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

        @Override
        public <T> T[] toArray(T[] array) {
          return snapshot().toArray(array);
        }
    
        /*
         * We'd love to use 'new ArrayList(this)' or 'list.addAll(this)', but
         * either of these would recurse back to us again!
         */
        private List<E> snapshot() {
          List<E> list = Lists.newArrayListWithExpectedSize(size());
          for (Multiset.Entry<E> entry : entrySet()) {
            E element = entry.getElement();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed May 09 15:17:25 GMT 2018
    - 16.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/OrderingTest.java

       * combinations of methods, then checks compare(), binarySearch() and so
       * forth on each one.
       */
    
      // should periodically try increasing this, but it makes the test run long
      private static final int RECURSE_DEPTH = 2;
    
      public void testCombinationsExhaustively_startingFromNatural() {
        testExhaustively(Ordering.<String>natural(), "a", "b", "d");
      }
    
      @GwtIncompatible // too slow
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/OrderingTest.java

       * combinations of methods, then checks compare(), binarySearch() and so
       * forth on each one.
       */
    
      // should periodically try increasing this, but it makes the test run long
      private static final int RECURSE_DEPTH = 2;
    
      public void testCombinationsExhaustively_startingFromNatural() {
        testExhaustively(Ordering.<String>natural(), "a", "b", "d");
      }
    
      @GwtIncompatible // too slow
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

        try {
          closingFuture.finishToValueAndCloser(new NoOpValueAndCloserConsumer<>(), executor);
          fail();
        } catch (IllegalStateException expected) {
        }
      }
    
      // Avoid infinite recursion if a closeable's close() method throws RejectedExecutionException and
      // is closed using the direct executor.
      public void testCloseThrowsRejectedExecutionException() throws Exception {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

       */
      protected void verify(List<E> elements) {}
    
      /** Executes the test. */
      @SuppressWarnings("CatchingUnchecked") // sneaky checked exception
      public final void test() {
        try {
          recurse(0);
        } catch (Exception e) { // sneaky checked exception
          throw new RuntimeException(Arrays.toString(stimuli), e);
        }
      }
    
      public void testForEachRemaining() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/base/LazyStackTraceBenchmark.java

        }
      }
    
      @Benchmark
      public boolean timeFindCaller(int reps) {
        return timeFindCaller(reps, recursionCount);
      }
    
      private boolean timeFindCaller(int reps, int recurse) {
        return recurse > 0 ? timeFindCaller(reps, recurse - 1) : mode.timeIt(reps, breakAt);
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.5K bytes
    - Viewed (0)
  7. guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        static final NonPublicConstantIgnored INSTANCE = new NonPublicConstantIgnored();
    
        private NonPublicConstantIgnored() {}
      }
    
      public static class NonStaticFieldIgnored {
        // This should cause infinite recursion. But it shouldn't be used anyway.
        public final NonStaticFieldIgnored instance = new NonStaticFieldIgnored();
    
        private NonStaticFieldIgnored() {}
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.1K bytes
    - Viewed (0)
  8. maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

                return result;
            }
    
            ManagedVersionMap versionMap = getManagedVersionsMap(originatingArtifact, managedVersions);
    
            try {
                recurse(
                        result,
                        root,
                        resolvedArtifacts,
                        versionMap,
                        repositoryRequest,
                        source,
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 36.7K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultClasspathTransformation.java

        /**
         * Helper class to traverse graph. Required to make the containing method thread-safe
         * and yet use class level data to lessen stack usage in recursion
         */
        private class ClasspathGraphVisitor {
            MetadataGraph graph;
    
            ClasspathContainer cpc;
    
            List<MetadataGraphVertex> visited;
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

          }
          ExampleStackTrace found = allowedPriorLocks.get(node);
          if (found != null) {
            return found; // Found a path ending at the node!
          }
          // Recurse the edges.
          for (Entry<LockGraphNode, ExampleStackTrace> entry : allowedPriorLocks.entrySet()) {
            LockGraphNode preAcquiredLock = entry.getKey();
            found = preAcquiredLock.findPathTo(node, seen);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 35.9K bytes
    - Viewed (0)
Back to top