Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 268 for TV (0.02 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_zos_s390x.go

    func impl_Futimes(fd int, tv []Timeval) (err error) {
    	var _p0 unsafe.Pointer
    	if len(tv) > 0 {
    		_p0 = unsafe.Pointer(&tv[0])
    	} else {
    		_p0 = unsafe.Pointer(&_zero)
    	}
    	runtime.EnterSyscall()
    	r0, e2, e1 := CallLeFuncWithErr(GetZosLibVec()+SYS_FUTIMES<<4, uintptr(fd), uintptr(_p0), uintptr(len(tv)))
    	runtime.ExitSyscall()
    	if int64(r0) == -1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 88.2K bytes
    - Viewed (0)
  2. src/runtime/defs_linux_ppc64.go

    }
    
    //go:nosplit
    func (ts *timespec) setNsec(ns int64) {
    	ts.tv_sec = ns / 1e9
    	ts.tv_nsec = ns % 1e9
    }
    
    type timeval struct {
    	tv_sec  int64
    	tv_usec int64
    }
    
    func (tv *timeval) set_usec(x int32) {
    	tv.tv_usec = int64(x)
    }
    
    type sigactiont struct {
    	sa_handler  uintptr
    	sa_flags    uint64
    	sa_restorer uintptr
    	sa_mask     uint64
    }
    
    type siginfoFields struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/issues_test.go

    			}
    		}
    		if want != nil && !Identical(tv.Type, want) {
    			t.Errorf("got %s; want %s", tv.Type, want)
    		}
    	}
    }
    
    func TestIssue6413(t *testing.T) {
    	src := `
    package p
    func f() int {
    	defer f()
    	go f()
    	return 0
    }
    `
    	types := make(map[syntax.Expr]TypeAndValue)
    	mustTypecheck(src, nil, &Info{Types: types})
    
    	want := Typ[Int]
    	n := 0
    	for x, tv := range types {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  4. src/runtime/defs1_netbsd_arm64.go

    func (ts *timespec) setNsec(ns int64) {
    	ts.tv_sec = ns / 1e9
    	ts.tv_nsec = ns % 1e9
    }
    
    type timeval struct {
    	tv_sec  int64
    	tv_usec int32
    	_       [4]byte // EABI
    }
    
    func (tv *timeval) set_usec(x int32) {
    	tv.tv_usec = x
    }
    
    type itimerval struct {
    	it_interval timeval
    	it_value    timeval
    }
    
    type mcontextt struct {
    	__gregs [35]uint64
    	__fregs [4160]byte // _NFREG * 128 + 32 + 32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/syscall_solaris.go

    	}
    	return string(buf[:n]), nil
    }
    
    //sys	utimes(path string, times *[2]Timeval) (err error)
    
    func Utimes(path string, tv []Timeval) (err error) {
    	if tv == nil {
    		return utimes(path, nil)
    	}
    	if len(tv) != 2 {
    		return EINVAL
    	}
    	return utimes(path, (*[2]Timeval)(unsafe.Pointer(&tv[0])))
    }
    
    //sys	utimensat(fd int, path string, times *[2]Timespec, flag int) (err error)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 31.1K bytes
    - Viewed (0)
  6. src/crypto/x509/pkix/pkix.go

    	s := ""
    	for i := 0; i < len(r); i++ {
    		rdn := r[len(r)-1-i]
    		if i > 0 {
    			s += ","
    		}
    		for j, tv := range rdn {
    			if j > 0 {
    				s += "+"
    			}
    
    			oidString := tv.Type.String()
    			typeName, ok := attributeTypeNames[oidString]
    			if !ok {
    				derBytes, err := asn1.Marshal(tv.Value)
    				if err == nil {
    					s += oidString + "=#" + hex.EncodeToString(derBytes)
    					continue // No value escaping necessary.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  7. src/runtime/defs_darwin_amd64.go

    	si_addr   uint64
    	si_value  [8]byte
    	si_band   int64
    	__pad     [7]uint64
    }
    
    type timeval struct {
    	tv_sec    int64
    	tv_usec   int32
    	pad_cgo_0 [4]byte
    }
    
    func (tv *timeval) set_usec(x int32) {
    	tv.tv_usec = x
    }
    
    type itimerval struct {
    	it_interval timeval
    	it_value    timeval
    }
    
    type timespec struct {
    	tv_sec  int64
    	tv_nsec int64
    }
    
    //go:nosplit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. src/runtime/defs_linux_arm.go

    	uc_mcontext sigcontext
    	uc_sigmask  uint32
    	__unused    [31]int32
    	uc_regspace [128]uint32
    }
    
    type timeval struct {
    	tv_sec  int32
    	tv_usec int32
    }
    
    func (tv *timeval) set_usec(x int32) {
    	tv.tv_usec = x
    }
    
    type itimerspec struct {
    	it_interval timespec
    	it_value    timespec
    }
    
    type itimerval struct {
    	it_interval timeval
    	it_value    timeval
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  9. src/runtime/defs_aix_ppc64.go

    func (ts *timespec) setNsec(ns int64) {
    	ts.tv_sec = ns / 1e9
    	ts.tv_nsec = ns % 1e9
    }
    
    type timeval struct {
    	tv_sec    int64
    	tv_usec   int32
    	pad_cgo_0 [4]byte
    }
    
    func (tv *timeval) set_usec(x int32) {
    	tv.tv_usec = x
    }
    
    type itimerval struct {
    	it_interval timeval
    	it_value    timeval
    }
    
    type stackt struct {
    	ss_sp     uintptr
    	ss_size   uintptr
    	ss_flags  int32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 20 21:27:51 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  10. src/syscall/types_windows.go

    // Invented values to support what package os expects.
    type Timeval struct {
    	Sec  int32
    	Usec int32
    }
    
    func (tv *Timeval) Nanoseconds() int64 {
    	return (int64(tv.Sec)*1e6 + int64(tv.Usec)) * 1e3
    }
    
    func NsecToTimeval(nsec int64) (tv Timeval) {
    	tv.Sec = int32(nsec / 1e9)
    	tv.Usec = int32(nsec % 1e9 / 1e3)
    	return
    }
    
    type SecurityAttributes struct {
    	Length             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)
Back to top