-
#include
#include
struct n {
int data;
struct n* next;
struct n* prev;
};
int main() {
struct n* head = NULL;
struct n* n1 = (struct n*)malloc(sizeof(struct n));
n1->da…
-
### What is the problem the feature request solves?
See documenttion for more details:
https://spark.apache.org/docs/latest/api/python/reference/pyspark.sql/api/pyspark.sql.Column.withField.html
…
-
Hi,
I'm trying to generate docs (with `mkdocstrings` + `Griffe`) for some Rust structs like the one below:
```rust
/// Some Object O
#[gen_stub_pyclass]
#[pyclass(get_all)]
struct O {
//…
-
Steps to reproduce
Put this some file
```
;; foo.lisp
(defstruct foo)
(defclass foo () ())
```
Then open it with latest `main` (I tested with `35e010f4de35d7713f632dadbf82be31176bcf32`), an…
-
ast exporter is segfaulting on some inputs.
A short example to demonstrate the problem is shown below.
```c
typedef struct {
char chars[16];
} my_struct;
_Static_assert(sizeof(((my_str…
-
Your structs `dirent`, `dirent64` are wrong at x86_64-unknown-linux-gnu. Their field `d_name` contains 256 bytes. But names can be bigger than 256 bytes in NTFS (in Linux). I was able to create NTFS p…
-
What kind of structs should we add to enable deep learning applications?
-
# Environment
codegpt version: 0.14.2 (commit: fd5758c)
Model: [Gemma 2](https://huggingface.co/bartowski/gemma-2-2b-it-GGUF/resolve/main/gemma-2-2b-it-Q6_K.gguf) (via local KoboldCpp 1.72 instanc…
-
We're using `Binary` types as part of state / storage in smart contracts. This is not a good idea for a number of reasons:
- `Binary` is base64 encoded, which is wasteful / non-efficient.
- Base64…
-
[Godbolt Link](https://godbolt.org/z/EcojqEbhc)
As you can see in the asm output, even set `opt-level = 3`, if we don't add `Copy` to structs with all fields `Copy` derived, in `clone()` it generate…