Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 341 - 350 of 818 for initializer (0.07 seconds)

  1. 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)
  2. src/main/java/org/codelibs/fess/entity/HighlightInfo.java

        /** The maximum number of highlighted fragments to return. */
        private int numOfFragments;
        /** The offset for fragment positioning. */
        private int fragmentOffset;
    
        /**
         * Default constructor that initializes highlighting settings from Fess configuration.
         * Loads default values for type, fragment size, number of fragments, and fragment offset.
         */
        public HighlightInfo() {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/main/java/org/codelibs/fess/app/service/RequestHeaderService.java

        /**
         * Fess configuration settings.
         */
        @Resource
        protected FessConfig fessConfig;
    
        /**
         * Default constructor for RequestHeaderService.
         * Initializes the service with dependency injection.
         */
        public RequestHeaderService() {
            // Default constructor
        }
    
        /**
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2ResponseTest.java

            config = new PropertyConfiguration(props);
            response = new Trans2FindFirst2Response(config);
        }
    
        @Test
        void testConstructor() {
            // Test that the constructor properly initializes the object
            assertNotNull(response);
            // The command should be SMB_COM_TRANSACTION2 (0x32 = 50)
            assertEquals(ServerMessageBlock.SMB_COM_TRANSACTION2, response.getCommand());
    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)
  9. src/test/java/jcifs/smb1/smb1/Trans2GetDfsReferralTest.java

                    clazz = clazz.getSuperclass();
                }
            }
            throw new NoSuchFieldException(fieldName);
        }
    
        @Test
        @DisplayName("Constructor initializes fields")
        void testConstructor() throws Exception {
            Trans2GetDfsReferral cmd = new Trans2GetDfsReferral("/file");
            assertEquals("/file", getPrivateField(cmd, "path"));
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  10. 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)
Back to Top