Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for slashes (0.25 sec)

  1. internal/jwt/parser.go

    	}
    	for i := range hmacSigners {
    		h := hmacSigners[i].Hash
    		hmacSigners[i].HasherPool.New = func() interface{} {
    			return h.New()
    		}
    	}
    }
    
    // HashBorrower allows borrowing hashes and will keep track of them.
    func (s *SigningMethodHMAC) HashBorrower() HashBorrower {
    	return HashBorrower{pool: &s.HasherPool, borrowed: make([]hash.Hash, 0, 2)}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue May 09 07:53:08 GMT 2023
    - 13.9K bytes
    - Viewed (0)
  2. docs/erasure/storage-class/README.md

    ## Overview
    
    MinIO supports two storage classes, Reduced Redundancy class and Standard class. These classes can be defined using environment variables
    set before starting MinIO server. After the data and parity drives for each storage class are defined using environment variables,
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 15 23:04:20 GMT 2023
    - 5.8K bytes
    - Viewed (1)
  3. docs/debugging/hash-set/main.go

    package main
    
    import (
    	"bufio"
    	"bytes"
    	"encoding/binary"
    	"flag"
    	"fmt"
    	"hash/crc32"
    	"log"
    	"os"
    	"strings"
    
    	"github.com/dchest/siphash"
    	"github.com/google/uuid"
    )
    
    // hashes the key returning an integer based on the input algorithm.
    // This function currently supports
    // - SIPMOD
    func sipHashMod(key string, cardinality int, id [16]byte) int {
    	if cardinality <= 0 {
    		return -1
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 3.7K bytes
    - Viewed (0)
  4. docs/erasure/README.md

    By default, MinIO shards the objects across N/2 data and N/2 parity drives. Though, you can use [storage classes](https://github.com/minio/minio/tree/master/docs/erasure/storage-class) to use a custom configuration. We recommend N/2 data and parity blocks, as it ensures the best protection from drive failures.
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 4.1K bytes
    - Viewed (0)
  5. cmd/object-api-listobjects_test.go

    		// Test listing with marker > last object such that response should be empty (65)
    		{"test-bucket-single-object", "", "A/C", "", 1000, resultCases[34], nil, true},
    		// Test listing an object with a trailing slash and a slash delimiter (66)
    		{"test-bucket-list-object", "Asia-maps.png/", "", "/", 1000, resultCases[34], nil, true},
    		// Test listing an object with uncommon delimiter
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  6. cmd/os_unix.go

    				continue
    			}
    
    			typ = fi.Mode() & os.ModeType
    		}
    
    		var nameStr string
    		if typ.IsRegular() {
    			nameStr = string(name)
    		} else if typ.IsDir() {
    			// Use temp buffer to append a slash to avoid string concat.
    			tmp = tmp[:len(name)+1]
    			copy(tmp, name)
    			tmp[len(tmp)-1] = '/' // SlashSeparator
    			nameStr = string(tmp)
    		}
    
    		count--
    		entries = append(entries, nameStr)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  7. cmd/object-api-utils.go

    			return ObjectNameInvalid{
    				Bucket: bucket,
    				Object: object,
    			}
    		}
    	}
    	return nil
    }
    
    // SlashSeparator - slash separator.
    const SlashSeparator = "/"
    
    // SlashSeparatorChar - slash separator.
    const SlashSeparatorChar = '/'
    
    // retainSlash - retains slash from a path.
    func retainSlash(s string) string {
    	if s == "" {
    		return s
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  8. internal/config/storageclass/storage-class.go

    			return Config{}, err
    		}
    	} else {
    		cfg.RRS.Parity = defaultRRSParity
    		if setDriveCount == 1 {
    			cfg.RRS.Parity = 0
    		}
    	}
    
    	// Validation is done after parsing both the storage classes. This is needed because we need one
    	// storage class value to deduce the correct value of the other storage class.
    	if err = validateParity(cfg.Standard.Parity, cfg.RRS.Parity, setDriveCount); err != nil {
    		return Config{}, err
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  9. cmd/bucket-replication.go

    	}
    
    	meta[xhttp.AmzObjectTagging] = oi.UserTags
    	meta[xhttp.AmzTagDirective] = "REPLACE"
    
    	if sc == "" {
    		sc = oi.StorageClass
    	}
    	// drop non standard storage classes for tiering from replication
    	if sc != "" && (sc == storageclass.RRS || sc == storageclass.STANDARD) {
    		meta[xhttp.AmzStorageClass] = sc
    	}
    
    	meta[xhttp.MinIOSourceETag] = oi.ETag
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  10. cmd/metacache-set.go

    		return
    	case o.Prefix == o.BaseDir:
    		// No additional prefix
    		return
    	}
    	// Remove basedir.
    	o.FilterPrefix = strings.TrimPrefix(o.Prefix, o.BaseDir)
    	// Remove leading and trailing slashes.
    	o.FilterPrefix = strings.Trim(o.FilterPrefix, slashSeparator)
    
    	if strings.Contains(o.FilterPrefix, slashSeparator) {
    		// Sanity check, should not happen.
    		o.FilterPrefix = ""
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:59:08 GMT 2024
    - 30.4K bytes
    - Viewed (0)
Back to top