Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 230 for 110 (0.01 sec)

  1. src/test/java/jcifs/smb/BufferCacheImplTest.java

            @Test
            @DisplayName("Negative maxBuffers throws immediately in constructor")
            void negativeMaxBuffersThrows() {
                assertThrows(NegativeArraySizeException.class, () -> new BufferCacheImpl(-1, 10));
            }
    
            @Test
            @DisplayName("Negative maxSize throws when allocating a new buffer")
            void negativeMaxSizeThrowsOnAllocation() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  2. cmd/metrics-v3-system-drive.go

    // label constants
    const (
    	driveL      = "drive"
    	poolIndexL  = "pool_index"
    	setIndexL   = "set_index"
    	driveIndexL = "drive_index"
    
    	apiL = "api"
    
    	sectorSize = uint64(512)
    	kib        = float64(1 << 10)
    
    	driveHealthOffline = float64(0)
    	driveHealthOnline  = float64(1)
    	driveHealthHealing = float64(2)
    )
    
    var allDriveLabels = []string{driveL, poolIndexL, setIndexL, driveIndexL}
    
    const (
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/ServerResponseValidatorTest.java

        @Test
        public void testBufferAccessNegativeOffset() throws Exception {
            byte[] buffer = new byte[100];
            assertThrows(SmbException.class, () -> {
                validator.validateBufferAccess(buffer, -1, 10);
            });
        }
    
        @Test
        public void testBufferAccessNegativeLength() throws Exception {
            byte[] buffer = new byte[100];
            assertThrows(SmbException.class, () -> {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  4. docs/uk/docs/tutorial/response-model.md

    ///
    
    /// info | Інформація
    
    Ви також можете використовувати:
    
    * `response_model_exclude_defaults=True`
    * `response_model_exclude_none=True`
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Jun 24 19:14:01 UTC 2025
    - 24.8K bytes
    - Viewed (0)
  5. docs/ru/docs/tutorial/response-model.md

    ///
    
    /// info | Информация
    
    Вы также можете использовать:
    
    * `response_model_exclude_defaults=True`
    * `response_model_exclude_none=True`
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Optional.java

       *
       * {@snippet :
       * possibleFoo.ifPresent(foo -> doSomethingWith(foo));
       * }
       *
       * <p><b>Java 9 users:</b> some use cases can be written with calls to {@code optional.stream()}.
       *
       * @since 11.0
       */
      public abstract Set<T> asSet();
    
      /**
       * If the instance is present, it is transformed with the given {@link Function}; otherwise,
       * {@link Optional#absent} is returned.
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/pac/ASN1UtilTest.java

            ByteArrayInputStream bais = new ByteArrayInputStream(data);
            ASN1InputStream ais = new ASN1InputStream(bais);
            byte[] result = ASN1Util.readUnparsedTagged(1, 10, ais);
            assertArrayEquals(new byte[] { 0x01, 0x02, 0x03 }, result);
        }
    
        @Test
        void testReadUnparsedTagged_WrongTag() {
            // Expecting tag 2, but data has tag 1
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/CompactHashing.java

       */
      static int tableSize(int expectedSize) {
        // We use entries next == 0 to indicate UNSET, so actual capacity is 1 less than requested.
        return max(MIN_HASH_TABLE_SIZE, Hashing.closedTableSize(expectedSize + 1, 1.0));
      }
    
      /** Creates and returns a properly-sized array with the given number of buckets. */
      static Object createTable(int buckets) {
        if (buckets < 2
            || buckets > Ints.MAX_POWER_OF_TWO
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/math/DoubleMathTest.java

        assertThat(DoubleMath.mean(11)).isWithin(1.0e-10).of(11.0);
      }
    
      @GwtIncompatible // DoubleMath.mean
      @SuppressWarnings("deprecation") // test of deprecated method
      public void testMean_longVarargs() {
        assertThat(DoubleMath.mean(11L, -22L, 44L, -88L)).isWithin(1.0e-10).of(-13.75);
        assertThat(DoubleMath.mean(11L)).isWithin(1.0e-10).of(11.0);
      }
    
      @GwtIncompatible // DoubleMath.mean
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 30 14:15:36 UTC 2025
    - 27.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/primitives/UnsignedInteger.java

     *
     * <p>See the Guava User Guide article on <a
     * href="https://github.com/google/guava/wiki/PrimitivesExplained#unsigned-support">unsigned
     * primitive utilities</a>.
     *
     * @author Louis Wasserman
     * @since 11.0
     */
    @GwtCompatible
    public final class UnsignedInteger extends Number implements Comparable<UnsignedInteger> {
      public static final UnsignedInteger ZERO = fromIntBits(0);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.3K bytes
    - Viewed (0)
Back to top