Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 5,196 for stringy (0.07 sec)

  1. internal/crypto/sse-s3.go

    func (sses3) IsEncrypted(metadata map[string]string) bool {
    	if _, ok := metadata[MetaSealedKeyS3]; ok {
    		return true
    	}
    	return false
    }
    
    // UnsealObjectKey extracts and decrypts the sealed object key
    // from the metadata using KMS and returns the decrypted object
    // key.
    func (s3 sses3) UnsealObjectKey(k *kms.KMS, metadata map[string]string, bucket, object string) (key ObjectKey, err error) {
    	if k == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. docs/debugging/s3-check-md5/main.go

    	"crypto/md5"
    	"flag"
    	"fmt"
    	"io"
    	"log"
    	"net/url"
    	"os"
    	"path"
    	"strconv"
    	"strings"
    	"time"
    
    	"github.com/minio/minio-go/v7"
    	"github.com/minio/minio-go/v7/pkg/credentials"
    )
    
    var (
    	endpoint, accessKey, secretKey string
    	minModTimeStr                  string
    	bucket, prefix                 string
    	debug                          bool
    	versions                       bool
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Feb 17 01:15:57 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. schema/relationship.go

    type Constraint struct {
    	Name            string
    	Field           *Field
    	Schema          *Schema
    	ForeignKeys     []*Field
    	ReferenceSchema *Schema
    	References      []*Field
    	OnDelete        string
    	OnUpdate        string
    }
    
    func (constraint *Constraint) GetName() string { return constraint.Name }
    
    func (constraint *Constraint) Build() (sql string, vars []interface{}) {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 03:46:59 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  4. internal/config/lambda/event/targetlist.go

    	t := TargetStats{}
    	if list == nil {
    		return t
    	}
    	list.RLock()
    	defer list.RUnlock()
    	t.TargetStats = make(map[string]TargetStat, len(list.targets))
    	for id, target := range list.targets {
    		t.TargetStats[strings.ReplaceAll(id.String(), ":", "_")] = target.Stat()
    	}
    	return t
    }
    
    // NewTargetList - creates TargetList.
    func NewTargetList() *TargetList {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 07 16:12:41 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  5. cmd/object-api-utils.go

    // to do case insensitive checks.
    func HasSuffix(s string, suffix string) bool {
    	if runtime.GOOS == globalWindowsOSName {
    		return strings.HasSuffix(strings.ToLower(s), strings.ToLower(suffix))
    	}
    	return strings.HasSuffix(s, suffix)
    }
    
    // Validates if two strings are equal.
    func isStringEqual(s1 string, s2 string) bool {
    	if runtime.GOOS == globalWindowsOSName {
    		return strings.EqualFold(s1, s2)
    	}
    	return s1 == s2
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/TestStringSetGenerator.java

      public Set<String> create(Object... elements) {
        String[] array = new String[elements.length];
        int i = 0;
        for (Object e : elements) {
          array[i++] = (String) e;
        }
        return create(array);
      }
    
      protected abstract Set<String> create(String[] elements);
    
      @Override
      public String[] createArray(int length) {
        return new String[length];
      }
    
      /**
       * {@inheritDoc}
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/TestStringSetGenerator.java

      public Set<String> create(Object... elements) {
        String[] array = new String[elements.length];
        int i = 0;
        for (Object e : elements) {
          array[i++] = (String) e;
        }
        return create(array);
      }
    
      protected abstract Set<String> create(String[] elements);
    
      @Override
      public String[] createArray(int length) {
        return new String[length];
      }
    
      /**
       * {@inheritDoc}
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. internal/hash/checksum.go

    		if len(res) == 0 {
    			res = make([]map[string]string, parts)
    		}
    		b = b[n:]
    		for part := 0; part < int(parts); part++ {
    			if len(b) < length {
    				break
    			}
    			// Read part checksum
    			cs := base64.StdEncoding.EncodeToString(b[:length])
    			b = b[length:]
    			if res[part] == nil {
    				res[part] = make(map[string]string, 1)
    			}
    			res[part][typ.String()] = cs
    		}
    	}
    	return res
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 19 12:59:07 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  9. schema/schema_helper_test.go

    		}
    	})
    }
    
    type Relation struct {
    	Name        string
    	Type        schema.RelationshipType
    	Schema      string
    	FieldSchema string
    	Polymorphic Polymorphic
    	JoinTable   JoinTable
    	References  []Reference
    }
    
    type Polymorphic struct {
    	ID    string
    	Type  string
    	Value string
    }
    
    type JoinTable struct {
    	Name   string
    	Table  string
    	Fields []schema.Field
    }
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Dec 15 08:31:23 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  10. cmd/endpoint-ellipses.go

    )
    
    type node struct {
    	nodeName string
    	disks    []string
    }
    
    type endpointsList []node
    
    func (el *endpointsList) add(arg string) error {
    	u, err := url.Parse(arg)
    	if err != nil {
    		return err
    	}
    	found := false
    	list := *el
    	for i := range list {
    		if list[i].nodeName == u.Host {
    			list[i].disks = append(list[i].disks, u.String())
    			found = true
    			break
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 14.7K bytes
    - Viewed (0)
Back to top