Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for getDisks (0.09 sec)

  1. cmd/erasure-common.go

    package cmd
    
    import (
    	"context"
    	"math/rand"
    	"sync"
    	"time"
    )
    
    func (er erasureObjects) getOnlineDisks() (newDisks []StorageAPI) {
    	disks := er.getDisks()
    	var wg sync.WaitGroup
    	var mu sync.Mutex
    	r := rand.New(rand.NewSource(time.Now().UnixNano()))
    	for _, i := range r.Perm(len(disks)) {
    		i := i
    		wg.Add(1)
    		go func() {
    			defer wg.Done()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Aug 12 08:38:15 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. cmd/erasure-metadata-utils_test.go

    	testShuffleDisks(t, z)
    }
    
    // Test shuffleDisks which returns shuffled slice of disks for their actual distribution.
    func testShuffleDisks(t *testing.T, z *erasureServerPools) {
    	disks := z.serverPools[0].GetDisks(0)()
    	distribution := []int{16, 14, 12, 10, 8, 6, 4, 2, 1, 3, 5, 7, 9, 11, 13, 15}
    	shuffledDisks := shuffleDisks(disks, distribution)
    	// From the "distribution" above you can notice that:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleKotlinDslReferencePlugin.java

        }
    
        private static void updateDocumentationExtension(Project project, GradleDocumentationExtension extension) {
            TaskProvider<Task> generateTask = project.getTasks().named(TASK_NAME);
            Provider<? extends Directory> outputDirectory = generateTask.flatMap(t -> ((DokkatooGenerateTask) t).getOutputDirectory());
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:07:24 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java

            for (TaskSegment taskSegment : taskSegments) {
                mergedSegment.getTasks().addAll(taskSegment.getTasks());
            }
    
            return lifecycleExecutionPlanCalculator.calculateExecutionPlan(
                    session, session.getCurrentProject(), mergedSegment.getTasks(), setup);
        }
    
        public MavenExecutionPlan calculateExecutionPlan(MavenSession session, String... tasks)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleDslReferencePlugin.java

     */
    public class GradleDslReferencePlugin implements Plugin<Project> {
        @Override
        public void apply(Project project) {
            ProjectLayout layout = project.getLayout();
            TaskContainer tasks = project.getTasks();
            ObjectFactory objects = project.getObjects();
    
            GradleDocumentationExtension extension = project.getExtensions().getByType(GradleDocumentationExtension.class);
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 5.7K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleBuildDocumentationPlugin.java

    public class GradleBuildDocumentationPlugin implements Plugin<Project> {
        @Override
        public void apply(Project project) {
            ProjectLayout layout = project.getLayout();
            TaskContainer tasks = project.getTasks();
            ObjectFactory objects = project.getObjects();
            ProviderFactory providers = project.getProviders();
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Apr 17 20:04:00 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleJavadocsPlugin.java

        @Inject
        protected abstract FileSystemOperations getFs();
    
        @Override
        public void apply(Project project) {
            ProjectLayout layout = project.getLayout();
            TaskContainer tasks = project.getTasks();
    
            GradleDocumentationExtension extension = project.getExtensions().getByType(GradleDocumentationExtension.class);
            generateJavadocs(project, layout, tasks, extension);
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Aug 20 14:11:17 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleReleaseNotesPlugin.java

     */
    public class GradleReleaseNotesPlugin implements Plugin<Project> {
        @Override
        public void apply(Project project) {
            ProjectLayout layout = project.getLayout();
            TaskContainer tasks = project.getTasks();
    
            GradleDocumentationExtension extension = project.getExtensions().getByType(GradleDocumentationExtension.class);
    
            generateReleaseNotes(project, layout, tasks, extension);
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jul 26 08:15:16 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top