Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for fileMap (0.25 sec)

  1. src/syscall/syscall_windows.go

    var procSetFilePointerEx = modkernel32.NewProc("SetFilePointerEx")
    
    const ptrSize = unsafe.Sizeof(uintptr(0))
    
    // setFilePointerEx calls SetFilePointerEx.
    // See https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-setfilepointerex
    func setFilePointerEx(handle Handle, distToMove int64, newFilePointer *int64, whence uint32) error {
    	var e1 Errno
    	if unsafe.Sizeof(uintptr(0)) == 8 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 52.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/api_test.go

    func TestMultiFileInitOrder(t *testing.T) {
    	fileA := mustParse(`package main; var a = 1`)
    	fileB := mustParse(`package main; var b = 2`)
    
    	// The initialization order must not depend on the parse
    	// order of the files, only on the presentation order to
    	// the type-checker.
    	for _, test := range []struct {
    		files []*syntax.File
    		want  string
    	}{
    		{[]*syntax.File{fileA, fileB}, "[a = 1 b = 2]"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go

    	var tag_buff [8]byte
    	DecodeData(tag_buff[:], 8, tag)
    	return Setxattr(path, "filetag", tag_buff[:], XATTR_REPLACE)
    }
    
    func impl_Chtag(path string, ccsid uint64, textbit uint64) error {
    	tag := ccsid<<16 | textbit<<15
    	var tag_buff [4]byte
    	DecodeData(tag_buff[:], 4, tag)
    	return Setxattr(path, "system.filetag", tag_buff[:], XATTR_REPLACE)
    }
    
    // End of Chtag
    
    // Nanosleep
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  4. src/go/types/api_test.go

    	fset := token.NewFileSet()
    	fileA := mustParse(fset, `package main; var a = 1`)
    	fileB := mustParse(fset, `package main; var b = 2`)
    
    	// The initialization order must not depend on the parse
    	// order of the files, only on the presentation order to
    	// the type-checker.
    	for _, test := range []struct {
    		files []*ast.File
    		want  string
    	}{
    		{[]*ast.File{fileA, fileB}, "[a = 1 b = 2]"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
Back to top