- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 388 for contract (0.04 sec)
-
android/guava/src/com/google/common/io/TempFileCreator.java
@GwtIncompatible @J2ObjCIncompatible abstract class TempFileCreator { static final TempFileCreator INSTANCE = pickSecureCreator(); /** * @throws IllegalStateException if the directory could not be created (to implement the contract * of {@link Files#createTempDir()}, such as if the system does not support creating temporary * directories securely */ abstract File createTempDir();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 12.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackTest.java
// Test commit (should not throw exception) callback.commit(); } public void test_multiple_implementations() { // Test with different implementations to ensure interface contract IndexUpdateCallback callback1 = createMockCallback(10, 500); IndexUpdateCallback callback2 = createMockCallback(20, 1000); assertEquals(10L, callback1.getDocumentSize());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java
/** * Unit tests for {@link SmbComTransactionResponse}. * * <p>The class is abstract, so a concrete stub implementation is * provided purely to expose protected state and to satisfy the abstract * method contract. The tests focus on public API behaviour and the * parsing logic in {@code readParameterWordsWireFormat} and * {@code readBytesWireFormat}. */ public class SmbComTransactionResponseTest {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingNavigableSet.java
* elements, if there is no comparator) to test element equality. As a result, if the comparator is * not consistent with equals, some of the standard implementations may violate the {@code Set} * contract. * * <p>The {@code standard} methods and the collection views they return are not guaranteed to be * thread-safe, even when all of the methods that they depend on are thread-safe. * * @author Louis Wasserman
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 8.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/HashCodeTest.java
// They aren't equal... assertFalse(hashCodeA.equals(hashCodeB)); // But they still have the same Object#hashCode() value. // Technically not a violation of the equals/hashCode contract, but...? assertEquals(hashCodeA.hashCode(), hashCodeB.hashCode()); } public void testRoundTripHashCodeUsingFromString() { HashCode hash1 = Hashing.sha1().hashString("foo", US_ASCII);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 13.1K bytes - Viewed (0) -
guava/src/com/google/common/math/PairedStats.java
private final double sumOfProductsOfDeltas; /** * Internal constructor. Users should use {@link PairedStatsAccumulator#snapshot}. * * <p>To ensure that the created instance obeys its contract, the parameters should satisfy the * following constraints. This is the callers responsibility and is not enforced here. * * <ul> * <li>Both {@code xStats} and {@code yStats} must have the same {@code count}.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 12.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java
boolean result = sync.setException(checkNotNull(throwable)); if (result) { executionList.execute(); } return result; } /** * Following the contract of {@link AbstractQueuedSynchronizer} we create a private subclass to * hold the synchronizer. This synchronizer is used to implement the blocking and waiting calls
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jan 30 16:59:10 UTC 2025 - 13.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java
import junit.framework.TestCase; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Tests representing the contract of {@link Map}. Concrete subclasses of this base class test * conformance of concrete {@link Map} subclasses to that contract. * * @param <K> the type of keys used by the maps under test * @param <V> the type of mapped values used the maps under test * @author George van den Driessche
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 43.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingNavigableSet.java
* elements, if there is no comparator) to test element equality. As a result, if the comparator is * not consistent with equals, some of the standard implementations may violate the {@code Set} * contract. * * <p>The {@code standard} methods and the collection views they return are not guaranteed to be * thread-safe, even when all of the methods that they depend on are thread-safe. * * @author Louis Wasserman
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 8.8K bytes - Viewed (0) -
src/test/java/jcifs/EmptyIteratorTest.java
}, "EmptyIterator should work correctly in nested iteration"); } @Test @DisplayName("EmptyIterator should follow Iterator contract for empty collections") void testIteratorContract() { // Given - typical Iterator usage pattern // When & Then - verify empty collection behavior
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0)