Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 268 for Indexes (0.17 sec)

  1. staging/src/k8s.io/api/batch/v1/types.go

    type SuccessPolicyRule struct {
    	// 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 Jun 05 18:37:07 UTC 2024
    - 40.6K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/mod/sumdb/tlog/tile.go

    		size = 1 << uint(t.H)
    	}
    	start := t.N << uint(t.H)
    	indexes := make([]int64, size)
    	for i := 0; i < size; i++ {
    		indexes[i] = StoredHashIndex(t.H*t.L, start+int64(i))
    	}
    
    	hashes, err := r.ReadHashes(indexes)
    	if err != nil {
    		return nil, err
    	}
    	if len(hashes) != len(indexes) {
    		return nil, fmt.Errorf("tlog: ReadHashes(%d indexes) = %d hashes", len(indexes), len(hashes))
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13K bytes
    - Viewed (0)
  3. pkg/apis/batch/types.go

    type SuccessPolicyRule struct {
    	// 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
    - 33K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. pilot/pkg/model/typed_xds_cache_test.go

    		},
    	}
    
    	c := newTypedXdsCache[uint64]()
    
    	cache := c.(*lruCache[uint64])
    
    	assert.Equal(t, cache.store.Len(), 0)
    	assert.Equal(t, cache.indexLength(), 0)
    
    	// adding the entry populates the indexes
    	c.Add(firstEntry.Key(), firstEntry, req, res)
    
    	assert.Equal(t, cache.store.Len(), 1)
    	assert.Equal(t, cache.indexLength(), 2)
    	assert.Equal(t, cache.configIndexSnapshot(), map[ConfigHash]sets.Set[uint64]{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jan 29 20:35:31 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  9. src/vendor/golang.org/x/text/unicode/bidi/core.go

    // either L or R, for each isolating run sequence.
    func (p *paragraph) isolatingRunSequence(indexes []int) *isolatingRunSequence {
    	length := len(indexes)
    	types := make([]Class, length)
    	for i, x := range indexes {
    		types[i] = p.resultTypes[x]
    	}
    
    	// assign level, sos and eos
    	prevChar := indexes[0] - 1
    	for prevChar >= 0 && isRemovedByX9(p.initialTypes[prevChar]) {
    		prevChar--
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 16 22:26:23 UTC 2022
    - 29.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/DenseImmutableTable.java

        // requireNonNull is safe because we use indexes that were populated by the constructor.
        V value = requireNonNull(values[rowIndex][columnIndex]);
        return cellOf(rowKey, columnKey, value);
      }
    
      @Override
      V getValue(int index) {
        // requireNonNull is safe because we use indexes that were populated by the constructor.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 10K bytes
    - Viewed (0)
Back to top