- Sort Score
- Result 10 results
- Languages All
Results 481 - 490 of 1,287 for scratch (0.03 sec)
-
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidLog.kt
try { for ((logger, tag) in knownLoggers) { enableLogging(logger, tag) } } catch (re: RuntimeException) { // Happens with non-robolectric unit tests System.err.println("Possibly running android unit test without robolectric") re.printStackTrace() } catch (ule: UnsatisfiedLinkError) { // Happens with Paparazzi - with Android classes on the classpathRegistered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Oct 25 11:16:17 UTC 2025 - 4.3K bytes - Viewed (0) -
regression-test/src/androidTest/java/okhttp/regression/LetsEncryptTest.java
boolean androidMorEarlier = Build.VERSION.SDK_INT <= 23; try { sendRequest(client, "https://valid-isrgrootx1.letsencrypt.org/robots.txt"); if (androidMorEarlier) { fail(); } } catch (SSLHandshakeException sslhe) { assertTrue(androidMorEarlier); } } @Test public void getPassesAdditionalCert() throws IOException, CertificateException {Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 17 07:40:31 UTC 2020 - 6.1K bytes - Viewed (0) -
samples/static-server/src/main/java/okhttp3/sample/SampleServer.java
? directoryToResponse(path, file) : fileToResponse(path, file); } catch (FileNotFoundException e) { return new MockResponse() .setStatus("HTTP/1.1 404") .addHeader("content-type: text/plain; charset=utf-8") .setBody("NOT FOUND: " + path); } catch (IOException e) { return new MockResponse() .setStatus("HTTP/1.1 500")
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Jan 02 02:50:44 UTC 2019 - 4.7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformer.java
final InputSource is = new InputSource(in); if (responseData.getCharSet() != null) { is.setEncoding(responseData.getCharSet()); } parser.parse(is); } catch (final Exception e) { throw new CrawlingAccessException("Could not parse " + responseData.getUrl(), e); } final Document document = parser.getDocument();
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 13.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SpnegoContext.java
private static ASN1ObjectIdentifier SPNEGO_MECH_OID; static { try { SPNEGO_MECH_OID = new ASN1ObjectIdentifier("1.3.6.1.5.5.2"); } catch (final IllegalArgumentException e) { log.error("Failed to initialize OID", e); } } private final SSPContext mechContext; private boolean firstResponse = true;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.5K bytes - Viewed (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidCertificateChainCleaner.kt
hostname: String, ): List<Certificate> { val certificates = (chain as List<X509Certificate>).toTypedArray() try { return x509TrustManagerExtensions.checkServerTrusted(certificates, "RSA", hostname) } catch (ce: CertificateException) { throw SSLPeerUnverifiedException(ce.message).apply { initCause(ce) } } } override fun equals(other: Any?): Boolean = other is AndroidCertificateChainCleaner &&
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 2.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileInputStream.java
try (SmbFileHandle h = ensureOpen()) {} this.openFlags &= ~(SmbConstants.O_CREAT | SmbConstants.O_TRUNC); } init(th); } catch (final CIFSException e) { throw SmbException.wrap(e); } } /** * @throws SmbException * */
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/AbstractIntervalController.java
logger.debug("Unknown delay type: {}", type); } break; } } catch (final CrawlerSystemException e) { if (!ignoreException) { throw e; } } catch (final Exception e) { if (!ignoreException) { throw new CrawlerSystemException("Could not stop a process.", e); }
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 08:58:39 UTC 2025 - 4.8K bytes - Viewed (0) -
src/test/java/jcifs/util/SimpleCircuitBreakerTest.java
for (int i = 0; i < 3; i++) { try { circuitBreaker.call(() -> { throw new RuntimeException("Test failure"); }); } catch (Exception e) { // Expected } } assertEquals(SimpleCircuitBreaker.State.OPEN, circuitBreaker.getState()); assertFalse(circuitBreaker.allowsRequests());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/AbstractCrawlerClient.java
if (paramValue == null) { return defaultValue; } return convertObj(paramValue, clazz); } catch (final Exception e) { logger.warn("Could not load init parameters: " + key + " from " + initParamMap, e); } } return defaultValue; } /**
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 9.7K bytes - Viewed (10)