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
138b76dce495b006a8db1478e0c30014407eb225
11,524
cpp
C++
example/runtime_property_change.cpp
JSUYA/rive-tizen
f62cf0bc8a60bc4293855150e926163d446ac57e
[ "MIT" ]
null
null
null
example/runtime_property_change.cpp
JSUYA/rive-tizen
f62cf0bc8a60bc4293855150e926163d446ac57e
[ "MIT" ]
null
null
null
example/runtime_property_change.cpp
JSUYA/rive-tizen
f62cf0bc8a60bc4293855150e926163d446ac57e
[ "MIT" ]
null
null
null
#include <thread> #include <dirent.h> #include <algorithm> #include <Elementary.h> #include <rive_tizen.hpp> #include "shapes/paint/fill.hpp" #include "shapes/paint/stroke.hpp" #include "shapes/paint/color.hpp" #include "shapes/paint/solid_color.hpp" #include "animation/linear_animation_instance.hpp" #include "artboar...
33.114943
129
0.738719
JSUYA
138e11ef61f9342e7b2e8b4cd1c556cf7272247f
2,680
cpp
C++
src/nc/common/Escaping.cpp
treadstoneproject/tracethreat_nrml
bcf666b01c20f7da4234fed018dad3b2cf4d3d28
[ "Apache-2.0" ]
6
2016-09-06T02:10:08.000Z
2021-01-19T09:02:04.000Z
src/nc/common/Escaping.cpp
treadstoneproject/tracethreat_nrml
bcf666b01c20f7da4234fed018dad3b2cf4d3d28
[ "Apache-2.0" ]
null
null
null
src/nc/common/Escaping.cpp
treadstoneproject/tracethreat_nrml
bcf666b01c20f7da4234fed018dad3b2cf4d3d28
[ "Apache-2.0" ]
6
2015-10-02T14:11:45.000Z
2021-01-19T09:02:07.000Z
/* The file is part of Snowman decompiler. */ /* See doc/licenses.asciidoc for the licensing information. */ // // SmartDec decompiler - SmartDec is a native code to C/C++ decompiler // Copyright (C) 2015 Alexander Chernov, Katerina Troshina, Yegor Derevenets, // Alexander Fokin, Sergey Levin, Leonid Tsvetkov // // Th...
26.019417
79
0.496269
treadstoneproject
13902d871b65094252561d3245951094dd1dc8ce
19,406
hpp
C++
src/dense/DistributedMatrix.hpp
skn123/STRUMPACK
4c2f9b0b411e9a334900acab02ea89d91fbc8e59
[ "BSD-3-Clause-LBNL" ]
77
2017-06-11T15:18:56.000Z
2022-03-28T02:01:28.000Z
src/dense/DistributedMatrix.hpp
skn123/STRUMPACK
4c2f9b0b411e9a334900acab02ea89d91fbc8e59
[ "BSD-3-Clause-LBNL" ]
42
2017-11-02T12:18:04.000Z
2022-03-19T15:07:58.000Z
src/dense/DistributedMatrix.hpp
skn123/STRUMPACK
4c2f9b0b411e9a334900acab02ea89d91fbc8e59
[ "BSD-3-Clause-LBNL" ]
19
2017-07-22T14:31:37.000Z
2021-09-25T04:04:23.000Z
/* * STRUMPACK -- STRUctured Matrices PACKage, Copyright (c) 2014, The * Regents of the University of California, through Lawrence Berkeley * National Laboratory (subject to receipt of any required approvals * from the U.S. Dept. of Energy). All rights reserved. * * If you have questions about your rights to use...
41.289362
87
0.651036
skn123
ca5cb1098c67ed0ca812b1b9b7acaab7ab34ed61
2,846
cpp
C++
Tuniac1/tak_Plugin/TAKDecoder.cpp
Harteex/Tuniac
dac98a68c1b801b7fc82874aad16cc8adcabb606
[ "BSD-3-Clause" ]
3
2022-01-05T08:47:51.000Z
2022-01-06T12:42:18.000Z
Tuniac1/tak_Plugin/TAKDecoder.cpp
Harteex/Tuniac
dac98a68c1b801b7fc82874aad16cc8adcabb606
[ "BSD-3-Clause" ]
null
null
null
Tuniac1/tak_Plugin/TAKDecoder.cpp
Harteex/Tuniac
dac98a68c1b801b7fc82874aad16cc8adcabb606
[ "BSD-3-Clause" ]
1
2022-01-06T16:12:58.000Z
2022-01-06T16:12:58.000Z
#include "StdAfx.h" #include "takdecoder.h" CTAKDecoder::CTAKDecoder(void) { } CTAKDecoder::~CTAKDecoder(void) { } bool CTAKDecoder::Open(LPTSTR szSource) { char tempname[MAX_PATH]; WideCharToMultiByte(CP_UTF8, 0, szSource, -1, tempname, MAX_PATH, 0, 0); Options.Cpu = tak_Cpu_Any; Option...
21.398496
88
0.665847
Harteex
ca5d21327bc4d8d6f6d46093549bd84a15c69721
13,552
cpp
C++
taichi/ir/ir.cpp
gaoxinge/taichi
86d403f071b8505858763d4712b37cd71b89db91
[ "MIT" ]
1
2020-11-10T07:17:01.000Z
2020-11-10T07:17:01.000Z
taichi/ir/ir.cpp
gaoxinge/taichi
86d403f071b8505858763d4712b37cd71b89db91
[ "MIT" ]
1
2020-08-24T05:18:43.000Z
2020-08-24T05:18:43.000Z
taichi/ir/ir.cpp
gaoxinge/taichi
86d403f071b8505858763d4712b37cd71b89db91
[ "MIT" ]
null
null
null
#include "taichi/ir/ir.h" #include <numeric> #include <thread> #include <unordered_map> // #include "taichi/ir/analysis.h" #include "taichi/ir/statements.h" #include "taichi/ir/transforms.h" namespace taichi { namespace lang { std::string snode_access_flag_name(SNodeAccessFlag type) { if (type == SNodeAccessFlag:...
26.835644
80
0.652966
gaoxinge
ca5e1cf6af97b55dfbe6ab458a620d084e887766
3,835
cpp
C++
example/rsp/rsp_engine.cpp
krakeusz/bot-judge
d4879f7e58ecb91d6668d7e317018a8a184a4923
[ "MIT" ]
null
null
null
example/rsp/rsp_engine.cpp
krakeusz/bot-judge
d4879f7e58ecb91d6668d7e317018a8a184a4923
[ "MIT" ]
null
null
null
example/rsp/rsp_engine.cpp
krakeusz/bot-judge
d4879f7e58ecb91d6668d7e317018a8a184a4923
[ "MIT" ]
null
null
null
// Rock, Scissors, Paper engine #include "engine.h" #include <algorithm> #include <array> #include <cctype> #include <cstring> #include <limits> #include <memory> namespace Engine { using std::array; using std::string; using std::to_string; using std::unique_ptr; using std::vector; class Choice { public: virtual...
27.589928
99
0.652151
krakeusz
ca5fef96d6c71e371afbac6047fcbf7d6beb5198
5,407
cxx
C++
Src/Decimation/qslim-2.1/tools/qslim/main.cxx
AspdenGroup/PeleAnalysis_Aspden
4259efa97a65a646a4e1bc3493cd9dae1e7024c5
[ "BSD-3-Clause-LBNL" ]
null
null
null
Src/Decimation/qslim-2.1/tools/qslim/main.cxx
AspdenGroup/PeleAnalysis_Aspden
4259efa97a65a646a4e1bc3493cd9dae1e7024c5
[ "BSD-3-Clause-LBNL" ]
null
null
null
Src/Decimation/qslim-2.1/tools/qslim/main.cxx
AspdenGroup/PeleAnalysis_Aspden
4259efa97a65a646a4e1bc3493cd9dae1e7024c5
[ "BSD-3-Clause-LBNL" ]
null
null
null
/************************************************************************ Main QSlim file. Copyright (C) 1998 Michael Garland. See "COPYING.txt" for details. $Id: main.cxx,v 1.1.1.1 2006/09/20 01:42:05 marc Exp $ ************************************************************************/ #include <stdmix.h...
20.716475
77
0.64546
AspdenGroup
ca6035e03a2fc225a5fcdb566961c571c0301f95
1,012
hpp
C++
idock/src/matrix.hpp
kingdavid72/Calici-Nebular
6bd51f63c7de37605dcbfbd3669462a997638ffb
[ "Apache-2.0" ]
30
2015-02-09T00:53:09.000Z
2022-01-19T13:36:20.000Z
idock/src/matrix.hpp
kingdavid72/Calici-Nebular
6bd51f63c7de37605dcbfbd3669462a997638ffb
[ "Apache-2.0" ]
3
2016-06-16T18:07:30.000Z
2019-01-15T23:45:34.000Z
idock/src/matrix.hpp
kingdavid72/Calici-Nebular
6bd51f63c7de37605dcbfbd3669462a997638ffb
[ "Apache-2.0" ]
19
2015-04-15T12:48:13.000Z
2021-04-19T11:30:46.000Z
#pragma once #ifndef IDOCK_MATRIX_HPP #define IDOCK_MATRIX_HPP #include "atom.hpp" /// Returns the flattened 1D index of a 2D index (i, j) where j is the lowest dimension. inline size_t triangular_matrix_restrictive_index(const size_t i, const size_t j) { BOOST_ASSERT(i <= j); return i + j * (j + 1) / 2; ...
28.914286
106
0.687747
kingdavid72
ca6066f57caf92d7c73421cabf138b9710992ac9
7,134
hpp
C++
water/cmath.hpp
watercpp/water
7a9a292a2513529cf5dabac1bc7a755055dac9b5
[ "MIT" ]
5
2017-04-18T18:18:50.000Z
2018-08-03T09:13:26.000Z
water/cmath.hpp
watercpp/water
7a9a292a2513529cf5dabac1bc7a755055dac9b5
[ "MIT" ]
null
null
null
water/cmath.hpp
watercpp/water
7a9a292a2513529cf5dabac1bc7a755055dac9b5
[ "MIT" ]
null
null
null
// Copyright 2017-2018 Johan Paulsson // This file is part of the Water C++ Library. It is licensed under the MIT License. // See the license.txt file in this distribution or https://watercpp.com/license.txt //\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_/\_ #ifndef WATER_CMATH_HPP #d...
32.135135
168
0.586207
watercpp
ca60e53e1af9091655a0f3e5461747ad89db7587
54
hpp
C++
addons/common/ui/script_component.hpp
JeffPerk/HavocTeam
6fb616c41da4baece79ebac941bac72a78c715f9
[ "MIT" ]
null
null
null
addons/common/ui/script_component.hpp
JeffPerk/HavocTeam
6fb616c41da4baece79ebac941bac72a78c715f9
[ "MIT" ]
7
2021-11-22T04:36:52.000Z
2021-12-13T18:55:24.000Z
addons/common/ui/script_component.hpp
JeffPerk/HavocTeam
6fb616c41da4baece79ebac941bac72a78c715f9
[ "MIT" ]
null
null
null
#include "\z\havoc\addons\common\script_component.hpp"
54
54
0.814815
JeffPerk
ca61ff9a42d7076e2baffa1e949c520814dbd950
1,435
cpp
C++
src/core/Platform.cpp
GiorgioCaculli/Sokoban-Cpp
96447016268d1a23a9cb2291480f851d0d5b90dc
[ "BSD-3-Clause" ]
null
null
null
src/core/Platform.cpp
GiorgioCaculli/Sokoban-Cpp
96447016268d1a23a9cb2291480f851d0d5b90dc
[ "BSD-3-Clause" ]
null
null
null
src/core/Platform.cpp
GiorgioCaculli/Sokoban-Cpp
96447016268d1a23a9cb2291480f851d0d5b90dc
[ "BSD-3-Clause" ]
null
null
null
#include <gzc/games/sokoban/core/Platform.hpp> #include <sstream> #include <iostream> using namespace sokoban::core; /** * Default constructor for the platforms * @param x The X coordinates on the board * @param y The Y coordinates on the board */ Platform::Platform( float x, float y ) : Actor( x, y ) { ...
21.41791
68
0.671777
GiorgioCaculli
ca6201110f6438634a84462fec388e7743bca691
915
cpp
C++
2020/practice/e.cpp
Akash671/KickStart
7cf7e572408203c881d56989fb37e6270bd696f0
[ "CC0-1.0" ]
1
2021-03-12T08:39:01.000Z
2021-03-12T08:39:01.000Z
2020/practice/e.cpp
Akash671/KickStart
7cf7e572408203c881d56989fb37e6270bd696f0
[ "CC0-1.0" ]
null
null
null
2020/practice/e.cpp
Akash671/KickStart
7cf7e572408203c881d56989fb37e6270bd696f0
[ "CC0-1.0" ]
1
2021-03-20T18:55:52.000Z
2021-03-20T18:55:52.000Z
/* author : @akash kumar */ #include<bits/stdc++.h> using namespace std; #define ll long long int #define mod 1000000007 #define pb push_back #define ld long double int solve(vector<int> array) { int maxLen = 0; for(int i = 0; i < array.size() - 1;) { int j = i; int common_difference = ar...
19.0625
85
0.488525
Akash671
ca6419b9acb25bfe19a56a39f202357d48d11cc4
12,028
cpp
C++
src/services/pcn-loadbalancer-rp/src/Lbrp.cpp
francescomessina/polycube
38f2fb4ffa13cf51313b3cab9994be738ba367be
[ "ECL-2.0", "Apache-2.0" ]
1
2019-10-02T23:09:42.000Z
2019-10-02T23:09:42.000Z
src/services/pcn-loadbalancer-rp/src/Lbrp.cpp
l1b0k/polycube
7af919245c131fa9fe24c5d39d10039cbb81e825
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/services/pcn-loadbalancer-rp/src/Lbrp.cpp
l1b0k/polycube
7af919245c131fa9fe24c5d39d10039cbb81e825
[ "ECL-2.0", "Apache-2.0" ]
1
2019-09-02T10:05:14.000Z
2019-09-02T10:05:14.000Z
/* * Copyright 2018 The Polycube Authors * * 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...
30.605598
80
0.647406
francescomessina
ca6421ef2d2e5cbed7a2689915d48c40fccf5b52
596
cpp
C++
Resources/Example Code/12 Pointers and Memory Management/Addresses/addresses.cpp
tdfairch2/CS200-Concepts-of-Progamming-Algorithms
050510da8eea06aff3519097cc5f22831036b7cf
[ "MIT" ]
null
null
null
Resources/Example Code/12 Pointers and Memory Management/Addresses/addresses.cpp
tdfairch2/CS200-Concepts-of-Progamming-Algorithms
050510da8eea06aff3519097cc5f22831036b7cf
[ "MIT" ]
null
null
null
Resources/Example Code/12 Pointers and Memory Management/Addresses/addresses.cpp
tdfairch2/CS200-Concepts-of-Progamming-Algorithms
050510da8eea06aff3519097cc5f22831036b7cf
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; void SetNumber( int& number ) { number = 5; } int main() { int myNumber1, myNumber2, myNumber3; SetNumber( myNumber1 ); myNumber2 = 20; myNumber3 = 10; cout << "Variable value 1: " << myNumber1 << endl; cout << "Variable address 1: " << &myNumber...
22.074074
65
0.578859
tdfairch2
ca646a7722c5f56c31892659460ea273df62f7df
12,114
cpp
C++
src/pk.cpp
tjahn/mbedcrypto
23ea27d1d7602e0f2c4e8c8c148b73ca7b4f1425
[ "MIT" ]
40
2016-04-01T15:20:24.000Z
2022-03-24T08:38:12.000Z
src/pk.cpp
tjahn/mbedcrypto
23ea27d1d7602e0f2c4e8c8c148b73ca7b4f1425
[ "MIT" ]
4
2017-12-12T09:04:38.000Z
2021-01-30T04:19:05.000Z
src/pk.cpp
tjahn/mbedcrypto
23ea27d1d7602e0f2c4e8c8c148b73ca7b4f1425
[ "MIT" ]
15
2016-07-22T02:46:23.000Z
2020-12-23T15:57:37.000Z
#include "mbedcrypto/pk.hpp" #include "mbedcrypto/hash.hpp" #include "./pk_private.hpp" //----------------------------------------------------------------------------- namespace mbedcrypto { namespace pk { //----------------------------------------------------------------------------- static_assert(std::is_copy_constr...
22.856604
79
0.586264
tjahn
ca650fbc9b9fd882424e6ff6e6b4821782aaf19e
1,455
cpp
C++
dev/Basic/long/database/entity/TravelTime.cpp
gusugusu1018/simmobility-prod
d30a5ba353673f8fd35f4868c26994a0206a40b6
[ "MIT" ]
50
2018-12-21T08:21:38.000Z
2022-01-24T09:47:59.000Z
dev/Basic/long/database/entity/TravelTime.cpp
gusugusu1018/simmobility-prod
d30a5ba353673f8fd35f4868c26994a0206a40b6
[ "MIT" ]
2
2018-12-19T13:42:47.000Z
2019-05-13T04:11:45.000Z
dev/Basic/long/database/entity/TravelTime.cpp
gusugusu1018/simmobility-prod
d30a5ba353673f8fd35f4868c26994a0206a40b6
[ "MIT" ]
27
2018-11-28T07:30:34.000Z
2022-02-05T02:22:26.000Z
/* * TravelTime.cpp * * Created on: 11 Mar 2016 * Author: gishara */ #include "TravelTime.hpp" #include "util/Utils.hpp" using namespace sim_mob::long_term; TravelTime::TravelTime(BigSerial origin, BigSerial destination, double carTravelTime,double publicTravelTime,double numTransfers): origin(origin), des...
20.785714
235
0.692784
gusugusu1018
ca67342f1bf4fc8fd50302e0c131e91b518a2dd6
1,887
cpp
C++
src/ScriptInterface/TitleFormat.cpp
marc2k3/foo_jscript_panel
3bc2dedd8c0961993bd3a13ddd4e69f4c6832cdb
[ "MIT" ]
139
2017-12-22T12:53:03.000Z
2022-03-01T08:27:25.000Z
src/ScriptInterface/TitleFormat.cpp
marc2k3/foo_jscript_panel
3bc2dedd8c0961993bd3a13ddd4e69f4c6832cdb
[ "MIT" ]
48
2018-01-14T17:21:19.000Z
2020-02-01T16:32:18.000Z
src/ScriptInterface/TitleFormat.cpp
marc2k3/foo_jscript_panel
3bc2dedd8c0961993bd3a13ddd4e69f4c6832cdb
[ "MIT" ]
27
2017-12-23T10:23:13.000Z
2022-03-22T10:50:37.000Z
#include "stdafx.h" #include "TitleFormat.h" TitleFormat::TitleFormat(const std::wstring& pattern) { const string8 upattern = from_wide(pattern); titleformat_compiler::get()->compile_safe(m_obj, upattern); } STDMETHODIMP TitleFormat::get__ptr(void** out) { if (!out) return E_POINTER; *out = m_obj.get_ptr(); ret...
24.192308
137
0.738209
marc2k3
ca6e22c41d1eddb977506f02d5c727cbac0634cf
340
cpp
C++
luogu/P6159.cpp
wznmickey/StudyInUMSJTU-JI
d4111de5995bfae06cd606464979c52ae631b8fb
[ "MIT" ]
1
2020-12-09T09:09:09.000Z
2020-12-09T09:09:09.000Z
luogu/P6159.cpp
wznmickey/StudyInUMSJTU-JI
d4111de5995bfae06cd606464979c52ae631b8fb
[ "MIT" ]
null
null
null
luogu/P6159.cpp
wznmickey/StudyInUMSJTU-JI
d4111de5995bfae06cd606464979c52ae631b8fb
[ "MIT" ]
1
2021-11-28T11:41:36.000Z
2021-11-28T11:41:36.000Z
#include <bits/stdc++.h> using namespace std; long long n, p, k, now, temp; int main() { scanf("%lld%lld%lld", &n, &p, &k); /* now = 0; for (int i = 0; i < k; i++) { temp = ((p + n - now) % n + p) % n; now = p; p = temp; } printf("%d", now); */ printf("%d",p*k...
17.894737
43
0.405882
wznmickey
ca7719da1517fa1dfa3598b76bf0cd357eb6b212
1,130
cpp
C++
LeetCode/198. House Robber.cpp
tanishq1g/cp_codes
80b8ccc9e195a66d6d317076fdd54a02cd21275b
[ "MIT" ]
null
null
null
LeetCode/198. House Robber.cpp
tanishq1g/cp_codes
80b8ccc9e195a66d6d317076fdd54a02cd21275b
[ "MIT" ]
null
null
null
LeetCode/198. House Robber.cpp
tanishq1g/cp_codes
80b8ccc9e195a66d6d317076fdd54a02cd21275b
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <map> #include <algorithm> #include <cstdlib> #include <string> #include <queue> #include <stack> using namespace std; // class Solution { // public: // // DP dynamic programming // int rob(vector<int>& nums) { // int s = nums.size(); // if(s == 0) re...
24.042553
59
0.453097
tanishq1g
ca797b779007981051fe156c68850c3b37152ce9
1,379
cpp
C++
Source Code/05_functions_and_random/05_04.cpp
rushone2010/CS_A150
0acab19e69c051f67b8dafe904ca77de0431958d
[ "MIT" ]
2
2017-03-18T22:04:47.000Z
2017-03-30T23:24:53.000Z
Source Code/05_functions_and_random/05_04.cpp
rushone2010/CS_A150
0acab19e69c051f67b8dafe904ca77de0431958d
[ "MIT" ]
null
null
null
Source Code/05_functions_and_random/05_04.cpp
rushone2010/CS_A150
0acab19e69c051f67b8dafe904ca77de0431958d
[ "MIT" ]
null
null
null
// Computes the area of a circle with the radius given and // the volume of a sphere with the radius given. #include <iostream> #include <cmath> using namespace std; const double PI = 3.14159; double area(double radius); // area - Computes the area of a circle with the radius given. // @param double - The...
25.537037
67
0.622915
rushone2010
ca79f6088eca14a295862089a21d9b78f20e9fb6
3,697
cpp
C++
src/librt/primitives/ell/ell_brep.cpp
lf-/brlcad
f91ea585c1a930a2e97c3f5a8274db8805ebbb46
[ "BSD-4-Clause", "BSD-3-Clause" ]
83
2021-03-10T05:54:52.000Z
2022-03-31T16:33:46.000Z
src/librt/primitives/ell/ell_brep.cpp
lf-/brlcad
f91ea585c1a930a2e97c3f5a8274db8805ebbb46
[ "BSD-4-Clause", "BSD-3-Clause" ]
13
2021-06-24T17:07:48.000Z
2022-03-31T15:31:33.000Z
src/librt/primitives/ell/ell_brep.cpp
lf-/brlcad
f91ea585c1a930a2e97c3f5a8274db8805ebbb46
[ "BSD-4-Clause", "BSD-3-Clause" ]
54
2021-03-10T07:57:06.000Z
2022-03-28T23:20:37.000Z
/* E L L _ B R E P . C P P * BRL-CAD * * Copyright (c) 2008-2021 United States Government as represented by * the U.S. Army Research Laboratory. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * version 2.1...
27.796992
85
0.600216
lf-
ca7af721bc525e5290e95b5b81e1fbfcd4070e14
2,791
cpp
C++
compiler/loco/src/IR/TensorShape.test.cpp
bogus-sudo/ONE-1
7052a817eff661ec2854ed2e7ee0de5e8ba82b55
[ "Apache-2.0" ]
255
2020-05-22T07:45:29.000Z
2022-03-29T23:58:22.000Z
compiler/loco/src/IR/TensorShape.test.cpp
bogus-sudo/ONE-1
7052a817eff661ec2854ed2e7ee0de5e8ba82b55
[ "Apache-2.0" ]
5,102
2020-05-22T07:48:33.000Z
2022-03-31T23:43:39.000Z
compiler/loco/src/IR/TensorShape.test.cpp
bogus-sudo/ONE-1
7052a817eff661ec2854ed2e7ee0de5e8ba82b55
[ "Apache-2.0" ]
120
2020-05-22T07:51:08.000Z
2022-02-16T19:08:05.000Z
/* * Copyright (c) 2019 Samsung Electronics Co., Ltd. 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...
19.794326
75
0.692942
bogus-sudo
ca7b6718574b0b2e80980fe993f72ae8d641c699
1,161
cpp
C++
nowcoder/contests/浙城校赛/C.cpp
songhn233/Algorithm-Packages
56d6f3c2467c175ab8a19b82bdfb25fc881e2206
[ "CC0-1.0" ]
1
2020-08-10T21:40:21.000Z
2020-08-10T21:40:21.000Z
nowcoder/contests/浙城校赛/C.cpp
songhn233/Algorithm-Packages
56d6f3c2467c175ab8a19b82bdfb25fc881e2206
[ "CC0-1.0" ]
null
null
null
nowcoder/contests/浙城校赛/C.cpp
songhn233/Algorithm-Packages
56d6f3c2467c175ab8a19b82bdfb25fc881e2206
[ "CC0-1.0" ]
null
null
null
#include<cstdio> #include<algorithm> #include<cstring> #include<iostream> #include<vector> #include<queue> #include<cmath> #include<map> #include<set> #define ll long long #define F(i,a,b) for(int i=(a);i<=(b);i++) #define mst(a,b) memset((a),(b),sizeof(a)) #define PII pair<int,int> #define rep(i,x,y) for(auto i=(x);i<...
23.22
67
0.485788
songhn233
ca7de9eee7bfae5c3aad7d20a516efcf8cb230bb
3,116
cpp
C++
src/IECore/FromCoreConverter.cpp
gcodebackups/cortex-vfx
72fa6c6eb3327fce4faf01361c8fcc2e1e892672
[ "BSD-3-Clause" ]
5
2016-07-26T06:09:28.000Z
2022-03-07T03:58:51.000Z
src/IECore/FromCoreConverter.cpp
turbosun/cortex
4bdc01a692652cd562f3bfa85f3dae99d07c0b15
[ "BSD-3-Clause" ]
null
null
null
src/IECore/FromCoreConverter.cpp
turbosun/cortex
4bdc01a692652cd562f3bfa85f3dae99d07c0b15
[ "BSD-3-Clause" ]
3
2015-03-25T18:45:24.000Z
2020-02-15T15:37:18.000Z
////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2008-2010, Image Engine Design 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: // // ...
39.948718
120
0.721759
gcodebackups
ca7e6735dca1ae95cec310cda7a885d1f20d74b1
142,444
cpp
C++
C10_Libraries/Plugins/VRExpansionPlugin/VRExpansionPlugin/Intermediate/Build/Win64/UE4Editor/Inc/VRExpansionPlugin/GrippableStaticMeshComponent.gen.cpp
Docdavies/Unreal-Engine-4-Virtual-Reality-Projects
86305b7a7c8112933e73bcd95d7d33a1d6b8c210
[ "MIT" ]
24
2019-04-20T01:46:33.000Z
2022-02-06T07:22:53.000Z
C10_Libraries/Plugins/VRExpansionPlugin/VRExpansionPlugin/Intermediate/Build/Win64/UE4Editor/Inc/VRExpansionPlugin/GrippableStaticMeshComponent.gen.cpp
Docdavies/Unreal-Engine-4-Virtual-Reality-Projects
86305b7a7c8112933e73bcd95d7d33a1d6b8c210
[ "MIT" ]
null
null
null
C10_Libraries/Plugins/VRExpansionPlugin/VRExpansionPlugin/Intermediate/Build/Win64/UE4Editor/Inc/VRExpansionPlugin/GrippableStaticMeshComponent.gen.cpp
Docdavies/Unreal-Engine-4-Virtual-Reality-Projects
86305b7a7c8112933e73bcd95d7d33a1d6b8c210
[ "MIT" ]
16
2019-06-03T16:02:56.000Z
2022-01-19T08:36:57.000Z
// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved. /*=========================================================================== Generated code exported from UnrealHeaderTool. DO NOT modify this manually! Edit the corresponding .h files instead! ==============================================================...
86.962149
881
0.873782
Docdavies
ca7ec0b1df0f7c046addc60c9aa536150ce2c972
1,477
cc
C++
CPP/No506.cc
hxz1998/funny_leetcode
1d2c425af09b57a030fc018ddc1e1a5ffb966cd0
[ "Apache-2.0" ]
null
null
null
CPP/No506.cc
hxz1998/funny_leetcode
1d2c425af09b57a030fc018ddc1e1a5ffb966cd0
[ "Apache-2.0" ]
null
null
null
CPP/No506.cc
hxz1998/funny_leetcode
1d2c425af09b57a030fc018ddc1e1a5ffb966cd0
[ "Apache-2.0" ]
null
null
null
/** * Created by Xiaozhong on 2020/10/6. * Copyright (c) 2020/10/6 Xiaozhong. All rights reserved. */ #include <vector> #include <iostream> #include <algorithm> #include <map> using namespace std; class Solution { public: vector<string> findRelativeRanks(vector<int> &nums) { vector<string> ans(nums.si...
25.465517
72
0.445498
hxz1998
ca7edf48008e93d1131ba1efae51b5ec54014aa2
492
cpp
C++
contest/AOJ/1601.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
7
2018-04-14T14:55:51.000Z
2022-01-31T10:49:49.000Z
contest/AOJ/1601.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
5
2018-04-14T14:28:49.000Z
2019-05-11T02:22:10.000Z
contest/AOJ/1601.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
null
null
null
#include "stack.hpp" #include "string.hpp" int main() { for (int n; n = in, n != 0;) { Vector<String> w(n, in); for (int i = 0;; ++i) { Stack<int> s({7, 7, 5, 7, 5}); for (int j = i; j < n && !s.empty(); ++j) { int k = s.top() - w[j].size(); if (k == 0) { continue; ...
18.923077
49
0.351626
not522
ca7f1e2fbfa8165834f1e421e1ce74cd2225376f
40,099
hpp
C++
1/Code/Source/Engine/Math.hpp
Zakhar-V/Prototypes
413a7ce9fdb2a6f3ba97a041f798c71351efc855
[ "MIT" ]
null
null
null
1/Code/Source/Engine/Math.hpp
Zakhar-V/Prototypes
413a7ce9fdb2a6f3ba97a041f798c71351efc855
[ "MIT" ]
null
null
null
1/Code/Source/Engine/Math.hpp
Zakhar-V/Prototypes
413a7ce9fdb2a6f3ba97a041f798c71351efc855
[ "MIT" ]
null
null
null
#pragma once #include "Common.hpp" #include "String.hpp" namespace ge { //----------------------------------------------------------------------------// // Defs //----------------------------------------------------------------------------// #ifdef _FAST_HALF_FLOAT # define FAST_HALF_FLOAT #endif ...
42.0766
219
0.540013
Zakhar-V
ca7f608f4a4652b4ee3ad834d27312c85d43967d
3,249
cpp
C++
src/GuacInstructionParser.cpp
unk0rrupt/collab-vm-server
30a18cc91b757216a08e900826b589ce29bc3bf0
[ "Apache-2.0" ]
74
2020-12-20T19:29:21.000Z
2021-12-04T14:59:29.000Z
src/GuacInstructionParser.cpp
unk0rrupt/collab-vm-server
30a18cc91b757216a08e900826b589ce29bc3bf0
[ "Apache-2.0" ]
2
2020-12-27T12:10:50.000Z
2021-01-24T12:38:24.000Z
src/GuacInstructionParser.cpp
unk0rrupt/collab-vm-server
30a18cc91b757216a08e900826b589ce29bc3bf0
[ "Apache-2.0" ]
4
2020-12-20T14:28:11.000Z
2021-08-20T17:01:11.000Z
#include "GuacInstructionParser.h" #include "CollabVM.h" #include <vector> #include <functional> #include <string> namespace GuacInstructionParser { typedef void (CollabVMServer::*InstructionHandler)(const std::shared_ptr<CollabVMUser>&, std::vector<char*>&); struct Instruction { std::string opcode; Instructi...
28.752212
121
0.667898
unk0rrupt
ca7f8f20d6226f5647a021787cd7a1f36fcf9078
1,797
cpp
C++
runtime/tree/pattern/ParseTreePattern.cpp
mengdemao/AntlrExpr
78ed13bf7f6eda26d3eae81c361e60321643f406
[ "BSD-3-Clause" ]
1
2021-12-19T14:03:24.000Z
2021-12-19T14:03:24.000Z
runtime/tree/pattern/ParseTreePattern.cpp
mengdemao/AntlrExpr
78ed13bf7f6eda26d3eae81c361e60321643f406
[ "BSD-3-Clause" ]
null
null
null
runtime/tree/pattern/ParseTreePattern.cpp
mengdemao/AntlrExpr
78ed13bf7f6eda26d3eae81c361e60321643f406
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2012-2017 The ANTLR Project. All rights reserved. * Use of this file is governed by the BSD 3-clause license that * can be found in the LICENSE.txt file in the project root. */ #include "tree/ParseTree.h" #include "tree/pattern/ParseTreePatternMatcher.h" #include "tree/pattern/ParseTreeMatch.h" #i...
27.646154
119
0.739009
mengdemao
ca7f96498664b6db97b9b5dada55d1605af3d885
3,310
cpp
C++
Applications/Utils/FileConverter/GMSH2OGS.cpp
yingtaohu/ogs
651ca2f903ee0bf5a8cfb505e8e2fd0562b4ce8e
[ "BSD-4-Clause" ]
null
null
null
Applications/Utils/FileConverter/GMSH2OGS.cpp
yingtaohu/ogs
651ca2f903ee0bf5a8cfb505e8e2fd0562b4ce8e
[ "BSD-4-Clause" ]
null
null
null
Applications/Utils/FileConverter/GMSH2OGS.cpp
yingtaohu/ogs
651ca2f903ee0bf5a8cfb505e8e2fd0562b4ce8e
[ "BSD-4-Clause" ]
null
null
null
/** * \file * \author Thomas Fischer * \date 2011-12-13 * \brief Implementation of the GMSH2OGS converter. * * \copyright * Copyright (c) 2012-2017, OpenGeoSys Community (http://www.opengeosys.org) * Distributed under a Modified BSD License. * See accompanying file LICENSE.txt or * ...
29.81982
196
0.641088
yingtaohu
ca82a20d582a0a492fc78bf81ff35f0f8f012d98
6,672
cc
C++
pointcloud-fusion/src/dense_map/DepthPredictor.cc
NetEaseAI-CVLab/CNN-MonoFusion
49598c8e9d2c9ae36c68a50460ae842ac8f43d98
[ "MIT" ]
71
2018-08-26T07:48:07.000Z
2022-01-20T16:09:09.000Z
pointcloud-fusion/src/dense_map/DepthPredictor.cc
NeteaseAI-CVLab/CNN-MonoFusion
49598c8e9d2c9ae36c68a50460ae842ac8f43d98
[ "MIT" ]
8
2018-10-29T06:41:30.000Z
2021-07-01T13:12:58.000Z
pointcloud-fusion/src/dense_map/DepthPredictor.cc
NeteaseAI-CVLab/CNN-MonoFusion
49598c8e9d2c9ae36c68a50460ae842ac8f43d98
[ "MIT" ]
8
2018-10-25T07:29:05.000Z
2019-05-29T01:58:31.000Z
#include "DepthPredictor.h" #include<iostream> #include<opencv2\core.hpp> #include<opencv2\highgui.hpp> #include<opencv2\imgproc.hpp> using namespace cv; DepthPredictor::DepthPredictor(ORB_SLAM2::Map* pMap, KeyFrameQueue* frame_queue, DenseMap* dense_map, std::string setting_file):mpOrbSlamMap(pMap), m_success(...
38.566474
128
0.553357
NetEaseAI-CVLab
ca83591bea06e0eb6195504f983983b1546884c3
1,950
cpp
C++
src/data_symbols.cpp
k0zmo/evmc
e5d87d5c2cccdf766db2ed90f324e5e14d786ca2
[ "MIT" ]
1
2022-01-28T13:25:38.000Z
2022-01-28T13:25:38.000Z
src/data_symbols.cpp
k0zmo/evmc
e5d87d5c2cccdf766db2ed90f324e5e14d786ca2
[ "MIT" ]
null
null
null
src/data_symbols.cpp
k0zmo/evmc
e5d87d5c2cccdf766db2ed90f324e5e14d786ca2
[ "MIT" ]
1
2019-09-02T06:15:11.000Z
2019-09-02T06:15:11.000Z
#include "data_symbols.h" #include <cstring> void data_symbols::add(string symbol_name, const char* data) { check_duplicates(symbol_name); check_cached_zeros(); strm_ << data; strm_ << 0_b; symbols_.emplace_back(std::move(symbol_name), current_offset_); current_offset_ = incr_check_overflow(cur...
30.952381
80
0.665128
k0zmo
ca8a4046ee63cb3d30f26b3b7e13cd82f2e2857d
3,322
cpp
C++
lib/Conversion/TorchToIREE/TorchToIREE.cpp
raikonenfnu/mlir-npcomp
29e1b2fe89848d58c9bc07e7df7ce651850a5244
[ "Apache-2.0" ]
null
null
null
lib/Conversion/TorchToIREE/TorchToIREE.cpp
raikonenfnu/mlir-npcomp
29e1b2fe89848d58c9bc07e7df7ce651850a5244
[ "Apache-2.0" ]
null
null
null
lib/Conversion/TorchToIREE/TorchToIREE.cpp
raikonenfnu/mlir-npcomp
29e1b2fe89848d58c9bc07e7df7ce651850a5244
[ "Apache-2.0" ]
null
null
null
//===----------------------------------------------------------------------===// // // 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 // //===---------------------------...
36.911111
80
0.62071
raikonenfnu
ca8b5ac687b1218fce1733ee8b56a306ab31e0ca
7,413
cc
C++
test/time_controller/external_time_controller.cc
wnpllrzodiac/webrtc_code_mirror
0e7b3a9dadc64266eba82b0fc1265b36b7794839
[ "BSD-3-Clause" ]
344
2016-07-03T11:45:20.000Z
2022-03-19T16:54:10.000Z
test/time_controller/external_time_controller.cc
wnpllrzodiac/webrtc_code_mirror
0e7b3a9dadc64266eba82b0fc1265b36b7794839
[ "BSD-3-Clause" ]
46
2019-03-30T07:28:41.000Z
2022-03-25T06:08:47.000Z
test/time_controller/external_time_controller.cc
wnpllrzodiac/webrtc_code_mirror
0e7b3a9dadc64266eba82b0fc1265b36b7794839
[ "BSD-3-Clause" ]
278
2016-04-26T07:37:12.000Z
2022-01-24T10:09:44.000Z
/* * Copyright 2019 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing ...
30.381148
80
0.711723
wnpllrzodiac
ca8b8095f0d1587130c2bb43b010b5c253a1915c
1,337
cpp
C++
Onboard-SDK/osdk-core/modules/src/filemgr/impl/mmap_file_buffer.cpp
dingpwen/osdk_flycontrol
583504bd4f9c73c5cb82223af8e5d7742d4f9c9d
[ "Apache-2.0" ]
null
null
null
Onboard-SDK/osdk-core/modules/src/filemgr/impl/mmap_file_buffer.cpp
dingpwen/osdk_flycontrol
583504bd4f9c73c5cb82223af8e5d7742d4f9c9d
[ "Apache-2.0" ]
null
null
null
Onboard-SDK/osdk-core/modules/src/filemgr/impl/mmap_file_buffer.cpp
dingpwen/osdk_flycontrol
583504bd4f9c73c5cb82223af8e5d7742d4f9c9d
[ "Apache-2.0" ]
null
null
null
// // Created by dji on 4/15/20. // #include "mmap_file_buffer.hpp" #include "dji_log.hpp" #include <string.h> namespace DJI { namespace OSDK { MmapFileBuffer::MmapFileBuffer() : fdAddr(NULL), curFilePos(0) {} MmapFileBuffer::~MmapFileBuffer() {} bool MmapFileBuffer::init(std::string path, uint64_t fileSize) { cu...
21.918033
93
0.681376
dingpwen
ca8d3adc7a6941a4f707b96064354bcd423eb344
4,599
cc
C++
libqpdf/QPDF_String.cc
schwarzeSocke/qpdf
e8b845dd0344c797b58bfa31b810af53595d2599
[ "Artistic-2.0", "Unlicense" ]
null
null
null
libqpdf/QPDF_String.cc
schwarzeSocke/qpdf
e8b845dd0344c797b58bfa31b810af53595d2599
[ "Artistic-2.0", "Unlicense" ]
null
null
null
libqpdf/QPDF_String.cc
schwarzeSocke/qpdf
e8b845dd0344c797b58bfa31b810af53595d2599
[ "Artistic-2.0", "Unlicense" ]
null
null
null
#include <qpdf/QPDF_String.hh> #include <qpdf/QUtil.hh> #include <qpdf/QTC.hh> // DO NOT USE ctype -- it is locale dependent for some things, and // it's not worth the risk of including it in case it may accidentally // be used. #include <string.h> // See above about ctype. static bool is_ascii_printable(unsigned ch...
21.193548
74
0.581431
schwarzeSocke
ca8d82d92f241b5aec5e248eeed80fc0bc6852cb
500
cpp
C++
src/leetcode/1530/67700167_accepted_1520ms_97628000.cpp
lnkkerst/oj-codes
d778489182d644370b2a690aa92c3df6542cc306
[ "MIT" ]
null
null
null
src/leetcode/1530/67700167_accepted_1520ms_97628000.cpp
lnkkerst/oj-codes
d778489182d644370b2a690aa92c3df6542cc306
[ "MIT" ]
null
null
null
src/leetcode/1530/67700167_accepted_1520ms_97628000.cpp
lnkkerst/oj-codes
d778489182d644370b2a690aa92c3df6542cc306
[ "MIT" ]
null
null
null
class Solution { public: bool pdf(string s1, string s2) { set<long long> b; for(int i = 0; i < (int)s1.size(); ++i) b.insert((s1[i] << 20) + i); for(auto &i : s2) { // cout << i << ' ' << b.size() << endl; auto t = b.lower_bound(i << 20); if(t == b.end()) ...
29.411765
76
0.448
lnkkerst
ca8e5ae21fc856240d8629d04664d526a7a7820a
8,880
cpp
C++
src/recording.cpp
nyamadan/shader_editor
477aa7165a6f6d721466a4d2fe4d326cf8c9b5df
[ "MIT" ]
4
2019-01-29T07:31:00.000Z
2020-02-18T16:19:08.000Z
src/recording.cpp
nyamadan/shader_editor
477aa7165a6f6d721466a4d2fe4d326cf8c9b5df
[ "MIT" ]
8
2019-02-03T14:15:15.000Z
2020-07-06T02:46:32.000Z
src/recording.cpp
nyamadan/shader_editor
477aa7165a6f6d721466a4d2fe4d326cf8c9b5df
[ "MIT" ]
null
null
null
#include "recording.hpp" #include "file_utils.hpp" #include <math.h> bool Recording::getIsRecording() { return isRecording; } void Recording::start(const int32_t bufferWidth, const int32_t bufferHeight, const std::string& fileName, const int32_t videoType, const int32_t web...
36.846473
133
0.488401
nyamadan
ca90199c1772317d58b2956be195724ba7d28254
7,749
cxx
C++
src/texture/RectTexture.cxx
rita0222/FK
bc5786a5da0dd732e2f411c1a953b331323ee432
[ "BSD-3-Clause" ]
4
2020-05-15T03:43:53.000Z
2021-06-05T16:21:31.000Z
src/texture/RectTexture.cxx
rita0222/FK
bc5786a5da0dd732e2f411c1a953b331323ee432
[ "BSD-3-Clause" ]
1
2020-05-19T09:27:16.000Z
2020-05-21T02:12:54.000Z
src/texture/RectTexture.cxx
rita0222/FK
bc5786a5da0dd732e2f411c1a953b331323ee432
[ "BSD-3-Clause" ]
null
null
null
#define FK_DEF_SIZETYPE #include <FK/RectTexture.h> #include <FK/Error.H> #include <FK/Window.h> using namespace std; using namespace FK; vector<GLuint> fk_RectTexture::_s_faceIndex = {0, 1, 3, 1, 2, 3}; GLuint fk_RectTexture::_s_faceIBO = 0; bool fk_RectTexture::_s_faceIndexFlg = false; fk_RectTexture::Member::Mem...
26.447099
78
0.675571
rita0222
ca93bdda2975b09e7f6415d4d15b6724259fdeca
14,922
hpp
C++
lib/crypto/crypto_CRC32.hpp
Bensuperpc/BenLib
1708a27e272a54f437cda50b2ca98ed92f03d721
[ "MIT" ]
5
2020-12-02T21:17:14.000Z
2021-05-24T19:57:42.000Z
lib/crypto/crypto_CRC32.hpp
bensuperpc/BenLib
1708a27e272a54f437cda50b2ca98ed92f03d721
[ "MIT" ]
null
null
null
lib/crypto/crypto_CRC32.hpp
bensuperpc/BenLib
1708a27e272a54f437cda50b2ca98ed92f03d721
[ "MIT" ]
1
2021-02-28T08:43:46.000Z
2021-02-28T08:43:46.000Z
////////////////////////////////////////////////////////////// // ____ // // | __ ) ___ _ __ ___ _ _ _ __ ___ _ __ _ __ ___ // // | _ \ / _ \ '_ \/ __| | | | '_ \ / _ \ '__| '_ \ / __| // // | |_) | __/ | | \__ \ |_| | |_) | __/ | | |_) | (__ // // |...
30.89441
201
0.656614
Bensuperpc
ca949ac10fe53519e6ee8e600979a5bc4f059ea8
7,980
cc
C++
tests/libtests/faults/obsolete/TestEqKinSrc.cc
Grant-Block/pylith
f6338261b17551eba879da998a5aaf2d91f5f658
[ "MIT" ]
93
2015-01-08T16:41:22.000Z
2022-02-25T13:40:02.000Z
tests/libtests/faults/obsolete/TestEqKinSrc.cc
Grant-Block/pylith
f6338261b17551eba879da998a5aaf2d91f5f658
[ "MIT" ]
277
2015-02-20T16:27:35.000Z
2022-03-30T21:13:09.000Z
tests/libtests/faults/obsolete/TestEqKinSrc.cc
Grant-Block/pylith
f6338261b17551eba879da998a5aaf2d91f5f658
[ "MIT" ]
71
2015-03-24T12:11:08.000Z
2022-03-03T04:26:02.000Z
// -*- C++ -*- // // ---------------------------------------------------------------------- // // Brad T. Aagaard, U.S. Geological Survey // Charles A. Williams, GNS Science // Matthew G. Knepley, University of Chicago // // This code was developed as part of the Computational Infrastructure // for Geodynamics (http://...
32.571429
98
0.671303
Grant-Block
ca951c7596940c78e70007b91d19727ff4057ba7
463
cpp
C++
aashishgahlawat/codeforces/A/118-A/118-A-30513113.cpp
aashishgahlawat/CompetetiveProgramming
12d6b2682765ae05b622968b9a26b0b519e170aa
[ "MIT" ]
null
null
null
aashishgahlawat/codeforces/A/118-A/118-A-30513113.cpp
aashishgahlawat/CompetetiveProgramming
12d6b2682765ae05b622968b9a26b0b519e170aa
[ "MIT" ]
null
null
null
aashishgahlawat/codeforces/A/118-A/118-A-30513113.cpp
aashishgahlawat/CompetetiveProgramming
12d6b2682765ae05b622968b9a26b0b519e170aa
[ "MIT" ]
null
null
null
#include <iostream> #include <string.h> using namespace std; int main() { // your code goes here string text; string result=""; cin>>text; int textLength=text.length(); for(int i=0;i<textLength;++i){ char temp=text[i]; if(temp<97) temp+=32; if(temp=='a'|| temp=='e'|| temp=='i'|| t...
21.045455
84
0.526998
aashishgahlawat
ca959a6bfe2f408fa9e2bc58a4c457026b1be35c
6,611
cpp
C++
Testing/Operations/albaASCIIImporterUtilityTest.cpp
IOR-BIC/ALBA
b574968b05d9a3a2756dd2ac61d015a0d20232a4
[ "Apache-2.0", "BSD-3-Clause" ]
9
2018-11-19T10:15:29.000Z
2021-08-30T11:52:07.000Z
Testing/Operations/albaASCIIImporterUtilityTest.cpp
IOR-BIC/ALBA
b574968b05d9a3a2756dd2ac61d015a0d20232a4
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
Testing/Operations/albaASCIIImporterUtilityTest.cpp
IOR-BIC/ALBA
b574968b05d9a3a2756dd2ac61d015a0d20232a4
[ "Apache-2.0", "BSD-3-Clause" ]
3
2018-06-10T22:56:29.000Z
2019-12-12T06:22:56.000Z
/*========================================================================= Program: ALBA (Agile Library for Biomedical Applications) Module: albaASCIIImporterUtilityTest Authors: Alberto Losi Copyright (c) BIC All rights reserved. See Copyright.txt or This software is distributed WITHOUT ANY WARRANTY; witho...
29.513393
87
0.543488
IOR-BIC
ca95a26830ef766ea1e8f9929f3cb70c3e859a77
1,006
cpp
C++
chapter08/context/8.10left.cpp
chuckbruno/cpp
5df742c15d463a46351bd72b5c58144086b0a9d2
[ "Apache-2.0" ]
null
null
null
chapter08/context/8.10left.cpp
chuckbruno/cpp
5df742c15d463a46351bd72b5c58144086b0a9d2
[ "Apache-2.0" ]
null
null
null
chapter08/context/8.10left.cpp
chuckbruno/cpp
5df742c15d463a46351bd72b5c58144086b0a9d2
[ "Apache-2.0" ]
null
null
null
#include <iostream> unsigned long left(unsigned long num, unsigned int cf); char * left(const char* str, int n = 1); int main() { using namespace std; const char * trip = "Hawaii!!"; unsigned long n = 12345678; int i; char * temp; for(i=1; i < 10; i++) { cout << left(n, i) << en...
15.242424
55
0.461233
chuckbruno
ca95b270b3366162a82ff388988ab2340dd65333
17,125
cpp
C++
src/uti_phgrm/TiepRed/cAppliTiepRed.cpp
kikislater/micmac
3009dbdad62b3ad906ec882b74b85a3db86ca755
[ "CECILL-B" ]
451
2016-11-25T09:40:28.000Z
2022-03-30T04:20:42.000Z
src/uti_phgrm/TiepRed/cAppliTiepRed.cpp
kikislater/micmac
3009dbdad62b3ad906ec882b74b85a3db86ca755
[ "CECILL-B" ]
143
2016-11-25T20:35:57.000Z
2022-03-01T11:58:02.000Z
src/uti_phgrm/TiepRed/cAppliTiepRed.cpp
kikislater/micmac
3009dbdad62b3ad906ec882b74b85a3db86ca755
[ "CECILL-B" ]
139
2016-12-02T10:26:21.000Z
2022-03-10T19:40:29.000Z
/*Header-MicMac-eLiSe-25/06/2007 MicMac : Multi Image Correspondances par Methodes Automatiques de Correlation eLiSe : ELements of an Image Software Environnement www.micmac.ign.fr Copyright : Institut Geographique National Author : Marc Pierrot Deseilligny Contributors : Gregoire Maillet, ...
46.917808
264
0.714161
kikislater
ca99662d3c78af6d8914b66de7a7dde6f1da5138
408
hxx
C++
inc/html5xx.d/S.hxx
astrorigin/html5xx
cbaaeb232597a713630df7425752051036cf0cb2
[ "MIT" ]
null
null
null
inc/html5xx.d/S.hxx
astrorigin/html5xx
cbaaeb232597a713630df7425752051036cf0cb2
[ "MIT" ]
null
null
null
inc/html5xx.d/S.hxx
astrorigin/html5xx
cbaaeb232597a713630df7425752051036cf0cb2
[ "MIT" ]
null
null
null
/* * */ #ifndef _HTML5XX_S_HXX_ #define _HTML5XX_S_HXX_ #include "Element.hxx" #include "LineElement.hxx" using namespace std; namespace html { class S: public Element { public: S(): Element(Inline, "s") {} S( const string& text ): Element(Inline, "s") { put(new LineElement(text)); } }; ...
11.027027
34
0.627451
astrorigin
ca9cccc45fccf26be356907bdde968483f7c34e8
9,870
cpp
C++
C++/CNN3.cpp
FlorentCLMichel/CNN_in_Cpp
5568e71ec23c45be144a0673e2fc36d4c6f1c5de
[ "MIT" ]
null
null
null
C++/CNN3.cpp
FlorentCLMichel/CNN_in_Cpp
5568e71ec23c45be144a0673e2fc36d4c6f1c5de
[ "MIT" ]
null
null
null
C++/CNN3.cpp
FlorentCLMichel/CNN_in_Cpp
5568e71ec23c45be144a0673e2fc36d4c6f1c5de
[ "MIT" ]
null
null
null
#include <iostream> #include <fstream> #include <iomanip> #include <math.h> #include <vector> #include <random> #include <thread> #include <boost/multi_array.hpp> #include <boost/python.hpp> #include <boost/python/numpy.hpp> using namespace std; namespace p = boost::python; namespace np = boost::python::numpy; #i...
30.276074
187
0.659574
FlorentCLMichel
ca9de6ecb590ee2ddfcdb4aebd1ab84d8b159a27
13,726
cpp
C++
src/bert/bertMisc.cpp
mjziebarth/gimli
196ac4d6dd67e0326cccc44a87b367f64051e490
[ "Apache-2.0" ]
3
2021-07-10T00:56:59.000Z
2022-02-17T12:43:38.000Z
src/bert/bertMisc.cpp
ivek1312/gimli
5fafebb7c96dd0e04e2616df402fa27a01609d63
[ "Apache-2.0" ]
null
null
null
src/bert/bertMisc.cpp
ivek1312/gimli
5fafebb7c96dd0e04e2616df402fa27a01609d63
[ "Apache-2.0" ]
1
2022-03-29T04:28:40.000Z
2022-03-29T04:28:40.000Z
/****************************************************************************** * Copyright (C) 2006-2019 by the resistivity.net development team * * Carsten Rücker carsten@resistivity.net * * * ...
36.997305
140
0.52681
mjziebarth
ca9e27f73e2d659c8cf25b4f56db6533c9ee1bd8
18,611
cxx
C++
Remoting/Views/vtkSMCinemaVolumetricImageExtractWriterProxy.cxx
xj361685640/ParaView
0a27eef5abc5a0c0472ab0bc806c4db881156e64
[ "Apache-2.0", "BSD-3-Clause" ]
815
2015-01-03T02:14:04.000Z
2022-03-26T07:48:07.000Z
Remoting/Views/vtkSMCinemaVolumetricImageExtractWriterProxy.cxx
xj361685640/ParaView
0a27eef5abc5a0c0472ab0bc806c4db881156e64
[ "Apache-2.0", "BSD-3-Clause" ]
9
2015-04-28T20:10:37.000Z
2021-08-20T18:19:01.000Z
Remoting/Views/vtkSMCinemaVolumetricImageExtractWriterProxy.cxx
xj361685640/ParaView
0a27eef5abc5a0c0472ab0bc806c4db881156e64
[ "Apache-2.0", "BSD-3-Clause" ]
328
2015-01-22T23:11:46.000Z
2022-03-14T06:07:52.000Z
/*========================================================================= Program: ParaView Module: vtkSMCinemaVolumetricImageExtractWriterProxy.cxx Copyright (c) Kitware, Inc. All rights reserved. See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details. This software is di...
40.993392
100
0.643544
xj361685640
ca9e47185b67d98bf48b3fc8eb29a824c8b54afb
55,374
cpp
C++
node/Salsa20.cpp
sundys/ZeroTierOne
269501eaa0c22bdc402e689b0d061325fb6ddbce
[ "RSA-MD" ]
8,205
2015-01-02T16:34:03.000Z
2022-03-31T18:18:28.000Z
node/Salsa20.cpp
sundys/ZeroTierOne
269501eaa0c22bdc402e689b0d061325fb6ddbce
[ "RSA-MD" ]
1,401
2015-01-01T05:45:53.000Z
2022-03-31T14:00:00.000Z
node/Salsa20.cpp
sundys/ZeroTierOne
269501eaa0c22bdc402e689b0d061325fb6ddbce
[ "RSA-MD" ]
1,243
2015-01-09T07:30:49.000Z
2022-03-31T12:36:48.000Z
/* * Based on public domain code available at: http://cr.yp.to/snuffle.html * * Modifications and C-native SSE macro based SSE implementation by * Adam Ierymenko <adam.ierymenko@zerotier.com>. * * Since the original was public domain, this is too. */ #include "Constants.hpp" #include "Salsa20.hpp" #define ROTA...
41.262295
184
0.605736
sundys
caa09ae8b80be858449d74a9109aa12068896dd6
326
cpp
C++
UEL/Lista do caralho/utilities.cpp
FlammaVulpes/random-crappy-stuff
c3fc38f8152393300ea6e8f4637c837a21379bd9
[ "MIT" ]
null
null
null
UEL/Lista do caralho/utilities.cpp
FlammaVulpes/random-crappy-stuff
c3fc38f8152393300ea6e8f4637c837a21379bd9
[ "MIT" ]
null
null
null
UEL/Lista do caralho/utilities.cpp
FlammaVulpes/random-crappy-stuff
c3fc38f8152393300ea6e8f4637c837a21379bd9
[ "MIT" ]
null
null
null
#include "header.hpp" using namespace std; void sudSort(int arr[9]){ for(int i = 0; i < 9; i++){ for(int j = 0; j < 9 - i; ++j){ if(arr[j] > arr[j+1]){ int temp = arr[j]; arr[j] = arr[j+1]; arr[j+1] = temp; } } ...
21.733333
40
0.349693
FlammaVulpes
caa400fb28139c1887905bd316cffe29aebe81bf
2,703
cc
C++
installer/cros_installer_main.cc
doitmovin/chromiumos-platform2
6462aaf43072307b5a40eb045a89e473381b5fda
[ "BSD-3-Clause" ]
null
null
null
installer/cros_installer_main.cc
doitmovin/chromiumos-platform2
6462aaf43072307b5a40eb045a89e473381b5fda
[ "BSD-3-Clause" ]
null
null
null
installer/cros_installer_main.cc
doitmovin/chromiumos-platform2
6462aaf43072307b5a40eb045a89e473381b5fda
[ "BSD-3-Clause" ]
2
2021-01-26T12:37:19.000Z
2021-05-18T13:37:57.000Z
// Copyright (c) 2012 The Chromium OS 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 <getopt.h> #include <stdio.h> #include <stdlib.h> #include <string> #include "installer/chromeos_install_config.h" #include "installer/c...
24.351351
77
0.594155
doitmovin
caa6d084ab236e59d258a0166ff365142c23a0ed
2,593
hpp
C++
ios/Pods/boost-for-react-native/boost/hana/adjust_if.hpp
rudylee/expo
b3e65a7a5b205f14a3eb6cd6fa8d13c8d663b1cc
[ "Apache-2.0", "MIT" ]
8,805
2015-11-03T00:52:29.000Z
2022-03-29T22:30:03.000Z
ios/Pods/boost-for-react-native/boost/hana/adjust_if.hpp
rudylee/expo
b3e65a7a5b205f14a3eb6cd6fa8d13c8d663b1cc
[ "Apache-2.0", "MIT" ]
14,694
2015-02-24T15:13:42.000Z
2022-03-31T13:16:45.000Z
ios/Pods/boost-for-react-native/boost/hana/adjust_if.hpp
rudylee/expo
b3e65a7a5b205f14a3eb6cd6fa8d13c8d663b1cc
[ "Apache-2.0", "MIT" ]
1,329
2015-11-03T20:25:51.000Z
2022-03-31T18:10:38.000Z
/*! @file Defines `boost::hana::adjust_if`. @copyright Louis Dionne 2013-2016 Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt) */ #ifndef BOOST_HANA_ADJUST_IF_HPP #define BOOST_HANA_ADJUST_IF_HPP #include <boost/han...
32.822785
90
0.597763
rudylee
caa7fe636b2ebf5ee145e57a8a0b772e28ab55ae
518
hxx
C++
other/cpp/problems/algorithm/118pascal/cpp/pascal.hxx
sguzman/LeetCode
83cd945949cdbcafec91045d87e30549feb181f1
[ "MIT" ]
null
null
null
other/cpp/problems/algorithm/118pascal/cpp/pascal.hxx
sguzman/LeetCode
83cd945949cdbcafec91045d87e30549feb181f1
[ "MIT" ]
null
null
null
other/cpp/problems/algorithm/118pascal/cpp/pascal.hxx
sguzman/LeetCode
83cd945949cdbcafec91045d87e30549feb181f1
[ "MIT" ]
null
null
null
#pragma once #include <vector> using std::vector; class Solution { public: vector<vector<int>> generate(int nR) { unsigned long numRows{static_cast<unsigned long>(nR)}; vector<vector<int>> final; if (numRows >= 1) { final.push_back(vector<int>{1}); } for (unsigned long i = 1; i < numRows; ++i) { ...
17.266667
62
0.600386
sguzman
caa8436ece520bc6710797027c8322aae32e9fff
3,980
cc
C++
test/splittest.cc
aalto-speech/morphological-classes
a7dcdb0703b33765ed43a9a56a3ca453dc5ed5e3
[ "BSD-2-Clause" ]
null
null
null
test/splittest.cc
aalto-speech/morphological-classes
a7dcdb0703b33765ed43a9a56a3ca453dc5ed5e3
[ "BSD-2-Clause" ]
null
null
null
test/splittest.cc
aalto-speech/morphological-classes
a7dcdb0703b33765ed43a9a56a3ca453dc5ed5e3
[ "BSD-2-Clause" ]
null
null
null
#include <boost/test/unit_test.hpp> #include <iostream> #include <vector> #include <map> #include <ctime> #include <algorithm> #define private public #include "Splitting.hh" #undef private using namespace std; void _assert_same(Splitting& s1, Splitting& s2) { BOOST_CHECK_EQUAL(s1.m_num_classes, s2.m_num...
41.894737
105
0.628894
aalto-speech
caa97883ba0471e8c6f8119830caa82742f4d4d9
699
cpp
C++
Source/DialogSystemRuntime/Private/Dialog/DialogNodes/DialogNode.cpp
n3td0g/DialogSystem
5c7919c5d69246c3798f2322b08f0c10c736d0dc
[ "Apache-2.0" ]
null
null
null
Source/DialogSystemRuntime/Private/Dialog/DialogNodes/DialogNode.cpp
n3td0g/DialogSystem
5c7919c5d69246c3798f2322b08f0c10c736d0dc
[ "Apache-2.0" ]
null
null
null
Source/DialogSystemRuntime/Private/Dialog/DialogNodes/DialogNode.cpp
n3td0g/DialogSystem
5c7919c5d69246c3798f2322b08f0c10c736d0dc
[ "Apache-2.0" ]
null
null
null
#include "Dialog/DialogNodes/DialogNode.h" #include "Dialog/DialogProcessor.h" #include "Dialog/DialogNodes/DialogPhraseNode.h" void UDialogNode::Invoke(UDialogProcessor* processor) { check(processor); for (auto child : Childs) { if (child->Check(processor)) { processor->SetCurrentNode(child); return; ...
18.394737
83
0.715308
n3td0g
caaa8782fe992ed73bb074872440d018af84ec86
25,336
cpp
C++
code/wxWidgets/src/os2/notebook.cpp
Bloodknight/NeuTorsion
a5890e9ca145a8c1b6bec7b70047a43d9b1c29ea
[ "MIT" ]
38
2016-02-20T02:46:28.000Z
2021-11-17T11:39:57.000Z
code/wxWidgets/src/os2/notebook.cpp
Dwarf-King/TorsionEditor
e6887d1661ebaf4ccbf1d09f2690e2bf805fbb50
[ "MIT" ]
17
2016-02-20T02:19:55.000Z
2021-02-08T15:15:17.000Z
code/wxWidgets/src/os2/notebook.cpp
Dwarf-King/TorsionEditor
e6887d1661ebaf4ccbf1d09f2690e2bf805fbb50
[ "MIT" ]
46
2016-02-20T02:47:33.000Z
2021-01-31T15:46:05.000Z
/////////////////////////////////////////////////////////////////////////////// // Name: notebook.cpp // Purpose: implementation of wxNotebook // Author: David Webster // Modified by: // Created: 10/12/99 // RCS-ID: $Id: notebook.cpp,v 1.23.2.1 2006/01/03 17:02:46 SN Exp $ // Copyright: (c) D...
29.529138
115
0.457018
Bloodknight
caaaa6478ddc44585c0f3e4b04eecde8dc93bd25
9,485
cc
C++
src/utils/oatpp.cc
pnsuau/deepdetect
655aa483c0f129a0a07c0da9be1f1ab8a465f1be
[ "Apache-2.0" ]
1
2022-01-31T01:10:17.000Z
2022-01-31T01:10:17.000Z
src/utils/oatpp.cc
maxpark/deepdetect
1dfd51f59013533cb74d38f5f7fae804046d747f
[ "Apache-2.0" ]
null
null
null
src/utils/oatpp.cc
maxpark/deepdetect
1dfd51f59013533cb74d38f5f7fae804046d747f
[ "Apache-2.0" ]
null
null
null
/** * DeepDetect * Copyright (c) 2021 Jolibrain SASU * Author: Louis Jean <louis.jean@jolibrain.com> * * This file is part of deepdetect. * * deepdetect is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foun...
37.196078
79
0.557828
pnsuau
caaaa7b9d42aac4ffcb53377a17f3c34c011403a
198
cpp
C++
src/Core/p2/iMath.cpp
stravant/bfbbdecomp
2126be355a6bb8171b850f829c1f2731c8b5de08
[ "OLDAP-2.7" ]
1
2021-01-05T11:28:55.000Z
2021-01-05T11:28:55.000Z
src/Core/p2/iMath.cpp
sonich2401/bfbbdecomp
5f58b62505f8929a72ccf2aa118a1539eb3a5bd6
[ "OLDAP-2.7" ]
null
null
null
src/Core/p2/iMath.cpp
sonich2401/bfbbdecomp
5f58b62505f8929a72ccf2aa118a1539eb3a5bd6
[ "OLDAP-2.7" ]
1
2022-03-30T15:15:08.000Z
2022-03-30T15:15:08.000Z
#include "iMath.h" #include <cmath> float32 isin(float32 x) { return std::sinf(x); } float32 icos(float32 x) { return std::cosf(x); } float32 itan(float32 x) { return std::tanf(x); }
11
24
0.626263
stravant
caab829584acfdf7146919f1516fa9f31e7fe843
4,057
cpp
C++
test/MeLikeyCode-QtGameEngine-2a3d47c/example projects/example3/main.cpp
JamesMBallard/qmake-unity
cf5006a83e7fb1bbd173a9506771693a673d387f
[ "MIT" ]
16
2019-05-23T08:10:39.000Z
2021-12-21T11:20:37.000Z
test/MeLikeyCode-QtGameEngine-2a3d47c/example projects/example3/main.cpp
JamesMBallard/qmake-unity
cf5006a83e7fb1bbd173a9506771693a673d387f
[ "MIT" ]
null
null
null
test/MeLikeyCode-QtGameEngine-2a3d47c/example projects/example3/main.cpp
JamesMBallard/qmake-unity
cf5006a83e7fb1bbd173a9506771693a673d387f
[ "MIT" ]
2
2019-05-23T18:37:43.000Z
2021-08-24T21:29:40.000Z
// Moving/rotating entity // This example picks up where example 2 left of. I took all of the code that created the entity and its graphics and // put it into a function called getMinitaurEntity(). We will now take this entity and make it move in response // to the keyboard keys being pressed. We will also make the en...
43.623656
138
0.721962
JamesMBallard
caac791b71d9eccac1dec921f4cbd14620fb0ec6
199
hpp
C++
tests/cpp/Error_macro_arglist2.hpp
zaimoni/Z.C-
7ca97ec0af14d092c87a25e07d7ed486c7912266
[ "BSL-1.0" ]
null
null
null
tests/cpp/Error_macro_arglist2.hpp
zaimoni/Z.C-
7ca97ec0af14d092c87a25e07d7ed486c7912266
[ "BSL-1.0" ]
4
2019-12-07T08:08:29.000Z
2021-01-22T00:19:10.000Z
tests/cpp/Error_macro_arglist2.hpp
zaimoni/Z.C-
7ca97ec0af14d092c87a25e07d7ed486c7912266
[ "BSL-1.0" ]
null
null
null
// tests/cpp/Error_macro_arglist2.hpp // too many parameters for a macro is an error // (C)2009 Kenneth Boyd, license: MIT.txt #define UNWELCOME(A,B) 1 #if UNWELCOME(x,y,z) #else #endif
18.090909
47
0.683417
zaimoni
caad201851e378fc0a67abb4f799ad22289e2fa1
205
hpp
C++
Cfg.hpp
QuariumStackHS/QSR-Tool
f7fb94ebbc18892b536e4e4881a53faa4d9c1342
[ "Unlicense" ]
null
null
null
Cfg.hpp
QuariumStackHS/QSR-Tool
f7fb94ebbc18892b536e4e4881a53faa4d9c1342
[ "Unlicense" ]
null
null
null
Cfg.hpp
QuariumStackHS/QSR-Tool
f7fb94ebbc18892b536e4e4881a53faa4d9c1342
[ "Unlicense" ]
null
null
null
#include "QSR/includes/config.hpp" Configurator::Configurator() { this->buildtype = EXE; this->CPPLang = CPP17; this->ProgrameName = "QSR"; this->Termwidth=75; this->debug=1; } //#endif
20.5
34
0.643902
QuariumStackHS
caad6188476ecb6f8cdfce1dbd2930b28063ca5e
180
cpp
C++
SystemResource/Source/Font/FNT/FNTPage.cpp
BitPaw/BitFireEngine
2c02a4eae19276bf60ac925e4393966cec605112
[ "MIT" ]
5
2021-10-19T18:30:43.000Z
2022-03-19T22:02:02.000Z
SystemResource/Source/Font/FNT/FNTPage.cpp
BitPaw/BitFireEngine
2c02a4eae19276bf60ac925e4393966cec605112
[ "MIT" ]
12
2022-03-09T13:40:21.000Z
2022-03-31T12:47:48.000Z
SystemResource/Source/Font/FNT/FNTPage.cpp
BitPaw/BitFireEngine
2c02a4eae19276bf60ac925e4393966cec605112
[ "MIT" ]
null
null
null
#include "FNTPage.h" BF::FNTPage::FNTPage() { PageID = -1; PageFileName[0] = 0; CharacteListSize = 0; CharacteList = 0; } BF::FNTPage::~FNTPage() { delete[] CharacteList; }
12
23
0.644444
BitPaw
caae0a7eab790415c3d6a71f2cb5853a731e89c3
489
cc
C++
cef_widget.cc
cretz/qt_cef_poc
1aefe5d70908162c84ada9d1b6aa8b749ce0c8c6
[ "MIT" ]
25
2017-08-14T07:29:08.000Z
2021-12-29T12:44:19.000Z
cef_widget.cc
cretz/qt_cef_poc
1aefe5d70908162c84ada9d1b6aa8b749ce0c8c6
[ "MIT" ]
4
2017-07-02T19:33:32.000Z
2018-06-12T00:51:39.000Z
cef_widget.cc
cretz/qt_cef_poc
1aefe5d70908162c84ada9d1b6aa8b749ce0c8c6
[ "MIT" ]
6
2017-07-02T21:53:13.000Z
2020-05-14T15:33:43.000Z
#include "cef_widget.h" CefWidget::CefWidget(Cef *cef, QWidget *parent) : QWidget(parent), cef_(cef) {} CefWidget::~CefWidget() { if (browser_) { browser_->GetHost()->CloseBrowser(true); } } void CefWidget::LoadUrl(const QString &url) { if (browser_) { browser_->GetMainFrame()->LoadURL(CefString(url.to...
20.375
79
0.685072
cretz
caaec3aba01983cb001bc21d6bf28d79de7152ce
1,210
cpp
C++
waterbox/bsnescore/bsnes/sfc/smp/serialization.cpp
Fortranm/BizHawk
8cb0ffb6f8964cc339bbe1784838918fb0aa7e27
[ "MIT" ]
1,414
2015-06-28T09:57:51.000Z
2021-10-14T03:51:10.000Z
waterbox/bsnescore/bsnes/sfc/smp/serialization.cpp
Fortranm/BizHawk
8cb0ffb6f8964cc339bbe1784838918fb0aa7e27
[ "MIT" ]
2,369
2015-06-25T01:45:44.000Z
2021-10-16T08:44:18.000Z
waterbox/bsnescore/bsnes/sfc/smp/serialization.cpp
Fortranm/BizHawk
8cb0ffb6f8964cc339bbe1784838918fb0aa7e27
[ "MIT" ]
430
2015-06-29T04:28:58.000Z
2021-10-05T18:24:17.000Z
auto SMP::serialize(serializer& s) -> void { SPC700::serialize(s); Thread::serialize(s); s.integer(io.clockCounter); s.integer(io.dspCounter); s.integer(io.apu0); s.integer(io.apu1); s.integer(io.apu2); s.integer(io.apu3); s.integer(io.timersDisable); s.integer(io.ramWritable); s.integer(io.ram...
21.607143
44
0.694215
Fortranm
cab74d3a0cfad5f110c0c5cd812810389e7fbb77
6,411
cpp
C++
src/blinkit/blink/renderer/core/animation/SVGLengthInterpolationType.cpp
titilima/blink
2de70073edfe0e1e0aaf2bb22b5d6abd9b776fad
[ "MIT" ]
13
2020-04-21T13:14:00.000Z
2021-11-13T14:55:12.000Z
src/blinkit/blink/renderer/core/animation/SVGLengthInterpolationType.cpp
titilima/blink
2de70073edfe0e1e0aaf2bb22b5d6abd9b776fad
[ "MIT" ]
null
null
null
src/blinkit/blink/renderer/core/animation/SVGLengthInterpolationType.cpp
titilima/blink
2de70073edfe0e1e0aaf2bb22b5d6abd9b776fad
[ "MIT" ]
4
2020-04-21T13:15:43.000Z
2021-11-13T14:55:00.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 "core/animation/SVGLengthInterpolationType.h" #include "core/animation/InterpolationEnvironment.h" #include "core/animation/StringKeyframe.h" #i...
37.273256
227
0.746373
titilima
cab87043ffcc6ac122d5deffb214fb0e5c9b176b
4,786
cc
C++
src/test/escape.cc
rpratap-bot/ceph
9834961a66927ae856935591f2fd51082e2ee484
[ "MIT" ]
4
2020-04-08T03:42:02.000Z
2020-10-01T20:34:48.000Z
src/test/escape.cc
rpratap-bot/ceph
9834961a66927ae856935591f2fd51082e2ee484
[ "MIT" ]
93
2020-03-26T14:29:14.000Z
2020-11-12T05:54:55.000Z
src/test/escape.cc
rpratap-bot/ceph
9834961a66927ae856935591f2fd51082e2ee484
[ "MIT" ]
23
2020-03-24T10:28:44.000Z
2020-09-24T09:42:19.000Z
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- // vim: ts=8 sw=2 smarttab /* * Ceph - scalable distributed file system * * Copyright (C) 2011 New Dream Network * * This is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License ...
37.100775
101
0.687631
rpratap-bot
cab9a98baaa96e753bde8c393a76acd970bbc359
809
hpp
C++
cslibs_math/include/cslibs_math/serialization/vector.hpp
lisilin013/cslibs_math
b1a1bc5bf5a85b2d7467911521806609ed3c16ee
[ "BSD-3-Clause" ]
null
null
null
cslibs_math/include/cslibs_math/serialization/vector.hpp
lisilin013/cslibs_math
b1a1bc5bf5a85b2d7467911521806609ed3c16ee
[ "BSD-3-Clause" ]
null
null
null
cslibs_math/include/cslibs_math/serialization/vector.hpp
lisilin013/cslibs_math
b1a1bc5bf5a85b2d7467911521806609ed3c16ee
[ "BSD-3-Clause" ]
null
null
null
#ifndef CSLIBS_MATH_SERIALIZATION_VECTOR_HPP #define CSLIBS_MATH_SERIALIZATION_VECTOR_HPP #include <cslibs_math/linear/vector.hpp> #include <yaml-cpp/yaml.h> namespace YAML { template<typename T, std::size_t Dim> struct convert<cslibs_math::linear::Vector<T, Dim>> { static Node encode(const cslibs_math::linear::V...
25.28125
78
0.594561
lisilin013
cabc6d0faedaa5d2437c8bd6213865db7d567a1e
8,960
cpp
C++
azClientFuncs.cpp
jflynn129/M18QxAzureIoT
f8a3a0ef4d16ddeca6235ab9174273ad0757e392
[ "MIT" ]
null
null
null
azClientFuncs.cpp
jflynn129/M18QxAzureIoT
f8a3a0ef4d16ddeca6235ab9174273ad0757e392
[ "MIT" ]
null
null
null
azClientFuncs.cpp
jflynn129/M18QxAzureIoT
f8a3a0ef4d16ddeca6235ab9174273ad0757e392
[ "MIT" ]
1
2021-01-22T22:42:16.000Z
2021-01-22T22:42:16.000Z
/** * copyright (c) 2018, James Flynn * SPDX-License-Identifier: MIT */ #include <stdlib.h> #include "iothub_client_core_common.h" #include "iothub_client_ll.h" #include "azure_c_shared_utility/platform.h" #include "azure_c_shared_utility/agenttime.h" #include "jsondecoder.h" #include "led.hpp" #include "lis2dw12.hp...
31.328671
176
0.598549
jflynn129
cabc8aa51f8bc78ee5e15b09a23fac722f1529e7
248
cpp
C++
library/isceLib/src/Peg.cpp
vincentschut/isce2
1557a05b7b6a3e65abcfc32f89c982ccc9b65e3c
[ "ECL-2.0", "Apache-2.0" ]
1,133
2022-01-07T21:24:57.000Z
2022-01-07T21:33:08.000Z
library/isceLib/src/Peg.cpp
vincentschut/isce2
1557a05b7b6a3e65abcfc32f89c982ccc9b65e3c
[ "ECL-2.0", "Apache-2.0" ]
276
2019-02-10T07:18:28.000Z
2022-03-31T21:45:55.000Z
library/isceLib/src/Peg.cpp
vincentschut/isce2
1557a05b7b6a3e65abcfc32f89c982ccc9b65e3c
[ "ECL-2.0", "Apache-2.0" ]
235
2019-02-10T05:00:53.000Z
2022-03-18T07:37:24.000Z
// // Author: Joshua Cohen // Copyright 2017 // #include "Peg.h" using isceLib::Peg; Peg::Peg() { // Empty constructor return; } Peg::Peg(const Peg &p) { // Copy constructor lat = p.lat; lon = p.lon; hdg = p.hdg; }
11.272727
24
0.544355
vincentschut
cabf1c68839bdff822b88f1cd76fc6a87b883e94
4,478
cpp
C++
src/TrackTile.cpp
VictorieeMan/PianoGame_Compilable
da441618227c84a46eed9fed723ffded5f200dea
[ "MIT" ]
54
2016-05-25T07:39:10.000Z
2022-03-06T01:11:00.000Z
src/TrackTile.cpp
VictorieeMan/PianoGame_Compilable
da441618227c84a46eed9fed723ffded5f200dea
[ "MIT" ]
null
null
null
src/TrackTile.cpp
VictorieeMan/PianoGame_Compilable
da441618227c84a46eed9fed723ffded5f200dea
[ "MIT" ]
18
2018-03-09T12:50:19.000Z
2022-03-22T06:11:19.000Z
// Copyright (c)2007 Nicholas Piegdon // See license.txt for license information #include "TrackTile.h" #include "libmidi/Midi.h" #include "Renderer.h" #include "Tga.h" const static int GraphicWidth = 36; const static int GraphicHeight = 36; TrackTile::TrackTile(int x, int y, size_t track_id, Track::Tra...
34.713178
138
0.698526
VictorieeMan
cac15c754870de7ae87825f8810b7ed8c9704a9c
1,883
cpp
C++
lib/src/checkers/tools/location-finder/main.cpp
USECAP/ci-tools
ad2300e3297266ff3ee6ed9118ccd16fc05291e3
[ "MIT" ]
null
null
null
lib/src/checkers/tools/location-finder/main.cpp
USECAP/ci-tools
ad2300e3297266ff3ee6ed9118ccd16fc05291e3
[ "MIT" ]
null
null
null
lib/src/checkers/tools/location-finder/main.cpp
USECAP/ci-tools
ad2300e3297266ff3ee6ed9118ccd16fc05291e3
[ "MIT" ]
null
null
null
/** * @file fuzzy_clang.cpp * @author Sirko Höer * @date 18.11.2017 * @brief Entrypoint for the fuzzy-clang ... * * @copyright Copyright (c) 2018 Code Intelligence. All rights reserved. */ #include <clang/Tooling/Tooling.h> #include <clang/Tooling/CommonOptionsParser.h> #include "PPContext.h" #include "Locatio...
30.868852
94
0.653213
USECAP
cac166fde2d68f743a9e0ea6effd8bd943fec48f
2,575
hpp
C++
miniapps/solvers/lor_mms.hpp
adantra/mfem
e48b5ffa1a8cdb5a18c0c3c28ab48fbdcd7ad298
[ "BSD-3-Clause" ]
null
null
null
miniapps/solvers/lor_mms.hpp
adantra/mfem
e48b5ffa1a8cdb5a18c0c3c28ab48fbdcd7ad298
[ "BSD-3-Clause" ]
null
null
null
miniapps/solvers/lor_mms.hpp
adantra/mfem
e48b5ffa1a8cdb5a18c0c3c28ab48fbdcd7ad298
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2010-2022, Lawrence Livermore National Security, LLC. Produced // at the Lawrence Livermore National Laboratory. All Rights reserved. See files // LICENSE and NOTICE for details. LLNL-CODE-806117. // // This file is part of the MFEM library. For more information and source code // availability visit ht...
24.065421
80
0.546408
adantra
cac2563e46f2138efc6fe54934946099ef721ffd
1,924
cpp
C++
examples/eigen.cpp
bjornpiltz/CppCodeGenVar
4f4707c88202695300e55db8909af29107bdc157
[ "MIT" ]
6
2018-01-23T09:41:05.000Z
2021-11-03T05:44:14.000Z
examples/eigen.cpp
bjornpiltz/CppCodeGenVar
4f4707c88202695300e55db8909af29107bdc157
[ "MIT" ]
14
2018-01-18T13:16:20.000Z
2018-02-25T21:42:34.000Z
examples/eigen.cpp
bjornpiltz/CppCodeGenVar
4f4707c88202695300e55db8909af29107bdc157
[ "MIT" ]
null
null
null
#include <codegenvar/Eigen> #include <Eigen/Geometry> #include <iostream> using namespace codegenvar; int main() { const Symbol x("x"), y("y"), dx("dx"), dy("dy"), a("a"); const Vec2 p(x, y); const Vec3 P = p.homogeneous(); const Vec2 diff(dx, dy); std::cout << "p = " << p.transpose() << std...
33.172414
81
0.464137
bjornpiltz
cac2a31a88f5db4bfea02e6e8a36879a119b151a
1,728
cpp
C++
src/afk/component/ScriptsComponent.cpp
christocs/ICT397
5ff6e4ed8757effad19b88fdb91f36504208f942
[ "ISC" ]
null
null
null
src/afk/component/ScriptsComponent.cpp
christocs/ICT397
5ff6e4ed8757effad19b88fdb91f36504208f942
[ "ISC" ]
null
null
null
src/afk/component/ScriptsComponent.cpp
christocs/ICT397
5ff6e4ed8757effad19b88fdb91f36504208f942
[ "ISC" ]
null
null
null
#include "ScriptsComponent.hpp" #include <string> #include "afk/Afk.hpp" #include "afk/io/Log.hpp" #include "afk/io/Path.hpp" using Afk::ScriptsComponent; ScriptsComponent::ScriptsComponent(GameObject e, lua_State *lua_state) : loaded_files(), last_write(), lua(lua_state) { this->owning_entity = e; } auto Scri...
33.230769
88
0.722801
christocs
cac2c52dbf199808bd21ffd4c08e38e9dbb238ed
4,664
cc
C++
webserver/webservd/log_manager_test.cc
strassek/chromiumos-platform2
12c953f41f48b8a6b0bd1c181d09bdb1de38325c
[ "BSD-3-Clause" ]
4
2020-07-24T06:54:16.000Z
2021-06-16T17:13:53.000Z
webserver/webservd/log_manager_test.cc
strassek/chromiumos-platform2
12c953f41f48b8a6b0bd1c181d09bdb1de38325c
[ "BSD-3-Clause" ]
1
2021-04-02T17:35:07.000Z
2021-04-02T17:35:07.000Z
webserver/webservd/log_manager_test.cc
strassek/chromiumos-platform2
12c953f41f48b8a6b0bd1c181d09bdb1de38325c
[ "BSD-3-Clause" ]
1
2020-11-04T22:31:45.000Z
2020-11-04T22:31:45.000Z
// Copyright 2015 The Chromium OS 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 "webservd/log_manager.h" #include <arpa/inet.h> #include <netinet/in.h> #include <set> #include <vector> #include <base/files/file_enumerato...
32.84507
80
0.663379
strassek
cac619997c9d5acb0f49290d16422f14d0aa88c0
4,502
cpp
C++
LibCarla/source/carla/client/Waypoint.cpp
simon0628/carla
b49664f94f87291be36805315593571678c8da28
[ "MIT" ]
null
null
null
LibCarla/source/carla/client/Waypoint.cpp
simon0628/carla
b49664f94f87291be36805315593571678c8da28
[ "MIT" ]
null
null
null
LibCarla/source/carla/client/Waypoint.cpp
simon0628/carla
b49664f94f87291be36805315593571678c8da28
[ "MIT" ]
1
2019-05-28T18:49:44.000Z
2019-05-28T18:49:44.000Z
// Copyright (c) 2017 Computer Vision Center (CVC) at the Universitat Autonoma // de Barcelona (UAB). // // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #include "carla/client/Waypoint.h" #include "carla/client/Map.h" namespace carla { namespace ...
33.348148
91
0.686806
simon0628
cac90e18423d20b1de43ed694fb3f2dc728eb82f
1,384
cpp
C++
101/oops/about_inheritance.cpp
hariharanragothaman/Learning-STL
7e5f58083212d04b93159d44e1812069171aa349
[ "MIT" ]
2
2021-04-21T07:59:45.000Z
2021-05-13T05:53:00.000Z
101/oops/about_inheritance.cpp
hariharanragothaman/Learning-STL
7e5f58083212d04b93159d44e1812069171aa349
[ "MIT" ]
null
null
null
101/oops/about_inheritance.cpp
hariharanragothaman/Learning-STL
7e5f58083212d04b93159d44e1812069171aa349
[ "MIT" ]
1
2021-04-17T15:32:18.000Z
2021-04-17T15:32:18.000Z
#include <iostream> using namespace std; /* * Inheritance provides a way to create a new class from an existing class * New class is a specialized version of existing class * * Base Class (Parent) : inherited by child class * Derived class (Child) : inherits from the base class */ /* Here Undergrad class i...
16.47619
91
0.631503
hariharanragothaman
cac90f9778320bbbc544d5218bc94bfb2ee6de72
20,771
cpp
C++
src/texedit.cpp
SiriusTR/dle-experimental
2ee17b4277b68eef57960d5cf9762dd986eaa0d9
[ "MIT" ]
null
null
null
src/texedit.cpp
SiriusTR/dle-experimental
2ee17b4277b68eef57960d5cf9762dd986eaa0d9
[ "MIT" ]
3
2019-09-10T03:50:40.000Z
2019-09-23T04:20:14.000Z
src/texedit.cpp
SiriusTR/dle-experimental
2ee17b4277b68eef57960d5cf9762dd986eaa0d9
[ "MIT" ]
1
2021-10-02T14:16:28.000Z
2021-10-02T14:16:28.000Z
#include "stdafx.h" #include <string.h> #include <stdio.h> #include <string.h> #include <commdlg.h> #include <math.h> #include "mine.h" #include "dle-xp.h" #include "toolview.h" #include "PaletteManager.h" #include "TextureManager.h" //------------------------------------------------------------------------------ B...
26.940337
185
0.532088
SiriusTR
cac943660942cad7fa85c2ae48db7c5f5575ad5a
477
cpp
C++
hooks/hooks/hooked_lockcursor.cpp
DomesticTerrorist/Doubletap.Space-v3-SRC
caa2e09fc5e15a268ed735debe811a19fe96a08c
[ "MIT" ]
3
2021-08-18T10:19:25.000Z
2021-08-31T04:45:26.000Z
hooks/hooks/hooked_lockcursor.cpp
DomesticTerrorist/Doubletap.Space-v3-SRC
caa2e09fc5e15a268ed735debe811a19fe96a08c
[ "MIT" ]
null
null
null
hooks/hooks/hooked_lockcursor.cpp
DomesticTerrorist/Doubletap.Space-v3-SRC
caa2e09fc5e15a268ed735debe811a19fe96a08c
[ "MIT" ]
4
2021-08-18T06:57:26.000Z
2021-09-02T15:22:36.000Z
// This is an independent project of an individual developer. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++, C#, and Java: http://www.viva64.com #include "..\hooks.hpp" using LockCursor_t = void(__thiscall*)(void*); void __stdcall hooks::hooked_lockcursor() { static auto ...
29.8125
96
0.706499
DomesticTerrorist
caca4a9ecead3a3890850baf60e5d226956eec49
2,967
hh
C++
src/SebastianBergmann/TextTemplate/Template.hh
isabella232/zynga-hhvm-phpunit
1690b9d5c6c711fde6d908cc84b014fa8e1a7ef0
[ "BSD-3-Clause" ]
3
2018-05-20T11:41:54.000Z
2020-08-20T14:55:09.000Z
src/SebastianBergmann/TextTemplate/Template.hh
zynga/zynga-hhvm-phpunit
1690b9d5c6c711fde6d908cc84b014fa8e1a7ef0
[ "BSD-3-Clause" ]
1
2021-02-24T01:22:04.000Z
2021-02-24T01:22:04.000Z
src/SebastianBergmann/TextTemplate/Template.hh
isabella232/zynga-hhvm-phpunit
1690b9d5c6c711fde6d908cc84b014fa8e1a7ef0
[ "BSD-3-Clause" ]
3
2018-07-30T23:04:34.000Z
2021-01-04T11:10:24.000Z
<?hh // strict namespace SebastianBergmann\TextTemplate; /* * This file is part of the Text_Template package. * * (c) Sebastian Bergmann <sebastian@phpunit.de> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ use \InvalidArgument...
21.656934
78
0.598247
isabella232
cacad8c4c3251d23466f21dbd63919f22841cd12
11,604
cc
C++
Alignment/CommonAlignmentAlgorithm/src/TkModuleGroupSelector.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
Alignment/CommonAlignmentAlgorithm/src/TkModuleGroupSelector.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
Alignment/CommonAlignmentAlgorithm/src/TkModuleGroupSelector.cc
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
/** * \file TkModuleGroupSelector.cc * * \author Joerg Behr * \date May 2013 * $Revision: 1.5 $ * $Date: 2013/06/19 08:33:03 $ * (last update by $Author: jbehr $) */ #include "Alignment/CommonAlignmentAlgorithm/interface/TkModuleGroupSelector.h" #include "Alignment/CommonAlignmentAlgorithm/interface/Align...
42.977778
120
0.562306
ckamtsikis
cacdb736bb7f0f1ef7ad295d8be1e0a09302874d
1,802
hh
C++
CXX/yapi.hh
packages-swi-to-yap/yap-6.3
8b1eab04eb14a55bcf7e733f2cc42c69808caa5c
[ "Artistic-1.0-Perl", "ClArtistic" ]
null
null
null
CXX/yapi.hh
packages-swi-to-yap/yap-6.3
8b1eab04eb14a55bcf7e733f2cc42c69808caa5c
[ "Artistic-1.0-Perl", "ClArtistic" ]
null
null
null
CXX/yapi.hh
packages-swi-to-yap/yap-6.3
8b1eab04eb14a55bcf7e733f2cc42c69808caa5c
[ "Artistic-1.0-Perl", "ClArtistic" ]
null
null
null
#define YAP_CPP_INTERFACE 1 #include <gmpxx.h> //! @{ /** * * @defgroup yap-cplus-interface An object oriented interface for YAP. * * @ingroup ChYInterface * @tableofcontents * * * C++ interface to YAP. Designed to be object oriented and to fit naturally * with the swig interface language generator....
17.161905
101
0.716426
packages-swi-to-yap
cad1bbcf0445d64543d6efff62dfa30713271cdd
245,899
cpp
C++
cisco-ios-xe/ydk/models/cisco_ios_xe/IP_MIB.cpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
17
2016-12-02T05:45:49.000Z
2022-02-10T19:32:54.000Z
cisco-ios-xe/ydk/models/cisco_ios_xe/IP_MIB.cpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
2
2017-03-27T15:22:38.000Z
2019-11-05T08:30:16.000Z
cisco-ios-xe/ydk/models/cisco_ios_xe/IP_MIB.cpp
CiscoDevNet/ydk-cpp
ef7d75970f2ef1154100e0f7b0a2ee823609b481
[ "ECL-2.0", "Apache-2.0" ]
11
2016-12-02T05:45:52.000Z
2019-11-07T08:28:17.000Z
#include <sstream> #include <iostream> #include <ydk/entity_util.hpp> #include "bundle_info.hpp" #include "generated_entity_lookup.hpp" #include "IP_MIB.hpp" using namespace ydk; namespace cisco_ios_xe { namespace IP_MIB { IPMIB::IPMIB() : ip(std::make_shared<IPMIB::Ip>()) , iptrafficstats(std::make_sha...
38.681611
1,810
0.734013
CiscoDevNet
cad2c3baaa4ab70e2f9e6384e047468d2bf3a435
1,794
cpp
C++
CXXPRIMER/test.cpp
Clelo4/OS_study
cf12a4721c3c9c338f91c2cdf069ac3b49b60522
[ "MIT" ]
null
null
null
CXXPRIMER/test.cpp
Clelo4/OS_study
cf12a4721c3c9c338f91c2cdf069ac3b49b60522
[ "MIT" ]
null
null
null
CXXPRIMER/test.cpp
Clelo4/OS_study
cf12a4721c3c9c338f91c2cdf069ac3b49b60522
[ "MIT" ]
null
null
null
/** * @file 1.cpp * @author Jack * @mail chengjunjie.jack@gmail.com * @date 2021-12-28 * @version 0.1 * * @copyright Copyright (c) 2021 */ #include <algorithm> #include <cstdio> #include <iostream> #include <string> #include <type_traits> #include <vector> class B; class A { public: A(int a, int b = 1, int...
20.62069
68
0.554069
Clelo4
cad2cf6ce997ee6f1ed98c20b9f1d3d20c6e4471
11,262
hpp
C++
lib/gfx/include/gfx_draw_helpers.hpp
codewitch-honey-crisis/gfx_demo
90545974ff95d5b0e4f5f5320ac6b05b8172a0ec
[ "MIT" ]
58
2021-05-10T23:25:06.000Z
2022-03-22T00:59:04.000Z
lib/gfx/include/gfx_draw_helpers.hpp
codewitch-honey-crisis/gfx_demo
90545974ff95d5b0e4f5f5320ac6b05b8172a0ec
[ "MIT" ]
3
2021-07-28T16:26:35.000Z
2022-02-18T21:45:09.000Z
lib/gfx/include/gfx_draw_helpers.hpp
codewitch-honey-crisis/gfx_demo
90545974ff95d5b0e4f5f5320ac6b05b8172a0ec
[ "MIT" ]
5
2021-07-16T12:00:48.000Z
2022-02-14T02:04:06.000Z
#ifndef HTCW_GFX_DRAW_HELPERS_HPP #define HTCW_GFX_DRAW_HELPERS_HPP #include "gfx_positioning.hpp" namespace gfx { namespace helpers { template<typename Destination,typename Source,bool HasAlpha> struct blender { static gfx_result point(Destination& destination,point16 pt,Source& sourc...
43.992188
143
0.551234
codewitch-honey-crisis
cad317aafe7c0078ca77280af0b65a64d4ac8d9a
21,455
cpp
C++
src/lib/objects/aobject.cpp
leaderit/ananas-qt4
6830bf5074b316582a38f6bed147a1186dd7cc95
[ "MIT" ]
1
2021-03-16T21:47:41.000Z
2021-03-16T21:47:41.000Z
src/lib/objects/aobject.cpp
leaderit/ananas-qt4
6830bf5074b316582a38f6bed147a1186dd7cc95
[ "MIT" ]
null
null
null
src/lib/objects/aobject.cpp
leaderit/ananas-qt4
6830bf5074b316582a38f6bed147a1186dd7cc95
[ "MIT" ]
null
null
null
/**************************************************************************** ** $Id: aobject.cpp,v 1.3 2008/11/09 21:09:11 leader Exp $ ** ** Code file of the Ananas Object of Ananas ** Designer and Engine applications ** ** Created : 20031201 ** ** Copyright (C) 2003-2004 Leader InfoTech. All rights reserved. ** Cop...
18.869833
123
0.633605
leaderit
cad3e94e1b59a1fdce02299341fce844a0656a78
1,993
cpp
C++
Problems/CtCi6thEd/Chapter-3/stackMin.cpp
pedrotorreao/DSA
31f9dffbed5275590d5c7b7f6a73fd6dea411564
[ "MIT" ]
1
2021-07-08T01:02:06.000Z
2021-07-08T01:02:06.000Z
Problems/CtCi6thEd/Chapter-3/stackMin.cpp
pedrotorreao/DSA
31f9dffbed5275590d5c7b7f6a73fd6dea411564
[ "MIT" ]
null
null
null
Problems/CtCi6thEd/Chapter-3/stackMin.cpp
pedrotorreao/DSA
31f9dffbed5275590d5c7b7f6a73fd6dea411564
[ "MIT" ]
null
null
null
/*********************************************************************************************/ /* Problem: Stack Min (CtCi 3.2) ********/ /*********************************************************************************************/ /* --Problem statement: How would you design a stack which, in addition to push and...
20.760417
98
0.530858
pedrotorreao
cad64800a8364134b661a3cdcf4d3ccc8041f3f3
1,080
cpp
C++
2021/04. Conditions/20311006/7. CircleIntercept 2.0/7. CircleIntercept 2.0.cpp
GeorgiIT/CS104
7efcc069256dfdb5bc18bd76fbb683edf2cde230
[ "MIT" ]
7
2021-03-24T16:30:45.000Z
2022-03-27T09:02:15.000Z
2021/04. Conditions/20311006/7. CircleIntercept 2.0/7. CircleIntercept 2.0.cpp
GeorgiIT/CS104
7efcc069256dfdb5bc18bd76fbb683edf2cde230
[ "MIT" ]
null
null
null
2021/04. Conditions/20311006/7. CircleIntercept 2.0/7. CircleIntercept 2.0.cpp
GeorgiIT/CS104
7efcc069256dfdb5bc18bd76fbb683edf2cde230
[ "MIT" ]
17
2021-03-22T09:42:22.000Z
2022-03-28T03:24:07.000Z
#include <iostream> #include <cmath> using namespace std; int main() { float Ax, Ay, Ar, Bx, By, Br; cout << "Enter first circle [x y r]:" << endl; cin >> Ax >> Ay >> Ar; cout << "Enter second circle [x y r]:" << endl; cin >> Bx >> By >> Br; float d = sqrt(pow((Ax - Bx), 2) + pow((Ay - By), 2))...
31.764706
62
0.424074
GeorgiIT
cad698cf8e4dc0ef03757f0b4cd624f36c2283d1
1,067
cpp
C++
Scripts/out/v8pp-module/bakkesmod/wrappers/GameObject/CarComponent/DoubleJumpComponentWrapper.cpp
Stanbroek/BakkesModSDK-JavaScript
356c466766a24016edf6a6a6a9b43b0d30407b76
[ "MIT" ]
1
2022-01-27T17:35:02.000Z
2022-01-27T17:35:02.000Z
Scripts/out/v8pp-module/bakkesmod/wrappers/GameObject/CarComponent/DoubleJumpComponentWrapper.cpp
Stanbroek/BakkesModSDK-JavaScript
356c466766a24016edf6a6a6a9b43b0d30407b76
[ "MIT" ]
null
null
null
Scripts/out/v8pp-module/bakkesmod/wrappers/GameObject/CarComponent/DoubleJumpComponentWrapper.cpp
Stanbroek/BakkesModSDK-JavaScript
356c466766a24016edf6a6a6a9b43b0d30407b76
[ "MIT" ]
null
null
null
void bind_DoubleJumpComponentWrapper([[maybe_unused]] v8::Isolate* isolate, v8pp::module& module) { v8pp::class_<DoubleJumpComponentWrapper> cl_DoubleJumpComponentWrapper(isolate); cl_DoubleJumpComponentWrapper.inherit<CarComponentWrapper>(); cl_DoubleJumpComponentWrapper.ctor<uintptr_t>(); cl_DoubleJumpComponentW...
71.133333
144
0.839738
Stanbroek
cad88d7a70ebfce8c460486420008734b51228f4
7,388
cpp
C++
src/src/state_expresslrs.cpp
cruwaller/FENIX-rx5808-pro-diversity
6d1c07bde3c0782a599c3a0a40db8dacc522ef6e
[ "MIT" ]
1
2020-08-20T19:58:13.000Z
2020-08-20T19:58:13.000Z
src/src/state_expresslrs.cpp
cruwaller/FENIX-rx5808-pro-diversity
6d1c07bde3c0782a599c3a0a40db8dacc522ef6e
[ "MIT" ]
null
null
null
src/src/state_expresslrs.cpp
cruwaller/FENIX-rx5808-pro-diversity
6d1c07bde3c0782a599c3a0a40db8dacc522ef6e
[ "MIT" ]
null
null
null
#include <stdint.h> #include "settings_eeprom.h" #include "state_expresslrs.h" #include "ui.h" #include "temperature.h" #include "touchpad.h" #include "comm_espnow.h" #include "protocol_ExpressLRS.h" void StateMachine::ExLRSStateHandler::onEnter() { //onUpdateDraw(false); } void StateMachine::ExLRSStateHandler:...
27.774436
91
0.479561
cruwaller
cadcc2b6714e6671e442e9b1df1a7bf4145cbce1
215
cpp
C++
apps/main.cpp
zhearing/basic_Structure_from_Motion
110f4bca4a78c7a9357b6c2a6475ba922431677f
[ "MIT" ]
null
null
null
apps/main.cpp
zhearing/basic_Structure_from_Motion
110f4bca4a78c7a9357b6c2a6475ba922431677f
[ "MIT" ]
null
null
null
apps/main.cpp
zhearing/basic_Structure_from_Motion
110f4bca4a78c7a9357b6c2a6475ba922431677f
[ "MIT" ]
null
null
null
// Copyright 2018 Zeyu Zhong // Lincese(MIT) // Author: Zeyu Zhong // Date: 2018.5.7 #include "../src/basicSfM.h" int main(int argc, char *argv[]) { basicSfM sfm; sfm.algorithm_sparse3d(); return 0; }
16.538462
34
0.637209
zhearing
cadd46c3909b89e1617961c273435bb98b73f88f
5,703
cpp
C++
src/Webinaria/Grabber.cpp
mkmpvtltd1/Webinaria
41d86467800adb48e77ab49b92891fae2a99bb77
[ "MIT" ]
5
2015-03-31T15:51:22.000Z
2022-03-10T07:01:56.000Z
src/Webinaria/Grabber.cpp
mkmpvtltd1/Webinaria
41d86467800adb48e77ab49b92891fae2a99bb77
[ "MIT" ]
null
null
null
src/Webinaria/Grabber.cpp
mkmpvtltd1/Webinaria
41d86467800adb48e77ab49b92891fae2a99bb77
[ "MIT" ]
null
null
null
#include "StdAfx.h" #include "Grabber.h" using namespace WebinariaApplication::WebinariaLogical; ////////////////////////////////////////////////////////////////////////// // Public methods // ////////////////////////////////////////////////////////////////////////// // Default constructor CGrabber::CGrab...
23.861925
124
0.676311
mkmpvtltd1
cadd8abc4d2c83c0b3b3aefd622051866e31a55b
3,236
cpp
C++
src/proofnetwork/user.cpp
DmitryNesterenok/proofbase
acd8e9420ddbd33d0ed933060e6082477cce1f0a
[ "BSD-3-Clause" ]
null
null
null
src/proofnetwork/user.cpp
DmitryNesterenok/proofbase
acd8e9420ddbd33d0ed933060e6082477cce1f0a
[ "BSD-3-Clause" ]
null
null
null
src/proofnetwork/user.cpp
DmitryNesterenok/proofbase
acd8e9420ddbd33d0ed933060e6082477cce1f0a
[ "BSD-3-Clause" ]
null
null
null
/* Copyright 2018, OpenSoft 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 a...
29.153153
101
0.717862
DmitryNesterenok
cadedb4dec156252ce1748b4dac7cd5f88a358c1
416
hpp
C++
lib/kernel/src/kernel/stacksize.hpp
daantimmer/dtos
20b1e8463983394296690131ad0fb77a32e05574
[ "MIT" ]
1
2020-05-31T22:49:39.000Z
2020-05-31T22:49:39.000Z
lib/kernel/src/kernel/stacksize.hpp
daantimmer/dtos
20b1e8463983394296690131ad0fb77a32e05574
[ "MIT" ]
1
2022-01-03T23:55:34.000Z
2022-01-03T23:55:34.000Z
lib/kernel/src/kernel/stacksize.hpp
daantimmer/dtos
20b1e8463983394296690131ad0fb77a32e05574
[ "MIT" ]
null
null
null
#pragma once #include "type_safe/strong_typedef.hpp" #include <cstddef> namespace kernel { struct StackSize_t : type_safe::strong_typedef<StackSize_t, std::size_t> , type_safe::strong_typedef_op::addition<StackSize_t> , type_safe::strong_typedef_op::subtraction<StackSize_t> ...
27.733333
83
0.689904
daantimmer
cadf4fd3b8d50e506571832aae0832c4a8c3391b
7,228
cpp
C++
Src/OpenGL/Shapes/GLOpenAssetImportMesh.cpp
StavrosBizelis/NetworkDistributedDeferredShading
07c03ce9b13bb5adb164cd4321b2bba284e49b4d
[ "MIT" ]
null
null
null
Src/OpenGL/Shapes/GLOpenAssetImportMesh.cpp
StavrosBizelis/NetworkDistributedDeferredShading
07c03ce9b13bb5adb164cd4321b2bba284e49b4d
[ "MIT" ]
null
null
null
Src/OpenGL/Shapes/GLOpenAssetImportMesh.cpp
StavrosBizelis/NetworkDistributedDeferredShading
07c03ce9b13bb5adb164cd4321b2bba284e49b4d
[ "MIT" ]
null
null
null
/*********************************************************************** * AUTHOR: <Doublecross> * FILE: GLOpenAssetImportMesh.cpp * DATE: Mon Jun 11 16:21:07 2018 * DESCR: ***********************************************************************/ #include "OpenGL/Shapes/GLOpenAssetImportMesh.h" #include <ass...
26.671587
163
0.642778
StavrosBizelis
cadf83d04a50f806791698ba7f714e12ae0b80dd
1,229
hxx
C++
Legolas/Matrix/tst/PoissonEquation2DTT/LaplacianMatrixDefinition.hxx
LaurentPlagne/Legolas
fdf533528baf7ab5fcb1db15d95d2387b3e3723c
[ "MIT" ]
null
null
null
Legolas/Matrix/tst/PoissonEquation2DTT/LaplacianMatrixDefinition.hxx
LaurentPlagne/Legolas
fdf533528baf7ab5fcb1db15d95d2387b3e3723c
[ "MIT" ]
null
null
null
Legolas/Matrix/tst/PoissonEquation2DTT/LaplacianMatrixDefinition.hxx
LaurentPlagne/Legolas
fdf533528baf7ab5fcb1db15d95d2387b3e3723c
[ "MIT" ]
1
2021-02-11T14:43:25.000Z
2021-02-11T14:43:25.000Z
/** * project DESCARTES * * @file LaplacianMatrixDefinition.hxx * * @author Laurent PLAGNE * @date june 2004 - january 2005 * * @par Modifications * - author date object * * (c) Copyright EDF R&D - CEA 2001-2005 */ #ifndef __LEGOLAS_LAPLACIANMATRIXDEFINITION_HXX__ #define __LEGOLAS_LAPLACIANMATRI...
27.931818
93
0.71847
LaurentPlagne
cae654e9332356a12d0a2c043548f0c35e29f5cc
2,446
cpp
C++
templates/bcc_node.cpp
ssstare/icpc
4f0ed7b045297459a6abfd880e0b995124af4bd0
[ "MIT" ]
7
2021-03-30T06:19:09.000Z
2022-03-27T12:50:36.000Z
templates/bcc_node.cpp
ssstare/icpc
4f0ed7b045297459a6abfd880e0b995124af4bd0
[ "MIT" ]
null
null
null
templates/bcc_node.cpp
ssstare/icpc
4f0ed7b045297459a6abfd880e0b995124af4bd0
[ "MIT" ]
null
null
null
const int kN = 10000 + 5; const int kM = 100000 + 5; int dfn[kN],low[kN],head[kN],etot,btot,n,m,nq,belong[kN]; bool is_cut[kN],visited[kN]; std::stack<int> stack; struct Edge { int v,next,belong; bool visited,is_cut; }g[kM<<1]; std::vector<int> graph[kN+kM]; void add_edge(int u,int v) { g[etot].belong = -1; g[...
23.747573
80
0.481194
ssstare
cae7fe89a55f01c35e3ae9e30685681cfaedd0dd
523
cc
C++
chromeos/dbus/cryptohome/account_identifier_operators.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
chromeos/dbus/cryptohome/account_identifier_operators.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
chromeos/dbus/cryptohome/account_identifier_operators.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.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 "chromeos/dbus/cryptohome/account_identifier_operators.h" namespace cryptohome { bool operator<(const AccountIdentifier& l, const AccountIdenti...
29.055556
73
0.751434
zealoussnow