Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1271 - 1280 of 3,152 for get2 (0.03 sec)

  1. okhttp/src/test/java/okhttp3/OkHttpClientTest.kt

            override fun connectFailed(
              uri: URI,
              socketAddress: SocketAddress,
              e: IOException,
            ) {}
          }
    
        val trustManager = get().platformTrustManager()
        val sslContext = get().newSSLContext()
        sslContext.init(null, null, null)
    
        // new client, may share all same fields but likely different connection pool
        assertNotSame(
          client.routeDatabase,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java

        List<E> samplesList =
            asList(samples.e0(), samples.e1(), samples.e2(), samples.e3(), samples.e4());
    
        sort(samplesList, comparator);
        E firstInclusive = samplesList.get(0);
        E lastInclusive = samplesList.get(samplesList.size() - 1);
    
        return SortedMultisetTestSuiteBuilder.using(
                new ForwardingTestMultisetGenerator<E>(delegate) {
                  @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java

    import java.util.concurrent.TimeoutException;
    import junit.framework.TestCase;
    
    /** Unit tests for {@link Futures#getChecked(Future, Class)}. */
    public class FuturesGetCheckedTest extends TestCase {
      // Boring untimed-get tests:
    
      public void testGetCheckedUntimed_success() throws TwoArgConstructorException {
        assertEquals("foo", getChecked(immediateFuture("foo"), TwoArgConstructorException.class));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Iterables.java

       *     the size of {@code iterable}
       */
      @ParametricNullness
      public static <T extends @Nullable Object> T get(Iterable<T> iterable, int position) {
        checkNotNull(iterable);
        return (iterable instanceof List)
            ? ((List<T>) iterable).get(position)
            : Iterators.get(iterable.iterator(), position);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 42.8K bytes
    - Viewed (0)
  5. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/FileSettingsSource.java

         *
         * @param settingsFile The settings file, must not be {@code null}.
         */
        public FileSettingsSource(File settingsFile) {
            super(settingsFile);
        }
    
        /**
         * Gets the settings file of this model source.
         *
         * @return The underlying settings file, never {@code null}.
         * @deprecated instead use {@link #getFile()}
         */
        @Deprecated
        public File getSettingsFile() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/UrlSettingsSource.java

         *
         * @param settingsUrl The settings URL, must not be {@code null}.
         */
        public UrlSettingsSource(URL settingsUrl) {
            super(settingsUrl);
        }
    
        /**
         * Gets the settings URL of this model source.
         *
         * @return The underlying settings URL, never {@code null}.
         * @deprecated instead use {@link #getUrl()}
         */
        @Deprecated
        public URL getSettingsUrl() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/it/admin/AccessTokenTests.java

            // Test: access admin api using a new token
            String id = JsonPath.from(response).get("response.id");
            response = checkGetMethod(requestBody, ITEM_ENDPOINT_SUFFIX + "/" + id).asString();
            String token = JsonPath.from(response).get("response.setting.token");
            checkGetMethod(requestBody, ITEM_ENDPOINT_SUFFIX + "/" + id).then()
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/Challenge.kt

      val authParams: Map<String?, String>
    
      /** Returns the protection space. */
      @get:JvmName("realm")
      val realm: String?
        get() = authParams["realm"]
    
      /** The charset that should be used to encode the credentials. */
      @get:JvmName("charset")
      val charset: Charset
        get() {
          val charset = authParams["charset"]
          if (charset != null) {
            try {
              return Charset.forName(charset)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/SortedSetMultimapTestSuiteBuilder.java

                    parentBuilder.getSubjectGenerator()))
            .withFeatures(computeMultimapGetFeatures(parentBuilder.getFeatures()))
            .named(parentBuilder.getName() + ".get[key]")
            .suppressing(parentBuilder.getSuppressedTests())
            .createTestSuite();
      }
    
      @Override
      TestSuite computeMultimapAsMapGetTestSuite(
          FeatureSpecificTestSuiteBuilder<
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/AbstractBiMapTester.java

        for (Entry<K, V> entry : expected) {
          assertEquals(
              "Wrong key for value " + entry.getValue(),
              entry.getKey(),
              getMap().inverse().get(entry.getValue()));
        }
      }
    
      @Override
      protected void expectMissing(Entry<K, V>... entries) {
        super.expectMissing(entries);
        for (Entry<K, V> entry : entries) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top