Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 3,073 for patch (0.04 sec)

  1. src/test/java/jcifs/SmbWatchHandleTest.java

            // Execute and verify
            CIFSException thrown = assertThrows(CIFSException.class, () -> {
                watchHandle.watch();
            });
    
            assertEquals("Watch operation failed", thrown.getMessage());
            verify(watchHandle, times(1)).watch();
        }
    
        /**
         * Test call() method delegates to watch()
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbTreeImpl.java

                     * \server\share\path\to\file
                     * as opposed to normally
                     * \path\to\file
                     */
                    if (preq.getPath() != null && preq.getPath().length() > 0) {
                        if (log.isDebugEnabled()) {
                            log.debug(String.format("Setting DFS request path from %s to %s", preq.getPath(), preq.getFullUNCPath()));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

            options.sessionId = "test-session";
    
            try {
                int result = errorCrawler.doCrawl(options);
                // Should catch the exception and return EXIT_FAIL
                assertEquals(Constants.EXIT_FAIL, result);
            } catch (RuntimeException e) {
                // Expected behavior - test exception propagates
                assertEquals("Test exception", e.getMessage());
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 30.5K bytes
    - Viewed (0)
  4. 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jan 02 02:50:44 UTC 2019
    - 4.7K bytes
    - Viewed (0)
  5. cmd/batch-job-common-types_gen_test.go

    Krishnan Parthasarathi <******@****.***> 1701514293 -0800
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Dec 02 10:51:33 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

        public void test_generate_invalid_parent_directory() throws Exception {
            // Create a path that's guaranteed to be invalid
            final File invalidParent = System.getProperty("os.name", "linux").toLowerCase().startsWith("windows")
                    ? new File("Q:\\invalid\\path\\that\\does\\not\\exist")
                    : new File("/invalid/path/that/does/not/exist");
            final File outputFile = new File(invalidParent, "output.txt");
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/concurrent/Deferred.java

                }
            }
            if (executeCallbacks.size() > 0) {
                try {
                    executeCallbacks.stream().forEach(callback -> callback.accept(response));
                } catch (final Exception ignore) {}
            }
            latch.countDown();
        }
    
        /**
         * Rejects the deferred computation with the given throwable.
         * @param t The throwable.
         */
        public void reject(final Throwable t) {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/go/GoAction.java

                }
                return response;
            } catch (final Exception e) {
                logger.warn("Failed to load: {}", doc, e);
                saveError(messages -> messages.addErrorsNotLoadFromServer(GLOBAL, targetUrl));
                return redirect(ErrorAction.class);
            }
        }
    
        /**
         * Checks if the given URL represents a file system path.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpAuthenticationHolder.java

         * @param path The path to match.
         * @return The matching FtpAuthentication object, or null if no match is found.
         */
        public FtpAuthentication get(final String path) {
            if (path == null) {
                return null;
            }
    
            for (final FtpAuthentication auth : authenticationList) {
                if (auth.matches(path)) {
                    return auth;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java

            /**
             * Create a new change notification handle
             *
             * @param path directory path
             * @param key lease key
             * @param dir directory file
             */
            public ChangeNotificationHandle(String path, Smb2LeaseKey key, SmbFile dir) {
                this.directoryPath = path;
                this.leaseKey = key;
                this.directoryFile = dir;
                this.active = true;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.7K bytes
    - Viewed (0)
Back to top