Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 1,574 for path2 (0.02 sec)

  1. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCookieResourceProviderTest.java

                assertEquals(Integer.valueOf(expire), provider.provideDefaultExpire());
            }
        }
    
        // Test with different path values
        public void test_differentPathValues() {
            String[] testPaths = { "/", "/app", "/test/path", "/a/b/c/d", "" };
    
            for (String path : testPaths) {
                ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                    private static final long serialVersionUID = 1L;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. cmd/metacache-bucket_test.go

    	"fmt"
    	"testing"
    )
    
    func Benchmark_bucketMetacache_findCache(b *testing.B) {
    	bm := newBucketMetacache("", false)
    	const elements = 50000
    	const paths = 100
    	if elements%paths != 0 {
    		b.Fatal("elements must be divisible by the number of paths")
    	}
    	var pathNames [paths]string
    	for i := range pathNames[:] {
    		pathNames[i] = fmt.Sprintf("prefix/%d", i)
    	}
    	for i := range elements {
    		bm.findCache(listPathOptions{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/dependencies/index.md

    It is just a function that can take all the same parameters that a *path operation function* can take:
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[8:9] *}
    
    That's it.
    
    **2 lines**.
    
    And it has the same shape and structure that all your *path operation functions* have.
    
    You can think of it as a *path operation function* without the "decorator" (without the `@app.get("/some-path")`).
    
    And it can return anything you want.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java

        public String unalignFromBaseDirectory(String path, File basedir) {
            if (basedir == null) {
                return path;
            }
    
            if (path == null) {
                return null;
            }
    
            path = path.trim();
    
            String base = basedir.getAbsolutePath();
            if (path.startsWith(base)) {
                path = chopLeadingFileSeparator(path.substring(base.length()));
            }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/SourceRoot.java

         * Implementation may override with absolute path instead.
         */
        default Path directory() {
            Path src = Path.of("src");
            return module().map(src::resolve)
                    .orElse(src)
                    .resolve(scope().id())
                    .resolve(language().id());
        }
    
        /**
         * {@return the list of patterns for the files to include}.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jun 26 07:56:58 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/PathMappingHelper.java

        protected static final String GROOVY_MATCHER = "groovy:";
    
        /** Map of path mappings by process type. */
        protected final Map<String, List<PathMapping>> pathMappingMap = new HashMap<>();
    
        /** Cached list of path mappings. */
        protected volatile List<PathMapping> cachedPathMappingList = null;
    
        /**
         * Initializes the path mapping helper.
         */
        @PostConstruct
        public void init() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java

            // Test task creation with null document map
            String path = "/path/to/document.pdf";
    
            Tuple3<String, String, String> task = thumbnailGenerator.createTask(path, null);
            assertNull(task);
        }
    
        public void test_createTask_withEmptyDocMap() {
            // Test task creation with empty document map
            String path = "/path/to/document.pdf";
            Map<String, Object> docMap = new HashMap<>();
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbAuthenticationHolder.java

         * @param path The path to match.
         * @return The matching SmbAuthentication object, or null if no match is found.
         */
        public SmbAuthentication get(final String path) {
            if (path == null) {
                return null;
            }
    
            for (final Map.Entry<String, SmbAuthentication> entry : authMap.entrySet()) {
                if (path.startsWith(entry.getKey())) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  9. fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

            final File targetFile = ResourceUtil.getResourceAsFile("test");
            String path = targetFile.getAbsolutePath();
            if (!path.startsWith("/")) {
                path = "/" + path.replace('\\', '/');
            }
            final String url = "file:" + path;
    
            final int maxCount = 3;
            final int numOfThread = 2;
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/CookieTest.kt

          parse("http://example.com/foo/bar".toHttpUrl(), "a=b; path=quux")!!.path,
        ).isEqualTo("/foo")
        assertThat(parse("http://example.com/foo/bar".toHttpUrl(), "a=b; path=")!!.path)
          .isEqualTo("/foo")
      }
    
      @Test fun pathAttributeDoesntNeedToMatch() {
        assertThat(parse("http://example.com/".toHttpUrl(), "a=b; path=/quux")!!.path)
          .isEqualTo("/quux")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 24.4K bytes
    - Viewed (0)
Back to top