Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 746 for calc (0.03 sec)

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

            Entry<Object, Object> entry = warmed.get(i - WARMUP_MIN);
            assertTrue(cache.asMap().containsKey(entry.getKey()));
            assertTrue(cache.asMap().containsValue(entry.getValue()));
            // this getUnchecked() call shouldn't be a cache miss; verified below
            assertEquals(entry.getValue(), cache.getUnchecked(entry.getKey()));
          }
          assertEquals(WARMUP_SIZE, cache.stats().missCount());
          checkValidState(cache);
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/Futures.java

       * for APIs like {@link #whenAllComplete whenAllComplete(...)}{@code .}{@link
       * FutureCombiner#call(Callable, Executor) call(...)}, where it is easy to use a new input from
       * the {@code call} implementation but forget to add it to the arguments of {@code
       * whenAllComplete}.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
  3. buildSrc/src/main/kotlin/Osgi.kt

          BundleTaskExtension::class.java,
          jarTask,
        )
      bundleExtension.run {
        setClasspath(osgi.compileClasspath + sourceSets["main"].compileClasspath)
        bnd(*bndProperties)
      }
      // Call the convention when the task has finished, to modify the jar to contain OSGi metadata.
      jarTask.doLast {
        bundleExtension.buildAction().execute(this)
      }
    }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 08:06:31 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/NativeImageTestsAccessors.kt

    internal val Response.exchangeAccessor: Exchange?
      get() = this.exchange
    
    internal val Exchange.connectionAccessor: RealConnection
      get() = this.connection
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

            @Override
            public void call(Listener listener) {
              listener.healthy();
            }
    
            @Override
            public String toString() {
              return "healthy()";
            }
          };
      private static final ListenerCallQueue.Event<Listener> STOPPED_EVENT =
          new ListenerCallQueue.Event<Listener>() {
            @Override
            public void call(Listener listener) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/TransTransactNamedPipeResponseTest.java

            mockPipeIn.lock = new Object();
    
            byte[] buffer = new byte[10];
            int bufferIndex = 0;
            int len = 10;
    
            // Call the method to be tested
            int result = response.readDataWireFormat(buffer, bufferIndex, len);
    
            // Verify the result
            assertEquals(len, result, "readDataWireFormat should return the length of data read.");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/eventbus/StringCatcher.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * A simple EventSubscriber mock that records Strings.
     *
     * <p>For testing fun, also includes a landmine method that EventBus tests are required not
     * to call ({@link #methodWithoutAnnotation(String)}).
     *
     * @author Cliff Biffle
     */
    @NullUnmarked
    public class StringCatcher {
      private final List<String> events = new ArrayList<>();
    
      @Subscribe
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbWatchHandleImpl.java

                }
                return resp.getNotifyInformation();
            }
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbWatchHandle#call()
         */
        @Override
        public List<FileNotifyInformation> call() throws CIFSException {
            return watch();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbWatchHandle#close()
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

     *
     * <p>{@code RuntimeException}s thrown by tasks are simply logged and the executor keeps trucking.
     * If an {@code Error} is thrown, the error will propagate and execution will stop until it is
     * restarted by a call to {@link #execute}.
     */
    @J2ktIncompatible
    @GwtIncompatible
    final class SequentialExecutor implements Executor {
      private static final LazyLogger log = new LazyLogger(SequentialExecutor.class);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java

                Trans2FindFirst2Response resp = inv.getArgument(1);
                int call = nextCall[0]++;
                String[] names = batches.get(call + 1);
                FE[] res = java.util.Arrays.stream(names).map(FE::new).toArray(FE[]::new);
                setField(resp, jcifs.internal.smb1.trans.SmbComTransactionResponse.class, "results", res);
                if (call == 0) {
                    // first next
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
Back to top