Search Options

Results per page
Sort
Preferred Languages
Advance

Results 471 - 480 of 852 for lock (0.01 sec)

  1. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

            assertEquals(SmbComTransaction.TRANS2_SET_FILE_INFORMATION, response.getSubCommand());
        }
    
        @Test
        @DisplayName("Test constructor with mock configuration")
        void testConstructorWithMockConfig() {
            // Test constructor with mock configuration
            Trans2SetFileInformationResponse mockResponse = new Trans2SetFileInformationResponse(mockConfig);
            assertNotNull(mockResponse);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Interceptor.kt

         * val interceptor = Interceptor { chain: Interceptor.Chain ->
         *     chain.proceed(chain.request())
         * }
         * ```
         */
        inline operator fun invoke(crossinline block: (chain: Chain) -> Response): Interceptor = Interceptor { block(it) }
      }
    
      interface Chain {
        fun request(): Request
    
        @Throws(IOException::class)
        fun proceed(request: Request): Response
    
        /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

            }
        }
    
        /**
         * Constructs an AndX message block with configuration and command
         * @param config the configuration
         * @param command the SMB command
         */
        protected AndXServerMessageBlock(final Configuration config, final byte command) {
            this(config, command, null);
        }
    
        /**
         * Constructs an AndX message block with command and chained command
         * @param config the configuration
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  4. .github/workflows/ci.yml

          - name: 'Set up JDKs'
            uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
            with:
              # For discussion, see the first setup-java block.
              # The publish-snapshot workflow doesn't run tests, so we don't have to care which version Maven would select for that step.
              java-version: 24
              distribution: 'temurin'
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 19:19:31 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/ntlmssp/NtlmFlags.java

         */
        int NTLMSSP_REQUEST_NON_NT_SESSION_KEY = 0x00400000;
    
        /**
        * Sent by the server in the Type 2 message to indicate that it is
        * including a Target Information block in the message.  The Target
        * Information block is used in the calculation of the NTLMv2 response.
        */
        int NTLMSSP_NEGOTIATE_TARGET_INFO = 0x00800000;
    
        /**
        * Indicates that 128-bit encryption is supported.
        */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  6. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt

       *
       * https://github.com/oracle/graal/issues/3008
       */
      @JvmStatic
      fun Throwable.assertSuppressed(block: (List<@JvmSuppressWildcards Throwable>) -> Unit) {
        if (isGraalVmImage) return
        block(suppressed.toList())
      }
    
      @JvmStatic
      fun threadFactory(name: String): ThreadFactory =
        object : ThreadFactory {
          private var nextId = 1
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbAuthExceptionTest.java

    import org.junit.jupiter.api.extension.ExtendWith;
    import org.junit.jupiter.params.ParameterizedTest;
    import org.junit.jupiter.params.provider.Arguments;
    import org.junit.jupiter.params.provider.MethodSource;
    import org.mockito.Mock;
    import org.mockito.Mockito;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    /**
     * Tests for SmbAuthException covering all constructors and inherited behavior.
     */
    @ExtendWith(MockitoExtension.class)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

    import org.junit.jupiter.params.provider.MethodSource;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    import jcifs.Configuration;
    import jcifs.spnego.NegTokenInit;
    
    @ExtendWith(MockitoExtension.class)
    class Kerb5AuthenticatorTest {
    
        @Mock
        CIFSContext tc;
    
        @Mock
        Configuration config;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/helper/ThemeHelperTest.java

                assertNotNull(result);
            } catch (Exception e) {
                assertTrue(true); // Expected exception
            }
        }
    
        public void test_getJarFile_exists() throws IOException {
            // Create a mock jar file
            Path jarPath = tempDir.resolve("test-theme.jar");
            Files.createFile(jarPath);
    
            ThemeHelper mockThemeHelper = new ThemeHelper() {
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

                if (throwOnCloseInternal)
                    throw new CIFSException("closeInternal fail");
            }
        }
    
        @Mock
        SmbTreeHandleImpl tree;
        @Mock
        SmbResource parent;
        @Mock
        ResourceNameFilter nameFilter;
    
        private void stubAcquireReturnsSelf() {
            when(tree.acquire()).thenReturn(tree);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
Back to top