Search Options

Results per page
Sort
Preferred Languages
Advance

Results 571 - 580 of 727 for examples (0.04 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt

        assertThat(
          parse("http://example.com")
            .newBuilder()
            .scheme("https")
            .build()
            .port,
        ).isEqualTo(443)
        assertThat(
          parse("https://example.com")
            .newBuilder()
            .scheme("http")
            .build()
            .port,
        ).isEqualTo(80)
        assertThat(
          parse("https://example.com:1234")
            .newBuilder()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Aug 04 07:38:48 UTC 2025
    - 69.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

      @AndroidIncompatible // test-suite builders
      static final class ImmutableRangeSetIntegerAsSetGenerator implements TestSetGenerator<Integer> {
        @Override
        public SampleElements<Integer> samples() {
          return new SampleElements<>(1, 4, 3, 2, 5);
        }
    
        @Override
        public Integer[] createArray(int length) {
          return new Integer[length];
        }
    
        @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Jan 25 16:19:30 UTC 2025
    - 21.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableClassToInstanceMapTest.java

        }
    
        @Override
        public Impl[] createValueArray(int length) {
          return new Impl[length];
        }
    
        @Override
        public SampleElements<Entry<Class, Impl>> samples() {
          return new SampleElements<>(
              immutableEntry((Class) One.class, new Impl(1)),
              immutableEntry((Class) Two.class, new Impl(2)),
              immutableEntry((Class) Three.class, new Impl(3)),
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMapGenerators.java

        }
      }
    
      public static class ImmutableSortedMapEntryListGenerator
          implements TestListGenerator<Entry<String, Integer>> {
    
        @Override
        public SampleElements<Entry<String, Integer>> samples() {
          return new SampleElements<>(
              mapEntry("foo", 5),
              mapEntry("bar", 3),
              mapEntry("baz", 17),
              mapEntry("quux", 1),
              mapEntry("toaster", -2));
        }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java

     * and elevate word settings.</p>
     *
     * <p>It also includes a nested TimeoutSettings class to manage various timeout configurations.</p>
     *
     * <p>Usage example:</p>
     * <pre>
     * {@code
     * Client client = ...;
     * Map<String, Object> initialSettings = ...;
     * SuggestSettings.TimeoutSettings timeoutSettings = new SuggestSettings.TimeoutSettings();
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 20.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/util/IpAddressUtil.java

                // Add brackets for IPv6
                return "[" + address + "]";
            }
            return address;
        }
    
        /**
         * Compresses an IPv6 address string to its canonical compressed form.
         * For example, "0:0:0:0:0:0:0:1" becomes "::1"
         *
         * @param ipv6Address the IPv6 address string to compress
         * @return the compressed IPv6 address string
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 06 08:31:03 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/graph/ImmutableValueGraph.java

                Maps.asMap(graph.adjacentNodes(node), successorNodeToValueFn));
      }
    
      /**
       * A builder for creating {@link ImmutableValueGraph} instances, especially {@code static final}
       * graphs. Example:
       *
       * {@snippet :
       * static final ImmutableValueGraph<City, Distance> CITY_ROAD_DISTANCE_GRAPH =
       *     ValueGraphBuilder.undirected()
       *         .<City, Distance>immutable()
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

         * @throws IOException
         */
        @BeforeEach
        void setUp() throws IOException {
            // Create a real URL instead of mocking to avoid protocol issues
            mockUrl = new URL("http://test.example.com/path");
    
            // Basic setup for mocks to avoid NullPointerExceptions
            when(mockConnection.getURL()).thenReturn(mockUrl);
            when(mockConnection.getRequestProperties()).thenReturn(new HashMap<>());
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionSpec.kt

     * URLs, this includes the TLS version and cipher suites to use when negotiating a secure
     * connection.
     *
     * The TLS versions configured in a connection spec are only be used if they are also enabled in the
     * SSL socket. For example, if an SSL socket does not have TLS 1.3 enabled, it will not be used even
     * if it is present on the connection spec. The same policy also applies to cipher suites.
     *
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/MapsCollectionTest.java

        suite.addTest(
            MapTestSuiteBuilder.using(
                    new TestMapGenerator<String, Integer>() {
                      @Override
                      public SampleElements<Entry<String, Integer>> samples() {
                        return new SampleElements<>(
                            mapEntry("x", 1),
                            mapEntry("xxx", 3),
                            mapEntry("xx", 2),
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.4K bytes
    - Viewed (0)
Back to top