- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 2,062 for Instance (0.06 seconds)
-
api/maven-api-toolchain/src/main/mdo/toolchains.mdo
if match is found, the toolchain instance is made available to other Maven plugins.</p> <p>With {@code jdk} toolchain, for example, instead of being stuck with the JDK used to run Maven, all plugins can use the same other JDK instance without hardcoding absolute paths into the {@code pom.xml} and without configuring every plugin that require path to JDK tools.</p>Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sun May 18 09:15:56 GMT 2025 - 9.5K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbSessionTest.java
// Two distinct auth instances NtlmPasswordAuthentication a1 = new NtlmPasswordAuthentication("DOM", "user", "pwd"); NtlmPasswordAuthentication a2 = new NtlmPasswordAuthentication("DOM", "user", "pwd"); SmbSession s1 = new SmbSession(addr, 445, inet, 0, a1); SmbSession s2 = new SmbSession(addr, 445, inet, 0, a2); // same auth instance => matches assertTrue(s1.matches(a1));Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.6K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java
Object instance = ArbitraryInstances.get(mutableClass); assertWithMessage("Expected to return non-null for: %s", mutableClass) .that(instance) .isNotNull(); assertWithMessage("Expected to return fresh instance for: " + mutableClass) .that(ArbitraryInstances.get(mutableClass)) .isNotSameInstanceAs(instance); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 22.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java
// Arrange: create an implementation instance SmbRenewableCredentials impl = supplier.get(); // Act: call renew CredentialsInternal renewed = impl.renew(); // Assert: verify behavior based on scenario if (expectSame) { assertSame(impl, renewed, "renew() should return the same instance"); } else if (expectNew) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Supplier.java
* @author Harry Heymann * @since 2.0 */ @GwtCompatible public interface Supplier<T extends @Nullable Object> { /** * Retrieves an instance of the appropriate type. The returned object may or may not be a new * instance, depending on the implementation. * * @return an instance of the appropriate type */ @ParametricNullness T get(); /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jun 19 17:20:48 GMT 2025 - 3K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Absent.java
@GwtCompatible final class Absent<T> extends Optional<T> { static final Absent<Object> INSTANCE = new Absent<>(); @SuppressWarnings("unchecked") // implementation is "fully variant" static <T> Optional<T> withType() { return (Optional<T>) INSTANCE; } private Absent() {} @Override public boolean isPresent() { return false; } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Apr 15 22:14:00 GMT 2025 - 2.6K bytes - Click Count (0) -
android/guava/src/com/google/common/base/MoreObjects.java
} /** * Creates an instance of {@link ToStringHelper} in the same manner as {@link * #toStringHelper(Object)}, but using the simple name of {@code clazz} instead of using an * instance's {@link Object#getClass()}. * * <p>Note that in GWT, class names are often obfuscated. * * @param clazz the {@link Class} of the instance * @since 18.0 (since 7.0 as {@code Objects.toStringHelper}).Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 05 17:38:41 GMT 2026 - 16.2K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/Tags.kt
* returns a new instance. * * This collection is optimized for safe concurrent access over a very small number of elements. * * This collection and is expected to hold fewer than 10 elements. Each operation is _O(N)_, and so * building an instance with _N_ elements is _O(N**2)_. */ internal sealed class Tags { /**
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 3.9K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderRequest.java
ProjectBuilderRequestBuilder() {} /** * Sets the Maven session for this request. * * @param session the Maven session * @return this builder instance */ public ProjectBuilderRequestBuilder session(Session session) { this.session = session; return this; } /**Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 10 07:30:49 GMT 2025 - 11.7K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java
// Create new Mac instance for thread safety without blocking other operations Mac mac; try { mac = createMacInstance(); } catch (GeneralSecurityException e) { log.error("Failed to create Mac instance for signing", e); throw new RuntimeException("Failed to create Mac instance", e); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 9.9K bytes - Click Count (0)