Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 185 for timeFn (0.14 sec)

  1. src/runtime/vdso_test.go

    	"os"
    	"os/exec"
    	"path/filepath"
    	"syscall"
    	"testing"
    	"time"
    )
    
    // TestUsingVDSO tests that we are actually using the VDSO to fetch
    // the time.
    func TestUsingVDSO(t *testing.T) {
    	const calls = 100
    
    	if os.Getenv("GO_WANT_HELPER_PROCESS") == "1" {
    		// Fetch the time a lot.
    		var total int64
    		for i := 0; i < calls; i++ {
    			total += time.Now().UnixNano()
    		}
    		os.Exit(0)
    	}
    
    	t.Parallel()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 17 19:47:47 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/ztypes_aix_ppc.go

    type Timespec struct {
    	Sec  int32
    	Nsec int32
    }
    
    type Timeval struct {
    	Sec  int32
    	Usec int32
    }
    
    type Timeval32 struct {
    	Sec  int32
    	Usec int32
    }
    
    type Timex struct{}
    
    type Time_t int32
    
    type Tms struct{}
    
    type Utimbuf struct {
    	Actime  int32
    	Modtime int32
    }
    
    type Timezone struct {
    	Minuteswest int32
    	Dsttime     int32
    }
    
    type Rusage struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  3. src/internal/trace/internal/oldtrace/parser.go

    				return fmt.Errorf("g %d is not running while unpark (time %d)", ev.G, ev.Ts)
    			}
    			if ev.P != TimerP && p.g != ev.G {
    				return fmt.Errorf("p %d is not running g %d while unpark (time %d)", ev.P, ev.G, ev.Ts)
    			}
    			g1 := gs[ev.Args[0]]
    			if g1.state != gWaiting {
    				return fmt.Errorf("g %d is not waiting before unpark (time %d)", ev.Args[0], ev.Ts)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 46.8K bytes
    - Viewed (0)
  4. pilot/pkg/xds/cds.go

    			// after implementing use-waypoint which decouples waypoint creation, wl pod creation
    			// user specifying waypoint use. Without this we're not getting correct waypoint config
    			// in a timely manner
    			return true
    		}
    		// Otherwise, only handle full pushes (skip endpoint-only updates)
    		if !req.Full {
    			return false
    		}
    	default:
    		if !req.Full {
    			// CDS only handles full push
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 21:27:52 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. src/syscall/syscall_linux_386.go

    	if errno != 0 {
    		return 0, errno
    	}
    	return newoffset, nil
    }
    
    //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)
    
    // On x86 Linux, all the socket calls go through an extra indirection,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/ztypes_aix_ppc64.go

    type Timespec struct {
    	Sec  int64
    	Nsec int64
    }
    
    type Timeval struct {
    	Sec  int64
    	Usec int32
    	_    [4]byte
    }
    
    type Timeval32 struct {
    	Sec  int32
    	Usec int32
    }
    
    type Timex struct{}
    
    type Time_t int64
    
    type Tms struct{}
    
    type Utimbuf struct {
    	Actime  int64
    	Modtime int64
    }
    
    type Timezone struct {
    	Minuteswest int32
    	Dsttime     int32
    }
    
    type Rusage struct {
    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/cmd/vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64.go

    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Time(t *Time_t) (tt Time_t, err error) {
    	r0, _, e1 := RawSyscall(SYS_TIME, uintptr(unsafe.Pointer(t)), 0, 0)
    	tt = Time_t(r0)
    	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
    - 17.8K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_linux_mipsle.go

    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Time(t *Time_t) (tt Time_t, err error) {
    	r0, _, e1 := RawSyscall(SYS_TIME, uintptr(unsafe.Pointer(t)), 0, 0)
    	tt = Time_t(r0)
    	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
    - 16.8K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_linux_mips.go

    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func Time(t *Time_t) (tt Time_t, err error) {
    	r0, _, e1 := RawSyscall(SYS_TIME, uintptr(unsafe.Pointer(t)), 0, 0)
    	tt = Time_t(r0)
    	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
    - 16.8K bytes
    - Viewed (0)
  10. src/internal/trace/gc.go

    	in.pos = pos
    	var partial totalUtil
    	if time != util[pos].Time {
    		partial = totalUtilOf(util[pos].Util, time-util[pos].Time)
    	}
    	return in.u.sums[pos] + partial
    }
    
    // next returns the smallest time t' > time of a change in the
    // utilization function.
    func (in *integrator) next(time int64) int64 {
    	for _, u := range in.u.util[in.pos:] {
    		if u.Time > time {
    			return u.Time
    		}
    	}
    	return 1<<63 - 1
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 26K bytes
    - Viewed (0)
Back to top