Search Options

Results per page
Sort
Preferred Languages
Advance

Results 401 - 410 of 596 for _max (0.4 sec)

  1. src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java

            assertFalse(entry.isComplete());
            assertTrue(entry.hasChanges());
            assertTrue(entry.getChildren().isEmpty());
        }
    
        @Test
        public void testExpiration() {
            // Set a very short max age
            entry.setMaxAge(100); // 100ms
    
            assertFalse(entry.isExpired());
            assertFalse(entry.needsRefresh());
    
            // Wait for expiration
            try {
                Thread.sleep(150);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  2. cmd/test-utils_test.go

    func getListObjectsV1URL(endPoint, bucketName, prefix, maxKeys, encodingType string) string {
    	queryValue := url.Values{}
    	if maxKeys != "" {
    		queryValue.Set("max-keys", maxKeys)
    	}
    	if encodingType != "" {
    		queryValue.Set("encoding-type", encodingType)
    	}
    	return makeTestTargetURL(endPoint, bucketName, prefix, queryValue)
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 77K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

         * @param srcIndex the starting offset in the buffer
         * @param max the maximum number of bytes to scan
         * @return the length of the string in bytes
         */
        protected int readStringLength(final byte[] src, final int srcIndex, final int max) {
            int len = 0;
            while (src[srcIndex + len] != (byte) 0x00) {
                if (len++ > max) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/lease/LeaseManager.java

                        log.debug("Reusing existing lease for path: {}", path);
                        return existingKey;
                    }
                }
    
                // Check if we've reached max leases
                int maxLeases = context.getConfig().getMaxLeases();
                if (maxLeases > 0 && leases.size() >= maxLeases) {
                    // Clean up oldest leases
                    evictOldestLeases(1);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/opensearch/log/allcommon/EsAbstractConditionAggregation.java

            regA(builder);
            return builder;
        }
    
        protected MaxAggregationBuilder regMaxA(String name, String field) {
            MaxAggregationBuilder builder = AggregationBuilders.max(name).field(field);
            regA(builder);
            return builder;
        }
    
        protected MinAggregationBuilder regMinA(String name, String field) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/io/ByteStreams.java

    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.base.Preconditions.checkPositionIndex;
    import static com.google.common.base.Preconditions.checkPositionIndexes;
    import static java.lang.Math.max;
    import static java.lang.Math.min;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.math.IntMath;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 31.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/io/FileUtil.java

        }
    
        /** The encoding name for UTF-8. */
        private static final String UTF8 = "UTF-8";
    
        /** Default Buffer Size */
        protected static final int DEFAULT_BUF_SIZE = 4096; // 4k
    
        /** Max Buffer Size */
        protected static final int MAX_BUF_SIZE = 10 * 1024 * 1024; // 10m
    
        /**
         * Returns the canonical path string for this abstract pathname.
         *
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java

            assertEquals("short", result);
        }
    
        @Test
        void testReadStringWithMaxLengthExceeded() {
            smb.useUnicode = false;
            byte[] buffer = "a very long string that exceeds max length".getBytes();
            assertThrows(RuntimeException.class, () -> {
                smb.readString(buffer, 0, 10, false);
            });
        }
    
        @Test
        void testEncodeDecode() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java

            for (int i = 0; i < 24; i++) {
                assertEquals(0, resumeKey[i], "Resume key byte " + i + " should be 0");
            }
        }
    
        @Test
        @DisplayName("Test decode with all max value bytes")
        void testDecodeWithAllMaxValueBytes() throws SMBProtocolDecodingException {
            byte[] buffer = new byte[28];
            Arrays.fill(buffer, (byte) 0xFF);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java

         */
        @Test
        @DisplayName("Test writeBytesWireFormat with very long file names")
        public void testWriteBytesWireFormatLongFileNames() {
            // Given
            String longOldFileName = "a".repeat(255); // Max filename length
            String longNewFileName = "b".repeat(255);
            byte[] dst = new byte[1024];
            smbComRename = new SmbComRename(config, longOldFileName, longNewFileName);
            int dstIndex = 0;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
Back to top