Search Options

Results per page
Sort
Preferred Languages
Advance

Results 691 - 700 of 1,042 for set_op (0.03 sec)

  1. docs/changelogs/upgrading_to_okhttp_4.md

     * **Route**: address, proxy, socketAddress
     * **TlsVersion**: javaName
    
    #### Renamed Functions
    
    * **Headers.of()**: for symmetry with `listOf()`, `setOf()`, etc., we’ve replaced
      `Headers.of(String...)` with `headersOf(vararg String)`.
    
    #### Extension Functions
    
    We’ve migrated from static functions to extension functions where we think they fit.
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 16:58:16 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequestTest.java

        private static final byte[] TEST_FILE_ID = new byte[16];
        private static final byte[] TEST_OUTPUT_BUFFER = new byte[1024];
    
        @BeforeEach
        void setUp() {
            Arrays.fill(TEST_FILE_ID, (byte) 0x42);
        }
    
        private void setupMockConfig() {
            when(mockConfig.getTransactionBufferSize()).thenReturn(65536);
        }
    
        private void setupMockContext() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java

    @DisplayName("LeaseManager Tests")
    class LeaseManagerTest {
    
        private LeaseManager leaseManager;
        private CIFSContext mockContext;
        private Configuration mockConfig;
    
        @BeforeEach
        void setUp() {
            mockContext = mock(CIFSContext.class);
            mockConfig = mock(Configuration.class);
            when(mockContext.getConfig()).thenReturn(mockConfig);
            when(mockConfig.getLeaseTimeout()).thenReturn(30000);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbTransportInternalTest.java

            SmbSession result = transport.getSmbSession(ctx);
            assertSame(session, result);
            verify(transport).getSmbSession(eq(ctx));
        }
    
        // Edge inputs: null context returns null session per mock setup
        @Test
        @DisplayName("getSmbSession(ctx) with null context returns null as stubbed")
        void getSmbSession_byContext_null() {
            when(transport.getSmbSession(isNull(jcifs.CIFSContext.class))).thenReturn(null);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java

        private static final int CHUNK_SIZE = 24;
    
        @Mock
        private SrvCopychunk mockChunk;
    
        @BeforeEach
        void setUp() {
        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should create instance with source key and single chunk")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/msrpc/SamrDomainHandleTest.java

        // Use ArgumentCaptor to capture the MsrpcSamrCloseHandle instance passed to sendrecv
        private ArgumentCaptor<MsrpcSamrCloseHandle> closeHandleCaptor;
    
        @BeforeEach
        void setUp() {
            // Initialize mocks and captors before each test
            MockitoAnnotations.openMocks(this);
            openDomainCaptor = ArgumentCaptor.forClass(MsrpcSamrOpenDomain.class);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/util/LogStreamTest.java

    class LogStreamTest {
    
        private PrintStream originalErr;
        private ByteArrayOutputStream testOutput;
        private PrintStream testStream;
        private int originalLevel;
    
        @BeforeEach
        void setUp() throws Exception {
            // Save original state
            originalErr = System.err;
            originalLevel = LogStream.level;
    
            // Create test stream
            testOutput = new ByteArrayOutputStream();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/service/FileConfigService.java

                } else {
                    cb.query().setDescription_MatchPhrase(fileConfigPager.description);
                }
            }
            // TODO Long, Integer, String supported only.
    
            // setup condition
            cb.query().addOrderBy_SortOrder_Asc();
            cb.query().addOrderBy_Name_Asc();
    
            // search
    
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbTreeImplTest.java

        @Mock
        private Configuration config;
    
        @Mock
        private CIFSContext context;
    
        @Mock
        private SmbTransportImpl transport;
    
        @BeforeEach
        void setUp() throws Exception {
            MockitoAnnotations.openMocks(this);
            when(session.getConfig()).thenReturn(config);
            when(session.getContext()).thenReturn(context);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

            assertEquals(Trans2FindFirst2.LIST_SIZE, next.maxDataCount, "Max data count should use LIST_SIZE");
            assertEquals((byte) 0x00, next.maxSetupCount, "Max setup count must be 0");
    
            // Information level defaults to BOTH_DIRECTORY_INFO (0x104) — check via parameters encoding
            byte[] buf = new byte[2 + 2 + 2 + 4 + 2 + filename.length() + 1];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
Back to top