Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1381 - 1390 of 1,728 for FieldD (0.04 seconds)

  1. docs/zh-hant/docs/tutorial/query-params.md

    ```
    
    ...沒有加上必填的 `needy` 參數,你會看到類似這樣的錯誤:
    
    ```JSON
    {
      "detail": [
        {
          "type": "missing",
          "loc": [
            "query",
            "needy"
          ],
          "msg": "Field required",
          "input": null
        }
      ]
    }
    ```
    
    由於 `needy` 是必填參數,你需要在 URL 中設定它:
    
    ```
    http://127.0.0.1:8000/items/foo-item?needy=sooooneedy
    ```
    
    ...這樣就會成功:
    
    ```JSON
    {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java

                  @SuppressWarnings("ThreadPriorityCheck") // doing our best to test for races
                  public void realRun() {
                    while (!at.compareAndSet(2.0, 3.0)) {
                      Thread.yield();
                    }
                  }
                });
    
        assertTrue(at.compareAndSet(1.0, 2.0));
        awaitTermination(t);
        assertBitEquals(3.0, at.get());
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  3. src/test/java/jcifs/util/transport/TransportTest.java

            void shouldHandleResponseMapOperations() {
                assertEquals(0, transport.getResponseMapSize());
                // Response map is accessible through protected field for testing
                // but we avoid complex interactions here for performance
            }
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  4. docs/ko/docs/advanced/dataclasses.md

    그런 경우 표준 `dataclasses`를 드롭인 대체재인 `pydantic.dataclasses`로 간단히 바꾸면 됩니다:
    
    {* ../../docs_src/dataclasses_/tutorial003_py310.py hl[1,4,7:10,13:16,22:24,27] *}
    
    1. 표준 `dataclasses`에서 `field`를 계속 임포트합니다.
    
    2. `pydantic.dataclasses`는 `dataclasses`의 드롭인 대체재입니다.
    
    3. `Author` dataclass에는 `Item` dataclasses의 리스트가 포함됩니다.
    
    4. `Author` dataclass가 `response_model` 매개변수로 사용됩니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  5. cmd/endpoint.go

    func (endpoint *Endpoint) SetDiskIndex(i int) {
    	endpoint.DiskIdx = i
    }
    
    func isValidURLEndpoint(u *url.URL) bool {
    	// URL style of endpoint.
    	// Valid URL style endpoint is
    	// - Scheme field must contain "http" or "https"
    	// - All field should be empty except Host and Path.
    	isURLOk := (u.Scheme == "http" || u.Scheme == "https") &&
    		u.User == nil && u.Opaque == "" && !u.ForceQuery &&
    		u.RawQuery == "" && u.Fragment == ""
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 34.5K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/cache/LoadingCache.java

     *
     * <p>Implementations of this interface are expected to be thread-safe, and can be safely accessed
     * by multiple concurrent threads.
     *
     * <p>When evaluated as a {@link Function}, a cache yields the same result as invoking {@link
     * #getUnchecked}.
     *
     * @param <K> the type of the cache's keys, which are not permitted to be null
     * @param <V> the type of the cache's values, which are not permitted to be null
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 12:40:22 GMT 2026
    - 8.5K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

            assertEquals((byte) 0xFF, buf[1]);
            assertNull(block.andx, "andx should be cleared when batching prevented");
        }
    
        @Test
        @DisplayName("writeAndXWireFormat chains non-AndX SMB and propagates header fields")
        void testWriteAndXWireFormatChainsPlainSMB() {
            DummyPlainSMB next = new DummyPlainSMB();
            DummyAndXBlock block = new DummyAndXBlock(next);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java

                byte[] buffer = new byte[10];
                int bufferIndex = 2;
                SMBUtil.writeInt2(4, buffer, bufferIndex); // Write structure size = 4
                SMBUtil.writeInt2(0, buffer, bufferIndex + 2); // Reserved field
    
                // When
                int bytesRead = response.readBytesWireFormat(buffer, bufferIndex);
    
                // Then
                assertEquals(4, bytesRead);
            }
    
            @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  9. docs/ko/docs/tutorial/query-params.md

    ```
    
    ...필수 매개변수 `needy`를 넣지 않았기 때문에 아래와 같은 오류를 보게 됩니다:
    
    ```JSON
    {
      "detail": [
        {
          "type": "missing",
          "loc": [
            "query",
            "needy"
          ],
          "msg": "Field required",
          "input": null
        }
      ]
    }
    ```
    
    `needy`는 필수 매개변수이므로 URL에 반드시 설정해줘야 합니다:
    
    ```
    http://127.0.0.1:8000/items/foo-item?needy=sooooneedy
    ```
    
    ...아래처럼 작동합니다:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 5K bytes
    - Click Count (0)
  10. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

          .toUrl()
          .openConnection()
          .getInputStream() // Should succeed.
      }
    
      /**
       * Throttle the request body by sleeping 500ms after every 3 bytes. With a 6-byte request, this
       * should yield one sleep for a total delay of 500ms.
       */
      @Test
      fun throttleRequest() {
        assumeNotWindows()
        server.enqueue(
          MockResponse()
            .throttleBody(3, 500, TimeUnit.MILLISECONDS),
        )
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Jul 03 13:16:34 GMT 2025
    - 22.3K bytes
    - Click Count (0)
Back to Top