Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 570 for allowed (0.18 sec)

  1. android/guava/src/com/google/common/graph/GraphConstants.java

      static final String PARALLEL_EDGES_NOT_ALLOWED =
          "Nodes %s and %s are already connected by a different edge. To construct a graph "
              + "that allows parallel edges, call allowsParallelEdges(true) on the Builder.";
      static final String SELF_LOOPS_NOT_ALLOWED =
          "Cannot add self-loop edge on node %s, as self-loops are not allowed. To construct a graph "
              + "that allows self-loops, call allowsSelfLoops(true) on the Builder.";
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/graph/GraphsTest.java

      private static final String ERROR_ADDED_PARALLEL_EDGE =
          "Should not be allowed to add a parallel edge.";
      private static final String ERROR_ADDED_SELF_LOOP =
          "Should not be allowed to add a self-loop edge.";
      static final String ERROR_SELF_LOOP = "self-loops are not allowed";
    
      @Test
      public void transitiveClosure_directedGraph() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 24.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        }
      }
    
      public void testInitialCapacity_setTwice() {
        CacheBuilder<Object, Object> builder = CacheBuilder.newBuilder().initialCapacity(16);
        try {
          // even to the same value is not allowed
          builder.initialCapacity(16);
          fail();
        } catch (IllegalStateException expected) {
        }
      }
    
      @GwtIncompatible // CacheTesting
      public void testInitialCapacity_small() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Oct 03 20:10:02 GMT 2023
    - 23.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/math/StatsAccumulatorTest.java

        assertThat(oneValueAccumulator.mean()).isWithin(ALLOWED_ERROR).of(ONE_VALUE);
        assertThat(oneValueAccumulatorByAddAllEmptyStats.mean()).isWithin(ALLOWED_ERROR).of(ONE_VALUE);
        assertThat(twoValuesAccumulator.mean()).isWithin(ALLOWED_ERROR).of(TWO_VALUES_MEAN);
        assertThat(twoValuesAccumulatorByAddAllStats.mean())
            .isWithin(ALLOWED_ERROR)
            .of(TWO_VALUES_MEAN);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 36.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/math/StatsTest.java

                .that(mean)
                .isWithin(ALLOWED_ERROR)
                .of(MANY_VALUES_MEAN);
          }
        }
        assertThat(MANY_VALUES_STATS_ITERABLE.mean()).isWithin(ALLOWED_ERROR).of(MANY_VALUES_MEAN);
        assertThat(MANY_VALUES_STATS_ITERATOR.mean()).isWithin(ALLOWED_ERROR).of(MANY_VALUES_MEAN);
        assertThat(MANY_VALUES_STATS_SNAPSHOT.mean()).isWithin(ALLOWED_ERROR).of(MANY_VALUES_MEAN);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 32.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/math/PairedStatsTest.java

            .isWithin(ALLOWED_ERROR)
            .of(MANY_VALUES_SUM_OF_PRODUCTS_OF_DELTAS / (MANY_VALUES_COUNT - 1));
        assertThat(HORIZONTAL_VALUES_PAIRED_STATS.sampleCovariance()).isWithin(ALLOWED_ERROR).of(0.0);
        assertThat(VERTICAL_VALUES_PAIRED_STATS.sampleCovariance()).isWithin(ALLOWED_ERROR).of(0.0);
        assertThat(CONSTANT_VALUES_PAIRED_STATS.sampleCovariance()).isWithin(ALLOWED_ERROR).of(0.0);
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/math/PairedStatsTest.java

            .isWithin(ALLOWED_ERROR)
            .of(MANY_VALUES_SUM_OF_PRODUCTS_OF_DELTAS / (MANY_VALUES_COUNT - 1));
        assertThat(HORIZONTAL_VALUES_PAIRED_STATS.sampleCovariance()).isWithin(ALLOWED_ERROR).of(0.0);
        assertThat(VERTICAL_VALUES_PAIRED_STATS.sampleCovariance()).isWithin(ALLOWED_ERROR).of(0.0);
        assertThat(CONSTANT_VALUES_PAIRED_STATS.sampleCovariance()).isWithin(ALLOWED_ERROR).of(0.0);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 14K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java

         * and will cause {@link #build} to fail.
         */
        @CanIgnoreReturnValue
        public <T extends B> Builder<B> put(Class<T> key, T value) {
          mapBuilder.put(key, value);
          return this;
        }
    
        /**
         * Associates all of {@code map's} keys and values in the built map. Duplicate keys are not
         * allowed, and will cause {@link #build} to fail.
         *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 10 21:56:03 GMT 2023
    - 7.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/MapMakerTest.java

      public void xtestInitialCapacity_setTwice() {
        MapMaker maker = new MapMaker().initialCapacity(16);
        try {
          // even to the same value is not allowed
          maker.initialCapacity(16);
          fail();
        } catch (IllegalStateException expected) {
        }
      }
    
      public void testReturnsPlainConcurrentHashMapWhenPossible() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/net/HttpHeaders.java

      /** The HTTP {@code Access-Control-Allow-Headers} header field name. */
      public static final String ACCESS_CONTROL_ALLOW_HEADERS = "Access-Control-Allow-Headers";
      /** The HTTP {@code Access-Control-Allow-Methods} header field name. */
      public static final String ACCESS_CONTROL_ALLOW_METHODS = "Access-Control-Allow-Methods";
      /** The HTTP {@code Access-Control-Allow-Origin} header field name. */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:08:08 GMT 2024
    - 34.3K bytes
    - Viewed (0)
Back to top