Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 864 for blockn (1.26 sec)

  1. src/cmd/vendor/golang.org/x/build/relnote/relnote.go

    	slices.Sort(filenames)
    	return filenames, nil
    }
    
    // lastBlock returns the last block in the document.
    // It panics if the document has no blocks.
    func lastBlock(doc *md.Document) md.Block {
    	return doc.Blocks[len(doc.Blocks)-1]
    }
    
    // addLines adds n lines to the position of b.
    // n can be negative.
    func addLines(b md.Block, n int) {
    	pos := position(b)
    	pos.StartLine += n
    	pos.EndLine += n
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. 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)
  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/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)
  6. 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)
  7. src/image/jpeg/scan.go

    				d.progCoeffs[compIndex] = make([]block, mxx*myy*d.comp[compIndex].h*d.comp[compIndex].v)
    			}
    		}
    	}
    
    	d.bits = bits{}
    	mcu, expectedRST := 0, uint8(rst0Marker)
    	var (
    		// b is the decoded coefficients, in natural (not zig-zag) order.
    		b  block
    		dc [maxComponents]int32
    		// bx and by are the location of the current block, in units of 8x8
    		// blocks: the third block in the first row has (bx, by) = (2, 0).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 25 00:46:29 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  8. platforms/extensibility/plugin-use/src/integTest/groovy/org/gradle/plugin/repository/PluginManagementDslSpec.groovy

            succeeds 'help'
        }
    
    
        def "other blocks can follow the pluginManagement block"() {
            given:
            settingsFile << """
                pluginManagement {}
                rootProject.name = 'rumpelstiltskin'
            """
    
            expect:
            succeeds 'help'
        }
    
    
        def "pluginManagement block is not supported in ProjectScripts"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 15:16:47 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_program_key.cc

      return tpu_compile_successor;
    }
    
    // Get all the Blocks underneath `top` that are "in the scope" of `bottom`,
    // i.e., are ancestors.
    llvm::DenseSet<Block*> GetAllBlocksBetween(Operation* bottom, Operation* top) {
      llvm::DenseSet<Block*> blocks;
      Operation* op = bottom;
      while (op && op != top) {
        blocks.insert(op->getBlock());
        op = op->getParentOp();
      }
      return blocks;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  10. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/work/DefaultWorkerLeaseServiceWorkerLeaseTest.groovy

        }
    
        def "can use worker lease as resource lock"() {
            def registry = workerLeaseService(1)
    
            when:
            def workerLease = registry.newWorkerLease()
            coordinationService.withStateLock(lock(workerLease))
    
            then:
            noExceptionThrown()
        }
    
        def "acquire lease as resource lock blocks when there are no leases available"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 13.2K bytes
    - Viewed (0)
Back to top