Search Options

Results per page
Sort
Preferred Languages
Advance

Results 471 - 480 of 804 for valid2 (0.04 sec)

  1. android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

                UnsignedInts.parseUnsignedInt(overflowAsString, radix);
              });
        }
      }
    
      public void testParseIntThrowsExceptionForInvalidRadix() {
        // Valid radix values are Character.MIN_RADIX to Character.MAX_RADIX,
        // inclusive.
        //
        // Note: According to the spec, a NumberFormatException is thrown for a number that is not
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  2. cmd/utils_test.go

    	}
    	u, err := url.Parse(urlStr)
    	if err != nil {
    		return nil, fmt.Errorf("`%s` invalid: %s", urlStr, err.Error())
    	}
    	return u, nil
    }
    
    // TestCheckURL tests valid url.
    func TestCheckURL(t *testing.T) {
    	testCases := []struct {
    		urlStr     string
    		shouldPass bool
    	}{
    		{"", false},
    		{":", false},
    		{"http://localhost/", true},
    		{"http://127.0.0.1/", true},
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/NetbiosNameTest.java

        @Test
        @DisplayName("Should handle interface method contracts")
        void testMethodContracts() {
            // The interface should allow for various implementations
            // Test that methods can return any valid values
    
            // Names can be any string
            when(mockNetbiosName.getName()).thenReturn("ANYNAME");
            assertNotNull(mockNetbiosName.getName());
    
            // Scope can be null or any string
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactory.java

            }
            if (componentName == null) {
                throw new IllegalStateException(
                        "componentName is not set. Please specify a valid component name for the pooled object factory.");
            }
            if (logger.isDebugEnabled()) {
                logger.debug("Creating new pooled object for component: {}", componentName);
            }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/normalizer/HankakuKanaToZenkakuKana.java

     * String normalized = normalizer.normalize("ガギグゲゴ", "field");
     * System.out.println(normalized); // Outputs: ガギグゲゴ
     * }
     * </pre>
     *
     * <p>Note: This class assumes that the input string contains valid Hankaku Kana characters
     * and does not perform any validation on the input.</p>
     *
     * @see Normalizer
     */
    public class HankakuKanaToZenkakuKana implements Normalizer {
        /**
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 17 14:23:01 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java

            m.ptype = 0; // Request type
            NdrBuffer buf = new NdrBuffer(new byte[1024], 0);
            m.encode(buf);
    
            buf.setIndex(0);
            // Decode will throw exception as ptype 0 is not a valid response type
            assertThrows(NdrException.class, () -> m.decode(buf));
        }
    
        @Test
        void testRoundTripEncodeDecodeForResponseType() throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7K bytes
    - Viewed (0)
  7. docs/en/docs/how-to/custom-request-and-route.md

    But this example is still valid and it shows how to interact with the internal components.
    
    ///
    
    We can also use this same approach to access the request body in an exception handler.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 08:55:32 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  8. fastapi/exceptions.py

        ```
        """
    
        def __init__(
            self,
            code: Annotated[
                int,
                Doc(
                    """
                    A closing code from the
                    [valid codes defined in the specification](https://datatracker.ietf.org/doc/html/rfc6455#section-7.4.1).
                    """
                ),
            ],
            reason: Annotated[
                Union[str, None],
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/extra-data-types.md

    * `Decimal`:
        * O `Decimal` padrão do Python.
        * Em requisições e respostas será representado como um `float`.
    * Você pode checar todos os tipos de dados válidos do Pydantic aqui: <a href="https://docs.pydantic.dev/latest/usage/types/types/" class="external-link" target="_blank">Tipos de dados do Pydantic</a>.
    
    ## Exemplo { #example }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 3K bytes
    - Viewed (0)
  10. tests/migrate_test.go

    	myIndex := &migrator.Index{TableName: table, NameValue: "my_us8_index", ColumnList: []string{"name"}, PrimaryKeyValue: sql.NullBool{Bool: false, Valid: true}, UniqueValue: sql.NullBool{Bool: true, Valid: true}}
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Wed Aug 20 04:51:17 UTC 2025
    - 65.2K bytes
    - Viewed (0)
Back to top