Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 537 for 1080 (0.03 sec)

  1. android/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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top