Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 168 for Indexes (5.78 sec)

  1. pkg/kubelet/kuberuntime/kuberuntime_gc_test.go

    		sandboxes            []sandboxTemplate   // templates of sandboxes
    		containers           []containerTemplate // templates of containers
    		remain               []int               // template indexes of remaining sandboxes
    		evictTerminatingPods bool
    	}{
    		{
    			description: "notready sandboxes without containers for deleted pods should be garbage collected.",
    			sandboxes: []sandboxTemplate{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  2. cmd/endpoint-ellipses.go

    		return setCounts[i] < setCounts[j]
    	})
    
    	return setCounts
    }
    
    // getSetIndexes returns list of indexes which provides the set size
    // on each index, this function also determines the final set size
    // The final set size has the affinity towards choosing smaller
    // indexes (total sets)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/block.go

    //
    //	b.Succs = [{c,3}, {d,1}]
    //	c.Preds = [?, ?, ?, {b,0}]
    //	d.Preds = [?, {b,1}, ?]
    //
    // These indexes allow us to edit the CFG in constant time.
    // In addition, it informs phi ops in degenerate cases like:
    //
    //	b:
    //	   if k then c else c
    //	c:
    //	   v = Phi(x, y)
    //
    // Then the indexes tell you whether x is chosen from
    // the if or else branch from b.
    //
    //	b.Succs = [{c,0},{c,1}]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_driver.h

            operand_op != nullptr) {
          work_list_.push_back(operand_op);
        }
      }
    
      // Returns the quantization params for the bias input from the non-bias
      // operands which have their indexes in the `non_biases` vector. The returned
      // parameters are calculated by `func`.
      QuantizedType GetBiasParams(Operation* op, int bias_index,
                                  ArrayRef<int> non_bias_operand_indices,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 20 11:42:17 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Streams.java

      }
    
      /**
       * Returns a stream consisting of the results of applying the given function to the elements of
       * {@code stream} and their indexes in the stream. For example,
       *
       * <pre>{@code
       * mapWithIndex(
       *     IntStream.of(10, 11, 12),
       *     (e, index) -> index + ":" + e)
       * }</pre>
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 36.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/quantization/quantization_context.h

        // satisfy the same operands and results constraint. The keys of this map
        // are the values from `operand_states_` and `result_state_`.
        std::unordered_map<int, RequantizeState> rescale_states_;
    
        // Maps of indexes to the propagation state vector from the ops operands,
        // results and arguments.
        llvm::DenseMap<OpValue, int> operand_states_;
        llvm::DenseMap<OpValue, int> result_states_;
      };
    
      func::FuncOp func_;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 08 01:38:03 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  7. pkg/kubelet/pod/pod_manager.go

    // AddPod, UpdatePod, or RemovePod.
    type basicManager struct {
    	// Protects all internal maps.
    	lock sync.RWMutex
    
    	// Regular pods indexed by UID.
    	podByUID map[kubetypes.ResolvedPodUID]*v1.Pod
    	// Mirror pods indexed by UID.
    	mirrorPodByUID map[kubetypes.MirrorPodUID]*v1.Pod
    
    	// Pods indexed by full name for easy access.
    	podByFullName       map[string]*v1.Pod
    	mirrorPodByFullName map[string]*v1.Pod
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:00 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/utils/utils.h

        ShapedType input_type, ShapedType output_type) {
      ArrayRef<int64_t> in_shape = input_type.getShape();
      ArrayRef<int64_t> out_shape = output_type.getShape();
    
      // Get the indexes of the non-identity dimensions and the identity dimensions
      // in the input shape.
      SmallVector<int32_t> input_nonidentity_dims_index_array;
      SmallVector<int32_t> input_identity_dims_index_array;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache.go

    		if err != nil {
    			return nil, err
    		}
    		return objIndexFunc(seo)
    	}
    }
    
    func storeElementIndexers(indexers *cache.Indexers) cache.Indexers {
    	if indexers == nil {
    		return cache.Indexers{}
    	}
    	ret := cache.Indexers{}
    	for indexName, indexFunc := range *indexers {
    		ret[indexName] = storeElementIndexFunc(indexFunc)
    	}
    	return ret
    }
    
    // watchCache implements a Store interface.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 10:20:57 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  10. src/math/rand/rand.go

    		m[i] = m[j]
    		m[j] = i
    	}
    	return m
    }
    
    // Shuffle pseudo-randomizes the order of elements.
    // n is the number of elements. Shuffle panics if n < 0.
    // swap swaps the elements with indexes i and j.
    func (r *Rand) Shuffle(n int, swap func(i, j int)) {
    	if n < 0 {
    		panic("invalid argument to Shuffle")
    	}
    
    	// Fisher-Yates shuffle: https://en.wikipedia.org/wiki/Fisher%E2%80%93Yates_shuffle
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:09:08 UTC 2024
    - 16.9K bytes
    - Viewed (0)
Back to top