- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 3,784 for Bfunc (0.15 sec)
-
src/cmd/go/testdata/script/cover_coverpkg_with_init.txt
import ( "M/a" "M/b" ) func MFunc() string { return "42" } func M2Func() int { return a.AFunc() + b.BFunc() } func init() { println("package 'main' init") } func main() { println(a.AFunc() + b.BFunc()) } -- main/main_test.go -- package main import "testing" func TestMain(t *testing.T) { if MFunc() != "42" { t.Fatalf("bad!") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Sep 30 12:33:44 UTC 2023 - 2.4K bytes - Viewed (0) -
src/cmd/go/testdata/script/cover_coverprofile_multipkg.txt
} func init() { println("package 'main' init") } func main() { println(a.AFunc() + b.BFunc()) } -- main/main_test.go -- package main import "testing" func TestMain(t *testing.T) { if MFunc() != "42" { t.Fatalf("bad!") } if M2Func() != 0 { t.Fatalf("also bad!") } } -- n/n.go -- package n type N int -- onlytest/mumble_test.go --
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 04 17:02:36 UTC 2023 - 2.7K bytes - Viewed (0) -
src/cmd/go/testdata/script/cover_coverpkg_partial.txt
func TestB(t *testing.T) { if BFunc() == 1010101 { t.Fatalf("bad!") } } -- c/c.go -- package c var G int func CFunc(x, y int) int { G += x G -= y return x + y } -- c/c_test.go -- package c import "testing" func TestC(t *testing.T) { if CFunc(10, 10) == 1010101 { t.Fatalf("bad!") } } -- d/d.go -- package d const FortyTwo = 42
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 20:12:49 UTC 2024 - 3.3K bytes - Viewed (0) -
test/fixedbugs/issue34503.dir/b.go
// Copyright 2019 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package b import "./a" func Bfunc() { a.Hook(101)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 24 02:14:15 UTC 2022 - 215 bytes - Viewed (0) -
test/fixedbugs/issue33866.dir/b.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package b import "./a" type ( ABuilder = a.Builder ) func Bfunc() ABuilder { return ABuilder{}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 06 12:11:17 UTC 2019 - 262 bytes - Viewed (0) -
src/cmd/compile/internal/ir/func.go
fn.SetTypecheck(1) name.Func = fn return fn } func (f *Func) isStmt() {} func (n *Func) copy() Node { panic(n.no("copy")) } func (n *Func) doChildren(do func(Node) bool) bool { return doNodes(n.Body, do) } func (n *Func) editChildren(edit func(Node) Node) { editNodes(n.Body, edit) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:05:44 UTC 2024 - 21.1K bytes - Viewed (0) -
test/ken/mfunc.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 24 05:24:24 UTC 2012 - 386 bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/func.go
// (Call typecheck.Func instead.) func tcFunc(n *ir.Func) { if base.EnableTrace && base.Flag.LowerT { defer tracePrint("tcFunc", n)(nil) } if name := n.Nname; name.Typecheck() == 0 { base.AssertfAt(name.Type() != nil, n.Pos(), "missing type: %v", name) name.SetTypecheck(1) } } // tcCall typechecks an OCALL node. func tcCall(n *ir.CallExpr, top int) ir.Node {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 06 15:23:18 UTC 2024 - 21.1K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/func.go
} func (f *Func) ConstInt32(t *types.Type, c int32) *Value { return f.constVal(OpConst32, t, int64(c), true) } func (f *Func) ConstInt64(t *types.Type, c int64) *Value { return f.constVal(OpConst64, t, c, true) } func (f *Func) ConstFloat32(t *types.Type, c float64) *Value { return f.constVal(OpConst32F, t, int64(math.Float64bits(float64(float32(c)))), true) } func (f *Func) ConstFloat64(t *types.Type, c float64) *Value {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 19:44:43 UTC 2024 - 25.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/func.h
#define TENSORFLOW_COMPILER_MLIR_QUANTIZATION_COMMON_FUNC_H_ #include "mlir/Dialect/Func/IR/FuncOps.h" // from @llvm-project #include "mlir/IR/BuiltinOps.h" // from @llvm-project namespace mlir::quant { // Returns a public `func::FuncOp` in `module_op` whose name matches either // `main` or `serving_default`. If `func::FuncOps` with both names exist, the // function with name "main" takes precedence. Returns null if no such a
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 19 06:55:11 UTC 2024 - 1.3K bytes - Viewed (0)