Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 186 for key_1 (0.04 sec)

  1. operator/pkg/name/name_test.go

    		name string
    		mm   ManifestMap
    		want map[string]string
    	}{
    		{
    			name: "consolidate output from manifest map",
    			mm: ManifestMap{
    				"key1": []string{"value1", "value2"},
    				"key2": []string{},
    			},
    			want: map[string]string{
    				"key1": "value1\n---\nvalue2\n---\n",
    				"key2": "",
    			},
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 05 14:08:11 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/endpoints/filters/authentication_test.go

    				"X-Remote-Group-1":      {"one-a", "one-b"},
    				"X-Remote-Group-2":      {"two-a", "two-b"},
    				"X-Remote-extra-1-key1": {"alfa", "bravo"},
    				"X-Remote-Extra-1-Key2": {"charlie", "delta"},
    				"X-Remote-Extra-1-":     {"india", "juliet"},
    				"X-Remote-extra-2-":     {"kilo", "lima"},
    				"X-Remote-extra-2-Key1": {"echo", "foxtrot"},
    				"X-Remote-Extra-2-key2": {"golf", "hotel"},
    			},
    		},
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  3. pkg/controller/controller_utils_test.go

    				Existing: []*v1.Node{
    					{
    						ObjectMeta: metav1.ObjectMeta{
    							Name: "node1",
    						},
    						Spec: v1.NodeSpec{
    							Taints: []v1.Taint{
    								{Key: "key1", Value: "value1", Effect: "NoSchedule"},
    								{Key: "key2", Value: "value2", Effect: "NoExecute"},
    							},
    						},
    					},
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantized_function_library_xla_weight_only.mlir

    // Function template can generate functions with different parameters. Ex:
    // ```
    // parameters[
    //   {"key1": "value11", "key2": "value21"},
    //   {"key1": "value12", "key2": "value22"},
    // ]
    // func.func func_name_${key1}_fn (...) {
    //   ...${key2}...
    // }
    // ```
    // The above template with generate two functions by substituting `key1` and
    // `key2` with given values.
    
    module {
    
      func.func private @internal_dequantize_f32(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 03 15:43:38 UTC 2023
    - 7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/aes/aes_test.go

    	})
    }
    
    func testGCMKeyRotation(t *testing.T, f transformerFunc) {
    	key1 := []byte("abcdefghijklmnopabcdefghijklmnop")
    	key2 := []byte("0123456789abcdef0123456789abcdef")
    
    	testErr := fmt.Errorf("test error")
    	block1, err := aes.NewCipher(key1)
    	if err != nil {
    		t.Fatal(err)
    	}
    	block2, err := aes.NewCipher(key2)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 21 19:25:52 UTC 2023
    - 23.2K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/util/DefaultProcessForkOptionsTest.groovy

            options.workingDir == baseDir
        }
    
        def convertsEnvironmentToString() {
            when:
            options.environment = [key1: 12, key2: "${1+2}", key3: null]
    
            then:
            options.actualEnvironment == [key1: '12', key2: '3', key3: 'null']
        }
    
        def canAddEnvironmentVariables() {
            when:
            options.environment = [:]
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  7. operator/pkg/tpath/tree_test.go

    	}
    }
    
    func TestWriteNode(t *testing.T) {
    	testTreeYAML := `
    a:
      b:
        c: val1
        list1:
        - i1: val1
        - i2: val2
        - i3a: key1
          i3b:
            list2:
            - i1: val1
            - i2: val2
            - i3a: key1
              i3b:
                i1: va11
    `
    	tests := []struct {
    		desc     string
    		baseYAML string
    		path     string
    		value    string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 15.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/testdata/valid-configs/aes/aes-gcm.yaml

    kind: EncryptionConfiguration
    apiVersion: apiserver.config.k8s.io/v1
    resources:
      - resources:
          - secrets
        providers:
          - aesgcm:
              keys:
                - name: key1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 14 21:59:25 UTC 2019
    - 229 bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r30/ToolingApiEclipseModelSourceFolderClasspathAttributesCrossVersionSpec.groovy

                   classpath {
                       file {
                           whenMerged { classpath ->
                               classpath.entries.find { it.kind == 'src' && it.path == 'src/main/java' }.entryAttributes.key1 = 'value1'
                               classpath.entries.find { it.kind == 'src' && it.path == 'src/main/java' }.entryAttributes.key2 = 'value2'
                           }
                       }
                   }
               }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. src/runtime/map_test.go

    	const key1 = 12
    	const key2 = 13
    
    	m := make(map[int]int)
    	m[key1] = 99
    	delete(m, key1)
    	m[key2]++
    	if n2 := m[key2]; n2 != 1 {
    		t.Errorf("incremented 0 to %d", n2)
    	}
    }
    
    func TestIncrementAfterDeleteValueInt32(t *testing.T) {
    	const key1 = 12
    	const key2 = 13
    
    	m := make(map[int]int32)
    	m[key1] = 99
    	delete(m, key1)
    	m[key2]++
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 33.5K bytes
    - Viewed (0)
Back to top