- Sort Score
- Num 10 results
- Language All
Results 381 - 390 of 2,749 for should (0.04 seconds)
-
guava-tests/test/com/google/common/cache/CacheLoadingTest.java
.isSameInstanceAs(result); } } /** * On a concurrent computation that returns null, all threads should get an * InvalidCacheLoadException, with the loader only called once. The result should not be cached (a * later request should call the loader again). */ private static void testConcurrentLoadingNull(CacheBuilder<Object, Object> builder) throws InterruptedException {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 91.1K bytes - Click Count (0) -
api/maven-api-di/src/main/java/org/apache/maven/api/di/Singleton.java
import java.lang.annotation.Retention; import static java.lang.annotation.RetentionPolicy.RUNTIME; /** * Denotes that a bean should be created as a singleton instance. * <p> * Singleton-scoped beans are instantiated once and reused throughout the entire * Maven execution. This scope should be used for stateless services or components * that can be safely shared across the entire build process. * <p> * Example usage: * <pre>
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Jan 30 23:28:59 GMT 2025 - 1.5K bytes - Click Count (0) -
statement_test.go
}) if reflect.DeepEqual(s1.Clauses["WHERE"], s2.Clauses["WHERE"]) { t.Errorf("Where conditions should be different") } }) } } func TestNilCondition(t *testing.T) { s := new(Statement) if len(s.BuildCondition(nil)) != 0 { t.Errorf("Nil condition should be empty") } } func TestNameMatcher(t *testing.T) { for k, v := range map[string][]string{
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sat Dec 23 13:19:41 GMT 2023 - 1.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/LinkedHashMultiset.java
* * <p>This implementation is highly efficient when {@code elements} is itself a {@link Multiset}. * * @param elements the elements that the multiset should contain */ public static <E extends @Nullable Object> LinkedHashMultiset<E> create( Iterable<? extends E> elements) { LinkedHashMultiset<E> multiset = create(Multisets.inferDistinctElements(elements));Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 2.9K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListRetainAllTester.java
public void testRetainAll_duplicatesKept() { E[] array = createSamplesArray(); array[1] = e0(); collection = getSubjectGenerator().create(array); assertFalse( "containsDuplicates.retainAll(superset) should return false", collection.retainAll(MinimalCollection.of(createSamplesArray()))); expectContents(array); } @CollectionFeature.Require(SUPPORTS_REMOVE) @CollectionSize.Require(SEVERAL)
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/SetAddTester.java
public class SetAddTester<E> extends AbstractSetTester<E> { @CollectionFeature.Require(SUPPORTS_ADD) @CollectionSize.Require(absent = ZERO) public void testAdd_supportedPresent() { assertFalse("add(present) should return false", getSet().add(e0())); expectUnchanged(); } @CollectionFeature.Require(value = {SUPPORTS_ADD, ALLOWS_NULL_VALUES}) @CollectionSize.Require(absent = ZERO)
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 2.8K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/QueueRemoveTester.java
public void testRemove_size1() { assertEquals("size1Queue.remove() should return first element", e0(), getQueue().remove()); expectMissing(e0()); } @CollectionFeature.Require({KNOWN_ORDER, SUPPORTS_REMOVE}) @CollectionSize.Require(SEVERAL) public void testRemove_sizeMany() { assertEquals("sizeManyQueue.remove() should return first element", e0(), getQueue().remove()); expectMissing(e0()); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 2.6K bytes - Click Count (0) -
tests/test_tutorial/test_body_nested_models/test_tutorial008.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 5.4K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/SimplexTransferListener.java
* Constructor that may alter behaviour of this listener. * * @param delegate The delegate that should run on single thread. * @param queueSize The event queue size (default {@code 1024}). * @param batchMaxSize The maximum batch size delegate should receive (default {@code 500}). * @param blockOnLastEvent Should this listener block on last transfer end (completed or corrupted) block? (default {@code true}). */Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Feb 06 11:28:05 GMT 2025 - 8.7K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/MavenPluginManager.java
/** * Retrieves the descriptor for the specified plugin goal from the plugin's main artifact. * * @param plugin The plugin whose mojo descriptor should be retrieved, must not be {@code null}. * @param goal The simple name of the mojo whose descriptor should be retrieved, must not be {@code null}. * @param repositories The plugin repositories to use for resolving the plugin's main artifact, must not be {@codeCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 6.6K bytes - Click Count (0)