Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 89 for const2 (5.73 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. pilot/pkg/networking/core/cluster_test.go

    	"istio.io/istio/pkg/config/schema/kind"
    	"istio.io/istio/pkg/security"
    	"istio.io/istio/pkg/test"
    	"istio.io/istio/pkg/test/util/assert"
    	"istio.io/istio/pkg/util/sets"
    )
    
    type ConfigType int
    
    const (
    	None ConfigType = iota
    	Mesh
    	DestinationRule
    	DestinationRuleForOsDefault
    	MeshWideTCPKeepaliveSeconds        = 11
    	DestinationRuleTCPKeepaliveSeconds = 21
    	TestServiceNamespace               = "bar"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 108.8K 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/go/alldocs.go

    //
    // Usage:
    //
    //	go doc [doc flags] [package|[package.]symbol[.methodOrField]]
    //
    // Doc prints the documentation comments associated with the item identified by its
    // arguments (a package, const, func, type, var, method, or struct field)
    // followed by a one-line summary of each of the first-level items "under"
    // that item (package-level declarations for a package, methods for a type,
    // etc.).
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. staging/src/k8s.io/api/authorization/v1beta1/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
    - 101K bytes
    - Viewed (0)
Back to top