Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 792 for Prefer (0.04 seconds)

  1. android/guava/src/com/google/common/hash/HashFunction.java

       * equivalent, but should not perform worse.
       *
       * <p><b>Warning:</b> This method, which reencodes the input before hashing it, is useful only for
       * cross-language compatibility. For other use cases, prefer {@link #hashUnencodedChars}, which is
       * faster, produces the same output across Java releases, and hashes every {@code char} in the
       * input, even if some are invalid.
       */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  2. guava/src/com/google/common/hash/HashFunction.java

       * equivalent, but should not perform worse.
       *
       * <p><b>Warning:</b> This method, which reencodes the input before hashing it, is useful only for
       * cross-language compatibility. For other use cases, prefer {@link #hashUnencodedChars}, which is
       * faster, produces the same output across Java releases, and hashes every {@code char} in the
       * input, even if some are invalid.
       */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  3. 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
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 19K bytes
    - Click Count (0)
  4. 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
    }
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  5. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiExtensionGeneratorFacade.kt

    //
    // Rules
    // 1. an extension should either require no type parameters, a single reifeid type parameter, at call site
    // 2. all type parameters must all be reifeid or values (TypeOf, KClass or Class)
    // 3. when overloading, prefer TypeOf over Class
    // 4. in case the policy forbids your overloads, discuss
    private
    fun kotlinExtensionFunctionsFor(type: ApiType, sinceSupplier: (String) -> String?): Sequence<KotlinExtensionFunction> =
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Mar 12 15:56:18 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinderTest.kt

       * We get plan2 as a follow-up to plan1, typically retry the same IP but different TLS.
       * We get plan3 as a retry of plan0, which was canceled when it lost the race.
       *
       * This test confirms that we prefer to do the TLS follow-up (plan2) before the TCP retry (plan3).
       * It also confirms we enforce the 250 ms delay in each race.
       */
      @Test
      fun tcpConnectionsRaceAfterTlsFails() {
        val plan0 = routePlanner.addPlan()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 20.9K bytes
    - Click Count (0)
  7. src/bytes/example_test.go

    	}
    	if bytes.Compare(a, b) <= 0 {
    		// a less or equal b
    	}
    	if bytes.Compare(a, b) > 0 {
    		// a greater b
    	}
    	if bytes.Compare(a, b) >= 0 {
    		// a greater or equal b
    	}
    
    	// Prefer Equal to Compare for equality comparisons.
    	if bytes.Equal(a, b) {
    		// a equal b
    	}
    	if !bytes.Equal(a, b) {
    		// a not equal b
    	}
    }
    
    func ExampleCompare_search() {
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon May 12 16:07:54 GMT 2025
    - 16.5K bytes
    - Click Count (0)
  8. 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
       */
      public static final int BYTES = Double.BYTES;
    
      /**
       * Returns a hash code for {@code value}; obsolete alternative to {@link Double#hashCode(double)}.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Oct 22 18:14:49 GMT 2025
    - 27.6K bytes
    - Click Count (0)
  9. guava/src/com/google/common/base/FinalizableReferenceQueue.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * A reference queue with an associated background thread that dequeues references and invokes
     * {@link FinalizableReference#finalizeReferent()} on them. Java 9+ users should prefer {@link
     * java.lang.ref.Cleaner Cleaner}; see example <a href="#cleaner">below</a>.
     *
     * <p>Keep a strong reference to this object until all of the associated referents have been
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 14.7K bytes
    - Click Count (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.
         *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 17.3K bytes
    - Click Count (0)
Back to Top