- Sort Score
- Num 10 results
- Language All
Results 231 - 240 of 856 for Initialize (0.07 seconds)
-
internal/dsync/dsync_test.go
testDrwMutexForceUnlockCallTimeout = 250 * time.Millisecond testDrwMutexRefreshInterval = 100 * time.Millisecond ) // TestMain initializes the testing framework func TestMain(m *testing.M) { startLockServers() // Initialize locker clients for dsync. var clnts []NetLocker for i := range nodes { clnts = append(clnts, newClient(nodes[i].URL)) } ds = &Dsync{
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 10.8K bytes - Click Count (0) -
internal/event/target/kafka.go
queueStore = store.NewQueueStore[event.Event](queueDir, args.QueueLimit, event.StoreExtension) if err := queueStore.Open(); err != nil { return nil, fmt.Errorf("unable to initialize the queue store of Kafka `%s`: %w", id, err) } } target := &KafkaTarget{ id: event.TargetID{ID: id, Name: "kafka"}, args: args, store: queueStore, loggerOnce: loggerOnce,
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Sep 06 23:06:30 GMT 2024 - 13.6K bytes - Click Count (0) -
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
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/query/BooleanQueryCommandTest.java
protected void setUpChild() throws Exception { // Register other query commands that might be needed new TermQueryCommand().register(); new MatchAllQueryCommand().register(); // Initialize and register BooleanQueryCommand booleanQueryCommand = new BooleanQueryCommand(); booleanQueryCommand.register(); } // Test getQueryClassName method @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 14.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java
response = new Trans2QueryFSInformationResponse(config, FileSystemInformation.SMB_INFO_ALLOCATION); byte[] buffer = new byte[100]; // Initialize buffer with zeros to avoid random data java.util.Arrays.fill(buffer, (byte) 0); // Set dataCount to 0 - but decode still runs setDataCount(response, 0);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java
response = new TransWaitNamedPipeResponse(mockConfig); } @Test @DisplayName("Constructor should initialize TransWaitNamedPipeResponse") void testConstructor() { // Assert assertNotNull(response); // Verify parent class is properly initialized assertTrue(response instanceof SmbComTransactionResponse); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponseTest.java
@BeforeEach void setUp() { MockitoAnnotations.openMocks(this); response = new TransPeekNamedPipeResponse(mockConfig); } @Test @DisplayName("Constructor should initialize TransPeekNamedPipeResponse") void testConstructor() { // Assert assertNotNull(response); assertTrue(response instanceof SmbComTransactionResponse);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.8K bytes - Click Count (0) -
misc/cgo/gmp/gmp.go
type Int struct { i C.mpz_t init bool } // NewInt returns a new Int initialized to x. func NewInt(x int64) *Int { return new(Int).SetInt64(x) } // Int promises that the zero value is a 0, but in gmp // the zero value is a crash. To bridge the gap, the // init bool says whether this is a valid gmp value. // doinit initializes z.i if it needs it. This is not inherent // to FFI, just a mismatch between Go's convention ofCreated: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Apr 11 16:34:30 GMT 2022 - 9.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/query/BoostQueryCommandTest.java
new BooleanQueryCommand().register(); new PrefixQueryCommand().register(); new WildcardQueryCommand().register(); new FuzzyQueryCommand().register(); // Initialize BoostQueryCommand boostQueryCommand = new BoostQueryCommand(); boostQueryCommand.register(); } @Test public void test_getQueryClassName() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 17K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java
private static final int TEST_FID = 0x1234; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); } @Test @DisplayName("Constructor should initialize with correct values") void testConstructor() { // Act transPeekNamedPipe = new TransPeekNamedPipe(mockConfig, TEST_PIPE_NAME, TEST_FID); // Assert assertNotNull(transPeekNamedPipe);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.4K bytes - Click Count (0)