Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 301 - 310 of 798 for Validation (0.06 seconds)

  1. src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java

    import org.junit.Test;
    
    /**
     * Test class for resource loading functionality in Suggester class.
     *
     * Tests cover:
     * - Successful resource loading
     * - Missing resource error handling
     * - Resource content validation
     * - InputStream null safety in try-with-resources
     */
    public class SuggesterResourceLoadingTest {
    
        /**
         * Test that getDefaultMappings correctly loads and returns mapping resource.
         */
        @Test
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  2. src/test/java/jcifs/SmbResourceLocatorTest.java

     */
    @ExtendWith(MockitoExtension.class)
    public class SmbResourceLocatorTest {
    
        /**
         * A very small concrete implementation used only by the tests. It parses
         * the URL string and performs minimal validation – just enough to make the
         * happy-path expectations deterministic.
         */
        private static class DummySmbResourceLocator implements SmbResourceLocator {
            private final String urlStr;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8K bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/query-params.md

    * Editor support (obviously)
    * Data <dfn title="converting the string that comes from an HTTP request into Python data">"parsing"</dfn>
    * Data validation
    * Automatic documentation
    
    ## Defaults { #defaults }
    
    As query parameters are not a fixed part of a path, they can be optional and can have default values.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4.5K bytes
    - Click Count (0)
  4. fastapi/exceptions.py

            if self.endpoint_path:
                context += f"\n    {self.endpoint_path}"
            return context
    
        def __str__(self) -> str:
            message = f"{len(self._errors)} validation error{'s' if len(self._errors) != 1 else ''}:\n"
            for err in self._errors:
                message += f"  {err}\n"
            message += self._format_endpoint_context()
            return message.rstrip()
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:41:21 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  5. src/main/java/jcifs/pac/PacMac.java

                c = b;
                b = a % b;
                a = c;
            }
            return u * v / a;
        }
    
        /**
         * Calculates a MAC (Message Authentication Code) for PAC data validation.
         * @param type the checksum type to use
         * @param keys map of available Kerberos keys indexed by encryption type
         * @param data the data to calculate the MAC for
         * @return the calculated mac bytes
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 9K bytes
    - Click Count (0)
  6. cmd/batch-job-common-types.go

    	"github.com/dustin/go-humanize"
    	"github.com/minio/pkg/v3/wildcard"
    	"gopkg.in/yaml.v3"
    )
    
    //go:generate msgp -file $GOFILE
    //msgp:ignore BatchJobYamlErr
    
    // BatchJobYamlErr can be used to return yaml validation errors with line,
    // column information guiding user to fix syntax errors
    type BatchJobYamlErr struct {
    	line, col int
    	msg       string
    }
    
    // message returns the error message excluding line, col information.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/net/InetAddresses.java

       * @return {@link InetAddress} representing the argument
       * @throws IllegalArgumentException if the argument is not a valid IP string literal or if the
       *     address has a scope ID that fails validation against the interfaces on the machine (as
       *     required by Java's {@link InetAddress})
       */
      @CanIgnoreReturnValue // TODO(b/219820829): consider removing
      public static InetAddress forString(String ipString) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 47.7K bytes
    - Click Count (0)
  8. docs/ja/docs/tutorial/handling-errors.md

    **FastAPI** にはいくつかのデフォルトの例外ハンドラがあります。
    
    これらのハンドラは、`HTTPException`を`raise`させた場合や、リクエストに無効なデータが含まれている場合にデフォルトのJSONレスポンスを返す役割を担っています。
    
    これらの例外ハンドラを独自のものでオーバーライドすることができます。
    
    ### リクエスト検証の例外のオーバーライド { #override-request-validation-exceptions }
    
    リクエストに無効なデータが含まれている場合、**FastAPI** は内部的に`RequestValidationError`を発生させます。
    
    また、そのためのデフォルトの例外ハンドラも含まれています。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 11.2K bytes
    - Click Count (0)
  9. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

    ///
    
    ```Python
    commons: CommonQueryParams ...
    ```
    
    ////
    
    ...doesn't have any special meaning for **FastAPI**. FastAPI won't use it for data conversion, validation, etc. (as it is using the `Depends(CommonQueryParams)` for that).
    
    You could actually write just:
    
    //// tab | Python 3.10+
    
    ```Python
    commons: Annotated[Any, Depends(CommonQueryParams)]
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:32:12 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/SmbPipeInputStreamTest.java

            assertDoesNotThrow(stream::close);
            verify(handle, never()).ensureOpen();
            verifyNoInteractions(tree, fd);
        }
    
        @Nested
        @DisplayName("Constructor input validation")
        class CtorValidation {
            @Test
            @DisplayName("null handle throws NPE")
            void nullHandle() {
                assertThrows(NullPointerException.class, () -> new SmbPipeInputStream(null, tree));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
Back to Top