- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 126 for original (0.65 sec)
-
src/cmd/internal/bootstrap_test/overlaydir_test.go
if err != nil { return err } perm = info.Mode() & os.ModePerm } // Always make copies of directories. // If we add a file in the overlay, we don't want to add it in the original. if info.IsDir() { return os.MkdirAll(dstPath, perm|0200) } // If we can use a hard link, do that instead of copying bytes. // Go builds don't like symlinks in some cases, such as go:embed.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:35:05 UTC 2023 - 2.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/object_test.go
// the same Func Object as the original method. See also go.dev/issue/34421. func TestEmbeddedMethod(t *testing.T) { const src = `package p; type I interface { error }` pkg := mustTypecheck(src, nil, nil) // get original error.Error method eface := Universe.Lookup("error") orig, _, _ := LookupFieldOrMethod(eface.Type(), false, nil, "Error") if orig == nil { t.Fatalf("original error.Error not found") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 14:10:44 UTC 2024 - 5.2K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/trim.go
} // If the original block contained u = φ(u0, u1, ..., un) and // the current phi is // v = φ(v0, v1, ..., u, ..., vk) // then the merged phi is // v = φ(v0, v1, ..., u0, ..., vk, u1, ..., un) v.SetArg(i, u.Args[0]) v.AddArgs(u.Args[1:]...) } else { // If the original block contained u = φ(u0, u1, ..., un) and // the current phi is
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 18 17:59:44 UTC 2022 - 4.2K bytes - Viewed (0) -
src/math/asinh.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package math // The original C code, the long comment, and the constants // below are from FreeBSD's /usr/src/lib/msun/src/s_asinh.c // and came with this notice. The go code is a simplified // version of the original C. // // ==================================================== // Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 13 20:02:49 UTC 2023 - 1.9K bytes - Viewed (0) -
src/crypto/ecdsa/boring.go
// a particular key is never again modified, but that has not been a // stated assumption before. Just in case there is any existing code that // does modify the key between operations, we save the original values // alongside the cached BoringCrypto key and check that the real key // still matches before using the cached key. The theory is that the real // operations are significantly more expensive than the comparison.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 18 00:30:19 UTC 2022 - 2.7K bytes - Viewed (0) -
src/syscall/wtf8_windows.go
// is that the conversion is lossless even for ill-formed UTF-16 strings. // This property allows to read an ill-formed UTF-16 string, convert it // to a Go string, and convert it back to the same original UTF-16 string. // // See go.dev/issues/59971 for more info. package syscall import ( "unicode/utf16" "unicode/utf8" ) const ( surr1 = 0xd800 surr2 = 0xdc00 surr3 = 0xe000
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 15 09:26:16 UTC 2023 - 2.7K bytes - Viewed (0) -
src/cmd/internal/objabi/path.go
p = append(p, '%', hex[c>>4], hex[c&0xF]) } else { p = append(p, c) } } return string(p) } // PrefixToPath is the inverse of PathToPrefix, replacing escape sequences with // the original character. func PrefixToPath(s string) (string, error) { percent := strings.IndexByte(s, '%') if percent == -1 { return s, nil } p := make([]byte, 0, len(s)) for i := 0; i < len(s); {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 13:56:25 UTC 2023 - 1.9K bytes - Viewed (0) -
src/internal/weak/pointer.go
if ptr != nil { u = runtime_registerWeakPointer(unsafe.Pointer(ptr)) } runtime.KeepAlive(ptr) return Pointer[T]{u} } // Strong creates a strong pointer from the weak pointer. // Returns nil if the original value for the weak pointer was reclaimed by // the garbage collector. // If a weak pointer points to an object with a finalizer, then Strong will // return nil as soon as the object's finalizer is queued for execution.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 22:13:25 UTC 2024 - 3.1K bytes - Viewed (0) -
src/cmd/dist/buildruntime.go
// // GOOS=linux GOARCH=ppc64 go build cmd/compile // // the resulting compiler will default to generating linux/ppc64 object files. // This is more useful than having it default to generating objects for the // original target (in this example, a Mac). func mkbuildcfg(file string) { var buf strings.Builder writeHeader(&buf) fmt.Fprintf(&buf, "package buildcfg\n") fmt.Fprintln(&buf) fmt.Fprintf(&buf, "import \"runtime\"\n")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 06 01:33:19 UTC 2024 - 2.5K bytes - Viewed (0) -
src/net/tcpsock_unix_test.go
wg.Done() }() d := Dialer{Timeout: 50 * time.Millisecond} c, err := d.Dial(ln.Addr().Network(), ln.Addr().String()) if err != nil { if perr := parseDialError(err); perr != nil { t.Errorf("#%d: %v (original error: %v)", i, perr, err) } return } var b [1]byte if _, err := c.Write(b[:]); err != nil { if perr := parseWriteError(err); perr != nil { t.Errorf("#%d: %v", i, err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:20:52 UTC 2023 - 2.3K bytes - Viewed (0)