Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 441 - 450 of 674 for maximal (0.05 seconds)

  1. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java

    import jcifs.internal.smb2.Smb2Constants;
    import jcifs.internal.util.SMBUtil;
    import jcifs.smb.NtStatus;
    import jcifs.smb.SmbException;
    
    class Smb2IoctlResponseTest {
    
        // Helper: build a minimal SMB2 header with a given status
        private static byte[] buildHeader(int status) {
            byte[] hdr = new byte[64]; // SMB2 header is 64 bytes
            System.arraycopy(SMBUtil.SMB2_HEADER, 0, hdr, 0, 64);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java

            // The decode method returns only the header size (16 bytes)
            assertEquals(16, bytesDecoded);
        }
    
        @Test
        @DisplayName("Test decode with maximum values")
        void testDecodeWithMaxValues() throws SMBProtocolDecodingException {
            // Prepare test data with max values
            byte[] buffer = new byte[20]; // 16 header + 4 data
            int bufferIndex = 0;
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/builder/RequestDataBuilderTest.java

            assertEquals("https://second.com", data.getUrl());
            assertEquals(2.0f, data.getWeight(), 0.001f);
        }
    
        public void test_minimalUsage() {
            // Test minimal usage (just URL)
            RequestData data = RequestDataBuilder.newRequestData().url("https://example.com").build();
    
            assertNull(data.getMethod());
            assertEquals("https://example.com", data.getUrl());
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

         *
         * @param b the buffer into which the data is read
         * @param off the start offset in the array b at which the data is written
         * @param len the maximum number of bytes to read
         * @return the total number of bytes read into the buffer, or -1 if there is no more data
         * @throws IOException if an I/O error occurs
         */
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  5. src/main/java/jcifs/util/SmbCircuitBreaker.java

         */
        public long getMinResponseTime() {
            long min = minResponseTime.get();
            return min == Long.MAX_VALUE ? 0 : min;
        }
    
        /**
         * Get maximum response time
         *
         * @return maximum response time in milliseconds
         */
        public long getMaxResponseTime() {
            return maxResponseTime.get();
        }
    
        /**
         * Close circuit breaker and cleanup resources
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 33.4K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/CompactHashSet.java

          int expectedSize) {
        return new CompactHashSet<>(expectedSize);
      }
    
      /**
       * Maximum allowed false positive probability of detecting a hash flooding attack given random
       * input.
       */
      @VisibleForTesting(
          )
      static final double HASH_FLOODING_FPP = 0.001;
    
      /**
       * Maximum allowed length of a hash table bucket before falling back to a j.u.LinkedHashSet based
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 24.7K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java

            assertTrue(result.contains("securityInformation=0x" + Hexdump.toHexString(securityInfo, 8)));
        }
    
        @Test
        @DisplayName("Test toString method with maximum values")
        void testToStringMaxValues() {
            int fid = 0xFFFF;
            int securityInfo = 0xFFFFFFFF;
            querySecurityDesc = new NtTransQuerySecurityDesc(mockConfig, fid, securityInfo);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.9K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java

        private static final long MAX_POLL_INTERVAL = 30000;
        private static final long BASE_RETRY_DELAY = 1000;
        private static final long MAX_RETRY_DELAY = 30000;
        private static final int MAX_BACKOFF_SHIFT = 3; // Maximum 8 seconds (2^3 * 1000ms)
    
        private final DirectoryLeaseManager leaseManager;
        private final ConcurrentHashMap<String, ChangeNotificationHandle> activeWatchers;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 13.7K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java

            SMBProtocolDecodingException ex1 = assertThrows(SMBProtocolDecodingException.class, () -> response.readBytesWireFormat(buffer, 0));
            assertEquals("Structure size != 4", ex1.getMessage());
    
            // Test maximum 2-byte value (65535)
            SMBUtil.writeInt2(65535, buffer, 0);
    
            SMBProtocolDecodingException ex2 = assertThrows(SMBProtocolDecodingException.class, () -> response.readBytesWireFormat(buffer, 0));
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  10. guava/src/com/google/common/cache/LocalCache.java

       */
    
      // Constants
    
      /**
       * The maximum capacity, used if a higher value is implicitly specified by either of the
       * constructors with arguments. MUST be a power of two {@code <= 1<<30} to ensure that entries are
       * indexable using ints.
       */
      static final int MAXIMUM_CAPACITY = 1 << 30;
    
      /** The maximum number of segments to allow; used to bound constructor arguments. */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 11 19:35:11 GMT 2025
    - 148.9K bytes
    - Click Count (0)
Back to Top