Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for Bytes (0.18 sec)

  1. cmd/httprange_test.go

    		errExpected bool
    	}{
    		{"bytes=0-", false},
    		{"bytes=1-", false},
    
    		{"bytes=0-9", false},
    		{"bytes=1-10", false},
    		{"bytes=1-1", false},
    		{"bytes=2-5", false},
    
    		{"bytes=-5", false},
    		{"bytes=-1", false},
    		{"bytes=-1000", false},
    		{"bytes=", true},
    		{"bytes= ", true},
    		{"byte=", true},
    		{"bytes=A-B", true},
    		{"bytes=1-B", true},
    		{"bytes=B-1", true},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  2. docs/metrics/v3.md

    | `io_rchar_bytes`              | `counter` | Total bytes read by the process from the underlying storage system including cache, /proc/[pid]/io rchar       | `server` |
    | `io_read_bytes`               | `counter` | Total bytes read by the process from the underlying storage system, /proc/[pid]/io read_bytes                  | `server` |
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 17:37:57 GMT 2024
    - 28.5K bytes
    - Viewed (0)
  3. cmd/admin-bucket-handlers.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bytes"
    	"encoding/base64"
    	"encoding/json"
    	"encoding/xml"
    	"errors"
    	"fmt"
    	"io"
    	"net/http"
    	"strings"
    	"time"
    
    	jsoniter "github.com/json-iterator/go"
    	"github.com/klauspost/compress/zip"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  4. cmd/httprange.go

    )
    
    const (
    	byteRangePrefix = "bytes="
    )
    
    // HTTPRangeSpec represents a range specification as supported by S3 GET
    // object request.
    //
    // Case 1: Not present -> represented by a nil RangeSpec
    // Case 2: bytes=1-10 (absolute start and end offsets) -> RangeSpec{false, 1, 10}
    // Case 3: bytes=10- (absolute start offset with end offset unspecified) -> RangeSpec{false, 10, -1}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  5. docs/ftp/README.md

    226 Closing data connection, sent 75 bytes
    ftp> get
    (remote-file) runner/chunkdocs/metadata
    (local-file) test
    local: test remote: runner/chunkdocs/metadata
    229 Entering Extended Passive Mode (|||37785|)
    150 Data transfer starting 45 bytes
    	45        3.58 KiB/s
    226 Closing data connection, sent 45 bytes
    45 bytes received in 00:00 (3.55 KiB/s)
    ...
    ```
    
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:15:45 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  6. internal/grid/grid_test.go

    		t.Log("1: server payload: ", len(payload), "bytes.")
    		return append([]byte{}, payload...), nil
    	}))
    	// 2: Return as error
    	errFatal(local.RegisterSingleHandler(handlerTest2, func(payload []byte) ([]byte, *RemoteErr) {
    		t.Log("2: server payload: ", len(payload), "bytes.")
    		err := RemoteErr(payload)
    		return nil, &err
    	}))
    
    	remote := grid.Managers[1]
    
    	// 1: Echo
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:03:35 GMT 2024
    - 30.1K bytes
    - Viewed (0)
  7. cmd/utils.go

    			runtime.GC()
    			var buf bytes.Buffer
    			err := pprof.Lookup("heap").WriteTo(&buf, 0)
    			return buf.Bytes(), err
    		}
    	case madmin.ProfilerBlock:
    		runtime.SetBlockProfileRate(100)
    		prof.stopFn = func() ([]byte, error) {
    			var buf bytes.Buffer
    			err := pprof.Lookup("block").WriteTo(&buf, 0)
    			runtime.SetBlockProfileRate(0)
    			return buf.Bytes(), err
    		}
    	case madmin.ProfilerMutex:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  8. docs/auditlog/auditlog-echo.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package main
    
    import (
    	"bytes"
    	"encoding/json"
    	"flag"
    	"fmt"
    	"io"
    	"log"
    	"net/http"
    )
    
    var port int
    
    func init() {
    	flag.IntVar(&port, "port", 8080, "Port to listen on")
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  9. cmd/test-utils_test.go

    		return nil, nil, fmt.Errorf("Failed to create certificate: %w", err)
    	}
    
    	certOut := bytes.NewBuffer([]byte{})
    	pem.Encode(certOut, &pem.Block{Type: "CERTIFICATE", Bytes: derBytes})
    
    	keyOut := bytes.NewBuffer([]byte{})
    	pem.Encode(keyOut, pemBlockForKey(priv))
    
    	return certOut.Bytes(), keyOut.Bytes(), nil
    }
    
    func mustGetPoolEndpoints(poolIdx int, args ...string) EndpointServerPools {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultTransport.java

        public Optional<String> getString(URI relativeSource, Charset charset) {
            requireNonNull(charset, "charset is null");
            Optional<byte[]> data = getBytes(relativeSource);
            return data.map(bytes -> new String(bytes, charset));
        }
    
        @Override
        public void put(Path source, URI relativeTarget) {
            requireNonNull(source, "source is null");
            requireNonNull(relativeTarget, "relativeTarget is null");
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 5.3K bytes
    - Viewed (0)
Back to top