Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 375 for initiatives (0.15 sec)

  1. pkg/scheduler/framework/plugins/schedulinggates/scheduling_gates.go

    		// Pods can be more schedulable once it's gates are removed
    		{Event: framework.ClusterEvent{Resource: framework.Pod, ActionType: framework.Update}, QueueingHintFn: pl.isSchedulableAfterPodChange},
    	}
    }
    
    // New initializes a new plugin and returns it.
    func New(_ context.Context, _ runtime.Object, _ framework.Handle, fts feature.Features) (framework.Plugin, error) {
    	return &SchedulingGates{
    		enableSchedulingQueueHint: fts.EnableSchedulingQueueHint,
    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. internal/config/cache/remote.go

    // if any present
    func canonicalizeETag(etag string) string {
    	return etagRegex.ReplaceAllString(etag, "$1")
    }
    
    // Init - populates the input values, initializes CondCheck
    // before sending the request remotely.
    func (r *CondCheck) Init(bucket, object string, header http.Header) {
    	r.Key = object
    	r.Bucket = bucket
    
    	ifModifiedSinceHeader := header.Get(xhttp.IfModifiedSince)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Nov 22 21:46:17 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  3. tensorflow/c/checkpoint_reader.cc

        : reader_(nullptr),
          v2_reader_(nullptr),
          var_to_shape_map_(nullptr),
          var_to_data_type_map_(nullptr) {
      // Depending on whether this is a V2 ckpt, initializes "reader_" or
      // "v2_reader_".
      std::vector<string> v2_path;
      if (Env::Default()->GetMatchingPaths(MetaFilename(filename), &v2_path).ok() &&
          !v2_path.empty()) {
        v2_reader_.reset(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 25 21:29:12 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/plugin/resourcequota/admission.go

    func (a *QuotaAdmission) SetExternalKubeInformerFactory(f informers.SharedInformerFactory) {
    	a.quotaAccessor.lister = f.Core().V1().ResourceQuotas().Lister()
    }
    
    // SetQuotaConfiguration assigns and initializes configuration and evaluator for QuotaAdmission
    func (a *QuotaAdmission) SetQuotaConfiguration(c quota.Configuration) {
    	a.quotaConfiguration = c
    	if a.stopCh == nil {
    		a.initializationErr = stopChUnconfiguredErr
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 23 10:34:50 UTC 2022
    - 5.8K bytes
    - Viewed (0)
  5. test/typeparam/listimp2.dir/a.go

    type List[T any] struct {
    	root Element[T] // sentinel list element, only &root, root.prev, and root.next are used
    	len  int        // current list length excluding (this) sentinel element
    }
    
    // Init initializes or clears list l.
    func (l *List[T]) Init() *List[T] {
    	l.root.next = &l.root
    	l.root.prev = &l.root
    	l.len = 0
    	return l
    }
    
    // New returns an initialized list.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 28 21:40:40 UTC 2021
    - 8K bytes
    - Viewed (0)
  6. src/runtime/mpagealloc_32bit.go

    		lo, hi := addrsToSummaryRange(l, base, limit)
    		_, hi = blockAlignSummaryRange(l, lo, hi)
    		if hi > len(p.summary[l]) {
    			p.summary[l] = p.summary[l][:hi]
    		}
    	}
    }
    
    // sysInit initializes the scavengeIndex' chunks array.
    //
    // Returns the amount of memory added to sysStat.
    func (s *scavengeIndex) sysInit(test bool, sysStat *sysMemStat) (mappedReady uintptr) {
    	if test {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 20 20:08:25 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  7. src/os/writeto_linux_test.go

    		t.Fatalf("data length mismatch for net.Conn.Read, got %d, want %d", m, dataSize)
    	}
    	if !bytes.Equal(dstData, data) {
    		t.Errorf("data mismatch, got %s, want %s", dstData, data)
    	}
    }
    
    // newSendFileTest initializes a new test for sendfile.
    //
    // It creates source file and destination sockets, and populates the source file
    // with random data of the specified size. It also hooks package os' call
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. plugin/pkg/auth/authenticator/token/bootstrap/bootstrap.go

    // because the existing functionality isn't exported or because it is in a
    // package that shouldn't be directly imported by this packages.
    
    // NewTokenAuthenticator initializes a bootstrap token authenticator.
    //
    // Lister is expected to be for the "kube-system" namespace.
    func NewTokenAuthenticator(lister corev1listers.SecretNamespaceLister) *TokenAuthenticator {
    	return &TokenAuthenticator{lister}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 30 20:38:15 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  9. pkg/scheduler/framework/plugins/nodeunschedulable/node_unschedulable.go

    		Effect: v1.TaintEffectNoSchedule,
    	})
    	if !podToleratesUnschedulable {
    		return framework.NewStatus(framework.UnschedulableAndUnresolvable, ErrReasonUnschedulable)
    	}
    
    	return nil
    }
    
    // New initializes a new plugin and returns it.
    func New(_ context.Context, _ runtime.Object, _ framework.Handle) (framework.Plugin, error) {
    	return &NodeUnschedulable{}, nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Dec 16 12:50:11 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  10. pkg/kube/multicluster/clusterstore.go

    type ClusterStore struct {
    	sync.RWMutex
    	// keyed by secret key(ns/name)->clusterID
    	remoteClusters map[string]map[cluster.ID]*Cluster
    	clusters       sets.String
    }
    
    // newClustersStore initializes data struct to store clusters information
    func newClustersStore() *ClusterStore {
    	return &ClusterStore{
    		remoteClusters: make(map[string]map[cluster.ID]*Cluster),
    		clusters:       sets.New[string](),
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 07 15:01:12 UTC 2023
    - 3.6K bytes
    - Viewed (0)
Back to top