- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 515 for Fn (0.02 sec)
-
pkg/test/framework/suite.go
} } return nil } s.requireFns = append(s.requireFns, fn) return s } func (s *suiteImpl) Setup(fn resource.SetupFn) Suite { s.setupFns = append(s.setupFns, fn) return s } func (s *suiteImpl) Teardown(fn resource.TeardownFn) Suite { s.teardownFns = append(s.teardownFns, fn) return s } func (s *suiteImpl) SetupParallel(fns ...resource.SetupFn) Suite {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 17.2K bytes - Viewed (0) -
src/debug/gosym/symtab.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 18 19:33:30 UTC 2023 - 17.9K bytes - Viewed (0) -
src/runtime/export_debug_test.go
"internal/stringslite" "unsafe" ) // InjectDebugCall injects a debugger call to fn into g. regArgs must // contain any arguments to fn that are passed in registers, according // to the internal Go ABI. It may be nil if no arguments are passed in // registers to fn. args must be a pointer to a valid call frame (including // arguments and return space) for fn, or nil. tkill must be a function that
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 15:41:45 UTC 2024 - 5.1K bytes - Viewed (0) -
src/cmd/fix/main_test.go
"testing" ) type testCase struct { Name string Fn func(*ast.File) bool Version string In string Out string } var testCases []testCase func addTestCases(t []testCase, fn func(*ast.File) bool) { // Fill in fn to avoid repetition in definitions. if fn != nil { for i := range t { if t[i].Fn == nil { t[i].Fn = fn } } } testCases = append(testCases, t...) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 22 05:31:47 UTC 2024 - 3.8K bytes - Viewed (0) -
src/runtime/syscall_windows.go
return syscall_SyscallN(fn, args[:nargs]...) } //go:linkname syscall_Syscall9 syscall.Syscall9 //go:nosplit func syscall_Syscall9(fn, nargs, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2, err uintptr) { args := [...]uintptr{a1, a2, a3, a4, a5, a6, a7, a8, a9} return syscall_SyscallN(fn, args[:nargs]...) } //go:linkname syscall_Syscall12 syscall.Syscall12 //go:nosplit
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 20:12:46 UTC 2024 - 16.6K bytes - Viewed (0) -
test/fixedbugs/issue33555.go
for i := 0; i < count; i++ { fmt.Fprintf(&buf, fn, i, i + 1) } fmt.Fprintf(&buf, fnlast, count) dir, err := ioutil.TempDir("", "issue33555") if err != nil { return err } defer os.RemoveAll(dir) fn := filepath.Join(dir, "x.go") if err := ioutil.WriteFile(fn, buf.Bytes(), 0644); err != nil { return err } out, err := exec.Command("go", "run", fn).CombinedOutput() if err != nil { return err
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 1.3K bytes - Viewed (0) -
src/net/http/server_test.go
func BenchmarkServerMatch(b *testing.B) { fn := func(w ResponseWriter, r *Request) { fmt.Fprintf(w, "OK") } mux := NewServeMux() mux.HandleFunc("/", fn) mux.HandleFunc("/index", fn) mux.HandleFunc("/home", fn) mux.HandleFunc("/about", fn) mux.HandleFunc("/contact", fn) mux.HandleFunc("/robots.txt", fn) mux.HandleFunc("/products/", fn) mux.HandleFunc("/products/1", fn) mux.HandleFunc("/products/2", fn)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 13 13:54:22 UTC 2024 - 7.3K bytes - Viewed (0) -
src/runtime/cgo/asm_amd64.s
MOVQ BX, (AX) RET TEXT crosscall2_trampoline<>(SB),NOSPLIT,$0-0 JMP crosscall2(SB) // Called by C code generated by cmd/cgo. // func crosscall2(fn, a unsafe.Pointer, n int32, ctxt uintptr) // Saves C callee-saved registers and calls cgocallback with three arguments. // fn is the PC of a func(a unsafe.Pointer) function. // This signature is known to SWIG, so we can't change it. TEXT crosscall2(SB),NOSPLIT,$0-0 PUSH_REGS_HOST_TO_ABI0()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 12 00:43:51 UTC 2023 - 1.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/slog/slog.go
call := node.(*ast.CallExpr) fn := typeutil.StaticCallee(pass.TypesInfo, call) if fn == nil { return // not a static call } if call.Ellipsis != token.NoPos { return // skip calls with "..." args } skipArgs, ok := kvFuncSkipArgs(fn) if !ok { // Not a slog function that takes key-value pairs. return } // Here we know that fn.Pkg() is "log/slog". if attrType == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 7.2K bytes - Viewed (0) -
src/cmd/link/internal/wasm/asm.go
for i, fn := range ctxt.Textp { wfn := new(bytes.Buffer) if ldr.SymName(fn) == "go:buildid" { writeUleb128(wfn, 0) // number of sets of locals writeI32Const(wfn, 0) wfn.WriteByte(0x0b) // end buildid = ldr.Data(fn) } else { // Relocations have variable length, handle them here. relocs := ldr.Relocs(fn) P := ldr.Data(fn) off := int32(0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 22 16:17:48 UTC 2024 - 21.9K bytes - Viewed (0)