Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for uniqueStrs (0.18 sec)

  1. pkg/kubelet/network/dns/dns.go

    		ClusterDomain:    clusterDomain,
    		ResolverConfig:   resolverConfig,
    	}
    }
    
    func omitDuplicates(strs []string) []string {
    	uniqueStrs := make(map[string]bool)
    
    	var ret []string
    	for _, str := range strs {
    		if !uniqueStrs[str] {
    			ret = append(ret, str)
    			uniqueStrs[str] = true
    		}
    	}
    	return ret
    }
    
    func (c *Configurer) formDNSSearchFitsLimits(composedSearch []string, pod *v1.Pod) []string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 04 11:37:10 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  2. pkg/proxy/ipvs/graceful_termination.go

    func (q *graceTerminateRSList) add(rs *listItem) bool {
    	q.lock.Lock()
    	defer q.lock.Unlock()
    
    	uniqueRS := rs.String()
    	if _, ok := q.list[uniqueRS]; ok {
    		return false
    	}
    
    	klog.V(5).InfoS("Adding real server to graceful delete real server list", "realServer", rs)
    	q.list[uniqueRS] = rs
    	return true
    }
    
    // remove remove an element from the rsList
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  3. pkg/proxy/ipvs/proxier.go

    			uniqueRS := GetUniqueRSName(vs, newDest)
    			if !proxier.gracefuldeleteManager.InTerminationList(uniqueRS) {
    				continue
    			}
    			proxier.logger.V(5).Info("new ep is in graceful delete list", "uniqueRealServer", uniqueRS)
    			err := proxier.gracefuldeleteManager.MoveRSOutofGracefulDeleteList(uniqueRS)
    			if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 28 15:51:23 UTC 2024
    - 77.7K bytes
    - Viewed (0)
  4. tensorflow/c/eager/tape.h

      // TODO(apassos) consider narrowing down this interface.
      BackwardFunction* backward_function;
    
      // Should be called before deleting the backward function. TODO(apassos) use
      // unique_ptrs to ensure this happens.
      std::function<void(BackwardFunction*)> backward_function_deleter;
    };
    
    // Map from tensor_id to internally-defined operation-id of the operation which
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 02 12:40:29 UTC 2024
    - 47.2K bytes
    - Viewed (0)
Back to top