Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 1,487 for put (0.01 seconds)

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

        Multimap<String, Integer> toPut = LinkedListMultimap.create();
        toPut.put("foo", 1);
        toPut.put("bar", 4);
        toPut.put("foo", 2);
        toPut.put("foo", 1);
        toPut.put("bar", 5);
        Multimap<String, Integer> moreToPut = LinkedListMultimap.create();
        moreToPut.put("foo", 6);
        moreToPut.put("bar", 4);
        moreToPut.put("foo", 7);
        moreToPut.put("foo", 2);
    Created: 2026-04-03 12:43
    - Last Modified: 2026-03-13 13:01
    - 24.2K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/net/HttpHeadersTest.java

            ImmutableBiMap.<String, String>builder()
                .put("CDN_LOOP", "CDN-Loop")
                .put("ETAG", "ETag")
                .put("SOURCE_MAP", "SourceMap")
                .put("SEC_CH_UA_WOW64", "Sec-CH-UA-WoW64")
                .put("SEC_WEBSOCKET_ACCEPT", "Sec-WebSocket-Accept")
                .put("SEC_WEBSOCKET_EXTENSIONS", "Sec-WebSocket-Extensions")
                .put("SEC_WEBSOCKET_KEY", "Sec-WebSocket-Key")
    Created: 2026-04-03 12:43
    - Last Modified: 2026-03-12 20:10
    - 4.1K bytes
    - Click Count (0)
  3. internal/store/queuestore_test.go

    	if err != nil {
    		t.Fatal("Failed to create a queue store ", err)
    	}
    	for range 5 {
    		if _, err := store.Put(testItem); err != nil {
    			t.Fatal("Failed to put to queue store ", err)
    		}
    	}
    	// Should not allow 6th Put.
    	if _, err := store.Put(testItem); err == nil {
    		t.Fatalf("Expected to fail with %s, but passes", errLimitExceeded)
    	}
    }
    
    Created: 2026-04-05 19:28
    - Last Modified: 2025-08-29 02:39
    - 10.2K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

            ImmutableSortedMap.<String, Integer>naturalOrder().put("one", 1).build();
        assertMapEquals(map, "one", 1);
      }
    
      public void testBuilder() {
        ImmutableSortedMap<String, Integer> map =
            ImmutableSortedMap.<String, Integer>naturalOrder()
                .put("one", 1)
                .put("two", 2)
                .put("three", 3)
                .put("four", 4)
                .put("five", 5)
                .build();
    Created: 2026-04-03 12:43
    - Last Modified: 2026-03-13 13:01
    - 29.8K bytes
    - Click Count (0)
  5. 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: 2026-04-02 15:34
    - Last Modified: 2025-11-20 13:34
    - 5.9K bytes
    - Click Count (0)
  6. docs/ko/docs/tutorial/body-updates.md

    # Body - 업데이트 { #body-updates }
    
    ## `PUT`으로 교체 업데이트하기 { #update-replacing-with-put }
    
    항목을 업데이트하려면 [HTTP `PUT`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/PUT) 작업을 사용할 수 있습니다.
    
    `jsonable_encoder`를 사용해 입력 데이터를 JSON으로 저장할 수 있는 데이터로 변환할 수 있습니다(예: NoSQL 데이터베이스 사용 시). 예를 들어 `datetime`을 `str`로 변환하는 경우입니다.
    
    {* ../../docs_src/body_updates/tutorial001_py310.py hl[28:33] *}
    
    `PUT`은 기존 데이터를 **대체**해야 하는 데이터를 받는 데 사용합니다.
    
    Created: 2026-04-05 07:19
    - Last Modified: 2026-03-20 14:06
    - 4.8K bytes
    - Click Count (0)
  7. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/kotlindsl/kotlin-compiler-configuration.kt

                        Jsr305Settings(ReportLevel.STRICT, ReportLevel.STRICT)
                    ) { ReportLevel.STRICT },
                )
            )
        )
    
        put(JVMConfigurationKeys.SAM_CONVERSIONS, JvmClosureGenerationScheme.CLASS)
        put(JVMConfigurationKeys.PARAMETERS_METADATA, true)
        put(JVMConfigurationKeys.JVM_TARGET, org.jetbrains.kotlin.config.JvmTarget.JVM_1_8)
    Created: 2026-04-01 11:36
    - Last Modified: 2025-07-08 12:31
    - 2.6K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/hash/MessageDigestHashFunctionTest.java

              .put("MD5", md5())
              .put("SHA", sha1()) // Not the official name, but still works
              .put("SHA1", sha1()) // Not the official name, but still works
              .put("sHa-1", sha1()) // Not the official name, but still works
              .put("SHA-1", sha1())
              .put("SHA-256", sha256())
              .put("SHA-384", sha384())
              .put("SHA-512", sha512())
              .build();
    
    Created: 2026-04-03 12:43
    - Last Modified: 2026-03-19 18:53
    - 4.9K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

        Multimap<String, Integer> toPut = LinkedListMultimap.create();
        toPut.put("foo", 1);
        toPut.put("bar", 4);
        toPut.put("foo", 2);
        toPut.put("foo", 3);
        Multimap<String, Integer> moreToPut = LinkedListMultimap.create();
        moreToPut.put("foo", 6);
        moreToPut.put("bar", 5);
        moreToPut.put("foo", 7);
        ImmutableSetMultimap.Builder<String, Integer> builder = ImmutableSetMultimap.builder();
    Created: 2026-04-03 12:43
    - Last Modified: 2026-03-13 13:01
    - 28.9K bytes
    - Click Count (0)
  10. 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: 2026-04-03 11:42
    - Last Modified: 2025-03-19 19:25
    - 4.3K bytes
    - Click Count (0)
Back to Top