- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 44 for src (0.18 sec)
-
src/cmd/api/api_test.go
td, err := os.Open("testdata/src/pkg") if err != nil { t.Fatal(err) } fis, err := td.Readdir(0) if err != nil { t.Fatal(err) } for _, fi := range fis { if !fi.IsDir() { continue } // TODO(gri) remove extra pkg directory eventually goldenFile := filepath.Join("testdata", "src", "pkg", fi.Name(), "golden.txt") w := NewWalker(nil, "testdata/src/pkg") pkg, _ := w.import_(fi.Name())
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/bootstrap.bash
echo "$targ already exists; remove before continuing" exit 2 fi unset GOROOT src=$(cd .. && pwd) echo "#### Copying to $targ" cp -Rp "$src" "$targ" cd "$targ" echo echo "#### Cleaning $targ" chmod -R +w . rm -f .gitignore if [ -e .git ]; then git clean -f -d fi echo echo "#### Building $targ" echo cd src ./make.bash --no-banner $forceflag gohostos="$(../bin/go env GOHOSTOS)"
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) -
misc/wasm/wasm_exec.js
}, // func copyBytesToGo(dst []byte, src ref) (int, bool) "syscall/js.copyBytesToGo": (sp) => { sp >>>= 0; const dst = loadSlice(sp + 8); const src = loadValue(sp + 32); if (!(src instanceof Uint8Array || src instanceof Uint8ClampedArray)) { this.mem.setUint8(sp + 48, 0); return; } const toCopy = src.subarray(0, dst.length); dst.set(toCopy);
JavaScript - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon May 22 17:47:47 GMT 2023 - 16.3K bytes - Viewed (1) -
src/all.bat
"%GOTOOLDIR%/dist"...
Batch File - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Apr 19 14:36:22 GMT 2023 - 543 bytes - Viewed (0) -
src/bufio/bufio_test.go
// Optimal case is where the underlying reader implements io.WriterTo srcBuf := bytes.NewBuffer(make([]byte, 8192)) src := NewReader(srcBuf) dstBuf := new(bytes.Buffer) dst := onlyWriter{dstBuf} for i := 0; i < b.N; i++ { srcBuf.Reset() src.Reset(srcBuf) dstBuf.Reset() io.Copy(dst, src) } } func BenchmarkReaderCopyUnoptimal(b *testing.B) {
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/cmd/cgo/ast.go
package main import ( "fmt" "go/ast" "go/format" "go/parser" "go/scanner" "go/token" "os" "strings" ) func parse(name string, src []byte, flags parser.Mode) *ast.File { ast1, err := parser.ParseFile(fset, name, src, flags) if err != nil { if list, ok := err.(scanner.ErrorList); ok { // If err is a scanner.ErrorList, its String will print just // the first error and then (+n more errors).
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Jun 07 16:54:27 GMT 2023 - 14.3K bytes - Viewed (0) -
src/cmd/cgo/doc.go
file. This allows pre-compiled static libraries to be included in the package directory and linked properly. For example if package foo is in the directory /go/src/foo: // #cgo LDFLAGS: -L${SRCDIR}/libs -lfoo Will be expanded to: // #cgo LDFLAGS: -L/go/src/foo/libs -lfoo When the Go tool sees that one or more Go files use the special import "C", it will look for other non-Go files in the directory and compile
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) -
doc/go1.17_spec.html
for i := 2; ; i++ { ch <- i // Send 'i' to channel 'ch'. } } // Copy the values from channel 'src' to channel 'dst', // removing those divisible by 'prime'. func filter(src <-chan int, dst chan<- int, prime int) { for i := range src { // Loop over values received from 'src'. if i%prime != 0 { dst <- i // Send 'i' to channel 'dst'. } } }
HTML - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 211.6K bytes - Viewed (0) -
api/go1.13.txt
pkg syscall (netbsd-arm64-cgo), const RTF_REJECT = 8 pkg syscall (netbsd-arm64-cgo), const RTF_REJECT ideal-int pkg syscall (netbsd-arm64-cgo), const RTF_SRC = 65536 pkg syscall (netbsd-arm64-cgo), const RTF_SRC ideal-int pkg syscall (netbsd-arm64-cgo), const RTF_STATIC = 2048 pkg syscall (netbsd-arm64-cgo), const RTF_STATIC ideal-int pkg syscall (netbsd-arm64-cgo), const RTF_UP = 1
Plain Text - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Aug 08 18:44:16 GMT 2019 - 452.6K bytes - Viewed (0) -
misc/chrome/gophertool/popup.html
<html> <!-- Copyright 2011 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. --> <head> <script src="gopher.js"></script> <script src="popup.js"></script> </head> <body style='margin: 0.5em; font-family: sans;'> <small><a href="#" url="https://golang.org/issue">issue</a>, <a href="#" url="https://golang.org/cl">codereview</a>,
HTML - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Mar 05 02:35:21 GMT 2021 - 830 bytes - Viewed (0)