Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 51 for grid (0.2 sec)

  1. internal/grid/muxserver.go

    // GNU Affero General Public License for more details.
    //
    // 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 grid
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"sync"
    	"sync/atomic"
    	"time"
    
    	xioutil "github.com/minio/minio/internal/ioutil"
    )
    
    const lastPingThreshold = 4 * clientPingInterval
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  2. internal/grid/types_test.go

    // GNU Affero General Public License for more details.
    //
    // 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 grid
    
    import (
    	"reflect"
    	"testing"
    
    	"github.com/tinylib/msgp/msgp"
    )
    
    func TestMarshalUnmarshalMSS(t *testing.T) {
    	v := MSS{"abc": "def", "ghi": "jkl"}
    	bts, err := v.MarshalMsg(nil)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  3. cmd/generic-handlers.go

    	"runtime/debug"
    	"strings"
    	"sync/atomic"
    	"time"
    
    	"github.com/dustin/go-humanize"
    	"github.com/minio/minio-go/v7/pkg/s3utils"
    	"github.com/minio/minio-go/v7/pkg/set"
    	"github.com/minio/minio/internal/grid"
    	xnet "github.com/minio/pkg/v2/net"
    	"golang.org/x/exp/maps"
    	"golang.org/x/exp/slices"
    
    	"github.com/minio/minio/internal/amztime"
    	"github.com/minio/minio/internal/config/dns"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 01:08:52 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  4. cmd/erasure-healing.go

    					continue
    				}
    				partPath := pathJoin(tmpID, dstDataDir, fmt.Sprintf("part.%d", partNumber))
    				if len(inlineBuffers) > 0 {
    					buf := grid.GetByteBufferCap(int(erasure.ShardFileSize(latestMeta.Size)) + 64)
    					inlineBuffers[i] = bytes.NewBuffer(buf[:0])
    					defer grid.PutByteBuffer(buf)
    
    					writers[i] = newStreamingBitrotWriterBuffer(inlineBuffers[i], DefaultBitrotAlgorithm, erasure.ShardSize())
    				} else {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  5. dockerscripts/docker-entrypoint.sh

    	if [ -n "${1}" ]; then
    		set -- minio "$@"
    	fi
    fi
    
    docker_switch_user() {
    	if [ -n "${MINIO_USERNAME}" ] && [ -n "${MINIO_GROUPNAME}" ]; then
    		if [ -n "${MINIO_UID}" ] && [ -n "${MINIO_GID}" ]; then
    			chroot --userspec=${MINIO_UID}:${MINIO_GID} / "$@"
    		else
    			echo "${MINIO_USERNAME}:x:1000:1000:${MINIO_USERNAME}:/:/sbin/nologin" >>/etc/passwd
    			echo "${MINIO_GROUPNAME}:x:1000" >>/etc/group
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Nov 03 21:18:18 GMT 2023
    - 675 bytes
    - Viewed (0)
  6. internal/s3select/csv/reader_contrib_test.go

    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 38.5K bytes
    - Viewed (0)
  7. internal/grid/msg_gen_test.go

    package grid
    
    // Code generated by github.com/tinylib/msgp DO NOT EDIT.
    
    import (
    	"bytes"
    	"testing"
    
    	"github.com/tinylib/msgp/msgp"
    )
    
    func TestMarshalUnmarshalconnectReq(t *testing.T) {
    	v := connectReq{}
    	bts, err := v.MarshalMsg(nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    	left, err := v.UnmarshalMsg(bts)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if len(left) > 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 10.8K bytes
    - Viewed (0)
  8. internal/s3select/csv/testdata/testdata.zip

    tolls_amount ehail_fee improvement_surcharge total_amount payment_type trip_type pickup dropoff cab_type precipitation snow_depth snowfall max_temp min_temp wind pickup_nyct2010_gid pickup_ctlabel pickup_borocode pickup_boroname pickup_ct2010 pickup_boroct2010 pickup_cdeligibil pickup_ntacode pickup_ntaname pickup_puma dropoff_nyct2010_gid dropoff_ctlabel dropoff_borocode dropoff_boroname dropoff_ct2010 dropoff_boroct2010 dropoff_cdeligibil dropoff_ntacode dropoff_ntaname dropoff_puma 3389224 2 2014-03-26...
    ZIP Archive
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 111.6K bytes
    - Viewed (0)
  9. cmd/admin-handlers.go

    	"github.com/klauspost/compress/zip"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/madmin-go/v3/estream"
    	"github.com/minio/minio-go/v7/pkg/set"
    	"github.com/minio/minio/internal/dsync"
    	"github.com/minio/minio/internal/grid"
    	"github.com/minio/minio/internal/handlers"
    	xhttp "github.com/minio/minio/internal/http"
    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/minio/minio/internal/kms"
    	"github.com/minio/minio/internal/logger"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  10. cmd/endpoint.go

    	return URLEndpointType
    }
    
    // HTTPS - returns true if secure for URLEndpointType.
    func (endpoint Endpoint) HTTPS() bool {
    	return endpoint.Scheme == "https"
    }
    
    // GridHost returns the host to be used for grid connections.
    func (endpoint Endpoint) GridHost() string {
    	return fmt.Sprintf("%s://%s", endpoint.Scheme, endpoint.Host)
    }
    
    // UpdateIsLocal - resolves the host and updates if it is local or not.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 34.1K bytes
    - Viewed (0)
Back to top