- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of about 10,000 for returns_ (0.23 sec)
-
src/go/types/context.go
// TODO(rfindley): consider asserting on isGeneric(typ) here, if and when // isGeneric handles *Signature types. h.typeList(targs) } return strings.ReplaceAll(buf.String(), " ", "#") } // lookup returns an existing instantiation of orig with targs, if it exists. // Otherwise, it returns nil. func (ctxt *Context) lookup(h string, orig Type, targs []Type) Type { ctxt.mu.Lock() defer ctxt.mu.Unlock()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 4.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/internal/tag/tag.go
return x } return -1 } // cmp returns an integer comparing a and b lexicographically. func cmp(a Index, b []byte) int { n := len(a) if len(b) < n { n = len(b) } for i, c := range b[:n] { switch { case a[i] > c: return 1 case a[i] < c: return -1 } } switch { case len(a) < len(b): return -1 case len(a) > len(b): return 1 } return 0 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 2.4K bytes - Viewed (0) -
guava/src/com/google/common/cache/CacheLoader.java
} /** * Returns a cache loader that uses {@code function} to load keys, without supporting either * reloading or bulk loading. This allows creating a cache loader using a lambda expression. * * <p>The returned object is serializable if {@code function} is serializable. * * @param function the function to be used for loading values; must never return {@code null}
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 19 20:20:14 UTC 2022 - 9.5K bytes - Viewed (0) -
src/strconv/itoa.go
if fastSmalls && 0 <= i && i < nSmalls && base == 10 { return small(int(i)) } _, s := formatBits(nil, uint64(i), base, i < 0, false) return s } // Itoa is equivalent to [FormatInt](int64(i), 10). func Itoa(i int) string { return FormatInt(int64(i), 10) } // AppendInt appends the string form of the integer i, // as generated by [FormatInt], to dst and returns the extended buffer.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:21:28 UTC 2024 - 5.3K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/httpstream/httpstream.go
} func (u *UpgradeFailureError) Error() string { return fmt.Sprintf("unable to upgrade streaming request: %s", u.Cause) } // IsUpgradeFailure returns true if the passed error is (or wrapped error contains) // the UpgradeFailureError. func IsUpgradeFailure(err error) bool { if err == nil { return false } var upgradeErr *UpgradeFailureError return errors.As(err, &upgradeErr) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 23 22:33:38 UTC 2023 - 6.4K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/isolation/Isolatable.java
*/ public interface Isolatable<T> extends Hashable { /** * Returns this value as a {@link ValueSnapshot}. The returned value should not hold any references to user ClassLoaders. */ ValueSnapshot asSnapshot(); /** * Returns an instance of T that is isolated from the original object and all other instances.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 2.1K bytes - Viewed (0) -
android/guava/src/com/google/common/io/CharSink.java
* required to be a {@link BufferedWriter} in order to allow implementations to simply delegate to * {@link #openStream()} when the stream returned by that method does not benefit from additional * buffering. This method returns a new, independent writer each time it is called. * * <p>The caller is responsible for ensuring that the returned writer is closed. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 28 20:13:02 UTC 2023 - 6.1K bytes - Viewed (0) -
src/internal/poll/fd.go
// Return the appropriate closing error based on isFile. func errClosing(isFile bool) error { if isFile { return ErrFileClosing } return ErrNetClosing } // ErrDeadlineExceeded is returned for an expired deadline. // This is exported by the os package as os.ErrDeadlineExceeded. var ErrDeadlineExceeded error = &DeadlineExceededError{} // DeadlineExceededError is returned for an expired deadline.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 17 23:16:28 UTC 2023 - 3.3K 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) -
cmd/kubeadm/app/discovery/discovery.go
return file.RetrieveValidatedConfigInfo(kubeConfigPath, timeout) case cfg.Discovery.BootstrapToken != nil: return token.RetrieveValidatedConfigInfo(&cfg.Discovery, timeout) default: return nil, errors.New("couldn't find a valid discovery configuration") } } // isHTTPSURL checks whether the string is parsable as a URL and whether the Scheme is https func isHTTPSURL(s string) bool { u, err := url.Parse(s)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 14 13:07:56 UTC 2024 - 3.9K bytes - Viewed (0)