Benign repos Download

utilities.cpp

imports core/os/os.hCopies bytes with native memcpy
SHA-2564deb71dd306495ace07664f7aa0fa4a2c595e361154025b40f93f2d3e56c8544
MaleculeH(Db)Md(In)

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/os.h lines 29–49
29:30… **********************************************/
30
31#include "utilities.h"
32
33#ifdef GLES3_ENABLED
34
35#include "core/config/engine.h"
36#include "core/os/os.h"
37#include "drivers/gles3/rasterizer_util_gles3.h"
38#include "drivers/gles3/storage/config.h"
39#include "drivers/gles3/storage/light_storage.h"
40#include "drivers/gles3/storage/material_storage.h"
41#include "drivers/gles3/storage/mesh_storage.h"
42#include "drivers/gles3/storage/particles_storage.h"
43#include "drivers/gles3/storage/texture_storage.h"
44
45using namespace GLES3;
⋯4 lines
Copies bytes with native memcpy lines 137–150
137:12… ULL_V(data, Vector<uint8_t>());
138 {
139 uint8_t *w = ret.ptrw();
140 memcpy(w, data, p_buffer_size);
141 }
142 glUnmapBuffer(p_target);
⋯8 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.