Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 931 - 940 of 1,782 for scratch (0.34 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt

                  persistent = true
                } catch (_: IllegalArgumentException) {
                  // Ignore this attribute, it isn't recognizable as a date.
                }
              }
    
              attributeName.equals("max-age", ignoreCase = true) -> {
                try {
                  deltaSeconds = parseMaxAge(attributeValue)
                  persistent = true
                } catch (_: NumberFormatException) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 23.1K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/BasicTrustRootIndex.kt

        val subjectCaCerts = subjectToCaCerts[issuer] ?: return null
    
        return subjectCaCerts.firstOrNull {
          try {
            cert.verify(it.publicKey)
            return@firstOrNull true
          } catch (_: Exception) {
            return@firstOrNull false
          }
        }
      }
    
      override fun equals(other: Any?): Boolean =
        other === this ||
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/platform/Jdk9PlatformTest.kt

        platform.assumeJdk8()
        try {
          SSLSocket::class.java.getMethod("getApplicationProtocol")
          // also present on JDK8 after build 252.
          assertThat(buildIfSupported()).isNotNull()
        } catch (nsme: NoSuchMethodException) {
          assertThat(buildIfSupported()).isNull()
        }
      }
    
      @Test
      fun testToStringIsClassname() {
        assertThat(Jdk9Platform().toString()).isEqualTo("Jdk9Platform")
      }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2K bytes
    - Click Count (0)
  4. docs/en/docs/reference/websockets.md

    ```python
    from fastapi.websockets import WebSocketDisconnect, WebSocketState
    ```
    
    ::: fastapi.websockets.WebSocketDisconnect
    
    When a client disconnects, a `WebSocketDisconnect` exception is raised, you can catch it.
    
    You can import it directly form `fastapi`:
    
    ```python
    from fastapi import WebSocketDisconnect
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 04 12:41:54 GMT 2026
    - 2K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/groovy/elasticsearch.build-complete.gradle

              include(name: "**/daemon-${ProcessHandle.current().pid()}*.log")
            }
    
            fileset(dir: "${gradle.gradleUserHomeDir}/workers", followsymlinks: false)
          }
        } catch (Exception e) {
          logger.lifecycle("Failed to archive additional logs", e)
        }
      }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 2K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

          return comparator;
        }
        return NATURAL_ORDER;
      }
    
      @Override
      public boolean containsKey(Object key) {
        try {
          return delegate.containsKey(checkValid(key));
        } catch (NullPointerException | ClassCastException e) {
          return false;
        }
      }
    
      @Override
      public boolean containsValue(Object value) {
        return delegate.containsValue(value);
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 7.4K bytes
    - Click Count (0)
  7. android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

          return true;
        } catch (NoSuchMethodException | IllegalAccessException probablyBeforeJava9OrAndroid28) {
          /*
           * It's theoretically possible for Reference.reachabilityFence to exist under older VMs in an
           * inaccessible form.
           */
          return false;
        } catch (InvocationTargetException e) {
          throw new AssertionError(e.getCause());
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  8. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java

                attemptCount.incrementAndGet();
                throw new RuntimeException("Persistent failure");
            });
    
            try {
                fesenClient.get(c -> mockFuture);
                fail();
            } catch (RuntimeException e) {
                assertEquals("Persistent failure", e.getMessage());
            }
    
            // Should try initial + maxRetryCount times (1 + 3 = 4)
            assertEquals(4, attemptCount.get());
        }
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Mon Jan 12 06:25:38 GMT 2026
    - 16.9K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java

                try {
                    return future.get();
                } catch (final InterruptedException e) {
                    logger.warn("Search operation was interrupted", e);
                    Thread.currentThread().interrupt(); // Restore interrupt status
                    return SearchResult.create().build();
                } catch (final ExecutionException e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 25 02:13:14 GMT 2025
    - 28K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/timer/HotThreadMonitorTarget.java

                    return tempBuf.toString();
                }).collect(Collectors.joining(","));
                buf.append(hotThreads).append(',');
            } catch (final Exception e) {
                appendException(buf, e).append(',');
            }
    
            appendTimestamp(buf);
            buf.append('}');
    
            if (logger.isInfoEnabled()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 3.7K bytes
    - Click Count (0)
Back to Top