Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 881 - 890 of 2,512 for size8 (0.03 seconds)

  1. tests/test_list_bytes_file_order_preserved_issue_14811.py

        original_read = StarletteUploadFile.read
    
        async def patched_read(self: StarletteUploadFile, size: int = -1) -> bytes:
            # Make the FIRST file slower *deterministically*
            if self.filename == "slow.txt":
                await anyio.sleep(0.05)
            return await original_read(self, size)
    
        monkeypatch.setattr(StarletteUploadFile, "read", patched_read)
    
        client = TestClient(app)
    
        files = [
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 10 12:14:38 GMT 2026
    - 1.4K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/job/LogNotificationJob.java

            // Delete any remaining events beyond the search size limit (discard overflow)
            try {
                client.deleteByQuery(indexName, QueryBuilders.termQuery("hostname", hostname));
            } catch (final Exception e) {
                logger.debug("Failed to delete remaining log notifications.", e);
            }
    
            return "Sent log notifications: " + events.size() + " events.";
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  3. tests/test_request_params/test_file/test_optional.py

    
    @app.post("/optional-uploadfile", operation_id="optional_uploadfile")
    async def read_optional_uploadfile(p: Annotated[UploadFile | None, File()] = None):
        return {"file_size": p.size if p else None}
    
    
    @pytest.mark.parametrize(
        "path",
        [
            "/optional-bytes",
            "/optional-uploadfile",
        ],
    )
    def test_optional_schema(path: str):
        openapi = app.openapi()
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 21 13:01:31 GMT 2026
    - 9.8K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/MultiChannelManager.java

                int channelsToCreate = Math.min(maxChannels, Math.min(serverAddresses.size(), availableInterfaces.size()));
                log.debug("Creating {} channels for session {}", channelsToCreate, sessionId);
    
                for (int i = 0; i < channelsToCreate && i < availableInterfaces.size() && i < serverAddresses.size(); i++) {
                    try {
                        NetworkInterface netInterface = availableInterfaces.get(i);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 20.5K bytes
    - Click Count (0)
  5. cmd/batch-replicate_gen.go

    	o = msgp.Require(b, z.Msgsize())
    	// map header, size 4
    	// string "APIVersion"
    	o = append(o, 0x84, 0xaa, 0x41, 0x50, 0x49, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e)
    	o = msgp.AppendString(o, z.APIVersion)
    	// string "Flags"
    	o = append(o, 0xa5, 0x46, 0x6c, 0x61, 0x67, 0x73)
    	// map header, size 3
    	// string "Filter"
    	o = append(o, 0x83, 0xa6, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 40.7K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/pager/StemmerOverridePager.java

         * If not set or invalid, returns the default page size.
         *
         * @return The page size
         */
        public int getPageSize() {
            if (pageSize <= 0) {
                pageSize = getDefaultPageSize();
            }
            return pageSize;
        }
    
        /**
         * Sets the number of records to display per page.
         *
         * @param pageSize The page size to set
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/util/DocListTest.java

            docList.addContentSize(1000);
            docList.addProcessingTime(500);
    
            assertEquals(1, docList.size());
            assertEquals(1000, docList.getContentSize());
            assertEquals(500, docList.getProcessingTime());
    
            docList.clear();
    
            assertEquals(0, docList.size());
            assertEquals(0, docList.getContentSize());
            assertEquals(0, docList.getProcessingTime());
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  8. compat/maven-plugin-api/src/test/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilderTest.java

            assertTrue(pd.isInheritedByDefault(), "Expected " + pd + ".isInheritedByDefault() to return true");
            assertEquals(2, pd.getMojos().size());
            assertEquals(1, pd.getDependencies().size());
    
            MojoDescriptor md = pd.getMojos().get(0);
    
            assertEquals("jar", md.getGoal());
            assertEquals("mojo-description", md.getDescription());
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 6K bytes
    - Click Count (0)
  9. fastapi/datastructures.py

        ```
        """
    
        file: Annotated[
            BinaryIO,
            Doc("The standard Python file object (non-async)."),
        ]
        filename: Annotated[str | None, Doc("The original file name.")]
        size: Annotated[int | None, Doc("The size of the file in bytes.")]
        headers: Annotated[Headers, Doc("The headers of the request.")]
        content_type: Annotated[
            str | None, Doc("The content type of the request, from the headers.")
        ]
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

        this.predecessorCount = checkNonNegative(predecessorCount);
        this.successorCount = checkNonNegative(successorCount);
        checkState(
            predecessorCount <= adjacentNodeValues.size()
                && successorCount <= adjacentNodeValues.size());
      }
    
      static <N, V> DirectedGraphConnections<N, V> of(ElementOrder<N> incidentEdgeOrder) {
        // We store predecessors and successors in the same map, so double the initial capacity.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 17.8K bytes
    - Click Count (0)
Back to Top