Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 1,012 for Prevent (0.06 seconds)

  1. 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)
  2. src/main/java/jcifs/internal/smb2/rdma/RdmaProviderFactory.java

     *
     * This factory attempts to select the best available RDMA provider
     * based on system capabilities and configuration preferences.
     */
    public class RdmaProviderFactory {
    
        /**
         * Private constructor to prevent instantiation
         */
        private RdmaProviderFactory() {
            // Factory class - not instantiable
        }
    
        private static final Logger log = LoggerFactory.getLogger(RdmaProviderFactory.class);
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  3. helm/minio/templates/_helper_create_svcacct.txt

    #!/bin/sh
    set -e ; # Have script exit in the event of a failed command.
    
    {{- if .Values.configPathmc }}
    MC_CONFIG_DIR="{{ .Values.configPathmc }}"
    MC="/usr/bin/mc --insecure --config-dir ${MC_CONFIG_DIR}"
    {{- else }}
    MC="/usr/bin/mc --insecure"
    {{- end }}
    
    # AccessKey and secretkey credentials file are added to prevent shell execution errors caused by special characters.
    # Special characters for example : ',",<,>,{,}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Mar 28 23:20:50 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/PeekingIterator.java

      /**
       * Returns the next element in the iteration, without advancing the iteration.
       *
       * <p>Calls to {@code peek()} should not change the state of the iteration, except that it
       * <i>may</i> prevent removal of the most recent element via {@link #remove()}.
       *
       * @throws NoSuchElementException if the iteration has no more elements according to {@link
       *     #hasNext()}
       */
      @ParametricNullness
      E peek();
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/main/java/org/codelibs/fess/util/ErrorToWarnRewritePolicy.java

         *
         * @param event the log event to potentially rewrite
         * @return the original event or a new event with WARN level if conversion applied
         */
        @Override
        public LogEvent rewrite(final LogEvent event) {
            final String loggerName = event.getLoggerName();
            if (loggerName == null) {
                return event;
            }
            for (final String name : loggerNames) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3.4K bytes
    - Click Count (0)
Back to Top