Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Reflexive (0.33 sec)

  1. 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)
  2. 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)
  3. 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