Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for external (0.17 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. .github/ISSUE_TEMPLATE/10-proposal.yml

    name: Proposals
    description: New external API or other notable changes
    title: "proposal: import/path: proposal title"
    labels: ["Proposal"]
    body:
      - type: markdown
        attributes:
          value: "Our proposal process is documented here: https://go.dev/s/proposal-process"
      - type: textarea
        id: proposal-details
        attributes:
          label: "Proposal Details"
          description: "Please provide the details of your proposal here."
        validations:
    Others
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Nov 22 20:49:24 GMT 2023
    - 471 bytes
    - Viewed (0)
  3. src/README.vendor

    Vendoring in std and cmd
    ========================
    
    The Go command maintains copies of external packages needed by the
    standard library in the src/vendor and src/cmd/vendor directories.
    
    There are two modules, std and cmd, defined in src/go.mod and
    src/cmd/go.mod. When a package outside std or cmd is imported
    by a package inside std or cmd, the import path is interpreted
    as if it had a "vendor/" prefix. For example, within "crypto/tls",
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 02 02:20:05 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  4. lib/time/mkzip.go

    //
    // Usage:
    //
    //	go run ../../mkzip.go ../../zoneinfo.zip
    //
    // We use this program instead of 'zip -0 -r ../../zoneinfo.zip *' to get
    // a reproducible generator that does not depend on which version of the
    // external zip tool is used or the ordering of file names in a directory
    // or the current time.
    package main
    
    import (
    	"archive/zip"
    	"bytes"
    	"flag"
    	"fmt"
    	"hash/crc32"
    	"io/fs"
    	"log"
    	"os"
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 17:32:07 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/test/callback_windows.go

    		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.") {
    			continue
    		}
    		got = append(got, fname)
    	}
    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)
  6. src/cmd/api/api_test.go

    		pkg  string
    		want bool
    	}{
    		{"net/http", true},
    		{"net/http/internal-foo", true},
    		{"net/http/internal", false},
    		{"net/http/internal/bar", false},
    		{"internal/foo", false},
    		{"internal", false},
    	}
    	for _, tt := range tests {
    		got := !internalPkg.MatchString(tt.pkg)
    		if got != tt.want {
    			t.Errorf("%s is internal = %v; want %v", tt.pkg, got, tt.want)
    		}
    	}
    }
    
    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)
  7. 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)
  8. src/archive/zip/reader_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package zip
    
    import (
    	"bytes"
    	"encoding/binary"
    	"encoding/hex"
    	"internal/obscuretestdata"
    	"io"
    	"io/fs"
    	"os"
    	"path/filepath"
    	"reflect"
    	"regexp"
    	"strings"
    	"testing"
    	"testing/fstest"
    	"time"
    )
    
    type ZipTest struct {
    	Name     string
    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)
  9. doc/go1.17_spec.html

    complex, or string constant.
    </p>
    
    <p>
    Implementation restriction: Although numeric constants have arbitrary
    precision in the language, a compiler may implement them using an
    internal representation with limited precision.  That said, every
    implementation must:
    </p>
    
    <ul>
    	<li>Represent integer constants with at least 256 bits.</li>
    
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  10. 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)
Back to top