- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for from (0.26 sec)
-
src/builtin/builtin.go
// never the receiver, and has the effect of shutting down the channel after // the last sent value is received. After the last value has been received // from a closed channel c, any receive from c will succeed without // blocking, returning the zero value for the channel element. The form // // x, ok := <-c // // will also set ok to false for a closed and empty channel. func close(c chan<- Type)
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 12.7K bytes - Viewed (0) -
src/bytes/bytes.go
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Feb 19 19:51:15 GMT 2024 - 33.8K bytes - Viewed (0) -
src/cmd/asm/internal/asm/parse.go
} return tok } } // line consumes a single assembly line from p.lex of the form // // {label:} WORD[.cond] [ arg {, arg} ] (';' | '\n') // // It adds any labels to p.pendingLabels and returns the word, cond, // operand list, and true. If there is an error or EOF, it returns // ok=false. // // line may reuse the memory from scratch.
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Feb 21 14:34:57 GMT 2024 - 36.9K bytes - Viewed (0) -
src/cmd/cgo/doc.go
containing debug information. Cgo parses the DWARF debug information for __cgo__N to learn the type of each identifier. (The types also distinguish functions from global variables.) Cgo reads the constant values from the __cgodebug_* from the object file's data segment. At this point cgo knows the meaning of each C.xxx well enough to start the translation process. Translating Go
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) -
src/cmd/asm/internal/asm/asm.go
// ADR label, R. Label is in From. target = &a[0] prog.To = a[1] targetAddr = &prog.From } else { target = &a[1] prog.From = a[0] } case 3: if p.arch.Family == sys.PPC64 { // Special 3-operand jumps. // a[1] is a register number expressed as a constant or register value target = &a[2] prog.From = a[0] if a[0].Type != obj.TYPE_CONST {
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/bytes/buffer_test.go
buf.WriteRune(r) } } } // From Issue 5154. func BenchmarkBufferNotEmptyWriteRead(b *testing.B) { buf := make([]byte, 1024) for i := 0; i < b.N; i++ { var b Buffer b.Write(buf[0:1]) for i := 0; i < 5<<10; i++ { b.Write(buf) b.Read(buf) } } } // Check that we don't compact too often. From Issue 5154. func BenchmarkBufferFullSmallReads(b *testing.B) {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Apr 26 13:31:36 GMT 2024 - 18.6K bytes - Viewed (0) -
src/archive/tar/stat_unix.go
case "linux": // Copied from golang.org/x/sys/unix/dev_linux.go. major := uint32((dev & 0x00000000000fff00) >> 8) major |= uint32((dev & 0xfffff00000000000) >> 32) minor := uint32((dev & 0x00000000000000ff) >> 0) minor |= uint32((dev & 0x00000ffffff00000) >> 12) h.Devmajor, h.Devminor = int64(major), int64(minor) case "darwin", "ios": // Copied from golang.org/x/sys/unix/dev_darwin.go.
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Mar 15 16:01:50 GMT 2024 - 3.2K bytes - Viewed (0) -
src/cmd/cgo/internal/test/cgo_stubs_ppc64x_internal_linking_test.go
// license that can be found in the LICENSE file. //go:build (ppc64 || ppc64le) && internal package cgotest import "testing" // If gcc is used, and linking internally, __mulsc3 and __muldc3 // will be linked in from libgcc which make several R_PPC64_TOC16_DS // relocations which may not be resolvable with the internal linker. func test8694(t *testing.T) { t.Skip("not supported on ppc64/ppc64le with internal linking") }
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Tue Feb 20 15:35:35 GMT 2024 - 631 bytes - Viewed (0) -
src/archive/tar/common.go
return mode } func (fi headerFileInfo) String() string { return fs.FormatFileInfo(fi) } // sysStat, if non-nil, populates h from system-dependent fields of fi. var sysStat func(fi fs.FileInfo, h *Header, doNameLookups bool) error const ( // Mode constants from the USTAR spec: // See http://pubs.opengroup.org/onlinepubs/9699919799/utilities/pax.html#tag_20_92_13_06 c_ISUID = 04000 // Set uid
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) -
src/archive/zip/reader_test.go
} } func TestCVE202139293(t *testing.T) { // directory size is so large, that the check in Reader.init // overflows when subtracting from the archive size, causing // the pre-allocation check to be bypassed. data := []byte{ 0x50, 0x4b, 0x06, 0x06, 0x05, 0x06, 0x31, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0x4b,
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Mar 27 18:23:49 GMT 2024 - 55.3K bytes - Viewed (0)