Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for trsOff (0.09 sec)

  1. src/cmd/link/internal/riscv64/asm.go

    		}
    		trs := tr.Sym()
    		if ldr.SymValue(trs) != 0 && ldr.SymType(trs) != sym.SDYNIMPORT && ldr.SymType(trs) != sym.SUNDEFEXT {
    			trsOff := ldr.SymValue(trs) + tr.Add() - pc
    			if trsOff >= -(1<<20) && trsOff < (1<<20) {
    				r.SetType(objabi.R_RISCV_JAL)
    				r.SetSym(trs)
    				r.SetAdd(tr.Add())
    				rs = trs
    			}
    		}
    
    	}
    
    	if target.IsExternal() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 01 08:06:08 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  2. src/image/gif/writer.go

    func (e *encoder) colorTablesMatch(localLen, transparentIndex int) bool {
    	localSize := 3 * localLen
    	if transparentIndex >= 0 {
    		trOff := 3 * transparentIndex
    		return bytes.Equal(e.globalColorTable[:trOff], e.localColorTable[:trOff]) &&
    			bytes.Equal(e.globalColorTable[trOff+3:localSize], e.localColorTable[trOff+3:localSize])
    	}
    	return bytes.Equal(e.globalColorTable[:localSize], e.localColorTable[:localSize])
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:38:09 UTC 2024
    - 11.9K bytes
    - Viewed (0)
Back to top