Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 83 for getHash (0.14 sec)

  1. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

          assertSame(keyOne, entryOne.getKey());
          assertEquals(hashOne, entryOne.getHash());
          assertNull(entryOne.getNext());
          assertSame(valueOne, copyOne.getValue());
    
          InternalEntry<Object, Object, ?> copyTwo = segment.copyForTesting(entryTwo, copyOne);
          assertSame(keyTwo, copyTwo.getKey());
          assertEquals(hashTwo, copyTwo.getHash());
          assertSame(copyOne, copyTwo.getNext());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

          assertSame(keyOne, entryOne.getKey());
          assertEquals(hashOne, entryOne.getHash());
          assertNull(entryOne.getNext());
          assertSame(valueOne, copyOne.getValue());
    
          InternalEntry<Object, Object, ?> copyTwo = segment.copyForTesting(entryTwo, copyOne);
          assertSame(keyTwo, copyTwo.getKey());
          assertEquals(hashTwo, copyTwo.getHash());
          assertSame(copyOne, copyTwo.getNext());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/util/ResourceUtil.java

            return getPath("WEB-INF/", "classes", names);
        }
    
        /**
         * Gets the path to original files directory.
         *
         * @param names the path components to append to the orig directory
         * @return the Path object pointing to the original files directory
         */
        public static Path getOrigPath(final String... names) {
            return getPath("WEB-INF/", "orig", names);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

            assertEquals("\\test\\directory", request.getPath());
    
            // Test single backslash
            request.setPath("\\");
            assertEquals("\\", request.getPath());
    
            // Test empty path
            request.setPath("");
            assertEquals("\\", request.getPath());
        }
    
        @Test
        @DisplayName("Test getPath returns correct formatted path")
        void testGetPath() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/RequestWithPathTest.java

        }
    
        @Test
        @DisplayName("Test getPath returns correct path")
        void testGetPath() {
            // Test with mock
            String expectedPath = "/share/folder/file.txt";
            when(requestWithPath.getPath()).thenReturn(expectedPath);
    
            assertEquals(expectedPath, requestWithPath.getPath());
            verify(requestWithPath, times(1)).getPath();
    
            // Test with implementation
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        assertEquals("c", Iterables.getLast(list));
      }
    
      public void testGetLast_emptyList() {
        List<String> list = emptyList();
        assertThrows(NoSuchElementException.class, () -> Iterables.getLast(list));
      }
    
      public void testGetLast_sortedSet() {
        SortedSet<String> sortedSet = ImmutableSortedSet.of("b", "c", "a");
        assertEquals("c", Iterables.getLast(sortedSet));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 45.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java

                    StandardOpenOption.WRITE, StandardOpenOption.TRUNCATE_EXISTING))) {
                oos.writeObject(info);
                log.debug("Persisted handle: {}", info.getPath());
            } catch (IOException e) {
                log.error("Failed to persist handle: " + info.getPath(), e);
            }
        }
    
        private void removePersistedHandle(HandleInfo info) {
            if (info.getType() != HandleType.PERSISTENT) {
                return;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

            final PathInfo pi = convertToItem(id);
            if (StringUtil.isEmpty(pi.getPath()) && StringUtil.isEmpty(pi.getName())) {
                return StringUtil.EMPTY;
            }
            if (StringUtil.isEmpty(pi.getPath())) {
                return pi.getName();
            }
            return pi.getPath() + "/" + pi.getName();
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.1K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

                                public Optional<Path> getPath(org.apache.maven.api.Artifact artifact) {
                                    Path path = paths.get(artifact.key());
                                    if (path == null && artifact instanceof DefaultArtifact defaultArtifact) {
                                        path = defaultArtifact.getArtifact().getPath();
                                    }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

                assertEquals("path2", combined.getPath());
                assertEquals("DOMAIN", combined.getDomain());
                assertEquals(second.getExpiration(), combined.getExpiration());
    
                // Path consumed should be combined
                int expectedPathConsumed = 20 + 15;
                if (first.getPath() != null) {
                    expectedPathConsumed -= (first.getPath().length() + 1);
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.6K bytes
    - Viewed (0)
Back to top