Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of about 10,000 for _return (0.22 sec)

  1. internal/grid/types.go

    	return &ArrayOf[T]{
    		ePool: sync.Pool{New: func() any {
    			return newFn()
    		}},
    	}
    }
    
    // New returns a new empty Array.
    func (p *ArrayOf[T]) New() *Array[T] {
    	return &Array[T]{
    		p: p,
    	}
    }
    
    // NewWith returns a new Array with the provided value (not copied).
    func (p *ArrayOf[T]) NewWith(val []T) *Array[T] {
    	return &Array[T]{
    		p:   p,
    		val: val,
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Apr 01 23:42:09 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  2. src/net/netip/uint128.go

    	return uint128{u.hi | m.hi, u.lo | m.lo}
    }
    
    // not returns the bitwise NOT of u.
    func (u uint128) not() uint128 {
    	return uint128{^u.hi, ^u.lo}
    }
    
    // subOne returns u - 1.
    func (u uint128) subOne() uint128 {
    	lo, borrow := bits.Sub64(u.lo, 1, 0)
    	return uint128{u.hi - borrow, lo}
    }
    
    // addOne returns u + 1.
    func (u uint128) addOne() uint128 {
    	lo, carry := bits.Add64(u.lo, 1, 0)
    	return uint128{u.hi + carry, lo}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 07 21:28:44 UTC 2022
    - 2.2K bytes
    - Viewed (1)
  3. subprojects/core/src/main/java/org/gradle/internal/classpath/transforms/LambdaSerializationTransformer.java

                    _ACONST_NULL();
                }
                _ARETURN();
                // Epilogue takes 5 bytes if we need to call the other method (next split or original), or 2 bytes to just return null.
                visitMaxs(0, 0);
                visitEnd();
            }};
        }
    
        int getEstimatedDeserializationPrologueLength() {
            return 0;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 04 14:26:38 UTC 2023
    - 15.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/quota/v1/resources.go

    	}
    	sort.Slice(result, func(i, j int) bool { return result[i] < result[j] })
    	return result
    }
    
    // IsZero returns true if each key maps to the quantity value 0
    func IsZero(a corev1.ResourceList) bool {
    	zero := resource.MustParse("0")
    	for _, v := range a {
    		if v.Cmp(zero) != 0 {
    			return false
    		}
    	}
    	return true
    }
    
    // RemoveZeros returns a new resource list that only has no zero values
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 06 23:11:22 UTC 2021
    - 8.7K bytes
    - Viewed (0)
  5. pkg/test/framework/resource/version.go

    			fmt.Sprintf("%s=%s", rev, ver))
    	}
    	return strings.Join(rvPairs, ",")
    }
    
    // Versions returns the Istio versions present in the given RevVerMap.
    func (rv *RevVerMap) Versions() IstioVersions {
    	if rv == nil {
    		return nil
    	}
    	var vers []IstioVersion
    	for _, v := range *rv {
    		vers = append(vers, v)
    	}
    	return vers
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 5.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

      /** Returns the empty array. */
      public static ImmutableLongArray of() {
        return EMPTY;
      }
    
      /** Returns an immutable array containing a single value. */
      public static ImmutableLongArray of(long e0) {
        return new ImmutableLongArray(new long[] {e0});
      }
    
      /** Returns an immutable array containing the given values, in order. */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 16:34:24 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/util/sets/set.go

    	return contained
    }
    
    // HasAll returns true if and only if all items are contained in the set.
    func (s Set[T]) HasAll(items ...T) bool {
    	for _, item := range items {
    		if !s.Has(item) {
    			return false
    		}
    	}
    	return true
    }
    
    // HasAny returns true if any items are contained in the set.
    func (s Set[T]) HasAny(items ...T) bool {
    	for _, item := range items {
    		if s.Has(item) {
    			return true
    		}
    	}
    	return false
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 19:51:18 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. src/crypto/internal/nistec/fiat/p384.go

    	p384Add(&e.x, &t1.x, &t2.x)
    	return e
    }
    
    // Sub sets e = t1 - t2, and returns e.
    func (e *P384Element) Sub(t1, t2 *P384Element) *P384Element {
    	p384Sub(&e.x, &t1.x, &t2.x)
    	return e
    }
    
    // Mul sets e = t1 * t2, and returns e.
    func (e *P384Element) Mul(t1, t2 *P384Element) *P384Element {
    	p384Mul(&e.x, &t1.x, &t2.x)
    	return e
    }
    
    // Square sets e = t * t, and returns e.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 12 00:04:29 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  9. src/crypto/internal/nistec/fiat/p521.go

    	p521Add(&e.x, &t1.x, &t2.x)
    	return e
    }
    
    // Sub sets e = t1 - t2, and returns e.
    func (e *P521Element) Sub(t1, t2 *P521Element) *P521Element {
    	p521Sub(&e.x, &t1.x, &t2.x)
    	return e
    }
    
    // Mul sets e = t1 * t2, and returns e.
    func (e *P521Element) Mul(t1, t2 *P521Element) *P521Element {
    	p521Mul(&e.x, &t1.x, &t2.x)
    	return e
    }
    
    // Square sets e = t * t, and returns e.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 12 00:04:29 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/core/v1/resource.go

    	return rl.Name(ResourceEphemeralStorage, resource.BinarySI)
    }
    
    // Name returns the resource with name if specified, otherwise it returns a nil quantity with default format.
    func (rl *ResourceList) Name(name ResourceName, defaultFormat resource.Format) *resource.Quantity {
    	if val, ok := (*rl)[name]; ok {
    		return &val
    	}
    	return &resource.Quantity{Format: defaultFormat}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 10 21:09:13 UTC 2020
    - 1.8K bytes
    - Viewed (0)
Back to top