Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 1,808 for Try (0.01 sec)

  1. src/test/java/jcifs/tests/persistent/HandleInfoTest.java

                    null);
    
            assertFalse(durableInfo.isExpired());
    
            // Wait for expiration
            try {
                Thread.sleep(150);
            } catch (InterruptedException e) {
                Thread.currentThread().interrupt();
            }
    
            assertTrue(durableInfo.isExpired());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

                }
    
                if (includeContent) {
                    File tempFile = null;
                    File outputFile = null;
                    try {
                        tempFile = createTempFile("ftp-", ".tmp", null);
                        try (OutputStream out = new BufferedOutputStream(new FileOutputStream(tempFile))) {
                            if (!client.retrieveFile(ftpInfo.getName(), out)) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/SecureCredentialStorageTest.java

            storage = new SecureCredentialStorage(masterPassword.clone());
        }
    
        @AfterEach
        public void tearDown() throws Exception {
            if (storage != null && !storage.isDestroyed()) {
                try {
                    storage.close();
                } catch (Exception e) {
                    // Ignore cleanup exceptions
                }
            }
            if (masterPassword != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/job/ScriptExecutorJob.java

        private static final Logger logger = LogManager.getLogger(ScriptExecutorJob.class);
    
        @Override
        public void run(final LaJobRuntime runtime) {
            final JobHelper jobHelper = ComponentUtil.getJobHelper();
            try {
                jobHelper.setJobRuntime(runtime);
                process(runtime);
            } finally {
                jobHelper.setJobRuntime(null);
            }
        }
    
        /**
         * Processes the job.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  5. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

        }
      }
    
      public void testInterfaceStaticMethod() {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(InterfaceStaticMethodChecksNull.class);
        try {
          tester.testAllPublicStaticMethods(InterfaceStaticMethodFailsToCheckNull.class);
        } catch (AssertionError expected) {
          return;
        }
        fail();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 47.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/scheduler/ApiAdminSchedulerAction.java

                    throwValidationErrorApi(messages -> {
                        messages.addErrorsFailedToStartJob(GLOBAL, entity.getName());
                    });
                }
                try {
                    entity.start();
                } catch (final Exception e) {
                    throwValidationErrorApi(messages -> {
                        messages.addErrorsFailedToStartJob(GLOBAL, entity.getName());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 10K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/PreauthIntegrityTest.java

                testData[i] = (byte) i;
            }
    
            // Run concurrent updates
            for (int i = 0; i < threadCount; i++) {
                executor.submit(() -> {
                    try {
                        startLatch.await();
                        Method updateMethod = findMethod(transport.getClass(), "updatePreauthHash", byte[].class);
                        updateMethod.setAccessible(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java

                throw new IllegalArgumentException("Signature field exceeds data buffer size");
            }
    
            // Use fine-grained locking for better concurrency
            this.signingLock.lock();
            try {
                if (this.closed) {
                    throw new IllegalStateException("SigningDigest is closed");
                }
    
                // zero out signature field
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/storage/Handler.java

                final String secretKey = System.getenv().get("STORAGE_SECRET_KEY");
                final String region = System.getenv().get("STORAGE_SECRET_KEY");
                try {
                    if (StringUtil.isBlank(endpoint)) {
                        throw new IOException("endpoint is blank.");
                    }
                    final Builder builder = MinioClient.builder().endpoint(endpoint);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

            final byte[] p21 = new byte[21];
            final byte[] p24 = new byte[24];
            byte[] passwordBytes;
            try {
                passwordBytes = password.toUpperCase().getBytes(SmbConstants.OEM_ENCODING);
            } catch (final UnsupportedEncodingException uee) {
                throw new RuntimeException("Try setting jcifs.smb1.encoding=US-ASCII", uee);
            }
            int passwordLength = passwordBytes.length;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.7K bytes
    - Viewed (0)
Back to top