Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 236 for replacement (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. android/guava/src/com/google/common/primitives/Ints.java

      /**
       * Returns a hash code for {@code value}; obsolete alternative to {@link Integer#hashCode(int)}.
       *
       * @param value a primitive {@code int} value
       * @return a hash code for the value
       */
      @InlineMe(replacement = "Integer.hashCode(value)")
      @InlineMeValidationDisabled(
          "The hash code of a int is the int itself, so it's simplest to return that.")
      public static int hashCode(int value) {
        return value;
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 31.3K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/CompactHashMap.java

     */
    @GwtIncompatible // not worth using in GWT for now
    class CompactHashMap<K extends @Nullable Object, V extends @Nullable Object>
        extends AbstractMap<K, V> implements Serializable {
      /*
       * TODO: Make this a drop-in replacement for j.u. versions, actually drop them in, and test the
       * world. Figure out what sort of space-time tradeoff we're actually going to get here with the
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 39.6K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/math/LongMath.java

       * overflow a {@code long}, so you can just write {@code (long) a + b}.
       *
       * @throws ArithmeticException if {@code a + b} overflows in signed {@code long} arithmetic
       */
      @InlineMe(replacement = "Math.addExact(a, b)")
      public static long checkedAdd(long a, long b) {
        return Math.addExact(a, b);
      }
    
      /**
       * Returns the difference of {@code a} and {@code b}, provided it does not overflow.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 09 23:01:02 GMT 2026
    - 46.8K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/primitives/Longs.java

      /**
       * Returns a hash code for {@code value}; obsolete alternative to {@link Long#hashCode(long)}.
       *
       * @param value a primitive {@code long} value
       * @return a hash code for the value
       */
      @InlineMe(replacement = "Long.hashCode(value)")
      public static int hashCode(long value) {
        return Long.hashCode(value);
      }
    
      /**
       * Compares the two specified {@code long} values. The sign of the value returned is the same as
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Oct 22 18:14:49 GMT 2025
    - 29K bytes
    - Click Count (0)
  5. guava/src/com/google/common/base/Equivalence.java

        }
        return doEquivalent(a, b);
      }
    
      /**
       * @deprecated Provided only to satisfy the {@link BiPredicate} interface; use {@link #equivalent}
       *     instead.
       * @since 21.0
       */
      @InlineMe(replacement = "this.equivalent(t, u)")
      @Deprecated
      @Override
      public final boolean test(@Nullable T t, @Nullable T u) {
        return equivalent(t, u);
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jul 10 01:47:55 GMT 2025
    - 15K bytes
    - Click Count (0)
  6. guava/src/com/google/common/base/Optional.java

     * the reference is "absent"); it is never said to "contain {@code null}".
     *
     * <p>A non-null {@code Optional<T>} reference can be used as a replacement for a nullable {@code T}
     * reference. It allows you to represent "a {@code T} that must be present" and a "a {@code T} that
     * might be absent" as two distinct types in your program, which can aid clarity.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  7. docs/config/README.md

    max_io         (int)       maximum IO requests allowed between objects to slow down heal operation. eg. 3
    drive_workers  (int)       the number of workers per drive to heal a new disk replacement.
    ```
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 18.1K bytes
    - Click Count (1)
  8. android/guava/src/com/google/common/primitives/Bytes.java

      /**
       * Returns a hash code for {@code value}; obsolete alternative to {@link Byte#hashCode(byte)}.
       *
       * @param value a primitive {@code byte} value
       * @return a hash code for the value
       */
      @InlineMe(replacement = "Byte.hashCode(value)")
      @InlineMeValidationDisabled(
          "The hash code of a byte is the int version of the byte itself, so it's simplest to return"
              + " that.")
      public static int hashCode(byte value) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java

                assertEquals(third, first.next());
                assertEquals(second, third.next());
                assertEquals(first, second.next());
            }
    
            @Test
            @DisplayName("Should handle cache replacement in complex scenario")
            void testComplexCacheReplacement() {
                Map<String, DfsReferralDataInternal> cache = new HashMap<>();
    
                // Create multiple entries
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 28.2K bytes
    - Click Count (0)
  10. src/bufio/scan.go

    // means that erroneous UTF-8 encodings translate to U+FFFD = "\xef\xbf\xbd".
    // Because of the Scan interface, this makes it impossible for the client to
    // distinguish correctly encoded replacement runes from encoding errors.
    func ScanRunes(data []byte, atEOF bool) (advance int, token []byte, err error) {
    	if atEOF && len(data) == 0 {
    		return 0, nil, nil
    	}
    
    	// Fast path 1: ASCII.
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed May 21 18:05:26 GMT 2025
    - 14.2K bytes
    - Click Count (0)
Back to Top