- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 75 for traversal (0.09 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt
* System.out.println(new URI(attack).getPath()); * System.out.println(HttpUrl.parse(attack).encodedPath()); * ``` * * By canonicalizing the input paths, they are complicit in directory traversal attacks. Code that * checks only the path prefix may suffer! * * ``` * /static/images/../../../../../etc/passwd * /static/images/../../../../../etc/passwd * /etc/passwd * ``` *
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 63.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/Traverser.java
*/ package org.codelibs.core.io; /** * Object representing a collection of classes or resources. * * @author koichik * @see TraversalUtil */ public interface Traverser { /** * Returns <code>true</code> if the class file corresponding to the specified class name exists in the resources handled by this instance. * <p>Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 2.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MapMakerInternalMap.java
volatile int count; /** * Number of updates that alter the size of the table. This is used during bulk-read methods to * make sure they see a consistent snapshot: If modCounts change during a traversal of segments * computing size or checking containsValue, then we might have an inconsistent view of state so * (usually) must retry. */ int modCount; /**Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 89.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ResourceTraversalUtil.java
assertArgumentNotNull("handler", handler); forEach(rootDir, null, handler); } /** * Traverses resources contained in the file system. * <p>
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 9.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/TraversalUtil.java
*/ public abstract class TraversalUtil { /** * Do not instantiate. */ protected TraversalUtil() { } /** An empty array of {@link Traverser}. */ protected static final Traverser[] EMPTY_ARRAY = new Traverser[0]; private static final Logger logger = Logger.getLogger(TraversalUtil.class); /** Mapping from URL protocol (as key) to {@link TraverserFactory} (as value). */Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 18.6K bytes - Viewed (0) -
guava/src/com/google/common/cache/LocalCache.java
long totalWeight; /** * Number of updates that alter the size of the table. This is used during bulk-read methods to * make sure they see a consistent snapshot: If modCounts change during a traversal of segments * loading size or checking containsValue, then we might have an inconsistent view of state so * (usually) must retry. */ int modCount; /**Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Sep 11 19:35:11 UTC 2025 - 148.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/FluentIterable.java
return checkNotNull(iterable); } /** * Returns a fluent iterable that combines two iterables. The returned iterable has an iterator * that traverses the elements in {@code a}, followed by the elements in {@code b}. The source * iterators are not polled until necessary. * * <p>The returned iterable's iterator supports {@code remove()} when the corresponding input
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 34.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/TraverserUtilTest.java
public void testFromClass_FileSystem() throws Exception { final Traverser traverser = TraversalUtil.getTraverser(DummyTest.class); assertThat(traverser, is(notNullValue())); assertThat(traverser instanceof FileSystemTraverser, is(true)); assertThat(traverser.isExistClass(DummyTest.class.getName()), is(true)); assertThat(traverser.isExistClass(TestCase.class.getName()), is(not(true)));
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 6.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/graph/TraverserTest.java
assertEqualCharNodes(traverser.breadthFirst(charactersOf("acdb")), "acdb"); assertEqualCharNodes(traverser.breadthFirst(charactersOf("db")), "db"); } @Test public void forGraph_breadthFirst_multiGraph() { Traverser<Character> traverser = Traverser.forGraph(MULTI_GRAPH); assertEqualCharNodes(traverser.breadthFirst('a'), "abcd");
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 30 17:09:51 UTC 2025 - 47.4K bytes - Viewed (2) -
guava-tests/test/com/google/common/collect/TreeTraverserTest.java
import org.jspecify.annotations.NullMarked; /** * Tests for {@code TreeTraverser}. * * @deprecated Use {@link com.google.common.graph.Traverser} instead. * @author Louis Wasserman */ @GwtCompatible @NullMarked @Deprecated // Use com.google.common.graph.Traverser instead. public class TreeTraverserTest extends TestCase { private static class Node { final char value; Node(char value) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 18:39:06 UTC 2025 - 3.7K bytes - Viewed (0)