Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 72 for const1 (0.1 sec)

  1. pkg/volume/util/operationexecutor/operation_generator.go

    	"k8s.io/kubernetes/pkg/volume/util"
    	"k8s.io/kubernetes/pkg/volume/util/hostutil"
    	volumetypes "k8s.io/kubernetes/pkg/volume/util/types"
    	"k8s.io/kubernetes/pkg/volume/util/volumepathhandler"
    )
    
    const (
    	unknownVolumePlugin                  string = "UnknownVolumePlugin"
    	unknownAttachableVolumePlugin        string = "UnknownAttachableVolumePlugin"
    	DetachOperationName                  string = "volume_detach"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 101.4K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_pods_test.go

    	}
    	for i, c := range status.EphemeralContainerStatuses {
    		if c.Name == name {
    			return &status.EphemeralContainerStatuses[i]
    		}
    	}
    	return nil
    }
    
    func TestGetExec(t *testing.T) {
    	const (
    		podName                = "podFoo"
    		podNamespace           = "nsFoo"
    		podUID       types.UID = "12345678"
    		containerID            = "containerFoo"
    		tty                    = true
    	)
    	var (
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
  3. cmd/object-handlers_test.go

    	xhttp "github.com/minio/minio/internal/http"
    	ioutilx "github.com/minio/minio/internal/ioutil"
    )
    
    // Type to capture different modifications to API request to simulate failure cases.
    type Fault int
    
    const (
    	None Fault = iota
    	MissingContentLength
    	TooBigObject
    	TooBigDecodedLength
    	BadSignature
    	BadMD5
    	MissingUploadID
    )
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 161.9K bytes
    - Viewed (0)
  4. pkg/apis/apps/validation/validation_test.go

    			},
    			Spec: api.PodSpec{
    				RestartPolicy:         api.RestartPolicyAlways,
    				DNSPolicy:             api.DNSClusterFirst,
    				ActiveDeadlineSeconds: &invalidTime,
    			},
    		},
    	}
    
    	const enableStatefulSetAutoDeletePVC = "[enable StatefulSetAutoDeletePVC]"
    
    	type testCase struct {
    		name string
    		set  apps.StatefulSet
    		errs field.ErrorList
    	}
    
    	successCases := []testCase{{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 111.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/oidc_test.go

    		}
    	}
    }
    
    func TestUnmarshalClaimError(t *testing.T) {
    	// Ensure error strings returned by unmarshaling claims don't include the claim.
    	const token = "96bb299a-02e9-11e8-8673-54ee7553240e" // Fake token for testing.
    	payload := fmt.Sprintf(`{
    		"token": "%s"
    	}`, token)
    
    	var c claims
    	if err := json.Unmarshal([]byte(payload), &c); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 97.7K bytes
    - Viewed (0)
  6. pkg/printers/internalversion/printers_test.go

    	// Since this method compares the time with time.Now() internally,
    	// small buffers of 0.1 seconds are added on comparing times to consider method call overhead.
    	// Otherwise, the output strings become shorter than expected.
    	const buf = 1e8
    	tl := stringTestList{
    		{"a while ago", translateTimestampUntil(metav1.Time{Time: time.Now().Add(-2.1e9)}), "<invalid>"},
    		{"almost now", translateTimestampUntil(metav1.Time{Time: time.Now().Add(-1.9e9)}), "0s"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/rewriteMIPS.go

    		return true
    	}
    }
    func rewriteValueMIPS_OpConst16(v *Value) bool {
    	// match: (Const16 [val])
    	// result: (MOVWconst [int32(val)])
    	for {
    		val := auxIntToInt16(v.AuxInt)
    		v.reset(OpMIPSMOVWconst)
    		v.AuxInt = int32ToAuxInt(int32(val))
    		return true
    	}
    }
    func rewriteValueMIPS_OpConst32(v *Value) bool {
    	// match: (Const32 [val])
    	// result: (MOVWconst [int32(val)])
    	for {
    		val := auxIntToInt32(v.AuxInt)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 14:43:03 UTC 2023
    - 176.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/authorization/v1/generated.pb.go

    // is compatible with the proto package it is being compiled against.
    // A compilation error at this line likely means your copy of the
    // proto package needs to be updated.
    const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
    
    func (m *ExtraValue) Reset()      { *m = ExtraValue{} }
    func (*ExtraValue) ProtoMessage() {}
    func (*ExtraValue) Descriptor() ([]byte, []int) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 100.9K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/rewriteLOONG64.go

    	}
    }
    func rewriteValueLOONG64_OpConst16(v *Value) bool {
    	// match: (Const16 [val])
    	// result: (MOVVconst [int64(val)])
    	for {
    		val := auxIntToInt16(v.AuxInt)
    		v.reset(OpLOONG64MOVVconst)
    		v.AuxInt = int64ToAuxInt(int64(val))
    		return true
    	}
    }
    func rewriteValueLOONG64_OpConst32(v *Value) bool {
    	// match: (Const32 [val])
    	// result: (MOVVconst [int64(val)])
    	for {
    		val := auxIntToInt32(v.AuxInt)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:26:25 UTC 2023
    - 195.8K bytes
    - Viewed (0)
  10. pkg/printers/internalversion/printers.go

    	storageutil "k8s.io/kubernetes/pkg/apis/storage/util"
    	svmv1alpha1 "k8s.io/kubernetes/pkg/apis/storagemigration"
    	"k8s.io/kubernetes/pkg/printers"
    	"k8s.io/kubernetes/pkg/util/node"
    )
    
    const (
    	loadBalancerWidth = 16
    
    	// labelNodeRolePrefix is a label prefix for node roles
    	// It's copied over to here until it's merged in core: https://github.com/kubernetes/kubernetes/pull/39112
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
Back to top