Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 774 for sock (0.02 seconds)

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

  1. src/test/java/org/codelibs/fess/job/PingSearchEngineJobTest.java

                }
            };
    
            NotificationHelper notificationHelper = new NotificationHelper() {
                // Mock send method
                public void send(final Object postcard) {
                    // Mock implementation
                }
            };
    
            // Mock Postbox - no need to mock, the framework will handle it
    
            // Register components
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18.9K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java

    import org.mockito.Mock;
    import org.mockito.MockitoAnnotations;
    
    import jcifs.DfsReferralData;
    
    /**
     * Test class for DfsReferralDataInternal interface
     * Tests the interface contract using mock implementations and concrete class
     */
    @DisplayName("DfsReferralDataInternal Interface Tests")
    class DfsReferralDataInternalTest {
    
        @Mock
        private DfsReferralDataInternal mockReferralData;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 28.2K bytes
    - Click Count (0)
  3. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

      }
    
      @Override
      public int size() {
        synchronized (lock) {
          return cachingHashMap.size();
        }
      }
    
      @Override
      public boolean isEmpty() {
        synchronized (lock) {
          return cachingHashMap.isEmpty();
        }
      }
    
      @Override
      public @Nullable V get(@Nullable Object key) {
        Timestamped<V> value;
        synchronized (lock) {
          checkNotNull(key);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 12:40:22 GMT 2026
    - 21.6K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/SmbFileTest.java

    @ExtendWith(MockitoExtension.class)
    @MockitoSettings(strictness = Strictness.LENIENT)
    public class SmbFileTest {
    
        @Mock
        private CIFSContext mockCifsContext;
    
        @Mock
        private SmbResourceLocator mockLocator;
    
        @Mock
        private Configuration mockConfig;
    
        @Mock
        private Credentials mockCredentials;
    
        private URL url;
    
        private SmbFile smbFile;
    
        @BeforeEach
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.8K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/SmbEnumerationUtilTest.java

    import org.junit.jupiter.params.provider.MethodSource;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.CIFSException;
    import jcifs.ResourceFilter;
    import jcifs.SmbResource;
    import jcifs.SmbResourceLocator;
    
    @ExtendWith(MockitoExtension.class)
    class SmbEnumerationUtilTest {
    
        @Mock
        SmbFilenameFilter fnf;
    
        @Mock
        SmbFileFilter ff;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.1K bytes
    - Click Count (0)
  6. guava-tests/benchmark/com/google/common/util/concurrent/StripedBenchmark.java

      enum Impl {
        EAGER {
          @Override
          Striped<Lock> get(int stripes) {
            return Striped.lock(stripes);
          }
        },
        LAZY_SMALL {
          @Override
          Striped<Lock> get(int stripes) {
            return new Striped.SmallLazyStriped<>(stripes, LOCK_SUPPLIER);
          }
        },
        LAZY_LARGE {
          @Override
          Striped<Lock> get(int stripes) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 4K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

      private final Object lock = new Object();
    
      /**
       * The runnable, executor pairs to execute. This acts as a stack threaded through the {@link
       * RunnableExecutorPair#next} field.
       */
      @GuardedBy("lock")
      private @Nullable RunnableExecutorPair runnables;
    
      @GuardedBy("lock")
      private boolean executed;
    
      /** Creates a new, empty {@link ExecutionList}. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 10 11:51:21 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/SmbTreeImplTest.java

    import jcifs.internal.smb2.nego.Smb2NegotiateResponse;
    import jcifs.internal.smb2.tree.Smb2TreeConnectResponse;
    
    class SmbTreeImplTest {
    
        @Mock
        private SmbSessionImpl session;
    
        @Mock
        private Configuration config;
    
        @Mock
        private CIFSContext context;
    
        @Mock
        private SmbTransportImpl transport;
    
        @BeforeEach
        void setUp() throws Exception {
            MockitoAnnotations.openMocks(this);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  9. src/test/java/jcifs/context/CIFSContextWrapperTest.java

        private CIFSContext mockDelegate;
        private Configuration mockConfiguration;
        private CIFSContextWrapper cifsContextWrapper;
    
        @BeforeEach
        void setUp() {
            mockDelegate = mock(CIFSContext.class);
            mockConfiguration = mock(Configuration.class);
            when(mockDelegate.getConfig()).thenReturn(mockConfiguration);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb2/lock/Smb2Lock.java

     */
    package jcifs.internal.smb2.lock;
    
    import jcifs.Encodable;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Lock data structure.
     *
     * This class represents a single lock element used in
     * SMB2 Lock requests for byte-range locking.
     *
     * @author mbechler
     */
    public class Smb2Lock implements Encodable {
    
        /**
         * Flag indicating a shared lock that allows concurrent read access.
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.8K bytes
    - Click Count (0)
Back to Top