Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,041 for Stringer (0.24 sec)

  1. test/typeparam/issue50642.go

    	return ok
    }
    
    type MyInt int
    
    func (i MyInt) String() string {
    	return "a"
    }
    
    type Stringer interface {
    	String() string
    }
    
    type Temp2[T Stringer] struct {
    }
    
    var temp2 Stringer
    
    func (it Temp2[T]) HasNext() string {
    	var x map[int]T
    
    	var ok bool
    	// test conversion of T to Stringer during an OAS2MAPR
    	temp2, ok = x[43]
    	_ = ok
    	return temp2.String()
    }
    
    func main() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 1013 bytes
    - Viewed (0)
  2. src/debug/macho/reloctype_string.go

    // Code generated by "stringer -type=RelocTypeGeneric,RelocTypeX86_64,RelocTypeARM,RelocTypeARM64 -output reloctype_string.go"; DO NOT EDIT.
    
    package macho
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[GENERIC_RELOC_VANILLA-0]
    	_ = x[GENERIC_RELOC_PAIR-1]
    	_ = x[GENERIC_RELOC_SECTDIFF-2]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 20:24:07 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/addrtype_string.go

    // Code generated by "stringer -type AddrType"; DO NOT EDIT.
    
    package obj
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[TYPE_NONE-0]
    	_ = x[TYPE_BRANCH-1]
    	_ = x[TYPE_TEXTSIZE-2]
    	_ = x[TYPE_MEM-3]
    	_ = x[TYPE_CONST-4]
    	_ = x[TYPE_FCONST-5]
    	_ = x[TYPE_SCONST-6]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 01 03:16:26 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  4. internal/grid/msg_string.go

    // Code generated by "stringer -type=Op -output=msg_string.go -trimprefix=Op msg.go"; DO NOT EDIT.
    
    package grid
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[OpConnect-1]
    	_ = x[OpConnectResponse-2]
    	_ = x[OpPing-3]
    	_ = x[OpPong-4]
    	_ = x[OpConnectMux-5]
    	_ = x[OpMuxConnectError-6]
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  5. src/html/template/jsctx_string.go

    // Code generated by "stringer -type jsCtx"; DO NOT EDIT.
    
    package template
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[jsCtxRegexp-0]
    	_ = x[jsCtxDivOp-1]
    	_ = x[jsCtxUnknown-2]
    }
    
    const _jsCtx_name = "jsCtxRegexpjsCtxDivOpjsCtxUnknown"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 04 17:04:36 UTC 2023
    - 635 bytes
    - Viewed (0)
  6. cmd/rebalstatus_string.go

    // Code generated by "stringer -type=rebalStatus -trimprefix=rebal erasure-server-pool-rebalance.go"; DO NOT EDIT.
    
    package cmd
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[rebalNone-0]
    	_ = x[rebalStarted-1]
    	_ = x[rebalCompleted-2]
    	_ = x[rebalStopped-3]
    	_ = x[rebalFailed-4]
    }
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Oct 25 19:36:57 UTC 2022
    - 795 bytes
    - Viewed (0)
  7. src/crypto/tls/common_string.go

    // Code generated by "stringer -linecomment -type=SignatureScheme,CurveID,ClientAuthType -output=common_string.go"; DO NOT EDIT.
    
    package tls
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[PKCS1WithSHA256-1025]
    	_ = x[PKCS1WithSHA384-1281]
    	_ = x[PKCS1WithSHA512-1537]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 14:56:25 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. src/html/template/element_string.go

    // Code generated by "stringer -type element"; DO NOT EDIT.
    
    package template
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[elementNone-0]
    	_ = x[elementScript-1]
    	_ = x[elementStyle-2]
    	_ = x[elementTextarea-3]
    	_ = x[elementTitle-4]
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 20:24:07 UTC 2023
    - 745 bytes
    - Viewed (0)
  9. src/math/big/accuracy_string.go

    // Code generated by "stringer -type=Accuracy"; DO NOT EDIT.
    
    package big
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[Below - -1]
    	_ = x[Exact-0]
    	_ = x[Above-1]
    }
    
    const _Accuracy_name = "BelowExactAbove"
    
    var _Accuracy_index = [...]uint8{0, 5, 10, 15}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 20:24:07 UTC 2023
    - 647 bytes
    - Viewed (0)
  10. internal/logger/target/types/targettype_string.go

    // Code generated by "stringer -type=TargetType -trimprefix=Target types.go"; DO NOT EDIT.
    
    package types
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[TargetConsole-1]
    	_ = x[TargetHTTP-2]
    	_ = x[TargetKafka-3]
    }
    
    const _TargetType_name = "ConsoleHTTPKafka"
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Nov 10 18:20:21 UTC 2022
    - 703 bytes
    - Viewed (0)
Back to top