Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 953 for accepts (0.09 sec)

  1. android/guava-tests/test/com/google/common/collect/OrderingTest.java

      public void testNullPointerExceptions() {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(Ordering.class);
    
        // any Ordering<Object> instance that accepts nulls should be good enough
        tester.testAllPublicInstanceMethods(Ordering.usingToString().nullsFirst());
      }
    
      private static <T extends @Nullable Object> List<T> shuffledCopy(List<T> in, Random random) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/OrderingTest.java

      public void testNullPointerExceptions() {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(Ordering.class);
    
        // any Ordering<Object> instance that accepts nulls should be good enough
        tester.testAllPublicInstanceMethods(Ordering.usingToString().nullsFirst());
      }
    
      private static <T extends @Nullable Object> List<T> shuffledCopy(List<T> in, Random random) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableMap.java

         *
         * 1. We'll want to use something like @PolyNull once we can make that work for the various
         * platforms we target.
         *
         * 2. Kotlin's Map type has a getOrDefault method that accepts and returns a "plain V," in
         * contrast to the "V?" type that we're using. As a result, Kotlin sees a conflict between the
         * nullness annotations in ImmutableMap and those in its own Map type. In response, it considers
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

          apply {
            this.followSslRedirects = followProtocolRedirects
          }
    
        /**
         * Sets the handler that can accept cookies from incoming HTTP responses and provides cookies to
         * outgoing HTTP requests.
         *
         * If unset, [no cookies][CookieJar.NO_COOKIES] will be accepted nor provided.
         */
        fun cookieJar(cookieJar: CookieJar) =
          apply {
            this.cookieJar = cookieJar
          }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:21:33 UTC 2024
    - 52K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableMap.java

         *
         * 1. We'll want to use something like @PolyNull once we can make that work for the various
         * platforms we target.
         *
         * 2. Kotlin's Map type has a getOrDefault method that accepts and returns a "plain V," in
         * contrast to the "V?" type that we're using. As a result, Kotlin sees a conflict between the
         * nullness annotations in ImmutableMap and those in its own Map type. In response, it considers
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 44.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableSortedMap.java

      private static <K extends Comparable<? super K>, V> ImmutableSortedMap<K, V> fromEntries(
          Entry<K, V>... entries) {
        return fromEntries(Ordering.natural(), false, entries, entries.length);
      }
    
      /**
       * Accepts a collection of possibly-null entries. If {@code sameComparator}, then it is assumed
       * that they do not need to be sorted or checked for dupes.
       */
      private static <K, V> ImmutableSortedMap<K, V> fromEntries(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

     * /static/images/../../../../../etc/passwd
     * /etc/passwd
     * ```
     *
     * ### If it works on the web, it should work in your application
     *
     * The `java.net.URI` class is strict around what URLs it accepts. It rejects URLs like
     * `http://example.com/abc|def` because the `|` character is unsupported. This class is more
     * forgiving: it will automatically percent-encode the `|'` yielding `http://example.com/abc%7Cdef`.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 63.5K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

      }
    
      @Test fun blockedStreamDoesntStarveNewStream() {
        val framesThatFillWindow =
          roundUp(Settings.DEFAULT_INITIAL_WINDOW_SIZE, peer.maxOutboundDataLength())
    
        // Write the mocking script. This accepts more data frames than necessary!
        peer.sendFrame().settings(Settings())
        peer.acceptFrame() // SETTINGS ACK
        peer.acceptFrame() // SYN_STREAM on stream 1
        for (i in 0 until framesThatFillWindow) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Sets.java

        private static final long serialVersionUID = 0;
      }
    
      /**
       * Returns a synchronized (thread-safe) navigable set backed by the specified navigable set. In
       * order to guarantee serial access, it is critical that <b>all</b> access to the backing
       * navigable set is accomplished through the returned navigable set (or its views).
       *
       * <p>It is imperative that the user manually synchronize on the returned sorted set when
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

      private static <K extends Comparable<? super K>, V> ImmutableSortedMap<K, V> fromEntries(
          Entry<K, V>... entries) {
        return fromEntries(Ordering.natural(), false, entries, entries.length);
      }
    
      /**
       * Accepts a collection of possibly-null entries. If {@code sameComparator}, then it is assumed
       * that they do not need to be sorted or checked for dupes.
       */
      private static <K, V> ImmutableSortedMap<K, V> fromEntries(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53K bytes
    - Viewed (0)
Back to top