Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 331 - 340 of 800 for Initializer (0.13 seconds)

  1. internal/dsync/dsync-client_test.go

    type ReconnectRESTClient struct {
    	u    *url.URL
    	rest *rest.Client
    }
    
    // newClient constructs a ReconnectRESTClient object with addr and endpoint initialized.
    // It _doesn't_ connect to the remote endpoint. See Call method to see when the
    // connect happens.
    func newClient(endpoint string) NetLocker {
    	u, err := url.Parse(endpoint)
    	if err != nil {
    		panic(err)
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Jan 20 17:36:09 GMT 2022
    - 4.4K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java

            int fid = 0x1234;
            int securityInfo = OWNER_SECURITY_INFORMATION;
    
            querySecurityDesc = new NtTransQuerySecurityDesc(mockConfig, fid, securityInfo);
    
            // Constructor should initialize the object without throwing exceptions
            assertNotNull(querySecurityDesc);
    
            // Test toString contains the expected values to verify field initialization
            String str = querySecurityDesc.toString();
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.9K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java

        void testConstructorInitialization() {
            // Verify that the transaction is properly initialized
            assertEquals(ServerMessageBlock.SMB_COM_NT_TRANSACT, transaction.getCommand());
    
            // Verify that transaction is properly initialized
            assertNotNull(transaction);
    
            // Verify primary setup offset (should be 71 as per NTT_PRIMARY_SETUP_OFFSET)
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  4. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrConnect2Test.java

            ptypeField.setAccessible(true);
            int ptypeValue = (int) ptypeField.get(msrpcSamrConnect2);
            assertEquals(0, ptypeValue, "The 'ptype' field should be initialized to 0");
        }
    
        @Test
        @DisplayName("Should set flags to DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG")
        void shouldSetFlagsCorrectly() throws NoSuchFieldException, IllegalAccessException {
            // When
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  5. src/test/java/jcifs/dcerpc/DcerpcHandleTest.java

            void testConstructorWithContextOnly() {
                // When: Creating handle with context only
                TestDcerpcHandle h = new TestDcerpcHandle(mockContext);
    
                // Then: Should initialize correctly
                assertNotNull(h);
                assertEquals(mockContext, h.getTransportContext());
                assertNull(h.getBinding());
            }
    
            @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/SpnegoContext.java

        static {
            try {
                SPNEGO_MECH_OID = new ASN1ObjectIdentifier("1.3.6.1.5.5.2");
            } catch (final IllegalArgumentException e) {
                log.error("Failed to initialize OID", e);
            }
        }
    
        private final SSPContext mechContext;
    
        private boolean firstResponse = true;
        private boolean completed;
    
        private ASN1ObjectIdentifier[] mechs;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

       *
       * Note that if the application chooses to not call this method to initialize the cache. By
       * default, OkHttp will perform lazy initialization upon the first usage of the cache.
       */
      @Throws(IOException::class)
      fun initialize() {
        cache.initialize()
      }
    
      /**
       * Closes the cache and deletes all of its stored values. This will delete all files in the cache
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Oct 03 17:41:45 GMT 2025
    - 26.8K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb2/rdma/RdmaNegotiateResponse.java

        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
            this.creditsGranted = 0;
            this.maxReceiveSize = RdmaCapabilities.DEFAULT_MAX_RECEIVE_SIZE;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  9. docs/sts/assume-role.go

    func main() {
    	flag.Parse()
    	if minioUsername == "" || minioPassword == "" {
    		flag.PrintDefaults()
    		return
    	}
    
    	// The credentials package in minio-go provides an interface to call the
    	// STS API.
    
    	// Initialize credential options
    	var stsOpts cr.STSAssumeRoleOptions
    	stsOpts.AccessKey = minioUsername
    	stsOpts.SecretKey = minioPassword
    
    	if sessionPolicyFile != "" {
    		var policy string
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sat Aug 17 01:24:54 GMT 2024
    - 4.4K bytes
    - Click Count (1)
  10. src/main/java/org/codelibs/fess/app/pager/ReqHeaderPager.java

        public String createdTime;
    
        /**
         * The version number for optimistic locking.
         */
        public String versionNo;
    
        /**
         * Default constructor for ReqHeaderPager.
         * Initializes the pager with default values for page size and current page number.
         */
        public ReqHeaderPager() {
            // Default constructor - initialization handled by field defaults and clear() method
        }
    
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7.4K bytes
    - Click Count (0)
Back to Top