Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/cmd/addr2line/addr2line_test.go

    	cmd := testenv.Command(t, addr2linePath(t), dbgExePath)
    	cmd.Stdin = strings.NewReader(addr)
    	out, err := cmd.CombinedOutput()
    	if err != nil {
    		t.Fatalf("go tool addr2line %v: %v\n%s", os.Args[0], err, string(out))
    	}
    	f := strings.Split(string(out), "\n")
    	if len(f) < 3 && f[2] == "" {
    		t.Fatal("addr2line output must have 2 lines")
    	}
    	funcname = f[0]
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 22:16:54 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/arch/arch.go

    	// (Details in arm.go). Here we add the instruction so parse will find
    	// it, but give it an opcode number known only to us.
    	instructions["MCR"] = aMCR
    
    	return &Arch{
    		LinkArch:       &arm.Linkarm,
    		Instructions:   instructions,
    		Register:       register,
    		RegisterPrefix: registerPrefix,
    		RegisterNumber: armRegisterNumber,
    		IsJump:         jumpArm,
    	}
    }
    
    func archArm64() *Arch {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Mar 21 06:51:28 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/asm/endtoend_test.go

    			continue
    		}
    		errors[fileline] = line
    	}
    
    	// Reconstruct expected errors by independently "parsing" the input.
    	data, err := os.ReadFile(input)
    	if err != nil {
    		t.Error(err)
    		return
    	}
    	lineno := 0
    	lines := strings.Split(string(data), "\n")
    	for _, line := range lines {
    		lineno++
    
    		fileline := fmt.Sprintf("%s:%d", input, lineno)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Dec 07 18:42:59 GMT 2023
    - 11.6K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/test/cgo_stubs_ppc64x_internal_linking_test.go

    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)
  5. src/cmd/asm/internal/asm/line_test.go

    Matthew Dempsky <******@****.***> 1693101993 -0700
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/test/issue29563.go

    // Copyright 2019 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.
    
    //go:build cgo && !windows
    
    // Issue 29563: internal linker fails on duplicate weak symbols.
    // No runtime test; just make sure it compiles.
    
    package cgotest
    
    Go
    - Registered: Tue Mar 26 11:13:08 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 363 bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/test/callback_windows.go

    		if f == nil {
    			continue
    		}
    		fname := f.Name()
    		switch fname {
    		case "goCallback":
    			// TODO(qmuntal): investigate why this function doesn't appear
    			// when using the external linker.
    			continue
    		}
    		// In module mode, this package has a fully-qualified import path.
    		// Remove it if present.
    		fname = strings.TrimPrefix(fname, "cmd/cgo/internal/")
    		if !strings.HasPrefix(fname, "test.") {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Nov 29 16:01:37 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/parse.go

    		}
    		return tok
    	}
    }
    
    // line consumes a single assembly line from p.lex of the form
    //
    //	{label:} WORD[.cond] [ arg {, arg} ] (';' | '\n')
    //
    // It adds any labels to p.pendingLabels and returns the word, cond,
    // operand list, and true. If there is an error or EOF, it returns
    // ok=false.
    //
    // line may reuse the memory from scratch.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  9. cmd/xl-storage-format-v2.go

    	}
    
    	// Add space at the end.
    	// Will have -1 modtime, so it will be inserted there.
    	x.versions = append(x.versions, xlMetaV2ShallowVersion{header: xlMetaV2VersionHeader{ModTime: -1}})
    
    	// Linear search, we likely have to insert at front.
    	for i, existing := range x.versions {
    		if existing.header.ModTime <= modTime {
    			// Insert at current idx. First move current back.
    			copy(x.versions[i+1:], x.versions[i:])
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
  10. src/cmd/cgo/internal/test/buildid_linux.go

    // license that can be found in the LICENSE file.
    
    package cgotest
    
    // Test that we have no more than one build ID.  In the past we used
    // to generate a separate build ID for each package using cgo, and the
    // linker concatenated them all.  We don't want that--we only want
    // one.
    
    import (
    	"bytes"
    	"debug/elf"
    	"os"
    	"testing"
    )
    
    func testBuildID(t *testing.T) {
    	f, err := elf.Open("/proc/self/exe")
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 1.7K bytes
    - Viewed (0)
Back to top