Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 623 for initializers (4.33 sec)

  1. src/main/java/org/codelibs/fess/helper/LanguageHelper.java

        /**
         * Default constructor.
         */
        public LanguageHelper() {
            // do nothing
        }
    
        /**
         * Initializes the helper.
         */
        @PostConstruct
        public void init() {
            if (logger.isDebugEnabled()) {
                logger.debug("Initialize {}", this.getClass().getSimpleName());
            }
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/MsrpcDfsRootEnumTest.java

            assertEquals(TEST_SERVER, dfsRootEnum.dfs_name);
    
            // Verify preferred max length is set to maximum
            assertEquals(0xFFFF, dfsRootEnum.prefmaxlen);
    
            // Verify totalentries is initialized
            assertNotNull(dfsRootEnum.totalentries);
        }
    
        @Test
        @DisplayName("getEntries should return empty array when no DFS roots exist")
        void testGetEntries_emptyArray() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbSessionImpl.java

                    witnessEnabled = true;
    
                    log.info("Initialized witness support with server: {}", witnessServer);
                }
            } catch (Exception e) {
                log.warn("Failed to initialize witness support", e);
            }
        }
    
        /**
         * Discover witness service for the current server
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/multichannel/MultiChannelIntegrationTest.java

            // Test that ChannelManager initializes properly
            assertNotNull(channelManager);
            assertNotNull(channelManager.getChannels());
            // Note: isUseMultiChannel() checks if actual multi-channel is negotiated with server
            // In mock environment, this will be false until we mock successful negotiation
    
            // Verify load balancer is initialized
            assertNotNull(channelManager.getLoadBalancer());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java

        @BeforeEach
        void setUp() {
            msrpcShareGetInfo = new MsrpcShareGetInfo(testServer, testSharename);
        }
    
        @Test
        void testConstructor() {
            // Verify constructor properly initializes the object
            assertNotNull(msrpcShareGetInfo);
            assertEquals(0, msrpcShareGetInfo.getPtype());
            assertEquals(DcerpcConstants.DCERPC_FIRST_FRAG | DcerpcConstants.DCERPC_LAST_FRAG, msrpcShareGetInfo.getFlags());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  6. 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 {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/io/Smb2FlushRequestTest.java

            assertEquals(24, SMBUtil.readInt2(buffer, 0));
    
            // Reserved1 (2 bytes) - should be 0 (bytes were initialized to 0xCC, so they weren't written)
            // This is expected behavior - the reserved fields are not explicitly written to 0
    
            // Reserved2 (4 bytes) - should be 0 (bytes were initialized to 0xCC, so they weren't written)
            // This is expected behavior - the reserved fields are not explicitly written to 0
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. 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].
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon May 19 17:38:56 UTC 2025
    - 16K bytes
    - Viewed (0)
  9. guava/src/com/google/common/hash/LittleEndianByteArray.java

      }
    
      /**
       * The only reference to Unsafe is in this nested class. We set things up so that if
       * Unsafe.theUnsafe is inaccessible, the attempt to load the nested class fails, and the outer
       * class's static initializer can fall back on a non-Unsafe version.
       */
      @SuppressWarnings("SunApi") // b/345822163
      @VisibleForTesting
      enum UnsafeByteArray implements LittleEndianBytes {
        // Do *not* change the order of these constants!
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  10. 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());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
Back to top