- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 41 for original (0.22 sec)
-
src/net/http/fs_test.go
for _, data := range fsRedirectTestData { res, err := ts.Client().Get(ts.URL + data.original) if err != nil { t.Fatal(err) } res.Body.Close() if g, e := res.Request.URL.Path, data.redirect; g != e { t.Errorf("redirect from %s: got %s, want %s", data.original, g, e) } } } type testFileSystem struct { open func(name string) (File, error) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 23:39:44 UTC 2024 - 49.9K bytes - Viewed (0) -
src/os/os_test.go
// It's not safe to continue with tests if we can't get back to // the original working directory. panic(err) } }() // Note the deferred Wait must be called after the deferred close(done), // to ensure the N goroutines have been released even if the main goroutine // calls Fatalf. It must be called before the Chdir back to the original // directory, and before the deferred deletion implied by TempDir,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 83.1K bytes - Viewed (0) -
src/crypto/internal/nistec/p256_asm_ppc64le.s
DATA p256<>+0x48(SB)/8, $0x18191a1b1c1d1e1f // SEL d1 d0 d1 d0 DATA p256mul<>+0x00(SB)/8, $0x00000000ffffffff // P256 original DATA p256mul<>+0x08(SB)/8, $0xffffffffffffffff // P256 DATA p256mul<>+0x10(SB)/8, $0xffffffff00000001 // P256 original DATA p256mul<>+0x18(SB)/8, $0x0000000000000000 // P256 DATA p256mul<>+0x20(SB)/8, $0x1c1d1e1f00000000 // SEL d0 0 0 d0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:29:44 UTC 2024 - 56.5K bytes - Viewed (0) -
src/cmd/cgo/gcc.go
} if quote != 0 { err = errors.New("unclosed quote") } else if escaped { err = errors.New("unfinished escaping") } return args, err } // Translate rewrites f.AST, the original Go input, to remove // references to the imported package C, replacing them with // references to the equivalent Go types, functions, and variables. func (p *Package) Translate(f *File) { for _, cref := range f.Ref {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:50:06 UTC 2024 - 97K bytes - Viewed (0) -
src/cmd/go/internal/modload/load.go
ime.ImportingMainModule = curstack.mod break } } } // pkg.err was already non-nil, so we can reasonably attribute the error // for pkg to either the original error or the one returned by // queryImport. The existing error indicates only that we couldn't find // the package, whereas the query error also explains why we didn't fix // the problem — so we prefer the latter.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 14:56:56 UTC 2024 - 84K bytes - Viewed (0) -
src/net/http/transport.go
} // transportRequest is a wrapper around a *Request that adds // optional extra headers to write and stores any error to return // from roundTrip. type transportRequest struct { *Request // original request, not to be mutated extra Header // extra headers to write, or nil trace *httptrace.ClientTrace // optional ctx context.Context // canceled when we are done with the request
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 21:59:21 UTC 2024 - 91K bytes - Viewed (0) -
src/crypto/tls/conn.go
plaintext = payload[:n] } hc.incSeq() return plaintext, typ, nil } // sliceForAppend extends the input slice by n bytes. head is the full extended // slice, while tail is the appended part. If the original slice has sufficient // capacity no allocation is performed. func sliceForAppend(in []byte, n int) (head, tail []byte) { if total := len(in) + n; cap(in) >= total { head = in[:total] } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 51.8K bytes - Viewed (0) -
src/cmd/link/internal/ld/lib.go
ldr.SetSymExtname(s, newName) // When linking against a shared library, the Go object file may // have reference to the original symbol name whereas the shared // library provides a symbol with the mangled name. We need to // copy the payload of mangled to original. // XXX maybe there is a better way to do this. dup := ldr.Lookup(newName, ldr.SymVersion(s)) if dup != 0 { st := ldr.SymType(s)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 18:45:27 UTC 2024 - 88.6K bytes - Viewed (0) -
src/runtime/mbitmap.go
if nb+nb <= maxBits { // Double pattern until the whole uintptr is filled. for nb <= goarch.PtrSize*8 { b |= b << nb nb += nb } // Trim away incomplete copy of original pattern in high bits. // TODO(rsc): Replace with table lookup or loop on systems without divide? nb = maxBits / npattern * npattern b &= 1<<nb - 1 pattern = b npattern = nb }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:18:55 UTC 2024 - 60K bytes - Viewed (0) -
src/net/http/client_test.go
} res.Body.Close() if res.Header.Get("Location") == "" { t.Errorf("no Location header in Response") } } // Tests that Client redirects' contexts are derived from the original request's context. func TestClientRedirectsContext(t *testing.T) { run(t, testClientRedirectsContext) } func testClientRedirectsContext(t *testing.T, mode testMode) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:30:50 UTC 2024 - 63.8K bytes - Viewed (0)