Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 24 of 24 for eslint (0.34 sec)

  1. cmd/endpoint.go

    		endpoint, err := NewEndpoint(arg)
    		if err != nil {
    			return nil, fmt.Errorf("'%s': %s", arg, err.Error())
    		}
    
    		// All endpoints have to be same type and scheme if applicable.
    		//nolint:gocritic
    		if i == 0 {
    			endpointType = endpoint.Type()
    			scheme = endpoint.Scheme
    		} else if endpoint.Type() != endpointType {
    			return nil, fmt.Errorf("mixed style endpoints are not supported")
    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)
  2. cmd/metacache-entries_test.go

    	a, b := org.shallowClone(), org.shallowClone()
    	be := b.entries()
    	for i := range be {
    		//  Modify b so it isn't deduplicated.
    		be[i].metadata = []byte("something-else")
    	}
    	// Merge b into a
    	a.merge(b, -1)
    	//nolint:gocritic
    	want := append(loadMetacacheSampleNames, loadMetacacheSampleNames...)
    	sort.Strings(want)
    	got := a.entries().names()
    	if len(got) != len(want) {
    		t.Errorf("unexpected count, want %v, got %v", len(want), len(got))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 31.6K bytes
    - Viewed (0)
  3. cmd/xl-storage-format-v2.go

    }
    
    // metaDataPoolPut will put an unused small buffer back into the pool.
    func metaDataPoolPut(buf []byte) {
    	if cap(buf) >= metaDataReadDefault && cap(buf) < metaDataReadDefault*4 {
    		//nolint:staticcheck // SA6002 we are fine with the tiny alloc
    		metaDataPool.Put(buf)
    	}
    }
    
    // readXLMetaNoData will load the metadata, but skip data segments.
    // This should only be used when data is never interesting.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
  4. internal/http/dial_others.go

    package http
    
    import (
    	"context"
    	"net"
    	"syscall"
    	"time"
    )
    
    // TODO: if possible implement for non-linux platforms, not a priority at the moment
    //
    //nolint:unused
    func setTCPParametersFn(opts TCPOptions) func(network, address string, c syscall.RawConn) error {
    	return func(network, address string, c syscall.RawConn) error {
    		return nil
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 1.6K bytes
    - Viewed (0)
Back to top