- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for matcher (0.43 sec)
-
src/cmd/cgo/internal/swig/swig_test.go
} return x } var major, minor, patch int major = atoi(string(matches[1])) if len(matches[2]) > 0 { minor = atoi(string(matches[2][1:])) } if len(matches[3]) > 0 { patch = atoi(string(matches[3][1:])) } if parseError != nil { t.Logf("error parsing swig version %q, continuing anyway: %s", string(matches[0]), parseError) return }
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:07 GMT 2023 - 3.7K bytes - Viewed (0) -
doc/go1.17_spec.html
<p> A type switch compares types rather than values. It is otherwise similar to an expression switch. It is marked by a special switch expression that has the form of a <a href="#Type_assertions">type assertion</a> using the keyword <code>type</code> rather than an actual type: </p> <pre> switch x.(type) { // cases } </pre> <p>
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 211.6K bytes - Viewed (0) -
src/cmd/buildid/buildid.go
if len(newID) != len(id) { log.Fatalf("%s: build ID length mismatch %q vs %q", file, id, newID) } if len(matches) == 0 { return } f, err = os.OpenFile(file, os.O_RDWR, 0) if err != nil { log.Fatal(err) } if err := buildid.Rewrite(f, matches, newID); err != nil { log.Fatal(err) } if err := f.Close(); err != nil { log.Fatal(err) }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Jun 06 14:30:53 GMT 2022 - 1.5K bytes - Viewed (0) -
src/archive/tar/reader_test.go
"ctime": "1386065770.449252304", "SCHILY.xattr.security.selinux": "unconfined_u:object_r:default_t:s0\x00", }, Format: FormatPAX, }}, }, { // Matches the behavior of GNU, BSD, and STAR tar utilities. file: "testdata/gnu-multi-hdrs.tar", headers: []*Header{{ Name: "GNU2/GNU2/long-path-name", Linkname: "GNU4/GNU4/long-linkpath-name",
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Nov 21 21:14:38 GMT 2022 - 47.1K bytes - Viewed (0) -
src/bytes/bytes_test.go
{"☺a", 'a', 3}, {"a☻☺b", '☺', 4}, // RuneError should match any invalid UTF-8 byte sequence. {"�", '�', 0}, {"\xff", '�', 0}, {"☻x�", '�', len("☻x")}, {"☻x\xe2\x98", '�', len("☻x")}, {"☻x\xe2\x98�", '�', len("☻x")}, {"☻x\xe2\x98x", '�', len("☻x")}, // Invalid rune values should never match. {"a☺b☻c☹d\xe2\x98�\xff�\xed\xa0\x80", -1, -1},
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Jan 24 16:07:25 GMT 2024 - 56.2K bytes - Viewed (0) -
src/archive/tar/format.go
nameSize = 100 // Max length of the name field in USTAR format prefixSize = 155 // Max length of the prefix field in USTAR format // Max length of a special file (PAX header, GNU long name or link). // This matches the limit used by libarchive. maxSpecialFileSize = 1 << 20 ) // blockPadding computes the number of bytes needed to pad offset up to the // nearest block edge where 0 <= n < blockSize.
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Oct 13 18:36:46 GMT 2023 - 11.3K bytes - Viewed (0) -
src/bufio/scan.go
if !atEOF && !utf8.FullRune(data) { // Incomplete; get more bytes. return 0, nil, nil } // We have a real UTF-8 encoding error. Return a properly encoded error rune // but advance only one byte. This matches the behavior of a range loop over // an incorrectly encoded string. return 1, errorRune, nil } // dropCR drops a terminal \r from the data. func dropCR(data []byte) []byte {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Oct 23 09:06:30 GMT 2023 - 14.2K bytes - Viewed (0) -
misc/ios/detect.go
for _, line := range lines { if len(line) == 0 { continue } xmlLines := getLines(parseMobileProvision(string(line))) matches := 0 for _, udid := range udids { for _, xmlLine := range xmlLines { if bytes.Contains(xmlLine, udid) { matches++ } } } if matches == len(udids) { files = append(files, string(line)) } } return files }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Oct 19 23:33:30 GMT 2023 - 3.2K bytes - Viewed (0) -
misc/chrome/gophertool/popup.js
JavaScript - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Sun Oct 21 17:05:21 GMT 2012 - 1020 bytes - Viewed (0) -
misc/chrome/gophertool/gopher.js
} if (gerritChangeIdRE.test(t)) { return "https://golang.org/cl/" + t; } var match = commitRE.exec(t); if (match) { return "https://golang.org/change/" + match[1]; } if (pkgRE.test(t)) { // TODO: make this smarter, using a list of packages + substring matches. // Get the list from godoc itself in JSON format? return "https://golang.org/pkg/" + t; }
JavaScript - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Sat Jul 11 14:36:33 GMT 2015 - 1.2K bytes - Viewed (0)