Skip to content

Commit

Permalink
Merge pull request #92 from jamiealquiza/jamie/clenaup
Browse files Browse the repository at this point in the history
updated examples
  • Loading branch information
jamiealquiza authored Jul 3, 2023
2 parents 9497edd + dfd7bfc commit 17dac30
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions examples/bicache-example/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func main() {
c.Set(key, []byte{0})
t.AddTime(time.Since(start))
}
t.Calc().Dump()
fmt.Println(t.Calc())

fmt.Println()

Expand All @@ -47,7 +47,7 @@ func main() {
t.AddTime(time.Since(start))
}

t.Calc().Dump()
fmt.Println(t.Calc())

stats := c.Stats()
j, _ := json.Marshal(stats)
Expand Down
4 changes: 2 additions & 2 deletions examples/bicache-loadtest/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ func main() {

for range ticker.C {
fmt.Printf("\n> Writes:\n")
writeT.Calc().Dump()
fmt.Println(writeT.Calc())

fmt.Printf("\n> Reads:\n")
readT.Calc().Dump()
fmt.Println(writeT.Calc())

stats := c.Stats()
j, _ := json.Marshal(stats)
Expand Down
2 changes: 1 addition & 1 deletion sll/examples/sll-example/main.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// The MIT License (MIT)
//
// Copyright (c) 2016 Jamie Alquiza
// # Copyright (c) 2016 Jamie Alquiza
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
Expand Down

0 comments on commit 17dac30

Please sign in to comment.