Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 25 for cgoOff (0.13 sec)

  1. src/cmd/link/internal/loadpe/ldpe.go

    // Copyright 2010 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.
    
    // Package loadpe implements a PE/COFF file reader.
    package loadpe
    
    import (
    	"bytes"
    	"cmd/internal/bio"
    	"cmd/internal/objabi"
    	"cmd/internal/sys"
    	"cmd/link/internal/loader"
    	"cmd/link/internal/sym"
    	"debug/pe"
    	"encoding/binary"
    	"errors"
    	"fmt"
    	"io"
    	"strings"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 20:26:46 UTC 2023
    - 26.5K bytes
    - Viewed (0)
  2. src/debug/gosym/pclntab.go

    		if fno <= 0 {
    			return ""
    		}
    		return t.string(t.binary.Uint32(t.filetab[4*fno:]))
    	}
    	// Go ≥ 1.16
    	if fno < 0 { // 0 is valid for ≥ 1.16
    		return ""
    	}
    	cuoff := f.cuOffset()
    	if fnoff := t.binary.Uint32(t.cutab[(cuoff+uint32(fno))*4:]); fnoff != ^uint32(0) {
    		return t.stringFrom(t.filetab, fnoff)
    	}
    	return ""
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 25 19:43:24 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td

         (TFL_MulOp:$mul_out1
          (TFL_AddOp:$add_out1 $arg0,
           (TFL_MulOp:$mul_out2
            (TFL_PowOp:$pow_out $arg0, (Arith_ConstantOp F32ElementsAttr:$Cst_3)),
            (Arith_ConstantOp F32ElementsAttr:$Coeff), TFL_AF_None), TFL_AF_None),
          (Arith_ConstantOp F32ElementsAttr:$Cst_sqrt_2dPi), TFL_AF_None)),
        (Arith_ConstantOp F32ElementsAttr:$Cst_1), TFL_AF_None), TFL_AF_None),
      (TFL_GeluOp $arg0, ConstBoolAttrTrue),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 20:31:41 UTC 2024
    - 66.4K bytes
    - Viewed (0)
  4. src/debug/pe/file.go

    type File struct {
    	FileHeader
    	OptionalHeader any // of type *OptionalHeader32 or *OptionalHeader64
    	Sections       []*Section
    	Symbols        []*Symbol    // COFF symbols with auxiliary symbol records removed
    	COFFSymbols    []COFFSymbol // all COFF symbols (including auxiliary symbol records)
    	StringTable    StringTable
    
    	closer io.Closer
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 17.2K bytes
    - Viewed (0)
  5. src/crypto/rsa/rsa.go

    	n, p, q *bigmod.Modulus // moduli for CRT with Montgomery precomputed constants
    }
    
    // CRTValue contains the precomputed Chinese remainder theorem values.
    type CRTValue struct {
    	Exp   *big.Int // D mod (prime-1).
    	Coeff *big.Int // R·Coeff ≡ 1 mod Prime.
    	R     *big.Int // product of primes prior to this (inc p and q).
    }
    
    // Validate performs basic sanity checks on the key.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  6. src/debug/buildinfo/buildinfo.go

    		if ok && seg.Addr != 0 && seg.Filesz != 0 && seg.Prot == RW && seg.Maxprot == RW {
    			return seg.Addr, seg.Memsz
    		}
    	}
    	return 0, 0
    }
    
    // xcoffExe is the XCOFF (AIX eXtended COFF) implementation of the exe interface.
    type xcoffExe struct {
    	f *xcoff.File
    }
    
    func (x *xcoffExe) ReadData(addr, size uint64) ([]byte, error) {
    	for _, sect := range x.f.Sections {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  7. src/cmd/link/internal/x86/asm.go

    	var v uint32
    
    	rs := r.Xsym
    	rt := r.Type
    
    	if ldr.SymDynid(rs) < 0 {
    		ldr.Errorf(s, "reloc %d (%s) to non-coff symbol %s type=%d (%s)", rt, sym.RelocName(arch, rt), ldr.SymName(rs), ldr.SymType(rs), ldr.SymType(rs))
    		return false
    	}
    
    	out.Write32(uint32(sectoff))
    	out.Write32(uint32(ldr.SymDynid(rs)))
    
    	switch rt {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  8. src/cmd/link/internal/amd64/asm.go

    	var v uint32
    
    	rs := r.Xsym
    	rt := r.Type
    
    	if ldr.SymDynid(rs) < 0 {
    		ldr.Errorf(s, "reloc %d (%s) to non-coff symbol %s type=%d (%s)", rt, sym.RelocName(arch, rt), ldr.SymName(rs), ldr.SymType(rs), ldr.SymType(rs))
    		return false
    	}
    
    	out.Write32(uint32(sectoff))
    	out.Write32(uint32(ldr.SymDynid(rs)))
    
    	switch rt {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 21K bytes
    - Viewed (0)
  9. src/cmd/link/internal/arm/asm.go

    func pereloc1(arch *sys.Arch, out *ld.OutBuf, ldr *loader.Loader, s loader.Sym, r loader.ExtReloc, sectoff int64) bool {
    	rs := r.Xsym
    	rt := r.Type
    
    	if ldr.SymDynid(rs) < 0 {
    		ldr.Errorf(s, "reloc %d (%s) to non-coff symbol %s type=%d (%s)", rt, sym.RelocName(arch, rt), ldr.SymName(rs), ldr.SymType(rs), ldr.SymType(rs))
    		return false
    	}
    
    	out.Write32(uint32(sectoff))
    	out.Write32(uint32(ldr.SymDynid(rs)))
    
    	var v uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 22.9K bytes
    - Viewed (0)
  10. src/cmd/link/internal/ld/xcoff.go

    	"cmd/link/internal/sym"
    )
    
    // This file handles all algorithms related to XCOFF files generation.
    // Most of them are adaptations of the ones in  cmd/link/internal/pe.go
    // as PE and XCOFF are based on COFF files.
    // XCOFF files generated are 64 bits.
    
    const (
    	// Total amount of space to reserve at the start of the file
    	// for File Header, Auxiliary Header, and Section Headers.
    	// May waste some.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 01 19:58:23 UTC 2023
    - 51.8K bytes
    - Viewed (0)
Back to top