instance_id stringclasses 2
values | repo stringclasses 2
values | pull_number int64 187 475 | issue_numbers listlengths 1 1 | base_commit stringclasses 2
values | patch stringclasses 2
values | test_patch stringclasses 2
values | problem_statement stringclasses 2
values | hints_text stringclasses 2
values | created_at timestamp[s]date 2019-10-24 04:58:41 2022-01-17 13:30:05 | version stringclasses 2
values | updated_at timestamp[s]date 2019-10-25 14:08:16 2022-01-17 16:16:17 | environment_setup_commit stringclasses 2
values | FAIL_TO_PASS listlengths 1 66 | PASS_TO_PASS listlengths 0 59 | FAIL_TO_FAIL listlengths 0 0 | PASS_TO_FAIL listlengths 0 0 | source_dir null |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
bincode-org__bincode-475 | bincode-org/bincode | 475 | [
"474"
] | f33abb21b45ff20b63be2a5ab134fce0d6d86d59 | diff --git a/Cargo.toml b/Cargo.toml
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -45,6 +45,8 @@ serde_json = "1.0.68"
tempfile = "3.2.0"
criterion = "0.3"
rand = "0.8"
+uuid = { version = "0.8", features = ["serde"] }
+chrono = { version = "0.4", features = ["serde"] }
[[bench]]
name = "varint"
diff --git a/src... | diff --git a/tests/issues.rs b/tests/issues.rs
--- a/tests/issues.rs
+++ b/tests/issues.rs
@@ -11,3 +11,6 @@ mod issue_467;
#[path = "issues/issue_459.rs"]
mod issue_459;
+
+#[path = "issues/issue_474.rs"]
+mod issue_474;
diff --git /dev/null b/tests/issues/issue_474.rs
new file mode 100644
--- /dev/null
+++ b/test... | CannotBorrowOwnedData on decode_from_slice for some types that implement Serialize/Deserialize - bincode::serde
Thanks for the excellent work on bincode. I'm currently testing a simple memory based cache for a system I'm writing. In various places I'm calling `serde::encode_to_vec` and `serde::decode_from_slice`. I'm r... | 2022-01-17T13:30:05 | 1.0 | 2022-01-17T16:16:17 | f33abb21b45ff20b63be2a5ab134fce0d6d86d59 | [
"varint::decode_unsigned::test_decode_u32",
"varint::decode_unsigned::test_decode_u16",
"varint::decode_unsigned::test_decode_u128",
"varint::decode_unsigned::test_decode_u64",
"varint::encode_signed::test_encode_i128",
"varint::encode_signed::test_encode_i16",
"varint::encode_signed::test_encode_i32",
... | [] | [] | [] | null | |
boa-dev__boa-187 | boa-dev/boa | 187 | [
"179"
] | 8596079887513b4f63b94f6d5df78214fa6aafaf | diff --git a/src/lib/exec.rs b/src/lib/exec.rs
--- a/src/lib/exec.rs
+++ b/src/lib/exec.rs
@@ -266,6 +266,15 @@ impl Executor for Interpreter {
UnaryOp::Minus => to_value(-v_a.to_num()),
UnaryOp::Plus => to_value(v_a.to_num()),
UnaryOp::Not => Gc::new(!v_a)... | diff --git a/src/lib/exec.rs b/src/lib/exec.rs
--- a/src/lib/exec.rs
+++ b/src/lib/exec.rs
@@ -751,4 +760,42 @@ mod tests {
"#;
assert_eq!(exec(non_num_key_wont_affect_length), String::from("3"));
}
+
+ #[test]
+ fn test_tilde_operator() {
+ let float = r#"
+ let f = -1.2;
+ ... | Implement the Tilde operator
Currently the `~` operator causes a `parsing failed` exception.
_Tilde_ performs a bitwise [NOT](https://en.wikipedia.org/wiki/Bitwise_operation#NOT).
---
**Example:**
```javascript
let x = 0x01;
x = ~x;
console.log(x); // -2
```
| I'd like to work on this. | 2019-10-24T04:58:41 | 0.4 | 2019-10-25T14:08:16 | 7567aacd77f18ab23860e76e6bae362cade02e72 | [
"exec::tests::test_tilde_operator"
] | [
"builtins::property::test::is_property_key_test",
"builtins::boolean::tests::check_boolean_constructor_is_function",
"builtins::regexp::tests::check_regexp_constructor_is_function",
"builtins::value::tests::check_get_set_field",
"builtins::value::tests::check_integer_is_true",
"builtins::value::tests::che... | [] | [] | null |
No dataset card yet
- Downloads last month
- 34