Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 172 for coffsets (3.23 sec)

  1. src/debug/gosym/pclntab.go

    	t.quantum = uint32(t.Data[6])
    	t.ptrsize = uint32(t.Data[7])
    
    	offset := func(word uint32) uint64 {
    		return t.uintptr(t.Data[8+word*t.ptrsize:])
    	}
    	data := func(word uint32) []byte {
    		return t.Data[offset(word):]
    	}
    
    	switch possibleVersion {
    	case ver118, ver120:
    		t.nfunctab = uint32(offset(0))
    		t.nfiletab = uint32(offset(1))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 25 19:43:24 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  2. src/encoding/xml/read_test.go

    not being told what column the text began in, so it
    didn't know where to put the tab stops.  Another problem
    was that some of the code assumed that string byte
    offsets were the same as column offsets, which is only
    true if there are no tabs.
    
    In the process of fixing this, I cleaned up the arguments
    to Fold and ExpandTabs and renamed them Break and
    _ExpandTabs so that I could be sure that I found all the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/walk/closure.go

    	// Update the call expression's type. We need to do this
    	// because typecheck gave it the result type of the OCLOSURE
    	// node, but we only rewrote the ONAME node's type. Logically,
    	// they're the same, but the stack offsets probably changed.
    	if typ.NumResults() == 1 {
    		n.SetType(typ.Result(0).Type)
    	} else {
    		n.SetType(typ.ResultsTuple())
    	}
    
    	// Add to Closures for enqueueFunc. It's no longer a proper
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 15:56:08 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  4. src/cmd/internal/dwarf/dwarf.go

    			}
    
    			// This slice will hold the offset in bytes for each child
    			// variable DIE with respect to the start of the parent
    			// subprogram DIE.
    			for _, v := range flattened {
    				offsets = append(offsets, int32(ctxt.CurrentOffset(s.Absfn)))
    				putAbstractVar(ctxt, s.Absfn, v)
    			}
    		}
    	}
    	ctxt.RecordChildDieOffsets(s.Absfn, flattened, offsets)
    
    	Uleb128put(ctxt, s.Absfn, 0)
    	return nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 15:23:18 UTC 2024
    - 43K bytes
    - Viewed (0)
  5. src/go/ast/print.go

    }
    
    // Fprint prints the (sub-)tree starting at AST node x to w.
    // If fset != nil, position information is interpreted relative
    // to that file set. Otherwise positions are printed as integer
    // values (file set specific offsets).
    //
    // A non-nil [FieldFilter] f may be provided to control the output:
    // struct fields for which f(fieldname, fieldvalue) is true are
    // printed; all others are filtered from the output. Unexported
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 28 21:32:41 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. test/nilptr3.go

    	_ = *bigstructp // ERROR "generated nil check"
    	_ = *empty1p    // ERROR "generated nil check"
    }
    
    func fx10k() *[10000]int
    
    var b bool
    
    func f3(x *[10000]int) {
    	// Using a huge type and huge offsets so the compiler
    	// does not expect the memory hardware to fault.
    	_ = x[9999] // ERROR "generated nil check"
    
    	for {
    		if x[9999] != 0 { // ERROR "removed nil check"
    			break
    		}
    	}
    
    	x = fx10k()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  7. src/internal/coverage/encodemeta/encode.go

    	}
    	if err := binary.Write(w, binary.LittleEndian, mh); err != nil {
    		return digest, fmt.Errorf("error writing meta-file header: %v", err)
    	}
    	off := int64(coverage.CovMetaHeaderSize)
    
    	// Write function offsets section
    	off = b.emitFuncOffsets(w, off)
    
    	// Check for any errors up to this point.
    	if b.werr != nil {
    		return digest, b.werr
    	}
    
    	// Write string table.
    	if err := b.stab.Write(w); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 17:16:10 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. cmd/httprange.go

    // Case 2: bytes=1-10 (absolute start and end offsets) -> RangeSpec{false, 1, 10}
    // Case 3: bytes=10- (absolute start offset with end offset unspecified) -> RangeSpec{false, 10, -1}
    // Case 4: bytes=-30 (suffix length specification) -> RangeSpec{true, -30, -1}
    type HTTPRangeSpec struct {
    	// Does the range spec refer to a suffix of the object?
    	IsSuffixLength bool
    
    	// Start and end offset specified in range spec
    	Start, End int64
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 09 08:44:07 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. src/runtime/sys_windows_386.s

    	// TODO: don't use the arbitrary pointer (see go.dev/issue/59824)
    	MOVL	$TEB_ArbitraryPtr, CX
    	JMP	settls
    ok:
    	// Convert the TLS index at CX into
    	// an offset from TEB_TlsSlots.
    	SHLL	$2, CX
    
    	// Save offset from TLS into tls_g.
    	ADDL	$TEB_TlsSlots, CX
    settls:
    	MOVL	CX, runtimeĀ·tls_g(SB)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 21 15:56:43 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  10. cmd/erasure-decode_test.go

    	}
    
    	// To generate random offset/length.
    	r := rand.New(rand.NewSource(UTCNow().UnixNano()))
    
    	buf := &bytes.Buffer{}
    
    	// Verify erasure.Decode() for random offsets and lengths.
    	for i := 0; i < iterations; i++ {
    		offset := r.Int63n(length)
    		readLen := r.Int63n(length - offset)
    
    		expected := data[offset : offset+readLen]
    
    		// Get the checksums of the current part.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 21.1K bytes
    - Viewed (0)
Back to top