Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 78 for namebuf (0.36 sec)

  1. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt

          writeShort(0) // additional
    
          val nameBuf = Buffer()
          val labels = host.split('.').dropLastWhile { it.isEmpty() }
          for (label in labels) {
            val utf8ByteCount = label.utf8Size()
            require(utf8ByteCount == label.length.toLong()) { "non-ascii hostname: $host" }
            nameBuf.writeByte(utf8ByteCount.toInt())
            nameBuf.writeUtf8(label)
          }
          nameBuf.writeByte(0) // end
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/bpxsvc_zos.go

    }
    
    func BpxOpen(name string, options *BpxFilestatus, mode *BpxMode) (rv int32, rc int32, rn int32) {
    	if len(name) < 1024 {
    		var namebuf [1024]byte
    		sz := int32(copy(namebuf[:], name))
    		A2e(namebuf[:sz])
    		var parms [7]unsafe.Pointer
    		parms[0] = unsafe.Pointer(&sz)
    		parms[1] = unsafe.Pointer(&namebuf[0])
    		parms[2] = unsafe.Pointer(options)
    		parms[3] = unsafe.Pointer(mode)
    		parms[4] = unsafe.Pointer(&rv)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  3. cmd/os-dirent_namelen_linux.go

    	nameBuf := (*[unsafe.Sizeof(dirent.Name)]byte)(unsafe.Pointer(&dirent.Name[0]))
    	const nameBufLen = uint16(len(nameBuf))
    	limit := dirent.Reclen - fixedHdr
    	if limit > nameBufLen {
    		limit = nameBufLen
    	}
    	// Avoid bugs in long file names
    	// https://github.com/golang/tools/commit/5f9a5413737ba4b4f692214aebee582b47c8be74
    	nameLen := bytes.IndexByte(nameBuf[:limit], 0)
    	if nameLen < 0 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Aug 19 01:35:22 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  4. src/syscall/zsysnum_freebsd_amd64.go

    	SYS_GETGID                   = 47  // { gid_t getgid(void); }
    	SYS_GETLOGIN                 = 49  // { int getlogin(char *namebuf, u_int \
    	SYS_SETLOGIN                 = 50  // { int setlogin(char *namebuf); }
    	SYS_ACCT                     = 51  // { int acct(char *path); }
    	SYS_SIGALTSTACK              = 53  // { int sigaltstack(stack_t *ss, \
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 01:17:28 UTC 2022
    - 25.5K bytes
    - Viewed (0)
  5. src/syscall/zsysnum_freebsd_386.go

    	SYS_GETGID                   = 47  // { gid_t getgid(void); }
    	SYS_GETLOGIN                 = 49  // { int getlogin(char *namebuf, u_int \
    	SYS_SETLOGIN                 = 50  // { int setlogin(char *namebuf); }
    	SYS_ACCT                     = 51  // { int acct(char *path); }
    	SYS_SIGALTSTACK              = 53  // { int sigaltstack(stack_t *ss, \
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 01:17:28 UTC 2022
    - 25.5K bytes
    - Viewed (0)
  6. src/syscall/zsysnum_freebsd_arm.go

    	SYS_GETGID                   = 47  // { gid_t getgid(void); }
    	SYS_GETLOGIN                 = 49  // { int getlogin(char *namebuf, u_int \
    	SYS_SETLOGIN                 = 50  // { int setlogin(char *namebuf); }
    	SYS_ACCT                     = 51  // { int acct(char *path); }
    	SYS_SIGALTSTACK              = 53  // { int sigaltstack(stack_t *ss, \
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 01:17:28 UTC 2022
    - 25.5K bytes
    - Viewed (0)
  7. cmd/os_unix.go

    		// files and directories.
    		typ = unexpectedFileMode
    	}
    
    	nameBuf := (*[unsafe.Sizeof(dirent.Name)]byte)(unsafe.Pointer(&dirent.Name[0]))
    	nameLen, err := direntNamlen(dirent)
    	if err != nil {
    		return consumed, nil, typ, err
    	}
    
    	return consumed, nameBuf[:nameLen], typ, nil
    }
    
    // readDirFn applies the fn() function on each entries at dirPath, doesn't recurse into
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  8. src/syscall/zsysnum_openbsd_arm64.go

    	SYS_GETGID         = 47  // { gid_t sys_getgid(void); }
    	SYS_SIGPROCMASK    = 48  // { int sys_sigprocmask(int how, sigset_t mask); }
    	SYS_SETLOGIN       = 50  // { int sys_setlogin(const char *namebuf); }
    	SYS_ACCT           = 51  // { int sys_acct(const char *path); }
    	SYS_SIGPENDING     = 52  // { int sys_sigpending(void); }
    	SYS_FSTAT          = 53  // { int sys_fstat(int fd, struct stat *sb); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 17:34:54 UTC 2019
    - 14.7K bytes
    - Viewed (0)
  9. src/syscall/zsysnum_openbsd_mips64.go

    	SYS_GETGID         = 47  // { gid_t sys_getgid(void); }
    	SYS_SIGPROCMASK    = 48  // { int sys_sigprocmask(int how, sigset_t mask); }
    	SYS_SETLOGIN       = 50  // { int sys_setlogin(const char *namebuf); }
    	SYS_ACCT           = 51  // { int sys_acct(const char *path); }
    	SYS_SIGPENDING     = 52  // { int sys_sigpending(void); }
    	SYS_FSTAT          = 53  // { int sys_fstat(int fd, struct stat *sb); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 29 08:08:26 UTC 2020
    - 14.9K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_freebsd_amd64.go

    	SYS_GETGID                   = 47  // { gid_t getgid(void); }
    	SYS_GETLOGIN                 = 49  // { int getlogin(char *namebuf, u_int namelen); }
    	SYS_SETLOGIN                 = 50  // { int setlogin(char *namebuf); }
    	SYS_ACCT                     = 51  // { int acct(char *path); }
    	SYS_SIGALTSTACK              = 53  // { int sigaltstack(stack_t *ss, stack_t *oss); }
    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