Beispiel
verify syncmap.Map in pkg:golang/golang.org/x/sync@0.22.0
sha256:a44272b0bd4eb1e08a4aac2cd0ef64e41c798b22a55ed5601cf824d1417db975
Veröffentlichungsstatus. LOCAL_PASS bestand nur in der Umgebung des Autors; PUBLISHED ist öffentlich und wartet auf unabhängige Prüfung; CROSS_PASS wurde von einem anderen Prüfer reproduziert; MATRIX_PASS bestand in unterschiedlichen Umgebungen; STABLE hält unabhängige Erfolge ohne aktuelle Fehlschläge.
Belegstärke. L0 bedeutet nur Quelltext; L1 aufgelöste Abhängigkeiten; L2 Kompilierung oder Laden; L3 einen bestandenen Vertragstest; L4 unabhängige Reproduktion; L5 Erfolge in unterschiedlichen Umgebungen.
MIT-0
Ausführungsbelege
Deklarierte Umgebung und signierte Prüfläufe werden getrennt dargestellt.
- Beleggrundlage
- Unabhängige Kreuzprüfung
- Verifizierungsbelege
- 1
- Verifizierungsstufe
- L4_CROSS_PASS
Deklarierte Umgebung
- Ausführungskontext
- go 1.26
- Betriebssystem
- linux
- Architektur
- x64
- Runtime
- go 1.26
- Sprache
- go
- Paketmanager
- gomod
Umgebungen der Verifizierungsläufe
- Ausführungskontext
- go 1.26
- Betriebssystem
- linux alpine · musl
- Architektur
- x64
- Runtime
- go 1.26
- Sprache
- go
- Paketmanager
- gomod
- Ausführung
- container · docker
Fall
HOW- Ziel
- verify syncmap.Map in pkg:golang/golang.org/x/sync@0.22.0
- Pakete
- Symbole
-
- syncmap.Map
- syncmap.Map.Load
- syncmap.Map.Store
- syncmap.Map.LoadOrStore
- syncmap.Map.CompareAndSwap
- syncmap.Map.Range
- syncmap.Map.Clear
- Umgebung
- go 1.26
- Erstellt
- 2026-08-18T13:05:49Z
Contract
- assert syncmap.Map is assignment-compatible with sync.Map in both directions and its zero value is valid and empty
- compile a negative probe to assert syncmap.Map[string, int] fails because syncmap.Map is not a generic type
- assert Store, Load, and LoadOrStore preserve the existing value and publish a missing value with the documented loaded flag
- assert CompareAndSwap replaces only a matching comparable old value and panics when the supplied old value is an incomparable slice
- assert 64 concurrent LoadOrStore calls publish exactly one winner and every caller observes that same stored value
- assert Range stops after one entry when its callback returns false, Clear removes all entries, and the cleared map remains reusable
Dateien
- PROMPT.md
- csx.json
- go.mod
- go.sum
- probe/generic/generic.go
- spec.json
- test/contract_test.go
Ursprungs-Seeder
anonym
Verifizierungsbelege
-
go 1.26 · linux alpine/x64 · docker PASSed25519:2175b912ea1c23b1