Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 1,808 for try (0.02 sec)

  1. docs/smb3-features/03-multi-channel-design.md

            
            return score;
        }
        
        private boolean checkRSSCapability() {
            // Platform-specific RSS detection
            // Simplified implementation
            try {
                NetworkInterface ni = NetworkInterface.getByInetAddress(address);
                return ni != null && ni.supportsMulticast();
            } catch (Exception e) {
                return false;
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/AccessTokenHelperTest.java

        }
    
        public void test_getAccessTokenFromRequest_bad1() {
            final String token = "INVALID _TOKEN0";
            MockletHttpServletRequest req = getMockRequest();
            req.addHeader("Authorization", token);
            try {
                accessTokenHelper.getAccessTokenFromRequest(req);
                fail();
            } catch (InvalidAccessTokenException e) {
                // ok
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/crypto/CachedCipher.java

         *            the data to encrypt
         * @return the encrypted data
         */
        public byte[] encrypto(final byte[] data) {
            final Cipher cipher = pollEncryptoCipher();
            byte[] encrypted;
            try {
                encrypted = cipher.doFinal(data);
            } catch (final IllegalBlockSizeException e) {
                throw new IllegalBlockSizeRuntimeException(e);
            } catch (final BadPaddingException e) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/TestPlatform.java

        checkNotNull(future);
        try {
          pseudoTimedGetUninterruptibly(future, 10, MILLISECONDS);
          fail();
        } catch (TimeoutException expected) {
        } catch (ExecutionException e) {
          throw new AssertionError(e);
        }
      }
    
      static void verifyTimedGetOnPendingFuture(Future<?> future) {
        try {
          getUninterruptibly(future, 0, SECONDS);
          fail();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

            // Write test content to file
            try (FileOutputStream fos = new FileOutputStream(testFile)) {
                fos.write(getTestContent().getBytes(StandardCharsets.UTF_8));
            }
    
            // Create a temporary project.properties file for SystemHelper
            File propFile = File.createTempFile("project", ".properties");
            propFile.deleteOnExit();
            try (FileOutputStream fos = new FileOutputStream(propFile)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorBuilder.java

     * such as MIME type detection, extractor selection, and content length validation.
     * </p>
     *
     * <p>
     * Example usage:
     * </p>
     *
     * <pre>
     * {@code
     * try (InputStream in = new FileInputStream("example.pdf")) {
     *     ExtractData extractData = new ExtractorBuilder(crawlerContainer, in, new HashMap<>())
     *         .mimeType("application/pdf")
     *         .filename("example.pdf")
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbFile.java

            if (getType() == TYPE_NAMED_PIPE) { // try opening the pipe for reading?
                return true;
            }
            return exists(); // try opening and catch sharing violation?
        }
    
        @Override
        public boolean canWrite() throws SmbException {
            if (getType() == TYPE_NAMED_PIPE) { // try opening the pipe for writing?
                return true;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

              }
            };
    
        Thread otherThread =
            new Thread(
                new Runnable() {
                  @Override
                  public void run() {
                    try {
                      Future<?> future = executor.submit(incrementTask);
                      assertTrue(future.isDone());
                      assertEquals(1, threadLocalCount.get().intValue());
                    } catch (Throwable t) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 28K bytes
    - Viewed (0)
  9. docs/en/docs/management-tasks.md

    Try to avoid using bitter sarcasm or potentially passive-aggressive comments. If something is wrong, it's better to be direct (try to be gentle) than sarcastic.
    
    Try to be as specific and objective as possible, avoid generalizations.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/CurlHelperTest.java

        }
    
        public void test_init_withInvalidSSLCertificate() {
            // Create a temporary invalid certificate file
            File invalidCertFile = null;
            try {
                invalidCertFile = File.createTempFile("invalid_cert", ".crt");
                try (FileWriter writer = new FileWriter(invalidCertFile)) {
                    writer.write("INVALID CERTIFICATE CONTENT");
                }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 10.1K bytes
    - Viewed (0)
Back to top