Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 661 - 670 of 775 for parses (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/zh-hant/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:05:38 GMT 2026
    - 8.3K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java

            try {
                stopwordsFile.reload(null, failingStream);
                fail("Should throw DictionaryException");
            } catch (DictionaryException e) {
                assertTrue(e.getMessage().contains("Failed to parse"));
            }
        }
    
        // Test update with InputStream
        @Test
        public void test_update_withInputStream() throws IOException {
            String content = "new1\n" + "new2\n" + "new3\n";
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18K bytes
    - Click Count (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleUserManualPlugin.java

                    sub.include("**/*.adoc");
                    // Flatten adocs into a single directory
                    sub.eachFile(fcd -> fcd.setRelativePath(RelativePath.parse(true, fcd.getName())));
                });
    
                // From the snippets, filter out files generated if the build contained was ever executed
                task.from(extension.getUserManual().getSnippets(), sub -> {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 12 22:33:18 GMT 2026
    - 17.8K bytes
    - Click Count (0)
  4. cmd/bucket-policy-handlers_test.go

    			accessKey:          credentials.AccessKey,
    			secretKey:          credentials.SecretKey,
    			expectedRespStatus: http.StatusLengthRequired,
    		},
    		// Test case - 4.
    		// setting the readSeeker to `nil`, bucket policy parser will fail.
    		{
    			bucketName:         bucketName,
    			bucketPolicyReader: nil,
    
    			policyLen:          10,
    			accessKey:          credentials.AccessKey,
    			secretKey:          credentials.SecretKey,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 32.9K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java

            writeTestFile("invalid => "); // Invalid format
    
            try {
                charMappingFile.reload(null);
                // If no exception, the file might have been parsed with warnings
                assertTrue(true);
            } catch (Exception e) {
                // Expected for invalid format
                assertTrue(true);
            }
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18.9K bytes
    - Click Count (0)
  6. cmd/test-utils_test.go

    	signature := hex.EncodeToString(sumHMAC(signingKey, []byte(stringToSign)))
    
    	// final Authorization header
    	parts := []string{
    		"AWS4-HMAC-SHA256" + " Credential=" + accessKey + SlashSeparator + scope,
    		"SignedHeaders=" + signedHeaders,
    		"Signature=" + signature,
    	}
    	auth := strings.Join(parts, ", ")
    	req.Header.Set("Authorization", auth)
    
    	return signature, nil
    }
    
    // Returns new HTTP request object.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 77K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/sso/entraid/EntraIdAuthenticatorTest.java

            // Will fail due to null user, but verifies depth check passes
            try {
                authenticator.getParentGroup(null, "test-id", 4);
                // If we reach here without NullPointerException, depth check passed
            } catch (NullPointerException e) {
                // Expected due to null user - depth check passed, processing attempted
                assertTrue(true);
            } catch (Exception e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 19.3K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/base/PreconditionsTest.java

          @Nullable Object firstParam, ImmutableList<Class<?>> sig) {
        Object[] params = new Object[sig.size()];
        params[0] = firstParam;
        if (params.length > 1) {
          params[1] = "";
          if (params.length > 2) {
            // fill in the rest of the array with arbitrary instances
            for (int i = 2; i < params.length; i++) {
              params[i] = ArbitraryInstances.get(sig.get(i));
            }
          }
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 19.1K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/base/PreconditionsTest.java

          @Nullable Object firstParam, ImmutableList<Class<?>> sig) {
        Object[] params = new Object[sig.size()];
        params[0] = firstParam;
        if (params.length > 1) {
          params[1] = "";
          if (params.length > 2) {
            // fill in the rest of the array with arbitrary instances
            for (int i = 2; i < params.length; i++) {
              params[i] = ArbitraryInstances.get(sig.get(i));
            }
          }
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 19.1K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

                        }
                    }
                }
                return null;
            } catch (final Exception e) {
                throw new CrawlingAccessException("Failed to parse " + url, e);
            }
        }
    
        /**
         * Decodes a similar document hash from its compressed and encoded form.
         * Reverses the encoding process applied by encodeSimilarDocHash.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Mar 30 14:27:04 GMT 2026
    - 17.4K bytes
    - Click Count (0)
Back to Top