- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 60 for Sample (0.21 sec)
-
src/archive/tar/example_test.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package tar_test import ( "archive/tar" "bytes" "fmt" "io" "log" "os" ) func Example_minimal() { // Create and add some files to the archive. var buf bytes.Buffer tw := tar.NewWriter(&buf) var files = []struct { Name, Body string }{ {"readme.txt", "This archive contains some text files."},
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Nov 16 16:54:08 GMT 2017 - 1.4K bytes - Viewed (0) -
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) -
src/bytes/buffer.go
// Copyright 2009 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 bytes // Simple byte buffer for marshaling data. import ( "errors" "io" "unicode/utf8" ) // smallBufferSize is an initial allocation minimal capacity. const smallBufferSize = 64
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 13 17:10:31 GMT 2023 - 15.7K bytes - Viewed (0) -
src/README.vendor
There are two modules, std and cmd, defined in src/go.mod and src/cmd/go.mod. When a package outside std or cmd is imported by a package inside std or cmd, the import path is interpreted as if it had a "vendor/" prefix. For example, within "crypto/tls", an import of "golang.org/x/crypto/cryptobyte" resolves to "vendor/golang.org/x/crypto/cryptobyte". When a package with the same path is imported from a package outside std or cmd, it will
Plain Text - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Apr 02 02:20:05 GMT 2024 - 2.2K bytes - Viewed (0) -
src/cmd/asm/internal/lex/tokenizer.go
package lex import ( "go/build/constraint" "io" "os" "strings" "text/scanner" "unicode" "cmd/asm/internal/flags" "cmd/internal/objabi" "cmd/internal/src" ) // A Tokenizer is a simple wrapping of text/scanner.Scanner, configured // for our purposes and made a TokenReader. It forms the lowest level, // turning text from readers into tokens. type Tokenizer struct { tok ScanToken s *scanner.Scanner
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Aug 04 20:35:21 GMT 2022 - 3K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/11-language-change.yml
description: Breaking the Go 1 compatibility guarantee is a large cost and requires a large benefit. placeholder: | Yes or No If yes, 1. Show example code before and after the change. validations: required: true - type: textarea id: orthogonality attributes:
Others - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Wed Nov 22 20:49:24 GMT 2023 - 4.7K bytes - Viewed (0) -
doc/asm.html
</p> <h3 id="directives">Directives</h3> <p> The assembler uses various directives to bind text and data to symbol names. For example, here is a simple complete function definition. The <code>TEXT</code> directive declares the symbol <code>runtime·profileloop</code> and the instructions that follow form the body of the function.
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/gcc.go
"-c", // do not link "-xc", // input language is C ) if p.GccIsClang { c = append(c, "-ferror-limit=0", // Apple clang version 1.7 (tags/Apple/clang-77) (based on LLVM 2.9svn) // doesn't have -Wno-unneeded-internal-declaration, so we need yet another // flag to disable the warning. Yes, really good diagnostics, clang.
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Nov 02 16:43:23 GMT 2023 - 97K bytes - Viewed (0) -
src/archive/tar/common.go
// zero value of sparseHoles logically represents a normal file (i.e., there are // no holes in it). On the other hand, the zero value of sparseDatas implies // that the file has no data in it, which is rather odd. // // As an example, if the underlying raw file contains the 10-byte data: // // var compactFile = "abcdefgh" // // And the sparse map has the following entries: // // var spd sparseDatas = []sparseEntry{
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Mar 15 16:01:50 GMT 2024 - 24.7K bytes - Viewed (2)