Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 528 for xlarge (0.7 seconds)

  1. src/bufio/bufio.go

    }
    
    const minReadBufferSize = 16
    const maxConsecutiveEmptyReads = 100
    
    // NewReaderSize returns a new [Reader] whose buffer has at least the specified
    // size. If the argument io.Reader is already a [Reader] with large enough
    // size, it returns the underlying [Reader].
    func NewReaderSize(rd io.Reader, size int) *Reader {
    	// Is it already a Reader?
    	b, ok := rd.(*Reader)
    	if ok && len(b.buf) >= size {
    		return b
    	}
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Wed Sep 03 14:04:47 GMT 2025
    - 22K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java

                    "1000, 500, 600, 8, 512", // Typical configuration
                    "1000, 500, 600, 64, 512", // Large allocation units
                    "1000, 500, 600, 8, 4096", // 4K sectors
                    "1000, 500, 600, 16, 4096", // Large sectors and allocation
                    "1000, 0, 0, 8, 512", // No free space
                    "1000, 1000, 1000, 8, 512" // All space free
            })
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 30.5K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java

            assertEquals(free * bytesPerSect, smbInfoAllocation.getFree());
        }
    
        @Test
        @DisplayName("Test decode with large bytes per sector")
        void testDecodeWithLargeBytesPerSector() throws SMBProtocolDecodingException {
            // Prepare test data with large bytesPerSect
            byte[] buffer = new byte[22];
            int idFileSystem = 0x22222222;
            int sectPerAlloc = 8;
            long alloc = 10000L;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  4. 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);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  5. src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java

                assertEquals(negativeValue, ndrShort.value);
            }
    
            @Test
            @DisplayName("Should decode large value correctly")
            void testDecodeLargeValue() throws NdrException {
                // Given: NdrShort and mock returning large value
                int largeValue = 65535;
                NdrShort ndrShort = new NdrShort(0);
                when(mockBuffer.dec_ndr_short()).thenReturn(largeValue);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  6. .teamcity/src/main/kotlin/model/BucketExtensions.kt

     * limitations under the License.
     */
    
    package model
    
    import java.util.LinkedList
    
    /**
     * Split a list of elements into nearly even sublist. If an element is too large, largeElementSplitFunction will be used to split the large element into several smaller pieces;
     * if some elements are too small, they will be aggregated by smallElementAggregateFunction.
     *
     * @param list the list to split, must be ordered by size desc
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Feb 12 09:12:03 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  7. src/bytes/bytes.go

    	if len(b) == 0 {
    		return []byte{}
    	}
    
    	// Past a certain chunk size it is counterproductive to use
    	// larger chunks as the source of the write, as when the source
    	// is too large we are basically just thrashing the CPU D-cache.
    	// So if the result length is larger than an empirically-found
    	// limit (8KB), we stop growing the source string once the limit
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Sep 16 16:42:15 GMT 2025
    - 35.5K bytes
    - Click Count (0)
  8. src/bufio/scan.go

    // client may instead provide a custom split function.
    //
    // Scanning stops unrecoverably at EOF, the first I/O error, or a token too
    // large to fit in the [Scanner.Buffer]. When a scan stops, the reader may have
    // advanced arbitrarily far past the last token. Programs that need more
    // control over error handling or large tokens, or must run sequential scans
    // on a reader, should use [bufio.Reader] instead.
    type Scanner struct {
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Wed May 21 18:05:26 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  9. 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)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  10. tests/test_tutorial/test_custom_response/test_tutorial008.py

    from docs_src.custom_response import tutorial008_py39
    from docs_src.custom_response.tutorial008_py39 import app
    
    client = TestClient(app)
    
    
    def test_get(tmp_path: Path):
        file_path: Path = tmp_path / "large-video-file.mp4"
        tutorial008_py39.some_file_path = str(file_path)
        test_content = b"Fake video bytes"
        file_path.write_bytes(test_content)
        response = client.get("/")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 502 bytes
    - Click Count (0)
Back to Top