Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,060 for block1 (0.11 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/aes/aes_test.go

    type transformerFunc func(t testing.TB, block cipher.Block, key []byte) value.Transformer
    
    func newGCMTransformer(t testing.TB, block cipher.Block, _ []byte) value.Transformer {
    	t.Helper()
    
    	transformer, err := NewGCMTransformer(block)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	return transformer
    }
    
    func newGCMTransformerWithUniqueKeyUnsafeTest(t testing.TB, block cipher.Block, _ []byte) value.Transformer {
    	t.Helper()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 21 19:25:52 UTC 2023
    - 23.2K bytes
    - Viewed (0)
  2. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocRendererTest.groovy

            ''')
            ClassDoc classDoc = classDoc('Class', content: content)
            BlockDoc block1 = blockDoc('block1', id: 'block1', description: 'block1 description', comment: 'block1 comment', type: 'org.gradle.Type')
            BlockDoc block2 = blockDoc('block2', id: 'block2', description: 'block2 description', comment: 'block2 comment', type: 'org.gradle.Type', multivalued: true)
            _ * classDoc.classProperties >> []
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 40.8K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/cmd/compile/internal/ssa/dom_test.go

    		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
    }
    
    // genManyPred creates an array of blocks where 1/3rd have a successor of the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top