Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 18 for Traversal (0.06 seconds)

  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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 19.3K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/graph/Graphs.java

       * list the nodes reachable from a given node or nodes. See the <a
       * href="https://github.com/google/guava/wiki/GraphsExplained#Graph-traversal">"Graph traversal"
       * section of the Guava User's Guide</a> for more information.
       *
       * <p>The {@link Set} returned is a "snapshot" based on the current topology of {@code graph},
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 24.4K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/job/IndexExportJob.java

                Files.createDirectories(filePath.getParent());
                final Path realParent = filePath.getParent().toRealPath();
                if (!realParent.startsWith(realBase)) {
                    logger.warn("Symlink traversal detected: url={}, realParent={}, realBase={}", url, realParent, realBase);
                    return;
                }
                final byte[] bytes = content.getBytes(StandardCharsets.UTF_8);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 10.8K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/graph/SuccessorsFunction.java

     * href="https://en.wikipedia.org/wiki/Graph_(discrete_mathematics)">graph</a>-structured data.
     *
     * <p>This interface is meant to be used as the type of a parameter to graph algorithms (such as
     * breadth first traversal) that only need a way of accessing the successors of a node in a graph.
     *
     * <h3>Usage</h3>
     *
     * Given an algorithm, for example:
     *
     * {@snippet :
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/job/PythonJobTest.java

                    + "test_script.py";
            assertEquals(expectedPath, pythonJob.getPyFilePath());
        }
    
        // Test getPyFilePath with directory traversal attempt
        @Test
        public void test_getPyFilePath_withDirectoryTraversal() {
            pythonJob.filename("../../malicious.py");
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 22.2K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/app/web/base/FessAdminActionTest.java

        }
    
        // ===================================================================================
        //                                                                  Path Traversal
        //                                                                  ================
    
        @Test
        public void test_validateFilePath_pathTraversal_dotdot() {
            final FessAdminAction action = createAction();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 22.7K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/job/IndexExportJobTest.java

            assertTrue(result.toString().contains("example.com"));
            assertTrue(result.toString().contains("path"));
            assertTrue(result.toString().endsWith("page.html"));
        }
    
        // --- path traversal prevention tests ---
    
        @Test
        public void test_buildFilePath_dotDotTraversal() {
            final Path result =
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 09:08:38 GMT 2026
    - 66.1K bytes
    - Click Count (0)
  8. 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,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 22.4K bytes
    - Click Count (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.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 19K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

       * is now at some position before {@code index}. The second element is the one that was swapped
       * down to replace the element at {@code index}. This fact is used by iterator.remove so as to
       * visit elements during a traversal once and only once.
       */
      @CanIgnoreReturnValue
      private @Nullable MoveDesc<E> removeAt(int index) {
        checkPositionIndex(index, size);
        modCount++;
        size--;
        if (size == index) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 34K bytes
    - Click Count (0)
Back to Top