I hereby claim:
- I am dhable on github.
- I am dhable (https://keybase.io/dhable) on keybase.
- I have a public key whose fingerprint is DE59 E486 02AC FF51 6B89 8E0F E5DB 13D5 94B9 DE28
To claim this, I am signing this object:
struct WeightedValueGen<'a, T, const N: usize> { | |
values: [&'a T; N], | |
weights: [f32; N], | |
} | |
impl<'a, T, const N: usize> WeightedValueGen<'a, T, N> { | |
#[allow(dead_code, unused_mut)] | |
fn new(input: &'a [(T, f32); N]) -> Self { | |
let mut values = unsafe { | |
let mut values: [mem::MaybeUninit<&T>; N] = mem::MaybeUninit::uninit().assume_init(); |
The MIT License (MIT) | |
Copyright (c) 2020 Richard Cook | |
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: |
package appito; | |
import java.util.ArrayList; | |
import java.util.List; | |
class Queen | |
{ | |
private int xPos = 0; | |
private int yPos = 0; |
""" | |
Check out the differences between the select.poll functionality in CPython | |
and Jython. | |
""" | |
import socket | |
import errno | |
import threading | |
import traceback | |
import logging | |
import select |
I hereby claim:
To claim this, I am signing this object:
function promise() { | |
var listeners = [], | |
resolved = false, | |
data; | |
return { | |
isResolved: function() { | |
return resolved; | |
}, | |