Benign repos Download

local_vector.h

Source contains an unconditional loopimports core/os/memory.h
SHA-2562f0defd9e115642d18e2a279b210041fc06ec7a5708f76bc3bfc9971c597e8be

Evidence

English function-word token "this" lines 3–5
3:57… *******************/
4/* This file is part of: */
5/* GODOT ENGINE …
English function-word token "the" lines 11–14
11:51… o any person obtaining */
12/* a copy of this software and associated documentation files (the */
13/* "Software"), to deal in the Software without restriction, including */
14/* witho …
English function-word token "for" lines 23–25
23:58… ARRANTIES OF */
24/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
25/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLD …
imports core/os/memory.h lines 29–43
29:44… ********************************/
30
31#pragma once
32
33#include "core/error/error_macros.h"
34#include "core/os/memory.h"
35#include "core/string/print_string.h" // IWYU pragma: keep. `WARN_VERBOSE` macro.
36#include "core/templates/sort_array.h"
37#include "core/templates/vector.h"
38
39#include <initializer_list>
40#include <type_traits>
41
42// If tight, it grows strictly as much as needed.
43// Otherwise, it grows exponentially (the de …
Copies bytes with native memcpy lines 338–347
338:11… ze(count * sizeof(T));
339 uint8_t *w = ret.ptrw();
340 if (w) {
341 memcpy(w, data, sizeof(T) * count);
342 }
343 return ret;
⋯4 lines

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.