- Sort Score
- Result 10 results
- Languages All
Results 311 - 320 of 499 for initializer (0.18 sec)
-
src/test/java/jcifs/smb1/smb1/TestLockingTest.java
} @AfterEach void restoreStreams() { System.setOut(originalOut); System.setErr(originalErr); } @Test @DisplayName("TestLocking fields are properly initialized") void testFieldInitialization() { TestLocking t = new TestLocking(); // Check default field values assertEquals(1, t.numThreads, "Default numThreads should be 1");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/AbstractCache.java
private final LongAddable totalLoadTime = LongAddables.create(); private final LongAddable evictionCount = LongAddables.create(); /** Constructs an instance with all counts initialized to zero. */ public SimpleStatsCounter() {} /** * @since 11.0 */ @Override public void recordHits(int count) { hitCount.add(count); } /**
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 9.1K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmServlet.java
} this.transportContext = new BaseContext(new PropertyConfiguration(p)); } catch (final CIFSException ex) { throw new ServletException("Failed to initialize config", ex); } } @Override protected void service(final HttpServletRequest request, final HttpServletResponse response) throws ServletException, IOException { Address dc;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.1K bytes - Viewed (1) -
src/main/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaConnection.java
response.setMaxReadWriteSize(0); // No RDMA read/write support response.setMaxFragmentedSize(request.getMaxFragmentedSize()); state = RdmaConnectionState.ESTABLISHED; // Initialize credits sendCredits.set(response.getCreditsGranted()); log.debug("TCP RDMA negotiation completed with {} credits", response.getCreditsGranted()); return response; } @Override
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 8.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java
void testSetupCountInitialization() { notifyChange = new NtTransNotifyChange(mockConfig, 0x1234, FILE_NOTIFY_CHANGE_FILE_NAME, false); // The setup count should be initialized to 0x04 in the constructor // We can't directly access it, but we can verify the behavior is correct assertNotNull(notifyChange); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.4K bytes - Viewed (0) -
src/main/java/jcifs/config/PropertyConfiguration.java
public PropertyConfiguration(Properties props) throws CIFSException { super(false); initFromProperties(props); initDefaults(); // Use original initDefaults } /** * Initialize configuration from properties */ private void initFromProperties(Properties props) { String value; // Standard jCIFS properties value = props.getProperty("jcifs.smb.client.username");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:49:49 UTC 2025 - 13.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java
@BeforeEach void setUp() { mockConfig = mock(Configuration.class); response = new Smb2SetInfoResponse(mockConfig); } @Test @DisplayName("Test constructor initializes with config") void testConstructor() { assertNotNull(response); // Command is not set in constructor, only after decoding assertEquals((short) 0, response.getCommand()); } @TestRegistered: 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/internal/smb1/trans/TransCallNamedPipeTest.java
private static final byte[] TEST_DATA = "Test pipe data".getBytes(); @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); } @Test @DisplayName("Test constructor initializes fields correctly") void testConstructorInitialization() { // Given int offset = 0; int length = TEST_DATA.length; // When
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java
import static org.junit.jupiter.api.Assertions.assertTrue; import org.junit.jupiter.api.Test; /** * Unit tests for the Trans2FindNext2 class. */ class Trans2FindNext2Test { /** * Verifies constructor initializes protocol fields and limits correctly. */ @Test void testConstructorInitializesFields() { // Given int sid = 0x2222; int resumeKey = 0x12345678;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java
@BeforeEach void setUp() { mockConfig = mock(Configuration.class); mockContext = mock(CIFSContext.class); mockRandom = mock(SecureRandom.class); // Initialize test data for (int i = 0; i < 16; i++) { testMachineId[i] = (byte) (i + 1); } for (int i = 0; i < 32; i++) { testSalt[i] = (byte) (i + 0x10); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0)