Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 223 for ts (0.03 sec)

  1. test/tighten.go

    // license that can be found in the LICENSE file.
    
    package main
    
    var (
    	e  any
    	ts uint16
    )
    
    func moveValuesWithMemoryArg(len int) {
    	for n := 0; n < len; n++ {
    		// Load of e.data is lowed as a MOVDload op, which has a memory
    		// argument. It's moved near where it's used.
    		_ = e != ts // ERROR "MOVDload is moved$" "MOVDaddr is moved$"
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 16 01:01:38 UTC 2023
    - 513 bytes
    - Viewed (0)
  2. src/runtime/defs_linux_mips64x.go

    )
    
    //struct Sigset {
    //	uint64	sig[1];
    //};
    //typedef uint64 Sigset;
    
    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.6K bytes
    - Viewed (0)
  3. src/runtime/defs_linux_mipsx.go

    	_ITIMER_PROF    = 0x2
    
    	_CLOCK_THREAD_CPUTIME_ID = 0x3
    
    	_SIGEV_THREAD_ID = 0x4
    )
    
    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
    }
    
    //go:nosplit
    func (tv *timeval) set_usec(x int32) {
    	tv.tv_usec = x
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  4. src/runtime/defs_linux_ppc64le.go

    )
    
    //struct Sigset {
    //	uint64	sig[1];
    //};
    //typedef uint64 Sigset;
    
    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.7K bytes
    - Viewed (0)
  5. src/runtime/defs_dragonfly_amd64.go

    	uc_link     *ucontext
    	uc_stack    stackt
    	__spare__   [8]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 int64
    }
    
    func (tv *timeval) set_usec(x int32) {
    	tv.tv_usec = int64(x)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. src/runtime/runtime_linux_test.go

    	LockOSThread()
    
    	sysNanosleep = func(d time.Duration) {
    		// Invoke a blocking syscall directly; calling time.Sleep()
    		// would deschedule the goroutine instead.
    		ts := syscall.NsecToTimespec(d.Nanoseconds())
    		for {
    			if err := syscall.Nanosleep(&ts, &ts); err != syscall.EINTR {
    				return
    			}
    		}
    	}
    }
    
    func TestLockOSThread(t *testing.T) {
    	if pid != tid {
    		t.Fatalf("pid=%d but tid=%d", pid, tid)
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 21 20:20:01 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_loong64.go

    func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) {
    	var ts *Timespec
    	if timeout != nil {
    		ts = &Timespec{Sec: timeout.Sec, Nsec: timeout.Usec * 1000}
    	}
    	return pselect6(nfd, r, w, e, ts, nil)
    }
    
    //sys	sendfile(outfd int, infd int, offset *int64, count int) (written int, err error)
    //sys	setfsgid(gid int) (prev int, err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  8. plugin/pkg/admission/podtolerationrestriction/admission.go

    	if a.GetOperation() == admission.Create {
    		ts, err := p.getNamespaceDefaultTolerations(a.GetNamespace())
    		if err != nil {
    			return err
    		}
    
    		// If the namespace has not specified its default tolerations,
    		// fall back to cluster's default tolerations.
    		if ts == nil {
    			ts = p.pluginConfig.Default
    		}
    
    		extraTolerations = ts
    	}
    
    	if qoshelper.GetPodQOS(pod) != api.PodQOSBestEffort {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 29 20:07:59 UTC 2020
    - 8.3K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/typesafe/TypeSafeProjectAccessorsIntegrationTest.groovy

                dependencyResolutionManagement {
                    defaultProjectsExtensionName.set("ts")
                }
            """
    
            buildFile << """
                assert project(":one").is(ts.one.dependencyProject)
                assert project(":one:other").is(ts.one.other.dependencyProject)
                assert project(":two:other").is(ts.two.other.dependencyProject)
            """
    
            when:
            run 'help'
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 20:11:20 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  10. src/runtime/defs1_solaris_amd64.go

    	uc_mcontext mcontext
    	uc_filler   [5]int64
    	pad_cgo_1   [8]byte
    }
    
    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 May 23 19:40:51 UTC 2023
    - 4K bytes
    - Viewed (0)
Back to top