- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 167 for insta (0.04 sec)
-
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) -
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) -
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) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/buildtag/buildtag.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 9.3K bytes - Viewed (0) -
src/go/types/context_test.go
} ctxt := NewContext() // 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 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 2.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/directive/directive.go
// to avoid being confused by a commented-out // comment. for { line = strings.TrimSpace(line) if inStar { var ok bool _, line, ok = strings.Cut(line, "*/") if !ok { break } inStar = false continue } line, inStar = stringsCutPrefix(line, "/*") if !inStar { break } } if line != "" { // Found non-comment non-blank line.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 5.4K bytes - Viewed (0) -
src/encoding/gob/decode.go
break } if state.fieldnum >= len(engine.instr)-delta { // subtract to compare without overflow error_(errRange) } fieldnum := state.fieldnum + delta instr := &engine.instr[fieldnum] var field reflect.Value if instr.index != nil { // Otherwise the field is unknown to us and instr.op is an ignore op. field = value.FieldByIndex(instr.index) if field.Kind() == reflect.Pointer {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 07 19:10:23 UTC 2023 - 40.1K bytes - Viewed (0) -
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) -
tensorflow/compiler/mlir/tensorflow/transforms/constant_fold_utils.cc
} bool CanBeFolded(Operation* inst) { // Instructions with side effects should not be constant folded to preserve // the original semantics. Ops that have no side effect and zero results but // could be folded should have a custom folder instead of relying on the // TensorFlow folding hook. if (inst == nullptr || inst->getNumResults() == 0 || inst->hasTrait<OpTrait::TF::NoConstantFold>() ||
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7.3K bytes - Viewed (0) -
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)