- Sort Score
- Num 10 results
- Language All
Results 241 - 250 of 2,098 for Instance (0.2 seconds)
-
guava/src/com/google/common/collect/MutableClassToInstanceMap.java
* Returns a new {@code MutableClassToInstanceMap} instance backed by a {@link HashMap} using the * default initial capacity and load factor. */ public static <B extends @Nullable Object> MutableClassToInstanceMap<B> create() { return new MutableClassToInstanceMap<>(new HashMap<Class<? extends @NonNull B>, B>()); } /** * Returns a new {@code MutableClassToInstanceMap} instance backed by a given empty {@codeCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 7.1K bytes - Click Count (0) -
docs/site-replication/run-ssec-object-replication-with-compression.sh
echo -n "Setup certs for MinIO instances ..." wget -O certgen https://github.com/minio/certgen/releases/latest/download/certgen-linux-amd64 && chmod +x certgen ./certgen --host localhost mkdir -p /tmp/certs mv public.crt /tmp/certs || sudo mv public.crt /tmp/certs mv private.key /tmp/certs || sudo mv private.key /tmp/certs echo "done" # Start MinIO instances echo -n "Starting MinIO instances ..."
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Sep 24 08:03:58 GMT 2024 - 8.3K bytes - Click Count (0) -
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) -
api/maven-api-core/src/main/java/org/apache/maven/api/MonotonicClock.java
private MonotonicClock() { this.startNanos = System.nanoTime(); this.startInstant = Clock.systemUTC().instant(); } /** * Returns the singleton instance of MonotonicClock. * * @return the monotonic clock instance */ public static MonotonicClock get() { return CLOCK; } /** * Returns the current instant from the monotonic clock.
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jan 15 06:28:29 GMT 2025 - 5.6K bytes - Click Count (0) -
src/test/java/jcifs/smb1/dcerpc/msrpc/LsaPolicyHandleTest.java
} @Test void close_shouldClosePolicySuccessfully() throws IOException { // Arrange // First, successfully create an LsaPolicyHandle instance doAnswer(invocation -> { MsrpcLsarOpenPolicy2 rpc = invocation.getArgument(0); rpc.retval = 0; return null;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.2K bytes - Click Count (0) -
src/main/java/org/codelibs/core/beans/impl/ParameterizedClassDescImpl.java
/** * Constructs an instance. * * @param rawClass * The raw class. Must not be {@literal null}. */ public ParameterizedClassDescImpl(final Class<?> rawClass) { assertArgumentNotNull("rawClass", rawClass); this.rawClass = rawClass; } /** * Constructs an instance. * * @param rawClassCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 2.8K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/TraversalUtil.java
file = file.getParentFile(); } return file; } /** * Factory for creating instances of {@link Traverser}. * * @author koichik */ public interface TraverserFactory { /** * Creates and returns an instance of {@link Traverser}. * * @param url * The URL representing the resource.
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 18.6K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/LineIterator.java
} /** * Constructs an instance. * * @param reader * The {@link Reader} to read strings from. Must not be {@literal null}. */ public LineIterator(final Reader reader) { assertArgumentNotNull("reader", reader); this.reader = new BufferedReader(reader); } /** * Constructs an instance. * * @param readerCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jun 19 09:12:22 GMT 2025 - 3.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/BufferCacheImplTest.java
assertNotNull(buf, "getBuffer should never return null"); assertEquals(5, buf.length, "Newly allocated buffer length should match config maximum size"); } // Happy path: get -> release -> get returns same instance, zeroed on release @Test @DisplayName("Release stores buffer for reuse and zeroes its contents") void releaseStoresAndZeroesBuffer() { BufferCacheImpl impl = new BufferCacheImpl(2, 10);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.5K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java
} private static void shouldPass(Object instance, Visibility visibility) { new NullPointerTester().testInstanceMethods(instance, visibility); } private static void shouldPass(Object instance) { shouldPass(instance, Visibility.PACKAGE); shouldPass(instance, Visibility.PROTECTED); shouldPass(instance, Visibility.PUBLIC); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 47.9K bytes - Click Count (0)