Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 251 for value_ (0.18 sec)

  1. 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)
  2. 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)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/extensibility/ConventionAwareHelperTest.java

                    return toList("a");
                }
            });
    
            Object value1 = conventionAware.getConventionValue(null, "list1", false);
            Object value2 = conventionAware.getConventionValue(null, "list1", false);
            assertEquals(value1, value2);
            assertNotSame(value1, value2);
        }
    
        @Test public void doesNotUseMappingWhenExplicitValueProvided() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  4. tests/scanner_valuer_test.go

    	switch value := input.(type) {
    	case string:
    		return json.Unmarshal([]byte(value), l)
    	case []byte:
    		return json.Unmarshal(value, l)
    	default:
    		return errors.New("not supported")
    	}
    }
    
    type Role struct {
    	Name string `gorm:"size:256"`
    }
    
    func (role *Role) Scan(value interface{}) error {
    	if b, ok := value.([]uint8); ok {
    		role.Name = string(b)
    	} else {
    		role.Name = value.(string)
    	}
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 07 07:02:07 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskParametersIntegrationTest.groovy

            "java.util.Collection<String>"        | "['value1', 'value2']"                                | "['value1'] as SortedSet"                                    | null
            "java.util.Set<String>"               | "['value1', 'value2'] as Set"                         | "['value1'] as Set"                                          | null
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/configurations/DefaultConfigurationPublicationsTest.groovy

            given:
            publications.artifacts.add(artifact1)
            publications.attributes.attribute(Attribute.of("thing", String), "value1")
            def variantDef = publications.variants.create("child")
            variantDef.attributes.attribute(Attribute.of("thing", String), "value2")
            variantDef.artifacts.add(artifact2)
    
            expect:
            def variants = getOutgoingVariants(publications)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:21:15 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  7. internal/bucket/lifecycle/filter_test.go

    								<Key>key1</Key>
    								<Value>value1</Value>
    							</Tag>
    							<Tag>
    								<Key>key2</Key>
    								<Value>value2</Value>
    							</Tag>
    							</And>
    						</Filter>`,
    			expectedErr: nil,
    		},
    		{ // Filter with And and multiple Tag tags
    			inputXML: ` <Filter>
    							<And>
    							<Prefix></Prefix>
    							<Tag>
    								<Key>key1</Key>
    								<Value>value1</Value>
    							</Tag>
    							<Tag>
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Feb 27 00:01:20 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/ClosingFuture.java

              DeferredCloser closer,
              @ParametricNullness V1 value1,
              @ParametricNullness V2 value2,
              @ParametricNullness V3 value3,
              @ParametricNullness V4 value4,
              @ParametricNullness V5 value5)
              throws Exception;
        }
    
        /**
         * A function that returns a {@link ClosingFuture} when applied to the values of the five
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 98.7K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/tutorial/groovy/groovy/build.gradle

    list.add('org/gradle/api/**')
    list.add('org/gradle/internal/**')
    test.includes = list
    
    // Map literal.
    Map<String, String> map = [key1:'value1', key2: 'value2']
    
    // Groovy will coerce named arguments
    // into a single map argument
    apply plugin: 'java'
    // end::listAndMapLiterals[]
    
    // tag::closureAsLastParam[]
    repositories {
        println "in a closure"
    }
    repositories() { println "in a closure" }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r44/ToolingApiEclipseModelSourceFolderClasspathAttributesCrossVersionSpec.groovy

            project.sourceDirectories[0].classpathAttributes.find { it.name == 'gradle_used_by_scope' && it.value == 'main,test'}
            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
    - 4.3K bytes
    - Viewed (0)
Back to top