- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 68 for newNames (0.44 sec)
-
tensorflow/compiler/jit/shape_inference.cc
NodeDef const_def; const_def.set_op("Const"); Node* var_node; TF_RETURN_IF_ERROR(n->input_node(0, &var_node)); const_def.set_name( graph->NewName(absl::StrCat("var_shape_", var_node->name()))); DataType dtype = n->output_type(0); AddNodeAttr("dtype", dtype, &const_def); TensorProto value; value.set_dtype(dtype);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 31 00:41:19 UTC 2024 - 13K bytes - Viewed (0) -
src/cmd/compile/internal/rangefunc/rewrite.go
r.stateVarCount++ name := fmt.Sprintf("#state%d", r.stateVarCount) typ := r.int.Type() obj := types2.NewVar(pos, r.pkg, name, typ) n := syntax.NewName(pos, name) setValueType(n, typ) r.info.Defs[n] = obj return obj, &syntax.VarDecl{NameList: []*syntax.Name{n}, Values: r.stateConst(abi.RF_READY)} }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:05:44 UTC 2024 - 41.6K bytes - Viewed (0) -
src/go/types/issues_test.go
// } // // type T2 struct { // _ struct { // _ T2 // } // } n1 := NewTypeName(nopos, nil, "T1", nil) T1 := NewNamed(n1, nil, nil) n2 := NewTypeName(nopos, nil, "T2", nil) T2 := NewNamed(n2, nil, nil) s1 := NewStruct([]*Var{NewField(nopos, nil, "_", T2, false)}, nil) T1.SetUnderlying(s1) s2 := NewStruct([]*Var{NewField(nopos, nil, "_", T2, false)}, nil)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 28.1K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/parser_test.go
t.Errorf("%s: got col = %d; want %d", test.src, col, test.col) } } } // Test that typical uses of UnpackListExpr don't allocate. func TestUnpackListExprAllocs(t *testing.T) { var x Expr = NewName(Pos{}, "x") allocs := testing.AllocsPerRun(1000, func() { list := UnpackListExpr(x) if len(list) != 1 || list[0] != x { t.Fatalf("unexpected result") } }) if allocs > 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 14 16:30:19 UTC 2024 - 12.2K bytes - Viewed (0) -
src/cmd/compile/internal/types2/issues_test.go
// } // // type T2 struct { // _ struct { // _ T2 // } // } n1 := NewTypeName(nopos, nil, "T1", nil) T1 := NewNamed(n1, nil, nil) n2 := NewTypeName(nopos, nil, "T2", nil) T2 := NewNamed(n2, nil, nil) s1 := NewStruct([]*Var{NewField(nopos, nil, "_", T2, false)}, nil) T1.SetUnderlying(s1) s2 := NewStruct([]*Var{NewField(nopos, nil, "_", T2, false)}, nil)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 28.1K bytes - Viewed (0) -
src/go/internal/gcimporter/ureader.go
sig := r.signature(nil, nil, tparams) declare(types.NewFunc(pos, objPkg, objName, sig)) case pkgbits.ObjType: pos := r.pos() obj := types.NewTypeName(pos, objPkg, objName, nil) named := types.NewNamed(obj, nil, nil) declare(obj) named.SetTypeParams(r.typeParamNames()) underlying := r.typ().Underlying() // If the underlying type is an interface, we need to
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 16.6K bytes - Viewed (0) -
src/go/internal/gcimporter/iimport.go
case 'T', 'U': // Types can be recursive. We need to setup a stub // declaration before recurring. obj := types.NewTypeName(pos, r.currPkg, name, nil) named := types.NewNamed(obj, nil, nil) // Declare obj before calling r.tparamList, so the new type name is recognized // if used in the constraint of one of its own typeparams (see #48280). r.declare(obj) if tag == 'U' {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 19.2K bytes - Viewed (0) -
pkg/controller/endpointslicemirroring/endpointslicemirroring_controller.go
prevSvcName := prevEndpointSlice.Labels[discovery.LabelServiceName] if svcName != prevSvcName { logger.Info("LabelServiceName changed", "labelServiceName", discovery.LabelServiceName, "oldName", prevSvcName, "newName", svcName, "endpointSlice", klog.KObj(endpointSlice)) c.queueEndpointsForEndpointSlice(endpointSlice) c.queueEndpointsForEndpointSlice(prevEndpointSlice) return }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 06 23:18:31 UTC 2024 - 20.1K bytes - Viewed (0) -
src/cmd/link/internal/ld/lib.go
// so it is consistent with the one stored in the shared library. continue } name := ldr.SymName(s) newName := typeSymbolMangle(name) if newName != name { ldr.SetSymExtname(s, newName) // When linking against a shared library, the Go object file may // have reference to the original symbol name whereas the shared
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 18:45:27 UTC 2024 - 88.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/configurations/DefaultConfiguration.java
} return copiedConfiguration; } private DefaultConfiguration newConfiguration(ConfigurationRole role) { String newName = getNameWithCopySuffix(); DetachedConfigurationsProvider configurationsProvider = new DetachedConfigurationsProvider();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 17:36:01 UTC 2024 - 85.4K bytes - Viewed (0)