Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,852 for makeWE (0.27 sec)

  1. src/internal/types/testdata/check/builtins0.go

    	_ = make(chan<- int, "foo" /* ERROR "cannot convert" */)
    	_ = make(chan int, - /* ERROR "must not be negative" */ 10)
    	_ = make(<-chan float64, 10)
    	_ = make(chan chan int, n)
    	_ = make(chan string, int64(n))
    	_ = make(chan bool, 10.0)
    	_ = make(chan bool, 10.0<<s)
            _ = &make /* ERROR "cannot take address" */ (chan bool)
    
    	make /* ERROR "not used" */ ([]int, 10)
    
    	var t []int
    	_ = make([]int, t[0], t[1])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  2. src/runtime/pprof/label.go

    // and makes a [LabelSet] containing them.
    // A label overwrites a prior label with the same key.
    // Currently only the CPU and goroutine profiles utilize any labels
    // information.
    // See https://golang.org/issue/23458 for details.
    func Labels(args ...string) LabelSet {
    	if len(args)%2 != 0 {
    		panic("uneven number of arguments to pprof.Labels")
    	}
    	list := make([]label, 0, len(args)/2)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/schedulinggates/scheduling_gates.go

    		return nil
    	}
    	gates := make([]string, 0, len(p.Spec.SchedulingGates))
    	for _, gate := range p.Spec.SchedulingGates {
    		gates = append(gates, gate.Name)
    	}
    	return framework.NewStatus(framework.UnschedulableAndUnresolvable, fmt.Sprintf("waiting for scheduling gates: %v", gates))
    }
    
    // EventsToRegister returns the possible events that may make a Pod
    // failed by this plugin schedulable.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/podtopologyspread/plugin.go

    		// an unschedulable Pod schedulable.
    		// - Delete. An unschedulable Pod may fail due to violating an existing Pod's topology spread constraints,
    		// deleting an existing Pod may make it schedulable.
    		{Event: framework.ClusterEvent{Resource: framework.Pod, ActionType: framework.All}, QueueingHintFn: pl.isSchedulableAfterPodChange},
    		// Node add|delete|update maybe lead an topology key changed,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 16 14:13:06 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  5. pkg/kubelet/config/config.go

    		return false
    	}
    	return true
    }
    
    // checkAndUpdatePod updates existing, and:
    //   - if ref makes a meaningful change, returns needUpdate=true
    //   - if ref makes a meaningful change, and this change is graceful deletion, returns needGracefulDelete=true
    //   - if ref makes no meaningful change, but changes the pod status, returns needReconcile=true
    //   - else return all false
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  6. src/sync/map_reference_test.go

    func (m *RWMutexMap) Store(key, value any) {
    	m.mu.Lock()
    	if m.dirty == nil {
    		m.dirty = make(map[any]any)
    	}
    	m.dirty[key] = value
    	m.mu.Unlock()
    }
    
    func (m *RWMutexMap) LoadOrStore(key, value any) (actual any, loaded bool) {
    	m.mu.Lock()
    	actual, loaded = m.dirty[key]
    	if !loaded {
    		actual = value
    		if m.dirty == nil {
    			m.dirty = make(map[any]any)
    		}
    		m.dirty[key] = value
    	}
    	m.mu.Unlock()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 01 15:34:22 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. src/go/internal/gcimporter/iimport.go

    		stringData:  stringData,
    		stringCache: make(map[uint64]string),
    		pkgCache:    make(map[uint64]*types.Package),
    
    		declData: declData,
    		pkgIndex: make(map[*types.Package]map[string]uint64),
    		typCache: make(map[uint64]types.Type),
    		// Separate map for typeparams, keyed by their package and unique
    		// name (name with subscript).
    		tparamIndex: make(map[ident]*types.TypeParam),
    
    		fake: fakeFileSet{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  8. build/root/Makefile

    #   WHAT: List of checks to run
    #
    # Example:
    #   make verify
    #   make verify BRANCH=branch_x
    #   make verify WHAT="gofmt typecheck"
    endef
    .PHONY: verify
    ifeq ($(PRINT_HELP),y)
    verify:
    	echo "$$VERIFY_HELP_INFO"
    else ifeq ($(origin KUBE_VERIFY_GIT_BRANCH), undefined)
    verify:
    	KUBE_VERIFY_GIT_BRANCH=$(BRANCH) hack/make-rules/verify.sh
    else
    verify:
    	hack/make-rules/verify.sh
    endif
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 16:43:08 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  9. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/javadoc/JavadocIntegrationTest.groovy

            """
    
            writeSourceFile()
    
            when:
            run("javadoc")
    
            then:
            file("build/javadoc/Foo.html").exists()
        }
    
        def "changing standard doclet options makes task out-of-date"() {
            buildFile << """
                task javadoc(type: Javadoc) {
                    destinationDir = file("build/javadoc")
                    source "src/main/java"
                    options {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 06:04:19 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/plugins/tainttoleration/taint_toleration.go

    		// So, it's enough to just check the length of tolerations to notice the update.
    		// And, any updates in tolerations could make Pod schedulable.
    		logger.V(5).Info("a new toleration is added for the Pod, and it may make it schedulable", "pod", klog.KObj(modifiedPod))
    		return framework.Queue, nil
    	}
    
    	return framework.QueueSkip, nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top