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
4adcff3d14f6a5d04685ea81eee3d833bd4ec8aa
599
cpp
C++
1-100/3.longest-substring-without-repeating-characters.cpp
chadwick2143/Leetcode-Problems
a07ad0165c86305a77acbf480bcba279316256af
[ "MIT" ]
null
null
null
1-100/3.longest-substring-without-repeating-characters.cpp
chadwick2143/Leetcode-Problems
a07ad0165c86305a77acbf480bcba279316256af
[ "MIT" ]
null
null
null
1-100/3.longest-substring-without-repeating-characters.cpp
chadwick2143/Leetcode-Problems
a07ad0165c86305a77acbf480bcba279316256af
[ "MIT" ]
1
2021-07-27T07:03:05.000Z
2021-07-27T07:03:05.000Z
class Solution { public: int lengthOfLongestSubstring(const string& s) { unordered_map<char, int> mapChrIdx; int nMaxLen = 0; int nChrBeg = -1; int nChrIdx = 0; for (const char& c : s) { if (mapChrIdx.count(c) == 1 && mapChrIdx[c] > nChrBeg) { ...
24.958333
66
0.452421
chadwick2143
4ade02896e96ef223439dad2736603a6a9964655
4,069
cpp
C++
i2c/02-Uebung/src/main.cpp
mc-b/IoTKitV3
87d7a66a1730f71bc69110a214b1b2a18f22edcb
[ "Apache-2.0" ]
2
2019-01-24T19:53:40.000Z
2020-01-08T07:41:35.000Z
i2c/02-Uebung/src/main.cpp
mc-b/IoTKitV3
87d7a66a1730f71bc69110a214b1b2a18f22edcb
[ "Apache-2.0" ]
null
null
null
i2c/02-Uebung/src/main.cpp
mc-b/IoTKitV3
87d7a66a1730f71bc69110a214b1b2a18f22edcb
[ "Apache-2.0" ]
5
2019-01-12T04:48:11.000Z
2020-12-16T09:36:43.000Z
/** * 6D Lagsensor und Schrittmotor bringt mit dem 6 Lagesensor den ersten oder zweiten Schrittmotor vor- oder rückwärts zum laufen. */ #include "mbed.h" #include "OLEDDisplay.h" #include "LSM6DSLSensor.h" // UI OLEDDisplay oled( MBED_CONF_IOTKIT_OLED_RST, MBED_CONF_IOTKIT_OLED_SDA, MBED_CONF_IOTKIT_OLED_SCL ); st...
26.94702
129
0.454657
mc-b
4adecf3561bc0798c3d9fca682a5604b1cc337ce
850
cpp
C++
client/UI/angelscript/RegistryUtils.cpp
vblanco20-1/NovusCore-Client
662596465a1851cb87240290f34544f4edf76aa0
[ "MIT" ]
null
null
null
client/UI/angelscript/RegistryUtils.cpp
vblanco20-1/NovusCore-Client
662596465a1851cb87240290f34544f4edf76aa0
[ "MIT" ]
null
null
null
client/UI/angelscript/RegistryUtils.cpp
vblanco20-1/NovusCore-Client
662596465a1851cb87240290f34544f4edf76aa0
[ "MIT" ]
null
null
null
#include "RegistryUtils.h" #include <entity/registry.hpp> #include <angelscript.h> #include "../../Scripting/ScriptEngine.h" #include "../../Utils/ServiceLocator.h" #include "../ECS/Components/Singletons/UILockSingleton.h" namespace UIUtils::Registry { void RegisterNamespace() { i32 r = ScriptEngine::S...
31.481481
125
0.667059
vblanco20-1
4ae0ef4b84a3c1ed20f28b9fdf2a405a58f0a250
594
cpp
C++
tests/core/test_fcvt.cpp
albertobarri/idk
a250884f79e2a484251fc750bb915ecbc962be58
[ "MIT" ]
9,724
2015-01-01T02:06:30.000Z
2019-01-17T15:13:51.000Z
tests/core/test_fcvt.cpp
albertobarri/idk
a250884f79e2a484251fc750bb915ecbc962be58
[ "MIT" ]
7,584
2019-01-17T22:58:27.000Z
2022-03-31T23:10:22.000Z
tests/core/test_fcvt.cpp
albertobarri/idk
a250884f79e2a484251fc750bb915ecbc962be58
[ "MIT" ]
1,519
2015-01-01T18:11:12.000Z
2019-01-17T14:16:02.000Z
/* * Copyright 2016 The Emscripten Authors. All rights reserved. * Emscripten is available under two separate licenses, the MIT license and the * University of Illinois/NCSA Open Source License. Both these licenses can be * found in the LICENSE file. */ /* This example borrowed from MSDN documentation */ #inclu...
28.285714
79
0.685185
albertobarri
4ae17bffcf832c2d3d387c99b83e349b73b95b58
1,749
hpp
C++
CSGOSimple/features/visuals.hpp
dodo343434/aurawareSelfLeak
ca05649ce42fb4ceed7dea52e04f73d0627feb65
[ "MIT" ]
null
null
null
CSGOSimple/features/visuals.hpp
dodo343434/aurawareSelfLeak
ca05649ce42fb4ceed7dea52e04f73d0627feb65
[ "MIT" ]
null
null
null
CSGOSimple/features/visuals.hpp
dodo343434/aurawareSelfLeak
ca05649ce42fb4ceed7dea52e04f73d0627feb65
[ "MIT" ]
null
null
null
#pragma once class C_BasePlayer; class C_BaseEntity; class C_BaseCombatWeapon; class C_PlantedC4; class Color; class ClientClass; class CUserCmd; extern unsigned long esp_font; extern unsigned long hit_font; namespace Visuals { namespace Player { bool Begin(C_BasePlayer* pl); void RenderBox();...
16.817308
112
0.683248
dodo343434
4ae34591bddc4e70017cd072707c581c181e94a3
567
cpp
C++
fboss/qsfp_service/oss/QsfpServer.cpp
fakeNetflix/facebook-repo-fboss
b4b64540c779022bcbeff72376549d0addf3f7e7
[ "BSD-3-Clause" ]
7
2016-09-22T22:53:09.000Z
2016-10-05T13:19:16.000Z
fboss/qsfp_service/oss/QsfpServer.cpp
fakeNetflix/facebook-repo-fboss
b4b64540c779022bcbeff72376549d0addf3f7e7
[ "BSD-3-Clause" ]
2
2018-10-06T18:29:44.000Z
2018-10-07T16:46:04.000Z
fboss/qsfp_service/oss/QsfpServer.cpp
fakeNetflix/facebook-repo-fboss
b4b64540c779022bcbeff72376549d0addf3f7e7
[ "BSD-3-Clause" ]
1
2018-02-28T06:57:20.000Z
2018-02-28T06:57:20.000Z
#include "fboss/qsfp_service/QsfpServiceHandler.h" #include <thrift/lib/cpp2/server/ThriftServer.h> #include <folly/init/Init.h> using namespace facebook; using namespace facebook::fboss; int qsfpServiceInit(int * argc, char *** argv ) { folly::init(argc, argv, true); return 0; } int doServerLoop(std::shared_pt...
27
79
0.726631
fakeNetflix
4ae471ce2322fd2eb3a37e23556ac93916f5ae13
1,270
hpp
C++
src/oath/base32.hpp
animeslave/bbauth
d10861c8a4a72ee8186fb11de739556c03cbfc4d
[ "Apache-2.0" ]
1
2021-05-20T03:50:21.000Z
2021-05-20T03:50:21.000Z
src/oath/base32.hpp
animeslave/bbry-gauth
d10861c8a4a72ee8186fb11de739556c03cbfc4d
[ "Apache-2.0" ]
3
2021-05-20T03:52:23.000Z
2021-05-20T16:20:29.000Z
src/oath/base32.hpp
BerryTrucks/bbry-gauth
1d6850a0a7756077f55b8253b18611bc3df5045d
[ "Apache-2.0" ]
1
2021-05-20T03:51:14.000Z
2021-05-20T03:51:14.000Z
////////////////////////////////////////////////////////////////////// // Base32.h ////////////////////////////////////////////////////////////////////// #ifndef BASE32_HPP_ #define BASE32_HPP_ #include <stdint.h> /* Base32 encoding / decoding. Encode32 outputs at out bytes with values from 0 to 32 that...
37.352941
91
0.662992
animeslave
4ae75478444782d7145cccc450b7a9468e5d548d
5,670
cc
C++
math/bspline_basis.cc
RobotLocomotion/drake-python3.7
ae397a4c6985262d23e9675b9bf3927c08d027f5
[ "BSD-3-Clause" ]
2
2021-02-25T02:01:02.000Z
2021-03-17T04:52:04.000Z
math/bspline_basis.cc
RobotLocomotion/drake-python3.7
ae397a4c6985262d23e9675b9bf3927c08d027f5
[ "BSD-3-Clause" ]
null
null
null
math/bspline_basis.cc
RobotLocomotion/drake-python3.7
ae397a4c6985262d23e9675b9bf3927c08d027f5
[ "BSD-3-Clause" ]
1
2021-06-13T12:05:39.000Z
2021-06-13T12:05:39.000Z
#include "drake/math/bspline_basis.h" #include <algorithm> #include <functional> #include <set> #include <utility> #include <fmt/format.h> #include "drake/common/default_scalars.h" namespace drake { namespace math { namespace { template <typename T> std::vector<T> MakeKnotVector(int order, int num_basis_functions,...
36.580645
80
0.643563
RobotLocomotion
4ae7be5391a247fdb49f2c6a31f7ca2d7f6c61e0
1,130
cpp
C++
src/ROSUnit_UpdateReference.cpp
CaptCrunch333/positioning_system
62da7f2773dae9a66f3e89d6134453fba526bb11
[ "BSD-3-Clause" ]
null
null
null
src/ROSUnit_UpdateReference.cpp
CaptCrunch333/positioning_system
62da7f2773dae9a66f3e89d6134453fba526bb11
[ "BSD-3-Clause" ]
null
null
null
src/ROSUnit_UpdateReference.cpp
CaptCrunch333/positioning_system
62da7f2773dae9a66f3e89d6134453fba526bb11
[ "BSD-3-Clause" ]
null
null
null
#include "ROSUnit_UpdateReference.hpp" //TODO rename the topics and class ROSUnit_UpdateReference* ROSUnit_UpdateReference::_instance_ptr = NULL; UpdatePoseMessage ROSUnit_UpdateReference::_pose_ref_msg; ROSUnit_UpdateReference::ROSUnit_UpdateReference(ros::NodeHandle& t_main_handler) : ROSUnit(t_main_handler) { ...
30.540541
109
0.738938
CaptCrunch333
4ae8970872e04db2464dc837d48998bde06abfbb
2,675
hpp
C++
include/board.hpp
oschonrock/chess
51da68c767879ef44a7fcdba85ae9a212ceb7b8b
[ "BSD-3-Clause" ]
null
null
null
include/board.hpp
oschonrock/chess
51da68c767879ef44a7fcdba85ae9a212ceb7b8b
[ "BSD-3-Clause" ]
null
null
null
include/board.hpp
oschonrock/chess
51da68c767879ef44a7fcdba85ae9a212ceb7b8b
[ "BSD-3-Clause" ]
null
null
null
/** * File: board.h * * Content on and manipulation of a chess board implemented as 10x12 squares, * with default out_of_border values. * * "magic" numbers will be used, they aren't magic if you know this structure. * Source way too messy with a lot of variable names and variable calculations instead of plain *...
24.768519
99
0.680374
oschonrock
4ae9fec185526c0e5e8c44151a4df18cf7536d35
1,070
cpp
C++
icpc/2019-3-3/G-std.cpp
Riteme/test
b511d6616a25f4ae8c3861e2029789b8ee4dcb8d
[ "BSD-Source-Code" ]
3
2018-08-30T09:43:20.000Z
2019-12-03T04:53:43.000Z
icpc/2019-3-3/G-std.cpp
Riteme/test
b511d6616a25f4ae8c3861e2029789b8ee4dcb8d
[ "BSD-Source-Code" ]
null
null
null
icpc/2019-3-3/G-std.cpp
Riteme/test
b511d6616a25f4ae8c3861e2029789b8ee4dcb8d
[ "BSD-Source-Code" ]
null
null
null
#include <cstdio> //FILE *fin = fopen("a.in", "r"), *fout = fopen("a.out", "w"); #define fin stdin #define fout stdout #define CAT 300003 #define LIM 500009 double v[LIM], add[LIM]; int h; inline void baga(int a, int b, int x, int y) { if (b == y) { add[b - h + CAT] += x - a; add[b + 1 + CAT] -=...
18.448276
62
0.400935
Riteme
4aea705d3a4dea8425e86e05654cc2411639b518
1,498
cc
C++
src/ops/tile.cc
funboarder13920/CTranslate2
6b14d9a948c5d30c08cba8c9d20c49e73de97523
[ "MIT" ]
null
null
null
src/ops/tile.cc
funboarder13920/CTranslate2
6b14d9a948c5d30c08cba8c9d20c49e73de97523
[ "MIT" ]
1
2020-12-24T01:00:33.000Z
2020-12-24T01:02:02.000Z
src/ops/tile.cc
funboarder13920/CTranslate2
6b14d9a948c5d30c08cba8c9d20c49e73de97523
[ "MIT" ]
1
2020-12-23T11:21:59.000Z
2020-12-23T11:21:59.000Z
#include "ctranslate2/ops/tile.h" #include "device_dispatch.h" #include "type_dispatch.h" namespace ctranslate2 { namespace ops { Tile::Tile(const dim_t axis, const dim_t num_tiles) : _axis(axis) , _num_tiles(num_tiles) { } void Tile::operator()(const StorageView& input, StorageView& o...
29.96
90
0.506008
funboarder13920
4aec6db1a21eba59439ff4d6601bd1d220c4e804
6,375
cc
C++
lite/kernels/cuda/nearest_interp_compute_test.cc
tensor-tang/Paddle-Lite
d60b8d611bdf7c377dbe239954c60f25f70c9a75
[ "Apache-2.0" ]
null
null
null
lite/kernels/cuda/nearest_interp_compute_test.cc
tensor-tang/Paddle-Lite
d60b8d611bdf7c377dbe239954c60f25f70c9a75
[ "Apache-2.0" ]
null
null
null
lite/kernels/cuda/nearest_interp_compute_test.cc
tensor-tang/Paddle-Lite
d60b8d611bdf7c377dbe239954c60f25f70c9a75
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2019 PaddlePaddle Authors. 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.0 // // Unless required...
34.090909
80
0.591529
tensor-tang
4aece99356a22bba0e4530067873fc7e15b0d15f
605
hpp
C++
top-k_OAFP_pos/src/varlist.hpp
ShowHey57/top-k_AOFP_pos
afbd69ca41a73dc5f0fcd86cad643a01df16e0a9
[ "MIT" ]
null
null
null
top-k_OAFP_pos/src/varlist.hpp
ShowHey57/top-k_AOFP_pos
afbd69ca41a73dc5f0fcd86cad643a01df16e0a9
[ "MIT" ]
null
null
null
top-k_OAFP_pos/src/varlist.hpp
ShowHey57/top-k_AOFP_pos
afbd69ca41a73dc5f0fcd86cad643a01df16e0a9
[ "MIT" ]
null
null
null
#ifndef VAR_LIST_HPP_ #define VAR_LIST_HPP_ #include <cstdint> #include <cstdlib> #include <iostream> #include <vector> #include "constant_numbers.hpp" #include "common_functions.hpp" #include "vardata.hpp" class VarList{ private: std::vector<VarData*> varlist_; //pointer of VarData's vector public: ...
18.333333
63
0.67438
ShowHey57
4aefe700dc764e8752c22c91169835f102615662
38,368
cpp
C++
TEST_APPS/device/socket_app/cmd_socket.cpp
c1728p9/mbed
784fa91294fb4849ab761fe558af7c3cfa2a9174
[ "Apache-2.0" ]
null
null
null
TEST_APPS/device/socket_app/cmd_socket.cpp
c1728p9/mbed
784fa91294fb4849ab761fe558af7c3cfa2a9174
[ "Apache-2.0" ]
5
2018-08-15T12:02:20.000Z
2018-09-03T11:28:18.000Z
TEST_APPS/device/socket_app/cmd_socket.cpp
c1728p9/mbed
784fa91294fb4849ab761fe558af7c3cfa2a9174
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2018 ARM Limited. All rights reserved. * SPDX-License-Identifier: Apache-2.0 * 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...
31.761589
141
0.578294
c1728p9
4af01049cafe3b9f54048a835cd8666a05a6d00c
17,215
cpp
C++
src/LexBase.cpp
eXtremal-ik7/config4cpp
087ee5457c6db2f0ca5d1b12c9b60c44b1fd130d
[ "MIT" ]
null
null
null
src/LexBase.cpp
eXtremal-ik7/config4cpp
087ee5457c6db2f0ca5d1b12c9b60c44b1fd130d
[ "MIT" ]
null
null
null
src/LexBase.cpp
eXtremal-ik7/config4cpp
087ee5457c6db2f0ca5d1b12c9b60c44b1fd130d
[ "MIT" ]
null
null
null
//----------------------------------------------------------------------- // Copyright 2011 Ciaran McHale. // // 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...
23.326558
73
0.5605
eXtremal-ik7
4af02a5b0bec8809fda94987e4977de395d29240
2,658
cpp
C++
src/walker.cpp
markosej11/turtlebot3_walker
5a7e25367588f969383631da62c078abe08b472a
[ "MIT" ]
null
null
null
src/walker.cpp
markosej11/turtlebot3_walker
5a7e25367588f969383631da62c078abe08b472a
[ "MIT" ]
null
null
null
src/walker.cpp
markosej11/turtlebot3_walker
5a7e25367588f969383631da62c078abe08b472a
[ "MIT" ]
null
null
null
/** * @Copyright 2021 Markose Jacob * @file walker.cpp * @author Markose Jacob * @date 11/28/2021 * * @brief Walker class * * @section LICENSE * * MIT License * Copyright (c) 2021 Markose Jacob * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and as...
31.642857
81
0.665538
markosej11
4af0736226210688b87e52b7ec2f4f760e052ede
307
hpp
C++
include/LTRE/core/ray.hpp
yumcyaWiz/LTRE
dd65125bb133c345a10a3cf3d4c2a330b38ee82b
[ "MIT" ]
3
2021-08-15T08:59:21.000Z
2021-11-27T08:23:37.000Z
include/LTRE/core/ray.hpp
yumcyaWiz/LTRE
dd65125bb133c345a10a3cf3d4c2a330b38ee82b
[ "MIT" ]
null
null
null
include/LTRE/core/ray.hpp
yumcyaWiz/LTRE
dd65125bb133c345a10a3cf3d4c2a330b38ee82b
[ "MIT" ]
1
2021-12-09T15:43:57.000Z
2021-12-09T15:43:57.000Z
#ifndef _LTRE_RAY_H #define _LTRE_RAY_H #include "LTRE/math/vec3.hpp" namespace LTRE { struct Ray { Vec3 origin; Vec3 direction; mutable float tmin; mutable float tmax; Ray(); Ray(const Vec3& origin, const Vec3& direction); Vec3 operator()(float t) const; }; } // namespace LTRE #endif
13.954545
49
0.693811
yumcyaWiz
4af1152a152a0bd3c3841095701527b33c6fff47
607,038
cpp
C++
hphp/parser/hphp.7.tab.cpp
webhacking/hhvm
24b6fd8acfaa00a2bbb6086942d084eb28bcc9d7
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/parser/hphp.7.tab.cpp
webhacking/hhvm
24b6fd8acfaa00a2bbb6086942d084eb28bcc9d7
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
hphp/parser/hphp.7.tab.cpp
webhacking/hhvm
24b6fd8acfaa00a2bbb6086942d084eb28bcc9d7
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
// @generated /* A Bison parser, made by GNU Bison 2.4.1. */ /* Skeleton implementation for Bison's Yacc-like parsers in C Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify ...
41.057694
174
0.368974
webhacking
4af172af9e5d5986b19770cac0dd96d4533ad3bb
5,421
cc
C++
tutorials/examples/simple_sender_main.cc
isabella232/aistreams
209f4385425405676a581a749bb915e257dbc1c1
[ "Apache-2.0" ]
6
2020-09-22T18:07:15.000Z
2021-10-21T01:34:04.000Z
tutorials/examples/simple_sender_main.cc
isabella232/aistreams
209f4385425405676a581a749bb915e257dbc1c1
[ "Apache-2.0" ]
2
2020-11-10T13:17:39.000Z
2022-03-30T11:22:14.000Z
tutorials/examples/simple_sender_main.cc
isabella232/aistreams
209f4385425405676a581a749bb915e257dbc1c1
[ "Apache-2.0" ]
3
2020-09-26T08:40:35.000Z
2021-10-21T01:33:56.000Z
// Copyright 2020 Google LLC // // 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 to in ...
35.900662
79
0.708725
isabella232
4af31509a5c6a6bdeba357e3ca82e07c42757ce9
6,467
cpp
C++
test/misc/ut_prng.cpp
PascalLG/zinc-cpp
560d51a6b7ccd60e4dcf3b0fd132a9bb56f72911
[ "MIT" ]
1
2021-04-07T11:03:57.000Z
2021-04-07T11:03:57.000Z
test/misc/ut_prng.cpp
PascalLG/zinc-cpp
560d51a6b7ccd60e4dcf3b0fd132a9bb56f72911
[ "MIT" ]
null
null
null
test/misc/ut_prng.cpp
PascalLG/zinc-cpp
560d51a6b7ccd60e4dcf3b0fd132a9bb56f72911
[ "MIT" ]
null
null
null
//======================================================================== // Zinc - Unit Testing // Copyright (c) 2020, Pascal Levy // // 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 with...
49.746154
111
0.640173
PascalLG
4afa96f08d7729d972cae38c04048b5527503392
17,631
cpp
C++
cpp/tests/column/column_view_shallow_test.cpp
karthikeyann/cudf
a00466fe30ce6618e8f790ea1337875558867512
[ "Apache-2.0" ]
3
2020-09-25T21:45:41.000Z
2020-09-28T01:51:57.000Z
cpp/tests/column/column_view_shallow_test.cpp
karthikeyann/cudf
a00466fe30ce6618e8f790ea1337875558867512
[ "Apache-2.0" ]
1
2020-09-26T01:22:44.000Z
2020-09-26T02:25:41.000Z
cpp/tests/column/column_view_shallow_test.cpp
karthikeyann/cudf
a00466fe30ce6618e8f790ea1337875558867512
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2021, NVIDIA 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
39.799097
100
0.695309
karthikeyann
4afad4c3e234e48b4e7f8cb7510b1a2467f4f2e0
26,453
cpp
C++
unit_tests/lim_malloc_test.cpp
IntelLabs/cc-simulator
d3baf1a9f7f3153a47db11592295f09834c42116
[ "MIT" ]
null
null
null
unit_tests/lim_malloc_test.cpp
IntelLabs/cc-simulator
d3baf1a9f7f3153a47db11592295f09834c42116
[ "MIT" ]
null
null
null
unit_tests/lim_malloc_test.cpp
IntelLabs/cc-simulator
d3baf1a9f7f3153a47db11592295f09834c42116
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include <string.h> #include <math.h> #include <cstdlib> //for std::getenv typedef uint64_t logical_address_t; #ifndef TRACE_ONLY int trace_only; #define TRACE_ONLY #endif #include "lim_ptr_encoding.h" // Helper function to init ref data buffer with random data #ifndef PAGE_SIZE #define PAGE_S...
36.38652
166
0.67826
IntelLabs
4afd9707cacc4094c122440407dc12cf6711e195
11,682
cpp
C++
diploidizeSNPlog.cpp
YourePrettyGood/VariantCallingSimulations
3b21879450779ca78c936b961700ceab803daecb
[ "MIT" ]
1
2021-02-15T15:36:55.000Z
2021-02-15T15:36:55.000Z
diploidizeSNPlog.cpp
YourePrettyGood/VariantCallingSimulations
3b21879450779ca78c936b961700ceab803daecb
[ "MIT" ]
null
null
null
diploidizeSNPlog.cpp
YourePrettyGood/VariantCallingSimulations
3b21879450779ca78c936b961700ceab803daecb
[ "MIT" ]
null
null
null
/********************************************************************************** * diploidizeSNPlog.cpp * * Written by Patrick Reilly * * Version 1.0 written 2017/01/23 ...
40.846154
195
0.555128
YourePrettyGood
4afe40388e78839d3c18eb7ba8bfa532b4ed6d53
1,209
cpp
C++
ARDUINO_CODE/Bluetooth.cpp
Allabakshu-shaik/Mercedes-POC
b338c471870830ba4b4fb26e4dc1097e0882a8e2
[ "MIT" ]
46
2020-01-08T16:38:46.000Z
2022-03-30T21:08:07.000Z
ARDUINO_CODE/Bluetooth.cpp
Allabakshu-shaik/Mercedes-POC
b338c471870830ba4b4fb26e4dc1097e0882a8e2
[ "MIT" ]
2
2020-03-28T08:26:29.000Z
2020-08-06T10:52:57.000Z
ARDUINO_CODE/Bluetooth.cpp
Allabakshu-shaik/Mercedes-POC
b338c471870830ba4b4fb26e4dc1097e0882a8e2
[ "MIT" ]
9
2020-03-13T20:53:02.000Z
2021-08-31T08:50:20.000Z
#include "Bluetooth.h" bool BLUETOOTH::isConnected = false; #ifdef ARDUINO_MEGA BLUETOOTH::BLUETOOTH() { Serial1.begin(9600); Serial1.clearWriteError(); } char* BLUETOOTH::read_message() { memset(buffer, 0x00, sizeof(buffer)); if (Serial1.available()) { uint8_t len = Serial1.read(); ...
22.388889
65
0.603805
Allabakshu-shaik
ab00784b9802f57a9c460c2c8dca85543846a516
16,515
cpp
C++
src/ReportWindow.cpp
fantoro/CapitalBe
0d5f7056a61e71693b1ef85b5024c9ce0894ab2f
[ "MIT" ]
2
2017-05-17T07:18:05.000Z
2018-02-28T13:51:47.000Z
src/ReportWindow.cpp
fantoro/CapitalBe
0d5f7056a61e71693b1ef85b5024c9ce0894ab2f
[ "MIT" ]
26
2016-12-20T12:28:52.000Z
2022-03-30T06:00:03.000Z
src/ReportWindow.cpp
fantoro/CapitalBe
0d5f7056a61e71693b1ef85b5024c9ce0894ab2f
[ "MIT" ]
13
2015-01-28T15:26:06.000Z
2020-10-26T06:03:42.000Z
#include "ReportWindow.h" #include <GridLayoutBuilder.h> #include <LayoutBuilder.h> #include <View.h> #include <StringView.h> #include <Bitmap.h> #include <TranslationUtils.h> #include "ReportGrid.h" #include "DateBox.h" #include "StickyDrawButton.h" #include "Layout.h" #include "TimeSupport.h" #include "ObjectList.h" ...
25.252294
111
0.706146
fantoro
ab02beb9d486873696b0937874ecc7c4d546deb7
2,124
cpp
C++
src/ArucoHandler.cpp
bobribbon/team_scheire_OK
e40c52a681e31bd3a0209f11e4de2268cc2d55e1
[ "MIT" ]
null
null
null
src/ArucoHandler.cpp
bobribbon/team_scheire_OK
e40c52a681e31bd3a0209f11e4de2268cc2d55e1
[ "MIT" ]
null
null
null
src/ArucoHandler.cpp
bobribbon/team_scheire_OK
e40c52a681e31bd3a0209f11e4de2268cc2d55e1
[ "MIT" ]
null
null
null
/* * Interactieve OK * Jeroen Lassche (j.lassche@bravis.nl) * * Fork van het project: * Immersief, interactief operatiekwartier * door Team Scheire, Imec en Jan Everaert * https://github.com/imec-int/team_scheire_OK */ #include "ArucoHandler.hpp" #include "ofxOpenCv.h" #include "ofxCv.h" #include "ofxAruco.h" /* * T...
17.848739
95
0.679379
bobribbon
ab073e642a41c91e273bab92f031deae626bb8b4
11,387
cpp
C++
src/plugins/ExampleSensor/ExampleSensor.cpp
SchademanK/Ookala
9a5112e1d3067d589c150fb9c787ae36801a67dc
[ "MIT" ]
null
null
null
src/plugins/ExampleSensor/ExampleSensor.cpp
SchademanK/Ookala
9a5112e1d3067d589c150fb9c787ae36801a67dc
[ "MIT" ]
null
null
null
src/plugins/ExampleSensor/ExampleSensor.cpp
SchademanK/Ookala
9a5112e1d3067d589c150fb9c787ae36801a67dc
[ "MIT" ]
null
null
null
// -------------------------------------------------------------------------- // $Id: ExampleSensor.cpp 135 2008-12-19 00:49:58Z omcf $ // -------------------------------------------------------------------------- // Copyright (c) 2008 Hewlett-Packard Development Company, L.P. // // Permission is hereby granted, free ...
27.977887
80
0.530517
SchademanK
ab08e3b9474e22d9d69ffee51a4f1ba6252a60de
3,781
cpp
C++
engine/camera.cpp
meifuku/AFGEngine
21e356eaf293dcaa0eea5823914bbc5c8ae7a85a
[ "MS-PL" ]
8
2021-03-04T23:41:02.000Z
2022-01-06T01:07:01.000Z
engine/camera.cpp
meifuku/AFGEngine
21e356eaf293dcaa0eea5823914bbc5c8ae7a85a
[ "MS-PL" ]
null
null
null
engine/camera.cpp
meifuku/AFGEngine
21e356eaf293dcaa0eea5823914bbc5c8ae7a85a
[ "MS-PL" ]
2
2021-09-14T09:48:51.000Z
2021-12-10T08:54:57.000Z
#include "camera.h" #include "window.h" #include <glad/glad.h> #include <glm/ext/matrix_transform.hpp> #include <glm/vec3.hpp> #include <cmath> #include <algorithm> #include <iostream> #include <fixed_point.h> FixedPoint interpolate(FixedPoint x, FixedPoint min, FixedPoint max, FixedPoint length) { x = x/length; r...
23.93038
89
0.699815
meifuku
ab09711bbd4ba9463609fd235e39c4f3f4968994
3,126
cpp
C++
Source/OverlordProject/Materials/SkinnedDiffuseMaterial.cpp
TomvanWaas/OvercookedImitation
895b98ff23b026bafc24267c8707d68870a2ac58
[ "MIT" ]
null
null
null
Source/OverlordProject/Materials/SkinnedDiffuseMaterial.cpp
TomvanWaas/OvercookedImitation
895b98ff23b026bafc24267c8707d68870a2ac58
[ "MIT" ]
null
null
null
Source/OverlordProject/Materials/SkinnedDiffuseMaterial.cpp
TomvanWaas/OvercookedImitation
895b98ff23b026bafc24267c8707d68870a2ac58
[ "MIT" ]
null
null
null
#include "stdafx.h" #include "SkinnedDiffuseMaterial.h" #include "ContentManager.h" #include "TextureData.h" #include "ModelComponent.h" #include "ModelAnimator.h" ID3DX11EffectShaderResourceVariable* SkinnedDiffuseMaterial::m_pDiffuseSRVvariable = nullptr; ID3DX11EffectMatrixVariable* SkinnedDiffuseMateri...
31.897959
116
0.746321
TomvanWaas
ab0eccd9c949ddbf0bce9ecf7a0959643641effa
258
hpp
C++
libng/core/src/libng_core/libcxx/map.hpp
gapry/libng
8fbf927e5bb73f105bddbb618430d3e1bf2cf877
[ "MIT" ]
null
null
null
libng/core/src/libng_core/libcxx/map.hpp
gapry/libng
8fbf927e5bb73f105bddbb618430d3e1bf2cf877
[ "MIT" ]
null
null
null
libng/core/src/libng_core/libcxx/map.hpp
gapry/libng
8fbf927e5bb73f105bddbb618430d3e1bf2cf877
[ "MIT" ]
null
null
null
#pragma once #include <third_party/eastl/eastl.hpp> namespace libng::libcxx { template<class KEY, class VALUE> class map { public: }; } // namespace libng::libcxx namespace libng { template<class KEY, class VALUE> using Map = eastl::map<KEY, VALUE>; }
13.578947
38
0.717054
gapry
ab13376ac74d3cd9d78cc77bcd24bd260f5334f1
7,316
cc
C++
RecoEgamma/EgammaMCTools/plugins/PFClusterMatchedToPhotonsSelector.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
RecoEgamma/EgammaMCTools/plugins/PFClusterMatchedToPhotonsSelector.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
RecoEgamma/EgammaMCTools/plugins/PFClusterMatchedToPhotonsSelector.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
// -*- C++ -*- // // Package: CommonTools/RecoAlgos // Class: PFClusterMatchedToPhotonsSelector // /**\class PFClusterMatchedToPhotonsSelector PFClusterMatchedToPhotonsSelector.cc CommonTools/RecoAlgos/plugins/PFClusterMatchedToPhotonsSelector.cc Description: Matches ECAL PF clusters to photons that do not c...
41.333333
147
0.749863
pasmuss
ab1b72ea5cb1f048215b92306412d751355eb80d
1,368
cpp
C++
fboss/agent/hw/bcm/BcmEcmpUtils.cpp
midopooler/fboss
c8d08dd4255e97e5977f53712e7c91a7d045a0cb
[ "BSD-3-Clause" ]
1
2020-03-20T22:47:21.000Z
2020-03-20T22:47:21.000Z
fboss/agent/hw/bcm/BcmEcmpUtils.cpp
phshaikh/fboss
05e6ed1e9d62bf7db45a770886b1761e046c1722
[ "BSD-3-Clause" ]
null
null
null
fboss/agent/hw/bcm/BcmEcmpUtils.cpp
phshaikh/fboss
05e6ed1e9d62bf7db45a770886b1761e046c1722
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 2004-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * */ #inc...
28.5
80
0.730263
midopooler
ab1c39c3d5de4d3afd619d5508b34ddcc950b773
952
cpp
C++
item.cpp
RichardVN/train-escape-game
a177276b2993288f85e8b1079c1ca2dc8babbd91
[ "MIT" ]
null
null
null
item.cpp
RichardVN/train-escape-game
a177276b2993288f85e8b1079c1ca2dc8babbd91
[ "MIT" ]
null
null
null
item.cpp
RichardVN/train-escape-game
a177276b2993288f85e8b1079c1ca2dc8babbd91
[ "MIT" ]
null
null
null
/***************************************************************** ** Program name: item.cpp ** Author: Richard Nguyen ** Date: 12/10/19 ** Description: Contains member function definitions for the class item. ******************************************************************/ #include "item.hpp" // *****...
17
67
0.462185
RichardVN
ab1cb62e1a59da716cc933d10f92e439dd2db2b4
17,422
cc
C++
arcane/src/arcane/impl/ParallelExchanger.cc
cedricga91/framework
143eeccb5bf375df4a3f11b888681f84f60380c6
[ "Apache-2.0" ]
16
2021-09-20T12:37:01.000Z
2022-03-18T09:19:14.000Z
arcane/src/arcane/impl/ParallelExchanger.cc
cedricga91/framework
143eeccb5bf375df4a3f11b888681f84f60380c6
[ "Apache-2.0" ]
66
2021-09-17T13:49:39.000Z
2022-03-30T16:24:07.000Z
arcane/src/arcane/impl/ParallelExchanger.cc
cedricga91/framework
143eeccb5bf375df4a3f11b888681f84f60380c6
[ "Apache-2.0" ]
11
2021-09-27T16:48:55.000Z
2022-03-23T19:06:56.000Z
// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*- //----------------------------------------------------------------------------- // Copyright 2000-2022 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com) // See the top-level COPYRIGHT file for details. // SPDX-License-Identifier: Apache-2...
34.844
118
0.534554
cedricga91
ab1d2e9a4f19fedea425a860ab6718ea3ca83e87
3,301
cc
C++
pcraster/pcraster-4.2.0/pcraster-4.2.0/source/pcraster_old_calc/calc_timervalue.cc
quanpands/wflow
b454a55e4a63556eaac3fbabd97f8a0b80901e5a
[ "MIT" ]
null
null
null
pcraster/pcraster-4.2.0/pcraster-4.2.0/source/pcraster_old_calc/calc_timervalue.cc
quanpands/wflow
b454a55e4a63556eaac3fbabd97f8a0b80901e5a
[ "MIT" ]
null
null
null
pcraster/pcraster-4.2.0/pcraster-4.2.0/source/pcraster_old_calc/calc_timervalue.cc
quanpands/wflow
b454a55e4a63556eaac3fbabd97f8a0b80901e5a
[ "MIT" ]
null
null
null
#ifndef INCLUDED_STDDEFX #include "stddefx.h" #define INCLUDED_STDDEFX #endif #ifndef INCLUDED_CALC_TIMERVALUE #include "calc_timervalue.h" #define INCLUDED_CALC_TIMERVALUE #endif // Library headers. // PCRaster library headers. // Module headers. #ifndef INCLUDED_CALC_FIELDNRPARAMETER #include "calc_fieldnrparamet...
25.392308
93
0.551954
quanpands
ab1d46e1e554441470b0df611f84f6d6ccc9d2b0
4,548
cpp
C++
src/core/states/euclidean.cpp
jcarpent/crocoddyl
155999999f1fbd0c5760875584c540e2bc13645b
[ "BSD-3-Clause" ]
1
2019-12-21T12:11:15.000Z
2019-12-21T12:11:15.000Z
src/core/states/euclidean.cpp
boyali/crocoddyl
155999999f1fbd0c5760875584c540e2bc13645b
[ "BSD-3-Clause" ]
null
null
null
src/core/states/euclidean.cpp
boyali/crocoddyl
155999999f1fbd0c5760875584c540e2bc13645b
[ "BSD-3-Clause" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////// // BSD 3-Clause License // // Copyright (C) 2018-2019, LAAS-CNRS // Copyright note valid unless otherwise stated in individual files. // All rights reserved. /////////////////////////////////////////////////////////////////////////////// #...
48.382979
116
0.600484
jcarpent
ab1d6e29f2ebf95f883847c77c2eb8515c8a5c10
3,108
cpp
C++
test/zisa/unit_test/reconstruction/weno_ao.cpp
1uc/ZisaFVM
75fcedb3bece66499e011228a39d8a364b50fd74
[ "MIT" ]
null
null
null
test/zisa/unit_test/reconstruction/weno_ao.cpp
1uc/ZisaFVM
75fcedb3bece66499e011228a39d8a364b50fd74
[ "MIT" ]
null
null
null
test/zisa/unit_test/reconstruction/weno_ao.cpp
1uc/ZisaFVM
75fcedb3bece66499e011228a39d8a364b50fd74
[ "MIT" ]
1
2021-08-24T11:52:51.000Z
2021-08-24T11:52:51.000Z
// SPDX-License-Identifier: MIT // Copyright (c) 2021 ETH Zurich, Luc Grosheintz-Laval #include <numeric> #include <zisa/grid/grid.hpp> #include <zisa/reconstruction/weno_ao.hpp> #include <zisa/testing/testing_framework.hpp> #include <zisa/unit_test/grid/test_grid_factory.hpp> #include <zisa/unit_test/reconstruction/...
34.533333
79
0.500644
1uc
ab1dbcdc8430028648634d96f6a0fd6f0c3af550
3,470
cc
C++
tests/test_schema.cc
mithro/hgdb
8a028b9ee8751a2cc77cd1c889e96059747b2f18
[ "BSD-2-Clause" ]
34
2021-01-19T21:14:06.000Z
2022-03-31T18:42:58.000Z
tests/test_schema.cc
mithro/hgdb
8a028b9ee8751a2cc77cd1c889e96059747b2f18
[ "BSD-2-Clause" ]
33
2021-01-12T18:50:16.000Z
2022-03-23T04:49:20.000Z
tests/test_schema.cc
mithro/hgdb
8a028b9ee8751a2cc77cd1c889e96059747b2f18
[ "BSD-2-Clause" ]
2
2021-03-28T06:58:46.000Z
2022-03-31T02:55:53.000Z
#include <random> #include "test_util.hh" class SchemaTest : public DBTestHelper {}; TEST_F(SchemaTest, init_db) { // NOLINT ASSERT_NE(db, nullptr); } TEST_F(SchemaTest, store_instance) { // NOLINT EXPECT_EQ(db->count<hgdb::Instance>(), 0); constexpr uint32_t id = 42; hgdb::store_instance(*db, id,...
37.311828
80
0.693084
mithro
ab1eadd0371c04f108dbb19000c1643ee01cd840
1,361
cpp
C++
Source/10.0.18362.0/ucrt/misc/terminate.cpp
825126369/UCRT
8853304fdc2a5c216658d08b6dbbe716aa2a7b1f
[ "MIT" ]
2
2021-01-27T10:19:30.000Z
2021-02-09T06:24:30.000Z
Source/10.0.18362.0/ucrt/misc/terminate.cpp
825126369/UCRT
8853304fdc2a5c216658d08b6dbbe716aa2a7b1f
[ "MIT" ]
null
null
null
Source/10.0.18362.0/ucrt/misc/terminate.cpp
825126369/UCRT
8853304fdc2a5c216658d08b6dbbe716aa2a7b1f
[ "MIT" ]
1
2021-01-27T10:19:36.000Z
2021-01-27T10:19:36.000Z
// // terminate.cpp // // Copyright (c) Microsoft Corporation. All rights reserved. // // The terminate handler // #include <corecrt_internal.h> #include <corecrt_terminate.h> static terminate_handler __cdecl get_terminate_or_default( __acrt_ptd const* const ptd ) throw() { return ptd->_terminate ? ...
22.683333
79
0.667891
825126369
ab21d08280b6968b4027ceb8afaa35b34d30d51d
1,596
cpp
C++
QtBiVis/ccell.cpp
Archi0/QtBicVis
c6cd7f456fcf0ac9d2222ef60a2b5621089cb065
[ "MIT" ]
1
2019-10-05T15:17:06.000Z
2019-10-05T15:17:06.000Z
QtBiVis/ccell.cpp
Archi0/QtBicVis
c6cd7f456fcf0ac9d2222ef60a2b5621089cb065
[ "MIT" ]
1
2016-10-18T21:17:22.000Z
2016-10-18T21:17:22.000Z
QtBiVis/ccell.cpp
Archi0/QtBiVis
c6cd7f456fcf0ac9d2222ef60a2b5621089cb065
[ "MIT" ]
null
null
null
#include "ccell.h" CCell::CCell() { sValue = ""; sNumbers = ""; bState =false; // m_pRect = new QRectF(0,0,8,8); // setFlags(ItemIsSelectable); } QString CCell::getSValue() const { return sValue; } void CCell::setSValue(const QString &value) { sValue = value; } void CCell::setState(bool s)...
14.642202
93
0.602757
Archi0
ab290af75e037f7e8bfcca446138bd1ebb5a585d
854
hpp
C++
Runtime/Character/CEffectComponent.hpp
jackoalan/urde
413483a996805a870f002324ee46cfc123f4df06
[ "MIT" ]
null
null
null
Runtime/Character/CEffectComponent.hpp
jackoalan/urde
413483a996805a870f002324ee46cfc123f4df06
[ "MIT" ]
null
null
null
Runtime/Character/CEffectComponent.hpp
jackoalan/urde
413483a996805a870f002324ee46cfc123f4df06
[ "MIT" ]
null
null
null
#pragma once #include <string> #include "Runtime/IOStreams.hpp" #include "Runtime/RetroTypes.hpp" #include "Runtime/Character/CParticleData.hpp" namespace urde { class CEffectComponent { std::string x0_name; SObjectTag x10_tag; std::string x18_boneName; float x28_scale; CParticleData::EParentedMode x2c_pa...
26.6875
83
0.762295
jackoalan
ab2acb73f388b3a99446178945fbb00771677019
12,697
cpp
C++
enduser/netmeeting/t120/mst120/datapkt.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
enduser/netmeeting/t120/mst120/datapkt.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
enduser/netmeeting/t120/mst120/datapkt.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
#include "precomp.h" DEBUG_FILEZONE(ZONE_T120_MCSNC); /* * datapkt.cpp * * Copyright (c) 1997 by Microsoft Corporation, Redmond, WA * * Abstract: * This is the implementation file for the MCS data packet class. The data packet * class is responsible for encoding and decoding the PDUs, as well as * ...
29.25576
112
0.684256
npocmaka
ab2eb0045b69e1139d620b90e58fa6fb3e80a166
431
cpp
C++
05-loops/5.22-drawing-a-right-triangle/trang-solution.cpp
trangnart/cis22a
498a7b37d12a13efa7749849dc95d9892d1786be
[ "MIT" ]
2
2020-09-04T22:06:06.000Z
2020-09-09T04:00:25.000Z
05-loops/5.22-drawing-a-right-triangle/trang-solution.cpp
trangnart/cis22a
498a7b37d12a13efa7749849dc95d9892d1786be
[ "MIT" ]
14
2020-08-24T01:44:36.000Z
2021-01-01T08:44:17.000Z
05-loops/5.22-drawing-a-right-triangle/trang-solution.cpp
trangnart/cis22a
498a7b37d12a13efa7749849dc95d9892d1786be
[ "MIT" ]
1
2020-09-04T22:13:13.000Z
2020-09-04T22:13:13.000Z
#include <iostream> using namespace std; int main() { char triangleChar; int triangleHeight; cout << "Enter a character:" << endl; cin >> triangleChar; cout << "Enter triangle height:" << endl; cin >> triangleHeight; cout << endl; for (int i = 0; i <= triangleHeight; ++i) { for (int j...
18.73913
46
0.529002
trangnart
ab359129fa28e12be09092929798de061e208b6a
5,365
cpp
C++
VirtualBox-5.0.0/src/VBox/Runtime/r3/win/RTSystemShutdown-win.cpp
egraba/vbox_openbsd
6cb82f2eed1fa697d088cecc91722b55b19713c2
[ "MIT" ]
1
2015-04-30T14:18:45.000Z
2015-04-30T14:18:45.000Z
VirtualBox-5.0.0/src/VBox/Runtime/r3/win/RTSystemShutdown-win.cpp
egraba/vbox_openbsd
6cb82f2eed1fa697d088cecc91722b55b19713c2
[ "MIT" ]
null
null
null
VirtualBox-5.0.0/src/VBox/Runtime/r3/win/RTSystemShutdown-win.cpp
egraba/vbox_openbsd
6cb82f2eed1fa697d088cecc91722b55b19713c2
[ "MIT" ]
null
null
null
/* $Id: RTSystemShutdown-win.cpp $ */ /** @file * IPRT - RTSystemShutdown, Windows. */ /* * Copyright (C) 2012-2015 Oracle Corporation * * This file is part of VirtualBox Open Source Edition (OSE), as * available from http://www.virtualbox.org. This file is free software; * you can redistribute it and/or modify...
40.338346
140
0.50028
egraba
ab36e203ba8f0c1f4d3d7c49b01eb995429c3ff2
2,170
cpp
C++
oneflow/api/python/ofblob/ofblob.cpp
mosout/oneflow
afbb221d900f1a340568ae2462b2022f8fcc4b3d
[ "Apache-2.0" ]
1
2022-01-19T07:50:28.000Z
2022-01-19T07:50:28.000Z
oneflow/api/python/ofblob/ofblob.cpp
mosout/oneflow
afbb221d900f1a340568ae2462b2022f8fcc4b3d
[ "Apache-2.0" ]
null
null
null
oneflow/api/python/ofblob/ofblob.cpp
mosout/oneflow
afbb221d900f1a340568ae2462b2022f8fcc4b3d
[ "Apache-2.0" ]
null
null
null
/* Copyright 2020 The OneFlow Authors. 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.0 Unless required by applicable law or agre...
41.730769
89
0.719816
mosout
ab38868c828b0217c1d806815d0435e14806bb58
2,339
cpp
C++
modules/video/perf/perf_ecc.cpp
thisisgopalmandal/opencv
4e2ef8c8f57644ccb8e762a37f70a61007c6be1c
[ "BSD-3-Clause" ]
56,632
2016-07-04T16:36:08.000Z
2022-03-31T18:38:14.000Z
modules/video/perf/perf_ecc.cpp
thisisgopalmandal/opencv
4e2ef8c8f57644ccb8e762a37f70a61007c6be1c
[ "BSD-3-Clause" ]
13,593
2016-07-04T13:59:03.000Z
2022-03-31T21:04:51.000Z
modules/video/perf/perf_ecc.cpp
thisisgopalmandal/opencv
4e2ef8c8f57644ccb8e762a37f70a61007c6be1c
[ "BSD-3-Clause" ]
54,986
2016-07-04T14:24:38.000Z
2022-03-31T22:51:18.000Z
#include "perf_precomp.hpp" namespace opencv_test { using namespace perf; CV_ENUM(MotionType, MOTION_TRANSLATION, MOTION_EUCLIDEAN, MOTION_AFFINE, MOTION_HOMOGRAPHY) typedef tuple<MotionType> MotionType_t; typedef perf::TestBaseWithParam<MotionType_t> TransformationType; PERF_TEST_P(TransformationType, findTransfo...
32.486111
93
0.595126
thisisgopalmandal
ab3bb6b00c3541cad8a469b3d29d17898e40ae9f
800
cpp
C++
project/OFEC_sc2/instance/algorithm/realworld/DVRP/LKH/Penalty_TSPTW.cpp
BaiChunhui-9803/bch_sc2_OFEC
d50211b27df5a51a953a2475b6c292d00cbfeff6
[ "MIT" ]
null
null
null
project/OFEC_sc2/instance/algorithm/realworld/DVRP/LKH/Penalty_TSPTW.cpp
BaiChunhui-9803/bch_sc2_OFEC
d50211b27df5a51a953a2475b6c292d00cbfeff6
[ "MIT" ]
null
null
null
project/OFEC_sc2/instance/algorithm/realworld/DVRP/LKH/Penalty_TSPTW.cpp
BaiChunhui-9803/bch_sc2_OFEC
d50211b27df5a51a953a2475b6c292d00cbfeff6
[ "MIT" ]
null
null
null
#include "./INCLUDE/LKH.h" #include "./INCLUDE/Segment.h" namespace LKH { GainType LKHAlg::Penalty_TSPTW() { Node *N = Depot, *NextN; GainType Sum = 0, P = 0; int Forward = SUCC(N)->Id != N->Id + DimensionSaved; do { if (N->Id <= DimensionSaved) { if (Sum < N->Earliest) Sum = N->Earliest; els...
28.571429
65
0.57125
BaiChunhui-9803
ab3f6a9aa9c131e7936a28e0735e9bd970780118
7,538
cpp
C++
dynamic/wrappers/cell_based/AbstractCellBasedSimulation3_3.cppwg.cpp
jmsgrogan/PyChaste
48a9863d2c941c71e47ecb72e917b477ba5c1413
[ "FTL" ]
6
2017-02-04T16:10:53.000Z
2021-07-01T08:03:16.000Z
dynamic/wrappers/cell_based/AbstractCellBasedSimulation3_3.cppwg.cpp
jmsgrogan/PyChaste
48a9863d2c941c71e47ecb72e917b477ba5c1413
[ "FTL" ]
6
2017-06-22T08:50:41.000Z
2019-12-15T20:17:29.000Z
dynamic/wrappers/cell_based/AbstractCellBasedSimulation3_3.cppwg.cpp
jmsgrogan/PyChaste
48a9863d2c941c71e47ecb72e917b477ba5c1413
[ "FTL" ]
3
2017-05-15T21:33:58.000Z
2019-10-27T21:43:07.000Z
#include <pybind11/pybind11.h> #include <pybind11/stl.h> #include <set> #include <vector> #include <string> #include <map> #include "SmartPointers.hpp" #include "UblasIncludes.hpp" #include "AbstractCellBasedSimulation.hpp" #include "AbstractCellBasedSimulation3_3.cppwg.hpp" namespace py = pybind11; typedef AbstractC...
42.829545
187
0.62762
jmsgrogan
ab3fb3eee8890f5201f17ecd0f5f0f6a7e1a5513
6,328
cpp
C++
source/RAIIGen/Generator/OpenGLESGenerator.cpp
Unarmed1000/RAIIGen
2516ab5949c1fb54ca1b6e51e5e99e15ecfebbfb
[ "BSD-3-Clause" ]
8
2016-11-02T14:08:51.000Z
2021-03-25T02:00:00.000Z
source/RAIIGen/Generator/OpenGLESGenerator.cpp
Unarmed1000/RAIIGen
2516ab5949c1fb54ca1b6e51e5e99e15ecfebbfb
[ "BSD-3-Clause" ]
4
2016-08-23T12:37:17.000Z
2016-09-30T01:58:20.000Z
source/RAIIGen/Generator/OpenGLESGenerator.cpp
Unarmed1000/RAIIGen
2516ab5949c1fb54ca1b6e51e5e99e15ecfebbfb
[ "BSD-3-Clause" ]
null
null
null
//*************************************************************************************************************************************************** //* BSD 3-Clause License //* //* Copyright (c) 2016, Rene Thrane //* All rights reserved. //* //* Redistribution and use in source and binary forms, with or without modif...
41.090909
149
0.670512
Unarmed1000
ab419da48ab85657325a99a491edb80dcb19550b
6,672
cpp
C++
config/VMConfig.cpp
ispras/qemu-gui
08650ac6b7fe040f40416e6d3fcb9082611da8c7
[ "Apache-2.0" ]
12
2018-10-30T02:28:40.000Z
2021-12-22T13:40:14.000Z
config/VMConfig.cpp
ispras/qemu-gui
08650ac6b7fe040f40416e6d3fcb9082611da8c7
[ "Apache-2.0" ]
8
2018-06-26T11:20:03.000Z
2019-11-13T14:41:09.000Z
config/VMConfig.cpp
ispras/qemu-gui
08650ac6b7fe040f40416e6d3fcb9082611da8c7
[ "Apache-2.0" ]
4
2018-03-22T09:36:08.000Z
2021-08-24T10:44:11.000Z
#include "VMConfig.h" #include "DeviceStorage.h" #include "DeviceSystem.h" #include "DeviceUsb.h" #include "common/FileHelpers.h" const QString const_xml_name = "vm.xml"; const QString xml_parameters = "VMParameters"; const QString xml_field_name = "Name"; const QString xml_field_dir = "Directory_path"; const QString ...
22.849315
98
0.627998
ispras
ab41f97a3c93b5a3104c6e622cd441a024888c7a
524
hxx
C++
lang/Language.hxx
JeneLitsch/lang-get
9c11f12112b59539a954c804ba121c2dd513684e
[ "MIT" ]
null
null
null
lang/Language.hxx
JeneLitsch/lang-get
9c11f12112b59539a954c804ba121c2dd513684e
[ "MIT" ]
null
null
null
lang/Language.hxx
JeneLitsch/lang-get
9c11f12112b59539a954c804ba121c2dd513684e
[ "MIT" ]
null
null
null
#pragma once #include <unordered_map> #include <string> #include <string_view> #include <memory> namespace lang { class Language { public: const std::string find(const std::string & key) const; void insert(const std::string & key, const std::string & text); private: std::unordered_map<std::string, std::string>...
27.578947
65
0.715649
JeneLitsch
ab4293a0f786f79d3cbf809561fbb99ba9b51d64
1,071
hpp
C++
sprout/iterator/remove_if_iterator.hpp
osyo-manga/Sprout
8885b115f739ef255530f772067475d3bc0dcef7
[ "BSL-1.0" ]
1
2020-02-04T05:16:01.000Z
2020-02-04T05:16:01.000Z
sprout/iterator/remove_if_iterator.hpp
osyo-manga/Sprout
8885b115f739ef255530f772067475d3bc0dcef7
[ "BSL-1.0" ]
null
null
null
sprout/iterator/remove_if_iterator.hpp
osyo-manga/Sprout
8885b115f739ef255530f772067475d3bc0dcef7
[ "BSL-1.0" ]
null
null
null
#ifndef SPROUT_ITERATOR_REMOVE_IF_ITERATOR_HPP #define SPROUT_ITERATOR_REMOVE_IF_ITERATOR_HPP #include <sprout/config.hpp> #include <sprout/iterator/filter_iterator.hpp> namespace sprout { // // remove_if_filter // template<typename Predicate> class remove_if_filter { public: typedef bool result_...
26.775
96
0.744164
osyo-manga
ab4599ab8b388d059839cdc3a3325f419bea4103
4,489
cc
C++
src/trace_processor/stats_table.cc
nicomazz/perfetto
fb875c61cf00ded88a3f46cb562ab943129cb7af
[ "Apache-2.0" ]
2
2020-03-09T04:39:32.000Z
2020-03-09T09:12:02.000Z
src/trace_processor/stats_table.cc
nicomazz/perfetto
fb875c61cf00ded88a3f46cb562ab943129cb7af
[ "Apache-2.0" ]
6
2021-03-01T21:03:47.000Z
2022-02-26T01:51:15.000Z
src/trace_processor/stats_table.cc
nicomazz/perfetto
fb875c61cf00ded88a3f46cb562ab943129cb7af
[ "Apache-2.0" ]
null
null
null
/* * Copyright (C) 2018 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 required by app...
31.836879
80
0.637336
nicomazz
ab47e69e238c6d2842e8382809e21b77de625432
11,274
cpp
C++
codec/decoder/plus/src/welsCodecTrace.cpp
TechSmith/openh264
5d616714c4cdd30287e2c6a8aa485c2fc6c68b84
[ "BSD-2-Clause" ]
null
null
null
codec/decoder/plus/src/welsCodecTrace.cpp
TechSmith/openh264
5d616714c4cdd30287e2c6a8aa485c2fc6c68b84
[ "BSD-2-Clause" ]
null
null
null
codec/decoder/plus/src/welsCodecTrace.cpp
TechSmith/openh264
5d616714c4cdd30287e2c6a8aa485c2fc6c68b84
[ "BSD-2-Clause" ]
null
null
null
/*! * \copy * Copyright (c) 2013, Cisco Systems * 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 co...
28.185
121
0.686269
TechSmith
ab4a881d65a6e50bcc24d2037844e8ed2b0c91e3
786
cpp
C++
10815 Andy's First Dictionary.cpp
zihadboss/UVA-Solutions
020fdcb09da79dc0a0411b04026ce3617c09cd27
[ "Apache-2.0" ]
86
2016-01-20T11:36:50.000Z
2022-03-06T19:43:14.000Z
10815 Andy's First Dictionary.cpp
Mehedishihab/UVA-Solutions
474fe3d9d9ba574b97fd40ca5abb22ada95654a1
[ "Apache-2.0" ]
null
null
null
10815 Andy's First Dictionary.cpp
Mehedishihab/UVA-Solutions
474fe3d9d9ba574b97fd40ca5abb22ada95654a1
[ "Apache-2.0" ]
113
2015-12-04T06:40:57.000Z
2022-02-11T02:14:28.000Z
#include <iostream> #include <set> #include <string> using namespace std; inline bool IsLowerCharacter(char c) { return c >= 'a' && c <= 'z'; } int main() { string in; set<string> words; while (cin >> in) { int size = in.size(); string current = ""; for (int ...
20.153846
81
0.433842
zihadboss
ab4aaf354a8f8389da4851be87a14f0654cdc4b0
1,561
cpp
C++
demos/tutorial/journaled_string_tree/journaled_string_tree_base.cpp
JensUweUlrich/seqan
fa609a123d3dc5d8166c12f6849281813438dd39
[ "BSD-3-Clause" ]
409
2015-01-12T22:02:01.000Z
2022-03-29T06:17:05.000Z
demos/tutorial/journaled_string_tree/journaled_string_tree_base.cpp
JensUweUlrich/seqan
fa609a123d3dc5d8166c12f6849281813438dd39
[ "BSD-3-Clause" ]
1,269
2015-01-02T22:42:25.000Z
2022-03-08T13:31:46.000Z
demos/tutorial/journaled_string_tree/journaled_string_tree_base.cpp
JensUweUlrich/seqan
fa609a123d3dc5d8166c12f6849281813438dd39
[ "BSD-3-Clause" ]
193
2015-01-14T16:21:27.000Z
2022-03-19T22:47:02.000Z
//![include] #include <iostream> #include <seqan/stream.h> #include <seqan/journaled_string_tree.h> //![include] //![match_printer] template <typename TTraverser> struct MatchPrinter { TTraverser & trav; MatchPrinter(TTraverser & _trav) : trav(_trav) {} void operator()() { auto pos = ...
24.015385
107
0.607944
JensUweUlrich
ab4bf87dfe24be850b0134f28f82323b4ae73334
1,338
cpp
C++
xc_PZ.cpp
f-fathurrahman/ffr-pspw-dft-c
5e673e33385eb467d99fcd992b350614c2709740
[ "MIT" ]
1
2018-05-17T09:01:12.000Z
2018-05-17T09:01:12.000Z
xc_PZ.cpp
f-fathurrahman/ffr-pspw-dft-c
5e673e33385eb467d99fcd992b350614c2709740
[ "MIT" ]
null
null
null
xc_PZ.cpp
f-fathurrahman/ffr-pspw-dft-c
5e673e33385eb467d99fcd992b350614c2709740
[ "MIT" ]
null
null
null
// eFeFeR, December 2011 #include <stdio.h> #include <stdlib.h> #include <math.h> void xc_PZ(double *rho, double *vxc, double &Exc, int NNR) { const double A = -0.1423; const double B = 1.0529; const double C = 0.3334; const double a = 0.0311; const double b = -0.0480; const double c = 0.0020; const dou...
20.584615
69
0.457399
f-fathurrahman
ab4d5e5d8c20136f62f2dbe5e8b5ae3f0ea720b4
1,454
hpp
C++
src/LuminoEngine/src/Shader/ShaderManager.hpp
infinnie/Lumino
921caabdbcb91528a2aac290e31d650628bc3bed
[ "MIT" ]
null
null
null
src/LuminoEngine/src/Shader/ShaderManager.hpp
infinnie/Lumino
921caabdbcb91528a2aac290e31d650628bc3bed
[ "MIT" ]
null
null
null
src/LuminoEngine/src/Shader/ShaderManager.hpp
infinnie/Lumino
921caabdbcb91528a2aac290e31d650628bc3bed
[ "MIT" ]
null
null
null
 #pragma once #ifdef _WIN32 #include <d3dcompiler.h> #endif #include <LuminoEngine/Shader/Common.hpp> #include "../Base/RefObjectCache.hpp" namespace ln { namespace detail { class GraphicsManager; #ifdef _WIN32 typedef HRESULT(WINAPI* PFN_D3DCompile2)( LPCVOID pSrcData, SIZE_T SrcDataSize, LPCSTR pSource...
22.030303
117
0.715956
infinnie
ab4efab1a51e772777b1e2597ea0c65927005d59
354
cpp
C++
src/terrain_features/TerrainFeature.cpp
nathanial/Craft
63ac73aa2a266562a5e8a66a15ea2c1232e38df0
[ "MIT" ]
2
2017-03-23T23:08:51.000Z
2017-08-05T01:10:38.000Z
src/terrain_features/TerrainFeature.cpp
nathanial/Craft
63ac73aa2a266562a5e8a66a15ea2c1232e38df0
[ "MIT" ]
2
2017-03-23T22:21:39.000Z
2017-04-22T23:00:33.000Z
src/terrain_features/TerrainFeature.cpp
nathanial/VGK
63ac73aa2a266562a5e8a66a15ea2c1232e38df0
[ "MIT" ]
null
null
null
// // Created by nathan on 2/19/17. // #include "TerrainFeature.h" #include "../chunk/chunk.h" void TerrainFeature::add_to_chunk(TransientChunk &chunk, int x, int h, int z){ for(auto &kv : this->create()){ int ox , y, oz; std::tie(ox,y,oz) = std::get<0>(kv); chunk.set_block(x + ox, h + y,...
23.6
78
0.567797
nathanial
ab52417ed6d1229ffeee28d63b97369049868a73
2,969
cpp
C++
tests/libappimage/desktop_integration/integrator/TestDesktopIntegration.cpp
srevinsaju/libappimage
3682efb71847391f75ce6999e94b01b8b8434748
[ "MIT" ]
28
2018-08-24T07:49:19.000Z
2022-02-21T07:46:02.000Z
tests/libappimage/desktop_integration/integrator/TestDesktopIntegration.cpp
marcin543/libappimage
f7abf4756911d8967dbd4d856dfc2c90bb6914f4
[ "MIT" ]
143
2018-08-21T14:14:01.000Z
2022-03-27T15:38:21.000Z
tests/libappimage/desktop_integration/integrator/TestDesktopIntegration.cpp
marcin543/libappimage
f7abf4756911d8967dbd4d856dfc2c90bb6914f4
[ "MIT" ]
22
2018-11-12T07:36:46.000Z
2022-02-18T11:57:30.000Z
// system #include <sstream> // library headers #include <gtest/gtest.h> #include <boost/filesystem.hpp> #include <XdgUtils/DesktopEntry/DesktopEntry.h> // local #include "appimage/desktop_integration/exceptions.h" #include "integrator/Integrator.h" #include "utils/hashlib.h" #include "utils/path_utils.h" using name...
34.126437
118
0.746716
srevinsaju
ab5727322eef21d72eef2a063a1f9fe70fadb375
4,905
hpp
C++
dart/dynamics/TemplatedJacobianNode.hpp
axeisghost/DART6motionBlur
23387b0422bf95b75a113dbf5facc5f10d4a3305
[ "BSD-2-Clause" ]
4
2021-02-20T15:59:42.000Z
2022-03-25T04:04:21.000Z
dart/dynamics/TemplatedJacobianNode.hpp
axeisghost/DART6motionBlur
23387b0422bf95b75a113dbf5facc5f10d4a3305
[ "BSD-2-Clause" ]
1
2021-04-14T04:12:48.000Z
2021-04-14T04:12:48.000Z
dart/dynamics/TemplatedJacobianNode.hpp
axeisghost/DART6motionBlur
23387b0422bf95b75a113dbf5facc5f10d4a3305
[ "BSD-2-Clause" ]
2
2019-10-29T12:41:16.000Z
2021-03-22T16:38:27.000Z
/* * Copyright (c) 2015-2016, Humanoid Lab, Georgia Tech Research Corporation * Copyright (c) 2015-2017, Graphics Lab, Georgia Tech Research Corporation * Copyright (c) 2016-2017, Personal Robotics Lab, Carnegie Mellon University * All rights reserved. * * This file is provided under the following "BSD-style" Lic...
37.442748
78
0.759429
axeisghost
ab58fe89c39e03b6f75d2fa0a252cb292628c7c4
2,331
cpp
C++
Assignment/LibOVR/Src/Kernel/OVR_Math.cpp
C14427818/GamesEngine1
8e8114378b5e96f6330b00cb69245194f171aa4d
[ "MIT" ]
null
null
null
Assignment/LibOVR/Src/Kernel/OVR_Math.cpp
C14427818/GamesEngine1
8e8114378b5e96f6330b00cb69245194f171aa4d
[ "MIT" ]
null
null
null
Assignment/LibOVR/Src/Kernel/OVR_Math.cpp
C14427818/GamesEngine1
8e8114378b5e96f6330b00cb69245194f171aa4d
[ "MIT" ]
null
null
null
/************************************************************************************ Filename : OVR_Math.h Content : Implementation of 3D primitives such as vectors, matrices. Created : September 4, 2012 Authors : Andrew Reisse, Michael Antonov, Anna Yershova Copyright : Copyright 2...
39.508475
93
0.490776
C14427818
ab5f89c95e314cd88e214bd1534caf3e1a716371
63,607
cpp
C++
wznmcmbd/IexWznm/JobWznmIexDbs.cpp
mpsitech/wznm-WhizniumSBE
4911d561b28392d485c46e98fb915168d82b3824
[ "MIT" ]
3
2020-09-20T16:24:48.000Z
2021-12-01T19:44:51.000Z
wznmcmbd/IexWznm/JobWznmIexDbs.cpp
mpsitech/wznm-WhizniumSBE
4911d561b28392d485c46e98fb915168d82b3824
[ "MIT" ]
null
null
null
wznmcmbd/IexWznm/JobWznmIexDbs.cpp
mpsitech/wznm-WhizniumSBE
4911d561b28392d485c46e98fb915168d82b3824
[ "MIT" ]
null
null
null
/** * \file JobWznmIexDbs.cpp * job handler for job JobWznmIexDbs (implementation) * \copyright (C) 2016-2020 MPSI Technologies GmbH * \author Alexander Wirthmueller (auto-generation) * \date created: 28 Nov 2020 */ // IP header --- ABOVE #ifdef WZNMCMBD #include <Wznmcmbd.h> #else #include <Wznmd.h> #endif #...
36.597814
226
0.669518
mpsitech
ab63318049c59604c4202e5c0c01e64d6bb57272
23,362
cpp
C++
src/lib/sema/SemanticAnalyzer.cpp
LittleLaGi/p2llvm
549b82c2e89c2cc1324a3d8b8d7760bb96ba0ba3
[ "MIT" ]
null
null
null
src/lib/sema/SemanticAnalyzer.cpp
LittleLaGi/p2llvm
549b82c2e89c2cc1324a3d8b8d7760bb96ba0ba3
[ "MIT" ]
null
null
null
src/lib/sema/SemanticAnalyzer.cpp
LittleLaGi/p2llvm
549b82c2e89c2cc1324a3d8b8d7760bb96ba0ba3
[ "MIT" ]
null
null
null
#include "sema/SemanticAnalyzer.hpp" #include "sema/error.hpp" #include "visitor/AstNodeInclude.hpp" #include <algorithm> #include <cassert> static constexpr const char *kRedeclaredSymbolErrorMessage = "symbol '%s' is redeclared"; void SemanticAnalyzer::visit(ProgramNode &p_program) { m_symbol_manager.pushGl...
31.741848
80
0.62653
LittleLaGi
036814d1a97748599afba9b31b875766beed3e52
1,204
cpp
C++
networkit/cpp/io/ThrillGraphBinaryWriter.cpp
tsapko3628/networkit
2953c9f30b676f930e301953f00f014c47edcf69
[ "MIT" ]
1
2019-08-15T10:35:07.000Z
2019-08-15T10:35:07.000Z
networkit/cpp/io/ThrillGraphBinaryWriter.cpp
tsapko3628/networkit
2953c9f30b676f930e301953f00f014c47edcf69
[ "MIT" ]
null
null
null
networkit/cpp/io/ThrillGraphBinaryWriter.cpp
tsapko3628/networkit
2953c9f30b676f930e301953f00f014c47edcf69
[ "MIT" ]
null
null
null
/* * ThrillGraphBinaryWriter.hpp * * @author Michael Hamann <michael.hamann@kit.edu> */ #include <fstream> #include <networkit/io/ThrillGraphBinaryWriter.hpp> namespace NetworKit { void ThrillGraphBinaryWriter::write(const Graph &G, const std::string &path) { if (G.upperNodeIdBound() > std::numeric_limits<uint...
20.758621
96
0.620432
tsapko3628
0368abdcaa74444faedefb6f776d1dc78de63cb1
1,946
hpp
C++
modules/viewer/src/Viewer/gmPointListModel.hpp
GraphMIC/GraphMIC
8fc2aeb0143ee1292c6757f010fc9e8c68823e2b
[ "BSD-3-Clause" ]
43
2016-04-11T11:34:05.000Z
2022-03-31T03:37:57.000Z
modules/viewer/src/Viewer/gmPointListModel.hpp
kevinlq/GraphMIC
8fc2aeb0143ee1292c6757f010fc9e8c68823e2b
[ "BSD-3-Clause" ]
1
2016-05-17T12:58:16.000Z
2016-05-17T12:58:16.000Z
modules/viewer/src/Viewer/gmPointListModel.hpp
kevinlq/GraphMIC
8fc2aeb0143ee1292c6757f010fc9e8c68823e2b
[ "BSD-3-Clause" ]
14
2016-05-13T20:23:16.000Z
2021-12-20T10:33:19.000Z
#pragma once #include "gmViewerExport.hpp" #include "mitkDataNode.h" #include "mitkPointSet.h" #include <QAbstractListModel> namespace gm { namespace ViewItem { class GM_VIEWER_EXPORT PointListModel: public QAbstractListModel { Q_OBJECT protected: mitk::DataNo...
39.714286
146
0.63001
GraphMIC
036a8c4921bc8c9deb1b7043bd6ebf94059d9ef3
2,525
cpp
C++
Visual Mercutio/zModelBP/PSS_RiskProbabilityContainer.cpp
Jeanmilost/Visual-Mercutio
f079730005b6ce93d5e184bb7c0893ccced3e3ab
[ "MIT" ]
1
2022-01-31T06:24:24.000Z
2022-01-31T06:24:24.000Z
Visual Mercutio/zModelBP/PSS_RiskProbabilityContainer.cpp
Jeanmilost/Visual-Mercutio
f079730005b6ce93d5e184bb7c0893ccced3e3ab
[ "MIT" ]
2
2021-04-11T15:50:42.000Z
2021-06-05T08:23:04.000Z
Visual Mercutio/zModelBP/PSS_RiskProbabilityContainer.cpp
Jeanmilost/Visual-Mercutio
f079730005b6ce93d5e184bb7c0893ccced3e3ab
[ "MIT" ]
2
2021-01-08T00:55:18.000Z
2022-01-31T06:24:18.000Z
/**************************************************************************** * ==> PSS_RiskProbabilityContainer ----------------------------------------* **************************************************************************** * Description : Provides a risk probability container * * Devel...
29.705882
78
0.406337
Jeanmilost
036b71e2cb216c6ba9b3abdfebc3a217827c5242
1,078
cpp
C++
tests/Helpers/Helpers.cpp
matheuspf/handy
3c33c2bfc947567d1be483cf1b5ad63716479357
[ "MIT" ]
4
2018-08-06T12:26:43.000Z
2020-09-11T09:59:07.000Z
tests/Helpers/Helpers.cpp
matheuspf/Handy
3c33c2bfc947567d1be483cf1b5ad63716479357
[ "MIT" ]
2
2020-03-24T00:57:46.000Z
2021-02-02T04:53:27.000Z
tests/Helpers/Helpers.cpp
matheuspf/Handy
3c33c2bfc947567d1be483cf1b5ad63716479357
[ "MIT" ]
1
2017-12-05T18:33:22.000Z
2017-12-05T18:33:22.000Z
#include "handy/Helpers/Helpers.h" #include "gtest/gtest.h" #include <fstream> #include <sstream> #include <vector> namespace { TEST(HelpersTest, IsInheritedTest) { struct A {}; struct B : A {}; struct C {}; struct D : B {}; EXPECT_EQ((handy::IsInherited<B, A>::value), true); EXP...
21.56
90
0.636364
matheuspf
0371babcf570722a9dbfa507437e132a9ae3af21
10,211
cpp
C++
tests/Unit/PointwiseFunctions/AnalyticSolutions/GeneralRelativity/Test_KerrSchild.cpp
macedo22/spectre
97b2b7ae356cf86830258cb5f689f1191fdb6ddd
[ "MIT" ]
1
2018-10-01T06:07:16.000Z
2018-10-01T06:07:16.000Z
tests/Unit/PointwiseFunctions/AnalyticSolutions/GeneralRelativity/Test_KerrSchild.cpp
macedo22/spectre
97b2b7ae356cf86830258cb5f689f1191fdb6ddd
[ "MIT" ]
4
2018-06-04T20:26:40.000Z
2018-07-27T14:54:55.000Z
tests/Unit/PointwiseFunctions/AnalyticSolutions/GeneralRelativity/Test_KerrSchild.cpp
macedo22/spectre
97b2b7ae356cf86830258cb5f689f1191fdb6ddd
[ "MIT" ]
null
null
null
// Distributed under the MIT License. // See LICENSE.txt for details. #include "Framework/TestingFramework.hpp" #include <algorithm> #include <array> #include <cstddef> #include <limits> #include <string> #include <type_traits> #include "DataStructures/DataBox/Prefixes.hpp" #include "DataStructures/DataVector.hpp" #...
36.730216
94
0.652042
macedo22
037310778e911323870cd8107f3ecc37a31bddd0
639
cpp
C++
core/bookmarks/cbookmark.cpp
VioletGiraffe/FasterThanSight
f23d2e4a3e4f8abcee3d4691dbb35a0823da56e3
[ "MIT" ]
34
2016-06-13T18:38:54.000Z
2022-02-21T00:04:54.000Z
core/bookmarks/cbookmark.cpp
probonopd/FasterThanSight
f23d2e4a3e4f8abcee3d4691dbb35a0823da56e3
[ "MIT" ]
54
2016-05-20T07:38:51.000Z
2019-03-15T17:23:09.000Z
core/bookmarks/cbookmark.cpp
probonopd/FasterThanSight
f23d2e4a3e4f8abcee3d4691dbb35a0823da56e3
[ "MIT" ]
11
2016-12-19T13:14:24.000Z
2022-02-20T23:58:25.000Z
#include "cbookmark.h" #include "assert/advanced_assert.h" DISABLE_COMPILER_WARNINGS #include <QStringBuilder> #include <QStringList> RESTORE_COMPILER_WARNINGS CBookmark::CBookmark(const QString & serializedBookmark) { const QStringList components = serializedBookmark.split(';'); assert_and_return_r(comp...
24.576923
103
0.733959
VioletGiraffe
03738de4a35439a2089b392e1772330b8a3225b7
2,439
cpp
C++
tc 160+/DequeSort.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
3
2015-05-25T06:24:37.000Z
2016-09-10T07:58:00.000Z
tc 160+/DequeSort.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
null
null
null
tc 160+/DequeSort.cpp
ibudiselic/contest-problem-solutions
88082981b4d87da843472e3ca9ed5f4c42b3f0aa
[ "BSD-2-Clause" ]
5
2015-05-25T06:24:40.000Z
2021-08-19T19:22:29.000Z
#include <algorithm> #include <cassert> #include <cstdio> #include <iostream> #include <sstream> #include <string> #include <vector> #include <cstring> #include <utility> using namespace std; class DequeSort { public: int minDeques(vector <int> data) { vector< pair<int, int> > v; v.push_back(mak...
31.675325
309
0.540795
ibudiselic
037688bd186cf13ba183f3656aa337b6fa8ad0f1
5,072
cpp
C++
nau/src/nau/scene/iScene.cpp
Khirion/nau
47a2ad8e0355a264cd507da5e7bba1bf7abbff95
[ "MIT" ]
29
2015-09-16T22:28:30.000Z
2022-03-11T02:57:36.000Z
nau/src/nau/scene/iScene.cpp
Khirion/nau
47a2ad8e0355a264cd507da5e7bba1bf7abbff95
[ "MIT" ]
1
2017-03-29T13:32:58.000Z
2017-03-31T13:56:03.000Z
nau/src/nau/scene/iScene.cpp
Khirion/nau
47a2ad8e0355a264cd507da5e7bba1bf7abbff95
[ "MIT" ]
10
2015-10-15T14:20:15.000Z
2022-02-17T10:37:29.000Z
#include "nau/scene/iScene.h" #include "nau.h" #include "nau/math/matrix.h" using namespace nau::math; using namespace nau::scene; bool IScene::Init() { // MAT4 Attribs.add(Attribute(TRANSFORM, "TRANSFORM", Enums::MAT4, true)); // VEC4 Attribs.add(Attribute(SCALE, "SCALE", Enums::DataType::VEC4, false, new ve...
30.554217
113
0.728312
Khirion
03771e226fc07a62e8940cd572287eeebf5bebda
967
cc
C++
src/import_manager.cc
ioperations/cquery
0b99257bb8f5f19d979b6c0cf916758beca1bcd9
[ "MIT" ]
null
null
null
src/import_manager.cc
ioperations/cquery
0b99257bb8f5f19d979b6c0cf916758beca1bcd9
[ "MIT" ]
null
null
null
src/import_manager.cc
ioperations/cquery
0b99257bb8f5f19d979b6c0cf916758beca1bcd9
[ "MIT" ]
null
null
null
#include "import_manager.h" #include <mutex> #include <ostream> #include "assert.h" std::ostream& operator<<(std::ostream& os, const PipelineStatus& status) { switch (status) { case PipelineStatus::kNotSeen: os << "kNotSeen"; break; case PipelineStatus::kProcessingInitialI...
26.135135
74
0.594623
ioperations
0378c4d26e1cb319d8fd740c05e8c3b7f6dbf715
6,573
cpp
C++
include/types/image.cpp
nathanmullenax83/rhizome
e7410341fdc4d38ab5aaecc55c94d3ac6efd51da
[ "MIT" ]
1
2020-07-11T14:53:38.000Z
2020-07-11T14:53:38.000Z
include/types/image.cpp
nathanmullenax83/rhizome
e7410341fdc4d38ab5aaecc55c94d3ac6efd51da
[ "MIT" ]
1
2020-07-04T16:45:49.000Z
2020-07-04T16:45:49.000Z
include/types/image.cpp
nathanmullenax83/rhizome
e7410341fdc4d38ab5aaecc55c94d3ac6efd51da
[ "MIT" ]
null
null
null
#include "image.hpp" namespace rhizome { namespace types { void image_demo() { std::cout << "Image Demo." << std::endl; Image x; x.set_size(500,500); x.checker_board( 16,16, Color(1,1,1,1), Color(1,0,0,1)); x.save_png("test.png"); ...
33.030151
101
0.42492
nathanmullenax83
037adaa2e26c1d7621f8bbef0811f7ea02d14ba3
2,914
cpp
C++
android/android_42/native/services/sensorservice/OrientationSensor.cpp
yakuizhao/intel-vaapi-driver
b2bb0383352694941826543a171b557efac2219b
[ "MIT" ]
null
null
null
android/android_42/native/services/sensorservice/OrientationSensor.cpp
yakuizhao/intel-vaapi-driver
b2bb0383352694941826543a171b557efac2219b
[ "MIT" ]
null
null
null
android/android_42/native/services/sensorservice/OrientationSensor.cpp
yakuizhao/intel-vaapi-driver
b2bb0383352694941826543a171b557efac2219b
[ "MIT" ]
null
null
null
/* * Copyright (C) 2011 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 required by app...
32.021978
78
0.609815
yakuizhao
03857f744a5c019760a1a6de89003afbd4abe00b
8,545
cpp
C++
lazy-code/Teensy4LazyBoard/src/MessageManagement.cpp
william-redenbaugh/lazy-board
945d2c4c59a560141ee37f4d4eff84014eb997d7
[ "MIT" ]
3
2020-06-07T04:09:27.000Z
2020-08-19T04:33:06.000Z
lazy-code/Teensy4LazyBoard/src/MessageManagement.cpp
william-redenbaugh/lazy-board
945d2c4c59a560141ee37f4d4eff84014eb997d7
[ "MIT" ]
4
2020-06-09T18:15:44.000Z
2020-08-31T22:00:24.000Z
lazy-code/Teensy4LazyBoard/src/MessageManagement.cpp
william-redenbaugh/lazy-board
945d2c4c59a560141ee37f4d4eff84014eb997d7
[ "MIT" ]
null
null
null
/* Author: William Redenbaugh Last Edit Date: 7/3/2020 */ #include "MessageManagement.hpp" /**************************************************************************/ /*! @brief Starts up our serial interface for doing message management stuff */ /*****************************************************...
42.512438
135
0.536337
william-redenbaugh
03878367d1516b142bd72beac2ad6a9f334095d0
1,391
cpp
C++
numerical_methods/qr_decomposition.cpp
dvijaymanohar/C-Plus-Plus
c987381c25858f08d0fe9301712ab6c1a10b433f
[ "MIT" ]
null
null
null
numerical_methods/qr_decomposition.cpp
dvijaymanohar/C-Plus-Plus
c987381c25858f08d0fe9301712ab6c1a10b433f
[ "MIT" ]
null
null
null
numerical_methods/qr_decomposition.cpp
dvijaymanohar/C-Plus-Plus
c987381c25858f08d0fe9301712ab6c1a10b433f
[ "MIT" ]
null
null
null
/** * @file * \brief Program to compute the [QR * decomposition](https://en.wikipedia.org/wiki/QR_decomposition) of a given * matrix. * \author [Krishna Vedala](https://github.com/kvedala) */ #include <array> #include <cmath> #include <cstdlib> #include <ctime> #include <iostream> #include "./qr_decompose.h" u...
23.576271
76
0.588066
dvijaymanohar
0387a307cd2e5a042924d2516566ba5618be1686
29
hpp
C++
src/boost_icl_set.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
10
2018-03-17T00:58:42.000Z
2021-07-06T02:48:49.000Z
src/boost_icl_set.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
2
2021-03-26T15:17:35.000Z
2021-05-20T23:55:08.000Z
src/boost_icl_set.hpp
miathedev/BoostForArduino
919621dcd0c157094bed4df752b583ba6ea6409e
[ "BSL-1.0" ]
4
2019-05-28T21:06:37.000Z
2021-07-06T03:06:52.000Z
#include <boost/icl/set.hpp>
14.5
28
0.724138
miathedev
03881eba2599fe39462ca635eb0a3e54fa74b7e6
4,912
cpp
C++
src/load_texture.cpp
joeld42/hexplanet
7450651c6bae0e490fecf26485c1e893e36c19b2
[ "BSD-3-Clause" ]
74
2015-01-07T21:22:07.000Z
2022-02-24T00:49:08.000Z
src/load_texture.cpp
mikicompany/hexplanet
7450651c6bae0e490fecf26485c1e893e36c19b2
[ "BSD-3-Clause" ]
2
2015-02-27T01:52:57.000Z
2016-06-09T21:09:50.000Z
src/load_texture.cpp
mikicompany/hexplanet
7450651c6bae0e490fecf26485c1e893e36c19b2
[ "BSD-3-Clause" ]
16
2015-02-27T00:19:40.000Z
2021-09-26T03:04:16.000Z
#ifdef WIN32 #include <windows.h> #endif #include <assert.h> #include <stdio.h> //#include <SDL.h> //#include <SDL_endian.h> #include <sys/types.h> #include <GL/glew.h> #include <GL/gl.h> #include <GL/glu.h> //#include "debug.h" #include "load_texture.h" #include <cstring> #include <cstdlib> ...
23.84466
89
0.667345
joeld42
0389994bab6e2f4250852f92faced8ab6ab7fe9b
4,025
cpp
C++
cppwinrt/Scenario5_TimeZone.cpp
lyahdav/CppWinRtUwpSandbox
aad073b768031589cb1165ce8e95cdf8897e35f6
[ "MIT" ]
2,504
2019-05-07T06:56:42.000Z
2022-03-31T19:37:59.000Z
cppwinrt/Scenario5_TimeZone.cpp
lyahdav/CppWinRtUwpSandbox
aad073b768031589cb1165ce8e95cdf8897e35f6
[ "MIT" ]
314
2019-05-08T16:56:30.000Z
2022-03-21T07:13:45.000Z
cppwinrt/Scenario5_TimeZone.cpp
lyahdav/CppWinRtUwpSandbox
aad073b768031589cb1165ce8e95cdf8897e35f6
[ "MIT" ]
2,219
2019-05-07T00:47:26.000Z
2022-03-30T21:12:31.000Z
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PA...
36.926606
95
0.59354
lyahdav
038bcc76f8b5878b30a9e9afed1879afa03d5161
98
hpp
C++
day07/part2.hpp
Moremar/advent_of_code_2016
dea264671fc2c31baa42b1282751dfd1ae071a7d
[ "Apache-2.0" ]
null
null
null
day07/part2.hpp
Moremar/advent_of_code_2016
dea264671fc2c31baa42b1282751dfd1ae071a7d
[ "Apache-2.0" ]
null
null
null
day07/part2.hpp
Moremar/advent_of_code_2016
dea264671fc2c31baa42b1282751dfd1ae071a7d
[ "Apache-2.0" ]
null
null
null
#pragma once #include "part1.hpp" namespace Part2 { int solve(const vector<IPv7> &ipv7s); }
12.25
41
0.683673
Moremar
03900391b39ebbac190e8d503c4f16e1759061c9
1,127
cpp
C++
LinkedList/27 Flatten a Linked List.cpp
i-am-grut/LoveBabbar-450-Questions
08faaa70198363c6ac481a67c548e1e7e4c7c591
[ "MIT" ]
2
2021-06-25T07:26:23.000Z
2022-01-28T22:24:34.000Z
LinkedList/27 Flatten a Linked List.cpp
i-am-grut/LoveBabbar-450-Questions
08faaa70198363c6ac481a67c548e1e7e4c7c591
[ "MIT" ]
null
null
null
LinkedList/27 Flatten a Linked List.cpp
i-am-grut/LoveBabbar-450-Questions
08faaa70198363c6ac481a67c548e1e7e4c7c591
[ "MIT" ]
null
null
null
Node* merge(Node* head1, Node* head2){ if(head1==NULL){ return head2; } if(head2==NULL){ return head1; } Node* head; Node* tail; if(head1->data<head2->data){ head=head1; head1=head1->bottom; } else{ head=head2; head2=head2->bottom; ...
20.490909
40
0.515528
i-am-grut
0393fe9403b7546e128cac1e9ab9542942c930c0
814
cpp
C++
source/GUIEventHandler.cpp
mackron/GTGameEngine
380d1e01774fe6bc2940979e4e5983deef0bf082
[ "BSD-3-Clause" ]
31
2015-03-19T08:44:48.000Z
2021-12-15T20:52:31.000Z
source/GUIEventHandler.cpp
mackron/GTGameEngine
380d1e01774fe6bc2940979e4e5983deef0bf082
[ "BSD-3-Clause" ]
19
2015-07-09T09:02:44.000Z
2016-06-09T03:51:03.000Z
source/GUIEventHandler.cpp
mackron/GTGameEngine
380d1e01774fe6bc2940979e4e5983deef0bf082
[ "BSD-3-Clause" ]
3
2017-10-04T23:38:18.000Z
2022-03-07T08:27:13.000Z
// Copyright (C) 2011 - 2014 David Reid. See included LICENCE. #include <GTGE/GUIEventHandler.hpp> #include <GTGE/GTEngine.hpp> namespace GT { GUIEventHandler::GUIEventHandler(Context &context) : context(context) { } GUIEventHandler::~GUIEventHandler() { } void GU...
20.35
63
0.565111
mackron
03949325044207fb77e58a6a962d4325237da81e
6,311
cpp
C++
ibtk/src/solvers/interfaces/GeneralOperator.cpp
MSV-Project/IBAMR
3cf614c31bb3c94e2620f165ba967cba719c45ea
[ "BSD-3-Clause" ]
2
2017-12-06T06:16:36.000Z
2021-03-13T12:28:08.000Z
ibtk/src/solvers/interfaces/GeneralOperator.cpp
MSV-Project/IBAMR
3cf614c31bb3c94e2620f165ba967cba719c45ea
[ "BSD-3-Clause" ]
null
null
null
ibtk/src/solvers/interfaces/GeneralOperator.cpp
MSV-Project/IBAMR
3cf614c31bb3c94e2620f165ba967cba719c45ea
[ "BSD-3-Clause" ]
null
null
null
// Filename: GeneralOperator.cpp // Created on 18 Nov 2003 by Boyce Griffith // // Copyright (c) 2002-2013, Boyce Griffith // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Redistribu...
28.427928
78
0.658533
MSV-Project
0395586291b97b7d6d42c0e646a979e6113a48c2
43,546
cxx
C++
main/jvmfwk/source/elements.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/jvmfwk/source/elements.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/jvmfwk/source/elements.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * 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 y...
33.678268
132
0.580145
Grosskopf
0397ae90f653d88bd3c81a9856111d9fcefea45d
574
hpp
C++
android-jni-support/src/main/cpp/includes/public/android-jni-support/jni_all.hpp
sephiroth74/android-jni-support
226018619f471af55e7d7eeb4aa67dcff0cba4f4
[ "MIT" ]
null
null
null
android-jni-support/src/main/cpp/includes/public/android-jni-support/jni_all.hpp
sephiroth74/android-jni-support
226018619f471af55e7d7eeb4aa67dcff0cba4f4
[ "MIT" ]
null
null
null
android-jni-support/src/main/cpp/includes/public/android-jni-support/jni_all.hpp
sephiroth74/android-jni-support
226018619f471af55e7d7eeb4aa67dcff0cba4f4
[ "MIT" ]
null
null
null
#include <android-jni-support/jni_bindings.hpp> #include <android-jni-support/jni_boxed.hpp> #include <android-jni-support/jni_context.hpp> #include <android-jni-support/jni_env.hpp> #include <android-jni-support/jni_exceptions.hpp> #include <android-jni-support/jni_file_manager.hpp> #include <android-jni-support/jni_...
41
57
0.810105
sephiroth74
039db6e23a95d6439e07df9af53a11ae3c185261
7,395
cpp
C++
src/OrbitGl/GpuTrack.cpp
idfumg/orbit
578b20d3647b483b0d7834072b76933891c442fc
[ "BSD-2-Clause" ]
1
2021-09-02T05:51:50.000Z
2021-09-02T05:51:50.000Z
src/OrbitGl/GpuTrack.cpp
jayant99acharya/orbit
f713721e33448a6b0dc8ea4c5aa587855337e32c
[ "BSD-2-Clause" ]
null
null
null
src/OrbitGl/GpuTrack.cpp
jayant99acharya/orbit
f713721e33448a6b0dc8ea4c5aa587855337e32c
[ "BSD-2-Clause" ]
null
null
null
// Copyright (c) 2020 The Orbit 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 "GpuTrack.h" #include <absl/strings/str_format.h> #include <absl/time/time.h> #include <algorithm> #include <memory> #include "App.h" #includ...
31.602564
100
0.69263
idfumg
039dc891ad557e6d811b7b8890a9398b0ed2462f
1,050
cpp
C++
cities.cpp
mlkra/sa_tsp
eaaea134e8f4c670fc823b777c37fd3735f5ca94
[ "BSD-3-Clause" ]
null
null
null
cities.cpp
mlkra/sa_tsp
eaaea134e8f4c670fc823b777c37fd3735f5ca94
[ "BSD-3-Clause" ]
null
null
null
cities.cpp
mlkra/sa_tsp
eaaea134e8f4c670fc823b777c37fd3735f5ca94
[ "BSD-3-Clause" ]
null
null
null
#include "cities.hpp" #include <iostream> #include <cmath> using namespace std; short n; city_t* cities; float maxDistance; float **distances; inline float calculateDistanceBetweenCities(int city1, int city2) { city_t c1 = cities[city1]; city_t c2 = cities[city2]; return sqrt(pow(c1.x - c2.x, 2) + pow(c1.y - ...
19.811321
67
0.57619
mlkra
039f817ea9d050bc3e500b111467d3d27f79882a
19
cpp
C++
Direct2DNet/GUIDs.cpp
SansyHuman/Direct2DNet
345d981a07fd8cbdf7cf7e6ca9d7b493439dbd17
[ "MIT" ]
null
null
null
Direct2DNet/GUIDs.cpp
SansyHuman/Direct2DNet
345d981a07fd8cbdf7cf7e6ca9d7b493439dbd17
[ "MIT" ]
null
null
null
Direct2DNet/GUIDs.cpp
SansyHuman/Direct2DNet
345d981a07fd8cbdf7cf7e6ca9d7b493439dbd17
[ "MIT" ]
null
null
null
#include "GUIDs.h"
9.5
18
0.684211
SansyHuman
03a20e55b7b062645a7ffa6b031e7937ef71e49f
1,467
hpp
C++
Siv3D/src/ThirdParty/boost/geometry/extensions/util/get_cs_as_radian.hpp
yumetodo/OpenSiv3D
ea191438ecbc64185f5df3d9f79dffc6757e4192
[ "MIT" ]
709
2016-03-19T07:55:58.000Z
2022-03-31T08:02:22.000Z
Siv3D/src/ThirdParty/boost/geometry/extensions/util/get_cs_as_radian.hpp
yumetodo/OpenSiv3D
ea191438ecbc64185f5df3d9f79dffc6757e4192
[ "MIT" ]
623
2015-01-02T23:45:23.000Z
2022-03-09T11:15:23.000Z
Siv3D/src/ThirdParty/boost/geometry/extensions/util/get_cs_as_radian.hpp
yumetodo/OpenSiv3D
ea191438ecbc64185f5df3d9f79dffc6757e4192
[ "MIT" ]
215
2015-01-14T15:50:38.000Z
2022-02-23T03:58:36.000Z
// Boost.Geometry (aka GGL, Generic Geometry Library) // Copyright (c) 2007-2012 Barend Gehrels, Amsterdam, the Netherlands. // Copyright (c) 2008-2012 Bruno Lalande, Paris, France. // Copyright (c) 2009-2012 Mateusz Loskot, London, UK. // Parts of Boost.Geometry are redesigned from Geodan's Geographic Library // (ge...
26.196429
79
0.72938
yumetodo
03a280593c4e17359e982b44a061bdc4ee8562ed
860
cpp
C++
Dynamic Programming/Edit Distance.cpp
razouq/cses
82534f4ac37a690b5cd72ab094d5276bd01dd64e
[ "MIT" ]
3
2021-03-14T18:47:13.000Z
2021-03-19T09:59:56.000Z
Dynamic Programming/Edit Distance.cpp
razouq/cses
82534f4ac37a690b5cd72ab094d5276bd01dd64e
[ "MIT" ]
null
null
null
Dynamic Programming/Edit Distance.cpp
razouq/cses
82534f4ac37a690b5cd72ab094d5276bd01dd64e
[ "MIT" ]
null
null
null
#include "bits/stdc++.h" #pragma GCC optimize ("O3") #pragma GCC target ("sse4") #define ll long long #define ull unsigned long long #define F first #define S second #define PB push_back #define POB pop_back using namespace std; int main(){ // freopen("input.in", "r", stdin); // freopen("output.out", "w", stdout); i...
20
53
0.537209
razouq
03a5ca67f0112bbcc173c272cb09bd5798558b96
1,753
cpp
C++
euphony/src/main/cpp/tests/packetWithFSKTest.cpp
aiclaudev/euphony
a1ad79a8c3d89aaa7e33b41623a65d1e0830f88b
[ "Apache-2.0" ]
18
2019-07-08T16:44:15.000Z
2021-08-03T04:28:55.000Z
euphony/src/main/cpp/tests/packetWithFSKTest.cpp
aiclaudev/euphony
a1ad79a8c3d89aaa7e33b41623a65d1e0830f88b
[ "Apache-2.0" ]
39
2021-08-09T14:09:51.000Z
2021-10-19T15:18:44.000Z
euphony/src/main/cpp/tests/packetWithFSKTest.cpp
aiclaudev/euphony
a1ad79a8c3d89aaa7e33b41623a65d1e0830f88b
[ "Apache-2.0" ]
20
2019-11-25T13:08:09.000Z
2021-08-03T09:28:17.000Z
#include <gtest/gtest.h> #include <Definitions.h> #include <Packet.h> #include <FSK.h> #include <FFTProcessor.h> #include <tuple> #include <ASCIICharset.h> #include <Base16.h> using namespace Euphony; typedef std::tuple<string, string> TestParamType; class PacketWithFSKTestFixture : public ::testing::TestWithParam<T...
27.390625
111
0.685682
aiclaudev
03a63668aad34b79c614e7504a8601cee18e6fbc
4,172
cpp
C++
Step1/skip_list/calcSimilaritySL.cpp
ediston/Link-Clustering-Algorithm
e93a4b92f50bedae75c779937b5242d487075043
[ "Unlicense" ]
2
2015-05-20T09:05:30.000Z
2017-11-08T09:23:54.000Z
Step1/skip_list/calcSimilaritySL.cpp
ediston/Link-Clustering-Algorithm
e93a4b92f50bedae75c779937b5242d487075043
[ "Unlicense" ]
null
null
null
Step1/skip_list/calcSimilaritySL.cpp
ediston/Link-Clustering-Algorithm
e93a4b92f50bedae75c779937b5242d487075043
[ "Unlicense" ]
null
null
null
#include <bits/stdc++.h> #include <ctime> using namespace std; #define MAX_HIEGHT 32 #define ONEIN 2 #define INFINITY 99999999 //long long totalComparisons; int getRandom(){ return rand() % ONEIN; } struct node{ long long nodeId; node *next; node *below; }; struct skipList{ int height; l...
25.595092
66
0.55489
ediston
03a6370a87b8c07123e50f574eb49096e7812a65
49,081
cc
C++
EventFilter/SiStripRawToDigi/plugins/SiStripRawToDigiUnpacker.cc
gputtley/cmssw
c1ef8454804e4ebea8b65f59c4a952a6c94fde3b
[ "Apache-2.0" ]
2
2020-05-09T16:03:43.000Z
2020-05-09T16:03:50.000Z
EventFilter/SiStripRawToDigi/plugins/SiStripRawToDigiUnpacker.cc
gputtley/cmssw
c1ef8454804e4ebea8b65f59c4a952a6c94fde3b
[ "Apache-2.0" ]
26
2018-10-30T12:47:58.000Z
2022-03-29T08:39:00.000Z
EventFilter/SiStripRawToDigi/plugins/SiStripRawToDigiUnpacker.cc
gputtley/cmssw
c1ef8454804e4ebea8b65f59c4a952a6c94fde3b
[ "Apache-2.0" ]
3
2017-06-07T15:22:28.000Z
2019-02-28T20:48:30.000Z
#include "SiStripRawToDigiUnpacker.h" #include "CondFormats/SiStripObjects/interface/SiStripFedCabling.h" #include "DataFormats/Common/interface/DetSet.h" #include "DataFormats/FEDRawData/interface/FEDRawDataCollection.h" #include "DataFormats/FEDRawData/interface/FEDNumbering.h" #include "DataFormats/FEDRawData/interf...
44.217117
120
0.556325
gputtley
03aa24232976241ad41da7c39d7bcc78ffdd407a
125,010
cpp
C++
src/KScripts/New/assign_KSVGs.cpp
HonzaMD/Krkal2
e53e9b096d89d1441ec472deb6d695c45bcae41f
[ "OLDAP-2.5" ]
1
2018-04-01T16:47:52.000Z
2018-04-01T16:47:52.000Z
src/KScripts/assign_KSVGs.cpp
HonzaMD/Krkal2
e53e9b096d89d1441ec472deb6d695c45bcae41f
[ "OLDAP-2.5" ]
null
null
null
src/KScripts/assign_KSVGs.cpp
HonzaMD/Krkal2
e53e9b096d89d1441ec472deb6d695c45bcae41f
[ "OLDAP-2.5" ]
null
null
null
////////////////////////////////////////////////////////////////////////////// /// /// A s s i g n K S V G S /// /// Pridam vsechny KSVGs a jejich alokacni a rirazovaci fce /// do hashovaci tabulky /// A:Generated Automatically /// //////////////////////////////////////////////////////////////////////////...
93.710645
358
0.891873
HonzaMD
03aa71e8c7a29034e90e505bfa83c2e2a3adc259
2,569
cpp
C++
02-03_Pseudo-Var-Decide/Wk3-1_Var-Decide.cpp
jwatson-CO-edu/CSCI1300-105_Demo
49cbdc54b510288e52e18d70daa519a0b3f949a3
[ "MIT" ]
null
null
null
02-03_Pseudo-Var-Decide/Wk3-1_Var-Decide.cpp
jwatson-CO-edu/CSCI1300-105_Demo
49cbdc54b510288e52e18d70daa519a0b3f949a3
[ "MIT" ]
null
null
null
02-03_Pseudo-Var-Decide/Wk3-1_Var-Decide.cpp
jwatson-CO-edu/CSCI1300-105_Demo
49cbdc54b510288e52e18d70daa519a0b3f949a3
[ "MIT" ]
null
null
null
// Include libraries with useful functions #include <iostream> // Input and output #include <cmath> // -- pow #include <stdlib.h> // srand, rand #include <time.h> // - time /* You don't have to use an entire namespace, you can use specific variables and functions within the namespace. This will make compilation...
33.802632
85
0.574153
jwatson-CO-edu
03b42bb2a9da0dbde0aed8332502363b92e2161c
870
cpp
C++
0461. Hamming Distance.cpp
RickTseng/Cpp_LeetCode
6a710b8abc268eba767bc17d91d046b90a7e34a9
[ "MIT" ]
1
2021-09-13T00:58:59.000Z
2021-09-13T00:58:59.000Z
0461. Hamming Distance.cpp
RickTseng/Cpp_LeetCode
6a710b8abc268eba767bc17d91d046b90a7e34a9
[ "MIT" ]
null
null
null
0461. Hamming Distance.cpp
RickTseng/Cpp_LeetCode
6a710b8abc268eba767bc17d91d046b90a7e34a9
[ "MIT" ]
null
null
null
#include <algorithm> #include <vector> #include <string> #include <map> #include <queue> using namespace std; class Solution { public: int hammingDistance(int x, int y) { vector<unsigned long> table(32,1); for(int i = 1;i<32;i++){ table[i] = table[i-1] * 2; } unsigned lon...
21.219512
84
0.502299
RickTseng
03b52bc22b044d681d96ac4ed7ba0b1670943a4d
5,351
cpp
C++
src/bindings/swig/wrapped/WrappedInterpreterMonitor.cpp
alexzhornyak/uscxml
82b44ceeefbe1dc12fc606dc1948f9cebaf67a08
[ "BSD-2-Clause" ]
1
2020-01-09T13:51:21.000Z
2020-01-09T13:51:21.000Z
src/bindings/swig/wrapped/WrappedInterpreterMonitor.cpp
galaxy1978/uscxml
8be7b9cb67177bb0e34ca5c5cdb8508319bcda2d
[ "BSD-2-Clause" ]
1
2021-05-18T12:13:30.000Z
2021-05-18T12:14:50.000Z
src/bindings/swig/wrapped/WrappedInterpreterMonitor.cpp
galaxy1978/uscxml
8be7b9cb67177bb0e34ca5c5cdb8508319bcda2d
[ "BSD-2-Clause" ]
1
2021-04-08T08:57:40.000Z
2021-04-08T08:57:40.000Z
/** * @file * @author 2012-2014 Stefan Radomski (stefan.radomski@cs.tu-darmstadt.de) * @copyright Simplified BSD * * @cond * This program is free software: you can redistribute it and/or modify * it under the terms of the FreeBSD license as published by the FreeBSD * project. * * This program is ...
36.155405
144
0.766773
alexzhornyak
03b6354095f6839d15c64f51d3145156f59ad565
2,893
cpp
C++
src/mayaToLux/src/textures/gaussianTexture.cpp
haggi/OpenMaya
746e0740f480d9ef8d2173f31b3c99b9b0ea0d24
[ "MIT" ]
42
2015-01-03T15:07:25.000Z
2021-12-09T03:56:59.000Z
src/mayaToLux/src/textures/gaussianTexture.cpp
haggi/OpenMaya
746e0740f480d9ef8d2173f31b3c99b9b0ea0d24
[ "MIT" ]
66
2015-01-02T13:28:44.000Z
2022-03-16T14:00:57.000Z
src/mayaToLux/src/textures/gaussianTexture.cpp
haggi/OpenMaya
746e0740f480d9ef8d2173f31b3c99b9b0ea0d24
[ "MIT" ]
12
2015-02-07T05:02:17.000Z
2020-07-10T17:21:44.000Z
#include "gaussianTexture.h" #include <math.h> #include <maya/MPlug.h> #include <maya/MDataBlock.h> #include <maya/MDataHandle.h> #include <maya/MFnNumericAttribute.h> #include <maya/MFnEnumAttribute.h> #include <maya/MFnGenericAttribute.h> #include <maya/MFnMessageAttribute.h> #include <maya/MFnTypedAttribute.h> #incl...
26.3
106
0.639475
haggi