Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 77 for key_3 (0.05 sec)

  1. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/btree/BTreeIndexedCacheTest.java

            cache.put("key_1", 1);
            cache.put("key_2", 2);
            cache.put("key_3", 3);
            cache.put("key_4", 4);
            cache.put("key_5", 5);
    
            cache.put("key_1", 1);
            cache.put("key_4", 12);
    
            assertThat(cache.get("key_1"), equalTo(1));
            assertThat(cache.get("key_2"), equalTo(2));
            assertThat(cache.get("key_3"), equalTo(3));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/verification/writer/PgpKeyGrouperTest.groovy

                entry("org", "foo", "1.0", "foo-1.0.pom").addVerifiedKey(KEY_1)
                entry("org", "foo", "1.1", "foo-1.1.jar").addVerifiedKey(KEY_1)
                entry("org", "foo", "1.1", "foo-1.1.pom").addVerifiedKey(KEY_1)
            }
    
            when:
            executeGrouping()
    
            then:
            verifier.configuration.trustedKeys*.keyId == [KEY_1]
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  3. internal/s3select/json/testdata/10.json

    [
     {
    	 "key_1": "value",
    	 "key_2": "value"
     }
    ]
    [
    	{
    		"key_1": "value2",
    		"key_2": "value3"
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 100 bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/managedfieldsupdater_test.go

    		"metadata": {
    			"name": "configmap"
    		},
    		"data": {
    			"key_a": "value"
    		}
    	}`))
    	if err != nil {
    		t.Fatal(err)
    	}
    	err = updateObject(f, "fieldmanager_b_test", []byte(`{
    		"apiVersion": "v1",
    		"kind": "ConfigMap",
    		"metadata": {
    			"name": "configmap"
    		},
    		"data": {
    			"key_b": "value"
    		}
    	}`))
    	if err != nil {
    		t.Fatal(err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/control_flow_duplicate_v1.py

    # Tests handling dupliate functions after V1 control flow is functionalized.
    
    # CHECK:  func {{.*}} tf_saved_model.exported_names = ["key_1"]
    # CHECK: "tf.If"
    # CHECK-SAME: else_branch = @[[else:[a-zA-Z_0-9]+]]
    # CHECK-SAME: then_branch = @[[then:[a-zA-Z_0-9]+]]
    
    # CHECK:  func {{.*}} tf_saved_model.exported_names = ["key_2"]
    # CHECK: "tf.If"
    # CHECK-SAME: else_branch = @[[else]]
    # CHECK-SAME: then_branch = @[[then]]
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 28 21:37:05 UTC 2021
    - 2K bytes
    - Viewed (0)
  6. internal/s3select/json/testdata/9.json

    [
     {
    	 "key_1": "value",
    	 "key_2": "value"
     }
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 49 bytes
    - Viewed (0)
  7. platforms/jvm/language-java/src/test/groovy/org/gradle/external/javadoc/internal/JavadocOptionFileWriterTest.groovy

    -key2 'value2'
    -key3 'value3'
    """)
            when:
            optionsMap.put("locale", new StringJavadocOptionFileOption("locale", "alocale"));
            and:
            javadocOptionFileWriter.write(tempFile)
            then:
            tempFile.text == toPlatformLineSeparators("""-locale 'alocale'
    -key1 'value1'
    -key2 'value2'
    -key3 'value3'
    """)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  8. src/go/parser/testdata/metrics.go2

    	}
    	m[key[T1, T2]{v1, v2}]++
    }
    
    type key3[T1, T2, T3 comparable] struct {
    	f1 T1
    	f2 T2
    	f3 T3
    }
    
    type Metric3[T1, T2, T3 comparable] struct {
    	mu sync.Mutex
    	m  map[key3[T1, T2, T3]]int
    }
    
    func (m *Metric3[T1, T2, T3]) Add(v1 T1, v2 T2, v3 T3) {
    	m.mu.Lock()
    	defer m.mu.Unlock()
    	if m.m == nil {
    		m.m = make(map[key3]int)
    	}
    	m[key[T1, T2, T3]{v1, v2, v3}]++
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 24 19:44:06 UTC 2020
    - 908 bytes
    - Viewed (0)
  9. platforms/jvm/platform-jvm/src/test/groovy/org/gradle/api/java/archives/internal/DefaultManifestMergeSpecTest.groovy

            DefaultManifest nestedMergeManifest = new DefaultManifest(Mock(FileResolver)).attributes(key3: 'value3')
            mergeManifest.from(nestedMergeManifest)
            mergeSpec.from(mergeManifest)
    
            expect:
            mergeSpec.merge(baseManifest, Mock(FileResolver)).attributes == [key1: 'value1', key2: 'value2', key3: 'value3'] +
                    MANIFEST_VERSION_MAP
        }
    
        def mergeWithChangeValueAction() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  10. test/typeparam/metrics.go

    	m.mu.Lock()
    	defer m.mu.Unlock()
    	if m.m == nil {
    		m.m = make(map[key3[T1, T2, T3]]int)
    	}
    	m.m[key3[T1, T2, T3]{v1, v2, v3}]++
    }
    
    // Count returns the number of instances we've seen of v1/v2/v3.
    func (m *_Metric3[T1, T2, T3]) Count(v1 T1, v2 T2, v3 T3) int {
    	m.mu.Lock()
    	defer m.mu.Unlock()
    	return m.m[key3[T1, T2, T3]{v1, v2, v3}]
    }
    
    // Metrics returns all the values we've seen, in an indeterminate order.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 4.4K bytes
    - Viewed (0)
Back to top