- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for prepare (0.21 sec)
-
src/bootstrap.bash
cd .. if [ "$goos" = "$gohostos" -a "$goarch" = "$gohostarch" ]; then # cross-compile for local system. nothing to copy. # useful if you've bootstrapped yourself but want to # prepare a clean toolchain for others. true else rm -f bin/go_${goos}_${goarch}_exec mv bin/*_*/* bin rmdir bin/*_* rm -rf "pkg/${gohostos}_${gohostarch}" "pkg/tool/${gohostos}_${gohostarch}" fi
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) -
src/cmd/cgo/ast.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. // Parse input AST and prepare Prog structure. 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 {
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
#pragma dynexport is an alias for //go:cgo_export_dynamic. //go:cgo_import_static <local> In external linking mode, allow unresolved references to <local> in the go.o object file prepared for the host linker, under the assumption that <local> will be supplied by the other object files that will be linked with go.o. Example: //go:cgo_import_static puts_wrapper
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/README.md
and replaced with those of `initial`. From the repo root: > cd doc > rm -r next/* > cp -r initial/* next Then edit `next/1-intro.md` to refer to the next version. To prepare the release notes for a release, run `golang.org/x/build/cmd/relnote generate`.
Plain Text - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Apr 26 21:24:36 GMT 2024 - 1.9K bytes - Viewed (0) -
lib/time/update.bash
# This script rebuilds the time zone files using files # downloaded from the ICANN/IANA distribution. # # To prepare an update for a new Go release, # consult https://www.iana.org/time-zones for the latest versions, # update CODE and DATA below, and then run # # ./update.bash -commit # # That will prepare the files and create the commit. # # To review such a commit (as the reviewer), use: #
Shell Script - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Feb 02 18:20:41 GMT 2024 - 1.8K bytes - Viewed (0) -
src/bytes/buffer.go
} // NewBuffer creates and initializes a new [Buffer] using buf as its // initial contents. The new [Buffer] takes ownership of buf, and the // caller should not use buf after this call. NewBuffer is intended to // prepare a [Buffer] to read existing data. It can also be used to set // the initial size of the internal buffer for writing. To do that, // buf should have the desired capacity but a length of zero. //
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) -
doc/next/6-stdlib/1-time.md
Second, the timer channel associated with a `Timer` or `Ticker` is now unbuffered, with capacity 0. The main effect of this change is that Go now guarantees that for any call to a `Reset` or `Stop` method, no stale values prepared before that call will be sent or received after the call. Earlier versions of Go used channels with a one-element buffer, making it difficult to use `Reset` and `Stop` correctly.
Plain Text - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Apr 12 20:57:18 GMT 2024 - 1.5K bytes - Viewed (0) -
src/archive/tar/writer.go
return fmt.Errorf("archive/tar: missed writing %d bytes", nb) } if _, tw.err = tw.w.Write(zeroBlock[:tw.pad]); tw.err != nil { return tw.err } tw.pad = 0 return nil } // WriteHeader writes hdr and prepares to accept the file's contents. // The Header.Size determines how many bytes can be written for the next file. // If the current file is not fully written, then this returns an error.
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 13 18:36:46 GMT 2023 - 19.6K bytes - Viewed (0) -
src/archive/zip/writer.go
return false, false } require = true } } return true, require } // prepare performs the bookkeeping operations required at the start of // CreateHeader and CreateRaw. func (w *Writer) prepare(fh *FileHeader) error { if w.last != nil && !w.last.closed { if err := w.last.close(); err != nil { return err } }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Apr 04 14:28:57 GMT 2024 - 19.3K bytes - Viewed (0) -
doc/next/6-stdlib/99-minor/os/61893.md
On Windows, the mode bits reported by [Lstat] and [Stat] for reparse points changed. Mount points no longer have [ModeSymlink] set, and reparse points that are not symlinks, Unix sockets, or dedup files now always have [ModeIrregular] set. This behavior is controlled by the `winsymlink` setting. For Go 1.23, it defaults to `winsymlink=1`.
Plain Text - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Apr 12 20:57:18 GMT 2024 - 386 bytes - Viewed (0)