Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1541 - 1550 of 1,808 for try (0.01 sec)

  1. android/guava/src/com/google/common/cache/CacheBuilder.java

      private static long toNanosSaturated(Duration duration) {
        // Using a try/catch seems lazy, but the catch block will rarely get invoked (except for
        // durations longer than approximately +/- 292 years).
        try {
          return duration.toNanos();
        } catch (ArithmeticException tooBig) {
          return duration.isNegative() ? Long.MIN_VALUE : Long.MAX_VALUE;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 51.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/opensearch/log/allcommon/EsAbstractBehavior.java

            }
            esCb.request().build(builder);
            SearchResponse response = esCb.build(builder).execute().actionGet(scrollSearchTimeout);
            String scrollId = response.getScrollId();
            try {
                while (scrollId != null) {
                    final SearchHits searchHits = getSearchHits(response);
                    final SearchHit[] hits = searchHits.getHits();
                    if (hits.length == 0) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jun 21 04:02:44 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Queues.java

          long timeout,
          TimeUnit unit) {
        Preconditions.checkNotNull(buffer);
        long deadline = System.nanoTime() + unit.toNanos(timeout);
        int added = 0;
        boolean interrupted = false;
        try {
          while (added < numElements) {
            // we could rely solely on #poll, but #drainTo might be more efficient when there are
            // multiple elements already available (e.g. LinkedBlockingQueue#drainTo locks only once)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java

        }
    
        // Test run method with null DataService
        public void test_run_nullDataService() {
            indexUpdater.dataService = null;
            try {
                indexUpdater.run();
                fail("Should throw FessSystemException");
            } catch (FessSystemException e) {
                assertEquals("DataService is null.", e.getMessage());
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 33K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

          // previous one completes.
          if (get() == RunningState.CANCELLED) {
            delegate = null;
            sequencer = null;
            return;
          }
          submitting = Thread.currentThread();
    
          try {
            /*
             * requireNonNull is safe because we don't null out `sequencer` except:
             *
             * - above, where we return (in which case we never get here)
             *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/reflect/TypeResolver.java

        return Types.newParameterizedTypeWithOwner(
            resolvedOwner, (Class<?>) resolvedRawType, resolvedArgs);
      }
    
      private static <T> T expectArgument(Class<T> type, Object arg) {
        try {
          return type.cast(arg);
        } catch (ClassCastException e) {
          throw new IllegalArgumentException(arg + " is not a " + type.getSimpleName());
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/ExecutionList.java

       * RuntimeException runtime exceptions} thrown by the executor.
       */
      @SuppressWarnings("CatchingUnchecked") // sneaky checked exception
      private static void executeListener(Runnable runnable, Executor executor) {
        try {
          executor.execute(runnable);
        } catch (Exception e) { // sneaky checked exception
          // Log it and keep going -- bad runnable and/or executor. Don't punish the other runnables if
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbTreeConnectionTraceTest.java

    import jcifs.Configuration;
    
    @ExtendWith(MockitoExtension.class)
    class SmbTreeConnectionTraceTest {
    
        // Helper to build a minimal smb URL
        private static URL smbUrl(String spec) {
            try {
                return new URL(null, spec, new Handler());
            } catch (MalformedURLException e) {
                throw new AssertionError("Failed to create SMB URL: " + spec, e);
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/SmbFileTest.java

                // To test this properly, we would need to mock connect0() and the tree object.
                // This is a limitation of unit testing such a coupled class.
                // We expect an SmbException because it will try to connect.
                assertThrows(SmbException.class, () -> share.getType());
            }
    
            @Test
            public void testIsHiddenForDollarShare() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  10. docs/kms/IAM.md

      secure key store. For example, you can run MinIO + KES + Hashicorp Vault.
    
    > What about an exiting MinIO deployment? Can I just upgrade my cluster?
    
    Yes, MinIO will try to transparently migrate any existing IAM data and either stores
    it in plaintext (no KMS) or re-encrypts using the KMS.
    
    > Is this change backward compatible? Will it break my setup?
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top