- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 40 for always (0.15 sec)
-
src/cmd/cgo/internal/test/issue1435.go
foundAThread := false for _, f := range fs { tf := fmt.Sprintf("/proc/%s/status", f.Name()) d, err := os.ReadFile(tf) if err != nil { // There are a surprising number of ways this // can error out on linux. We've seen all of // the following, so treat any error here as // equivalent to the "process is gone": // os.IsNotExist(err), // "... : no such process",
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri Jul 28 21:31:41 GMT 2023 - 7.5K bytes - Viewed (0) -
.gitignore
/test/garbage/*.out /test/pass.out /test/run.out /test/times.out # This file includes artifacts of Go build that should not be checked in. # For files created by specific development environment (e.g. editor), # use alternative ways to exclude files from git.
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Jun 22 19:44:52 GMT 2023 - 958 bytes - Viewed (0) -
doc/go_mem.html
execute in a sequentially consistent manner. </p> <p> While programmers should write Go programs without data races, there are limitations to what a Go implementation can do in response to a data race. An implementation may always react to a data race by reporting the race and terminating the program. Otherwise, each read of a single-word-sized or sub-word-sized memory location
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Mon Mar 04 15:54:42 GMT 2024 - 26.6K bytes - Viewed (0) -
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.") } // xattr bar should always appear before others indices := []int{ bytes.Index(buf.Bytes(), []byte("bar=bar")), bytes.Index(buf.Bytes(), []byte("baz=baz")), bytes.Index(buf.Bytes(), []byte("foo=foo")),
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Feb 27 16:39:23 GMT 2024 - 38.7K bytes - Viewed (0) -
src/bufio/bufio.go
// // The text returned from ReadLine does not include the line end ("\r\n" or "\n"). // No indication or error is given if the input ends without a final line end. // Calling [Reader.UnreadByte] after ReadLine will always unread the last byte read // (possibly a character belonging to the line end) even if that byte is not // part of the line returned by ReadLine. func (b *Reader) ReadLine() (line []byte, isPrefix bool, err error) {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Oct 12 14:39:08 GMT 2023 - 21.8K bytes - Viewed (0) -
src/cmd/asm/internal/asm/asm.go
prog.To = a[3] break } p.errorf("can't handle %s instruction with 4 operands", op) return case 5: if p.arch.Family == sys.PPC64 { prog.From = a[0] // Second arg is always a register type on ppc64. prog.Reg = p.getRegister(prog, op, &a[1]) prog.AddRestSourceArgs([]obj.Addr{a[2], a[3]}) prog.To = a[4] break } if p.arch.Family == sys.AMD64 { prog.From = a[0]
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Feb 21 14:34:57 GMT 2024 - 25.3K bytes - Viewed (0) -
src/cmd/asm/internal/asm/endtoend_test.go
if f == "" || len(f)%2 != 0 || strings.TrimLeft(f, "0123456789abcdef") != "" { return false } } return true } // It would be nice if the error messages always began with // the standard file:line: prefix, // but that's not where we are today. // It might be at the beginning but it might be in the middle of the printed instruction.
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Dec 07 18:42:59 GMT 2023 - 11.6K bytes - Viewed (0) -
api/go1.22.txt
pkg go/ast, type Package //deprecated #52463 pkg go/ast, type Scope //deprecated #52463 pkg go/types, func NewAlias(*TypeName, Type) *Alias #63223 pkg go/types, func Unalias(Type) Type #63223 pkg go/types, method (*Alias) Obj() *TypeName #63223 pkg go/types, method (*Alias) String() string #63223 pkg go/types, method (*Alias) Underlying() Type #63223 pkg go/types, method (*Info) PkgNameOf(*ast.ImportSpec) *PkgName #62037
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Wed Jan 24 20:54:27 GMT 2024 - 7.7K bytes - Viewed (0) -
doc/next/6-stdlib/99-minor/go/types/66559.md
The [Alias] type now has an [Rhs] method that returns the type on the right-hand side of its declaration: given `type A = B`, the `Rhs` of A
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Wed Apr 24 21:50:16 GMT 2024 - 172 bytes - Viewed (0) -
src/cmd/api/main_test.go
// aliasReplacer applies type aliases to earlier API files, // to avoid misleading negative results. // This makes all the references to os.FileInfo in go1.txt // be read as if they said fs.FileInfo, since os.FileInfo is now an alias. // If there are many of these, we could do a more general solution, // but for now the replacer is fine. var aliasReplacer = strings.NewReplacer( "os.FileInfo", "fs.FileInfo", "os.FileMode", "fs.FileMode",
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Apr 09 20:48:51 GMT 2024 - 31.4K bytes - Viewed (0)