Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Traversal (0.17 sec)

  1. android/guava/src/com/google/common/graph/Traverser.java

       */
      private abstract static class Traversal<N> {
        final SuccessorsFunction<N> successorFunction;
    
        Traversal(SuccessorsFunction<N> successorFunction) {
          this.successorFunction = successorFunction;
        }
    
        static <N> Traversal<N> inGraph(SuccessorsFunction<N> graph) {
          Set<N> visited = new HashSet<>();
          return new Traversal<N>(graph) {
            @Override
            @CheckForNull
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue May 30 20:12:45 GMT 2023
    - 19.8K bytes
    - Viewed (0)
  2. cmd/admin-heal-ops.go

    	case err, ok := <-h.traverseAndHealDoneCh:
    		if !ok {
    			return
    		}
    		h.mutex.Lock()
    		h.endTime = UTCNow()
    		// Heal traversal is complete.
    		if err == nil {
    			// heal traversal succeeded.
    			h.currentStatus.Summary = healFinishedStatus
    		} else {
    			// heal traversal had an error.
    			h.currentStatus.Summary = healStoppedStatus
    			h.currentStatus.FailureDetail = err.Error()
    		}
    		h.mutex.Unlock()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.1K bytes
    - Viewed (1)
  3. android/guava/src/com/google/common/graph/Graphs.java

            && network.allowsParallelEdges()
            && network.edges().size() > network.asGraph().edges().size()) {
          return true;
        }
        return hasCycle(network.asGraph());
      }
    
      /**
       * Performs a traversal of the nodes reachable from {@code node}. If we ever reach a node we've
       * already visited (following only outgoing edges and without reusing edges), we know there's a
       * cycle in the graph.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  4. maven-core/src/test/resources/apiv4-repo/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-sources.jar

    g.anything(description); } /** * Creates a matcher for {@link Iterable}s that only matches when a single pass over the * examined {@link Iterable} yields at least one item that is equal to the specified * <code>item</code>. Whilst matching, the traversal of the examined {@link Iterable} * will stop as soon as a matching item is found. * <p/> * For example: * <pre>assertThat(Arrays.asList("foo", "bar"), hasItem("bar"))</pre> * * @param item * the item to compare against the items provided by the examined...
    Archive
    - Registered: Sun Apr 14 03:35:08 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 31.9K bytes
    - Viewed (0)
  5. callbacks/preload.go

    	preloadMap := parsePreloadMap(db.Statement.Schema, preloads)
    
    	// avoid random traversal of the map
    	preloadNames := make([]string, 0, len(preloadMap))
    	for key := range preloadMap {
    		preloadNames = append(preloadNames, key)
    	}
    	sort.Strings(preloadNames)
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Apr 25 12:21:03 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

      }
    
      /**
       * Creates an {@code MonitorBasedArrayBlockingQueue} with the given (fixed) capacity, the
       * specified access policy and initially containing the elements of the given collection, added in
       * traversal order of the collection's iterator.
       *
       * @param capacity the capacity of this queue
       * @param fair if {@code true} then queue accesses for threads blocked on insertion or removal,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 22.5K bytes
    - Viewed (0)
  7. cmd/object-api-utils_test.go

    		t.Skip()
    	}
    	defer DetectTestLeak(t)()
    	ExecExtendedObjectLayerAPITest(t, testPathTraversalExploit, []string{"PutObject"})
    }
    
    // testPathTraversal exploit test, exploits path traversal on windows
    // with following object names "\\../.minio.sys/config/iam/${username}/identity.json"
    // #16852
    func testPathTraversalExploit(obj ObjectLayer, instanceType, bucketName string, apiRouter http.Handler,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 23.4K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

     * is not guaranteed to traverse the elements of the MonitorBasedPriorityBlockingQueue in
     * any particular order. If you need ordered traversal, consider using {@code
     * Arrays.sort(pq.toArray())}. Also, method {@code drainTo} can be used to remove some or
     * all elements in priority order and place them in another collection.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 19.5K bytes
    - Viewed (0)
  9. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

     * is not guaranteed to traverse the elements of the MonitorBasedPriorityBlockingQueue in
     * any particular order. If you need ordered traversal, consider using {@code
     * Arrays.sort(pq.toArray())}. Also, method {@code drainTo} can be used to remove some or
     * all elements in priority order and place them in another collection.
     *
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 19.5K bytes
    - Viewed (0)
  10. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

      }
    
      /**
       * Creates an {@code MonitorBasedArrayBlockingQueue} with the given (fixed) capacity, the
       * specified access policy and initially containing the elements of the given collection, added in
       * traversal order of the collection's iterator.
       *
       * @param capacity the capacity of this queue
       * @param fair if {@code true} then queue accesses for threads blocked on insertion or removal,
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 22.5K bytes
    - Viewed (0)
Back to top