Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 242 for how (0.01 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/WrongType.java

    package com.google.common.collect.testing;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * A type which will never be used as the element type of any collection in our tests, and so can be
     * used to test how a Collection behaves when given input of the wrong type.
     */
    @GwtCompatible
    public enum WrongType {
      VALUE
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 934 bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

     *
     * This logs TLSv1.2 on a JVM (OpenJDK 11+) without any additional code.  For TLSv1.3
     * an existing external tool is required.
     *
     * See https://stackoverflow.com/questions/61929216/how-to-log-tlsv1-3-keys-in-jsse-for-wireshark-to-decode-traffic
     *
     * Steps to run in your own code
     *
     * 1. In your main method `WireSharkListenerFactory.register()`
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/reflect/TypeParameter.java

     * bound. However, it would also let them create `new TypeParameter<@Nullable T>() {}`, which
     * wouldn't behave as users might expect. Additionally, it's not clear how the TypeToken API could
     * support even a "normal" `TypeParameter<T>` when `<T>` has a nullable bound. (See the discussion
     * on TypeToken.where.) So, in the interest of failing fast and encouraging the user to switch to a
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

     * services are started by some mechanism besides {@link #startAsync}, the listeners will be invoked
     * when appropriate and {@link #awaitHealthy} will still work as expected.
     *
     * <p>Here is a simple example of how to use a {@code ServiceManager} to start a server.
     *
     * {@snippet :
     * class Server {
     *   public static void main(String[] args) {
     *     Set<Service> services = ...;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt

        val parentFile = parentFile ?: return false
        if (parentFile == directory) return true
        return parentFile.isDescendentOf(directory)
      }
    
      /**
       * See FinalizationTester for discussion on how to best trigger GC in tests.
       * https://android.googlesource.com/platform/libcore/+/master/support/src/test/java/libcore/
       * java/lang/ref/FinalizationTester.java
       */
      @Throws(Exception::class)
      @JvmStatic
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/wizard/CrawlingConfigForm.java

        /**
         * Path or URL to be crawled by this configuration.
         */
        @Required
        @Size(max = 1000)
        public String crawlingConfigPath;
    
        /**
         * Maximum depth for crawling (how many levels deep to follow links).
         */
        @Min(value = 0)
        @Max(value = 2147483647)
        @ValidateTypeFailure
        public Integer depth;
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/go/GoForm.java

         * Contains the original search query if redirection fails.
         */
        public String q;
    
        /**
         * Number of results parameter for error page fallback.
         * Specifies how many results to display if redirection fails.
         */
        public String num;
    
        /**
         * Sort parameter for error page fallback.
         * Defines the sorting order if redirection fails.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/TestContainerGenerator.java

      /** Returns the sample elements that this generate populates its container with. */
      SampleElements<E> samples();
    
      /**
       * Creates a new container containing the given elements. TODO: would be nice to figure out how to
       * use E... or E[] as a parameter type, but this doesn't seem to work because Java creates an
       * array of the erased type.
       */
      T create(Object... elements);
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/SneakyThrows.java

       * However, we can't usually write {@code throw t;} when {@code t} has a static type of {@link
       * Throwable}. But we <i>can</i> write {@code sneakyThrow(t);}.
       *
       * <p>We sometimes also use {@code sneakyThrow} for testing how our code responds to
       * sneaky checked exception.
       *
       * @return never; this method declares a return type of {@link Error} only so that callers can
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Dec 30 18:44:22 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/SneakyThrows.java

       * However, we can't usually write {@code throw t;} when {@code t} has a static type of {@link
       * Throwable}. But we <i>can</i> write {@code sneakyThrow(t);}.
       *
       * <p>We sometimes also use {@code sneakyThrow} for testing how our code responds to
       * sneaky checked exception.
       *
       * @return never; this method declares a return type of {@link Error} only so that callers can
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Feb 03 21:52:39 UTC 2025
    - 2.4K bytes
    - Viewed (0)
Back to top