Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 86 for Rashed (0.28 sec)

  1. docs/debugging/hash-set/main.go

    	k0, k1 := binary.LittleEndian.Uint64(id[0:8]), binary.LittleEndian.Uint64(id[8:16])
    	sum64 := siphash.Hash(k0, k1, []byte(key))
    	return int(sum64 % uint64(cardinality))
    }
    
    // hashOrder - hashes input key to return consistent
    // hashed integer slice. Returned integer order is salted
    // with an input key. This results in consistent order.
    // NOTE: collisions are fine, we are not looking for uniqueness
    // in the slices returned.
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 3.7K bytes
    - Viewed (0)
  2. istioctl/pkg/wait/wait.go

    	if verbose {
    		_, _ = fmt.Fprintf(cmd.OutOrStdout(), template+"\n", args...)
    	}
    }
    
    func validateType(kind string) error {
    	originalKind := kind
    
    	// Remove any dashes.
    	kind = strings.ReplaceAll(kind, "-", "")
    
    	for _, s := range collections.Pilot.All() {
    		if strings.EqualFold(kind, s.Kind()) {
    			targetSchema = s
    			return nil
    		}
    	}
    Go
    - Registered: Wed Apr 17 22:53:10 GMT 2024
    - Last Modified: Sat Feb 17 12:24:17 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  3. internal/bucket/replication/filter.go

    func (f *Filter) TestTags(userTags string) bool {
    	if f.cachedTags == nil {
    		cached := make(map[string]string)
    		for _, t := range append(f.And.Tags, f.Tag) {
    			if !t.IsEmpty() {
    				cached[t.Key] = t.Value
    			}
    		}
    		f.cachedTags = cached
    	}
    
    	// This filter does not have any tags, always return true
    	if len(f.cachedTags) == 0 {
    		return true
    	}
    
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Wed Sep 28 18:25:46 GMT 2022
    - 3.5K bytes
    - Viewed (2)
  4. cmd/sts-errors.go

    		Code:           "ExpiredToken",
    		Description:    "The web identity token that was passed is expired or is not valid. Get a new identity token from the identity provider and then retry the request.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrSTSClientGrantsExpiredToken: {
    		Code:           "ExpiredToken",
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  5. internal/config/errors.go

    		"Overlapping domain values",
    		"Please check the passed value",
    		"MINIO_DOMAIN only accepts non-overlapping domain values",
    	)
    
    	ErrInvalidDomainValue = newErrFn(
    		"Invalid domain value",
    		"Please check the passed value",
    		"Domain can only accept DNS compatible values",
    	)
    
    	ErrInvalidErasureSetSize = newErrFn(
    		"Invalid erasure set size",
    		"Please check the passed value",
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Mon Mar 18 22:25:32 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  6. cmd/post-policy_test.go

    	expirationStr := fmt.Sprintf(`"expiration": "%s"`, expiration.Format(iso8601TimeFormat))
    	// Add the bucket condition, only accept buckets equal to the one passed.
    	bucketConditionStr := fmt.Sprintf(`["eq", "$bucket", "%s"]`, bucketName)
    	// Add the key condition, only accept keys equal to the one passed.
    	keyConditionStr := fmt.Sprintf(`["eq", "$key", "%s/upload.txt"]`, objectKey)
    	// Add content length condition, only accept content sizes of a given length.
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  7. cmd/ftp-server.go

    		tokens := strings.SplitN(arg, "=", 2)
    		if len(tokens) != 2 {
    			logger.Fatal(fmt.Errorf("invalid arguments passed to --ftp=%s", arg), "unable to start FTP server")
    		}
    		switch tokens[0] {
    		case "address":
    			host, portStr, err := net.SplitHostPort(tokens[1])
    			if err != nil {
    				logger.Fatal(fmt.Errorf("invalid arguments passed to --ftp=%s (%v)", arg, err), "unable to start FTP server")
    			}
    			port, err = strconv.Atoi(portStr)
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 4.8K bytes
    - Viewed (2)
  8. manifests/manifest.go

    import (
    	"embed"
    	"io/fs"
    	"os"
    )
    
    // FS embeds the manifests
    //
    //go:embed all:charts/* profiles/*
    var FS embed.FS
    
    // BuiltinOrDir returns a FS for the provided directory. If no directory is passed, the compiled in
    // FS will be used
    func BuiltinOrDir(dir string) fs.FS {
    	if dir == "" {
    		return FS
    	}
    	return os.DirFS(dir)
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Wed Mar 15 02:30:16 GMT 2023
    - 935 bytes
    - Viewed (0)
  9. cmd/erasure-sets.go

    	case _, ok := <-s.setReconnectEvent:
    		if ok {
    			xioutil.SafeClose(s.setReconnectEvent)
    		}
    	default:
    		xioutil.SafeClose(s.setReconnectEvent)
    	}
    	return nil
    }
    
    // hashes the key returning an integer based on the input algorithm.
    // This function currently supports
    // - CRCMOD
    // - SIPMOD
    // - all new algos.
    func sipHashMod(key string, cardinality int, id [16]byte) int {
    	if cardinality <= 0 {
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 37.6K bytes
    - Viewed (5)
  10. istioctl/pkg/writer/ztunnel/configdump/policies.go

    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/pkg/maps"
    	"istio.io/istio/pkg/slices"
    )
    
    // PolicyFilter is used to pass filter information into service based config writer print functions
    type PolicyFilter struct {
    	Namespace string
    }
    
    // Verify returns true if the passed workload matches the filter fields
    func (wf *PolicyFilter) Verify(pol *ZtunnelPolicy) bool {
    	if wf.Namespace != "" {
    Go
    - Registered: Wed Apr 17 22:53:10 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 2.5K bytes
    - Viewed (0)
Back to top