Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 106 for mp (0.04 sec)

  1. src/runtime/signal_unix.go

    // sigaction without setting the SS_ONSTACK flag.
    func sigNotOnStack(sig uint32, sp uintptr, mp *m) {
    	println("signal", sig, "received but handler not on signal stack")
    	print("mp.gsignal stack [", hex(mp.gsignal.stack.lo), " ", hex(mp.gsignal.stack.hi), "], ")
    	print("mp.g0 stack [", hex(mp.g0.stack.lo), " ", hex(mp.g0.stack.hi), "], sp=", hex(sp), "\n")
    	throw("non-Go code set up signal handler without SA_ONSTACK flag")
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 16:04:54 UTC 2024
    - 45K bytes
    - Viewed (0)
  2. src/image/draw/clip_test.go

    	for _, c := range clipTests {
    		dst := dst0.SubImage(c.dr).(*image.RGBA)
    		src := src0.SubImage(c.sr).(*image.RGBA)
    		r, sp, mp := c.r, c.sp, c.mp
    		if c.nilMask {
    			clip(dst, &r, src, &sp, nil, nil)
    		} else {
    			clip(dst, &r, src, &sp, mask0.SubImage(c.mr), &mp)
    		}
    
    		// Check that the actual results equal the expected results.
    		if !c.r0.Eq(r) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 18:07:05 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  3. src/runtime/coro.go

    	locked := gp.lockedm != 0
    	if c.mp != nil || locked {
    		if mp != c.mp || mp.lockedInt != c.lockedInt || mp.lockedExt != c.lockedExt {
    			print("coro: got thread ", unsafe.Pointer(mp), ", want ", unsafe.Pointer(c.mp), "\n")
    			print("coro: got lock internal ", mp.lockedInt, ", want ", c.lockedInt, "\n")
    			print("coro: got lock external ", mp.lockedExt, ", want ", c.lockedExt, "\n")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:09:18 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  4. maven-plugin-api/src/test/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilderTest.java

            Parameter mp = md.getParameters().get(0);
    
            assertEquals("finalName", mp.getName());
            assertEquals("jarName", mp.getAlias());
            assertEquals("java.lang.String", mp.getType());
            assertEquals("java.lang.String", mp.getImplementation());
            assertTrue(mp.isEditable());
            assertFalse(mp.isRequired());
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Nov 17 15:51:47 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  5. src/runtime/os2_aix.go

    //go:nowritebarrier
    //go:nosplit
    func syscall0(fn *libFunc) (r, err uintptr) {
    	gp := getg()
    	mp := gp.m
    	resetLibcall := true
    	if 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 {
    		resetLibcall = false // See comment in sys_darwin.go:libcCall
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 20.9K bytes
    - Viewed (0)
  6. src/runtime/os_plan9.go

    		return
    	}
    	getg().m.locks++
    	n := copy(buf[:], goexits)
    	n = copy(buf[n:], gostringnocopy(status))
    	pid := getpid()
    	for mp := (*m)(atomic.Loadp(unsafe.Pointer(&allm))); mp != nil; mp = mp.alllink {
    		if mp.procid != 0 && mp.procid != pid {
    			postnote(mp.procid, buf[:])
    		}
    	}
    	getg().m.locks--
    }
    
    var procdir = []byte("/proc/")
    var notefile = []byte("/note\x00")
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  7. src/runtime/os_netbsd.go

    		systemstack(func() {
    			print("thrwakeup addr=", &mp.waitsemacount, " sem=", mp.waitsemacount, " ret=", ret, "\n")
    		})
    	}
    }
    
    // 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, " id=", mp.id, " ostk=", &mp, "\n")
    	}
    
    	var uc ucontextt
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  8. src/vendor/golang.org/x/net/nettest/conntest.go

    // race detector.
    func TestConn(t *testing.T, mp MakePipe) {
    	t.Run("BasicIO", func(t *testing.T) { timeoutWrapper(t, mp, testBasicIO) })
    	t.Run("PingPong", func(t *testing.T) { timeoutWrapper(t, mp, testPingPong) })
    	t.Run("RacyRead", func(t *testing.T) { timeoutWrapper(t, mp, testRacyRead) })
    	t.Run("RacyWrite", func(t *testing.T) { timeoutWrapper(t, mp, testRacyWrite) })
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  9. test/fixedbugs/issue29329.go

    }
    
    func (ls LineString) Clone() LineString {
    	ps := MultiPoint(ls)
    	return LineString(ps.Clone())
    }
    
    type MultiPoint []Point
    
    func (mp MultiPoint) Clone() MultiPoint {
    	if mp == nil {
    		return nil
    	}
    
    	points := make([]Point, len(mp))
    	copy(points, mp)
    
    	return MultiPoint(points)
    }
    
    func F1() {
    	cases := []struct {
    		threshold float64
    		length    int
    	}{
    		{0.1, 1118},
    		{0.5, 257},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  10. src/runtime/os_openbsd.go

    			return -1
    		}
    	}
    }
    
    //go:nosplit
    func semawakeup(mp *m) {
    	atomic.Xadd(&mp.waitsemacount, 1)
    	ret := thrwakeup(uintptr(unsafe.Pointer(&mp.waitsemacount)), 1)
    	if ret != 0 && ret != _ESRCH {
    		// semawakeup can be called on signal stack.
    		systemstack(func() {
    			print("thrwakeup addr=", &mp.waitsemacount, " sem=", mp.waitsemacount, " ret=", ret, "\n")
    		})
    	}
    }
    
    func osinit() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top