hexsha
stringlengths
40
40
size
int64
7
1.05M
ext
stringclasses
13 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
269
max_stars_repo_name
stringlengths
5
108
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
9
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
269
max_issues_repo_name
stringlengths
5
116
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
9
max_issues_count
int64
1
67k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
269
max_forks_repo_name
stringlengths
5
116
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
9
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
7
1.05M
avg_line_length
float64
1.21
330k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
0.99
author_id
stringlengths
2
40
d6745d17c58f01e1db5ecffae723aa7d863d1165
662
hpp
C++
components/operators/include/ftl/operators/colours.hpp
knicos/voltu
70b39da7069f8ffd7e33aeb5bdacc84fe4a78f01
[ "MIT" ]
4
2020-12-28T15:29:15.000Z
2021-06-27T12:37:15.000Z
components/operators/include/ftl/operators/colours.hpp
knicos/voltu
70b39da7069f8ffd7e33aeb5bdacc84fe4a78f01
[ "MIT" ]
null
null
null
components/operators/include/ftl/operators/colours.hpp
knicos/voltu
70b39da7069f8ffd7e33aeb5bdacc84fe4a78f01
[ "MIT" ]
2
2021-01-13T05:28:39.000Z
2021-05-04T03:37:11.000Z
#ifndef _FTL_OPERATORS_COLOURS_HPP_ #define _FTL_OPERATORS_COLOURS_HPP_ #include <ftl/operators/operator.hpp> namespace ftl { namespace operators { class ColourChannels : public ftl::operators::Operator { public: explicit ColourChannels(ftl::operators::Graph *g, ftl::Configurable *cfg); ~ColourChannels()...
22.827586
90
0.732628
knicos
d675c0f05cc5632fade00bea7c317d693f6243a2
1,156
cpp
C++
src/managers/environmentmanager.cpp
alexhuntley/GameplayFootball
67a3c123e31384b757b1d223c53acf9f7fcb8b41
[ "Apache-2.0" ]
56
2020-07-22T22:11:06.000Z
2022-03-09T08:11:43.000Z
src/managers/environmentmanager.cpp
alexhuntley/GameplayFootball
67a3c123e31384b757b1d223c53acf9f7fcb8b41
[ "Apache-2.0" ]
9
2021-04-22T07:06:25.000Z
2022-01-22T12:54:52.000Z
src/managers/environmentmanager.cpp
alexhuntley/GameplayFootball
67a3c123e31384b757b1d223c53acf9f7fcb8b41
[ "Apache-2.0" ]
18
2020-10-15T08:11:07.000Z
2022-03-23T14:49:46.000Z
// written by bastiaan konings schuiling 2008 - 2014 // this work is public domain. the code is undocumented, scruffy, untested, and should generally not be used for anything important. // i do not offer support, so don't ask. to be used for inspiration :) #include "environmentmanager.hpp" #include <SDL2/SDL.h> #incl...
28.195122
132
0.728374
alexhuntley
d681b4c481a663360a6bde5e70e62c9f370957c6
71
hh
C++
extern/typed-geometry/src/typed-geometry/feature/quadric.hh
rovedit/Fort-Candle
445fb94852df56c279c71b95c820500e7fb33cf7
[ "MIT" ]
null
null
null
extern/typed-geometry/src/typed-geometry/feature/quadric.hh
rovedit/Fort-Candle
445fb94852df56c279c71b95c820500e7fb33cf7
[ "MIT" ]
null
null
null
extern/typed-geometry/src/typed-geometry/feature/quadric.hh
rovedit/Fort-Candle
445fb94852df56c279c71b95c820500e7fb33cf7
[ "MIT" ]
null
null
null
#pragma once #include <typed-geometry/functions/quadrics/quadrics.hh>
17.75
56
0.802817
rovedit
d68330f8332d8357535563a6c07cc88ccdcb925d
1,094
cpp
C++
src/util.cpp
eozd/naive-bayes-text-classification
3891b8d64a59d3f91b02ee23cb91d853adc7e7b4
[ "Apache-2.0" ]
2
2019-12-08T12:30:22.000Z
2021-03-04T18:04:42.000Z
src/util.cpp
eozd/positional-boolean-search
03b3a3bf4b29c02240bc620d304d9bdf0d041e5b
[ "Apache-2.0" ]
null
null
null
src/util.cpp
eozd/positional-boolean-search
03b3a3bf4b29c02240bc620d304d9bdf0d041e5b
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2018 Esref Ozdemir * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
32.176471
75
0.667276
eozd
d6865d54633d83c67f32ba92125a8af7c29bfb48
1,658
hpp
C++
lib/libcpp/Alat/Alat/vectorallvariables.hpp
beckerrh/simfemsrc
d857eb6f6f8627412d4f9d89a871834c756537db
[ "MIT" ]
null
null
null
lib/libcpp/Alat/Alat/vectorallvariables.hpp
beckerrh/simfemsrc
d857eb6f6f8627412d4f9d89a871834c756537db
[ "MIT" ]
1
2019-01-31T10:59:11.000Z
2019-01-31T10:59:11.000Z
lib/libcpp/Alat/Alat/vectorallvariables.hpp
beckerrh/simfemsrc
d857eb6f6f8627412d4f9d89a871834c756537db
[ "MIT" ]
null
null
null
#ifndef __Alat_VectorAllVariables_h #define __Alat_VectorAllVariables_h #include "Alat/vector.hpp" #include "Alat/vectoronevariableinterface.hpp" /*--------------------------------------------------------------------------*/ namespace alat { class StringSet; class StringVector; class VectorAllVariables : pub...
36.844444
100
0.670084
beckerrh
d68692797d902cfeddae8fd0168be39a934a1a97
1,146
hpp
C++
Frameworks/include/Helmet/Workbench/I_Controller.hpp
hatboysoftware/helmet
97f26d134742fdb732abc6177bb2adaeb67b3187
[ "Zlib" ]
2
2018-02-07T01:19:37.000Z
2018-02-09T14:27:48.000Z
Frameworks/include/Helmet/Workbench/I_Controller.hpp
hatboysoftware/helmet
97f26d134742fdb732abc6177bb2adaeb67b3187
[ "Zlib" ]
null
null
null
Frameworks/include/Helmet/Workbench/I_Controller.hpp
hatboysoftware/helmet
97f26d134742fdb732abc6177bb2adaeb67b3187
[ "Zlib" ]
null
null
null
//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ // Helmet Software Framework // // Copyright (C) 2018 Hat Boy Software, Inc. // // @author Matthew Alan Gray - <mgray@hatboysoftware.com> // @author Tony Richards - <trichards@indiezen.com> //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-...
26.651163
80
0.358639
hatboysoftware
d6886cc1f91b158f4a09fc12593b5889ecc6d387
4,414
cpp
C++
test/dcu/level1/doti_s_dcu_test.cpp
xupinjie/AlphaSparse
06bf06a57f9112c2f940741841485243d8073c7c
[ "MIT" ]
18
2022-02-22T15:10:18.000Z
2022-03-29T07:54:57.000Z
test/dcu/level1/doti_s_dcu_test.cpp
xupinjie/AlphaSparse
06bf06a57f9112c2f940741841485243d8073c7c
[ "MIT" ]
null
null
null
test/dcu/level1/doti_s_dcu_test.cpp
xupinjie/AlphaSparse
06bf06a57f9112c2f940741841485243d8073c7c
[ "MIT" ]
2
2022-02-23T09:25:57.000Z
2022-02-25T08:01:03.000Z
/** * @brief ict dcu mv csr test * @author HPCRC, ICT */ #include <hip/hip_runtime_api.h> #include <rocsparse.h> #include <stdio.h> #include <stdlib.h> #include <iomanip> #include <iostream> #include <vector> #include "rocsparse.h" #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ #include <alpha_spblas_...
26.914634
106
0.636611
xupinjie
d688795b75dc64a87474c253347cbc49913b68cd
258
cpp
C++
src/game/server/entities/spawns/gunbotspawn.cpp
theovier/TW-TimeRun
87afef60d018ba748fbe2339ec1ce74c16d41679
[ "Zlib" ]
2
2018-08-24T08:54:22.000Z
2019-01-07T09:05:22.000Z
src/game/server/entities/spawns/gunbotspawn.cpp
theovier/TW-TimeRun
87afef60d018ba748fbe2339ec1ce74c16d41679
[ "Zlib" ]
1
2018-08-18T10:13:37.000Z
2018-08-19T09:42:40.000Z
src/game/server/entities/spawns/gunbotspawn.cpp
theovier/TW-TimeRun
87afef60d018ba748fbe2339ec1ce74c16d41679
[ "Zlib" ]
1
2021-12-26T03:52:09.000Z
2021-12-26T03:52:09.000Z
#include "gunbotspawn.h" CGunBotSpawn::CGunBotSpawn(CGameWorld *pGameWorld, vec2 Pos, CGameControllerTimeRun *pController) : CBotSpawn(pGameWorld, Pos, pController) { m_BotType = BOTTYPE_GUN; m_RespawnTimer = GameServer()->Tuning()->m_GunBotRespawnTime; }
43
141
0.794574
theovier
d68aad3695242540de0ebb362edf43045a21f280
1,959
cpp
C++
Mrf_DS18B20.cpp
RodNewHampshire/MRF101-150W-HF-Broadband-Amplifier
769ac0ea2b5d09ef193aa78ef23563b83cec6d2d
[ "MIT" ]
3
2021-08-15T17:40:53.000Z
2022-01-20T14:45:33.000Z
Mrf_DS18B20.cpp
RodNewHampshire/MRF101-150W-HF-Broadband-Amplifier
769ac0ea2b5d09ef193aa78ef23563b83cec6d2d
[ "MIT" ]
null
null
null
Mrf_DS18B20.cpp
RodNewHampshire/MRF101-150W-HF-Broadband-Amplifier
769ac0ea2b5d09ef193aa78ef23563b83cec6d2d
[ "MIT" ]
null
null
null
/****************************************************************************** * * MRF101 Amplifier by AD5GH * * ARDUINO MEGA DISPLAY & CONTROL BOARD SOFTWARE * DS18B20+ ONE WIRE TEMPERATURE SENSOR FUNCTION ROUTINES * * Distributed under the terms of the MIT License: * http://www.opensource.org/licenses/mit-license * ...
25.441558
118
0.48392
RodNewHampshire
d68d73c809ad2fafa4e1f6c4f0f4ca87255754dd
11,173
cpp
C++
RFlib/src/RandomizedTree.cpp
scanavan/GestureRecognition
f0761978b8f1a85544151adb1f1e30f3a9070984
[ "MIT" ]
2
2016-11-06T15:11:23.000Z
2017-03-09T01:00:01.000Z
RFlib/src/RandomizedTree.cpp
SRI2016/GestureRecognition
f0761978b8f1a85544151adb1f1e30f3a9070984
[ "MIT" ]
null
null
null
RFlib/src/RandomizedTree.cpp
SRI2016/GestureRecognition
f0761978b8f1a85544151adb1f1e30f3a9070984
[ "MIT" ]
3
2016-10-26T00:41:15.000Z
2019-05-13T13:30:16.000Z
/** * @file $URL: svn+ssh://svn_athena/home/svnrepositories/BuildingModeling/branches/Olivier/ML/src/RandomizedTree.cpp $ * @author $Author: teboul $ * @date $Date: 2009-10-16 19:24:19 +0200 (ven., 16 oct. 2009) $ * @brief */ #include <string> #include <fstream> #include "../inc/Histogram.h" #include "....
23.976395
133
0.600376
scanavan
d6900aac91829a6c1554c0df35ee5f74decc49df
1,663
cpp
C++
test/test_file_io.cpp
antoinewdg/cv-utils
3dab4f24d37ae7a41d07b7a7c18f9b80c66e3f7e
[ "MIT" ]
null
null
null
test/test_file_io.cpp
antoinewdg/cv-utils
3dab4f24d37ae7a41d07b7a7c18f9b80c66e3f7e
[ "MIT" ]
null
null
null
test/test_file_io.cpp
antoinewdg/cv-utils
3dab4f24d37ae7a41d07b7a7c18f9b80c66e3f7e
[ "MIT" ]
null
null
null
#include "test_common.h" TEST_CASE("load_color") { SECTION("Vec3b") { Mat_<Vec3b> image = load_color(assets_dir() + "/colors.png"); REQUIRE(image(0, 0) == Vec3b(0, 0, 0)); REQUIRE(image(1, 0) == Vec3b(255, 0, 0)); REQUIRE(image(0, 1) == Vec3b(0, 0, 255)); REQUIRE(image(1, 1...
31.377358
80
0.526759
antoinewdg
d6911da8163b4de49fb706010ffb8cc9b120b159
5,960
cpp
C++
imapp_platform_glfw.cpp
remyroez/imgui_app
2e715a3b4a5f2f351b27cc9af02d405d2b483e02
[ "MIT" ]
5
2021-04-07T17:33:35.000Z
2022-03-20T21:18:42.000Z
imapp_platform_glfw.cpp
remyroez/imgui_app
2e715a3b4a5f2f351b27cc9af02d405d2b483e02
[ "MIT" ]
null
null
null
imapp_platform_glfw.cpp
remyroez/imgui_app
2e715a3b4a5f2f351b27cc9af02d405d2b483e02
[ "MIT" ]
null
null
null
// imapp: standalone application starter kit // (GLFW is a cross-platform general purpose library for handling windows, inputs, OpenGL/Vulkan/Metal graphics context creation, etc.) #include "imapp.h" #include "imapp_internal.h" #include "imgui.h" #include "imgui_impl_glfw.h" #if defined(IMAPP_RENDERER_OPENGL) #inclu...
26.968326
149
0.713423
remyroez
d692135582f44fee33dd8fb3ea7e545fd3e5cd9f
3,466
cpp
C++
src/main.cpp
segmentation-chaos/dynamical-systems
046f239b1be7753dfbe8f3f556030151a528fc0c
[ "BSD-3-Clause" ]
3
2019-09-25T22:20:32.000Z
2019-09-26T14:43:40.000Z
src/main.cpp
segmentation-chaos/dynamical-systems
046f239b1be7753dfbe8f3f556030151a528fc0c
[ "BSD-3-Clause" ]
null
null
null
src/main.cpp
segmentation-chaos/dynamical-systems
046f239b1be7753dfbe8f3f556030151a528fc0c
[ "BSD-3-Clause" ]
1
2021-07-21T23:25:45.000Z
2021-07-21T23:25:45.000Z
/* */ /* CLICK SPACE */ /* */ /* An educational application for dy- */ /* namical systems and C++ programmi- */ /* ng. Two applications available: */ /* */ /* 2D maps: ...
36.484211
63
0.430756
segmentation-chaos
d69294da0ec393ccf1749eeb019afcc098d45244
32,472
cpp
C++
client/Classes/View/Layers/NetworkQueueLayer/NetworkQueueLayer.cpp
plankes-projects/BaseWar
693f7d02fa324b917b28be58d33bb77a18d77f26
[ "Apache-2.0" ]
60
2015-01-03T07:31:14.000Z
2021-12-17T02:39:17.000Z
client/Classes/View/Layers/NetworkQueueLayer/NetworkQueueLayer.cpp
plankes-projects/BaseWar
693f7d02fa324b917b28be58d33bb77a18d77f26
[ "Apache-2.0" ]
1
2018-08-17T09:59:30.000Z
2018-08-17T09:59:30.000Z
client/Classes/View/Layers/NetworkQueueLayer/NetworkQueueLayer.cpp
plankes-projects/BaseWar
693f7d02fa324b917b28be58d33bb77a18d77f26
[ "Apache-2.0" ]
27
2015-01-22T06:55:10.000Z
2021-12-17T02:39:23.000Z
#include "NetworkQueueLayer.h" #include "../../../Model/Model.h" #include "../../../SceneControl.h" #include "../../../Network/ServerCommunication.h" #include "../../../Network/NetworkSingleton.h" #include "../../../Tools/Tools.h" #include "../../../Tools/BW_Time.h" #include "../../../Model/GameMode.h" #include "../.....
34.655283
155
0.743133
plankes-projects
d69336dcb3392e35b0fbca4410068700b664138c
2,497
cpp
C++
cpp/graphs/shortestpaths/dijkstra_custom_heap.cpp
ayushbhatt2000/codelibrary
e1209b5e6195717d20127e12e908839c595c2f4c
[ "Unlicense" ]
1,727
2015-01-01T18:32:37.000Z
2022-03-28T05:56:03.000Z
cpp/graphs/shortestpaths/dijkstra_custom_heap.cpp
ayushbhatt2000/codelibrary
e1209b5e6195717d20127e12e908839c595c2f4c
[ "Unlicense" ]
110
2015-05-03T10:23:18.000Z
2021-07-31T22:44:39.000Z
cpp/graphs/shortestpaths/dijkstra_custom_heap.cpp
ayushbhatt2000/codelibrary
e1209b5e6195717d20127e12e908839c595c2f4c
[ "Unlicense" ]
570
2015-01-01T10:17:11.000Z
2022-03-31T22:23:46.000Z
#include <bits/stdc++.h> using namespace std; const int maxnodes = 200'000; const int maxedges = 1000'000; // graph int edges; int last[maxnodes], head[maxedges], previous[maxedges], len[maxedges]; int prio[maxnodes], pred[maxnodes]; void reset_graph() { fill(last, last + maxnodes, -1); edges = 0; } void a...
20.300813
70
0.486984
ayushbhatt2000
d696e6279fd0a3a19099601c5578deb8b8c697cb
8,111
cpp
C++
src/FFMPEG.cpp
dubhater/D2VWitch
b379384bb6aa7ee475ff7421b0ce5fee9e85d8b6
[ "ISC" ]
35
2016-01-15T08:00:10.000Z
2021-12-22T19:49:49.000Z
src/FFMPEG.cpp
dubhater/D2VWitch
b379384bb6aa7ee475ff7421b0ce5fee9e85d8b6
[ "ISC" ]
11
2016-03-07T00:04:26.000Z
2022-02-09T18:32:54.000Z
src/FFMPEG.cpp
dubhater/D2VWitch
b379384bb6aa7ee475ff7421b0ce5fee9e85d8b6
[ "ISC" ]
5
2016-01-18T12:50:13.000Z
2021-05-01T09:12:02.000Z
/* Copyright (c) 2016, John Smith Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES ...
27.218121
123
0.613858
dubhater
d6988bac367ba60933ba1c7715d28c5e0b71c082
20,315
cc
C++
dcmtract/libsrc/trctrackset.cc
palmerc/dcmtk
716832be091d138f3e119c47a4e1e243f5b261d3
[ "Apache-2.0" ]
4
2017-03-03T13:52:51.000Z
2022-01-04T12:10:15.000Z
dcmtract/libsrc/trctrackset.cc
palmerc/dcmtk
716832be091d138f3e119c47a4e1e243f5b261d3
[ "Apache-2.0" ]
null
null
null
dcmtract/libsrc/trctrackset.cc
palmerc/dcmtk
716832be091d138f3e119c47a4e1e243f5b261d3
[ "Apache-2.0" ]
5
2017-03-06T01:32:13.000Z
2020-05-12T23:53:29.000Z
/* * * Copyright (C) 2016, Open Connections GmbH * All rights reserved. See COPYRIGHT file for details. * * This software and supporting documentation are maintained by * * OFFIS e.V. * R&D Division Health * Escherweg 2 * D-26121 Oldenburg, Germany * * * Module: dcmtract * * Author: M...
30.007386
197
0.673837
palmerc
d69a69a6afaa5dde964cdd4dd8712faedac7e8e2
513
cpp
C++
C++/FuzzBuzz.cpp
RDxR10/Hacktoberfest-2020-FizzBuzz
c9a8e3a0ac1ff9886c013a6b5628b7f64eb0d342
[ "Unlicense" ]
80
2020-10-01T00:32:34.000Z
2021-01-08T21:56:09.000Z
C++/FuzzBuzz.cpp
RDxR10/Hacktoberfest-2020-FizzBuzz
c9a8e3a0ac1ff9886c013a6b5628b7f64eb0d342
[ "Unlicense" ]
672
2020-09-30T22:53:47.000Z
2020-11-01T12:39:59.000Z
C++/FuzzBuzz.cpp
RDxR10/Hacktoberfest-2020-FizzBuzz
c9a8e3a0ac1ff9886c013a6b5628b7f64eb0d342
[ "Unlicense" ]
618
2020-09-30T22:21:12.000Z
2020-10-31T21:28:06.000Z
// Fuzz Buzz // Author: Sewern Kaminski #include <array> #include <iostream> #include <numeric> using namespace std; int main() { cout << "Fizz buzz" << endl; auto print = []( int v ) { auto f = !(v % 3); auto b = !(v % 5); cout << ( f && b ? "fizzbuzz" : f ? "...
19
60
0.45614
RDxR10
d69bd4e87451980d1397581d4bd8a84cb9ad90ae
5,915
cpp
C++
src/bazel/bazel.cpp
cppan/cppan
b4bbdf5e56f9d237f2820301152b7024ca10907b
[ "Apache-2.0" ]
117
2016-03-14T08:26:32.000Z
2021-12-09T10:17:34.000Z
src/bazel/bazel.cpp
fuyanbin/cppan
77e0f8d6f3e372cd191e9b3af1704403f824c0de
[ "Apache-2.0" ]
55
2016-06-30T10:01:27.000Z
2019-08-10T19:18:37.000Z
src/bazel/bazel.cpp
fuyanbin/cppan
77e0f8d6f3e372cd191e9b3af1704403f824c0de
[ "Apache-2.0" ]
25
2017-04-21T06:38:17.000Z
2022-02-02T05:02:25.000Z
/* * Copyright (C) 2016-2017, Egor Pugin * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
26.524664
118
0.503804
cppan
d69f2607ef62aa2a02a8735ddcd4e553543ac26f
7,507
hpp
C++
src/providers/gdrive/include/jconer/value.hpp
webosose/com.webos.service.storageaccess
9d1c912c5654ff9df33206d0d367359b04e03e22
[ "Apache-2.0" ]
null
null
null
src/providers/gdrive/include/jconer/value.hpp
webosose/com.webos.service.storageaccess
9d1c912c5654ff9df33206d0d367359b04e03e22
[ "Apache-2.0" ]
1
2021-06-22T22:18:47.000Z
2021-06-22T22:18:47.000Z
src/providers/gdrive/include/jconer/value.hpp
webosose/com.webos.service.storageaccess
9d1c912c5654ff9df33206d0d367359b04e03e22
[ "Apache-2.0" ]
null
null
null
// The MIT License (MIT) // // Copyright (c) 2014 Justin (Jianfeng) Lin // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // t...
29.439216
95
0.597309
webosose
d6a3c92878e07465c39e9ffbe2242c9e33961b52
1,383
cpp
C++
lang/C++/vector-products.cpp
ethansaxenian/RosettaDecode
8ea1a42a5f792280b50193ad47545d14ee371fb7
[ "MIT" ]
5
2021-01-29T20:08:05.000Z
2022-03-22T06:16:05.000Z
lang/C++/vector-products.cpp
ethansaxenian/RosettaDecode
8ea1a42a5f792280b50193ad47545d14ee371fb7
[ "MIT" ]
null
null
null
lang/C++/vector-products.cpp
ethansaxenian/RosettaDecode
8ea1a42a5f792280b50193ad47545d14ee371fb7
[ "MIT" ]
1
2018-11-09T22:08:40.000Z
2018-11-09T22:08:40.000Z
#include <iostream> template< class T > class D3Vector { template< class U > friend std::ostream & operator<<( std::ostream & , const D3Vector<U> & ) ; public : D3Vector( T a , T b , T c ) { x = a ; y = b ; z = c ; } T dotproduct ( const D3Vector & rhs ) { T scalar = x * rhs.x + y *...
25.145455
75
0.469993
ethansaxenian
d6a41b8b757b51b953a443e92e18313f1b5cc65a
1,543
cpp
C++
util/generic/function_ut.cpp
HeyLey/catboost
f472aed90604ebe727537d9d4a37147985e10ec2
[ "Apache-2.0" ]
2
2019-07-10T10:49:09.000Z
2020-06-19T11:40:04.000Z
util/generic/function_ut.cpp
HeyLey/catboost
f472aed90604ebe727537d9d4a37147985e10ec2
[ "Apache-2.0" ]
6
2020-02-18T22:12:29.000Z
2020-02-18T22:31:26.000Z
util/generic/function_ut.cpp
HeyLey/catboost
f472aed90604ebe727537d9d4a37147985e10ec2
[ "Apache-2.0" ]
1
2019-07-01T20:59:01.000Z
2019-07-01T20:59:01.000Z
#include "function.h" #include "typetraits.h" #include <library/unittest/registar.h> Y_UNIT_TEST_SUITE(TestFunctionSignature) { int FF(double x) { return (int)x; } int FFF(double x, char xx) { return (int)x + (int)xx; } struct A { int F(double x) { return FF(x...
22.042857
83
0.594945
HeyLey
d6a689479090886a8191b98c2c0a863737cf536e
901
cc
C++
exercises/RIF_PUNT/rifpunt.cc
mfranzil/Programmazione1UniTN
0aee3ec51d424039afcabfa9de80046c1d5be7d9
[ "MIT" ]
3
2021-11-05T16:25:50.000Z
2022-02-10T14:06:00.000Z
exercises/RIF_PUNT/rifpunt.cc
mfranzil/Programmazione1UniTN
0aee3ec51d424039afcabfa9de80046c1d5be7d9
[ "MIT" ]
null
null
null
exercises/RIF_PUNT/rifpunt.cc
mfranzil/Programmazione1UniTN
0aee3ec51d424039afcabfa9de80046c1d5be7d9
[ "MIT" ]
2
2018-10-31T14:53:40.000Z
2020-01-09T22:34:37.000Z
// Example 7.1, page 187 // Schaum's Outline of Programming with C++ by John R. Hubbard // Copyright McGraw-Hill, 1996 using namespace std; #include <iostream> int main() { float x = 44.44; cout << "x = " << x << endl; cout << "\t&x = " << &x << endl; // prints address of x float* p = &x; // p ...
29.064516
65
0.438402
mfranzil
d6a70cf1677b668a8b9b1d6a1a8f5fe6c2711a1f
1,757
hpp
C++
Yannq/Serializers/SerializeRBM.hpp
cecri/yannq
b78c1f86a255059f06b34dd5e538449e7261d0ee
[ "BSD-3-Clause" ]
null
null
null
Yannq/Serializers/SerializeRBM.hpp
cecri/yannq
b78c1f86a255059f06b34dd5e538449e7261d0ee
[ "BSD-3-Clause" ]
null
null
null
Yannq/Serializers/SerializeRBM.hpp
cecri/yannq
b78c1f86a255059f06b34dd5e538449e7261d0ee
[ "BSD-3-Clause" ]
null
null
null
#ifndef YANNQ_SEREALIZAERS_SERIALIZERBM_HPP #define YANNQ_SEREALIZAERS_SERIALIZERBM_HPP #include <cereal/access.hpp> #include <cereal/types/memory.hpp> #include "Machines/RBM.hpp" CEREAL_CLASS_VERSION(yannq::RBM<float>, 1); CEREAL_CLASS_VERSION(yannq::RBM<std::complex<float>>, 1); CEREAL_CLASS_VERSION(yannq::RBM<d...
20.430233
119
0.684121
cecri
d6ab23a4c48bc2f8cadc95a726f4aff1166dfa3d
2,164
hpp
C++
libs/python/include/python/math/py_tensor.hpp
devjsc/ledger-1
2aa68e05b9f9c10a9971fc8ddf4848695511af3c
[ "Apache-2.0" ]
3
2019-07-11T08:49:27.000Z
2021-09-07T16:49:15.000Z
libs/python/include/python/math/py_tensor.hpp
devjsc/ledger-1
2aa68e05b9f9c10a9971fc8ddf4848695511af3c
[ "Apache-2.0" ]
null
null
null
libs/python/include/python/math/py_tensor.hpp
devjsc/ledger-1
2aa68e05b9f9c10a9971fc8ddf4848695511af3c
[ "Apache-2.0" ]
2
2019-07-13T12:45:22.000Z
2021-03-12T08:48:57.000Z
#pragma once //------------------------------------------------------------------------------ // // Copyright 2018-2019 Fetch.AI Limited // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the Licen...
40.830189
98
0.581793
devjsc
d6ad493472925a996ded91157d873f53c5300317
4,335
cpp
C++
Coconuts/src/editor/standalone/panels/SceneOverview.cpp
filhoDaMain/Coconuts
007cfdea11e2bc7bbb8ffa38747629b111b4e196
[ "Apache-2.0" ]
3
2020-05-02T15:18:19.000Z
2022-01-26T06:18:18.000Z
Coconuts/src/editor/standalone/panels/SceneOverview.cpp
filhoDaMain/Coconuts
007cfdea11e2bc7bbb8ffa38747629b111b4e196
[ "Apache-2.0" ]
4
2021-07-19T21:55:59.000Z
2021-10-04T20:19:17.000Z
Coconuts/src/editor/standalone/panels/SceneOverview.cpp
filhoDaMain/Coconuts
007cfdea11e2bc7bbb8ffa38747629b111b4e196
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2021 Andre Temprilho * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
29.691781
102
0.551788
filhoDaMain
d6b08477bf23e331ade748dcf013b997dff9fe83
1,751
cpp
C++
Source/ToolExampleEditor/CustomDataType/ReimportExampleDataFactory.cpp
ScottKirvan/ToolExample
71f90211b70bdebbf7e171f127b9b6d103735889
[ "MIT" ]
3
2021-03-10T21:00:13.000Z
2021-12-11T12:33:17.000Z
Source/ToolExampleEditor/CustomDataType/ReimportExampleDataFactory.cpp
ScottKirvan/ToolExample
71f90211b70bdebbf7e171f127b9b6d103735889
[ "MIT" ]
1
2021-02-08T02:34:07.000Z
2021-02-08T02:44:58.000Z
Source/ToolExampleEditor/CustomDataType/ReimportExampleDataFactory.cpp
ScottKirvan/ToolExample
71f90211b70bdebbf7e171f127b9b6d103735889
[ "MIT" ]
3
2021-03-11T10:13:30.000Z
2021-08-18T13:30:57.000Z
#include "ReimportExampleDataFactory.h" #include "ToolExampleEditor/ToolExampleEditor.h" #include "ExampleDataFactory.h" #include "ToolExample/CustomDataType/ExampleData.h" bool UReimportExampleDataFactory::CanReimport(UObject* Obj, TArray<FString>& OutFilenames) { UExampleData* ExampleData = Cast<UExampleData>(Obj);...
31.267857
124
0.780126
ScottKirvan
d6b8056d8c7995f7ae69b3cd1d986d6217a82df1
2,711
hpp
C++
modules/filter/include/filter/parallel.hpp
aversiveplusplus/aversiveplusplus
5f5fe9faca50197fd6207e2c816efa7e9af6c804
[ "BSD-3-Clause" ]
29
2016-01-27T09:43:44.000Z
2020-03-12T04:16:02.000Z
modules/filter/include/filter/parallel.hpp
aversiveplusplus/aversiveplusplus
5f5fe9faca50197fd6207e2c816efa7e9af6c804
[ "BSD-3-Clause" ]
20
2016-01-22T15:59:33.000Z
2016-10-28T10:22:45.000Z
modules/filter/include/filter/parallel.hpp
aversiveplusplus/aversiveplusplus
5f5fe9faca50197fd6207e2c816efa7e9af6c804
[ "BSD-3-Clause" ]
6
2016-02-11T14:09:04.000Z
2018-03-17T00:18:35.000Z
/* Copyright (c) 2015, Xenomorphales All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following ...
35.671053
110
0.766138
aversiveplusplus
d6b86363a81241a571f4c5376de9bf63ad60c01b
3,893
cpp
C++
src/Graphics/Window.cpp
jkbz64/Zadymka
16c2bf66ce6c3bbff8eeeb3fad291b2939e4a5b7
[ "MIT" ]
2
2020-03-18T16:13:04.000Z
2021-07-30T12:18:52.000Z
src/Graphics/Window.cpp
jkbz64/Zadymka
16c2bf66ce6c3bbff8eeeb3fad291b2939e4a5b7
[ "MIT" ]
null
null
null
src/Graphics/Window.cpp
jkbz64/Zadymka
16c2bf66ce6c3bbff8eeeb3fad291b2939e4a5b7
[ "MIT" ]
null
null
null
#include <Graphics/Window.hpp> #include <Graphics/Shader.hpp> #include <Graphics/Drawable.hpp> #include <Input.hpp> #include <glad/glad.h> #include <GLFW/glfw3.h> #include <Graphics/DefaultRenderer.hpp> #include <ImGui.hpp> namespace { template <typename T> constexpr float normalize(T value) { return...
25.279221
102
0.660416
jkbz64
d6baa311765f24126537b56fc7ff802bd700f952
1,922
cpp
C++
src/main/cpp/castling.cpp
hayanige/pulse_plus
6b9e8517820109f02d566121afcb0e9a84cb2918
[ "MIT" ]
null
null
null
src/main/cpp/castling.cpp
hayanige/pulse_plus
6b9e8517820109f02d566121afcb0e9a84cb2918
[ "MIT" ]
null
null
null
src/main/cpp/castling.cpp
hayanige/pulse_plus
6b9e8517820109f02d566121afcb0e9a84cb2918
[ "MIT" ]
null
null
null
/* * Copyright (C) 2013-2016 Phokham Nonava * * Use of this source code is governed by the MIT license that can be * found in the LICENSE file. */ #include "castling.h" #include "color.h" #include "castlingtype.h" namespace pulse { bool Castling::isValid(int castling) { switch (castling) { case WHIT...
24.641026
69
0.546306
hayanige
d6bbe5228a57754b9883e9a03e40c79b7ab2b10e
3,640
cpp
C++
_Deprecated/Db_2021/EntryPoint/EntryPoint.cpp
DexterDreeeam/DxtSdk2021
2dd8807b4ebe1d65221095191eaa7938bc5e9e78
[ "MIT" ]
1
2021-11-18T03:57:54.000Z
2021-11-18T03:57:54.000Z
_Deprecated/Db_2021/EntryPoint/EntryPoint.cpp
DexterDreeeam/P9
2dd8807b4ebe1d65221095191eaa7938bc5e9e78
[ "MIT" ]
null
null
null
_Deprecated/Db_2021/EntryPoint/EntryPoint.cpp
DexterDreeeam/P9
2dd8807b4ebe1d65221095191eaa7938bc5e9e78
[ "MIT" ]
null
null
null
#include "../DbCore/Interface.hpp" const s64 port = 39901; const char* ip; struct client_context { network_connect connect; ref<P9::Platform::platform> platform; }; static void client_handler(void* p) { client_context* p_context = (client_context*)p; network_connect connect = p_context->connect; ...
25.277778
96
0.560989
DexterDreeeam
d6bc8e308587489d0aaabe14e1c06328e14d0012
630
cpp
C++
lldb/source/Utility/Baton.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
2,338
2018-06-19T17:34:51.000Z
2022-03-31T11:00:37.000Z
lldb/source/Utility/Baton.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
3,740
2019-01-23T15:36:48.000Z
2022-03-31T22:01:13.000Z
lldb/source/Utility/Baton.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
500
2019-01-23T07:49:22.000Z
2022-03-30T02:59:37.000Z
//===-- Baton.cpp ---------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
45
80
0.465079
medismailben
d6bda410f7f9f02b5a01512c65e6da0b164d22a5
968
cpp
C++
Tutorial2/12.Menghitung_Kalimat.cpp
azminawwar/tutorial_cpp
0ec79e9c7f5f77bab38bc23dfc9e81a70897faa8
[ "MIT" ]
12
2020-03-06T04:18:13.000Z
2021-11-02T01:28:21.000Z
Tutorial2/12.Menghitung_Kalimat.cpp
azminawwar/tutorial_cpp
0ec79e9c7f5f77bab38bc23dfc9e81a70897faa8
[ "MIT" ]
1
2020-10-02T10:02:37.000Z
2020-10-02T10:02:37.000Z
Tutorial2/12.Menghitung_Kalimat.cpp
azminawwar/tutorial_cpp
0ec79e9c7f5f77bab38bc23dfc9e81a70897faa8
[ "MIT" ]
9
2019-11-02T09:33:47.000Z
2021-12-16T14:24:49.000Z
#include <iostream> using namespace std; //deklarasi fungsi int itungKalimat(string x); int itungKata(string x); int main() { //membuat variabel dan pointernya string kalimat; string *pointer_kalimat = &kalimat; cout<<"Masukkan Kalimat Anda = "; //input beserta spasi getline(cin,kalimat); //...
26.162162
80
0.637397
azminawwar
d6c0283daa7ab3e68424f8c9ecd3e391294f8f2d
1,562
hpp
C++
include/RED4ext/Types/generated/game/ui/SideScrollerMiniGameLogicControllerAdvanced.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
1
2021-02-01T23:07:50.000Z
2021-02-01T23:07:50.000Z
include/RED4ext/Types/generated/game/ui/SideScrollerMiniGameLogicControllerAdvanced.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
null
null
null
include/RED4ext/Types/generated/game/ui/SideScrollerMiniGameLogicControllerAdvanced.hpp
Cyberpunk-Extended-Development-Team/RED4ext.SDK
2dc828c761d87a1b4235ce9ca4fbdf9fb4312fae
[ "MIT" ]
null
null
null
#pragma once // This file is generated from the Game's Reflection data #include <cstdint> #include <RED4ext/Common.hpp> #include <RED4ext/REDhash.hpp> #include <RED4ext/CName.hpp> #include <RED4ext/DynArray.hpp> #include <RED4ext/Types/generated/Vector2.hpp> #include <RED4ext/Types/generated/game/ui/SideScrollerCheat...
38.097561
94
0.772087
Cyberpunk-Extended-Development-Team
d6c066061dc148d9477d273b723084296c5ca0a9
3,135
cxx
C++
Victre/generation/createDuct.cxx
DIDSR/VICTRE_PIPELINE
e4108430705ad0e4c8d51fe360f999929dcc9a92
[ "CC0-1.0" ]
4
2021-06-24T23:57:56.000Z
2022-03-17T01:23:04.000Z
Victre/generation/createDuct.cxx
DIDSR/VICTRE_PIPELINE
e4108430705ad0e4c8d51fe360f999929dcc9a92
[ "CC0-1.0" ]
null
null
null
Victre/generation/createDuct.cxx
DIDSR/VICTRE_PIPELINE
e4108430705ad0e4c8d51fe360f999929dcc9a92
[ "CC0-1.0" ]
5
2021-05-22T18:53:12.000Z
2022-03-27T20:34:15.000Z
/* * create_duct.cxx * * Created on: Dec 22, 2014 * Author: cgg */ #include "createDuct.hxx" using namespace std; namespace po = boost::program_options; /* This function creates a duct tree within a given compartment, inserts it into the segmented * breast and saves the tree */ void generate_duct(vtkIma...
24.685039
115
0.67177
DIDSR
d6c0b28547642bb3f96856736d88ea6bc8b24a0a
3,831
cc
C++
chrome/browser/ui/sad_tab_helper.cc
leiferikb/bitpop-private
4c967307d228e86f07f2576068a169e846c833ca
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2021-11-15T15:17:43.000Z
2021-11-15T15:17:43.000Z
chrome/browser/ui/sad_tab_helper.cc
houseoflifeproperty/bitpop-private
4c967307d228e86f07f2576068a169e846c833ca
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/ui/sad_tab_helper.cc
houseoflifeproperty/bitpop-private
4c967307d228e86f07f2576068a169e846c833ca
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2020-11-04T07:24:02.000Z
2020-11-04T07:24:02.000Z
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/ui/sad_tab_helper.h" #include "base/logging.h" #include "chrome/browser/browser_shutdown.h" #include "chrome/browser/ui/sad_...
36.836538
80
0.734534
leiferikb
d6c1460fa282081f4dc5ec2f5ee957c06181edd9
22,926
cpp
C++
src/libandroidfw/LoadedArsc.cpp
mnlsm/aapt
86553bc9bc0edacaf15cc4cbea278e6c641f93be
[ "Apache-2.0" ]
null
null
null
src/libandroidfw/LoadedArsc.cpp
mnlsm/aapt
86553bc9bc0edacaf15cc4cbea278e6c641f93be
[ "Apache-2.0" ]
null
null
null
src/libandroidfw/LoadedArsc.cpp
mnlsm/aapt
86553bc9bc0edacaf15cc4cbea278e6c641f93be
[ "Apache-2.0" ]
1
2019-06-22T09:06:34.000Z
2019-06-22T09:06:34.000Z
/* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
33.964444
100
0.62379
mnlsm
d6c2411a777c7752c8a0f78e84086e0e3df44f61
1,280
cc
C++
third_party/blink/renderer/core/css/css_custom_ident_value.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
third_party/blink/renderer/core/css/css_custom_ident_value.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
third_party/blink/renderer/core/css/css_custom_ident_value.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "third_party/blink/renderer/core/css/css_custom_ident_value.h" #include "third_party/blink/renderer/core/css/css_markup.h" #include "third_party...
32.820513
83
0.778125
zipated
d6c287728f25639f7599e72c752eba49a3fa691f
4,455
cpp
C++
src/DriveTrain.cpp
shiruz/SampleCode
2fb3d8701bbb86f6609341a636f05134132b2efd
[ "MIT" ]
null
null
null
src/DriveTrain.cpp
shiruz/SampleCode
2fb3d8701bbb86f6609341a636f05134132b2efd
[ "MIT" ]
null
null
null
src/DriveTrain.cpp
shiruz/SampleCode
2fb3d8701bbb86f6609341a636f05134132b2efd
[ "MIT" ]
null
null
null
#include "main.h" //Veriables for tweaking the drive train. bool IsBreaking = false; bool IsForward = true; //Returns true/false as to wheter the drive wheels have //reached their position goal set by driveForDistance bool AtDistanceDriveGoal(int threshold) { return (abs(FLMotor.get_position() - FLMotor.get_target...
27
159
0.683726
shiruz
d6c2afef18e6106cc75075c52b23268618675eb5
3,430
cc
C++
services/network/dns_config_change_manager_unittest.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
575
2015-06-18T23:58:20.000Z
2022-03-23T09:32:39.000Z
services/network/dns_config_change_manager_unittest.cc
sarang-apps/darshan_browser
173649bb8a7c656dc60784d19e7bb73e07c20daa
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
services/network/dns_config_change_manager_unittest.cc
Yannic/chromium
ab32e8aacb08c9fce0dc4bf09eec456ba46e3710
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
52
2015-07-14T10:40:50.000Z
2022-03-15T01:11:49.000Z
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "services/network/dns_config_change_manager.h" #include <climits> #include <utility> #include "base/run_loop.h" #include "base/test/task_enviro...
31.46789
79
0.774052
sarang-apps
d6c2bc7c8f35690769cadfcc074d78082ef4214d
2,892
cpp
C++
tagGame/ControllerPursue.cpp
funge/ai4games
b72be3648fa0da611b999aa01aec8560728bcdd7
[ "MIT" ]
1
2020-01-11T18:53:53.000Z
2020-01-11T18:53:53.000Z
tagGame/ControllerPursue.cpp
funge/ai4games
b72be3648fa0da611b999aa01aec8560728bcdd7
[ "MIT" ]
null
null
null
tagGame/ControllerPursue.cpp
funge/ai4games
b72be3648fa0da611b999aa01aec8560728bcdd7
[ "MIT" ]
1
2019-08-27T17:24:27.000Z
2019-08-27T17:24:27.000Z
// ---------------------------------------------------------------------------- // // tagGame - Example code from the book: // // Artficial Intelligence for Computer Games: An Introduction // by John David Funge // // www.ai4games.org // // Source code distributed under the Copyright (c) 2...
28.633663
90
0.647994
funge
d6c312ae5a2cd1de1511c43c115d350036a0fd58
2,019
cpp
C++
Amazon/14 - Burning Tree.cpp
thisisbipin/-6Companies30days
5d4b8a10cb00f395f3f12812de82588d10fb2426
[ "MIT" ]
null
null
null
Amazon/14 - Burning Tree.cpp
thisisbipin/-6Companies30days
5d4b8a10cb00f395f3f12812de82588d10fb2426
[ "MIT" ]
null
null
null
Amazon/14 - Burning Tree.cpp
thisisbipin/-6Companies30days
5d4b8a10cb00f395f3f12812de82588d10fb2426
[ "MIT" ]
null
null
null
class Solution { unordered_map<Node*, Node*> parent; public: Node* populate(Node* root, int target) { queue<Node*> q; q.push(root); Node* tar = NULL; bool check = 0; while (!q.empty()) { int size = q.size(); for (int i = 0; i < size; i++)...
30.590909
85
0.34522
thisisbipin
d6c390d5dd7a4d95ce241765a17f952fc87a3bd4
1,528
hpp
C++
indexer/locality_object.hpp
ToshUxanoff/omim
a8acb5821c72bd78847d1c49968b14d15b1e06ee
[ "Apache-2.0" ]
1
2021-07-02T08:45:02.000Z
2021-07-02T08:45:02.000Z
indexer/locality_object.hpp
ToshUxanoff/omim
a8acb5821c72bd78847d1c49968b14d15b1e06ee
[ "Apache-2.0" ]
1
2020-06-15T15:16:23.000Z
2020-06-15T15:59:19.000Z
indexer/locality_object.hpp
maksimandrianov/omim
cbc5a80d09d585afbda01e471887f63b9d3ab0c2
[ "Apache-2.0" ]
1
2018-10-01T10:27:21.000Z
2018-10-01T10:27:21.000Z
#pragma once #include "geometry/point2d.hpp" #include "base/buffer_vector.hpp" #include "base/geo_object_id.hpp" #include <cstdint> #include <vector> namespace indexer { // Class for intermediate objects used to build LocalityIndex. class LocalityObject { public: // Decodes id stored in LocalityIndex. See GetStor...
26.344828
102
0.683246
ToshUxanoff
d6cc3d7aec44b32084bf0600aa0548d33238e79c
2,126
cpp
C++
test/crypto.cpp
cisco/mlspp
2276e3828927126d053b7e6f9191acadd8b6ccb7
[ "BSD-2-Clause" ]
47
2018-04-04T18:19:39.000Z
2022-01-13T16:40:39.000Z
test/crypto.cpp
cisco/mlspp
2276e3828927126d053b7e6f9191acadd8b6ccb7
[ "BSD-2-Clause" ]
73
2018-09-19T22:27:52.000Z
2022-03-30T13:43:44.000Z
test/crypto.cpp
cisco/mlspp
2276e3828927126d053b7e6f9191acadd8b6ccb7
[ "BSD-2-Clause" ]
34
2018-03-02T21:15:44.000Z
2022-01-13T21:58:15.000Z
#include <doctest/doctest.h> #include <mls/crypto.h> #include <string> using namespace mls; TEST_CASE("Basic HPKE") { auto info = random_bytes(100); auto aad = random_bytes(100); auto original = random_bytes(100); for (auto suite_id : all_supported_suites) { auto suite = CipherSuite{ suite_id }; aut...
23.88764
62
0.64064
cisco
d6cccc0fe0c90e787c54b72f2308bbb21f75a1ee
13,313
cpp
C++
overlay/HardHook_x86.cpp
bogie/mumble
48c3a19aba885177e2b7a17f90bf5617104b18fa
[ "BSD-3-Clause" ]
2
2016-03-08T07:57:21.000Z
2017-12-30T22:01:10.000Z
overlay/HardHook_x86.cpp
bogie/mumble
48c3a19aba885177e2b7a17f90bf5617104b18fa
[ "BSD-3-Clause" ]
null
null
null
overlay/HardHook_x86.cpp
bogie/mumble
48c3a19aba885177e2b7a17f90bf5617104b18fa
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (C) 2005-2011, Thorvald Natvig <thorvald@natvig.com> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright...
32.710074
138
0.670247
bogie
d6ce1fa6589c824a8248a0a7109b94c9e47788eb
10,844
cpp
C++
openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/fbterm/1.7+gitAUTOINC+c15430560a-r1/git/src/screen.cpp
sotaoverride/backup
ca53a10b72295387ef4948a9289cb78ab70bc449
[ "Apache-2.0" ]
null
null
null
openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/fbterm/1.7+gitAUTOINC+c15430560a-r1/git/src/screen.cpp
sotaoverride/backup
ca53a10b72295387ef4948a9289cb78ab70bc449
[ "Apache-2.0" ]
null
null
null
openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/fbterm/1.7+gitAUTOINC+c15430560a-r1/git/src/screen.cpp
sotaoverride/backup
ca53a10b72295387ef4948a9289cb78ab70bc449
[ "Apache-2.0" ]
null
null
null
/* * Copyright © 2008-2010 dragchan <zgchan317@gmail.com> * This file is part of FbTerm. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, o...
22.591667
79
0.503412
sotaoverride
d6d4069bf1a6d7a131bcb24d305e2772a1fd8a2a
3,774
hpp
C++
libff/algebra/fields/binary/gf192.hpp
FardeenFindora/libff
9be5f23075f9723840eb2ceb0016d24d69dfea8f
[ "MIT" ]
115
2016-07-21T02:49:47.000Z
2022-03-29T21:08:23.000Z
libff/algebra/fields/binary/gf192.hpp
FardeenFindora/libff
9be5f23075f9723840eb2ceb0016d24d69dfea8f
[ "MIT" ]
78
2017-03-08T16:43:56.000Z
2022-02-01T03:12:35.000Z
libff/algebra/fields/binary/gf192.hpp
FardeenFindora/libff
9be5f23075f9723840eb2ceb0016d24d69dfea8f
[ "MIT" ]
72
2016-07-22T06:49:42.000Z
2022-03-29T08:48:28.000Z
/**@file ***************************************************************************** Declaration of GF(2^192) finite field. ***************************************************************************** * @author This file is part of libff (see AUTHORS), migrated from libiop * @copyright MIT license (see LIC...
33.105263
98
0.646264
FardeenFindora
d6d4b7cc7b461f90d1cd27b769f2522ffc06152f
5,426
cpp
C++
src/open_pulse/pulse_utils.cpp
jakelishman/qiskit-aer
7512ecede820e0d2bc7ad7b6704bcf06a861ca3a
[ "Apache-2.0" ]
313
2018-12-19T09:19:12.000Z
2022-03-21T18:15:41.000Z
src/open_pulse/pulse_utils.cpp
jakelishman/qiskit-aer
7512ecede820e0d2bc7ad7b6704bcf06a861ca3a
[ "Apache-2.0" ]
933
2018-12-21T02:56:49.000Z
2022-03-30T01:19:54.000Z
src/open_pulse/pulse_utils.cpp
jakelishman/qiskit-aer
7512ecede820e0d2bc7ad7b6704bcf06a861ca3a
[ "Apache-2.0" ]
313
2018-12-19T14:52:55.000Z
2022-02-28T20:20:14.000Z
#include "pulse_utils.hpp" #include "zspmv.hpp" complex_t internal_expect_psi_csr(const py::array_t<complex_t>& data, const py::array_t<int>& ind, const py::array_t<int>& ptr, const py::array_t<complex_t>& vec) { ...
31.546512
135
0.555474
jakelishman
d6d804e4cd407177e48858dd881f754f70a19c87
7,482
cpp
C++
alvr/server/cpp/alvr_server/OvrViveTrackerProxy.cpp
Firepal/ALVR
834cac75663832638a129a6ba6b2901a7e8dd2ed
[ "MIT" ]
1,562
2020-12-01T15:02:21.000Z
2022-03-31T13:37:51.000Z
alvr/server/cpp/alvr_server/OvrViveTrackerProxy.cpp
Firepal/ALVR
834cac75663832638a129a6ba6b2901a7e8dd2ed
[ "MIT" ]
562
2020-12-01T20:10:13.000Z
2022-03-31T22:57:13.000Z
alvr/server/cpp/alvr_server/OvrViveTrackerProxy.cpp
Firepal/ALVR
834cac75663832638a129a6ba6b2901a7e8dd2ed
[ "MIT" ]
184
2020-12-01T15:02:24.000Z
2022-03-31T06:18:18.000Z
#include "OvrViveTrackerProxy.h" #include "Settings.h" #include "OvrHMD.h" #include <cassert> OvrViveTrackerProxy::OvrViveTrackerProxy(OvrHmd& owner) : m_unObjectId(vr::k_unTrackedDeviceIndexInvalid), m_HMDOwner(&owner) {} vr::DriverPose_t OvrViveTrackerProxy::GetPose() { assert(m_HMDOwner != nullptr); ...
88.023529
242
0.794306
Firepal
d6da3c0b96804dda2254ca409833c9e537d0dffe
1,822
hh
C++
StRoot/StJetMaker/test/StjTrgMock.hh
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
2
2018-12-24T19:37:00.000Z
2022-02-28T06:57:20.000Z
StRoot/StJetMaker/test/StjTrgMock.hh
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
null
null
null
StRoot/StJetMaker/test/StjTrgMock.hh
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
null
null
null
// -*- mode: c++;-*- // $Id: StjTrgMock.hh,v 1.4 2008/11/03 23:07:18 tai Exp $ // Copyright (C) 2008 Tai Sakuma <sakuma@bnl.gov> #ifndef STJTRGMOCK_H #define STJTRGMOCK_H #include "StjTrg.h" class StjTrgMock : public StjTrg { public: StjTrgMock() { } virtual ~StjTrgMock() { } int id() { return _id; } int r...
27.19403
70
0.657519
xiaohaijin
d6dad91a05bac7cacc341f1799fd3505babae046
10,395
cpp
C++
utils.cpp
kubeeapp/Sprinks-Firmware
5afb4e7184b1b34af7e123baa0dcd67adcfc6b8c
[ "Apache-2.0" ]
null
null
null
utils.cpp
kubeeapp/Sprinks-Firmware
5afb4e7184b1b34af7e123baa0dcd67adcfc6b8c
[ "Apache-2.0" ]
null
null
null
utils.cpp
kubeeapp/Sprinks-Firmware
5afb4e7184b1b34af7e123baa0dcd67adcfc6b8c
[ "Apache-2.0" ]
null
null
null
/* OpenSprinkler Unified (AVR/RPI/BBB/LINUX) Firmware * Copyright (C) 2015 by Ray Wang (ray@opensprinkler.com) * * Utility functions * Feb 2015 @ OpenSprinkler.com * * This file is part of the OpenSprinkler library * * This program is free software: you can redistribute it and/or modify * it under the terms of...
22.548807
113
0.61645
kubeeapp
d6db8ea18140d8d8bb58dadd132c2cacc1e63187
1,221
cpp
C++
src/escape-http.cpp
lindenb/cmd-utils
1967cbe20bc40676b8bd54ead7d89d80fcdb7a80
[ "Apache-2.0" ]
1
2019-12-16T06:48:13.000Z
2019-12-16T06:48:13.000Z
src/escape-http.cpp
lindenb/cmd-utils
1967cbe20bc40676b8bd54ead7d89d80fcdb7a80
[ "Apache-2.0" ]
null
null
null
src/escape-http.cpp
lindenb/cmd-utils
1967cbe20bc40676b8bd54ead7d89d80fcdb7a80
[ "Apache-2.0" ]
2
2018-09-01T21:34:31.000Z
2019-12-12T00:30:38.000Z
#include "escape-http.tab.h" #include "stringutils.hh" using namespace std; class EscapeHttp: public EscapeHttpBase { private: StringUtils utils; public: char x2c(int c0,int c1) { int digit; digit = (c0 >= 'A' ? ((c0 & 0xdf) - 'A')+10 : (c0 - '0')); digit *= 16; digit += (c1 >= 'A' ? ((c1...
21.421053
75
0.536446
lindenb
d6e069b0325e0653a175304af01426ec8c2c77cc
4,493
cpp
C++
projects/topshop/src/ImageCollector.cpp
jsvenus/MosaicUI
5e01079eb29f82a5916dcbd8c8fd7936e322b873
[ "MIT" ]
1
2019-02-01T01:41:42.000Z
2019-02-01T01:41:42.000Z
projects/topshop/src/ImageCollector.cpp
jsvenus/MosaicUI
5e01079eb29f82a5916dcbd8c8fd7936e322b873
[ "MIT" ]
null
null
null
projects/topshop/src/ImageCollector.cpp
jsvenus/MosaicUI
5e01079eb29f82a5916dcbd8c8fd7936e322b873
[ "MIT" ]
null
null
null
#include <topshop/ImageCollector.h> #include <featurex/Config.h> #include <topshop/Config.h> #include <sys/time.h> namespace top { /* ------------------------------------------------------------------------- */ static ImageCollector* validate_new_file(std::string dir, std::string filename, void* user); /* val...
26.904192
216
0.56243
jsvenus
d6e7b4954d0d1c6ed0c89635596a5faa622770b6
341
cpp
C++
demos/processtofile/main.cpp
artoka/libsshqt
5c69fbf478a1514380308e72815dbe02f2b290e6
[ "MIT" ]
6
2015-04-21T07:13:05.000Z
2022-03-08T01:26:49.000Z
demos/processtofile/main.cpp
artoka/libsshqt
5c69fbf478a1514380308e72815dbe02f2b290e6
[ "MIT" ]
null
null
null
demos/processtofile/main.cpp
artoka/libsshqt
5c69fbf478a1514380308e72815dbe02f2b290e6
[ "MIT" ]
4
2017-09-26T20:00:13.000Z
2021-11-10T18:54:02.000Z
#include <QtCore/QCoreApplication> #include <QTimer> #include "processtofile.h" int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); ProcessToFile *processtofile = new ProcessToFile; QTimer::singleShot(0, processtofile, SLOT(processToFile())); int ret = a.exec(); delete processtofil...
21.3125
64
0.697947
artoka
d6ee3400abc7af650e928a6c22a69285344315ac
322,018
cpp
C++
swig/csharp/gdal/gdal_wrap.cpp
VisualAwarenessTech/gdal-2.2.1
5ea1c6671d6f0f3b93e9e9bf2a71da618c834e8d
[ "Apache-2.0" ]
null
null
null
swig/csharp/gdal/gdal_wrap.cpp
VisualAwarenessTech/gdal-2.2.1
5ea1c6671d6f0f3b93e9e9bf2a71da618c834e8d
[ "Apache-2.0" ]
null
null
null
swig/csharp/gdal/gdal_wrap.cpp
VisualAwarenessTech/gdal-2.2.1
5ea1c6671d6f0f3b93e9e9bf2a71da618c834e8d
[ "Apache-2.0" ]
null
null
null
/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 1.3.39 * * This file is not intended to be easily readable and contains a number of * coding conventions designed to improve portability and efficiency....
21.982251
256
0.611711
VisualAwarenessTech
d6ee72390b730292076a2f928e2b6f4074bbbc76
39,892
cpp
C++
webkit/WebCore/loader/appcache/ApplicationCacheStorage.cpp
s1rcheese/nintendo-3ds-internetbrowser-sourcecode
3dd05f035e0a5fc9723300623e9b9b359be64e11
[ "Unlicense" ]
15
2016-01-05T12:43:41.000Z
2022-03-15T10:34:47.000Z
webkit/WebCore/loader/appcache/ApplicationCacheStorage.cpp
s1rcheese/nintendo-3ds-internetbrowser-sourcecode
3dd05f035e0a5fc9723300623e9b9b359be64e11
[ "Unlicense" ]
null
null
null
webkit/WebCore/loader/appcache/ApplicationCacheStorage.cpp
s1rcheese/nintendo-3ds-internetbrowser-sourcecode
3dd05f035e0a5fc9723300623e9b9b359be64e11
[ "Unlicense" ]
2
2020-11-30T18:36:01.000Z
2021-02-05T23:20:24.000Z
/* * Copyright (C) 2008, 2009 Apple Inc. All Rights Reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of condit...
35.333924
202
0.678382
s1rcheese
d6f1e2628fa53a0efacbe63f0d9860ddb47dc44f
36,248
hpp
C++
lisp/c++/tealang.hpp
Teaonly/tealang
a83e2feeb0331768a6c396930f4fcb10cccd6f85
[ "MIT" ]
2
2019-09-26T02:43:35.000Z
2019-10-09T13:25:42.000Z
lisp/c++/tealang.hpp
Teaonly/tealang
a83e2feeb0331768a6c396930f4fcb10cccd6f85
[ "MIT" ]
null
null
null
lisp/c++/tealang.hpp
Teaonly/tealang
a83e2feeb0331768a6c396930f4fcb10cccd6f85
[ "MIT" ]
null
null
null
#pragma once #include <assert.h> #include <string> #include <memory> #include <list> #include <vector> #include <map> #include <iterator> #include <iostream> #include <sstream> namespace tea { using namespace std; struct _TeaExtern {}; typedef struct _TeaExtern TeaExtern; struct TeaEnvironment; struct TeaObject; st...
32.277827
119
0.478454
Teaonly
d6f23e5f9d43143eed1469a6c8f879af2cbd9592
3,155
hpp
C++
libs/ml/include/ml/state_dict.hpp
devjsc/ledger-1
2aa68e05b9f9c10a9971fc8ddf4848695511af3c
[ "Apache-2.0" ]
3
2019-07-11T08:49:27.000Z
2021-09-07T16:49:15.000Z
libs/ml/include/ml/state_dict.hpp
devjsc/ledger-1
2aa68e05b9f9c10a9971fc8ddf4848695511af3c
[ "Apache-2.0" ]
null
null
null
libs/ml/include/ml/state_dict.hpp
devjsc/ledger-1
2aa68e05b9f9c10a9971fc8ddf4848695511af3c
[ "Apache-2.0" ]
2
2019-07-13T12:45:22.000Z
2021-03-12T08:48:57.000Z
#pragma once //------------------------------------------------------------------------------ // // Copyright 2018-2019 Fetch.AI Limited // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the Licen...
27.198276
97
0.594612
devjsc
d6f27fd6c3a64308adf3bfb6e20133605df6fa39
442
cpp
C++
UTEngine/Native/NZoneInfo.cpp
neuromancer/UTEngine
630398eabbaa173c933234e4c44ff2d62f0347e8
[ "Apache-2.0", "CC0-1.0" ]
50
2020-12-02T17:41:17.000Z
2022-03-18T05:08:21.000Z
UTEngine/Native/NZoneInfo.cpp
neuromancer/UTEngine
630398eabbaa173c933234e4c44ff2d62f0347e8
[ "Apache-2.0", "CC0-1.0" ]
11
2021-07-14T13:41:12.000Z
2021-09-30T10:32:58.000Z
UTEngine/Native/NZoneInfo.cpp
neuromancer/UTEngine
630398eabbaa173c933234e4c44ff2d62f0347e8
[ "Apache-2.0", "CC0-1.0" ]
4
2021-07-20T20:22:36.000Z
2022-01-06T15:30:26.000Z
#include "Precomp.h" #include "NZoneInfo.h" #include "UObject/UActor.h" #include "VM/NativeFunc.h" #include "VM/Frame.h" void NZoneInfo::RegisterFunctions() { RegisterVMNativeFunc_2("ZoneInfo", "ZoneActors", &NZoneInfo::ZoneActors, 308); } void NZoneInfo::ZoneActors(UObject* Self, UObject* BaseClass, UObject*& Acto...
26
114
0.751131
neuromancer
d6f2ae1a29cefd6c05e7c927067c982a20a0aa0f
4,028
cpp
C++
LoganEngine/old/lPhys2/lpRigidBody/lpBox.cpp
sereslorant/logan_engine
a596b4128d0a58236be00f93064e276e43484017
[ "MIT" ]
1
2019-12-26T13:22:29.000Z
2019-12-26T13:22:29.000Z
LoganEngine/old/lPhys2/lpRigidBody/lpBox.cpp
sereslorant/logan_engine
a596b4128d0a58236be00f93064e276e43484017
[ "MIT" ]
null
null
null
LoganEngine/old/lPhys2/lpRigidBody/lpBox.cpp
sereslorant/logan_engine
a596b4128d0a58236be00f93064e276e43484017
[ "MIT" ]
null
null
null
#include "lpBox.h" void lpBox::CalculateBoxInertiaTensor() { InertiaTensor[0][0] = 1.0/12.0 * Mass * (Height*Height + Depth*Depth); InertiaTensor[1][0] = 0.0; InertiaTensor[2][0] = 0.0; InertiaTensor[0][1] = 0.0; InertiaTensor[1][1] = 1.0/12.0 *...
27.77931
194
0.611221
sereslorant
d6f385b24d883e60228a8aa546f3808fd794dabf
9,929
cpp
C++
src/TGUI/Signal.cpp
Bayonetta5/tgui
87d0e9e53895347b04cf15c94be89473548769f3
[ "Zlib" ]
null
null
null
src/TGUI/Signal.cpp
Bayonetta5/tgui
87d0e9e53895347b04cf15c94be89473548769f3
[ "Zlib" ]
null
null
null
src/TGUI/Signal.cpp
Bayonetta5/tgui
87d0e9e53895347b04cf15c94be89473548769f3
[ "Zlib" ]
null
null
null
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // TGUI - Texus' Graphical User Interface // Copyright (C) 2012-2017 Bruno Van de Velde (vdv_b@tgui.eu) // // This software is provided 'as-is', without any express or implied warranty. /...
40.526531
184
0.434988
Bayonetta5
d6f419f178723f7aadc640de4316d43d8b043ea0
6,813
cpp
C++
morse/DotNet/adaptiveCellImageBuilder/PointGraph.cpp
jonnyzzz/phd-project
beab8615585bd52ef9ee1c19d1557e8c933c047a
[ "Apache-2.0" ]
1
2019-12-24T15:52:45.000Z
2019-12-24T15:52:45.000Z
morse/DotNet/adaptiveCellImageBuilder/PointGraph.cpp
jonnyzzz/phd-project
beab8615585bd52ef9ee1c19d1557e8c933c047a
[ "Apache-2.0" ]
null
null
null
morse/DotNet/adaptiveCellImageBuilder/PointGraph.cpp
jonnyzzz/phd-project
beab8615585bd52ef9ee1c19d1557e8c933c047a
[ "Apache-2.0" ]
null
null
null
#include "StdAfx.h" #include ".\pointgraph.h" #include <iostream> #include <set> #include <functional> #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif PointGraph::PointGraph(ISystemFunction* function, int dimension, size_t upperLimit): function(function), dimension(d...
24.684783
111
0.5968
jonnyzzz
d6f512daa20b8ce86475f8486b8c413f54b9932a
784
cpp
C++
src/classwork/04_assign/main.cpp
acc-cosc-1337-spring-2021/acc-cosc-1337-spring-2021-SageElephant
6fa25968c9c57263be2700f4c39892d863e5e78f
[ "MIT" ]
null
null
null
src/classwork/04_assign/main.cpp
acc-cosc-1337-spring-2021/acc-cosc-1337-spring-2021-SageElephant
6fa25968c9c57263be2700f4c39892d863e5e78f
[ "MIT" ]
null
null
null
src/classwork/04_assign/main.cpp
acc-cosc-1337-spring-2021/acc-cosc-1337-spring-2021-SageElephant
6fa25968c9c57263be2700f4c39892d863e5e78f
[ "MIT" ]
null
null
null
//write includes statements #include <iostream> #include "loops.h" //write using statements for cin and cout using std::cin; using std::cout; /* Use a do while loop to prompt the user for a number, call the factorial function, and display the number's factorial. Also, loop continues as long as user wants to. */ int ...
21.777778
76
0.604592
acc-cosc-1337-spring-2021
d6f8949cdb108e259bdd0e918695e83419637eba
1,666
cpp
C++
Olympiad Solutions/URI/1314.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
36
2019-12-27T08:23:08.000Z
2022-01-24T20:35:47.000Z
Olympiad Solutions/URI/1314.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
10
2019-11-13T02:55:18.000Z
2021-10-13T23:28:09.000Z
Olympiad Solutions/URI/1314.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
53
2020-08-15T11:08:40.000Z
2021-10-09T15:51:38.000Z
// Ivan Carvalho // Solution to https://www.urionlinejudge.com.br/judge/problems/view/1314 #include <cstdio> #include <vector> #include <algorithm> #define MAXN 10001 using namespace std; vector<int> grafo[MAXN]; int pai[MAXN],dfs_low[MAXN],dfs_num[MAXN],dfs_parent[MAXN],pontosdearticulacao[MAXN],dfsNumberCounter,dfsRo...
22.821918
132
0.57503
Ashwanigupta9125
d6fae5859b1906929543bf4d4b27827b90a8394e
6,962
cpp
C++
source/JsMaterialX/JsMaterialXCore/JsDocument.cpp
sdunkel/MaterialX
e76a27d01be379929b9adb3cad6d89aa570511ab
[ "BSD-3-Clause" ]
1
2021-11-20T20:56:27.000Z
2021-11-20T20:56:27.000Z
source/JsMaterialX/JsMaterialXCore/JsDocument.cpp
testpassword/MaterialX
7c69782196b11fa43c67aee0707801983bb81e6c
[ "BSD-3-Clause" ]
null
null
null
source/JsMaterialX/JsMaterialXCore/JsDocument.cpp
testpassword/MaterialX
7c69782196b11fa43c67aee0707801983bb81e6c
[ "BSD-3-Clause" ]
null
null
null
// // TM & (c) 2021 Lucasfilm Entertainment Company Ltd. and Lucasfilm Ltd. // All rights reserved. See LICENSE.txt for license. // #include "../VectorHelper.h" #include "../Helpers.h" #include <MaterialXCore/Document.h> #include <emscripten/bind.h> namespace ems = emscripten; namespace mx = MaterialX; EMSCRIPTEN...
62.720721
132
0.692473
sdunkel
d6fbb97f3a224763185abd6812a6916e1e34a265
3,113
cpp
C++
Testing/Backend/auxiliary_resolver.cpp
uscope-platform/makefile_gen
06bd4405afbbd9584911f495ebefff828f05aa0d
[ "Apache-2.0" ]
null
null
null
Testing/Backend/auxiliary_resolver.cpp
uscope-platform/makefile_gen
06bd4405afbbd9584911f495ebefff828f05aa0d
[ "Apache-2.0" ]
null
null
null
Testing/Backend/auxiliary_resolver.cpp
uscope-platform/makefile_gen
06bd4405afbbd9584911f495ebefff828f05aa0d
[ "Apache-2.0" ]
null
null
null
// Copyright 2021 Filippo Savi // Author: Filippo Savi <filssavi@gmail.com> // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unle...
29.093458
75
0.673627
uscope-platform
d6fcb97a5580e130b76fe3944853ae93cd1b1ceb
1,314
cpp
C++
object_recognition/src/object.cpp
Birkehoj/vis3
70e71f1763a8818680bc9eea8d5fc041d4ec8075
[ "BSD-2-Clause" ]
2
2015-11-11T12:39:26.000Z
2021-07-04T13:16:30.000Z
object_recognition/src/object.cpp
Birkehoj/vis3
70e71f1763a8818680bc9eea8d5fc041d4ec8075
[ "BSD-2-Clause" ]
null
null
null
object_recognition/src/object.cpp
Birkehoj/vis3
70e71f1763a8818680bc9eea8d5fc041d4ec8075
[ "BSD-2-Clause" ]
2
2017-04-04T13:47:28.000Z
2019-05-14T14:30:11.000Z
#include "object.h" #include <pcl/io/obj_io.h> #include <fstream> using std::ifstream; Object::Object(const std::string& object_folder_path, const std::string& file_name) : Feature_cloud(file_name.substr(0,file_name.find_last_of("."))) { CloudT::Ptr xyz(new CloudT); pcl::io::loadOBJFile<PointT>(object_folder_path...
29.863636
94
0.611872
Birkehoj
d90096bf47ed042bbdd91a0f413286d866c6394d
9,033
cpp
C++
lite/mach.cpp
richardkchapman/nlp-engine
393d9f2b6352f6c41c3aa79ed5f7075cd93950c4
[ "MIT" ]
3
2021-01-08T19:14:43.000Z
2021-06-08T04:52:22.000Z
lite/mach.cpp
richardkchapman/nlp-engine
393d9f2b6352f6c41c3aa79ed5f7075cd93950c4
[ "MIT" ]
62
2020-06-04T02:37:12.000Z
2022-03-12T12:43:39.000Z
lite/mach.cpp
richardkchapman/nlp-engine
393d9f2b6352f6c41c3aa79ed5f7075cd93950c4
[ "MIT" ]
7
2019-07-18T19:58:27.000Z
2022-02-02T13:21:20.000Z
/******************************************************************************* Copyright (c) 2001-2010 by Text Analysis International, Inc. All rights reserved. ******************************************************************************** * * NAME: MACH.CPP * FILE: lite\mach.cpp * CR: 10/29/98 AM. * SUBJ: Things ...
24.217158
83
0.539577
richardkchapman
d901c987854d1faa741cf947dd691b10ca83570a
2,604
cpp
C++
Board.cpp
Stav-Nof/-messageboard-b
ef98415c0aca9c8c3472a96a8970be092749990e
[ "MIT" ]
null
null
null
Board.cpp
Stav-Nof/-messageboard-b
ef98415c0aca9c8c3472a96a8970be092749990e
[ "MIT" ]
null
null
null
Board.cpp
Stav-Nof/-messageboard-b
ef98415c0aca9c8c3472a96a8970be092749990e
[ "MIT" ]
null
null
null
#include "Board.hpp" #include <iostream> #include <string> #include <array> #include <limits.h> #include <stdexcept> #include <map> using namespace std; namespace ariel{ unsigned int max_colums; unsigned int min_colums; unsigned int max_row; unsigned int min_row; Board::Board(){ ...
25.782178
99
0.409754
Stav-Nof
d902f59288b89d7e73930197565603c8cce54a72
1,243
cpp
C++
HANGCAYMAXMIN.cpp
phuongnam2002/testlib
a5cb8e2be7ac7a7e7dca7942a79ec20076f5d1aa
[ "MIT" ]
2
2022-01-14T13:34:09.000Z
2022-02-21T07:27:29.000Z
HANGCAYMAXMIN.cpp
phuongnam2002/testlib
a5cb8e2be7ac7a7e7dca7942a79ec20076f5d1aa
[ "MIT" ]
null
null
null
HANGCAYMAXMIN.cpp
phuongnam2002/testlib
a5cb8e2be7ac7a7e7dca7942a79ec20076f5d1aa
[ "MIT" ]
null
null
null
#include <iostream> #include <string> using namespace std; int ssXau (string a, string b) { while (1) { if (a.length()==b.length()) break; if (a.length()>b.length()) b='0'+b; else a='0'+a; } for (int i=0; i<a.length(); i++) { int soA=a[i]-'0'; int soB=b[i]-'0'; if (soA>soB) return 1; ...
14.453488
85
0.43041
phuongnam2002
d90b701176a4b0010470310f7743f9263b20b028
5,237
hpp
C++
src/xalanc/XSLT/ElemUse.hpp
kidaa/xalan-c
bb666d0ab3d0a192410823e6857c203d83c27b16
[ "Apache-2.0" ]
null
null
null
src/xalanc/XSLT/ElemUse.hpp
kidaa/xalan-c
bb666d0ab3d0a192410823e6857c203d83c27b16
[ "Apache-2.0" ]
1
2021-08-18T12:32:31.000Z
2021-08-18T12:32:31.000Z
src/xalanc/XSLT/ElemUse.hpp
AaronNGray/xalan
6741bbdcb64a9d33df8bd7e21b558d66bb4292ec
[ "Apache-2.0" ]
null
null
null
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the "License"); * you m...
31.548193
84
0.670422
kidaa
d90bb62d1d39d1ff072ddb6bede4fe8c7ad1370b
9,338
cpp
C++
src/systemcmds/esc_calib/esc_calib.cpp
iamarkaj/PX4-Autopilot
77b65ee5640ee46142a22e716126c0777c964bd9
[ "BSD-3-Clause" ]
1,537
2020-10-28T17:49:02.000Z
2022-03-31T13:55:38.000Z
src/systemcmds/esc_calib/esc_calib.cpp
iamarkaj/PX4-Autopilot
77b65ee5640ee46142a22e716126c0777c964bd9
[ "BSD-3-Clause" ]
2,514
2020-10-28T17:49:10.000Z
2022-03-31T17:47:22.000Z
src/systemcmds/esc_calib/esc_calib.cpp
iamarkaj/PX4-Autopilot
77b65ee5640ee46142a22e716126c0777c964bd9
[ "BSD-3-Clause" ]
1,945
2020-10-28T18:14:05.000Z
2022-03-31T23:15:37.000Z
/**************************************************************************** * * Copyright (C) 2013 PX4 Development Team. All rights reserved. * Author: Julian Oes <joes@student.ethz.ch> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the fol...
23.760814
106
0.624438
iamarkaj
d90c4943eaa716a559451a45d8a00abd2c01ee9a
4,639
cpp
C++
src/NVProperty_ESP32NVS.cpp
RadioShuttle/NVProperty
5028d28c2addcd2a4091e37989fd0817e7d7fbe9
[ "Apache-2.0" ]
null
null
null
src/NVProperty_ESP32NVS.cpp
RadioShuttle/NVProperty
5028d28c2addcd2a4091e37989fd0817e7d7fbe9
[ "Apache-2.0" ]
null
null
null
src/NVProperty_ESP32NVS.cpp
RadioShuttle/NVProperty
5028d28c2addcd2a4091e37989fd0817e7d7fbe9
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2019 Helmut Tschemernjak * 30826 Garbsen (Hannover) Germany * Licensed under the Apache License, Version 2.0); */ #ifdef ARDUINO_ARCH_ESP32 #include <string.h> #include <stdint.h> #include <stdlib.h> #include <NVPropertyProviderInterface.h> #include <NVProperty_ESP32NVS.h> #include <NVProperty....
20.896396
83
0.609399
RadioShuttle
d90c918ef58420e11cb3ae0ae69ff15b92b81acd
1,349
cpp
C++
Codeforces-Code/Codeforces Round 338 (Div. 2)/D.cpp
PrayStarJirachi/Exercise-Code
801a5926eccc971ab2182e5e99e3a0746bd6a7f0
[ "MIT" ]
null
null
null
Codeforces-Code/Codeforces Round 338 (Div. 2)/D.cpp
PrayStarJirachi/Exercise-Code
801a5926eccc971ab2182e5e99e3a0746bd6a7f0
[ "MIT" ]
null
null
null
Codeforces-Code/Codeforces Round 338 (Div. 2)/D.cpp
PrayStarJirachi/Exercise-Code
801a5926eccc971ab2182e5e99e3a0746bd6a7f0
[ "MIT" ]
null
null
null
#include <cstdio> #include <vector> #include <numeric> #include <iostream> #include <algorithm> const double EPS = 1e-7; const double PI = 3.1415926535897932384626; const int MAXN = 222222; const int MOD = 1000000007; int n, a[MAXN], pred[MAXN], succ[MAXN]; std::vector<std::pair<int, int> > group; int fpm(int a, lon...
25.45283
85
0.509266
PrayStarJirachi
d90da9b7701d58a3058b3ff1a8882c291e23b7d9
2,174
cpp
C++
src/database/overlay/SoXipAngle.cpp
OpenXIP/xip-libraries
9f0fef66038b20ff0c81c089d7dd0038e3126e40
[ "Apache-2.0" ]
2
2020-05-21T07:06:07.000Z
2021-06-28T02:14:34.000Z
src/database/overlay/SoXipAngle.cpp
OpenXIP/xip-libraries
9f0fef66038b20ff0c81c089d7dd0038e3126e40
[ "Apache-2.0" ]
null
null
null
src/database/overlay/SoXipAngle.cpp
OpenXIP/xip-libraries
9f0fef66038b20ff0c81c089d7dd0038e3126e40
[ "Apache-2.0" ]
6
2016-03-21T19:53:18.000Z
2021-06-08T18:06:03.000Z
/* Copyright (c) 2011, Siemens Corporate Research a Division of Siemens Corporation All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2....
21.74
81
0.709292
OpenXIP
d90eddb2b04218f80a7fa06500d1ce8d8f0675d4
545
hpp
C++
ui/include/xaml/ui/qt5/control.hpp
Berrysoft/XamlCpp
cc7da0cf83892ceb88926292b7c90b9f8da6128d
[ "MIT" ]
27
2020-01-02T07:40:57.000Z
2022-03-09T14:43:56.000Z
ui/include/xaml/ui/qt5/control.hpp
Berrysoft/XamlCpp
cc7da0cf83892ceb88926292b7c90b9f8da6128d
[ "MIT" ]
null
null
null
ui/include/xaml/ui/qt5/control.hpp
Berrysoft/XamlCpp
cc7da0cf83892ceb88926292b7c90b9f8da6128d
[ "MIT" ]
3
2020-05-21T07:02:08.000Z
2021-07-01T00:56:38.000Z
#ifndef XAML_UI_QT_CONTROL_H #define XAML_UI_QT_CONTROL_H #include <QWidget> #include <memory> #include <xaml/meta/meta_macros.h> XAML_CLASS(xaml_qt5_control, { 0x0cafa395, 0x4050, 0x4b84, { 0x8f, 0xeb, 0x02, 0xaa, 0xa1, 0x27, 0x21, 0x7b } }) #define XAML_QT5_CONTROL_VTBL(type) \ XAML_VTBL_INHERIT(XAM...
27.25
112
0.752294
Berrysoft
d90f3248dd4979fbd4bbc8bfc8a78cad4d6c4c91
982
cpp
C++
Source/Boids/Systems/Persistent/BoidsDebugDrawSystem.cpp
PsichiX/Unreal-Systems-Architecture
fb2ccb243c8e79b0890736d611db7ba536937a93
[ "Apache-2.0" ]
5
2022-02-09T21:19:03.000Z
2022-03-03T01:53:03.000Z
Source/Boids/Systems/Persistent/BoidsDebugDrawSystem.cpp
PsichiX/Unreal-Systems-Architecture
fb2ccb243c8e79b0890736d611db7ba536937a93
[ "Apache-2.0" ]
null
null
null
Source/Boids/Systems/Persistent/BoidsDebugDrawSystem.cpp
PsichiX/Unreal-Systems-Architecture
fb2ccb243c8e79b0890736d611db7ba536937a93
[ "Apache-2.0" ]
null
null
null
#include "Boids/Systems/Persistent/BoidsDebugDrawSystem.h" #include "DrawDebugHelpers.h" #include "Shared/Components/VelocityComponent.h" #include "Systems/Public/SystemsWorld.h" #include "Boids/Components/BoidComponent.h" #include "Boids/Resources/BoidsSystemsRunCriteria.h" const float ARROW_LENGTH = 20; const floa...
29.757576
89
0.751527
PsichiX
d90f49d66b25b39b21b9533521b95f866bb7a6f0
2,570
hpp
C++
time.hpp
komasaru/calc_greenwich_time
af45776181c2a457a944cd472e1b5069589aa2d8
[ "MIT" ]
null
null
null
time.hpp
komasaru/calc_greenwich_time
af45776181c2a457a944cd472e1b5069589aa2d8
[ "MIT" ]
null
null
null
time.hpp
komasaru/calc_greenwich_time
af45776181c2a457a944cd472e1b5069589aa2d8
[ "MIT" ]
null
null
null
#ifndef CALC_GREENWICH_TIME_HPP_ #define CALC_GREENWICH_TIME_HPP_ #include "delta_t.hpp" #include "file.hpp" #include <cmath> #include <ctime> #include <fstream> #include <iomanip> #include <sstream> #include <string> #include <vector> namespace calc_greenwich { struct timespec jst2utc(struct timespec); // JST ->...
37.246377
77
0.62607
komasaru
d911c6933e9ea1fef855ebe910662962014816ff
1,314
hpp
C++
src/rooms/task.hpp
snailbaron/rooms
03496c3cd30e2020e1b0f1ad7d96bfba4e000eaa
[ "MIT" ]
null
null
null
src/rooms/task.hpp
snailbaron/rooms
03496c3cd30e2020e1b0f1ad7d96bfba4e000eaa
[ "MIT" ]
null
null
null
src/rooms/task.hpp
snailbaron/rooms
03496c3cd30e2020e1b0f1ad7d96bfba4e000eaa
[ "MIT" ]
null
null
null
#pragma once #include <cmath> #include <functional> #include <memory> #include <type_traits> #include <utility> #include <vector> enum class TaskState { Running, Finished, }; class TaskPool { public: void addTask(std::function<TaskState(float)>&& task) { _tasks.push_back(std::move(task)); ...
21.540984
81
0.554795
snailbaron
d914ea2e328f679ff6d69cf8520492f7b34fabfd
32,343
cpp
C++
projDir/antenna_code/Antenna0_5/drvwrapper.cpp
NCAR/titan-cswr
67efb4f775b69ed35052e9014ccb2ea1d86e5e6d
[ "BSD-2-Clause" ]
null
null
null
projDir/antenna_code/Antenna0_5/drvwrapper.cpp
NCAR/titan-cswr
67efb4f775b69ed35052e9014ccb2ea1d86e5e6d
[ "BSD-2-Clause" ]
null
null
null
projDir/antenna_code/Antenna0_5/drvwrapper.cpp
NCAR/titan-cswr
67efb4f775b69ed35052e9014ccb2ea1d86e5e6d
[ "BSD-2-Clause" ]
null
null
null
//*************************************************************************************** // This file contains c-callable wrapper functions representing a one to one mapping // of the WDM driver capabilities. This is a VERY limited set of functions at only // the lowest level. This will include the interrupt on and...
38.005875
165
0.650651
NCAR
d9150398e1d9d41dbfd7c16f8ac0d0a9c395dd3c
7,081
hpp
C++
Drivers/BuR/Implementation/libmcdriver_bur_connector.hpp
alexanderoster/AutodeskMachineControlFramework
17aec986c2cb3c9ea46bbe583bdc0e766e6f980b
[ "BSD-3-Clause" ]
15
2020-11-10T17:22:39.000Z
2021-12-16T14:45:11.000Z
Drivers/BuR/Implementation/libmcdriver_bur_connector.hpp
alexanderoster/AutodeskMachineControlFramework
17aec986c2cb3c9ea46bbe583bdc0e766e6f980b
[ "BSD-3-Clause" ]
5
2021-08-30T06:58:52.000Z
2022-03-09T15:25:49.000Z
Drivers/BuR/Implementation/libmcdriver_bur_connector.hpp
alexanderoster/AutodeskMachineControlFramework
17aec986c2cb3c9ea46bbe583bdc0e766e6f980b
[ "BSD-3-Clause" ]
20
2020-08-06T15:53:34.000Z
2022-02-09T13:49:59.000Z
/*++ Copyright (C) 2020 Autodesk Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the ...
31.471111
210
0.751306
alexanderoster
d917a216ecb2c10ea9b4d9922ee47ac8cdd93c13
12,314
cpp
C++
CrashRpt/reporting/crashsender/DetailDlg.cpp
codereba/bittrace
6826559565aaafc9412d20427d21b73e23febcfe
[ "Unlicense" ]
10
2018-11-09T01:08:15.000Z
2020-06-21T05:39:54.000Z
CrashRpt/reporting/crashsender/DetailDlg.cpp
codereba/bittrace
6826559565aaafc9412d20427d21b73e23febcfe
[ "Unlicense" ]
null
null
null
CrashRpt/reporting/crashsender/DetailDlg.cpp
codereba/bittrace
6826559565aaafc9412d20427d21b73e23febcfe
[ "Unlicense" ]
4
2018-11-09T03:29:52.000Z
2021-07-23T03:30:03.000Z
/************************************************************************************* This file is a part of CrashRpt library. Copyright (c) 2003, Michael Carruth All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following c...
36.868263
112
0.65592
codereba
0bab5e0055eeaa98b65af6f542e804b4d693c9d5
651
cpp
C++
src/utf8.cpp
dfdchain/fc
fed8efa292e8c6ffccb2153887a73038ae6700d8
[ "MIT" ]
66
2017-09-29T07:09:59.000Z
2020-01-12T06:45:08.000Z
src/utf8.cpp
dfdchain/fc
fed8efa292e8c6ffccb2153887a73038ae6700d8
[ "MIT" ]
5
2017-12-13T13:12:05.000Z
2018-01-18T10:34:02.000Z
src/utf8.cpp
dfdchain/fc
fed8efa292e8c6ffccb2153887a73038ae6700d8
[ "MIT" ]
11
2017-12-05T07:02:05.000Z
2018-01-28T02:52:50.000Z
#include "fc/utf8.hpp" #include "utf8/checked.h" #include "utf8/core.h" #include "utf8/unchecked.h" #include <assert.h> namespace fc { bool is_utf8( const std::string& str ) { return utf8::is_valid( str.begin(), str.end() ); } void decodeUtf8(const std::string& input, std::wstring* storage) { ...
19.727273
78
0.635945
dfdchain
0bae1863be3083185ef6ca8cb82fb1ba80eff93f
17,567
cc
C++
elements/ip/directiplookup.cc
BorisPis/asplos22-nicmem-fastclick
ab4df08ee056ed48a4c534ec5f8536a958f756b5
[ "BSD-3-Clause-Clear" ]
129
2015-10-08T14:38:35.000Z
2022-03-06T14:54:44.000Z
elements/ip/directiplookup.cc
BorisPis/asplos22-nicmem-fastclick
ab4df08ee056ed48a4c534ec5f8536a958f756b5
[ "BSD-3-Clause-Clear" ]
241
2016-02-17T16:17:58.000Z
2022-03-15T09:08:33.000Z
elements/ip/directiplookup.cc
BorisPis/asplos22-nicmem-fastclick
ab4df08ee056ed48a4c534ec5f8536a958f756b5
[ "BSD-3-Clause-Clear" ]
61
2015-12-17T01:46:58.000Z
2022-02-07T22:25:19.000Z
// -*- c-basic-offset: 4 -*- /* * directiplookup.{cc,hh} -- lookup for output port and next-hop gateway * in one to max. two DRAM accesses with potential CPU cache / TLB misses * Marko Zec * * Copyright (c) 2005 International Computer Science Institute * Copyright (c) 2005 University of Zagreb * * Permission is...
30.183849
132
0.65384
BorisPis
0bafd0a68d765f2a38a60e3633f40b9a452056f2
3,604
cpp
C++
Game/Source/Earth.cpp
oscarrep/ApolloMission
4335dbbf19b1835bdd9c22e57ea71f6b66c08370
[ "MIT" ]
null
null
null
Game/Source/Earth.cpp
oscarrep/ApolloMission
4335dbbf19b1835bdd9c22e57ea71f6b66c08370
[ "MIT" ]
null
null
null
Game/Source/Earth.cpp
oscarrep/ApolloMission
4335dbbf19b1835bdd9c22e57ea71f6b66c08370
[ "MIT" ]
null
null
null
#include "Defs.h" #include "Earth.h" #include "App.h" #include "Render.h" #include "Textures.h" #include "Scene.h" #include "Animation.h" #include "Window.h" #include "SString.h" Earth::Earth() : Module() { LoadAnim(); } bool Earth::Awake() { return true; } bool Earth::Start() { earthTex = app->tex->Load("Asset...
26.696296
109
0.639567
oscarrep
0bb3728202eb5f4143909fe0d369ec8bb29b8af2
789
cpp
C++
books/tech/cpp/qt/m_shlee-qt_5_10/ch_16-artificial_event_creating/02-mousepress_imitation/main.cpp
ordinary-developer/education
1b1f40dacab873b28ee01dfa33a9bd3ec4cfed58
[ "MIT" ]
null
null
null
books/tech/cpp/qt/m_shlee-qt_5_10/ch_16-artificial_event_creating/02-mousepress_imitation/main.cpp
ordinary-developer/education
1b1f40dacab873b28ee01dfa33a9bd3ec4cfed58
[ "MIT" ]
null
null
null
books/tech/cpp/qt/m_shlee-qt_5_10/ch_16-artificial_event_creating/02-mousepress_imitation/main.cpp
ordinary-developer/education
1b1f40dacab873b28ee01dfa33a9bd3ec4cfed58
[ "MIT" ]
null
null
null
#include "ExampleWidget.hpp" #include <QApplication> #include <QWidget> #include <QMouseEvent> namespace { void local_mousePress( QWidget *pWgt, int x, int y, Qt::MouseButton bt = Qt::LeftButton, Qt::MouseButtons bts = Qt::LeftButton) { if (not pWgt) return; QMouseEvent *...
18.348837
52
0.57161
ordinary-developer
0bbbfc67d67914a3522ef4cf89049db97ac5f82f
401
inl
C++
src/ace/ACE_wrappers/ace/Token_Manager.inl
wfnex/OpenBRAS
b8c2cd836ae85d5307f7f5ca87573b964342bb49
[ "BSD-3-Clause" ]
8
2017-06-05T08:56:27.000Z
2020-04-08T16:50:11.000Z
src/ace/ACE_wrappers/ace/Token_Manager.inl
wfnex/OpenBRAS
b8c2cd836ae85d5307f7f5ca87573b964342bb49
[ "BSD-3-Clause" ]
null
null
null
src/ace/ACE_wrappers/ace/Token_Manager.inl
wfnex/OpenBRAS
b8c2cd836ae85d5307f7f5ca87573b964342bb49
[ "BSD-3-Clause" ]
17
2017-06-05T08:54:27.000Z
2021-08-29T14:19:12.000Z
// -*- C++ -*- #if defined (ACE_HAS_TOKENS_LIBRARY) ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE ACE_TOKEN_CONST::MUTEX & ACE_Token_Manager::mutex (void) { ACE_TRACE ("ACE_Token_Manager::mutex"); return lock_; } ACE_INLINE void ACE_Token_Manager::debug (bool d) { ACE_TRACE ("ACE_Token_Manager::debug"); debu...
17.434783
41
0.753117
wfnex
0bbe34b7b9a7544c1845a05e3975c9d1b5d51525
15,308
cpp
C++
dp/sg/core/src/Group.cpp
siddharthuniv/nv-propipeline
1553a1aebdbef6cd5c7557574a7e4bdfcf17e0ef
[ "BSD-3-Clause" ]
null
null
null
dp/sg/core/src/Group.cpp
siddharthuniv/nv-propipeline
1553a1aebdbef6cd5c7557574a7e4bdfcf17e0ef
[ "BSD-3-Clause" ]
null
null
null
dp/sg/core/src/Group.cpp
siddharthuniv/nv-propipeline
1553a1aebdbef6cd5c7557574a7e4bdfcf17e0ef
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2002-2016, NVIDIA CORPORATION. All rights reserved. // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions // are met: // * Redistributions of source code must retain the above copyright // notice, this list of con...
35.271889
141
0.580611
siddharthuniv
0bc051eb40fb091fb2efb19ecfc629f49dc6072a
402
hpp
C++
ProxyServer/ServerConnection.hpp
pentaflops/MP.Proxy-server
95e01f0af9bcda6d3b5973f60529940213e7426c
[ "MIT" ]
null
null
null
ProxyServer/ServerConnection.hpp
pentaflops/MP.Proxy-server
95e01f0af9bcda6d3b5973f60529940213e7426c
[ "MIT" ]
null
null
null
ProxyServer/ServerConnection.hpp
pentaflops/MP.Proxy-server
95e01f0af9bcda6d3b5973f60529940213e7426c
[ "MIT" ]
null
null
null
#pragma once #include "IConnection.hpp" class ServerConnection : public IConnection { public: ServerConnection(sockaddr_in sock_addr) : IConnection(INVALID_SOCKET, sock_addr, false) {}; ~ServerConnection() { closesocket(_socket); } int Connecting(); int GetData(char *buffer, int size_of_buffer, Event *_Event = ...
26.8
92
0.753731
pentaflops
0bc184976766e9d7faafab07a0a561918faa1994
1,185
hpp
C++
src/interfaces/blkInterfaces.hpp
lhb8125/HSF
f0cea44691a0e41bdeb5613a2d5a6cd7cda0a999
[ "Apache-2.0" ]
null
null
null
src/interfaces/blkInterfaces.hpp
lhb8125/HSF
f0cea44691a0e41bdeb5613a2d5a6cd7cda0a999
[ "Apache-2.0" ]
null
null
null
src/interfaces/blkInterfaces.hpp
lhb8125/HSF
f0cea44691a0e41bdeb5613a2d5a6cd7cda0a999
[ "Apache-2.0" ]
null
null
null
/** * @file: blkInterfaces.hpp * @author: Liu Hongbin * @brief: block topology interfaces * @date: 2019-11-11 10:56:28 * @last Modified by: lhb8125 * @last Modified time: 2020-05-27 10:52:53 */ #ifndef BLKINTERFACES_HPP #define BLKINTERFACES_HPP #include "interface.hpp" #include "utilities.hpp" #include "mesh.hpp"...
20.084746
54
0.795781
lhb8125
0bc201a2aaba3aff1ea49f34e1a6ef9e419a2fc3
5,691
cpp
C++
Tools/TestWebKitAPI/Tests/JavaScriptCore/PropertySlot.cpp
jacadcaps/webkitty
9aebd2081349f9a7b5d168673c6f676a1450a66d
[ "BSD-2-Clause" ]
6
2021-07-05T16:09:39.000Z
2022-03-06T22:44:42.000Z
Tools/TestWebKitAPI/Tests/JavaScriptCore/PropertySlot.cpp
jacadcaps/webkitty
9aebd2081349f9a7b5d168673c6f676a1450a66d
[ "BSD-2-Clause" ]
7
2022-03-15T13:25:39.000Z
2022-03-15T13:25:44.000Z
Tools/TestWebKitAPI/Tests/JavaScriptCore/PropertySlot.cpp
jacadcaps/webkitty
9aebd2081349f9a7b5d168673c6f676a1450a66d
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (C) 2020 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions a...
34.91411
95
0.649622
jacadcaps
0bc56f7850f9328451792dc7772a87e25c650411
43,836
hpp
C++
lualite.hpp
user1095108/lualite
17c2d07f1fa315129cdb32ad000ca305488fac39
[ "Unlicense" ]
58
2016-09-24T13:08:08.000Z
2022-02-07T04:17:53.000Z
lualite.hpp
user1095108/lualite
17c2d07f1fa315129cdb32ad000ca305488fac39
[ "Unlicense" ]
2
2015-05-27T03:39:53.000Z
2016-06-15T10:07:32.000Z
lualite.hpp
user1095108/lualite
17c2d07f1fa315129cdb32ad000ca305488fac39
[ "Unlicense" ]
4
2016-11-25T04:40:57.000Z
2019-10-14T21:28:01.000Z
/* ** This is free and unencumbered software released into the public domain. ** Anyone is free to copy, modify, publish, use, compile, sell, or ** distribute this software, either in source code form or as a compiled ** binary, for any purpose, commercial or non-commercial, and by any ** means. ** In jurisdictions t...
19.952663
86
0.620358
user1095108
0bc65c610251e169438e76ce0313901a45f79ad6
7,030
hpp
C++
include/utils/Utils.hpp
DarkWingMcQuack/GridGraphPathFinder
d8f9a237f17516141bf58c8c86d468f3559af5e3
[ "Apache-2.0" ]
null
null
null
include/utils/Utils.hpp
DarkWingMcQuack/GridGraphPathFinder
d8f9a237f17516141bf58c8c86d468f3559af5e3
[ "Apache-2.0" ]
null
null
null
include/utils/Utils.hpp
DarkWingMcQuack/GridGraphPathFinder
d8f9a237f17516141bf58c8c86d468f3559af5e3
[ "Apache-2.0" ]
null
null
null
#pragma once #include <algorithm> #include <fmt/core.h> #include <functional> #include <future> #include <iomanip> #include <sstream> #include <utility> #include <vector> namespace utils { template<class T> using Ref = std::reference_wrapper<T>; template<class T> using CRef = std::reference_wrapper<const T>; templ...
28.693878
82
0.526316
DarkWingMcQuack
0bc9d6fffbd6c918a0c680ee105052f90bcdf2bf
1,941
hpp
C++
application/timely-matter/src/views/BaseView.hpp
davidbeermann/timely-matter
fca86fb5b48766c5371677a90ac5149c1b071149
[ "MIT" ]
2
2016-09-03T17:49:30.000Z
2016-12-20T18:12:58.000Z
application/timely-matter/src/views/BaseView.hpp
davidbeermann/timely-matter
fca86fb5b48766c5371677a90ac5149c1b071149
[ "MIT" ]
null
null
null
application/timely-matter/src/views/BaseView.hpp
davidbeermann/timely-matter
fca86fb5b48766c5371677a90ac5149c1b071149
[ "MIT" ]
null
null
null
#pragma once #include "ofMain.h" #include "ofEvents.h" #include "AppModel.hpp" #include "KinectModel.hpp" #include "ProjectorModel.hpp" #include "ViewEvent.hpp" namespace timelymatter { // Base view class to be extended by concrete views managed by ViewManager class. // Implementation for NVI Non-Virtual Interf...
30.809524
102
0.679547
davidbeermann
0bca25337e84c7bd598a52dd189ecc5e486e43f0
24
cpp
C++
02-classes-constructors-destructors/2-makefile/Triangle.cpp
nofar88/cpp-5782
473c68627fc0908fdef8956caf1e1d2267c9417b
[ "MIT" ]
14
2021-01-30T16:36:18.000Z
2022-03-30T17:24:44.000Z
02-classes-constructors-destructors/2-makefile/Triangle.cpp
dimastar2310/cpp-5781
615ba07e0841522df74384f380172557f5e305a7
[ "MIT" ]
1
2022-03-02T20:55:14.000Z
2022-03-02T20:55:14.000Z
02-classes-constructors-destructors/2-makefile/Triangle.cpp
dimastar2310/cpp-5781
615ba07e0841522df74384f380172557f5e305a7
[ "MIT" ]
23
2020-03-12T13:21:29.000Z
2021-02-22T21:29:48.000Z
#include "Triangle.hpp"
12
23
0.75
nofar88
0bcb1bb4438a2047624f8ec1ed46047bd24dc449
14,628
cpp
C++
tiger_ci/erkale/eri_digest.cpp
EACcodes/TigerCI
ac1311ea5e2b829b5507171afdbdd6c64e12e6fd
[ "BSD-3-Clause" ]
3
2016-12-08T13:57:10.000Z
2019-01-17T17:05:46.000Z
tiger_ci/erkale/eri_digest.cpp
EACcodes/TigerCI
ac1311ea5e2b829b5507171afdbdd6c64e12e6fd
[ "BSD-3-Clause" ]
null
null
null
tiger_ci/erkale/eri_digest.cpp
EACcodes/TigerCI
ac1311ea5e2b829b5507171afdbdd6c64e12e6fd
[ "BSD-3-Clause" ]
2
2019-02-20T06:03:24.000Z
2020-06-09T09:00:49.000Z
/* * This source code is part of * * E R K A L E * - * DFT from Hel * * Written by Susi Lehtola, 2010-2015 * Copyright (c) 2010-2015, Susi Lehtola * * This program is free software; you can redistribute it and/or * modi...
25.844523
135
0.588392
EACcodes
0bccb03870df63701020e1e9c37d4af5e025f6d2
21,776
cpp
C++
app/rec/rec_gui/src/qecalrec.cpp
NewProggie/ecal
b779f09c302ba63e23b4378fa09d79f6259b2e64
[ "Apache-2.0" ]
null
null
null
app/rec/rec_gui/src/qecalrec.cpp
NewProggie/ecal
b779f09c302ba63e23b4378fa09d79f6259b2e64
[ "Apache-2.0" ]
null
null
null
app/rec/rec_gui/src/qecalrec.cpp
NewProggie/ecal
b779f09c302ba63e23b4378fa09d79f6259b2e64
[ "Apache-2.0" ]
null
null
null
/* ========================= eCAL LICENSE ================================= * * Copyright (C) 2016 - 2019 Continental Corporation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * ...
32.993939
196
0.672208
NewProggie
0bcccb877eee61c1da092529970437fd4bf0d898
5,080
cpp
C++
sources/source/tierlibs.cpp
vocweb/cso2-launcher
abc144acaa3dfb5b0c9acd61cd75970cac012617
[ "MIT" ]
55
2018-09-01T17:52:17.000Z
2019-09-23T10:30:49.000Z
sources/source/tierlibs.cpp
RedheatWei/cso2-launcher
4cebbb98d51d33bd24c9a86a1d3fc311686d5011
[ "MIT" ]
70
2018-08-22T05:53:34.000Z
2019-09-23T15:11:39.000Z
sources/source/tierlibs.cpp
RedheatWei/cso2-launcher
4cebbb98d51d33bd24c9a86a1d3fc311686d5011
[ "MIT" ]
39
2018-09-01T21:42:50.000Z
2019-09-23T18:38:07.000Z
#include "source/tierlibs.hpp" #include <stdexcept> #include "platform.hpp" #include <engine/cdll_int.hpp> #include <engine/cso2/icso2msgmanager.hpp> #include <filesystem/filesystem.hpp> #include <icvar.hpp> #include <ienginevgui.hpp> #include <inputsystem/iinputsystem.hpp> #include <materialsystem/imaterialsystem.h...
22.280702
80
0.679528
vocweb
0bccddf213e19d92d23231e5ae552bcb6995d072
4,581
cpp
C++
openframeworks/Web/src/ofApp.cpp
isabella232/CreativeCoding
e62acaea9ecf527b0b72c1881ece1d7c03d56e5b
[ "MIT" ]
23
2018-04-08T17:46:01.000Z
2022-03-12T21:00:52.000Z
openframeworks/Web/src/ofApp.cpp
DalavanCloud/CreativeCoding
e62acaea9ecf527b0b72c1881ece1d7c03d56e5b
[ "MIT" ]
1
2021-06-09T06:53:48.000Z
2021-06-09T08:04:27.000Z
openframeworks/Web/src/ofApp.cpp
DalavanCloud/CreativeCoding
e62acaea9ecf527b0b72c1881ece1d7c03d56e5b
[ "MIT" ]
3
2018-06-03T22:20:36.000Z
2021-06-09T06:38:16.000Z
#include "ofApp.h" #include "ofxSyphonClient.h" #include "MeshUtils.h" #include "PointFollower.h" #include "Follower.h" #include "ImageLoader.h" MeshUtils utils; ofxSyphonServer syphon; const string APP_NAME = "Web"; bool paused = true; const int OPACITY = 2; const int CONNECT_DISTANCE = 30; const float VELOCITY =...
22.678218
98
0.519756
isabella232
0bcd809ea0d4ed685272d2bd6d7080129cc2ea7d
91,177
cpp
C++
src/shell/shell.cpp
mediaexplorer74/dosbox-x
be9f94b740234f7813bf5a063a558cef9dc7f9a6
[ "MIT" ]
3
2022-02-20T11:06:29.000Z
2022-03-11T08:16:55.000Z
src/shell/shell.cpp
mediaexplorer74/dosbox-x
be9f94b740234f7813bf5a063a558cef9dc7f9a6
[ "MIT" ]
null
null
null
src/shell/shell.cpp
mediaexplorer74/dosbox-x
be9f94b740234f7813bf5a063a558cef9dc7f9a6
[ "MIT" ]
null
null
null
/* * Copyright (C) 2002-2021 The DOSBox Team * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This p...
49.796286
536
0.625914
mediaexplorer74