Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 328 for unlikely (0.05 seconds)

  1. TESTING.asciidoc

    === Good practices
    
    ==== What kind of tests should I write?
    
    Unit tests are the preferred way to test some functionality: most of the time
    they are simpler to understand, more likely to reproduce, and unlikely to be
    affected by changes that are unrelated to the piece of functionality that is
    being tested.
    
    The reason why `ESSingleNodeTestCase` exists is that all our components used to
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Jun 07 13:55:20 GMT 2021
    - 32.5K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/Ordering.java

          // identityHashCode collision (rare, but not as rare as you'd think)
          int result = getUid(left).compareTo(getUid(right));
          if (result == 0) {
            throw new AssertionError(); // extremely, extremely unlikely.
          }
          return result;
        }
    
        @Override
        public String toString() {
          return "Ordering.arbitrary()";
        }
    
        /*
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 39.4K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

        }
    
        assertMoreInvariants(map);
      }
    
      @SuppressWarnings("CollectionIncompatibleType")
      private void assertEntrySetNotContainsString(Set<Entry<K, V>> entrySet) {
        // Very unlikely that a buggy collection would ever return true. It might accidentally throw.
        assertFalse(entrySet.contains("foo"));
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 43.9K bytes
    - Click Count (0)
  4. CONTRIBUTING.md

    code review process because it wastes our time.
    * We don't have the capacity to absorb an entire class full of new contributors,
    especially when they are unlikely to become long time contributors.
    
    Finally, we require that you run `./gradlew check` before submitting a
    non-documentation contribution. This is mentioned above, but it is worth
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 01 07:32:01 GMT 2021
    - 36.5K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

       * </ul>
       *
       * <p>This method is {@code protected} so that classes like {@code
       * com.google.common.util.concurrent.SettableFuture} do not expose it to their users as an
       * instance method. In the unlikely event that you need to call this method, call {@link
       * InternalFutures#tryInternalFastPathGetFailure(InternalFutureFailureAccess)}.
       *
       * @since 27.0
       */
      @Override
      /*
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 14:39:00 GMT 2026
    - 43.6K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

               * future if scheduledDelegate is cancelled (as happens after the delegate executor is
               * shut down: https://github.com/google/guava/issues/3553). But it seems unlikely that
               * that's possible to detect in general.
               */
            }
            return cancelled;
          }
    
          @Override
          public long getDelay(TimeUnit unit) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jan 28 22:39:02 GMT 2026
    - 45.6K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/util/concurrent/Monitor.java

      //         break;
      //       }
      //     }
      //   }
    
      /**
       * Exactly like guard.isSatisfied(), but in addition signals all waiting threads in the (hopefully
       * unlikely) event that isSatisfied() throws.
       */
      @GuardedBy("lock")
      private boolean isSatisfied(Guard guard) {
        try {
          return guard.isSatisfied();
        } catch (Throwable throwable) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jan 28 22:39:02 GMT 2026
    - 43.5K bytes
    - Click Count (0)
  8. internal/grid/connection.go

    		client.deadline = getDeadline(time.Until(dl))
    		if client.deadline == 0 {
    			client.cancelFn(context.DeadlineExceeded)
    			return nil, context.DeadlineExceeded
    		}
    	}
    	for {
    		// Handle the extremely unlikely scenario that we wrapped.
    		if _, loaded := c.outgoing.LoadOrStore(client.MuxID, client); client.MuxID != 0 && !loaded {
    			if debugReqs {
    				_, found := c.outgoing.Load(client.MuxID)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 46.9K bytes
    - Click Count (0)
  9. guava/src/com/google/common/base/Preconditions.java

       */
      public static void checkState(
          boolean expression,
          /*
           * TODO(cpovirk): Consider removing @Nullable here, as we've done with the other methods'
           * errorMessageTemplate parameters: It is unlikely that callers intend for their string
           * template to be null (though we do handle that case gracefully at runtime). I've left this
           * one as it is because one of our users has defined a wrapper API around Preconditions,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 53.5K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt

       */
      @JvmName("uri")
      fun toUri(): URI {
        val uri = newBuilder().reencodeForUri().toString()
        return try {
          URI(uri)
        } catch (e: URISyntaxException) {
          // Unlikely edge case: the URI has a forbidden character in the fragment. Strip it & retry.
          try {
            val stripped = uri.replace(Regex("[\\u0000-\\u001F\\u007F-\\u009F\\p{javaWhitespace}]"), "")
            URI.create(stripped)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 63.5K bytes
    - Click Count (0)
Back to Top