- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for validLabels (0.07 seconds)
-
cmd/metrics-v3-types.go
} validLabels := desc.getLabelSet() labelMap := make(map[string]string, len(labels)/2) for i := 0; i < len(labels); i += 2 { if _, ok := validLabels[labels[i]]; !ok { panic(fmt.Sprintf("invalid label: %s (metric: %s)", labels[i], name)) } labelMap[labels[i]] = labels[i+1] } if len(labels)/2 != len(validLabels) { panic("not all labels were given values") }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Feb 28 19:33:08 GMT 2025 - 15.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/api/chat/ChatApiManager.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 06:06:55 GMT 2026 - 25.8K bytes - Click Count (0) -
internal/event/target/postgresql_test.go
t.Fatal("postgres driver not registered") } } func TestPsqlTableNameValidation(t *testing.T) { validTables := []string{"táblë", "table", "TableName", "\"Table name\"", "\"✅✅\"", "table$one", "\"táblë\""} invalidTables := []string{"table name", "table \"name\"", "✅✅", "$table$"} for _, name := range validTables { if err := validatePsqlTableName(name); err != nil { t.Errorf("Should be valid: %s - %s", name, err) } }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 1.6K bytes - Click Count (0)