Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for PathBuffer (0.15 sec)

  1. src/internal/syscall/windows/reparse_windows.go

    	ReparseDataLength uint16
    	Reserved          uint16
    }
    
    type SymbolicLinkReparseBuffer struct {
    	// The integer that contains the offset, in bytes,
    	// of the substitute name string in the PathBuffer array,
    	// computed as an offset from byte 0 of PathBuffer. Note that
    	// this offset must be divided by 2 to get the array index.
    	SubstituteNameOffset uint16
    	// The integer that contains the length, in bytes, of the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 12 07:15:06 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. src/syscall/types_windows.go

    	PrintNameOffset      uint16
    	PrintNameLength      uint16
    	Flags                uint32
    	PathBuffer           [1]uint16
    }
    
    type mountPointReparseBuffer struct {
    	SubstituteNameOffset uint16
    	SubstituteNameLength uint16
    	PrintNameOffset      uint16
    	PrintNameLength      uint16
    	PathBuffer           [1]uint16
    }
    
    type reparseDataBuffer struct {
    	ReparseTag        uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  3. src/os/os_windows_test.go

    }
    
    func createMountPoint(link string, target *reparseData) error {
    	var buf *windows.MountPointReparseBuffer
    	buflen := uint16(unsafe.Offsetof(buf.PathBuffer)) + target.pathBuffeLen() // see ReparseDataLength documentation
    	byteblob := make([]byte, buflen)
    	buf = (*windows.MountPointReparseBuffer)(unsafe.Pointer(&byteblob[0]))
    	buf.SubstituteNameOffset = target.substituteName.offset
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/windows/types_windows.go

    	PrintNameOffset      uint16
    	PrintNameLength      uint16
    	Flags                uint32
    	PathBuffer           [1]uint16
    }
    
    type mountPointReparseBuffer struct {
    	SubstituteNameOffset uint16
    	SubstituteNameLength uint16
    	PrintNameOffset      uint16
    	PrintNameLength      uint16
    	PathBuffer           [1]uint16
    }
    
    type reparseDataBuffer struct {
    	ReparseTag        uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 104.1K bytes
    - Viewed (0)
  5. src/syscall/syscall_windows.go

    	var s string
    	switch rdb.ReparseTag {
    	case IO_REPARSE_TAG_SYMLINK:
    		data := (*symbolicLinkReparseBuffer)(unsafe.Pointer(&rdb.reparseBuffer))
    		p := (*[0xffff]uint16)(unsafe.Pointer(&data.PathBuffer[0]))
    		s = UTF16ToString(p[data.SubstituteNameOffset/2 : (data.SubstituteNameOffset+data.SubstituteNameLength)/2])
    		if data.Flags&_SYMLINK_FLAG_RELATIVE == 0 {
    			if len(s) >= 4 && s[:4] == `\??\` {
    				s = s[4:]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 52.7K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/windows/syscall_windows.go

    		p := (*[0xffff]uint16)(unsafe.Pointer(&data.PathBuffer[0]))
    		s = UTF16ToString(p[data.PrintNameOffset/2 : (data.PrintNameLength-data.PrintNameOffset)/2])
    	case IO_REPARSE_TAG_MOUNT_POINT:
    		data := (*mountPointReparseBuffer)(unsafe.Pointer(&rdb.reparseBuffer))
    		p := (*[0xffff]uint16)(unsafe.Pointer(&data.PathBuffer[0]))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 82.8K bytes
    - Viewed (0)
Back to top