Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 1,396 for putA (0.04 seconds)

  1. android/guava-tests/test/com/google/common/graph/MapCacheTest.java

        mapCache.put("A", "A_value");
        mapCache.put("B", "B_value");
        mapCache.put("C", "C_value");
    
        assertThat(mapCache.unmodifiableKeySet()).hasSize(3);
        for (String key : mapCache.unmodifiableKeySet()) {
          assertThat(mapCache.get(key)).isEqualTo(key + "_value");
        }
      }
    
      @Test
      public void testPutNewValue() {
        assertThat(mapCache.put("key", "value")).isNull();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  2. okcurl/src/test/kotlin/okhttp3/curl/MainTest.kt

        assertThat(request.body).isNull()
      }
    
      @Test
      @Throws(IOException::class)
      fun put() {
        val request = fromArgs("-X", "PUT", "-d", "foo", "http://example.com").createRequest()
        assertThat(request.method).isEqualTo("PUT")
        assertThat(request.url.toString()).isEqualTo("http://example.com/")
        assertThat(request.body!!.contentLength()).isEqualTo(3)
      }
    
      @Test
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  3. docs/en/docs/advanced/response-directly.md

    Now, let's see how you could use that to return a custom response.
    
    Let's say that you want to return an <a href="https://en.wikipedia.org/wiki/XML" class="external-link" target="_blank">XML</a> response.
    
    You could put your XML content in a string, put that in a `Response`, and return it:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  4. tests/test_tutorial/test_body_nested_models/test_tutorial001_tutorial002_tutorial003.py

        if mod_name.startswith("tutorial003"):
            tags_expected = IsList("foo", "bar", check_order=False)
        else:
            tags_expected = ["foo", "bar", "foo"]
    
        response = client.put(
            "/items/123",
            json={
                "name": "Foo",
                "description": "A very nice Item",
                "price": 35.4,
                "tax": 3.2,
                "tags": ["foo", "bar", "foo"],
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/StaticJAASConfigurationTest.java

        void customOptions_arePropagated() {
            // Arrange
            Map<String, Object> opts = new HashMap<>();
            opts.put("useKeyTab", "true");
            opts.put("storeKey", "true");
            opts.put("principal", "******@****.***");
            StaticJAASConfiguration cfg = new StaticJAASConfiguration(opts);
    
            // Act
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/dfs/ReferralTest.java

            bb.putShort((short) 52);
    
            bb.position(22);
            bb.put("\\\\path".getBytes(StandardCharsets.UTF_16LE));
            bb.putShort((short) 0);
    
            bb.position(38);
            bb.put("\\\\alt".getBytes(StandardCharsets.UTF_16LE));
            bb.putShort((short) 0);
    
            bb.position(52);
            bb.put("NODE".getBytes(StandardCharsets.UTF_16LE));
            bb.putShort((short) 0);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 22K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/curl/Curl.java

        }
    
        /**
         * Creates a new CurlRequest with the HTTP PUT method for the specified URL.
         *
         * @param url the URL to which the PUT request will be sent
         * @return a new CurlRequest object configured with the PUT method and the specified URL
         */
        public static CurlRequest put(final String url) {
            return new CurlRequest(Method.PUT, url);
        }
    
        /**
    Created: Sat Dec 20 09:13:53 GMT 2025
    - Last Modified: Thu Nov 20 13:34:13 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/core/lang/ClassUtil.java

            primitiveToWrapperMap.put(Boolean.TYPE, Boolean.class);
            primitiveToWrapperMap.put(Character.TYPE, Character.class);
            primitiveToWrapperMap.put(Byte.TYPE, Byte.class);
            primitiveToWrapperMap.put(Short.TYPE, Short.class);
            primitiveToWrapperMap.put(Integer.TYPE, Integer.class);
            primitiveToWrapperMap.put(Long.TYPE, Long.class);
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 25.6K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java

        multimap.put("bar", 2);
        multimap.put("bar", null);
        multimap.put("foo", null);
        multimap.put("foo", 4);
        multimap.put(null, -1);
        multimap.put("bar", 3);
        multimap.put("bar", 1);
        multimap.put("foo", 1);
    
        assertEquals(
            "{foo=[3, -1, 2, null, 4, 1], null=[null, 0, -1], bar=[1, 2, null, 3]}",
            multimap.toString());
      }
    
      public void testPutMultimapOrdered() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 16.5K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/collect/TreeBasedTableRowMapInterfaceTest.java

        table.put("a", "b", "c");
        table.put("c", "b", "a");
        table.put("a", "a", "d");
        return table.row("b");
      }
    
      @Override
      protected SortedMap<String, String> makePopulatedMap() {
        TreeBasedTable<String, String, String> table = TreeBasedTable.create();
        table.put("a", "b", "c");
        table.put("c", "b", "a");
        table.put("b", "b", "x");
        table.put("b", "c", "y");
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2.3K bytes
    - Click Count (0)
Back to Top