Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 514 for addUrl (0.05 sec)

  1. okhttp/src/test/java/okhttp3/OkHttpClientTest.kt

        builder.interceptors().addAll(listOf(null) as List<Interceptor>)
        assertFailsWith<IllegalStateException> {
          builder.build()
        }.also { expected ->
          assertThat(expected.message).isEqualTo("Null interceptor: [null]")
        }
      }
    
      @Test fun nullNetworkInterceptorInList() {
        val builder = OkHttpClient.Builder()
        builder.networkInterceptors().addAll(listOf(null) as List<Interceptor>)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ForwardingNavigableSet.java

     * to the methods of the delegate. For example, overriding {@link #add} alone <i>will not</i> change
     * the behavior of {@link #addAll}, which can lead to unexpected behavior. In this case, you should
     * override {@code addAll} as well, either providing your own implementation, or delegating to the
     * provided {@code standardAddAll} method.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 9K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

      public static class ImmutableSortedSetReversedOrderGenerator extends TestStringSetGenerator {
    
        @Override
        protected SortedSet<String> create(String[] elements) {
          return ImmutableSortedSet.<String>reverseOrder().addAll(asList(elements).iterator()).build();
        }
    
        @Override
        public List<String> order(List<String> insertionOrder) {
          sort(insertionOrder, Collections.reverseOrder());
          return insertionOrder;
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  4. okhttp-android/src/androidTest/kotlin/okhttp3/android/AndroidAsyncDnsTest.kt

          hostname,
          object : AsyncDns.Callback {
            override fun onResponse(
              hostname: String,
              addresses: List<InetAddress>,
            ) {
              allAddresses.addAll(addresses)
              latch.countDown()
            }
    
            override fun onFailure(
              hostname: String,
              e: IOException,
            ) {
              exception = e
              latch.countDown()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java

        public int hashCode() {
          return standardHashCode();
        }
    
        @Override
        public boolean add(E element) {
          return standardAdd(element);
        }
    
        @Override
        public boolean addAll(Collection<? extends E> collection) {
          return standardAddAll(collection);
        }
    
        @Override
        public void clear() {
          standardClear();
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/LongAdder.java

      private static final long serialVersionUID = 7249069246863182397L;
    
      /** Version of plus for use in retryUpdate */
      @Override
      final long fn(long v, long x) {
        return v + x;
      }
    
      /** Creates a new adder with initial sum of zero. */
      public LongAdder() {}
    
      /**
       * Adds the given value.
       *
       * @param x the value to add
       */
      @Override
      public void add(long x) {
        Cell[] as;
        long b, v;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 5.5K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/NavigableSetTestSuiteBuilder.java

        TestSetGenerator<E> delegate =
            (TestSetGenerator<E>) parentBuilder.getSubjectGenerator().getInnerGenerator();
    
        List<Feature<?>> features = new ArrayList<>();
        features.add(DESCENDING_VIEW);
        features.addAll(parentBuilder.getFeatures());
    
        return NavigableSetTestSuiteBuilder.using(
                new TestSetGenerator<E>() {
    
                  @Override
                  public SampleElements<E> samples() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Multisets.java

        }
    
        @Override
        public int add(@ParametricNullness E element, int occurrences) {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public boolean addAll(Collection<? extends E> elementsToAdd) {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public boolean remove(@CheckForNull Object element) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Multisets.java

        }
    
        @Override
        public int add(@ParametricNullness E element, int occurrences) {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public boolean addAll(Collection<? extends E> elementsToAdd) {
          throw new UnsupportedOperationException();
        }
    
        @Override
        public boolean remove(@CheckForNull Object element) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Collections2.java

          checkArgument(predicate.apply(element));
          return unfiltered.add(element);
        }
    
        @Override
        public boolean addAll(Collection<? extends E> collection) {
          for (E element : collection) {
            checkArgument(predicate.apply(element));
          }
          return unfiltered.addAll(collection);
        }
    
        @Override
        public void clear() {
          Iterables.removeIf(unfiltered, predicate);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 23.1K bytes
    - Viewed (0)
Back to top