Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 271 - 280 of 322 for Limited (0.05 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanLogger.java

        private void nonEmptyPredecessors(BuildStep step, Set<BuildStep> preds, Set<BuildStep> visited) {
            if (visited.add(step)) {
                step.predecessors.forEach(ch -> {
                    if (ch.executions().findAny().isPresent()) {
                        preds.add(ch);
                    } else {
                        nonEmptyPredecessors(ch, preds, visited);
                    }
                });
            }
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Mar 30 23:08:36 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  2. fastapi/concurrency.py

        # since we're creating a new limiter for each call, any non-zero limit
        # works (1 is arbitrary)
        exit_limiter = CapacityLimiter(1)
        try:
            yield await run_in_threadpool(cm.__enter__)
        except Exception as e:
            ok = bool(
                await anyio.to_thread.run_sync(
                    cm.__exit__, type(e), e, e.__traceback__, limiter=exit_limiter
                )
            )
            if not ok:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/reflect/TypeVisitor.java

     *   }
     * }.visit(type);
     * }
     *
     * <p>One {@code Type} is visited at most once. The second time the same type is visited, it's
     * ignored by {@link #visit}. This avoids infinite recursion caused by recursive type bounds.
     *
     * <p>This class is not thread safe.
     *
     * @author Ben Yu
     */
    abstract class TypeVisitor {
    
      private final Set<Type> visited = new HashSet<>();
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  4. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/transforms/Minify.kt

        fun visitTree(
            classDetails: ClassDetails,
            classesDir: File,
            jarOutputStream: JarOutputStream,
            visited: MutableSet<ClassDetails>
        ) {
    
            if (!visited.add(classDetails)) {
                return
            }
            if (classDetails.visited) {
                val fileName = classDetails.outputClassFilename
                val classFile = classesDir.resolve(fileName)
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Dec 18 11:46:45 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/reflect/TypeVisitorTest.java

        TypeVisitor visitor = new BaseTypeVisitor();
        try {
          visitor.visit(type);
          fail("Type not visited");
        } catch (UnsupportedOperationException expected) {
        }
        try {
          visitor.visit(new Type[] {type});
          fail("Type not visited");
        } catch (UnsupportedOperationException expected) {
        }
      }
    
      private static class BaseTypeVisitor extends TypeVisitor {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 3.8K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildStep.java

            return isSuccessorOf(new HashSet<>(), step);
        }
    
        private boolean isSuccessorOf(Set<BuildStep> visited, BuildStep step) {
            if (this == step) {
                return true;
            } else if (visited.add(this)) {
                return this.predecessors.stream().anyMatch(n -> n.isSuccessorOf(visited, step));
            } else {
                return false;
            }
        }
    
        public void skip() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Apr 30 16:21:08 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/impl/Graph.java

    import java.util.HashMap;
    import java.util.LinkedHashMap;
    import java.util.LinkedList;
    import java.util.List;
    import java.util.Map;
    
    class Graph {
        private enum DfsState {
            VISITING,
            VISITED
        }
    
        final Map<String, Vertex> vertices = new LinkedHashMap<>();
    
        public Vertex getVertex(String id) {
            return vertices.get(id);
        }
    
        public Collection<Vertex> getVertices() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.6K bytes
    - Click Count (0)
  8. compat/maven-model/src/test/java/org/apache/maven/model/pom/PomMemoryAnalyzer.java

        }
    
        public void analyzePom(Model model) {
            totalPoms++;
            Set<Object> visited = new HashSet<>();
            processModelNode(model, "/project", "project", visited);
        }
    
        private void processModelNode(Object node, String currentPath, String elementName, Set<Object> visited) {
            if (node == null || !visited.add(node)) {
                return;
            }
    
            Class<?> clazz = node.getClass();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  9. okhttp-idna-mapping-table/src/main/resources/okhttp3/internal/idna/IdnaMappingTable.txt

    32CD          ; mapped                 ; 0065 0072 0067 #4.0  SQUARE ERG
    32CE          ; mapped                 ; 0065 0076     # 4.0  SQUARE EV
    32CF          ; mapped                 ; 006C 0074 0064 #4.0  LIMITED LIABILITY SIGN
    32D0          ; mapped                 ; 30A2          # 1.1  CIRCLED KATAKANA A
    32D1          ; mapped                 ; 30A4          # 1.1  CIRCLED KATAKANA I
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Feb 10 11:25:47 GMT 2024
    - 854.1K bytes
    - Click Count (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultClasspathTransformation.java

            ClasspathContainer cpc;
    
            List<MetadataGraphVertex> visited;
    
            // -----------------------------------------------------------------------
            protected ClasspathGraphVisitor(MetadataGraph cleanGraph, ClasspathContainer cpc) {
                this.cpc = cpc;
                this.graph = cleanGraph;
    
                visited = new ArrayList<>(cleanGraph.getVertices().size());
            }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 5.1K bytes
    - Click Count (0)
Back to Top