Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 451 - 460 of 564 for set_op (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/jcifs/internal/smb2/lease/DirectoryChangeNotifier.java

                startAsyncNotification(handle);
    
            } catch (Exception e) {
                log.error("Failed to start directory watching for: " + directoryPath, e);
            }
        }
    
        /**
         * Stop watching a directory
         *
         * @param directoryPath directory path
         */
        public void stopWatching(String directoryPath) {
            ChangeNotificationHandle handle = activeWatchers.remove(directoryPath);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 13.7K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

        private static final long TEST_PREVIOUS_SESSION_ID = 0x1234567890ABCDEFL;
        private static final byte[] TEST_TOKEN = { 0x01, 0x02, 0x03, 0x04, 0x05 };
    
        @BeforeEach
        void setUp() {
            mockConfig = mock(Configuration.class);
            mockContext = mock(CIFSContext.class);
            when(mockContext.getConfig()).thenReturn(mockConfig);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

            @Override
            protected URLConnection openConnection(URL u) {
                return null; // not used
            }
        };
    
        @BeforeEach
        void setup() {
            when(ctx.getConfig()).thenReturn(config);
            when(ctx.getCredentials()).thenReturn(creds);
            when(ctx.getNameServiceClient()).thenReturn(nsc);
        }
    
        private static URL smbUrl(String spec) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.6K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt

      private val sockets = inMemorySocketPair(8192L)
      private val client = TestStreams(taskFaker, sockets[0], client = true)
      private val server = TestStreams(taskFaker, sockets[1], client = false)
    
      @BeforeEach
      fun setUp() {
        client.initWebSocket(random)
        server.initWebSocket(random)
      }
    
      @AfterEach
      @Throws(Exception::class)
      fun tearDown() {
        client.listener.assertExhausted()
        server.listener.assertExhausted()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 18.7K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java

    /**
     * Test class for NetShareEnumResponse
     */
    class NetShareEnumResponseTest {
    
        @Mock
        private Configuration mockConfig;
    
        private NetShareEnumResponse response;
    
        @BeforeEach
        void setUp() throws Exception {
            MockitoAnnotations.openMocks(this);
            // Use real configuration for most tests
            mockConfig = new BaseConfiguration(false);
            response = new NetShareEnumResponse(mockConfig);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.2K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

        @Mock
        private Configuration mockConfig;
    
        private FileBothDirectoryInfo fileBothDirectoryInfo;
        private FileBothDirectoryInfo fileBothDirectoryInfoNonUnicode;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            // Mock the OEM encoding for non-Unicode tests
            when(mockConfig.getOemEncoding()).thenReturn("Cp850");
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.9K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/CommonsCliMavenOptions.java

                        .desc("Warn if checksums don't match")
                        .get());
                options.addOption(Option.builder(FAIL_FAST)
                        .longOpt("fail-fast")
                        .desc("Stop at first failure in reactorized builds")
                        .get());
                options.addOption(Option.builder(FAIL_AT_END)
                        .longOpt("fail-at-end")
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Sep 25 17:39:57 GMT 2025
    - 14.8K bytes
    - Click Count (0)
  8. internal/logger/target/kafka/kafka.go

    		return err
    	}
    	// Delete the event from store.
    	return h.store.Del(key)
    }
    
    // Cancel - cancels the target
    func (h *Target) Cancel() {
    	// If queuestore is configured, cancel it's context to
    	// stop the replay go-routine.
    	if h.store != nil {
    		h.storeCtxCancel()
    	}
    
    	// Set logch to nil and close it.
    	// This will block all Send operations,
    	// and finish the existing ones.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java

    class Smb2ReadResponseTest extends BaseTest {
    
        private Configuration mockConfig;
        private byte[] outputBuffer;
        private int outputBufferOffset;
        private Smb2ReadResponse response;
    
        @BeforeEach
        void setUp() {
            mockConfig = mock(Configuration.class);
            outputBuffer = new byte[1024];
            outputBufferOffset = 0;
            response = new Smb2ReadResponse(mockConfig, outputBuffer, outputBufferOffset);
        }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 22.1K bytes
    - Click Count (0)
  10. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

        @Mock
        private DcerpcBinding mockBinding;
    
        @Mock
        private DcerpcHandle mockHandle;
    
        @Mock
        private NdrBuffer mockBuffer;
    
        private DcerpcBind bind;
    
        @BeforeEach
        void setUp() {
            bind = new DcerpcBind();
        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 22.7K bytes
    - Click Count (0)
Back to Top