Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 55 for Sense (0.12 sec)

  1. guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

       * no service under management. Listeners would never fire because the ServiceManager was healthy
       * and stopped at the same time. This test ensures that listeners fire and isHealthy makes sense.
       */
      public void testEmptyServiceManager() {
        Logger logger = Logger.getLogger(ServiceManager.class.getName());
        logger.setLevel(Level.FINEST);
        TestLogHandler logHandler = new TestLogHandler();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 02 17:20:27 GMT 2023
    - 23.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/Striped.java

       * smaller than a large array. (This assumes that in the lazy case, most stripes are unused. As
       * always, if many stripes are in use, a non-lazy striped makes more sense.)
       */
      private static final int LARGE_LAZY_CUTOFF = 1024;
    
      private Striped() {}
    
      /**
       * Returns the stripe that corresponds to the passed key. It is always guaranteed that if {@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 10 20:55:18 GMT 2023
    - 20.3K bytes
    - Viewed (1)
  3. android/pom.xml

                  <groupId>com.toasttab.android</groupId>
                  <artifactId>gummy-bears-api-19</artifactId>
                  <version>0.6.1</version>
                  <!-- TODO(cpovirk): In principle, it would make sense to *also* test compatibility with JDK 1.8, since guava-android also has JRE users. -->
                </signature>
                <ignores>
                  <!-- Unsafe isn't part of the documented Android API, but it is available.
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Mar 12 20:26:18 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/math/StatsTesting.java

     * Stats}, {@link PairedStatsAccumulator}, and {@link PairedStats}.
     *
     * @author Pete Gillin
     */
    class StatsTesting {
      // TODO(cpovirk): Convince myself that this larger error makes sense.
      static final double ALLOWED_ERROR = isAndroid() ? .25 : 1e-10;
    
      // Inputs and their statistics:
    
      static final double ONE_VALUE = 12.34;
    
      static final double OTHER_ONE_VALUE = -56.78;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 22.4K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

           * more information, see the comments in that class.
           *
           * We already know that that's how it behaves, and subclasses of Converter can't change that
           * behavior. So there's no sense in making all subclass authors exclude the method from any
           * NullPointerTester tests that they have.
           */
          ignoredMembers.add(Converter.class.getMethod("apply", Object.class));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 22.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableCollection.java

     * </ul>
     *
     * <h4>"Interfaces", not implementations</h4>
     *
     * <p>These are classes instead of interfaces to prevent external subtyping, but should be thought
     * of as interfaces in every important sense. Each public class such as {@link ImmutableSet} is a
     * <i>type</i> offering meaningful behavioral guarantees. This is substantially different from the
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 18.7K bytes
    - Viewed (1)
  7. guava/src/com/google/common/collect/CompactHashSet.java

     * supported. The elements can be any objects.
     *
     * <p>{@code contains(x)}, {@code add(x)} and {@code remove(x)}, are all (expected and amortized)
     * constant time operations. Expected in the hashtable sense (depends on the hash function doing a
     * good job of distributing the elements to the buckets to a distribution not far from uniform), and
     * amortized since some operations can trigger a hash table resize.
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  8. fastapi/openapi/utils.py

                    operation["callbacks"] = callbacks
                if route.status_code is not None:
                    status_code = str(route.status_code)
                else:
                    # It would probably make more sense for all response classes to have an
                    # explicit default status_code, and to extract it from them, instead of
                    # doing this inspection tricks, that would probably be in the future
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 21.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       * This implements a "bursty" RateLimiter, where storedPermits are translated to zero throttling.
       * The maximum number of permits that can be saved (when the RateLimiter is unused) is defined in
       * terms of time, in this sense: if a RateLimiter is 2qps, and this time is specified as 10
       * seconds, we can save up to 2 * 10 = 20 permits.
       */
      static final class SmoothBursty extends SmoothRateLimiter {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 19.3K bytes
    - Viewed (0)
  10. src/bytes/bytes.go

    // code point satisfying f(c), or -1 if none do.
    func LastIndexFunc(s []byte, f func(r rune) bool) int {
    	return lastIndexFunc(s, f, true)
    }
    
    // indexFunc is the same as IndexFunc except that if
    // truth==false, the sense of the predicate function is
    // inverted.
    func indexFunc(s []byte, f func(r rune) bool, truth bool) int {
    	start := 0
    	for start < len(s) {
    		wid := 1
    		r := rune(s[start])
    		if r >= utf8.RuneSelf {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
Back to top