Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1611 - 1620 of 2,711 for create (0.03 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java

        WaitOnRunService service = new WaitOnRunService();
        service.startAsync().awaitRunning();
        enterRun.await();
        service.stopAsync().awaitTerminated();
      }
    
      public void testTimeout() {
        // Create a service whose executor will never run its commands
        Service service =
            new AbstractExecutionThreadService() {
              @Override
              protected void run() throws Exception {}
    
              @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbEnumerationUtil.java

                    }
                } catch (final IOException ioe) {
                    log.debug("DS enumeration failed", ioe);
                }
            }
    
            final SmbTreeConnection treeConn = SmbTreeConnection.create(tc);
            try (SmbTreeHandleImpl th = treeConn.connectHost(locator, locator.getServerWithDfs());
                    SmbSessionImpl session = th.getSession();
                    SmbTransportImpl transport = session.getTransport()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java

        @BeforeEach
        void setUp() {
            mockConfig = mock(Configuration.class);
            mockContext = mock(CIFSContext.class);
            when(mockContext.getConfig()).thenReturn(mockConfig);
    
            // Create a test file ID (16 bytes)
            testFileId = new byte[16];
            for (int i = 0; i < 16; i++) {
                testFileId[i] = (byte) (i + 1);
            }
    
            request = new Smb2FlushRequest(mockConfig, testFileId);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/EmptyIteratorTest.java

            assertNull(emptyIterator.next(), "Final next call");
        }
    
        @Test
        @DisplayName("EmptyIterator should be lightweight and efficient")
        void testPerformanceCharacteristics() {
            // When - create many instances quickly
            long startTime = System.currentTimeMillis();
    
            for (int i = 0; i < 10000; i++) {
                EmptyIterator iterator = new EmptyIterator();
                iterator.hasNext();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  5. src/cmd/cgo/doc.go

    final executable. External linking avoids the dynamic library
    requirement but introduces a requirement that the host linker be
    present to create such a binary.
    
    Most builds both compile source code and invoke the linker to create a
    binary. When cgo is involved, the compile step already requires gcc, so
    it is not problematic for the link step to require gcc too.
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Dec 11 23:57:34 UTC 2024
    - 44K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/mylasta/action/FessMessages.java

        public static final String ERRORS_crud_invalid_mode = "{errors.crud_invalid_mode}";
    
        /** The key of the message: Failed to create a new data. */
        public static final String ERRORS_crud_failed_to_create_instance = "{errors.crud_failed_to_create_instance}";
    
        /** The key of the message: Failed to create a new data. ({0}) */
        public static final String ERRORS_crud_failed_to_create_crud_table = "{errors.crud_failed_to_create_crud_table}";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 05 02:36:47 UTC 2025
    - 119.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/LabelTypeHelperTest.java

            Set<String> result = labelTypeHelper.getMatchedLabelValueSet("/test/path");
            assertNotNull(result);
            // Result depends on test data configuration
        }
    
        // Helper method to create test data
        private List<LabelType> createTestLabelTypeList() {
            List<LabelType> labelTypeList = new ArrayList<>();
    
            LabelType labelType1 = new LabelType();
            labelType1.setName("Test Label 1");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java

            int typeWithUpperBits = 0xFFFF0001; // Should be treated as type 1 (printer)
            SmbShareInfo info = new SmbShareInfo(TEST_NET_NAME, typeWithUpperBits, TEST_REMARK);
            assertEquals(SmbConstants.TYPE_PRINTER, info.getType());
    
            typeWithUpperBits = 0x12340003; // Should be treated as type 3 (named pipe)
            info = new SmbShareInfo(TEST_NET_NAME, typeWithUpperBits, TEST_REMARK);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/RequestTest.java

            verify(request, times(1)).getOverrideTimeout();
        }
    
        @Test
        @DisplayName("Test Request with concrete implementation")
        void testConcreteImplementation() {
            // Create a concrete implementation for testing
            TestRequest testRequest = new TestRequest();
    
            // Test initResponse
            CommonServerMessageBlockResponse testResponse = testRequest.initResponse(context);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/extra-models.md

    #### Pydantic's `.dict()` { #pydantics-dict }
    
    `user_in` is a Pydantic model of class `UserIn`.
    
    Pydantic models have a `.dict()` method that returns a `dict` with the model's data.
    
    So, if we create a Pydantic object `user_in` like:
    
    ```Python
    user_in = UserIn(username="john", password="secret", email="******@****.***")
    ```
    
    and then we call:
    
    ```Python
    user_dict = user_in.dict()
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.2K bytes
    - Viewed (0)
Back to top