Search Options

Results per page
Sort
Preferred Languages
Advance

Results 401 - 410 of 914 for isValid (0.06 sec)

  1. internal/event/targetid.go

    	*tid = *targetID
    	return nil
    }
    
    // parseTargetID - parses string to TargetID.
    func parseTargetID(s string) (*TargetID, error) {
    	tokens := strings.Split(s, ":")
    	if len(tokens) != 2 {
    		return nil, fmt.Errorf("invalid TargetID format '%v'", s)
    	}
    
    	return &TargetID{
    		ID:   tokens[0],
    		Name: tokens[1],
    	}, nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  2. cmd/bucket-policy-handlers_test.go

    		},
    		// Test case - 9.
    		// non-existent bucket is used (with invalid bucket name)
    		// writing BucketPolicy should fail.
    		// should result in 404 StatusNotFound
    		{
    			bucketName:         ".invalid-bucket",
    			bucketPolicyReader: bytes.NewReader([]byte(fmt.Sprintf(bucketPolicyTemplate, ".invalid-bucket", ".invalid-bucket"))),
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  3. tests/soft_delete_test.go

    	sql := DB.Session(&gorm.Session{DryRun: true}).Delete(&user).Statement.SQL.String()
    	if !regexp.MustCompile(`UPDATE .users. SET .deleted_at.=.* WHERE .users.\..id. = .* AND .users.\..deleted_at. IS NULL`).MatchString(sql) {
    		t.Fatalf("invalid sql generated, got %v", sql)
    	}
    
    	sql = DB.Session(&gorm.Session{DryRun: true}).Table("user u").Select("name").Find(&User{}).Statement.SQL.String()
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Feb 01 06:40:55 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

                    parser.setProperty(entry.getKey(), entry.getValue());
                }
            } catch (final Exception e) {
                throw new CrawlerSystemException("Invalid parser configuration.", e);
            }
    
            return parser;
        }
    
        protected String getBaseHref(final Document document) {
            try {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Oct 24 12:16:00 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/SessionRequestPacket.java

                                int bufferIndex )
                                throws IOException {
            int start = bufferIndex;
            if( in.read( buffer, bufferIndex, length ) != length ) {
                throw new IOException( "invalid session request wire format" );
            }
            bufferIndex += calledName.readWireFormat( buffer, bufferIndex );
            bufferIndex += callingName.readWireFormat( buffer, bufferIndex );
            return bufferIndex - start;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 2.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/log/exbhv/ClickLogBhv.java

                    return LocalDateTime.ofInstant(instant, ZoneId.systemDefault());
                } catch (final DateTimeParseException e) {
                    logger.debug("Invalid date format: {}", value, e);
                }
            }
            return DfTypeUtil.toLocalDateTime(value);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. cmd/admin-handlers_test.go

    	}
    	qParamsArr := []url.Values{
    		// Invalid cases
    		mkParams("", true, true),
    		mkParams("111", true, true),
    		mkParams("111", true, false),
    		mkParams("111", false, true),
    		// Valid cases follow
    		mkParams("", true, false),
    		mkParams("", false, true),
    		mkParams("", false, false),
    		mkParams("111", false, false),
    	}
    	varsArr := []map[string]string{
    		// Invalid cases
    		{mgmtPrefix: "objprefix"},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/JdkPrefixProfileActivator.java

                try {
                    return matchJdkVersionRange(jdk);
                } catch (InvalidVersionSpecificationException e) {
                    throw new ProfileActivationException(
                            "Invalid JDK version in profile '" + profile.getId() + "': " + e.getMessage());
                }
            }
    
            boolean reverse = false;
    
            if (jdk.startsWith("!")) {
                reverse = true;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. cmd/sts-handlers.go

    		return
    	}
    
    	durationParam := r.Form.Get(stsDurationSeconds)
    	var requestedDuration int
    	if durationParam != "" {
    		var err error
    		requestedDuration, err = strconv.Atoi(durationParam)
    		if err != nil {
    			writeSTSErrorResponse(ctx, w, ErrSTSInvalidParameterValue, fmt.Errorf("Invalid requested duration: %s", durationParam))
    			return
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 01:29:20 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/ContentLengthHelper.java

            if (StringUtil.isBlank(mimeType)) {
                throw new CrawlerSystemException("MIME type is a blank.");
            }
            if (maxLength < 0) {
                throw new CrawlerSystemException("The value of maxLength is invalid.");
            }
            maxLengthMap.put(mimeType, maxLength);
        }
    
        public long getMaxLength(final String mimeType) {
            if (StringUtil.isBlank(mimeType)) {
                return defaultMaxLength;
            }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top