- Sort Score
- Result 10 results
- Languages All
Results 1661 - 1670 of 1,876 for junit (0.22 sec)
-
guava/src/com/google/common/cache/CacheBuilder.java
@CanIgnoreReturnValue public CacheBuilder<K, V> refreshAfterWrite(long duration, TimeUnit unit) { checkNotNull(unit); checkState(refreshNanos == UNSET_INT, "refresh was already set to %s ns", refreshNanos); checkArgument(duration > 0, "duration must be positive: %s %s", duration, unit); this.refreshNanos = unit.toNanos(duration); return this; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 51.6K bytes - Viewed (0) -
android/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 Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 3.5K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt
import java.net.InetAddress import java.net.InetSocketAddress import java.net.Proxy import java.util.concurrent.TimeUnit class ClientRuleEventListener( val delegate: EventListener = NONE, var logger: (String) -> Unit, ) : EventListener(), EventListener.Factory { private var startNs: Long? = null override fun create(call: Call): EventListener = this override fun callStart(call: Call) { startNs = System.nanoTime()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractService.java
Service.super.awaitRunning(timeout); } @Override public final void awaitRunning(long timeout, TimeUnit unit) throws TimeoutException { if (monitor.enterWhenUninterruptibly(hasReachedRunning, timeout, unit)) { try { checkCurrentState(RUNNING); } finally { monitor.leave(); } } else {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 18:32:03 UTC 2023 - 20.7K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Ascii.java
* GS, then RS, and US is least inclusive. (The content and length of a File, Group, Record, or * Unit are not specified.) * * @since 8.0 */ public static final byte RS = 30; /** * Unit Separator: These four information separators may be used within data in optional fashion, * except that their hierarchical relationship shall be: FS is the most inclusive, then GS, then
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Aug 02 13:50:22 UTC 2024 - 21.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/UserAgentHelperTest.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.helper; import org.codelibs.fess.helper.UserAgentHelper.UserAgentType; import org.codelibs.fess.unit.UnitFessTestCase; public class UserAgentHelperTest extends UnitFessTestCase { public UserAgentHelper userAgentHelper; @Override public void setUp() throws Exception { super.setUp();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 3K bytes - Viewed (0) -
common/config/sass-lint.yml
trailing-semicolon: 2 url-quotes: 2 variable-for-property: - 0 - properties: - color - background-color - fill variable-name-format: 0
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Sep 11 23:32:21 UTC 2019 - 2K 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 Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Jul 11 08:26:36 UTC 2024 - 1.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/taglib/FessFunctionsTest.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.taglib; import java.util.Date; import org.codelibs.fess.unit.UnitFessTestCase; public class FessFunctionsTest extends UnitFessTestCase { public void test_formatNumber() { assertEquals("0", FessFunctions.formatNumber(0, "###,###"));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5.9K bytes - Viewed (0) -
src/test/java/org/codelibs/opensearch/extension/analysis/SynonymLoader.java
import org.apache.lucene.analysis.synonym.SynonymMap; import org.apache.lucene.analysis.synonym.WordnetSynonymParser; import org.opensearch.common.settings.Settings; import org.opensearch.common.unit.TimeValue; import org.opensearch.env.Environment; import org.opensearch.index.analysis.Analysis; public class SynonymLoader { private File reloadableFile = null; private final Analyzer analyzer;
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 6.7K bytes - Viewed (0)