Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 41 for getc (0.04 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/catalog/LibrariesSourceGeneratorTest.groovy

                bundle('myBundle', ['foo', 'bar'])
                plugin('pl', 'org.plugin') version('1.2')
            }
    
            then:
            def libs = sources.compile()
            def foo = libs.foo.get()
            def bar = libs.bar.get()
            assert foo.module.group == 'g'
            assert foo.module.name == 'a'
            assert foo.versionConstraint.requiredVersion == 'v'
    
            assert bar.module.group == 'g2'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:26:24 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  2. src/runtime/traceruntime.go

    	// buffer flushes are rare. Record the lock edge even if it doesn't happen
    	// this time.
    	lockRankMayTraceFlush()
    
    	// Check if we're already locked. If so, return an invalid traceLocker.
    	if getg().m.trace.seqlock.Load()%2 == 1 {
    		return traceLocker{}
    	}
    	return traceAcquireEnabled()
    }
    
    // ok returns true if the traceLocker is valid (i.e. tracing is enabled).
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  3. src/runtime/runtime.go

    // from nanotime that we can use (some platforms have a really coarse system time granularity).
    // We require some amount of time to pass to ensure that the conversion rate is fairly accurate
    // in aggregate. But because we compute this rate lazily, there's a pretty good chance a decent
    // amount of time has passed by the time we get here.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  4. src/runtime/netpoll_solaris.go

    	libc_port_associate,
    	libc_port_dissociate,
    	libc_port_getn,
    	libc_port_alert libcFunc
    	netpollWakeSig atomic.Uint32 // used to avoid duplicate calls of netpollBreak
    )
    
    func errno() int32 {
    	return *getg().m.perrno
    }
    
    func port_create() int32 {
    	return int32(sysvicall0(&libc_port_create))
    }
    
    func port_associate(port, source int32, object uintptr, events uint32, user uintptr) int32 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  5. src/runtime/mstats.go

    	// is covered by idleTime, what we're left with is time spent in _Prunning and _Psyscall,
    	// the latter of which is fine because the P will either go idle or get used for something
    	// else via sysmon. Meanwhile if we subtract GC time from whatever's left, we get non-GC
    	// _Prunning time. Note that this still leaves time spent in sweeping and in the scheduler,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 21:03:13 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  6. src/runtime/select.go

    				goto send
    			}
    			if c.qcount < c.dataqsiz {
    				goto bufsend
    			}
    		}
    	}
    
    	if !block {
    		selunlock(scases, lockorder)
    		casi = -1
    		goto retc
    	}
    
    	// pass 2 - enqueue on all chans
    	gp = getg()
    	if gp.waiting != nil {
    		throw("gp.waiting != nil")
    	}
    	nextp = &gp.waiting
    	for _, casei := range lockorder {
    		casi = int(casei)
    		cas = &scases[casi]
    		c = cas.c
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 13 21:36:04 UTC 2024
    - 15K bytes
    - Viewed (0)
  7. src/runtime/debuglog.go

    //
    //go:nosplit
    //go:nowritebarrierrec
    func dlog() *dlogger {
    	if !dlogEnabled {
    		return nil
    	}
    
    	// Get the time.
    	tick, nano := uint64(cputicks()), uint64(nanotime())
    
    	// Try to get a cached logger.
    	l := getCachedDlogger()
    
    	// If we couldn't get a cached logger, try to get one from the
    	// global pool.
    	if l == nil {
    		allp := (*uintptr)(unsafe.Pointer(&allDloggers))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/_gen/genericOps.go

    	{name: "NilCheck", argLength: 2, nilCheck: true},     // arg0=ptr, arg1=mem. Panics if arg0 is nil. Returns the ptr unmodified.
    
    	// Pseudo-ops
    	{name: "GetG", argLength: 1, zeroWidth: true}, // runtime.getg() (read g pointer). arg0=mem
    	{name: "GetClosurePtr"},                       // get closure pointer from dedicated register
    	{name: "GetCallerPC"},                         // for getcallerpc intrinsic
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  9. src/runtime/mfinal.go

    	return true
    }
    
    // This is the goroutine that runs all of the finalizers.
    func runfinq() {
    	var (
    		frame    unsafe.Pointer
    		framecap uintptr
    		argRegs  int
    	)
    
    	gp := getg()
    	lock(&finlock)
    	fing = gp
    	unlock(&finlock)
    
    	for {
    		lock(&finlock)
    		fb := finq
    		finq = nil
    		if fb == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 01:56:56 UTC 2024
    - 19K bytes
    - Viewed (0)
  10. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskParametersIntegrationTest.groovy

    import org.gradle.api.tasks.Optional;
    import java.io.File;
    
    public class SomeTask extends DefaultTask {
        private $type v;
        @Input
        public $type getV() { return v; }
        void setV($type v) { this.v = v; }
    
        File d;
        @OutputDirectory
        public File getD() { return d; }
    
        @TaskAction
        public void go() { }
    }
    """
    
            buildFile << """
    task someTask(type: SomeTask) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 36.3K bytes
    - Viewed (0)
Back to top