Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 775 for units (0.02 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/Task.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.concurrent
    
    /**
     * A unit of work that can be executed one or more times.
     *
     * Recurrence
     * ----------
     *
     * Tasks control their recurrence schedule. The [runOnce] function returns -1L to signify that the
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java

    import static org.junit.Assert.assertThrows;
    
    import java.util.concurrent.Callable;
    import java.util.concurrent.ExecutionException;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit test for {@link FakeTimeLimiter}.
     *
     * @author Jens Nyman
     */
    @NullUnmarked
    public class FakeTimeLimiterTest extends TestCase {
    
      private static final int DELAY_MS = 50;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/FileEntryTest.java

    package jcifs.smb1.smb1;
    
    /**
     * Unit tests for {@link FileEntry}. The interface itself has no
     * implementation, so the tests exercise the contract via Mockito mocks.
     * Each method is exercised for normal inputs, extreme or edge cases, and
     * interaction verification.
     */
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.mockito.Mockito.mock;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/QueuesTest.java

          Collection<? super T> buffer,
          int maxElements,
          long timeout,
          TimeUnit unit,
          boolean interruptibly)
          throws InterruptedException {
        return interruptibly
            ? Queues.drain(q, buffer, maxElements, timeout, unit)
            : Queues.drainUninterruptibly(q, buffer, maxElements, timeout, unit);
      }
    
      public void testMultipleProducers() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java

    import org.junit.jupiter.api.Test;
    import org.mockito.Mock;
    import org.mockito.MockitoAnnotations;
    
    import jcifs.CIFSContext;
    import jcifs.Configuration;
    import jcifs.smb.SmbFile;
    
    /**
     * Unit tests for DirectoryLeaseManager
     */
    public class DirectoryLeaseManagerTest {
    
        @Mock
        private CIFSContext context;
    
        @Mock
        private Configuration config;
    
        @Mock
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  6. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt

        require(index in mappings.indices) { "unexpected code point: $codePoint" }
    
        val mapping = mappings[index]
        var result = true
    
        when (mapping.type) {
          TYPE_IGNORED -> Unit
          TYPE_MAPPED, TYPE_DISALLOWED_STD3_MAPPED -> {
            sink.write(mapping.mappedTo)
          }
    
          TYPE_DEVIATION, TYPE_DISALLOWED_STD3_VALID, TYPE_VALID -> {
            sink.writeUtf8CodePoint(codePoint)
          }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  7. guava-testlib/test/com/google/common/collect/testing/MinimalIterableTest.java

    import com.google.common.annotations.GwtCompatible;
    import java.util.Collections;
    import java.util.Iterator;
    import java.util.NoSuchElementException;
    import junit.framework.TestCase;
    
    /**
     * Unit test for {@link MinimalIterable}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    public class MinimalIterableTest extends TestCase {
    
      public void testOf_empty() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/tomcat/valve/SuppressErrorReportValveTest.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.tomcat.valve;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class SuppressErrorReportValveTest extends UnitFessTestCase {
    
        private SuppressErrorReportValve valve;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/SmbComOpenAndXResponseTest.java

    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    /**
     * Unit tests for the SmbComOpenAndXResponse class.
     */
    class SmbComOpenAndXResponseTest {
    
        private SmbComOpenAndXResponse response;
    
        @BeforeEach
        void setUp() {
            response = new SmbComOpenAndXResponse();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/SmbConstantsTest.java

    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.when;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    
    import jcifs.SmbConstants;
    
    /**
     * Basic unit tests for {@link SmbConstants}.  The interface only
     * provides {@code static final} constants, so the test suite focuses on
     * value correctness, bit‑mask logic, and some derived properties.
     *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
Back to top