- Sort Score
- Num 10 results
- Language All
Results 281 - 290 of 2,098 for Instance (0.07 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt
internal fun <T> readFieldOrNull( instance: Any, fieldType: Class<T>, fieldName: String, ): T? { var c: Class<*> = instance.javaClass while (c != Any::class.java) { try { val field = c.getDeclaredField(fieldName) field.isAccessible = true val value = field.get(instance) return if (!fieldType.isInstance(value)) null else fieldType.cast(value)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 10.3K bytes - Click Count (1) -
guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
Class<T> interfaceType, Function<? super T, ? extends T> wrapperFunction) { FreshValueGenerator generator = new FreshValueGenerator(); T instance = generator.newFreshProxy(interfaceType); new EqualsTester() .addEqualityGroup(wrapperFunction.apply(instance), wrapperFunction.apply(instance)) .addEqualityGroup(wrapperFunction.apply(generator.newFreshProxy(interfaceType)))
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 9.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java
* <ul> * <li>{@link #logger}: Logger instance for logging debug information.</li> * <li>{@link #client}: OpenSearch client instance.</li> * <li>{@link #arraySettingsIndexName}: Name of the array settings index.</li> * <li>{@link #settingsId}: ID of the settings.</li> * <li>{@link #settings}: SuggestSettings instance containing configuration settings.</li> * <li>{@link #encoder}: Base64 encoder instance for encoding IDs.</li> * </ul> */
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Nov 24 03:40:05 GMT 2025 - 15.8K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/metadata/ArtifactMetadataSource.java
* * @param artifact artifact we are interested in. Only <code>groupid</code> and <code>artifactId</code> * are needed, for instance the following code will work * <code>artifactFactory.createProjectArtifact( "org.apache.maven", "maven", "" )</code> * @param localRepository local repositoryCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3.5K bytes - Click Count (0) -
compat/maven-model-builder/src/test/resources/poms/depmgmt/junit-0.2.xml
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>org.junit</groupId> <artifactId>bom</artifactId> <version>0.2</version> <packaging>pom</packaging> <dependencyManagement>Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jan 10 07:09:12 GMT 2025 - 724 bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ClassToInstanceMap.java
import java.util.Map; import org.jspecify.annotations.NonNull; import org.jspecify.annotations.Nullable; /** * A map, each entry of which maps a Java <a href="http://tinyurl.com/2cmwkz">raw type</a> to an * instance of that type. In addition to implementing {@code Map}, the additional type-safe * operations {@link #putInstance} and {@link #getInstance} are available. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 2.9K bytes - Click Count (0) -
guava/src/com/google/common/base/Stopwatch.java
*/ public boolean isRunning() { return isRunning; } /** * Starts the stopwatch. * * @return this {@code Stopwatch} instance * @throws IllegalStateException if the stopwatch is already running. */ @CanIgnoreReturnValue public Stopwatch start() { checkState(!isRunning, "This stopwatch is already running.");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Oct 08 18:55:33 GMT 2025 - 9.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java
@Test @DisplayName("Should create instance with null ciphers") void testConstructorWithNullCiphers() { EncryptionNegotiateContext context = new EncryptionNegotiateContext(mockConfig, null); assertNotNull(context); assertNull(context.getCiphers()); } @Test @DisplayName("Should create instance with empty ciphers array")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/SecurityBlobTest.java
// Assert assertNotSame(original, copy, "clone should return a different instance"); assertTrue(original.equals(copy), "Cloned instance should be equal by content"); // Mutate original backing array; clone should remain based on previous snapshot data[0] = 99;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/MapMaker.java
* entries may be counted by {@link Map#size}, but will never be visible to read or write * operations. A partially-reclaimed entry is never exposed to the user. Any {@link Map.Entry} * instance retrieved from the map's {@linkplain Map#entrySet entry set} is a snapshot of that * entry's state at the time of retrieval; such entries do, however, support {@linkCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 12.8K bytes - Click Count (0)