- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 211 for Ensure (1.2 sec)
-
src/test/java/jcifs/smb1/smb1/NtlmContextTest.java
assertTrue(type1Token.length > 0); // Decode the token to verify its properties Type1Message type1Message = new Type1Message(type1Token); // Type1Message ORs default flags with provided flags; ensure expected bits are present assertTrue((type1Message.getFlags() & context.ntlmsspFlags) == context.ntlmsspFlags); assertEquals(domain, type1Message.getSuppliedDomain()); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java
* and handling the overall crawling lifecycle. * * <p>It implements the Runnable interface to be executed in a separate thread, * and the AutoCloseable interface to ensure resources are properly released after use. * * <p>The crawler uses several services and components, such as UrlQueueService, DataService, * UrlFilter, RuleManager, CrawlerContainer, IntervalController, and CrawlerClientFactory,
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 17K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java
auth3.close(); auth4.close(); } finally { auth1.close(); auth2.close(); } } /** * Test concurrent password comparisons to ensure thread safety and consistent timing. */ @Test public void testConcurrentTimingConsistency() throws Exception { final char[] password = "concurrenttestpassword".toCharArray();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionImplTest.java
void testTreeConnectLogonValid() throws Exception { SmbSessionImpl session = spy(newSession()); when(configuration.getLogonShare()).thenReturn("LOGON$"); // Mock tree and ensure it is returned by getSmbTree SmbTreeImpl tree = mock(SmbTreeImpl.class); doReturn(tree).when(session).getSmbTree(eq("LOGON$"), isNull()); // Act session.treeConnectLogon();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/IpAddressUtil.java
// Utility class - no instances allowed } /** * Determines if the given address string represents an IPv6 address. * This method validates the address using InetAddress to ensure it's a valid IPv6 address. * * @param address the IP address string to check * @return true if the address is a valid IPv6 address, false otherwise */Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 06 08:31:03 UTC 2025 - 9.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/net/protocol/gcs/Handler.java
} /** * Establishes a connection to the GCS service. * This method creates a GCS Storage client using environment variables for configuration. * This method is synchronized to ensure thread-safe connection initialization. * * @throws IOException If the connection cannot be established */ @Override public synchronized void connect() throws IOException {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 9.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/net/protocol/s3/Handler.java
} /** * Establishes a connection to the S3 service. * This method creates an AWS S3 client using environment variables for configuration. * This method is synchronized to ensure thread-safe connection initialization. * * @throws IOException If the connection cannot be established */ @Override public synchronized void connect() throws IOException {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 07:57:44 UTC 2025 - 9.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java
import jcifs.internal.util.SMBUtil; import jcifs.util.Crypto; /** * SMB2/SMB3 message signing digest implementation. * * This class handles cryptographic signing of SMB2/SMB3 messages to ensure * message integrity and authenticity. It supports different signing algorithms * used in various SMB2/SMB3 dialect versions. * * @author mbechler */
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/storage/GcsStorageClient.java
storage.create(BucketInfo.newBuilder(bucket).build()); logger.info("Created storage bucket: {}", bucket); } } catch (final Exception e) { logger.warn("Failed to ensure bucket exists: {}", bucket, e); } } @Override public boolean isAvailable() { try { return storage.get(bucket) != null; } catch (final Exception e) {
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 13 02:21:17 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/util/SmbCircuitBreakerTest.java
// Skipping assertions that assume non-critical errors don't affect circuit state // as the actual implementation may handle this differently // Reset to ensure clean state for critical error test if (customCb.getState() != State.CLOSED) { customCb.reset(); } // Critical failures - should open circuit after threshold
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.2K bytes - Viewed (0)