Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 161 for getHash (0.04 sec)

  1. src/main/java/jcifs/smb/DirFileEntryEnumIterator1.java

        @Override
        protected final FileEntry open() throws CIFSException {
            final SmbResourceLocator loc = this.getParent().getLocator();
            final String unc = loc.getUNCPath();
            final String p = loc.getURL().getPath();
            if (p.lastIndexOf('/') != p.length() - 1) {
                throw new SmbException(loc.getURL() + " directory must end with '/'");
            }
            if (unc.lastIndexOf('\\') != unc.length() - 1) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  2. android/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)
  3. src/main/java/jcifs/smb/SmbEnumerationUtil.java

            final CIFSContext tc = parent.getContext();
            final URL u = locator.getURL();
    
            FileEntry[] entries;
    
            if (u.getPath().lastIndexOf('/') != u.getPath().length() - 1) {
                throw new SmbException(u.toString() + " directory must end with '/'");
            }
    
            if (locator.getType() != SmbConstants.TYPE_SERVER) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbFileTest.java

            }
    
            @Test
            void testGetPath() {
                // Arrange
                doReturn("/share/file.txt").when(smbFile).getPath();
    
                // Act & Assert
                assertEquals("/share/file.txt", smbFile.getPath());
            }
        }
    
        @Nested
        class WhenHandlingStreams {
    
            @Mock
            private SmbTreeHandleImpl mockTreeHandle;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/Handler.java

            } else if (!spec.startsWith("smb://") && host != null && host.length() == 0) {
                spec = "//" + spec;
                limit += 2;
            }
            super.parseURL(u, spec, start, limit);
            path = u.getPath();
            ref = u.getRef();
            if (ref != null) {
                path += '#' + ref;
            }
            port = u.getPort();
            if (port == -1) {
                port = getDefaultPort();
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/Source.java

         *
         * @return the underlying {@code Path} if this source is file-backed,
         *         or {@code null} if this source has no associated file
         */
        @Nullable
        Path getPath();
    
        /**
         * Creates a new input stream to read the source contents.
         * Each call creates a fresh stream starting from the beginning.
         * The caller is responsible for closing the returned stream.
         *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 29 09:46:53 UTC 2025
    - 4K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/LhaExtractor.java

                        throw new MaxLengthExceededException("Extracted size is " + contentSize + " > " + maxContentSize);
                    }
                    final String filename = head.getPath();
                    final String mimeType = mimeTypeHelper.getContentType(null, filename);
                    if (mimeType != null) {
                        final Extractor extractor = extractorFactory.getExtractor(mimeType);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/dict/synonym/AdminDictSynonymAction.java

                    form.dictId = dictId;
                });
            }).renderWith(data -> {
                synonymService.getSynonymFile(dictId).ifPresent(file -> {
                    RenderDataUtil.register(data, "path", file.getPath());
                }).orElse(() -> {
                    throwValidationError(messages -> messages.addErrorsFailedToDownloadSynonymFile(GLOBAL), this::asDictIndexHtml);
                });
            });
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 23.7K bytes
    - Viewed (1)
  9. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t02/ProjectInheritanceTest.java

            File pom4 = new File(pom3.getParentFile(), "p4/pom.xml");
            File pom5 = new File(pom4.getParentFile(), "p5/pom.xml");
    
            System.out.println("Location of project-4's POM: " + pom4.getPath());
    
            // load everything...
            MavenProject project0 = getProject(pom0);
            MavenProject project1 = getProject(pom1);
            MavenProject project2 = getProject(pom2);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jun 04 10:35:11 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  10. 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)
Back to top