- Sort Score
- Num 10 results
- Language All
Results 391 - 400 of 1,832 for context_ (0.1 seconds)
-
android/guava-tests/test/com/google/common/eventbus/EventBusTest.java
assertEquals("Event should be available.", EVENT, handler.context.getEvent()); assertEquals("Subscriber should be available.", subscriber, handler.context.getSubscriber()); assertEquals( "Method should be available.", subscriber.getClass().getMethod("throwExceptionOn", String.class), handler.context.getSubscriberMethod()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 11.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/eventbus/EventBusTest.java
assertEquals("Event should be available.", EVENT, handler.context.getEvent()); assertEquals("Subscriber should be available.", subscriber, handler.context.getSubscriber()); assertEquals( "Method should be available.", subscriber.getClass().getMethod("throwExceptionOn", String.class), handler.context.getSubscriberMethod()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 11.6K bytes - Click Count (0) -
internal/store/batch_test.go
} var limit uint32 = 100 batch := NewBatch[TestItem](BatchConfig[TestItem]{ Limit: limit, Store: store, CommitTimeout: 5 * time.Minute, Log: func(ctx context.Context, err error, id string, errKind ...any) { t.Log(err) }, }) defer batch.Close() for i := 0; i < int(limit); i++ { if err := batch.Add(testItem); err != nil {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 5.6K bytes - Click Count (0) -
cmd/post-policy-fan-out.go
KeyID string Key []byte KmsCtx kms.Context Checksum *hash.Checksum MD5Hex string } // fanOutPutObject takes an input source reader and fans out multiple PUT operations // based on the incoming fan-out request, a context cancellation by the caller // would ensure all fan-out operations are canceled.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 3.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/query/TermRangeQueryCommandTest.java
} @Test public void test_execute_withInvalidQuery() { try { QueryContext context = new QueryContext("test", false); Query invalidQuery = new TermQuery(new Term("field", "value")); queryCommand.execute(context, invalidQuery, 1.0f); fail(); } catch (InvalidQueryException e) { // expectedCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 2.6K bytes - Click Count (0) -
src/main/java/jcifs/smb/CredentialsInternal.java
/** * Create an SSP context for authentication. * @param tc the CIFS context * @param targetDomain the target domain for authentication * @param host the target host * @param initialToken initial authentication token, if any * @param doSigning whether message signing should be enabled * @return a new SSP authentication context * @throws SmbException if context creation failsCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.1K bytes - Click Count (0) -
src/test/java/jcifs/CIFSContextTest.java
verify(mockContext).withDefaultCredentials(); } @Test @DisplayName("Should get context with anonymous credentials") void testWithAnonymousCredentials() { // Given CIFSContext newContext = mock(CIFSContext.class); when(mockContext.withAnonymousCredentials()).thenReturn(newContext); // When CIFSContext context = mockContext.withAnonymousCredentials();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.8K bytes - Click Count (0) -
scripts/playwright/separate_openapi_schemas/image03.py
def run(playwright: Playwright) -> None: browser = playwright.chromium.launch(headless=False) # Update the viewport manually context = browser.new_context(viewport={"width": 960, "height": 1080}) page = context.new_page() page.goto("http://localhost:8000/docs") page.get_by_text("GET/items/Read Items").click() page.get_by_role("tab", name="Schema").click()
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Sep 13 09:14:46 GMT 2024 - 1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/validation/CustomSizeValidatorTest.java
} @Test public void test_isValid_nullValue() { final CustomSize annotation = createBasicAnnotation(); validator.initialize(annotation); // Test null context - should return true for null value regardless of context assertTrue(validator.isValid(null, null)); } @Test public void test_initialize_withValidParameters() { final CustomSize annotation = createBasicAnnotation();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 5.4K bytes - Click Count (0) -
cmd/admin-handlers_test.go
erasureDirs []string objLayer ObjectLayer router *mux.Router done context.CancelFunc } // prepareAdminErasureTestBed - helper function that setups a single-node // Erasure backend for admin-handler tests. func prepareAdminErasureTestBed(ctx context.Context) (*adminErasureTestBed, error) { ctx, cancel := context.WithCancel(ctx) // reset global variables to start afresh. resetTestGlobals()
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 13.9K bytes - Click Count (1)