- Sort Score
- Result 10 results
- Languages All
Results 751 - 760 of 3,345 for Create (2.98 sec)
-
src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java
void testCreateCancelWithZeroMid() { // Set MID to 0 transaction.setMid(0); // Create cancel request CommonServerMessageBlockRequest cancelRequest = transaction.createCancel(); // Verify it still creates a valid cancel request assertNotNull(cancelRequest); assertTrue(cancelRequest instanceof SmbComNtCancel);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/UpgradeContextTest.java
class UpgradeContextTest { @Test @DisplayName("should create context successfully") void shouldCreateContextSuccessfully() { // Use existing test utilities to create a context UpgradeContext context = TestUtils.createMockContext(Paths.get("/test")); // Verify context is created and basic methods work assertNotNull(context, "Context should be created");Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Jul 15 09:35:08 UTC 2025 - 3.3K bytes - Viewed (0) -
src/test/java/jcifs/context/CIFSContextWrapperTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.7K bytes - Viewed (0) -
internal/store/batch_test.go
defer func() { if err := tearDownQueueStore(); err != nil { t.Fatalf("Failed to tear down store; %v", err) } }() store, err := setUpQueueStore(queueDir, 100) if err != nil { t.Fatalf("Failed to create a queue store; %v", err) } var limit uint32 = 100 batch := NewBatch[TestItem](BatchConfig[TestItem]{ Limit: limit, Store: store, CommitTimeout: 5 * time.Minute,
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 5.6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/util/CrawlingParameterUtilTest.java
CrawlingParameterUtil.setCrawlerContext(null); CrawlingParameterUtil.setUrlQueueService(null); CrawlingParameterUtil.setDataService(null); super.tearDown(); } // Helper method to create a simple mock UrlQueue private UrlQueue<?> createMockUrlQueue(final String sessionId, final String url) { return new UrlQueue<Object>() { @Override public Object getId() {
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 14.6K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type1MessageTest.java
lenient().when(mockConfig.getDefaultDomain()).thenReturn("WORKGROUP"); lenient().when(mockConfig.isUseUnicode()).thenReturn(true); } @Test @DisplayName("Should create Type 1 message with default flags") void testType1MessageCreation() { // When Type1Message type1 = new Type1Message(mockContext); // Then assertNotNull(type1);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0) -
callbacks/callbacks.go
config.UpdateClauses = updateClauses } createCallback := db.Callback().Create() createCallback.Match(enableTransaction).Register("gorm:begin_transaction", BeginTransaction) createCallback.Register("gorm:before_create", BeforeCreate) createCallback.Register("gorm:save_before_associations", SaveBeforeAssociations(true)) createCallback.Register("gorm:create", Create(config))
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Wed Oct 27 23:56:55 UTC 2021 - 3.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect2Test.java
* These tests verify that the constructor accepts various parameters * without throwing exceptions. */ @ExtendWith(MockitoExtension.class) class MsrpcSamrConnect2Test { // Helper method to create a minimal SamrPolicyHandle instance. private static SamrPolicyHandle createMockPolicyHandle() { return mock(SamrPolicyHandle.class); } @Nested @DisplayName("Constructor parameter handling")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
finisher_api.go
"gorm.io/gorm/schema" "gorm.io/gorm/utils" ) // Create inserts value, returning the inserted data's primary key in value's id func (db *DB) Create(value interface{}) (tx *DB) { if db.CreateBatchSize > 0 { return db.CreateInBatches(value, db.CreateBatchSize) } tx = db.getInstance() tx.Statement.Dest = value return tx.callbacks.Create().Execute(tx) } // CreateInBatches inserts value in batches of batchSize
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Fri Sep 19 01:49:06 UTC 2025 - 22.9K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java
} /** * Creates the OpenSearch index mapping for the specified mapping name. * If the index doesn't exist, it will be created with the configured number of shards and replicas. * If the mapping doesn't exist, it will be created from the JSON file in the mapping directory. * * @param mappingName The name of the mapping to create. */Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 08:40:57 UTC 2025 - 34.3K bytes - Viewed (0)