Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for relocs (0.31 sec)

  1. src/cmd/link/internal/ld/data.go

    	// A trampoline does not need any dependent trampolines.
    	if thearch.Trampoline == nil || isTramp {
    		return 0
    	}
    
    	n := uint64(0)
    	relocs := ldr.Relocs(s)
    	for ri := 0; ri < relocs.Count(); ri++ {
    		r := relocs.At(ri)
    		if r.Type().IsDirectCallOrJump() {
    			n++
    		}
    	}
    
    	switch {
    	case ctxt.IsARM():
    		return n * 20 // Trampolines in ARM range from 3 to 5 instructions.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/x86/asm6.go

    	nrelocs0 := len(s.R)
    	for {
    		// This loop continues while there are reasons to re-assemble
    		// whole block, like the presence of long forward jumps.
    		reAssemble := false
    		for i := range s.R[nrelocs0:] {
    			s.R[nrelocs0+i] = obj.Reloc{}
    		}
    		s.R = s.R[:nrelocs0] // preserve marker relocations generated by the compiler
    		s.P = s.P[:0]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  3. src/debug/elf/elf.go

    	PT_GNU_EH_FRAME ProgType = 0x6474e550 /* Frame unwind information */
    	PT_GNU_STACK    ProgType = 0x6474e551 /* Stack flags */
    	PT_GNU_RELRO    ProgType = 0x6474e552 /* Read only after relocs */
    	PT_GNU_PROPERTY ProgType = 0x6474e553 /* GNU property */
    	PT_GNU_MBIND_LO ProgType = 0x6474e555 /* Mbind segments start */
    	PT_GNU_MBIND_HI ProgType = 0x6474f554 /* Mbind segments finish */
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 00:01:16 UTC 2024
    - 134.6K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/arm64/asm7.go

    			c.ctxt.Diag("invalid offset on MOVW $tlsvar")
    		}
    
    	case 70: /* IE model movd $tlsvar, reg -> adrp REGTMP, 0; ldr reg, [REGTMP, #0] + relocs */
    		o1 = ADR(1, 0, REGTMP)
    		o2 = c.olsr12u(p, c.opldr(p, AMOVD), 0, REGTMP, p.To.Reg)
    		rel := obj.Addrel(c.cursym)
    		rel.Off = int32(c.pc)
    		rel.Siz = 8
    		rel.Sym = p.From.Sym
    		rel.Add = 0
    		rel.Type = objabi.R_ARM64_TLS_IE
    		if p.From.Offset != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 201.1K bytes
    - Viewed (0)
  5. src/reflect/all_test.go

    	}
    	v := ValueOf(S{})
    	if allocs := testing.AllocsPerRun(100, func() { v.Interface() }); allocs > 0 {
    		t.Error("allocs:", allocs)
    	}
    }
    
    func TestAllocsInterfaceSmall(t *testing.T) {
    	if testing.Short() {
    		t.Skip("skipping malloc count in short mode")
    	}
    	v := ValueOf(int64(0))
    	if allocs := testing.AllocsPerRun(100, func() { v.Interface() }); allocs > 0 {
    		t.Error("allocs:", allocs)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/s390x/asmz.go

    	buffer := make([]byte, 0)
    	changed := true
    	loop := 0
    	nrelocs0 := len(c.cursym.R)
    	for changed {
    		if loop > 100 {
    			c.ctxt.Diag("stuck in spanz loop")
    			break
    		}
    		changed = false
    		buffer = buffer[:0]
    		for i := range c.cursym.R[nrelocs0:] {
    			c.cursym.R[nrelocs0+i] = obj.Reloc{}
    		}
    		c.cursym.R = c.cursym.R[:nrelocs0] // preserve marker relocations generated by the compiler
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 17:46:09 UTC 2024
    - 176.7K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/ppc64/asm9.go

    // instruction op with source or destination (as appropriate) register reg.
    func (c *ctxt9) symbolAccess(s *obj.LSym, d int64, reg int16, op uint32, reuse bool) (o1, o2 uint32, rel *obj.Reloc) {
    	if c.ctxt.Headtype == objabi.Haix {
    		// Every symbol access must be made via a TOC anchor.
    		c.ctxt.Diag("symbolAccess called for %s", s.Name)
    	}
    	var base uint32
    	form := c.opform(op)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:55:28 UTC 2024
    - 156.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/LocalCache.java

            if (previousValue == null) {
              V newValue = loader.load(key);
              return set(newValue) ? futureValue : Futures.immediateFuture(newValue);
            }
            ListenableFuture<V> newValue = loader.reload(key, previousValue);
            if (newValue == null) {
              return Futures.immediateFuture(null);
            }
            // To avoid a race, make sure the refreshed value is set into loadingValueReference
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat May 18 03:24:34 UTC 2024
    - 143.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/transforms/optimize.cc

        if (!old_bias || mlir::isa<NoneType>(old_bias.getType())) {
          // TODO(b/180752069): Figure out new bias' type when old bias is empty.
          return failure();
        }
    
        // The FC relies on constant folding, which is implemented on F32. Checks
        // types to be F32.
        {
          if (!IsF32Value(add_op.getRhs()) || !IsF32Value(fc_op.getFilter()) ||
              !IsF32Value(old_bias))
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  10. src/runtime/proc.go

    			print(string(fmtNSAsMS(sbuf[:], uint64(end-start))), " ms clock, ")
    			print(string(itoa(sbuf[:], after.bytes-before.bytes)), " bytes, ")
    			print(string(itoa(sbuf[:], after.allocs-before.allocs)), " allocs")
    			print("\n")
    		}
    
    		t.state = 2 // initialization done
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
Back to top