Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for stringName (0.37 sec)

  1. src/debug/elf/elf.go

    	EV_CURRENT Version = 1
    )
    
    var versionStrings = []intName{
    	{0, "EV_NONE"},
    	{1, "EV_CURRENT"},
    }
    
    func (i Version) String() string   { return stringName(uint32(i), versionStrings, false) }
    func (i Version) GoString() string { return stringName(uint32(i), versionStrings, true) }
    
    // Class is found in Header.Ident[EI_CLASS] and Header.Class.
    type Class byte
    
    const (
    	ELFCLASSNONE Class = 0 /* Unknown class. */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 00:01:16 UTC 2024
    - 134.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/generic.rules

    // string ops
    // Decomposing StringMake and lowering of StringPtr and StringLen
    // happens in a later pass, dec, so that these operations are available
    // to other passes for optimizations.
    (StringPtr (StringMake (Addr <t> {s} base) _)) => (Addr <t> {s} base)
    (StringLen (StringMake _ (Const64 <t> [c]))) => (Const64 <t> [c])
    (ConstString {str}) && config.PtrSize == 4 && str == "" =>
      (StringMake (ConstNil) (Const32 <typ.Int> [0]))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 22:21:05 UTC 2024
    - 135.3K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/_gen/genericOps.go

    	// Complex (part/whole)
    	{name: "ComplexMake", argLength: 2}, // arg0=real, arg1=imag
    	{name: "ComplexReal", argLength: 1}, // real(arg0)
    	{name: "ComplexImag", argLength: 1}, // imag(arg0)
    
    	// Strings
    	{name: "StringMake", argLength: 2},                // arg0=ptr, arg1=len
    	{name: "StringPtr", argLength: 1, typ: "BytePtr"}, // ptr(arg0)
    	{name: "StringLen", argLength: 1, typ: "Int"},     // len(arg0)
    
    	// Interfaces
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/rewritegeneric.go

    	b := v.Block
    	config := b.Func.Config
    	fe := b.Func.fe
    	typ := &b.Func.Config.Types
    	// match: (ConstString {str})
    	// cond: config.PtrSize == 4 && str == ""
    	// result: (StringMake (ConstNil) (Const32 <typ.Int> [0]))
    	for {
    		str := auxToString(v.Aux)
    		if !(config.PtrSize == 4 && str == "") {
    			break
    		}
    		v.reset(OpStringMake)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 18:24:47 UTC 2024
    - 812.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/opGen.go

    	},
    	{
    		name:    "ComplexReal",
    		argLen:  1,
    		generic: true,
    	},
    	{
    		name:    "ComplexImag",
    		argLen:  1,
    		generic: true,
    	},
    	{
    		name:    "StringMake",
    		argLen:  2,
    		generic: true,
    	},
    	{
    		name:    "StringPtr",
    		argLen:  1,
    		generic: true,
    	},
    	{
    		name:    "StringLen",
    		argLen:  1,
    		generic: true,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 1M bytes
    - Viewed (0)
Back to top