Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 2,118 for blockn (0.24 sec)

  1. platforms/extensibility/plugin-use/src/integTest/groovy/org/gradle/plugin/use/PluginUseDslIntegrationSpec.groovy

            failure.assertThatCause(containsString("only buildscript {}, pluginManagement {} and other plugins {} script blocks are allowed before plugins {} blocks, no other statements are allowed"))
            includesLinkToUserguide()
        }
    
        def "settings scripts can have plugin blocks"() {
            when:
            settingsFile.text = """
              plugins {
                id "noop" version "1.0"
              }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/go/cfg/cfg.go

    //
    // The entry point is Blocks[0]; there may be multiple return blocks.
    type CFG struct {
    	fset   *token.FileSet
    	Blocks []*Block // block[0] is entry; order otherwise undefined
    }
    
    // A Block represents a basic block: a list of statements and
    // expressions that are always evaluated sequentially.
    //
    // A block may have 0-2 successors: zero for a return block or a block
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/api/groovy_build_script_primer.adoc

    Both are based on Groovy language features and we explain them in the following sections.
    
    === Block method signatures
    
    You can easily identify a method as the implementation behind a block by its signature, or more specifically, its argument types. If a method corresponds to a block:
    
     * It must have at least one argument.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 01 20:23:16 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/check.go

    					bb := s.Block()
    					if ln.b2l[b.ID] == nil && ln.b2l[bb.ID] != nil && bb != ln.b2l[bb.ID].header {
    						f.Fatalf("block %s not in loop branches to non-header block %s in loop", b.String(), bb.String())
    					}
    					if ln.b2l[b.ID] != nil && ln.b2l[bb.ID] != nil && bb != ln.b2l[bb.ID].header && !ln.b2l[b.ID].isWithinOrEq(ln.b2l[bb.ID]) {
    						f.Fatalf("block %s in loop branches to non-header block %s in non-containing loop", b.String(), bb.String())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 16:41:23 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  5. src/cmd/vendor/rsc.io/markdown/list.go

    	item   *itemBuilder
    	todo   func() line
    }
    
    func (b *listBuilder) build(p buildState) Block {
    	blocks := p.blocks()
    	pos := p.pos()
    
    	// list can have wrong pos b/c extend dance.
    	pos.EndLine = blocks[len(blocks)-1].Pos().EndLine
    Loose:
    	for i, c := range blocks {
    		c := c.(*Item)
    		if i+1 < len(blocks) {
    			if blocks[i+1].Pos().StartLine-c.EndLine > 1 {
    				b.loose = true
    				break Loose
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  6. src/cmd/vendor/rsc.io/markdown/parse.go

    	"strings"
    )
    
    /*
    
    list block itself does not appear on stack?
    item does
    end of item returns block,
    new item continues previous block if possible?
    
    if close leaves lines or blocks behind, panic
    
    close(b a list item, parent)
    	if b's parent's last block is list && item can be added to it, do so
    	else return new list
    
    or maybe not parent but just current list of blocks
    
    preserve LinkRefDefs?
    
    */
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  7. src/cmd/vendor/rsc.io/markdown/quote.go

    import (
    	"bytes"
    )
    
    type Quote struct {
    	Position
    	Blocks []Block
    }
    
    func (b *Quote) PrintHTML(buf *bytes.Buffer) {
    	buf.WriteString("<blockquote>\n")
    	for _, c := range b.Blocks {
    		c.PrintHTML(buf)
    	}
    	buf.WriteString("</blockquote>\n")
    }
    
    func (b *Quote) printMarkdown(buf *bytes.Buffer, s mdState) {
    	s.prefix += "> "
    	printMarkdownBlocks(b.Blocks, buf, s)
    }
    
    func trimQuote(s line) (line, bool) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 1K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/execution/PartialEvaluatorTest.kt

            )
        }
    
        @Test
        fun `Settings target - top-level - pluginManagement block - empty body`() {
    
            val fragment = fragment("pluginManagement", "...")
            val program = Program.PluginManagement(fragment)
    
            assertThat(
                "reduces to static program that evaluates pluginManagement block then applies default plugin requests",
                partialEvaluationOf(
                    program,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 38.9K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/func_test.go

    	blocks := make(map[string]*Block)
    	values := make(map[string]*Value)
    	// Create all the blocks and values.
    	for _, bloc := range blocs {
    		b := f.NewBlock(bloc.control.kind)
    		blocks[bloc.name] = b
    		for _, valu := range bloc.valus {
    			// args are filled in the second pass.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:01:04 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/GradleHandle.java

        /**
         * Blocks until the build is complete and assert that the build completed successfully.
         */
        ExecutionResult waitForFinish();
    
        /**
         * Blocks until the build is complete and assert that the build completed with a failure.
         */
        ExecutionFailure waitForFailure();
    
        /**
         * Blocks until the build is complete and exits, disregarding the result.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top