- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for valfunc (0.4 sec)
-
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/nilfunc/nilfunc.go
"golang.org/x/tools/internal/typeparams" ) //go:embed doc.go var doc string var Analyzer = &analysis.Analyzer{ Name: "nilfunc", Doc: analysisutil.MustExtractDoc(doc, "nilfunc"), URL: "https://pkg.go.dev/golang.org/x/tools/go/analysis/passes/nilfunc", Requires: []*analysis.Analyzer{inspect.Analyzer}, Run: run, } func run(pass *analysis.Pass) (interface{}, error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 18 21:28:13 UTC 2023 - 2K bytes - Viewed (0) -
src/slices/sort_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 09 19:20:55 UTC 2024 - 9.5K bytes - Viewed (0) -
src/cmd/go/testdata/script/cover_coverpkg_with_init.txt
module M go 1.21 -- a/a.go -- package a import "M/f" func init() { println("package 'a' init: launch the missiles!") } func AFunc() int { return f.Id() } -- a/a_test.go -- package a import "testing" func TestA(t *testing.T) { if AFunc() != 42 { t.Fatalf("bad!") } } -- b/b.go -- package b func init() { println("package 'b' init: release the kraken") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Sep 30 12:33:44 UTC 2023 - 2.4K bytes - Viewed (0) -
testing/internal-performance-testing/src/test/groovy/org/gradle/performance/measure/AmountTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 9.4K bytes - Viewed (0) -
src/slices/sort.go
m = max(m, x[i]) } return m } // MaxFunc returns the maximal value in x, using cmp to compare elements. // It panics if x is empty. If there is more than one maximal element // according to the cmp function, MaxFunc returns the first one. func MaxFunc[S ~[]E, E any](x S, cmp func(a, b E) int) E { if len(x) < 1 { panic("slices.MaxFunc: empty list") } m := x[0] for i := 1; i < len(x); i++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 07 23:54:41 UTC 2024 - 5.8K bytes - Viewed (0) -
src/cmd/vet/main.go
"golang.org/x/tools/go/analysis/passes/ifaceassert" "golang.org/x/tools/go/analysis/passes/loopclosure" "golang.org/x/tools/go/analysis/passes/lostcancel" "golang.org/x/tools/go/analysis/passes/nilfunc" "golang.org/x/tools/go/analysis/passes/printf" "golang.org/x/tools/go/analysis/passes/shift" "golang.org/x/tools/go/analysis/passes/sigchanyzer" "golang.org/x/tools/go/analysis/passes/slog"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 2.9K bytes - Viewed (0) -
test/codegen/retpoline.go
// asmcheck -gcflags=-spectre=ret //go:build amd64 package codegen func CallFunc(f func()) { // amd64:`CALL\truntime.retpoline` f() } func CallInterface(x interface{ M() }) { // amd64:`CALL\truntime.retpoline` x.M() } // Check to make sure that jump tables are disabled // when retpoline is on. See issue 57097. func noJumpTables(x int) int { switch x { case 0: return 0 case 1: return 1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 580 bytes - Viewed (0) -
src/cmd/go/testdata/script/cover_coverpkg_partial.txt
package a import "M/f" var G int func AFunc() int { G = 1 return f.Id() } -- a/a_test.go -- package a import "testing" func TestA(t *testing.T) { if AFunc() != 42 { t.Fatalf("bad!") } } -- b/b.go -- package b import ( "M/a" "M/d" ) func BFunc() int { return -d.FortyTwo + a.AFunc() } -- b/b_test.go -- package b import "testing"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 20:12:49 UTC 2024 - 3.3K bytes - Viewed (0) -
src/cmd/go/testdata/script/cover_coverprofile_multipkg.txt
! exists _cover_.out -- a/a.go -- package a func init() { println("package 'a' init: launch the missiles!") } func AFunc() int { return 42 } -- a/a_test.go -- package a import "testing" func TestA(t *testing.T) { if AFunc() != 42 { t.Fatalf("bad!") } } -- aa/aa.go -- package aa import "M/it" func AA(y int) int { c := it.Conc{}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 04 17:02:36 UTC 2023 - 2.7K bytes - Viewed (0) -
tests/integration/security/testdata/authz/jwt.yaml.tmpl
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 08 23:36:51 UTC 2024 - 3K bytes - Viewed (0)