Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 259 for too (0.02 sec)

  1. 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)
  2. 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. docs/features/events.md

    Events
    ======
    
    Events allow you to capture metrics on your application’s HTTP calls. Use events to monitor:
    
     * The size and frequency of the HTTP calls your application makes. If you’re making too many calls, or your calls are too large, you should know about it!
     * The performance of these calls on the underlying network. If the network’s performance isn’t sufficient, you need to either improve the network or use less of it.
    
    ### EventListener
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/SocketFailureTest.kt

        listener.shouldClose = true
        // Large headers are a likely reason the servers would cut off the connection before it completes sending
        // request headers.
        // 431 "Request Header Fields Too Large"
        val largeHeaders =
          Headers
            .Builder()
            .apply {
              repeat(32) {
                add("name-$it", "value-$it-" + "0".repeat(1024))
              }
            }.build()
        val call2 =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 21:11:09 UTC 2025
    - 3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/TransTransactNamedPipe.java

        @Override
        int writeDataWireFormat(final byte[] dst, final int dstIndex) {
            if (dst.length - dstIndex < pipeDataLen) {
                if (LogStream.level >= 3) {
                    log.println("TransTransactNamedPipe data too long for buffer");
                }
                return 0;
            }
            System.arraycopy(pipeData, pipeDataOff, dst, dstIndex, pipeDataLen);
            return pipeDataLen;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/TransCallNamedPipe.java

        @Override
        int writeDataWireFormat(final byte[] dst, final int dstIndex) {
            if (dst.length - dstIndex < pipeDataLen) {
                if (LogStream.level >= 3) {
                    log.println("TransCallNamedPipe data too long for buffer");
                }
                return 0;
            }
            System.arraycopy(pipeData, pipeDataOff, dst, dstIndex, pipeDataLen);
            return pipeDataLen;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top