Search Options

Results per page
Sort
Preferred Languages
Advance

Results 701 - 710 of 1,425 for equalTo (0.08 sec)

  1. cmd/dummy-data-generator_test.go

    		n1, e1 := io.ReadFull(r1, b1)
    		n2, e2 := io.ReadFull(r2, b2)
    		if n1 != n2 {
    			return false, fmt.Sprintf("Read %d != %d bytes from the readers", n1, n2)
    		}
    		if !bytes.Equal(b1[:n1], b2[:n2]) {
    			return false, fmt.Sprintf("After reading %d equal buffers (32Kib each), we got the following two strings:\n%v\n%v\n",
    				i, b1, b2)
    		}
    		// Check if stream has ended
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 02 15:13:05 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java

        @SuppressWarnings("unchecked")
        E e = (E) t;
        int unused = comparator().compare(e, e);
        return t;
      }
    
      @Override
      public boolean equals(@Nullable Object obj) {
        return delegate.equals(obj);
      }
    
      @Override
      public int hashCode() {
        return delegate.hashCode();
      }
    
      @Override
      public String toString() {
        return delegate.toString();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/entity/ParamMap.java

        }
    
        @Override
        public Set<Entry<K, V>> entrySet() {
            // return original keys
            return parent.entrySet();
        }
    
        @Override
        public boolean equals(final Object o) {
            return parent.equals(o);
        }
    
        @Override
        public int hashCode() {
            return parent.hashCode();
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/it/admin/dict/DictCrudTestBase.java

            for (Map<String, String> item : dicts) {
                assertTrue(item.containsKey("id"));
                assertTrue(item.containsKey("type"));
                if (getDictType().equals(item.get("type"))) {
                    dictId = item.get("id");
                    return;
                }
            }
    
            fail();
        }
    
        @Override
        protected String getJsonPath() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/MoreFilesTest.java

          Path fooHardlink = fs.getPath("hardlink");
          Files.createLink(fooHardlink, fooPath);
    
          assertThat(MoreFiles.equal(fooPath, fooSymlink)).isTrue();
          assertThat(MoreFiles.equal(fooPath, fooHardlink)).isTrue();
          assertThat(MoreFiles.equal(fooSymlink, fooHardlink)).isTrue();
        }
      }
    
      public void testTouch() throws IOException {
        Path temp = createTempFile();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/project/ClasspathArtifactResolver.java

                ArtifactResult result = new ArtifactResult(request);
                results.add(result);
    
                Artifact artifact = request.getArtifact();
                if ("maven-test".equals(artifact.getGroupId())) {
                    String scope = artifact.getArtifactId().substring("scope-".length());
    
                    try {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t06/ProjectInheritanceTest.java

                        + " Optional=" + (artifact.isOptional() ? "true" : "false"));
                assertTrue(
                        artifact.getVersion().equals("1.0"), "Incorrect version for " + artifact.getDependencyConflictId());
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapKeySetTester.java

      public void testKeySetIteratorRemove() {
        int key0Count = multimap().get(k0()).size();
        Iterator<K> keyItr = multimap().keySet().iterator();
        while (keyItr.hasNext()) {
          if (keyItr.next().equals(k0())) {
            keyItr.remove();
          }
        }
        assertEquals(getNumElements() - key0Count, multimap().size());
        assertGet(k0());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

            if (idx >= 0) {
                url = url.substring(idx + 3);
            }
    
            idx = url.indexOf('/');
            if (idx >= 0) {
                url = url.substring(0, idx);
            }
    
            if (url.equals(originalUrl)) {
                return getFessConfig().getCrawlerDocumentUnknownHostname();
            }
    
            return url;
        }
    
        default String getSite(final String u, final String encoding) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

        @SuppressWarnings("unchecked")
        K k = (K) t;
        int unused = comparator().compare(k, k);
        return t;
      }
    
      @Override
      public boolean equals(@Nullable Object obj) {
        return delegate.equals(obj);
      }
    
      @Override
      public int hashCode() {
        return delegate.hashCode();
      }
    
      @Override
      public String toString() {
        return delegate.toString();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top