Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 359 for index_2 (0.11 sec)

  1. test/typeparam/index2.go

    	y := [5]int64{1, 2, 3, 4, 5}
    	z := "abcd"
    	w := make([]byte, 4)
    	w[3] = 5
    	v := make(map[int]int64)
    	v[3] = 18
    
    	test(Index1(x), int64(2))
    	test(Index1(y), int64(4))
    	test(Index2(z), byte(100))
    	test(Index2(w), byte(5))
    	test(Index2a(w), byte(5))
    	test(Index3(v), int64(18))
    	test(Index4(v), int64(18))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  2. pkg/controller/volume/persistentvolume/index.go

    	// PVs are indexed by their access modes to allow easier searching.  Each
    	// index is the string representation of a set of access modes. There is a
    	// finite number of possible sets and PVs will only be indexed in one of
    	// them (whichever index matches the PV's modes).
    	//
    	// A request for resources will always specify its desired access modes.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 6.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/collection/Indexed.java

     *            要素の型
     * @see IndexedIterator
     */
    public class Indexed<T> {
    
        /** 要素 */
        private final T element;
    
        /** 要素のインデックス */
        private final int index;
    
        /**
         * コンストラクタ
         *
         * @param element
         *            要素
         * @param index
         *            要素のインデックス
         */
        public Indexed(final T element, final int index) {
            this.element = element;
            this.index = index;
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. schema/index.go

    				})
    
    				indexes[index.Name] = idx
    			}
    		}
    	}
    	for _, index := range indexes {
    		if index.Class == "UNIQUE" && len(index.Fields) == 1 {
    			index.Fields[0].Field.UniqueIndex = index.Name
    		}
    	}
    	return indexes
    }
    
    func (schema *Schema) LookIndex(name string) *Index {
    	if schema != nil {
    		indexes := schema.ParseIndexes()
    		for _, index := range indexes {
    			if index.Name == name {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Sun Feb 04 07:49:19 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/reduce.cc

          value_eq.getRhs() != body.getArgument(2))
        return failure();
    
      mhlo::CompareOp index_lt = llvm::dyn_cast_or_null<mhlo::CompareOp>(
          index_and.getRhs().getDefiningOp());
      if (!index_lt ||
          index_lt.getComparisonDirection() != mhlo::ComparisonDirection::LT ||
          index_lt.getLhs() != body.getArgument(1) ||
          index_lt.getRhs() != body.getArgument(3))
        return failure();
    
      return success();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 20:53:17 UTC 2024
    - 8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/server/routes/index.go

    		for _, path := range provider.ListedPaths() {
    			ret.Insert(path)
    		}
    	}
    
    	return ret.List()
    }
    
    // Index provides a webservice for the http root / listing all known paths.
    type Index struct{}
    
    // Install adds the Index webservice to the given mux.
    func (i Index) Install(pathProvider ListedPathProvider, mux *mux.PathRecorderMux) {
    	handler := IndexLister{StatusCode: http.StatusOK, PathProvider: pathProvider}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 03 20:21:45 UTC 2017
    - 2.1K bytes
    - Viewed (0)
  7. test/index.go

    // skip
    
    // Copyright 2010 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Generate test of index and slice bounds checks.
    // The actual tests are index0.go, index1.go, index2.go.
    
    package main
    
    import (
    	"bufio"
    	"fmt"
    	"os"
    	"unsafe"
    )
    
    const prolog = `
    
    package main
    
    import (
    	"runtime"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Sep 08 17:28:20 UTC 2019
    - 6.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableSortedAsList.java

        return delegateCollection().comparator();
      }
    
      // Override indexOf() and lastIndexOf() to be O(log N) instead of O(N).
    
      @GwtIncompatible // ImmutableSortedSet.indexOf
      // TODO(cpovirk): consider manual binary search under GWT to preserve O(log N) lookup
      @Override
      public int indexOf(@CheckForNull Object target) {
        int index = delegateCollection().indexOf(target);
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  9. pkg/controller/job/metrics/metrics.go

    		}, []string{"event"})
    
    	// JobFinishedIndexesTotal records the number of finished indexes.
    	JobFinishedIndexesTotal = metrics.NewCounterVec(
    		&metrics.CounterOpts{
    			Subsystem: JobControllerSubsystem,
    			Name:      "job_finished_indexes_total",
    			Help: `The number of finished indexes. Possible values for the
    			status label are: "succeeded", "failed". Possible values for the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 17:25:15 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  10. pilot/pkg/serviceregistry/util/workloadinstances/index.go

    	"istio.io/istio/pkg/util/sets"
    )
    
    // Index reprensents an index over workload instances from workload entries.
    //
    // Indexes are thread-safe.
    type Index interface {
    	// Insert adds/updates given workload instance to the index.
    	//
    	// Returns previous value in the index, or nil otherwise.
    	Insert(*model.WorkloadInstance) *model.WorkloadInstance
    	// Delete removes given workload instance from the index.
    	//
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 16 05:45:36 UTC 2023
    - 4.1K bytes
    - Viewed (0)
Back to top