Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for move (0.03 sec)

  1. src/cmd/cgo/doc.go

    linker in external linking mode.
    
    By default, cmd/link will decide the linking mode as follows: if the only
    packages using cgo are those on a list of known standard library
    packages (net, os/user, runtime/cgo), cmd/link will use internal linking
    mode. Otherwise, there are non-standard cgo packages involved, and cmd/link
    will use external linking mode. The first rule means that a build of
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 17:12:16 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  2. src/cmd/cgo/ast.go

    	"go/scanner"
    	"go/token"
    	"os"
    	"strings"
    )
    
    func parse(name string, src []byte, flags parser.Mode) *ast.File {
    	ast1, err := parser.ParseFile(fset, name, src, flags)
    	if err != nil {
    		if list, ok := err.(scanner.ErrorList); ok {
    			// If err is a scanner.ErrorList, its String will print just
    			// the first error and then (+n more errors).
    			// Instead, turn it into a new Error that will return
    			// details for all the errors.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 07 16:54:27 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  3. src/archive/tar/writer.go

    	if modTime.IsZero() {
    		modTime = time.Unix(0, 0)
    	}
    
    	v7 := tw.blk.toV7()
    	v7.typeFlag()[0] = hdr.Typeflag
    	fmtStr(v7.name(), hdr.Name)
    	fmtStr(v7.linkName(), hdr.Linkname)
    	fmtNum(v7.mode(), hdr.Mode)
    	fmtNum(v7.uid(), int64(hdr.Uid))
    	fmtNum(v7.gid(), int64(hdr.Gid))
    	fmtNum(v7.size(), hdr.Size)
    	fmtNum(v7.modTime(), modTime.Unix())
    
    	ustar := tw.blk.toUSTAR()
    	fmtStr(ustar.userName(), hdr.Uname)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  4. src/archive/tar/format.go

    //	------------------+--------+-----------+----------
    //	Name              |   256B | unlimited | unlimited
    //	Linkname          |   100B | unlimited | unlimited
    //	Size              | uint33 | unlimited |    uint89
    //	Mode              | uint21 |    uint21 |    uint57
    //	Uid/Gid           | uint21 | unlimited |    uint57
    //	Uname/Gname       |    32B | unlimited |       32B
    //	ModTime           | uint33 | unlimited |     int89
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 18:36:46 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  5. src/cmd/cgo/gcc.go

    				p.GccOptions = append(p.GccOptions, arg)
    			}
    		}
    	}
    	if flag == "LDFLAGS" {
    		p.LdFlags = append(p.LdFlags, args...)
    	}
    }
    
    // splitQuoted splits the string s around each instance of one or more consecutive
    // white space characters while taking into account quotes and escaping, and
    // returns an array of substrings of s or an empty list if s contains only white space.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  6. src/bufio/bufio.go

    // it returns the data read before the error and the error itself (often io.EOF).
    // ReadBytes returns err != nil if and only if the returned data does not end in
    // delim.
    // For simple uses, a Scanner may be more convenient.
    func (b *Reader) ReadBytes(delim byte) ([]byte, error) {
    	full, frag, n, err := b.collectFragments(delim)
    	// Allocate new buffer to hold the full pieces and the fragment.
    	buf := make([]byte, n)
    	n = 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 14:39:08 UTC 2023
    - 21.8K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/testcshared/cshared_test.go

    	os.Exit(testMain(m))
    }
    
    func testMain(m *testing.M) int {
    	log.SetFlags(log.Lshortfile)
    	flag.Parse()
    	if testing.Short() && os.Getenv("GO_BUILDER_NAME") == "" {
    		globalSkip = func(t *testing.T) { t.Skip("short mode and $GO_BUILDER_NAME not set") }
    		return m.Run()
    	}
    	if runtime.GOOS == "linux" {
    		if _, err := os.Stat("/etc/alpine-release"); err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 13:19:50 UTC 2023
    - 21K bytes
    - Viewed (0)
  8. src/bufio/bufio_test.go

    		t.Errorf("bad result for third line: got %q want %q %v", line, data[:minReadBufferSize/2], err)
    	}
    	line, isPrefix, err = l.ReadLine()
    	if isPrefix || err == nil {
    		t.Errorf("expected no more lines: %x %s", line, err)
    	}
    }
    
    func TestReadAfterLines(t *testing.T) {
    	line1 := "this is line1"
    	restData := "this is line2\nthis is line 3\n"
    	inbuf := bytes.NewReader([]byte(line1 + "\n" + restData))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 10 18:56:01 UTC 2023
    - 51.5K bytes
    - Viewed (0)
  9. src/archive/tar/writer_test.go

    				Name:     "small.txt",
    				Size:     5,
    				Mode:     0640,
    				Uid:      73025,
    				Gid:      5000,
    				Uname:    "dsymonds",
    				Gname:    "eng",
    				ModTime:  time.Unix(1246508266, 0),
    			}, nil},
    			testWrite{"Kilts", 5, nil},
    
    			testHeader{Header{
    				Typeflag: TypeReg,
    				Name:     "small2.txt",
    				Size:     11,
    				Mode:     0640,
    				Uid:      73025,
    				Uname:    "dsymonds",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 38.7K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/test/issue4029.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build !windows && !static && !(darwin && internal)
    
    // Excluded in darwin internal linking PIE (which is the default) mode,
    // as dynamic export is not supported.
    
    package cgotest
    
    /*
    #include <stdint.h>
    #include <dlfcn.h>
    #cgo linux LDFLAGS: -ldl
    
    extern uintptr_t dlopen4029(char*, int);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 04 15:41:19 UTC 2023
    - 1.5K bytes
    - Viewed (0)
Back to top