Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1371 - 1380 of 1,538 for Values (0.03 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt

        assertThat(response.headers("Response-Interceptor"))
          .containsExactly("Cupcake", "Donut")
        val recordedRequest = server.takeRequest()
        assertThat(recordedRequest.headers.values("Request-Interceptor"))
          .containsExactly("Android", "Bob")
      }
    
      @Test
      fun asyncApplicationInterceptors() {
        asyncInterceptors(false)
      }
    
      @Test
      fun asyncNetworkInterceptors() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableListTest.java

        suite.addTest(
            ListTestSuiteBuilder.using(new UnhashableElementsImmutableListGenerator())
                .suppressing(ListHashCodeTester.getHashCodeMethod())
                .named("ImmutableList, unhashable values")
                .withFeatures(CollectionSize.ANY, ALLOWS_NULL_QUERIES)
                .createTestSuite());
        return suite;
      }
    
      // Creation tests
    
      public void testCreation_noArgs() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/reflect/Types.java

          ParameterizedType parameterizedType =
              requireNonNull((ParameterizedType) subclass.getGenericSuperclass());
          for (ClassOwnership behavior : ClassOwnership.values()) {
            if (behavior.getOwnerType(LocalClass.class) == parameterizedType.getOwnerType()) {
              return behavior;
            }
          }
          throw new AssertionError();
        }
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Joiner.java

      /**
       * Returns a {@code MapJoiner} using the given key-value separator, and the same configuration as
       * this {@code Joiner} otherwise.
       *
       * @since 20.0
       */
      public MapJoiner withKeyValueSeparator(char keyValueSeparator) {
        return withKeyValueSeparator(String.valueOf(keyValueSeparator));
      }
    
      /**
       * Returns a {@code MapJoiner} using the given key-value separator, and the same configuration as
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 15:16:19 UTC 2025
    - 21K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

          super(5, MODIFIABLE, newArrayList(1, 2), IteratorTester.KnownOrder.KNOWN_ORDER);
        }
      }
    
      private static Iterator<Integer> iterateOver(int... values) {
        // Note: Ints.asList's iterator does not support remove which we need for testing.
        return new ArrayList<>(Ints.asList(values)).iterator();
      }
    
      public void testElementsEqual() {
        Iterable<?> a;
        Iterable<?> b;
    
        // Base case.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 54.4K bytes
    - Viewed (0)
  6. cmd/encryption-v1.go

    		}
    		d.partDecRelOffset += int64(n1)
    	} else {
    		n1, err = io.ReadFull(d.decrypter, p[:unreadPartLen])
    		if err != nil {
    			return 0, err
    		}
    
    		// We should now proceed to next part, reset all
    		// values appropriately.
    		d.partEncRelOffset = 0
    		d.partDecRelOffset = 0
    		d.startSeqNum = 0
    
    		d.partIndex++
    		if d.partIndex == len(d.parts) {
    			return n1, io.EOF
    		}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 37.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Iterables.java

       * Returns the element at the specified position in an iterable or a default value otherwise.
       *
       * <p><b>{@code Stream} equivalent:</b> {@code
       * stream.skip(position).findFirst().orElse(defaultValue)} (returns the default value if the index
       * is out of bounds)
       *
       * @param position position of the element to return
       * @param defaultValue the default value to return if {@code position} is greater than or equal to
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 43.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/net/InternetDomainName.java

      private static final Joiner DOT_JOINER = Joiner.on('.');
    
      /**
       * Value of {@link #publicSuffixIndex()} or {@link #registrySuffixIndex()} which indicates that no
       * relevant suffix was found.
       */
      private static final int NO_SUFFIX_FOUND = -1;
    
      /**
       * Value of {@link #publicSuffixIndexCache} or {@link #registrySuffixIndexCache} which indicates
       * that they were not initialized yet.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/AbstractFutureState.java

       */
      static boolean casValue(AbstractFutureState<?> future, @Nullable Object expect, Object update) {
        return ATOMIC_HELPER.casValue(future, expect, update);
      }
    
      /** Returns the value of the future, using a volatile read. */
      final @Nullable Object value() {
        return valueField;
      }
    
      /** Returns the head of the listener stack, using a volatile read. */
      final @Nullable Listener listeners() {
        return listenersField;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

              ready = true;
            } else {
              // This should be an extremely rare race condition.
              List<Service> servicesInBadStates = new ArrayList<>();
              for (Service service : servicesByState().values()) {
                if (service.state() != NEW) {
                  servicesInBadStates.add(service);
                }
              }
              throw new IllegalArgumentException(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 33.2K bytes
    - Viewed (1)
Back to top