Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for symaddr (0.21 sec)

  1. src/cmd/compile/internal/ssa/op.go

    // A SymEffect describes the effect that an SSA Value has on the variable
    // identified by the symbol in its Aux field.
    type SymEffect int8
    
    const (
    	SymRead SymEffect = 1 << iota
    	SymWrite
    	SymAddr
    
    	SymRdWr = SymRead | SymWrite
    
    	SymNone SymEffect = 0
    )
    
    // A Sym represents a symbolic offset from a base register.
    // Currently a Sym can be one of 3 things:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 15:29:10 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  2. src/cmd/link/internal/loader/loader.go

    	if v {
    		l.attrUsedInIface.Set(i)
    	} else {
    		l.attrUsedInIface.Unset(i)
    	}
    }
    
    // SymAddr checks that a symbol is reachable, and returns its value.
    func (l *Loader) SymAddr(i Sym) int64 {
    	if !l.AttrReachable(i) {
    		panic("unreachable symbol in symaddr")
    	}
    	return l.values[i]
    }
    
    // AttrNotInSymbolTable returns true for symbols that should not be
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/macho.go

    				symtab.AddUint8(0)
    			} else {
    				symtab.AddUint8(uint8(ldr.SymSect(o).Extnum))
    			}
    			symtab.AddUint16(ctxt.Arch, 0) // desc
    			symtab.AddUintXX(ctxt.Arch, uint64(ldr.SymAddr(s)), ctxt.Arch.PtrSize)
    		}
    	}
    }
    
    func machodysymtab(ctxt *Link, base int64) {
    	ml := newMachoLoad(ctxt.Arch, LC_DYSYMTAB, 18)
    
    	n := 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/opGen.go

    		rematerializeable: true,
    		symEffect:         SymAddr,
    		reg: regInfo{
    			inputs: []inputInfo{
    				{0, 65791}, // AX CX DX BX SP BP SI DI SB
    			},
    			outputs: []outputInfo{
    				{0, 239}, // AX CX DX BX BP SI DI
    			},
    		},
    	},
    	{
    		name:        "LEAL1",
    		auxType:     auxSymOff,
    		argLen:      2,
    		commutative: true,
    		symEffect:   SymAddr,
    		reg: regInfo{
    			inputs: []inputInfo{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 1M bytes
    - Viewed (0)
  5. src/cmd/compile/internal/liveness/plive.go

    	// This also prevents a variable from "coming back from the dead" and presenting
    	// stale pointers to the garbage collector. See issue 28445.
    	if e&(ssa.SymRead|ssa.SymAddr) != 0 {
    		effect |= uevar
    	}
    	if e&ssa.SymWrite != 0 {
    		if !isfat(n.Type()) || v.Op == ssa.OpVarDef {
    			effect |= varkill
    		} else if lv.conservativeWrites {
    			effect |= uevar
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 15:22:22 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  6. src/cmd/link/internal/ld/data.go

    	ldr.SetAttrLocal(s, true)
    	ctxt.xdefine("runtime.egcdata", sym.SRODATA, ldr.SymAddr(s)+ldr.SymSize(s))
    	ldr.SetSymSect(ldr.LookupOrCreateSym("runtime.egcdata", 0), ldr.SymSect(s))
    
    	s = ldr.LookupOrCreateSym("runtime.gcbss", 0)
    	ldr.SetAttrLocal(s, true)
    	ctxt.xdefine("runtime.egcbss", sym.SRODATA, ldr.SymAddr(s)+ldr.SymSize(s))
    	ldr.SetSymSect(ldr.LookupOrCreateSym("runtime.egcbss", 0), ldr.SymSect(s))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/rewrite.go

    			continue
    		}
    		if v.Type.IsTuple() && v.Type.FieldType(1).IsMemory() {
    			// We could handle this situation however it is likely
    			// to be very rare.
    			return false
    		}
    		if v.Op.SymEffect()&SymAddr != 0 {
    			// This case prevents an operation that calculates the
    			// address of a local variable from being forced to schedule
    			// before its corresponding VarDef.
    			// See issue 28445.
    			//   v1 = LOAD ...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  8. src/net/resolverdialfunc_test.go

    	n = len(tcpRes) - 2
    	tcpRes[0] = byte(n >> 8)
    	tcpRes[1] = byte(n)
    	a.rbuf.Write(tcpRes[2:])
    
    	return len(packet), nil
    }
    
    type someaddr struct{}
    
    func (someaddr) Network() string { return "unused" }
    func (someaddr) String() string  { return "unused-someaddr" }
    
    func mapRCode(err error) dnsmessage.RCode {
    	switch err {
    	case nil:
    		return dnsmessage.RCodeSuccess
    	case ErrNotExist:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  9. cmd/net_test.go

    		t.Run("", func(t *testing.T) {
    			sameAddr, err := sameLocalAddrs(testCase.addr1, testCase.addr2)
    			if testCase.expectedErr != nil && err == nil {
    				t.Errorf("should fail but succeeded")
    			}
    			if testCase.expectedErr == nil && err != nil {
    				t.Errorf("should succeed but failed with %v", err)
    			}
    			if err == nil {
    				if sameAddr != testCase.sameAddr {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 19 08:43:09 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  10. pkg/proxy/util/localdetector.go

    		nftFamily = "ip6"
    	}
    
    	return &detectLocal{
    		ifLocal:       []string{"-s", cidr},
    		ifNotLocal:    []string{"!", "-s", cidr},
    		ifLocalNFT:    []string{nftFamily, "saddr", cidr},
    		ifNotLocalNFT: []string{nftFamily, "saddr", "!=", cidr},
    	}
    }
    
    // NewDetectLocalByBridgeInterface returns a LocalTrafficDetector that considers traffic
    // from interfaceName to be from a local pod, and traffic from other interfaces to be
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 15:34:37 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top