Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 84 for Namelen (0.16 sec)

  1. src/time/tzdata/tzdata.go

    		if get4s(z[idx:]) != zcheader {
    			break
    		}
    		meth := get2s(z[idx+10:])
    		size := get4s(z[idx+24:])
    		namelen := get2s(z[idx+28:])
    		xlen := get2s(z[idx+30:])
    		fclen := get2s(z[idx+32:])
    		off := get4s(z[idx+42:])
    		zname := z[idx+46 : idx+46+namelen]
    		idx += 46 + namelen + xlen + fclen
    		if zname != name {
    			continue
    		}
    		if meth != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 22:30:53 UTC 2023
    - 3K bytes
    - Viewed (0)
  2. cmd/os-dirent_namelen_linux.go

    		limit = nameBufLen
    	}
    	// Avoid bugs in long file names
    	// https://github.com/golang/tools/commit/5f9a5413737ba4b4f692214aebee582b47c8be74
    	nameLen := bytes.IndexByte(nameBuf[:limit], 0)
    	if nameLen < 0 {
    		return 0, fmt.Errorf("failed to find terminating 0 byte in dirent")
    	}
    	return uint64(nameLen), nil
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Aug 19 01:35:22 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  3. src/os/dirent_wasip1.go

    }
    
    func direntReclen(buf []byte) (uint64, bool) {
    	namelen, ok := direntNamlen(buf)
    	return sizeOfDirent + namelen, ok
    }
    
    func direntNamlen(buf []byte) (uint64, bool) {
    	return readInt(buf, unsafe.Offsetof(syscall.Dirent{}.Namlen), unsafe.Sizeof(syscall.Dirent{}.Namlen))
    }
    
    func direntType(buf []byte) FileMode {
    	off := unsafe.Offsetof(syscall.Dirent{}.Type)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 07 23:34:21 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/fscc/FileRenameInformation2.java

            bufferIndex += 8;
            bufferIndex += 8;
    
            int nameLen = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            byte[] nameBytes = new byte[nameLen];
            System.arraycopy(buffer, bufferIndex, nameBytes, 0, nameBytes.length);
            bufferIndex += nameLen;
            this.fileName = new String(nameBytes, StandardCharsets.UTF_16LE);
            return bufferIndex - start;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  5. src/internal/syscall/windows/registry/zsyscall_windows.go

    	}
    	return
    }
    
    func regEnumValue(key syscall.Handle, index uint32, name *uint16, nameLen *uint32, reserved *uint32, valtype *uint32, buf *byte, buflen *uint32) (regerrno error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 02 15:41:00 UTC 2020
    - 4K bytes
    - Viewed (0)
  6. src/internal/syscall/windows/registry/syscall.go

    //sys	regSetValueEx(key syscall.Handle, valueName *uint16, reserved uint32, vtype uint32, buf *byte, bufsize uint32) (regerrno error) = advapi32.RegSetValueExW
    //sys	regEnumValue(key syscall.Handle, index uint32, name *uint16, nameLen *uint32, reserved *uint32, valtype *uint32, buf *byte, buflen *uint32) (regerrno error) = advapi32.RegEnumValueW
    //sys	regDeleteValue(key syscall.Handle, name *uint16) (regerrno error) = advapi32.RegDeleteValueW
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 07:20:34 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  7. src/internal/poll/fd_wasip1.go

    const sizeOfDirent = 24
    
    func direntReclen(buf []byte) (uint64, bool) {
    	namelen, ok := direntNamlen(buf)
    	return sizeOfDirent + namelen, ok
    }
    
    func direntNamlen(buf []byte) (uint64, bool) {
    	return readInt(buf, unsafe.Offsetof(syscall.Dirent{}.Namlen), unsafe.Sizeof(syscall.Dirent{}.Namlen))
    }
    
    func direntNext(buf []byte) (uint64, bool) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 20:14:02 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/ztypes_zos_s390x.go

    	Type    uint64
    	Bsize   uint64
    	Blocks  uint64
    	Bfree   uint64
    	Bavail  uint64
    	Files   uint32
    	Ffree   uint32
    	Fsid    uint64
    	Namelen uint64
    	Frsize  uint64
    	Flags   uint64
    	_       [4]uint64
    }
    
    type direntLE struct {
    	Reclen uint16
    	Namlen uint16
    	Ino    uint32
    	Extra  uintptr
    	Name   [256]byte
    }
    
    type Dirent struct {
    	Ino    uint64
    	Off    int64
    	Reclen uint16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  9. src/syscall/syscall_wasip1.go

    	// The length of the name of the directory entry.
    	Namlen uint32
    	// The type of the file referred to by this directory entry.
    	Type Filetype
    	// Name of the directory entry.
    	Name *byte
    }
    
    func direntIno(buf []byte) (uint64, bool) {
    	return readInt(buf, unsafe.Offsetof(Dirent{}.Ino), unsafe.Sizeof(Dirent{}.Ino))
    }
    
    func direntReclen(buf []byte) (uint64, bool) {
    	namelen, ok := direntNamlen(buf)
    	return 24 + namelen, ok
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  10. src/syscall/ztypes_aix_ppc64.go

    }
    
    type IPv6Mreq struct {
    	Multiaddr [16]byte /* in6_addr */
    	Interface uint32
    }
    
    type Linger struct {
    	Onoff  int32
    	Linger int32
    }
    
    type Msghdr struct {
    	Name       *byte
    	Namelen    uint32
    	Iov        *Iovec
    	Iovlen     int32
    	Control    *byte
    	Controllen uint32
    	Flags      int32
    }
    
    const (
    	SizeofSockaddrInet4    = 0x10
    	SizeofSockaddrInet6    = 0x1c
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 14:36:41 UTC 2019
    - 4.2K bytes
    - Viewed (0)
Back to top