Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 315 for has_value (0.07 sec)

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

            // Prepare test data with maximum int values
            byte[] buffer = new byte[22];
            int idFileSystem = Integer.MAX_VALUE;
            int sectPerAlloc = 100;
            int alloc = Integer.MAX_VALUE / 200;
            int free = Integer.MAX_VALUE / 200;
            int bytesPerSect = 512;
    
            // Encode test data
            int offset = 0;
            SMBUtil.writeInt4(idFileSystem, buffer, offset);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

            when(config.getNotifyBufferSize()).thenReturn(Integer.MAX_VALUE);
            Smb2ChangeNotifyRequest req = new Smb2ChangeNotifyRequest(config, testFileId);
    
            // When
            byte[] buffer = new byte[512];
            req.writeBytesWireFormat(buffer, 0);
    
            // Then
            int readBufferSize = SMBUtil.readInt4(buffer, 4);
            assertEquals(Integer.MAX_VALUE, readBufferSize);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/math/BigDecimalMath.java

       * infinite {@code double} values are considered infinitely far away. For example, 2^2000 is not
       * representable as a double, but {@code roundToDouble(BigDecimal.valueOf(2).pow(2000), HALF_UP)}
       * will return {@code Double.MAX_VALUE}, not {@code Double.POSITIVE_INFINITY}.
       *
       * <p>For the case of {@link RoundingMode#HALF_EVEN}, this implementation uses the IEEE 754
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

        }
        for (int c = 0; c <= Character.MAX_VALUE; c++) {
          assertFalse(positive.contains(Character.valueOf((char) c)) ^ m.matches((char) c));
        }
      }
    
      static char[] randomChars(Random rand, int size) {
        Set<Character> chars = new HashSet<>(size);
        for (int i = 0; i < size; i++) {
          char c;
          do {
            c = (char) rand.nextInt(Character.MAX_VALUE - Character.MIN_VALUE + 1);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

        }
      }
    
      /**
       * Always returns {@code Integer.MAX_VALUE} because a {@code MonitorBasedPriorityBlockingQueue} is
       * not capacity constrained.
       *
       * @return {@code Integer.MAX_VALUE}
       */
      @CanIgnoreReturnValue // pushed down from class to method
      @Override
      public int remainingCapacity() {
        return Integer.MAX_VALUE;
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/RangeTest.java

      }
    
      public void testGreaterThan() {
        Range<Integer> range = Range.greaterThan(5);
        assertFalse(range.contains(5));
        assertTrue(range.contains(6));
        assertTrue(range.contains(Integer.MAX_VALUE));
        assertTrue(range.hasLowerBound());
        assertEquals(5, (int) range.lowerEndpoint());
        assertEquals(OPEN, range.lowerBoundType());
        assertUnboundedAbove(range);
        assertFalse(range.isEmpty());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  7. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

          this.headers_ =
            Headers
              .Builder()
              .add("Content-Length", "0")
          this.trailers_ = Headers.Builder()
          this.throttleBytesPerPeriod = Long.MAX_VALUE
          this.throttlePeriodNanos = 0L
          this.failHandshake = false
          this.onRequestStart = null
          this.doNotReadRequestBody = false
          this.onRequestBody = null
          this.onResponseStart = null
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java

            }
    
            @Test
            @DisplayName("Should handle locks with maximum values")
            void testLocksWithMaximumValues() {
                Smb2Lock[] locks = new Smb2Lock[] { new Smb2Lock(Long.MAX_VALUE, Long.MAX_VALUE, Integer.MAX_VALUE) };
    
                Smb2LockRequest req = new Smb2LockRequest(mockConfig, testFileId, locks);
                byte[] buffer = new byte[256];
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/FileEntryTest.java

                    Arguments.of((IntGetter) FileEntry::getType, 0, "zero type"),
                    Arguments.of((IntGetter) FileEntry::getType, Integer.MAX_VALUE, "max type"),
    
                    Arguments.of((IntGetter) FileEntry::getAttributes, 0, "no attributes"),
                    Arguments.of((IntGetter) FileEntry::getAttributes, 0xFFFF, "many attributes"),
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10K bytes
    - Viewed (0)
  10. guava/src/com/google/common/math/BigDecimalMath.java

       * infinite {@code double} values are considered infinitely far away. For example, 2^2000 is not
       * representable as a double, but {@code roundToDouble(BigDecimal.valueOf(2).pow(2000), HALF_UP)}
       * will return {@code Double.MAX_VALUE}, not {@code Double.POSITIVE_INFINITY}.
       *
       * <p>For the case of {@link RoundingMode#HALF_EVEN}, this implementation uses the IEEE 754
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top