- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 818 for initializer (0.1 seconds)
-
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 */Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 9.9K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java
*/ private static byte[] newBuffer(int length) { // initialise with distinct pattern to detect unused trailing bytes byte[] buf = new byte[length]; Arrays.fill(buf, (byte) 0xFF); return buf; } @Test @DisplayName("constructor initialises command and parameters correctly") void testConstructorInitialisesFields() throws Exception {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.5K bytes - Click Count (0) -
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 {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.9K bytes - Click Count (0) -
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: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 17.3K bytes - Click Count (1) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractor.java
/** * Constructs a new ApiExtractor. */ public ApiExtractor() { // NOP } /** * Initializes the API extractor, setting up the HTTP client and configuration. * This method is called after construction to initialize the HTTP client with * configured timeouts, authentication, and request headers. */ @PostConstruct public void init() {Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Mon Nov 24 03:59:47 GMT 2025 - 12.2K bytes - Click Count (0) -
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());Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.3K bytes - Click Count (0) -
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());Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 8.2K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/MimeTypeHelperImpl.java
protected boolean useFilenameOnOctetStream = true; /** * Creates a new MimeTypeHelperImpl instance. * Initializes the MimeTypes instance using the default configuration. * @throws CrawlerSystemException if the MIME types configuration cannot be loaded */ public MimeTypeHelperImpl() { try {Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sun Nov 23 12:19:14 GMT 2025 - 6.6K bytes - Click Count (0) -
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: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.5K bytes - Click Count (0) -
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: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0)