Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2011 - 2020 of 8,011 for klass (0.04 sec)

  1. tests/test_default_response_class.py

    router_a = APIRouter()
    router_a_a = APIRouter()
    router_a_b_override = APIRouter()  # Overrides default class
    router_b_override = APIRouter()  # Overrides default class
    router_b_a = APIRouter()
    router_b_a_c_override = APIRouter()  # Overrides default class again
    
    
    @app.get("/")
    def get_root():
        return {"msg": "Hello World"}
    
    
    @app.get("/override", response_class=PlainTextResponse)
    def get_path_override():
        return "Hello World"
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Mar 01 20:49:20 UTC 2020
    - 5.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/DfsTest.java

            // Mock static methods
            logStreamMockedStatic = mockStatic(LogStream.class);
            lenient().when(LogStream.getInstance()).thenReturn(mock(LogStream.class));
    
            uniAddressMockedStatic = mockStatic(UniAddress.class);
            smbTransportMockedStatic = mockStatic(SmbTransport.class);
    
            configMockedStatic = mockStatic(Config.class);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/Type.java

        /**
         * Artifact type name for a JAR file that can be placed either on the class path or on the module path.
         * The path (classes or modules) is chosen by the plugin, possibly using heuristic rules.
         * This is the behavior of Maven 3.
         */
        String JAR = "jar";
    
        /**
         * Artifact type name for a fat-JAR file that can be only on the class path.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/Hexdump.java

     */
    
    package jcifs.util;
    
    /**
     * Utility class for hexadecimal dumping of binary data.
     * This class provides methods for converting binary data to readable hex format.
     */
    
    public class Hexdump {
    
        /**
         * Default constructor.
         */
        public Hexdump() {
            // Utility class - no instance variables to initialize
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java

          }
        }
      }
    
      @CollectionSize.Require(ZERO)
      public void testEmptyMapFirst() {
        assertThrows(NoSuchElementException.class, () -> navigableMap.firstKey());
      }
    
      @CollectionSize.Require(ZERO)
      public void testEmptyMapLast() {
        assertThrows(NoSuchElementException.class, () -> assertNull(navigableMap.lastKey()));
      }
    
      @CollectionSize.Require(ONE)
      public void testSingletonMapFirst() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 20:54:16 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveAllTester.java

    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class CollectionRemoveAllTester<E> extends AbstractCollectionTester<E> {
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      public void testRemoveAll_emptyCollection() {
        assertFalse(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java

    import jcifs.internal.util.SMBUtil;
    
    /**
     * Test class for SmbComNtTransaction
     */
    @ExtendWith(MockitoExtension.class)
    class SmbComNtTransactionTest {
    
        @Mock
        private Configuration mockConfig;
    
        private TestSmbComNtTransaction transaction;
    
        /**
         * Test implementation of SmbComNtTransaction for testing purposes
         */
        public static class TestSmbComNtTransaction extends SmbComNtTransaction {
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  8. tests/test_read_with_orm_mode.py

    
    def test_read_with_orm_mode() -> None:
        class PersonBase(BaseModel):
            name: str
            lastname: str
    
        class Person(PersonBase):
            @property
            def full_name(self) -> str:
                return f"{self.name} {self.lastname}"
    
            model_config = ConfigDict(from_attributes=True)
    
        class PersonCreate(PersonBase):
            pass
    
        class PersonRead(PersonBase):
            full_name: str
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java

    import jcifs.internal.util.SMBUtil;
    
    /**
     * Test class for Smb2SetInfoResponse functionality
     */
    @DisplayName("Smb2SetInfoResponse Tests")
    @MockitoSettings(strictness = Strictness.LENIENT)
    class Smb2SetInfoResponseTest {
    
        private Configuration mockConfig;
        private Smb2SetInfoResponse response;
    
        @BeforeEach
        void setUp() {
            mockConfig = mock(Configuration.class);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  10. docs_src/dependencies/tutorial011_py39.py

    from fastapi import Depends, FastAPI
    
    app = FastAPI()
    
    
    class FixedContentQueryChecker:
        def __init__(self, fixed_content: str):
            self.fixed_content = fixed_content
    
        def __call__(self, q: str = ""):
            if q:
                return self.fixed_content in q
            return False
    
    
    checker = FixedContentQueryChecker("bar")
    
    
    @app.get("/query-checker/")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 504 bytes
    - Viewed (0)
Back to top