Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 191 for Locks (0.18 seconds)

  1. src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java

            byte[] result = digest.digest();
    
            assertNotNull(result);
            assertTrue(result.length > 0);
        }
    
        // Helper method to setup transport mocks
        private void setupTransportMocks(int lmCompatibility) throws Exception {
            byte[] serverEncryptionKey = new byte[8];
            byte[] unicodeHash = new byte[24];
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java

            crawlingInfoHelper.documentExpires = currentTime + 5000;
    
            // For this test, we'll focus on the documentExpires fallback logic
            // since creating full CrawlingConfig mocks would require implementing many abstract methods
            Date result = crawlingInfoHelper.documentExpires != null ? new Date(crawlingInfoHelper.documentExpires) : null;
            assertNotNull(result);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 01:46:45 GMT 2026
    - 28.7K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

     */
    @ExtendWith(MockitoExtension.class)
    @MockitoSettings(strictness = Strictness.LENIENT)
    public class SmbRandomAccessFileTest {
    
        // Helper: build a minimally wired instance with mocks; avoids real I/O
        private SmbRandomAccessFile newInstance(String mode, boolean smb2, boolean ntSmbsCap, boolean unshared) throws CIFSException {
            SmbFile file = mock(SmbFile.class);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  4. src/test/java/jcifs/SmbResourceTest.java

         */
        private SmbResource createMockResource() {
            return mock(SmbResource.class);
        }
    
        @BeforeEach
        void setUp() {
            // Reset mocks to ensure clean state for each test
            reset(mockResource, mockLocator, mockContext);
        }
    
        @Nested
        @DisplayName("Interface Contract Tests")
        class InterfaceContractTests {
    
            @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 35K bytes
    - Click Count (0)
  5. docs/uk/docs/index.md

    * Досконаліші (але однаково прості) техніки для оголошення **глибоко вкладених моделей JSON** (завдяки Pydantic).
    * Інтеграцію **GraphQL** з [Strawberry](https://strawberry.rocks) та іншими бібліотеками.
    * Багато додаткових можливостей (завдяки Starlette) як-от:
        * **WebSockets**
        * надзвичайно прості тести на основі HTTPX та `pytest`
        * **CORS**
        * **Cookie Sessions**
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 29.1K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/util/concurrent/RateLimiter.java

       * object to facilitate testing.
       */
      private final SleepingStopwatch stopwatch;
    
      // Can't be initialized in the constructor because mocks don't call the constructor.
      private volatile @Nullable Object mutexDoNotUseDirectly;
    
      private Object mutex() {
        Object mutex = mutexDoNotUseDirectly;
        if (mutex == null) {
          synchronized (this) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:05:27 GMT 2025
    - 21.8K bytes
    - Click Count (0)
  7. src/test/java/jcifs/dcerpc/msrpc/samrTest.java

        private lsarpc.LsarSidArray mockLsarSidArray;
    
        @BeforeEach
        void setUp() {
            // Directly set the deferred field on the mock
            mockNdrBuffer.deferred = mockDeferredBuffer;
    
            // Configure mocks for NdrBuffer interactions
            lenient().when(mockDeferredBuffer.derive(anyInt())).thenReturn(mockDeferredBuffer);
            lenient().doNothing().when(mockDeferredBuffer).advance(anyInt());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 33.7K bytes
    - Click Count (0)
  8. docs/de/docs/index.md

    * Fortgeschrittenere (aber ebenso einfache) Techniken zur Deklaration **tief verschachtelter JSON-Modelle** (dank Pydantic).
    * **GraphQL**-Integration mit [Strawberry](https://strawberry.rocks) und anderen Bibliotheken.
    * Viele zusätzliche Features (dank Starlette) wie:
        * **WebSockets**
        * extrem einfache Tests auf Basis von HTTPX und `pytest`
        * **CORS**
        * **Cookie-Sessions**
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 23.6K bytes
    - Click Count (1)
  9. docs/zh/docs/index.md

    * 功能强大且易用的 **<dfn title="也被称为:组件、资源、提供者、服务、可注入项">依赖注入</dfn>** 系统。
    * 安全与认证,包括对 **OAuth2**、**JWT tokens** 和 **HTTP Basic** 认证的支持。
    * 更高级(但同样简单)的 **多层嵌套 JSON 模型** 声明技巧(得益于 Pydantic)。
    * 通过 [Strawberry](https://strawberry.rocks) 等库进行 **GraphQL** 集成。
    * 许多额外特性(归功于 Starlette),例如:
        * **WebSockets**
        * 基于 HTTPX 和 `pytest` 的极其简单的测试
        * **CORS**
        * **Cookie Sessions**
        * ……以及更多。
    
    ### 部署你的应用(可选) { #deploy-your-app-optional }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 20.7K bytes
    - Click Count (0)
  10. docs/ru/docs/index.md

    * Более продвинутые (но столь же простые) приёмы объявления **глубоко вложенных JSON-моделей** (спасибо Pydantic).
    * Интеграцию **GraphQL** с [Strawberry](https://strawberry.rocks) и другими библиотеками.
    * Множество дополнительных функций (благодаря Starlette), таких как:
        * **WebSockets**
        * чрезвычайно простые тесты на основе HTTPX и `pytest`
        * **CORS**
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 30.4K bytes
    - Click Count (0)
Back to Top