Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,398 for keyA (0.41 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/properties/annotations/AbstractTypeMetadataWalkerTest.groovy

            "map values"              | ["key1": "Hello", "key2": null]                                         | IllegalStateException | "Null value is not allowed for the nested collection property 'nested.key2'"
            "map keys"                | ["key1": "Hello", (null): "Hello"]                                      | NullPointerException  | "Null keys in nested map 'nested' are not allowed."
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 24.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/HashTestUtils.java

          while (same != 0xffffffff || diff != 0xffffffff) {
            int key1 = rand.nextInt();
            // flip input bit for key2
            int key2 = key1 ^ (1 << i);
            // get hashes
            int hash1 = function.hashInt(key1).asInt();
            int hash2 = function.hashInt(key2).asInt();
            // test whether the hash values have same output bits
            same |= ~(hash1 ^ hash2);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 25.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/values_test.go

    					"key1": "a1",
    					"key2": "a2",
    					"val":  1,
    				},
    				map[string]interface{}{
    					"key1": "b1",
    					"key2": "b2",
    					"val":  2,
    				},
    			}, &multiKeyMapListSchema),
    			rhs: UnstructuredToVal([]interface{}{
    				map[string]interface{}{
    					"key1": "a1",
    					"key2": "a2",
    					"val":  1,
    				},
    				map[string]interface{}{
    					"key1": "b1",
    					"key2": "b2",
    					"val":  3,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  4. pkg/ledger/smt_test.go

    		t.Fatal("leaf shortcut didn't move up to root")
    	}
    
    	key1 := make([]byte, 8)
    	// set the last bit
    	bitSet(key1, 63)
    	keys := [][]byte{key0, key1}
    	values = [][]byte{defaultLeaf, getFreshData(1)[0]}
    	_, err := smt.Update(keys, values)
    	assert.NoError(t, err)
    }
    
    func bitSet(bits []byte, i int) {
    	bits[i/8] |= 1 << uint(7-i%8)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 16:43:05 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  5. src/runtime/map_test.go

    	const key2 = "x"
    
    	m := make(map[string]int)
    	m[key1] = 99
    	delete(m, key1)
    	m[key2] += 1
    	if n2 := m[key2]; n2 != 1 {
    		t.Errorf("incremented 0 to %d", n2)
    	}
    }
    
    func TestIncrementAfterDeleteKeyValueString(t *testing.T) {
    	const key1 = ""
    	const key2 = "x"
    
    	m := make(map[string]string)
    	m[key1] = "99"
    	delete(m, key1)
    	m[key2] += "1"
    	if n2 := m[key2]; n2 != "1" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  6. internal/bucket/lifecycle/filter_test.go

    							<Tag>
    								<Key>key1</Key>
    								<Value>value1</Value>
    							</Tag>
    							<Tag>
    								<Key>key2</Key>
    								<Value>value2</Value>
    							</Tag>
    							</And>
    						</Filter>`,
    			expectedErr: nil,
    		},
    		{ // Filter without And and single Tag tag
    			inputXML: ` <Filter>
    							<Prefix>key-prefix</Prefix>
    							<Tag>
    								<Key>key1</Key>
    								<Value>value1</Value>
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Feb 27 00:01:20 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/util/DefaultProcessForkOptionsTest.groovy

            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:
            options.environment == [:]
    
            when:
            options.environment('key', 12)
    
            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)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r44/ToolingApiEclipseModelSourceFolderClasspathAttributesCrossVersionSpec.groovy

                           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'
                           }
                       }
                   }
               }
            """
            file('src/main/java').mkdirs()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. platforms/jvm/plugins-java-base/src/integTest/groovy/org/gradle/api/plugins/DefaultJavaPluginConventionTest.groovy

            given:
            project.file('file') << "key2: value2"
            def manifest = convention.manifest {
                from 'file'
                attributes(key1: 'value1')
            }
    
            when:
            def mergedManifest = manifest.effectiveManifest
    
            then:
            manifest instanceof DefaultManifest
            mergedManifest.attributes as Map == [key1: 'value1', key2: 'value2', 'Manifest-Version': '1.0']
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 20:25:05 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/apis/apiserver/types_encryption.go

    	Keys []Key
    }
    
    // Key contains name and secret of the provided key for a transformer.
    type Key struct {
    	// name is the name of the key to be used while storing data to disk.
    	Name string
    	// secret is the actual key, encoded in base64.
    	Secret string
    }
    
    // String implements Stringer interface in a log safe way.
    func (k Key) String() string {
    	return fmt.Sprintf("Name: %s, Secret: [REDACTED]", k.Name)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Dec 18 20:54:24 UTC 2023
    - 5.5K bytes
    - Viewed (0)
Back to top