Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1601 - 1610 of 2,799 for Create (0.24 sec)

  1. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java

        @BeforeEach
        void setUp() {
            mockConfig = mock(Configuration.class);
            response = new Smb2TreeDisconnectResponse(mockConfig);
        }
    
        @Test
        @DisplayName("Should create response with configuration")
        void testConstructorWithConfiguration() {
            // Given & When
            Smb2TreeDisconnectResponse resp = new Smb2TreeDisconnectResponse(mockConfig);
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java

            mocks = MockitoAnnotations.openMocks(this);
    
            when(context.getConfig()).thenReturn(config);
            when(config.isDirectoryNotificationsEnabled()).thenReturn(false);
    
            // Create real lease manager for integration testing
            baseLeaseManager = new LeaseManager(context);
            directoryLeaseManager = new DirectoryLeaseManager(context, baseLeaseManager);
        }
    
        @AfterEach
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  3. cmd/common-main.go

    	dirAbs, err := filepath.Abs(dir)
    	if err != nil {
    		return nil, err
    	}
    	err = mkdirAllIgnorePerm(dirAbs)
    	if err != nil {
    		return nil, fmt.Errorf("unable to create the directory `%s`: %w", dirAbs, err)
    	}
    
    	return &ConfigDir{path: dirAbs}, nil
    }
    
    func buildServerCtxt(ctx *cli.Context, ctxt *serverCtxt) (err error) {
    	// Get "json" flag from command line argument and
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 32.5K bytes
    - Viewed (3)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

      taskRunner: TaskRunner,
    ) : Closeable,
      Flushable {
      /** Create a cache of at most [maxSize] bytes in [directory]. */
      constructor(
        fileSystem: FileSystem,
        directory: Path,
        maxSize: Long,
      ) : this(
        directory,
        maxSize,
        fileSystem,
        TaskRunner.INSTANCE,
      )
    
      /** Create a cache of at most [maxSize] bytes in [directory]. */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  5. 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)
  6. src/test/java/org/codelibs/fess/script/ScriptEngineTest.java

    public class ScriptEngineTest extends UnitFessTestCase {
    
        private ScriptEngine scriptEngine;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            // Create a test implementation of ScriptEngine
            scriptEngine = new TestScriptEngine();
        }
    
        // Test evaluate method with valid template and parameters
        public void test_evaluate_withValidTemplateAndParams() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top