Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 61 for 1200 (0.15 sec)

  1. src/bufio/bufio_test.go

    	b1.WriteString(strings.Repeat("x", 1200))
    	b1.Flush()
    	if w1 != 1 {
    		t.Fatalf("flush 1200 'x's: got %d writes, want 1", w1)
    	}
    	b1.WriteString(strings.Repeat("x", 89))
    	if w1 != 1 {
    		t.Fatalf("write 1200 + 89 'x's: got %d writes, want 1", w1)
    	}
    	io.Copy(b1, onlyReader{strings.NewReader(strings.Repeat("x", 700))})
    	if w1 != 1 {
    		t.Fatalf("write 1200 + 789 'x's: got %d writes, want 1", w1)
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  2. cmd/object-api-datatypes.go

    var ObjectsVersionCountIntervals = [dataUsageVersionLen]objectHistogramInterval{
    	{"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)
  3. internal/s3select/csv/reader.go

    		go func() {
    			for in := range r.input {
    				if len(in.input) == 0 {
    					in.dst <- nil
    					continue
    				}
    				dst, ok := r.csvDstPool.Get().([][]string)
    				if !ok {
    					dst = make([][]string, 0, 1000)
    				}
    
    				cr := newReader(bytes.NewBuffer(in.input))
    				all := dst[:0]
    				err := func() error {
    					// Read all records until EOF or another error.
    					for {
    						record, err := cr.Read()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  4. src/archive/zip/struct.go

    	h.ExternalAttrs = fileModeToUnixMode(mode) << 16
    
    	// set MSDOS attributes too, as the original zip does.
    	if mode&fs.ModeDir != 0 {
    		h.ExternalAttrs |= msdosDir
    	}
    	if mode&0200 == 0 {
    		h.ExternalAttrs |= msdosReadOnly
    	}
    }
    
    // isZip64 reports whether the file size exceeds the 32 bit limit
    func (h *FileHeader) isZip64() bool {
    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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/bytes/bytes_test.go

    	for i := 0; i <= len(b)-15; i++ {
    		for j := 0; j < 15; j++ {
    			b[i+j] = byte(100 + j)
    		}
    		for j := 0; j < 15; j++ {
    			p := IndexByte(b[i:i+15], byte(100+j))
    			if p != j {
    				t.Errorf("IndexByte(%q, %d) = %d", b[i:i+15], 100+j, p)
    			}
    		}
    		for j := 0; j < 15; j++ {
    			b[i+j] = 0
    		}
    	}
    	// Make sure matches outside the slice never trigger.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  10. cmd/peer-rest-server.go

    	// STREAMS
    	// Set an output capacity of 100 for consoleLog and listenRPC
    	// There is another buffer that will buffer events.
    	consoleLogRPC = grid.NewStream[*grid.MSS, grid.NoPayload, *grid.Bytes](grid.HandlerConsoleLog, grid.NewMSS, nil, grid.NewBytes).WithOutCapacity(100)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
Back to top