Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 444 for ts (0.02 sec)

  1. src/runtime/defs_linux_riscv64.go

    	_ITIMER_PROF    = 0x2
    
    	_CLOCK_THREAD_CPUTIME_ID = 0x3
    
    	_SIGEV_THREAD_ID = 0x4
    )
    
    type timespec struct {
    	tv_sec  int64
    	tv_nsec int64
    }
    
    //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)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  2. src/os/exec/exec_linux_test.go

    	// the garbage collector might create.
    	const threads = 10
    
    	var wg sync.WaitGroup
    	wg.Add(threads)
    	ts := syscall.NsecToTimespec((100 * time.Microsecond).Nanoseconds())
    	for i := 0; i < threads; i++ {
    		go func() {
    			defer wg.Done()
    			syscall.Nanosleep(&ts, nil)
    		}()
    	}
    	wg.Wait()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 26 14:49:07 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  3. src/runtime/defs_linux_arm.go

    	_SIGEV_THREAD_ID = 0x4
    
    	_AF_UNIX    = 0x1
    	_SOCK_DGRAM = 0x2
    )
    
    type timespec struct {
    	tv_sec  int32
    	tv_nsec int32
    }
    
    //go:nosplit
    func (ts *timespec) setNsec(ns int64) {
    	ts.tv_sec = timediv(ns, 1e9, &ts.tv_nsec)
    }
    
    type stackt struct {
    	ss_sp    *byte
    	ss_flags int32
    	ss_size  uintptr
    }
    
    type sigcontext struct {
    	trap_no       uint32
    	error_code    uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  4. src/runtime/defs_aix_ppc64.go

    	si_value   [2]int32 // [8]byte
    	__si_flags int32
    	__pad      [3]int32
    }
    
    type timespec struct {
    	tv_sec  int64
    	tv_nsec int64
    }
    
    //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   int32
    	pad_cgo_0 [4]byte
    }
    
    func (tv *timeval) set_usec(x int32) {
    	tv.tv_usec = x
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 20 21:27:51 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  5. src/syscall/syscall_wasip1.go

    func Umask(mask int) int {
    	return 0
    }
    
    type Timespec struct {
    	Sec  int64
    	Nsec int64
    }
    
    func (ts *Timespec) timestamp() timestamp {
    	return timestamp(ts.Sec*1e9) + timestamp(ts.Nsec)
    }
    
    func (ts *Timespec) setTimestamp(t timestamp) {
    	ts.Sec = int64(t / 1e9)
    	ts.Nsec = int64(t % 1e9)
    }
    
    type Timeval struct {
    	Sec  int64
    	Usec int64
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/mutating/plugin_test.go

    func TestWebhookDuration(ts *testing.T) {
    	clk := clocktesting.FakeClock{}
    	testServer := webhooktesting.NewTestServerWithHandler(ts, webhooktesting.ClockSteppingWebhookHandler(ts, &clk))
    	testServer.StartTLS()
    	defer testServer.Close()
    	serverURL, err := url.ParseRequestURI(testServer.URL)
    	if err != nil {
    		ts.Fatalf("this should never happen? %v", err)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:52 UTC 2024
    - 11K bytes
    - Viewed (0)
  7. src/runtime/defs_darwin_arm64.go

    }
    
    type itimerval struct {
    	it_interval timeval
    	it_value    timeval
    }
    
    type timespec struct {
    	tv_sec  int64
    	tv_nsec int64
    }
    
    //go:nosplit
    func (ts *timespec) setNsec(ns int64) {
    	ts.tv_sec = ns / 1e9
    	ts.tv_nsec = ns % 1e9
    }
    
    type exceptionstate64 struct {
    	far uint64 // virtual fault addr
    	esr uint32 // exception syndrome
    	exc uint32 // number of arm exception taken
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. src/runtime/defs_linux_386.go

    	_xmm      [8]xmmreg
    	padding1  [44]uint32
    	anon0     [48]byte
    }
    
    type timespec struct {
    	tv_sec  int32
    	tv_nsec int32
    }
    
    //go:nosplit
    func (ts *timespec) setNsec(ns int64) {
    	ts.tv_sec = timediv(ns, 1e9, &ts.tv_nsec)
    }
    
    type timeval struct {
    	tv_sec  int32
    	tv_usec int32
    }
    
    func (tv *timeval) set_usec(x int32) {
    	tv.tv_usec = x
    }
    
    type sigactiont struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  9. cmd/data-usage-utils.go

    	if dui.TierStats == nil {
    		return nil
    	}
    
    	if globalTierConfigMgr.Empty() {
    		return nil
    	}
    
    	ts := make(map[string]madmin.TierStats)
    	dui.TierStats.populateStats(ts)
    
    	infos := make([]madmin.TierInfo, 0, len(ts))
    	for tier, stats := range ts {
    		infos = append(infos, madmin.TierInfo{
    			Name:  tier,
    			Type:  globalTierConfigMgr.TierType(tier),
    			Stats: stats,
    		})
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Mar 10 09:15:15 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  10. src/runtime/defs_freebsd_arm.go

    	uc_flags    int32
    	__spare__   [4]int32
    }
    
    type timespec struct {
    	tv_sec    int64
    	tv_nsec   int32
    	pad_cgo_0 [4]byte
    }
    
    //go:nosplit
    func (ts *timespec) setNsec(ns int64) {
    	ts.tv_sec = int64(timediv(ns, 1e9, &ts.tv_nsec))
    }
    
    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
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top