- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 268 for TV (0.09 sec)
-
src/syscall/bpf_bsd.go
func BpfTimeout(fd int) (*Timeval, error) { var tv Timeval err := ioctlPtr(fd, BIOCGRTIMEOUT, unsafe.Pointer(&tv)) if err != nil { return nil, err } return &tv, nil } // Deprecated: Use golang.org/x/net/bpf instead. func SetBpfTimeout(fd int, tv *Timeval) error { err := ioctlPtr(fd, BIOCSRTIMEOUT, unsafe.Pointer(tv)) if err != nil { return err } return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 07 10:34:48 UTC 2023 - 4K bytes - Viewed (0) -
src/cmd/compile/internal/types2/compiler_internal.go
pos := a.Pos() typ := a.Type.GetTypeInfo().Type name := fmt.Sprintf("#rv%d", i+1) obj.name = name s.scope.Insert(obj) obj.setScopePos(pos) tv := syntax.TypeAndValue{Type: typ} tv.SetIsValue() n := syntax.NewName(pos, obj.Name()) n.SetTypeInfo(tv) a.Name = n return obj, n
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 21:08:03 UTC 2024 - 1.4K bytes - Viewed (0) -
src/syscall/syscall_wasip1.go
ts.Nsec = int64(t % 1e9) } type Timeval struct { Sec int64 Usec int64 } func (tv *Timeval) timestamp() timestamp { return timestamp(tv.Sec*1e9) + timestamp(tv.Usec*1e3) } func (tv *Timeval) setTimestamp(t timestamp) { tv.Sec = int64(t / 1e9) tv.Usec = int64((t % 1e9) / 1e3) } func setTimespec(sec, nsec int64) Timespec { return Timespec{Sec: sec, Nsec: nsec} }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:03:59 UTC 2024 - 9.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_unix.go
return &linger, err } func GetsockoptTimeval(fd, level, opt int) (*Timeval, error) { var tv Timeval vallen := _Socklen(unsafe.Sizeof(tv)) err := getsockopt(fd, level, opt, unsafe.Pointer(&tv), &vallen) return &tv, err } func GetsockoptUint64(fd, level, opt int) (value uint64, err error) { var n uint64 vallen := _Socklen(8)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 16.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/environment/environment_test.go
activation := tc.activation if activation == nil { activation = map[string]any{} } for _, tv := range tc.typeVersionCombinations { t.Run(fmt.Sprintf("version=%s,envType=%s", tv.version.String(), tv.envType), func(t *testing.T) { envSet := MustBaseEnvSet(tv.version, true) if tc.opts != nil { var err error envSet, err = envSet.Extend(tc.opts...) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 10K bytes - Viewed (0) -
src/syscall/syscall_linux_mips64x.go
} //sys futimesat(dirfd int, path string, times *[2]Timeval) (err error) //sysnb Gettimeofday(tv *Timeval) (err error) func Time(t *Time_t) (tt Time_t, err error) { var tv Timeval err = Gettimeofday(&tv) if err != nil { return 0, err } if t != nil { *t = Time_t(tv.Sec) } return Time_t(tv.Sec), nil } //sys Utime(path string, buf *Utimbuf) (err error)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 22:23:07 UTC 2023 - 6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_sparc64.go
} //sys futimesat(dirfd int, path string, times *[2]Timeval) (err error) //sysnb Gettimeofday(tv *Timeval) (err error) func Time(t *Time_t) (tt Time_t, err error) { var tv Timeval err = Gettimeofday(&tv) if err != nil { return 0, err } if t != nil { *t = Time_t(tv.Sec) } return Time_t(tv.Sec), nil } //sys Utime(path string, buf *Utimbuf) (err error)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 4.4K bytes - Viewed (0) -
src/runtime/defs_openbsd_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 itimerval struct { it_interval timeval it_value timeval } type keventt struct { ident uint64 filter int16 flags uint16
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 23 17:31:23 UTC 2023 - 3K bytes - Viewed (0) -
src/syscall/syscall_bsd.go
// Timeval have different types in the different OSes tv := [2]Timeval{ NsecToTimeval(TimespecToNsec(ts[0])), NsecToTimeval(TimespecToNsec(ts[1])), } return utimes(path, (*[2]Timeval)(unsafe.Pointer(&tv[0]))) } //sys futimes(fd int, timeval *[2]Timeval) (err error) func Futimes(fd int, tv []Timeval) (err error) { if len(tv) != 2 { return EINVAL }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 07 10:34:48 UTC 2023 - 13.6K bytes - Viewed (0) -
src/go/types/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[ast.Expr]TypeAndValue) mustTypecheck(src, nil, &Info{Types: types}) want := Typ[Int] n := 0 for x, tv := range types { if _, ok := x.(*ast.CallExpr); ok {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 28.1K bytes - Viewed (0)