Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 79 for getHash (0.04 sec)

  1. guava-tests/test/com/google/common/io/SourceSinkFactories.java

        Path createFile() throws IOException {
          Path file = java.nio.file.Files.createTempFile("SinkSourceFile", "txt");
          fileThreadLocal.set(file);
          return file;
        }
    
        Path getPath() {
          return fileThreadLocal.get();
        }
    
        // acts as an override in subclasses that implement SourceSinkFactory
        @SuppressWarnings("EffectivelyPrivate")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/TreeTraverser.java

        }
    
        @Override
        public boolean hasNext() {
          return !stack.isEmpty();
        }
    
        @Override
        public T next() {
          Iterator<T> itr = stack.getLast(); // throws NSEE if empty
          T result = checkNotNull(itr.next());
          if (!itr.hasNext()) {
            stack.removeLast();
          }
          Iterator<T> childItr = children(result).iterator();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertEquals("foo", Iterators.getLast(iterator, "bar"));
      }
    
      public void testGetLast_withDefault_empty() {
        Iterator<String> iterator = emptyIterator();
        assertEquals("bar", Iterators.getLast(iterator, "bar"));
      }
    
      public void testGetLast_withDefault_empty_null() {
        Iterator<String> iterator = emptyIterator();
        assertNull(Iterators.<@Nullable String>getLast(iterator, null));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 54.4K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java

        }
    
        // Test getType method
        public void test_getType() {
            assertEquals("mapping", charMappingFile.getType());
        }
    
        // Test getPath method
        public void test_getPath() {
            assertEquals(testFile.getAbsolutePath(), charMappingFile.getPath());
        }
    
        // Test getSimpleName method
        public void test_getSimpleName() {
            assertEquals(testFile.getName(), charMappingFile.getSimpleName());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/jar/JarFileUtil.java

         */
        public static String toJarFilePath(final URL jarUrl) {
            assertArgumentNotNull("jarUrl", jarUrl);
    
            final URL nestedUrl = URLUtil.create(jarUrl.getPath());
            final String nestedUrlPath = nestedUrl.getPath();
            final int pos = nestedUrlPath.lastIndexOf('!');
            final String jarFilePath = nestedUrlPath.substring(0, pos);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/dict/kuromoji/ApiAdminDictKuromojiAction.java

            body.dictId = dictId;
            validateApi(body, messages -> {});
            return kuromojiService.getKuromojiFile(body.dictId)
                    .map(file -> asStream(new File(file.getPath()).getName()).contentTypeOctetStream().stream(out -> {
                        file.writeOut(out);
                    }))
                    .orElseGet(() -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/dict/protwords/ApiAdminDictProtwordsAction.java

            body.dictId = dictId;
            validateApi(body, messages -> {});
            return protwordsService.getProtwordsFile(body.dictId)
                    .map(file -> asStream(new File(file.getPath()).getName()).contentTypeOctetStream().stream(out -> {
                        file.writeOut(out);
                    }))
                    .orElseGet(() -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/storage/ApiAdminStorageAction.java

            }
            return asStream(pi.getName()).contentTypeOctetStream().stream(out -> {
                try {
                    downloadObject(getObjectName(pi.getPath(), pi.getName()), out);
                } catch (final StorageException e) {
                    logger.warn("Failed to download {}", id, e);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/exception/ResourceNotFoundRuntimeException.java

            super("ECL0055", asArray(path));
            this.path = path;
        }
    
        /**
         * Returns the path.
         *
         * @return the path
         */
        public String getPath() {
            return path;
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/dict/DictionaryManagerTest.java

            final DictionaryManager dictionaryManager = new DictionaryManager();
            final SynonymCreator synonymCreator = new SynonymCreator();
            final SynonymFile synonymFile = (SynonymFile) synonymCreator.create(file1.getPath(), new Date());
            dictionaryManager.store(synonymFile, file1);
            final DictionaryFile<? extends DictionaryItem>[] synonymFiles = dictionaryManager.getDictionaryFiles();
            assertEquals(1, synonymFiles.length);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2.4K bytes
    - Viewed (0)
Back to top