Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for sl (0.18 sec)

  1. src/arena/arena.go

    // slice after free may result in a fault, but this fault is also not guaranteed.
    func MakeSlice[T any](a *Arena, len, cap int) []T {
    	var sl []T
    	runtime_arena_arena_Slice(a.a, &sl, cap)
    	return sl[:len]
    }
    
    // Clone makes a shallow copy of the input value that is no longer bound to any
    // arena it may have been allocated from, returning the copy. If it was not
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Oct 12 20:23:36 GMT 2022
    - 4.3K bytes
    - Viewed (0)
  2. internal/grid/msg.go

    func (f Flags) String() string {
    	var res []string
    	if f&FlagCRCxxh3 != 0 {
    		res = append(res, "CRC")
    	}
    	if f&FlagEOF != 0 {
    		res = append(res, "EOF")
    	}
    	if f&FlagStateless != 0 {
    		res = append(res, "SL")
    	}
    	if f&FlagPayloadIsErr != 0 {
    		res = append(res, "ERR")
    	}
    	if f&FlagPayloadIsZero != 0 {
    		res = append(res, "ZERO")
    	}
    	if f&FlagSubroute != 0 {
    		res = append(res, "SUB")
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 28 19:22:29 GMT 2023
    - 7.3K bytes
    - Viewed (0)
  3. cmd/leak-detect_test.go

    	for _, g := range strings.Split(string(buf), "\n\n") {
    		// Again split on a new line, the first line of the second half contains the info about the go routine.
    		sl := strings.SplitN(g, "\n", 2)
    		if len(sl) != 2 {
    			continue
    		}
    		stack := strings.TrimSpace(sl[1])
    		// ignore the testing go routine.
    		// since the tests will be invoking the leaktest it would contain the test go routine.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  4. istioctl/pkg/admin/istiodconfig.go

    	slParis := strings.Split(scopeLevelPairs, ",")
    	var scopeInfos []*ScopeInfo
    	for _, slp := range slParis {
    		sl, err := newScopeLevelPair(slp, validationPattern)
    		if err != nil {
    			return nil, err
    		}
    		si := &ScopeInfo{
    			Name:        sl.scope,
    			OutputLevel: sl.logLevel,
    		}
    		scopeInfos = append(scopeInfos, si)
    	}
    	return scopeInfos, nil
    }
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  5. src/cmd/api/main_test.go

    	ok = true
    
    	featureSet := set(features)
    	exceptionSet := set(exception)
    
    	sort.Strings(features)
    	sort.Strings(required)
    
    	take := func(sl *[]string) string {
    		s := (*sl)[0]
    		*sl = (*sl)[1:]
    		return s
    	}
    
    	for len(features) > 0 || len(required) > 0 {
    		switch {
    		case len(features) == 0 || (len(required) > 0 && required[0] < features[0]):
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
Back to top