Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 268 for TV (0.04 sec)

  1. src/encoding/binary/binary_test.go

    			}
    
    			tv := reflect.Indirect(reflect.ValueOf(ts))
    			for i, n := 0, tv.NumField(); i < n; i++ {
    				typ := tv.Field(i).Type().String()
    				if typ == "[4]int" {
    					typ = "int" // the problem is int, not the [4]
    				}
    				if _, err := enc.fn(BigEndian, tv.Field(i).Interface()); err == nil {
    					t.Errorf("WriteT.%v: have err == nil, want non-nil", tv.Field(i).Type())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 19:16:18 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  2. src/syscall/syscall_unix.go

    	if len(s) > 0 {
    		p = unsafe.Pointer(&[]byte(s)[0])
    	}
    	return setsockopt(fd, level, opt, p, uintptr(len(s)))
    }
    
    func SetsockoptTimeval(fd, level, opt int, tv *Timeval) (err error) {
    	return setsockopt(fd, level, opt, unsafe.Pointer(tv), unsafe.Sizeof(*tv))
    }
    
    func Socket(domain, typ, proto int) (fd int, err error) {
    	if domain == AF_INET6 && SocketDisableIPv6 {
    		return -1, EAFNOSUPPORT
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 16:19:26 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  3. src/syscall/syscall_windows.go

    	}
    	defer Close(h)
    	a := Filetime{}
    	w := Filetime{}
    	if tv[0].Nanoseconds() != 0 {
    		a = NsecToFiletime(tv[0].Nanoseconds())
    	}
    	if tv[0].Nanoseconds() != 0 {
    		w = NsecToFiletime(tv[1].Nanoseconds())
    	}
    	return SetFileTime(h, nil, &a, &w)
    }
    
    // This matches the value in os/file_windows.go.
    const _UTIME_OMIT = -1
    
    func UtimesNano(path string, ts []Timespec) (err error) {
    	if len(ts) != 2 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 52.7K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/interpodaffinity/filtering.go

    	copy := make(topologyToMatchedTermCount, len(m))
    	copy.append(m)
    	return copy
    }
    
    func (m topologyToMatchedTermCount) update(node *v1.Node, tk string, value int64) {
    	if tv, ok := node.Labels[tk]; ok {
    		pair := topologyPair{key: tk, value: tv}
    		m[pair] += value
    		// value could be negative, hence we delete the entry if it is down to zero.
    		if m[pair] == 0 {
    			delete(m, pair)
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 01 10:24:54 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  5. src/go/types/check.go

    	if m := check.Types; m != nil {
    		for {
    			tv := m[x]
    			assert(tv.Type != nil) // should have been recorded already
    			pos := x.Pos()
    			tv.Type = NewTuple(
    				NewVar(pos, check.pkg, "", t0),
    				NewVar(pos, check.pkg, "", t1),
    			)
    			m[x] = tv
    			// if x is a parenthesized expression (p.X), update p.X
    			p, _ := x.(*ast.ParenExpr)
    			if p == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_ppc64x.go

    //sys	mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error)
    
    //sys	futimesat(dirfd int, path string, times *[2]Timeval) (err error)
    //sysnb	Gettimeofday(tv *Timeval) (err error)
    //sysnb	Time(t *Time_t) (tt Time_t, err error)
    //sys	Utime(path string, buf *Utimbuf) (err error)
    //sys	utimes(path string, times *[2]Timeval) (err error)
    
    func setTimespec(sec, nsec int64) Timespec {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 5K bytes
    - Viewed (0)
  7. src/syscall/syscall_linux_ppc64x.go

    //sys	mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error)
    
    //sys	futimesat(dirfd int, path string, times *[2]Timeval) (err error)
    //sysnb	Gettimeofday(tv *Timeval) (err error)
    //sysnb	Time(t *Time_t) (tt Time_t, err error)
    //sys	Utime(path string, buf *Utimbuf) (err error)
    //sys	utimes(path string, times *[2]Timeval) (err error)
    
    //go:nosplit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm.go

    	SYS_SETITIMER      = 69  // { int sys_setitimer(int which, const struct itimerval *itv, struct itimerval *oitv); }
    	SYS_GETITIMER      = 70  // { int sys_getitimer(int which, struct itimerval *itv); }
    	SYS_SELECT         = 71  // { int sys_select(int nd, fd_set *in, fd_set *ou, fd_set *ex, struct timeval *tv); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 17.9K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_openbsd_mips64.go

    	SYS_SETITIMER      = 69  // { int sys_setitimer(int which, const struct itimerval *itv, struct itimerval *oitv); }
    	SYS_GETITIMER      = 70  // { int sys_getitimer(int which, struct itimerval *itv); }
    	SYS_SELECT         = 71  // { int sys_select(int nd, fd_set *in, fd_set *ou, fd_set *ex, struct timeval *tv); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 18K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_linux_arm64.go

    	xaddr = uintptr(r0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Gettimeofday(tv *Timeval) (err error) {
    	_, _, e1 := RawSyscall(SYS_GETTIMEOFDAY, uintptr(unsafe.Pointer(tv)), 0, 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 14.2K bytes
    - Viewed (0)
Back to top