Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 747 for units (2.29 sec)

  1. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

       */
      @CanIgnoreReturnValue
      @Override
      public boolean offer(E e, long timeout, TimeUnit unit) throws InterruptedException {
    
        if (e == null) throw new NullPointerException();
        Monitor monitor = this.monitor;
        if (monitor.enterWhen(notFull, timeout, unit)) {
          try {
            insert(e);
            return true;
          } finally {
            monitor.leave();
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/DirectExecutorService.java

      public boolean isTerminated() {
        synchronized (lock) {
          return shutdown && runningTasks == 0;
        }
      }
    
      @Override
      public boolean awaitTermination(long timeout, TimeUnit unit) throws InterruptedException {
        long nanos = unit.toNanos(timeout);
        synchronized (lock) {
          while (true) {
            if (shutdown && runningTasks == 0) {
              return true;
            } else if (nanos <= 0) {
              return false;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ForwardingListMultimapTest.java

    import com.google.common.testing.EqualsTester;
    import com.google.common.testing.ForwardingWrapperTester;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit test for {@link ForwardingListMultimap}.
     *
     * @author Kurt Alfred Kluever
     */
    @NullUnmarked
    public class ForwardingListMultimapTest extends TestCase {
    
      @SuppressWarnings("rawtypes")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

        private final long timeout;
        private final TimeUnit unit;
        private Exception exception;
        private volatile long startTime;
        private long timeSpentBlocked;
    
        TimedWaiterThread(AbstractFuture<?> future, long timeout, TimeUnit unit) {
          this.future = future;
          this.timeout = timeout;
          this.unit = unit;
        }
    
        @Override
        public void run() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  5. okhttp/src/jvmMain/kotlin/okhttp3/internal/graal/OkHttpFeature.kt

     *
     * Currently, includes all necessary resources.
     */
    class OkHttpFeature : Feature {
      @IgnoreJRERequirement
      override fun beforeAnalysis(access: Feature.BeforeAnalysisAccess?) = Unit
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 991 bytes
    - Viewed (0)
  6. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

            .addHeader("Transfer-encoding: chunked")
            .build(),
        )
        val connection = server.url("/").toUrl().openConnection()
        try {
          connection.getInputStream().read()
          fail<Unit>()
        } catch (expected: IOException) {
          // Expected.
        }
      }
    
      @Test
      fun responseTimeout() {
        server.enqueue(
          MockResponse
            .Builder()
            .body("ABC")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Aug 03 22:38:00 UTC 2025
    - 28K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandlerTest.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.mylasta.direction.sponsor;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class FessMultipartRequestHandlerTest extends UnitFessTestCase {
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
        }
    
        @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/mylasta/mail/TestmailPostcardTest.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.mylasta.mail;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class TestmailPostcardTest extends UnitFessTestCase {
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
        }
    
        @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/rank/fusion/DefaultSearcherTest.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.rank.fusion;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class DefaultSearcherTest extends UnitFessTestCase {
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
        }
    
        @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  10. android/guava-testlib/test/com/google/common/collect/testing/MinimalSetTest.java

    import com.google.common.collect.testing.features.CollectionSize;
    import java.util.Set;
    import junit.framework.Test;
    import junit.framework.TestCase;
    
    /**
     * Unit test for {@link MinimalSet}.
     *
     * @author Regina O'Dell
     */
    @AndroidIncompatible // test-suite builders
    public class MinimalSetTest extends TestCase {
      public static Test suite() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 25 16:19:30 UTC 2025
    - 1.5K bytes
    - Viewed (0)
Back to top