Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 290 for too (0.07 sec)

  1. android/guava/src/com/google/common/primitives/Chars.java

       *
       * @param value any {@code long} value
       * @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) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/primitives/Shorts.java

       *
       * @param value any {@code long} value
       * @return the same value cast to {@code short} if it is in the range of the {@code short} type,
       *     {@link Short#MAX_VALUE} if it is too large, or {@link Short#MIN_VALUE} if it is too small
       */
      public static short saturatedCast(long value) {
        if (value > Short.MAX_VALUE) {
          return Short.MAX_VALUE;
        }
        if (value < Short.MIN_VALUE) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/primitives/Shorts.java

       *
       * @param value any {@code long} value
       * @return the same value cast to {@code short} if it is in the range of the {@code short} type,
       *     {@link Short#MAX_VALUE} if it is too large, or {@link Short#MIN_VALUE} if it is too small
       */
      public static short saturatedCast(long value) {
        if (value > Short.MAX_VALUE) {
          return Short.MAX_VALUE;
        }
        if (value < Short.MIN_VALUE) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/using-request-directly.md

    So, the path parameter will be extracted, validated, converted to the specified type and annotated with OpenAPI.
    
    The same way, you can declare any other parameter as normally, and additionally, get the `Request` too.
    
    ///
    
    ## `Request` documentation { #request-documentation }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

                    + expected
                    + ", actual = "
                    + actual);
          }
        }
    
        if (expectedIter.hasNext() || actualIter.hasNext()) {
          // actual either had too few or too many elements
          fail(
              "contents were not equal and in the same order: "
                  + "expected = "
                  + expected
                  + ", actual = "
                  + actual);
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java

        }
    
        @Test
        @DisplayName("Should throw exception when buffer too small")
        void testWriteBytesWireFormatBufferTooSmall() {
            // Given
            Configuration mockConfig = mock(Configuration.class);
            Smb2TreeDisconnectRequest request = new Smb2TreeDisconnectRequest(mockConfig);
            byte[] buffer = new byte[3]; // Too small for 4 bytes
    
            // When & Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java

            // Then
            assertEquals(4, bytesRead);
        }
    
        @Test
        @DisplayName("Should throw exception when buffer too small for reading")
        void testReadBytesWireFormatBufferTooSmall() {
            // Given
            byte[] buffer = new byte[1]; // Too small to read structure size
    
            // When & Then
            assertThrows(ArrayIndexOutOfBoundsException.class, () -> {
    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. docs/en/docs/tutorial/body-nested-models.md

    And whenever you output that data, even if the source had duplicates, it will be output as a set of unique items.
    
    And it will be annotated / documented accordingly too.
    
    ## Nested Models { #nested-models }
    
    Each attribute of a Pydantic model has a type.
    
    But that type can itself be another Pydantic model.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/AbstractSequentialIteratorTest.java

    import org.jspecify.annotations.Nullable;
    
    /** Tests for {@link AbstractSequentialIterator}. */
    @GwtCompatible
    @NullMarked
    public class AbstractSequentialIteratorTest extends TestCase {
      @GwtIncompatible // Too slow
      public void testDoublerExhaustive() {
        new IteratorTester<Integer>(
            3, UNMODIFIABLE, ImmutableList.of(1, 2), IteratorTester.KnownOrder.KNOWN_ORDER) {
          @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/pac/PacTest.java

            // Any PACDecodingException is acceptable for this test
            assertNotNull(e.getMessage());
        }
    
        @Test
        void testMalformedPac() {
            // Too small to be a valid PAC
            byte[] malformedData = new byte[] { 1, 0, 0, 0 };
    
            PACDecodingException e = assertThrows(PACDecodingException.class, () -> new Pac(malformedData, keys));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
Back to top