Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for StringVal (0.34 sec)

  1. pkg/controller/endpoint/endpoints_controller_test.go

    			if epp.AppProtocol != tc.expectedEndpointsAppProtocol {
    				t.Errorf("Expected Endpoints AppProtocol to be %s, got %s", stringVal(tc.expectedEndpointsAppProtocol), stringVal(epp.AppProtocol))
    			}
    		})
    	}
    }
    
    // TestMultipleServiceChanges tests that endpoints that are not created because of an out of sync endpoints cache are eventually recreated
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 87.7K bytes
    - Viewed (0)
  2. src/go/types/expr.go

    		fallthrough
    	case constant.Int:
    		if v, ok := constant.Int64Val(x); ok {
    			return v
    		}
    		if v, ok := constant.Uint64Val(x); ok {
    			return v
    		}
    	case constant.String:
    		return constant.StringVal(x)
    	case constant.Bool:
    		return constant.BoolVal(x)
    	}
    	return x
    }
    
    // typeAssertion checks x.(T). The type of x must be an interface.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/expr.go

    		fallthrough
    	case constant.Int:
    		if v, ok := constant.Int64Val(x); ok {
    			return v
    		}
    		if v, ok := constant.Uint64Val(x); ok {
    			return v
    		}
    	case constant.String:
    		return constant.StringVal(x)
    	case constant.Bool:
    		return constant.BoolVal(x)
    	}
    	return x
    }
    
    // typeAssertion checks x.(T). The type of x must be an interface.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
Back to top