- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ExampleIndex (0.12 sec)
-
src/cmd/internal/test2json/testdata/framebig.json
{"Action":"output","Test":"TestIndexFunc","Output":"=== PASS TestIndexFunc\n"} {"Action":"run","Test":"ExampleIndex"} {"Action":"output","Test":"ExampleIndex","Output":"=== RUN ExampleIndex\n"} {"Action":"output","Test":"ExampleIndex","Output":"--- PASS: ExampleIndex (0.00s)\n"} {"Action":"pass","Test":"ExampleIndex"} {"Action":"run","Test":"ExampleIndexFunc"}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Nov 09 17:33:07 UTC 2022 - 12.2K bytes - Viewed (0) -
src/strings/example_test.go
fmt.Println(strings.HasSuffix("Amigo", "Ami")) fmt.Println(strings.HasSuffix("Amigo", "")) // Output: // true // false // false // true } func ExampleIndex() { fmt.Println(strings.Index("chicken", "ken")) fmt.Println(strings.Index("chicken", "dmr")) // Output: // 4 // -1 } func ExampleIndexFunc() { f := func(c rune) bool {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 09 22:05:38 UTC 2023 - 10.7K bytes - Viewed (0)