Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for mergeContext (0.36 sec)

  1. cmd/shared-lock.go

    				// in that case, try to lock again.
    				break keepLock
    			case ld.lockContext <- lkctx:
    				// Send the lock context to anyone asking for it
    			}
    		}
    	}
    }
    
    func mergeContext(ctx1, ctx2 context.Context) (context.Context, context.CancelFunc) {
    	ctx, cancel := context.WithCancel(context.Background())
    	go func() {
    		select {
    		case <-ctx1.Done():
    		case <-ctx2.Done():
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 13 09:26:38 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/AssembleDslDocTask.groovy

                DslDocModel model = createDslDocModelClosure(loadPluginsMetaData())
                def root = doc.documentElement
                root.section.table.each { Element table ->
                    mergeContent(table, model)
                }
                model.classes.each {
                    generateDocForType(root.ownerDocument, model, linkRepository, it)
                }
            }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 9.8K bytes
    - Viewed (0)
  3. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocExtensionsBuilderTest.groovy

            when:
            ClassDoc doc = withCategories {
                def doc = new ClassDoc('org.gradle.Class', content, document, classMetaData, extensionMetaData)
                builder.build(doc)
                doc.mergeContent()
            }
    
            then:
            doc.classExtensions.size() == 2
    
            doc.classExtensions[0].pluginId == 'a'
            doc.classExtensions[0].mixinClasses == [extensionA1, extensionA2] as Set
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 7.5K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocBuilder.java

                commentBuilder.build(classDoc);
                propertiesBuilder.build(classDoc);
                methodsBuilder.build(classDoc);
                extensionsBuilder.build(classDoc);
                classDoc.mergeContent();
            } finally {
                listener.finish();
            }
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocRenderer.java

            memberRenderers.add(new MethodsRenderer(linkRenderer, listener));
            memberRenderers.add(new BlocksRenderer(linkRenderer, listener));
        }
    
        public void mergeContent(ClassDoc classDoc, Element parent) {
            listener.start(String.format("class %s", classDoc.getName()));
            try {
                Element chapter = parent.getOwnerDocument().createElement("chapter");
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.2K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/ClassDoc.groovy

        List<ClassDoc> getSubClasses() {
            return subClasses
        }
        void addSubClass(ClassDoc subClass) {
            subClasses.add(subClass)
        }
        ClassDoc mergeContent() {
            classProperties.sort { it.name }
            classMethods.sort { it.metaData.overrideSignature }
            classBlocks.sort { it.name }
            classExtensions.sort { it.pluginId }
            return this
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.2K bytes
    - Viewed (0)
  7. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocRendererTest.groovy

            _ * classDoc.classExtensions >> []
            _ * classDoc.subClasses >> []
    
            when:
            def result = parse('<root/>')
            withCategories {
                renderer.mergeContent(classDoc, result)
            }
    
            then:
            formatTree(result) == '''<root>
        <chapter id="classId">
            <title>Class</title>
            <segmentedlist>
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 40.8K bytes
    - Viewed (0)
Back to top