Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 628 for VALID (0.02 seconds)

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

  1. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

            // When
            boolean valid = response.isValid(mockContext, mockRequest);
    
            // Then
            assertTrue(valid);
            assertEquals(DialectVersion.SMB311, response.getSelectedDialect());
        }
    
        @Test
        @DisplayName("Should fail validation when not received")
        void testIsValidNotReceived() {
            // When
            boolean valid = response.isValid(mockContext, mockRequest);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 32.5K bytes
    - Click Count (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/CharUtilTest.java

        public void test_isUrlChar_extendedAscii() {
            // Test extended ASCII characters (not valid URL chars without encoding)
            assertFalse(CharUtil.isUrlChar('\u00A0')); // non-breaking space
            assertFalse(CharUtil.isUrlChar('\u00FF')); // ÿ
        }
    
        public void test_isUrlChar_unicode() {
            // Test Unicode characters (not valid URL chars without encoding)
            assertFalse(CharUtil.isUrlChar('\u3042')); // あ (Hiragana)
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  3. cmd/object-api-options.go

    		default:
    			apiErr = toAPIError(ctx, vErr)
    		}
    		valid = false
    		return opts, valid
    	}
    
    	opts.MaxParts, err = parseIntHeader(bucket, object, r.Header, xhttp.AmzMaxParts)
    	if err != nil {
    		apiErr = toAPIError(ctx, err)
    		argumentName = strings.ToLower(xhttp.AmzMaxParts)
    		valid = false
    		return opts, valid
    	}
    
    	if opts.MaxParts == 0 {
    		opts.MaxParts = maxPartsList
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/net/HostSpecifier.java

       * parsing fails. Always use this method in preference to {@link #fromValid(String)} for a
       * specifier that is not already known to be valid.
       *
       * @throws ParseException if the specifier is not valid.
       */
      @CanIgnoreReturnValue // TODO(b/219820829): consider removing
      public static HostSpecifier from(String specifier) throws ParseException {
        try {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 6K bytes
    - Click Count (0)
  5. internal/jwt/parser.go

    func (c *StandardClaims) SetAccessKey(accessKey string) {
    	c.Subject = accessKey
    	c.AccessKey = accessKey
    }
    
    // Valid - implements https://godoc.org/github.com/golang-jwt/jwt#Claims compatible
    // claims interface, additionally validates "accessKey" fields.
    func (c *StandardClaims) Valid() error {
    	if err := c.StandardClaims.Valid(); err != nil {
    		return err
    	}
    
    	if c.AccessKey == "" && c.Subject == "" {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  6. tests/test_additional_responses_bad.py

                        # but since the key is not valid, openapi.utils.get_openapi will raise ValueError
                        "hello": {"description": "Not a valid additional response"},
                        "200": {
                            "description": "Successful Response",
                            "content": {"application/json": {"schema": {}}},
                        },
                    },
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 1.1K bytes
    - Click Count (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/RequestHeader.java

         */
        public void setValue(final String value) {
            this.value = value;
        }
    
        /**
         * Checks if the request header is valid.
         * A header is considered valid if its name is not blank and its value is not null.
         * @return true if the header is valid, false otherwise.
         */
        public boolean isValid() {
            if (StringUtil.isBlank(name) || value == null) {
                return false;
            }
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 3K bytes
    - Click Count (0)
  8. soft_delete.go

    func (n DeletedAt) Value() (driver.Value, error) {
    	if !n.Valid {
    		return nil, nil
    	}
    	return n.Time, nil
    }
    
    func (n DeletedAt) MarshalJSON() ([]byte, error) {
    	if n.Valid {
    		return json.Marshal(n.Time)
    	}
    	return json.Marshal(nil)
    }
    
    func (n *DeletedAt) UnmarshalJSON(b []byte) error {
    	if string(b) == "null" {
    		n.Valid = false
    		return nil
    	}
    	err := json.Unmarshal(b, &n.Time)
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Wed Feb 01 06:40:55 GMT 2023
    - 4.5K bytes
    - Click Count (1)
  9. internal/crypto/sse_test.go

    	}
    }
    
    var ssecUnsealObjectKeyTests = []struct {
    	Headers        http.Header
    	Bucket, Object string
    	Metadata       map[string]string
    
    	ExpectedErr error
    }{
    	{ // 0 - Valid HTTP headers and valid metadata entries for bucket/object
    		Headers: http.Header{
    			"X-Amz-Server-Side-Encryption-Customer-Algorithm": []string{"AES256"},
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 8.4K bytes
    - Click Count (0)
  10. schema/field_test.go

    		deletedAt     = mytime(time.Now())
    		isAdmin       = mybool(false)
    		user          = AdvancedDataTypeUser{
    			ID:           sql.NullInt64{Int64: 10, Valid: true},
    			Name:         &sql.NullString{String: name, Valid: true},
    			Birthday:     sql.NullTime{Time: time.Now(), Valid: true},
    			RegisteredAt: mytime(time.Now()),
    			DeletedAt:    &deletedAt,
    			Active:       mybool(true),
    			Admin:        &isAdmin,
    		}
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sat Feb 19 09:02:53 GMT 2022
    - 12.7K bytes
    - Click Count (0)
Back to Top