Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 191 for setLinger (0.27 sec)

  1. src/html/template/state_string.go

    // Code generated by "stringer -type state"; 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[stateText-0]
    	_ = x[stateTag-1]
    	_ = x[stateAttrName-2]
    	_ = x[stateAfterName-3]
    	_ = x[stateBeforeValue-4]
    	_ = x[stateHTMLCmt-5]
    	_ = x[stateRCDATA-6]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 02 15:18:39 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types/kind_string.go

    // Code generated by "stringer -type Kind -trimprefix T type.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[Txxx-0]
    	_ = x[TINT8-1]
    	_ = x[TUINT8-2]
    	_ = x[TINT16-3]
    	_ = x[TUINT16-4]
    	_ = x[TINT32-5]
    	_ = x[TUINT32-6]
    	_ = x[TINT64-7]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 21:56:38 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  3. test/fixedbugs/issue19658.go

    	"bytes"
    	"fmt"
    	"io/ioutil"
    	"log"
    	"os"
    	"os/exec"
    	"path/filepath"
    )
    
    const fn = `
    package main
    
    import  "errors"
    type S struct {
    
    }
    func (s S) String() string {
    	return "s-stringer"
    }
    func main() {
     	_ = errors.New
      panic(%s(%s))
    }
    `
    
    func main() {
    	tempDir, err := ioutil.TempDir("", "")
    	if err != nil {
    		log.Fatal(err)
    	}
    	defer os.RemoveAll(tempDir)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 20:56:32 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/format/formatting.go

    // objects here are formatted into golang source.
    
    // Stringer marks the given value for custom formatting by this package.
    type Stringer struct{ val interface{} }
    
    // Fmt marks the given value for custom formatting by this package.
    func Fmt(val interface{}) Stringer {
    	return Stringer{val}
    }
    
    // String formats to a string in full detail
    func (sr Stringer) String() string {
    	if sr.val == nil {
    		return "nil"
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:35 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  5. internal/grid/handlers_string.go

    // Code generated by "stringer -type=HandlerID -output=handlers_string.go -trimprefix=Handler msg.go handlers.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[handlerInvalid-0]
    	_ = x[HandlerLockLock-1]
    	_ = x[HandlerLockRLock-2]
    	_ = x[HandlerLockUnlock-3]
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. src/cmd/internal/objabi/reloctype_string.go

    // Code generated by "stringer -type=RelocType"; DO NOT EDIT.
    
    package objabi
    
    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[R_ADDR-1]
    	_ = x[R_ADDRPOWER-2]
    	_ = x[R_ADDRARM64-3]
    	_ = x[R_ADDRMIPS-4]
    	_ = x[R_ADDROFF-5]
    	_ = x[R_SIZE-6]
    	_ = x[R_CALL-7]
    	_ = x[R_CALLARM-8]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 17:26:07 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. src/cmd/link/internal/sym/symkind_string.go

    // Code generated by "stringer -type=SymKind"; DO NOT EDIT.
    
    package sym
    
    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[Sxxx-0]
    	_ = x[STEXT-1]
    	_ = x[SELFRXSECT-2]
    	_ = x[SMACHOPLT-3]
    	_ = x[STYPE-4]
    	_ = x[SSTRING-5]
    	_ = x[SGOSTRING-6]
    	_ = x[SGOFUNC-7]
    	_ = x[SGCBITS-8]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 13:29:54 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. src/internal/pkgbits/syncmarker_string.go

    // Code generated by "stringer -type=SyncMarker -trimprefix=Sync"; DO NOT EDIT.
    
    package pkgbits
    
    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[SyncEOF-1]
    	_ = x[SyncBool-2]
    	_ = x[SyncInt64-3]
    	_ = x[SyncUint64-4]
    	_ = x[SyncString-5]
    	_ = x[SyncValue-6]
    	_ = x[SyncVal-7]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 20:24:07 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  9. src/internal/types/testdata/fixedbugs/issue51145.go

    	_ [float64 /* ERROR "invalid array length float64" */ ]int
    	_ [f /* ERROR "invalid array length f" */ ]int
    	_ [nil /* ERROR "invalid array length nil" */ ]int
    )
    
    func f()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 447 bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/types.go

    	}
    
    	// If the type implements fmt.Formatter, we have nothing to check.
    	if isFormatter(typ) {
    		return true
    	}
    
    	// If we can use a string, might arg (dynamically) implement the Stringer or Error interface?
    	if m.t&argString != 0 && isConvertibleToString(typ) {
    		return true
    	}
    
    	if typ, _ := aliases.Unalias(typ).(*types.TypeParam); typ != nil {
    		// Avoid infinite recursion through type parameters.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 8.6K bytes
    - Viewed (0)
Back to top