Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,389 for addLink (0.14 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/ModelReferenceNode.java

        }
    
        @Override
        public ModelAdapter getAdapter() {
            return target == null ? super.getAdapter() : target.getAdapter();
        }
    
        @Override
        public void addLink(ModelRegistration registration) {
            throw new UnsupportedOperationException();
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/ModelElementNode.java

            if (target != null) {
                referenceNode.setTarget(target);
            }
            addNode(referenceNode, registration);
        }
    
        @Override
        public void addLink(ModelRegistration registration) {
            addNode(new ModelElementNode(modelRegistry, registration, this), registration);
        }
    
        private void addNode(ModelNodeInternal child, ModelRegistration registration) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:37 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. platforms/software/platform-base/src/main/java/org/gradle/platform/base/binary/BaseBinarySpec.java

                })
                .withProjection(new UnmanagedModelProjection<BinaryTasksCollection>(BINARY_TASKS_COLLECTION))
                .descriptor(modelNode.getDescriptor())
                .build();
            modelNode.addLink(itemRegistration);
    
            namingScheme = DefaultBinaryNamingScheme
                .component(parentComponentName())
                .withBinaryName(getName())
                .withBinaryType(getTypeName());
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/DefaultModelRegistry.java

            }
    
            ModelNodeInternal root = modelGraph.getRoot();
            root.addLink(registration);
            return this;
        }
    
        @Override
        public void registerNode(ModelNodeInternal node, Multimap<ModelActionRole, ? extends ModelAction> actions) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 15:40:00 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  5. platforms/core-configuration/declarative-dsl-api/src/main/java/org/gradle/declarative/dsl/model/annotations/Adding.java

    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    @Target(ElementType.METHOD)
    @Retention(RetentionPolicy.RUNTIME)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 23:16:59 UTC 2024
    - 926 bytes
    - Viewed (0)
  6. src/go/token/position_test.go

    		for i, offset := range test.lines {
    			f.AddLine(offset)
    			if f.LineCount() != i+1 {
    				t.Errorf("%s, AddLine: got line count %d; want %d", f.Name(), f.LineCount(), i+1)
    			}
    			// adding the same offset again should be ignored
    			f.AddLine(offset)
    			if f.LineCount() != i+1 {
    				t.Errorf("%s, AddLine: got unchanged line count %d; want %d", f.Name(), f.LineCount(), i+1)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 20:26:14 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  7. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/schemaBuidler/FunctionExtractorTest.kt

        }
    
        abstract class ReceiverOne {
            @Adding
            abstract fun adding(receiver: ReceiverOne.() -> Unit): ReceiverOne
        }
    
        abstract class ReceiverTwo {
            @Adding
            abstract fun adding(receiver: ReceiverTwo.() -> Unit)
        }
    
        abstract class ReceiverThree {
            @Adding
            abstract fun adding(three: Int)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:01 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/runtime/swagger_doc_generator.go

    	b.addLine(s, indent)
    }
    
    func writeFuncFooter(b *buffer, structName string, indent int) {
    	b.addLine("}\n", indent) // Closes the map definition
    
    	s := fmt.Sprintf("func (%s) SwaggerDoc() map[string]string {\n", structName)
    	b.addLine(s, indent)
    	s = fmt.Sprintf("return map_%s\n", structName)
    	b.addLine(s, indent+1)
    	b.addLine("}\n", indent) // Closes the function definition
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 03 07:33:58 UTC 2017
    - 7K bytes
    - Viewed (0)
  9. subprojects/core/src/testFixtures/groovy/org/gradle/process/ShellScript.groovy

            @Override
            Builder printArguments() {
                return addLine('echo "$*"')
            }
    
            @Override
            Builder printText(String text) {
                return addLine("echo '$text'")
            }
    
            @Override
            Builder printEnvironmentVariable(String variableName) {
                return addLine("echo $variableName=\$$variableName")
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 12 10:33:12 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/mappingToJvm/EmptyBlocksTest.kt

            assertTrue { result.configuredLazy.isInitialized() }
        }
    
        @Test
        fun `empty adding block ensures that the object is created`() {
            val resolution = schema.resolve(
                """
                adding()
                adding { }
                adding { x = 2 }
                addingWithArg(3)
                addingWithArg(4) { }
                """.trimIndent()
            )
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 11:58:18 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top