Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 208 for average (0.04 seconds)

  1. .gitignore

    TODO*
    documents
    coverage.txt
    _book
    .idea
    vendor
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Thu Jul 14 12:05:22 GMT 2022
    - 56 bytes
    - Click Count (0)
  2. tests/test_dependencies_utils.py

    from fastapi.dependencies.utils import get_typed_annotation
    
    
    def test_get_typed_annotation():
        # For coverage
        annotation = "None"
        typed_annotation = get_typed_annotation(annotation, globals())
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:32:12 GMT 2026
    - 241 bytes
    - Click Count (0)
  3. .teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt

                val groups =
                    (scenarioObj["groups"] as List<Map<String, Any>>).map { groupObj ->
                        val testProject = groupObj["testProject"] as String
                        val coverage =
                            (groupObj["coverage"] as Map<String, List<String>>)
                                .map { (key, value) ->
                                    val performanceTestType = PerformanceTestType.valueOf(key.uppercase())
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jan 29 01:37:22 GMT 2026
    - 17.2K bytes
    - Click Count (0)
  4. tests/test_stream_bare_type.py

    import json
    from typing import AsyncIterable, Iterable  # noqa: UP035 to test coverage
    
    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    
    class Item(BaseModel):
        name: str
    
    
    app = FastAPI()
    
    
    @app.get("/items/stream-bare-async")
    async def stream_bare_async() -> AsyncIterable:
        yield {"name": "foo"}
    
    
    @app.get("/items/stream-bare-sync")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 27 18:56:47 GMT 2026
    - 1.1K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java

        @Test
        void testWriteParameterWordsWireFormat() {
            // This method is empty, just call it for coverage
            assertEquals(0, response.writeParameterWordsWireFormat(new byte[0], 0));
        }
    
        @Test
        void testWriteBytesWireFormat() {
            // This method is empty, just call it for coverage
            assertEquals(0, response.writeBytesWireFormat(new byte[0], 0));
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  6. tests/test_depends_hashable.py

    # Ref: https://github.com/fastapi/fastapi/pull/14320
    
    from fastapi import Depends, Security
    
    
    def dep():
        pass
    
    
    def test_depends_hashable():
        dep()  # just for coverage
        d1 = Depends(dep)
        d2 = Depends(dep)
        d3 = Depends(dep, scope="function")
        d4 = Depends(dep, scope="function")
    
        s1 = Security(dep)
        s2 = Security(dep)
    
        assert hash(d1) == hash(d2)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Nov 19 16:50:18 GMT 2025
    - 596 bytes
    - Click Count (0)
  7. tests/test_fastapi_cli.py

    import sys
    from unittest.mock import patch
    
    import fastapi.cli
    import pytest
    
    
    def test_fastapi_cli():
        result = subprocess.run(
            [
                sys.executable,
                "-m",
                "coverage",
                "run",
                "-m",
                "fastapi",
                "dev",
                "non_existent_file.py",
            ],
            capture_output=True,
            encoding="utf-8",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Dec 02 04:02:38 GMT 2025
    - 866 bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/api/WebApiManagerFactoryTest.java

            // This test verifies the test class can be instantiated and run
            String testValue = "test";
            assertNotNull(testValue);
            assertEquals("test", testValue);
        }
    
        // Additional test for coverage
        @Test
        public void test_additionalCoverage() {
            int a = 5;
            int b = 10;
            int sum = a + b;
            assertEquals(15, sum);
    
            String str = "Hello";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/entity/HighlightInfoTest.java

            // This test verifies the test class can be instantiated and run
            String testValue = "test";
            assertNotNull(testValue);
            assertEquals("test", testValue);
        }
    
        // Additional test for coverage
        @Test
        public void test_additionalCoverage() {
            int a = 5;
            int b = 10;
            int sum = a + b;
            assertEquals(15, sum);
    
            String str = "Hello";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 1.9K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/api/json/SearchApiManagerTest.java

            // This test verifies the test class can be instantiated and run
            String testValue = "test";
            assertNotNull(testValue);
            assertEquals("test", testValue);
        }
    
        // Additional test for coverage
        @Test
        public void test_additionalCoverage() {
            int a = 5;
            int b = 10;
            int sum = a + b;
            assertEquals(15, sum);
    
            String str = "Hello";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 1.9K bytes
    - Click Count (0)
Back to Top