Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 69 for setitimer (0.23 sec)

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

    	SYS_SETPGID                  = 82  // { int setpgid(int pid, int pgid); }
    	SYS_SETITIMER                = 83  // { int setitimer(u_int which, struct itimerval *itv, struct itimerval *oitv); }
    	SYS_SWAPON                   = 85  // { int swapon(char *name); }
    	SYS_GETITIMER                = 86  // { int getitimer(u_int which, struct itimerval *itv); }
    	SYS_GETDTABLESIZE            = 89  // { int getdtablesize(void); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 36.1K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_freebsd_386.go

    	SYS_SETPGID                  = 82  // { int setpgid(int pid, int pgid); }
    	SYS_SETITIMER                = 83  // { int setitimer(u_int which, struct itimerval *itv, struct itimerval *oitv); }
    	SYS_SWAPON                   = 85  // { int swapon(char *name); }
    	SYS_GETITIMER                = 86  // { int getitimer(u_int which, struct itimerval *itv); }
    	SYS_GETDTABLESIZE            = 89  // { int getdtablesize(void); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 36.1K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_freebsd_riscv64.go

    	SYS_SETPGID                  = 82  // { int setpgid(int pid, int pgid); }
    	SYS_SETITIMER                = 83  // { int setitimer(u_int which, struct itimerval *itv, struct itimerval *oitv); }
    	SYS_SWAPON                   = 85  // { int swapon(char *name); }
    	SYS_GETITIMER                = 86  // { int getitimer(u_int which, struct itimerval *itv); }
    	SYS_GETDTABLESIZE            = 89  // { int getdtablesize(void); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 36.1K bytes
    - Viewed (0)
  4. src/syscall/zsysnum_freebsd_riscv64.go

    	SYS_SETPGID                  = 82  // { int setpgid(int pid, int pgid); }
    	SYS_SETITIMER                = 83  // { int setitimer(u_int which, struct itimerval *itv, struct itimerval *oitv); }
    	SYS_SWAPON                   = 85  // { int swapon(char *name); }
    	SYS_GETITIMER                = 86  // { int getitimer(u_int which, struct itimerval *itv); }
    	SYS_GETDTABLESIZE            = 89  // { int getdtablesize(void); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 29 22:39:46 UTC 2022
    - 35.8K bytes
    - Viewed (0)
  5. src/syscall/zsysnum_freebsd_arm64.go

    	SYS_SETPGID                  = 82  // { int setpgid(int pid, int pgid); }
    	SYS_SETITIMER                = 83  // { int setitimer(u_int which, struct itimerval *itv, struct itimerval *oitv); }
    	SYS_SWAPON                   = 85  // { int swapon(char *name); }
    	SYS_GETITIMER                = 86  // { int getitimer(u_int which, struct itimerval *itv); }
    	SYS_GETDTABLESIZE            = 89  // { int getdtablesize(void); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 01:17:28 UTC 2022
    - 35.8K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_linux.go

    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func getitimer(which int, currValue *Itimerval) (err error) {
    	_, _, e1 := Syscall(SYS_GETITIMER, uintptr(which), uintptr(unsafe.Pointer(currValue)), 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func setitimer(which int, newValue *Itimerval, oldValue *Itimerval) (err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 54.6K bytes
    - Viewed (0)
  7. platforms/core-runtime/time/src/test/groovy/org/gradle/internal/time/DefaultTimerTest.groovy

            when:
            setTime(51243)
    
            then:
            timer.getElapsed() == "51.243 secs"
        }
    
        def testOnlySecondsEvenMs() {
            when:
            setTime(4000)
    
            then:
            timer.getElapsed() == "4.0 secs"
        }
    
        def testMinutesAndSeconds() {
            when:
            setTime(0, 32, 40, 322)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:20:17 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/object_count_tracker_test.go

    	}
    
    	now := time.Now()
    	fakeClock.SetTime(now.Add(-61 * time.Minute))
    	tracker.Set("k1", 61)
    	fakeClock.SetTime(now.Add(-60 * time.Minute))
    	tracker.Set("k2", 60)
    	// we are going to prune keys that are stale for >= 1h
    	// so the above keys are expected to be pruned and the
    	// key below should not be pruned.
    	mostRecent := now.Add(-59 * time.Minute)
    	fakeClock.SetTime(mostRecent)
    	tracker.Set("k3", 59)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 17 19:36:14 UTC 2021
    - 3.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/testing/eventclock/fake_event_clock_test.go

    func exerciseSettablePassiveClock(t *testing.T, pc TestableEventClock) {
    	t1 := time.Now()
    	t2 := t1.Add(time.Hour)
    	pc.SetTime(t1)
    	tx := pc.Now()
    	if tx != t1 {
    		t.Errorf("SetTime(%#+v); Now() => %#+v", t1, tx)
    	}
    	dx := pc.Since(t1)
    	if dx != 0 {
    		t.Errorf("Since() => %v", dx)
    	}
    	pc.SetTime(t2)
    	dx = pc.Since(t1)
    	if dx != time.Hour {
    		t.Errorf("Since() => %v", dx)
    	}
    	tx = pc.Now()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Aug 07 04:07:31 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/storage/cacher/time_budget_test.go

    	// wait for longer than the maxBudget
    	nextTime := time.Now().Add(10 * time.Second)
    	fakeClock.SetTime(nextTime)
    	if res := budget.takeAvailable(); res != budget.maxBudget {
    		t.Errorf("Expected: %v, got: %v", budget.maxBudget, res)
    	}
    	// add two refresh intervals to accumulate 2*refresh durations
    	nextTime = nextTime.Add(2 * time.Second)
    	fakeClock.SetTime(nextTime)
    	if res := budget.takeAvailable(); res != 2*budget.refresh {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 15 09:52:18 UTC 2021
    - 2.8K bytes
    - Viewed (0)
Back to top