Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 603 for Indexes (2.02 sec)

  1. staging/src/k8s.io/api/batch/v1/generated.proto

    message SuccessPolicyRule {
      // succeededIndexes specifies the set of indexes
      // which need to be contained in the actual set of the succeeded indexes for the Job.
      // The list of indexes must be within 0 to ".spec.completions-1" and
      // must not contain duplicates. At least one element is required.
      // The indexes are represented as intervals separated by commas.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 12:01:28 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  2. src/vendor/golang.org/x/text/unicode/bidi/bracket.go

    	indexes          []int   // array of index values into the original string
    
    }
    
    // matchOpener reports whether characters at given positions form a matching
    // bracket pair.
    func (p *bracketPairer) matchOpener(pairValues []rune, opener, closer int) bool {
    	return pairValues[p.indexes[opener]] == pairValues[p.indexes[closer]]
    }
    
    const maxPairingDepth = 63
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 19:27:51 UTC 2019
    - 11.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/kernels/xla_ops.h

      ~XlaLocalLaunchBase() override = default;
    
      void ComputeAsync(OpKernelContext* ctx, DoneCallback done) override;
    
     protected:
      // Indexes of compile-time constant inputs
      const std::vector<int> constants_;
      // Indexes of resource inputs
      const std::vector<int> resources_;
    
      const NameAttrList function_;
      const XlaPlatformInfo platform_info_;
    
      bool has_ref_vars_;
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 16 23:44:26 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  4. 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
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 24 18:09:22 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  5. src/internal/diff/diff.go

    		if c := m[s]; c > -8 {
    			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 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 14:13:04 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  6. cmd/endpoint-ellipses_test.go

    			}
    			if !reflect.DeepEqual(testCase.indexes, gotIndexes) {
    				t.Errorf("Expected %v, got %v", testCase.indexes, gotIndexes)
    			}
    		})
    	}
    }
    
    // Test tests calculating set indexes.
    func TestGetSetIndexes(t *testing.T) {
    	testCases := []struct {
    		args       []string
    		totalSizes []uint64
    		indexes    [][]uint64
    		success    bool
    	}{
    		// Invalid inputs.
    		{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  7. pkg/controller/job/indexed_job_utils_test.go

    			if diff := cmp.Diff(tc.wantStatusIntervals, gotStatusIntervals); diff != "" {
    				t.Errorf("Unexpected completed indexes from status (-want,+got):\n%s", diff)
    			}
    			if diff := cmp.Diff(tc.wantIntervals, gotIntervals); diff != "" {
    				t.Errorf("Unexpected completed indexes (-want,+got):\n%s", diff)
    			}
    		})
    	}
    }
    
    func TestIsIndexFailed(t *testing.T) {
    	logger, _ := ktesting.NewTestContext(t)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  8. src/text/template/funcs.go

    // argument must be a string, slice, or array.
    func slice(item reflect.Value, indexes ...reflect.Value) (reflect.Value, error) {
    	item = indirectInterface(item)
    	if !item.IsValid() {
    		return reflect.Value{}, fmt.Errorf("slice of untyped nil")
    	}
    	if len(indexes) > 3 {
    		return reflect.Value{}, fmt.Errorf("too many slice indexes: %d", len(indexes))
    	}
    	var cap int
    	switch item.Kind() {
    	case reflect.String:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/s390x/rotate.go

    }
    
    // NewRotateParams creates a set of parameters representing a
    // rotation left by the amount provided and a selection of the bits
    // between the provided start and end indexes (inclusive).
    //
    // The start and end indexes and the rotation amount must all
    // be in the range 0-63 inclusive or this function will panic.
    func NewRotateParams(start, end, amount uint8) RotateParams {
    	if start&^63 != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 21 19:19:04 UTC 2020
    - 3.6K bytes
    - Viewed (0)
  10. test/fixedbugs/issue4620.go

    // run
    
    // Copyright 2013 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.
    
    // Issue 4620: map indexes are not evaluated before assignment of other elements
    
    package main
    
    import "fmt"
    
    func main() {
    	m := map[int]int{0:1}
    	i := 0
    	i, m[i] = 1, 2
    	if m[0] != 2 {
    		fmt.Println(m)
    		panic("m[i] != 2")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 398 bytes
    - Viewed (0)
Back to top