- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for Given (0.27 sec)
-
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java
response = new Smb2ChangeNotifyResponse(mockConfig); } @Test @DisplayName("Should create response with configuration") void testConstructorWithConfiguration() { // Given & When Smb2ChangeNotifyResponse resp = new Smb2ChangeNotifyResponse(mockConfig); // Then assertNotNull(resp); assertTrue(resp instanceof ServerMessageBlock2Response);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
assertEquals(DialectVersion.SMB300, context.getDialect(), "Should support SMB 3.0 dialect"); } @Test @DisplayName("Should securely wipe encryption keys") void testSecureWipeKeys() { // Given byte[] originalEncKey = Arrays.copyOf(testEncryptionKey, testEncryptionKey.length); byte[] originalDecKey = Arrays.copyOf(testDecryptionKey, testDecryptionKey.length);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java
} @Test @DisplayName("Should create response with configuration and output buffer") void testConstructor() { // Given byte[] buffer = new byte[512]; int offset = 10; // When Smb2ReadResponse resp = new Smb2ReadResponse(mockConfig, buffer, offset); // Then assertNotNull(resp);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 22.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
} @Test @DisplayName("Should create new connections when reuse conditions are not met") void testNoConnectionReuse() throws Exception { // Given: Create a new pool for this test to ensure isolation SmbTransportPoolImpl testPool = new SmbTransportPoolImpl(); when(ctx.getTransportPool()).thenReturn(testPool); // Create an existing connection
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 19.2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java
} /** * Test that releaseBuffer validates buffer before accepting it. */ @Test public void testReleaseBufferValidation() { // Given - Various invalid buffers byte[] nullBuffer = null; byte[] wrongSizeBuffer = new byte[100]; // Wrong size byte[] correctBuffer = new byte[SmbComTransaction.TRANSACTION_BUF_SIZE];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java
} /** * Test that concurrent tree operations are thread-safe with CopyOnWriteArrayList. */ @Test public void testConcurrentTreeOperationsThreadSafe() throws Exception { // Given SmbSessionImpl session = new SmbSessionImpl(mockContext, "testhost", "testdomain", mockTransport); int threadCount = 10; int opsPerThread = 100;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SystemHelper.java
} /** * Gets the search role for a given user. * * @param name The username. * @return The search role. */ public String getSearchRoleByUser(final String name) { return createSearchRole(ComponentUtil.getFessConfig().getRoleSearchUserPrefix(), name); } /** * Gets the search role for a given group. * * @param name The group name.
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sun Aug 31 08:19:00 UTC 2025 - 36.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java
state = 0; } } return new String(out, 0, j); } /** * Check if the given mechanism is preferred for this credential * * @param mechanism the mechanism to check * @return whether the given mechanism is the preferred one for this credential */ public boolean isPreferredMech(ASN1ObjectIdentifier mechanism) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/compression/CompressionService.java
* * @return array of supported algorithm constants */ int[] getSupportedAlgorithms(); /** * Estimates the compression ratio for the given data and algorithm. * This can be used to decide whether compression is worthwhile. * * @param data the data to analyze * @param algorithm the compression algorithm
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 5.2K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/BloomFilter.java
* * <p>Implementations should be collections of pure functions (i.e. stateless). */ interface Strategy extends java.io.Serializable { /** * Sets {@code numHashFunctions} bits of the given bit array, by hashing a user element. * * <p>Returns whether any bits changed as a result of this operation. */ <T extends @Nullable Object> boolean put( @ParametricNullness T object,
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 31 13:15:26 UTC 2025 - 26.9K bytes - Viewed (0)