- Sort Score
- Result 10 results
- Languages All
Results 301 - 310 of 1,922 for try (0.01 sec)
-
android/guava-tests/test/com/google/common/net/HostAndPortTest.java
} else { assertFalse(hp.hasPort()); try { hp.getPort(); fail("Expected IllegalStateException"); } catch (IllegalStateException expected) { } } assertEquals(expectHost, hp.getHost()); // Check the post-withDefaultPort() instance (if any). if (!badDefaultPort) { try { int port = hp2.getPort(); assertTrue(expectPort != -1);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 9.4K bytes - Viewed (0) -
src/main/java/jcifs/netbios/UniAddress.java
* public static String getDomainByName(String name) throws UnknownHostException { * DirContext context; * UnknownHostException uhe = null; * * try { * context = new InitialDirContext(); * for ( ;; ) { * try { * Attributes attributes = context.getAttributes( * "dns:/_ldap._tcp.dc._msdcs." + name, * new String[] { "SRV" } * ); * return name;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 8.3K bytes - Viewed (0) -
fastapi/responses.py
from starlette.responses import Response as Response # noqa from starlette.responses import StreamingResponse as StreamingResponse # noqa try: import ujson except ImportError: # pragma: nocover ujson = None # type: ignore try: import orjson except ImportError: # pragma: nocover orjson = None # type: ignore class UJSONResponse(JSONResponse): """
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 18 12:36:40 UTC 2023 - 1.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/naming/InitialContextUtil.java
* * @author higa */ public abstract class InitialContextUtil { /** * 初期コンテキストを作成して返します。 * * @return 初期コンテキスト */ public static InitialContext create() { try { return new InitialContext(); } catch (final NamingException ex) { throw new NamingRuntimeException(ex); } } /** * 指定した環境を使用して初期コンテキストを作成して返します。 *
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosApRequest.java
if ( token.length <= 0 ) throw new PACDecodingException("Empty kerberos ApReq"); ASN1Sequence sequence; try { try ( ASN1InputStream stream = new ASN1InputStream(new ByteArrayInputStream(token)) ) { sequence = ASN1Util.as(ASN1Sequence.class, stream); } } catch ( IOException e ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Mon Oct 02 12:02:06 UTC 2023 - 3.9K bytes - Viewed (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/DefaultSettingsReader.java
@Override public Settings read(File input, Map<String, ?> options) throws IOException { Objects.requireNonNull(input, "input cannot be null"); try (InputStream in = Files.newInputStream(input.toPath())) { InputSource source = new InputSource(input.toString()); return new Settings(new SettingsStaxReader().read(in, isStrict(options), source));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.6K bytes - Viewed (0) -
scripts/playwright/sql_databases/image02.py
# --------------------- context.close() browser.close() process = subprocess.Popen( ["fastapi", "run", "docs_src/sql_databases/tutorial002.py"], ) try: for _ in range(3): try: response = httpx.get("http://localhost:8000/docs") except httpx.ConnectError: time.sleep(1) break with sync_playwright() as playwright:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Oct 09 19:44:42 UTC 2024 - 1.1K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/ClassPath.java
File file, Set<File> scannedUris, ImmutableSet.Builder<ResourceInfo> builder) throws IOException { JarFile jarFile; try { jarFile = new JarFile(file); } catch (IOException e) { // Not a jar file return; } try { for (File path : getClassPathFromManifest(file, jarFile.getManifest())) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jan 05 17:43:40 UTC 2022 - 24.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/indexer/IndexUpdater.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 24.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingQueue.java
* you may wish to override {@link #offer} to forward to this implementation. * * @since 7.0 */ protected boolean standardOffer(@ParametricNullness E e) { try { return add(e); } catch (IllegalStateException caught) { return false; } } /** * A sensible definition of {@link #peek} in terms of {@link #element}. If you override {@link
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 29 19:42:21 UTC 2021 - 4.1K bytes - Viewed (0)