- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 1,198 for instance (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
.put(ImmutableClassToInstanceMap.class, ImmutableClassToInstanceMap.builder().build()) .put(Comparable.class, ByToString.INSTANCE) .put(Comparator.class, AlwaysEqual.INSTANCE) .put(Ordering.class, AlwaysEqual.INSTANCE) .put(Range.class, Range.all()) .put(MapDifference.class, Maps.difference(ImmutableMap.of(), ImmutableMap.of())) .put(
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 20.9K bytes - Click Count (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/MonotonicClockTest.java
void testRapidCalls() { Instant[] instants = new Instant[1000]; for (int i = 0; i < instants.length; i++) { instants[i] = MonotonicClock.now(); } // Verify monotonic behavior across all measurements for (int i = 1; i < instants.length; i++) { assertTrue( instants[i].compareTo(instants[i - 1]) >= 0,
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jan 15 06:28:29 GMT 2025 - 5.8K bytes - Click Count (0) -
.teamcity/scripts/common.sh
# https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html exit_if_not_on_ec2_instance() { curl -m 1 -s "http://169.254.169.254/latest/meta-data/instance-id" IS_EC2_INSTANCE=$? if [ $IS_EC2_INSTANCE -ne 0 ]; then echo "Not running on an EC2 instance, skipping the configuration" exit 0 fi }Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Sun Oct 26 09:37:09 GMT 2025 - 1.3K bytes - Click Count (0) -
docs/en/docs/advanced/advanced-dependencies.md
But we want to be able to parameterize that fixed content. ## A "callable" instance { #a-callable-instance } In Python there's a way to make an instance of a class a "callable". Not the class itself (which is already a callable), but an instance of that class. To do that, we declare a method `__call__`: {* ../../docs_src/dependencies/tutorial011_an_py39.py hl[12] *}
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Thu Nov 13 07:37:15 GMT 2025 - 9.1K bytes - Click Count (0) -
internal/grid/README.md
instance := grid.NewStream[*Payload, *Req, *Resp](h, newPayload, newReq, newResp) // Tweakable options instance.WithPayload = true // default true when newPayload != nil instance.OutCapacity = 1 // default instance.InCapacity = 1 // default true when newReq != nil // Register the handler on the manager instance.Register(manager, handler, "asubroute")
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 10 18:57:03 GMT 2025 - 9.4K bytes - Click Count (0) -
docs/es/docs/advanced/advanced-dependencies.md
## Crear una instance { #create-an-instance } PodrĂamos crear una instance de esta clase con: {* ../../docs_src/dependencies/tutorial011_an_py39.py hl[18] *} Y de esa manera podemos "parametrizar" nuestra dependencia, que ahora tiene `"bar"` dentro de ella, como el atributo `checker.fixed_content`. ## Usar la instance como una dependencia { #use-the-instance-as-a-dependency }Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 16 16:33:45 GMT 2025 - 9.8K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
for (Invokable<?, ?> factory : getFactoriesToTest()) { Object instance = instantiate(factory); if (instance != null && packagesToTest.contains(Reflection.getPackageName(instance.getClass()))) { try { nullPointerTester.testAllPublicInstanceMethods(instance); } catch (AssertionError e) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 32.5K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/execution/scope/internal/MojoExecutionScopeTest.java
afterExecutionFailure.incrementAndGet(); } }; assertSame(instance, scope.scope(Key.get(Object.class), () -> instance).get()); assertSame( instance, scope.scope(Key.get(WeakMojoExecutionListener.class), () -> instance) .get()); final MojoExecutionEvent event = new MojoExecutionEvent(null, null, null, null);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3.6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/NullPointerTester.java
* this parameter is marked nullable, this method does nothing. * * @param instance the instance to invoke {@code method} on, or null if {@code method} is static */ public void testMethodParameter(@Nullable Object instance, Method method, int paramIndex) { method.setAccessible(true); testParameter(instance, invokable(instance, method), paramIndex, method.getDeclaringClass()); } /**Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 24.9K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java
} /** * Serialize the inbound Model instance to a StringWriter, perform the regex replacement to resolve * POM expressions, then re-parse into the resolved Model instance. * <p> * <b>NOTE:</b> This will result in a different instance of Model being returned!!! * * @param model The inbound Model instance, to serialize and reference for expression resolutionCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 13.6K bytes - Click Count (0)