Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for isLive (0.19 sec)

  1. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

          AtomicReferenceArray<ReferenceEntry<K, V>> table = segment.table;
          for (int i = 0; i < table.length(); i++) {
            for (ReferenceEntry<K, V> e = table.get(i); e != null; e = e.getNext()) {
              if (map.isLive(e, now)) {
                result++;
              }
            }
          }
        }
        return result;
      }
    
      public void testClear() {
        LocalCache<Object, Object> map =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 110.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

                        if (outputFile.isFile() && !outputFile.delete()) {
                            logger.warn("Failed to delete output file: {}", outputFile.getAbsolutePath());
                        }
                        return false;
                    }
    
                    if (outputFile.isFile() && outputFile.length() == 0) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Fri Jul 18 14:34:06 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  3. samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt

          "$prefix/samples/guide/src/main/java/okhttp3/recipes/kt",
        ).map { File(it) }
    
      return directories.flatMap {
        it
          .listFiles()
          .orEmpty()
          .filter { f -> f.isFile }
          .toList()
      }
    }
    
    internal class MainTestProvider : SimpleProvider() {
      override fun arguments(): List<Any> {
        val mainFiles = mainFiles()
        return mainFiles
          .map {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java

                interruptingThread.interrupt();
                joinUninterruptibly(interruptingThread, 2500, MILLISECONDS);
                Thread.interrupted();
                if (interruptingThread.isAlive()) {
                  // This will be hidden by test-output redirection:
                  logger.severe("InterruptenatorTask did not exit; future tests may be affected");
                  /*
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java

            indexUpdater.indexingHelper = indexingHelper;
        }
    
        @Override
        public void tearDown() throws Exception {
            if (indexUpdater != null && indexUpdater.isAlive()) {
                indexUpdater.setFinishCrawling(true);
                indexUpdater.interrupt();
                indexUpdater.join(1000);
            }
            super.tearDown();
        }
    
        // Test initialization
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 33K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/OsddHelper.java

            if (path == null) {
                logger.warn("{} was not found.", path);
                return null;
            }
            final File osddFile = new File(path);
            if (!osddFile.isFile()) {
                logger.warn("{} was not a file.", path);
                return null;
            }
            return osddFile;
        }
    
        /**
         * Checks if OSDD link is enabled.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/FilesTest.java

        File asciiFile = getTestFile("ascii.txt");
        File dir = asciiFile.getParentFile();
        assertTrue(Files.isDirectory().apply(dir));
        assertFalse(Files.isFile().apply(dir));
    
        assertFalse(Files.isDirectory().apply(asciiFile));
        assertTrue(Files.isFile().apply(asciiFile));
      }
    
      /** Returns a root path for the file system. */
      private static File root() {
        return File.listRoots()[0];
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/FilesTest.java

        File asciiFile = getTestFile("ascii.txt");
        File dir = asciiFile.getParentFile();
        assertTrue(Files.isDirectory().apply(dir));
        assertFalse(Files.isFile().apply(dir));
    
        assertFalse(Files.isDirectory().apply(asciiFile));
        assertTrue(Files.isFile().apply(asciiFile));
      }
    
      /** Returns a root path for the file system. */
      private static File root() {
        return File.listRoots()[0];
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/Files.java

        }
    
        @Override
        public Optional<Long> sizeIfKnown() {
          if (file.isFile()) {
            return Optional.of(file.length());
          } else {
            return Optional.absent();
          }
        }
    
        @Override
        public long size() throws IOException {
          if (!file.isFile()) {
            throw new FileNotFoundException(file.toString());
          }
          return file.length();
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/Files.java

        }
    
        @Override
        public Optional<Long> sizeIfKnown() {
          if (file.isFile()) {
            return Optional.of(file.length());
          } else {
            return Optional.absent();
          }
        }
    
        @Override
        public long size() throws IOException {
          if (!file.isFile()) {
            throw new FileNotFoundException(file.toString());
          }
          return file.length();
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
Back to top