Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 671 - 680 of 1,069 for match1 (0.03 seconds)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/DocBookBuilder.java

                if (!(node instanceof Text)) {
                    return false;
                }
                Text text = (Text) node;
                if (!text.getTextContent().matches("\\s*")) {
                    return false;
                }
            }
            return true;
        }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.8K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/io/MoreFilesTest.java

                  Files.createFile(dirToDelete.resolve("j/k"));
                } catch (FileAlreadyExistsException expected) {
                  // if a file already exists, that's fine... just continue
                }
    
                try {
                  method.delete(dirToDelete);
                } catch (FileSystemException expected) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 27.5K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/ImmutableRangeSet.java

        public boolean contains(@Nullable Object o) {
          if (o == null) {
            return false;
          }
          try {
            @SuppressWarnings("unchecked") // we catch CCE's
            C c = (C) o;
            return ImmutableRangeSet.this.contains(c);
          } catch (ClassCastException e) {
            return false;
          }
        }
    
        @Override
        int indexOf(@Nullable Object target) {
          if (contains(target)) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 27.4K bytes
    - Click Count (0)
  4. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/BouncyCastleSocketAdapter.kt

            // Trigger an early exception over a fatal error, prefer a RuntimeException over Error.
            Class.forName("org.bouncycastle.jsse.provider.BouncyCastleJsseProvider", false, javaClass.classLoader)
    
            true
          } catch (_: ClassNotFoundException) {
            false
          }
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  5. samples/guide/src/main/java/okhttp3/recipes/kt/CancelCall.kt

            System.out.printf(
              "%.2f Call was expected to fail, but completed: %s%n",
              (System.nanoTime() - startNanos) / 1e9f,
              response,
            )
          }
        } catch (e: IOException) {
          System.out.printf(
            "%.2f Call failed as expected: %s%n",
            (System.nanoTime() - startNanos) / 1e9f,
            e,
          )
        }
      }
    }
    
    fun main() {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt

          client
            .newBuilder()
            .addInterceptor(
              Interceptor { chain: Interceptor.Chain? ->
                try {
                  ready.countDown()
                  waiting.await()
                } catch (e: InterruptedException) {
                  throw AssertionError()
                }
                throw IOException()
              },
            ).build()
        val a1 = client.newCall(newRequest("http://a/1"))
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/crawler/FessCrawlerThreadTest.java

            // Verify the constants are accessible via reflection or by checking their usage
            // Since the constants are private, we test their values indirectly
    
            // The constants should match standard HTTP status codes
            // HTTP_STATUS_NOT_FOUND = 404
            // HTTP_STATUS_OK = 200
    
            // This test verifies that the constants are being used in the code
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 9.3K bytes
    - Click Count (0)
  8. okhttp-tls/README.md

    many as necessary with `addSubjectAlternativeName()`. This mechanism also supports a very limited
    form of wildcards `*.example.com` where the `*` must be first and doesn't match nested subdomains.
    
    By default certificates use fast and secure 256-bit ECDSA keys. For interoperability with very old
    clients use `HeldCertificate.Builder.rsa2048()`.
    
    Download
    --------
    
    ```kotlin
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:01:42 GMT 2026
    - 9.1K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/job/PingSearchEngineJob.java

                            postcard.setClustername(ping.getClusterName());
                            postcard.setClusterstatus(ping.getClusterStatus());
                        });
                    } catch (final Exception e) {
                        logger.warn("Failed to send a test mail.", e);
                    } finally {
                        SMailCallbackContext.clearPreparedMessageHookOnThread();
                    }
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/helper/RateLimitHelperTest.java

            // Guava Cache handles expiration automatically
            // Wait for cache to expire and call cleanup
            try {
                Thread.sleep(100L);
            } catch (final InterruptedException e) {
                // ignore
            }
    
            rateLimitHelper.cleanup();
            // After cleanup, the expired entry should be removed
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 4K bytes
    - Click Count (0)
Back to Top