Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2011 - 2020 of 2,085 for instances (0.1 sec)

  1. docs/en/docs/tutorial/bigger-applications.md

    You can create the *path operations* for that module using `APIRouter`.
    
    ### Import `APIRouter` { #import-apirouter }
    
    You import it and create an "instance" the same way you would with the class `FastAPI`:
    
    ```Python hl_lines="1  3" title="app/routers/users.py"
    {!../../docs_src/bigger_applications/app/routers/users.py!}
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java

            }
    
            @Test
            @DisplayName("Should have initial zero state")
            void shouldHaveInitialZeroState() {
                // Given - newly created instance
                FileFsSizeInformation freshInfo = new FileFsSizeInformation();
    
                // Then
                assertEquals(0L, freshInfo.getCapacity());
                assertEquals(0L, freshInfo.getFree());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/netbios/NameTest.java

            assertEquals(18, length);
        }
    
        @Test
        void constructor_withNetbiosNameNotNameInstance_shouldNotCopySrcHashCode() {
            // Create a mock NetbiosName that is not a Name instance
            NetbiosName mockNetbiosName = mock(NetbiosName.class);
            when(mockNetbiosName.getName()).thenReturn("MOCKNAME");
            when(mockNetbiosName.getNameType()).thenReturn(0x20);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

     */
    @ExtendWith(MockitoExtension.class)
    @MockitoSettings(strictness = Strictness.LENIENT)
    public class SmbRandomAccessFileTest {
    
        // Helper: build a minimally wired instance with mocks; avoids real I/O
        private SmbRandomAccessFile newInstance(String mode, boolean smb2, boolean ntSmbsCap, boolean unshared) throws CIFSException {
            SmbFile file = mock(SmbFile.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/AdminDictKuromojiAction.java

                final KuromojiItem entity = new KuromojiItem(0, StringUtil.EMPTY, StringUtil.EMPTY, StringUtil.EMPTY, StringUtil.EMPTY);
                return OptionalEntity.of(entity);
            case CrudMode.EDIT:
                if (form instanceof EditForm) {
                    return ComponentUtil.getComponent(KuromojiService.class).getKuromojiItem(form.dictId, ((EditForm) form).id);
                }
                break;
            default:
                break;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/TreeBasedTableTest.java

      }
    
      public void testRowMapValuesAreSorted() {
        sortedTable = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c', "dog", 2, 'd');
        assertTrue(sortedTable.rowMap().get("foo") instanceof SortedMap);
      }
    
      public void testColumnKeySet_isSorted() {
        table =
            create(
                "a", 2, 'X', "a", 2, 'X', "b", 3, 'X', "b", 2, 'X', "c", 10, 'X', "c", 10, 'X', "c", 20,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/config/DelegatingConfigurationTest.java

        }
    
        @Test
        @DisplayName("DelegatingConfiguration should implement Configuration interface")
        void testInterfaceImplementation() {
            // Then
            assertTrue(delegatingConfig instanceof Configuration, "DelegatingConfiguration should implement Configuration interface");
        }
    
        @Test
        @DisplayName("Delegation should work with different delegate implementations")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  8. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

        }
    
        @Override
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
            if (obj instanceof VersionRange other) {
                return Objects.equals(recommendedVersion, other.recommendedVersion)
                        && Objects.equals(restrictions, other.restrictions);
            } else {
                return false;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 19K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/dict/mapping/AdminDictMappingAction.java

                final CharMappingItem entity = new CharMappingItem(0, StringUtil.EMPTY_STRINGS, StringUtil.EMPTY);
                return OptionalEntity.of(entity);
            case CrudMode.EDIT:
                if (form instanceof EditForm) {
                    return ComponentUtil.getComponent(CharMappingService.class).getCharMappingItem(form.dictId, ((EditForm) form).id);
                }
                break;
            default:
                break;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/webauth/AdminWebauthAction.java

                    entity.setCreatedBy(username);
                    entity.setCreatedTime(currentTime);
                    return entity;
                });
            case CrudMode.EDIT:
                if (form instanceof EditForm) {
                    return ComponentUtil.getComponent(WebAuthenticationService.class).getWebAuthentication(((EditForm) form).id);
                }
                break;
            default:
                break;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 20.3K bytes
    - Viewed (0)
Back to top