- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for Brune (0.16 sec)
-
src/bytes/buffer_test.go
} }) if n > 0 { t.Errorf("allocations occurred while appending") } } func TestRuneIO(t *testing.T) { const NRune = 1000 // Built a test slice while we write the data b := make([]byte, utf8.UTFMax*NRune) var buf Buffer n := 0 for r := rune(0); r < NRune; r++ { size := utf8.EncodeRune(b[n:], r) nbytes, err := buf.WriteRune(r) if err != nil { t.Fatalf("WriteRune(%U) error: %s", r, err)
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Thu Apr 20 01:07:29 GMT 2023 - 18.1K bytes - Viewed (0) -
src/bufio/bufio_test.go
} else if err != io.EOF { t.Error("expected EOF; got", err) } } func TestReadWriteRune(t *testing.T) { const NRune = 1000 byteBuf := new(bytes.Buffer) w := NewWriter(byteBuf) // Write the runes out using WriteRune buf := make([]byte, utf8.UTFMax) for r := rune(0); r < NRune; r++ { size := utf8.EncodeRune(buf, r) nbytes, err := w.WriteRune(r) if err != nil {
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri Feb 10 18:56:01 GMT 2023 - 51.5K bytes - Viewed (0) -
src/cmd/api/testdata/src/pkg/p1/p1.go
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri Dec 02 16:29:41 GMT 2022 - 3.3K bytes - Viewed (0) -
doc/go1.17_spec.html
2.71828i 1.e+0i 6.67428e-11i 1E6i .25i .12345E+5i 0x1p-2i // == 0x1p-2 * 1i == 0.25i </pre> <h3 id="Rune_literals">Rune literals</h3> <p> A rune literal represents a <a href="#Constants">rune constant</a>, an integer value identifying a Unicode code point. A rune literal is expressed as one or more characters enclosed in single quotes, as in <code>'x'</code> or <code>'\n'</code>.
HTML - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 211.6K bytes - Viewed (0) -
api/go1.5.txt
pkg go/types, const MethodVal = 1 pkg go/types, const MethodVal SelectionKind pkg go/types, const RecvOnly = 2 pkg go/types, const RecvOnly ChanDir pkg go/types, const Rune = 5 pkg go/types, const Rune BasicKind pkg go/types, const SendOnly = 1 pkg go/types, const SendOnly ChanDir pkg go/types, const SendRecv = 0 pkg go/types, const SendRecv ChanDir pkg go/types, const String = 17
Plain Text - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Thu Jul 30 21:14:09 GMT 2015 - 46.6K bytes - Viewed (0) -
src/bytes/buffer.go
// converted to int they correspond to the rune size that was read. type readOp int8 // Don't use iota for these, as the values need to correspond with the // names and comments, which is easier to see when being explicit. const ( opRead readOp = -1 // Any other read operation. opInvalid readOp = 0 // Non-read operation. opReadRune1 readOp = 1 // Read rune of size 1. opReadRune2 readOp = 2 // Read rune of size 2.
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri Oct 13 17:10:31 GMT 2023 - 15.7K bytes - Viewed (0) -
src/cmd/asm/internal/lex/tokenizer.go
line: 1, file: file, } } // We want center dot (·) and division slash (∕) to work as identifier characters. func isIdentRune(ch rune, i int) bool { if unicode.IsLetter(ch) { return true } switch ch { case '_': // Underscore; traditional. return true case '\u00B7': // Represents the period in runtime.exit. U+00B7 '·' middle dot
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Thu Aug 04 20:35:21 GMT 2022 - 3K bytes - Viewed (0) -
src/archive/zip/writer_test.go
comment: "in the 世界", flags: 0x808, }, { name: "hi, こんにちわ", comment: "in the 世界", flags: 0x808, }, { name: "the replacement rune is �", comment: "the replacement rune is �", flags: 0x808, }, { // Name is Japanese encoded in Shift JIS. name: "\x93\xfa\x96{\x8c\xea.txt", comment: "in the 世界",
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri Sep 15 19:04:06 GMT 2023 - 14.1K bytes - Viewed (0) -
src/cmd/cgo/gcc.go
f.NoCallbacks = make(map[string]bool) f.NoEscapes = make(map[string]bool) for _, line := range linesIn { l := strings.TrimSpace(line) if len(l) < 5 || l[:4] != "#cgo" || !unicode.IsSpace(rune(l[4])) { linesOut = append(linesOut, line) } else { linesOut = append(linesOut, "") // #cgo (nocallback|noescape) <function name> if fields := strings.Fields(l); len(fields) == 3 {
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Thu Nov 02 16:43:23 GMT 2023 - 97K bytes - Viewed (0) -
api/go1.txt
pkg regexp/syntax, type Inst struct pkg regexp/syntax, type Inst struct, Arg uint32 pkg regexp/syntax, type Inst struct, Op InstOp pkg regexp/syntax, type Inst struct, Out uint32 pkg regexp/syntax, type Inst struct, Rune []int32 pkg regexp/syntax, type InstOp uint8 pkg regexp/syntax, type Op uint8 pkg regexp/syntax, type Prog struct pkg regexp/syntax, type Prog struct, Inst []Inst pkg regexp/syntax, type Prog struct, NumCap int
Plain Text - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Wed Aug 14 18:58:28 GMT 2013 - 1.7M bytes - Viewed (1)