Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 474 for compares (0.04 sec)

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

      private final String value;
    
      LegacyComparable(String value) {
        this.value = value;
      }
    
      @Override
      public int compareTo(Object object) {
        // This method is spec'd to throw CCE if object is of the wrong type
        LegacyComparable that = (LegacyComparable) object;
        return this.value.compareTo(that.value);
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object instanceof LegacyComparable) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  2. api/go1.17.txt

    pkg compress/lzw, method (*Reader) Close() error
    pkg compress/lzw, method (*Reader) Read([]uint8) (int, error)
    pkg compress/lzw, method (*Reader) Reset(io.Reader, Order, int)
    pkg compress/lzw, method (*Writer) Close() error
    pkg compress/lzw, method (*Writer) Reset(io.Writer, Order, int)
    pkg compress/lzw, method (*Writer) Write([]uint8) (int, error)
    pkg compress/lzw, type Reader struct
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 17 20:31:46 UTC 2023
    - 18K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java

            }
    
            /**
             * Check if this file info matches the given attributes
             *
             * @param otherSize size to compare
             * @param otherLastModified last modified time to compare
             * @param otherAttributes attributes to compare
             * @return true if attributes match
             */
            public boolean matches(long otherSize, long otherLastModified, long otherAttributes) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  4. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/DefaultArtifactVersion.java

                return compareTo(artifactVersion) == 0;
            }
    
            return false;
        }
    
        @Override
        public int compareTo(ArtifactVersion otherVersion) {
            if (otherVersion instanceof DefaultArtifactVersion defaultArtifactVersion) {
                return this.comparable.compareTo(defaultArtifactVersion.comparable);
            } else {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableSortedMultiset.java

     * Comparator} or {@link Comparable} type whose comparison behavior is <i>inconsistent with
     * equals</i>. That is, {@code a.compareTo(b)} or {@code comparator.compare(a, b)} should equal zero
     * <i>if and only if</i> {@code a.equals(b)}. If this advice is not followed, the resulting
     * collection will not correctly obey its specification.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 29.5K bytes
    - Viewed (0)
  6. docs/es/docs/advanced/security/http-basic-auth.md

    #### Arréglalo con `secrets.compare_digest()`
    
    Pero en nuestro código estamos usando realmente `secrets.compare_digest()`.
    
    En resumen, tomará el mismo tiempo comparar `stanleyjobsox` con `stanleyjobson` que comparar `johndoe` con `stanleyjobson`. Y lo mismo para la contraseña.
    
    De esa manera, usando `secrets.compare_digest()` en el código de tu aplicación, será seguro contra todo este rango de ataques de seguridad.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

    import java.util.stream.LongStream;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An immutable array of {@code long} values, with an API resembling {@link List}.
     *
     * <p>Advantages compared to {@code long[]}:
     *
     * <ul>
     *   <li>All the many well-known advantages of immutability (read <i>Effective Java</i>, third
     *       edition, Item 17).
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 22K bytes
    - Viewed (0)
  8. guava/src/com/google/common/primitives/ImmutableIntArray.java

    import java.util.function.IntConsumer;
    import java.util.stream.IntStream;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An immutable array of {@code int} values, with an API resembling {@link List}.
     *
     * <p>Advantages compared to {@code int[]}:
     *
     * <ul>
     *   <li>All the many well-known advantages of immutability (read <i>Effective Java</i>, third
     *       edition, Item 17).
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  9. tests/associations_belongs_to_test.go

    	AssertAssociationCount(t, users, "Company", 3, "")
    	AssertAssociationCount(t, users, "Manager", 2, "")
    
    	// Find
    	var companies []Company
    	if DB.Model(&users).Association("Company").Find(&companies); len(companies) != 3 {
    		t.Errorf("companies count should be %v, but got %v", 3, len(companies))
    	}
    
    	var managers []User
    	if DB.Model(&users).Association("Manager").Find(&managers); len(managers) != 2 {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Oct 30 09:15:49 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/CollectorTester.java

        T extends @Nullable Object, A extends @Nullable Object, R extends @Nullable Object> {
      /**
       * Creates a {@code CollectorTester} for the specified {@code Collector}. The result of the {@code
       * Collector} will be compared to the expected value using {@link Object#equals}.
       */
      public static <T extends @Nullable Object, A extends @Nullable Object, R extends @Nullable Object>
          CollectorTester<T, A, R> of(Collector<T, A, R> collector) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu May 15 21:47:56 UTC 2025
    - 6.8K bytes
    - Viewed (0)
Back to top