Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 3,527 for inst (0.05 sec)

  1. src/cmd/compile/internal/types2/call.go

    // and x.mode is set to invalid.
    func (check *Checker) funcInst(T *target, pos syntax.Pos, x *operand, inst *syntax.IndexExpr, infer bool) ([]Type, []syntax.Expr) {
    	assert(T != nil || inst != nil)
    
    	var instErrPos poser
    	if inst != nil {
    		instErrPos = inst.Pos()
    		x.expr = inst // if we don't have an index expression, keep the existing expression of x
    	} else {
    		instErrPos = pos
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

          }
          if (auto custom_op = dyn_cast<mlir::TFL::CustomOp>(inst)) {
            return BuildCustomOperator(inst, custom_op, operands, results);
          }
          if (auto whileOp = dyn_cast<mlir::TFL::WhileOp>(inst)) {
            if (inst->getNumOperands() != inst->getNumResults()) {
              inst->emitOpError(
                  "number of operands and results don't match, only canonical "
                  "TFL While supported");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/arch/x86/x86asm/plan9x.go

    	case 0, 0x66, 0x67:
    		// ignore
    	default:
    		prefix += last.String() + " "
    	}
    
    	op := inst.Op.String()
    	if plan9Suffix[inst.Op] {
    		s := inst.DataSize
    		if inst.MemBytes != 0 {
    			s = inst.MemBytes * 8
    		} else if inst.Args[1] == nil { // look for register-only 64-bit instruction, like PUSHQ AX
    			if r, ok := inst.Args[0].(Reg); ok && RAX <= r && r <= R15 {
    				s = 64
    			}
    		}
    		switch s {
    		case 8:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 20:38:21 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/named.go

    	if expanding != nil && expanding.Obj().pkg == obj.pkg {
    		inst.ctxt = expanding.inst.ctxt
    	}
    	typ := &Named{check: check, obj: obj, inst: inst}
    	obj.typ = typ
    	// Ensure that typ is always sanity-checked.
    	if check != nil {
    		check.needsCleanup(typ)
    	}
    	return typ
    }
    
    func (t *Named) cleanup() {
    	assert(t.inst == nil || t.inst.orig.inst == nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  5. src/regexp/exec.go

    		len(re.prefix) > 0 && i.canCheckPrefix() {
    		// Match requires literal prefix; fast search for it.
    		if !i.hasPrefix(re) {
    			goto Return
    		}
    		pos += len(re.prefix)
    		r, width = i.step(pos)
    		r1, width1 = i.step(pos + width)
    		flag = i.context(pos)
    		pc = int(re.prefixEnd)
    	}
    	for {
    		inst = &re.onepass.Inst[pc]
    		pc = int(inst.Out)
    		switch inst.Op {
    		default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 04 20:10:54 UTC 2022
    - 12.3K bytes
    - Viewed (0)
  6. src/go/types/context.go

    	assert(inst != nil)
    
    	ctxt.mu.Lock()
    	defer ctxt.mu.Unlock()
    
    	for _, e := range ctxt.typeMap[h] {
    		if inst == nil || Identical(inst, e.instance) {
    			return e.instance
    		}
    		if debug {
    			// Panic during development to surface any imperfections in our hash.
    			panic(fmt.Sprintf("%s and %s are not identical", inst, e.instance))
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  7. src/go/types/named.go

    	if expanding != nil && expanding.Obj().pkg == obj.pkg {
    		inst.ctxt = expanding.inst.ctxt
    	}
    	typ := &Named{check: check, obj: obj, inst: inst}
    	obj.typ = typ
    	// Ensure that typ is always sanity-checked.
    	if check != nil {
    		check.needsCleanup(typ)
    	}
    	return typ
    }
    
    func (t *Named) cleanup() {
    	assert(t.inst == nil || t.inst.orig.inst == nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 24K bytes
    - Viewed (0)
  8. src/go/types/context_test.go

    	// Update the context with an instantiation of nullaryP.
    	inst := NewSignatureType(nil, nil, nil, nil, nil, false)
    	if got := ctxt.update("", nullaryP, []Type{Typ[Int]}, inst); got != inst {
    		t.Error("bad")
    	}
    
    	// unaryP is not identical to nullaryP, so we should not get inst when
    	// instantiated with identical type arguments.
    	if got := ctxt.lookup("", unaryP, []Type{Typ[Int]}); got != nil {
    		t.Error("bad")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. misc/wasm/wasm_exec.html

    		}
    
    		const go = new Go();
    		let mod, inst;
    		WebAssembly.instantiateStreaming(fetch("test.wasm"), go.importObject).then((result) => {
    			mod = result.module;
    			inst = result.instance;
    			document.getElementById("runButton").disabled = false;
    		}).catch((err) => {
    			console.error(err);
    		});
    
    		async function run() {
    			console.clear();
    			await go.run(inst);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 02 17:25:11 UTC 2018
    - 1.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/constant_fold.cc

    }
    
    LogicalResult ConstantFoldFallbackHook(
        Operation* inst, ArrayRef<Attribute> operands,
        SmallVectorImpl<OpFoldResult>& results) {  // NOLINT
      if (!CanBeFolded(inst)) return failure();
    
      // Determine if we should attempt to fold this operation by considering the
      // size/size increase due to folding.
      if (!IsFoldedByDefaultPolicy(inst)) return failure();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top