Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 475 for xlarge (0.17 sec)

  1. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

            @Test
            @DisplayName("getResult should handle large error codes")
            void testGetResultLargeErrorCode() throws Exception {
                // Given
                setResultField(bind, 0xFFFF);
    
                // When
                DcerpcException result = bind.getResult();
    
                // Then
                assertNotNull(result, "Should return exception for large error code");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/CommonServerMessageBlockRequestTest.java

            int result = request.size();
    
            // Then
            assertEquals(0, result);
            verify(request, times(1)).size();
        }
    
        @Test
        @DisplayName("Test size returns large value for large message")
        void testSizeReturnsLargeValue() {
            // Given
            int largeSize = Integer.MAX_VALUE;
            when(request.size()).thenReturn(largeSize);
    
            // When
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  3. internal/config/crypto.go

    		Algorithm: algorithm,
    		Nonce:     nonce,
    	})
    	if err != nil {
    		return nil, err
    	}
    	if len(metadata) > MaxMetadataSize {
    		return nil, errors.New("config: encryption metadata is too large")
    	}
    	header[0] = Version
    	binary.LittleEndian.PutUint32(header[1:], uint32(len(metadata)))
    	buffer.Write(header[:])
    	buffer.Write(metadata)
    
    	return io.MultiReader(
    		&buffer,
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri May 16 14:27:42 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

            SocketInputStream sis = new SocketInputStream(in);
    
            // Should throw IOException for unexpected EOF
            assertThrows(IOException.class, () -> sis.read());
        }
    
        @Test
        @DisplayName("Large message is read correctly")
        void largeMessageIsReadCorrectly() throws IOException {
            // Create a message with 1000 bytes
            int size = 1000;
            byte[] data = new byte[size];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/MultisetSetCountConditionallyTester.java

        }
      }
    
      // Incorrect expected present count.
    
      @CollectionFeature.Require(SUPPORTS_ADD)
      public void testSetCountConditional_oldCountTooLarge() {
        assertFalse(
            "setCount() with a too-large oldCount should return false",
            getMultiset().setCount(e0(), 2, 3));
        expectUnchanged();
      }
    
      @CollectionSize.Require(absent = ZERO)
      @CollectionFeature.Require(SUPPORTS_ADD)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. cmd/streaming-signature-v4.go

    // A chunk has the following format:
    //
    //	<chunk-size-as-hex> + ";chunk-signature=" + <signature-as-hex> + "\r\n" + <payload> + "\r\n"
    //
    // First, we read the chunk size but fail if it is larger
    // than 16 MiB. We must not accept arbitrary large chunks.
    // One 16 MiB is a reasonable max limit.
    //
    // Then we read the signature and payload data. We compute the SHA256 checksum
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/ResponseDataUtilTest.java

            assertEquals(0, tempFile.length());
    
            // Clean up
            tempFile.delete();
        }
    
        public void test_createResponseBodyFile_largeBody() throws Exception {
            // Create a large response body
            byte[] largeData = new byte[10000];
            for (int i = 0; i < largeData.length; i++) {
                largeData[i] = (byte) (i % 256);
            }
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/netbios/SocketOutputStream.java

            super(out);
        }
    
        @Override
        public synchronized void write(final byte[] b, int off, final int len) throws IOException {
            if (len > 0xFFFF) {
                throw new IOException("write too large: " + len);
            }
            if (off < 4) {
                throw new IOException("NetBIOS socket output buffer requires 4 bytes available before off");
            }
    
            off -= 4;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt

      require(millis <= Integer.MAX_VALUE) { "$name too large" }
      require(millis != 0L || duration <= 0L) { "$name too small" }
      return millis.toInt()
    }
    
    internal fun checkDuration(
      name: String,
      duration: Duration,
    ): Int {
      check(!duration.isNegative()) { "$name < 0" }
      val millis = duration.inWholeMilliseconds
      require(millis <= Integer.MAX_VALUE) { "$name too large" }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 10.2K bytes
    - Viewed (1)
  10. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java

            });
        }
    
        @Test
        void testGetSecurityWithLargeSecurityDescriptor() throws Exception {
            // Test with large valid security descriptor
            srvsvc.ShareInfo502 info502 = new srvsvc.ShareInfo502();
            // Create a valid but large security descriptor
            byte[] largeDescriptor = new byte[1024];
            largeDescriptor[0] = 1; // revision
            largeDescriptor[1] = 0; // sbz1
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
Back to top