Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 152 for xlarge (0.04 sec)

  1. src/test/java/jcifs/pac/PacCredentialTypeTest.java

            assertEquals("Invalid PAC credential type", exception.getMessage());
        }
    
        /**
         * Tests the constructor with a byte array that is too large.
         */
        @Test
        void testConstructorWithDataTooLarge() {
            // A byte array with a length of 32 should be considered too large.
            byte[] largeData = new byte[32];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  2. cmd/warm-backend-minio.go

    	// object size is '-1' set it to 5TiB.
    	if objectSize == -1 {
    		objectSize = maxMultipartPutObjectSize
    	}
    
    	// object size is larger than supported maximum.
    	if objectSize > maxMultipartPutObjectSize {
    		err = errors.New("entity too large")
    		return partSize, err
    	}
    
    	configuredPartSize := minPartSize
    	// Use floats for part size for all calculations to avoid
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 4K bytes
    - Viewed (1)
  3. src/test/java/jcifs/util/HexdumpTest.java

            };
    
            String result = Hexdump.toHexString(data);
            assertEquals("00FF7F80", result);
        }
    
        @Test
        @DisplayName("Should handle large byte arrays efficiently")
        void testLargeByteArray() {
            // Create a larger test array
            byte[] data = createTestData(1024);
    
            // Test full array conversion
            String result = Hexdump.toHexString(data);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/rdma/RdmaBufferManagerTest.java

            long initialAllocated = bufferManager.getTotalAllocated();
    
            // Allocate regions larger than pool buffer size to force new allocations
            RdmaMemoryRegion region1 = bufferManager.getSendRegion(131072); // 128KB > 64KB pool size
            RdmaMemoryRegion region2 = bufferManager.getSendRegion(131072); // Another large allocation
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/TemporaryFileInputStreamTest.java

                assertEquals(-1, stream.read()); // EOF immediately
            }
        }
    
        public void test_largeFile() throws Exception {
            // Create a temporary file with larger data
            File tempFile = File.createTempFile("test-large-", ".tmp");
            byte[] data = new byte[1024];
            for (int i = 0; i < data.length; i++) {
                data[i] = (byte) (i % 256);
            }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_advanced_middleware/test_tutorial003.py

    from fastapi.testclient import TestClient
    
    from docs_src.advanced_middleware.tutorial003_py39 import app
    
    
    @app.get("/large")
    async def large():
        return PlainTextResponse("x" * 4000, status_code=200)
    
    
    client = TestClient(app)
    
    
    def test_middleware():
        response = client.get("/large", headers={"accept-encoding": "gzip"})
        assert response.status_code == 200, response.text
        assert response.text == "x" * 4000
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 670 bytes
    - Viewed (0)
  7. internal/hash/errors.go

    }
    
    func (e SizeTooSmall) Error() string {
    	return fmt.Sprintf("Size small: got %d, want %d", e.Got, e.Want)
    }
    
    // SizeTooLarge reader size too large
    type SizeTooLarge struct {
    	Want int64
    	Got  int64
    }
    
    func (e SizeTooLarge) Error() string {
    	return fmt.Sprintf("Size large: got %d, want %d", e.Got, e.Want)
    }
    
    // SizeMismatch error size mismatch
    type SizeMismatch struct {
    	Want int64
    	Got  int64
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon May 15 21:08:54 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/SmbComTransactionTest.java

            assertFalse(transaction.hasMoreElements(), "hasMoreElements should be false when all data is sent");
        }
    
        @Test
        @DisplayName("Test transaction with large data requires multiple elements")
        void testLargeDataMultipleElements() {
            // Set large amounts that won't fit in one buffer
            transaction.maxBufferSize = 100;
            transaction.setParameterBytesWritten(200);
            transaction.setDataBytesWritten(300);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/UtilTest.kt

          assertThrows<IllegalArgumentException> {
            checkDuration(
              "timeout",
              1L + Int.MAX_VALUE.toLong(),
              TimeUnit.MILLISECONDS,
            )
          },
        ).hasMessage("timeout too large")
      }
    
      @Test
      fun testDurationDuration() {
        assertThat(checkDuration("timeout", 0.milliseconds)).isEqualTo(0)
        assertThat(checkDuration("timeout", 1.milliseconds)).isEqualTo(1)
    
        assertThat(
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. internal/s3select/jstream/scanner_test.go

    		for b.Loop() {
    			benchmarkBufioScanner(smallInput)
    		}
    	})
    	b.Run("medium", func(b *testing.B) {
    		for b.Loop() {
    			benchmarkBufioScanner(mediumInput)
    		}
    	})
    	b.Run("large", func(b *testing.B) {
    		for b.Loop() {
    			benchmarkBufioScanner(largeInput)
    		}
    	})
    }
    
    func benchmarkBufioScanner(b []byte) {
    	s := bufio.NewScanner(bytes.NewReader(b))
    	s.Split(bufio.ScanBytes)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 3.1K bytes
    - Viewed (0)
Back to top