Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 305 for maxValue (0.09 sec)

  1. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java

            assertEquals(expectedLength, actualLength);
        }
    
        @DisplayName("Test readParametersWireFormat with various lengths")
        @ParameterizedTest
        @ValueSource(ints = { 0, 1, 100, 1000, 65535, Integer.MAX_VALUE })
        void testReadParametersWireFormatWithVariousLengths(int expectedLength) throws Exception {
            byte[] buffer = new byte[100];
            SMBUtil.writeInt4(expectedLength, buffer, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/io/Files.java

       * FileChannel#map(java.nio.channels.FileChannel.MapMode, long, long)}.
       *
       * <p>Files are mapped from offset 0 to its length.
       *
       * <p>This only works for files ≤ {@link Integer#MAX_VALUE} bytes.
       *
       * @param file the file to map
       * @return a read-only buffer reflecting {@code file}
       * @throws FileNotFoundException if the {@code file} does not exist
       * @throws IOException if an I/O error occurs
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/KotlinDeprecationErrorTest.kt

        val certificatePinner: CertificatePinner? = address.certificatePinner()
      }
    
      @Test @Disabled
      fun cache() {
        val cache = Cache(File("/cache/"), Integer.MAX_VALUE.toLong())
        val directory: File = cache.directory()
      }
    
      @Test @Disabled
      fun cacheControl() {
        val cacheControl: CacheControl = CacheControl.Builder().build()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

            this.server.serverTime = SMBUtil.readTime(buffer, bufferIndex);
            bufferIndex += 8;
            int tzOffset = SMBUtil.readInt2(buffer, bufferIndex);
            // tzOffset is signed!
            if (tzOffset > Short.MAX_VALUE) {
                tzOffset = -1 * (65536 - tzOffset);
            }
            this.server.serverTimeZone = tzOffset;
            bufferIndex += 2;
            this.server.encryptionKeyLength = buffer[bufferIndex++] & 0xFF;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

          extends TestIntegerListGenerator {
        @Override
        protected List<Integer> create(Integer[] elements) {
          Integer[] suffix = {Integer.MIN_VALUE, Integer.MAX_VALUE};
          Integer[] all = concat(elements, suffix);
          return makeArray(all).subArray(0, elements.length).asList();
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // used only from suite
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.2K bytes
    - Viewed (0)
  6. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt

                lengthBits = lengthBits shl 8
                lengthBits += source.readByte().toInt() and 0xff
              }
    
              if (lengthBits < 0) throw ProtocolException("length > Long.MAX_VALUE")
    
              lengthBits
            }
            else -> {
              // Length is 127 or fewer bytes.
              (length0 and 0b0111_1111).toLong()
            }
          }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java

                        | Smb2Constants.SMB2_GLOBAL_CAP_DIRECTORY_LEASING | Smb2Constants.SMB2_GLOBAL_CAP_ENCRYPTION;
    
                assertTrue(maxCap > 0 && maxCap < Integer.MAX_VALUE, "Combined capabilities should fit in positive 32-bit integer");
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java

            // Test interval boundary values quickly
            dataIndexHelper.setCrawlingExecutionInterval(0L);
            dataIndexHelper.setCrawlingExecutionInterval(1L);
            dataIndexHelper.setCrawlingExecutionInterval(Long.MAX_VALUE);
            assertTrue("Boundary value tests should be fast", true);
        }
    
        public void test_performance_optimization() {
            // Verify that performance optimizations are working
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  9. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

            } else if (bodyIsStreaming(response)) {
              logger.log("<-- END HTTP (streaming)")
            } else {
              val source = responseBody.source()
              source.request(Long.MAX_VALUE) // Buffer the entire body.
    
              val totalMs = TimeUnit.NANOSECONDS.toMillis(System.nanoTime() - startNs)
    
              var buffer = source.buffer
    
              var gzippedLength: Long? = null
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 21 14:27:04 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

                try {
                    Properties props = new Properties();
    
                    try (FileInputStream in = new FileInputStream(touchfile)) {
                        try (FileLock lock = in.getChannel().lock(0, Long.MAX_VALUE, true)) {
                            getLogger().debug("Reading resolution-state from: " + touchfile);
                            props.load(in);
    
                            return props;
                        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Apr 22 22:13:51 UTC 2025
    - 12.1K bytes
    - Viewed (0)
Back to top