Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 150 for LARGE (0.02 seconds)

  1. tests/benchmarks/test_general_performance.py

        return ItemOut(name=item.name, value=item.value, dep=dep)
    
    
    @app.post("/sync/large-receive")
    def sync_large_receive(payload: LargeIn):
        return {"received": len(payload.items)}
    
    
    @app.post("/async/large-receive")
    async def async_large_receive(payload: LargeIn):
        return {"received": len(payload.items)}
    
    
    @app.get("/sync/large-dict-no-response-model")
    def sync_large_dict_no_response_model():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Dec 26 20:40:26 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/it/admin/DocumentsTests.java

                final Map<String, Object> doc = new HashMap<>();
                doc.put("title", NAME_PREFIX + "large_" + i);
                doc.put("url", "http://example.com/bulk/large/" + i);
                doc.put("content", "This is test content for large bulk document " + i);
                doc.put("boost", 1.0f);
                doc.put("role", "Rguest");
                documents.add(doc);
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/core/io/FileUtilTest.java

        }
    
        /**
         * Test readBytes with large file throws exception
         *
         * @throws Exception
         */
        @Test
        public void testReadBytes_LargeFile() throws Exception {
            final File largeFile = tempFolder.newFile("large.dat");
    
            // Create a file larger than MAX_BUF_SIZE (10MB)
            // Write 11MB of data
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/core/io/FileUtil.java

                if (fileSize > maxSize) {
                    throw new IORuntimeException(new IOException(
                            "File too large: " + fileSize + " bytes (max: " + maxSize + " bytes). Use streaming APIs for large files."));
                }
    
                final ByteBuffer buffer = ByteBuffer.allocate((int) fileSize);
                ChannelUtil.read(channel, buffer);
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/query/BoostQueryCommandTest.java

            }
        }
    
        @Test
        public void test_execute_withVeryLargeBoost() {
            // Test executing BoostQuery with very large boost value
            Term term = new Term("field", "large");
            TermQuery termQuery = new TermQuery(term);
            BoostQuery boostQuery = new BoostQuery(termQuery, Float.MAX_VALUE);
    
            QueryContext context = new QueryContext("test", false);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17K bytes
    - Click Count (0)
  6. docs_src/custom_response/tutorial008_py310.py

    from fastapi import FastAPI
    from fastapi.responses import StreamingResponse
    
    some_file_path = "large-video-file.mp4"
    app = FastAPI()
    
    
    @app.get("/")
    def main():
        def iterfile():  # (1)
            with open(some_file_path, mode="rb") as file_like:  # (2)
                yield from file_like  # (3)
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 360 bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/job/AggregateLogJobTest.java

            String result3 = aggregateLogJob.execute();
            assertEquals("", result3);
        }
    
        @Test
        public void test_execute_performanceWithLargeErrorMessage() {
            // Test with very large error message
            final StringBuilder largeMessage = new StringBuilder();
            for (int i = 0; i < 1000; i++) {
                largeMessage.append("Error detail ").append(i).append(" ");
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 12.3K bytes
    - Click Count (0)
  8. src/bytes/buffer.go

    	opReadRune4 readOp = 4  // Read rune of size 4.
    )
    
    // ErrTooLarge is passed to panic if memory cannot be allocated to store data in a buffer.
    var ErrTooLarge = errors.New("bytes.Buffer: too large")
    var errNegativeRead = errors.New("bytes.Buffer: reader returned negative count from Read")
    
    const maxInt = int(^uint(0) >> 1)
    
    // Bytes returns a slice of length b.Len() holding the unread portion of the buffer.
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Nov 14 19:01:17 GMT 2025
    - 16.5K bytes
    - Click Count (0)
  9. docs/en/docs/tutorial/request-files.md

    * It uses a "spooled" file:
        * A file stored in memory up to a maximum size limit, and after passing this limit it will be stored in disk.
    * This means that it will work well for large files like images, videos, large binaries, etc. without consuming all the memory.
    * You can get metadata from the uploaded file.
    * It has a [file-like](https://docs.python.org/3/glossary.html#term-file-like-object) `async` interface.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 7K bytes
    - Click Count (0)
  10. docs_src/custom_response/tutorial009_py310.py

    from fastapi import FastAPI
    from fastapi.responses import FileResponse
    
    some_file_path = "large-video-file.mp4"
    app = FastAPI()
    
    
    @app.get("/")
    async def main():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 202 bytes
    - Click Count (0)
Back to Top