Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 41 for getc (0.04 sec)

  1. src/runtime/runtime1.go

    	}
    	return res
    }
    
    // Helpers for Go. Must be NOSPLIT, must only call NOSPLIT functions, and must not block.
    
    //go:nosplit
    func acquirem() *m {
    	gp := getg()
    	gp.m.locks++
    	return gp.m
    }
    
    //go:nosplit
    func releasem(mp *m) {
    	gp := getg()
    	mp.locks--
    	if mp.locks == 0 && gp.preempt {
    		// restore the preemption request in case we've cleared it in newstack
    		gp.stackguard0 = stackPreempt
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  2. src/runtime/mgcsweep.go

    	gp := getg()
    	if gp.m.locks == 0 && gp.m.mallocing == 0 && gp != gp.m.g0 {
    		throw("mspan.sweep: m is not locked")
    	}
    
    	s := sl.mspan
    	if !preserve {
    		// We'll release ownership of this span. Nil it out to
    		// prevent the caller from accidentally using it.
    		sl.mspan = nil
    	}
    
    	sweepgen := mheap_.sweepgen
    	if state := s.state.get(); state != mSpanInUse || s.sweepgen != sweepgen-1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:52:18 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  3. src/cmd/go/internal/cache/prog.go

    	// ProgRequest.Command types that are supported by the program.
    	//
    	// This lets us extend the protocol gracefully over time (adding "get2",
    	// etc), or fail gracefully when needed. It also lets us verify the program
    	// wants to be a cache helper.
    	KnownCommands []ProgCmd `json:",omitempty"`
    
    	// For Get requests.
    
    	Miss     bool       `json:",omitempty"` // cache miss
    	OutputID []byte     `json:",omitempty"`
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 14 19:23:25 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  4. src/runtime/mgcwork.go

    // A gcWork provides the interface to produce and consume work for the
    // garbage collector.
    //
    // A gcWork can be used on the stack as follows:
    //
    //	(preemption must be disabled)
    //	gcw := &getg().m.p.ptr().gcw
    //	.. call gcw.put() to produce and gcw.tryGet() to consume ..
    //
    // It's important that any use of gcWork during the mark phase prevent
    // the garbage collector from transitioning to mark termination since
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  5. src/runtime/syscall_windows.go

    	// calls back into Go.
    	c := &getg().m.winsyscall
    	c.fn = fn
    	c.n = uintptr(len(args))
    	if c.n != 0 {
    		c.args = uintptr(noescape(unsafe.Pointer(&args[0])))
    	}
    	cgocall(asmstdcallAddr, unsafe.Pointer(c))
    	// cgocall may reschedule us on to a different M,
    	// but it copies the return values into the new M's
    	// so we can read them from there.
    	c = &getg().m.winsyscall
    	return c.r1, c.r2, c.err
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  6. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/BaseIncrementalCompilationAfterFailureIntegrationTest.groovy

            a.delete()
            c.delete()
            file("src/main/$languageName/a/A1.java").text = "package a; class A { void m1() {} }"
            b.text = "package b; $compileStaticAnnotation class B { B getB() { return 0; } }"
            file("src/main/$languageName/c/C1.java").text = "package c; class C { void m1() {} }"
            runAndFail language.compileTaskName
    
            then:
            outputs.noneRecompiled()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Apr 06 02:21:30 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/internal/changedetection/state/TaskCustomTypesInputPropertyIntegrationTest.groovy

    import org.gradle.api.tasks.Optional;
    import java.io.File;
    
    public class SomeTask extends DefaultTask {
        public CustomType v;
        @Input @Optional
        public CustomType getV() { return v; }
    
        public File f;
        @OutputDirectory
        public File getF() { return f; }
    
        @TaskAction
        public void go() { }
    }
    """
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 22 16:04:50 UTC 2022
    - 9.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/typecheck/func.go

    	}
    	if t.NumResults() == 1 {
    		n.SetType(l.Type().Result(0).Type)
    
    		if n.Op() == ir.OCALLFUNC && n.Fun.Op() == ir.ONAME {
    			if sym := n.Fun.(*ir.Name).Sym(); types.RuntimeSymName(sym) == "getg" {
    				// Emit code for runtime.getg() directly instead of calling function.
    				// Most such rewrites (for example the similar one for math.Sqrt) should be done in walk,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 15:23:18 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/tpu_resource_partitioning.cc

          continue;
    
        const auto inputs = partitioned_input.getInputs();
        const bool packed_input = partitioned_input.getIsPacked();
        int num_cores_per_replica = partitioned_input.getN();
        if (num_cores_per_replica_attr) {
          num_cores_per_replica = num_cores_per_replica_attr.getInt();
        } else if (packed_input) {
          return partitioned_input->emitOpError()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java

                jvmPoolObj.capacity = p.getTotalCapacity().getBytes();
                return jvmPoolObj;
            }).toArray(n -> new JvmPoolObj[n]);
            final GarbageCollectors gc = jvmStats.getGc();
            jvmObj.gc = Arrays.stream(gc.getCollectors()).map(c -> {
                final JvmGcObj jvmGcObj = new JvmGcObj();
                jvmGcObj.key = c.getName();
                jvmGcObj.count = c.getCollectionCount();
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12.1K bytes
    - Viewed (0)
Back to top