Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 161 for mp (0.02 sec)

  1. test/fixedbugs/issue43384.go

    		(*&p).Mp() // ERROR "undefined"
    		(**&p).Mp()
    		(*p).Mp()
    		(&*p).Mp()
    	}
    }
    
    func _() {
    	type P5 struct{ T }
    	type P6 struct{ *T }
    	type P7 *struct{ T }
    	type P8 *struct{ *T }
    
    	{
    		var p P5
    		p.Mv()
    		(&p).Mv()
    		(*&p).Mv()
    		p.Mp()
    		(&p).Mp()
    		(*&p).Mp()
    	}
    	{
    		var p P6
    		p.Mv()
    		(&p).Mv()
    		(*&p).Mv()
    		p.Mp()
    		(&p).Mp()
    		(*&p).Mp()
    	}
    	{
    		var p P7
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 30 04:38:20 UTC 2020
    - 1.9K bytes
    - Viewed (0)
  2. src/runtime/os3_solaris.go

    		mp.ts.tv_sec = ns / 1000000000
    		mp.ts.tv_nsec = ns % 1000000000
    
    		mp.libcall.fn = uintptr(unsafe.Pointer(&libc_sem_reltimedwait_np))
    		mp.libcall.n = 2
    		mp.scratch = mscratch{}
    		mp.scratch.v[0] = mp.waitsema
    		mp.scratch.v[1] = uintptr(unsafe.Pointer(&mp.ts))
    		mp.libcall.args = uintptr(unsafe.Pointer(&mp.scratch))
    		asmcgocall(unsafe.Pointer(&asmsysvicall6x), unsafe.Pointer(&mp.libcall))
    		if *mp.perrno != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  3. src/runtime/os_darwin.go

    				pthread_mutex_unlock(&mp.mutex)
    				return -1
    			}
    			var t timespec
    			t.setNsec(ns - spent)
    			err := pthread_cond_timedwait_relative_np(&mp.cond, &mp.mutex, &t)
    			if err == _ETIMEDOUT {
    				pthread_mutex_unlock(&mp.mutex)
    				return -1
    			}
    		} else {
    			pthread_cond_wait(&mp.cond, &mp.mutex)
    		}
    	}
    }
    
    //go:nosplit
    func semawakeup(mp *m) {
    	if g := getg(); g == g.m.gsignal {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/examples/stateful/stateful.go

    	mp.mu.Lock()
    	defer mp.mu.Unlock()
    	mp.executionPoints = nil
    }
    
    // PreBind is the function invoked by the framework at "prebind" extension
    // point.
    func (mp *MultipointExample) PreBind(ctx context.Context, state *framework.CycleState, pod *v1.Pod, nodeName string) *framework.Status {
    	// PreBind could be called concurrently for different pods.
    	mp.mu.Lock()
    	defer mp.mu.Unlock()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 09 03:43:17 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/cel/types_test.go

    	}
    }
    
    func TestTypes_MapType(t *testing.T) {
    	mp := NewMapType(StringType, IntType, -1)
    	if !mp.IsMap() {
    		t.Error("map type not identifiable as map")
    	}
    	if mp.TypeName() != "map" {
    		t.Errorf("got %s, wanted map", mp.TypeName())
    	}
    	if mp.DefaultValue() == nil {
    		t.Error("got nil zero value for map type")
    	}
    	if mp.KeyType.TypeName() != "string" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 10 22:05:55 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  6. src/runtime/os_openbsd_libc.go

    func mstart_stub()
    
    // May run with m.p==nil, so write barriers are not allowed.
    //
    //go:nowritebarrierrec
    func newosproc(mp *m) {
    	if false {
    		print("newosproc m=", mp, " g=", mp.g0, " id=", mp.id, " ostk=", &mp, "\n")
    	}
    
    	// Initialize an attribute object.
    	var attr pthreadattr
    	if err := pthread_attr_init(&attr); err != 0 {
    		writeErrStr(failthreadcreate)
    		exit(1)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 10 20:44:45 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  7. src/runtime/os_aix.go

    	initsig(true)
    }
    
    // Ms related functions
    func mpreinit(mp *m) {
    	mp.gsignal = malg(32 * 1024) // AIX wants >= 8K
    	mp.gsignal.m = mp
    }
    
    // errno address must be retrieved by calling _Errno libc function.
    // This will return a pointer to errno.
    func miniterrno() {
    	mp := getg().m
    	r, _ := syscall0(&libc__Errno)
    	mp.perrno = r
    
    }
    
    func minit() {
    	miniterrno()
    	minitSignals()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  8. test/typeparam/pairimp.dir/main.go

    		panic(fmt.Sprintf("unexpected f2 size == %d, want %d", got, want))
    	}
    
    	type mypair struct {
    		Field1 int32
    		Field2 int64
    	}
    	mp := mypair(p)
    	if mp.Field1 != 1 || mp.Field2 != 2 {
    		panic(fmt.Sprintf("mp == %#v, want %#v", mp, mypair{1, 2}))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 02:14:15 UTC 2022
    - 716 bytes
    - Viewed (0)
  9. src/runtime/os_solaris.go

    	// Leave caller's PC/SP around for traceback.
    	gp := getg()
    	var mp *m
    	if gp != nil {
    		mp = gp.m
    	}
    	if mp != nil && mp.libcallsp == 0 {
    		mp.libcallg.set(gp)
    		mp.libcallpc = getcallerpc()
    		// sp must be the last, because once async cpu profiler finds
    		// all three values to be non-zero, it will use them
    		mp.libcallsp = getcallersp()
    	} else {
    		mp = nil // See comment in sys_darwin.go:libcCall
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  10. src/runtime/debug.go

    	var n = int64(atomic.Load64(&ncgocall))
    	for mp := (*m)(atomic.Loadp(unsafe.Pointer(&allm))); mp != nil; mp = mp.alllink {
    		n += int64(mp.ncgocall)
    	}
    	return n
    }
    
    func totalMutexWaitTimeNanos() int64 {
    	total := sched.totalMutexWaitTime.Load()
    
    	total += sched.totalRuntimeLockWaitTime.Load()
    	for mp := (*m)(atomic.Loadp(unsafe.Pointer(&allm))); mp != nil; mp = mp.alllink {
    		total += mp.mLockProfile.waitTime.Load()
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top