Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for external (0.18 sec)

  1. src/cmd/cgo/doc.go

    What happens at link time depends on whether the final binary is linked
    using the internal or external mode. If other packages are compiled in
    "external only" mode, then the final link will be an external one.
    Otherwise the link will be an internal one.
    
    The linking directives are used according to the kind of final link
    used.
    
    In internal mode, cmd/link itself processes all the host object files, in
    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)
  2. src/cmd/asm/internal/asm/operand_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package asm
    
    import (
    	"internal/buildcfg"
    	"strings"
    	"testing"
    
    	"cmd/asm/internal/arch"
    	"cmd/asm/internal/lex"
    	"cmd/internal/obj"
    )
    
    // A simple in-out test: Do we print what we parse?
    
    func setArch(goarch string) (*arch.Arch, *obj.Link) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 18:31:05 GMT 2023
    - 23.9K bytes
    - Viewed (0)
  3. misc/wasm/wasm_exec.js

    				this.mem.setUint32(offset + 4, 0, true);
    				offset += 8;
    			});
    
    			// The linker guarantees global data starts from at least wasmMinDataAddr.
    			// Keep in sync with cmd/link/internal/ld/data.go:wasmMinDataAddr.
    			const wasmMinDataAddr = 4096 + 8192;
    			if (offset >= wasmMinDataAddr) {
    				throw new Error("total length of command line and environment variables exceeds limit");
    			}
    
    JavaScript
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon May 22 17:47:47 GMT 2023
    - 16.3K bytes
    - Viewed (1)
  4. src/cmd/cgo/ast.go

    				}
    				if cg != nil {
    					if strings.ContainsAny(abspath, "\r\n") {
    						// This should have been checked when the file path was first resolved,
    						// but we double check here just to be sure.
    						fatalf("internal error: ParseGo: abspath contains unexpected newline character: %q", abspath)
    					}
    					f.Preamble += fmt.Sprintf("#line %d %q\n", sourceLine(cg), abspath)
    					f.Preamble += commentText(cg) + "\n"
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jun 07 16:54:27 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  5. src/bytes/buffer_test.go

    // Copyright 2009 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 bytes_test
    
    import (
    	. "bytes"
    	"fmt"
    	"internal/testenv"
    	"io"
    	"math/rand"
    	"strconv"
    	"testing"
    	"unicode/utf8"
    )
    
    const N = 10000       // make this bigger for a larger (and slower) test
    var testString string // test data for write tests
    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)
  6. src/archive/tar/common.go

    // specify the fragments in the file that has data, and treat everything else as
    // having zero bytes. As such, the encoding and decoding logic in this package
    // deals with sparseDatas.
    //
    // However, the external API uses sparseHoles instead of sparseDatas because the
    // zero value of sparseHoles logically represents a normal file (i.e., there are
    // no holes in it). On the other hand, the zero value of sparseDatas implies
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  7. src/cmd/asm/internal/asm/parse.go

    import (
    	"fmt"
    	"io"
    	"log"
    	"os"
    	"strconv"
    	"strings"
    	"text/scanner"
    	"unicode/utf8"
    
    	"cmd/asm/internal/arch"
    	"cmd/asm/internal/flags"
    	"cmd/asm/internal/lex"
    	"cmd/internal/obj"
    	"cmd/internal/obj/arm64"
    	"cmd/internal/obj/x86"
    	"cmd/internal/objabi"
    	"cmd/internal/src"
    	"cmd/internal/sys"
    )
    
    type Parser struct {
    	lex           lex.TokenReader
    	lineNum       int   // Line number in source file.
    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)
  8. src/bytes/buffer.go

    func (b *Buffer) Reset() {
    	b.buf = b.buf[:0]
    	b.off = 0
    	b.lastRead = opInvalid
    }
    
    // tryGrowByReslice is an inlineable version of grow for the fast-case where the
    // internal buffer only needs to be resliced.
    // It returns the index where bytes should be written and whether it succeeded.
    func (b *Buffer) tryGrowByReslice(n int) (int, bool) {
    	if l := len(b.buf); n <= cap(b.buf)-l {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 17:10:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/arch/arch.go

    package arch
    
    import (
    	"cmd/internal/obj"
    	"cmd/internal/obj/arm"
    	"cmd/internal/obj/arm64"
    	"cmd/internal/obj/loong64"
    	"cmd/internal/obj/mips"
    	"cmd/internal/obj/ppc64"
    	"cmd/internal/obj/riscv"
    	"cmd/internal/obj/s390x"
    	"cmd/internal/obj/wasm"
    	"cmd/internal/obj/x86"
    	"fmt"
    	"strings"
    )
    
    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)
  10. doc/godebug.md

    ## GODEBUG History {#history}
    
    This section documents the GODEBUG settings introduced and removed in each major Go release
    for compatibility reasons.
    Packages or programs may define additional settings for internal debugging purposes;
    for example,
    see the [runtime documentation](/pkg/runtime#hdr-Environment_Variables)
    and the [go command documentation](/cmd/go#hdr-Build_and_test_caching).
    
    ### Go 1.23
    
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Apr 16 17:29:58 GMT 2024
    - 13.5K bytes
    - Viewed (0)
Back to top