Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for stringName (0.18 sec)

  1. src/debug/macho/macho.go

    	{uint32(TypeObj), "Obj"},
    	{uint32(TypeExec), "Exec"},
    	{uint32(TypeDylib), "Dylib"},
    	{uint32(TypeBundle), "Bundle"},
    }
    
    func (t Type) String() string   { return stringName(uint32(t), typeStrings, false) }
    func (t Type) GoString() string { return stringName(uint32(t), typeStrings, true) }
    
    // A Cpu is a Mach-O cpu type.
    type Cpu uint32
    
    const cpuArch64 = 0x01000000
    
    const (
    	Cpu386   Cpu = 7
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 14 00:56:52 UTC 2021
    - 7.6K bytes
    - Viewed (0)
  2. 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)
  3. src/cmd/compile/internal/ssa/_gen/dec.rules

        imag
        (Store {typ.Float64} dst real mem))
    
    // string ops
    (StringPtr (StringMake ptr _)) => ptr
    (StringLen (StringMake _ len)) => len
    
    (Load <t> ptr mem) && t.IsString() =>
      (StringMake
        (Load <typ.BytePtr> ptr mem)
        (Load <typ.Int>
          (OffPtr <typ.IntPtr> [config.PtrSize] ptr)
          mem))
    (Store dst (StringMake ptr len) mem) =>
      (Store {typ.Int}
        (OffPtr <typ.IntPtr> [config.PtrSize] dst)
        len
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:48:31 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/rewritedec.go

    		v2.AuxInt = int64ToAuxInt(8)
    		v2.AddArg(ptr)
    		v1.AddArg2(v2, mem)
    		v.AddArg2(v0, v1)
    		return true
    	}
    	// match: (Load <t> ptr mem)
    	// cond: t.IsString()
    	// result: (StringMake (Load <typ.BytePtr> ptr mem) (Load <typ.Int> (OffPtr <typ.IntPtr> [config.PtrSize] ptr) mem))
    	for {
    		t := v.Type
    		ptr := v_0
    		mem := v_1
    		if !(t.IsString()) {
    			break
    		}
    		v.reset(OpStringMake)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:48:31 UTC 2023
    - 24.9K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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