Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 802 for initializers (0.08 sec)

  1. src/main/java/jcifs/internal/smb2/Smb2SigningDigest.java

            default:
                throw new IllegalArgumentException("Unknown dialect");
            }
    
            // Initialize the digest once to validate configuration
            this.digest = createMacInstance();
        }
    
        /**
         * Create a new Mac instance for thread-safe operations
         * @return initialized Mac instance
         * @throws GeneralSecurityException if Mac cannot be created
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  3. 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()) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  4. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  5. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  6. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/rdma/RdmaBufferManager.java

                    totalAllocated.incrementAndGet();
                } catch (IOException e) {
                    log.warn("Failed to pre-allocate receive buffer", e);
                }
            }
    
            log.info("Initialized RDMA buffer pool with {} send and {} receive buffers", availableSendRegions.size(),
                    availableReceiveRegions.size());
        }
    
        /**
         * Get a send region from the pool or allocate a new one
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  8. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/PlatformInitializer.kt

     * limitations under the License.
     */
    package okhttp3.internal.platform
    
    import android.content.Context
    import androidx.startup.Initializer
    
    /**
     * Androidx Startup initializer to ensure that the AndroidPlatform has access to the application context.
     */
    class PlatformInitializer : Initializer<Platform> {
      override fun create(context: Context): Platform {
        PlatformRegistry.applicationContext = context
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Dec 31 14:50:53 UTC 2024
    - 1K bytes
    - Viewed (1)
  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].
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Fri Nov 14 19:01:17 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  10. 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
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11K bytes
    - Viewed (0)
Back to top