Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for readAll (0.16 sec)

  1. cmd/server_test.go

    		c.Fatalf("Test %s expected %v, got %v", c.testType, expectedValue, gotValue)
    	}
    }
    
    func verifyError(c *check, response *http.Response, code, description string, statusCode int) {
    	c.Helper()
    	data, err := io.ReadAll(response.Body)
    	c.Assert(err, nil)
    	errorResponse := APIErrorResponse{}
    	err = xml.Unmarshal(data, &errorResponse)
    	c.Assert(err, nil)
    	c.Assert(errorResponse.Code, code)
    	c.Assert(errorResponse.Message, description)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
  2. cmd/object-handlers_test.go

    		if rec.Code != testCase.expectedRespStatus {
    			b, _ := io.ReadAll(rec.Body)
    			t.Fatalf("Test %d: Expected the response status to be `%d`, but instead found `%d`: %s", i, testCase.expectedRespStatus, rec.Code, string(b))
    		}
    		if testCase.expectedRespStatus != http.StatusOK {
    			b, err := io.ReadAll(rec.Body)
    			if err != nil {
    				t.Fatal(err)
    			}
    			var apiErr APIErrorResponse
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
  3. cmd/storage-datatypes_gen.go

    		return
    	}
    	err = z.ReplicationState.DecodeMsg(dc)
    	if err != nil {
    		err = msgp.WrapError(err, "ReplicationState")
    		return
    	}
    	if dc.IsNil() {
    		err = dc.ReadNil()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		z.Data = nil
    	} else {
    		z.Data, err = dc.ReadBytes(z.Data)
    		if err != nil {
    			err = msgp.WrapError(err, "Data")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 150.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    month, and doesn't tell what o'clock it is!'
    
      `Why should it?' muttered the Hatter.  `Does YOUR watch tell
    you what year it is?'
    
      `Of course not,' Alice replied very readily:  `but that's
    because it stays the same year for such a long time together.'
    
      `Which is just the case with MINE,' said the Hatter.
    
      Alice felt dreadfully puzzled.  The Hatter's remark seemed to
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 29 21:35:03 UTC 2012
    - 145.2K bytes
    - Viewed (0)
Back to top