I hereby claim:
- I am gmbeard on github.
- I am gmbeard (https://keybase.io/gmbeard) on keybase.
- I have a public key ASC6PdmH8xgc7AHBnMjUmqUNDm0vHyMUVkWH3ziJNkoL7Ao
To claim this, I am signing this object:
| This change allows you to you to modify how `./xbps-src` resolves the | |
| versions of dependencies. | |
| For all packages listed in `etc/repover`, xbps-src will use the binary | |
| repository version when resolved as a depdencency, even if the srcpkg | |
| version is greater. The pkgs must be listed one per line, and without the | |
| version number. | |
| **NOTE**: The use-case for this is pretty niche. You probably don't | |
| want to do this. The author's use-case for this was that they wanted to |
| #include <variant> | |
| #include <iostream> | |
| #include <string> | |
| struct A { }; | |
| struct B { }; | |
| struct C { }; | |
| using Object = std::variant<A, B, C>; |
| #include <iostream> | |
| #include <memory> | |
| #include <atomic> | |
| #include <cassert> | |
| struct Node { | |
| uint8_t* const data; | |
| size_t const length; | |
| Node* next; | |
| }; |
| // Copyright 2018 G. M. Beard | |
| // | |
| // Permission is hereby granted, free of charge, to any person obtaining | |
| // a copy of this software and associated documentation files (the "Software"), | |
| // to deal in the Software without restriction, including without limitation | |
| // the rights to use, copy, modify, merge, publish, distribute, sublicense, | |
| // and/or sell copies of the Software, and to permit persons to whom the | |
| // Software is furnished to do so, subject to the following conditions: | |
| // | |
| // The above copyright notice and this permission notice shall be included in |
I hereby claim:
To claim this, I am signing this object:
| use std::mem; | |
| enum Chain<T, F, U> { | |
| First(T, F), | |
| Second(U), | |
| Done, | |
| } | |
| impl<T, F, U> Future for Chain<T, F, U> | |
| where T: Future, |
| .text | |
| .def _ZN50_$LT$asm_bug..Rot13$u20$as$u20$asm_bug..Crypto$GT$7encrypt17hbaabafb2f8efe03fE; | |
| .scl 2; | |
| .type 32; | |
| .endef | |
| .section .text,"xr",one_only,_ZN50_$LT$asm_bug..Rot13$u20$as$u20$asm_bug..Crypto$GT$7encrypt17hbaabafb2f8efe03fE | |
| .globl _ZN50_$LT$asm_bug..Rot13$u20$as$u20$asm_bug..Crypto$GT$7encrypt17hbaabafb2f8efe03fE | |
| .p2align 4, 0x90 | |
| _ZN50_$LT$asm_bug..Rot13$u20$as$u20$asm_bug..Crypto$GT$7encrypt17hbaabafb2f8efe03fE: | |
| movq 16(%rcx), %r11 |
| .text | |
| .def _ZN50_$LT$asm_bug..Rot13$u20$as$u20$asm_bug..Crypto$GT$7encrypt17hbaabafb2f8efe03fE; | |
| .scl 2; | |
| .type 32; | |
| .endef | |
| .globl __xmm@bfbfbfbfbfbfbfbfbfbfbfbfbfbfbfbf | |
| .section .rdata,"dr",discard,__xmm@bfbfbfbfbfbfbfbfbfbfbfbfbfbfbfbf | |
| .p2align 4 | |
| __xmm@bfbfbfbfbfbfbfbfbfbfbfbfbfbfbfbf: | |
| .zero 16,191 |
| use std::ops::Deref; | |
| pub trait Crypto { | |
| type Output; | |
| type Error; | |
| fn encrypt(&mut self) -> Result<Self::Output, Self::Error>; | |
| } | |
| impl<'a, T: Crypto> Crypto for &'a mut T { |
| use std::io::Read; | |
| fn fill(buf: &mut [u8]) { | |
| for (i, n) in buf.iter_mut().enumerate() { | |
| *n = i as u8; | |
| } | |
| } | |
| fn rotate<T: Copy + Default>(buf: &mut [T], at: usize) -> usize { |