- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for search (0.17 sec)
-
.github/ISSUE_TEMPLATE/01-pkgsite.yml
validations: required: true - type: input id: user-agent attributes: label: "What is your user agent?" description: "You can find your user agent here: https://www.google.com/search?q=what+is+my+user+agent" validations: required: true - type: textarea id: screenshot attributes: label: "Screenshot" description: "Please paste a screenshot of the page."
Others - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Jan 04 23:31:17 GMT 2024 - 1.4K bytes - Viewed (0) -
src/bytes/example_test.go
if bytes.Equal(a, b) { // a equal b } if !bytes.Equal(a, b) { // a not equal b } } func ExampleCompare_search() { // Binary search to find a matching byte slice. var needle []byte var haystack [][]byte // Assume sorted i := sort.Search(len(haystack), func(i int) bool { // Return haystack[i] >= needle. return bytes.Compare(haystack[i], needle) >= 0 })
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Mar 04 15:54:40 GMT 2024 - 15K bytes - Viewed (1) -
src/cmd/api/api_test.go
warmupCache() for _, context := range contexts { w := NewWalker(context, "testdata/src/issue21181") pkg, err := w.import_("p") if err != nil { t.Fatalf("%s: (%s-%s) %s %v", err, context.GOOS, context.GOARCH, pkg.Name(), w.imported) } w.export(pkg) } } func TestIssue29837(t *testing.T) { if testing.Short() { t.Skip("skipping with -short") } if *flagCheck {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Jan 04 17:31:12 GMT 2024 - 7.1K bytes - Viewed (0) -
src/cmd/cgo/doc.go
use. You can do this by setting the generic CC_FOR_TARGET or the more specific CC_FOR_${GOOS}_${GOARCH} (for example, CC_FOR_linux_arm) environment variable when building the toolchain using make.bash, or you can set the CC environment variable any time you run the go tool. The CXX_FOR_TARGET, CXX_FOR_${GOOS}_${GOARCH}, and CXX environment variables work in a similar way for C++ code. # Go references to C
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Sun Mar 31 09:02:45 GMT 2024 - 42.1K bytes - Viewed (0) -
src/archive/zip/zip_test.go
if len(a) == 0 { return } // Double, until we reach power of 2 >= len(a), same as bytes.Repeat, // but without allocation. a[0] = b for i, l := 1, len(a); i < l; i *= 2 { copy(a[i:], a[:i]) } } func (r *rleBuffer) ReadAt(p []byte, off int64) (n int, err error) { if len(p) == 0 { return } skipParts := sort.Search(len(r.buf), func(i int) bool { part := &r.buf[i]
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Mar 27 18:23:49 GMT 2024 - 19.5K bytes - Viewed (0) -
src/bytes/bytes.go
// point in common. func IndexAny(s []byte, chars string) int { if chars == "" { // Avoid scanning all of s. return -1 } if len(s) == 1 { r := rune(s[0]) if r >= utf8.RuneSelf { // search utf8.RuneError. for _, r = range chars { if r == utf8.RuneError { return 0 } } return -1 } if bytealg.IndexByteString(chars, s[0]) >= 0 { return 0 }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Feb 19 19:51:15 GMT 2024 - 33.8K bytes - Viewed (0) -
src/cmd/asm/internal/asm/parse.go
} a.Index = r1 if scale != 0 && scale != 1 && (p.arch.Family == sys.ARM64 || p.arch.Family == sys.PPC64) { // Support (R1)(R2) (no scaling) and (R1)(R2*1). p.errorf("%s doesn't support scaled register format", p.arch.Name) } else { a.Scale = int16(scale) } } p.get(')') } else if scale != 0 { if p.arch.Family == sys.ARM64 {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Feb 21 14:34:57 GMT 2024 - 36.9K bytes - Viewed (0) -
doc/asm.html
You can also examine what the compiler emits as assembly code (the actual output may differ from what you see here): </p> <pre> $ cat x.go package main func main() { println(3) } $ GOOS=linux GOARCH=amd64 go tool compile -S x.go # or: go build -gcflags -S x.go "".main STEXT size=74 args=0x0 locals=0x10 0x0000 00000 (x.go:3) TEXT "".main(SB), $16-0 0x0000 00000 (x.go:3) MOVQ (TLS), CX
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Tue Nov 28 19:15:27 GMT 2023 - 36.3K bytes - Viewed (0) -
src/cmd/cgo/internal/test/callback_windows.go
testenv.SkipIfOptimizationOff(t) // This test requires inlining. if runtime.Compiler != "gc" { // The exact function names are not going to be the same. t.Skip("skipping for non-gc toolchain") } if runtime.GOARCH != "amd64" { // TODO: support SEH on other architectures. t.Skip("skipping on non-amd64") } // Only frames in the test package are checked. want := []string{ "test._Cfunc_backtrace",
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Wed Nov 29 16:01:37 GMT 2023 - 2.6K bytes - Viewed (0) -
src/cmd/api/main_test.go
{GOOS: "freebsd", GOARCH: "riscv64"}, {GOOS: "netbsd", GOARCH: "386", CgoEnabled: true}, {GOOS: "netbsd", GOARCH: "386"}, {GOOS: "netbsd", GOARCH: "amd64", CgoEnabled: true}, {GOOS: "netbsd", GOARCH: "amd64"}, {GOOS: "netbsd", GOARCH: "arm", CgoEnabled: true}, {GOOS: "netbsd", GOARCH: "arm"}, {GOOS: "netbsd", GOARCH: "arm64", CgoEnabled: true}, {GOOS: "netbsd", GOARCH: "arm64"},
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Apr 09 20:48:51 GMT 2024 - 31.4K bytes - Viewed (0)