- Sort Score
- Num 10 results
- Language All
Results 361 - 370 of 757 for behaviour (0.3 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava/src/com/google/common/graph/MapIteratorCache.java
* * @author James Sexton */ class MapIteratorCache<K, V> { private final Map<K, V> backingMap; /* * Per JDK: "the behavior of a map entry is undefined if the backing map has been modified after * the entry was returned by the iterator, except through the setValue operation on the map entry"
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 4.6K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/IteratorTester.java
import java.util.Collections; import java.util.Iterator; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * A utility for testing an Iterator implementation by comparing its behavior to that of a "known * good" reference implementation. In order to accomplish this, it's important to test a great * variety of sequences of the {@link Iterator#next}, {@link Iterator#hasNext} and {@link
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 4.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/SmbBasicFileInfoTest.java
// Act & Assert: attempting to call any method on null should throw NPE Assertions.assertThrows(NullPointerException.class, () -> { // Intentionally dereference null to validate exception behavior // This checks that callers must handle null references defensively info.getSize(); }); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.8K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/ReactorManager.java
|| FAIL_NEVER.equals(failureBehavior)) { this.failureBehavior = failureBehavior; } else { throw new IllegalArgumentException("Invalid failure behavior (must be one of: '" + FAIL_FAST + "', '" + FAIL_AT_END + "', '" + FAIL_NEVER + "')."); } } public String getFailureBehavior() { return failureBehavior; }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Dec 12 11:02:17 GMT 2024 - 6K bytes - Click Count (0) -
android/guava/src/com/google/common/io/Closer.java
* {@linkplain #close closed}. This was intended to approximately emulate the behavior of Java 7's * <a href="https://docs.oracle.com/javase/tutorial/essential/exceptions/tryResourceClose.html" * >try-with-resources</a> statement in JDK6-compatible code. Code using this should be * approximately equivalent in behavior to the same code written with try-with-resources. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 10.3K bytes - Click Count (0) -
src/test/java/jcifs/util/PathValidatorTest.java
// This test validates that paths which should be UNC but aren't detected due to normalization // still pass validation (which is the current behavior, though not ideal) // These paths normalize to \server\share which is NOT detected as UNC due to normalization String normalizedPath = noUncValidator.validatePath("\\\\\\\\server\\\\\\\\share");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 14.6K bytes - Click Count (0) -
src/test/java/jcifs/config/BaseConfigurationTest.java
assertEquals(0, config.getBatchLimit("TreeConnectAndX.QueryInformation")); // Test unspecified batch limit assertEquals(1, config.getBatchLimit("UnknownCommand")); // Test caching behavior assertEquals(0, config.getBatchLimit("TreeConnectAndX.QueryInformation")); } @Test @DisplayName("Test getBatchLimit with custom implementation")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 20.6K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java
private static final String TEST_SERVER = "server"; private static final String TEST_ENDPOINT = "\\pipe\\test"; @BeforeEach void setUp() throws IOException { // Setup mock behavior with lenient stubbing to avoid UnnecessaryStubbingException lenient().when(mockSmbNamedPipe.openPipe()).thenReturn(mockSmbPipeHandle);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 21K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ForwardingExecutorService.java
import org.jspecify.annotations.Nullable; /** * An executor service which forwards all its method calls to another executor service. Subclasses * should override one or more methods to modify the behavior of the backing executor service as * desired per the <a href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>. * * <p><b>{@code default} method warning:</b> This class does <i>not</i> forward calls to {@code
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 4.1K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategyTest.java
// Apply dependency inference UpgradeContext context = createMockContext(); strategy.doApply(context, pomMap); // Verify correct behavior when version doesn't match: // - groupId should be removed (can be inferred from project regardless of version) // - version should remain (doesn't match project version, so can't be inferred)Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 35.2K bytes - Click Count (0)