- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 181 for content_es (0.32 sec)
-
src/net/http/http_test.go
if !strings.HasSuffix(path, ".go") || strings.HasSuffix(path, "_test.go") || path == "h2_bundle.go" || d.IsDir() { return nil } contents, err := os.ReadFile(path) if err != nil { t.Fatal(err) } for lineNum, line := range strings.Split(string(contents), "\n") { for _, match := range re.FindAllStringSubmatch(line, -1) { if !forbiddenStringsFunctions[match[2]] { continue }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 18:18:19 UTC 2023 - 5.2K bytes - Viewed (0) -
src/cmd/gofmt/gofmt.go
st.exitCode = 2 } func (r *reporter) ExitCode() int { return r.getState().exitCode } // If info == nil, we are formatting stdin instead of a file. // If in == nil, the source is the contents of the file with the given filename. func processFile(filename string, info fs.FileInfo, in io.Reader, r *reporter) error { src, err := readFile(filename, info, in) if err != nil { return err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 15.1K bytes - Viewed (0) -
src/cmd/go/testdata/script/test_fuzz_mutate_crash.txt
fmt.Fprintf(os.Stderr, "expect at least one new mutation to be written to testdata\n") os.Exit(1) } fname := files[0].Name() contents, err := ioutil.ReadFile(filepath.Join(dir, fname)) if err != nil { fmt.Fprintln(os.Stderr, err) os.Exit(1) } if bytes.Equal(contents, []byte("aa")) { fmt.Fprintf(os.Stderr, "newly written testdata entry was not mutated\n") os.Exit(1) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 16 16:53:11 UTC 2023 - 8.3K bytes - Viewed (0) -
src/bytes/buffer_test.go
} if string(bytes) != s { t.Errorf("%s: string(buf.Bytes()) == %q, s == %q", testname, string(bytes), s) } } // Fill buf through n writes of string fus. // The initial contents of buf corresponds to the string s; // the result is the final contents of buf returned as a string. func fillString(t *testing.T, testname string, buf *Buffer, s string, n int, fus string) string { check(t, testname+" (fill 1)", buf, s) for ; n > 0; n-- {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 13:31:36 UTC 2024 - 18.6K bytes - Viewed (0) -
src/cmd/internal/moddeps/moddeps_test.go
// copy the GOROOT tree and perform more rigorous consistency checks. Jump below // for more details.) for _, m := range findGorootModules(t) { // This short test does NOT ensure that the vendored contents match // the unmodified contents of the corresponding dependency versions. t.Run(m.Path+"(quick)", func(t *testing.T) { t.Logf("module %s in directory %s", m.Path, m.Dir) if m.hasVendor {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 18.6K bytes - Viewed (0) -
src/time/zoneinfo_read.go
for i, z := range zones { if z.name == name && z.offset == offset && z.isDST == isDST { return i } } return -1 } // loadTzinfoFromDirOrZip returns the contents of the file with the given name // in dir. dir can either be an uncompressed zip file, or a directory. func loadTzinfoFromDirOrZip(dir, name string) ([]byte, error) { if len(dir) > 4 && dir[len(dir)-4:] == ".zip" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 14.4K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/sparsemap.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 31 21:41:06 UTC 2022 - 1.9K bytes - Viewed (0) -
src/cmd/go/internal/vcweb/auth.go
package vcweb import ( "encoding/json" "fmt" "io" "log" "net/http" "os" "path" "strings" ) // authHandler serves requests only if the Basic Auth data sent with the request // matches the contents of a ".access" file in the requested directory. // // For each request, the handler looks for a file named ".access" and parses it // as a JSON-serialized accessToken. If the credentials from the request match
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 21 17:47:26 UTC 2023 - 2.7K bytes - Viewed (0) -
src/crypto/x509/internal/macos/corefoundation.go
//go:cgo_ldflag "CoreFoundation" // CFRef is an opaque reference to a Core Foundation object. It is a pointer, // but to memory not owned by Go, so not an unsafe.Pointer. type CFRef uintptr // CFDataToSlice returns a copy of the contents of data as a bytes slice. func CFDataToSlice(data CFRef) []byte { length := CFDataGetLength(data) ptr := CFDataGetBytePtr(data) src := unsafe.Slice((*byte)(unsafe.Pointer(ptr)), length) return bytes.Clone(src) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 21 20:05:17 UTC 2022 - 8.4K bytes - Viewed (0) -
src/crypto/aes/ctr_s390x.go
package aes import ( "crypto/cipher" "crypto/internal/alias" "internal/byteorder" ) // Assert that aesCipherAsm implements the ctrAble interface. var _ ctrAble = (*aesCipherAsm)(nil) // xorBytes xors the contents of a and b and places the resulting values into // dst. If a and b are not the same length then the number of bytes processed // will be equal to the length of shorter of the two. Returns the number // of bytes processed. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 18:57:38 UTC 2024 - 2.4K bytes - Viewed (0)