Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 5,940 for stringAt (0.12 sec)

  1. cmd/site-replication_test.go

    	"github.com/minio/minio-go/v7/pkg/set"
    )
    
    // TestGetMissingSiteNames
    func TestGetMissingSiteNames(t *testing.T) {
    	testCases := []struct {
    		currSites []madmin.PeerInfo
    		oldDepIDs set.StringSet
    		newDepIDs set.StringSet
    		expNames  []string
    	}{
    		// Test1: missing some sites in replicated setup
    		{
    			[]madmin.PeerInfo{
    				{Endpoint: "minio1:9000", Name: "minio1", DeploymentID: "dep1"},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 20 00:53:08 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  2. test/fixedbugs/issue19658.go

    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)
    	tmpFile := filepath.Join(tempDir, "tmp.go")
    
    	for _, tc := range []struct {
    		Type   string
    		Input  string
    		Expect string
    	}{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 20:56:32 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. src/cmd/compile/internal/syntax/token_string.go

    // Code generated by "stringer -type token -linecomment tokens.go"; DO NOT EDIT.
    
    package syntax
    
    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[_EOF-1]
    	_ = x[_Name-2]
    	_ = x[_Literal-3]
    	_ = x[_Operator-4]
    	_ = x[_AssignOp-5]
    	_ = x[_IncOp-6]
    	_ = x[_Assign-7]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 29 02:28:24 UTC 2020
    - 1.7K 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/debug/dwarf/tag_string.go

    // Code generated by "stringer -type Tag -trimprefix=Tag"; DO NOT EDIT.
    
    package dwarf
    
    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[TagArrayType-1]
    	_ = x[TagClassType-2]
    	_ = x[TagEntryPoint-3]
    	_ = x[TagEnumerationType-4]
    	_ = x[TagFormalParameter-5]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 03 17:32:37 UTC 2019
    - 3.9K bytes
    - Viewed (0)
  8. 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)
  9. src/internal/trace/base.go

    // interpret an individual event.
    type evTable struct {
    	freq    frequency
    	strings dataTable[stringID, string]
    	stacks  dataTable[stackID, stack]
    	pcs     map[uint64]frame
    
    	// extraStrings are strings that get generated during
    	// parsing but haven't come directly from the trace, so
    	// they don't appear in strings.
    	extraStrings   []string
    	extraStringIDs map[string]extraStringID
    	nextExtra      extraStringID
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  10. 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)
Back to top