Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 43 for computations (0.05 sec)

  1. android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

              }
            };
    
        recursiveCache = CacheBuilder.newBuilder().weakKeys().weakValues().build(recursiveLoader);
        cacheRef.set(recursiveCache);
    
        // tells the test when the computation has completed
        CountDownLatch doneSignal = new CountDownLatch(1);
    
        Thread thread =
            new Thread() {
              @Override
              public void run() {
                try {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/util/MD4.java

            }
            // buffer remaining input
            if (i < len) {
                System.arraycopy(input, offset + i, buffer, bufferNdx, len - i);
            }
        }
    
        /**
         * Completes the hash computation by performing final operations such
         * as padding. At the return of this engineDigest, the MD engine is
         * reset.
         *
         * @return the array of bytes for the resulting hash value.
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  3. okhttp/build.gradle.kts

    // From https://github.com/Kotlin/kotlinx-atomicfu/blob/master/atomicfu/build.gradle.kts
    val compileJavaModuleInfo by tasks.registering(JavaCompile::class) {
      val moduleName = "okhttp3"
      val compilation = kotlin.targets["jvm"].compilations["main"]
      val compileKotlinTask = compilation.compileTaskProvider.get() as KotlinJvmCompile
      val targetDir = compileKotlinTask.destinationDirectory.dir("../java9")
      val sourceDir = file("src/jvmMain/java9/")
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 01 12:18:11 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/math/LongMath.java

            /*
             * a * b == aHi * bHi * 2^64 + (aHi * bLo + aLo * bHi) * 2^32 + aLo * bLo.
             *       == (aHi * bHi * 2^32 + aHi * bLo + aLo * bHi) * 2^32 + aLo * bLo
             *
             * We carry out this computation in modular arithmetic. Since times2ToThe32Mod accepts any
             * unsigned long, we don't have to do a mod on every operation, only when intermediate
             * results can exceed 2^63.
             */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 03 21:01:09 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

     *       SMALL_DELAY_MS}, {@code MEDIUM_DELAY_MS}, {@code LONG_DELAY_MS}. The idea here is that a
     *       SHORT is always discriminable from zero time, and always allows enough time for the small
     *       amounts of computation (creating a thread, calling a few methods, etc) needed to reach a
     *       timeout point. Similarly, a SMALL is always discriminable as larger than SHORT and smaller
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 37.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

            .isEqualTo(EntryFactory.WEAK_WRITE);
        assertThat(EntryFactory.getFactory(Strength.WEAK, true, true))
            .isEqualTo(EntryFactory.WEAK_ACCESS_WRITE);
      }
    
      // computation tests
    
      public void testCompute() throws ExecutionException {
        CountingLoader loader = new CountingLoader();
        LocalCache<Object, Object> map = makeLocalCache(createCacheBuilder());
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 00:25:21 UTC 2025
    - 115.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/cache/LocalCacheTest.java

            .isEqualTo(EntryFactory.WEAK_WRITE);
        assertThat(EntryFactory.getFactory(Strength.WEAK, true, true))
            .isEqualTo(EntryFactory.WEAK_ACCESS_WRITE);
      }
    
      // computation tests
    
      public void testCompute() throws ExecutionException {
        CountingLoader loader = new CountingLoader();
        LocalCache<Object, Object> map = makeLocalCache(createCacheBuilder());
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 00:25:21 UTC 2025
    - 117.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        // clear absent
        assertFalse(segment.clearValueForTesting(key, hash, valueRef));
    
        segment.setTableEntryForTesting(0, entry);
        // don't increment count; this is used during computation
        assertTrue(segment.clearValueForTesting(key, hash, valueRef));
        // no notification sent with clearValue
        assertEquals(0, segment.count);
        assertThat(table.get(0)).isNull();
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        // clear absent
        assertFalse(segment.clearValueForTesting(key, hash, valueRef));
    
        segment.setTableEntryForTesting(0, entry);
        // don't increment count; this is used during computation
        assertTrue(segment.clearValueForTesting(key, hash, valueRef));
        // no notification sent with clearValue
        assertEquals(0, segment.count);
        assertThat(table.get(0)).isNull();
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Maps.java

         * expected</i>, but not absolutely required, to have the following properties:
         *
         * <ul>
         *   <li>Its execution does not cause any observable side effects.
         *   <li>The computation is <i>consistent with equals</i>; that is, {@link Objects#equals
         *       Objects.equals}{@code (k1, k2) &&} {@link Objects#equals Objects.equals}{@code (v1,
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 163.5K bytes
    - Viewed (0)
Back to top