- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for chars (0.07 sec)
-
src/bytes/bytes.go
// code points in chars. It returns -1 if chars is empty or if there is no code // point in common. func IndexAny(s []byte, chars string) int { if chars == "" { // Avoid scanning all of s. return -1 } if len(s) == 1 { r := rune(s[0]) if r >= utf8.RuneSelf { // search utf8.RuneError. for _, r = range chars { if r == utf8.RuneError { return 0 }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Sep 03 20:55:15 UTC 2024 - 35.6K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/12-telemetry.yml
A CL containing proposed changes to the [config.txt](https://go.googlesource.com/telemetry/+/master/internal/chartconfig/config.txt) chart configuration. See the [chartconfig](https://pkg.go.dev/golang.org/x/telemetry/internal/chartconfig) package for an explanation of the chart config format. For an example change, see [CL 564619](https://go.dev/cl/564619). validations:
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue May 07 19:58:26 UTC 2024 - 1.2K bytes - Viewed (0) -
src/archive/zip/writer_test.go
Mode: 0755 | fs.ModeSymlink, }, { Name: "device", Data: []byte("device file"), Method: Deflate, Mode: 0755 | fs.ModeDevice, }, { Name: "chardevice", Data: []byte("char device file"), Method: Deflate, Mode: 0755 | fs.ModeDevice | fs.ModeCharDevice, }, } func TestWriter(t *testing.T) { largeData := make([]byte, 1<<17) if _, err := rand.Read(largeData); err != nil {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Sep 23 14:32:33 UTC 2024 - 14.4K bytes - Viewed (0) -
src/archive/tar/writer_test.go
if err != nil { t.Fatalf("os.Stat:1 %v", err) } hdr.Typeflag = TypeDir // Force a PAX long name to be written. The name was taken from a practical example // that fails and replaced ever char through numbers to anonymize the sample.
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Sep 23 14:32:33 UTC 2024 - 39.4K bytes - Viewed (0) -
src/bytes/bytes_test.go
rr := rand.New(rand.NewSource(1)) rr.Shuffle(len(rs), func(i, j int) { rs[i], rs[j] = rs[j], rs[i] }) uchars := string(rs) return func(b *testing.B, n int) { buf := bmbuf[0:n] o := copy(buf, uchars) for o < len(buf) { o += copy(buf[o:], uchars) } // Make space for the needle rune at the end of buf. m := utf8.RuneLen(needle) for o := m; o > 0; {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Aug 19 19:09:04 UTC 2024 - 61.2K bytes - Viewed (0) -
src/cmd/asm/internal/lex/lex.go
switch t { case scanner.EOF: return "EOF" case scanner.Ident: return "identifier" case scanner.Int: return "integer constant" case scanner.Float: return "float constant" case scanner.Char: return "rune constant" case scanner.String: return "string constant" case scanner.RawString: return "raw string constant" case scanner.Comment: return "comment" default:
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Aug 29 18:31:05 UTC 2023 - 4.1K bytes - Viewed (0) -
src/cmd/asm/internal/asm/parse.go
p.expectOperandEnd() return } // Constant. haveConstant := false switch tok.ScanToken { case scanner.Int, scanner.Float, scanner.String, scanner.Char, '+', '-', '~': haveConstant = true case '(': // Could be parenthesized expression or (R). Must be something, though. tok := p.next() if tok.ScanToken == scanner.EOF {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Sep 04 18:16:59 UTC 2024 - 36.9K bytes - Viewed (0) -
src/cmd/api/main_test.go
s = "unsafe.Pointer" case types.UntypedBool: s = "ideal-bool" case types.UntypedInt: s = "ideal-int" case types.UntypedRune: // "ideal-char" for compatibility with old tool // TODO(gri) change to "ideal-rune" s = "ideal-char" case types.UntypedFloat: s = "ideal-float" case types.UntypedComplex: s = "ideal-complex" case types.UntypedString: s = "ideal-string"
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Sep 04 18:16:59 UTC 2024 - 31.4K bytes - Viewed (0) -
api/go1.1.txt
pkg archive/tar, const TypeDir = 53 pkg archive/tar, const TypeFifo = 54 pkg archive/tar, const TypeGNULongLink = 75 pkg archive/tar, const TypeGNULongLink ideal-char pkg archive/tar, const TypeGNULongName = 76 pkg archive/tar, const TypeGNULongName ideal-char pkg archive/tar, const TypeLink = 49 pkg archive/tar, const TypeReg = 48 pkg archive/tar, const TypeRegA = 0 pkg archive/tar, const TypeSymlink = 50
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Mar 31 20:37:15 UTC 2022 - 2.6M bytes - Viewed (0)