Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 274 for mkbuiltin (1.59 sec)

  1. src/cmd/compile/internal/syntax/type.go

    	exprFlags
    }
    
    type exprFlags uint16
    
    func (f exprFlags) IsVoid() bool          { return f&1 != 0 }
    func (f exprFlags) IsType() bool          { return f&2 != 0 }
    func (f exprFlags) IsBuiltin() bool       { return f&4 != 0 } // a language builtin that resembles a function call, e.g., "make, append, new"
    func (f exprFlags) IsValue() bool         { return f&8 != 0 }
    func (f exprFlags) IsNil() bool           { return f&16 != 0 }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/internal/analysisutil/util.go

    			typVal := info.Types[n.Fun]
    			switch {
    			case typVal.IsType():
    				// Type conversion, which is safe.
    			case typVal.IsBuiltin():
    				// Builtin func, conservatively assumed to not
    				// be safe for now.
    				safe = false
    				return false
    			default:
    				// A non-builtin func or method call.
    				// Conservatively assume that all of them have
    				// side effects for now.
    				safe = false
    				return false
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/example_test.go

    // 12:26 | 2                   | value   : int = 2
    
    func mode(tv types2.TypeAndValue) string {
    	switch {
    	case tv.IsVoid():
    		return "void"
    	case tv.IsType():
    		return "type"
    	case tv.IsBuiltin():
    		return "builtin"
    	case tv.IsNil():
    		return "nil"
    	case tv.Assignable():
    		if tv.Addressable() {
    			return "var"
    		}
    		return "mapindex"
    	case tv.IsValue():
    		return "value"
    	default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 28 17:58:07 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  4. releasenotes/notes/otel-builtin-labels.yaml

    zirain <******@****.***> 1718030161 +0800
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 14:36:01 UTC 2024
    - 151 bytes
    - Viewed (0)
  5. src/go/types/example_test.go

    	// 12:26 | 2                   | value   : int = 2
    }
    
    func mode(tv types.TypeAndValue) string {
    	switch {
    	case tv.IsVoid():
    		return "void"
    	case tv.IsType():
    		return "type"
    	case tv.IsBuiltin():
    		return "builtin"
    	case tv.IsNil():
    		return "nil"
    	case tv.Assignable():
    		if tv.Addressable() {
    			return "var"
    		}
    		return "mapindex"
    	case tv.IsValue():
    		return "value"
    	default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/colocate_tpu_copy_with_dynamic_shape.mlir

    // CHECK-LABEL test_tpu_execute
    func.func @test_tpu_execute(%arg0: tensor<!tf_type.string>) {
         %0 = builtin.unrealized_conversion_cast to tensor<2048xi32>
         %1 = builtin.unrealized_conversion_cast to tensor<2048xi32>
         %2 = builtin.unrealized_conversion_cast to tensor<i32>
         %3 = builtin.unrealized_conversion_cast to tensor<i32>
         // CHECK: TPUCopyWithDynamicShape{{.*}}device = "foobar"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 23 00:30:27 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  7. pkg/config/schema/collections/collections.gen.go

    		ProtoPackage: "istio.io/api/security/v1beta1", StatusPackage: "istio.io/api/meta/v1alpha1",
    		ClusterScoped: false,
    		Synthetic:     false,
    		Builtin:       false,
    		ValidateProto: validation.ValidateAuthorizationPolicy,
    	}.MustBuild()
    
    	CertificateSigningRequest = resource.Builder{
    		Identifier: "CertificateSigningRequest",
    		Group:      "certificates.k8s.io",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 31.4K bytes
    - Viewed (0)
  8. pilot/pkg/model/credentials/resource_test.go

    	tests := []struct {
    		name      string
    		namespace string
    		want      string
    	}{
    		{"foo", "ns", "kubernetes-gateway://ns/foo"},
    		{"builtin://", "anything", "builtin://"},
    		{"builtin://extra", "anything", "builtin://"},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			if got := ToKubernetesGatewayResource(tt.namespace, tt.name); got != tt.want {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 28 20:33:15 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  9. pkg/config/schema/collections/collections.agent.gen.go

    		ProtoPackage: "istio.io/api/security/v1beta1", StatusPackage: "istio.io/api/meta/v1alpha1",
    		ClusterScoped: false,
    		Synthetic:     false,
    		Builtin:       false,
    		ValidateProto: validation.ValidateAuthorizationPolicy,
    	}.MustBuild()
    
    	DestinationRule = resource.Builder{
    		Identifier: "DestinationRule",
    		Group:      "networking.istio.io",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  10. test/fixedbugs/issue4252.dir/a.go

    // license that can be found in the LICENSE file.
    
    // A package that redeclares common builtin names.
    package a
    
    var true = 0 == 1
    var false = 0 == 0
    var nil = 1
    
    const append = 42
    
    type error bool
    type int interface{}
    
    func len(interface{}) int32 { return 42 }
    
    func Test() {
    	var array [append]int
    	if true {
    		panic("unexpected builtin true instead of redeclared one")
    	}
    	if !false {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 807 bytes
    - Viewed (0)
Back to top