Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 651 for equality (0.12 sec)

  1. android/guava/src/com/google/common/math/Stats.java

       */
      public double max() {
        checkState(count != 0);
        return max;
      }
    
      /**
       * {@inheritDoc}
       *
       * <p><b>Note:</b> This tests exact equality of the calculated statistics, including the floating
       * point values. Two instances are guaranteed to be considered equal if one is copied from the
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 22K bytes
    - Viewed (0)
  2. src/cmd/trace/pprof.go

    // stackMap is a map of trace.Stack to some value V.
    type stackMap struct {
    	// stacks contains the full list of stacks in the set, however
    	// it is insufficient for deduplication because trace.Stack
    	// equality is only optimistic. If two trace.Stacks are equal,
    	// then they are guaranteed to be equal in content. If they are
    	// not equal, then they might still be equal in content.
    	stacks map[trace.Stack]*traceviewer.ProfileRecord
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  3. pkg/apis/apps/v1beta1/defaults_test.go

    limitations under the License.
    */
    
    package v1beta1_test
    
    import (
    	"reflect"
    	"testing"
    
    	appsv1beta1 "k8s.io/api/apps/v1beta1"
    
    	v1 "k8s.io/api/core/v1"
    	apiequality "k8s.io/apimachinery/pkg/api/equality"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/util/intstr"
    	utilfeature "k8s.io/apiserver/pkg/util/feature"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/cel/library/ip.go

    //
    // Returns true if the IP address is in its canonical form.
    // There is exactly one canonical form for every IP address, so fields containing
    // IPs in canonical form can just be treated as strings when checking for equality or uniqueness.
    //
    //	ip.isCanonical(<string>) <bool>
    //
    // Examples:
    //
    //	ip.isCanonical('127.0.0.1') // returns true; all valid IPv4 addresses are canonical
    //	ip.isCanonical('2001:db8::abcd') // returns true
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 11:02:34 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  5. pkg/controlplane/reconcilers/endpointsadapter_test.go

    limitations under the License.
    */
    
    package reconcilers
    
    import (
    	"context"
    	"fmt"
    	"testing"
    
    	corev1 "k8s.io/api/core/v1"
    	discovery "k8s.io/api/discovery/v1"
    	apiequality "k8s.io/apimachinery/pkg/api/equality"
    	"k8s.io/apimachinery/pkg/api/errors"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    	"k8s.io/client-go/kubernetes/fake"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/optimizing-performance/configuration_cache.adoc

    <3> Compare the reference to `ArrayList` instance stored in the task field and the reference captured in the `doLast` action.
    <4> Check the equality of stored and captured lists.
    
    Running the build without the configuration cache shows that reference equality is preserved in both cases.
    ----
    ❯ gradle --no-configuration-cache checkEquality
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 16:24:12 UTC 2024
    - 71.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

        1.0,
        Math.PI,
        (double) Integer.MAX_VALUE,
        (double) Long.MAX_VALUE,
        Double.MAX_VALUE,
        Double.POSITIVE_INFINITY,
        Double.NaN,
        Float.MAX_VALUE,
      };
    
      /** The notion of equality used by AtomicDoubleArray */
      static boolean bitEquals(double x, double y) {
        return Double.doubleToRawLongBits(x) == Double.doubleToRawLongBits(y);
      }
    
      static void assertBitEquals(double x, double y) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/typecheck/_builtin/runtime.go

    func panicdottypeI(have, want, iface *byte)
    func panicnildottype(want *byte)
    func typeAssert(s *byte, typ *byte) *byte
    
    // interface switches
    func interfaceSwitch(s *byte, t *byte) (int, *byte)
    
    // interface equality. Type/itab pointers are already known to be equal, so
    // we only need to pass one.
    func ifaceeq(tab *uintptr, x, y unsafe.Pointer) (ret bool)
    func efaceeq(typ *uintptr, x, y unsafe.Pointer) (ret bool)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  9. src/crypto/internal/edwards25519/field/fe_test.go

    }
    
    func TestEqual(t *testing.T) {
    	x := Element{1, 1, 1, 1, 1}
    	y := Element{5, 4, 3, 2, 1}
    
    	eq := x.Equal(&x)
    	if eq != 1 {
    		t.Errorf("wrong about equality")
    	}
    
    	eq = x.Equal(&y)
    	if eq != 0 {
    		t.Errorf("wrong about inequality")
    	}
    }
    
    func TestInvert(t *testing.T) {
    	x := Element{1, 1, 1, 1, 1}
    	one := Element{1, 0, 0, 0, 0}
    	var xinv, r Element
    
    	xinv.Invert(&x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 17:26:17 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/math/Stats.java

       */
      public double max() {
        checkState(count != 0);
        return max;
      }
    
      /**
       * {@inheritDoc}
       *
       * <p><b>Note:</b> This tests exact equality of the calculated statistics, including the floating
       * point values. Two instances are guaranteed to be considered equal if one is copied from the
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 24.7K bytes
    - Viewed (0)
Back to top