Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 24 of 24 for mentre (0.13 sec)

  1. cmd/object-handlers_test.go

    		secretKey  string
    		// expected output.
    		expectedContent    []byte // expected response body.
    		expectedRespStatus int    // expected response status body.
    	}{
    		// Test case - 1.
    		// Fetching the entire object and validating its contents.
    		{
    			bucketName: bucketName,
    			objectName: objectName,
    			byteRange:  "",
    			accessKey:  credentials.AccessKey,
    			secretKey:  credentials.SecretKey,
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  2. internal/ioutil/ioutil.go

    		}
    
    		if err != nil {
    			return written, err
    		}
    
    		if nw != int64(len(buf)) {
    			return written, io.ErrShortWrite
    		}
    
    		if totalSize > 0 && written == totalSize {
    			// we have written the entire stream, return right here.
    			return written, nil
    		}
    
    		if eof {
    			// We reached EOF prematurely but we did not write everything
    			// that we promised that we would write.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 11:26:59 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  3. src/cmd/cgo/doc.go

    passing a pointer to a field in a struct, the Go memory in question is
    the memory occupied by the field, not the entire struct. When passing a
    pointer to an element in an array or slice, the Go memory in question is
    the entire array or the entire backing array of the slice.
    
    C code may keep a copy of a Go pointer only as long as the memory it
    points to is pinned.
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  4. src/archive/zip/reader_test.go

    		}
    		t.FailNow()
    	}
    	info, err := dirEntries[0].Info()
    	if err != nil {
    		t.Fatalf("Error reading info entry: %v", err)
    	}
    	if name := info.Name(); name != "test.txt" {
    		t.Errorf("Inconsistent name in info entry: %v", name)
    	}
    }
    
    func TestUnderSize(t *testing.T) {
    	z, err := OpenReader("testdata/readme.zip")
    	if err != nil {
    		t.Fatal(err)
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
Back to top