Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for init (0.24 sec)

  1. build-logic/documentation/src/test/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepositoryTest.groovy

        def value
    
        TestDomainObject(String value) {
            this.value = value
        }
    
        @Override
        boolean equals(Object o) {
            return o.value == value
        }
    
        @Override
        int hashCode() {
            return value.hashCode()
        }
    
        void attach(ClassMetaDataRepository<TestDomainObject> repository) {
        }
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Sat Apr 06 02:21:33 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  2. .github/workflows/CheckBadMerge.groovy

        static class ExecResult {
            String stdout
            String stderr
            int returnCode
        }
    
        static ExecResult exec(String command) {
            Process process = command.execute()
            def stdoutFuture = readStreamAsync(process.inputStream)
            def stderrFuture = readStreamAsync(process.errorStream)
    
            int returnCode = process.waitFor()
            String stdout = stdoutFuture.get()
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Dec 19 10:35:44 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/ExtractDslMetaDataTask.groovy

            SimpleClassMetaDataRepository<gradlebuild.docs.dsl.source.model.ClassMetaData> repository = new SimpleClassMetaDataRepository<gradlebuild.docs.dsl.source.model.ClassMetaData>()
            int counter = 0
            source.filter { File f -> f.name.endsWith(".java") || f.name.endsWith(".groovy") }.each { File f ->
                parse(f, repository)
                counter++
            }
    
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Mon Jan 08 12:45:57 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy

                List<Boolean> oldParametersNullability = parametersNullabilityOf(oldBehavior)
                List<Boolean> newParametersNullability = parametersNullabilityOf(newBehavior)
    
                for (int idx = 0; idx < oldParametersNullability.size(); idx++) {
                    def oldNullability = oldParametersNullability[idx]
                    def newNullability = newParametersNullability[idx]
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Apr 13 10:04:28 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  5. build-logic/documentation/src/test/resources/org/gradle/test/GroovyClassWithConstants.groovy

    package org.gradle.test
    
    class GroovyClassWithConstants {
        static final int INT_CONST = 9
        public static final String STRING_CONST = 'some-string'
        static final Object OBJECT_CONST = new GroovyClassWithConstants()
        static final def BIG_DECIMAL_CONST = 1.02
    
        String ignored = 'ignore'
        final int ignored2 = 1001
        static def ignored3
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 356 bytes
    - Viewed (0)
  6. build-logic/documentation/src/test/resources/org/gradle/test/GroovyClass.groovy

         * A read-only groovy property.
         */
        final String readOnlyGroovyProp
    
        /**
         * An array property.
         */
        def String[] arrayProp
    
        private def ignoreMe1;
        public int ignoreMe2;
        protected int ignoreMe3;
        static String ignoreMe4;
    
        /**
         * A read-only property.
         */
        def getReadOnly() {
            'value'
        }
    
        /**
         * A property.
         */
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 915 bytes
    - Viewed (0)
  7. build-logic/documentation/src/test/resources/org/gradle/test/GroovyClassWithMethods.groovy

            null
        }
    
        /**
         * A String property.
         */
        String prop
    
        /**
         * A read-only property.
         */
        final JavaInterface finalProp
    
        int getIntProp() { 5 }
    
        void setIntProp(int prop) { }
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 952 bytes
    - Viewed (0)
  8. build-logic/documentation/src/test/groovy/gradlebuild/docs/XmlSpecification.groovy

        def format(Node node, Appendable target, int depth, boolean prettyPrint, boolean indentSelf) {
            if (node instanceof Element) {
                Element element = (Element) node
    
                if (indentSelf && depth > 0) {
                    target.append('\n')
                    depth.times { target.append('    ') }
                }
    
                target.append("<${element.tagName}")
                for (int i = 0; i < element.attributes.length; i++) {
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.1K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/MethodsRemovedInInternalSuperClassRule.groovy

                    classesContainingMethod.add(current)
                } else {
                    break
                }
                current = current.getSuperclass()
            }
    
            for (int i = classesContainingMethod.size() - 1; i > 0; --i) {
                current = classesContainingMethod.get(i)
                if (!isInternal(current)) {
                    // there's another public super class which contains target method
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 3.7K bytes
    - Viewed (0)
Back to top