Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 170 for vols (0.15 sec)

  1. pkg/kube/krt/static.go

    )
    
    type staticList[T any] struct {
    	vals map[Key[T]]T
    	id   collectionUID
    }
    
    func NewStaticCollection[T any](vals []T) Collection[T] {
    	res := map[Key[T]]T{}
    	for _, v := range vals {
    		res[GetKey(v)] = v
    	}
    	return &staticList[T]{
    		vals: res,
    		id:   nextUID(),
    	}
    }
    
    func (s *staticList[T]) GetKey(k Key[T]) *T {
    	if o, f := s.vals[k]; f {
    		return &o
    	}
    	return nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. pkg/volume/git_repo/git_repo_test.go

    		},
    		{
    			name: "invalid-repository",
    			vol: &v1.Volume{
    				Name: "vol1",
    				VolumeSource: v1.VolumeSource{
    					GitRepo: &v1.GitRepoVolumeSource{
    						Repository: "--foo",
    					},
    				},
    			},
    			isExpectedFailure: true,
    		},
    		{
    			name: "invalid-revision",
    			vol: &v1.Volume{
    				Name: "vol1",
    				VolumeSource: v1.VolumeSource{
    					GitRepo: &v1.GitRepoVolumeSource{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 02 08:26:26 UTC 2024
    - 12K bytes
    - Viewed (0)
  3. tensorflow/c/kernels.h

    // it into *vals. *status is set to TF_OK.
    // `vals` must point to an array of length at least `max_values`
    // (ideally set to list_size from TF_OpKernelConstruction_GetAttrSize(ctx,
    // attr_name, list_size, total_size)).
    //
    // The caller takes ownership of all the non-null TF_Tensor* entries in `vals`
    // (which can be deleted using TF_DeleteTensor(vals[i])).
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 09 22:46:22 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  4. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/console/DefaultAnsiExecutorTest.groovy

        def "writing a long line that wraps will callback the listener"() {
            given:
            consoleMetaData.cols >> TERMINAL_WIDTH
            Cursor writePos = Cursor.at(3, 0)
            int startRow = writePos.row
            String text = "A" * TERMINAL_WIDTH +
                "B" * TERMINAL_WIDTH +
                "C" * TERMINAL_WIDTH +
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  5. pkg/volume/util/operationexecutor/node_expander_test.go

    		assumeResizeOpAsFinished bool
    		expectError              bool
    	}{
    		{
    			name: "pv.spec.cap > pvc.status.cap, resizeStatus=node_expansion_failed",
    			pvc:  getTestPVC("test-vol0", "2G", "1G", "", &nodeResizeFailed),
    			pv:   getTestPV("test-vol0", "2G"),
    
    			expectedResizeStatus:     nodeResizeFailed,
    			expectResizeCall:         false,
    			assumeResizeOpAsFinished: true,
    			expectedStatusSize:       resource.MustParse("1G"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. src/sync/poolqueue.go

    func (d *poolDequeue) pushHead(val any) bool {
    	ptrs := d.headTail.Load()
    	head, tail := d.unpack(ptrs)
    	if (tail+uint32(len(d.vals)))&(1<<dequeueBits-1) == head {
    		// Queue is full.
    		return false
    	}
    	slot := &d.vals[head&uint32(len(d.vals)-1)]
    
    	// Check if the head slot has been released by popTail.
    	typ := atomic.LoadPointer(&slot.typ)
    	if typ != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 18:12:29 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  7. manifests/charts/istiod-remote/templates/istiod-injector-configmap.yaml

    data:
    {{/* Scope the values to just top level fields used in the template, to reduce the size. */}}
      values: |-
    {{ $vals := pick .Values "global" "istio_cni" "sidecarInjectorWebhook" "revision" -}}
    {{ $pilotVals := pick .Values.pilot "cni" -}}
    {{ $vals = set $vals "pilot" $pilotVals -}}
    {{ $vals | toPrettyJson | indent 4 }}
    
      # To disable injection: use omitSidecarInjectorConfigMap, which disables the webhook patching
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 18:16:49 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  8. manifests/charts/istio-control/istio-discovery/templates/istiod-injector-configmap.yaml

    data:
    {{/* Scope the values to just top level fields used in the template, to reduce the size. */}}
      values: |-
    {{ $vals := pick .Values "global" "istio_cni" "sidecarInjectorWebhook" "revision" -}}
    {{ $pilotVals := pick .Values.pilot "cni" -}}
    {{ $vals = set $vals "pilot" $pilotVals -}}
    {{ $vals | toPrettyJson | indent 4 }}
    
      # To disable injection: use omitSidecarInjectorConfigMap, which disables the webhook patching
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 18:16:49 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/DefaultWorkInProgressFormatter.java

            // layout weirdness
            int maxWidth;
            int cols = consoleMetaData.getCols();
            if (cols > 0) {
                maxWidth = cols - 1;
            } else {
                // Assume 80 wide. This is to minimize wrapping on console where we don't know the width (eg mintty)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  10. test/fixedbugs/issue16016.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"runtime"
    	"time"
    )
    
    type T struct{}
    
    func (*T) Foo(vals []interface{}) {
    	switch v := vals[0].(type) {
    	case string:
    		_ = v
    	}
    }
    
    type R struct{ *T }
    
    type Q interface {
    	Foo([]interface{})
    }
    
    func main() {
    	var count = 10000
    	if runtime.Compiler == "gccgo" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:39:06 UTC 2024
    - 877 bytes
    - Viewed (0)
Back to top