Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,178 for sale (0.16 sec)

  1. android/guava/src/com/google/common/collect/GeneralRange.java

      boolean isEmpty() {
        // The casts are safe because of the has*Bound() checks.
        return (hasUpperBound() && tooLow(uncheckedCastNullableTToT(getUpperEndpoint())))
            || (hasLowerBound() && tooHigh(uncheckedCastNullableTToT(getLowerEndpoint())));
      }
    
      boolean tooLow(@ParametricNullness T t) {
        if (!hasLowerBound()) {
          return false;
        }
        // The cast is safe because of the hasLowerBound() check.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/Cache.java

       *
       */
      CacheStats stats();
    
      /**
       * Returns a view of the entries stored in this cache as a thread-safe map. Modifications made to
       * the map directly affect the cache.
       *
       * <p>Iterators from the returned map are at least <i>weakly consistent</i>: they are safe for
       * concurrent use, but if the cache is modified (including by eviction) after the iterator is
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sun Aug 07 02:38:22 GMT 2022
    - 7.9K bytes
    - Viewed (0)
  3. mockwebserver/README.md

    server to create representative test cases. Or test that your code survives in
    awkward-to-reproduce situations like 500 errors or slow-loading responses.
    
    
    ### Example
    
    Use MockWebServer the same way that you use mocking frameworks like
    [Mockito](https://github.com/mockito/mockito):
    
    1. Script the mocks.
    2. Run application code.
    3. Verify that the expected requests were made.
    
    Here's a complete example:
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 17 15:34:10 GMT 2023
    - 5K bytes
    - Viewed (1)
  4. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

       * Returns an immutable map containing the same entries as {@code map}, sorted by the natural
       * ordering of the keys.
       *
       * <p>Despite the method name, this method attempts to avoid actually copying the data when it is
       * safe to do so. The exact circumstances under which a copy will or will not be performed are
       * undocumented and subject to change.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/security/http-basic-auth.md

    But in our code we are actually using `secrets.compare_digest()`.
    
    In short, it will take the same time to compare `stanleyjobsox` to `stanleyjobson` than it takes to compare `johndoe` to `stanleyjobson`. And the same for the password.
    
    That way, using `secrets.compare_digest()` in your application code, it will be safe against this whole range of security attacks.
    
    ### Return the error
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 14:33:05 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Suppliers.java

       * and returns that value on subsequent calls to {@code get()}. See: <a
       * href="http://en.wikipedia.org/wiki/Memoization">memoization</a>
       *
       * <p>The returned supplier is thread-safe. The delegate's {@code get()} method will be invoked at
       * most once unless the underlying {@code get()} throws an exception. The supplier's serialized
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

     *   protected Scheduler scheduler() {
     *     return Scheduler.newFixedRateSchedule(0, 1, TimeUnit.SECONDS);
     *   }
     * }
     * }</pre>
     *
     * <p>This class uses the life cycle methods to read in a list of starting URIs and save the set of
     * outstanding URIs when shutting down. Also, it takes advantage of the scheduling functionality to
     * rate limit the number of queries we perform.
     *
     * @author Luke Sandberg
     * @since 11.0
     */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 25.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Interners.java

        }
      }
    
      /** Returns a fresh {@link InternerBuilder} instance. */
      public static InternerBuilder newBuilder() {
        return new InternerBuilder();
      }
    
      /**
       * Returns a new thread-safe interner which retains a strong reference to each instance it has
       * interned, thus preventing these instances from being garbage-collected. If this retention is
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 13 14:30:51 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/testing/NullPointerTester.java

       * "inherited" from superclasses of the same package.
       */
      public void testAllPublicStaticMethods(Class<?> c) {
        testStaticMethods(c, Visibility.PUBLIC);
      }
    
      /**
       * Runs {@link #testMethod} on every instance method of the class of {@code instance} with at
       * least {@code minimalVisibility}, including those inherited from superclasses of the same
       * package.
       */
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 23.3K bytes
    - Viewed (0)
  10. internal/logger/logrotate.go

    	// may fall on the same timestamp.
    	// Eg.
    	// 	2020-03-28_15-00-945-<random-hash>.log
    	// When FileNameFunc is not specified, DefaultFilenameFunc will be used.
    	FileNameFunc func() string
    
    	// Compress specify if you want the logs to be compressed after rotation.
    	Compress bool
    }
    
    // Writer is a concurrency-safe writer with file rotation.
    type Writer struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 11:38:40 GMT 2024
    - 5.8K bytes
    - Viewed (0)
Back to top