- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 1,022 for Unit (0.07 sec)
-
guava-tests/test/com/google/common/util/concurrent/RunnablesTest.java
* limitations under the License. */ package com.google.common.util.concurrent; import com.google.common.annotations.GwtCompatible; import junit.framework.TestCase; /** * Unit tests for {@link Runnables}. * * @author Olivier Pernet */ @GwtCompatible public class RunnablesTest extends TestCase { public void testDoNothingRunnableIsSingleton() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Sep 15 13:47:32 UTC 2016 - 986 bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt
4 -> UTF_32BE -1 -> default else -> throw AssertionError() } } internal fun checkDuration( name: String, duration: Long, unit: TimeUnit, ): Int { check(duration >= 0L) { "$name < 0" } val millis = unit.toMillis(duration) require(millis <= Integer.MAX_VALUE) { "$name too large" } require(millis != 0L || duration <= 0L) { "$name too small" } return millis.toInt() }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon May 13 13:42:37 UTC 2024 - 10.7K bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/resources/repo/ut/simple/parent/1.0/parent-1.0.pom
<modelVersion>4.0.0</modelVersion> <groupId>ut.simple</groupId> <artifactId>parent</artifactId> <version>1.0</version> <packaging>pom</packaging> <name>Simple Unit Test Parent</name> <dependencyManagement> <dependencies> <dependency> <groupId>ut.simple</groupId> <artifactId>dependency</artifactId> <version>1.0</version> </dependency>
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.5K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt
* The precision of this field is seconds; further precision will be truncated. */ fun duration( duration: Long, unit: TimeUnit, ) = apply { val now = System.currentTimeMillis() validityInterval(now, now + unit.toMillis(duration)) } /** * Adds a subject alternative name (SAN) to the certificate. This is usually a literal hostname,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 21.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ingest/IngestFactoryTest.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.ingest; import org.codelibs.fess.unit.UnitFessTestCase; public class IngestFactoryTest extends UnitFessTestCase { public void test_add_1() { IngestFactory factory = new IngestFactory(); factory.add(new TestIngester(1));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 1.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingListMultimapTest.java
package com.google.common.collect; import com.google.common.base.Function; import com.google.common.testing.EqualsTester; import com.google.common.testing.ForwardingWrapperTester; import junit.framework.TestCase; /** * Unit test for {@link ForwardingListMultimap}. * * @author Kurt Alfred Kluever */ public class ForwardingListMultimapTest extends TestCase { @SuppressWarnings("rawtypes") public void testForwarding() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 20:09:59 UTC 2024 - 1.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ForwardingListMultimapTest.java
package com.google.common.collect; import com.google.common.base.Function; import com.google.common.testing.EqualsTester; import com.google.common.testing.ForwardingWrapperTester; import junit.framework.TestCase; /** * Unit test for {@link ForwardingListMultimap}. * * @author Kurt Alfred Kluever */ public class ForwardingListMultimapTest extends TestCase { @SuppressWarnings("rawtypes") public void testForwarding() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 20:09:59 UTC 2024 - 1.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ForwardingSetMultimapTest.java
package com.google.common.collect; import com.google.common.base.Function; import com.google.common.testing.EqualsTester; import com.google.common.testing.ForwardingWrapperTester; import junit.framework.TestCase; /** * Unit test for {@link ForwardingSetMultimap}. * * @author Kurt Alfred Kluever */ public class ForwardingSetMultimapTest extends TestCase { @SuppressWarnings("rawtypes") public void testForwarding() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 20:09:59 UTC 2024 - 1.9K bytes - Viewed (0) -
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 Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 12.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/RemovalNotificationTest.java
* limitations under the License. */ package com.google.common.cache; import com.google.common.testing.EqualsTester; import junit.framework.TestCase; /** * Unit tests of {@link RemovalNotification}. * * @author Ben Yu */ public class RemovalNotificationTest extends TestCase { public void testEquals() { new EqualsTester() .addEqualityGroup(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 1.2K bytes - Viewed (0)