Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for sc (0.04 sec)

  1. internal/config/storageclass/storage-class_test.go

    func TestIsValidStorageClassKind(t *testing.T) {
    	tests := []struct {
    		sc   string
    		want bool
    	}{
    		{"STANDARD", true},
    		{"REDUCED_REDUNDANCY", true},
    		{"", false},
    		{"INVALID", false},
    		{"123", false},
    		{"MINIO_STORAGE_CLASS_RRS", false},
    		{"MINIO_STORAGE_CLASS_STANDARD", false},
    	}
    	for i, tt := range tests {
    		if got := IsValid(tt.sc); got != tt.want {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 15 23:04:20 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  2. docs/debugging/hash-set/main.go

    		distrib := make([][]string, setCount)
    		b, err := os.ReadFile(file)
    		if err != nil {
    			log.Fatalln(err)
    		}
    		b = bytes.ReplaceAll(b, []byte("\r"), []byte{})
    		sc := bufio.NewScanner(bytes.NewBuffer(b))
    		for sc.Scan() {
    			object = strings.TrimSpace(sc.Text())
    			set := sipHashMod(prefix+object, setCount, id)
    			distrib[set] = append(distrib[set], prefix+object)
    		}
    		for set, files := range distrib {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  3. internal/config/storageclass/storage-class.go

    		return err
    	}
    	sc.Parity = s.Parity
    	return nil
    }
    
    // MarshalText - marshals storage class string.
    func (sc *StorageClass) MarshalText() ([]byte, error) {
    	if sc.Parity != 0 {
    		return []byte(fmt.Sprintf("%s:%d", schemePrefix, sc.Parity)), nil
    	}
    	return []byte{}, nil
    }
    
    func (sc *StorageClass) String() string {
    	if sc.Parity != 0 {
    		return fmt.Sprintf("%s:%d", schemePrefix, sc.Parity)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/testdata/loong64enc3.s

    	MOVB	R4, 65536(R5)			// 1e020014de971000c4030029
    	MOVB	R4, 4096(R5)			// 3e000014de971000c4030029
    	MOVBU	R4, 65536(R5)			// 1e020014de971000c4030029
    	MOVBU	R4, 4096(R5)			// 3e000014de971000c4030029
    	SC	R4, 65536(R5)			// 1e020014de971000c4030021
    	SC	R4, 4096(R5)	   		// 3e000014de971000c4030021
    	MOVW	y+65540(FP), R4			// 1e020014de8f1000c4338028
    	MOVWU	y+65540(FP), R4			// 1e020014de8f1000c433802a
    	MOVV	y+65540(FP), R4			// 1e020014de8f1000c433c028
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Jul 29 14:29:30 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. docs/language_names.yml

    os: ирон æвзаг
    pa: ਪੰਜਾਬੀ
    pi: पाऴि
    pl: Polski
    ps: پښتو
    pt: português
    qu: Runa Simi
    rm: rumantsch grischun
    rn: Ikirundi
    ro: Română
    ru: русский язык
    rw: Ikinyarwanda
    sa: संस्कृतम्
    sc: sardu
    sd: सिन्धी
    se: Davvisámegiella
    sg: yângâ tî sängö
    si: සිංහල
    sk: slovenčina
    sl: slovenščina
    sn: chiShona
    so: Soomaaliga
    sq: shqip
    sr: српски језик
    ss: SiSwati
    st: Sesotho
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Jan 22 19:42:53 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. cmd/object-handlers.go

    		emetadata, err := extractMetadataFromReq(ctx, r)
    		if err != nil {
    			return nil, err
    		}
    		if sc != "" {
    			emetadata[xhttp.AmzStorageClass] = sc
    		}
    		return emetadata, nil
    	}
    
    	if sc != "" {
    		defaultMeta[xhttp.AmzStorageClass] = sc
    	}
    
    	// if x-amz-metadata-directive says COPY then we
    	// return the default metadata.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/testdata/mips.s

    	//
    	//	LMOVW rreg ',' addr
    	//	{
    	//		outcode(int($1), &$2, 0, &$4);
    	//	}
    	MOVW	R1, foo<>+3(SB)
    	MOVW	R1, 16(R2)
    	MOVW	R1, (R2)
    	MOVW	R1, foo<>+3(SB)
    	MOVW	R1, 16(R2)
    	MOVW	R1, (R2)
    	SC	R1, (R2)
    
    	//	LMOVB rreg ',' addr
    	//	{
    	//		outcode(int($1), &$2, 0, &$4);
    	//	}
    	MOVB	R1, foo<>+3(SB)
    	MOVB	R1, 16(R2)
    	MOVB	R1, (R2)
    
    	//
    	// store floats
    	//
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 08 12:17:12 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  8. cmd/config-current.go

    	case config.StorageClassSubSys:
    		for i, setDriveCount := range setDriveCounts {
    			sc, err := storageclass.LookupConfig(s[config.StorageClassSubSys][config.Default], setDriveCount)
    			if err != nil {
    				configLogIf(ctx, fmt.Errorf("Unable to initialize storage class config: %w", err))
    				break
    			}
    			if i == 0 {
    				globalStorageClass.Update(sc)
    			}
    		}
    	case config.SubnetSubSys:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  9. okhttp/src/main/resources/okhttp3/internal/publicsuffix/PublicSuffixDatabase.gz

    satosho.okayama.jp satsumasendai.kagoshima.jp satte.saitama.jp satx.museum sauda.no sauherad.no savannahga.museum save saves-the-whales.com savona.it saxo sayama.osaka.jp sayama.saitama.jp sayo.hyogo.jp sb sb.ua sbi sbs sc sc.cn sc.gov.br sc.ke sc.kr sc.leg.br sc.ls sc.tz sc.ug sc.us sca scalebook.scw.cloud scb sch.ae sch.id sch.ir sch.jo sch.lk sch.ly sch.ng sch.qa sch.sa sch.so sch.ss sch.tf sch.wf sch.zm schaeffler schlesisches.museum schmidt schoenbrunn.museum schokokeks.net schokoladen.museum...
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 40.4K bytes
    - Viewed (1)
  10. cmd/bucket-lifecycle.go

    func putRestoreOpts(bucket, object string, rreq *RestoreObjectRequest, objInfo ObjectInfo) (putOpts ObjectOptions) {
    	meta := make(map[string]string)
    	sc := rreq.OutputLocation.S3.StorageClass
    	if sc == "" {
    		sc = objInfo.StorageClass
    	}
    	meta[strings.ToLower(xhttp.AmzStorageClass)] = sc
    
    	if rreq.Type == SelectRestoreRequest {
    		for _, v := range rreq.OutputLocation.S3.UserMetadata {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 23 15:35:37 UTC 2024
    - 33.7K bytes
    - Viewed (0)
Back to top