- Sort Score
- Num 10 results
- Language All
Results 4531 - 4540 of 5,146 for Name (0.03 seconds)
-
guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java
for (int i = 0; i < 11; i++) { limiter.acquire(); // #7, showing off the warmup starting from totally cold } // make sure the areas (times) remain the same, while permits are different assertEvents( "R0.00, R1.38, R1.13, R0.88, R0.63, R0.50, R0.50, R0.50", // #1 "U4.50", // #2 "R0.00, R1.38, R1.13", // #3, after that the rate changes
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 22K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableAsList.java
public boolean isEmpty() { return delegateCollection().isEmpty(); } @Override boolean isPartialView() { return delegateCollection().isPartialView(); } /** Serialized form that leads to the same performance as the original list. */ @GwtIncompatible @J2ktIncompatible private static final class SerializedForm implements Serializable { final ImmutableCollection<?> collection;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 2.5K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/WinErrorTest.java
@Test void arraysHaveSameLength() { assertEquals(WinError.WINERR_CODES.length, WinError.WINERR_MESSAGES.length, "WINERR_CODES and WINERR_MESSAGES should have the same length"); } @Test void messagesAlignWithCodes() { for (int i = 0; i < WinError.WINERR_CODES.length; i++) { int code = WinError.WINERR_CODES[i];Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.7K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/PhaseComparator.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Dec 13 23:04:37 GMT 2024 - 2.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java
} @Test @DisplayName("Should create response with same configuration and buffer") void testCreateResponseConfiguration() { Smb2ReadResponse response = request.createResponse(mockContext, request); assertNotNull(response); // Response should be created with the same config from context verify(mockContext, times(1)).getConfig(); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.8K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/BiMapInverseTester.java
} @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0; } /** * Returns {@link Method} instances for the tests that assume that the inverse will be the same * after serialization. */ @J2ktIncompatible @GwtIncompatible // reflection public static List<Method> getInverseSameAfterSerializingMethods() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 3.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/math/QuantilesAlgorithmTest.java
import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Tests that the different algorithms benchmarked in {@link QuantilesBenchmark} are actually all * returning more-or-less the same answers. */ @NullUnmarked @GwtIncompatible @J2ktIncompatible public class QuantilesAlgorithmTest extends TestCase { private static final Random rng = new Random(82674067L);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 3.7K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java
int referent1 = Encdec.dec_uint32le(buffer, 0); assertTrue(referent1 > 0); // Should be a positive referent ID ndrBuffer.reset(); ndrBuffer.enc_ndr_referent(obj1, 2); // Same object, should get same referent assertEquals(4, ndrBuffer.getIndex()); assertEquals(referent1, Encdec.dec_uint32le(buffer, 0)); ndrBuffer.reset();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/ReflectionTest.java
} } private static class C { static { ++classesInitialized; } } public void testInitialize() { assertEquals("This test can't be included twice in the same suite.", 0, classesInitialized); Reflection.initialize(A.class); assertEquals(1, classesInitialized); Reflection.initialize( A.class, // Already initialized (above) B.class, C.class);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 2.8K bytes - Click Count (0) -
guava/src/com/google/common/collect/Interner.java
/** * Chooses and returns the representative instance for any of a collection of instances that are * equal to each other. If two {@linkplain Object#equals equal} inputs are given to this method, * both calls will return the same instance. That is, {@code intern(a).equals(a)} always holds, * and {@code intern(a) == intern(b)} if and only if {@code a.equals(b)}. Note that {@codeCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 2K bytes - Click Count (0)