Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 359 for index_2 (0.6 sec)

  1. pkg/api/job/warnings.go

    		if completions > completionsSoftLimit && parallelism > parallelismSoftLimitForUnlimitedCompletions {
    			msg := "In Indexed Jobs with a number of completions higher than 10^5 and a parallelism higher than 10^4, Kubernetes might not be able to track completedIndexes when a big number of indexes fail"
    			warnings = append(warnings, fmt.Sprintf("%s: %s", path, msg))
    		}
    	}
    	var oldPodTemplate *core.PodTemplateSpec
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 24 11:44:07 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modindex/scan.go

    		return nil
    	})
    	if err != nil {
    		return nil, err
    	}
    	return encodeModuleBytes(packages), nil
    }
    
    // indexPackage indexes the package at the given directory and returns its
    // encoded representation. It returns ErrNotIndexed if the package can't
    // be indexed.
    func indexPackage(modroot, pkgdir string) []byte {
    	fsys.Trace("indexPackage", pkgdir)
    	p := importRaw(modroot, relPath(pkgdir, modroot))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. test/index2.go

    // errorcheckoutput ./index.go
    
    // 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 output is error checked.
    
    package main
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 305 bytes
    - Viewed (0)
  4. src/internal/diff/diff.go

    			m[s] = c - 4
    		}
    	}
    
    	// Now unique strings can be identified by m[s] = -1+-4.
    	//
    	// Gather the indexes of those strings in x and y, building:
    	//	xi[i] = increasing indexes of unique strings in x.
    	//	yi[i] = increasing indexes of unique strings in y.
    	//	inv[i] = index j such that x[xi[i]] = y[yi[j]].
    	var xi, yi, inv []int
    	for i, s := range y {
    		if m[s] == -1+-4 {
    			m[s] = len(yi)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 14:13:04 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  5. cmd/metacache-bucket.go

    )
    
    // a bucketMetacache keeps track of all caches generated
    // for a bucket.
    type bucketMetacache struct {
    	// Name of bucket
    	bucket string
    
    	// caches indexed by id.
    	caches map[string]metacache
    	// cache ids indexed by root paths
    	cachesRoot map[string][]string `msg:"-"`
    
    	// Internal state
    	mu      sync.RWMutex `msg:"-"`
    	updated bool         `msg:"-"`
    }
    
    type deleteAllStorager interface {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/variable_info.h

      VariableInfo(const VariableInfo&) = delete;
      VariableInfo& operator=(const VariableInfo&) = delete;
    
      // The index of the DT_RESOURCE input to the _XlaCompile/_XlaRun operator.
      // Note that the indices can be different between _XlaCompile and _XlaRun.
      int index() const { return index_; }
    
      // A pointer to the resource variable.  May be null if this VariableInfo is
      // "empty", i.e. it does not track a resource variable.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 14 21:57:02 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modload/vendor.go

    	}
    
    	pre114 := false
    	if !inWorkspaceMode() { // workspace mode was added after Go 1.14
    		if len(indexes) != 1 {
    			panic(fmt.Errorf("not in workspace mode but number of indexes is %v, not 1", len(indexes)))
    		}
    		index := indexes[0]
    		if gover.Compare(index.goVersion, "1.14") < 0 {
    			// Go versions before 1.14 did not include enough information in
    			// vendor/modules.txt to check for consistency.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 24 18:09:22 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/variable_info.cc

    namespace tensorflow {
    
    VariableInfo::VariableInfo(
        int index, absl::string_view name, Var* var,
        const std::optional<ManagedStackTrace>& definition_stack_trace)
        : index_(index),
          name_(name),
          var_(var),
          definition_stack_trace_(definition_stack_trace) {}
    
    VariableInfo::VariableInfo(VariableInfo&& other)
        : index_(other.index_),
          var_(other.var_),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  9. pkg/test/loadbalancersim/loadbalancer/leastrequest.go

    	}
    }
    
    func (lb *unweightedLeastRequest) pick2() (*WeightedConnection, *WeightedConnection) {
    	numConnections := len(lb.conns)
    	index1 := lb.r.Intn(numConnections)
    	index2 := lb.r.Intn(numConnections)
    	if index2 == index1 {
    		index2 = (index2 + 1) % numConnections
    	}
    
    	return lb.get(index1), lb.get(index2)
    }
    
    func (lb *unweightedLeastRequest) Request(onDone func()) {
    	if len(lb.conns) == 1 {
    		lb.doRequest(lb.get(0), onDone)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Nov 14 20:23:34 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/collection/IndexedIterator.java

     *
     * List&lt;String&gt; list = ...;
     * for (Indexed&lt;String%gt; indexed : indexed(list)) {
     *     System.out.println(indexed.getIndex());
     *     System.out.println(indexed.getElement());
     * }
     * </pre>
     *
     * <pre>
     * import static org.codelibs.core.collection.IndexedIterator.*;
     * import static org.codelibs.core.io.LineIterator.*;
     *
     * BufferedReader reader = ...;
     * for (Indexed&lt;String%gt; indexed : indexed(iterable(reader))) {
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top