Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,118 for blockn (0.26 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. okhttp/src/main/kotlin/okhttp3/internal/connection/Locks.kt

    import okhttp3.internal.http2.Http2Stream
    import okhttp3.internal.http2.Http2Writer
    
    /**
     * Centralisation of central locks according to docs/contribute/concurrency.md
     */
    internal object Locks {
      inline fun <T> Dispatcher.withLock(action: () -> T): T {
        contract { callsInPlace(action, InvocationKind.EXACTLY_ONCE) }
        return lock.withLock(action)
      }
    
      inline fun <T> RealConnection.withLock(action: () -> T): T {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 2.1K 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/internal/trace/traceviewer/pprof.go

    		}
    		blockb := bufio.NewWriter(blockf)
    		if err := BuildProfile(records).Write(blockb); err != nil {
    			http.Error(w, fmt.Sprintf("failed to write profile: %v", err), http.StatusInternalServerError)
    			return
    		}
    		if err := blockb.Flush(); err != nil {
    			http.Error(w, fmt.Sprintf("failed to flush temp file: %v", err), http.StatusInternalServerError)
    			return
    		}
    		if err := blockf.Close(); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:28:02 UTC 2023
    - 4K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. src/cmd/compile/internal/ssa/fuse.go

    )
    
    // fuse simplifies control flow by joining basic blocks.
    func fuse(f *Func, typ fuseType) {
    	for changed := true; changed; {
    		changed = false
    		// Be sure to avoid quadratic behavior in fuseBlockPlain. See issue 13554.
    		// Previously this was dealt with using backwards iteration, now fuseBlockPlain
    		// handles large runs of blocks.
    		for i := len(f.Blocks) - 1; i >= 0; i-- {
    			b := f.Blocks[i]
    			if typ&fuseTypeIf != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:45:54 UTC 2023
    - 9K bytes
    - Viewed (0)
Back to top