- Sort Score
- Result 10 results
- Languages All
Results 341 - 350 of 529 for 1090 (0.02 sec)
-
guava-tests/test/com/google/common/util/concurrent/StripedTest.java
} } public void testSizes() { // not bothering testing all variations, since we know they share implementations assertTrue(Striped.lock(100).size() >= 100); assertTrue(Striped.lock(256).size() == 256); assertTrue(Striped.lazyWeakLock(100).size() >= 100); assertTrue(Striped.lazyWeakLock(256).size() == 256); } @AndroidIncompatible // Presumably GC doesn't trigger, despite our efforts.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jun 26 12:58:35 UTC 2024 - 8.4K bytes - Viewed (0) -
guava/src/com/google/common/hash/Fingerprint2011.java
/** * Implementation of Geoff Pike's fingerprint2011 hash function. See {@link Hashing#fingerprint2011} * for information on the behaviour of the algorithm. * * <p>On Intel Core2 2.66, on 1000 bytes, fingerprint2011 takes 0.9 microseconds compared to * fingerprint at 4.0 microseconds and md5 at 4.5 microseconds. * * <p>Note to maintainers: This implementation relies on signed arithmetic being bit-wise equivalent
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Dec 28 17:50:25 UTC 2021 - 6.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
ListenableFuture<?> future = executor.submit(incrementTask); assertTrue(future.isDone()); assertListenerRunImmediately(future); assertEquals(1, threadLocalCount.get().intValue()); otherThread.join(1000); assertEquals(Thread.State.TERMINATED, otherThread.getState()); Throwable throwable = throwableFromOtherThread.get(); assertNull( "Throwable from other thread: "
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 28.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt
i++ keyIndex++ } } } while (cursor.next() != -1) } fun closeCodeExceptionMessage(code: Int): String? { return if (code < 1000 || code >= 5000) { "Code must be in range [1000,5000): $code" } else if (code in 1004..1006 || code in 1015..2999) { "Code $code is reserved and may not be used." } else { null }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TextUtil.java
boolean isSpace = false; int alphanumSize = 0; int symbolSize = 0; int c; final Set<String> termCache = new HashSet<>(1000); try { while ((c = reader.read()) != -1) { if (Character.isISOControl(c) || isSpaceChar(c)) { if (duplicateTermRemoved) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:40:57 UTC 2024 - 7.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/timer/SystemMonitorTarget.java
private static final Logger logger = LogManager.getLogger(SystemMonitorTarget.class); @Override public void expired() { final StringBuilder buf = new StringBuilder(1000); buf.append("[SYSTEM MONITOR] "); buf.append('{'); appendOsStats(buf); appendProcessStats(buf); appendJvmStats(buf); appendFesenStats(buf);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 7.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/api/json/SearchApiManager.java
writeJsonResponse(HttpServletResponse.SC_BAD_REQUEST, escapeJsonKeyValue(MESSAGE_FIELD, "Scroll Search is not available.")); return; } final StringBuilder buf = new StringBuilder(1000); request.setAttribute(Constants.SEARCH_LOG_ACCESS_TYPE, Constants.SEARCH_LOG_ACCESS_TYPE_JSON); final JsonRequestParams params = new JsonRequestParams(request, fessConfig); try {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 12 01:54:46 UTC 2024 - 50.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/auth/chain/CommandChain.java
public class CommandChain implements AuthenticationChain { private static final Logger logger = LogManager.getLogger(CommandChain.class); protected File workingDirectory = null; protected int maxOutputLine = 1000; protected long executionTimeout = 30L * 1000L; // 30sec protected String commandOutputEncoding = Charset.defaultCharset().displayName(); protected String[] updateCommand;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 9.3K bytes - Viewed (0) -
common-protos/k8s.io/api/flowcontrol/v1alpha1/generated.proto
// can be borrowed by other priority levels. The value of this // field must be between 0 and 100, inclusive, and it defaults to 0. // The number of seats that other levels can borrow from this level, known // as this level's LendableConcurrencyLimit (LendableCL), is defined as follows. // // LendableCL(i) = round( NominalCL(i) * lendablePercent(i)/100.0 ) // // +optional optional int32 lendablePercent = 3;
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 19.4K bytes - Viewed (0) -
common-protos/k8s.io/api/flowcontrol/v1beta2/generated.proto
// can be borrowed by other priority levels. The value of this // field must be between 0 and 100, inclusive, and it defaults to 0. // The number of seats that other levels can borrow from this level, known // as this level's LendableConcurrencyLimit (LendableCL), is defined as follows. // // LendableCL(i) = round( NominalCL(i) * lendablePercent(i)/100.0 ) // // +optional optional int32 lendablePercent = 3;
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 19.4K bytes - Viewed (0)