Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 161 for mp (0.02 sec)

  1. src/runtime/os_windows.go

    //
    //go:nosplit
    func mdestroy(mp *m) {
    	if mp.highResTimer != 0 {
    		stdcall1(_CloseHandle, mp.highResTimer)
    		mp.highResTimer = 0
    	}
    	if mp.waitIocpTimer != 0 {
    		stdcall1(_CloseHandle, mp.waitIocpTimer)
    		mp.waitIocpTimer = 0
    	}
    	if mp.waitIocpHandle != 0 {
    		stdcall1(_CloseHandle, mp.waitIocpHandle)
    		mp.waitIocpHandle = 0
    	}
    	if mp.waitsema != 0 {
    		stdcall1(_CloseHandle, mp.waitsema)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  2. src/runtime/os_dragonfly.go

    func lwp_start(uintptr)
    
    // May run with m.p==nil, so write barriers are not allowed.
    //
    //go:nowritebarrier
    func newosproc(mp *m) {
    	stk := unsafe.Pointer(mp.g0.stack.hi)
    	if false {
    		print("newosproc stk=", stk, " m=", mp, " g=", mp.g0, " lwp_start=", abi.FuncPCABI0(lwp_start), " id=", mp.id, " ostk=", &mp, "\n")
    	}
    
    	var oset sigset
    	sigprocmask(_SIG_SETMASK, &sigset_all, &oset)
    
    	params := lwpparams{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/suppliers/DynamicRevisionRemoteResolveWithMetadataSupplierIntegrationTest.groovy

              if (project.gradle.startParameter.offline) {
                 MP.filename = 'status-offline.txt'
              }
              class MP implements ComponentMetadataSupplier {
                final RepositoryResourceAccessor repositoryResourceAccessor
    
                @Inject
                MP(RepositoryResourceAccessor accessor) { repositoryResourceAccessor = accessor }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 11:46:17 UTC 2024
    - 49K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/memorymanager/state/checkpoint.go

    	}
    }
    
    // MarshalCheckpoint returns marshalled checkpoint
    func (mp *MemoryManagerCheckpoint) MarshalCheckpoint() ([]byte, error) {
    	// make sure checksum wasn't set before so it doesn't affect output checksum
    	mp.Checksum = 0
    	mp.Checksum = checksum.New(mp)
    	return json.Marshal(*mp)
    }
    
    // UnmarshalCheckpoint tries to unmarshal passed bytes to checkpoint
    func (mp *MemoryManagerCheckpoint) UnmarshalCheckpoint(blob []byte) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 17 12:58:53 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  5. test/fixedbugs/issue15646.dir/a.go

    // license that can be found in the LICENSE file.
    
    package a
    
    type T struct{}
    
    func (T) m() string {
    	return "m"
    }
    
    func (*T) mp() string {
    	return "mp"
    }
    
    func F() func(T) string {
    	return T.m // method expression
    }
    
    func Fp() func(*T) string {
    	return (*T).mp // method expression
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 11 19:23:04 UTC 2016
    - 394 bytes
    - Viewed (0)
  6. src/runtime/debuglog_on.go

    // returns false if this fails.
    func putCachedDlogger(l *dlogger) bool {
    	mp := acquirem()
    	if getg() != mp.gsignal && mp.dlogCache == nil {
    		mp.dlogCache = l
    		releasem(mp)
    		return true
    	}
    	releasem(mp)
    	return false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  7. src/runtime/os_openbsd_syscall.go

    //
    //go:nowritebarrier
    func newosproc(mp *m) {
    	stk := unsafe.Pointer(mp.g0.stack.hi)
    	if false {
    		print("newosproc stk=", stk, " m=", mp, " g=", mp.g0, " id=", mp.id, " ostk=", &mp, "\n")
    	}
    
    	// Stack pointer must point inside stack area (as marked with MAP_STACK),
    	// rather than at the top of it.
    	param := tforkt{
    		tf_tcb:   unsafe.Pointer(&mp.tls[0]),
    		tf_tid:   nil, // minit will record tid
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 10 20:44:45 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  8. src/runtime/os_wasm.go

    }
    
    type sigset struct{}
    
    // Called to initialize a new m (including the bootstrap m).
    // Called on the parent thread (main thread in case of bootstrap), can allocate memory.
    func mpreinit(mp *m) {
    	mp.gsignal = malg(32 * 1024)
    	mp.gsignal.m = mp
    }
    
    //go:nosplit
    func usleep_no_g(usec uint32) {
    	usleep(usec)
    }
    
    //go:nosplit
    func sigsave(p *sigset) {
    }
    
    //go:nosplit
    func msigrestore(sigmask sigset) {
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. src/runtime/print.go

    func printlock() {
    	mp := getg().m
    	mp.locks++ // do not reschedule between printlock++ and lock(&debuglock).
    	mp.printlock++
    	if mp.printlock == 1 {
    		lock(&debuglock)
    	}
    	mp.locks-- // now we know debuglock is held and holding up mp.locks for us.
    }
    
    func printunlock() {
    	mp := getg().m
    	mp.printlock--
    	if mp.printlock == 0 {
    		unlock(&debuglock)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 20 03:27:26 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  10. src/runtime/debugcall.go

    		// Save lock state to restore later.
    		mp := gp.m
    		if mp != gp.lockedm.ptr() {
    			throw("inconsistent lockedm")
    		}
    		// Save the external lock count and clear it so
    		// that it can't be unlocked from the debug call.
    		// Note: we already locked internally to the thread,
    		// so if we were locked before we're still locked now.
    		lockedExt = mp.lockedExt
    		mp.lockedExt = 0
    
    		mp.lockedg.set(newg)
    		newg.lockedm.set(mp)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 20:50:21 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top