Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 864 for blockn (1.57 sec)

  1. src/cmd/compile/internal/ssa/dom_test.go

    			Goto(blockn(0)),
    		),
    	)
    	for i := 0; i < size; i++ {
    		switch i % 2 {
    		case 0:
    			blocs = append(blocs, Bloc(blockn(i),
    				If("p", blockn(i+1), blockn(i+2))))
    		case 1:
    			blocs = append(blocs, Bloc(blockn(i),
    				If("p", blockn(i+1), blockn(i-1))))
    		}
    	}
    
    	blocs = append(blocs,
    		Bloc(blockn(size), Goto("exit")),
    		Bloc("exit", Exit("mem")),
    	)
    
    	return blocs
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/nilcheck_test.go

    	c := testConfig(b)
    	ptrType := c.config.Types.BytePtr
    
    	var blocs []bloc
    	blocs = append(blocs,
    		Bloc("entry",
    			Valu("mem", OpInitMem, types.TypeMem, 0, nil),
    			Valu("sb", OpSB, c.config.Types.Uintptr, 0, nil),
    			Goto(blockn(0)),
    		),
    	)
    	for i := 0; i < depth; i++ {
    		blocs = append(blocs,
    			Bloc(blockn(i),
    				Valu(ptrn(i), OpAddr, ptrType, 0, nil, "sb"),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 23:34:11 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/block.go

    // for the new value. The index must refer to a valid control value.
    func (b *Block) ReplaceControl(i int, v *Value) {
    	b.Controls[i].Uses--
    	b.Controls[i] = v
    	v.Uses++
    }
    
    // CopyControls replaces the controls for this block with those from the
    // provided block. The provided block is not modified.
    func (b *Block) CopyControls(from *Block) {
    	if b == from {
    		return
    	}
    	b.ResetControls()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  4. src/internal/zstd/block.go

    // setSeqTable uses the Compression_Mode in mode to set up r.seqTables and
    // r.seqTableBits for kind. We store these in the Reader because one of
    // the modes simply reuses the value from the last block in the frame.
    func (r *Reader) setSeqTable(data block, off int, kind seqCode, mode byte) (int, error) {
    	info := &seqCodeInfo[kind]
    	switch mode {
    	case 0:
    		// Predefined_Mode
    		r.seqTables[kind] = info.predefTable
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 28 17:57:43 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  5. platforms/software/build-init/src/test/groovy/org/gradle/buildinit/plugins/internal/BuildScriptBuilderGroovyTest.groovy

    cathedral(thing(a: 12, 123, false))
    """)
        }
    
        def "can add code blocks"() {
            given:
            def block1 = builder.block("Add some thing", "foo.bar")
            block1.propertyAssignment(null, "foo.bar", "bazar", true)
            def block2 = builder.block("Do it again", "foo.bar")
            block2.propertyAssignment(null, "foo.bar", "bazar", true)
            builder.block(null, "other")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 18 14:16:33 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  6. platforms/software/build-init/src/test/groovy/org/gradle/buildinit/plugins/internal/BuildScriptBuilderKotlinTest.groovy

    """)
        }
    
        def "can add code blocks"() {
            given:
            def block1 = builder.block("Add some thing", "foo.bar")
            block1.propertyAssignment(null, "foo.bar", "bazar", true)
            def block2 = builder.block("Do it again", "foo.bar")
            block2.propertyAssignment(null, "foo.bar", "bazar", true)
            builder.block(null, "other")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 18 14:16:33 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  7. src/runtime/mspanset.go

    	// which claimed the last slot in the block, we're just the last one
    	// to finish popping.
    	if block.popped.Add(1) == spanSetBlockEntries {
    		// Clear the block's pointer.
    		blockp.StoreNoWB(nil)
    
    		// Return the block to the block pool.
    		spanSetBlockPool.free(block)
    	}
    	return s
    }
    
    // reset resets a spanSet which is empty. It will also clean up
    // any left over blocks.
    //
    // Throws if the buf is not empty.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  8. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/btree/BTreePersistentIndexedCache.java

                }
            });
    
            for (int i = 0; i < blocks.size() - 1; i++) {
                Block b1 = blocks.get(i).getBlock();
                Block b2 = blocks.get(i + 1).getBlock();
                if (b1.getPos().getPos() + b1.getSize() > b2.getPos().getPos()) {
                    throw new IOException(String.format("%s overlaps with %s", b1, b2));
                }
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 26.5K bytes
    - Viewed (0)
  9. pkg/kubelet/clustertrustbundle/clustertrustbundle_manager_test.go

    func diffBundles(a, b []byte) string {
    	var block *pem.Block
    
    	aBlocks := []*pem.Block{}
    	for {
    		block, a = pem.Decode(a)
    		if block == nil {
    			break
    		}
    		aBlocks = append(aBlocks, block)
    	}
    	sort.Slice(aBlocks, func(i, j int) bool {
    		if aBlocks[i].Type < aBlocks[j].Type {
    			return true
    		} else if aBlocks[i].Type == aBlocks[j].Type {
    			comp := bytes.Compare(aBlocks[i].Bytes, aBlocks[j].Bytes)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:48 UTC 2023
    - 15.5K bytes
    - Viewed (0)
  10. src/cmd/cover/cover.go

    		return
    	}
    	// Self-check: Verify that the instrumented basic blocks are disjoint.
    	t := make([]block1, len(f.blocks))
    	for i := range f.blocks {
    		t[i].Block = f.blocks[i]
    		t[i].index = i
    	}
    	sort.Sort(blockSlice(t))
    	for i := 1; i < len(t); i++ {
    		if t[i-1].endByte > t[i].startByte {
    			fmt.Fprintf(os.Stderr, "cover: internal error: block %d overlaps block %d\n", t[i-1].index, t[i].index)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 34.5K bytes
    - Viewed (0)
Back to top