Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 800 for Prevent (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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 mode
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 35.5K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/core/io/SerializeUtil.java

         */
        protected SerializeUtil() {
        }
    
        private static final int BYTE_ARRAY_SIZE = 8 * 1024;
    
        /**
         * Default set of allowed class name patterns for deserialization.
         * This helps prevent deserialization attacks by restricting which classes can be instantiated.
         */
        private static final Set<String> DEFAULT_ALLOWED_PATTERNS =
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java

        public int hashCode() {
          return slowItDown() + hash;
        }
    
        @Override
        public int compareTo(Element e) {
          int x = slowItDown();
          return x + super.compareTo(e) - x; // silly attempt to prevent opt
        }
    
        static int slowItDown() {
          int result = 0;
          for (int i = 1; i <= 1000; i++) {
            result += i;
          }
          return result;
        }
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/accesstoken/EditForm.java

         */
        @ValidateTypeFailure
        public Long updatedTime;
    
        /**
         * The version number of the access token for optimistic locking.
         * This field is required to prevent concurrent modification conflicts
         * by ensuring the token hasn't been modified by another process.
         */
        @Required
        @ValidateTypeFailure
        public Integer versionNo;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

            } else {
                throwValidationError(messages -> messages.addErrorsDesignFileIsUnsupportedType("designFileName"), this::asListHtml);
                return null;
            }
    
            // Validate path to prevent path traversal attacks
            if (expectedBaseDir != null && !isValidUploadPath(uploadFile, expectedBaseDir)) {
                logger.warn("Path traversal attempt detected: fileName={}", fileName);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 23 23:57:26 GMT 2026
    - 20.1K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/primitives/Booleans.java

        @Override
        public boolean contains(@Nullable Object target) {
          // Overridden to prevent a ton of boxing
          return (target instanceof Boolean)
              && Booleans.indexOf(array, (Boolean) target, start, end) != -1;
        }
    
        @Override
        public int indexOf(@Nullable Object target) {
          // Overridden to prevent a ton of boxing
          if (target instanceof Boolean) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Sep 25 15:01:23 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/badword/EditForm.java

         */
        @ValidateTypeFailure
        public Long updatedTime;
    
        /**
         * The version number of the bad word entry for optimistic locking.
         * This field is required to prevent concurrent modification conflicts
         * by ensuring the entry hasn't been modified by another process.
         */
        @Required
        @ValidateTypeFailure
        public Long versionNo;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/boostdoc/EditForm.java

         */
        @ValidateTypeFailure
        public Long updatedTime;
    
        /**
         * The version number of the boost document configuration for optimistic locking.
         * This field is required to prevent concurrent modification conflicts
         * by ensuring the configuration hasn't been modified by another process.
         */
        @Required
        @ValidateTypeFailure
        public Integer versionNo;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/fileauth/EditForm.java

         */
        @ValidateTypeFailure
        public Long updatedTime;
    
        /**
         * The version number of the file authentication configuration for optimistic locking.
         * This field is required to prevent concurrent modification conflicts
         * by ensuring the configuration hasn't been modified by another process.
         */
        @Required
        @ValidateTypeFailure
        public Integer versionNo;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/fileconfig/EditForm.java

         */
        @ValidateTypeFailure
        public Long updatedTime;
    
        /**
         * The version number of the file configuration for optimistic locking.
         * This field is required to prevent concurrent modification conflicts
         * by ensuring the configuration hasn't been modified by another process.
         */
        @Required
        @ValidateTypeFailure
        public Integer versionNo;
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.3K bytes
    - Click Count (0)
Back to Top