Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 242 for doffsets (0.13 sec)

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

    	if et == types.TINT64 {
    		tHi = x.typs.Int32
    	}
    	tLo = x.typs.UInt32
    	return
    }
    
    // offsetFrom creates an offset from a pointer, simplifying chained offsets and offsets from SP
    func (x *expandState) offsetFrom(b *Block, from *Value, offset int64, pt *types.Type) *Value {
    	ft := from.Type
    	if offset == 0 {
    		if ft == pt {
    			return from
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 28 05:13:40 UTC 2023
    - 31.9K bytes
    - Viewed (0)
  2. src/runtime/cpuflags.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package runtime
    
    import (
    	"internal/cpu"
    	"unsafe"
    )
    
    // Offsets into internal/cpu records for use in assembly.
    const (
    	offsetX86HasAVX    = unsafe.Offsetof(cpu.X86.HasAVX)
    	offsetX86HasAVX2   = unsafe.Offsetof(cpu.X86.HasAVX2)
    	offsetX86HasERMS   = unsafe.Offsetof(cpu.X86.HasERMS)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 23 21:22:58 UTC 2021
    - 810 bytes
    - Viewed (0)
  3. src/go/token/position.go

    	if i := len(f.infos); (i == 0 || f.infos[i-1].Offset < offset) && offset < f.size {
    		f.infos = append(f.infos, lineInfo{offset, filename, line, column})
    	}
    	f.mutex.Unlock()
    }
    
    // fixOffset fixes an out-of-bounds offset such that 0 <= offset <= f.size.
    func (f *File) fixOffset(offset int) int {
    	switch {
    	case offset < 0:
    		if !debug {
    			return 0
    		}
    	case offset > f.size:
    		if !debug {
    			return f.size
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  4. src/internal/coverage/defs.go

    // area storing the offsets of each section. Format of the meta-data
    // file looks like:
    //
    // --header----------
    //  | magic: [4]byte magic string
    //  | version
    //  | total length of meta-data file in bytes
    //  | numPkgs: number of package entries in file
    //  | hash: [16]byte hash of entire meta-data payload
    //  | offset to string table section
    //  | length of string table
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 14 12:51:16 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  5. src/go/scanner/scanner.go

    // s.scanIdentifier.
    func (s *Scanner) next() {
    	if s.rdOffset < len(s.src) {
    		s.offset = s.rdOffset
    		if s.ch == '\n' {
    			s.lineOffset = s.offset
    			s.file.AddLine(s.offset)
    		}
    		r, w := rune(s.src[s.rdOffset]), 1
    		switch {
    		case r == 0:
    			s.error(s.offset, "illegal character NUL")
    		case r >= utf8.RuneSelf:
    			// not ASCII
    			r, w = utf8.DecodeRune(s.src[s.rdOffset:])
    			if r == utf8.RuneError && w == 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 24.3K bytes
    - Viewed (0)
  6. test/fixedbugs/issue6036.go

    // Copyright 2013 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 6036: 6g's backend generates OINDREG with
    // offsets larger than 32-bit.
    
    package main
    
    type T struct {
    	Large [1 << 31]byte
    	A     int
    	B     int
    }
    
    func F(t *T) {
    	t.B = t.A
    }
    
    type T2 [1<<31 + 2]byte
    
    func F2(t *T2) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 652 bytes
    - Viewed (0)
  7. src/time/zoneinfo.go

    	zone := &l.zone[tx[lo].index]
    	name = zone.name
    	offset = zone.offset
    	start = tx[lo].when
    	// end = maintained during the search
    	isDST = zone.isDST
    
    	// If we're at the end of the known zone transitions,
    	// try the extend string.
    	if lo == len(tx)-1 && l.extend != "" {
    		if ename, eoffset, estart, eend, eisDST, ok := tzset(l.extend, start, sec); ok {
    			return ename, eoffset, estart, eend, eisDST
    		}
    	}
    
    	return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:21:30 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/testshared/testdata/global/main.go

    	}
    
    	y := &globallib.Data[1<<20+2]
    	if y != &ptrData()[1<<20+2] {
    		panic("testLargeOffset: address mismatch")
    	}
    }
    
    func main() {
    	testLoop()
    
    	// SSA rules commonly merge offsets into addresses. These
    	// tests access global data in different ways to try
    	// and exercise different SSA rules.
    	testMediumOffset()
    	testLargeOffset()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  9. src/go/scanner/errors.go

    func (p ErrorList) Swap(i, j int) { p[i], p[j] = p[j], p[i] }
    
    func (p ErrorList) Less(i, j int) bool {
    	e := &p[i].Pos
    	f := &p[j].Pos
    	// Note that it is not sufficient to simply compare file offsets because
    	// the offsets do not reflect modified line information (through //line
    	// comments).
    	if e.Filename != f.Filename {
    		return e.Filename < f.Filename
    	}
    	if e.Line != f.Line {
    		return e.Line < f.Line
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 3K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/asm/testdata/386enc.s

    	MOVQ (AX), M0  // 0f6f00
    	MOVQ M0, 8(SP) // 0f7f442408
    	MOVQ 8(SP), M0 // 0f6f442408
    	MOVQ M0, (AX)  // 0f7f00
    	MOVQ M0, (BX)  // 0f7f03
    	// On non-64bit arch, Go asm allowed uint32 offsets instead of int32.
    	// These tests check that property for backwards-compatibility.
    	MOVL 2147483648(AX), AX  // 8b8000000080
    	MOVL -2147483648(AX), AX // 8b8000000080
    	ADDL 2147483648(AX), AX  // 038000000080
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 18:32:50 UTC 2023
    - 1.2K bytes
    - Viewed (0)
Back to top