Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,015 for volume (0.19 sec)

  1. guava/src/com/google/common/collect/Collections2.java

              // We move to the next non-repeated element.
              permutations = IntMath.saturatedMultiply(permutations, IntMath.binomial(n, r));
              r = 0;
              if (permutations == Integer.MAX_VALUE) {
                return Integer.MAX_VALUE;
              }
            }
            n++;
            r++;
          }
          return IntMath.saturatedMultiply(permutations, IntMath.binomial(n, r));
        }
    
        @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Collections2.java

              // We move to the next non-repeated element.
              permutations = IntMath.saturatedMultiply(permutations, IntMath.binomial(n, r));
              r = 0;
              if (permutations == Integer.MAX_VALUE) {
                return Integer.MAX_VALUE;
              }
            }
            n++;
            r++;
          }
          return IntMath.saturatedMultiply(permutations, IntMath.binomial(n, r));
        }
    
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Platform.java

      }
    
      /**
       * Configures the given map maker to use weak keys, if possible; does nothing otherwise (i.e., in
       * GWT). This is sometimes acceptable, when only server-side code could generate enough volume
       * that reclamation becomes important.
       */
      @J2ktIncompatible
      static MapMaker tryWeakKeys(MapMaker mapMaker) {
        return mapMaker.weakKeys();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/StandardTable.java

        return value != null && value.equals(get(rowKey, columnKey));
      }
    
      /** Remove a row key / column key / value mapping, if present. */
      private boolean removeMapping(
          @CheckForNull Object rowKey, @CheckForNull Object columnKey, @CheckForNull Object value) {
        if (containsMapping(rowKey, columnKey, value)) {
          remove(rowKey, columnKey);
          return true;
        }
        return false;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 29.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableTable.java

      /**
       * Verifies that {@code rowKey}, {@code columnKey} and {@code value} are non-null, and returns a
       * new entry with those values.
       */
      static <R, C, V> Cell<R, C, V> cellOf(R rowKey, C columnKey, V value) {
        return Tables.immutableCell(
            checkNotNull(rowKey, "rowKey"),
            checkNotNull(columnKey, "columnKey"),
            checkNotNull(value, "value"));
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 17.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/HashBasedTable.java

     * order of the various views.
     *
     * <p>The views returned by {@link #column}, {@link #columnKeySet()}, and {@link #columnMap()} have
     * iterators that don't support {@code remove()}. Otherwise, all optional operations are supported.
     * Null row keys, columns keys, and values are not supported.
     *
     * <p>Lookups by row key are often faster than lookups by column key, because the data is stored in
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 24 17:47:51 GMT 2022
    - 4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ImmutableTableTest.java

                return holder.string;
              }
            };
    
        // Add the mutable cell to the builder
        builder.put(mutableCell);
    
        // Mutate the value
        holder.string = "bar";
    
        // Make sure it uses the original value.
        assertEquals(ImmutableTable.of('K', 42, "foo"), builder.build());
      }
    
      public void testBuilder_noDuplicates() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 19.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/TransposedTableTest.java

        assertSame(original.values(), transpose.values());
        assertEquals(original.row(1), transpose.column(1));
        assertEquals(original.row(2), transpose.column(2));
        assertEquals(original.column("foo"), transpose.row("foo"));
        assertEquals(original.column("bar"), transpose.row("bar"));
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/UnsignedIntegerTest.java

        for (int value : TEST_INTS) {
          assertWithMessage(UnsignedInts.toString(value))
              .that(UnsignedInteger.fromIntBits(value).intValue())
              .isEqualTo(value);
        }
      }
    
      public void testFromIntBitsLongValue() {
        for (int value : TEST_INTS) {
          long expected = value & 0xffffffffL;
          assertWithMessage(UnsignedInts.toString(value))
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/UnsignedLongTest.java

          assertWithMessage(UnsignedLongs.toString(value))
              .that(UnsignedLong.fromLongBits(value).longValue())
              .isEqualTo(value);
        }
      }
    
      public void testAsUnsignedBigIntegerValue() {
        for (long value : TEST_LONGS) {
          BigInteger expected =
              (value >= 0)
                  ? BigInteger.valueOf(value)
                  : BigInteger.valueOf(value).add(BigInteger.ZERO.setBit(64));
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 10.5K bytes
    - Viewed (0)
Back to top