Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 1,369 for put (0.02 sec)

  1. guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

                    return map.entrySet();
                  }
    
                  @Override
                  public @Nullable String put(String key, String value) {
                    checkNotNull(key);
                    return map.put(key, value);
                  }
                };
              }
            },
            "HashMap w/out null keys",
            ALLOWS_NULL_VALUES);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/AbstractCache.java

     *
     * <p>To implement a cache, the programmer needs only to extend this class and provide an
     * implementation for the {@link #put} and {@link #getIfPresent} methods. {@link #getAllPresent} is
     * implemented in terms of {@link #getIfPresent}; {@link #putAll} is implemented in terms of {@link
     * #put}, {@link #invalidateAll(Iterable)} is implemented in terms of {@link #invalidate}. The
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 9.1K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_extra_data_types/test_tutorial001_py310.py

        expected_response.update(
            {
                "start_process": "2018-12-22T14:05:00+00:00",
                "duration": 176_100,
                "item_id": item_id,
            }
        )
        response = client.put(f"/items/{item_id}", json=data)
        assert response.status_code == 200, response.text
        assert response.json() == expected_response
    
    
    @needs_py310
    def test_openapi_schema(client: TestClient):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Apr 19 00:11:40 UTC 2024
    - 7K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

            localCache.put(key, newValue);
            return newValue;
          } catch (Exception e) {
            throw new ExecutionException(e);
          }
        }
    
        @Override
        public @Nullable V getIfPresent(Object key) {
          return localCache.getIfPresent(key);
        }
    
        @Override
        public void put(K key, V value) {
          localCache.put(key, value);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 27 19:19:19 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  5. cmd/admin-handlers-site-replication.go

    	"time"
    
    	"github.com/dustin/go-humanize"
    	"github.com/minio/madmin-go/v3"
    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/minio/mux"
    	"github.com/minio/pkg/v3/policy"
    )
    
    // SiteReplicationAdd - PUT /minio/admin/v3/site-replication/add
    func (a adminAPIHandlers) SiteReplicationAdd(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    	objectAPI, cred := validateAdminReq(ctx, w, r, policy.SiteReplicationAddAction)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/suggest/SuggesterTest.java

            Map<String, String> analyzerMapping = new HashMap<>();
            analyzerMapping.put(FieldNames.ANALYZER_SETTINGS_TYPE, AnalyzerSettings.FIELD_ANALYZER_MAPPING);
            analyzerMapping.put(FieldNames.ANALYZER_SETTINGS_FIELD_NAME, field);
            analyzerMapping.put(FieldNames.ANALYZER_SETTINGS_CONTENTS_ANALYZER, "title_contents_analyzer");
            analyzerMapping.put(FieldNames.ANALYZER_SETTINGS_CONTENTS_READING_ANALYZER, "");
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 37K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/cache/AbstractCache.java

     *
     * <p>To implement a cache, the programmer needs only to extend this class and provide an
     * implementation for the {@link #put} and {@link #getIfPresent} methods. {@link #getAllPresent} is
     * implemented in terms of {@link #getIfPresent}; {@link #putAll} is implemented in terms of {@link
     * #put}, {@link #invalidateAll(Iterable)} is implemented in terms of {@link #invalidate}. The
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 9.1K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

          int initialSize = map.size();
          V oldValue = map.put(keyToPut, valueToPut);
          assertEquals(valueToPut, map.get(keyToPut));
          assertTrue(map.containsKey(keyToPut));
          assertTrue(map.containsValue(valueToPut));
          assertEquals(initialSize + 1, map.size());
          assertNull(oldValue);
        } else {
          assertThrows(UnsupportedOperationException.class, () -> map.put(keyToPut, valueToPut));
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java

            defaultSettings.put(DefaultKeys.INDEX, (settingsId + ".suggest").toLowerCase());
            defaultSettings.put(DefaultKeys.TAG_FIELD_NAME, "label,virtual_host");
            defaultSettings.put(DefaultKeys.ROLE_FIELD_NAME, "role");
            defaultSettings.put(DefaultKeys.LANG_FIELD_NAME, "lang");
            defaultSettings.put(DefaultKeys.PARALLEL_PROCESSING, Boolean.FALSE);
            return defaultSettings;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_additional_status_codes/test_tutorial001_an_py310.py

        return client
    
    
    @needs_py310
    def test_update(client: TestClient):
        response = client.put("/items/foo", json={"name": "Wrestlers"})
        assert response.status_code == 200, response.text
        assert response.json() == {"name": "Wrestlers", "size": None}
    
    
    @needs_py310
    def test_create(client: TestClient):
        response = client.put("/items/red", json={"name": "Chillies"})
        assert response.status_code == 201, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 741 bytes
    - Viewed (0)
Back to top