Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,033 for blockn (0.18 sec)

  1. 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)
  2. src/cmd/compile/internal/ssa/lca.go

    		bid := q[n].bid
    		cid := q[n].cid
    		q = q[:n]
    
    		// Add block to tour.
    		blocks[bid].pos = int32(len(tour))
    		tour = append(tour, bid)
    
    		// Proceed down next child edge (if any).
    		if cid == 0 {
    			// This is our first visit to b. Set its depth.
    			blocks[bid].depth = blocks[blocks[bid].parent].depth + 1
    			// Then explore its first child.
    			cid = blocks[bid].firstChild
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 30 21:52:15 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/caching/ConcurrentBuildsCachingIntegrationTest.groovy

    task b {
        def files = configurations.b
        doLast {
            files.files
        }
    }
    task block1 {
        doLast {
            ${blockingServer.callFromBuild("block1")}
        }
    }
    block1.mustRunAfter a
    b.mustRunAfter block1
    
    task block2 {
        doLast {
            ${blockingServer.callFromBuild("block2")}
        }
    }
    block2.mustRunAfter b
    """
            // Ensure scripts are compiled
            run("help")
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/crossVersionTest/groovy/org/gradle/integtests/resolve/caching/ConcurrentBuildsCachingCrossVersionIntegrationTest.groovy

        }
    }
    
    task block1 {
        dependsOn tasks.a
        onlyIf { project.hasProperty("enable-block1") }
        doLast {
            ${blockingServer.callFromBuild("block1")}
        }
    }
    
    task b {
        dependsOn tasks.block1
        doLast {
            configurations.b.files
        }
    }
    
    task block2 {
        dependsOn tasks.b
        onlyIf { project.hasProperty("enable-block2") }
        doLast {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  5. pkg/kube/inject/openshift.go

    // parseSupplementalGroupAnnotation parses the group annotation into blocks.
    func parseSupplementalGroupAnnotation(groups string) ([]Block, error) {
    	blocks := []Block{}
    	segments := strings.Split(groups, ",")
    	for _, segment := range segments {
    		block, err := ParseBlock(segment)
    		if err != nil {
    			return nil, err
    		}
    		blocks = append(blocks, block)
    	}
    	if len(blocks) == 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Aug 25 19:10:42 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  6. platforms/core-runtime/time/src/main/java/org/gradle/internal/time/Clock.java

    import org.gradle.internal.service.scopes.Scope;
    import org.gradle.internal.service.scopes.ServiceScope;
    
    /**
     * A device for obtaining the current time.
     *
     * @see Time#clock()
     */
    @ServiceScope(Scope.Global.class)
    public interface Clock {
    
        /**
         * The current time in millis.
         */
        long getCurrentTime();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 974 bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/looprotate.go

    	for i, b := range f.Blocks {
    		idToIdx[b.ID] = i
    	}
    
    	// Set of blocks we're moving, by ID.
    	move := map[ID]struct{}{}
    
    	// Map from block ID to the moving blocks that should
    	// come right after it.
    	after := map[ID][]*Block{}
    
    	// Check each loop header and decide if we want to move it.
    	for _, loop := range loopnest.loops {
    		b := loop.header
    		var p *Block // b's in-loop predecessor
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/deadcode.go

    		//   y = (op1 x ...)
    		//   z = (op2 y ...)
    		// Where opX are not Phi ops. But such a situation
    		// implies a cycle in the dominator graph. In the
    		// example, x.Block dominates y.Block, y.Block dominates
    		// z.Block, and z.Block dominates x.Block (treating
    		// "dominates" as reflexive).  Cycles in the dominator
    		// graph can only happen in an unreachable cycle.
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 00:29:01 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top