Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for cgoOff (0.28 sec)

  1. src/runtime/proc.go

    		// about any other code interrupting us.
    		if mp.cgoCallersUse.Load() == 0 && mp.cgoCallers != nil && mp.cgoCallers[0] != 0 {
    			for cgoOff < len(mp.cgoCallers) && mp.cgoCallers[cgoOff] != 0 {
    				cgoOff++
    			}
    			n += copy(stk[:], mp.cgoCallers[:cgoOff])
    			mp.cgoCallers[0] = 0
    		}
    
    		// Collect Go stack that leads to the cgo call.
    		u.initAt(mp.curg.syscallpc, mp.curg.syscallsp, 0, mp.curg, unwindSilentErrors)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/gccgo_link_c.txt

    ! stderr 'gccgo.*-lalib.*-lalib' # make sure -lalib is only passed once
    
    -- go.mod --
    module m
    -- cgoref.go --
    package main
    // #cgo LDFLAGS: -L alibpath -lalib
    // void f(void) {}
    import "C"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 16:38:51 UTC 2023
    - 617 bytes
    - Viewed (0)
  3. src/crypto/x509/pkcs1.go

    	for i, values := range key.Precomputed.CRTValues {
    		priv.AdditionalPrimes[i].Prime = key.Primes[2+i]
    		priv.AdditionalPrimes[i].Exp = values.Exp
    		priv.AdditionalPrimes[i].Coeff = values.Coeff
    	}
    
    	b, _ := asn1.Marshal(priv)
    	return b
    }
    
    // ParsePKCS1PublicKey parses an [RSA] public key in PKCS #1, ASN.1 DER form.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  4. src/debug/pe/string.go

    	i := bytes.IndexByte(b, 0)
    	if i == -1 {
    		i = len(b)
    	}
    	return string(b[:i])
    }
    
    // StringTable is a COFF string table.
    type StringTable []byte
    
    func readStringTable(fh *FileHeader, r io.ReadSeeker) (StringTable, error) {
    	// COFF string table is located right after COFF symbol table.
    	if fh.PointerToSymbolTable <= 0 {
    		return nil, nil
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 19:06:17 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  5. src/debug/pe/section.go

    // license that can be found in the LICENSE file.
    
    package pe
    
    import (
    	"encoding/binary"
    	"fmt"
    	"internal/saferio"
    	"io"
    	"strconv"
    )
    
    // SectionHeader32 represents real PE COFF section header.
    type SectionHeader32 struct {
    	Name                 [8]uint8
    	VirtualSize          uint32
    	VirtualAddress       uint32
    	SizeOfRawData        uint32
    	PointerToRawData     uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  6. src/cmd/link/internal/ld/pe.go

    	characteristics      uint32
    }
    
    // checkOffset verifies COFF section sect offset in the file.
    func (sect *peSection) checkOffset(off int64) {
    	if off != int64(sect.pointerToRawData) {
    		Errorf(nil, "%s.PointerToRawData = %#x, want %#x", sect.name, uint64(int64(sect.pointerToRawData)), uint64(off))
    		errorexit()
    	}
    }
    
    // checkSegment verifies COFF section sect matches address
    // and file offset provided in segment seg.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 19:01:27 UTC 2023
    - 48.8K bytes
    - Viewed (0)
  7. src/debug/pe/symbol.go

    package pe
    
    import (
    	"encoding/binary"
    	"errors"
    	"fmt"
    	"internal/saferio"
    	"io"
    	"unsafe"
    )
    
    const COFFSymbolSize = 18
    
    // COFFSymbol represents single COFF symbol table record.
    type COFFSymbol struct {
    	Name               [8]uint8
    	Value              uint32
    	SectionNumber      int16
    	Type               uint16
    	StorageClass       uint8
    	NumberOfAuxSymbols uint8
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  8. src/runtime/traceback.go

    //
    // Callers should set the unwindSilentErrors flag on u.
    func tracebackPCs(u *unwinder, skip int, pcBuf []uintptr) int {
    	var cgoBuf [32]uintptr
    	n := 0
    	for ; n < len(pcBuf) && u.valid(); u.next() {
    		f := u.frame.fn
    		cgoN := u.cgoCallers(cgoBuf[:])
    
    		// TODO: Why does &u.cache cause u to escape? (Same in traceback2)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  9. platforms/native/language-native/src/main/java/org/gradle/language/swift/tasks/internal/SymbolHider.java

    import java.io.IOException;
    import java.nio.charset.StandardCharsets;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    import java.util.Arrays;
    
    
    /**
     * Parse and hide given symbols in on object file based on COFF format documented
     * here: https://docs.microsoft.com/en-us/windows/desktop/debug/pe-format
     */
    public class SymbolHider {
        DataReader data;
        private byte[] objectBytes;
    
        private static class DataReader {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  10. src/crypto/internal/edwards25519/scalarmult.go

    	// at each iteration and checking whether there is a nonzero
    	// coefficient to look up a multiple of.
    	for ; i >= 0; i-- {
    		tmp1.Double(tmp2)
    
    		// Only update v if we have a nonzero coeff to add in.
    		if aNaf[i] > 0 {
    			v.fromP1xP1(tmp1)
    			aTable.SelectInto(multA, aNaf[i])
    			tmp1.Add(v, multA)
    		} else if aNaf[i] < 0 {
    			v.fromP1xP1(tmp1)
    			aTable.SelectInto(multA, -aNaf[i])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 05 21:53:10 UTC 2022
    - 6.3K bytes
    - Viewed (0)
Back to top