Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 791 - 800 of 973 for parses (0.05 seconds)

  1. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

    import org.junit.jupiter.api.Nested;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.Arguments;
    import org.junit.jupiter.params.provider.CsvSource;
    import org.junit.jupiter.params.provider.MethodSource;
    import org.junit.jupiter.params.provider.ValueSource;
    
    import jcifs.BaseTest;
    import jcifs.Configuration;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.6K bytes
    - Click Count (0)
  2. docs/zh/docs/tutorial/handling-errors.md

                "type": "type_error.integer"
            }
        ]
    }
    ```
    
    将得到如下文本内容:
    
    ```
    Validation errors:
    Field: ('path', 'item_id'), Error: Input should be a valid integer, unable to parse string as an integer
    ```
    
    ### 覆盖 `HTTPException` 错误处理器 { #override-the-httpexception-error-handler }
    
    同理,也可以覆盖 `HTTPException` 的处理器。
    
    例如,只为这些错误返回纯文本响应,而不是 JSON:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 8.2K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

            state == STATE_WRITING_REQUEST_BODY ||
            state == STATE_READ_RESPONSE_HEADERS,
        ) {
          "state: $state"
        }
    
        try {
          val statusLine = StatusLine.parse(headersReader.readLine())
    
          val responseBuilder =
            Response
              .Builder()
              .protocol(statusLine.protocol)
              .code(statusLine.code)
              .message(statusLine.message)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 17.6K bytes
    - Click Count (7)
  4. src/main/java/jcifs/smb/NtlmContext.java

        static {
            try {
                NTLMSSP_OID = new ASN1ObjectIdentifier("1.3.6.1.4.1.311.2.2.10");
            } catch (final IllegalArgumentException e) {
                log.error("Failed to parse OID", e);
            }
        }
    
        private final NtlmPasswordAuthenticator auth;
        private int ntlmsspFlags;
        private final String workstation;
        private boolean isEstablished = false;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 17.3K bytes
    - Click Count (1)
  5. android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

        String[] tests = {
          "0",
          "ffffffffffffffff",
          "7fffffffffffffff",
          "ff1a618b7f65ea12",
          "5a4316b8c153ac4d",
          "6cf78a4b139a4e2a"
        };
        int[] bases = {2, 5, 7, 8, 10, 16};
        for (int base : bases) {
          for (String x : tests) {
            BigInteger xValue = new BigInteger(x, 16);
            long xLong = xValue.longValue(); // signed
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/util/DocumentUtilTest.java

            // CharUtil.isUrlChar treats [ ] as valid URL chars, so they pass through unchanged
            String result = DocumentUtil.encodeUrl("http://example.com/path/[id]/page");
            assertEquals("http://example.com/path/[id]/page", result);
        }
    
        @Test
        public void test_encodeUrl_percentSign() {
            // CharUtil.isUrlChar treats % as valid URL char, so it passes through unchanged
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 01:46:45 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  7. src/archive/tar/strconv_test.go

    		{"0123456789abcdef", 0, false},
    		{"0123456789\x00abcdef", 0, false},
    		{"01234567\x0089abcdef", 342391, true},
    		{"0123\x7e\x5f\x264123", 0, false},
    	}
    
    	for _, v := range vectors {
    		var p parser
    		got := p.parseNumeric([]byte(v.in))
    		ok := (p.err == nil)
    		if ok != v.ok {
    			if v.ok {
    				t.Errorf("parseNumeric(%q): got parsing failure, want success", v.in)
    			} else {
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Sep 11 17:52:43 GMT 2025
    - 15K bytes
    - Click Count (0)
  8. cmd/object-handlers.go

    					ChecksumSHA1:      objInfo.Parts[i].Checksums["SHA1"],
    					ChecksumSHA256:    objInfo.Parts[i].Checksums["SHA256"],
    					ChecksumCRC32:     objInfo.Parts[i].Checksums["CRC32"],
    					ChecksumCRC32C:    objInfo.Parts[i].Checksums["CRC32C"],
    					ChecksumCRC64NVME: objInfo.Parts[i].Checksums["CRC64NVME"],
    					PartNumber:        objInfo.Parts[i].Number,
    					Size:              objInfo.Parts[i].Size,
    				})
    			}
    		}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 120.6K bytes
    - Click Count (0)
  9. fastapi/openapi/docs.py

                            authId: oauth2.auth.name,
                            source: "auth",
                            level: "warning",
                            message: "Authorization may be unsafe, passed state was changed in server. The passed state wasn't returned from auth server."
                        });
                    }
    
                    if (qp.code) {
                        delete oauth2.state;
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 24 09:28:10 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  10. cmd/update_test.go

    		{httpServer3.URL, "", fmt.Errorf("Error downloading URL %s. Response: 404 Not Found", httpServer3.URL)},
    	}
    
    	for _, testCase := range testCases {
    		u, err := url.Parse(testCase.releaseChecksumURL)
    		if err != nil {
    			t.Fatal(err)
    		}
    
    		result, err := downloadReleaseURL(u, 1*time.Second, "")
    		switch {
    		case testCase.expectedErr == nil:
    			if err != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 10.4K bytes
    - Click Count (0)
Back to Top