Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for Pearce (0.21 sec)

  1. cmd/metacache-set.go

    			return 0, errFileNotFound
    		}
    		if tmp.First >= search {
    			o.debugln("First >= search", v)
    			return i, nil
    		}
    		if tmp.Last >= search {
    			o.debugln("Last >= search", v)
    			return i, nil
    		}
    		if tmp.EOS {
    			o.debugln("no match, at EOS", v)
    			return -3, io.EOF
    		}
    		o.debugln("First ", tmp.First, "<", search, " search", i)
    		i++
    	}
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 19:52:52 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  2. tests/query_test.go

    		t.Errorf("Offset should work without limit.")
    	}
    }
    
    func TestSearchWithMap(t *testing.T) {
    	users := []User{
    		*GetUser("map_search_user1", Config{}),
    		*GetUser("map_search_user2", Config{}),
    		*GetUser("map_search_user3", Config{}),
    		*GetUser("map_search_user4", Config{Company: true}),
    	}
    
    	DB.Create(&users)
    
    	var user User
    	DB.First(&user, map[string]interface{}{"name": users[0].Name})
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Thu Apr 25 12:22:53 GMT 2024
    - 49.8K bytes
    - Viewed (0)
  3. src/cmd/asm/doc.go

    The GOOS and GOARCH environment variables set the desired target.
    
    Flags:
    
    	-D name[=value]
    		Predefine symbol name with an optional simple value.
    		Can be repeated to define multiple symbols.
    	-I dir1 -I dir2
    		Search for #include files in dir1, dir2, etc,
    		after consulting $GOROOT/pkg/$GOOS_$GOARCH.
    	-S
    		Print assembly and machine code.
    	-V
    		Print assembler version and exit.
    	-debug
    		Dump instructions as they are parsed.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 22 20:46:45 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  4. src/bufio/bufio.go

    // [Reader.ReadBytes] or ReadString instead.
    // ReadSlice returns err != nil if and only if line does not end in delim.
    func (b *Reader) ReadSlice(delim byte) (line []byte, err error) {
    	s := 0 // search start index
    	for {
    		// Search buffer.
    		if i := bytes.IndexByte(b.buf[b.r+s:b.w], delim); i >= 0 {
    			i += s
    			line = b.buf[b.r : b.r+i+1]
    			b.r += i + 1
    			break
    		}
    
    		// Pending error?
    		if b.err != nil {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Oct 12 14:39:08 GMT 2023
    - 21.8K bytes
    - Viewed (0)
  5. cmd/data-usage-cache.go

    	ch := d.Cache[h.String()].Children
    	res := make(dataUsageHashMap, len(ch))
    	for k := range ch {
    		res[k] = struct{}{}
    	}
    	return res
    }
    
    // searchParent will search for the parent of h.
    // This is an O(N*N) operation if there is no parent or it cannot be guessed.
    func (d *dataUsageCache) searchParent(h dataUsageHash) *dataUsageHash {
    	want := h.Key()
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.4K bytes
    - Viewed (1)
  6. internal/config/identity/ldap/ldap.go

    	err = conn.Bind(bindDN, password)
    	if err != nil {
    		errRet := fmt.Errorf("LDAP auth failed for DN %s: %w", bindDN, err)
    		return "", nil, errRet
    	}
    
    	// Bind to the lookup user account again to perform group search.
    	if err = l.LDAP.LookupBind(conn); err != nil {
    		return "", nil, err
    	}
    
    	// User groups lookup.
    	groups, err := l.LDAP.SearchForUserGroups(conn, username, bindDN)
    	if err != nil {
    		return "", nil, err
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  7. src/cmd/cgo/gcc.go

    // non-pointers in this type.
    // TODO: Currently our best solution is to find these manually and list them as
    // they come up. A better solution is desired.
    // Note: DEPRECATED. There is now a better solution. Search for incomplete in this file.
    func (c *typeConv) badPointerTypedef(dt *dwarf.TypedefType) bool {
    	if c.badCFType(dt) {
    		return true
    	}
    	if c.badJNI(dt) {
    		return true
    	}
    	if c.badEGLType(dt) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  8. cmd/xl-storage-format-v2.go

    	}
    
    	// Add space at the end.
    	// Will have -1 modtime, so it will be inserted there.
    	x.versions = append(x.versions, xlMetaV2ShallowVersion{header: xlMetaV2VersionHeader{ModTime: -1}})
    
    	// Linear search, we likely have to insert at front.
    	for i, existing := range x.versions {
    		if existing.header.ModTime <= modTime {
    			// Insert at current idx. First move current back.
    			copy(x.versions[i+1:], x.versions[i:])
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
  9. internal/config/identity/ldap/config.go

    	SRVRecordName      = "srv_record_name"
    	LookupBindDN       = "lookup_bind_dn"
    	LookupBindPassword = "lookup_bind_password"
    	UserDNSearchBaseDN = "user_dn_search_base_dn"
    	UserDNSearchFilter = "user_dn_search_filter"
    	GroupSearchFilter  = "group_search_filter"
    	GroupSearchBaseDN  = "group_search_base_dn"
    	TLSSkipVerify      = "tls_skip_verify"
    	ServerInsecure     = "server_insecure"
    	ServerStartTLS     = "server_starttls"
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 7.9K bytes
    - Viewed (2)
  10. 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)
Back to top