Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for 2000 (0.14 sec)

  1. cmd/data-usage_test.go

    		{
    			name: "newfolder/anemptyone",
    			size: 0,
    		},
    		{
    			name: "dir1/fileindir1",
    			size: 20000,
    		},
    		{
    			name: "dir1/dirc/fileindirc",
    			size: 20000,
    		},
    		{
    			name: "rootfile3",
    			size: 1000,
    		},
    		{
    			name: "dir1/dira/dirasub/fileindira2",
    			size: 200,
    		},
    	}
    	createUsageTestFiles(t, base, bucket, files)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Mar 27 15:10:40 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  2. src/archive/tar/tar_test.go

    		wantInverted: []sparseEntry{{0, 2000}, {4000, 1000}},
    	}, {
    		in: []sparseEntry{{0, 2000}, {8000, 2000}}, size: 10000,
    		wantValid:    true,
    		wantAligned:  []sparseEntry{{0, 1536}, {8192, 1808}},
    		wantInverted: []sparseEntry{{2000, 6000}, {10000, 0}},
    	}, {
    		in: []sparseEntry{{0, 2000}, {2000, 2000}, {4000, 0}, {4000, 3000}, {7000, 1000}, {8000, 0}, {8000, 2000}}, size: 10000,
    		wantValid:    true,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24K bytes
    - Viewed (0)
  3. cmd/erasure-decode_test.go

    	const size = 20 * 1024 * 1024
    	b.Run(" 0000|0000 ", func(b *testing.B) { benchmarkErasureDecode(4, 4, 0, 0, size, b) })
    	b.Run(" 0000|X000 ", func(b *testing.B) { benchmarkErasureDecode(4, 4, 0, 1, size, b) })
    	b.Run(" X000|0000 ", func(b *testing.B) { benchmarkErasureDecode(4, 4, 1, 0, size, b) })
    	b.Run(" X000|X000 ", func(b *testing.B) { benchmarkErasureDecode(4, 4, 1, 1, size, b) })
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 21.1K bytes
    - Viewed (1)
  4. src/bufio/scan_test.go

    			panic(err)
    		}
    	}()
    	for count := 0; s.Scan(); count++ {
    		if count > 1000 {
    			t.Fatal("looping")
    		}
    	}
    	if s.Err() != nil {
    		t.Fatal("after scan:", s.Err())
    	}
    }
    
    func TestBlankLines(t *testing.T) {
    	s := NewScanner(strings.NewReader(strings.Repeat("\n", 1000)))
    	for count := 0; s.Scan(); count++ {
    		if count > 2000 {
    			t.Fatal("looping")
    		}
    	}
    	if s.Err() != nil {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Sep 22 16:22:42 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  5. cmd/object-api-datatypes.go

    	{"UNVERSIONED", 0, 0},
    	{"SINGLE_VERSION", 1, 1},
    	{"BETWEEN_2_AND_10", 2, 9},
    	{"BETWEEN_10_AND_100", 10, 99},
    	{"BETWEEN_100_AND_1000", 100, 999},
    	{"BETWEEN_1000_AND_10000", 1000, 9999},
    	{"GREATER_THAN_10000", 10000, math.MaxInt64},
    }
    
    // BucketInfo - represents bucket metadata.
    type BucketInfo struct {
    	// Name of the bucket.
    	Name string
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  6. src/archive/zip/struct.go

    // Copyright 2010 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    /*
    Package zip provides support for reading and writing ZIP archives.
    
    See the [ZIP specification] for details.
    
    This package does not support disk spanning.
    
    A note about ZIP64:
    
    To be backwards compatible the FileHeader has both 32 and 64 bit Size
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  7. chainable_api.go

    }
    
    // Scopes pass current database connection to arguments `func(DB) DB`, which could be used to add conditions dynamically
    //
    //	func AmountGreaterThan1000(db *gorm.DB) *gorm.DB {
    //	    return db.Where("amount > ?", 1000)
    //	}
    //
    //	func OrderStatus(status []string) func (db *gorm.DB) *gorm.DB {
    //	    return func (db *gorm.DB) *gorm.DB {
    //	        return db.Scopes(AmountGreaterThan1000).Where("status in (?)", status)
    //	    }
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Wed Apr 17 03:38:55 GMT 2024
    - 14.3K bytes
    - Viewed (1)
  8. internal/grid/connection.go

    		Remote:             o.remote,
    		Local:              o.local,
    		id:                 o.id,
    		ctx:                o.ctx,
    		outgoing:           xsync.NewMapOfPresized[uint64, *muxClient](1000),
    		inStream:           xsync.NewMapOfPresized[uint64, *muxServer](1000),
    		outQueue:           make(chan []byte, defaultOutQueue),
    		dialer:             o.dial,
    		side:               ws.StateServerSide,
    		connChange:         &sync.Cond{L: &sync.Mutex{}},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  9. cmd/admin-heal-ops.go

    )
    
    const (
    	// a heal sequence with this many un-consumed heal result
    	// items blocks until heal-status consumption resumes or is
    	// aborted due to timeout.
    	maxUnconsumedHealResultItems = 1000
    
    	// if no heal-results are consumed (via the heal-status API)
    	// for this timeout duration, the heal sequence is aborted.
    	healUnconsumedTimeout = 24 * time.Hour
    
    	// time-duration to keep heal sequence state after it
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.1K bytes
    - Viewed (1)
  10. cmd/admin-router.go

    	adminAPIClientDevExtraTime     = "/speedtest/client/devnull/extratime"
    )
    
    var gzipHandler = func() func(http.Handler) http.HandlerFunc {
    	gz, err := gzhttp.NewWrapper(gzhttp.MinSize(1000), gzhttp.CompressionLevel(gzip.BestSpeed))
    	if err != nil {
    		// Static params, so this is very unlikely.
    		logger.Fatal(err, "Unable to initialize server")
    	}
    	return gz
    }()
    
    // Set of handler options as bit flags
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 25.5K bytes
    - Viewed (0)
Back to top