Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 29 of 29 for getc (0.29 sec)

  1. src/runtime/mheap.go

    type mSpanStateBox struct {
    	s atomic.Uint8
    }
    
    // It is nosplit to match get, below.
    
    //go:nosplit
    func (b *mSpanStateBox) set(s mSpanState) {
    	b.s.Store(uint8(s))
    }
    
    // It is nosplit because it's called indirectly by typedmemclr,
    // which must not be preempted.
    
    //go:nosplit
    func (b *mSpanStateBox) get() mSpanState {
    	return mSpanState(b.s.Load())
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. src/runtime/iface.go

    func itabAdd(m *itab) {
    	// Bugs can lead to calling this while mallocing is set,
    	// typically because this is called while panicking.
    	// Crash reliably, rather than only when we need to grow
    	// the hash table.
    	if getg().m.mallocing != 0 {
    		throw("malloc deadlock")
    	}
    
    	t := itabTable
    	if t.count >= 3*(t.size/4) { // 75% load factor
    		// Grow hash table.
    		// t2 = new(itabTableType) + some additional entries
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

      for (auto it : llvm::zip(op.getResults(), then_results, else_results)) {
        // If then and else types do not match, skip refinement for that result.
        if (std::get<1>(it) != std::get<2>(it)) continue;
        changed = RefineResultType(op, std::get<0>(it), std::get<1>(it)) || changed;
      }
      return changed;
    }
    
    bool ShapeInference::InferShapeForIfRegion(IfRegionOp op) {
      bool changed = false;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

        auto l = mlir::dyn_cast<TypedValue<RankedTensorType>>(op.getX());
        auto r = mlir::dyn_cast<TypedValue<RankedTensorType>>(op.getY());
        if (!l || !r) return failure();
    
        auto element_type = getElementTypeOrSelf(l.getType());
        if (!element_type.isBF16()) return failure();
    
        auto out_type = op.getZ().getType();
    
        l = rewriter.create<ConvertOp>(op.getLoc(), l, rewriter.getF32Type());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

        func::FuncOp func() {
          return SymbolTable::lookupNearestSymbolFrom<func::FuncOp>(*this, getF());
        }
    
        // Erases variable arguments from `batch_func_op`. `erase_indices` contains
        // the indices of the arguments to erase.
        void eraseArguments(const BitVector& erase_indices);
    
        // Gets the argument operands to the called function.
        operand_range getArgOperands() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/opGen.go

    		name:    "IsSliceInBounds",
    		argLen:  2,
    		generic: true,
    	},
    	{
    		name:     "NilCheck",
    		argLen:   2,
    		nilCheck: true,
    		generic:  true,
    	},
    	{
    		name:      "GetG",
    		argLen:    1,
    		zeroWidth: true,
    		generic:   true,
    	},
    	{
    		name:    "GetClosurePtr",
    		argLen:  0,
    		generic: true,
    	},
    	{
    		name:    "GetCallerPC",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 1M bytes
    - Viewed (0)
Back to top