Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 797 for rock (0.02 sec)

  1. src/test/java/jcifs/smb/DfsImplTest.java

        @BeforeEach
        void setUp() throws IOException {
            // Mock the CIFSContext and its dependencies
            mockContext = mock(CIFSContext.class);
            mockConfig = mock(Configuration.class);
            mockCredentials = mock(Credentials.class);
            mockTransportPool = mock(SmbTransportPool.class);
    
            // Set up mock behaviors
            when(mockContext.getConfig()).thenReturn(mockConfig);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/http/NtlmServletTest.java

        private TestNtlmServlet ntlmServlet;
    
        @Mock
        private ServletConfig servletConfig;
    
        @Mock
        private HttpServletRequest request;
    
        @Mock
        private HttpServletResponse response;
    
        @Mock
        private HttpSession session;
    
        @Mock
        private CIFSContext cifsContext;
    
        @Mock
        private Configuration configuration;
    
        @Mock
        private jcifs.SmbTransportPool transportPool;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbFileOutputStreamTest.java

    @ExtendWith(MockitoExtension.class)
    class SmbFileOutputStreamTest {
    
        @Mock
        private SmbFile mockFile;
    
        @Mock
        private SmbTreeHandleImpl mockTreeHandle;
    
        @Mock
        private SmbFileHandleImpl mockFileHandle;
    
        @Mock
        private Configuration mockConfig;
    
        @Mock
        private Smb2WriteResponse mockWriteResponse;
    
        private SmbFileOutputStream outputStream;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java

                lock.readLock().unlock();
            }
        }
    
        /**
         * Get handle information by path
         * @param path the file path
         * @return the handle info or null if not found
         */
        public HandleInfo getHandleByPath(String path) {
            lock.readLock().lock();
            try {
                return handles.get(path);
            } finally {
                lock.readLock().unlock();
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

    @ExtendWith(MockitoExtension.class)
    @MockitoSettings(strictness = Strictness.LENIENT)
    class SmbResourceLocatorImplTest {
    
        @Mock
        private CIFSContext ctx;
        @Mock
        private Configuration config;
        @Mock
        private Credentials creds;
        @Mock
        private NameServiceClient nsc;
    
        // Minimal URLStreamHandler to allow creating smb:// URLs in tests
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/witness/WitnessClientTest.java

        @Test
        void testSuccessfulRegistration() throws Exception {
            // Setup mock RPC response
            WitnessRegisterResponse mockResponse = mock(WitnessRegisterResponse.class);
            lenient().when(mockResponse.isSuccess()).thenReturn(true);
            lenient().when(mockResponse.getRegistrationId()).thenReturn("test-reg-123");
    
            WitnessRpcClient mockRpc = mock(WitnessRpcClient.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java

            }
          };
    
      private static final Supplier<Lock> LOCK_SUPPLER =
          new Supplier<Lock>() {
            @Override
            public Lock get() {
              return new ReentrantLock();
            }
          };
    
      private static final Supplier<Lock> FAIR_LOCK_SUPPLER =
          new Supplier<Lock>() {
            @Override
            public Lock get() {
              return new ReentrantLock(true);
            }
          };
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/StripedTest.java

            }
          };
    
      private static final Supplier<Lock> LOCK_SUPPLER =
          new Supplier<Lock>() {
            @Override
            public Lock get() {
              return new ReentrantLock();
            }
          };
    
      private static final Supplier<Lock> FAIR_LOCK_SUPPLER =
          new Supplier<Lock>() {
            @Override
            public Lock get() {
              return new ReentrantLock(true);
            }
          };
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  9. android/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) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. 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);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
Back to top