Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 579 for prevent (0.04 sec)

  1. guava/src/com/google/common/primitives/Doubles.java

        @Override
        public boolean contains(@Nullable Object target) {
          // Overridden to prevent a ton of boxing
          return (target instanceof Double)
              && Doubles.indexOf(array, (Double) target, start, end) != -1;
        }
    
        @Override
        public int indexOf(@Nullable Object target) {
          // Overridden to prevent a ton of boxing
          if (target instanceof Double) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Interners.java

        return newBuilder().strong().build();
      }
    
      /**
       * Returns a new thread-safe interner which retains a weak reference to each instance it has
       * interned, and so does not prevent these instances from being garbage-collected. This most
       * likely does not perform as well as {@link #newStrongInterner}, but is the best alternative when
       * the memory usage of that implementation is unacceptable.
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 6K bytes
    - Viewed (0)
  3. src/main/assemblies/files/fess.in.bat

    set FESS_MAX_MEM=%FESS_HEAP_SIZE%
    )
    
    REM min and max heap sizes should be set to the same value to avoid
    REM stop-the-world GC pauses during resize, and so that we can lock the
    REM heap in memory on startup to prevent any of it from being swapped
    REM out.
    set FESS_JAVA_OPTS=%FESS_JAVA_OPTS% -Xms%FESS_MIN_MEM% -Xmx%FESS_MAX_MEM%
    set FESS_JAVA_OPTS=%FESS_JAVA_OPTS% -XX:MaxMetaspaceSize=256m -XX:CompressedClassSpaceSize=32m
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 03:48:59 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/service/DuplicateHostService.java

         *
         * <p>This method returns all duplicate host configurations in the system,
         * ordered by sort order, regular name, and duplicate hostname. The results
         * are limited by the configured maximum fetch size to prevent memory issues.</p>
         *
         * @return a list of all DuplicateHost entities
         */
        public List<DuplicateHost> getDuplicateHostList() {
    
            return duplicateHostBhv.selectList(cb -> {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/duplicatehost/ApiAdminDuplicatehostAction.java

    import jakarta.annotation.Resource;
    
    /**
     * API action for admin duplicate host management.
     * Provides RESTful API endpoints for managing duplicate host settings in the Fess search engine.
     * Duplicate host settings help prevent indexing the same content from multiple similar URLs.
     *
     */
    public class ApiAdminDuplicatehostAction extends FessApiAdminAction {
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java

    /**
     * Security-focused test cases for BufferCache to verify buffer overflow protection.
     */
    public class BufferCacheSecurityTest {
    
        /**
         * Test that buffer allocation validates size to prevent overflow.
         */
        @Test
        public void testBufferSizeValidation() {
            // When - Get a buffer
            byte[] buffer = BufferCache.getBuffer();
    
            // Then - Buffer should have expected size
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbFileTest.java

            // Mock configuration methods
            when(mockConfig.getPid()).thenReturn(1234);
            when(mockCifsContext.getConfig()).thenReturn(mockConfig);
    
            // Mock credentials to prevent NPE
            when(mockCredentials.getUserDomain()).thenReturn("DOMAIN");
            when(mockCifsContext.getCredentials()).thenReturn(mockCredentials);
    
            // Create URL handler
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/context/SingletonContextTest.java

            }
            // Clear system properties that might affect the test
            System.clearProperty("jcifs.properties");
            System.clearProperty("java.protocol.handler.pkgs");
            // Clear jcifs-specific properties to prevent test interference
            System.clearProperty("jcifs.smb.client.nativeOs");
            System.clearProperty("jcifs.smb.client.nativeLanMan");
        }
    
        @Test
        void testInitWithNullProperties() throws CIFSException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/util/SMBUtil.java

     * in SMB protocol format, handling endianness and data type conversions.
     *
     * @author mbechler
     */
    public class SMBUtil {
    
        /**
         * Private constructor to prevent instantiation of utility class.
         */
        private SMBUtil() {
        }
    
        /**
         * Writes a 16-bit integer value to a byte array in little-endian format
         * @param val the value to write
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/util/SecureKeyManager.java

            checkNotClosed();
    
            if (key == null || sessionId == null) {
                throw new IllegalArgumentException("Session ID and key must not be null");
            }
    
            // Clone the key to prevent external modification
            byte[] keyClone = key.clone();
            SecretKey secretKey = new SecretKeySpec(keyClone, algorithm);
    
            // Store in memory
            sessionKeys.put(sessionId, secretKey);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 21.5K bytes
    - Viewed (0)
Back to top