Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 266 for move (0.03 sec)

  1. src/cmd/go/internal/test/cover.go

    	}
    
    	// No mutex - caller's responsibility to call with no racing goroutines.
    	f, err := os.Create(testCoverProfile)
    	if err != nil {
    		base.Fatalf("%v", err)
    	}
    	_, err = fmt.Fprintf(f, "mode: %s\n", cfg.BuildCoverMode)
    	if err != nil {
    		base.Fatalf("%v", err)
    	}
    	coverMerge.f = f
    }
    
    // mergeCoverProfile merges file into the profile stored in testCoverProfile.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 11:50:58 UTC 2022
    - 2K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/syscall_darwin_amd64.go

    	return Timespec{Sec: sec, Nsec: nsec}
    }
    
    func setTimeval(sec, usec int64) Timeval {
    	return Timeval{Sec: sec, Usec: int32(usec)}
    }
    
    func SetKevent(k *Kevent_t, fd, mode, flags int) {
    	k.Ident = uint64(fd)
    	k.Filter = int16(mode)
    	k.Flags = uint16(flags)
    }
    
    func (iov *Iovec) SetLen(length int) {
    	iov.Len = uint64(length)
    }
    
    func (msghdr *Msghdr) SetControllen(length int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/syscall_freebsd_386.go

    	return Timespec{Sec: int32(sec), Nsec: int32(nsec)}
    }
    
    func setTimeval(sec, usec int64) Timeval {
    	return Timeval{Sec: int32(sec), Usec: int32(usec)}
    }
    
    func SetKevent(k *Kevent_t, fd, mode, flags int) {
    	k.Ident = uint32(fd)
    	k.Filter = int16(mode)
    	k.Flags = uint16(flags)
    }
    
    func (iov *Iovec) SetLen(length int) {
    	iov.Len = uint32(length)
    }
    
    func (msghdr *Msghdr) SetControllen(length int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  4. src/cmd/go/internal/imports/scan.go

    		// If the directory entry is a symlink, stat it to obtain the info for the
    		// link target instead of the link itself.
    		if info.Mode()&fs.ModeSymlink != 0 {
    			info, err = fsys.Stat(filepath.Join(dir, name))
    			if err != nil {
    				continue // Ignore broken symlinks.
    			}
    		}
    
    		if info.Mode().IsRegular() && !strings.HasPrefix(name, "_") && !strings.HasPrefix(name, ".") && strings.HasSuffix(name, ".go") && MatchFile(name, tags) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 23 19:36:38 UTC 2020
    - 2.6K bytes
    - Viewed (0)
  5. src/cmd/dist/testjson_test.go

    	checkJSONFilter(t, in, want)
    }
    
    func TestJSONFilterMalformed(t *testing.T) {
    	const in = `unexpected text
    {"Package":"abc"}
    more text
    {"Package":"abc"}trailing text
    {not json}
    no newline`
    	const want = `unexpected text
    {"Package":"abc:variant"}
    more text
    {"Package":"abc:variant"}trailing text
    {not json}
    no newline`
    	checkJSONFilter(t, in, want)
    }
    
    func TestJSONFilterBoundaries(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 20:13:24 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/test/issue57434_test.go

    	f := func() {
    		for i := 0; i < 10; i++ {
    			var obj Object
    			obj.Initialize().Update()
    			output = obj.Val
    		}
    	}
    	if n := testing.AllocsPerRun(10, f); n > 0 {
    		t.Error("obj moved to heap")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 14 20:24:18 UTC 2023
    - 619 bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/plan9/dir_plan9.go

    }
    
    // A Dir contains the metadata for a file.
    type Dir struct {
    	// system-modified data
    	Type uint16 // server type
    	Dev  uint32 // server subtype
    
    	// file data
    	Qid    Qid    // unique id from server
    	Mode   uint32 // permissions
    	Atime  uint32 // last read time
    	Mtime  uint32 // last write time
    	Length int64  // file length
    	Name   string // last element of path
    	Uid    string // owner name
    	Gid    string // group name
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 15 19:02:39 UTC 2021
    - 5.6K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/plan9/zsyscall_plan9_amd64.go

    		err = e1
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func open(path string, mode int) (fd int, err error) {
    	var _p0 *byte
    	_p0, err = BytePtrFromString(path)
    	if err != nil {
    		return
    	}
    	r0, _, e1 := Syscall(SYS_OPEN, uintptr(unsafe.Pointer(_p0)), uintptr(mode), 0)
    	fd = int(r0)
    	if int32(r0) == -1 {
    		err = e1
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/syntax/dumper_test.go

    // license that can be found in the LICENSE file.
    
    package syntax
    
    import (
    	"testing"
    )
    
    func TestDump(t *testing.T) {
    	if testing.Short() {
    		t.Skip("skipping test in short mode")
    	}
    
    	ast, _ := ParseFile(*src_, func(err error) { t.Error(err) }, nil, CheckBranches)
    
    	if ast != nil {
    		Fdump(testOut(), ast)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 30 18:02:31 UTC 2022
    - 424 bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/testsanitizers/testdata/asan4_fail.go

    	a[3] = 300;          // BOOM
    	// We shouldn't get here; asan should stop us first.
    	printf("a[3]=%d\n", a[3]);
    }*/
    import "C"
    
    func main() {
    	var cIntArray [2]C.int
    	C.test(&cIntArray[0]) // cIntArray is moved to heap.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 496 bytes
    - Viewed (0)
Back to top