Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 445 for parity (0.36 sec)

  1. src/time/time.go

    		return t
    	}
    	_, r := div(t, d)
    	if lessThanHalf(r, d) {
    		return t.Add(-r)
    	}
    	return t.Add(d - r)
    }
    
    // div divides t by d and returns the quotient parity and remainder.
    // We don't use the quotient parity anymore (round half up instead of round to even)
    // but it's still here in case we change our minds.
    func div(t Time, d Duration) (qmod2 int, r Duration) {
    	neg := false
    	nsec := t.nsec()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 50.7K bytes
    - Viewed (0)
  2. cmd/erasure-multipart.go

    		}
    	}
    
    	// Only parts with higher part numbers will be listed.
    	parts := fi.Parts
    	result.Parts = make([]PartInfo, 0, len(parts))
    	for _, part := range parts {
    		result.Parts = append(result.Parts, PartInfo{
    			PartNumber:     part.Number,
    			ETag:           part.ETag,
    			LastModified:   part.ModTime,
    			ActualSize:     part.ActualSize,
    			Size:           part.Size,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  3. src/unicode/utf8/utf8.go

    // Valid reports whether p consists entirely of valid UTF-8-encoded runes.
    func Valid(p []byte) bool {
    	// This optimization avoids the need to recompute the capacity
    	// when generating code for p[8:], bringing it to parity with
    	// ValidString, which was 20% faster on long ASCII strings.
    	p = p[:len(p):len(p)]
    
    	// Fast path. Check for and skip 8 bytes of ASCII characters per iteration.
    	for len(p) >= 8 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 02:00:36 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/ir/tf_device.cc

        // considered again.
        // Old bridge only removes unsupported TPU types (only string for now)
        // during outside compilation extraction so this should be enough for
        // the parity.
        bool is_unsupported_type = mlir::isa<mlir::TF::StringType>(
            getElementTypeOrSelf(operand.get().getType()));
        Value result = operand.get();
        if (is_unsupported_type && result.getParentBlock() != &body &&
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/386Ops.go

    		{name: "UGT", controls: 1},
    		{name: "UGE", controls: 1},
    		{name: "EQF", controls: 1},
    		{name: "NEF", controls: 1},
    		{name: "ORD", controls: 1}, // FP, ordered comparison (parity zero)
    		{name: "NAN", controls: 1}, // FP, unordered comparison (parity one)
    	}
    
    	archs = append(archs, arch{
    		name:            "386",
    		pkg:             "cmd/internal/obj/x86",
    		genfile:         "../../x86/ssa.go",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 14 08:10:32 UTC 2023
    - 45.1K bytes
    - Viewed (0)
  6. cmd/object-api-multipart_test.go

    	for _, part := range parts {
    		_, err = obj.PutObjectPart(context.Background(), part.bucketName, part.objName, part.uploadID, part.PartID, mustGetPutObjReader(t, bytes.NewBufferString(part.inputReaderData), part.inputDataSize, part.inputMd5, sha256sum), opts)
    		if err != nil {
    			t.Fatalf("%s : %s", instanceType, err)
    		}
    	}
    	// Parts to be sent as input for CompleteMultipartUpload.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 77.1K bytes
    - Viewed (0)
  7. cmd/api-response.go

    	listPartsResponse.Parts = make([]Part, len(partsInfo.Parts))
    	for index, part := range partsInfo.Parts {
    		newPart := Part{}
    		newPart.PartNumber = part.PartNumber
    		newPart.ETag = "\"" + part.ETag + "\""
    		newPart.Size = part.Size
    		newPart.LastModified = amztime.ISO8601Format(part.LastModified.UTC())
    		newPart.ChecksumCRC32 = part.ChecksumCRC32
    		newPart.ChecksumCRC32C = part.ChecksumCRC32C
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  8. cmd/server-main.go

    		// Print a warning at the end of the startup banner so it is more noticeable
    		if newObject.BackendInfo().StandardSCParity == 0 {
    			warnings = append(warnings, color.YellowBold("- The standard parity is set to 0. This can lead to data loss."))
    		}
    		objAPI := newObjectLayerFn()
    		if objAPI != nil {
    			printStorageInfo(objAPI.StorageInfo(GlobalContext, true))
    		}
    		if len(warnings) > 0 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 04 15:12:57 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  9. cmd/erasure-sets.go

    }
    
    // PutObjectPart - writes part of an object to hashedSet based on the object name.
    func (s *erasureSets) PutObjectPart(ctx context.Context, bucket, object, uploadID string, partID int, data *PutObjReader, opts ObjectOptions) (info PartInfo, err error) {
    	set := s.getHashedSet(object)
    	return set.PutObjectPart(ctx, bucket, object, uploadID, partID, data, opts)
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 37.7K bytes
    - Viewed (0)
  10. cmd/metrics-v2.go

    		Name:      "standard_parity",
    		Help:      "standard storage class parity",
    		Type:      gaugeMetric,
    	}
    }
    
    func getNodeRRSParityMD() MetricDescription {
    	return MetricDescription{
    		Namespace: nodeMetricNamespace,
    		Subsystem: storageClassSubsystem,
    		Name:      "rrs_parity",
    		Help:      "reduced redundancy storage class parity",
    		Type:      gaugeMetric,
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:54 UTC 2024
    - 131.9K bytes
    - Viewed (0)
Back to top