Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for isBuiltin (0.15 sec)

  1. src/text/template/exec.go

    	s.at(node)
    	name := node.Ident
    	function, isBuiltin, ok := findFunction(name, s.tmpl)
    	if !ok {
    		s.errorf("%q is not a defined function", name)
    	}
    	return s.evalCall(dot, function, isBuiltin, cmd, name, args, final)
    }
    
    // evalField evaluates an expression like (.Field) or (.Field arg1 arg2).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:22:24 UTC 2024
    - 32K bytes
    - Viewed (0)
  2. src/go/types/api.go

    // IsType reports whether the corresponding expression specifies a type.
    func (tv TypeAndValue) IsType() bool {
    	return tv.mode == typexpr
    }
    
    // IsBuiltin reports whether the corresponding expression denotes
    // a (possibly parenthesized) built-in function.
    func (tv TypeAndValue) IsBuiltin() bool {
    	return tv.mode == builtin
    }
    
    // IsValue reports whether the corresponding expression is a value.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/api.go

    // IsType reports whether the corresponding expression specifies a type.
    func (tv TypeAndValue) IsType() bool {
    	return tv.mode == typexpr
    }
    
    // IsBuiltin reports whether the corresponding expression denotes
    // a (possibly parenthesized) built-in function.
    func (tv TypeAndValue) IsBuiltin() bool {
    	return tv.mode == builtin
    }
    
    // IsValue reports whether the corresponding expression is a value.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 13:48:53 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  4. pilot/pkg/config/kube/crdclient/client.go

    		namespaceFilter = kube.FilterIfEnhancedFilteringEnabled(cl.client)
    	}
    	filter := kubetypes.Filter{ObjectFilter: composeFilters(namespaceFilter, cl.inRevision, extraFilter)}
    
    	var kc kclient.Untyped
    	if s.IsBuiltin() {
    		kc = kclient.NewUntypedInformer(cl.client, gvr, filter)
    	} else {
    		kc = kclient.NewDelayedInformer[controllers.Object](
    			cl.client,
    			gvr,
    			kubetypes.StandardInformer,
    			filter,
    		)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 00:12:28 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  5. src/text/template/funcs.go

    			return false
    		}
    	}
    	return true
    }
    
    // findFunction looks for a function in the template, and global map.
    func findFunction(name string, tmpl *Template) (v reflect.Value, isBuiltin, ok bool) {
    	if tmpl != nil && tmpl.common != nil {
    		tmpl.muFuncs.RLock()
    		defer tmpl.muFuncs.RUnlock()
    		if fn := tmpl.execFuncs[name]; fn.IsValid() {
    			return fn, false, true
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/check.go

    		tv := TypeAndValue{mode, typ, val}
    		stv := syntax.TypeAndValue{Type: typ, Value: val}
    		if tv.IsVoid() {
    			stv.SetIsVoid()
    		}
    		if tv.IsType() {
    			stv.SetIsType()
    		}
    		if tv.IsBuiltin() {
    			stv.SetIsBuiltin()
    		}
    		if tv.IsValue() {
    			stv.SetIsValue()
    		}
    		if tv.IsNil() {
    			stv.SetIsNil()
    		}
    		if tv.Addressable() {
    			stv.SetAddressable()
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  7. api/go1.5.txt

    pkg go/types, method (TypeAndValue) Addressable() bool
    pkg go/types, method (TypeAndValue) Assignable() bool
    pkg go/types, method (TypeAndValue) HasOk() bool
    pkg go/types, method (TypeAndValue) IsBuiltin() bool
    pkg go/types, method (TypeAndValue) IsNil() bool
    pkg go/types, method (TypeAndValue) IsType() bool
    pkg go/types, method (TypeAndValue) IsValue() bool
    pkg go/types, method (TypeAndValue) IsVoid() bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 30 21:14:09 UTC 2015
    - 46.6K bytes
    - Viewed (0)
Back to top