- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 148 for Impl (0.02 seconds)
-
android/guava-tests/test/com/google/common/collect/ClassToInstanceMapTesting.java
immutableEntry(Two.class, new Impl(2)), immutableEntry(Three.class, new Impl(3)), immutableEntry(Four.class, new Impl(4)), immutableEntry(Five.class, new Impl(5))); } @Override @SuppressWarnings("unchecked") public Entry<Class<?>, Impl>[] createArray(int length) { return (Entry<Class<?>, Impl>[]) new Entry<?, ?>[length]; } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 31 20:00:15 GMT 2026 - 2.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/BufferCacheImplTest.java
BufferCacheImpl impl = new BufferCacheImpl(2, 3); byte[] a = new byte[1]; byte[] c = new byte[2]; byte[] d = new byte[4]; impl.releaseBuffer(a); // goes to slot 0 impl.releaseBuffer(c); // goes to slot 1 impl.releaseBuffer(d); // dropped (cache full) byte[] first = impl.getBuffer(); // should return slot 0 -> a
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) -
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) -
src/test/java/jcifs/smb/SessionSetupHandlerTest.java
void testImplementationsAreUsable(SessionSetupHandler impl) { // Arrange is provided by method source // Act & Assert assertNotNull(impl, "Implementation instance should not be null"); assertTrue(SessionSetupHandler.class.isInstance(impl), "Instance should be assignable to interface"); assertTrue(SessionSetupHandler.class.isAssignableFrom(impl.getClass()), "Type should be assignable"); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableSet.java
*/ copyIfNecessary(); this.impl = this.impl.combine(other.impl); return this; } @Override public ImmutableSet<E> build() { requireNonNull(impl); // see the comment on the field forceCopy = true; impl = impl.review(); return impl.build(); } }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Nov 07 16:09:47 GMT 2025 - 35.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableClassToInstanceMapTest.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 31 20:00:15 GMT 2026 - 5.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MutableClassToInstanceMapTest.java
public Map<Class<?>, Impl> create(Object... elements) { MutableClassToInstanceMap<Impl> map = MutableClassToInstanceMap.create(); for (Object object : elements) { Entry<?, ?> entry = (Entry<?, ?>) object; map.putInstance((Class) entry.getKey(), (Impl) entry.getValue()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 31 20:00:15 GMT 2026 - 5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/creator/PagerCreatorTest.java
// NamingConventionImpl removed - using mock instead import org.lastaflute.di.core.assembler.AutoBindingDefFactory; import org.lastaflute.di.core.customizer.ComponentCustomizer; import org.lastaflute.di.core.meta.impl.InstanceDefFactory; import org.lastaflute.di.naming.NamingConvention; public class PagerCreatorTest extends UnitFessTestCase { private PagerCreator pagerCreator; private NamingConvention namingConvention;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 13.7K bytes - Click Count (0) -
android/guava-tests/benchmark/com/google/common/math/ApacheBenchmark.java
private final int[][] intsToMul = new int[ARRAY_SIZE][2]; private final long[][] longsToAdd = new long[ARRAY_SIZE][2]; private final long[][] longsToMul = new long[ARRAY_SIZE][2]; @Param({"APACHE", "GUAVA"}) Impl impl; @BeforeExperiment void setUp() { for (int i = 0; i < ARRAY_SIZE; i++) { factorials[i] = RANDOM_SOURCE.nextInt(200); for (int j = 0; j < 2; j++) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 6.9K bytes - Click Count (0) -
guava-tests/benchmark/com/google/common/math/ApacheBenchmark.java
private final int[][] intsToMul = new int[ARRAY_SIZE][2]; private final long[][] longsToAdd = new long[ARRAY_SIZE][2]; private final long[][] longsToMul = new long[ARRAY_SIZE][2]; @Param({"APACHE", "GUAVA"}) Impl impl; @BeforeExperiment void setUp() { for (int i = 0; i < ARRAY_SIZE; i++) { factorials[i] = RANDOM_SOURCE.nextInt(200); for (int j = 0; j < 2; j++) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 6.9K bytes - Click Count (0)