Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 295 for initializes (0.87 sec)

  1. src/test/java/jcifs/dcerpc/msrpc/MsrpcGetMembersInAliasTest.java

            // Assert that the public 'sids' field is initialized as expected
            assertEquals(sids, request.sids, "The 'sids' field should be initialized by the constructor.");
    
            // Use reflection to access and verify protected fields from the parent class DcerpcMessage
            Field ptypeField = DcerpcMessage.class.getDeclaredField("ptype");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/util/RC4.java

         * Default constructor for RC4 cipher.
         * Call init() to initialize with a key before use.
         */
        public RC4() {
        }
    
        /**
         * Constructs and initializes an RC4 cipher with the specified key.
         *
         * @param key the encryption key
         */
        public RC4(final byte[] key) {
            init(key, 0, key.length);
        }
    
        /**
         * Initializes the RC4 cipher with a key.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  3. cmd/erasure-sets_test.go

    	nDisks := 16 // Maximum disks.
    	var erasureDisks []string
    	for range nDisks {
    		// Do not attempt to create this path, the test validates
    		// so that newErasureSets initializes non existing paths
    		// and successfully returns initialized object layer.
    		disk := filepath.Join(globalTestTmpDir, "minio-"+nextSuffix())
    		erasureDisks = append(erasureDisks, disk)
    		defer os.RemoveAll(disk)
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/ndr/NdrHyperTest.java

    class NdrHyperTest {
    
        @Mock
        private NdrBuffer mockNdrBuffer;
    
        @BeforeEach
        void setUp() {
            // Initialize mocks before each test
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        void testConstructorAndGetValue() {
            // Test that the constructor correctly initializes the value
            long expectedValue = 123456789012345L;
            NdrHyper ndrHyper = new NdrHyper(expectedValue);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/config/BaseConfiguration.java

         * @return the batch limit for the command, or null if not set
         */
        protected Integer doGetBatchLimit(final String cmd) {
            return null;
        }
    
        /**
         * Initializes the resolver order for name resolution.
         *
         * @param ro comma-separated list of resolver types (LMHOSTS, WINS, BCAST, DNS)
         */
        protected void initResolverOrder(final String ro) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/Request.java

     */
    public interface Request<T extends CommonServerMessageBlockResponse> extends CommonServerMessageBlockRequest {
    
        /**
         * Initializes and returns a response object for this request.
         *
         * @param tc the CIFS context
         * @return the initialized response
         */
        T initResponse(CIFSContext tc);
    
        /**
         *
         * @return the response message
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/context/SingletonContextTest.java

        @Test
        void testInitAlreadyInitializedThrowsException() throws CIFSException {
            // Test attempting to initialize when already initialized
            SingletonContext.init(null);
            CIFSException e = assertThrows(CIFSException.class, () -> SingletonContext.init(null));
            assertEquals("Singleton context is already initialized", e.getMessage());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

            response = new Trans2SetFileInformationResponse(config);
        }
    
        @Test
        @DisplayName("Test constructor initializes object correctly")
        void testConstructor() {
            // Test that the constructor properly initializes the object
            assertNotNull(response);
            // The command is not set in the constructor, defaults to 0
            assertEquals(0, response.getCommand());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  9. cmd/config.go

    type ConfigSys struct{}
    
    // Init - initializes config system from config.json.
    func (sys *ConfigSys) Init(objAPI ObjectLayer) error {
    	if objAPI == nil {
    		return errInvalidArgument
    	}
    
    	return initConfig(objAPI)
    }
    
    // NewConfigSys - creates new config system object.
    func NewConfigSys() *ConfigSys {
    	return &ConfigSys{}
    }
    
    // Initialize and load config from remote etcd or local config directory
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/dfs/DfsReferralResponseBuffer.java

     *
     * @author mbechler
     */
    public class DfsReferralResponseBuffer implements Decodable {
    
        /**
         * Default constructor for DfsReferralResponseBuffer.
         * Initializes the DFS referral response buffer for parsing server responses.
         */
        public DfsReferralResponseBuffer() {
            // Default constructor
        }
    
        private int pathConsumed;
        private int numReferrals;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
Back to top