Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for James (0.17 sec)

  1. internal/store/queuestore_test.go

    	if len(names) != 10 {
    		t.Fatalf("List() Expected: 10, got %d", len(names))
    	}
    	if len(names) != store.Len() {
    		t.Fatalf("List() Expected: 10, got %d", len(names))
    	}
    
    	// Delete all
    	for _, key := range names {
    		err := store.Del(key)
    		if err != nil {
    			t.Fatal(err)
    		}
    	}
    	// Re-list
    	lst, err := store.List()
    	if len(lst) > 0 || err != nil {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Apr 04 17:52:24 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  2. internal/config/certsinfo.go

    )
    
    // printName prints the fields of a distinguished name, which include such
    // things as its common name and locality.
    func printName(names []pkix.AttributeTypeAndValue, buf *strings.Builder) []string {
    	values := []string{}
    	for _, name := range names {
    		oid := name.Type
    		//nolint:gocritic
    		if len(oid) == 4 && oid[0] == 2 && oid[1] == 5 && oid[2] == 4 {
    			switch oid[3] {
    			case 3:
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Nov 16 17:28:29 GMT 2021
    - 3.1K bytes
    - Viewed (0)
  3. istioctl/pkg/authz/listener.go

    	buf.WriteString("ACTION\tAuthorizationPolicy\tRULES\n")
    	for _, action := range []rbacpb.RBAC_Action{rbacpb.RBAC_DENY, rbacpb.RBAC_ALLOW, rbacpb.RBAC_LOG} {
    		if names, ok := actionToPolicy[action]; ok {
    			sortedNames := make([]string, 0, len(names))
    			for name := range names {
    				sortedNames = append(sortedNames, name)
    			}
    			sort.Strings(sortedNames)
    			for _, name := range sortedNames {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Sep 11 15:29:30 GMT 2023
    - 6K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/table/writer.go

    	}
    	return output
    }
    
    func (c *ColoredTableWriter) SetAddRowFunc(f func(obj interface{}) Row) {
    	c.addRowFunc = f
    }
    
    func (c *ColoredTableWriter) AddHeader(names ...string) {
    	cells := make([]Cell, 0)
    	for _, name := range names {
    		cells = append(cells, NewCell(name))
    	}
    	c.header = Row{Cells: cells}
    }
    
    func (c *ColoredTableWriter) AddRow(obj interface{}) {
    	c.rows = append(c.rows, c.addRowFunc(obj))
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Oct 08 04:41:42 GMT 2022
    - 2.8K bytes
    - Viewed (0)
  5. cmd/os_windows.go

    				})
    				if err == errFileNotFound {
    					return nil
    				}
    				return err
    			}
    		}
    		name := syscall.UTF16ToString(data.FileName[0:])
    		if name == "" || name == "." || name == ".." { // Useless names
    			continue
    		}
    
    		var typ os.FileMode // regular file
    		switch {
    		case data.FileAttributes&syscall.FILE_ATTRIBUTE_REPARSE_POINT != 0:
    			// Reparse point is a symlink
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Oct 18 18:08:15 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  6. cmd/erasure-metadata-utils_test.go

    		{"117Gn8rfHL2ACARPAhaFd0AGzic9pUbIA/5OCn5A", []int{3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 1, 2}},
    		{"SHØRT", []int{11, 12, 13, 14, 15, 16, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10}},
    		{"There are far too many object names, and far too few bucket names!", []int{15, 16, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14}},
    		{"a/b/c/", []int{3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 1, 2}},
    		{"/a/b/c", []int{6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 1, 2, 3, 4, 5}},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  7. schema/utils.go

    	settings := map[string]string{}
    	names := strings.Split(str, sep)
    
    	for i := 0; i < len(names); i++ {
    		j := i
    		if len(names[j]) > 0 {
    			for {
    				if names[j][len(names[j])-1] == '\\' {
    					i++
    					names[j] = names[j][0:len(names[j])-1] + sep + names[i]
    					names[i] = ""
    				} else {
    					break
    				}
    			}
    		}
    
    		values := strings.Split(names[j], ":")
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Sat Aug 19 13:35:14 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  8. cmd/main.go

      {{.Name}} - {{.Usage}}
    
    DESCRIPTION:
      {{.Description}}
    
    USAGE:
      {{.HelpName}} {{if .VisibleFlags}}[FLAGS] {{end}}COMMAND{{if .VisibleFlags}}{{end}} [ARGS...]
    
    COMMANDS:
      {{range .VisibleCommands}}{{join .Names ", "}}{{ "\t" }}{{.Usage}}
      {{end}}{{if .VisibleFlags}}
    FLAGS:
      {{range .VisibleFlags}}{{.}}
      {{end}}{{end}}
    VERSION:
      {{.Version}}
    `
    
    func newApp(name string) *cli.App {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  9. cmd/site-replication_test.go

    			set.CreateStringSet("dep1", "dep2", "dep3", "dep4"),
    			[]string{},
    		},
    	}
    
    	for i, tc := range testCases {
    		names := getMissingSiteNames(tc.oldDepIDs, tc.newDepIDs, tc.currSites)
    		if len(names) != len(tc.expNames) {
    			t.Errorf("Test %d: Expected `%v`, got `%v`", i+1, tc.expNames, names)
    		}
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jun 20 00:53:08 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  10. internal/config/dns/etcd_dns.go

    	domainPort  string
    	prefixPath  string
    	etcdClient  *clientv3.Client
    }
    
    // EtcdOption - functional options pattern style
    type EtcdOption func(*CoreDNS)
    
    // DomainNames set a list of domain names used by this CoreDNS
    // client setting, note this will fail if set to empty when
    // constructor initializes.
    func DomainNames(domainNames []string) EtcdOption {
    	return func(args *CoreDNS) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 8.3K bytes
    - Viewed (0)
Back to top