- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 407 for is_zero (0.33 sec)
-
cmd/site-replication.go
var hasBucket, isBucketMarkedDeleted bool bi, ok := sris[dIdx].Buckets[s.Bucket] if ok { isBucketMarkedDeleted = !bi.DeletedAt.IsZero() && (bi.CreatedAt.IsZero() || bi.DeletedAt.After(bi.CreatedAt)) hasBucket = !bi.CreatedAt.IsZero() } quotaCfgSet := hasBucket && quotaCfgs[i] != nil && *quotaCfgs[i] != madmin.BucketQuota{} ss := madmin.SRBucketStatsSummary{
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 184.3K bytes - Viewed (0) -
cmd/metrics-v3-cluster-usage.go
dataUsageInfo, err := c.dataUsageInfo.Get() if err != nil { metricsLogIf(ctx, err) return nil } // data usage has not captured any data yet. if dataUsageInfo.LastUpdate.IsZero() { return nil } var ( clusterSize uint64 clusterBuckets uint64 clusterObjectsCount uint64 clusterVersionsCount uint64 clusterDeleteMarkersCount uint64 )
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Apr 04 12:04:40 UTC 2024 - 6.6K bytes - Viewed (0) -
schema/utils.go
for _, rel := range rels { reflectResults = reflect.MakeSlice(reflect.SliceOf(reflect.PtrTo(rel.FieldSchema.ModelType)), 0, 1) appendToResults := func(value reflect.Value) { if _, isZero := rel.Field.ValueOf(ctx, value); !isZero { result := reflect.Indirect(rel.Field.ReflectValueOf(ctx, value)) switch result.Kind() { case reflect.Struct: reflectResults = reflect.Append(reflectResults, result.Addr())
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Sat Aug 19 13:35:14 UTC 2023 - 5.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/tflite_legalize_hlo.cc
auto value = *attr.value_begin<APFloat>(); return value.isNegative() && value.isInfinity(); } else if (element_type.isInteger(1)) { auto value = *attr.value_begin<APInt>(); return value.isZero(); } else { auto value = *attr.value_begin<APInt>(); return element_type.isUnsignedInteger() ? value.isMinValue() : value.isMinSignedValue(); } } };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.2K bytes - Viewed (0) -
src/crypto/internal/nistec/fiat/p384.go
func (e *P384Element) Equal(t *P384Element) int { eBytes := e.Bytes() tBytes := t.Bytes() return subtle.ConstantTimeCompare(eBytes, tBytes) } // IsZero returns 1 if e == 0, and zero otherwise. func (e *P384Element) IsZero() int { zero := make([]byte, p384ElementLen) eBytes := e.Bytes() return subtle.ConstantTimeCompare(eBytes, zero) } // Set sets e = t, and returns e.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 12 00:04:29 UTC 2022 - 3.6K bytes - Viewed (0) -
src/crypto/internal/nistec/fiat/p521.go
func (e *P521Element) Equal(t *P521Element) int { eBytes := e.Bytes() tBytes := t.Bytes() return subtle.ConstantTimeCompare(eBytes, tBytes) } // IsZero returns 1 if e == 0, and zero otherwise. func (e *P521Element) IsZero() int { zero := make([]byte, p521ElementLen) eBytes := e.Bytes() return subtle.ConstantTimeCompare(eBytes, zero) } // Set sets e = t, and returns e.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 12 00:04:29 UTC 2022 - 3.6K bytes - Viewed (0) -
pkg/controller/ttlafterfinished/ttlafterfinished_controller_test.go
{Image: "foo/bar"}, }, }, }, }, } if !completionTime.IsZero() { c := batchv1.JobCondition{Type: batchv1.JobComplete, Status: corev1.ConditionTrue, LastTransitionTime: completionTime} j.Status.Conditions = append(j.Status.Conditions, c) } if !failedTime.IsZero() { c := batchv1.JobCondition{Type: batchv1.JobFailed, Status: corev1.ConditionTrue, LastTransitionTime: failedTime}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jun 18 18:46:26 UTC 2023 - 5.3K bytes - Viewed (0) -
src/math/log_amd64.s
#define PosInf 0x7FF0000000000000 // func Log(x float64) float64 TEXT ·archLog(SB),NOSPLIT,$0 // test bits for special cases MOVQ x+0(FP), BX MOVQ $~(1<<63), AX // sign bit mask ANDQ BX, AX JEQ isZero MOVQ $0, AX CMPQ AX, BX JGT isNegative MOVQ $PosInf, AX CMPQ AX, BX JLE isInfOrNaN // f1, ki := math.Frexp(x); k := float64(ki) MOVQ BX, X0 MOVQ $0x000FFFFFFFFFFFFF, AX
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 23 20:52:57 UTC 2023 - 3.7K bytes - Viewed (0) -
pkg/registry/flowcontrol/prioritylevelconfiguration/strategy_test.go
NominalConcurrencyShares: v, LimitResponse: flowcontrolv1.LimitResponse{ Type: flowcontrolv1.LimitResponseTypeReject}, }, }, } } v1beta3ObjFn := func(v int32, isZero bool) *flowcontrolv1beta3.PriorityLevelConfiguration { obj := &flowcontrolv1beta3.PriorityLevelConfiguration{ ObjectMeta: metav1.ObjectMeta{ Name: "foo", },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 26 20:55:50 UTC 2024 - 6.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/request/received_time.go
// // If the specified ReceivedTimestamp is zero, no value is set and the parent context is returned as is. func WithReceivedTimestamp(parent context.Context, receivedTimestamp time.Time) context.Context { if receivedTimestamp.IsZero() { return parent } return WithValue(parent, requestReceivedTimestampKey, receivedTimestamp) } // ReceivedTimestampFrom returns the value of the ReceivedTimestamp key from the specified context.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Sep 21 13:59:26 UTC 2020 - 1.6K bytes - Viewed (0)