Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 597 for calc (0.02 sec)

  1. guava-testlib/test/com/google/common/testing/FakeTickerTest.java

              executorService.submit(
                  new Callable<@Nullable Void>() {
                    @Override
                    public @Nullable Void call() throws Exception {
                      startLatch.countDown();
                      startLatch.await();
                      callable.call();
                      doneLatch.countDown();
                      return null;
                    }
                  });
        }
        doneLatch.await();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  2. okhttp-sse/src/main/kotlin/okhttp3/sse/EventSources.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.sse
    
    import okhttp3.Call
    import okhttp3.OkHttpClient
    import okhttp3.Response
    import okhttp3.sse.EventSource.Companion.processEventSource
    import okhttp3.sse.EventSource.Factory.Companion.asEventSourceFactory
    
    object EventSources {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  3. 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)
  4. android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java

       * write.
       *
       * 2. visibility of the writes to an afterDone() call triggered by cancel():
       *
       * Since these fields are non-final that means that TimeoutFuture is not being 'safely published',
       * thus a motivated caller may be able to expose the reference to another thread that would then
       * call cancel() and be unable to cancel the delegate.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. mvnw.cmd

    if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre
    @REM check for pre script, once with legacy .bat ending and once with .cmd ending
    if exist "%USERPROFILE%\mavenrc_pre.bat" call "%USERPROFILE%\mavenrc_pre.bat" %*
    if exist "%USERPROFILE%\mavenrc_pre.cmd" call "%USERPROFILE%\mavenrc_pre.cmd" %*
    :skipRcPre
    
    @setlocal
    
    set ERROR_CODE=0
    
    @REM To isolate internal variables from possible post scripts, we use another setlocal
    @setlocal
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Oct 14 22:24:15 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        long toWaitMillis = 3500 - NANOSECONDS.toMillis(System.nanoTime() - thread.startTime);
        Thread.sleep(toWaitMillis);
        thread.setPriority(Thread.MAX_PRIORITY);
        Thread.class.getMethod("resume").invoke(thread);
        thread.join();
        // It's possible to race and suspend the thread just before the park call actually takes effect,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/ObjectsTest.java

    @NullUnmarked
    public class ObjectsTest extends TestCase {
    
      @SuppressWarnings({
        "ObjectEqualsForPrimitives", // test of a trivial call
        "EqualsInteger", // test of a trivial call
        "EqualsLong", // b/273939864
        "EqualsDouble", // b/273939864
        "EqualsFloat", // b/273939864
        "YodaCondition", // test of reversed call
      })
      public void testEqual() throws Exception {
        assertTrue(Objects.equal(1, 1));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/LinkedListMultimap.java

        public void remove() {
          checkForConcurrentModification();
          checkState(current != null, "no calls to next() since the last call to remove()");
          if (current != next) { // after call to next()
            previous = current.previous;
            nextIndex--;
          } else { // after call to previous()
            next = current.next;
          }
          removeNode(current);
          current = null;
          expectedModCount = modCount;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/AbstractSequentialIterator.java

      }
    
      /**
       * Returns the element that follows {@code previous}, or returns {@code null} if no elements
       * remain. This method is invoked during each call to {@link #next()} in order to compute the
       * result of a <i>future</i> call to {@code next()}.
       */
      protected abstract @Nullable T computeNext(T previous);
    
      @Override
      public final boolean hasNext() {
        return nextOrNull != null;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/SettableFuture.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * A {@link ListenableFuture} whose result can be set by a {@link #set(Object)}, {@link
     * #setException(Throwable)} or {@link #setFuture(ListenableFuture)} call. It can also, like any
     * other {@code Future}, be {@linkplain #cancel cancelled}.
     *
     * <p>{@code SettableFuture} is the recommended {@code ListenableFuture} implementation when your
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top