Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 318 for has_value (0.12 sec)

  1. samples/tlssurvey/src/main/kotlin/okhttp3/survey/CipherSuiteSurvey.kt

        }
        println()
        val sortedSuites =
          ianaSuites.suites.sortedBy { ianaSuite ->
            val index = orderBy.indexOfFirst { it.matches(ianaSuite) }
            if (index == -1) Integer.MAX_VALUE else index
          }
        for (suiteId in sortedSuites) {
          print(suiteId.name)
          for (client in clients) {
            print("\t")
            val index = client.enabled.indexOfFirst { it.matches(suiteId) }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Apr 02 01:44:15 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt

            .utf8()
            .codePoints()
            .toList()
        if (mappedCodePoints.size == 1) {
          val codePointDelta = mappedCodePoints.single() - sourceCodePoint
          if (MappedRange.InlineDelta.MAX_VALUE >= abs(codePointDelta)) {
            return MappedRange.InlineDelta(mapping.rangeStart, codePointDelta)
          }
        }
      }
      return null
    }
    
    /**
     * Inputs must have applied [withoutSectionSpans].
     */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java

            assertEquals("DFS resolution failed", ex.getMessage());
            verify(handle, times(1)).ensureDFSResolved();
        }
    
        @ParameterizedTest
        @ValueSource(ints = { 0, 1, -1, Integer.MIN_VALUE, Integer.MAX_VALUE })
        @DisplayName("hasCapability(cap): returns configured value and captures argument across edge caps")
        void hasCapability_variousCaps_returnsTrue_andCapturesArgument(int cap) throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

            // Test very large timeout
            generator.setCommandTimeout(Long.MAX_VALUE);
            assertTrue(true);
    
            // Test destroy timeout
            generator.setCommandDestroyTimeout(0L);
            assertTrue(true);
    
            generator.setCommandDestroyTimeout(-1L);
            assertTrue(true);
    
            generator.setCommandDestroyTimeout(Long.MAX_VALUE);
            assertTrue(true);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

            byte[] smallBuffer = new byte[10];
    
            // Test with maximum offset
            int result = response.writeSetupWireFormat(smallBuffer, Integer.MAX_VALUE);
            assertEquals(0, result);
    
            result = response.readSetupWireFormat(smallBuffer, Integer.MAX_VALUE, 0);
            assertEquals(0, result);
    
            // Test with negative length (should still return 0)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Queues.java

        Iterables.addAll(queue, elements);
        return queue;
      }
    
      // LinkedBlockingDeque
    
      /**
       * Creates an empty {@code LinkedBlockingDeque} with a capacity of {@link Integer#MAX_VALUE}.
       *
       * @since 12.0
       */
      @J2ktIncompatible
      @GwtIncompatible // LinkedBlockingDeque
      public static <E> LinkedBlockingDeque<E> newLinkedBlockingDeque() {
        return new LinkedBlockingDeque<>();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/InputValidator.java

         * @throws ArithmeticException if operation would overflow
         */
        public static void validateIntegerAddition(int a, int b, String operation) {
            long result = (long) a + (long) b;
            if (result > Integer.MAX_VALUE || result < Integer.MIN_VALUE) {
                throw new ArithmeticException(operation + " would cause integer overflow: " + a + " + " + b);
            }
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java

        void testDecodeWithMaxIndexNumber() throws SMBProtocolDecodingException {
            // Prepare test data
            byte[] buffer = new byte[8];
            long expectedIndexNumber = Long.MAX_VALUE;
    
            // Encode test data
            SMBUtil.writeInt8(expectedIndexNumber, buffer, 0);
    
            // Decode
            int bytesDecoded = fileInternalInfo.decode(buffer, 0, buffer.length);
    
            // Verify
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

        if (safeMax < safeMin) {
          // If the safe range is empty, set the range limits to opposite extremes
          // to ensure the first test of either value will fail.
          safeMax = -1;
          safeMin = Integer.MAX_VALUE;
        }
        this.safeMin = safeMin;
        this.safeMax = safeMax;
    
        // This is a bit of a hack but lets us do quicker per-character checks in
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/primitives/Chars.java

       * @return the same value cast to {@code char} if it is in the range of the {@code char} type,
       *     {@link Character#MAX_VALUE} if it is too large, or {@link Character#MIN_VALUE} if it is too
       *     small
       */
      public static char saturatedCast(long value) {
        if (value > Character.MAX_VALUE) {
          return Character.MAX_VALUE;
        }
        if (value < Character.MIN_VALUE) {
          return Character.MIN_VALUE;
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
Back to top