Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for converted (3.91 sec)

  1. internal/grid/msg.go

    	// OpRequest is a single request + response.
    	// MuxID is returned in response.
    	OpRequest
    
    	// OpResponse is a response to a single request.
    	// FlagPayloadIsErr is used to signify that the payload is a string error converted to byte slice.
    	// When a response is received, the mux is already removed from the remote.
    	OpResponse
    
    	// OpDisconnect instructs that remote wants to disconnect
    	OpDisconnect
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 28 19:22:29 GMT 2023
    - 7.3K bytes
    - Viewed (0)
  2. internal/lock/lock_windows.go

    }
    
    // fixLongPath returns the extended-length (\\?\-prefixed) form of
    // path when needed, in order to avoid the default 260 character file
    // path limit imposed by Windows. If path is not easily converted to
    // the extended-length form (for example, if path is a relative path
    // or contains .. elements), or is short enough, fixLongPath returns
    // path unmodified.
    //
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Oct 18 18:08:15 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  3. internal/s3select/csv/record.go

    // defined type (other than the default string). So this function
    // always returns fields using sql.FromBytes so that the type
    // specified/implied by the query can be used, or can be automatically
    // converted based on the query.
    func (r *Record) Get(name string) (*sql.Value, error) {
    	index, found := r.nameIndexMap[name]
    	if !found {
    		// Check if index.
    		if strings.HasPrefix(name, "_") {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Sep 13 00:00:59 GMT 2022
    - 4.1K bytes
    - Viewed (0)
  4. internal/config/identity/ldap/config.go

    	maxLDAPExpiry time.Duration = 365 * 24 * time.Hour
    )
    
    // Config contains AD/LDAP server connectivity information.
    type Config struct {
    	LDAP ldap.Config
    
    	stsExpiryDuration time.Duration // contains converted value
    }
    
    // Enabled returns if LDAP is enabled.
    func (l *Config) Enabled() bool {
    	return l.LDAP.Enabled
    }
    
    // Clone returns a cloned copy of LDAP config.
    func (l *Config) Clone() Config {
    	if l == nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 7.9K bytes
    - Viewed (2)
  5. cmd/xl-storage_windows_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bytes"
    	"context"
    	"fmt"
    	"testing"
    )
    
    // Test if various paths work as expected when converted to UNC form
    func TestUNCPaths(t *testing.T) {
    	testCases := []struct {
    		objName string
    		pass    bool
    	}{
    		{"/abcdef", true},
    		{"/a/b/c/d/e/f/g", true},
    		{string(bytes.Repeat([]byte("界"), 85)), true},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Nov 29 06:35:16 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  6. cmd/metrics-v3-types.go

    	"github.com/pkg/errors"
    	"github.com/prometheus/client_golang/prometheus"
    	"golang.org/x/exp/slices"
    )
    
    type collectorPath string
    
    // metricPrefix converts a collector path to a metric name prefix. The path is
    // converted to snake-case (by replaced '/' and '-' with '_') and prefixed with
    // `minio_`.
    func (cp collectorPath) metricPrefix() string {
    	s := strings.TrimPrefix(string(cp), "/")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:05:22 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  7. internal/rest/client.go

    func (c *Client) Close() {
    	atomic.StoreInt32(&c.connected, closed)
    }
    
    // NewClient - returns new REST client.
    func NewClient(uu *url.URL, tr http.RoundTripper, newAuthToken func(aud string) string) *Client {
    	connected := int32(online)
    	urlStr := uu.String()
    	u, err := url.Parse(urlStr)
    	if err != nil {
    		// Mark offline, with no reconnection attempts.
    		connected = int32(offline)
    		err = &url.Error{URL: urlStr, Err: err}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 14.4K bytes
    - Viewed (0)
  8. docs/ftp/README.md

    ...
    ...
    ```
    
    Following example shows connecting via ftp client using `minioadmin` credentials, and list a bucket named `runner`:
    
    ```
    ftp localhost -P 8021
    Connected to localhost.
    220 Welcome to MinIO FTP Server
    Name (localhost:user): minioadmin
    331 User name ok, password required
    Password:
    230 Password ok, continue
    Remote system type is UNIX.
    Using binary mode to transfer files.
    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)
  9. docs/site-replication/README.md

    ## Configuring Site Replication
    
    - Configure an alias in `mc` for each of the sites. For example if you have three MinIO sites, you may run:
    
    ```sh
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 26 21:30:28 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  10. internal/dsync/dsync-client_test.go

    		u:    u,
    		rest: rest.NewClient(u, tr, nil),
    	}
    }
    
    // Close closes the underlying socket file descriptor.
    func (restClient *ReconnectRESTClient) IsOnline() bool {
    	// If rest client has not connected yet there is nothing to close.
    	return restClient.rest != nil
    }
    
    func (restClient *ReconnectRESTClient) IsLocal() bool {
    	return false
    }
    
    // Close closes the underlying socket file descriptor.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 20 17:36:09 GMT 2022
    - 4.4K bytes
    - Viewed (0)
Back to top