Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 344 for Reverse (0.1 sec)

  1. android/guava-tests/test/com/google/common/collect/AbstractBiMapTest.java

        iterator.next();
        iterator.next();
        iterator.remove();
        iterator.next();
        iterator.remove();
        assertEquals(1, bimap.size());
        assertEquals(1, bimap.inverse().size());
      }
    
      @SuppressWarnings("IdentityHashMapBoxing") // explicitly testing IdentityHashMap
      public void testIdentityEntrySetIteratorRemove() {
        BiMap<Integer, String> bimap =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu May 14 14:52:51 UTC 2020
    - 2.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/AbstractBiMapTest.java

        iterator.next();
        iterator.next();
        iterator.remove();
        iterator.next();
        iterator.remove();
        assertEquals(1, bimap.size());
        assertEquals(1, bimap.inverse().size());
      }
    
      @SuppressWarnings("IdentityHashMapBoxing") // explicitly testing IdentityHashMap
      public void testIdentityEntrySetIteratorRemove() {
        BiMap<Integer, String> bimap =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu May 14 14:52:51 UTC 2020
    - 2.3K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapTestSuiteBuilder.java

        if (!parentBuilder.getFeatures().contains(NoRecurse.INVERSE)) {
          derived.add(
              BiMapTestSuiteBuilder.using(
                      new InverseBiMapGenerator<K, V>(parentBuilder.getSubjectGenerator()))
                  .withFeatures(computeInverseFeatures(parentBuilder.getFeatures()))
                  .named(parentBuilder.getName() + " inverse")
                  .suppressing(parentBuilder.getSuppressedTests())
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java

     * or implied. See the License for the specific language governing permissions and limitations under
     * the License.
     */
    
    package com.google.common.util.concurrent;
    
    import static java.util.logging.Level.SEVERE;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.annotations.VisibleForTesting;
    import java.lang.Thread.UncaughtExceptionHandler;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/EnumHashBiMapTest.java

        assertEquals("{}", bimap.toString());
        assertEquals(HashBiMap.create(), bimap);
        bimap.put(Currency.DOLLAR, "dollar");
        assertEquals("dollar", bimap.get(Currency.DOLLAR));
        assertEquals(Currency.DOLLAR, bimap.inverse().get("dollar"));
      }
    
      public void testCreateFromMap() {
        /* Test with non-empty Map. */
        Map<Currency, String> map =
            ImmutableMap.of(
                Currency.DOLLAR, "dollar",
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ImmutableBiMapFloodingTest.java

                .collect(toImmutableList()),
            n -> n * log(n),
            ImmutableList.of(
                QueryOp.create("BiMap.get", BiMap::get, Math::log),
                QueryOp.create("BiMap.inverse.get", (bm, o) -> bm.inverse().get(o), Math::log)));
      }
    
      /** All the ways to create an ImmutableBiMap. */
      enum ConstructionPathway {
        COPY_OF_MAP {
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/CallHandshakeTest.kt

        platform.assumeNotConscrypt()
        platform.assumeNotBouncyCastle()
    
        val reversed = ConnectionSpec.COMPATIBLE_TLS.cipherSuites!!.reversed()
        val client =
          makeClient(
            ConnectionSpec.COMPATIBLE_TLS,
            TlsVersion.TLS_1_2,
            reversed,
          )
    
        makeRequest(client)
    
        val expectedConnectionCipherSuites = expectedConnectionCipherSuites(client)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  8. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateReleasedVersions.kt

                    },
                    if (currentReleasedVersion.gradleVersion().finalRelease()) {
                        (releasedVersions.finalReleases + currentReleasedVersion).sortedBy { it.gradleVersion() }.reversed()
                    } else {
                        releasedVersions.finalReleases
                    }
                )
    
            private
            fun newerVersion(releasedVersion: ReleasedVersion, other: ReleasedVersion) =
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Jul 07 13:12:26 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/curl/CurlTest.java

                final String content = response.getContentAsString();
                logger.info(content);
                assertTrue(content.length() > 0);
            }, e -> {
                logger.log(Level.SEVERE, "error", e);
                fail();
            });
        }
    
        /*
        @Test
        public void test_Get_ssl() throws Exception {
            final String filename = "config/certs/http_ca.crt";
    Registered: Thu Oct 31 02:32:13 UTC 2024
    - Last Modified: Mon Nov 14 21:05:19 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableListMultimap.java

       *
       * @since 11.0
       */
      @Override
      public ImmutableListMultimap<V, K> inverse() {
        ImmutableListMultimap<V, K> result = inverse;
        return (result == null) ? (inverse = invert()) : result;
      }
    
      private ImmutableListMultimap<V, K> invert() {
        Builder<V, K> builder = builder();
        for (Entry<K, V> entry : entries()) {
          builder.put(entry.getValue(), entry.getKey());
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 19.3K bytes
    - Viewed (0)
Back to top