- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 1,367 for construction (0.08 sec)
-
src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java
when(mockConfig.getPid()).thenReturn(12345); response = new SmbComSeekResponse(mockConfig); } /* ------------------------------------------------------------------ */ /* 1. Construction and basic getters */ /* ------------------------------------------------------------------ */ @Test @DisplayName("Construct with a valid configuration - should not throw")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K 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: Sun Sep 07 00:10:21 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
} /** * Validate that the constructor masks the supplied value to its * lowest 8 bits (NdrShort incorrectly masks to 8 bits even though it's a short). */ @ParameterizedTest @ValueSource(ints = { 0, 1, 255, -1, 256, 65535 }) void constructorMasksValue(int input) { NdrShort ns = new NdrShort(input); // NdrShort masks to 0xFF (8 bits) in its constructor int expected = input & 0xFF;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.1K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Suppliers.java
MemoizingSupplier(Supplier<T> delegate) { this.delegate = checkNotNull(delegate); } @Override @ParametricNullness // We set the field only once (during construction or deserialization). @SuppressWarnings("SynchronizeOnNonFinalField") public T get() { // A 2-field variant of Double Checked Locking. if (!initialized) { synchronized (lock) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 16.5K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java
* will never throw {@link 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 */ @CanIgnoreReturnValue // pushed down from class to method @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 18.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SpnegoContextTest.java
when(this.mechContext.getFlags()).thenReturn(0x1234); when(this.mechContext.initSecContext(any(byte[].class), eq(0), eq(0))).thenReturn(new byte[] { 0x01, 0x02 }); // Act: len==0 triggers initial token construction byte[] out = ctx.initSecContext(null, 0, 0); // Assert: returns a SPNEGO token (opaque here but non-null/non-empty) assertNotNull(out); assertTrue(out.length > 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K 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 Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 9.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/parser/QueryParser.java
* and default operator. It also allows adding custom filters to modify query behavior.</p> * */ public class QueryParser { /** * Default constructor. */ public QueryParser() { // Default constructor } /** The default field to search in when no field is specified in the query */ protected String defaultField = Constants.DEFAULT_FIELD;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 10.2K bytes - Viewed (0) -
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 Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 22.4K bytes - Viewed (0)