- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 317 for function (0.33 sec)
-
src/cmd/compile/internal/types2/infer.go
// function arguments args, if any. There must be at least one type parameter, no more type arguments // than type parameters, and params and args must match in number (incl. zero). // If reverse is set, an error message's contents are reversed for a better error message for some // errors related to reverse type inference (where the function call is synthetic).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 13:54:20 UTC 2024 - 26.4K bytes - Viewed (0) -
src/cmd/compile/internal/test/ssa_test.go
testenv.MustHaveGoBuild(t) gotool := testenv.GoToolPath(t) // Make a temporary directory to work in. tmpdir := t.TempDir() // Find all the test functions (and the files containing them). var srcs []string // files containing Test functions type test struct { name string // TestFoo usesFloat bool // might use float operations } var tests []test files, err := os.ReadDir("testdata")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 05 23:35:29 UTC 2023 - 4.9K bytes - Viewed (0) -
src/cmd/compile/internal/test/logic_test.go
package test import "testing" // Tests to make sure logic simplification rules are correct. func TestLogic64(t *testing.T) { // test values to determine function equality values := [...]int64{-1 << 63, 1<<63 - 1, -4, -3, -2, -1, 0, 1, 2, 3, 4} // golden functions we use repeatedly zero := func(x int64) int64 { return 0 } id := func(x int64) int64 { return x } or := func(x, y int64) int64 { return x | y }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 17 23:34:11 UTC 2023 - 11.2K bytes - Viewed (0) -
src/cmd/cgo/internal/testsanitizers/testdata/msan6.go
// Copyright 2018 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 main // A C function returning a value on the Go stack could leave the Go // stack marked as uninitialized, potentially causing a later error // when the stack is used for something else. Issue 26209. /* #cgo LDFLAGS: -fsanitize=memory #cgo CPPFLAGS: -fsanitize=memory
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 1.4K bytes - Viewed (0) -
src/archive/tar/strconv.go
func fitsInBase256(n int, x int64) bool { binBits := uint(n-1) * 8 return n >= 9 || (x >= -1<<binBits && x < 1<<binBits) } // parseNumeric parses the input as being encoded in either base-256 or octal. // This function may return negative numbers. // If parsing fails or an integer overflow occurs, err will be set. func (p *parser) parseNumeric(b []byte) int64 { // Check for base-256 (binary) format first.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 01 14:28:42 UTC 2023 - 9K bytes - Viewed (0) -
src/cmd/compile/internal/types2/return.go
// no chance case *syntax.LabeledStmt: return check.isTerminating(s.Stmt, s.Label.Value) case *syntax.ExprStmt: // calling the predeclared (possibly parenthesized) panic() function is terminating if call, ok := syntax.Unparen(s.X).(*syntax.CallExpr); ok && check.isPanic[call] { return true } case *syntax.ReturnStmt: return true case *syntax.BranchStmt:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 22 19:32:17 UTC 2024 - 4.4K bytes - Viewed (0) -
src/cmd/compile/internal/ssagen/arch.go
type ArchInfo struct { LinkArch *obj.LinkArch REGSP int MAXWIDTH int64 SoftFloat bool PadFrame func(int64) int64 // ZeroRange zeroes a range of memory on stack. It is only inserted // at function entry, and it is ok to clobber registers. ZeroRange func(*objw.Progs, *obj.Prog, int64, int64, *uint32) *obj.Prog Ginsnop func(*objw.Progs) *obj.Prog
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 03 21:05:55 UTC 2021 - 1.5K bytes - Viewed (0) -
src/cmd/cgo/ast.go
ctxField ctxParam ctxAssign2 // assignment of a single expression to two variables ctxSwitch ctxTypeSwitch ctxFile ctxDecl ctxSpec ctxDefer ctxCall // any function call other than ctxCall2 ctxCall2 // function call whose result is assigned to two variables ctxSelector ) // walk walks the AST x, calling visit(f, x, context) for each node.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 07 16:54:27 UTC 2023 - 14.3K bytes - Viewed (0) -
src/cmd/compile/internal/types/sym.go
} const ( symOnExportList = 1 << iota // added to exportlist (no need to add again) symUniq symSiggen // type symbol has been generated symAsm // on asmlist, for writing to -asmhdr symFunc // function symbol ) func (sym *Sym) OnExportList() bool { return sym.flags&symOnExportList != 0 } func (sym *Sym) Uniq() bool { return sym.flags&symUniq != 0 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jan 26 21:56:56 UTC 2023 - 4.2K bytes - Viewed (0) -
src/cmd/go/internal/test/cover.go
f *os.File sync.Mutex // for f.Write } // initCoverProfile initializes the test coverage profile. // It must be run before any calls to mergeCoverProfile or closeCoverProfile. // Using this function clears the profile in case it existed from a previous run, // or in case it doesn't exist and the test is going to fail to create it (or not run). func initCoverProfile() { if testCoverProfile == "" || testC { return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 28 11:50:58 UTC 2022 - 2K bytes - Viewed (0)