Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 965 for blockAsm (0.22 sec)

  1. src/cmd/compile/internal/test/testdata/flowgraph_generator1.go

    			yeq := `
    	// no y increment`
    			if blocks[j].inc != 0 {
    				yeq = `
    	y += ` + fmt.Sprintf("%d", blocks[j].inc)
    			}
    
    			s += `
    ` + l + `:
    	glob = !glob` + yeq
    		}
    
    		// edges to successors
    		if blocks[j].cond { // conditionally branch to second successor
    			s += `
    	b = x & 1
    	x = x >> 1
    	if b != 0 {` + `
    		goto ` + string(labels[blocks[j].succs[1]]) + `
    	}`
    
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 23 06:40:04 UTC 2020
    - 6.7K bytes
    - Viewed (0)
  2. platforms/extensibility/plugin-use/src/integTest/groovy/org/gradle/plugin/use/PluginUseDslIntegrationSpec.groovy

            then:
            succeeds "help"
        }
    
        def "buildscript blocks are allowed before plugin statements"() {
            when:
            buildScript """
                buildscript {}
                plugins {}
            """
    
            then:
            succeeds "help"
        }
    
        def "buildscript blocks are not allowed after plugin blocks"() {
            when:
            buildScript """
                plugins {}
    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. src/cmd/vendor/rsc.io/markdown/list.go

    	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)
  4. src/cmd/compile/internal/ssa/critical.go

    func critical(f *Func) {
    	// maps from phi arg ID to the new block created for that argument
    	blocks := f.Cache.allocBlockSlice(f.NumValues())
    	defer f.Cache.freeBlockSlice(blocks)
    	// need to iterate over f.Blocks without range, as we might
    	// need to split critical edges on newly constructed blocks
    	for j := 0; j < len(f.Blocks); j++ {
    		b := f.Blocks[j]
    		if len(b.Preds) <= 1 {
    			continue
    		}
    
    		var phi *Value
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 16 21:40:11 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/deadcode.go

    	// Remove dead values from blocks' value list. Return dead
    	// values to the allocator.
    	for _, b := range f.Blocks {
    		i := 0
    		for _, v := range b.Values {
    			if live[v.ID] {
    				b.Values[i] = v
    				i++
    			} else {
    				f.freeValue(v)
    			}
    		}
    		b.truncateValues(i)
    	}
    
    	// Remove unreachable blocks. Return dead blocks to allocator.
    	i = 0
    	for _, b := range f.Blocks {
    		if reachable[b.ID] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 00:29:01 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  6. cmd/erasure-utils.go

    	"github.com/klauspost/reedsolomon"
    )
    
    // getDataBlockLen - get length of data blocks from encoded blocks.
    func getDataBlockLen(enBlocks [][]byte, dataBlocks int) int {
    	size := 0
    	// Figure out the data block length.
    	for _, block := range enBlocks[:dataBlocks] {
    		size += len(block)
    	}
    	return size
    }
    
    // Writes all the data blocks from encoded blocks until requested
    // outSize length. Provides a way to skip bytes until the offset.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jan 31 02:11:45 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/cover/profile.go

    				FileName: fn,
    				Mode:     mode,
    			}
    			files[fn] = p
    		}
    		p.Blocks = append(p.Blocks, b)
    	}
    	if err := s.Err(); err != nil {
    		return nil, err
    	}
    	for _, p := range files {
    		sort.Sort(blocksByStart(p.Blocks))
    		// Merge samples from the same location.
    		j := 1
    		for i := 1; i < len(p.Blocks); i++ {
    			b := p.Blocks[i]
    			last := p.Blocks[j-1]
    			if b.StartLine == last.StartLine &&
    				b.StartCol == last.StartCol &&
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 11 17:02:03 UTC 2021
    - 7.5K bytes
    - Viewed (0)
  8. src/crypto/aes/modes.go

    package aes
    
    import (
    	"crypto/cipher"
    )
    
    // gcmAble is implemented by cipher.Blocks that can provide an optimized
    // implementation of GCM through the AEAD interface.
    // See crypto/cipher/gcm.go.
    type gcmAble interface {
    	NewGCM(nonceSize, tagSize int) (cipher.AEAD, error)
    }
    
    // cbcEncAble is implemented by cipher.Blocks that can provide an optimized
    // implementation of CBC encryption through the cipher.BlockMode interface.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 14 15:32:26 UTC 2018
    - 1.1K bytes
    - Viewed (0)
  9. 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)
  10. src/cmd/vendor/golang.org/x/build/relnote/relnote.go

    				h := stdlibPackageHeading(pkg, lastBlock(doc).Pos().EndLine)
    				doc.Blocks = append(doc.Blocks, h)
    			}
    			prevPkg = pkg
    			// Put a blank line between the current and new blocks, so that the end
    			// of a file acts as a blank line.
    			lastLine := lastBlock(doc).Pos().EndLine
    			delta := lastLine + 2 - newdoc.Blocks[0].Pos().StartLine
    			for _, b := range newdoc.Blocks {
    				addLines(b, delta)
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top