- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for Back (0.11 sec)
-
src/archive/tar/writer_test.go
} // Simple test to make sure PAX extensions are in effect if !bytes.Contains(buf.Bytes(), []byte("PaxHeaders.0")) { t.Fatal("Expected at least one PAX header to be written.") } // Test that we can get a long name back out of the archive. reader := NewReader(&buf) hdr, err = reader.Next() if err != nil { t.Fatal(err) } if hdr.Name != longName { t.Fatal("Couldn't recover long file name") } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 38.7K bytes - Viewed (0) -
src/cmd/distpack/pack.go
srcArch.AddPrefix("go") testSrc(srcArch) // The binary distribution includes only a subset of bin and pkg. binArch := base.Clone() binArch.Filter(func(name string) bool { // Discard bin/ for now, will add back later. if strings.HasPrefix(name, "bin/") { return false } // Discard most of pkg. if strings.HasPrefix(name, "pkg/") { // Keep pkg/include. if strings.HasPrefix(name, "pkg/include/") {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 10.9K bytes - Viewed (0) -
src/cmd/go/internal/cfg/cfg.go
// explanation why GOPATH is unset. GoPathError string GOPATHChanged bool CGOChanged bool ) func defaultContext() build.Context { ctxt := build.Default ctxt.JoinPath = filepath.Join // back door to say "do not use go command" // Override defaults computed in go/build with defaults // from go environment configuration file, if known. ctxt.GOPATH, GOPATHChanged = EnvOrAndChanged("GOPATH", gopath(ctxt))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 17:13:51 UTC 2024 - 19.3K bytes - Viewed (0) -
src/cmd/compile/internal/ir/func.go
// function, a bit like a closure, with its own ODCLFUNC. // The OMETHVALUE uses n.Func to record the linkage to // the generated ODCLFUNC, but there is no // pointer from the Func back to the OMETHVALUE. type Func struct { miniNode Body Nodes Nname *Name // ONAME node OClosure *ClosureExpr // OCLOSURE node // ONAME nodes for all params/locals for this func/closure, does NOT
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:05:44 UTC 2024 - 21.1K bytes - Viewed (0) -
src/cmd/compile/internal/ssagen/abi.go
typecheck.DeclFunc(fn) fn.SetABIWrapper(true) fn.SetDupok(true) // ABI0-to-ABIInternal wrappers will be mainly loading params from // stack into registers (and/or storing stack locations back to // registers after the wrapped call); in most cases they won't // need to allocate stack space, so it should be OK to mark them // as NOSPLIT in these cases. In addition, my assumption is that
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 13.8K bytes - Viewed (0) -
src/cmd/compile/internal/types2/infer.go
// CannotInferTypeArgs indicates a failure of inference, though the actual // error may be better attributed to a user-provided type argument (hence // InvalidTypeArg). We can't differentiate these cases, so fall back on // the more general CannotInferTypeArgs. if inferred != tpar { if reverse { err.addf(arg, "inferred type %s for %s does not match type %s of %s", inferred, tpar, targ, arg.expr) } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 13:54:20 UTC 2024 - 26.4K bytes - Viewed (0) -
src/cmd/go/internal/modindex/read.go
} return p, pkgerr } // IsStandardPackage reports whether path is a standard package // for the goroot and compiler using the module index if possible, // and otherwise falling back to internal/goroot.IsStandardPackage func IsStandardPackage(goroot_, compiler, path string) bool { if !enabled || compiler != "gc" { return goroot.IsStandardPackage(goroot_, compiler, path) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 14:34:32 UTC 2024 - 29.7K bytes - Viewed (0) -
src/cmd/cgo/doc.go
n, err = C.sqrt(-1) _, err := C.voidFunc() var n, err = C.sqrt(1) Calling C function pointers is currently not supported, however you can declare Go variables which hold C function pointers and pass them back and forth between Go and C. C code may call function pointers received from Go. For example: package main // typedef int (*intFunc) (); // // int // bridge_int_func(intFunc f) // {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 17:12:16 UTC 2024 - 42.2K bytes - Viewed (0) -
src/cmd/compile/internal/types2/named.go
// If rbase is t, then origm is already the instantiated method we're looking // for. In this case, we return origm to preserve the invariant that // traversing Method->Receiver Type->Method should get back to the same // method. // // This occurs if t is instantiated with the receiver type parameters, as in // the use of m in func (r T[_]) m() { r.m() }. if rbase == t { return origm }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 20:03:31 UTC 2024 - 23.9K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/genericOps.go
// Note: for both Const32F and Const64F, we disallow encoding NaNs. // Signaling NaNs are tricky because if you do anything with them, they become quiet. // Particularly, converting a 32 bit sNaN to 64 bit and back converts it to a qNaN. // See issue 36399 and 36400. // Encodings of +inf, -inf, and -0 are fine. {name: "Const32F", aux: "Float32"}, // value is math.Float64frombits(uint64(auxint)) and is exactly representable as float 32
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 15:49:20 UTC 2024 - 42.6K bytes - Viewed (0)