- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 1,252 for whereIs (0.12 sec)
-
android/guava-testlib/src/com/google/common/testing/GcFinalization.java
* RuntimeException}. * * <p>Here's an example that tests a {@code finalize} method: * * <pre>{@code * final CountDownLatch latch = new CountDownLatch(1); * Object x = new MyClass() { * ... * protected void finalize() { latch.countDown(); ... } * }; * x = null; // Hint to the JIT that x is stack-unreachable * GcFinalization.await(latch); * }</pre> *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 17:40:56 UTC 2024 - 11.6K bytes - Viewed (0) -
src/crypto/internal/mlkem768/mlkem768_test.go
} precise := big.NewRat((1<<d)*int64(x), q) // (2ᵈ / q) * x == (2ᵈ * x) / q // FloatString rounds halves away from 0, and our result should always be positive, // so it should work as we expect. (There's no direct way to round a Rat.) rounded, err := strconv.ParseInt(precise.FloatString(0), 10, 64) if err != nil { panic(err) } // If we rounded up, `rounded` may be equal to 2ᵈ, so we perform a final reduction.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 06 15:27:18 UTC 2024 - 10.3K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/consistency/ProjectLocalDependencyResolutionConsistencyIntegrationTest.groovy
byConflictResolution('between versions 1.1 and 1.0') } constraint("org:foo:{strictly 1.1}", "org:foo:1.1") } } } def "fails if there's a conflict between a first level dependency version and a strict version from consistency"() { repository { 'org:foo:1.0'() 'org:foo:1.1'() } buildFile << """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 10.7K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeResolver.java
*/ public TypeResolver where(Type formal, Type actual) { Map<TypeVariableKey, Type> mappings = Maps.newHashMap(); populateTypeMappings(mappings, checkNotNull(formal), checkNotNull(actual)); return where(mappings); } /** Returns a new {@code TypeResolver} with {@code variable} mapping to {@code type}. */ TypeResolver where(Map<TypeVariableKey, ? extends Type> mappings) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 24.2K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/util/internal/DefaultGradleVersion.java
// to the version and need to test with various different version patterns. // We use an env variable because these are easy to set on daemon startup, // whereas system properties are scrubbed at daemon startup. String overrideVersion = System.getenv(VERSION_OVERRIDE_VAR); if (overrideVersion != null) { version = overrideVersion; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 26 14:58:23 UTC 2024 - 11.8K bytes - Viewed (0) -
src/go/types/predicates.go
// isTyped reports whether t is typed; i.e., not an untyped // constant or boolean. // Safe to call from types that are not fully set up. func isTyped(t Type) bool { // Alias and named types cannot denote untyped types // so there's no need to call Unalias or under, below. b, _ := t.(*Basic) return b == nil || b.info&IsUntyped == 0 } // isUntyped(t) is the same as !isTyped(t). // Safe to call from types that are not fully set up.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 17.6K bytes - Viewed (0) -
src/cmd/compile/internal/ir/func.go
// with the given type. // // fpos the position used for the underlying ODCLFUNC and ONAME, // whereas cpos is the position used for the OCLOSURE. They're // separate because in the presence of inlining, the OCLOSURE node // should have an inline-adjusted position, whereas the ODCLFUNC and // ONAME must not. // // outerfn is the enclosing function, if any. The returned function is
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:05:44 UTC 2024 - 21.1K bytes - Viewed (0) -
src/runtime/runtime.go
// and should be avoided when possible. Use only for durations, where a tiny error term isn't going // to make a meaningful difference in even a 1ms duration. If an accurate timestamp is needed, // use nanotime instead. (The entire Windows platform is a broad exception to this rule, where nanotime // produces timestamps on such a coarse granularity that the error from this conversion is actually // preferable.)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:47 UTC 2024 - 9.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/NullPointerTester.java
* behavior. So there's no sense in making all subclass authors exclude the method from any * NullPointerTester tests that they have. */ ignoredMembers.add(Converter.class.getMethod("apply", Object.class)); } catch (NoSuchMethodException shouldBeImpossible) { // OK, fine: If it doesn't exist, then there's chance that we're going to be asked to test it. } }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 23.2K bytes - Viewed (0) -
src/os/timeout_test.go
var noDeadline time.Time var readTimeoutTests = []struct { timeout time.Duration xerrs [2]error // expected errors in transition }{ // Tests that read deadlines work, even if there's data ready // to be read. {-5 * time.Second, [2]error{os.ErrDeadlineExceeded, os.ErrDeadlineExceeded}}, {50 * time.Millisecond, [2]error{nil, os.ErrDeadlineExceeded}}, }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 14 00:03:57 UTC 2023 - 17.1K bytes - Viewed (0)