Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,127 for equivalentTo (0.33 sec)

  1. src/internal/bytealg/equal_generic.go

    // license that can be found in the LICENSE file.
    
    package bytealg
    
    // Equal reports whether a and b
    // are the same length and contain the same bytes.
    // A nil argument is equivalent to an empty slice.
    //
    // Equal is equivalent to bytes.Equal.
    // It is provided here for convenience,
    // because some packages cannot depend on bytes.
    func Equal(a, b []byte) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 24 00:56:36 UTC 2019
    - 628 bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Iterables.java

      /**
       * Determines if the given iterable contains no elements.
       *
       * <p>There is no precise {@link Iterator} equivalent to this method, since one can only ask an
       * iterator whether it has any elements <i>remaining</i> (which one does using {@link
       * Iterator#hasNext}).
       *
       * <p><b>{@code Stream} equivalent:</b> {@code !stream.findAny().isPresent()}
       *
       * @return {@code true} if the iterable contains no elements
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 42.5K bytes
    - Viewed (0)
  3. test/fixedbugs/issue15439.go

    func main() {
    	a := &struct{ x int }{}
    	b := &struct{ x int "" }{}
    
    	ta := reflect.TypeOf(a)
    	tb := reflect.TypeOf(b)
    
    	// Ensure cmd/compile treats absent and empty tags as equivalent.
    	a = b
    
    	// Ensure package reflect treats absent and empty tags as equivalent.
    	if !tb.AssignableTo(ta) {
    		panic("fail")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 25 21:28:45 UTC 2016
    - 514 bytes
    - Viewed (0)
  4. guava/src/com/google/common/primitives/Ints.java

       * @since 32.0.0
       */
      public static void rotate(int[] array, int distance, int fromIndex, int toIndex) {
        // There are several well-known algorithms for rotating part of an array (or, equivalently,
        // exchanging two blocks of memory). This classic text by Gries and Mills mentions several:
        // https://ecommons.cornell.edu/bitstream/handle/1813/6292/81-452.pdf.
        // (1) "Reversal", the one we have here.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/HashFunction.java

       * perform better than its longhand equivalent, but should not perform worse.
       *
       * @since 12.0
       */
      HashCode hashInt(int input);
    
      /**
       * Shortcut for {@code newHasher().putLong(input).hash()}; returns the hash code for the given
       * {@code long} value, interpreted in little-endian byte order. The implementation <i>might</i>
       * perform better than its longhand equivalent, but should not perform worse.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 25 18:22:59 UTC 2021
    - 10.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/hash/HashFunction.java

       * perform better than its longhand equivalent, but should not perform worse.
       *
       * @since 12.0
       */
      HashCode hashInt(int input);
    
      /**
       * Shortcut for {@code newHasher().putLong(input).hash()}; returns the hash code for the given
       * {@code long} value, interpreted in little-endian byte order. The implementation <i>might</i>
       * perform better than its longhand equivalent, but should not perform worse.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 25 18:22:59 UTC 2021
    - 10.9K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/dependencyManagement/declaringDependencies-concreteVersion/kotlin/build.gradle.kts

    dependencies {
        // short-hand notation with !!
        implementation("org.slf4j:slf4j-api:1.7.15!!")
        // is equivalent to
        implementation("org.slf4j:slf4j-api") {
            version {
               strictly("1.7.15")
            }
        }
    
        // or...
        implementation("org.slf4j:slf4j-api:[1.7, 1.8[!!1.7.25")
        // is equivalent to
        implementation("org.slf4j:slf4j-api") {
            version {
               strictly("[1.7, 1.8[")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/dependencyManagement/declaringDependencies-concreteVersion/groovy/build.gradle

    dependencies {
        // short-hand notation with !!
        implementation('org.slf4j:slf4j-api:1.7.15!!')
        // is equivalent to
        implementation("org.slf4j:slf4j-api") {
            version {
               strictly '1.7.15'
            }
        }
    
        // or...
        implementation('org.slf4j:slf4j-api:[1.7, 1.8[!!1.7.25')
        // is equivalent to
        implementation('org.slf4j:slf4j-api') {
            version {
               strictly '[1.7, 1.8['
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  9. src/log/log.go

    	os.Exit(1)
    }
    
    // Fatalln is equivalent to l.Println() followed by a call to [os.Exit](1).
    func (l *Logger) Fatalln(v ...any) {
    	l.Output(2, fmt.Sprintln(v...))
    	os.Exit(1)
    }
    
    // Panic is equivalent to l.Print() followed by a call to panic().
    func (l *Logger) Panic(v ...any) {
    	s := fmt.Sprint(v...)
    	l.Output(2, s)
    	panic(s)
    }
    
    // Panicf is equivalent to l.Printf() followed by a call to panic().
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 23 22:56:07 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  10. pkg/kubelet/kuberuntime/helpers_linux.go

    */
    
    package kuberuntime
    
    import (
    	"k8s.io/kubernetes/pkg/kubelet/cm"
    	"math"
    )
    
    const (
    	milliCPUToCPU = 1000
    
    	// 100000 microseconds is equivalent to 100ms
    	quotaPeriod = 100000
    	// 1000 microseconds is equivalent to 1ms
    	// defined here:
    	// https://github.com/torvalds/linux/blob/cac03ac368fabff0122853de2422d4e17a32de08/kernel/sched/core.c#L10546
    	minQuotaPeriod = 1000
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 24 18:21:21 UTC 2023
    - 2.5K bytes
    - Viewed (0)
Back to top