- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 289 for original (0.17 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/cmd/compile/internal/types2/issues_test.go
// (see last comment in this function) sources := [...]string{ "package p; type A interface{ A() }", "package p; type B interface{ B() }", "package p; type X interface{ A; B }", } // compute original file ASTs var orig [len(sources)]*syntax.File for i, src := range sources { orig[i] = mustParse(src) } // run the test for all order permutations of the incoming files
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 28.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/types/objectpath/objectpath.go
// We may thus be trying to produce object paths for any of these objects. // // S[A].Foo and S[B].Bar are the origin methods, and their paths are S.Foo // and S.Bar, which are the paths that this function naturally produces. // // S[A].Bar, S[B].Foo, and both methods on S[int] are instantiations that // don't correspond to the origin methods. For S[int], this is significant. // The most precise object path for S[int].Foo, for example, is Alias.Foo,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 23.1K bytes - Viewed (0) -
src/crypto/rsa/rsa.go
// // RSA is a single, fundamental operation that is used in this package to // implement either public-key encryption or public-key signatures. // // The original specification for encryption and signatures with RSA is PKCS #1 // and the terms "RSA encryption" and "RSA signatures" by default refer to // PKCS #1 version 1.5. However, that specification has flaws and new designs
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:11:18 UTC 2024 - 23.4K bytes - Viewed (0) -
src/net/tcpsock.go
// Closing l does not affect f, and closing f does not affect l. // // The returned os.File's file descriptor is different from the // connection's. Attempting to change properties of the original // using this duplicate may or may not have the desired effect. func (l *TCPListener) File() (f *os.File, err error) { if !l.ok() { return nil, syscall.EINVAL } f, err = l.file() if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 03:10:07 UTC 2024 - 13.7K 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/compile/internal/dwarfgen/dwinl.go
package dwarfgen import ( "fmt" "strings" "cmd/compile/internal/base" "cmd/compile/internal/ir" "cmd/internal/dwarf" "cmd/internal/obj" "cmd/internal/src" ) // To identify variables by original source position. type varPos struct { DeclName string DeclFile string DeclLine uint DeclCol uint } // This is the main entry point for collection of raw material to
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 20:45:07 UTC 2024 - 12.8K bytes - Viewed (0) -
src/cmd/internal/obj/sym.go
// Data must be in a reliable order for reproducible builds. // The original entries are in a reliable order, but the TOC symbols // that are added in Progedit are added by different goroutines // that can be scheduled independently. We need to reorder those // symbols reliably. Sort by name but use a stable sort, so that // any original entries with the same name (all DWARFVAR symbols
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 14:41:10 UTC 2024 - 14.1K bytes - Viewed (0) -
src/encoding/binary/binary.go
return 4 * len(data), nil case []float64: return 8 * len(data), nil } return 0, nil } // ensure grows buf to length len(buf) + n and returns the grown buffer // and a slice starting at the original length of buf (that is, buf2[len(buf):]). func ensure(buf []byte, n int) (buf2, pos []byte) { l := len(buf) buf = slices.Grow(buf, n)[:l+n] return buf, buf[l:]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 17:29:31 UTC 2024 - 23.4K bytes - Viewed (0)