The popular sleeping barber problem, implemented with pthreads, semaphores and mutexes in C.
☆17Mar 26, 2022Updated 3 years ago
Alternatives and similar repositories for sleeping_barber
Users that are interested in sleeping_barber are comparing it to the libraries listed below
Sorting:
- Code for CVPR2018 "Iterative Learning with Open-set Noisy Labels"☆12Mar 12, 2021Updated 5 years ago
- Official Code for ICLR 2023 Paper: A Message Passing Perspective on Learning Dynamics of Contrastive Learning☆11Mar 9, 2023Updated 3 years ago
- [AAAI 2024] DataElixir: Purifying Poisoned Dataset to Mitigate Backdoor Attacks via Diffusion Models☆12Dec 5, 2024Updated last year
- [ICML 2024] Fool Your (Vision and) Language Model With Embarrassingly Simple Permutations☆15Oct 28, 2023Updated 2 years ago
- All code and data necessary to replicate experiments in the paper BAGM: A Backdoor Attack for Manipulating Text-to-Image Generative Model…☆13Sep 16, 2024Updated last year
- [NeurIPS 2024] Fight Back Against Jailbreaking via Prompt Adversarial Tuning☆11Oct 29, 2024Updated last year
- Accepted to ICLR 2025. MetaMetrics is a calibrated meta-metric designed to evaluate generation tasks across different modalities aligned …☆14Dec 30, 2024Updated last year
- Adversarial Attack on Graph Neural Networks as An Influence Maximization Problem☆20Oct 27, 2021Updated 4 years ago
- Code for NeurIPS 2024 Paper "Fight Back Against Jailbreaking via Prompt Adversarial Tuning"☆22May 6, 2025Updated 10 months ago
- Code for "Towards Revealing the Mystery behind Chain of Thought: a Theoretical Perspective"☆22Jul 16, 2023Updated 2 years ago
- Use OpenCV to count the number of occurrences of an object such faces or bananas☆10Dec 16, 2017Updated 8 years ago
- SortedDict and SortedSet implementation for Python☆24Jan 12, 2015Updated 11 years ago
- AIR-Bench 2024 is a safety benchmark that aligns with emerging government regulations and company policies☆29Aug 14, 2024Updated last year
- Residue Level Alignment☆22Nov 21, 2024Updated last year
- Official Code for reproductivity of the NeurIPS 2023 paper: Adversarial Examples Are Not Real Features☆16Jun 27, 2024Updated last year
- [ICLR 2023] Official repository of the paper "Rethinking the Effect of Data Augmentation in Adversarial Contrastive Learning"☆18Feb 19, 2023Updated 3 years ago
- CVPR 2023 generalist☆16Oct 25, 2023Updated 2 years ago
- ☆15Dec 12, 2022Updated 3 years ago
- (AAAI 2024) Transferable Adversarial Attacks for Object Detection using Object-Aware Significant Feature Distortion☆16Dec 13, 2023Updated 2 years ago
- All in How You Ask for It: Simple Black-Box Method for Jailbreak Attacks☆18Apr 24, 2024Updated last year
- Codebase used to generate the results for NeurIPS23 "Adversarial Training for Graph Neural Networks: Pitfalls, Solutions, and New Directi…☆13Dec 8, 2023Updated 2 years ago
- SEAT☆21Oct 10, 2023Updated 2 years ago
- [ICLR 2024] Unveiling the Pitfalls of Knowledge Editing for Large Language Models☆22Jun 13, 2024Updated last year
- Sam's Teach Yourself C++ Code☆10Sep 30, 2016Updated 9 years ago
- ☆15Mar 6, 2025Updated last year
- The official dataset of paper "Goal-Oriented Prompt Attack and Safety Evaluation for LLMs".☆21Feb 5, 2024Updated 2 years ago
- Official Code for ICLR2022 Paper: Chaos is a Ladder: A New Theoretical Understanding of Contrastive Learning via Augmentation Overlap☆28Sep 28, 2025Updated 5 months ago
- ☆21Mar 14, 2025Updated last year
- Codebase for decoding compressed trust.☆25May 7, 2024Updated last year
- ☆41Jul 6, 2025Updated 8 months ago
- Codebase for Obfuscated Activations Bypass LLM Latent-Space Defenses☆30Feb 11, 2025Updated last year
- A pure-python implementation of BK-Trees☆17Feb 19, 2023Updated 3 years ago
- ☆24Jan 28, 2025Updated last year
- Official implementation of LoT paper: "Enhancing Zero-Shot Chain-of-Thought Reasoning in Large Language Models through Logic"