Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 317 for indices (0.29 sec)

  1. pkg/scheduler/framework/plugins/dynamicresources/structured/namedresources/namedresourcesmodel.go

    	indices, err := c.allocate(ctx, model)
    	return len(indices) == len(c.requests), err
    }
    
    func (c *Controller) Allocate(ctx context.Context, model Model) ([]*resourceapi.NamedResourcesAllocationResult, error) {
    	indices, err := c.allocate(ctx, model)
    	if err != nil {
    		return nil, err
    	}
    	if len(indices) != len(c.requests) {
    		return nil, errors.New("insufficient resources")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:26:16 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. src/go/internal/typeparams/typeparams.go

    	case *ast.IndexExpr:
    		return &IndexExpr{
    			Orig:    e,
    			X:       e.X,
    			Lbrack:  e.Lbrack,
    			Indices: []ast.Expr{e.Index},
    			Rbrack:  e.Rbrack,
    		}
    	case *ast.IndexListExpr:
    		return &IndexExpr{
    			Orig:    e,
    			X:       e.X,
    			Lbrack:  e.Lbrack,
    			Indices: e.Indices,
    			Rbrack:  e.Rbrack,
    		}
    	}
    	return nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:17:05 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. src/index/suffixarray/suffixarray.go

    		// indices in the first place (if it returned fewer than that then
    		// there cannot be more).
    		for n1 := n; ; n1 += 2 * (n - len(result)) /* overflow ok */ {
    			indices := x.Lookup(lit, n1)
    			if len(indices) == 0 {
    				return
    			}
    			slices.Sort(indices)
    			pairs := make([]int, 2*len(indices))
    			result = make([][]int, len(indices))
    			count := 0
    			prev := 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/internal/typeparams/common.go

    		return e.X, e.Lbrack, e.Indices, e.Rbrack
    	}
    	return nil, token.NoPos, nil, token.NoPos
    }
    
    // PackIndexExpr returns an *ast.IndexExpr or *ast.IndexListExpr, depending on
    // the cardinality of indices. Calling PackIndexExpr with len(indices) == 0
    // will panic.
    func PackIndexExpr(x ast.Expr, lbrack token.Pos, indices []ast.Expr, rbrack token.Pos) ast.Expr {
    	switch len(indices) {
    	case 0:
    		panic("empty indices")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/util/UpgradeUtil.java

    import org.opensearch.action.admin.indices.exists.indices.IndicesExistsResponse;
    import org.opensearch.action.admin.indices.mapping.get.GetFieldMappingsResponse;
    import org.opensearch.action.admin.indices.mapping.get.GetFieldMappingsResponse.FieldMappingMetadata;
    import org.opensearch.action.admin.indices.mapping.get.GetMappingsResponse;
    import org.opensearch.action.admin.indices.mapping.put.PutMappingRequestBuilder;
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/passes/fold_constant_transpose.cc

    namespace {
    
    // Returns contiguous offset (address) of the position represented by `indices`
    // in a `shape` shaped tensor. Assumes row-major order. `indices` and `shape`
    // should have the same size.
    // Example: Index (2, 3) of a (4, 5)-shaped tensor has the contiguous offset of
    // 2 * 5 + 3 = 13.
    int64_t GetContiguousOffset(const ArrayRef<int64_t> indices,
                                const ArrayRef<int64_t> shape) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  7. src/mdo/java/InputLocation.java

         *
         * @param target the target location
         * @param source the source location
         * @param indices the list of integers for the indices
         * @return the merged location
         */
        public static InputLocation merge(InputLocation target, InputLocation source, Collection<Integer> indices) {
            if (source == null) {
                return target;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 07 21:28:01 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/normalizer/AnalyzerNormalizer.java

    import java.util.List;
    
    import org.codelibs.fess.suggest.settings.AnalyzerSettings;
    import org.codelibs.fess.suggest.settings.SuggestSettings;
    import org.opensearch.action.admin.indices.analyze.AnalyzeAction;
    import org.opensearch.action.admin.indices.analyze.AnalyzeAction.AnalyzeToken;
    import org.opensearch.client.Client;
    
    public class AnalyzerNormalizer implements Normalizer {
        protected final Client client;
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/converter/AnalyzerConverter.java

    import java.util.List;
    
    import org.codelibs.fess.suggest.settings.AnalyzerSettings;
    import org.codelibs.fess.suggest.settings.SuggestSettings;
    import org.opensearch.action.admin.indices.analyze.AnalyzeAction;
    import org.opensearch.action.admin.indices.analyze.AnalyzeAction.AnalyzeToken;
    import org.opensearch.client.Client;
    import org.opensearch.core.common.Strings;
    
    import com.ibm.icu.text.Transliterator;
    
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/decompose_resource_op.mlir

    // CHECK-NEXT: tfrt.return [[out_chain]], [[res]] : !tfrt.chain, !tfrt_fallback.tf_tensor
    func.func @gather(%indices: tensor<?xi32>,
                 %resource: tensor<*x!tf_type.resource>) -> tensor<*xi32> {
      %0 = "tf.ResourceGather"(%resource, %indices) {batch_dims = 0 : i64, device = "/device:CPU:0", validate_indices = true}: (tensor<*x!tf_type.resource>, tensor<?xi32>) -> (tensor<*xi32>)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 00:40:32 UTC 2024
    - 1.2K bytes
    - Viewed (0)
Back to top