Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 1,369 for put (0.02 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java

        assertEquals(0L, map.get(key));
        assertFalse(map.containsKey(key));
    
        assertEquals(0L, map.put(key, value));
        assertEquals(value, map.get(key));
    
        assertEquals(value, map.put(key, 0L));
        assertEquals(0L, map.get(key));
        assertTrue(map.containsKey(key));
    
        assertEquals(0L, map.put(key, value));
        assertEquals(value, map.get(key));
      }
    
      public void testPutAll() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/entity/FacetQueryView.java

                        if (resources.containsKey(key)) {
                            queryMap.put(key, value);
                        } else {
                            queryMap.put(fileType.toUpperCase(Locale.ROOT), value);
                        }
                    }
                }
                queryMap.remove("labels.facet_filetype_others");
                queryMap.put("labels.facet_filetype_others", "filetype:others");
                if (logger.isDebugEnabled()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/TablesTransformValuesColumnTest.java

      }
    
      @Override
      protected Map<String, Integer> makePopulatedMap() {
        Table<String, Character, Integer> table = HashBasedTable.create();
        table.put("one", 'a', 1);
        table.put("two", 'a', 2);
        table.put("three", 'a', 3);
        table.put("four", 'b', 4);
        return transformValues(table, DIVIDE_BY_2).column('a');
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/UnmodifiableTableRowTest.java

      }
    
      @Override
      protected Map<String, Integer> makePopulatedMap() {
        Table<Character, String, Integer> table = HashBasedTable.create();
        table.put('a', "one", 1);
        table.put('a', "two", 2);
        table.put('a', "three", 3);
        table.put('b', "four", 4);
        return unmodifiableTable(table).row('a');
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. test-site/app/Global.java

                settingsBuilder.put("http.cors.enabled", true);
                settingsBuilder.put("index.number_of_shards", 1);
                settingsBuilder.put("index.number_of_replicas", 0);
                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: Sat Feb 23 14:02:03 UTC 2019
    - 2.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        Object three = new Object();
        Object four = new Object();
        Object five = new Object();
    
        map.put(one, two);
        ticker.advance(1);
        map.put(two, three);
        ticker.advance(1);
        map.put(three, four);
        assertTrue(listener.isEmpty());
        ticker.advance(1);
        map.put(four, five);
        assertNotified(listener, one, two, RemovalCause.EXPIRED);
    
        assertTrue(listener.isEmpty());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/mylasta/direction/FessEnv.java

                defaultMap.put(FessEnv.lasta_di_SMART_DEPLOY_MODE, "warm");
                defaultMap.put(FessEnv.DEVELOPMENT_HERE, "true");
                defaultMap.put(FessEnv.ENVIRONMENT_TITLE, "Local Development");
                defaultMap.put(FessEnv.FRAMEWORK_DEBUG, "false");
                defaultMap.put(FessEnv.TIME_ADJUST_TIME_MILLIS, "0");
                defaultMap.put(FessEnv.MAIL_SEND_MOCK, "true");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  8. docs/ja/docs/tutorial/body-updates.md

    ## `PUT`による置換での更新
    
    項目を更新するには<a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/PUT" class="external-link" target="_blank">HTTPの`PUT`</a>操作を使用することができます。
    
    `jsonable_encoder`を用いて、入力データをJSON形式で保存できるデータに変換することができます(例:NoSQLデータベース)。例えば、`datetime`を`str`に変換します。
    
    ```Python hl_lines="30 31 32 33 34 35"
    {!../../docs_src/body_updates/tutorial001.py!}
    ```
    
    既存のデータを置き換えるべきデータを受け取るために`PUT`は使用されます。
    
    ### 置換についての注意
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/CollectCollectors.java

          Function<? super T, ? extends V> valueFunction) {
        checkNotNull(keyFunction);
        checkNotNull(valueFunction);
        return Collector.of(
            ImmutableMap.Builder<K, V>::new,
            (builder, input) -> builder.put(keyFunction.apply(input), valueFunction.apply(input)),
            ImmutableMap.Builder::combine,
            ImmutableMap.Builder::buildOrThrow);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_body_multiple_params/test_tutorial001.py

            },
            "q": "bar",
        }
    
    
    def test_post_no_body_q_bar(client: TestClient):
        response = client.put("/items/5?q=bar", json=None)
        assert response.status_code == 200
        assert response.json() == {"item_id": 5, "q": "bar"}
    
    
    def test_post_no_body(client: TestClient):
        response = client.put("/items/5", json=None)
        assert response.status_code == 200
        assert response.json() == {"item_id": 5}
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top