Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for setSlot (0.68 sec)

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

    // returns which VarIDs were modified by the Value's execution.
    func (state *debugState) processValue(v *Value, vSlots []SlotID, vReg *Register) bool {
    	locs := state.currentState
    	changed := false
    	setSlot := func(slot SlotID, loc VarLoc) {
    		changed = true
    		state.changedVars.add(ID(state.slotVars[slot]))
    		state.changedSlots.add(ID(slot))
    		state.currentState.slots[slot] = loc
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 58.4K bytes
    - Viewed (0)
  2. src/time/time.go

    		offset += int(buf[2])
    	}
    
    	*t = Time{}
    	t.wall = uint64(nsec)
    	t.ext = sec
    
    	if offset == -1*60 {
    		t.setLoc(&utcLoc)
    	} else if _, localoff, _, _, _ := Local.lookup(t.unixSec()); offset == localoff {
    		t.setLoc(Local)
    	} else {
    		t.setLoc(FixedZone("", offset))
    	}
    
    	return nil
    }
    
    // TODO(rsc): Remove GobEncoder, GobDecoder, MarshalJSON, UnmarshalJSON in Go 2.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 50.7K bytes
    - Viewed (0)
  3. src/cmd/link/internal/loader/loader.go

    func (l *Loader) SymPlt(s Sym) int32 {
    	if v, ok := l.plt[s]; ok {
    		return v
    	}
    	return -1
    }
    
    // SetPlt sets the PLT offset of symbol i.
    func (l *Loader) SetPlt(i Sym, v int32) {
    	if i >= Sym(len(l.objSyms)) || i == 0 {
    		panic("bad symbol for SetPlt")
    	}
    	if v == -1 {
    		delete(l.plt, i)
    	} else {
    		l.plt[i] = v
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
  4. src/time/format.go

    		name, offset, _, _, _ := local.lookup(t.unixSec())
    		if offset == zoneOffset && (zoneName == "" || name == zoneName) {
    			t.setLoc(local)
    			return t, nil
    		}
    
    		// Otherwise create fake zone to record offset.
    		zoneNameCopy := stringslite.Clone(zoneName) // avoid leaking the input value
    		t.setLoc(FixedZone(zoneNameCopy, zoneOffset))
    		return t, nil
    	}
    
    	if zoneName != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:28 UTC 2024
    - 49.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_composite_functions.cc

        return failure();
      }
    
      for (Operation& inner_op : quantized_func.getBody().front().getOperations()) {
        if (!inner_op.hasAttr(kAttrMapAttribute)) continue;
        inner_op.setLoc(main_op->getLoc());
      }
      return success();
    }
    
    // Get the corresponding quantized function name from the given function name.
    std::string GetQuantizedFunctionName(StringRef func_name,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  6. src/cmd/link/internal/ppc64/asm.go

    		// for writing the entire PLT.  We just need to
    		// reserve 8 bytes for each PLT entry and generate a
    		// JMP_SLOT dynamic relocation for it.
    		//
    		// TODO(austin): ABI v1 is different
    		ldr.SetPlt(s, int32(plt.Size()))
    
    		plt.Grow(plt.Size() + 8)
    		plt.SetSize(plt.Size() + 8)
    
    		rela.AddAddrPlus(ctxt.Arch, plt.Sym(), int64(ldr.SymPlt(s)))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 20:54:08 UTC 2024
    - 63.7K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/lib.go

    	if ldr.SymGot(s) >= 0 {
    		return
    	}
    
    	Adddynsym(ldr, target, syms, s)
    	got := ldr.MakeSymbolUpdater(syms.GOT)
    	ldr.SetGot(s, int32(got.Size()))
    	got.AddUint(target.Arch, 0)
    
    	if target.IsElf() {
    		if target.Arch.PtrSize == 8 {
    			rela := ldr.MakeSymbolUpdater(syms.Rela)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
Back to top