Search Options

Results per page
Sort
Preferred Languages
Advance

Results 621 - 630 of 1,393 for Create (0.03 sec)

  1. src/main/java/jcifs/internal/smb2/rdma/RdmaNegotiateResponse.java

        private int status;
        private int selectedVersion;
        private int creditsGranted;
        private int maxReceiveSize;
        private int maxReadWriteSize;
        private int maxFragmentedSize;
    
        /**
         * Create new RDMA negotiation response
         */
        public RdmaNegotiateResponse() {
            // Initialize with default values
            this.status = 0; // Success
            this.selectedVersion = 0x0100; // SMB Direct 1.0
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbFile.java

            attrExpiration = 0;
        }
    
        /**
         * Set the create time of the file. The time is specified as milliseconds
         * from Jan 1, 1970 which is the same as that which is returned by the
         * {@code createTime()} method.
         *
         * This method does not apply to workgroups, servers, or shares.
         *
         * @param time the create time as milliseconds since Jan 1, 1970
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/AbstractCrawlerClient.java

        }
    
        /**
         * Creates a temporary file.
         * @param prefix The prefix string to be used in generating the file's name.
         * @param suffix The suffix string to be used in generating the file's name.
         * @param directory The directory in which the file is to be created, or null if the default temporary-file directory is to be used.
         * @return The created temporary file.
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

        }
    
        /**
         * Helper method to create a DcerpcPipeHandle with injected mocks
         * Uses mock to avoid constructor issues while allowing real method calls
         */
        private DcerpcPipeHandle createMockedDcerpcPipeHandle() throws Exception {
            // Create a mock without calling the constructor
            DcerpcPipeHandle handle = mock(DcerpcPipeHandle.class);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/SmbComNegotiateTest.java

     */
    class SmbComNegotiateTest {
    
        private SmbComNegotiate smbComNegotiate;
        private static final String DIALECTS = "\u0002NT LM 0.12\u0000";
    
        @BeforeEach
        void setUp() {
            // Create a new instance before each test
            smbComNegotiate = new SmbComNegotiate();
        }
    
        /**
         * Test the constructor of SmbComNegotiate.
         * It should initialize the command and flags2 with default values.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java

            }
        }
    
        @Test
        @DisplayName("Test setFileInformation method")
        void testSetFileInformation() {
            request = new Smb2SetInfoRequest(mockConfig);
    
            // Create a mock FileInformation that is also Encodable
            TestFileInformation mockFileInfo = mock(TestFileInformation.class);
            byte expectedLevel = (byte) 0x04;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/http/NtlmHttpFilterTest.java

            // Test NTLM Type 1 message handling
            // This test verifies that when a Type 1 NTLM message is received,
            // the filter processes it correctly through NtlmSsp.authenticate
    
            // Create a minimal filter config that won't try to connect to a real server
            Map<String, String> initParams = new HashMap<>();
            initParams.put("jcifs.smb.client.domain", "TEST_DOMAIN");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  8. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java

         *
         * @param accessResult The access result to store.
         */
        @Override
        public void store(final OpenSearchAccessResult accessResult) {
            super.insert(accessResult, accessResult.getId() == null ? OpType.CREATE : OpType.INDEX);
        }
    
        /**
         * Updates an access result in the OpenSearch index.
         *
         * @param accessResult The access result to update.
         */
        @Override
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationTest.java

     * <p>
     * Because most of the logic lives in {@link jcifs.internal.smb1.ServerMessageBlock}
     * the tests create a mock {@link Configuration} and instantiate SmbComQueryInformation
     * directly.  Since the byte‑encoding logic is located in the superclass, the
     * tests verify that the byte buffer created by {@link
     * SmbComQueryInformation#writeBytesWireFormat(byte[], int)} is correctly built
     * for both Unicode and OEM encodings.
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancerTest.java

        }
    
        @Test
        void testZeroScoreChannels() {
            loadBalancer.setStrategy(LoadBalancingStrategy.WEIGHTED_RANDOM);
    
            // Create channels with zero scores (failed state)
            channel1.setState(ChannelState.FAILED);
            channel2.setState(ChannelState.FAILED);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.7K bytes
    - Viewed (0)
Back to top