Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 509 for Prefer (0.05 sec)

  1. guava/src/com/google/common/hash/Hashing.java

       * Returns a hash function implementing the Message Authentication Code (MAC) algorithm, using the
       * MD5 (128 hash bits) hash function and the given secret key.
       *
       * <p>If you are designing a new system that needs HMAC, prefer {@link #hmacSha256} or other
       * future-proof algorithms <a
       * href="https://datatracker.ietf.org/doc/html/rfc6151#section-2.3">over {@code hmacMd5}</a>.
       *
       * @param key the secret key
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:06:57 UTC 2025
    - 31.1K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt

         */
        open fun header(
          name: String,
          value: String,
        ) = apply {
          headers[name] = value
        }
    
        /**
         * Adds a header with [name] and [value]. Prefer this method for multiply-valued
         * headers like "Cookie".
         *
         * Note that for some headers including `Content-Length` and `Content-Encoding`,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 13.1K bytes
    - Viewed (1)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt

         */
        open fun header(
          name: String,
          value: String,
        ) = apply {
          headers[name] = value
        }
    
        /**
         * Adds a header with [name] to [value]. Prefer this method for multiply-valued
         * headers like "Set-Cookie".
         */
        open fun addHeader(
          name: String,
          value: String,
        ) = apply {
          headers.add(name, value)
        }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 14:39:28 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableTable.java

        Builder<R, C, V> combine(Builder<R, C, V> other) {
          this.cells.addAll(other.cells);
          return this;
        }
    
        /**
         * Returns a newly-created immutable table.
         *
         * <p>Prefer the equivalent method {@link #buildOrThrow()} to make it explicit that the method
         * will throw an exception if there are duplicate key pairs. The {@code build()} method will
         * soon be deprecated.
         *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  5. cmd/erasure-object.go

    				checksumInfo.Algorithm, checksumInfo.Hash, erasure.ShardSize())
    
    			// Prefer local disks
    			prefer[index] = disk.Hostname() == ""
    		}
    
    		written, err := erasure.Decode(ctx, writer, readers, partOffset, partLength, partSize, prefer)
    		// Note: we should not be defer'ing the following closeBitrotReaders() call as
    		// we are inside a for loop i.e if we use defer, we would accumulate a lot of open files by the time
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 80.4K bytes
    - Viewed (0)
  6. cmd/erasure-metadata-utils.go

    			continue
    		}
    		errorCounts[err]++
    	}
    
    	maxCnt := 0
    	for err, count := range errorCounts {
    		switch {
    		case maxCnt < count:
    			maxCnt = count
    			maxErr = err
    
    		// Prefer `nil` over other error values with the same
    		// number of occurrences.
    		case maxCnt == count && err == nil:
    			maxErr = err
    		}
    	}
    	return maxCnt, maxErr
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/primitives/Doubles.java

     */
    @GwtCompatible
    public final class Doubles extends DoublesMethodsForWeb {
      private Doubles() {}
    
      /**
       * The number of bytes required to represent a primitive {@code double} value.
       *
       * <p>Prefer {@link Double#BYTES} instead.
       *
       * @since 10.0
       */
      // The constants value gets inlined here.
      @SuppressWarnings("AndroidJdkLibsChecker")
      public static final int BYTES = Double.BYTES;
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.7K bytes
    - Viewed (0)
  8. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

                            && restriction.getRecommendedVersion() != null
                            && r.containsVersion(restriction.getRecommendedVersion())) {
                        // use this if we can, but prefer the original if possible
                        version = restriction.getRecommendedVersion();
                    }
                }
            }
            // Either the original or the specified version ranges have no restrictions
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 19K bytes
    - Viewed (0)
  9. cmd/endpoint-ellipses.go

    		}
    	}
    
    	setCounts = []uint64{}
    	for setCount := range newSetCounts {
    		setCounts = append(setCounts, setCount)
    	}
    
    	// Not necessarily needed but it ensures to the readers
    	// eyes that we prefer a sorted setCount slice for the
    	// subsequent function to figure out the right common
    	// divisor, it avoids loops.
    	slices.Sort(setCounts)
    
    	return setCounts
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableTable.java

        Builder<R, C, V> combine(Builder<R, C, V> other) {
          this.cells.addAll(other.cells);
          return this;
        }
    
        /**
         * Returns a newly-created immutable table.
         *
         * <p>Prefer the equivalent method {@link #buildOrThrow()} to make it explicit that the method
         * will throw an exception if there are duplicate key pairs. The {@code build()} method will
         * soon be deprecated.
         *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.3K bytes
    - Viewed (0)
Back to top