Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for 200 (0.15 sec)

  1. internal/etag/etag_test.go

    	{String: "3b83ef96387f14655fc854ddc3c6bd57", ETag: ETag{59, 131, 239, 150, 56, 127, 20, 101, 95, 200, 84, 221, 195, 198, 189, 87}},               // 1
    	{String: `"3b83ef96387f14655fc854ddc3c6bd57"`, ETag: ETag{59, 131, 239, 150, 56, 127, 20, 101, 95, 200, 84, 221, 195, 198, 189, 87}},             // 2
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 18 17:00:54 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  2. cmd/tier_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"testing"
    	"time"
    )
    
    func TestTierMetrics(t *testing.T) {
    	tier := "WARM-1"
    	globalTierMetrics.Observe(tier, 200*time.Millisecond)
    	expSuccess := 10
    	expFailure := 5
    	for i := 0; i < expSuccess; i++ {
    		globalTierMetrics.logSuccess(tier)
    	}
    	for i := 0; i < expFailure; i++ {
    		globalTierMetrics.logFailure(tier)
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Dec 21 04:13:40 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  3. src/archive/tar/reader_test.go

    			Uid:      1000,
    			Gid:      1000,
    			Size:     200,
    			ModTime:  time.Unix(1392395740, 0),
    			Typeflag: 0x53,
    			Linkname: "",
    			Uname:    "david",
    			Gname:    "david",
    			Devmajor: 0,
    			Devminor: 0,
    			Format:   FormatGNU,
    		}, {
    			Name:     "sparse-posix-0.0",
    			Mode:     420,
    			Uid:      1000,
    			Gid:      1000,
    			Size:     200,
    			ModTime:  time.Unix(1392342187, 0),
    			Typeflag: 0x30,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Nov 21 21:14:38 GMT 2022
    - 47.1K bytes
    - Viewed (0)
  4. internal/http/response-recorder.go

    		lrw.bytesWritten += int(n)
    		return n, err
    	}
    	return 0, ErrNotImplemented
    }
    
    func (lrw *ResponseRecorder) Write(p []byte) (int, error) {
    	if !lrw.headersLogged {
    		// We assume the response code to be '200 OK' when WriteHeader() is not called,
    		// that way following Golang HTTP response behavior.
    		lrw.WriteHeader(http.StatusOK)
    	}
    	n, err := lrw.ResponseWriter.Write(p)
    	lrw.bytesWritten += n
    	if lrw.TimeToFirstByte == 0 {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Dec 02 00:13:19 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  5. cmd/format-erasure_test.go

    	return nil, errErasureReadQuorum
    }
    
    func BenchmarkGetFormatErasureInQuorumOld(b *testing.B) {
    	setCount := 200
    	setDriveCount := 15
    
    	format := newFormatErasureV3(setCount, setDriveCount)
    	format.Erasure.DistributionAlgo = formatErasureVersionV2DistributionAlgoV1
    	formats := make([]*formatErasureV3, 15*200)
    
    	for i := 0; i < setCount; i++ {
    		for j := 0; j < setDriveCount; j++ {
    			newFormat := format.Clone()
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  6. tests/hooks_test.go

    	DB.Migrator().DropTable(&Product3{})
    	DB.AutoMigrate(&Product3{})
    
    	products := []*Product3{
    		{Name: "Product-1", Price: 100},
    		{Name: "Product-2", Price: 200},
    		{Name: "Product-3", Price: 300},
    	}
    
    	DB.Create(&products)
    
    	for idx, value := range []int64{200, 300, 400} {
    		if products[idx].Price != value {
    			t.Errorf("invalid price for product #%v, expects: %v, got %v", idx, value, products[idx].Price)
    		}
    	}
    
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Sat Feb 18 01:20:29 GMT 2023
    - 15.9K bytes
    - Viewed (0)
  7. cmd/admin-handlers.go

    				return
    			case <-ticker.C:
    				if !started {
    					// Start writing response to client
    					started = true
    					setCommonHeaders(w)
    					setEventStreamHeaders(w)
    					// Set 200 OK status
    					w.WriteHeader(200)
    				}
    				// Send whitespace and keep connection open
    				if _, err := w.Write([]byte(" ")); err != nil {
    					return
    				}
    				w.(http.Flusher).Flush()
    			case hr := <-respCh:
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 97.3K bytes
    - Viewed (2)
  8. internal/config/identity/plugin/config.go

    	}
    	defer o.args.CloseRespFn(resp.Body)
    	reqDurNanos := time.Since(reqStartTime).Nanoseconds()
    	o.serviceMetrics.accumRequestRTT(reqStartTime, float64(reqDurNanos)/1e6, true)
    
    	switch resp.StatusCode {
    	case 200:
    		var result AuthNSuccessResponse
    		if err = json.NewDecoder(resp.Body).Decode(&result); err != nil {
    			return AuthNResponse{}, err
    		}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 13.3K bytes
    - Viewed (3)
  9. misc/cgo/gmp/fib.go

    	for {
    		j := <-c
    		out <- j.String()
    		i.Add(i, j)
    		c <- i
    	}
    }
    
    func main() {
    	c := make(chan *big.Int)
    	out := make(chan string)
    	go fibber(c, out, 0)
    	go fibber(c, out, 1)
    	for i := 0; i < 200; i++ {
    		println(<-out)
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 10 22:32:35 GMT 2023
    - 919 bytes
    - Viewed (0)
  10. cmd/apierrorcode_string.go

    	_ = x[ErrAdminConfigDuplicateKeys-196]
    	_ = x[ErrAdminConfigInvalidIDPType-197]
    	_ = x[ErrAdminConfigLDAPNonDefaultConfigName-198]
    	_ = x[ErrAdminConfigLDAPValidation-199]
    	_ = x[ErrAdminConfigIDPCfgNameAlreadyExists-200]
    	_ = x[ErrAdminConfigIDPCfgNameDoesNotExist-201]
    	_ = x[ErrInsecureClientRequest-202]
    	_ = x[ErrObjectTampered-203]
    	_ = x[ErrAdminLDAPNotEnabled-204]
    	_ = x[ErrSiteReplicationInvalidRequest-205]
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 21.2K bytes
    - Viewed (0)
Back to top