- Sort Score
- Num 10 results
- Language All
Results 541 - 550 of 2,394 for Batch (0.03 seconds)
-
tests/test_tutorial/test_dependencies/test_tutorial007.py
from contextlib import asynccontextmanager from unittest.mock import Mock, patch from docs_src.dependencies.tutorial007_py39 import get_db def test_get_db(): # Just for coverage async def test_async_gen(): cm = asynccontextmanager(get_db) async with cm() as db_session: return db_session dbsession_moock = Mock() with patch( "docs_src.dependencies.tutorial007_py39.DBSession",
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 642 bytes - Click Count (0) -
scripts/deploy_docs_status.py
deploy_url = settings.deploy_url.rstrip("/") lang_links: dict[str, list[LinkData]] = {} for f in docs_files: match = re.match(r"docs/([^/]+)/docs/(.*)", f.filename) if not match: continue lang = match.group(1) path = match.group(2) if path.endswith("index.md"): path = path.replace("index.md", "") else:Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Sep 30 05:56:53 GMT 2025 - 4.4K bytes - Click Count (0) -
okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt
| """.trimMargin() try { decode(certificatePem) fail<Any>() } catch (expected: IllegalArgumentException) { assertThat(expected.message).isEqualTo("string does not include a private key") } try { decode(pkcs8Pem) fail<Any>() } catch (expected: IllegalArgumentException) { assertThat(expected.message).isEqualTo("string does not include a certificate")Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 22.6K bytes - Click Count (0) -
src/main/java/org/codelibs/core/naming/InitialContextUtil.java
/** * Creates and returns an initial context. * * @return the initial context */ public static InitialContext create() { try { return new InitialContext(); } catch (final NamingException ex) { throw new NamingRuntimeException(ex); } } /** * Creates and returns an initial context using the specified environment. * * @param envCreated: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 2.8K bytes - Click Count (0) -
src/main/java/org/codelibs/core/sql/ResultSetUtil.java
Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 2.9K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java
* constructor. */ public void testAddEqualObjectWithOArgConstructor() { equalsTester.addEqualityGroup(equalObject1, notEqualObject1); try { equalsTester.testEquals(); } catch (AssertionFailedError e) { assertErrorMessage( e, equalObject1 + " [group 1, item 1] must be Object#equals to " + notEqualObject1 + " [group 1, item 2]");
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed May 14 19:40:47 GMT 2025 - 13.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java
} verifyToken(() -> asListHtml(form.path)); try { uploadObject(getObjectName(form.path, form.uploadFile.getFileName()), form.uploadFile); } catch (final StorageException e) { logger.warn("Failed to upload {}", form.uploadFile.getFileName(), e);Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Sat Dec 13 02:21:17 GMT 2025 - 22.1K bytes - Click Count (0) -
docs/bucket/lifecycle/setup_ilm_transition.sh
#!/usr/bin/env bash set -x trap 'catch $LINENO' ERR # shellcheck disable=SC2120 catch() { if [ $# -ne 0 ]; then echo "error on line $1" for site in sitea siteb; do echo "$site server logs =========" cat "/tmp/${site}_1.log" echo "===========================" cat "/tmp/${site}_2.log" done fi echo "Cleaning up instances of MinIO" pkill minio pkill -9 minio rm -rf /tmp/multisiteaCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Oct 31 22:10:24 GMT 2024 - 2.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/api/json/SearchApiManager.java
} catch (final IOException e) { throw new IORuntimeException(e); } return true; }, OptionalThing.empty()); response.flushBuffer(); if (logger.isDebugEnabled()) { logger.debug("Loaded {} documents", count); }Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 55.4K bytes - Click Count (1) -
src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequestBuilder.java
} /** * Sets the prefix match weight. * @param prefixMatchWeight The prefix match weight. * @return This builder instance. */ public SuggestRequestBuilder setPrefixMatchWeight(final float prefixMatchWeight) { request.setPrefixMatchWeight(prefixMatchWeight); return this; } /** * Sets whether to match the first word.Created: Sat Dec 20 13:04:59 GMT 2025 - Last Modified: Fri Jul 04 14:00:23 GMT 2025 - 4.8K bytes - Click Count (0)