- Sort Score
- Result 10 results
- Languages All
Results 541 - 550 of 1,393 for Create (0.03 sec)
-
src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java
@Test @DisplayName("Should create with configuration only") void testConstructorWithConfig() { ServerMessageBlock2 msg = new TestServerMessageBlock2(mockConfig); assertNotNull(msg); assertEquals(mockConfig, msg.getConfig()); assertEquals(0, msg.getCommand()); } @Test @DisplayName("Should create with configuration and command")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 39.5K bytes - Viewed (0) -
PULL_REQUESTS_ETIQUETTE.md
- Multiple reviewers are encouraged for complex PRs. 5. **No Self-Edits**: - Don’t modify the PR directly (e.g., fixing bugs). Request changes from the submitter or create a follow-up PR. - If you edit, you’re a collaborator, not a reviewer, and cannot merge. 6. **Testing**: - Assume the submitter tested the code. If testing is unclear, ask for details (e.g., “How was this tested?”).
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun May 25 16:32:03 UTC 2025 - 4.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/StaticJAASConfigurationTest.java
} @Test @DisplayName("Options map is not mutated by configuration (verify no writes)") void optionsMap_notMutated_verifyNoWrites() { // Arrange: create a regular map first, then spy on it Map<String, Object> originalMap = new HashMap<>(); originalMap.put("refreshKrb5Config", "true"); @SuppressWarnings("unchecked")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java
notification = new Smb2OplockBreakNotification(mockConfig); } @Nested @DisplayName("Constructor Tests") class ConstructorTests { @Test @DisplayName("Should create notification with configuration") void testConstructorWithConfiguration() { Smb2OplockBreakNotification testNotification = new Smb2OplockBreakNotification(mockConfig); assertNotNull(testNotification);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/jcifs/util/AuthenticationRateLimiterTest.java
// Make many attempts to trigger global rate limit for (int i = 1; i <= 20; i++) { assertTrue(rateLimiter.checkAttempt("user" + i, "192.168.1." + i), "Attempt " + i + " should be allowed"); } // 21st attempt should be blocked by global rate limit assertFalse(rateLimiter.checkAttempt("user21", "192.168.1.21"), "Should block after global rate limit"); } @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/org/codelibs/opensearch/extension/kuromoji/index/analysis/JapaneseStopTokenFilterFactory.java
this.stopWords = Analysis.parseWords(env, settings, "stopwords", JapaneseAnalyzer.getDefaultStopSet(), NAMED_STOP_WORDS, ignoreCase); } @Override public TokenStream create(TokenStream tokenStream) { if (removeTrailing) { return new StopFilter(tokenStream, stopWords); } else { return new SuggestStopFilter(tokenStream, stopWords); } }Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Sat Mar 15 06:51:20 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvChannelBindingsTest.java
} /** * Test that the constructor stores the reference to the input byte array. * Note: The implementation does not create a defensive copy. */ @Test void testConstructorStoresReference() { byte[] originalHash = { 0x01, 0x02, 0x03 }; AvChannelBindings avChannelBindings = new AvChannelBindings(originalHash);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java
response = new Smb2WriteResponse(mockConfig); } @Nested @DisplayName("Constructor Tests") class ConstructorTests { @Test @DisplayName("Should create response with configuration") void testConstructor() { Smb2WriteResponse writeResponse = new Smb2WriteResponse(mockConfig); assertNotNull(writeResponse);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java
lenient().when(mockContext.getConfig()).thenReturn(mockConfig); request = new Smb2ChangeNotifyRequest(mockConfig, testFileId); } @Test @DisplayName("Should create request with configuration and file ID") void testConstructor() { // Given Configuration config = mock(Configuration.class); when(config.getNotifyBufferSize()).thenReturn(8192);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0) -
src/main/java/jcifs/util/AuthenticationRateLimiter.java
private final AtomicLong totalIpsBlocked = new AtomicLong(0); /** * Create rate limiter with default settings */ public AuthenticationRateLimiter() { this(5, 10, 100, Duration.ofMinutes(30), Duration.ofMinutes(5)); } /** * Create rate limiter with custom settings * * @param maxAttemptsPerAccount max failed attempts per account before lockout
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.1K bytes - Viewed (0)