Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for IsValid (0.15 sec)

  1. cmd/peer-rest-server.go

    }
    
    // HealthHandler - returns true of health
    func (s *peerRESTServer) HealthHandler(w http.ResponseWriter, r *http.Request) {
    	s.IsValid(w, r)
    }
    
    // VerifyBinary - verifies the downloaded binary is in-tact
    func (s *peerRESTServer) VerifyBinaryHandler(w http.ResponseWriter, r *http.Request) {
    	if !s.IsValid(w, r) {
    		s.writeErrorResponse(w, errors.New("Invalid request"))
    		return
    	}
    
    	if r.ContentLength < 0 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  2. src/go/printer/nodes.go

    	if from := n.Pos(); from.IsValid() {
    		if to := n.End(); to.IsValid() {
    			return p.lineFor(to) - p.lineFor(from) + 1
    		}
    	}
    	return infinity
    }
    
    // bodySize is like nodeSize but it is specialized for *ast.BlockStmt's.
    func (p *printer) bodySize(b *ast.BlockStmt, maxSize int) int {
    	pos1 := b.Pos()
    	pos2 := b.Rbrace
    	if pos1.IsValid() && pos2.IsValid() && p.lineFor(pos1) != p.lineFor(pos2) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 18:53:17 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/windows/security_windows.go

    	if idx >= uint32(sid.SubAuthorityCount()) {
    		panic("sub-authority index out of range")
    	}
    	return *getSidSubAuthority(sid, idx)
    }
    
    // IsValid returns whether the SID has a valid revision and length.
    func (sid *SID) IsValid() bool {
    	return isValidSid(sid)
    }
    
    // Equals compares two SIDs for equality.
    func (sid *SID) Equals(sid2 *SID) bool {
    	return EqualSid(sid, sid2)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  4. src/go/types/expr.go

    func (check *Checker) comparison(x, y *operand, op token.Token, switchCase bool) {
    	// Avoid spurious errors if any of the operands has an invalid type (go.dev/issue/54405).
    	if !isValid(x.typ) || !isValid(y.typ) {
    		x.mode = invalid
    		return
    	}
    
    	if switchCase {
    		op = token.EQL
    	}
    
    	errOp := x  // operand for which error is reported, if any
    	cause := "" // specific error cause, if any
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                    .filter(s -> !requiredValidator.isValid(source.get(s), null)).collect(Collectors.toList()));
        }
    
        default boolean isNonEmptyValue(final Object value) {
            final RequiredValidator requiredValidator = new RequiredValidator();
            return requiredValidator.isValid(value, null);
        }
    
        String getCrawlerDocumentSpaceChars();
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 85K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/expr.go

    func (check *Checker) comparison(x, y *operand, op syntax.Operator, switchCase bool) {
    	// Avoid spurious errors if any of the operands has an invalid type (go.dev/issue/54405).
    	if !isValid(x.typ) || !isValid(y.typ) {
    		x.mode = invalid
    		return
    	}
    
    	if switchCase {
    		op = syntax.Eql
    	}
    
    	errOp := x  // operand for which error is reported, if any
    	cause := "" // specific error cause, if any
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  7. cmd/erasure-object.go

    	freeVersionID := fi.TierFreeVersionID()
    	freeVersionMarker := fi.TierFreeVersion()
    
    	// Update `xl.meta` content on each disks.
    	for index := range metaArr {
    		if metaArr[index].IsValid() {
    			metaArr[index].ModTime = modTime
    			metaArr[index].VersionID = versionID
    			if !metaArr[index].InlineData() {
    				// If the data is not inlined, we may end up incorrectly
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 78.6K bytes
    - Viewed (0)
  8. src/go/parser/parser.go

    func (p *parser) next0() {
    	// Because of one-token look-ahead, print the previous token
    	// when tracing as it provides a more readable output. The
    	// very first token (!p.pos.IsValid()) is not initialized
    	// (it is token.ILLEGAL), so don't print it.
    	if p.trace && p.pos.IsValid() {
    		s := p.tok.String()
    		switch {
    		case p.tok.IsLiteral():
    			p.printTrace(s, p.lit)
    		case p.tok.IsOperator(), p.tok.IsKeyword():
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 20:07:50 UTC 2023
    - 72.2K bytes
    - Viewed (0)
  9. src/go/printer/testdata/parser.go

    func (p *parser) next0() {
    	// Because of one-token look-ahead, print the previous token
    	// when tracing as it provides a more readable output. The
    	// very first token (!p.pos.IsValid()) is not initialized
    	// (it is token.ILLEGAL), so don't print it.
    	if p.trace && p.pos.IsValid() {
    		s := p.tok.String()
    		switch {
    		case p.tok.IsLiteral():
    			p.printTrace(s, p.lit)
    		case p.tok.IsOperator(), p.tok.IsKeyword():
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 20:19:51 UTC 2023
    - 50.5K bytes
    - Viewed (0)
  10. cmd/iam-store.go

    	}
    
    	// When looking for a user's policies, we also check if the user
    	// and the groups they are member of are enabled.
    	u, ok := c.iamUsersMap[name]
    	if ok {
    		if !u.Credentials.IsValid() {
    			return nil, time.Time{}, nil
    		}
    	}
    
    	// For internal IDP regular/service account user accounts, the policy
    	// mapping is iamUserPolicyMap. For STS accounts, the parent user would be
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 75.8K bytes
    - Viewed (0)
Back to top