Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 358 for checkIn (0.14 sec)

  1. src/cmd/compile/internal/types2/call.go

    // expressions on the lhs of an assignment.
    func (check *Checker) useLHS(args ...syntax.Expr) bool { return check.useN(args, true) }
    
    func (check *Checker) useN(args []syntax.Expr, lhs bool) bool {
    	ok := true
    	for _, e := range args {
    		if !check.use1(e, lhs) {
    			ok = false
    		}
    	}
    	return ok
    }
    
    func (check *Checker) use1(e syntax.Expr, lhs bool) bool {
    	var x operand
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  2. src/go/types/call.go

    func (check *Checker) use(args ...ast.Expr) bool { return check.useN(args, false) }
    
    // useLHS is like use, but doesn't "use" top-level identifiers.
    // It should be called instead of use if the arguments are
    // expressions on the lhs of an assignment.
    func (check *Checker) useLHS(args ...ast.Expr) bool { return check.useN(args, true) }
    
    func (check *Checker) useN(args []ast.Expr, lhs bool) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  3. src/go/types/instantiate.go

    	case got > want:
    		qual = "too many"
    	default:
    		return true
    	}
    
    	msg := check.sprintf("%s type arguments for type %s: have %d, want %d", qual, name, got, want)
    	if check != nil {
    		check.error(atPos(pos), WrongTypeArgCount, msg)
    		return false
    	}
    
    	panic(fmt.Sprintf("%v: %s", pos, msg))
    }
    
    func (check *Checker) verify(pos token.Pos, tparams []*TypeParam, targs []Type, ctxt *Context) (int, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  4. cmd/xl-storage-disk-id-check.go

    	for {
    		select {
    		case <-ctx.Done():
    			return
    		case <-t.C:
    			if !monitor() {
    				return
    			}
    		}
    	}
    }
    
    // checkID will check if the disk ID matches the provided ID.
    func (p *xlStorageDiskIDCheck) checkID(wantID string) (err error) {
    	if wantID == "" {
    		return nil
    	}
    	id, err := p.storage.GetDiskID()
    	if err != nil {
    		return err
    	}
    	if id != wantID {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  5. src/go/types/operand.go

    // detailed explanation of the failure (result != ""). The returned error code
    // is only valid if the (first) result is false. The check parameter may be nil
    // if assignableTo is invoked through an exported API call, i.e., when all
    // methods have been type-checked.
    func (x *operand) assignableTo(check *Checker, T Type, cause *string) (bool, Code) {
    	if x.mode == invalid || !isValid(T) {
    		return true, 0 // avoid spurious errors
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 21:17:10 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/instantiate.go

    	case got > want:
    		qual = "too many"
    	default:
    		return true
    	}
    
    	msg := check.sprintf("%s type arguments for type %s: have %d, want %d", qual, name, got, want)
    	if check != nil {
    		check.error(atPos(pos), WrongTypeArgCount, msg)
    		return false
    	}
    
    	panic(fmt.Sprintf("%v: %s", pos, msg))
    }
    
    func (check *Checker) verify(pos syntax.Pos, tparams []*TypeParam, targs []Type, ctxt *Context) (int, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/operand.go

    // detailed explanation of the failure (result != ""). The returned error code
    // is only valid if the (first) result is false. The check parameter may be nil
    // if assignableTo is invoked through an exported API call, i.e., when all
    // methods have been type-checked.
    func (x *operand) assignableTo(check *Checker, T Type, cause *string) (bool, Code) {
    	if x.mode == invalid || !isValid(T) {
    		return true, 0 // avoid spurious errors
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 21:17:10 UTC 2024
    - 11K bytes
    - Viewed (0)
  8. operator/pkg/verifier/verifier.go

    }
    
    func (v *StatusVerifier) reportStatus(crdCount, istioDeploymentCount, daemonSetCount int, err error) error {
    	v.logger.LogAndPrintf("Checked %v custom resource definitions", crdCount)
    	v.logger.LogAndPrintf("Checked %v Istio Deployments", istioDeploymentCount)
    	if daemonSetCount > 0 {
    		v.logger.LogAndPrintf("Checked %v Istio Daemonsets", daemonSetCount)
    	}
    	if istioDeploymentCount == 0 {
    		if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 19:23:44 UTC 2024
    - 15K bytes
    - Viewed (0)
  9. guava/src/com/google/common/io/Closer.java

       * IOException}, {@code RuntimeException}, {@code Error} or a checked exception of the given type.
       * Otherwise, it will be rethrown wrapped in a {@code RuntimeException}. <b>Note:</b> Be sure to
       * declare all of the checked exception types your try block can throw when calling an overload of
       * this method so as to avoid losing the original exception type.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/Closer.java

       * IOException}, {@code RuntimeException}, {@code Error} or a checked exception of the given type.
       * Otherwise, it will be rethrown wrapped in a {@code RuntimeException}. <b>Note:</b> Be sure to
       * declare all of the checked exception types your try block can throw when calling an overload of
       * this method so as to avoid losing the original exception type.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top