- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 561 for prevent (0.04 sec)
-
src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java
private static final SecurityAuditLogger auditLogger = SecurityAuditLogger.getInstance(); /** * Performs constant-time comparison of two char arrays to prevent timing attacks. * This method always compares the full length of both arrays, regardless of when * differences are found, making the execution time independent of the position * of differing characters. *
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/internal/smb2/lease/DirectoryChangeNotifier.java
/** * Determine optimal polling interval based on directory activity and failure count * * Current strategy is based on failure count. In the future, this could be enhanced to consider: * - Recent event frequency (successful notifications) * - Time since last successful notification * - Events per unit time for more adaptive behavior * * @param handle notification handle
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 13.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/DocumentUtil.java
* URL encoding, and other document-related operations. It's designed as a final * utility class with only static methods. * */ public final class DocumentUtil { /** * Private constructor to prevent instantiation of this utility class. */ private DocumentUtil() { // Utility class - no instantiation } /** * Gets a typed value from a document map with a default value. *
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 7.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ds/DataStoreFactory.java
* This method searches for 'fess_ds++.xml' configuration files within JAR files * in the data store plugin directory and extracts component class names. * * <p>The method uses secure XML parsing features to prevent XXE attacks and * other XML-based vulnerabilities. Component class names are extracted from * the 'class' attribute of 'component' elements in the XML files.</p> *
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 8.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/ResourceUtil.java
/** Constant value representing Docker application type */ private static final String FESS_APP_DOCKER = "docker"; /** * Protected constructor to prevent instantiation of this utility class. * This class is designed to be used statically. */ protected ResourceUtil() { // nothing } /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 14.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/FormBodyTest.kt
assertThat(formEncode(255)).isEqualTo("%C3%BF") } @Throws(IOException::class) private fun formEncode(codePoint: Int): String { // Wrap the codepoint with regular printable characters to prevent trimming. val body = FormBody .Builder() .add("a", String(intArrayOf('b'.code, codePoint, 'c'.code), 0, 3)) .build() val buffer = Buffer() body.writeTo(buffer)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 7.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/CacheControl.kt
* * See [RFC 7234, 5.2](https://tools.ietf.org/html/rfc7234#section-5.2). */ class CacheControl internal constructor( /** * In a response, this field's name "no-cache" is misleading. It doesn't prevent us from caching * the response; it only means we have to validate the response with the origin server before * returning it. We can do this with a conditional GET. *
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 10K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/rpc.java
* used in DCE/RPC communications including UUID, policy handles, unicode strings, and SIDs. */ @SuppressWarnings("all") public class rpc { /** * Private constructor to prevent instantiation of utility class. */ private rpc() { // Utility class } /** * UUID (Universally Unique Identifier) structure for DCE/RPC.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileHandleImpl.java
log.error("Error during file handle finalization", e); } finally { super.finalize(); } } /** * Emergency cleanup method to prevent resource leaks during finalization */ private void emergencyCloseHandle() { try { synchronized (this) { // Force close the handle this.open = false;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.4K bytes - Viewed (1) -
src/main/java/jcifs/smb/SmbSessionImpl.java
// Could attempt re-registration here } } /** * Handle a witness event * * @param notification the witness notification */ private void handleWitnessEvent(WitnessNotification notification) { log.info("Handling witness event: {} for resource: {}", notification.getEventType(), notification.getResourceName());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 68.9K bytes - Viewed (0)