Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 1,425 for equalTo (0.06 sec)

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

          this.suppressed = suppressed;
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof Suppression) {
            Suppression other = (Suppression) obj;
            return closeable.equals(other.closeable)
                && thrown.equals(other.thrown)
                && suppressed.equals(other.suppressed);
          }
          return false;
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

        }
    
        private fun bodyHasUnknownEncoding(headers: Headers): Boolean {
          val contentEncoding = headers["Content-Encoding"] ?: return false
          return !contentEncoding.equals("identity", ignoreCase = true) &&
            !contentEncoding.equals("gzip", ignoreCase = true)
        }
    
        private fun bodyIsStreaming(response: Response): Boolean {
          val contentType = response.body.contentType()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 09:14:38 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java

        /** {@inheritDoc} */
        public boolean equals(Object o) {
            if (o == this) {
                return true;
            }
    
            if (!(o instanceof Artifact)) {
                return false;
            }
    
            Artifact a = (Artifact) o;
    
            if (!a.getGroupId().equals(getGroupId())) {
                return false;
            } else if (!a.getArtifactId().equals(getArtifactId())) {
                return false;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapUrl.java

        }
    
        @Override
        public boolean equals(final Object obj) {
            if (!(obj instanceof final SitemapUrl sitemapUrl)) {
                return false;
            }
            if (StringUtil.equals(loc, sitemapUrl.loc) && StringUtil.equals(changefreq, sitemapUrl.changefreq)
                    && StringUtil.equals(lastmod, sitemapUrl.lastmod) && StringUtil.equals(priority, sitemapUrl.priority)) {
                return true;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. internal/config/storageclass/storage-class.go

    	// SS parity drives should be greater than or equal to minParityDrives.
    	// Parity below minParityDrives is not supported.
    	if ssParity > 0 && ssParity < minParityDrives {
    		return fmt.Errorf("parity %d should be greater than or equal to %d",
    			ssParity, minParityDrives)
    	}
    
    	if ssParity > setDriveCount/2 {
    		return fmt.Errorf("parity %d should be less than or equal to %d", ssParity, setDriveCount/2)
    	}
    
    	return nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/auth/chain/CommandChain.java

            }
    
            final String[] cmds = stream(commands).get(stream -> stream.map(s -> {
                if ("$USERNAME".equals(s)) {
                    return username;
                }
                if ("$PASSWORD".equals(s)) {
                    return password;
                }
                return s;
            }).toArray(n -> new String[n]));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  7. compat/maven-model/src/test/java/org/apache/maven/model/MailingListTest.java

        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new MailingList().equals(null));
    
            new MailingList().equals(new MailingList());
        }
    
        @Test
        void testEqualsIdentity() {
            MailingList thing = new MailingList();
            assertTrue(thing.equals(thing));
        }
    
        @Test
        void testToStringNullSafe() {
            assertNotNull(new MailingList().toString());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

            return p1.isEnabled() == p2.isEnabled() && Objects.equals(p1.getChecksumPolicy(), p2.getChecksumPolicy());
        }
    
        private static boolean repositoryEquals(RemoteRepository r1, RemoteRepository r2) {
            if (r1 == r2) {
                return true;
            }
    
            return Objects.equals(r1.getId(), r2.getId())
                    && Objects.equals(r1.getUrl(), r2.getUrl())
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/FunctionalEquivalence.java

      }
    
      @Override
      public boolean equals(@CheckForNull Object obj) {
        if (obj == this) {
          return true;
        }
        if (obj instanceof FunctionalEquivalence) {
          FunctionalEquivalence<?, ?> that = (FunctionalEquivalence<?, ?>) obj;
          return function.equals(that.function) && resultEquivalence.equals(that.resultEquivalence);
        }
        return false;
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon May 01 19:48:29 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbFile.java

         * Tests to see if two <code>SmbFile</code> objects are equal. Two
         * SmbFile objects are equal when they reference the same SMB
         * resource. More specifically, two <code>SmbFile</code> objects are
         * equals if their server IP addresses are equal and the canonicalized
         * representation of their URLs, minus authentication parameters, are
         * case insensitively and lexographically equal.
         * <br>
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
Back to top