Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for require (0.49 sec)

  1. src/cmd/asm/internal/arch/ppc64.go

    // one of the CMP instructions that require special handling.
    func IsPPC64CMP(op obj.As) bool {
    	switch op {
    	case ppc64.ACMP, ppc64.ACMPU, ppc64.ACMPW, ppc64.ACMPWU, ppc64.AFCMPU:
    		return true
    	}
    	return false
    }
    
    // IsPPC64NEG reports whether the op (as defined by an ppc64.A* constant) is
    // one of the NEG-like instructions that require special handling.
    func IsPPC64NEG(op obj.As) bool {
    	switch op {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Sep 07 20:53:33 GMT 2022
    - 2.2K bytes
    - Viewed (0)
  2. src/cmd/cgo/doc.go

    present to create such a binary.
    
    Most builds both compile source code and invoke the linker to create a
    binary. When cgo is involved, the compile step already requires gcc, so
    it is not problematic for the link step to require gcc too.
    
    An important exception is builds using a pre-compiled copy of the
    standard library. In particular, package net uses cgo on most systems,
    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)
  3. src/cmd/api/api_test.go

    			required: []string{"B", "D"},
    			ok:       false,
    			out:      "+A\n+C\n+E\n+F\n",
    		},
    		{
    			name:     "feature removed",
    			features: []string{"C", "A"},
    			required: []string{"A", "B", "C"},
    			ok:       false,
    			out:      "-B\n",
    		},
    		{
    			name:      "exception removal",
    			features:  []string{"A", "C"},
    			required:  []string{"A", "B", "C"},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jan 04 17:31:12 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/pseudo_test.go

    		{"PCDATA", "", "expect two operands for PCDATA"},
    		{"PCDATA", "1", "expect two operands for PCDATA"},
    	}
    
    	runtimeTests := []errtest{
    		{"TEXT", "foo<ABIInternal>(SB),0", "TEXT \"foo\": ABIInternal requires NOSPLIT"},
    	}
    
    	testcats := []struct {
    		allowABI bool
    		tests    []errtest
    	}{
    		{
    			allowABI: false,
    			tests:    nonRuntimeTests,
    		},
    		{
    			allowABI: true,
    			tests:    runtimeTests,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/swig/swig_test.go

    		return
    	}
    	t.Logf("found swig version %d.%d.%d", major, minor, patch)
    	if major < 3 || (major == 3 && minor == 0 && patch < 6) {
    		t.Skip("test requires swig 3.0.6 or later")
    	}
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:07 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  6. src/archive/zip/reader_test.go

    				Modified: time.Date(2011, 12, 8, 10, 6, 8, 0, timeZone(0)),
    				Mode:     0444,
    			},
    		},
    	},
    	{
    		// created by Go, before we wrote the "optional" data
    		// descriptor signatures (which are required by macOS).
    		// Use obscured file to avoid Appleā€™s notarization service
    		// rejecting the toolchain due to an inability to unzip this archive.
    		// See golang.org/issue/34986
    		Name:     "go-no-datadesc-sig.zip.base64",
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/asm.go

    		// OK
    	default:
    		p.errorf("DATA value must be an immediate constant or address")
    		return
    	}
    
    	// The addresses must not overlap. Easiest test: require monotonicity.
    	if lastAddr, ok := p.dataAddr[name]; ok && nameAddr.Offset < lastAddr {
    		p.errorf("overlapping DATA entry for %s", name)
    		return
    	}
    	p.dataAddr[name] = nameAddr.Offset + int64(sz)
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 25.3K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/test/callback_windows.go

    	"strings"
    	"testing"
    	"unsafe"
    )
    
    // Test that the stack can be unwound through a call out and call back
    // into Go.
    func testCallbackCallersSEH(t *testing.T) {
    	testenv.SkipIfOptimizationOff(t) // This test requires inlining.
    	if runtime.Compiler != "gc" {
    		// The exact function names are not going to be the same.
    		t.Skip("skipping for non-gc toolchain")
    	}
    	if runtime.GOARCH != "amd64" {
    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)
  9. src/archive/zip/zip_test.go

    		return false
    	}
    
    	size := b.uint64()
    	if size != directory64EndLen-12 {
    		t.Errorf("expected length of %d, got %d", directory64EndLen-12, size)
    	}
    	return true
    }
    
    // Zip64 is required if the total size of the records is uint32max.
    func TestZip64LargeDirectory(t *testing.T) {
    	if runtime.GOARCH == "wasm" {
    		t.Skip("too slow on wasm")
    	}
    	if testing.Short() {
    		t.Skip("skipping in short mode")
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/lex/lex.go

    	// SetBase sets the position base.
    	SetBase(*src.PosBase)
    	// Line reports the source line number of the token.
    	Line() int
    	// Col reports the source column number of the token.
    	Col() int
    	// Close does any teardown required.
    	Close()
    }
    
    // A Token is a scan token plus its string value.
    // A macro is stored as a sequence of Tokens with spaces stripped.
    type Token struct {
    	ScanToken
    	text string
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 18:31:05 GMT 2023
    - 4.1K bytes
    - Viewed (0)
Back to top