- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 261 for prevent (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/org/codelibs/fess/dict/synonym/SynonymItem.java
if (id == 0) { // create newInputs = inputs; newOutputs = outputs; } } /** * Gets the new input words. * Returns a defensive copy to prevent external modification. * * @return The new input words (defensive copy). */ public String[] getNewInputs() { return newInputs == null ? null : newInputs.clone(); } /**Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Nov 20 07:09:00 GMT 2025 - 6K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/FileUtil.java
/** * Utility class for handling {@link File}. * <p> * <strong>SECURITY NOTE:</strong> When accepting file paths from untrusted sources, * always validate them using {@link #isPathSafe(Path, Path)} to prevent path traversal attacks. * Methods that accept path strings do not perform automatic validation to maintain backward compatibility. * </p> * * @author higa */ public abstract class FileUtil { /**Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat Nov 22 11:21:59 GMT 2025 - 13.1K bytes - Click Count (0) -
src/main/java/jcifs/util/InputValidator.java
*/ package jcifs.util; import java.util.regex.Pattern; /** * Comprehensive input validation utility for SMB protocol implementation. * Provides validation methods to prevent buffer overflows, injection attacks, * and other security vulnerabilities. */ public final class InputValidator { private InputValidator() { // Utility class }Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 13.5K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/BufferCache.java
* - Uses ConcurrentLinkedQueue for O(1) operations * - Lock-free operations for better concurrency * - Proper buffer validation and limits */ public class BufferCache { /** * Private constructor to prevent instantiation of this utility class. */ private BufferCache() { // Utility class - not instantiable } private static final int MAX_BUFFERS = Config.getInt("jcifs.smb1.smb.maxBuffers", 16);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 4.2K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTreeHandleImpl.java
throw new RuntimeCIFSException("Usage count dropped below zero"); } } @Override protected void finalize() throws Throwable { try { // Add null check to prevent NPE if object was not fully constructed if (this.usageCount != null && this.usageCount.get() != 0) { log.warn("Tree handle was not properly released, performing emergency cleanup: "
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 11.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/dict/mapping/CharMappingItem.java
newInputs = inputs; newOutput = output; } } /** * Returns the array of new input character sequences for update operations. * Returns a defensive copy to prevent external modification. * * @return array of new input sequences (defensive copy), or null if no updates are pending */ public String[] getNewInputs() {Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Nov 20 07:09:00 GMT 2025 - 7.9K bytes - Click Count (0) -
build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/androidhomewarmup/AndroidHomeWarmupPlugin.kt
package gradlebuild.integrationtests.androidhomewarmup import org.gradle.api.Plugin import org.gradle.api.Project import org.gradle.kotlin.dsl.register /** * Plugin that pre-downloads Android SDK components to prevent race conditions during parallel builds. * * When multiple Android builds run in parallel and share the same `ANDROID_HOME`, the Android Gradle Plugin
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Nov 27 08:49:21 GMT 2025 - 2.2K bytes - Click Count (0) -
KEYS.md
``` If you see a warning message like `gpg: WARNING: This key is not certified with a trusted signature!`, you can locally sign the Gradle key after importing it. This tells your GPG installation that you trust this key and will prevent the warning from appearing again. To do this, run the following command: ```bash gpg --sign-key 1BD97A6A154E7810EE0BC832E2F38302C8075E3D ``` ## Public Key Block in ascii-armored format ```
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Dec 04 14:29:13 GMT 2025 - 4.7K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java
return new EncryptionResult(ciphertext, authTag); } /** * Perform constant-time encryption to prevent timing attacks */ private byte[] performConstantTimeEncryption(Cipher cipher, byte[] message) throws Exception { // Pad to fixed block size to prevent timing leaks int blockSize = cipher.getBlockSize(); if (blockSize == 0) blockSize = 16; // GCM modeCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 35.5K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/ResponseDataUtil.java
import org.codelibs.fess.crawler.exception.CrawlingAccessException; /** * Utility class for handling response data. */ public final class ResponseDataUtil { /** * Private constructor to prevent instantiation of this utility class. */ private ResponseDataUtil() { } /** * Creates a temporary file containing the response body from the given ResponseData. *Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sat Nov 22 13:28:22 GMT 2025 - 2.3K bytes - Click Count (0)