- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 117 for cfunc (0.06 sec)
-
src/cmd/link/internal/ld/symtab.go
} type byPkg []*sym.Library func (libs byPkg) Len() int { return len(libs) } func (libs byPkg) Less(a, b int) bool { return libs[a].Pkg < libs[b].Pkg } func (libs byPkg) Swap(a, b int) { libs[a], libs[b] = libs[b], libs[a] } // Create a table with information on the text sections. // Return the symbol of the table, and number of sections. func textsectionmap(ctxt *Link) (loader.Sym, uint32) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 13 16:29:40 UTC 2023 - 29.2K bytes - Viewed (0) -
tensorflow/c/eager/c_api.cc
status->status = MessageToBuffer(*run_metadata, buf); } namespace { TFE_Op* GetFunc(TFE_Context* ctx, const tensorflow::NameAttrList& func, TF_Status* status) { TFE_Op* func_op = TFE_NewOp(ctx, func.name().data(), status); for (const auto& attr : func.attr()) { if (!status->status.ok()) return nullptr; SetOpAttrValueScalar(ctx, func_op, attr.second, attr.first.data(), status);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 08:11:23 UTC 2024 - 44K bytes - Viewed (0) -
src/go/scanner/scanner_test.go
{"foo /* an EOF terminates a line */ //", "IDENT COMMENT COMMENT ;"}, {"package main\n\nfunc main() {\n\tif {\n\t\treturn /* */ }\n}\n", "package IDENT ; func IDENT ( ) { if { return COMMENT } ; } ;"}, {"package main", "package IDENT ;"}, } func TestSemicolons(t *testing.T) { for _, test := range semicolonTests { input, want := test.input, test.want checkSemi(t, input, want, 0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 28 15:38:31 UTC 2023 - 34.6K bytes - Viewed (0) -
src/cmd/compile/internal/staticinit/sched.go
// the mappings later on to update relocations. func recordFuncForVar(v *ir.Name, fn *ir.Func) { if varToMapInit == nil { varToMapInit = make(map[*ir.Name]*ir.Func) MapInitToVar = make(map[*ir.Func]*ir.Name) } varToMapInit[v] = fn MapInitToVar[fn] = v } // allBlank reports whether every node in exprs is blank. func allBlank(exprs []ir.Node) bool { for _, expr := range exprs { if !ir.IsBlank(expr) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 17:16:14 UTC 2024 - 30.7K bytes - Viewed (0) -
src/cmd/compile/internal/walk/expr.go
return } // looking for either direct method calls and interface method calls of: // reflect.Type.Method - func(int) reflect.Method // reflect.Type.MethodByName - func(string) (reflect.Method, bool) // // reflect.Value.Method - func(int) reflect.Value // reflect.Value.MethodByName - func(string) reflect.Value methodName := dot.Sel.Name t := dot.Selection.Type
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:34:01 UTC 2024 - 27.6K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/typecheck.go
"cmd/internal/src" ) func AssignExpr(n ir.Node) ir.Node { return typecheck(n, ctxExpr|ctxAssign) } func Expr(n ir.Node) ir.Node { return typecheck(n, ctxExpr) } func Stmt(n ir.Node) ir.Node { return typecheck(n, ctxStmt) } func Exprs(exprs []ir.Node) { typecheckslice(exprs, ctxExpr) } func Stmts(stmts []ir.Node) { typecheckslice(stmts, ctxStmt) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 20 19:08:34 UTC 2024 - 30.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go
allowCreateOnUpdate bool allowUnconditionalUpdate bool } func (t *testRESTStrategy) NamespaceScoped() bool { return t.namespaceScoped } func (t *testRESTStrategy) AllowCreateOnUpdate() bool { return t.allowCreateOnUpdate } func (t *testRESTStrategy) AllowUnconditionalUpdate() bool { return t.allowUnconditionalUpdate } func (t *testRESTStrategy) PrepareForCreate(ctx context.Context, obj runtime.Object) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 10:12:02 UTC 2024 - 101.8K bytes - Viewed (0) -
src/cmd/compile/internal/ssagen/ssa.go
} func (s *state) constNil(t *types.Type) *ssa.Value { return s.f.ConstNil(t) } func (s *state) constEmptyString(t *types.Type) *ssa.Value { return s.f.ConstEmptyString(t) } func (s *state) constBool(c bool) *ssa.Value { return s.f.ConstBool(types.Types[types.TBOOL], c) } func (s *state) constInt8(t *types.Type, c int8) *ssa.Value { return s.f.ConstInt8(t, c) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 19:44:43 UTC 2024 - 284.9K bytes - Viewed (0) -
src/cmd/link/link_test.go
} } const testTrampSrc = ` package main import "fmt" func main() { fmt.Println("hello") defer func(){ if e := recover(); e == nil { panic("did not panic") } }() f1() } // Test deferreturn trampolines. See issue #39049. func f1() { defer f2() } func f2() { panic("XXX") } ` func TestTrampoline(t *testing.T) { // Test that trampoline insertion works as expected.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 20:26:02 UTC 2024 - 43.5K bytes - Viewed (0) -
src/cmd/link/internal/ld/dwarf_test.go
func TestInlinedRoutineArgsVars(t *testing.T) { testenv.MustHaveGoBuild(t) mustHaveDWARF(t) t.Parallel() const prog = ` package main var G int func noinline(x int) int { defer func() { G += x }() return x } func cand(x, y int) int { return noinline(x+y) ^ (y - x) } func main() { x := cand(G*G,G|7%G) G = x }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 08 01:38:11 UTC 2024 - 48.6K bytes - Viewed (0)