Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 127 for recycle (0.19 sec)

  1. android/guava-tests/test/com/google/common/graph/TraverserTest.java

       *
       * {@code <>} indicates a self-loop
       */
      private static final SuccessorsFunction<Character> MULTI_GRAPH =
          createDirectedGraph("aa", "dd", "ab", "ac", "ca", "cd", "bd");
    
      /** A directed graph with a single cycle: a -> b -> c -> d -> a. */
      private static final SuccessorsFunction<Character> CYCLE_GRAPH =
          createDirectedGraph("ab", "bc", "cd", "da");
    
      /**
       * Same as {@link #CYCLE_GRAPH}, but with an extra a->c edge.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 47.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/graph/TraverserTest.java

       *
       * {@code <>} indicates a self-loop
       */
      private static final SuccessorsFunction<Character> MULTI_GRAPH =
          createDirectedGraph("aa", "dd", "ab", "ac", "ca", "cd", "bd");
    
      /** A directed graph with a single cycle: a -> b -> c -> d -> a. */
      private static final SuccessorsFunction<Character> CYCLE_GRAPH =
          createDirectedGraph("ab", "bc", "cd", "da");
    
      /**
       * Same as {@link #CYCLE_GRAPH}, but with an extra a->c edge.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 47.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/reflect/TypeResolver.java

          }
          // First, check whether var -> arg forms a cycle
          for (Type t = arg; t != null; t = mappings.get(TypeVariableKey.forLookup(t))) {
            if (var.equalsType(t)) {
              // cycle detected, remove the entire cycle from the mapping so that
              // each type variable resolves deterministically to itself.
              // Otherwise, an F -> T cycle will end up resolving both F and T
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 24.2K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/DslDocModel.groovy

            }
            return classDoc
        }
    
        private gradlebuild.docs.dsl.docbook.model.ClassDoc loadClassDoc(String className) {
            if (currentlyBuilding.contains(className)) {
                throw new RuntimeException("Cycle building $className. Currently building $currentlyBuilding")
            }
            currentlyBuilding.addLast(className)
            try {
                ClassMetaData classMetaData = classMetaData.find(className)
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.9K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

        return connections.count {
          it.withLock { it.calls.isEmpty() }
        }
      }
    
      fun connectionCount(): Int {
        return connections.size
      }
    
      /**
       * Attempts to acquire a recycled connection to [address] for [connectionUser]. Returns the connection if it
       * was acquired, or null if no connection was acquired. The acquired connection will also be
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ResolutionNode.java

                    if (parents.contains(a.getDependencyConflictId())) {
                        a.setDependencyTrail(getDependencyTrail());
    
                        throw new CyclicDependencyException("A dependency has introduced a cycle", a);
                    }
    
                    children.add(new ResolutionNode(a, remoteRepositories, this));
                }
                children = Collections.unmodifiableList(children);
            } else {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        assertEquals(expected, actual);
      }
    
      // Far less exhaustive than the tests in IteratorsTest
      public void testCycle() {
        Iterable<String> cycle = Iterables.cycle("a", "b");
    
        int howManyChecked = 0;
        for (String string : cycle) {
          String expected = (howManyChecked % 2 == 0) ? "a" : "b";
          assertEquals(expected, string);
          if (howManyChecked++ == 5) {
            break;
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:12:33 UTC 2024
    - 45K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DebugResolutionListener.java

                logger.debug(indent + omitted + " (removed - nearer found: " + keptVersion + ")");
            }
        }
    
        public void omitForCycle(Artifact omitted) {
            logger.debug(indent + omitted + " (removed - causes a cycle in the graph)");
        }
    
        public void updateScopeCurrentPom(Artifact artifact, String ignoredScope) {
            logger.debug(indent + artifact + " (not setting artifactScope to: " + ignoredScope + "; local artifactScope "
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. cmd/lock-rest-server.go

    		select {
    		case <-ctx.Done():
    			return
    		case <-lkTimer.C:
    			globalLockServer.expireOldLocks(lockValidityDuration)
    
    			// Reset the timer for next cycle.
    			lkTimer.Reset(lockMaintenanceInterval)
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. src/arena/arena.go

    of Go values and free that space manually all at once, safely. The purpose
    of this functionality is to improve efficiency: manually freeing memory
    before a garbage collection delays that cycle. Less frequent cycles means
    the CPU cost of the garbage collector is incurred less frequently.
    
    This functionality in this package is mostly captured in the Arena type.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 12 20:23:36 UTC 2022
    - 4.3K bytes
    - Viewed (0)
Back to top