Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 294 for compacted (0.13 sec)

  1. guava-tests/test/com/google/common/hash/BloomFilterTest.java

      }
    
      public void testExpectedFpp() {
        BloomFilter<Object> bf = BloomFilter.create(HashTestUtils.BAD_FUNNEL, 10, 0.03);
        double fpp = bf.expectedFpp();
        assertThat(fpp).isEqualTo(0.0);
        // usually completed in less than 200 iterations
        while (fpp != 1.0) {
          boolean changed = bf.put(new Object());
          double newFpp = bf.expectedFpp();
          // if changed, the new fpp is strictly higher, otherwise it is the same
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  2. src/bytes/bytes.go

    	// limit (8KB), we stop growing the source string once the limit
    	// is reached and keep reusing the same source string - that
    	// should therefore be always resident in the L1 cache - until we
    	// have completed the construction of the result.
    	// This yields significant speedups (up to +100%) in cases where
    	// the result length is large (roughly, over L2 cache size).
    	const chunkLimit = 8 * 1024
    	chunkMax := n
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Sep 03 20:55:15 UTC 2024
    - 35.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Ordering.java

      }
    
      /**
       * Returns an ordering that compares objects according to the order in which they appear in the
       * given list. Only objects present in the list (according to {@link Object#equals}) may be
       * compared. This comparator imposes a "partial ordering" over the type {@code T}. Subsequent
       * changes to the {@code valuesInOrder} list will have no effect on the returned comparator. Null
       * values in the list are not supported.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Verify.java

     *       same function with more clarity.
     * </ul>
     *
     * <h3>Warning about performance</h3>
     *
     * <p>Remember that parameter values for message construction must all be computed eagerly, and
     * autoboxing and varargs array creation may happen as well, even when the verification succeeds and
     * the message ends up unneeded. Performance-sensitive verification checks should continue to use
     * usual form:
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon May 17 14:07:47 UTC 2021
    - 18.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/math/BigIntegerMath.java

        int approxSize = IntMath.divide(n * IntMath.log2(n, CEILING), Long.SIZE, CEILING);
        ArrayList<BigInteger> bignums = new ArrayList<>(approxSize);
    
        // Start from the pre-computed maximum long factorial.
        int startingNumber = LongMath.factorials.length;
        long product = LongMath.factorials[startingNumber - 1];
        // Strip off 2s from this value.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  6. cmd/streaming-signature-v4.go

    	}
    	if err != nil && err != io.EOF {
    		cr.err = err
    		return n, cr.err
    	}
    
    	// Once we have read the entire chunk successfully, we verify
    	// that the received signature matches our computed signature.
    	cr.chunkSHA256Writer.Write(cr.buffer)
    	newSignature := cr.getChunkSignature()
    	if !compareSignatureV4(string(signature[16:]), newSignature) {
    		cr.err = errSignatureMismatch
    		return n, cr.err
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 16 23:13:47 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/FluentFuture.java

       * of {@link java.util.concurrent.CompletableFuture#thenAccept} and {@link
       * java.util.concurrent.CompletableFuture#thenAcceptAsync}.
       *
       * @param callback The callback to invoke when this {@code Future} is completed.
       * @param executor The executor to run {@code callback} when the future completes.
       */
      public final void addCallback(FutureCallback<? super V> callback, Executor executor) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  8. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

         * 2. 1.2-SNAPSHOT == 1.2-snapshot
         * </pre>
         *
         * @param args the version strings to parse and compare. You can pass arbitrary number of version strings and always
         *             two adjacent will be compared.
         */
        // CHECKSTYLE_ON: LineLength
        public static void main(String... args) {
            System.out.println("Display parameters as parsed by Maven (in canonical form and as a list of tokens) and"
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 26K bytes
    - Viewed (0)
  9. CONTRIBUTING.md

    *   When you contribute a new feature to TensorFlow, the maintenance burden is
        (by default) transferred to the TensorFlow team. This means that the benefit
        of the contribution must be compared against the cost of maintaining the
        feature.
    *   Full new features (e.g., a new op implementing a cutting-edge algorithm)
        typically will live in
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Oct 23 06:20:12 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/MoreFilesTest.java

              .isEqualTo(MoreFiles.asByteSource(fooCopy).size());
          assertThat(MoreFiles.equal(fooPath, fooCopy)).isFalse();
    
          // should also assert that a Path that erroneously reports a size 0 can still be compared,
          // not sure how to do that with the Path API
        }
      }
    
      public void testEqual_links() throws IOException {
        try (FileSystem fs = Jimfs.newFileSystem(Configuration.unix())) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 26.5K bytes
    - Viewed (0)
Back to top