Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 1,369 for put (0.12 sec)

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

            TreeMultimap.create(StringLength.COMPARATOR, DECREASING_INT_COMPARATOR);
        multimap.put("google", 2);
        multimap.put("google", 6);
        multimap.put(null, 3);
        multimap.put(null, 1);
        multimap.put(null, 7);
        multimap.put("tree", 0);
        multimap.put("tree", null);
        return multimap;
      }
    
      /** Test that a TreeMultimap created from another uses the natural ordering. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/SimplexTransferListener.java

                        }
                    } catch (TransferCancelledException e) {
                        ongoing.put(new TransferResourceIdentifier(transferEvent.getResource()), Boolean.FALSE);
                    }
                });
            }
        }
    
        private void put(TransferEvent event, boolean last) {
            try {
                Exchange exchange;
                if (blockOnLastEvent && last) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

                    map.put("id", encodeId(objectName));
                    map.put("path", prefix);
                    map.put("name", getName(objectName));
                    map.put("hashCode", item.hashCode());
                    map.put("size", item.size());
                    map.put("directory", item.isDir());
                    if (!item.isDir()) {
                        map.put("lastModified", item.lastModified());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/it/admin/WebConfigTests.java

            requestBody.put(KEY_PROPERTY, keyProp);
            requestBody.put("urls", urls);
            requestBody.put("user_agent", "Mozilla/5.0");
            requestBody.put("num_of_thread", 5);
            requestBody.put("interval_time", 1000);
            requestBody.put("boost", id);
            requestBody.put("available", true);
            requestBody.put("sort_order", id);
            return requestBody;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java

        assertTrue(multimap().put(k0(), v3()));
    
        assertGet(k0(), v0(), v3());
        assertEquals(size + 1, multimap().size());
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutTwoElements() {
        int size = getNumElements();
    
        List<V> values = copyToList(multimap().get(k0()));
    
        assertTrue(multimap().put(k0(), v1()));
        assertTrue(multimap().put(k0(), v2()));
    
        values.add(v1());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java

        assertTrue(multimap().put(k0(), v3()));
    
        assertGet(k0(), v0(), v3());
        assertEquals(size + 1, multimap().size());
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutTwoElements() {
        int size = getNumElements();
    
        List<V> values = copyToList(multimap().get(k0()));
    
        assertTrue(multimap().put(k0(), v1()));
        assertTrue(multimap().put(k0(), v2()));
    
        values.add(v1());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/ReflectionFreeAssertThrows.java

              .put(ClassCastException.class, e -> e instanceof ClassCastException)
              .put(
                  ConcurrentModificationException.class,
                  e -> e instanceof ConcurrentModificationException)
              .put(ExecutionError.class, e -> e instanceof ExecutionError)
              .put(ExecutionException.class, e -> e instanceof ExecutionException)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 7K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/ReflectionFreeAssertThrows.java

              .put(SomeCheckedException.class, e -> e instanceof SomeCheckedException)
              .put(SomeError.class, e -> e instanceof SomeError)
              .put(SomeOtherCheckedException.class, e -> e instanceof SomeOtherCheckedException)
              .put(SomeUncheckedException.class, e -> e instanceof SomeUncheckedException)
              .put(TimeoutException.class, e -> e instanceof TimeoutException)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/it/admin/PathMapTests.java

            final Map<String, Object> requestBody = new HashMap<>();
            final String keyProp = NAME_PREFIX + id;
            requestBody.put(KEY_PROPERTY, keyProp);
            requestBody.put("replacement", "replacement" + id);
            requestBody.put("process_type", "C");
            requestBody.put("sort_order", id);
            return requestBody;
        }
    
        @Override
        protected Map<String, Object> getUpdateMap() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_body_fields/test_tutorial001.py

    
    def test_items_5(client: TestClient):
        response = client.put("/items/5", json={"item": {"name": "Foo", "price": 3.0}})
        assert response.status_code == 200
        assert response.json() == {
            "item_id": 5,
            "item": {"name": "Foo", "price": 3.0, "description": None, "tax": None},
        }
    
    
    def test_items_6(client: TestClient):
        response = client.put(
            "/items/6",
            json={
                "item": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top