Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 486 for Initializer (0.12 sec)

  1. 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());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  2. 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"));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/netbios/UniAddressTest.java

                when(mockInetAddress.getHostName()).thenReturn("somehost");
                UniAddress uniAddress = new UniAddress(mockInetAddress);
                uniAddress.firstCalledName(); // Initialize calledName
                assertEquals(NbtAddress.SMBSERVER_NAME, uniAddress.nextCalledName(mockCIFSContext));
            }
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java

        /** Logger for this class. */
        private static final Logger logger = LogManager.getLogger(DefaultSearcher.class);
    
        /**
         * Creates a new instance of DefaultSearcher.
         * This constructor initializes the default rank fusion searcher for performing
         * standard OpenSearch queries with response processing and document highlighting.
         */
        public DefaultSearcher() {
            super();
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 09:24:04 UTC 2025
    - 12.6K bytes
    - Viewed (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
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.3K bytes
    - Viewed (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;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/entity/FacetInfo.java

        public String missing;
    
        /**
         * Default constructor for FacetInfo.
         */
        public FacetInfo() {
            // Default constructor
        }
    
        /**
         * Initializes the facet configuration from Fess configuration properties.
         * This method is called after dependency injection to load default facet settings.
         */
        @PostConstruct
        public void init() {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java

            assertNotNull(resp, "Response should not be null after init");
            // getResponse should now return the same instance
            assertSame(resp, req.getResponse(), "getResponse should expose the initialized response");
        }
    
        @Test
        @DisplayName("getResponse before initResponse returns null")
        void getResponseInitiallyNull() {
            SmbComNTCreateAndX req = createRequest(0, 0);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateRequest.java

            SMBUtil.writeInt4(maxReceiveSize, data, idx);
            idx += 4;
            SMBUtil.writeInt4(maxFragmentedSize, data, idx);
            idx += 4;
    
            // Reserved fields (8 bytes)
            // Already zero-initialized
    
            return data;
        }
    
        /**
         * Get size of this message
         *
         * @return size in bytes (32)
         */
        public static int size() {
            return 32;
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/SmbPipeHandleTest.java

        private SmbPipeHandleInternal mockSmbPipeHandleInternal;
        private InputStream mockInputStream;
        private OutputStream mockOutputStream;
    
        /**
         * Sets up the test environment before each test.
         * Initializes a mock {@link SmbPipeResource} and a mock implementation of {@link SmbPipeHandle}.
         * @throws CIFSException if an error occurs during setup.
         */
        @BeforeEach
        public void setUp() throws CIFSException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
Back to top