Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 603 for PROPERTIES (0.41 sec)

  1. testing/internal-testing/src/main/groovy/org/gradle/util/SetSystemProperties.java

        public SetSystemProperties() {
            properties = new Properties();
            properties.putAll(System.getProperties());
        }
    
        public SetSystemProperties(Map<String, Object> properties) {
            this();
            customProperties.putAll(properties);
        }
    
        @Override
        public Statement apply(final Statement base, Description description) {
            return new Statement() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/serialization/codecs/BaseTypeCodecTest.kt

    import java.util.Hashtable
    import java.util.Properties
    
    
    class BaseTypeCodecTest : AbstractUserTypeCodecTest() {
    
        @Test
        fun `can handle Properties`() {
            val properties = Properties()
            properties.setProperty("prop1", "value1")
            properties.setProperty("prop2", "value2")
            configurationCacheRoundtripOf(properties).run {
                assertThat(properties, equalTo(this))
            }
        }
    
    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. subprojects/core/src/main/java/org/gradle/internal/classpath/types/PropertiesBackedInstrumentationTypeRegistry.java

        private final Lazy<Map<String, Set<String>>> properties;
    
        private PropertiesBackedInstrumentationTypeRegistry(Supplier<Map<String, Set<String>>> properties) {
            this.properties = Lazy.locking().of(properties);
        }
    
        @Override
        public Set<String> getSuperTypes(String type) {
            return properties.get().getOrDefault(type, Collections.emptySet());
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Feb 24 12:57:52 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/versions/ClasspathVersionSource.java

                );
            }
    
            try {
                Properties properties = new Properties();
                InputStream stream = resource.openStream();
                try {
                    properties.load(stream);
                } finally {
                    stream.close();
                }
                return properties;
            } catch (IOException e) {
                throw new UncheckedIOException(e);
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/misc/DynamicProperties.java

            final Properties prop = new Properties();
            lastModified = propertiesFile.lastModified();
            prop.load(inStream);
            properties = prop;
        }
    
        @Override
        public synchronized void load(final Reader reader) throws IOException {
            final Properties prop = new Properties();
            lastModified = propertiesFile.lastModified();
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/text/unicode/norm/forminfo.go

    	}
    	return recompMap[key]
    }
    
    func lookupInfoNFC(b input, i int) Properties {
    	v, sz := b.charinfoNFC(i)
    	return compInfo(v, sz)
    }
    
    func lookupInfoNFKC(b input, i int) Properties {
    	v, sz := b.charinfoNFKC(i)
    	return compInfo(v, sz)
    }
    
    // Properties returns properties for the first rune in s.
    func (f Form) Properties(s []byte) Properties {
    	if f == NFC || f == NFD {
    		return compInfo(nfcData.lookup(s))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/initialization/PropertiesLoaderIntegrationTest.groovy

            then:
            succeeds ':assertCodDisabled'
        }
    
        def "system property set on command line takes precedence over properties file"() {
            given:
            file('gradle.properties') << """
    systemProp.mySystemProp=properties file
    """
            buildFile << """
    task printSystemProp {
        doLast {
            println "mySystemProp=\${System.getProperty('mySystemProp')}"
        }
    }
    """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/snapshot/impl/SnapshotSerializerTest.groovy

        def "serializes serialized properties"() {
            def original = snapshot("x".bytes)
            write(original)
    
            expect:
            original == written
        }
    
        def "serializes string properties"() {
            def original = string("x")
            write(original)
    
            expect:
            original == written
        }
    
        def "serializes number properties"() {
            write(value)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 11 20:22:01 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/DefaultPersistentDirectoryCache.java

    import java.util.Map;
    import java.util.Properties;
    import java.util.function.Consumer;
    
    public class DefaultPersistentDirectoryCache extends DefaultPersistentDirectoryStore implements ReferencablePersistentCache {
    
        private static final Logger LOGGER = LoggerFactory.getLogger(DefaultPersistentDirectoryCache.class);
    
        private final Properties properties = new Properties();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 19:20:15 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/model/schemas.go

    // metadata.name and metadata.generateName properties are specified, making a shallow copy of the provided schema if needed.
    func WithTypeAndObjectMeta(s *schema.Structural) *schema.Structural {
    	if s.Properties != nil &&
    		s.Properties["kind"].Type == "string" &&
    		s.Properties["apiVersion"].Type == "string" &&
    		s.Properties["metadata"].Type == "object" &&
    		s.Properties["metadata"].Properties != nil &&
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top