Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 447 for presented (0.11 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfPresentTester.java

        expectUnchanged();
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testComputeIfPresent_supportedPresent() {
        assertEquals(
            "computeIfPresent(present, function) should return new value",
            v3(),
            getMap()
                .computeIfPresent(
                    k0(),
                    (k, v) -> {
                      assertEquals(k0(), k);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

          if (logHeaders) {
            val headers = request.headers
    
            if (requestBody != null) {
              // Request body headers are only present when installed as a network interceptor. When not
              // already present, force them to be included (if available) so their values are known.
              requestBody.contentType()?.let {
                if (headers["Content-Type"] == null) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 21 14:27:04 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  3. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackDecodeTestBase.kt

          }
          return result
        }
    
        /**
         * Checks if `expected` and `observed` are equal when viewed as a set and headers are
         * deduped.
         *
         * TODO: See if duped headers should be preserved on decode and verify.
         */
        private fun assertSetEquals(
          message: String,
          expected: List<Header>,
          observed: List<Header>,
        ) {
          assertThat(LinkedHashSet(observed), message)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/reflect/TypeToInstanceMap.java

    public interface TypeToInstanceMap<B extends @Nullable Object>
        extends Map<TypeToken<? extends @NonNull B>, B> {
    
      /**
       * Returns the value the specified class is mapped to, or {@code null} if no entry for this class
       * is present. This will only return a value that was bound to this specific class, not a value
       * that may have been bound to a subtype.
       *
       * <p>{@code getInstance(Foo.class)} is equivalent to {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/reflect/TypeToInstanceMap.java

    public interface TypeToInstanceMap<B extends @Nullable Object>
        extends Map<TypeToken<? extends @NonNull B>, B> {
    
      /**
       * Returns the value the specified class is mapped to, or {@code null} if no entry for this class
       * is present. This will only return a value that was bound to this specific class, not a value
       * that may have been bound to a subtype.
       *
       * <p>{@code getInstance(Foo.class)} is equivalent to {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/Constants.java

         * you don't want). The second <code>GAV</code> is either fully specified, or also can contain <code>*</code>,
         * then it behaves as "ordinary relocation": the coordinate is preserved from relocated artifact.
         * Finally, if right hand <code>GAV</code> is absent (line looks like <code>GAV&gt;</code>), the left hand matching
         * <code>GAV</code> is banned fully (from resolving).
         * <br/>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jul 25 11:08:20 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.java

        expectAdded(entry(null, v3()));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testMergePresent() {
        assertEquals(
            "Map.merge(present, value, function) should return function result",
            v4(),
            getMap()
                .merge(
                    k0(),
                    v3(),
                    (oldV, newV) -> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/AbstractListeningExecutorService.java

        implements ListeningExecutorService {
      /** Constructor for use by subclasses. */
      public AbstractListeningExecutorService() {}
    
      /**
       * @since 19.0 (present with return type {@code ListenableFutureTask} since 14.0)
       */
      @CanIgnoreReturnValue // TODO(kak): consider removing this
      @Override
      protected final <T extends @Nullable Object> RunnableFuture<T> newTaskFor(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 17:47:46 UTC 2025
    - 3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/FileEntryTest.java

        static Stream<Arguments> nameProvider() {
            return Stream.of(Arguments.of("", "empty string is allowed"), Arguments.of(" ", "single space is preserved"),
                    Arguments.of("复杂名.txt", "unicode name is preserved"), Arguments.of(null, "null name is passed through"));
        }
    
        @ParameterizedTest(name = "getName returns as-set: [{0}] - {1}")
        @MethodSource("nameProvider")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t03/ProjectInheritanceTest.java

     * the final model of the project being assembled. There is no
     * overriding going on amongst the models being used in this test:
     * each model in the lineage is providing a value that is not present
     * anywhere else in the lineage. We are just making sure that values
     * down in the lineage are bubbling up where they should.
     *
     */
    @Deprecated
    @SuppressWarnings("checkstyle:UnusedLocalVariable")
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 2.5K bytes
    - Viewed (0)
Back to top