Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,164 for fetches (0.3 sec)

  1. pkg/kubelet/volumemanager/populator/desired_state_of_world_populator.go

    	if pvc.Spec.VolumeName == "" {
    		return nil, errors.New("PVC has empty pvc.Spec.VolumeName")
    	}
    
    	return pvc, nil
    }
    
    // getPVSpec fetches the PV object with the given name from the API server
    // and returns a volume.Spec representing it.
    // An error is returned if the call to fetch the PV object fails.
    func (dswp *desiredStateOfWorldPopulator) getPVSpec(
    	name string,
    	pvcReadOnly bool,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 09:02:45 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/podtopologyspread/filtering.go

    		pair := topologyPair{key: k, value: v}
    		s.TpPairToMatchNum[pair] += delta
    		s.TpKeyToCriticalPaths[k].update(v, s.TpPairToMatchNum[pair])
    	}
    }
    
    // getPreFilterState fetches a pre-computed preFilterState.
    func getPreFilterState(cycleState *framework.CycleState) (*preFilterState, error) {
    	c, err := cycleState.Read(preFilterStateKey)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 10:42:29 UTC 2024
    - 12.4K bytes
    - Viewed (1)
  3. tensorflow/c/c_api_test.cc

      TF_Output feeds[] = {TF_Output{a, 0}, TF_Output{b, 0}};
      TF_Output fetches[] = {TF_Output{plus2, 0}, TF_Output{plusB, 0}};
    
      const char* handle = nullptr;
      TF_SessionPRunSetup(sess, feeds, TF_ARRAYSIZE(feeds), fetches,
                          TF_ARRAYSIZE(fetches), nullptr, 0, &handle, s);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
      // Feed A and fetch A + 2.
      TF_Output feeds1[] = {TF_Output{a, 0}};
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 96.9K bytes
    - Viewed (0)
  4. cluster/images/etcd-version-monitor/etcd-version-monitor.go

    	}).Set(0)
    	*lastSeenBinaryVersion = version.BinaryVersion
    	return nil
    }
    
    // Periodically fetches etcd version info.
    func getVersionPeriodically(stopCh <-chan struct{}) {
    	lastSeenBinaryVersion := ""
    	for {
    		if err := getVersion(&lastSeenBinaryVersion); err != nil {
    			klog.Errorf("Failed to fetch etcd version: %v", err)
    		}
    		select {
    		case <-stopCh:
    			return
    		case <-time.After(scrapeTimeout):
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Dec 16 06:50:02 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  5. cmd/peer-rest-server.go

    	globalBucketHTTPStats.delete(bucketName)
    	if localMetacacheMgr != nil {
    		localMetacacheMgr.deleteBucketCache(bucketName)
    	}
    	return
    }
    
    // GetAllBucketStatsHandler - fetches bucket replication stats for all buckets from this peer.
    func (s *peerRESTServer) GetAllBucketStatsHandler(mss *grid.MSS) (*BucketStatsMap, *grid.RemoteErr) {
    	replicationStats := globalReplicationStats.GetAll()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  6. tensorflow/c/c_api.h

    // TF_ImportGraphDefResults holds results that are generated by
    // TF_GraphImportGraphDefWithResults().
    typedef struct TF_ImportGraphDefResults TF_ImportGraphDefResults;
    
    // Fetches the return outputs requested via
    // TF_ImportGraphDefOptionsAddReturnOutput(). The number of fetched outputs is
    // returned in `num_outputs`. The array of return outputs is returned in
    // `outputs`. `*outputs` is owned by and has the lifetime of `results`.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  7. pkg/kube/krt/collection_test.go

    	lblFoo := map[string]string{"app": "foo"}
    	lblBar := map[string]string{"app": "bar"}
    	// Setup a simple collection that fetches the same dependency twice
    	Results := krt.NewCollection(pods, func(ctx krt.HandlerContext, i *corev1.Pod) *Result {
    		foos := krt.Fetch(ctx, configMaps, krt.FilterLabel(lblFoo))
    		bars := krt.Fetch(ctx, configMaps, krt.FilterLabel(lblBar))
    		names := slices.Map(foos, func(f *corev1.ConfigMap) string { return f.Name })
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 28 04:22:19 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  8. pilot/test/xdstest/extract.go

    		for _, s := range tl.GetCommonTlsContext().GetTlsCertificateSdsSecretConfigs() {
    			resourceNames.Insert(s.GetName())
    		}
    	}
    	return resourceNames.UnsortedList()
    }
    
    // ExtractSecretResources fetches all referenced SDS resource names from a list of clusters and listeners
    func ExtractSecretResources(t test.Failer, rs []*anypb.Any) []string {
    	resourceNames := sets.New[string]()
    	for _, r := range rs {
    		switch r.TypeUrl {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 19 22:42:42 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/endpoints/discovery/aggregated/handler.go

    			// Equal priority uses name to break ties
    			return iName < jName
    		}
    
    		// i sorts before j if it has a higher priority
    		return iPriority > jPriority
    	})
    
    	return groups
    }
    
    // Fetches from cache if it exists. If cache is empty, create it.
    func (rdm *resourceDiscoveryManager) fetchFromCache() *cachedGroupList {
    	rdm.lock.RLock()
    	defer rdm.lock.RUnlock()
    
    	cacheLoad := rdm.cache.Load()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 00:29:39 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/phases/upgrade/compute.go

    	KubeSchedulerVersions         map[string][]string
    	EtcdVersions                  map[string][]string
    	KubeletVersions               map[string][]string
    }
    
    // GetAvailableUpgrades fetches all versions from the specified VersionGetter and computes which
    // kinds of upgrades can be performed
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 03 03:03:29 UTC 2024
    - 14.3K bytes
    - Viewed (0)
Back to top