- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for State (0.2 sec)
-
src/bufio/bufio_test.go
_, _, err = r.ReadRune() // reset state if err != nil { t.Error("unexpected error on ReadRune (2):", err) } _, err = r.Read(buf) if err != nil { t.Error("unexpected error on Read (2):", err) } if r.UnreadRune() == nil { t.Error("expected error after Read (2)") } // Test error after ReadByte. _, _, err = r.ReadRune() // reset state if err != nil {
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) -
api/go1.5.txt
pkg math/big, method (*Float) Copy(*Float) *Float pkg math/big, method (*Float) Float32() (float32, Accuracy) pkg math/big, method (*Float) Float64() (float64, Accuracy) pkg math/big, method (*Float) Format(fmt.State, int32) pkg math/big, method (*Float) Int(*Int) (*Int, Accuracy) pkg math/big, method (*Float) Int64() (int64, Accuracy) pkg math/big, method (*Float) IsInf() bool pkg math/big, method (*Float) IsInt() bool
Plain Text - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Jul 30 21:14:09 GMT 2015 - 46.6K bytes - Viewed (0) -
doc/go1.17_spec.html
</p> <pre> OuterLoop: for i = 0; i < n; i++ { for j = 0; j < m; j++ { switch a[i][j] { case nil: state = Error break OuterLoop case item: state = Found break OuterLoop } } } </pre> <h3 id="Continue_statements">Continue statements</h3> <p>
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), type IfData struct, Iqdrops uint64 pkg syscall (netbsd-arm64-cgo), type IfData struct, Lastchange Timespec pkg syscall (netbsd-arm64-cgo), type IfData struct, Link_state int32 pkg syscall (netbsd-arm64-cgo), type IfData struct, Metric uint64 pkg syscall (netbsd-arm64-cgo), type IfData struct, Mtu uint64 pkg syscall (netbsd-arm64-cgo), type IfData struct, Noproto uint64
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) -
src/bytes/reader.go
} r.prevRune = -1 n = copy(b, r.s[r.i:]) r.i += int64(n) return } // ReadAt implements the [io.ReaderAt] interface. func (r *Reader) ReadAt(b []byte, off int64) (n int, err error) { // cannot modify state - see io.ReaderAt if off < 0 { return 0, errors.New("bytes.Reader.ReadAt: negative offset") } if off >= int64(len(r.s)) { return 0, io.EOF } n = copy(b, r.s[off:]) if n < len(b) { err = io.EOF
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 13 17:10:31 GMT 2023 - 3.9K bytes - Viewed (0) -
src/bytes/reader_test.go
t.Errorf("%d. got error = %v; want %v", i, err, tt.wanterr) } } } func TestReaderAtConcurrent(t *testing.T) { // Test for the race detector, to verify ReadAt doesn't mutate // any state. r := NewReader([]byte("0123456789")) var wg sync.WaitGroup for i := 0; i < 5; i++ { wg.Add(1) go func(i int) { defer wg.Done() var buf [1]byte r.ReadAt(buf[:], int64(i)) }(i) }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Dec 13 18:45:54 GMT 2021 - 8K bytes - Viewed (0) -
src/bytes/bytes.go
// // Deprecated: The rule Title uses for word boundaries does not handle Unicode // punctuation properly. Use golang.org/x/text/cases instead. func Title(s []byte) []byte { // Use a closure here to remember state. // Hackish but effective. Depends on Map scanning in order and calling // the closure once per rune. prev := ' ' return Map( func(r rune) rune { if isSeparator(prev) { prev = r
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
func (p *Parser) get(expected lex.ScanToken) lex.Token { p.expect(expected, expected.String()) return p.next() } // expectOperandEnd verifies that the parsing state is properly at the end of an operand. func (p *Parser) expectOperandEnd() { p.expect(scanner.EOF, "end of operand") } // expect verifies that the next item has the expected type. It does not consume it.
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) -
doc/go_spec.html
</p> <pre> OuterLoop: for i = 0; i < n; i++ { for j = 0; j < m; j++ { switch a[i][j] { case nil: state = Error break OuterLoop case item: state = Found break OuterLoop } } } </pre> <h3 id="Continue_statements">Continue statements</h3> <p>
HTML - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Apr 26 00:39:16 GMT 2024 - 279.6K bytes - Viewed (0) -
api/go1.1.txt
pkg syscall (linux-386), type TCPInfo struct, Advmss uint32 pkg syscall (linux-386), type TCPInfo struct, Ato uint32 pkg syscall (linux-386), type TCPInfo struct, Backoff uint8 pkg syscall (linux-386), type TCPInfo struct, Ca_state uint8 pkg syscall (linux-386), type TCPInfo struct, Fackets uint32 pkg syscall (linux-386), type TCPInfo struct, Last_ack_recv uint32 pkg syscall (linux-386), type TCPInfo struct, Last_ack_sent uint32
Plain Text - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Mar 31 20:37:15 GMT 2022 - 2.6M bytes - Viewed (0)