Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Offsetsof (0.04 sec)

  1. api/go1.5.txt

    pkg go/types, type Selection struct
    pkg go/types, type SelectionKind int
    pkg go/types, type Signature struct
    pkg go/types, type Sizes interface { Alignof, Offsetsof, Sizeof }
    pkg go/types, type Sizes interface, Alignof(Type) int64
    pkg go/types, type Sizes interface, Offsetsof([]*Var) []int64
    pkg go/types, type Sizes interface, Sizeof(Type) int64
    pkg go/types, type Slice struct
    pkg go/types, type StdSizes struct
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Jul 30 21:14:09 UTC 2015
    - 46.6K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_macros.h

    #endif  // TF_Bool
    
    // Macro used to calculate struct size for maintaining ABI stability across
    // different struct implementations.
    #ifndef TF_OFFSET_OF_END
    #define TF_OFFSET_OF_END(TYPE, MEMBER) \
      (offsetof(TYPE, MEMBER) + sizeof(((TYPE *)0)->MEMBER))
    #endif  // TF_OFFSET_OF_END
    
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Sat May 13 04:44:45 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  3. cmd/os-dirent_namelen_linux.go

    package cmd
    
    import (
    	"bytes"
    	"fmt"
    	"syscall"
    	"unsafe"
    )
    
    func direntNamlen(dirent *syscall.Dirent) (uint64, error) {
    	const fixedHdr = uint16(unsafe.Offsetof(syscall.Dirent{}.Name))
    	nameBuf := (*[unsafe.Sizeof(dirent.Name)]byte)(unsafe.Pointer(&dirent.Name[0]))
    	const nameBufLen = uint16(len(nameBuf))
    	limit := dirent.Reclen - fixedHdr
    	if limit > nameBufLen {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 19 01:35:22 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  4. .bazelrc

    # This was added in clang-16 by https://reviews.llvm.org/D133574.
    # Can be removed once upb is updated, since a type definition is used within
    # offset of in the current version of ubp.
    # See https://github.com/protocolbuffers/upb/blob/9effcbcb27f0a665f9f345030188c0b291e32482/upb/upb.c#L183.
    build:release_linux_base --copt=-Wno-gnu-offsetof-extensions
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Fri Aug 22 21:03:34 UTC 2025
    - 56K bytes
    - Viewed (0)
  5. cmd/os_unix.go

    func parseDirEnt(buf []byte) (consumed int, name []byte, typ os.FileMode, err error) {
    	// golang.org/issue/15653
    	dirent := (*syscall.Dirent)(unsafe.Pointer(&buf[0]))
    	if v := unsafe.Offsetof(dirent.Reclen) + unsafe.Sizeof(dirent.Reclen); uintptr(len(buf)) < v {
    		return consumed, nil, typ, fmt.Errorf("buf size of %d smaller than dirent header size %d", len(buf), v)
    	}
    	if len(buf) < int(dirent.Reclen) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  6. configure.py

        return None
    
      print('You have Clang %s installed.\n' % curr_version)
      return curr_version
    
    
    # Disable clang extension that rejects type definitions within offsetof.
    # This was added in clang-16 by https://reviews.llvm.org/D133574.
    # Still required for clang-17.
    # Can be removed once upb is updated, since a type definition is used within
    # offset of in the current version of ubp. See
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Wed Apr 30 15:18:54 UTC 2025
    - 48.3K bytes
    - Viewed (0)
  7. doc/go_spec.html

    or fields of variable size. Otherwise the size is <i>constant</i>.
    Calls to <code>Alignof</code>, <code>Offsetof</code>, and <code>Sizeof</code>
    are compile-time <a href="#Constant_expressions">constant expressions</a> of
    type <code>uintptr</code> if their arguments (or the struct <code>s</code> in
    the selector expression <code>s.f</code> for <code>Offsetof</code>) are types
    of constant size.
    </p>
    
    <p>
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue May 06 19:12:15 UTC 2025
    - 286.2K bytes
    - Viewed (0)
Back to top