- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 1,550 for Constructor (0.2 seconds)
-
src/test/java/jcifs/smb1/smb1/SmbComLogoffAndXTest.java
import org.mockito.junit.jupiter.MockitoExtension; /** * Unit tests for {@link SmbComLogoffAndX}. */ @ExtendWith(MockitoExtension.class) class SmbComLogoffAndXTest { @Test @DisplayName("constructor accepts null andx") void constructorWithNullAndx() { SmbComLogoffAndX msg = new SmbComLogoffAndX(null); assertNotNull(msg, "Message must not be null after construction"); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/JAASAuthenticatorTest.java
JAASAuthenticator a = new JAASAuthenticator(); // Provide a preset Subject so the getSubject() path uses the (serviceName, ps, this) constructor a.setSubject(new Subject()); return a; } case WITH_CONFIG: { // Use the constructor that sets a StaticJAASConfiguration to exercise that branch return new JAASAuthenticator(new HashMap<String, String>(), "DOM", "user", "pass");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 9.9K bytes - Click Count (0) -
src/test/java/jcifs/SIDTest.java
assertEquals(1, sid.sub_authority[1]); } /** * Test constructor with an invalid SID string. */ @Test void testStringConstructorInvalidFormat() { assertThrows(SmbException.class, () -> new SID("invalid-sid")); assertThrows(SmbException.class, () -> new SID("S-1")); } /** * Test constructor with a byte array. */ @Test void testByteArrayConstructor() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/ApiResult.java
/** The status code of the response. */ protected int status; /** * Default constructor for ApiResponse. */ public ApiResponse() { // Default constructor } /** * Sets the status of the response. * @param status The status to set. * @return This ApiResponse instance.Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 11:55:54 GMT 2026 - 25.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java
}); } /** * Test TTL with different constructor types */ @Test @DisplayName("Test TTL functionality works with all constructor types") public void testTTLWithDifferentConstructors() { // Test with String password constructor NtlmPasswordAuthenticator auth1 = new NtlmPasswordAuthenticator("user", "StringPass123!");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 23.3K bytes - Click Count (0) -
src/main/java/jcifs/smb1/util/transport/Response.java
* Represents a response that can be received through the SMB1 transport layer. */ public abstract class Response { /** * Default constructor for Response. */ public Response() { // Default constructor } /** * The expiration time for this response in milliseconds. */ public long expiration; /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 557 bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java
} @Test @DisplayName("Test constructor with MAC signing key and bypass flag") void testConstructorWithBypass() { SMB1SigningDigest digest = new SMB1SigningDigest(testMacSigningKey, true); assertNotNull(digest); assertTrue(digest.toString().contains("MacSigningKey=")); } @Test @DisplayName("Test constructor with MAC signing key, bypass flag and initial sequence")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (0) -
api/maven-api-di/src/main/java/org/apache/maven/api/di/Inject.java
import java.lang.annotation.Target; import static java.lang.annotation.ElementType.CONSTRUCTOR; import static java.lang.annotation.ElementType.FIELD; import static java.lang.annotation.ElementType.METHOD; import static java.lang.annotation.RetentionPolicy.RUNTIME; /** * Marks a dependency injection point for constructor, method, or field injection. * <p>
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Jan 30 23:28:59 GMT 2025 - 1.9K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/msrpc/srvsvc.java
import jcifs.smb1.dcerpc.ndr.NdrObject; /** * Server Service RPC interface implementation for remote server administration (SMB1). */ public class srvsvc { /** * Private constructor to prevent instantiation. */ private srvsvc() { } /** * Gets the RPC interface syntax string. * @return the interface UUID and version */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 26.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/wizard/IndexForm.java
* in the administrative wizard interface. */ public class IndexForm { /** * Default constructor for index form. * Creates a new instance with default values. */ public IndexForm() { // Default constructor }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1K bytes - Click Count (0)