Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 463 for desc2 (0.05 sec)

  1. operator/pkg/validate/validate_test.go

    import (
    	"testing"
    
    	"istio.io/api/operator/v1alpha1"
    	"istio.io/istio/operator/pkg/util"
    )
    
    func TestValidate(t *testing.T) {
    	tests := []struct {
    		desc     string
    		yamlStr  string
    		wantErrs util.Errors
    	}{
    		{
    			desc: "nil success",
    		},
    		{
    			desc: "complicated k8s overlay",
    			yamlStr: `
    profile: default
    components:
      ingressGateways:
      - enabled: true
        k8s:
          affinity:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Jun 25 11:44:31 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  2. internal/hash/reader_test.go

    	testCases := []struct {
    		desc              string
    		src               io.Reader
    		size              int64
    		actualSize        int64
    		md5hex, sha256hex string
    		err               error
    	}{
    		0: {
    			desc:       "Success, no checksum verification provided.",
    			src:        bytes.NewReader([]byte("abcd")),
    			size:       4,
    			actualSize: 4,
    		},
    		{
    			desc:       "Failure md5 mismatch.",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 18 17:00:54 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tf_tfl_translate_cl.cc

        llvm::cl::desc("Enable converting TF to Stablehlo."),
        llvm::cl::init(false));
    
    // NOLINTNEXTLINE
    opt<bool> post_training_quantization(
        "post-training-quantization",
        llvm::cl::desc("Enable post_training_quantization."),
        llvm::cl::init(false));
    
    // NOLINTNEXTLINE
    opt<bool> legalize_custom_tensor_list_ops(
        "legalize-custom-tensor-list-ops",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 20:53:17 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl/src/testFixtures/kotlin/org/gradle/kotlin/dsl/fixtures/bytecode/AsmExtensions.kt

        visitMethodInsn_(Opcodes.INVOKEINTERFACE, owner, name, desc, itf)
    }
    
    
    internal
    fun MethodVisitor.INVOKESTATIC(owner: InternalName, name: String, desc: String) {
        visitMethodInsn_(Opcodes.INVOKESTATIC, owner, name, desc, false)
    }
    
    
    private
    fun MethodVisitor.visitMethodInsn_(opcode: Int, owner: InternalName, name: String, desc: String, itf: Boolean) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/canonicalize.td

    /// Favor Mul over Div.
    def DivWithSqrtDivisor : Pat<
      (TF_DivOp:$src $arg0, (TF_SqrtOp $arg1)),
      (TF_MulOp:$dest1 $arg0, (TF_RsqrtOp:$dest2 $arg1)), [],
      [(CopyAttrs $src, $dest1), (CopyAttrs $src, $dest2)]>;
    
    //===----------------------------------------------------------------------===//
    // Log op patterns.
    //===----------------------------------------------------------------------===//
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 06 18:42:28 UTC 2023
    - 17K bytes
    - Viewed (0)
  6. pkg/kubelet/kuberuntime/security_context_others_test.go

    	runAsNonRootTrue := true
    	runAsNonRootFalse := false
    	for _, test := range []struct {
    		desc     string
    		sc       *v1.SecurityContext
    		uid      *int64
    		username string
    		fail     bool
    	}{
    		{
    			desc: "Pass if SecurityContext is not set",
    			sc:   nil,
    			uid:  &rootUser,
    			fail: false,
    		},
    		{
    			desc: "Pass if RunAsUser is non-root and RunAsNonRoot is true",
    			sc: &v1.SecurityContext{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 10 10:06:54 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  7. pkg/proxy/util/utils_test.go

    	testCases := []struct {
    		desc            string
    		ipString        []string
    		wantIPv6        bool
    		expectCorrect   []string
    		expectIncorrect []string
    	}{
    		{
    			desc:            "empty input IPv4",
    			ipString:        []string{},
    			wantIPv6:        false,
    			expectCorrect:   nil,
    			expectIncorrect: nil,
    		},
    		{
    			desc:            "empty input IPv6",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 11:57:43 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/bytecode/AsmExtensions.kt

        visitMethodInsn_(Opcodes.INVOKEINTERFACE, owner, name, desc, itf)
    }
    
    
    internal
    fun MethodVisitor.INVOKESTATIC(owner: InternalName, name: String, desc: String) {
        visitMethodInsn_(Opcodes.INVOKESTATIC, owner, name, desc, false)
    }
    
    
    private
    fun MethodVisitor.visitMethodInsn_(opcode: Int, owner: InternalName, name: String, desc: String, itf: Boolean) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  9. operator/pkg/patch/patch_test.go

    a:
      b:
      - name: n1
        value: v1
      - name: n2
        list: 
        - v1
        - v2
        - v3_regex
      c:
    `
    	tests := []struct {
    		desc    string
    		path    string
    		value   string
    		want    string
    		wantErr string
    	}{
    		{
    			desc:  "ModifyListEntryValue",
    			path:  `a.b.[name:n1].value`,
    			value: `v2`,
    			want: `
    apiVersion: apps/v1
    kind: Deployment
    metadata:
      name: istio-citadel
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Nov 29 08:32:11 UTC 2022
    - 10.3K bytes
    - Viewed (0)
  10. pkg/kubelet/kubeletconfig/util/files/files_test.go

    	cases := []test{
    		{
    			desc:    "regular file",
    			writes:  []file{{name: "foo", data: "bar"}},
    			expects: []file{{name: "foo", data: "bar"}},
    		},
    		{
    			desc:    "directory",
    			writes:  []file{{name: "foo", mode: os.ModeDir}},
    			expects: []file{{name: "foo", mode: os.ModeDir}},
    		},
    		{
    			desc:    "deep regular file",
    			writes:  []file{{name: "foo/bar", data: "baz"}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Dec 07 11:36:13 UTC 2022
    - 11.7K bytes
    - Viewed (0)
Back to top