Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 666 for initializer (0.1 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/dcerpc/DcerpcBindingTest.java

        }
    
        @Test
        void testSetOptionOtherKey() throws DcerpcException {
            dcerpcBinding.setOption("connect", "80");
            assertNotNull(dcerpcBinding.getOptions(), "Options map should be initialized.");
            assertEquals("80", dcerpcBinding.getOptions().get("connect"), "Option value should be set correctly.");
        }
    
        @Test
        void testGetOptionEndpoint() throws DcerpcException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/SmbNegotiationTest.java

            negotiation = new SmbNegotiation(mockRequest, mockResponse, testRequestBuffer, testResponseBuffer);
        }
    
        @Test
        @DisplayName("Constructor should properly initialize all fields")
        void testConstructor() {
            // Verify all fields are properly initialized
            assertNotNull(negotiation);
            assertSame(mockRequest, negotiation.getRequest());
            assertSame(mockResponse, negotiation.getResponse());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb/NtlmContext.java

                log.trace(msg1.toString());
                log.trace(Hexdump.toHexString(out));
            }
    
            this.state++;
            return out;
        }
    
        /**
         * Initializes session security keys for signing and sealing.
         * @param mk the master key to derive session keys from
         */
        protected void initSessionSecurity(final byte[] mk) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 17.3K bytes
    - Click Count (1)
  4. src/main/java/org/codelibs/fess/helper/RateLimitHelper.java

            blockedIps = CacheBuilder.newBuilder().expireAfterWrite(blockDurationMs, TimeUnit.MILLISECONDS).maximumSize(10000).build();
    
            if (logger.isInfoEnabled()) {
                logger.info("RateLimitHelper initialized: windowMs={}, blockDurationMs={}", windowMs, blockDurationMs);
            }
        }
    
        /**
         * Check if rate limiting is enabled.
         * @return true if rate limiting is enabled
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Dec 24 14:16:27 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java

            assertTrue(result.contains("Trans2GetDfsReferral"));
            assertTrue(result.contains("maxReferralLevel=0x3"));
        }
    
        @Test
        @DisplayName("maxReferralLevel should be initialized to 3")
        void testMaxReferralLevelInitialization() throws Exception {
            // Given
            trans2GetDfsReferral = new Trans2GetDfsReferral(mockConfig, "test");
    
            // When
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

        /** The interval for storing search logs. */
        protected long searchStoreInterval = 1; // min
    
        /**
         * Initializes the SuggestHelper.
         * This method sets up the suggester, configures field names, and initializes
         * the connection to the search engine.
         */
        @PostConstruct
        public void init() {
            if (logger.isDebugEnabled()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 22.3K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb/Kerb5Context.java

            try {
                krbNameOid = new Oid("1.2.840.113554.1.2.2.1");
                krbMechOid = new Oid("1.2.840.113554.1.2.2");
            } catch (Exception e) {
                log.error("Failed to initialize kerberos OIDs", e);
            }
    
            JGSS_KRB5_NAME_OID = krbNameOid;
            JGSS_KRB5_MECH_OID = krbMechOid;
        }
    
        private final GSSContext gssContext;
        private final GSSName clientName;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 13.5K bytes
    - Click Count (1)
  8. src/test/java/jcifs/netbios/SessionRequestPacketTest.java

            assertNotNull(packet);
            // The packet should have calledName and callingName initialized but empty
            byte[] dst = new byte[256];
            int written = packet.writeTrailerWireFormat(dst, 0);
            assertTrue(written > 0);
        }
    
        @Test
        @DisplayName("Constructor with NetbiosNames should initialize properly")
        void testConstructorWithNetbiosNames() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  9. src/bytes/buffer.go

    // sufficient to initialize a [Buffer].
    func NewBuffer(buf []byte) *Buffer { return &Buffer{buf: buf} }
    
    // NewBufferString creates and initializes a new [Buffer] using string s as its
    // initial contents. It is intended to prepare a buffer to read an existing
    // string.
    //
    // In most cases, new([Buffer]) (or just declaring a [Buffer] variable) is
    // sufficient to initialize a [Buffer].
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Nov 14 19:01:17 GMT 2025
    - 16.5K bytes
    - Click Count (0)
  10. src/test/java/jcifs/http/NtlmServletTest.java

            lenient().when(configuration.getDefaultDomain()).thenReturn("TEST_DOMAIN");
        }
    
        /**
         * Test the init method of the servlet.
         * Verifies that servlet is correctly initialized with parameters from ServletConfig.
         * @throws ServletException
         */
        @Test
        void testInit() throws ServletException {
            assertDoesNotThrow(() -> ntlmServlet.init(servletConfig));
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 11.5K bytes
    - Click Count (0)
Back to Top