- Sort Score
- Result 10 results
- Languages All
Results 2011 - 2020 of 2,444 for Errorf (0.04 sec)
-
cmd/batch-job-common-types_test.go
} func TestBatchJobSizeValidate(t *testing.T) { errInvalidBatchJobSizeFilter := BatchJobYamlErr{ msg: "invalid batch-job size filter", } tests := []struct { sizeFilter BatchJobSizeFilter err error }{ { // Unspecified size filter is a valid filter sizeFilter: BatchJobSizeFilter{ UpperBound: 0, LowerBound: 0, }, err: nil, }, { sizeFilter: BatchJobSizeFilter{
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jan 08 23:22:28 UTC 2024 - 3.3K bytes - Viewed (0) -
cmd/metrics-v3-system-cpu.go
sysCPUUserMD = NewGaugeMD(sysCPUUser, "CPU user time") ) // loadCPUMetrics - `MetricsLoaderFn` for system CPU metrics. func loadCPUMetrics(ctx context.Context, m MetricValues, c *metricsCache) error { cpuMetrics, _ := c.cpuMetrics.Get() if cpuMetrics.LoadStat != nil { m.Set(sysCPULoad, cpuMetrics.LoadStat.Load1) perc := cpuMetrics.LoadStat.Load1 * 100 / float64(cpuMetrics.CPUCount)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jun 20 17:55:03 UTC 2024 - 3K bytes - Viewed (0) -
guava/src/com/google/common/graph/GraphConstants.java
// Load factor and capacity for "inner" (i.e. per node/edge element) hash sets or maps static final float INNER_LOAD_FACTOR = 1.0f; static final int INNER_CAPACITY = 2; // ceiling(EXPECTED_DEGREE / INNER_LOAD_FACTOR) // Error messages static final String NODE_NOT_IN_GRAPH = "Node %s is not an element of this graph."; static final String EDGE_NOT_IN_GRAPH = "Edge %s is not an element of this graph."; static final String NODE_REMOVED_FROM_GRAPH =
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jan 22 17:29:38 UTC 2024 - 3.1K bytes - Viewed (0) -
cni/pkg/nodeagent/podcgroupns_test.go
}, } { t.Run(tt.name, func(t *testing.T) { podUID, containerID, err := getPodUIDAndContainerIDFromCGroups(makeCGroups(tt.cgroupPaths)) if tt.expectMsg != "" { assert.Equal(t, tt.expectMsg, err.Error()) return } assert.Equal(t, tt.expectPodUID, podUID) assert.Equal(t, tt.expectContainerID, containerID) }) }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 17:36:49 UTC 2024 - 4.6K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/03-gopls.yml
render: shell validations: required: true - type: textarea id: what-did-you-do attributes: label: "What did you do?" description: "If possible, provide a recipe for reproducing the error. A complete runnable program is good. A link on [go.dev/play](https://go.dev/play) is better. A failing unit test is the best." validations: required: true - type: textarea id: actual-behavior attributes:
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri May 24 17:09:04 UTC 2024 - 1.8K bytes - Viewed (0) -
internal/config/lambda/event/arn.go
return "" } return "arn:minio:s3-object-lambda:" + arn.region + ":" + arn.TargetID.String() } // ParseARN - parses string to ARN. func ParseARN(s string) (*ARN, error) { // ARN must be in the format of arn:minio:s3-object-lambda:<REGION>:<ID>:<TYPE> if !strings.HasPrefix(s, "arn:minio:s3-object-lambda:") { return nil, &ErrInvalidARN{s} } tokens := strings.Split(s, ":")
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Mar 07 16:12:41 UTC 2023 - 1.6K bytes - Viewed (0) -
cmd/metrics-v3-cluster-notification.go
) // loadClusterNotificationMetrics - `MetricsLoaderFn` for cluster notification metrics. func loadClusterNotificationMetrics(_ context.Context, m MetricValues, _ *metricsCache) error { if globalEventNotifier == nil { return nil } nstats := globalEventNotifier.targetList.Stats() m.Set(notificationCurrentSendInProgress, float64(nstats.CurrentSendCalls))
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Apr 24 04:10:35 UTC 2024 - 2.2K bytes - Viewed (0) -
cmd/metrics-v3-logger-webhook.go
allWebhookLabels...) ) // loadLoggerWebhookMetrics - `MetricsLoaderFn` for logger webhook // such as failed messages and total messages. func loadLoggerWebhookMetrics(ctx context.Context, m MetricValues, c *metricsCache) error { tgts := append(logger.SystemTargets(), logger.AuditTargets()...) for _, t := range tgts { labels := []string{nameL, t.String(), endpointL, t.Endpoint()}
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue May 14 07:27:33 UTC 2024 - 2K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/KotlinModifiersBreakingChangeRule.groovy
} if (infixChanged) { changes.add(modifierChangeDetail("infix", newIsInfix)) } return acceptOrReject(member, changes, Violation.error(member, "Breaking Kotlin modifier change")) } return null } private static String modifierChangeDetail(String modifier, boolean added) {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Oct 06 19:15:15 UTC 2022 - 2.4K bytes - Viewed (0) -
docs/de/docs/tutorial/security/simple-oauth2.md
Daher erstellen wir eine zusätzliche Abhängigkeit `get_current_active_user`, die wiederum `get_current_user` als Abhängigkeit verwendet. Beide Abhängigkeiten geben nur dann einen HTTP-Error zurück, wenn der Benutzer nicht existiert oder inaktiv ist. In unserem Endpunkt erhalten wir also nur dann einen Benutzer, wenn der Benutzer existiert, korrekt authentifiziert wurde und aktiv ist: //// tab | Python 3.10+
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 14.1K bytes - Viewed (0)