Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 1,287 for scratch (0.03 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java

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

            try {
                ftpInfo = new FtpClient.FtpInfo(null, Constants.UTF_8);
                fail();
            } catch (CrawlingAccessException e) {
                // ignore
            }
    
            try {
                ftpInfo = new FtpClient.FtpInfo("", Constants.UTF_8);
                fail();
            } catch (CrawlingAccessException e) {
                // ignore
            }
    
            try {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/concurrent/DeferredTest.java

                try {
                    Thread.sleep(1000);
                } catch (InterruptedException ignore) {}
                deferred.reject(new SuggesterException("test"));
            });
            th.start();
    
            try {
                deferred.promise().getResponse(10, TimeUnit.SECONDS);
                fail();
            } catch (SuggesterException e) {
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  4. android/guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java

        equivalenceMock.expectHash(group1Item1, 1);
        equivalenceMock.expectHash(group1Item2, 1);
    
        equivalenceMock.replay();
    
        try {
          tester.addEquivalenceGroup(group1Item1, group1Item2).test();
        } catch (AssertionFailedError expected) {
          assertThat(expected)
              .hasMessageThat()
              .contains(
                  "TestObject{group=1, item=2} [group 1, item 2] must be equivalent to "
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 27 16:19:35 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java

        equivalenceMock.expectHash(group1Item1, 1);
        equivalenceMock.expectHash(group1Item2, 1);
    
        equivalenceMock.replay();
    
        try {
          tester.addEquivalenceGroup(group1Item1, group1Item2).test();
        } catch (AssertionFailedError expected) {
          assertThat(expected)
              .hasMessageThat()
              .contains(
                  "TestObject{group=1, item=2} [group 1, item 2] must be equivalent to "
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 27 16:19:35 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/Config.java

                    in = new FileInputStream(filename);
                }
                Config.load(in);
                if (in != null) {
                    in.close();
                }
            } catch (final IOException ioe) {
                if (LogStream.level > 0) {
                    ioe.printStackTrace(log);
                }
            }
    
            level = Config.getInt("jcifs.smb1.util.loglevel", -1);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  7. docs/smb3-features/06-witness-protocol-design.md

                return stub.getResponse();
            } catch (Exception e) {
                throw new IOException("Witness heartbeat RPC failed", e);
            }
        }
        
        @Override
        public void close() {
            if (handle != null) {
                try {
                    handle.close();
                } catch (Exception e) {
                    log.error("Error closing witness RPC handle", e);
                }
            }
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/witness/MockWitnessService.java

                try {
                    serverSocket.close();
                } catch (IOException e) {
                    log.debug("Error closing server socket", e);
                }
            }
    
            if (serverThread != null) {
                try {
                    serverThread.join(5000); // Wait up to 5 seconds
                } catch (InterruptedException e) {
                    Thread.currentThread().interrupt();
                }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/hash/MacHashFunction.java

          return true;
        } catch (CloneNotSupportedException e) {
          return false;
        }
      }
    
      private static Mac getMac(String algorithmName, Key key) {
        try {
          Mac mac = Mac.getInstance(algorithmName);
          mac.init(key);
          return mac;
        } catch (NoSuchAlgorithmException e) {
          throw new IllegalStateException(e);
        } catch (InvalidKeyException e) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/Crypto.java

            } catch (final NoSuchAlgorithmException e) {
                throw new CIFSUnsupportedCryptoException(e);
            }
        }
    
        /**
         * Get an MD5 message digest instance.
         * @return MD5 digest instance
         */
        public static MessageDigest getMD5() {
            try {
                return MessageDigest.getInstance("MD5");
            } catch (final NoSuchAlgorithmException e) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.7K bytes
    - Viewed (0)
Back to top