Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for gcbits (0.21 sec)

  1. src/runtime/mheap.go

    	default:
    		throw("bad special kind")
    		panic("not reached")
    	}
    }
    
    // gcBits is an alloc/mark bitmap. This is always used as gcBits.x.
    type gcBits struct {
    	_ sys.NotInHeap
    	x uint8
    }
    
    // bytep returns a pointer to the n'th byte of b.
    func (b *gcBits) bytep(n uintptr) *uint8 {
    	return addb(&b.x, n)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
  2. src/cmd/link/internal/ld/xcoff.go

    	case sym.SGOFUNC:
    		if !ctxt.DynlinkingGo() {
    			outerSymSize["go:func.*"] = size
    		}
    	case sym.SGOFUNCRELRO:
    		outerSymSize["go:funcrel.*"] = size
    	case sym.SGCBITS:
    		outerSymSize["runtime.gcbits.*"] = size
    	case sym.SPCLNTAB:
    		outerSymSize["runtime.pclntab"] = size
    	}
    }
    
    // addSymbol writes a symbol or an auxiliary symbol entry on ctxt.out.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 01 19:58:23 UTC 2023
    - 51.8K bytes
    - Viewed (0)
  3. src/runtime/mbitmap.go

    			for ; c >= npattern; c -= npattern {
    				bits |= pattern << nbits
    				nbits += npattern
    				for nbits >= 8 {
    					*dst = uint8(bits)
    					dst = add1(dst)
    					bits >>= 8
    					nbits -= 8
    				}
    			}
    
    			// Add final fragment to bit buffer.
    			if c > 0 {
    				pattern &= 1<<c - 1
    				bits |= pattern << nbits
    				nbits += c
    			}
    			continue Run
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/rewrite.go

    		me = 32 - bits.TrailingZeros32(uint32(mask))
    		mbn = bits.LeadingZeros32(^uint32(mask))
    		men = 32 - bits.TrailingZeros32(^uint32(mask))
    	} else {
    		mb = bits.LeadingZeros64(uint64(mask))
    		me = 64 - bits.TrailingZeros64(uint64(mask))
    		mbn = bits.LeadingZeros64(^uint64(mask))
    		men = 64 - bits.TrailingZeros64(^uint64(mask))
    	}
    	// Check for a wrapping mask (e.g bits at 0 and 63)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  5. src/math/big/float_test.go

    // addition/subtraction of arguments represented by Bits values with the
    // respective Float addition/subtraction for a variety of precisions
    // and rounding modes.
    func TestFloatAdd(t *testing.T) {
    	for _, xbits := range bitsList {
    		for _, ybits := range bitsList {
    			// exact values
    			x := xbits.Float()
    			y := ybits.Float()
    			zbits := xbits.add(ybits)
    			z := zbits.Float()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 51.9K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/riscv/obj.go

    // immIFits checks whether the immediate value x fits in nbits bits
    // as a signed integer. If it does not, an error is returned.
    func immIFits(x int64, nbits uint) error {
    	nbits--
    	min := int64(-1) << nbits
    	max := int64(1)<<nbits - 1
    	if x < min || x > max {
    		if nbits <= 16 {
    			return fmt.Errorf("signed immediate %d must be in range [%d, %d] (%d bits)", x, min, max, nbits)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 07 03:32:27 UTC 2024
    - 77K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/dwarf.go

    }
    
    // addDwarfAddrField adds a DWARF field in DWARF 64bits or 32bits.
    func (d *dwctxt) addDwarfAddrField(sb *loader.SymbolBuilder, v uint64) {
    	if isDwarf64(d.linkctxt) {
    		sb.AddUint(d.arch, v)
    	} else {
    		sb.AddUint32(d.arch, uint32(v))
    	}
    }
    
    // addDwarfAddrRef adds a DWARF pointer in DWARF 64bits or 32bits.
    func (d *dwctxt) addDwarfAddrRef(sb *loader.SymbolBuilder, t loader.Sym) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/_gen/ARM64Ops.go

    		// insert low width bits of arg0 into the result starting at bit lsb, bits to the left of the inserted bit field are set to the high/sign bit of the inserted bit field, bits to the right are zeroed
    		{name: "SBFIZ", argLength: 1, reg: gp11, asm: "SBFIZ", aux: "ARM64BitField"},
    		// extract width bits of arg0 starting at bit lsb and insert at low end of result, remaining high bits are set to the high/sign bit of the extracted bitfield
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 58.8K bytes
    - Viewed (0)
  9. src/cmd/link/internal/loader/loader.go

    		return 0
    	}
    	// TODO: would it make sense to return an arch-specific
    	// alignment depending on section type? E.g. STEXT => 32,
    	// SDATA => 1, etc?
    	abits := l.align[i]
    	if abits == 0 {
    		return 0
    	}
    	return int32(1 << (abits - 1))
    }
    
    // SetSymAlign sets the alignment for a symbol.
    func (l *Loader) SetSymAlign(i Sym, align int32) {
    	// Reject nonsense alignments.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
  10. src/debug/elf/file_test.go

    	//   [    1] .text             PROGBITS        00000000 000034 000000 00  AX  0   0  1
    	//   [    2] .data             PROGBITS        00000000 000034 000000 00  WA  0   0  1
    	//   [    3] .bss              NOBITS          00000000 000034 000000 00  WA  0   0  1
    	//   [    4] section_0001      PROGBITS        00000000 000034 000004 00  WA  0   0  4
    	//   [    5] section_0002      PROGBITS        00000000 000038 000004 00  WA  0   0  4
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 16:22:42 UTC 2023
    - 60.1K bytes
    - Viewed (0)
Back to top