- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 56 for predictable (0.26 sec)
-
src/cmd/compile/internal/test/switch_test.go
n += 7 case SI7: n += 8 } } sink = n } // A simple random number generator used to make switches conditionally predictable. type rng uint64 func newRNG() rng { return 1 } func (r rng) next(predictable bool) rng { if predictable { return r + 1 } return rng(bits.RotateLeft64(uint64(r), 13) * 0x3c374d) } func (r rng) value() uint64 { return uint64(r)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 06 15:42:30 UTC 2023 - 4.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/.gitattributes
# Treat all files in the repo as binary, with no git magic updating # line endings. This produces predictable results in different environments. # # Windows users contributing to Go will need to use a modern version # of git and editors capable of LF line endings. # # Windows .bat files are known to have multiple bugs when run with LF # endings. So if they are checked in with CRLF endings, there should # be a test like the one in test/winbatch.go in the go repository.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:57:25 UTC 2024 - 545 bytes - Viewed (0) -
android/guava/src/com/google/common/collect/LinkedHashMultiset.java
*/ package com.google.common.collect; import com.google.common.annotations.GwtCompatible; import org.checkerframework.checker.nullness.qual.Nullable; /** * A {@code Multiset} implementation with predictable iteration order. Its iterator orders elements * according to when the first occurrence of the element was added. When the multiset contains
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 3K bytes - Viewed (0) -
platforms/core-runtime/time/src/main/java/org/gradle/internal/time/TimeFormatting.java
// the duration passed on call sited is often a result of some math, what is not guarantees positive-values-only. // So let's make an output more predictable in accidental negative-values scenarios. if (duration < 0) { result.append("-"); result.append(formatDurationVeryTerse(-duration)); return result.toString(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 20:20:17 UTC 2024 - 3.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/LinkedHashMultiset.java
import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.util.LinkedHashMap; import org.checkerframework.checker.nullness.qual.Nullable; /** * A {@code Multiset} implementation with predictable iteration order. Its iterator orders elements * according to when the first occurrence of the element was added. When the multiset contains
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/features/CollectionSize.java
this.numElements = numElements; } CollectionSize(Feature<? super Collection>... implied) { // Keep the order here, so that PerCollectionSizeTestSuiteBuilder // gives a predictable order of test suites. this.implied = Helpers.copyToSet(implied); this.numElements = null; } @Override public Set<Feature<? super Collection>> getImpliedFeatures() { return implied; }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Feb 26 19:46:10 UTC 2024 - 3.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/features/CollectionSize.java
this.numElements = numElements; } CollectionSize(Feature<? super Collection>... implied) { // Keep the order here, so that PerCollectionSizeTestSuiteBuilder // gives a predictable order of test suites. this.implied = Helpers.copyToSet(implied); this.numElements = null; } @Override public Set<Feature<? super Collection>> getImpliedFeatures() { return implied; }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Feb 26 19:46:10 UTC 2024 - 3.4K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AbstractClassGeneratorSpec.groovy
ManyConstructors(int p0) {} } def "order of constructors is based on number of parameters"() { // We rely on processing the constructors in a predictable order (fewest parameters -> most) def constructors = generator.generate(ManyConstructors).getConstructors() expect: int count = 0 constructors.each { constructor ->
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 4.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/analysisinternal/extractdoc.go
// Here is the complete description... // // This notation allows a single doc comment to provide documentation // for multiple analyzers, each in its own section. // The HTML anchors generated for each heading are predictable. // // It returns an error if the content was not a valid Go source file // containing a package doc comment with a heading of the required // form. // // This machinery enables the package documentation (typically
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 18 21:28:13 UTC 2023 - 3.4K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/ParamsMatchingConstructorSelector.java
return Cast.uncheckedCast(constructors.get(0)); } ClassGenerator.GeneratedConstructor<?> match = null; // NOTE: this relies on the constructors being in a predictable order // sorted by the number of parameters the constructor requires for (ClassGenerator.GeneratedConstructor<?> constructor : constructors) { Class<?>[] parameterTypes = constructor.getParameterTypes();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 6.2K bytes - Viewed (0)