- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 202 for shorterOf (0.26 sec)
-
src/internal/fuzz/mutator.go
func (m *mutator) randByteOrder() binary.ByteOrder { if m.r.bool() { return binary.LittleEndian } return binary.BigEndian } // chooseLen chooses length of range mutation in range [1,n]. It gives // preference to shorter ranges. func (m *mutator) chooseLen(n int) int { switch x := m.rand(100); { case x < 90: return m.rand(min(8, n)) + 1 case x < 99: return m.rand(min(32, n)) + 1 default: return m.rand(n) + 1 } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 20:01:34 UTC 2023 - 6.6K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_invalid_version.txt
stderr 'go: example.com@v0.0.0 requires\n\tgolang.org/x/text@v0.1.1-0.20170915032832-14c0d48ead0: invalid pseudo-version: revision is shorter than canonical \(expected 14c0d48ead0c\)' cd .. ! go list -m golang.org/x/text stderr 'golang.org/x/text@v0.1.1-0.20170915032832-14c0d48ead0: invalid pseudo-version: revision is shorter than canonical \(expected 14c0d48ead0c\)' # A pseudo-version with more than 12 digits of SHA-1 prefix is invalid.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 02 02:54:20 UTC 2023 - 13.1K bytes - Viewed (0) -
testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-linked_ptr.h
template<typename T> inline bool operator!=(T* ptr, const linked_ptr<T>& x) { return ptr != x.get(); } // A function to convert T* into linked_ptr<T> // Doing e.g. make_linked_ptr(new FooBarBaz<type>(arg)) is a shorter notation // for linked_ptr<FooBarBaz<type> >(new FooBarBaz<type>(arg)) template <typename T> linked_ptr<T> make_linked_ptr(T* ptr) { return linked_ptr<T>(ptr); } } // namespace internal
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 7.9K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/cache/DefaultCacheConfigurations.java
if (removeUnusedEntriesAfterDays < 1) { throw new IllegalArgumentException(name + " cannot be set to retain entries for " + removeUnusedEntriesAfterDays + " days. For time frames shorter than one day, use the 'removeUnusedEntriesOlderThan' property."); } getRemoveUnusedEntriesOlderThan().set(providerFromSupplier(daysAgo(removeUnusedEntriesAfterDays))); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 20:26:37 UTC 2024 - 14.4K bytes - Viewed (0) -
cmd/kubeadm/app/phases/addons/proxy/proxy_test.go
simError: IPv6SetBindAddress, expErrString: "", expBindAddr: "::", expClusterCIDR: "2001:101::/96", }, } // Override the default timeouts to be shorter defaultTimeouts := kubeadmapi.GetActiveTimeouts() defaultAPICallTimeout := defaultTimeouts.KubernetesAPICall defaultTimeouts.KubernetesAPICall = &metav1.Duration{Duration: time.Microsecond * 500} defer func() {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Feb 18 11:14:32 UTC 2024 - 8.7K bytes - Viewed (0) -
src/internal/testenv/exec.go
if cd, ok := ctx.Deadline(); !ok || time.Until(cd) > cmdTimeout { // Either ctx doesn't have a deadline, or its deadline would expire // after (or too close before) the test has already timed out. // Add a shorter timeout so that the test will produce useful output. ctx, cancelCtx = context.WithTimeout(ctx, cmdTimeout) } } } cmd := exec.CommandContext(ctx, name, args...) cmd.Cancel = func() error {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 27 17:53:23 UTC 2023 - 7.5K bytes - Viewed (0) -
src/math/big/decimal.go
} // write extra digits that still fit for n > 0 && w < len(x.mant) { d := n >> s n &= mask x.mant[w] = byte(d + '0') w++ n = n * 10 } x.mant = x.mant[:w] // the number may be shorter (e.g. 1024 >> 10) // append additional digits that didn't fit for n > 0 { d := n >> s n &= mask x.mant = append(x.mant, byte(d+'0')) n = n * 10 } trim(x) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 29 22:45:29 UTC 2020 - 6.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/registry/rest/delete.go
if objectMeta.GetDeletionGracePeriodSeconds() == nil || *objectMeta.GetDeletionGracePeriodSeconds() == 0 { return false, false, nil } // only a shorter grace period may be provided by a user if options.GracePeriodSeconds != nil { period := int64(*options.GracePeriodSeconds) if period >= *objectMeta.GetDeletionGracePeriodSeconds() { return false, true, nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 07 17:43:41 UTC 2021 - 9.3K bytes - Viewed (0) -
src/crypto/internal/nistec/p224.go
} return nil } // Bytes returns the uncompressed or infinity encoding of p, as specified in // SEC 1, Version 2.0, Section 2.3.3. Note that the encoding of the point at // infinity is shorter than all other encodings. func (p *P224Point) Bytes() []byte { // This function is outlined to make the allocations inline in the caller // rather than happen on the heap. var out [1 + 2*p224ElementLength]byte
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 12 00:04:29 UTC 2022 - 15.9K bytes - Viewed (0) -
src/crypto/internal/nistec/p521.go
} return nil } // Bytes returns the uncompressed or infinity encoding of p, as specified in // SEC 1, Version 2.0, Section 2.3.3. Note that the encoding of the point at // infinity is shorter than all other encodings. func (p *P521Point) Bytes() []byte { // This function is outlined to make the allocations inline in the caller // rather than happen on the heap. var out [1 + 2*p521ElementLength]byte
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 12 00:04:29 UTC 2022 - 17K bytes - Viewed (0)