- Sort Score
- Num 10 results
- Language All
Results 1221 - 1230 of over 10,000 for Switch (0.06 seconds)
-
cmd/xl-storage-free-version_test.go
} fivs = fivs[:n] return fivs, nil } func TestFreeVersion(t *testing.T) { fatalErr := func(err error) { t.Helper() if err != nil { t.Fatal(err) } } // Add a version with tiered content, one with local content xl := xlMetaV2{} counter := 1 report := func() { t.Helper() // t.Logf("versions (%d): len = %d", counter, len(xl.versions)) counter++ } fi := FileInfo{
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sat Mar 02 05:11:03 GMT 2024 - 7.8K bytes - Click Count (0) -
src/test/java/org/codelibs/core/crypto/CachedCipherTest.java
// Encrypt with new method, decrypt with old method @SuppressWarnings("deprecation") final String encrypted1 = cipher.encryptText(original); @SuppressWarnings("deprecation") final String decrypted1 = cipher.decryptoText(encrypted1); assertThat(decrypted1, is(original)); // Encrypt with old method, decrypt with new method @SuppressWarnings("deprecation")Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Nov 22 11:21:59 GMT 2025 - 5.3K bytes - Click Count (0) -
docs/en/docs/tutorial/dependencies/index.md
{* ../../docs_src/dependencies/tutorial001_an_py310.py hl[3] *} ### Declare the dependency, in the "dependant" { #declare-the-dependency-in-the-dependant } The same way you use `Body`, `Query`, etc. with your *path operation function* parameters, use `Depends` with a new parameter: {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[13,18] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 9.5K bytes - Click Count (0) -
src/test/java/jcifs/RuntimeCIFSExceptionTest.java
void testVariousCauseTypes() { // Test with checked exception Exception checkedException = new java.io.IOException("IO Error"); assertDoesNotThrow(() -> { RuntimeCIFSException exception = new RuntimeCIFSException(checkedException); assertEquals(checkedException, exception.getCause()); }); // Test with runtime exception
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.2K bytes - Click Count (0) -
tests/test_security_oauth2_authorization_code_bearer_scopes_openapi.py
@app.get("/") async def root(): return {"message": "Hello World"} @app.get( "/with-oauth2-scheme", dependencies=[Security(oauth2_scheme, scopes=["read", "write"])], ) async def read_with_oauth2_scheme(): return {"message": "Admin Access"} @app.get( "/with-get-token", dependencies=[Security(get_token, scopes=["read", "write"])] ) async def read_with_get_token():
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 6.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/CrawlJobTest.java
assertArrayEquals(testIds, crawlJob.webConfigIds); assertSame(crawlJob, result); // Test with null result = crawlJob.webConfigIds(null); assertNull(crawlJob.webConfigIds); assertSame(crawlJob, result); // Test with empty array result = crawlJob.webConfigIds(new String[0]); assertEquals(0, crawlJob.webConfigIds.length);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 25K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/mylasta/action/FessMessages.java
return this; } /** * Add the created action message for the key 'errors.could_not_open_on_system' with parameters. * <pre> * message: Could not open {0}.<br>Please check if the file is associated with an application. * </pre> * @param property The property name for the message. (NotNull) * @param arg0 The parameter arg0 for message. (NotNull)Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 126.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/DictionaryExceptionTest.java
// Test constructor with null message DictionaryException exception = new DictionaryException(null); assertNotNull(exception); assertNull(exception.getMessage()); assertNull(exception.getCause()); } @Test public void test_constructor_withNullMessageAndCause() { // Test constructor with null message but valid causeCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 6.5K bytes - Click Count (0) -
docs/en/docs/tutorial/metadata.md
* `externalDocs`: a `dict` describing external documentation with: * `description`: a `str` with a short description for the external docs. * `url` (**required**): a `str` with the URL for the external documentation. ### Create metadata for tags { #create-metadata-for-tags } Let's try that in an example with tags for `users` and `items`. Create metadata for your tags and pass it to the `openapi_tags` parameter:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 5.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/math/QuantilesTest.java
* - median with compute taking a double-collection and with computeInPlace; * - quartiles with index and with indexes taking int-varargs, and with compute taking a * double-collection and with computeInPlace; * - scale with index and with indexes taking int-varargs, and with all overloads of compute * taking a double-collection and with computeInPlace;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 05:21:26 GMT 2026 - 29.9K bytes - Click Count (0)