Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for cs (0.22 sec)

  1. internal/hash/checksum.go

    		length := typ.RawByteLen()
    		if length == 0 || len(b) < length {
    			break
    		}
    		cs := base64.StdEncoding.EncodeToString(b[:length])
    		b = b[length:]
    		if typ.Is(ChecksumMultipart) {
    			t, n := binary.Uvarint(b)
    			if n < 0 {
    				break
    			}
    			cs = fmt.Sprintf("%s-%d", cs, t)
    			b = b[n:]
    			if part > 0 {
    				cs = ""
    			}
    			if typ.Is(ChecksumIncludesMultipart) {
    				wantLen := int(t) * length
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  2. cmd/erasure-multipart.go

    	onlineDisks := er.getDisks()
    	writeQuorum := fi.WriteQuorum(er.defaultWQuorum())
    
    	if cs := fi.Metadata[hash.MinIOMultipartChecksum]; cs != "" {
    		if r.ContentCRCType().String() != cs {
    			return pi, InvalidArgument{
    				Bucket: bucket,
    				Object: fi.Name,
    				Err:    fmt.Errorf("checksum missing, want %q, got %q", cs, r.ContentCRCType().String()),
    			}
    		}
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 19 16:44:59 GMT 2024
    - 42.4K bytes
    - Viewed (0)
  3. cmd/metrics-v3-cache.go

    		prevDriveIOStatsMu.Lock()
    		if prevDriveIOStats != nil {
    			duration := now.Sub(prevDriveIOStatsRefreshedAt)
    			if duration.Seconds() > 1 {
    				for d, cs := range currentStats {
    					if ps, found := prevDriveIOStats[d]; found {
    						v.ioStats[d] = getDriveIOStatMetrics(getDiffStats(ps, cs), duration)
    					}
    				}
    			}
    		}
    
    		prevDriveIOStats = currentStats
    		prevDriveIOStatsRefreshedAt = now
    		prevDriveIOStatsMu.Unlock()
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Apr 17 05:10:25 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  4. cmd/api-response.go

    	cs := oi.decryptChecksums(0)
    	c := CompleteMultipartUploadResponse{
    		Location: location,
    		Bucket:   bucket,
    		Key:      key,
    		// AWS S3 quotes the ETag in XML, make sure we are compatible here.
    		ETag:           "\"" + oi.ETag + "\"",
    		ChecksumSHA1:   cs[hash.ChecksumSHA1.String()],
    		ChecksumSHA256: cs[hash.ChecksumSHA256.String()],
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 33.3K bytes
    - Viewed (2)
  5. cmd/encryption-v1.go

    		if err != nil {
    			encLogIf(GlobalContext, err)
    			return
    		}
    		data = decrypted
    	}
    	cs := hash.ReadPartCheckSums(data)
    	if len(cs) == len(o.Parts) {
    		for i := range o.Parts {
    			o.Parts[i].Checksums = cs[i]
    		}
    	}
    	return
    }
    
    // metadataEncryptFn provides an encryption function for metadata.
    // Will return nil, nil if unencrypted.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 36.5K bytes
    - Viewed (0)
  6. src/main/resources/fess_config.properties

    query.default.languages=
    query.json.default.preference=_query
    query.gsa.default.preference=_query
    query.language.mapping=\
    ar=ar\n\
    bg=bg\n\
    bn=bn\n\
    ca=ca\n\
    ckb-iq=ckb-iq\n\
    ckb_IQ=ckb-iq\n\
    cs=cs\n\
    da=da\n\
    de=de\n\
    el=el\n\
    en=en\n\
    en-ie=en-ie\n\
    en_IE=en-ie\n\
    es=es\n\
    et=et\n\
    eu=eu\n\
    fa=fa\n\
    fi=fi\n\
    fr=fr\n\
    gl=gl\n\
    gu=gu\n\
    he=he\n\
    hi=hi\n\
    Properties
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Apr 11 02:34:53 GMT 2024
    - 30.6K bytes
    - Viewed (1)
  7. src/cmd/cgo/doc.go

    	// #include <stdlib.h>
    	//
    	// static void myprint(char* s) {
    	//   printf("%s\n", s);
    	// }
    	import "C"
    	import "unsafe"
    
    	func main() {
    		cs := C.CString("Hello from stdio")
    		C.myprint(cs)
    		C.free(unsafe.Pointer(cs))
    	}
    
    A few special functions convert between Go and C types
    by making copies of the data. In pseudo-Go definitions:
    
    	// Go string to C string
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  8. cmd/storage-datatypes.go

    	// no other caller must set this value other than multi-object delete call.
    	// usage in other calls in undefined please avoid.
    	Idx int `msg:"i"`
    
    	// Combined checksum when object was uploaded.
    	Checksum []byte `msg:"cs,allownil"`
    
    	// Versioned - indicates if this file is versioned or not.
    	Versioned bool `msg:"vs"`
    }
    
    // ShallowCopy - copies minimal information for READ MRF checks.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Apr 16 15:41:27 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  9. istioctl/pkg/describe/describe.go

    				return true
    			}
    		}
    	}
    
    	clusterName := ""
    	switch cs := vhRoute.GetRoute().GetClusterSpecifier().(type) {
    	case *route.RouteAction_Cluster:
    		clusterName = cs.Cluster
    	case *route.RouteAction_WeightedClusters:
    		clusterName = cs.WeightedClusters.Clusters[0].GetName()
    	}
    
    	// If this is an ingress gateway, the Domains will be something like *:80, so check routes
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

          protected String pendingToString() {
            return "task=[" + delegate + "]";
          }
        }
      }
    
      /*
       * This following method is a modified version of one found in
       * http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/src/test/tck/AbstractExecutorServiceTest.java?revision=1.30
       * which contained the following notice:
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
Back to top