Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for Relocations (0.18 sec)

  1. src/cmd/cgo/internal/test/cgo_stubs_ppc64x_internal_linking_test.go

    //go:build (ppc64 || ppc64le) && internal
    
    package cgotest
    
    import "testing"
    
    // If gcc is used, and linking internally, __mulsc3 and __muldc3
    // will be linked in from libgcc which make several R_PPC64_TOC16_DS
    // relocations which may not be resolvable with the internal linker.
    func test8694(t *testing.T) { t.Skip("not supported on ppc64/ppc64le with internal linking") }
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Feb 20 15:35:35 GMT 2024
    - 631 bytes
    - Viewed (0)
  2. src/bytes/buffer_test.go

    // should not result in any allocations.
    // This can be used to reset the underlying []byte of an existing Buffer.
    func TestNewBufferShallow(t *testing.T) {
    	testenv.SkipIfOptimizationOff(t)
    	n := testing.AllocsPerRun(1000, func() {
    		buf = *NewBuffer(testBytes)
    	})
    	if n > 0 {
    		t.Errorf("allocations occurred while shallow copying")
    	}
    	check(t, "NewBuffer", &buf, testString)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 13:31:36 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  3. src/cmd/cgo/doc.go

    a full C parser and type checker that was also aware of any extensions
    known to the system compiler (for example, all the GNU C extensions) as
    well as the system-specific header locations and system-specific
    pre-#defined macros. This is certainly possible to do, but it is an
    enormous amount of work.
    
    Cgo takes a different approach. It determines the meaning of C
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  4. src/bufio/bufio_test.go

    		r.Seek(0, io.SeekStart)
    		buf.Reset(r)
    
    		_, err := buf.ReadString('\n')
    		if err != nil {
    			t.Fatal(err)
    		}
    	})
    	if allocs != 1 {
    		t.Errorf("Unexpected number of allocations, got %f, want 1", allocs)
    	}
    }
    
    func TestWriter(t *testing.T) {
    	var data [8192]byte
    
    	for i := 0; i < len(data); i++ {
    		data[i] = byte(' ' + i%('~'-' '))
    	}
    	w := new(bytes.Buffer)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  5. api/go1.4.txt

    pkg debug/dwarf, method (*UnspecifiedType) String() string
    pkg debug/dwarf, type UnspecifiedType struct
    pkg debug/dwarf, type UnspecifiedType struct, embedded BasicType
    
    # CL 132000043 debug/elf: support arm64 relocations, Michael Hudson-Doyle <******@****.***>
    pkg debug/elf, const EM_AARCH64 = 183
    pkg debug/elf, const EM_AARCH64 Machine
    pkg debug/elf, const R_AARCH64_ABS16 = 259
    pkg debug/elf, const R_AARCH64_ABS16 R_AARCH64
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Dec 12 03:01:01 GMT 2014
    - 34K bytes
    - Viewed (0)
  6. src/cmd/cgo/gcc.go

    			name, _ := e.Val(dwarf.AttrName).(string)
    			// As of https://reviews.llvm.org/D123534, clang
    			// now emits DW_TAG_variable DIEs that have
    			// no name (so as to be able to describe the
    			// type and source locations of constant strings)
    			// like the second arg in the call below:
    			//
    			//     myfunction(42, "foo")
    			//
    			// If a var has no name we won't see attempts to
    			// refer to it via "C.<name>", so skip these vars
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/testdata/loong64.s

    #include "../../../../../runtime/textflag.h"
    // TODO: cover more instruction
    
    TEXT foo(SB),DUPOK|NOSPLIT,$0
    	JAL	1(PC)	//CALL 1(PC)	//00040054
    	JAL	(R4)	//CALL (R4)	//8100004c
    	// relocation in play so the assembled offset should be 0
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 22 18:50:59 GMT 2023
    - 434 bytes
    - Viewed (0)
  8. src/bytes/bytes_test.go

    			t.Errorf("LastIndex([]byte(%q), []byte(%q)) = %v; want %v", allocTests[0].a, allocTests[0].b, i, allocTests[0].i)
    		}
    	})
    	if allocs != 0 {
    		t.Errorf("expected no allocations, got %f", allocs)
    	}
    }
    
    func runIndexAnyTests(t *testing.T, f func(s []byte, chars string) int, funcName string, testCases []BinOpTest) {
    	for _, test := range testCases {
    		a := []byte(test.a)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  9. doc/asm.html

    the name prefix distinguishes
    references to the virtual stack pointer from references to the architectural
    <code>SP</code> register.
    That is, <code>x-8(SP)</code> and <code>-8(SP)</code>
    are different memory locations:
    the first refers to the virtual stack pointer pseudo-register,
    while the second refers to the
    hardware's <code>SP</code> register.
    </p>
    
    <p>
    On machines where <code>SP</code> and <code>PC</code> are
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  10. doc/go_mem.html

    </p>
    
    <p>
    Additionally, observation of acausal and “out of thin air” writes is disallowed.
    </p>
    
    <p>
    Reads of memory locations larger than a single machine word
    are encouraged but not required to meet the same semantics
    as word-sized memory locations,
    observing a single allowed write <i>w</i>.
    For performance reasons,
    implementations may instead treat larger operations
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Mar 04 15:54:42 GMT 2024
    - 26.6K bytes
    - Viewed (0)
Back to top