Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 331 - 340 of 816 for puts (0.02 seconds)

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

        Object oldValue = new Object();
        Object newValue = new Object();
    
        // no entry
        assertEquals(0, segment.count);
        assertThat(segment.put(key, hash, oldValue, false)).isNull();
        assertEquals(1, segment.count);
    
        // same key
        assertThat(segment.put(key, hash, newValue, false)).isEqualTo(oldValue);
        assertEquals(1, segment.count);
        assertThat(segment.get(key, hash)).isEqualTo(newValue);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 36K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        Object oldValue = new Object();
        Object newValue = new Object();
    
        // no entry
        assertEquals(0, segment.count);
        assertThat(segment.put(key, hash, oldValue, false)).isNull();
        assertEquals(1, segment.count);
    
        // same key
        assertThat(segment.put(key, hash, newValue, false)).isEqualTo(oldValue);
        assertEquals(1, segment.count);
        assertThat(segment.get(key, hash)).isEqualTo(newValue);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 36K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/boostdoc/ApiAdminBoostdocAction.java

         *
         * @param body the request body containing updated boost document rule information
         * @return JSON response with result status
         */
        // PUT /api/admin/boostdoc/setting
        @Execute
        public JsonResponse<ApiResult> put$setting(final EditBody body) {
            validateApi(body, messages -> {});
            body.crudMode = CrudMode.EDIT;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/graph/FilteredProjectDependencyGraph.java

                    Objects.requireNonNull(projectDependencyGraph, "projectDependencyGraph cannot be null");
            this.whiteList = new IdentityHashMap<>();
            for (MavenProject project : whiteList) {
                this.whiteList.put(project, null);
            }
            this.sortedProjects = projectDependencyGraph.getSortedProjects().stream()
                    .filter(this.whiteList::containsKey)
                    .toList();
        }
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jun 19 16:34:39 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/ImmutableMap.java

         * put more than once, {@link #buildOrThrow} will fail, while {@link #buildKeepingLast} will
         * keep the last value put for that key.
         *
         * @since 11.0
         */
        @CanIgnoreReturnValue
        public Builder<K, V> put(Entry<? extends K, ? extends V> entry) {
          return put(entry.getKey(), entry.getValue());
        }
    
        /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 44.7K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/HttpMethod.kt

        (
          method == "POST" ||
            method == "PATCH" ||
            method == "PUT" ||
            method == "DELETE" ||
            method == "MOVE"
        )
    
      @JvmStatic // Despite being 'internal', this method is called by popular 3rd party SDKs.
      fun requiresRequestBody(method: String): Boolean =
        (
          method == "POST" ||
            method == "PUT" ||
            method == "PATCH" ||
            method == "PROPPATCH" ||
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Oct 03 17:41:45 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/AbstractMavenTransferListener.java

            String darkOff = MessageUtils.isColorEnabled() ? ANSI_DARK_RESET : "";
    
            String action = event.getRequestType() == TransferEvent.RequestType.PUT ? "Uploading" : "Downloading";
            String direction = event.getRequestType() == TransferEvent.RequestType.PUT ? "to" : "from";
    
            TransferResource resource = event.getResource();
            StringBuilder message = new StringBuilder();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Apr 22 22:13:51 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  8. android/guava-testlib/test/com/google/common/collect/testing/SafeTreeMapTest.java

                        NavigableMap<String, String> map = new SafeTreeMap<>(Ordering.natural());
                        for (Entry<String, String> entry : entries) {
                          map.put(entry.getKey(), entry.getValue());
                        }
                        return map;
                      }
                    })
                .withFeatures(
                    CollectionSize.ANY,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  9. guava-testlib/test/com/google/common/collect/testing/SafeTreeMapTest.java

                        NavigableMap<String, String> map = new SafeTreeMap<>(Ordering.natural());
                        for (Entry<String, String> entry : entries) {
                          map.put(entry.getKey(), entry.getValue());
                        }
                        return map;
                      }
                    })
                .withFeatures(
                    CollectionSize.ANY,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/suggest/settings/ArraySettingsTest.java

        @BeforeClass
        public static void beforeClass() throws Exception {
            runner = new OpenSearchRunner();
            runner.onBuild((number, settingsBuilder) -> {
                settingsBuilder.put("http.cors.enabled", true);
                settingsBuilder.put("discovery.type", "single-node");
            })
                    .build(newConfigs().clusterName("ArraySettingsTest")
                            .numOfNode(1)
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Nov 23 13:04:17 GMT 2025
    - 3.4K bytes
    - Click Count (1)
Back to Top