Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .codespellignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
crate
23 changes: 23 additions & 0 deletions .github/workflows/codespell.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Codespell

on:
push:
branches:
- main
pull_request:

jobs:
codespell:
name: Check for misspellings
runs-on: ubuntu-latest

steps:
- name: Checkout Code
uses: actions/checkout@v4

- name: Run Codespell
uses: codespell-project/actions-codespell@v2
with:
check_filenames: true
ignore_words_file: .codespellignore
skip: "*.svg"
2 changes: 1 addition & 1 deletion content/temporaries-rabbit-hole.md
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ So, the question is, how temporary is a temporary really? That's to say, we have

## Temporaries' lifetimes

Now we have the neccesary definitions to talk about what makes temporaries temporary. Well, not exactly, temporaries are just temporaries because they are anonymous, meaning there's no alias associated with that memory location. It has nothing to do with their lifetime. But you could ask, since there's no associated alias, then what's their lifetime? And you would be asking all the right questions.
Now we have the necessary definitions to talk about what makes temporaries temporary. Well, not exactly, temporaries are just temporaries because they are anonymous, meaning there's no alias associated with that memory location. It has nothing to do with their lifetime. But you could ask, since there's no associated alias, then what's their lifetime? And you would be asking all the right questions.

Let's go to the relevant part of the definition of a temporary.

Expand Down
6 changes: 3 additions & 3 deletions posts/2025-05-23/ebpf-firewall/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -521,12 +521,12 @@ And most importantly, we lookup in the rulestore if the `port` that arrived exis
if left == 0 {
false
} else {
let indx = left - 1;
if indx >= MAX_RULES {
let index = left - 1;
if index >= MAX_RULES {
return false;
}
// SAFETY: Again, we are already bound checking
end(*unsafe { self.rules.get_unchecked(indx) }) >= val
end(*unsafe { self.rules.get_unchecked(index) }) >= val
}
}
```
Expand Down