Search Options

Results per page
Sort
Preferred Languages
Advance

Results 301 - 310 of 785 for While (0.06 sec)

  1. guava/src/com/google/common/cache/AbstractCache.java

       *
       * @since 11.0
       */
      /*
       * <? extends Object> is mostly the same as <?> to plain Java. But to nullness checkers, they
       * differ: <? extends Object> means "non-null types," while <?> means "all types."
       */
      @Override
      public ImmutableMap<K, V> getAllPresent(Iterable<? extends Object> keys) {
        Map<K, V> result = new LinkedHashMap<>();
        for (Object key : keys) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/LhaExtractor.java

                }
    
                lhaFile = new LhaFile(tempFile);
                @SuppressWarnings("unchecked")
                final Enumeration<LhaHeader> entries = lhaFile.entries();
                long contentSize = 0;
                while (entries.hasMoreElements()) {
                    final LhaHeader head = entries.nextElement();
                    contentSize += head.getOriginalSize();
                    if (maxContentSize != -1 && contentSize > maxContentSize) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XPathAPI.java

         *
         * @param builder a {@link Consumer} that accepts an {@link XPathFactory} and configures it.
         * @return a configured instance of {@link XPath}.
         * @throws CrawlerSystemException if an error occurs while creating the {@link XPath} instance.
         */
        public XPath createXPath(final Consumer<XPathFactory> builder) {
            try {
                final XPathFactory factory = XPathFactory.newInstance();
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/base/JoinerBenchmark.java

        for (int i = 0; i < reps; i++) {
          StringBuilder sb = new StringBuilder();
          Iterator<String> iterator = components.iterator();
          if (iterator.hasNext()) {
            sb.append(iterator.next().toString());
            while (iterator.hasNext()) {
              sb.append(DELIMITER_STRING);
              sb.append(iterator.next());
            }
          }
          dummy ^= sb.toString().length();
        }
        return dummy;
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 27 16:19:35 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/crawler/transformer/FessStandardTransformer.java

     * the standard Fess file transformation process with support for various content types.
     *
     * <p>It extends AbstractFessFileTransformer to provide file-specific transformation
     * capabilities while using the appropriate extractor for each document type.</p>
     */
    public class FessStandardTransformer extends AbstractFessFileTransformer {
        /**
         * Default constructor.
         */
        public FessStandardTransformer() {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/io/CharStreamsCopyBenchmark.java

      enum CopyStrategy {
        OLD {
          @Override
          long copy(Readable from, Appendable to) throws IOException {
            CharBuffer buf = CharStreams.createBuffer();
            long total = 0;
            while (from.read(buf) != -1) {
              ((Buffer) buf).flip();
              to.append(buf);
              total += buf.remaining();
              ((Buffer) buf).clear();
            }
            return total;
          }
        },
        NEW {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/CompactHashMap.java

              values[entryIndex] = value;
              accessEntry(entryIndex);
              return oldValue;
            }
            next = CompactHashing.getNext(entry, mask);
            bucketLength++;
          } while (next != UNSET);
    
          if (bucketLength >= MAX_HASH_BUCKET_LENGTH) {
            return convertToHashFloodingResistantImplementation().put(key, value);
          }
    
          if (newSize > mask) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 35.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/settings/BadWordSettings.java

                    Thread.currentThread().getContextClassLoader().getResourceAsStream("suggest_settings/default-badwords.txt")))) {
    
                String line;
                while ((line = br.readLine()) != null) {
                    if (line.length() > 0 && !line.startsWith("#")) {
                        list.add(line.trim());
                    }
                }
            } catch (final Exception e) {
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Sun Nov 23 03:02:17 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/Tags.kt

    }
    
    internal fun <T : Any> AtomicReference<Tags>.computeIfAbsent(
      type: KClass<T>,
      compute: () -> T,
    ): T {
      var computed: T? = null
    
      while (true) {
        val tags = get()
    
        // If the element is already present. Return it.
        val existing = tags[type]
        if (existing != null) return existing
    
        if (computed == null) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 24 11:37:46 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java

        assertEquals(1, runLatch.getCount());
      }
    
      public void testListenerCalledOnCancelFromRunning() throws Exception {
        exec.execute(task);
        runLatch.await();
    
        // Task has started up, cancel it while it's running.
        task.cancel(true);
        assertTrue(task.isDone());
        assertTrue(task.isCancelled());
        assertEquals(1, taskLatch.getCount());
    
        // Wait for the listeners to be called.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 21:00:51 UTC 2025
    - 4.8K bytes
    - Viewed (0)
Back to top