- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 866 for initialise (0.06 seconds)
-
src/test/java/jcifs/dcerpc/ndr/NdrHyperTest.java
class NdrHyperTest { @Mock private NdrBuffer mockNdrBuffer; @BeforeEach void setUp() { // Initialize mocks before each test MockitoAnnotations.openMocks(this); } @Test void testConstructorAndGetValue() { // Test that the constructor correctly initializes the value long expectedValue = 123456789012345L; NdrHyper ndrHyper = new NdrHyper(expectedValue);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.2K bytes - Click Count (0) -
gorm.go
func (c *Config) Apply(config *Config) error { if config != c { *config = *c } return nil } // AfterInitialize initialize plugins after db connected func (c *Config) AfterInitialize(db *DB) error { if db != nil { for _, plugin := range c.Plugins { if err := plugin.Initialize(db); err != nil { return err } } } return nil } // Option gorm option interface type Option interface {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:35:55 GMT 2026 - 13.1K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationResponseTest.java
private Trans2SetFileInformationResponse response; @BeforeEach void setUp() { // Initialize a new response object before each test response = new Trans2SetFileInformationResponse(); } /** * Test for the constructor of {@link Trans2SetFileInformationResponse}. * It should initialize the subCommand correctly. */ @Test void testConstructor() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.8K bytes - Click Count (0) -
src/main/java/jcifs/context/SingletonContext.java
private static SingletonContext INSTANCE; /** * Initialize singleton context using custom properties * * This method can only be called once. * * @param props the properties to use for initialization * @throws CIFSException if the singleton context is already initialized or there is an error during initialization */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 4.3K bytes - Click Count (0) -
okhttp/src/androidMain/kotlin/okhttp3/OkHttp.android.kt
/** * Configure the ApplicationContext. Not needed unless the AndroidX Startup [Initializer] is disabled, or running * a robolectric test. * * The functionality that will fail without a valid Context is primarily Cookies and URL Domain handling, but * may expand in the future. */ fun initialize(applicationContext: Context) { if (PlatformRegistry.applicationContext == null) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jul 28 07:33:49 GMT 2025 - 1.3K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenAliasTest.java
assertEquals(0, ptypeField.get(msrpcSamrOpenAlias), "ptype should be initialized to 0"); java.lang.reflect.Field flagsField = jcifs.dcerpc.DcerpcMessage.class.getDeclaredField("flags"); flagsField.setAccessible(true); assertEquals(0x01 | 0x02, flagsField.get(msrpcSamrOpenAlias), "flags should be initialized to DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.5K bytes - Click Count (0) -
src/main/java/jcifs/smb/PreauthIntegrityService.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 12.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/group/CreateForm.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 1.5K bytes - Click Count (0) -
android-test/src/test/kotlin/okhttp/android/test/NonRobolectricOkHttpClientTest.kt
cause().isNotNull().all { hasMessage( "Platform applicationContext not initialized. " + "Possibly running Android unit test without Robolectric. " + "Android tests should run with Robolectric " + "and call OkHttp.initialize before test", ) hasClass<IOException>() } } }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jul 28 07:33:49 GMT 2025 - 1.6K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/Reflection.java
} /** * Ensures that the given classes are initialized, as described in <a * href="http://java.sun.com/docs/books/jls/third_edition/html/execution.html#12.4.2">JLS Section * 12.4.2</a>. * * <p>WARNING: Normally it's a smell if a class needs to be explicitly initialized, because static * state hurts system maintainability and testability. In cases when you have no choice while
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 3.4K bytes - Click Count (0)