Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 12 for abspath (0.08 seconds)

  1. src/test/java/org/codelibs/fess/helper/VirtualHostHelperTest.java

        }
    
        @Test
        public void test_getVirtualHostBasePath() {
            String basePath = virtualHostHelper.getVirtualHostBasePath("site1", new HtmlNext("/test"));
            assertEquals("/site1", basePath);
    
            basePath = virtualHostHelper.getVirtualHostBasePath("", new HtmlNext("/test"));
            assertEquals("", basePath);
    
            basePath = virtualHostHelper.getVirtualHostBasePath(null, new HtmlNext("/test"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/job/IndexExportJob.java

            }
            final String content = formatter.format(source, excludeFields);
    
            try {
                final Path basePath = Paths.get(exportPath);
                Files.createDirectories(basePath);
                final Path realBase = basePath.toRealPath();
                Files.createDirectories(filePath.getParent());
                final Path realParent = filePath.getParent().toRealPath();
    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)
  3. src/test/java/org/codelibs/fess/api/WebApiManagerTest.java

        }
    
        // Test implementation classes
    
        private static class TestWebApiManager implements WebApiManager {
            private final String basePath;
            private boolean processCalled = false;
    
            public TestWebApiManager(String basePath) {
                this.basePath = basePath;
            }
    
            @Override
            public boolean matches(HttpServletRequest request) {
                if (request == null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 26.9K bytes
    - Click Count (0)
  4. samples/static-server/src/main/java/okhttp3/sample/SampleServer.java

        }
      }
    
      private MockResponse directoryToResponse(String basePath, File directory) {
        if (!basePath.endsWith("/")) basePath += "/";
    
        StringBuilder response = new StringBuilder();
        response.append(String.format("<html><head><title>%s</title></head><body>", basePath));
        response.append(String.format("<h1>%s</h1>", basePath));
        for (String file : directory.list()) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 11 02:37:00 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  5. src/main/resources/log4j2.xml

    				<TimeBasedTriggeringPolicy />
    				<SizeBasedTriggeringPolicy size="100 MB" />
    			</Policies>
    			<DefaultRolloverStrategy fileIndex="max" min="1"
    				max="${backup.max.history}" compressionLevel="9">
    				<Delete basePath="${log.file.basedir}">
    					<IfFileName glob="${domain.name}*.log.gz" />
    					<IfLastModified age="P${backup.max.age}D" />
    				</Delete>
    			</DefaultRolloverStrategy>
    		</RollingFile>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/base/FessAdminAction.java

                final List<String> allowedPaths = new ArrayList<>();
                for (final String prop : allowedPathProperties) {
                    final String basePath = System.getProperty(prop);
                    if (basePath != null) {
                        final String baseCanonicalPath = new File(basePath).getCanonicalPath();
                        allowedPaths.add(baseCanonicalPath);
                        if (canonicalPath.startsWith(baseCanonicalPath)) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 13:57:12 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/io/MoreFilesTest.java

        try (FileSystem fs = Jimfs.newFileSystem(Configuration.unix())) {
          Path fooPath = fs.getPath("foo");
          Path barPath = fs.getPath("bar");
          MoreFiles.asCharSink(fooPath, UTF_8).write("foo");
          MoreFiles.asCharSink(barPath, UTF_8).write("barbar");
    
          assertThat(MoreFiles.equal(fooPath, barPath)).isFalse();
          assertThat(MoreFiles.equal(fooPath, fooPath)).isTrue();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 26.6K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/io/MoreFilesTest.java

        try (FileSystem fs = Jimfs.newFileSystem(Configuration.unix())) {
          Path fooPath = fs.getPath("foo");
          Path barPath = fs.getPath("bar");
          MoreFiles.asCharSink(fooPath, UTF_8).write("foo");
          MoreFiles.asCharSink(barPath, UTF_8).write("barbar");
    
          assertThat(MoreFiles.equal(fooPath, barPath)).isFalse();
          assertThat(MoreFiles.equal(fooPath, fooPath)).isTrue();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 27.5K bytes
    - Click Count (0)
  9. fastapi/openapi/utils.py

                    callbacks = {}
                    for callback in route.callbacks:
                        if isinstance(callback, routing.APIRoute):
                            (
                                cb_path,
                                cb_security_schemes,
                                cb_definitions,
                            ) = get_openapi_path(
                                route=callback,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 25.6K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/mylasta/action/FessHtmlPathTest.java

            verifyPathPattern("AdminWebauth", "/admin/webauth/");
            verifyPathPattern("AdminWebconfig", "/admin/webconfig/");
        }
    
        private void verifyPathPattern(String prefix, String basePath) throws Exception {
            // Helper method to verify common pattern
            String baseFieldName = "path_" + prefix + "_" + prefix + "Jsp";
            String detailsFieldName = "path_" + prefix + "_" + prefix + "DetailsJsp";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.1K bytes
    - Click Count (0)
Back to Top