Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 24 for Pearce (0.55 sec)

  1. docs/debugging/pprofgoparser/main.go

    	flag.DurationVar(&goTime, "time", 0, "goroutine waiting for exactly the specified time")
    	flag.DurationVar(&margin, "margin", 0, "margin time")
    	flag.StringVar(&searchText, "search", "", "Regex to search for a text in one goroutine stacktrace")
    }
    
    func parseGoroutineType2(path string) (map[time.Duration][]string, error) {
    	f, err := os.Open(path)
    	if err != nil {
    		return nil, err
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Mar 06 11:43:16 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  2. src/archive/zip/reader.go

    			return &files[i]
    		}
    	}
    	return nil
    }
    
    func (r *Reader) openReadDir(dir string) []fileListEntry {
    	files := r.fileList
    	i := sort.Search(len(files), func(i int) bool {
    		idir, _, _ := split(files[i].name)
    		return idir >= dir
    	})
    	j := sort.Search(len(files), func(j int) bool {
    		jdir, _, _ := split(files[j].name)
    		return jdir > dir
    	})
    	return files[i:j]
    }
    
    type openDir struct {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  3. src/bytes/example_test.go

    	if bytes.Equal(a, b) {
    		// a equal b
    	}
    	if !bytes.Equal(a, b) {
    		// a not equal b
    	}
    }
    
    func ExampleCompare_search() {
    	// Binary search to find a matching byte slice.
    	var needle []byte
    	var haystack [][]byte // Assume sorted
    	i := sort.Search(len(haystack), func(i int) bool {
    		// Return haystack[i] >= needle.
    		return bytes.Compare(haystack[i], needle) >= 0
    	})
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 15:54:40 GMT 2024
    - 15K bytes
    - Viewed (1)
  4. internal/logger/reqinfo.go

    	return r
    }
    
    // SetTags - sets key/val to ReqInfo.tags
    func (r *ReqInfo) SetTags(key string, val interface{}) *ReqInfo {
    	if r == nil {
    		return nil
    	}
    	r.Lock()
    	defer r.Unlock()
    	// Search of tag key already exists in tags
    	var updated bool
    	for _, tag := range r.tags {
    		if tag.Key == key {
    			tag.Val = val
    			updated = true
    			break
    		}
    	}
    	if !updated {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  5. cmd/metacache-entries.go

    	return objects
    }
    
    // forwardTo will truncate m so only entries that are s or after is in the list.
    func (m *metaCacheEntriesSorted) forwardTo(s string) {
    	if s == "" {
    		return
    	}
    	idx := sort.Search(len(m.o), func(i int) bool {
    		return m.o[i].name >= s
    	})
    	if m.reuse {
    		for i, entry := range m.o[:idx] {
    			metaDataPoolPut(entry.metadata)
    			m.o[i].metadata = nil
    		}
    	}
    
    	m.o = m.o[idx:]
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  6. internal/config/identity/ldap/help.go

    		},
    		config.HelpKV{
    			Key:         UserDNSearchBaseDN,
    			Description: `";" separated list of user search base DNs e.g. "dc=myldapserver,dc=com"` + defaultHelpPostfix(UserDNSearchBaseDN),
    			Optional:    true,
    			Type:        "list",
    		},
    		config.HelpKV{
    			Key:         UserDNSearchFilter,
    			Description: `Search filter to lookup user DN` + defaultHelpPostfix(UserDNSearchFilter),
    			Optional:    true,
    			Type:        "string",
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Jun 23 14:45:27 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  7. cmd/api-response.go

    	NextKeyMarker string `xml:"NextKeyMarker,omitempty"`
    
    	// When the number of responses exceeds the value of MaxKeys,
    	// NextVersionIdMarker specifies the first object version not
    	// returned that satisfies the search criteria. Use this value
    	// for the version-id-marker request parameter in a subsequent request.
    	NextVersionIDMarker string `xml:"NextVersionIdMarker"`
    
    	// Marks the last version of the Key returned in a truncated response.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 33.3K bytes
    - Viewed (2)
  8. cni/pkg/plugin/plugin_test.go

        "capabilities": {
            "testCapability": false
        },
        "ipam": {
            "type": "testIPAM"
        },
        "dns": {
            "nameservers": ["testNameServer"],
            "domain": "testDomain",
            "search": ["testSearch"],
            "options": ["testOption"]
        },
        "prevResult": {
            "cniversion": "%s",
            "interfaces": [
                {
                    "name": "%s",
                    "sandbox": "%s"
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  9. internal/config/identity/ldap/legacy.go

    	// E.g. "ldap.minio.io:636"
    	ServerAddr string `json:"serverAddr"`
    
    	// User DN search parameters
    	UserDNSearchBaseDistName  string   `json:"userDNSearchBaseDN"`
    	UserDNSearchBaseDistNames []string `json:"-"` // Generated field
    	UserDNSearchFilter        string   `json:"userDNSearchFilter"`
    
    	// Group search parameters
    	GroupSearchBaseDistName  string   `json:"groupSearchBaseDN"`
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Oct 08 05:12:36 GMT 2022
    - 2.2K bytes
    - Viewed (0)
  10. cmd/sts-handlers_test.go

    		fmt.Sprintf("server_addr=%s", serverAddr),
    		"server_insecure=on",
    		"lookup_bind_dn=cn=admin,dc=min,dc=io",
    		"lookup_bind_password=admin",
    		"user_dn_search_base_dn=dc=min,dc=io",
    		"user_dn_search_filter=(uid=%s)",
    		"group_search_base_dn=ou=swengg,dc=min,dc=io",
    		"group_search_filter=(&(objectclass=groupofnames)(member=%d))",
    	}
    	_, err := s.adm.SetConfigKV(ctx, strings.Join(configCmds, " "))
    	if err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
Back to top