Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 110 for special (0.23 sec)

  1. src/builtin/builtin.go

    //	slice = append(slice, anotherSlice...)
    //
    // As a special case, it is legal to append a string to a byte slice, like this:
    //
    //	slice = append([]byte("hello "), "world"...)
    func append(slice []Type, elems ...Type) []Type
    
    // The copy built-in function copies elements from a source slice into a
    // destination slice. (As a special case, it also will copy bytes from a
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  2. cmd/erasure-metadata.go

    // ObjectToPartOffset - translate offset of an object to offset of its individual part.
    func (fi FileInfo) ObjectToPartOffset(ctx context.Context, offset int64) (partIndex int, partOffset int64, err error) {
    	if offset == 0 {
    		// Special case - if offset is 0, then partIndex and partOffset are always 0.
    		return 0, 0, nil
    	}
    	partOffset = offset
    	// Seek until object offset maps to a particular part offset.
    	for i, part := range fi.Parts {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  3. istioctl/cmd/options_test.go

          --log_target: The set of paths where to output the log. This can be any path as well as the special values stdout and stderr
    `
    
    func TestLogHelp(t *testing.T) {
    	var out bytes.Buffer
    	rootCmd := GetRootCmd([]string{"options"})
    	rootCmd.SetOut(&out)
    	rootCmd.SetErr(&out)
    
    	fErr := rootCmd.Execute()
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Sep 14 02:38:54 GMT 2022
    - 1.9K bytes
    - Viewed (0)
  4. internal/config/api/help.go

    			Optional:    true,
    			Type:        "duration",
    		},
    		config.HelpKV{
    			Key:         apiODirect,
    			Description: "set to enable or disable O_DIRECT for writes under special conditions. NOTE: do not disable O_DIRECT without prior testing" + defaultHelpPostfix(apiODirect),
    			Optional:    true,
    			Type:        "boolean",
    		},
    		config.HelpKV{
    			Key:         apiRootAccess,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 15 01:07:19 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  5. cmd/test-utils_test.go

    // Regular object test type.
    type objTestType func(obj ObjectLayer, instanceType string, t TestErrHandler)
    
    // Special test type for test with directories
    type objTestTypeWithDirs func(obj ObjectLayer, instanceType string, dirs []string, t TestErrHandler)
    
    // Special object test type for disk not found situations.
    type objTestDiskNotFoundType func(obj ObjectLayer, instanceType string, dirs []string, t *testing.T)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/asm/parse.go

    	name := tok.String()
    	if tok.ScanToken == scanner.Ident && !p.atStartOfRegister(name) {
    		switch p.arch.Family {
    		case sys.ARM64:
    			// arm64 special operands.
    			if opd := arch.GetARM64SpecialOperand(name); opd != arm64.SPOP_END {
    				a.Type = obj.TYPE_SPECIAL
    				a.Offset = int64(opd)
    				break
    			}
    			fallthrough
    		default:
    			// We have a symbol. Parse $sym±offset(symkind)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  7. cmd/signature-v4_test.go

    package cmd
    
    import (
    	"context"
    	"fmt"
    	"net/http"
    	"net/url"
    	"os"
    	"testing"
    	"time"
    )
    
    func niceError(code APIErrorCode) string {
    	// Special-handle ErrNone
    	if code == ErrNone {
    		return "ErrNone"
    	}
    
    	return fmt.Sprintf("%s (%s)", errorCodes[code].Code, errorCodes[code].Description)
    }
    
    func TestDoesPolicySignatureMatch(t *testing.T) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 10.4K bytes
    - Viewed (1)
  8. src/bytes/bytes.go

    // upper case, giving priority to the special casing rules.
    func ToUpperSpecial(c unicode.SpecialCase, s []byte) []byte {
    	return Map(c.ToUpper, s)
    }
    
    // ToLowerSpecial treats s as UTF-8-encoded bytes and returns a copy with all the Unicode letters mapped to their
    // lower case, giving priority to the special casing rules.
    func ToLowerSpecial(c unicode.SpecialCase, s []byte) []byte {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
  9. cmd/encryption-v1.go

    	// AWS errors for invalid SSE-C requests.
    	errEncryptedObject                = errors.New("The object was stored using a form of SSE")
    	errInvalidSSEParameters           = errors.New("The SSE-C key for key-rotation is not correct") // special access denied
    	errKMSNotConfigured               = errors.New("KMS not configured for a server side encrypted objects")
    	errKMSKeyNotFound                 = errors.New("Unknown KMS key ID")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 36.5K bytes
    - Viewed (0)
  10. cmd/object-api-utils.go

    // letters, decimal digits and hyphens, but must not begin or end with
    // a hyphen. See:
    // http://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestrictions.html
    func IsValidBucketName(bucket string) bool {
    	// Special case when bucket is equal to one of the meta buckets.
    	if isMinioMetaBucketName(bucket) {
    		return true
    	}
    	if len(bucket) < 3 || len(bucket) > 63 {
    		return false
    	}
    
    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)
Back to top