Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 310 for value6 (0.3 sec)

  1. src/runtime/pprof/runtime_test.go

    		t.Errorf("Expected parent goroutine's profile labels to be empty before Do, got %v", gotLabels)
    	}
    
    	Do(context.Background(), Labels("key1", "value1", "key2", "value2"), func(ctx context.Context) {
    		wantLabels := map[string]string{"key1": "value1", "key2": "value2"}
    		if gotLabels := getProfLabel(); !reflect.DeepEqual(gotLabels, wantLabels) {
    			t.Errorf("parent goroutine's profile labels: got %v, want %v", gotLabels, wantLabels)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 06 20:29:37 UTC 2017
    - 3K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/api/internal/project/DefaultAntBuilderTest.groovy

        }
    
        def "ant properties are available as properties of builder"() {
            when:
            ant.property(name: 'prop1', value: 'value1')
    
            then:
            ant.prop1 == 'value1'
    
            when:
            ant.prop2 = 'value2'
    
            then:
            ant.antProject.properties.prop2 == 'value2'
        }
    
        def "throws MissingPropertyException for unknown property"() {
            when:
            ant.unknown
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Aug 11 16:17:40 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/cel/common/equality_test.go

    			return fmt.Errorf("expected non-nil value, got nil")
    		}
    	} else {
    		// Check that the correlated object has the expected values
    		if !reflect.DeepEqual(correlatedObject.Value, c.NewValue) {
    			return fmt.Errorf("expected value %v, got %v", c.NewValue, correlatedObject.Value)
    		}
    		if !reflect.DeepEqual(correlatedObject.OldValue, c.OldValue) {
    			return fmt.Errorf("expected old value %v, got %v", c.OldValue, correlatedObject.OldValue)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 13 21:36:46 UTC 2023
    - 21.1K bytes
    - Viewed (0)
  4. 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)
  5. test/typeparam/issue50481b.dir/b.go

    // license that can be found in the LICENSE file.
    
    package b
    
    import "fmt"
    
    type Foo[T1 ~string, T2 ~int] struct {
    	ValueA T1
    	ValueB T2
    }
    
    func (f *Foo[_, _]) String() string {
    	return fmt.Sprintf("%v %v", f.ValueA, f.ValueB)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 21 00:39:55 UTC 2022
    - 338 bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/attributes/DefaultAttributesSchemaTest.groovy

            schema.matcher().isMatching(attr, value2, value1)
            !schema.matcher().isMatching(attr, value1, value2)
        }
    
        static class IncompatibleStringsRule implements AttributeCompatibilityRule<String> {
            @Override
            void execute(CompatibilityCheckDetails<String> details) {
                details.incompatible()
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/stream/StreamUtilTest.java

    public class StreamUtilTest extends TestCase {
    
        public void test_ofValues() {
            String[] values = { "value1", "value2" };
            StreamUtil.stream(values[0], values[1]).of(s -> {
                Object[] array = s.toArray();
                for (int i = 0; i < 2; i++) {
                    assertEquals(values[i], array[i]);
                }
            });
        }
    
        public void test_ofNull() {
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TaskBooleanOptionIntegrationTest.groovy

            given:
            file('buildSrc/src/main/java/SampleTask.java') << taskWithBooleanOptions()
            buildFile << sampleTask()
    
            when:
            run('sample', "--$option", "--no-$option")
    
            then:
            outputContains("Value of $option: $value1")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r30/ToolingApiEclipseModelSourceFolderClasspathAttributesCrossVersionSpec.groovy

            project.sourceDirectories[0].classpathAttributes.size() == 2
            project.sourceDirectories[0].classpathAttributes.find { it.name == 'key1' && it.value == 'value1'}
            project.sourceDirectories[0].classpathAttributes.find { it.name == 'key2' && it.value == '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. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/serialization/codecs/BaseTypeCodecTest.kt

            properties.setProperty("prop1", "value1")
            properties.setProperty("prop2", "value2")
            configurationCacheRoundtripOf(properties).run {
                assertThat(properties, equalTo(this))
            }
        }
    
        @Test
        fun `can handle Hashtable`() {
            val hashtable = Hashtable<String, Any>(100)
            hashtable.put("key1", "value1")
            hashtable.put("key2", true)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top