Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for twice (0.12 sec)

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

        assertFalse(
            "multiset.entrySet() contains a non-entry", getMultiset().entrySet().contains(e0()));
      }
    
      public void testEntrySet_twice() {
        assertEquals(
            "calling multiset.entrySet() twice returned unequal sets",
            getMultiset().entrySet(),
            getMultiset().entrySet());
      }
    
      @CollectionSize.Require(ZERO)
      public void testEntrySet_hashCode_size0() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 3.9K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/MultisetReadsTester.java

        assertFalse(
            "multiset.entrySet() contains a non-entry", getMultiset().entrySet().contains(e0()));
      }
    
      public void testEntrySet_twice() {
        assertEquals(
            "calling multiset.entrySet() twice returned unequal sets",
            getMultiset().entrySet(),
            getMultiset().entrySet());
      }
    
      @CollectionSize.Require(ZERO)
      public void testEntrySet_hashCode_size0() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 3.9K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/QueueTestSuiteBuilder.java

      /**
       * Specify whether to skip the general collection tests. Call this method when testing a
       * collection that's both a queue and a list, to avoid running the common collection tests twice.
       * By default, collection tests do run.
       */
      @CanIgnoreReturnValue
      public QueueTestSuiteBuilder<E> skipCollectionTests() {
        runCollectionTests = false;
        return this;
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  4. maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMetadataSource.java

    import org.apache.maven.project.ProjectBuilder;
    
    /**
     * This realizes the metadata source via the default hint to provide backward-compat with Maven 2.x whose Plexus version
     * registered component descriptors twice: once keyed by role+roleHint and once keyed by role only. This effectively
     * made the metadata source available with its original role hint ("maven") as well as the default hint.
     *
     */
    @Named
    @Singleton
    @Deprecated
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/QueueTestSuiteBuilder.java

      /**
       * Specify whether to skip the general collection tests. Call this method when testing a
       * collection that's both a queue and a list, to avoid running the common collection tests twice.
       * By default, collection tests do run.
       */
      @CanIgnoreReturnValue
      public QueueTestSuiteBuilder<E> skipCollectionTests() {
        runCollectionTests = false;
        return this;
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/SuppliersTest.java

      }
    
      private void memoizeExceptionThrownTest(ThrowingSupplier throwingSupplier) {
        Supplier<Integer> memoizedSupplier = Suppliers.memoize(throwingSupplier);
        // call get() twice to make sure that memoization doesn't interfere
        // with throwing the exception
        for (int i = 0; i < 2; i++) {
          try {
            memoizedSupplier.get();
            fail("failed to throw NullPointerException");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 18.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/SuppliersTest.java

      }
    
      private void memoizeExceptionThrownTest(ThrowingSupplier throwingSupplier) {
        Supplier<Integer> memoizedSupplier = Suppliers.memoize(throwingSupplier);
        // call get() twice to make sure that memoization doesn't interfere
        // with throwing the exception
        for (int i = 0; i < 2; i++) {
          try {
            memoizedSupplier.get();
            fail("failed to throw NullPointerException");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 18.1K bytes
    - Viewed (0)
  8. analysis/analysis-api-fe10/tests-gen/org/jetbrains/kotlin/analysis/api/fe10/test/cases/generated/cases/components/compileTimeConstantProvider/Fe10IdeNormalAnalysisSourceModuleCompileTimeConstantEvaluatorTestGenerated.java

      }
    
      @Test
      @TestMetadata("propertyInCompanionObject_indirect_twice.kt")
      public void testPropertyInCompanionObject_indirect_twice() {
        runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/propertyInCompanionObject_indirect_twice.kt");
      }
    
      @Test
      @TestMetadata("propertyInit_Byte.kt")
      public void testPropertyInit_Byte() {
    Java
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Feb 16 12:48:24 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/math/QuantilesTest.java

            .isWithin(ALLOWED_ERROR)
            .of(45.6);
      }
    
      public void testScale_indexes_varargs_compute_doubleCollection() {
        // Note that we specify index 1 twice, which by the method contract should be ignored.
        assertThat(Quantiles.scale(10).indexes(0, 10, 5, 1, 8, 1).compute(SIXTEEN_SQUARES_DOUBLES))
            .comparingValuesUsing(QUANTILE_CORRESPONDENCE)
            .containsExactly(
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 29.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/math/QuantilesTest.java

            .isWithin(ALLOWED_ERROR)
            .of(45.6);
      }
    
      public void testScale_indexes_varargs_compute_doubleCollection() {
        // Note that we specify index 1 twice, which by the method contract should be ignored.
        assertThat(Quantiles.scale(10).indexes(0, 10, 5, 1, 8, 1).compute(SIXTEEN_SQUARES_DOUBLES))
            .comparingValuesUsing(QUANTILE_CORRESPONDENCE)
            .containsExactly(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 29.7K bytes
    - Viewed (0)
Back to top