- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 23 for newConst (0.41 sec)
-
src/go/types/resolver.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 16:22:59 UTC 2024 - 26.1K bytes - Viewed (0) -
src/go/types/decl.go
switch d := d.(type) { case constDecl: top := len(check.delayed) // declare all constants lhs := make([]*Const, len(d.spec.Names)) for i, name := range d.spec.Names { obj := NewConst(name.Pos(), pkg, name.Name, nil, constant.MakeInt64(int64(d.iota))) lhs[i] = obj var init ast.Expr if i < len(d.init) { init = d.init[i] }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 31K bytes - Viewed (0) -
src/go/internal/gccgoimporter/parser.go
name := p.parseName() var typ types.Type if p.tok == '<' { typ = p.parseType(pkg) } p.expect('=') val, vtyp := p.parseConstValue(pkg) if typ == nil { typ = vtyp } return types.NewConst(token.NoPos, pkg, name, typ, val) } // reserved is a singleton type used to fill type map slots that have // been reserved (i.e., for which a type number has been parsed) but
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 02 23:14:07 UTC 2024 - 31.2K bytes - Viewed (0) -
api/go1.5.txt
pkg go/types, func NewArray(Type, int64) *Array pkg go/types, func NewChan(ChanDir, Type) *Chan pkg go/types, func NewChecker(*Config, *token.FileSet, *Package, *Info) *Checker pkg go/types, func NewConst(token.Pos, *Package, string, Type, constant.Value) *Const pkg go/types, func NewField(token.Pos, *Package, string, Type, bool) *Var pkg go/types, func NewFunc(token.Pos, *Package, string, *Signature) *Func
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 30 21:14:09 UTC 2015 - 46.6K bytes - Viewed (0) -
cni/pkg/install/testdata/kubeconfig-newhost
Ben Leggett <******@****.***> 1691716743 -0400
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Aug 11 01:19:03 UTC 2023 - 1.7K bytes - Viewed (0) -
subprojects/core/src/testFixtures/groovy/org/gradle/util/BinaryDiffUtils.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Oct 14 11:47:34 UTC 2016 - 2.4K bytes - Viewed (0) -
tests/embedded_struct_test.go
} if hnPost.Title != NewPost.Title { t.Errorf("Should find correct value for embedded pointer type") } if hnPost.Author.Name != NewPost.Author.Name { t.Errorf("Expected to get Author name %v but got: %v", NewPost.Author.Name, hnPost.Author.Name) } if !reflect.DeepEqual(NewPost.Author.Content, hnPost.Author.Content) {
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Wed May 08 04:07:58 UTC 2024 - 7.3K bytes - Viewed (0) -
tensorflow/compiler/jit/increase_dynamism_for_auto_jit_pass.cc
auto it = cache_.find(constant); if (it == cache_.end()) { Output new_const = ops::Const(scope_.WithOpName("const_", constant), {constant}); it = cache_.insert({constant, new_const}).first; for (const Edge* e : control_deps_) { scope_.graph()->AddControlEdge(e->src(), new_const.node()); } } return it->second; } private: Scope scope_;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 13.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/quantize_weight.cc
rewriter.setInsertionPointAfter(op); // create new F16 constant op in that location ConstantOp new_const = rewriter.create<ConstantOp>( op->getLoc(), new_result_type, new_value_attr); ConvertOp dcast = rewriter.create<ConvertOp>(op->getLoc(), old_result_type, new_const); // replace all convert ops with dq op. convert_op->replaceAllUsesWith(dcast);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 9.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/prepare_quantize_dynamic_range.cc
// its number of users. rewriter.setInsertionPointAfter(op); auto new_const = rewriter.create<arith::ConstantOp>( op->getLoc(), new_result_type, new_value_attr); auto dq = rewriter.create<DQ>(op->getLoc(), old_result_type, new_const); cast_op->replaceAllUsesWith(dq); // Return without scanning for the next CastOp as only one CastOp is
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 20.8K bytes - Viewed (0)