- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 84 for original (0.36 sec)
-
src/strings/reader.go
// Len returns the number of bytes of the unread portion of the // string. func (r *Reader) Len() int { if r.i >= int64(len(r.s)) { return 0 } return int(int64(len(r.s)) - r.i) } // Size returns the original length of the underlying string. // Size is the number of bytes available for reading via [Reader.ReadAt]. // The returned value is always the same and is not affected by calls // to any other method.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 17:10:31 UTC 2023 - 3.9K bytes - Viewed (0) -
src/internal/types/testdata/check/labels.go
} if x == 20 { continue L1 /* ERROR "invalid continue label L1" */ } if x == 21 { goto L1 } } } // Additional tests not in the original files. func f2() { L1 /* ERROR "label L1 declared and not used" */ : if x == 0 { for { continue L1 /* ERROR "invalid continue label L1" */ } } } func f3() { L1: L2:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 3.2K bytes - Viewed (0) -
src/strconv/ctoa.go
// formatted according to the format fmt and precision prec. // // The format fmt and precision prec have the same meaning as in [FormatFloat]. // It rounds the result assuming that the original was obtained from a complex // value of bitSize bits, which must be 64 for complex64 and 128 for complex128. func FormatComplex(c complex128, fmt byte, prec, bitSize int) string { if bitSize != 64 && bitSize != 128 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:21:28 UTC 2024 - 1K bytes - Viewed (0) -
src/cmd/go/internal/modload/vendor.go
} else { fmt.Fprintf(vendErrors, "\n\t%s@%s: %s", mod.Path, mod.Version, detail) } } // Iterate over the Require directives in their original (not indexed) order // so that the errors match the original file. for _, modFile := range modFiles { for _, r := range modFile.Require { if !vendorMeta[r.Mod].Explicit { if pre114 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jul 24 18:09:22 UTC 2023 - 9.5K bytes - Viewed (0) -
src/cmd/compile/internal/types2/alias.go
// // [underlying type]: https://go.dev/ref/spec#Underlying_types. func (a *Alias) Underlying() Type { return unalias(a).Underlying() } // Origin returns the generic Alias type of which a is an instance. // If a is not an instance of a generic alias, Origin returns a. func (a *Alias) Origin() *Alias { return a.orig } // TypeParams returns the type parameters of the alias type a, or nil.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 5K bytes - Viewed (0) -
src/go/types/alias.go
// // [underlying type]: https://go.dev/ref/spec#Underlying_types. func (a *Alias) Underlying() Type { return unalias(a).Underlying() } // Origin returns the generic Alias type of which a is an instance. // If a is not an instance of a generic alias, Origin returns a. func (a *Alias) Origin() *Alias { return a.orig } // TypeParams returns the type parameters of the alias type a, or nil.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 5.1K bytes - Viewed (0) -
src/syscall/rlimit.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build unix package syscall import ( "sync/atomic" ) // origRlimitNofile, if non-nil, is the original soft RLIMIT_NOFILE. var origRlimitNofile atomic.Pointer[Rlimit] // Some systems set an artificially low soft limit on open file count, for compatibility // with code that uses select and its hard-coded maximum file descriptor
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 20:13:57 UTC 2024 - 1.6K bytes - Viewed (0) -
src/internal/gover/gover.go
// Note that this package works on "1.21" while go/version works on "go1.21". package gover import ( "cmp" ) // A Version is a parsed Go version: major[.Minor[.Patch]][kind[pre]] // The numbers are the original decimal strings to avoid integer overflows // and since there is very little actual math. (Probably overflow doesn't matter in practice, // but at the time this code was written, there was an existing test that used
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 06 23:20:32 UTC 2023 - 5.8K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/stdversion/stdversion.go
// origin returns the original uninstantiated symbol for obj. func origin(obj types.Object) types.Object { switch obj := obj.(type) { case *types.Var: return obj.Origin() case *types.Func: return obj.Origin() case *types.TypeName: if named, ok := obj.Type().(*types.Named); ok { // (don't unalias) return named.Origin().Obj() } } return obj }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 4.8K bytes - Viewed (0) -
src/syscall/exec_freebsd.go
} // Set the controlling TTY to Ctty if sys.Setctty { _, _, err1 = RawSyscall(SYS_IOCTL, uintptr(sys.Ctty), uintptr(TIOCSCTTY), 0) if err1 != 0 { goto childerror } } // Restore original rlimit. if rlim != nil { RawSyscall(SYS_SETRLIMIT, uintptr(RLIMIT_NOFILE), uintptr(unsafe.Pointer(rlim)), 0) } // Time to exec. _, _, err1 = RawSyscall(SYS_EXECVE, uintptr(unsafe.Pointer(argv0)),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 29 18:51:35 UTC 2023 - 8.4K bytes - Viewed (0)