Looks like copilot is pretty upfront:
Matched content:
n ; Ap = A->p ; Ai = A->i ; Ax = A->x ;
for (j = 0 ; j < n ; j++)
{
for (p = Ap [j] ; p < Ap [j+1] ; p++)
{
y [Ai [p]] += Ax [p] * x [j]
License Summary
This snippet matches 500 references to public code. Below, you can find links to a sample of 50 of these references.
NOASSERTION (405)
MIT (26)
GPL-3.0 (19)
BSD-3-Clause (16)
GPL-2.0 (11)
Apache-2.0 (7)
BSD-2-Clause (7)
LGPL-3.0 (6)
LGPL-2.1 (3)
File References
Match Location Repo License
ChRis6/circuit-simulation Unknown license
AndySomogyi/SuiteSparse Unknown license
ru-wang/slam-plus-plus Unknown license
Cruvadio/invariant_measures Unknown license
nishant-sachdeva/rrc-g2o Unknown license
alecone/ROS_project Unknown license
gustavopr/HANK Unknown license
lcnbeapp/beapp Unknown license
imod-mirror/IMOD Unknown license
clach/MPM Unknown license
MagicPixel-Dev/cxsparse Unknown license
elshafeh/own Unknown license
squirrel-project/squirrel_nav Unknown license
lcnhappe/happe Unknown license
cix1/OpenSees Unknown license
pachamaltese/dulmagemendelsohn Unknown license
gina10287/Interactive-shape-manipulation-FinalProject Unknown
license
GuillaumeFuchs/Ensimag Unknown license
w2fish/CSparse Unknown license
cffjiang/cis563-2019-assignment Unknown license
diesendruck/gp Unknown license
hendersk101401/jlabgroovy Unknown license
robhemsley/SuiteSparse Unknown license
Glaphy/Emission Unknown license
Glaphy/Emission Unknown license
daves-devel/ECE1387 Unknown license
anranknight/TE Unknown license
weigouheiniu/TE Unknown license
Datoow/fm Unknown license
chaoyan1037/openMVG_modified Unknown license
cran/igraph Unknown license
GHilmarG/UaSource Unknown license
ZhaoqunZhong/Kalibr-ubuntu18-ros-melodic Unknown license
hechzh/g2o Unknown license
Open-Systems-Pharmacology/OSPSuite.CPP-Toolbox Unknown
license
elshafeh/own Unknown license
yizhang/riotstore Unknown license
sgalazka/porr_mtsp Unknown license
skydave/sandbox Unknown license
alitekin2fx/orb_slam2_android Unknown license
Tianhonghai/vslam14_note MIT
LRMPUT/PlaneSLAM MIT
albansouche/Open-GeoNabla GPL-3.0
khawajamechatronics/mrpt-1.5.3 BSD-3-Clause
3000huyang/suitesparse-metis-for-windows BSD-3-Clause
igraph/igraph GPL-2.0
LRMPUT/DiamentowyGrant Apache-2.0
kurshakuz/graduation-project BSD-2-Clause
ghorn/debian-casadi LGPL-3.0
rmcgibbo/tungsten LGPL-2.1
Looks like this code in https://github.com/ChRis6/circuit-simulation/blob/2e45c7db01... is older then the GPL code in question or provided by the example. Uh oh, did we discover something? Who actually owns this code because this code predates the code in question by a calendar year using git blame, by a different author, and with no license attached to the oldest code. Is it possible the code in the codeium.com example is relicensed and not GPL code at all?