- Sort Score
- Result 10 results
- Languages All
Results 341 - 350 of 525 for 1050 (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/AtomicDoubleArrayTest.java
assertThrows(IndexOutOfBoundsException.class, () -> aa.lazySet(index, 1.0)); assertThrows(IndexOutOfBoundsException.class, () -> aa.compareAndSet(index, 1.0, 2.0)); assertThrows(IndexOutOfBoundsException.class, () -> aa.weakCompareAndSet(index, 1.0, 2.0)); assertThrows(IndexOutOfBoundsException.class, () -> aa.getAndAdd(index, 1.0)); assertThrows(IndexOutOfBoundsException.class, () -> aa.addAndGet(index, 1.0)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 14.6K 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) -
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/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/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/helper/CrawlingInfoHelper.java
final FessConfig fessConfig = ComponentUtil.getFessConfig(); final String url = (String) dataMap.get(fessConfig.getIndexFieldUrl()); final StringBuilder buf = new StringBuilder(1000); @SuppressWarnings("unchecked") final List<String> roleTypeList = (List<String>) dataMap.get(fessConfig.getIndexFieldRole()); buf.append(url);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 10.6K 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)