- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 102 for Construction (0.06 sec)
-
guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java
* ConcurrentModificationException}, and guarantees to traverse elements as they existed upon * construction of the iterator, and may (but is not guaranteed to) reflect any modifications * subsequent to construction. * * @return an iterator over the elements in this queue in proper sequence */ @CanIgnoreReturnValue @Override
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 22.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/HandlerTest.java
// Act & Assert assertThrows(NullPointerException.class, () -> handler.openConnection(null), "Null URL should throw NPE"); verify(mockCtx, never()).getConfig(); // no interaction expected on failure before construction } @Test @DisplayName("openConnection uses SingletonContext when no context provided") void testOpenConnection_UsesSingletonContext() throws Exception { // ArrangeRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/LsaPolicyHandleTest.java
// Assert assertNotNull(handle); verify(mockDcerpcHandle, times(1)).sendrecv(any(MsrpcLsarOpenPolicy2.class)); // We cannot directly assert the 'opened' field as it's private, but successful construction implies it. } @Test void constructor_shouldHandleNullServerSuccessfully() throws IOException { // Arrange String server = null; int access = 123;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/BufferCacheImplTest.java
when(cfg.getMaximumBufferSize()).thenReturn(5); BufferCacheImpl impl = new BufferCacheImpl(cfg); // Verify interactions happen exactly once during construction verify(cfg, times(1)).getBufferCacheSize(); verify(cfg, times(1)).getMaximumBufferSize(); verifyNoMoreInteractions(cfg);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/ShareEnumIteratorTest.java
} @Nested @DisplayName("Invalid constructor inputs") class InvalidInputs { @Test @DisplayName("Null delegate causes NullPointerException during construction") void nullDelegate_throwsNPE() throws Exception { SmbFile parent = newParent(); assertThrows(NullPointerException.class, () -> new ShareEnumIterator(parent, null, null)); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractor.java
*/ public ApiExtractor() { // NOP } /** * Initializes the API extractor, setting up the HTTP client and configuration. * This method is called after construction to initialize the HTTP client with * configured timeouts, authentication, and request headers. */ @PostConstruct public void init() { if (logger.isDebugEnabled()) {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 12.2K bytes - Viewed (0) -
android/guava/src/com/google/common/math/LinearTransformation.java
checkArgument(isFinite(x1) && isFinite(y1)); return new LinearTransformationBuilder(x1, y1); } /** * This is an intermediate stage in the construction process. It is returned by {@link * LinearTransformation#mapping}. You almost certainly don't want to keep instances around, but * instead use method chaining. This represents a single point mapping, i.e. a mapping between one
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 9.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java
// Then assertNotNull(newResponse); // Verify the response was created successfully with the configuration // The constructor doesn't actually call any methods on the config during construction } } @Nested @DisplayName("Edge case tests") class EdgeCaseTests { @Test @DisplayName("Should handle maximum buffer index")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/ndr/NdrShortTest.java
import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.ValueSource; import org.mockito.junit.jupiter.MockitoExtension; /** * Unit tests for {@link NdrShort}. The tests cover construction, * encoding and decoding logic, masking behaviour, alignment handling and * interaction with {@link NdrBuffer}. All public behaviour is exercised. */ @ExtendWith(MockitoExtension.class) class NdrShortTest {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbCopyUtilTest.java
SmbFile dest = mock(SmbFile.class); CIFSContext ctx = ctxWithIgnore(false); when(src.getContext()).thenReturn(ctx); // Force failure before any stream construction when(src.openUnshared(anyInt(), anyInt(), anyInt(), anyInt(), anyInt())).thenThrow(new SmbException("boom"));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0)