Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 324 for getZ (0.04 sec)

  1. src/runtime/os_netbsd.go

    		return int(osrev)
    	}
    	return 0
    }
    
    //go:nosplit
    func semacreate(mp *m) {
    }
    
    //go:nosplit
    func semasleep(ns int64) int32 {
    	gp := getg()
    	var deadline int64
    	if ns >= 0 {
    		deadline = nanotime() + ns
    	}
    
    	for {
    		v := atomic.Load(&gp.m.waitsemacount)
    		if v > 0 {
    			if atomic.Cas(&gp.m.waitsemacount, v, v-1) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  2. src/runtime/cgocall.go

    }
    
    func cgocallbackg1(fn, frame unsafe.Pointer, ctxt uintptr) {
    	gp := getg()
    
    	if gp.m.needextram || extraMWaiters.Load() > 0 {
    		gp.m.needextram = false
    		systemstack(newextram)
    	}
    
    	if ctxt != 0 {
    		s := append(gp.cgoCtxt, ctxt)
    
    		// Now we need to set gp.cgoCtxt = s, but we could get
    		// a SIGPROF signal while manipulating the slice, and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  3. src/runtime/os_windows.go

    	if ns < 0 {
    		result = stdcall2(_WaitForSingleObject, getg().m.waitsema, uintptr(_INFINITE))
    	} else {
    		start := nanotime()
    		elapsed := int64(0)
    		for {
    			ms := int64(timediv(ns-elapsed, 1000000, nil))
    			if ms == 0 {
    				ms = 1
    			}
    			result = stdcall4(_WaitForMultipleObjects, 2,
    				uintptr(unsafe.Pointer(&[2]uintptr{getg().m.waitsema, getg().m.resumesema})),
    				0, uintptr(ms))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  4. src/runtime/signal_windows.go

    	callbackLastVCH
    )
    
    // sigFetchGSafe is like getg() but without panicking
    // when TLS is not set.
    // Only implemented on windows/386, which is the only
    // arch that loads TLS when calling getg(). Others
    // use a dedicated register.
    func sigFetchGSafe() *g
    
    func sigFetchG() *g {
    	if GOARCH == "386" {
    		return sigFetchGSafe()
    	}
    	return getg()
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 20:32:29 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  5. src/runtime/os_plan9.go

    	var buf [_ERRMAX]byte
    	if !atomic.Cas(&exiting, 0, 1) {
    		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/")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  6. src/runtime/preempt.go

    	// _Gwaiting via g.preemptStop and thus is responsible for
    	// readying it when done.
    	stopped bool
    }
    
    // suspendG suspends goroutine gp at a safe-point and returns the
    // state of the suspended goroutine. The caller gets read access to
    // the goroutine until it calls resumeG.
    //
    // It is safe for multiple callers to attempt to suspend the same
    // goroutine at the same time. The goroutine may execute between
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  7. pkg/scheduler/testing/framework/fake_listers.go

    		pvcs:      ps,
    		namespace: namespace,
    	}
    }
    
    // NodeInfoLister declares a framework.NodeInfo type for testing.
    type NodeInfoLister []*framework.NodeInfo
    
    // Get returns a fake node object in the fake nodes.
    func (nodes NodeInfoLister) Get(nodeName string) (*framework.NodeInfo, error) {
    	for _, node := range nodes {
    		if node != nil && node.Node().Name == nodeName {
    			return node, nil
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 20 10:14:08 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  8. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/variants/GradlePluginWithVariantsPublicationIntegrationTest.groovy

            gradle6Result.assertOutputContains("Hello from Gradle <7.0")
        }
    
        @Issue("https://github.com/gradle/gradle/issues/24609")
        def "when plugin request fails because plugin requires a higher version of Gradle, gets clear custom error message"() {
            given:
            def producer = file('producer')
            def consumer = file('consumer')
            def pluginModule = mavenRepo.module('com.example', 'producer', '1.0')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:55:38 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  9. src/runtime/trace.go

    	if raceenabled {
    		// g0 doesn't have a race context. Borrow the user G's.
    		if getg().racectx != 0 {
    			throw("expected racectx == 0")
    		}
    		getg().racectx = getg().m.curg.racectx
    		// (This defer should get open-coded, which is safe on
    		// the system stack.)
    		defer func() { getg().racectx = 0 }()
    	}
    
    	// This function must not allocate while holding trace.lock:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  10. subprojects/core-api/src/main/java/org/gradle/api/artifacts/Configuration.java

         *
         * @param description the description. May be null
         * @return this configuration
         */
        Configuration setDescription(@Nullable String description);
    
        /**
         * Gets an ordered set including this configuration and all superconfigurations
         * recursively.
         * @return the set of all configurations
         */
        Set<Configuration> getHierarchy();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 18:18:46 UTC 2024
    - 31.6K bytes
    - Viewed (0)
Back to top