Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for Reflexive (0.15 sec)

  1. pkg/api/testing/defaulting_test.go

    func (o orderedGroupVersionKinds) Swap(i, j int) { o[i], o[j] = o[j], o[i] }
    func (o orderedGroupVersionKinds) Less(i, j int) bool {
    	return o[i].String() < o[j].String()
    }
    
    // TODO: add a reflexive test that verifies that all SetDefaults functions are registered
    func TestDefaulting(t *testing.T) {
    	// these are the known types with defaulters - you must add to this list if you add a top level defaulter
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Equivalence.java

       * all references {@code x}, {@code y}, and {@code z} (any of which may be null):
       *
       * <ul>
       *   <li>{@code equivalent(x, x)} is true (<i>reflexive</i> property)
       *   <li>{@code equivalent(x, y)} and {@code equivalent(y, x)} each return the same result
       *       (<i>symmetric</i> property)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/math/DoubleMath.java

       *   <li>With finite tolerance, {@code Double.POSITIVE_INFINITY} and {@code
       *       Double.NEGATIVE_INFINITY} are fuzzily equal only to themselves.
       * </ul>
       *
       * <p>This is reflexive and symmetric, but not transitive, so it is not an
       * equivalence relation and not suitable for use in {@link Object#equals}
       * implementations.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/math/DoubleMath.java

       *   <li>With finite tolerance, {@code Double.POSITIVE_INFINITY} and {@code
       *       Double.NEGATIVE_INFINITY} are fuzzily equal only to themselves.
       * </ul>
       *
       * <p>This is reflexive and symmetric, but not transitive, so it is not an
       * equivalence relation and not suitable for use in {@link Object#equals}
       * implementations.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  5. src/fmt/fmt_test.go

    	{"%184467440737095516170v", 0, "%!(NOVERB)%!(EXTRA int=0)"},
    	// Extra argument errors should format without flags set.
    	{"%010.2", "12345", "%!(NOVERB)%!(EXTRA string=12345)"},
    
    	// Test that maps with non-reflexive keys print all keys and values.
    	{"%v", map[float64]int{NaN: 1, NaN: 1}, "map[NaN:1 NaN:1]"},
    
    	// Comparison of padding rules with C printf.
    	/*
    		C program:
    		#include <stdio.h>
    
    		char *format[] = {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:55 UTC 2024
    - 58.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types/type.go

    }
    
    var (
    	IsInt     [NTYPE]bool
    	IsFloat   [NTYPE]bool
    	IsComplex [NTYPE]bool
    	IsSimple  [NTYPE]bool
    )
    
    var IsOrdered [NTYPE]bool
    
    // IsReflexive reports whether t has a reflexive equality operator.
    // That is, if x==x for all x of type t.
    func IsReflexive(t *Type) bool {
    	switch t.Kind() {
    	case TBOOL,
    		TINT,
    		TUINT,
    		TINT8,
    		TUINT8,
    		TINT16,
    		TUINT16,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
  7. src/reflect/type.go

    		}
    		repr = append(repr, stringFor(t)...)
    	}
    	if len(out) > 1 {
    		repr = append(repr, ')')
    	}
    	return string(repr)
    }
    
    // isReflexive reports whether the == operation on the type is reflexive.
    // That is, x == x for all values x of type t.
    func isReflexive(t *abi.Type) bool {
    	switch Kind(t.Kind()) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
Back to top