Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 119 for unlikely (0.05 sec)

  1. android/guava/src/com/google/common/base/Platform.java

        /*
         * We use `fromNullable` instead of `of` because `WeakReference.get()` has a nullable return
         * type.
         *
         * In practice, we are very unlikely to see `null`: The `WeakReference` to the enum constant
         * won't be cleared as long as the enum constant is referenced somewhere, and the enum constant
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/CryptoTest.java

            // Then
            assertNotNull(random1);
            assertNotNull(random2);
            assertEquals(length, random1.length);
            assertEquals(length, random2.length);
            // Very unlikely to be equal
            assertNotEquals(new String(random1), new String(random2));
        }
    
        @Test
        @DisplayName("Should handle AES encryption operations")
        void testAESOperations() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

                return;
              }
              // TODO(cpovirk): if reference has been cleared, remove it?
            }
            checkExceptionClassValidity(exceptionClass);
    
            /*
             * It's very unlikely that any loaded Futures class will see getChecked called with more
             * than a handful of exceptions. But it seems prudent to set a cap on how many we'll cache.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  4. cmd/local-locker_test.go

    					t.Logf("Expire 50%% took: %v. Left: %d/%d", time.Since(start).Round(time.Millisecond), len(l.lockUID), len(l.lockMap))
    
    					if len(l.lockUID) == locks*readers {
    						t.Fatalf("objects uids all remain, unlikely")
    					}
    					if len(l.lockMap) == 0 {
    						t.Fatalf("objects all deleted, 0 remains")
    					}
    					if len(l.lockUID) == 0 {
    						t.Fatalf("objects uids all deleted, 0 remains")
    					}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

                return;
              }
              // TODO(cpovirk): if reference has been cleared, remove it?
            }
            checkExceptionClassValidity(exceptionClass);
    
            /*
             * It's very unlikely that any loaded Futures class will see getChecked called with more
             * than a handful of exceptions. But it seems prudent to set a cap on how many we'll cache.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

            "Shouldn't catch any more events when unregistered.", expectedEvents, catcher2.getEvents());
      }
    
      // NOTE: This test will always pass if register() is thread-safe but may also
      // pass if it isn't, though this is unlikely.
      public void testRegisterThreadSafety() throws Exception {
        List<StringCatcher> catchers = new CopyOnWriteArrayList<>();
        List<Future<?>> futures = new ArrayList<>();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/MapMaker.java

     * the configuration properties of the original map. During deserialization, if the original map had
     * used weak references, the entries are reconstructed as they were, but it's not unlikely they'll
     * be quickly garbage-collected before they are ever accessed.
     *
     * <p>{@code new MapMaker().weakKeys().makeMap()} is a recommended replacement for {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/Suppliers.java

              if (nanos == expirationNanos) { // recheck for lost race
                T t = delegate.get();
                value = t;
                nanos = now + durationNanos;
                // In the very unlikely event that nanos is 0, set it to 1;
                // no one will notice 1 ns of tardiness.
                expirationNanos = (nanos == 0) ? 1 : nanos;
                return t;
              }
            }
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Suppliers.java

              if (nanos == expirationNanos) { // recheck for lost race
                T t = delegate.get();
                value = t;
                nanos = now + durationNanos;
                // In the very unlikely event that nanos is 0, set it to 1;
                // no one will notice 1 ns of tardiness.
                expirationNanos = (nanos == 0) ? 1 : nanos;
                return t;
              }
            }
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Converter.java

         *
         * All that said, don't forget that everyone should call converter.convert() instead of
         * converter.apply(), anyway. If clients use only converter.convert(), then their nullness
         * checkers are unlikely to ever look at the annotations on this declaration.
         *
         * Historical note: At one point, we'd declared this method as accepting and returning nullable
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 18 21:43:06 UTC 2025
    - 22.8K bytes
    - Viewed (0)
Back to top