Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 1,036 for puts (0.03 sec)

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

        super(false, true, true, true);
      }
    
      @Override
      TreeBasedTable<String, Integer, Character> makeTable() {
        TreeBasedTable<String, Integer, Character> table = TreeBasedTable.create();
        table.put("a", 1, 'a');
        table.put("z", 1, 'a');
        return table;
      }
    
      @Override
      protected Map<String, Map<Integer, Character>> makePopulatedMap() {
        TreeBasedTable<String, Integer, Character> table = makeTable();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/hash/AbstractStreamingHasher.java

        if (readBuffer.remaining() <= buffer.remaining()) {
          buffer.put(readBuffer);
          munchIfFull();
          return this;
        }
    
        // First add just enough to fill buffer size, and munch that
        int bytesToCopy = bufferSize - buffer.position();
        for (int i = 0; i < bytesToCopy; i++) {
          buffer.put(readBuffer.get());
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReaderTest.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");
                // settingsBuilder.putList("discovery.seed_hosts", "127.0.0.1:9301");
                // settingsBuilder.putList("cluster.initial_master_nodes", "127.0.0.1:9301");
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java

        @Execute
        public JsonResponse<ApiResult> index() {
            final HashMap<String, Object> stats = new HashMap<>();
            stats.put("jvm", getJvmObj());
            stats.put("os", getOsObj());
            stats.put("process", getProcessObj());
            stats.put("engine", getEngineObj());
            stats.put("fs", getFsObj());
            return asJson(new ApiStatsResponse().stats(stats).status(ApiResult.Status.OK).result());
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_body_updates/test_tutorial001_py39.py

            "name": "Baz",
            "description": None,
            "price": 50.2,
            "tax": 10.5,
            "tags": [],
        }
    
    
    @needs_py39
    def test_put(client: TestClient):
        response = client.put(
            "/items/bar", json={"name": "Barz", "price": 3, "description": None}
        )
        assert response.json() == {
            "name": "Barz",
            "description": None,
            "price": 3,
            "tax": 10.5,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Sep 28 04:14:40 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        Object oldValue = new Object();
        Object newValue = new Object();
    
        // no entry
        assertEquals(0, segment.count);
        assertNull(segment.put(key, hash, oldValue, false));
        assertEquals(1, segment.count);
    
        // same key
        assertSame(oldValue, segment.put(key, hash, newValue, false));
        assertEquals(1, segment.count);
        assertSame(newValue, segment.get(key, hash));
    
        // cleared
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        Object oldValue = new Object();
        Object newValue = new Object();
    
        // no entry
        assertEquals(0, segment.count);
        assertNull(segment.put(key, hash, oldValue, false));
        assertEquals(1, segment.count);
    
        // same key
        assertSame(oldValue, segment.put(key, hash, newValue, false));
        assertEquals(1, segment.count);
        assertSame(newValue, segment.get(key, hash));
    
        // cleared
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/HashBiMap.java

        return Maps.valueOrNull(seekByKey(key, smearedHash(key)));
      }
    
      @CanIgnoreReturnValue
      @Override
      @CheckForNull
      public V put(@ParametricNullness K key, @ParametricNullness V value) {
        return put(key, value, false);
      }
    
      @CheckForNull
      private V put(@ParametricNullness K key, @ParametricNullness V value, boolean force) {
        int keyHash = smearedHash(key);
        int valueHash = smearedHash(value);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 24.5K bytes
    - Viewed (0)
  9. 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());
        }
    
        /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 44.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/exentity/CrawlingConfig.java

                paramMap.put(Param.Client.PROXY_HOST, proxyHost);
                paramMap.put(Param.Client.PROXY_PORT, proxyPort);
                final String proxyUsername = fessConfig.getHttpProxyUsername();
                final String proxyPassword = fessConfig.getHttpProxyPassword();
                if (proxyUsername != null && proxyPassword != null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top