Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 134 for measure (0.38 sec)

  1. src/runtime/mgcmark.go

    		// GC is done, so ignore any remaining debt.
    		gp.gcAssistBytes = 0
    		return
    	}
    	// Track time spent in this assist. Since we're on the
    	// system stack, this is non-preemptible, so we can
    	// just measure start and end time.
    	//
    	// Limiter event tracking might be disabled if we end up here
    	// while on a mark worker.
    	startTime := nanotime()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  2. cmd/erasure-object.go

    	fi.DataDir = mustGetUUID()
    
    	// Initialize erasure metadata.
    	for index := range partsMetadata {
    		partsMetadata[index] = fi
    	}
    
    	// Order disks according to erasure distribution
    	var onlineDisks []StorageAPI
    	onlineDisks, partsMetadata = shuffleDisksAndPartsMetadata(storageDisks, partsMetadata, fi)
    
    	erasure, err := NewErasure(ctx, fi.Erasure.DataBlocks, fi.Erasure.ParityBlocks, fi.Erasure.BlockSize)
    	if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 78.6K bytes
    - Viewed (0)
  3. src/runtime/pprof/pprof_test.go

    var diffCPUTimeImpl func(f func()) (user, system time.Duration)
    
    func diffCPUTime(t *testing.T, f func()) (user, system time.Duration) {
    	if fn := diffCPUTimeImpl; fn != nil {
    		return fn(f)
    	}
    	t.Fatalf("cannot measure CPU time on GOOS=%s GOARCH=%s", runtime.GOOS, runtime.GOARCH)
    	return 0, 0
    }
    
    func contains(slice []string, s string) bool {
    	for i := range slice {
    		if slice[i] == s {
    			return true
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  4. cmd/erasure-healing_test.go

    )
    
    // Tests isObjectDangling function
    func TestIsObjectDangling(t *testing.T) {
    	fi := newFileInfo("test-object", 2, 2)
    	fi.Erasure.Index = 1
    
    	ifi := newFileInfo("test-object", 2, 2)
    	ifi.SetInlineData()
    	ifi.Erasure.Index = 1
    
    	testCases := []struct {
    		name             string
    		metaArr          []FileInfo
    		errs             []error
    		dataErrs         map[int][]int
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  5. src/runtime/mheap.go

    }
    
    // tryAllocMSpan attempts to allocate an mspan object from
    // the P-local cache, but may fail.
    //
    // h.lock need not be held.
    //
    // This caller must ensure that its P won't change underneath
    // it during this function. Currently to ensure that we enforce
    // that the function is run on the system stack, because that's
    // the only place it is used now. In the future, this requirement
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:31:00 UTC 2024
    - 78K bytes
    - Viewed (0)
  6. cmd/erasure-server-pool.go

    	decommissionCancelers []context.CancelFunc
    
    	s3Peer *S3PeerSys
    }
    
    func (z *erasureServerPools) SinglePool() bool {
    	return len(z.serverPools) == 1
    }
    
    // Initialize new pool of erasure sets.
    func newErasureServerPools(ctx context.Context, endpointServerPools EndpointServerPools) (ObjectLayer, error) {
    	var (
    		deploymentID       string
    		commonParityDrives int
    		err                error
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 82.5K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modload/load.go

    		return
    	}
    
    	// Re-resolve packages in parallel.
    	//
    	// We re-resolve each package — rather than just checking versions — to ensure
    	// that we have fetched module source code (and, importantly, checksums for
    	// that source code) for all modules that are necessary to ensure that imports
    	// are unambiguous. That also produces clearer diagnostics, since we can say
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 84K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go

    	if opts.SendInitialEvents != nil && *opts.SendInitialEvents {
    		// Here be dragons:
    		// Since the etcd feature checker needs to check all members
    		// to determine whether a given feature is supported,
    		// we may receive a positive response even if the feature is not supported.
    		//
    		// In this very rare scenario, the worst case will be that this
    		// request will wait for 3 seconds before it fails.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.31.md

    - Kubeadm: deprecated the kubeadm `RootlessControlPlane` feature gate (previously alpha), given that the core K8s `UserNamespacesSupport` feature gate graduated to Beta in 1.30.
      Once core Kubernetes support for user namespaces is generally available and kubeadm has started to support running the control plane in userns pods, the kubeadm `RootlessControlPlane` feature gate will be removed entirely.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 20:34:14 UTC 2024
    - 60.3K bytes
    - Viewed (0)
  10. pkg/controller/job/job_controller.go

    	// because it is possible that  `PodReplacementPolicy` is not defaulted,
    	// when the `JobPodReplacementPolicy` feature gate is disabled for API server.
    	if feature.DefaultFeatureGate.Enabled(features.JobPodReplacementPolicy) && job.Spec.PodReplacementPolicy != nil && *job.Spec.PodReplacementPolicy == batch.Failed {
    		return true
    	}
    	return feature.DefaultFeatureGate.Enabled(features.JobPodFailurePolicy) && job.Spec.PodFailurePolicy != nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
Back to top