Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 3,817 for patch (0.03 sec)

  1. samples/static-server/src/main/java/okhttp3/sample/SampleServer.java

      @Override public MockResponse dispatch(RecordedRequest request) {
        String path = request.getPath();
        try {
          if (!path.startsWith("/") || path.contains("..")) throw new FileNotFoundException();
    
          File file = new File(root + path);
          return file.isDirectory()
              ? directoryToResponse(path, file)
              : fileToResponse(path, file);
        } catch (FileNotFoundException e) {
          return new MockResponse()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Jan 02 02:50:44 UTC 2019
    - 4.7K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/gcs/GcsClient.java

        }
    
        /**
         * Parses a GCS path into bucket name and object path components.
         * @param path the GCS path to parse (format: bucket/object/path)
         * @return an array containing the bucket name and object path
         * @throws CrawlingAccessException if the path format is invalid
         */
        protected String[] parsePath(final String path) {
            if (StringUtil.isNotEmpty(path)) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/storage/HandlerTest.java

                conn.connect();
                fail("Should throw IOException");
            } catch (IOException e) {
                assertTrue(e.getMessage().contains("endpoint is blank"));
            }
    
            // Second call should also fail with the same error
            try {
                conn.connect();
                fail("Should throw IOException");
            } catch (IOException e) {
                assertTrue(e.getMessage().contains("endpoint is blank"));
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

            /**
             * Constructs a complete FTP URL using the host and port from this FtpInfo
             * and the specified path.
             *
             * @param path The path to append to the URL
             * @return The complete FTP URL
             */
            public String toUrl(final String path) {
                final StringBuilder buf = new StringBuilder(100);
                buf.append("ftp://");
                buf.append(getHost());
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 40K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/SystemHelper.java

        }
    
        /**
         * Encodes a URL path for filtering.
         *
         * @param path The path to encode.
         * @return The encoded path.
         */
        public String encodeUrlFilter(final String path) {
            if (filterPathEncoding == null || path == null) {
                return path;
            }
    
            try {
                final StringBuilder buf = new StringBuilder(path.length() + 100);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 08:30:43 UTC 2025
    - 36.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTransportImpl.java

                int rn) throws CIFSException {
            if (log.isDebugEnabled()) {
                log.debug("Resolving DFS path " + path);
            }
    
            if (path.length() >= 2 && path.charAt(0) == '\\' && path.charAt(1) == '\\') {
                throw new SmbException("Path must not start with double slash: " + path);
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

                Field offField = Smb2ReadRequest.class.getDeclaredField("offset");
                offField.setAccessible(true);
                long offVal = offField.getLong(req);
                assertEquals(2L, offVal, "Request offset should match skipped bytes");
            }
    
            @Test
            @DisplayName("read(byte[]) delegates to read(byte[],off,len)")
            void readArrayDelegates() throws Exception {
                SmbFileInputStream in = newStream();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/ds/DataStoreFactory.java

                                    }
                                }
                            }
                        }
                    }
                } catch (final Exception e) {
                    logger.warn("Failed to load DataStore plugin: path={}", jarFile.getAbsolutePath(), e);
                }
            }
            return nameSet.stream().sorted().collect(Collectors.toList());
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

        }
    
        /**
         * Creates a path prefix with trailing slash if path is not empty.
         *
         * @param path the base path
         * @return path with trailing slash or empty string
         */
        protected static String getPathPrefix(final String path) {
            return StringUtil.isEmpty(path) ? StringUtil.EMPTY : path + "/";
        }
    
        /**
         * Combines path and name to create a full object name.
         *
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  10. scripts/deploy_docs_status.py

        for f in docs_files:
            match = re.match(r"docs/([^/]+)/docs/(.*)", f.filename)
            if not match:
                continue
            lang = match.group(1)
            path = match.group(2)
            if path.endswith("index.md"):
                path = path.replace("index.md", "")
            else:
                path = path.replace(".md", "/")
            en_path = path
            if lang == "en":
                use_path = en_path
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 05:56:53 UTC 2025
    - 4.4K bytes
    - Viewed (0)
Back to top