Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 315 for has_value (0.06 sec)

  1. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

            SMBUtil.writeTime(maxTime, buffer, 32); // changeTime
            SMBUtil.writeInt8(Long.MAX_VALUE, buffer, 40); // endOfFile
            SMBUtil.writeInt8(Long.MAX_VALUE, buffer, 48); // allocationSize
            SMBUtil.writeInt4(Integer.MAX_VALUE, buffer, 56); // extFileAttributes
            SMBUtil.writeInt4(Integer.MAX_VALUE, buffer, 64); // eaSize
    
            // Decode
            fileBothDirectoryInfo.decode(buffer, 0, buffer.length);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/LongsTest.java

                new long[] {MIN_VALUE, 1L},
                new long[] {1L},
                new long[] {1L, MIN_VALUE},
                new long[] {MAX_VALUE, MAX_VALUE - 1L},
                new long[] {MAX_VALUE, MAX_VALUE},
                new long[] {MAX_VALUE, MAX_VALUE, MAX_VALUE});
    
        Comparator<long[]> comparator = Longs.lexicographicalComparator();
        Helpers.testComparator(comparator, ordered);
      }
    
      @J2ktIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/DiscreteDomain.java

            return Long.MAX_VALUE;
          }
          if (end < start && result > 0) { // underflow
            return Long.MIN_VALUE;
          }
          return result;
        }
    
        @Override
        public Long minValue() {
          return Long.MIN_VALUE;
        }
    
        @Override
        public Long maxValue() {
          return Long.MAX_VALUE;
        }
    
        private Object readResolve() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/TreeBasedTable.java

          @Nullable C lastValue;
    
          @Override
          protected @Nullable C computeNext() {
            while (merged.hasNext()) {
              C next = merged.next();
              boolean duplicate = lastValue != null && comparator.compare(next, lastValue) == 0;
    
              // Keep looping till we find a non-duplicate value.
              if (!duplicate) {
                lastValue = next;
                return lastValue;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java

                byte[] buffer = createValidWriteResponse(Integer.MAX_VALUE, Integer.MAX_VALUE);
    
                int bytesRead = response.readBytesWireFormat(buffer, 0);
    
                assertEquals(16, bytesRead);
                assertEquals(Integer.MAX_VALUE, response.getCount());
                assertEquals(Integer.MAX_VALUE, response.getRemaining());
            }
    
            @Test
    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. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponseTest.java

            SMBUtil.writeInt4(Integer.MAX_VALUE, buffer, bufferIndex + 3);
            SMBUtil.writeInt4(Integer.MAX_VALUE, buffer, bufferIndex + 7);
            SMBUtil.writeInt4(Integer.MAX_VALUE, buffer, bufferIndex + 11);
            SMBUtil.writeInt4(Integer.MAX_VALUE, buffer, bufferIndex + 15);
            SMBUtil.writeInt4(Integer.MAX_VALUE, buffer, bufferIndex + 19);
            SMBUtil.writeInt4(Integer.MAX_VALUE, buffer, bufferIndex + 23);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/Smb2CancelRequestTest.java

        @Test
        @DisplayName("Test edge case with maximum values")
        void testMaximumValues() {
            // Given
            long maxMid = Long.MAX_VALUE;
            long maxAsyncId = Long.MAX_VALUE;
            int maxCredits = Integer.MAX_VALUE;
            int maxTreeId = Integer.MAX_VALUE;
    
            // When
            Smb2CancelRequest request = new Smb2CancelRequest(mockConfig, maxMid, maxAsyncId);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/idn/Punycode.kt

        while (h < input.size) {
          val m = input.minBy { if (it >= n) it else Int.MAX_VALUE }
    
          val increment = (m - n) * (h + 1)
          if (delta > Int.MAX_VALUE - increment) return false // Prevent overflow.
          delta += increment
    
          n = m
    
          for (c in input) {
            if (c < n) {
              if (delta == Int.MAX_VALUE) return false // Prevent overflow.
              delta++
            } else if (c == n) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/SettingsTest.kt

    class SettingsTest {
      @Test
      fun unsetField() {
        val settings = Settings()
        assertThat(settings.isSet(Settings.MAX_CONCURRENT_STREAMS)).isFalse()
        assertThat(settings.getMaxConcurrentStreams()).isEqualTo(Int.MAX_VALUE)
      }
    
      @Test
      fun setFields() {
        val settings = Settings()
        settings[Settings.HEADER_TABLE_SIZE] = 8096
        assertThat(settings.headerTableSize).isEqualTo(8096)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/math/MathBenchmarking.java

       * Duplicated from LongMath.
       * binomial(biggestBinomials[k], k) fits in a long, but not
       * binomial(biggestBinomials[k] + 1, k).
       */
      static final int[] biggestBinomials = {
        Integer.MAX_VALUE,
        Integer.MAX_VALUE,
        Integer.MAX_VALUE,
        3810779,
        121977,
        16175,
        4337,
        1733,
        887,
        534,
        361,
        265,
        206,
        169,
        143,
        125,
        111,
        101,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4.2K bytes
    - Viewed (0)
Back to top