Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

        map.put(1, "a");
        map.put(4, "b");
        map.put(3, "d");
        map.put(2, "c");
        testHasMapEntriesInOrder(map, 1, "a", 4, "b", 3, "d", 2, "c");
      }
    
      public void testInsertionOrderAfterPutKeyTwice() {
        Map<Integer, String> map = CompactLinkedHashMap.create();
        map.put(1, "a");
        map.put(4, "b");
        map.put(3, "d");
        map.put(2, "c");
        map.put(1, "e");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/PdfExtractorTest.java

            url = null;
            resourceName = null;
            params.put(ExtractData.URL, url);
            params.put(ExtractData.RESOURCE_NAME_KEY, resourceName);
            assertNull(pdfExtractor.getPassword(params));
    
            url = "http://test.com/hoge1.pdf";
            resourceName = null;
            params.put(ExtractData.URL, url);
            params.put(ExtractData.RESOURCE_NAME_KEY, resourceName);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  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