Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 604 for Ntype (0.04 sec)

  1. src/cmd/compile/internal/typecheck/universe.go

    	"cmd/internal/src"
    )
    
    var (
    	okfor [ir.OEND][]bool
    )
    
    var (
    	okforeq    [types.NTYPE]bool
    	okforadd   [types.NTYPE]bool
    	okforand   [types.NTYPE]bool
    	okfornone  [types.NTYPE]bool
    	okforbool  [types.NTYPE]bool
    	okforcap   [types.NTYPE]bool
    	okforlen   [types.NTYPE]bool
    	okforarith [types.NTYPE]bool
    )
    
    var builtinFuncs = [...]struct {
    	name string
    	op   ir.Op
    }{
    	{"append", ir.OAPPEND},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 15:20:28 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  2. tests/integration/security/normalization_test.go

    			}
    		}
    		percentEncodedCases = append(percentEncodedCases, expect{in: input, out: output})
    	}
    	framework.NewTest(t).
    		Run(func(t framework.TestContext) {
    			cases := []struct {
    				name         string
    				ntype        meshconfig.MeshConfig_ProxyPathNormalization_NormalizationType
    				expectations []expect
    			}{
    				{
    					"None",
    					meshconfig.MeshConfig_ProxyPathNormalization_NONE,
    					[]expect{
    						{"/", "/"},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  3. src/go/ast/walk_test.go

    	// boolean returned by the yield function resulted in the iterator calling
    	// yield for sibling nodes even after yield had returned false. With that
    	// bug, this test failed with a runtime panic.
    	src := "package p\ntype T struct {\n\tF int `json:\"f\"` // a field\n}\n"
    
    	fset := token.NewFileSet()
    	f, err := parser.ParseFile(fset, "", src, 0)
    	if err != nil {
    		panic(err)
    	}
    
    	for n := range ast.Preorder(f) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:34:10 UTC 2024
    - 916 bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types/kind_string.go

    // Code generated by "stringer -type Kind -trimprefix T type.go"; DO NOT EDIT.
    
    package types
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[Txxx-0]
    	_ = x[TINT8-1]
    	_ = x[TUINT8-2]
    	_ = x[TINT16-3]
    	_ = x[TUINT16-4]
    	_ = x[TINT32-5]
    	_ = x[TUINT32-6]
    	_ = x[TINT64-7]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 21:56:38 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types/universe.go

    			CheckSize(typ)
    		}
    		return typ
    	}
    
    	for _, s := range &basicTypes {
    		Types[s.etype] = defBasic(s.etype, BuiltinPkg, s.name)
    	}
    
    	for _, s := range &typedefs {
    		sameas := s.sameas32
    		if PtrSize == 8 {
    			sameas = s.sameas64
    		}
    		SimType[s.etype] = sameas
    
    		Types[s.etype] = defBasic(s.etype, BuiltinPkg, s.name)
    	}
    
    	// We create separate byte and rune types for better error messages
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 21:56:49 UTC 2023
    - 4K bytes
    - Viewed (0)
  6. pkg/bootstrap/option/instances.go

    	return newOption("cluster", value)
    }
    
    func NodeID(value string) Instance {
    	return newOption("nodeID", value)
    }
    
    func NodeType(value string) Instance {
    	ntype := strings.Split(value, "~")[0]
    	return newOption("nodeType", ntype)
    }
    
    func XdsType(value string) Instance {
    	return newOption("xds_type", value)
    }
    
    func Region(value string) Instance {
    	return newOptionOrSkipIfZero("region", value)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:02:38 UTC 2024
    - 9K bytes
    - Viewed (0)
  7. src/internal/xcoff/xcoff.go

    	Rsymndx uint32 // Index into symbol table
    	Rsize   uint8  // Sign and reloc bit len
    	Rtype   uint8  // Toc relocation type
    }
    
    type Reloc64 struct {
    	Rvaddr  uint64 // (virtual) address of reference
    	Rsymndx uint32 // Index into symbol table
    	Rsize   uint8  // Sign and reloc bit len
    	Rtype   uint8  // Toc relocation type
    }
    
    const (
    	R_POS = 0x00 // A(sym) Positive Relocation
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 08 20:36:37 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types/type.go

    }
    
    // Map contains Type fields specific to maps.
    type Map struct {
    	Key  *Type // Key type
    	Elem *Type // Val (elem) type
    
    	Bucket *Type // internal struct type representing a hash bucket
    }
    
    // MapType returns t's extra map-specific fields.
    func (t *Type) MapType() *Map {
    	t.wantEtype(TMAP)
    	return t.extra.(*Map)
    }
    
    // Forward contains Type fields specific to forward types.
    type Forward struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
  9. pkg/model/proxy.go

    )
    
    // NodeType decides the responsibility of the proxy serves in the mesh
    type NodeType string
    
    const (
    	// SidecarProxy type is used for sidecar proxies in the application containers
    	SidecarProxy NodeType = "sidecar"
    
    	// Router type is used for standalone proxies acting as L7/L4 routers
    	Router NodeType = "router"
    
    	// Waypoint type is used for waypoint proxies
    	Waypoint NodeType = "waypoint"
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 17:18:17 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  10. src/go/format/format_test.go

    // The formatted result must look the same as the input for successful tests.
    var tests = []string{
    	// declaration lists
    	`import "go/format"`,
    	"var x int",
    	"var x int\n\ntype T struct{}",
    
    	// statement lists
    	"x := 0",
    	"f(a, b, c)\nvar x int = f(1, 2, 3)",
    
    	// indentation, leading and trailing space
    	"\tx := 0\n\tgo f()",
    	"\tx := 0\n\tgo f()\n\n\n",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 20 03:54:46 UTC 2021
    - 4.5K bytes
    - Viewed (0)
Back to top