- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 2,808 for unit (0.03 sec)
-
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) -
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 Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 21.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/SearchLogHelperTest.java
setupMockComponents(); searchLogHelper.init(); } private void setupMockComponents() { ComponentUtil.setFessConfig(new MockFessConfig()); ComponentUtil.register(new MockSystemHelper(), "systemHelper"); } public void test_init() { SearchLogHelper helper = new SearchLogHelper(); helper.init(); assertNotNull(helper.userInfoCache);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 6K bytes - Viewed (0) -
src/test/java/jcifs/internal/witness/WitnessEnumTest.java
package jcifs.internal.witness; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; import org.junit.jupiter.api.Test; /** * Unit tests for witness protocol enumerations. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 6.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java
package jcifs.smb1.smb1; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; import java.util.Date; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; /** * Unit tests for the SmbComQueryInformationResponse class. */ public class SmbComQueryInformationResponseTest {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeTest.java
package jcifs.smb1.smb1; import static org.junit.jupiter.api.Assertions.assertEquals; 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; import org.mockito.MockitoAnnotations; /** * Unit tests for the {@link TransWaitNamedPipe} transaction.Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/DefaultQueryBuilderTest.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.query; import org.codelibs.fess.unit.UnitFessTestCase; import org.opensearch.index.query.QueryBuilders; public class DefaultQueryBuilderTest extends UnitFessTestCase { public void test_invalid_null() { try {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 1.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/TypeParameterTest.java
*/ package com.google.common.reflect; import static org.junit.Assert.assertThrows; import com.google.common.testing.EqualsTester; import com.google.common.testing.NullPointerTester; import java.lang.reflect.Method; import java.lang.reflect.TypeVariable; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Unit test for {@link TypeParameter}. * * @author Ben Yu */Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 1.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/unit/UnitFessTestCase.java
* 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 org.codelibs.fess.unit; import org.codelibs.fess.util.ComponentUtil; import org.dbflute.utflute.lastaflute.WebContainerTestCase; public abstract class UnitFessTestCase extends WebContainerTestCase { @OverrideRegistered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt
* * The default value is 0 which imposes no timeout. */ fun callTimeout( timeout: Long, unit: TimeUnit, ) = apply { callTimeout = checkDuration("timeout", timeout, unit) } /** * Sets the default timeout for complete calls. A value of 0 means no timeout, otherwise valuesRegistered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 51.7K bytes - Viewed (0)