Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 2,166 for maker (0.18 sec)

  1. cmd/erasure-server-pool-rebalance.go

    							VersionID:         versionID,
    							MTime:             version.ModTime,
    							DeleteReplication: version.ReplicationState,
    							DeleteMarker:      true, // make sure we create a delete marker
    							SkipRebalancing:   true, // make sure we skip the decommissioned pool
    							NoAuditLog:        true,
    						})
    					var failure bool
    					if err != nil && !isErrObjectNotFound(err) && !isErrVersionNotFound(err) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 03 15:45:54 UTC 2024
    - 27.3K bytes
    - Viewed (0)
  2. cmd/storage-datatypes.go

    }
    
    // GetDataDir returns an expected dataDir given FileInfo
    //   - deleteMarker returns "delete-marker"
    //   - returns "legacy" if FileInfo is XLV1 and DataDir is
    //     empty, returns DataDir otherwise
    //   - returns "dataDir"
    func (fi FileInfo) GetDataDir() string {
    	if fi.Deleted {
    		return "delete-marker"
    	}
    	if fi.XLV1 && fi.DataDir == "" {
    		return "legacy"
    	}
    	return fi.DataDir
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  3. cmd/erasure-server-pool-decom.go

    							MTime:              version.ModTime,
    							DeleteReplication:  version.ReplicationState,
    							DeleteMarker:       true, // make sure we create a delete marker
    							SkipDecommissioned: true, // make sure we skip the decommissioned pool
    							NoAuditLog:         true,
    						})
    					var failure bool
    					if err != nil {
    						if isErrObjectNotFound(err) || isErrVersionNotFound(err) {
    							err = nil
    						}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 06 14:30:43 UTC 2024
    - 41.5K bytes
    - Viewed (1)
  4. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/managedfields_test.go

    limitations under the License.
    */
    
    package internal
    
    import (
    	"fmt"
    	"reflect"
    	"testing"
    	"time"
    
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    
    	"sigs.k8s.io/yaml"
    )
    
    // TestHasFieldsType makes sure that we fail if we don't have a
    // FieldsType set properly.
    func TestHasFieldsType(t *testing.T) {
    	var unmarshaled []metav1.ManagedFieldsEntry
    	if err := yaml.Unmarshal([]byte(`- apiVersion: v1
      fieldsType: FieldsV1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/authentication/token/cache/cached_token_authenticator_test.go

    			}()
    		}
    
    		// no good way to make sure that all the callers are queued so we sleep.
    		time.Sleep(1 * time.Second)
    		close(c)
    		wg.Wait()
    
    		if lookups > 3 {
    			t.Fatalf("unexpected number of lookups: got=%d, wanted less than 3", lookups)
    		}
    	})
    
    	t.Run("first caller bails, second caller gets result", func(t *testing.T) {
    		c := make(chan struct{})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 16:16:51 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  6. src/runtime/gc_test.go

    		})
    	}
    }
    
    func TestPeriodicGC(t *testing.T) {
    	if runtime.GOARCH == "wasm" {
    		t.Skip("no sysmon on wasm yet")
    	}
    
    	// Make sure we're not in the middle of a GC.
    	runtime.GC()
    
    	var ms1, ms2 runtime.MemStats
    	runtime.ReadMemStats(&ms1)
    
    	// Make periodic GC run continuously.
    	orig := *runtime.ForceGCPeriod
    	*runtime.ForceGCPeriod = 0
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 22:33:52 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  7. src/runtime/stack_test.go

    func BenchmarkStackCopyWithStkobj(b *testing.B) {
    	c := make(chan bool)
    	for i := 0; i < b.N; i++ {
    		go func() {
    			var s stkobjT
    			Sum(100000, &s)
    			c <- true
    		}()
    		<-c
    	}
    }
    
    func BenchmarkIssue18138(b *testing.B) {
    	// Channel with N "can run a goroutine" tokens
    	const N = 10
    	c := make(chan []byte, N)
    	for i := 0; i < N; i++ {
    		c <- make([]byte, 1)
    	}
    
    	for i := 0; i < b.N; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 14 00:03:57 UTC 2023
    - 23.1K bytes
    - Viewed (0)
  8. src/cmd/vendor/github.com/google/pprof/profile/legacy_profile.go

    	locs := make(map[uint64]*Location)
    	for len(b) > 0 {
    		var count, nstk uint64
    		count, b = parse(b)
    		nstk, b = parse(b)
    		if b == nil || nstk > uint64(len(b)/4) {
    			return nil, nil, errUnrecognized
    		}
    		var sloc []*Location
    		addrs := make([]uint64, nstk)
    		for i := 0; i < int(nstk); i++ {
    			addrs[i], b = parse(b)
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 18:58:12 UTC 2022
    - 32.8K bytes
    - Viewed (0)
  9. src/runtime/mgcpacer_test.go

    				n := len(c)
    				if n > 4 {
    					// After the 4th GC, the heap will stop growing.
    					// First, let's make sure we're finishing near the goal, with some extra
    					// room because we're probably going to be triggering early.
    					assertInRange(t, "goal ratio", c[n-1].goalRatio(), 0.925, 1.025)
    					// Next, let's make sure there's some minimum distance between the goal
    					// and the trigger. It should be proportional to the runway (hence the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 13:53:21 UTC 2023
    - 39.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/cli-runtime/pkg/printers/tableprinter.go

    		return fmt.Errorf("cannot prepend columns, unmatched value functions")
    	}
    	if len(columns) == 0 {
    		return nil
    	}
    
    	// Compute the new rows
    	newRows := make([][]interface{}, len(table.Rows))
    	for i := range table.Rows {
    		newCells := make([]interface{}, 0, len(columns)+len(table.Rows[i].Cells))
    
    		if pos == end {
    			// If we're appending, start with the existing cells,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Oct 30 15:08:43 UTC 2022
    - 16.7K bytes
    - Viewed (0)
Back to top