Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 274 for makeID (0.18 sec)

  1. 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)
  2. 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)
  3. src/time/tick_test.go

    	}
    
    	tim.Stop()
    	drainAsync()
    	noTick()
    
    	// Again using select and with two goroutines waiting.
    	tim.Reset(10000 * Second)
    	drainAsync()
    	done = make(chan bool, 2)
    	done1 := make(chan bool)
    	done2 := make(chan bool)
    	stop := make(chan bool)
    	go func() {
    		select {
    		case <-C:
    			done <- true
    		case <-stop:
    		}
    		close(done1)
    	}()
    	go func() {
    		select {
    		case <-C:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:10:37 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  4. src/runtime/gc_test.go

    		})
    	}
    }
    
    func TestPeriodicGC(t *testing.T) {
    	if runtime.GOARCH == "wasm" {
    		t.Skip("no sysmon on wasm yet")
    	}
    
    	// Make sure we're not in the middle of a GC.
    	runtime.GC()
    
    	var ms1, ms2 runtime.MemStats
    	runtime.ReadMemStats(&ms1)
    
    	// Make periodic GC run continuously.
    	orig := *runtime.ForceGCPeriod
    	*runtime.ForceGCPeriod = 0
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 22:33:52 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  5. src/runtime/mfinal.go

    // the actual system call.
    //
    // Note: KeepAlive should only be used to prevent finalizers from
    // running prematurely. In particular, when used with [unsafe.Pointer],
    // the rules for valid uses of unsafe.Pointer still apply.
    func KeepAlive(x any) {
    	// Introduce a use of x that the compiler can't eliminate.
    	// This makes sure x is alive on entry. We need x to be alive
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 01:56:56 UTC 2024
    - 19K bytes
    - Viewed (0)
  6. pkg/scheduler/internal/queue/scheduling_queue_test.go

    	return nil
    }
    
    // makeEmptyQueueingHintMapPerProfile initializes an empty QueueingHintMapPerProfile for "" profile name.
    func makeEmptyQueueingHintMapPerProfile() QueueingHintMapPerProfile {
    	m := make(QueueingHintMapPerProfile)
    	m[""] = make(QueueingHintMap)
    	return m
    }
    
    func TestPriorityQueue_Add(t *testing.T) {
    	objs := []runtime.Object{medPriorityPodInfo.Pod, unschedulablePodInfo.Pod, highPriorityPodInfo.Pod}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/listener_inbound.go

    			}
    		}
    		l.FilterChains = append(l.FilterChains, chains...)
    	}
    	// If there are no filter chains, populate a dummy one that never matches. Envoy doesn't allow no chains, but removing the
    	// entire listeners makes the errors logs more confusing (instead of "no filter chain found" we have no listener at all).
    	if len(l.FilterChains) == 0 {
    		l.FilterChains = []*listener.FilterChain{{
    			Name: model.VirtualInboundBlackholeFilterChainName,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/dep-man/02-declaring-dependency-versions/dependency_locking.adoc

    Modifications to your build that would impact the resolved set of dependencies will cause it to fail.
    This makes sure that changes, either in published dependencies or build definitions, do not alter resolution without adapting the lock state.
    
    [NOTE]
    ====
    Dependency locking makes sense only with <<dynamic_versions.adoc#sub:declaring_dependency_with_dynamic_version,dynamic versions>>.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 16:55:22 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  9. cmd/erasure-healing-common.go

    	availableDisks = make([]StorageAPI, len(onlineDisks))
    
    	dataErrsByDisk = make(map[int][]int, len(onlineDisks))
    	for i := range onlineDisks {
    		dataErrsByDisk[i] = make([]int, len(latestMeta.Parts))
    	}
    
    	dataErrsByPart = make(map[int][]int, len(latestMeta.Parts))
    	for i := range latestMeta.Parts {
    		dataErrsByPart[i] = make([]int, len(onlineDisks))
    	}
    
    	inconsistent := 0
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  10. callbacks/preload.go

    		inlineConds      []interface{}
    	)
    
    	if rel.JoinTable != nil {
    		var (
    			joinForeignFields    = make([]*schema.Field, 0, len(rel.References))
    			joinRelForeignFields = make([]*schema.Field, 0, len(rel.References))
    			joinForeignKeys      = make([]string, 0, len(rel.References))
    		)
    
    		for _, ref := range rel.References {
    			if ref.OwnPrimaryKey {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:52:33 UTC 2024
    - 11.6K bytes
    - Viewed (0)
Back to top