- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 60 for Sample (0.15 sec)
-
src/cmd/cgo/doc.go
Note that the arguments are for "gcc", not "ld". Example: //go:cgo_ldflag "-lpthread" //go:cgo_ldflag "-L/usr/local/sqlite3/lib" A package compiled with cgo will include directives for both internal and external linking; the linker will select the appropriate subset for the chosen linking mode. Example As a simple example, consider a package that uses cgo to call C.sin.
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/bufio/bufio_test.go
} } func TestNoUnreadRuneAfterPeek(t *testing.T) { br := NewReader(strings.NewReader("example")) br.ReadRune() br.Peek(1) if err := br.UnreadRune(); err == nil { t.Error("UnreadRune didn't fail after Peek") } } func TestNoUnreadByteAfterPeek(t *testing.T) { br := NewReader(strings.NewReader("example")) br.ReadByte() br.Peek(1) if err := br.UnreadByte(); err == nil {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Feb 10 18:56:01 GMT 2023 - 51.5K bytes - Viewed (0) -
src/bootstrap.bash
#!/usr/bin/env bash # Copyright 2015 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. # When run as (for example) # # GOOS=linux GOARCH=ppc64 bootstrap.bash # # this script cross-compiles a toolchain for that GOOS/GOARCH # combination, leaving the resulting tree in ../../go-${GOOS}-${GOARCH}-bootstrap. # That tree can be copied to a machine of the given target type
Shell Script - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Jan 20 17:52:26 GMT 2023 - 2.3K bytes - Viewed (0) -
doc/go1.17_spec.html
<p> Slice expressions construct a substring or slice from a string, array, pointer to array, or slice. There are two variants: a simple form that specifies a low and high bound, and a full form that also specifies a bound on the capacity. </p> <h4>Simple slice expressions</h4> <p> For a string, array, pointer to array, or slice <code>a</code>, the primary expression </p> <pre>
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 211.6K bytes - Viewed (0) -
src/cmd/asm/internal/asm/operand_test.go
// license that can be found in the LICENSE file. package asm import ( "internal/buildcfg" "strings" "testing" "cmd/asm/internal/arch" "cmd/asm/internal/lex" "cmd/internal/obj" ) // A simple in-out test: Do we print what we parse? func setArch(goarch string) (*arch.Arch, *obj.Link) { buildcfg.GOOS = "linux" // obj can handle this OS for all architectures. buildcfg.GOARCH = goarch
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Aug 29 18:31:05 GMT 2023 - 23.9K bytes - Viewed (0) -
api/go1.16.txt
pkg runtime/metrics, type Float64Histogram struct, Buckets []float64 pkg runtime/metrics, type Float64Histogram struct, Counts []uint64 pkg runtime/metrics, type Sample struct pkg runtime/metrics, type Sample struct, Name string pkg runtime/metrics, type Sample struct, Value Value pkg runtime/metrics, type Value struct pkg runtime/metrics, type ValueKind int
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Fri Dec 02 16:30:41 GMT 2022 - 479.2K bytes - Viewed (0) -
src/bufio/example_test.go
} if err := scanner.Err(); err != nil { fmt.Fprintln(os.Stderr, "shouldn't see an error scanning a string") } // Output: // true } // Use a Scanner to implement a simple word-count utility by scanning the // input as a sequence of space-delimited tokens. func ExampleScanner_words() { // An artificial input source.
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Oct 23 09:06:30 GMT 2023 - 4.9K bytes - Viewed (0) -
src/bytes/example_test.go
cui fliter <******@****.***> 1709194171 +0800
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Mar 04 15:54:40 GMT 2024 - 15K bytes - Viewed (1) -
misc/ios/README
set to the clang wrapper that invokes clang for iOS. For example, this command runs all.bash on the iOS emulator: GOOS=ios GOARCH=amd64 CGO_ENABLED=1 CC_FOR_TARGET=$(pwd)/../misc/ios/clangwrap.sh ./all.bash If CC_FOR_TARGET is not set when the toolchain is built (make.bash or all.bash), CC can be set on the command line. For example, GOOS=ios GOARCH=amd64 CGO_ENABLED=1 CC=$(go env GOROOT)/misc/ios/clangwrap.sh go build
Plain Text - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Dec 29 21:49:26 GMT 2020 - 2.7K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/02-pkgsite-removal.yml
id: package-path attributes: label: "What is the path of the package that you would like to have removed?" description: | We can remove packages with a shared path prefix. For example, a request for 'github.com/author' would remove all pkg.go.dev pages with that package path prefix. validations: required: true - type: textarea id: package-owner attributes:
Others - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Jan 04 23:31:17 GMT 2024 - 1.9K bytes - Viewed (0)