Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 183 for elim (2.81 sec)

  1. src/go/types/typexpr.go

    		// Consequently, generic types cannot be parenthesized.
    		return check.definedType(e.X, def)
    
    	case *ast.ArrayType:
    		if e.Len == nil {
    			typ := new(Slice)
    			setDefType(def, typ)
    			typ.elem = check.varType(e.Elt)
    			return typ
    		}
    
    		typ := new(Array)
    		setDefType(def, typ)
    		// Provide a more specific error when encountering a [...] array
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  2. buildscripts/checkdeps.sh

    ## }
    ##
    check_minimum_version() {
    	IFS='.' read -r -a varray1 <<<"$1"
    	IFS='.' read -r -a varray2 <<<"$2"
    
    	for i in "${!varray1[@]}"; do
    		if [[ ${varray1[i]} -lt ${varray2[i]} ]]; then
    			return 0
    		elif [[ ${varray1[i]} -gt ${varray2[i]} ]]; then
    			return 1
    		fi
    	done
    
    	return 0
    }
    
    assert_is_supported_arch() {
    	case "${ARCH}" in
    	x86_64 | amd64 | aarch64 | ppc64le | arm* | s390x | loong64 | loongarch64)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 05:08:11 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. operator/pkg/apis/istio/v1alpha1/validation/validation.go

    	if err := util.UnmarshalWithJSONPB(iopvalString, values, true); err != nil {
    		return util.NewErrs(err), ""
    	}
    
    	validationErrors = util.AppendErrs(validationErrors, ValidateSubTypes(reflect.ValueOf(values).Elem(), failOnMissingValidation, values, iopls))
    
    	featureErrors, featureWarningMessages := validateFeatures(values, iopls)
    	validationErrors = util.AppendErrs(validationErrors, featureErrors)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 20:02:28 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  4. src/crypto/tls/common.go

    func (c *lruSessionCache) Put(sessionKey string, cs *ClientSessionState) {
    	c.Lock()
    	defer c.Unlock()
    
    	if elem, ok := c.m[sessionKey]; ok {
    		if cs == nil {
    			c.q.Remove(elem)
    			delete(c.m, sessionKey)
    		} else {
    			entry := elem.Value.(*lruSessionCacheEntry)
    			entry.state = cs
    			c.q.MoveToFront(elem)
    		}
    		return
    	}
    
    	if c.q.Len() < c.capacity {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 59.1K bytes
    - Viewed (0)
  5. pkg/kubelet/apis/config/helpers_test.go

    		paths.Insert(sets.List(allPrimitiveFieldPaths(t, skipRecurseList, tp.Elem(), path))...)
    	case reflect.Struct:
    		for i := 0; i < tp.NumField(); i++ {
    			field := tp.Field(i)
    			paths.Insert(sets.List(allPrimitiveFieldPaths(t, skipRecurseList, field.Type, path.Child(field.Name)))...)
    		}
    	case reflect.Map, reflect.Slice:
    		paths.Insert(sets.List(allPrimitiveFieldPaths(t, skipRecurseList, tp.Elem(), path.Key("*")))...)
    	case reflect.Interface:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache_test.go

    			"prefix/ns/pod3": *makeTestStoreElement(makeTestPod("pod3", 6)),
    		}
    		items := make(map[string]storeElement)
    		for _, item := range store.List() {
    			elem := item.(*storeElement)
    			items[elem.Key] = *elem
    		}
    		if !apiequality.Semantic.DeepEqual(expected, items) {
    			t.Errorf("expected %v, got %v", expected, items)
    		}
    	}
    
    	// Test Replace.
    	store.Replace([]interface{}{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/syntax/parser.go

    		return p.sliceType(pos)
    	}
    
    	// x [n]E or x[n,], x[n1, n2], ...
    	n, comma := p.typeList(false)
    	p.want(_Rbrack)
    	if !comma {
    		if elem := p.typeOrNil(); elem != nil {
    			// x [n]E
    			t := new(ArrayType)
    			t.pos = pos
    			t.Len = n
    			t.Elem = elem
    			return t
    		}
    	}
    
    	// x[n,], x[n1, n2], ...
    	t := new(IndexExpr)
    	t.pos = pos
    	// t.X will be filled in by caller
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  8. src/testing/fstest/testfs.go

    	if _, ok := t.fsys.(fs.GlobFS); !ok {
    		return
    	}
    
    	// Make a complex glob pattern prefix that only matches dir.
    	var glob string
    	if dir != "." {
    		elem := strings.Split(dir, "/")
    		for i, e := range elem {
    			var pattern []rune
    			for j, r := range e {
    				if r == '*' || r == '?' || r == '\\' || r == '[' || r == '-' {
    					pattern = append(pattern, '\\', r)
    					continue
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  9. pkg/scheduler/framework/runtime/framework.go

    // plugin weights there is not an overflow of MaxTotalScore.
    func getScoreWeights(f *frameworkImpl, plugins []config.Plugin) error {
    	var totalPriority int64
    	scorePlugins := reflect.ValueOf(&f.scorePlugins).Elem()
    	pluginType := scorePlugins.Type().Elem()
    	for _, e := range plugins {
    		pg := f.pluginsMap[e.Name]
    		if !reflect.TypeOf(pg).Implements(pluginType) {
    			continue
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 60.9K bytes
    - Viewed (0)
  10. src/internal/trace/batchcursor_test.go

    	for i := range heap {
    		if heap[i].ev.time == 5 {
    			heap = heapRemove(heap, i)
    			break
    		}
    	}
    	checkHeap(t, heap)
    	for i := range heap {
    		if heap[i].ev.time == 5 {
    			t.Fatalf("failed to remove heap elem with time %d: %s", 5, heapDebugString(heap))
    		}
    	}
    
    	// Remove tail.
    	heap = heapRemove(heap, len(heap)-1)
    	checkHeap(t, heap)
    
    	// Remove from the head, and make sure the result is sorted.
    	l := len(heap)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top