Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 202 for Namelen (0.42 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/time/zoneinfo_read.go

    		//	18	csize[4]
    		//	22	uncsize[4]
    		//	26	namelen[2]
    		//	28	xlen[2]
    		//	30	name[namelen]
    		//	30+namelen+xlen - file data
    		//
    		buf = make([]byte, zheadersize+namelen)
    		if err := preadn(fd, buf, off); err != nil ||
    			get4(buf) != zheader ||
    			get2(buf[8:]) != meth ||
    			get2(buf[26:]) != namelen ||
    			string(buf[30:30+namelen]) != name {
    			return nil, errors.New("corrupt zip file " + zipfile)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

         */
        @Override
        public int size () {
            int size = Smb2Constants.SMB2_HEADER_LENGTH + 56;
            int nameLen = 2 * this.name.length();
            if ( nameLen == 0 ) {
                nameLen++;
            }
    
            size += size8(nameLen);
            if ( this.createContexts != null ) {
                for ( CreateContextRequest ccr : this.createContexts ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sat Jun 01 09:52:11 UTC 2019
    - 14.3K bytes
    - Viewed (0)
  7. 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)
  8. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm64.go

    	SYS_CONNECTAT                = 539 // { int connectat(int fd, int s, caddr_t name, int namelen); }
    	SYS_CHFLAGSAT                = 540 // { int chflagsat(int fd, const char *path, u_long flags, int atflag); }
    	SYS_ACCEPT4                  = 541 // { int accept4(int s, struct sockaddr * __restrict name, __socklen_t * __restrict anamelen, int flags); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 36.1K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_freebsd_amd64.go

    	SYS_CONNECTAT                = 539 // { int connectat(int fd, int s, caddr_t name, int namelen); }
    	SYS_CHFLAGSAT                = 540 // { int chflagsat(int fd, const char *path, u_long flags, int atflag); }
    	SYS_ACCEPT4                  = 541 // { int accept4(int s, struct sockaddr * __restrict name, __socklen_t * __restrict anamelen, int flags); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 36.1K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm.go

    	SYS_CONNECTAT                = 539 // { int connectat(int fd, int s, caddr_t name, int namelen); }
    	SYS_CHFLAGSAT                = 540 // { int chflagsat(int fd, const char *path, u_long flags, int atflag); }
    	SYS_ACCEPT4                  = 541 // { int accept4(int s, struct sockaddr * __restrict name, __socklen_t * __restrict anamelen, int flags); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 36.1K bytes
    - Viewed (0)
Back to top