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
fbcba0d70dfedecba3aee499c267b17ca5e5cdeb
860
cpp
C++
new folder/codejamrobot.cpp
bprithiraj/DSA-CPsolvedproblemscode
4b3765e4afb26016fade1f1e526b36934583c668
[ "Apache-2.0" ]
null
null
null
new folder/codejamrobot.cpp
bprithiraj/DSA-CPsolvedproblemscode
4b3765e4afb26016fade1f1e526b36934583c668
[ "Apache-2.0" ]
null
null
null
new folder/codejamrobot.cpp
bprithiraj/DSA-CPsolvedproblemscode
4b3765e4afb26016fade1f1e526b36934583c668
[ "Apache-2.0" ]
null
null
null
#include<iostream> #include<string> #include<algorithm> #include<set> void test_case() { int n; cin>>n; vector<string>they(n); for(int i=0;i<n;i++) { cin>>they(i); string moves; for(int pos=0;true;pos++) { set<int>chars; for(string s:they) { chars.insert[s[pos%s.length()]]; } If(...
15.087719
48
0.502326
bprithiraj
fbcbeea84548acb6c85d54a57d05ee4bc8128e92
575
cpp
C++
Programming/lab05/cpp/5lab.cpp
3xlerman/labsbonch
5255bb62e3cd8d707e38d7ffc0e7ef99f764773b
[ "MIT" ]
3
2020-04-27T11:49:34.000Z
2020-04-30T10:27:58.000Z
Programming/lab05/cpp/5lab.cpp
3xlerman/labsbonch
5255bb62e3cd8d707e38d7ffc0e7ef99f764773b
[ "MIT" ]
null
null
null
Programming/lab05/cpp/5lab.cpp
3xlerman/labsbonch
5255bb62e3cd8d707e38d7ffc0e7ef99f764773b
[ "MIT" ]
null
null
null
#include <iostream> #include <math.h> using namespace std; int main() { float x, y, znamSum, chislSum, i, j, k, n, m; cout << "n= "; cin >> n; cout << "m= "; cin >> m; cout << "x= "; cin >> x; y = 0; znamSum = 0; chislSum = 0; for(i=1;i<=n;i++) { for(j=1;j<=m;j++...
17.96875
55
0.382609
3xlerman
fbd2e44c4666b106c60546cbb6f714bd914933a8
5,765
cc
C++
tensorflow/core/kernels/xsmm_conv2d.cc
bhbai/tensorflow
d4b5c606fc9fbd1a20b5b113b4bc831f31d889a3
[ "Apache-2.0" ]
65
2016-09-26T01:30:40.000Z
2021-08-11T17:00:41.000Z
tensorflow/core/kernels/xsmm_conv2d.cc
bhbai/tensorflow
d4b5c606fc9fbd1a20b5b113b4bc831f31d889a3
[ "Apache-2.0" ]
5
2017-02-21T08:37:52.000Z
2017-03-29T05:46:05.000Z
tensorflow/core/kernels/xsmm_conv2d.cc
bhbai/tensorflow
d4b5c606fc9fbd1a20b5b113b4bc831f31d889a3
[ "Apache-2.0" ]
10
2017-02-08T21:39:27.000Z
2018-10-04T17:34:54.000Z
/* Copyright 2016 The TensorFlow 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 a...
36.955128
80
0.721075
bhbai
fbd4217c109fdd479f197bfe296eceb994c22065
807
cpp
C++
src/0027_remove_element.cpp
hariharanragothaman/cpprevise-leetcode
736d497961f5493a82c3f9355abbc2daa8219643
[ "Apache-2.0" ]
1
2021-04-21T07:59:30.000Z
2021-04-21T07:59:30.000Z
src/0027_remove_element.cpp
hariharanragothaman/cpprevise-leetcode
736d497961f5493a82c3f9355abbc2daa8219643
[ "Apache-2.0" ]
null
null
null
src/0027_remove_element.cpp
hariharanragothaman/cpprevise-leetcode
736d497961f5493a82c3f9355abbc2daa8219643
[ "Apache-2.0" ]
null
null
null
/* Remove element from an array -in place and return the length of the resultant array */ #include "headers.h" class Solution { public: int removeElement(vector<int>& nums, int val) { int index = 0; for(int i=0; i < nums.size(); i++) { if(nums[i] != val) ...
21.236842
90
0.490706
hariharanragothaman
fbd70fabe038cad1bb9011d0583a1304357e402c
1,797
cpp
C++
src/net/data/message.cpp
wensiso/Ayvu
1f147b2e468b221a8f98db40de07cd95261ba123
[ "Apache-2.0" ]
null
null
null
src/net/data/message.cpp
wensiso/Ayvu
1f147b2e468b221a8f98db40de07cd95261ba123
[ "Apache-2.0" ]
null
null
null
src/net/data/message.cpp
wensiso/Ayvu
1f147b2e468b221a8f98db40de07cd95261ba123
[ "Apache-2.0" ]
null
null
null
/* * Message.cpp * * Created on: 07/11/2013 * Author: Wendell */ #include <message.h> namespace ayvu { Message::Message() { m_header.timestamp = 0; m_header.sequence = 0; m_data = new QByteArray(); m_receive_timestamp = 0; } Message::Message(QByteArray& data, qint64 seq) { m_header.timestamp = QDat...
20.191011
64
0.732332
wensiso
fbd8dbf4028bb72dd478f0fccbde51c35ec9d1f2
1,514
cpp
C++
src/tests/core/Test_RootBounds.cpp
smtrat/carl-windows
22b3a7677477cdbed9adc7619479ce82a0304666
[ "MIT" ]
29
2015-05-19T12:17:16.000Z
2021-03-05T17:53:00.000Z
src/tests/core/Test_RootBounds.cpp
smtrat/carl-windows
22b3a7677477cdbed9adc7619479ce82a0304666
[ "MIT" ]
36
2016-10-26T12:47:11.000Z
2021-03-03T15:19:38.000Z
src/tests/core/Test_RootBounds.cpp
smtrat/carl-windows
22b3a7677477cdbed9adc7619479ce82a0304666
[ "MIT" ]
16
2015-05-27T07:35:19.000Z
2021-03-05T17:53:08.000Z
#include <gtest/gtest.h> #include <carl/core/VariablePool.h> #include <carl/core/UnivariatePolynomial.h> #include <carl/core/polynomialfunctions/Chebyshev.h> #include <carl/core/polynomialfunctions/RootBounds.h> #include "../Common.h" using UPoly = carl::UnivariatePolynomial<Rational>; template<typename T> class R...
31.541667
87
0.73712
smtrat
fbdde82423c30520ae968617046e0f4e3a07cb62
780
cpp
C++
LeetCode/Spiral Matrix II/main.cpp
Code-With-Aagam/competitive-programming
610520cc396fb13a03c606b5fb6739cfd68cc444
[ "MIT" ]
2
2022-02-08T12:37:41.000Z
2022-03-09T03:48:56.000Z
LeetCode/Spiral Matrix II/main.cpp
Code-With-Aagam/competitive-programming
610520cc396fb13a03c606b5fb6739cfd68cc444
[ "MIT" ]
null
null
null
LeetCode/Spiral Matrix II/main.cpp
Code-With-Aagam/competitive-programming
610520cc396fb13a03c606b5fb6739cfd68cc444
[ "MIT" ]
null
null
null
class Solution { public: vector<vector<int>> generateMatrix(int n) { vector<vector<int>> arr(n, vector<int>(n)); int dir = 0, rowStart = 0, rowEnd = n - 1, colStart = 0, colEnd = n - 1, num = 1; while (rowStart <= rowEnd && colStart <= colEnd) { if (dir == 0) { for (int j = colStart; j <= colEnd; ++j) { ...
24.375
83
0.489744
Code-With-Aagam
fbdf08b5f3aab6c5e235e6de30d35263abf182bc
338
cpp
C++
chapter12/exercise12_26.cpp
zerenlu/primer_Cpp
4882e244ef90c9f69e344171468b8cfc8308b2c4
[ "MIT" ]
null
null
null
chapter12/exercise12_26.cpp
zerenlu/primer_Cpp
4882e244ef90c9f69e344171468b8cfc8308b2c4
[ "MIT" ]
null
null
null
chapter12/exercise12_26.cpp
zerenlu/primer_Cpp
4882e244ef90c9f69e344171468b8cfc8308b2c4
[ "MIT" ]
null
null
null
#include<string> #include<memory> #include<iostream> int main() { int n(2); std::allocator<std::string> s_m; auto const p = s_m.allocate(n); std::string s; auto q = p; while (std::cin >> s && q != p + n) { s_m.construct(q++, s); } const size_t size = q - p; while (q != p) { s_m.destroy(--q); } s_m.d...
14.083333
38
0.573964
zerenlu
fbe18bc3c0038a05b001fc500b7381ffffa086cc
4,022
cpp
C++
ext/emsdk_portable/clang/tag-e1.34.1/src/unittests/Bitcode/NaClAbbrevErrorTests.cpp
slightperturbation/Cobalt
7b398d155d28f7ddf4068a6c25c8aa6aaae486d4
[ "Apache-2.0" ]
null
null
null
ext/emsdk_portable/clang/tag-e1.34.1/src/unittests/Bitcode/NaClAbbrevErrorTests.cpp
slightperturbation/Cobalt
7b398d155d28f7ddf4068a6c25c8aa6aaae486d4
[ "Apache-2.0" ]
null
null
null
ext/emsdk_portable/clang/tag-e1.34.1/src/unittests/Bitcode/NaClAbbrevErrorTests.cpp
slightperturbation/Cobalt
7b398d155d28f7ddf4068a6c25c8aa6aaae486d4
[ "Apache-2.0" ]
null
null
null
//===- llvm/unittest/Bitcode/NaClAbbrevErrorTests.cpp ---------------------===// // Tests parser for PNaCl bitcode instructions. // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===---...
42.787234
80
0.55271
slightperturbation
fbe42dad361b377f505f35e3da99634ae9c29d9c
19,518
cpp
C++
Core/SoarKernel/src/soar_representation/agent.cpp
emamanto/Soar
72d2bc095068dd87ac78dad4f48938f6edc0353a
[ "BSD-2-Clause" ]
2
2019-11-21T14:40:00.000Z
2020-10-25T15:44:53.000Z
Core/SoarKernel/src/soar_representation/agent.cpp
emamanto/Soar
72d2bc095068dd87ac78dad4f48938f6edc0353a
[ "BSD-2-Clause" ]
null
null
null
Core/SoarKernel/src/soar_representation/agent.cpp
emamanto/Soar
72d2bc095068dd87ac78dad4f48938f6edc0353a
[ "BSD-2-Clause" ]
2
2019-12-23T05:06:28.000Z
2020-01-16T12:57:55.000Z
/************************************************************************* * PLEASE SEE THE FILE "license.txt" (INCLUDED WITH THIS SOFTWARE PACKAGE) * FOR LICENSE AND COPYRIGHT INFORMATION. *************************************************************************/ /**************************************************...
41.351695
128
0.664207
emamanto
fbe4588c43b0b9c5602afd51fa2216a02f4046dc
5,858
cpp
C++
TriangleSplitter/TriangleSplitterFixedLeafSize.cpp
jrouwe/RayCastTest
6f16eef819bd13f7f7bf063b076dab7091b1886a
[ "MIT" ]
7
2020-05-26T15:23:25.000Z
2022-02-25T19:36:25.000Z
TriangleSplitter/TriangleSplitterFixedLeafSize.cpp
jrouwe/RayCastTest
6f16eef819bd13f7f7bf063b076dab7091b1886a
[ "MIT" ]
null
null
null
TriangleSplitter/TriangleSplitterFixedLeafSize.cpp
jrouwe/RayCastTest
6f16eef819bd13f7f7bf063b076dab7091b1886a
[ "MIT" ]
2
2022-03-02T16:30:50.000Z
2022-03-06T14:45:33.000Z
#include <pch.h> // IWYU pragma: keep #include <TriangleSplitter/TriangleSplitterFixedLeafSize.h> #include <TriangleGrouper/TriangleGrouperClosestCentroid.h> TriangleSplitterFixedLeafSize::TriangleSplitterFixedLeafSize(const VertexList &inVertices, const IndexedTriangleList &inTriangles, uint inLeafSize, uint in...
35.077844
215
0.698191
jrouwe
fbe66069d17680ad18613bde5d34f79314bf1d19
672
cpp
C++
0169. Majority Element.cpp
luispc111/Leetcode_problems
6f3bc5fb89cb4b9e6e2940b551341489580bd3a0
[ "MIT" ]
null
null
null
0169. Majority Element.cpp
luispc111/Leetcode_problems
6f3bc5fb89cb4b9e6e2940b551341489580bd3a0
[ "MIT" ]
null
null
null
0169. Majority Element.cpp
luispc111/Leetcode_problems
6f3bc5fb89cb4b9e6e2940b551341489580bd3a0
[ "MIT" ]
null
null
null
#include <map> class Solution { public: int majorityElement(vector<int>& nums) { map<int,int> elementos; for (int i = 0; i < nums.size(); i++){ // No está en mi map if(elementos.find(nums[i]) == elementos.end()){ ele...
24
60
0.366071
luispc111
fbe901569596f1d14929c1dcaab88bc996a2e339
19,471
cpp
C++
components/stella/tia.cpp
mslinklater/retrotools
962d7ed5cfea09f901919cef4ec1b240a0396e0c
[ "BSD-2-Clause" ]
7
2019-11-18T23:11:23.000Z
2022-02-01T14:12:17.000Z
components/stella/tia.cpp
mslinklater/retrotools
962d7ed5cfea09f901919cef4ec1b240a0396e0c
[ "BSD-2-Clause" ]
70
2019-11-06T22:10:52.000Z
2022-02-19T09:49:03.000Z
components/stella/tia.cpp
mslinklater/retrotools
962d7ed5cfea09f901919cef4ec1b240a0396e0c
[ "BSD-2-Clause" ]
1
2020-01-03T13:28:34.000Z
2020-01-03T13:28:34.000Z
#include <assert.h> #include "common.h" #include "tia.h" #include "../commands.h" #include "command.h" #define HALT_ON_UNIMPLEMENTED 0 Tia::Tia() : rasterX(0) , rasterY(0) , frameNum(0) , rasterCount(0) , rasterCountLatched(0) , region(ERegion::NTSC) , bHaltOnTick(false) , bHaltOnHBlank(false) , bHaltOnVBlank(false)...
20.780149
89
0.617328
mslinklater
fbe95ed9c8f000ca556e89e544bddb85570b529b
560
cpp
C++
lab_03/libs/driver/src/objects/camera/camera.cpp
migregal/bmstu_iu7_oop
a17b2b5b5eaa175ae3ad4fa5a217b2664d4aa331
[ "MIT" ]
5
2021-05-24T20:03:38.000Z
2021-06-22T23:32:52.000Z
lab_03/libs/driver/src/objects/camera/camera.cpp
migregal/bmstu_iu7_oop
a17b2b5b5eaa175ae3ad4fa5a217b2664d4aa331
[ "MIT" ]
null
null
null
lab_03/libs/driver/src/objects/camera/camera.cpp
migregal/bmstu_iu7_oop
a17b2b5b5eaa175ae3ad4fa5a217b2664d4aa331
[ "MIT" ]
1
2021-06-17T19:32:26.000Z
2021-06-17T19:32:26.000Z
#include <objects/camera/camera.h> void Camera::move_x(const double &shift) { current_pos.set_x(current_pos.get_x() + shift); } void Camera::move_y(const double &shift) { current_pos.set_y(current_pos.get_y() + shift); } void Camera::move_z(const double &shift) { current_pos.set_z(current_pos.get_z() + s...
25.454545
82
0.701786
migregal
fbeb2091c94ff64d61805860d3d5c87b6b3fa5b0
5,164
hpp
C++
src/treegen.hpp
ReallySnazzy/Xhaust
d53cef987ecec9456ec3b002639035e69500298a
[ "MIT" ]
1
2021-11-13T01:23:06.000Z
2021-11-13T01:23:06.000Z
src/treegen.hpp
ReallySnazzy/Xhaust
d53cef987ecec9456ec3b002639035e69500298a
[ "MIT" ]
null
null
null
src/treegen.hpp
ReallySnazzy/Xhaust
d53cef987ecec9456ec3b002639035e69500298a
[ "MIT" ]
null
null
null
#ifndef Treegen_hpp #define Treegen_hpp #include "lexer.hpp" #include <vector> #include <string> #include <iostream> #define TN_UNDEFINED -1 #define TN_FUNC_CALL 0 #define TN_GROUP 1 #define TN_VALUE 2 #define TN_OPERATOR 3 #define TN_BLOCK 4 #define TN_IF 5 #define TN_EXHAUST 6 #pragma region Nodes class TreeNode ...
22.258621
134
0.577072
ReallySnazzy
fbedf45fc81550fc7986b9bd4618030034ba67ab
3,279
cpp
C++
redemption/tests/mod/internal/test_login_mod.cpp
DianaAssistant/DIANA
6a4c51c1861f6a936941b21c2c905fc291c229d7
[ "MIT" ]
null
null
null
redemption/tests/mod/internal/test_login_mod.cpp
DianaAssistant/DIANA
6a4c51c1861f6a936941b21c2c905fc291c229d7
[ "MIT" ]
null
null
null
redemption/tests/mod/internal/test_login_mod.cpp
DianaAssistant/DIANA
6a4c51c1861f6a936941b21c2c905fc291c229d7
[ "MIT" ]
null
null
null
/* This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be usefu...
36.842697
101
0.727356
DianaAssistant
fbf053ec7d876df54b5204a299e6fd3d8d4612fb
2,491
cpp
C++
tests/test_broker_shell.cpp
ETCLabs/RDMnetBroker
c71ebec3e187b2a560f37ff37ffe9b442f609f83
[ "Apache-2.0" ]
null
null
null
tests/test_broker_shell.cpp
ETCLabs/RDMnetBroker
c71ebec3e187b2a560f37ff37ffe9b442f609f83
[ "Apache-2.0" ]
2
2019-09-13T13:39:56.000Z
2019-10-29T22:21:45.000Z
tests/test_broker_shell.cpp
ETCLabs/RDMnetBroker
c71ebec3e187b2a560f37ff37ffe9b442f609f83
[ "Apache-2.0" ]
null
null
null
/****************************************************************************** * Copyright 2019 ETC Inc. * * 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/l...
37.179104
116
0.676837
ETCLabs
fbf2c66e90cf093c588233d6da46a9ba674c7471
4,629
cpp
C++
thirdparty/webm/src/libmkv/EbmlWriter.cpp
WowaBBS/CrashRpt
edcec3751df1e0d4e92a71560ff5b91b0abafd1e
[ "BSD-3-Clause" ]
37
2017-06-01T23:38:05.000Z
2020-11-06T02:29:47.000Z
thirdparty/webm/src/libmkv/EbmlWriter.cpp
WowaBBS/CrashRpt
edcec3751df1e0d4e92a71560ff5b91b0abafd1e
[ "BSD-3-Clause" ]
11
2017-07-26T01:22:37.000Z
2021-01-08T07:27:02.000Z
thirdparty/webm/src/libmkv/EbmlWriter.cpp
WowaBBS/CrashRpt
edcec3751df1e0d4e92a71560ff5b91b0abafd1e
[ "BSD-3-Clause" ]
20
2018-01-07T00:13:08.000Z
2021-01-08T07:54:03.000Z
// Copyright (c) 2010 The WebM 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 projec...
26.912791
113
0.667531
WowaBBS
fbf529aef311fabf5aee4dd95a35beab0236324e
539
cpp
C++
Source/StdLib/Terminal.cpp
FoxCutter/BootDebug
d40afa3a19d8a840788cbdb091cc121b01b36f7f
[ "BSD-2-Clause" ]
null
null
null
Source/StdLib/Terminal.cpp
FoxCutter/BootDebug
d40afa3a19d8a840788cbdb091cc121b01b36f7f
[ "BSD-2-Clause" ]
1
2020-02-15T03:11:11.000Z
2020-02-15T03:11:11.000Z
Source/StdLib/Terminal.cpp
FoxCutter/BootDebug
d40afa3a19d8a840788cbdb091cc121b01b36f7f
[ "BSD-2-Clause" ]
null
null
null
#include "Terminal.h" #include <windows.h> #pragma comment(linker, "/defaultlib:kernel32.lib") // This file should have the majority of OS dependent code in it. // //int Write(const char *szData, int cbLength) //{ // DWORD cbWritten; // // WriteFile(GetStdHandle(STD_OUTPUT_HANDLE), szData, cbLength, &cbWritten, n...
22.458333
85
0.695733
FoxCutter
fbf8d1b83d1c52c5353e1aa8d20299bef818b135
2,922
cpp
C++
examples/stm32f4_discovery/colour_tcs3414/main.cpp
roboterclubaachen/xpcc
010924901947381d20e83b838502880eb2ffea72
[ "BSD-3-Clause" ]
161
2015-01-13T15:52:06.000Z
2020-02-13T01:26:04.000Z
examples/stm32f4_discovery/colour_tcs3414/main.cpp
salkinium/xpcc
010924901947381d20e83b838502880eb2ffea72
[ "BSD-3-Clause" ]
281
2015-01-06T12:46:40.000Z
2019-01-06T13:06:57.000Z
examples/stm32f4_discovery/colour_tcs3414/main.cpp
salkinium/xpcc
010924901947381d20e83b838502880eb2ffea72
[ "BSD-3-Clause" ]
51
2015-03-03T19:56:12.000Z
2020-03-22T02:13:36.000Z
#include <xpcc/architecture/platform.hpp> #include <xpcc/processing.hpp> #include <xpcc/processing/protothread.hpp> #include <xpcc/driver/color/tcs3414.hpp> #include <xpcc/io/iostream.hpp> #include <xpcc/architecture/interface/gpio.hpp> xpcc::IODeviceWrapper< Usart2, xpcc::IOBuffer::BlockIfFull > device; xpcc::IOSt...
21.173913
79
0.658453
roboterclubaachen
fbfd2db8645cb6cff30f8935edf5cb2a0baa4ec2
2,509
hpp
C++
old/include/mp/adjacency_list/edges_ending_at.hpp
SuperV1234/ecst
b3c42e2c28978f1cd8ea620ade62613c6c875432
[ "AFL-3.0" ]
475
2016-05-03T13:34:30.000Z
2021-11-26T07:02:47.000Z
old/include/mp/adjacency_list/edges_ending_at.hpp
vittorioromeo/ecst
b3c42e2c28978f1cd8ea620ade62613c6c875432
[ "AFL-3.0" ]
28
2016-08-30T06:37:40.000Z
2017-11-24T11:14:07.000Z
old/include/mp/adjacency_list/edges_ending_at.hpp
vittorioromeo/ecst
b3c42e2c28978f1cd8ea620ade62613c6c875432
[ "AFL-3.0" ]
60
2016-05-11T22:16:15.000Z
2021-08-02T20:42:35.000Z
// Copyright (c) 2015-2016 Vittorio Romeo // License: Academic Free License ("AFL") v. 3.0 // AFL License page: http://opensource.org/licenses/AFL-3.0 // http://vittorioromeo.info | [email protected] #pragma once #include <ecst/config.hpp> #include <ecst/mp/edge.hpp> #include <ecst/mp/adjacency_list/ndp.hpp>...
33.453333
79
0.540454
SuperV1234
2201bd472dcbde16e135723d4ff2b377b1f726ff
28,647
cpp
C++
iSeg/ImageViewerWidget.cpp
ITISFoundation/osparc-iseg
6f38924120b3a3e7a0292914d2c17f24c735309b
[ "MIT" ]
32
2018-03-26T12:39:19.000Z
2022-03-22T20:54:22.000Z
iSeg/ImageViewerWidget.cpp
dyollb/osparc-iseg
6f38924120b3a3e7a0292914d2c17f24c735309b
[ "MIT" ]
10
2018-04-03T15:54:22.000Z
2022-02-01T14:32:36.000Z
iSeg/ImageViewerWidget.cpp
dyollb/osparc-iseg
6f38924120b3a3e7a0292914d2c17f24c735309b
[ "MIT" ]
11
2018-03-08T13:11:28.000Z
2021-02-01T10:43:39.000Z
/* * Copyright (c) 2021 The Foundation for Research on Information Technologies in Society (IT'IS). * * This file is part of iSEG * (see https://github.com/ITISFoundation/osparc-iseg). * * This software is released under the MIT License. * https://opensource.org/licenses/MIT */ #include "Precompiled.h" #inc...
24.484615
229
0.685098
ITISFoundation
220559445ed7807d051c504e414514a5eb367d1c
12,273
cpp
C++
Trees/BST With Infinite Input Number/BST_2.cpp
aayush-1/Data-Structures
eceb6360feef6e684a430113db7c0663e64aecfa
[ "MIT" ]
null
null
null
Trees/BST With Infinite Input Number/BST_2.cpp
aayush-1/Data-Structures
eceb6360feef6e684a430113db7c0663e64aecfa
[ "MIT" ]
null
null
null
Trees/BST With Infinite Input Number/BST_2.cpp
aayush-1/Data-Structures
eceb6360feef6e684a430113db7c0663e64aecfa
[ "MIT" ]
null
null
null
#include <stdio.h> #include<stdlib.h> int check(); void freee(); int l1; int l2; struct BST { struct node *pointer; struct BST *left; struct BST *right; struct BST *parent; }*root=NULL; struct node { int a; struct node *next; }*head=NULL,*head1=NULL; //inserting the no. in the ...
16.630081
98
0.436405
aayush-1
220ba7ab5b29865df7623acbcc807ef0faf5fec6
174
cpp
C++
tournaments/prefixSums/prefixSums.cpp
gurfinkel/codeSignal
114817947ac6311bd53a48f0f0e17c0614bf7911
[ "MIT" ]
5
2020-02-06T09:51:22.000Z
2021-03-19T00:18:44.000Z
tournaments/prefixSums/prefixSums.cpp
gurfinkel/codeSignal
114817947ac6311bd53a48f0f0e17c0614bf7911
[ "MIT" ]
null
null
null
tournaments/prefixSums/prefixSums.cpp
gurfinkel/codeSignal
114817947ac6311bd53a48f0f0e17c0614bf7911
[ "MIT" ]
3
2019-09-27T13:06:21.000Z
2021-04-20T23:13:17.000Z
std::vector<int> prefixSums(std::vector<int> a) { std::vector<int> b(1, a[0]); for (int i = 1; i < a.size(); i++) { b.push_back(b[i - 1] + a[i]); } return b; }
17.4
49
0.505747
gurfinkel
220ca8e6c2e30a1581f67272c2fcdaca28d2917b
8,881
cpp
C++
clang/lib/CConv/Utils.cpp
Bhaskers-Blu-Org2/checkedc-clang
84347be1c8213a1415ca6aa48b4e1a0cf072ad9a
[ "BSD-Source-Code" ]
null
null
null
clang/lib/CConv/Utils.cpp
Bhaskers-Blu-Org2/checkedc-clang
84347be1c8213a1415ca6aa48b4e1a0cf072ad9a
[ "BSD-Source-Code" ]
null
null
null
clang/lib/CConv/Utils.cpp
Bhaskers-Blu-Org2/checkedc-clang
84347be1c8213a1415ca6aa48b4e1a0cf072ad9a
[ "BSD-Source-Code" ]
1
2020-07-30T11:23:41.000Z
2020-07-30T11:23:41.000Z
//=--Utils.cpp----------------------------------------------------*- C++-*-===// // // 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 // //===---------------------------...
28.7411
80
0.649476
Bhaskers-Blu-Org2
220ed398776056607e332d8ab909a587aa28d4aa
397
cpp
C++
chapter6/constexpr.cpp
kingmax/cpp
b0c3abcfc77094421d906695a4ac167463a43b92
[ "Apache-2.0" ]
null
null
null
chapter6/constexpr.cpp
kingmax/cpp
b0c3abcfc77094421d906695a4ac167463a43b92
[ "Apache-2.0" ]
null
null
null
chapter6/constexpr.cpp
kingmax/cpp
b0c3abcfc77094421d906695a4ac167463a43b92
[ "Apache-2.0" ]
null
null
null
#include <iostream> using namespace std; constexpr int new_sz() { return 42; } constexpr size_t scale(size_t cnt) { return new_sz() * cnt; } int main() { constexpr int foo = new_sz(); cout << foo << endl; const size_t sc = scale(10); cout << sc << endl; int arr[scale(2)]; //ok cout << arr << endl; int...
13.233333
34
0.602015
kingmax
220f3bd9e47693b930fc311f5b37e95944d5bf04
1,075
cpp
C++
bwi_tasks_pnp/pnp/src/test/mainTest.cpp
pato/bwi_experimental
0cc71672580a886e4c405bbc6ea8305624a28572
[ "BSD-3-Clause" ]
null
null
null
bwi_tasks_pnp/pnp/src/test/mainTest.cpp
pato/bwi_experimental
0cc71672580a886e4c405bbc6ea8305624a28572
[ "BSD-3-Clause" ]
null
null
null
bwi_tasks_pnp/pnp/src/test/mainTest.cpp
pato/bwi_experimental
0cc71672580a886e4c405bbc6ea8305624a28572
[ "BSD-3-Clause" ]
null
null
null
#include <cppunit/extensions/TestFactoryRegistry.h> #include <cppunit/CompilerOutputter.h> #include <cppunit/TestResult.h> #include <cppunit/TestResultCollector.h> #include <cppunit/TestRunner.h> #include <cppunit/TextTestProgressListener.h> #include <cppunit/extensions/TestFactoryRegistry.h> #include <cstdlib> int ...
26.219512
77
0.727442
pato
2210d550b5823cf707704f68528a654f5f24517d
3,000
cpp
C++
trainings/2015-09-30-Multi-University-2015-6/A.cpp
HcPlu/acm-icpc
ab1f1d58bf2b4bf6677a2e4282fd3dadb3effbf8
[ "MIT" ]
9
2017-10-07T13:35:45.000Z
2021-06-07T17:36:55.000Z
trainings/2015-09-30-Multi-University-2015-6/A.cpp
zhijian-liu/acm-icpc
ab1f1d58bf2b4bf6677a2e4282fd3dadb3effbf8
[ "MIT" ]
null
null
null
trainings/2015-09-30-Multi-University-2015-6/A.cpp
zhijian-liu/acm-icpc
ab1f1d58bf2b4bf6677a2e4282fd3dadb3effbf8
[ "MIT" ]
3
2018-04-24T05:27:21.000Z
2019-04-25T06:06:00.000Z
#include <iostream> using namespace std; const int N = 111111; int n; int a[N], b[N]; pair<int, int> ans[N]; void recover() { for (int i = 0; i < n; i++) { a[i] = b[i]; } } int check() { for (int i = 0; i < n; i++) { if (a[i] != a[(i + 1) % n]) { return 0; } } ...
20.979021
71
0.296
HcPlu
81fb379858f03c11b943b95bf3fafec52dfbe31b
1,713
cpp
C++
JEBMath/JEBMath/Geometry/ProfileIterator.cpp
jebreimo/JEBLib
9066403a9372951aa8ce4f129cd4877e2ae779ab
[ "BSD-3-Clause" ]
1
2019-12-25T05:30:20.000Z
2019-12-25T05:30:20.000Z
JEBMath/JEBMath/Geometry/ProfileIterator.cpp
jebreimo/JEBLib
9066403a9372951aa8ce4f129cd4877e2ae779ab
[ "BSD-3-Clause" ]
null
null
null
JEBMath/JEBMath/Geometry/ProfileIterator.cpp
jebreimo/JEBLib
9066403a9372951aa8ce4f129cd4877e2ae779ab
[ "BSD-3-Clause" ]
null
null
null
#include "ProfileIterator.hpp" #include <limits> #include "../Math/Constants.hpp" #include "LineString.hpp" #include "Profile.hpp" namespace JEBMath { using namespace std; ProfileIterator::ProfileIterator(const Profile* prof, size_t* index) : m_Profile(prof), m_Index(index), m_UndefinedHeight(numeri...
18.223404
68
0.695271
jebreimo
81fed4602d315e10f484fcae51c46aca25b90d7f
138
cpp
C++
Game/Client/WXEngine/FakeObject/TDFakeObjSystem.cpp
hackerlank/SourceCode
b702c9e0a9ca5d86933f3c827abb02a18ffc9a59
[ "MIT" ]
4
2021-07-31T13:56:01.000Z
2021-11-13T02:55:10.000Z
Game/Client/WXEngine/FakeObject/TDFakeObjSystem.cpp
shacojx/SourceCodeGameTLBB
e3cea615b06761c2098a05427a5f41c236b71bf7
[ "MIT" ]
null
null
null
Game/Client/WXEngine/FakeObject/TDFakeObjSystem.cpp
shacojx/SourceCodeGameTLBB
e3cea615b06761c2098a05427a5f41c236b71bf7
[ "MIT" ]
7
2021-08-31T14:34:23.000Z
2022-01-19T08:25:58.000Z
#include "StdAfx.h" #include "TDFakeObjSystem.h" #include "TDException.h" WX_IMPLEMENT_DYNAMIC_VIRTUAL(tFakeObjSystem, GETCLASS(tNode));
23
62
0.804348
hackerlank
c3022a032e10cb683c19380b266c818434e51d6b
328
cpp
C++
modify_exit.cpp
jhonatheberson/circuit-simulator
fcb57c108c9138ba29af40918ea9ef2d67905f65
[ "MIT" ]
null
null
null
modify_exit.cpp
jhonatheberson/circuit-simulator
fcb57c108c9138ba29af40918ea9ef2d67905f65
[ "MIT" ]
null
null
null
modify_exit.cpp
jhonatheberson/circuit-simulator
fcb57c108c9138ba29af40918ea9ef2d67905f65
[ "MIT" ]
null
null
null
#include "modify_exit.h" #include "ui_modify_exit.h" modify_exit::modify_exit(QWidget *parent) : QDialog(parent), ui(new Ui::modify_exit) { ui->setupUi(this); } modify_exit::~modify_exit() { delete ui; } void modify_exit::on_id_exit_valueChanged(int arg1) { } void modify_exit::on_buttonBox_accepted...
13.12
51
0.704268
jhonatheberson
c3028c8a8e420981d1ff2bfda46e1f5d0c2aa5cc
2,619
cpp
C++
src/Module.cpp
lupuchard/eb
a51641e28fdfe4c1bf34234de07a2a78e0cf62c8
[ "MIT" ]
1
2015-12-28T22:30:17.000Z
2015-12-28T22:30:17.000Z
src/Module.cpp
lupuchard/eb
a51641e28fdfe4c1bf34234de07a2a78e0cf62c8
[ "MIT" ]
null
null
null
src/Module.cpp
lupuchard/eb
a51641e28fdfe4c1bf34234de07a2a78e0cf62c8
[ "MIT" ]
null
null
null
#include "ast/Module.h" bool Module::declare(Function& func) { if (func.pub) pub_functions.push_back(&func); auto key = std::make_pair(func.token.str(), func.param_names.size()); auto iter = functions.find(key); if (iter == functions.end()) { std::vector<Function*> vec; vec.push_back(&func); functions[key] =...
28.16129
100
0.701795
lupuchard
c304ebadb77294ee646c163929df9e7475b88f80
7,047
cpp
C++
src/mir/passes/threaded.cpp
neheb/meson-plus-plus
8f075012e7a12613883fa335b07c4143f5423111
[ "Apache-2.0" ]
null
null
null
src/mir/passes/threaded.cpp
neheb/meson-plus-plus
8f075012e7a12613883fa335b07c4143f5423111
[ "Apache-2.0" ]
null
null
null
src/mir/passes/threaded.cpp
neheb/meson-plus-plus
8f075012e7a12613883fa335b07c4143f5423111
[ "Apache-2.0" ]
null
null
null
// SPDX-license-identifier: Apache-2.0 // Copyright © 2022 Dylan Baker #include <algorithm> #include <array> #include <future> #include <iostream> #include <mutex> #include "argument_extractors.hpp" #include "exceptions.hpp" #include "log.hpp" #include "passes.hpp" #include "private.hpp" namespace MIR::Passes { nam...
33.557143
100
0.532709
neheb
c30b9af7f1b9ac41897db90405989e002c9e0e3b
3,294
cpp
C++
src/points/cylindrical.cpp
jonancm/viennagrid-python
a56f23ab65cf82b2f06ff546d45c056bb9d326b2
[ "MIT" ]
null
null
null
src/points/cylindrical.cpp
jonancm/viennagrid-python
a56f23ab65cf82b2f06ff546d45c056bb9d326b2
[ "MIT" ]
1
2015-05-13T08:28:52.000Z
2015-05-13T08:28:52.000Z
src/points/cylindrical.cpp
jonancm/viennagrid-python
a56f23ab65cf82b2f06ff546d45c056bb9d326b2
[ "MIT" ]
null
null
null
/* * Copyright (c) 2013 Jonan Cruz-Martin * * Distributed under the terms of the MIT license, see the accompanying * file COPYING or http://opensource.org/licenses/MIT. */ #include "cylindrical.hpp" #include "cartesian.hpp" #include "spherical.hpp" PointCylindrical3D::PointCylindrical3D() { point = new PointCy...
23.197183
98
0.754706
jonancm
c3138edb556d284ec262422a547c336c0182fbb0
819
cpp
C++
skim/src/main.cpp
mclauchlinc/analysis_twopi_clas6
620e8f032e225ba90d228563c702f5c9ac2a6f75
[ "MIT" ]
null
null
null
skim/src/main.cpp
mclauchlinc/analysis_twopi_clas6
620e8f032e225ba90d228563c702f5c9ac2a6f75
[ "MIT" ]
null
null
null
skim/src/main.cpp
mclauchlinc/analysis_twopi_clas6
620e8f032e225ba90d228563c702f5c9ac2a6f75
[ "MIT" ]
null
null
null
#include "TChain.h" #include "TStopwatch.h" #include "skim.hpp" using namespace std; int main(int argc, char **argv) { std::string infile; std::string outfile; if (argc == 2) { infile = argv[1]; outfile = infile.substr(0, infile.size() - 5) + "_skim.root"; } else if (argc == 3) { infile = argv[1]...
25.59375
88
0.570208
mclauchlinc
c314a2aab2ca429cd5919a4b1f2a8e1a80d4a55c
11,470
cpp
C++
Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/text/CTextUtils.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
7
2017-07-13T10:34:54.000Z
2021-04-16T05:40:35.000Z
Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/text/CTextUtils.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
null
null
null
Sources/Elastos/Frameworks/Droid/Base/Core/src/elastos/droid/text/CTextUtils.cpp
jingcao80/Elastos
d0f39852356bdaf3a1234743b86364493a0441bc
[ "Apache-2.0" ]
9
2017-07-13T12:33:20.000Z
2021-06-19T02:46:48.000Z
//========================================================================= // Copyright (C) 2012 The Elastos 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 // // ...
25.153509
107
0.611857
jingcao80
c322d7ba8400761ae530e7eb4c37f65b10cd2eba
7,185
cpp
C++
fboss/agent/hw/sai/switch/SaiPortManager.cpp
soumithx/fboss
84e921dcef19174c4c61d93e04736d80ba0b2b1c
[ "BSD-3-Clause" ]
null
null
null
fboss/agent/hw/sai/switch/SaiPortManager.cpp
soumithx/fboss
84e921dcef19174c4c61d93e04736d80ba0b2b1c
[ "BSD-3-Clause" ]
null
null
null
fboss/agent/hw/sai/switch/SaiPortManager.cpp
soumithx/fboss
84e921dcef19174c4c61d93e04736d80ba0b2b1c
[ "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. * */ #in...
34.37799
80
0.687404
soumithx
c323a29d81c9d2cdbb36b2f3fffd58f0108f2b32
3,836
cpp
C++
demo/Vitis-AI-Library/samples/dpu_task/psmnet/dpu_sfm.cpp
hito0512/Vitis-AI
996459fb96cb077ed2f7e789d515893b1cccbc95
[ "Apache-2.0" ]
1
2022-02-17T22:13:23.000Z
2022-02-17T22:13:23.000Z
demo/Vitis-AI-Library/samples/dpu_task/psmnet/dpu_sfm.cpp
hito0512/Vitis-AI
996459fb96cb077ed2f7e789d515893b1cccbc95
[ "Apache-2.0" ]
null
null
null
demo/Vitis-AI-Library/samples/dpu_task/psmnet/dpu_sfm.cpp
hito0512/Vitis-AI
996459fb96cb077ed2f7e789d515893b1cccbc95
[ "Apache-2.0" ]
null
null
null
/* * Copyright 2019 Xilinx Inc. * * 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 ...
34.558559
80
0.650938
hito0512
c3246940ac405fa28d57578f142c787dcd0bdb16
202
hpp
C++
vendor/cucumber-cpp/include/cucumber-cpp/defs.hpp
AndreasAugustin/Gherkin-Demos-cpp
79a4be81ee1fffce56ac503760a48a2b77d6d03f
[ "MIT" ]
1
2016-07-21T10:10:33.000Z
2016-07-21T10:10:33.000Z
vendor/cucumber-cpp/include/cucumber-cpp/defs.hpp
AndreasAugustin/Gherkin-Demos-cpp
79a4be81ee1fffce56ac503760a48a2b77d6d03f
[ "MIT" ]
null
null
null
vendor/cucumber-cpp/include/cucumber-cpp/defs.hpp
AndreasAugustin/Gherkin-Demos-cpp
79a4be81ee1fffce56ac503760a48a2b77d6d03f
[ "MIT" ]
null
null
null
#include "internal/step/StepManager.hpp" #include "internal/hook/HookRegistrar.hpp" #include "internal/ContextManager.hpp" #include "internal/Macros.hpp" #include "internal/drivers/DriverSelector.hpp"
28.857143
46
0.806931
AndreasAugustin
c32546e593916763e60177de71f7945a9d34dd1c
5,456
hxx
C++
include/z5/dataset_factory.hxx
isuruf/z5
2283297d25672d8cf1dc7ca9d809136dbe6b048c
[ "MIT" ]
null
null
null
include/z5/dataset_factory.hxx
isuruf/z5
2283297d25672d8cf1dc7ca9d809136dbe6b048c
[ "MIT" ]
null
null
null
include/z5/dataset_factory.hxx
isuruf/z5
2283297d25672d8cf1dc7ca9d809136dbe6b048c
[ "MIT" ]
null
null
null
#pragma once #include "z5/dataset.hxx" #include "z5/metadata.hxx" #include "z5/handle/handle.hxx" namespace fs = boost::filesystem; namespace z5 { // factory function to open an existing zarr-array inline std::unique_ptr<Dataset> openDataset(const std::string & path, const FileMode::modes mode=FileMode::a) {...
37.369863
115
0.592192
isuruf
c3256d968fa26eb4fb05971b039a5aabeb564c46
39,157
cpp
C++
gen/windows/kin/eigen/src/Jp_toe_joint_right.cpp
UMich-BipedLab/Cassie_StateEstimation
d410ddce0ab342651f5ec0540c2867faf959a3a9
[ "BSD-3-Clause" ]
26
2018-07-20T15:20:19.000Z
2022-03-14T07:12:12.000Z
gen/windows/kin/eigen/src/Jp_toe_joint_right.cpp
UMich-BipedLab/Cassie_StateEstimation
d410ddce0ab342651f5ec0540c2867faf959a3a9
[ "BSD-3-Clause" ]
2
2019-04-19T22:57:00.000Z
2022-01-11T12:46:20.000Z
gen/windows/kin/eigen/src/Jp_toe_joint_right.cpp
UMich-BipedLab/Cassie_StateEstimation
d410ddce0ab342651f5ec0540c2867faf959a3a9
[ "BSD-3-Clause" ]
10
2018-07-29T08:05:14.000Z
2022-02-03T08:48:11.000Z
/* * Automatically Generated from Mathematica. * Thu 23 May 2019 13:10:07 GMT-04:00 */ #include <stdio.h> #include <stdlib.h> #include <math.h> #include "Jp_toe_joint_right.h" #ifdef _MSC_VER #define INLINE __forceinline /* use __forceinline (VC++ specific) */ #else #define INLINE static inline ...
25.230026
347
0.661082
UMich-BipedLab
c327ed9f1e99830746560356017923f4bbf4014b
4,996
cpp
C++
lib/output_file.test.cpp
milasudril/wad64
c656710513013041e8efc29505d328abbbf5e843
[ "MIT" ]
null
null
null
lib/output_file.test.cpp
milasudril/wad64
c656710513013041e8efc29505d328abbbf5e843
[ "MIT" ]
2
2021-02-02T19:40:39.000Z
2021-02-21T10:25:02.000Z
lib/output_file.test.cpp
milasudril/wad64
c656710513013041e8efc29505d328abbbf5e843
[ "MIT" ]
null
null
null
//@ { //@ "targets":[{"name":"output_file.test","type":"application", "autorun":1}] //@ } #include "./output_file.hpp" #include "./membuffer.hpp" #include "./file_structs.hpp" #include <cassert> #include <algorithm> #include <random> #include <cstring> namespace { Wad64::MemBuffer generateData() { Wad64::WadInf...
29.216374
91
0.681946
milasudril
c328172ec3c8b90d2784ecdac41a75333a788ec6
1,089
cpp
C++
src/FalconEngine/Graphics/Renderer/Platform/OpenGL/OGLTexture1d.cpp
LiuYiZhou95/FalconEngine
b798f20e9dbd01334a4e4cdbbd9a5bec74966418
[ "MIT" ]
null
null
null
src/FalconEngine/Graphics/Renderer/Platform/OpenGL/OGLTexture1d.cpp
LiuYiZhou95/FalconEngine
b798f20e9dbd01334a4e4cdbbd9a5bec74966418
[ "MIT" ]
null
null
null
src/FalconEngine/Graphics/Renderer/Platform/OpenGL/OGLTexture1d.cpp
LiuYiZhou95/FalconEngine
b798f20e9dbd01334a4e4cdbbd9a5bec74966418
[ "MIT" ]
1
2021-08-25T07:39:02.000Z
2021-08-25T07:39:02.000Z
#include <FalconEngine/Graphics/Renderer/Platform/OpenGL/OGLTexture1d.h> #include <cstring> #include <FalconEngine/Graphics/Renderer/Platform/OpenGL/OGLUtility.h> namespace FalconEngine { /************************************************************************/ /* Constructors and Destructor ...
26.560976
89
0.599633
LiuYiZhou95
c328781e3a11445abc2486f53567e3898e09e2e8
1,152
cpp
C++
src/Graphics/Renderer.cpp
Tojrsen/Callie
42f4a573c468b5b99c1ab440583d5b5930a0cff2
[ "Apache-2.0" ]
null
null
null
src/Graphics/Renderer.cpp
Tojrsen/Callie
42f4a573c468b5b99c1ab440583d5b5930a0cff2
[ "Apache-2.0" ]
null
null
null
src/Graphics/Renderer.cpp
Tojrsen/Callie
42f4a573c468b5b99c1ab440583d5b5930a0cff2
[ "Apache-2.0" ]
null
null
null
#include <clpch.h> #include <GL/glew.h> #include <Graphics/Renderer.h> namespace cl{ int Renderer::Init(){ GLenum err = glewInit(); if (GLEW_OK != err){ CL_CORE_ASSERT("Unable to initialize GLEW!", glewGetErrorString(err)); return -1; } GLCall(glEnable(GL_D...
28.097561
88
0.626736
Tojrsen
c3289e018da5b6e29b46a65809c7ac1017ae32df
1,367
cpp
C++
.vscode/cquery_cached_index/c@@users@jeste@vex u@towertakeover@stackbot/src@[email protected]
kettering-vex-u/TowerTakeover
a6c5445faa0a0c99c66f16a7104f6ba7b38ea250
[ "MIT" ]
null
null
null
.vscode/cquery_cached_index/c@@users@jeste@vex u@towertakeover@stackbot/src@[email protected]
kettering-vex-u/TowerTakeover
a6c5445faa0a0c99c66f16a7104f6ba7b38ea250
[ "MIT" ]
null
null
null
.vscode/cquery_cached_index/c@@users@jeste@vex u@towertakeover@stackbot/src@[email protected]
kettering-vex-u/TowerTakeover
a6c5445faa0a0c99c66f16a7104f6ba7b38ea250
[ "MIT" ]
null
null
null
#include "main.h" using namespace okapi; std::shared_ptr<okapi::ChassisControllerIntegrated> controller; std::unique_ptr<okapi::Motor> dl1, dl2, dl3; std::unique_ptr<okapi::Motor> dr1, dr2, dr3; namespace drive { void init() { // creating a ChassisControl object using the MotorGroups defined above, // setting ...
30.377778
74
0.727871
kettering-vex-u
c336ad5ddfea4ebd9a85a629cdf94c9c4a61e99b
421
hpp
C++
src/settingspage.hpp
Chepik/SpaceInvaders1
8547cfaaa33d7ccddd8c58391d92dd97864d9e5f
[ "MIT" ]
null
null
null
src/settingspage.hpp
Chepik/SpaceInvaders1
8547cfaaa33d7ccddd8c58391d92dd97864d9e5f
[ "MIT" ]
null
null
null
src/settingspage.hpp
Chepik/SpaceInvaders1
8547cfaaa33d7ccddd8c58391d92dd97864d9e5f
[ "MIT" ]
null
null
null
#pragma once #include <QWidget> #include <string> namespace Ui { class SettingsPage; } class SettingsPage : public QWidget { Q_OBJECT public: explicit SettingsPage(QWidget *parent = 0); ~SettingsPage(); private slots: void on_menuButton_clicked(); /// /// It stores setting data into a file. /// v...
12.757576
45
0.695962
Chepik
c337a0816a0f36567cbccc2405a833339cfd7830
11,150
cpp
C++
Enclave/src/enclave_forward.cpp
yy738686337/sgx_project_v2
20a8db8a2aecac0aead50e00d3f8515c46b9af9a
[ "Apache-2.0" ]
null
null
null
Enclave/src/enclave_forward.cpp
yy738686337/sgx_project_v2
20a8db8a2aecac0aead50e00d3f8515c46b9af9a
[ "Apache-2.0" ]
null
null
null
Enclave/src/enclave_forward.cpp
yy738686337/sgx_project_v2
20a8db8a2aecac0aead50e00d3f8515c46b9af9a
[ "Apache-2.0" ]
null
null
null
#include "enclave.h" extern "C" { #include "ecall_batchnorm_layer.h" } #include "types.h" // void ecall_gemm(int TA, int TB, int M, int N, int K, float ALPHA, // float *A, int lda, // float *B, int ldb, // float BETA, // float *C, int ldc, int a_size, int b_size, int c_size) { // ...
39.964158
139
0.530314
yy738686337
c33aa15e40f13b90ecbc39f24e23d934fd8e17db
1,817
cpp
C++
Source code/Game/Source files/Graphics/Texture.cpp
Ansoulom/cat-rush
e99b18d7bf7b72f0e4918f0cc24a190dd55747e6
[ "MIT" ]
null
null
null
Source code/Game/Source files/Graphics/Texture.cpp
Ansoulom/cat-rush
e99b18d7bf7b72f0e4918f0cc24a190dd55747e6
[ "MIT" ]
null
null
null
Source code/Game/Source files/Graphics/Texture.cpp
Ansoulom/cat-rush
e99b18d7bf7b72f0e4918f0cc24a190dd55747e6
[ "MIT" ]
null
null
null
#include "Texture.h" #include "Game_core.h" #include <SDL_image.h> #include <SDL_ttf.h> #include "Colors.h" namespace Game { namespace Graphics { Texture::Texture(Renderer& renderer, const std::filesystem::path& file_path) : Texture{ std::unique_ptr<SDL_Surface, Sdl_deleter>{IMG_Load(file_path.string().c_s...
23
105
0.672537
Ansoulom
c33da97875df8f8a499fb3c743b29be6118380bc
2,950
cpp
C++
lib/Error.cpp
OMAS-IIIF/cserve
8932ed36fa6f1935b3db97ed556f876e2e459c4b
[ "MIT" ]
1
2021-06-24T06:10:07.000Z
2021-06-24T06:10:07.000Z
lib/Error.cpp
OMAS-IIIF/cserve
8932ed36fa6f1935b3db97ed556f876e2e459c4b
[ "MIT" ]
null
null
null
lib/Error.cpp
OMAS-IIIF/cserve
8932ed36fa6f1935b3db97ed556f876e2e459c4b
[ "MIT" ]
null
null
null
/* * Copyright © 2016 Lukas Rosenthaler, Andrea Bianco, Benjamin Geer, * Ivan Subotic, Tobias Schweizer, André Kilchenmann, and André Fatton. * This file is part of Sipi. * Sipi is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published * by ...
42.753623
108
0.581695
OMAS-IIIF
c3400e35727d8d10b38cbfff47efe2051869ec33
22,148
cpp
C++
Engine/source/platformX86UNIX.alt/x86UNIXWindow.client.cpp
fr1tz/terminal-overload
85f0689a40022e5eb7e54dcb6ddfb5ddd82a0a60
[ "CC-BY-4.0" ]
46
2015-01-05T17:34:43.000Z
2022-01-04T04:03:09.000Z
Engine/source/platformX86UNIX.alt/x86UNIXWindow.client.cpp
fr1tz/terminal-overload
85f0689a40022e5eb7e54dcb6ddfb5ddd82a0a60
[ "CC-BY-4.0" ]
10
2015-01-20T23:14:46.000Z
2019-04-05T22:04:15.000Z
Engine/source/platformX86UNIX.alt/x86UNIXWindow.client.cpp
fr1tz/terminal-overload
85f0689a40022e5eb7e54dcb6ddfb5ddd82a0a60
[ "CC-BY-4.0" ]
9
2015-08-08T18:46:06.000Z
2021-02-01T13:53:20.000Z
// Copyright information can be found in the file named COPYING // located in the root directory of this distribution. #include "windowManager/x11/x11WindowMgr.h" #include "console/console.h" #include "core/stream/fileStream.h" //#include "game/resource.h" //#include "game/version.h" #include "math/mRandom.h" #inclu...
29.530667
109
0.580865
fr1tz
c3485c0509f609322570a4459e6b8a047bc377b8
791
cpp
C++
OOP-cpp/assignment3/TrianglePattern.cpp
mtjin/University_and_AndroidProjects
c0ac3394043fd10730e68b391866d55c3be2c23b
[ "MIT" ]
1
2021-04-13T12:06:51.000Z
2021-04-13T12:06:51.000Z
OOP-cpp/assignment3/TrianglePattern.cpp
mtjin/University
c0ac3394043fd10730e68b391866d55c3be2c23b
[ "MIT" ]
2
2022-01-21T23:46:50.000Z
2022-01-21T23:48:45.000Z
OOP-cpp/assignment3/TrianglePattern.cpp
mtjin/university
c0ac3394043fd10730e68b391866d55c3be2c23b
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include "TrianglePattern.h" using namespace std; TrianglePattern::TrianglePattern():ShapePattern(){ this->height = 0; } TrianglePattern::TrianglePattern(int x){ set_height(x); } void TrianglePattern::set_height(int x){ this->height = x; } int TrianglePattern::pattern...
19.775
76
0.579014
mtjin
c34cd3a6f09c34be5a627b7d7a66f5c422434241
3,044
hpp
C++
Pods/OpenVPNAdapter/Sources/OpenVPN3/openvpn/frame/frame_init.hpp
TiagoPedroByterev/openvpnclient-ios
a9dafb2a481cc72a3e408535fb7f0aba9f5cfa76
[ "MIT" ]
10
2021-03-29T13:52:06.000Z
2022-03-10T02:24:25.000Z
Pods/OpenVPNAdapter/Sources/OpenVPN3/openvpn/frame/frame_init.hpp
TiagoPedroByterev/openvpnclient-ios
a9dafb2a481cc72a3e408535fb7f0aba9f5cfa76
[ "MIT" ]
1
2019-07-19T02:40:32.000Z
2019-07-19T02:40:32.000Z
Pods/OpenVPNAdapter/Sources/OpenVPN3/openvpn/frame/frame_init.hpp
TiagoPedroByterev/openvpnclient-ios
a9dafb2a481cc72a3e408535fb7f0aba9f5cfa76
[ "MIT" ]
7
2018-07-11T10:37:02.000Z
2019-08-03T10:34:08.000Z
// OpenVPN -- An application to securely tunnel IP networks // over a single port, with support for SSL/TLS-based // session authentication and key exchange, // packet encryption, packet authentication, and // packet compression. // // Copyright (C) 2012-201...
37.580247
126
0.698095
TiagoPedroByterev
c34da09c457f0410e4e1f69bc1d89e138ac8d3ea
264
cpp
C++
cpp/DataStructures/vector.cpp
joro2404/Programming_problems
e0a6f5cbaed013ffde9ecaf3f6d266c582191e41
[ "MIT" ]
null
null
null
cpp/DataStructures/vector.cpp
joro2404/Programming_problems
e0a6f5cbaed013ffde9ecaf3f6d266c582191e41
[ "MIT" ]
null
null
null
cpp/DataStructures/vector.cpp
joro2404/Programming_problems
e0a6f5cbaed013ffde9ecaf3f6d266c582191e41
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> using namespace std; int main() { vector<int> v; for(int i=0;i<10;i++){ v.push_back(i); } cout << "Size: " << v.size() << endl; v.pop_back(); cout << "Size: " << v.size() << endl; }
15.529412
41
0.484848
joro2404
c34db1d2b727bafb6be96b212497109fe9458ee2
280
cpp
C++
CodeForces/CF742-D2-A.cpp
amraboelkher/CompetitiveProgramming
624ca5c3e5044eae2800d14b3dbb961c85494b85
[ "MIT" ]
2
2017-12-06T01:17:21.000Z
2018-05-02T04:49:44.000Z
CodeForces/CF742-D2-A.cpp
amraboelkher/CompetitiveProgramming
624ca5c3e5044eae2800d14b3dbb961c85494b85
[ "MIT" ]
null
null
null
CodeForces/CF742-D2-A.cpp
amraboelkher/CompetitiveProgramming
624ca5c3e5044eae2800d14b3dbb961c85494b85
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; int get(int a , int b){ if(b == 0) return 1; if(b == 1)return a % 10; int x = get(a , b / 2) % 10; x = x * x % 10; if(b & 1) x = (x * a) % 10; return x; } int main(){ int n ; cin >> n; cout << get(1378 , n) << endl; }
13.333333
32
0.482143
amraboelkher
c34db30362a630e8d7a86dd70a27d8ab9b457446
2,331
cpp
C++
src/raytrace/scene.cpp
JohanSmet/rtiow
7ca1d0e52e96c7701b55bacebecf7ae9cdec773a
[ "BSD-3-Clause" ]
null
null
null
src/raytrace/scene.cpp
JohanSmet/rtiow
7ca1d0e52e96c7701b55bacebecf7ae9cdec773a
[ "BSD-3-Clause" ]
null
null
null
src/raytrace/scene.cpp
JohanSmet/rtiow
7ca1d0e52e96c7701b55bacebecf7ae9cdec773a
[ "BSD-3-Clause" ]
null
null
null
// raytrace/scene.cpp - Johan Smet - BSD-3-Clause (see LICENSE) #include "scene.h" namespace rtiow { Material &Scene::material_create_default() { auto &mat = m_materials.emplace_back(); mat.m_albedo = {0.0f, 0.0f, 0.0f}; mat.m_specular_chance = 0.0f; mat.m_specular_color = {0.0f, 0.0f, 0.0f}; mat.m_specular_rou...
31.931507
99
0.766624
JohanSmet
c34ddf1360c2c90d3cf99e21714e472e916d7ba0
41,447
cpp
C++
Simulation/ODESimulator.cpp
bbgw/Klampt
3c022da372c81646ec9f7492fad499740431d38b
[ "BSD-3-Clause" ]
null
null
null
Simulation/ODESimulator.cpp
bbgw/Klampt
3c022da372c81646ec9f7492fad499740431d38b
[ "BSD-3-Clause" ]
null
null
null
Simulation/ODESimulator.cpp
bbgw/Klampt
3c022da372c81646ec9f7492fad499740431d38b
[ "BSD-3-Clause" ]
null
null
null
#include "ODESimulator.h" #include "ODECommon.h" #include "ODECustomGeometry.h" #include "Settings.h" #include <list> #include <fstream> //#include "Geometry/Clusterize.h" #include <geometry/ConvexHull2D.h> #include <statistics/KMeans.h> #include <statistics/HierarchicalClustering.h> #include <utils/EquivalenceMap.h> #...
30.953697
181
0.661544
bbgw
c34ef8b4ed2fe5fbc87c817a7025e7eff1622ad7
1,284
cpp
C++
webrtc_note/mediaserver/10_addr_pointer/03_dynamic_cast/dynamic_cast.cpp
miaopei/ffmpeg-webrtc
1a0b59530f4d008a368376be041549db40e066eb
[ "MIT" ]
12
2019-06-06T15:34:19.000Z
2022-01-14T07:41:55.000Z
webrtc_note/mediaserver/10_addr_pointer/03_dynamic_cast/dynamic_cast.cpp
xuesongzh/ffmpeg-webrtc
a00e7e08226039c8ff6a105e0083f207043e2b2b
[ "MIT" ]
2
2019-08-17T16:52:44.000Z
2020-07-05T15:06:12.000Z
webrtc_note/mediaserver/10_addr_pointer/03_dynamic_cast/dynamic_cast.cpp
miaopei/ffmpeg-webrtc
1a0b59530f4d008a368376be041549db40e066eb
[ "MIT" ]
8
2019-06-13T12:25:02.000Z
2022-01-09T13:23:55.000Z
#include <iostream> class Base { public: Base(int a, int b){ this->a = a; this->b = b; } public: virtual void print(){ std::cout << "member: a=" << a << ", b=" << b << std::endl; } public: int...
21.4
56
0.352804
miaopei
c3515e4b503c723adf43bff2a1b1200b4e0bc9a3
13,700
cpp
C++
swg_generated/cpp/qt5cpp/client/SWGDepositApi.cpp
Reclusive-Trader/upbit-client
ca1fb02c9d4e22f6d726baf30a455a235ce0324a
[ "MIT" ]
46
2021-01-07T14:53:26.000Z
2022-03-25T10:11:16.000Z
swg_generated/cpp/qt5cpp/client/SWGDepositApi.cpp
Reclusive-Trader/upbit-client
ca1fb02c9d4e22f6d726baf30a455a235ce0324a
[ "MIT" ]
4
2021-02-20T05:21:29.000Z
2022-03-01T12:53:02.000Z
swg_generated/cpp/qt5cpp/client/SWGDepositApi.cpp
Reclusive-Trader/upbit-client
ca1fb02c9d4e22f6d726baf30a455a235ce0324a
[ "MIT" ]
59
2021-01-07T11:58:10.000Z
2022-02-15T06:11:33.000Z
/** * Upbit Open API * ## REST API for Upbit Exchange - Base URL: [https://api.upbit.com] - Official Upbit API Documents: [https://docs.upbit.com] - Official Support email: [[email protected]] * * OpenAPI spec version: 1.0.0 * Contact: [email protected] * * NOTE: This class is auto generated by the swagger co...
29.148936
174
0.63146
Reclusive-Trader
c3531b198c7bb2f9265dae8567fa54f4391b28e7
2,296
cpp
C++
DEM/Game/src/AI/Memory/MemSystem.cpp
niello/deusexmachina
2f698054fe82d8b40a0a0e58b86d64ffed0de06c
[ "MIT" ]
15
2019-05-07T11:26:13.000Z
2022-01-12T18:26:45.000Z
DEM/Game/src/AI/Memory/MemSystem.cpp
niello/deusexmachina
2f698054fe82d8b40a0a0e58b86d64ffed0de06c
[ "MIT" ]
16
2021-10-04T17:15:31.000Z
2022-03-20T09:34:29.000Z
DEM/Game/src/AI/Memory/MemSystem.cpp
niello/deusexmachina
2f698054fe82d8b40a0a0e58b86d64ffed0de06c
[ "MIT" ]
2
2019-04-28T23:27:48.000Z
2019-05-07T11:26:18.000Z
#include "MemSystem.h" #include <AI/PropActorBrain.h> namespace AI { void CMemSystem::Update() { float Now = 0.f;//(float)GameSrv->GetTime(); CArray<CSensor*> ValidationSensors; // Here we validate facts that reside in memory but weren't updated by the last // sensor activity session. Facts will be accepted or...
26.697674
93
0.619338
niello
c354055e941357c284944c6b60ed479af608b87c
34,574
cpp
C++
src/QtPhonemes/Phonemes/nSpeechTune.cpp
Vladimir-Lin/QtPhonemes
1c1b4f4aa99bbadab5ca25dce1fc64c8ee70202d
[ "MIT" ]
null
null
null
src/QtPhonemes/Phonemes/nSpeechTune.cpp
Vladimir-Lin/QtPhonemes
1c1b4f4aa99bbadab5ca25dce1fc64c8ee70202d
[ "MIT" ]
null
null
null
src/QtPhonemes/Phonemes/nSpeechTune.cpp
Vladimir-Lin/QtPhonemes
1c1b4f4aa99bbadab5ca25dce1fc64c8ee70202d
[ "MIT" ]
null
null
null
#include <qtphonemes.h> #define SYL_RISE 1 #define SYL_EMPHASIS 2 #define SYL_END_CLAUSE 4 #define PITCHfall 0 #define PITCHrise 2 #define PITCHfrise 4 // and 3 must be for the variant preceded by 'r' #define PITCHfrise2 6 // and 5 must be the 'r' variant #define PITCHrisefall 8 #define N_TONE_H...
53.853583
122
0.37398
Vladimir-Lin
c357b32535eb58b0741bde301a38f6e29ed2125f
405
hpp
C++
include/Nen/Component/CircleComponent.hpp
Astomih/NenEngine
669fcbaa7a26cbdeb764315d8c9c17370075611e
[ "MIT" ]
2
2021-03-16T15:59:41.000Z
2021-12-01T12:30:30.000Z
include/Nen/Component/CircleComponent.hpp
Astomih/NenEngine
669fcbaa7a26cbdeb764315d8c9c17370075611e
[ "MIT" ]
1
2021-09-05T05:08:48.000Z
2021-09-05T05:08:48.000Z
include/Nen/Component/CircleComponent.hpp
Astomih/NenEngine
669fcbaa7a26cbdeb764315d8c9c17370075611e
[ "MIT" ]
null
null
null
#pragma once #include "Component.hpp" namespace nen { class circle_component : public base_component { public: circle_component(class base_actor &owner); void SetRadius(float radius) noexcept { mRadius = radius; } vector3 GetRadius() const; const vector3 &GetCenter() const; bool Intersect(const circle_compon...
23.823529
71
0.750617
Astomih
c35a7d175749453b2ba1a1d63890b00162cd038e
628
hpp
C++
src/gameworld/gameworld/scene/speciallogic/personspecial/specialfbguide.hpp
mage-game/metagame-xm-server
193b67389262803fe0eae742800b1e878b5b3087
[ "MIT" ]
3
2021-12-16T13:57:28.000Z
2022-03-26T07:50:08.000Z
src/gameworld/gameworld/scene/speciallogic/personspecial/specialfbguide.hpp
mage-game/metagame-xm-server
193b67389262803fe0eae742800b1e878b5b3087
[ "MIT" ]
null
null
null
src/gameworld/gameworld/scene/speciallogic/personspecial/specialfbguide.hpp
mage-game/metagame-xm-server
193b67389262803fe0eae742800b1e878b5b3087
[ "MIT" ]
1
2022-03-26T07:50:11.000Z
2022-03-26T07:50:11.000Z
#ifndef __SPECIAL_FB_GUIDE_H__ #define __SPECIAL_FB_GUIDE_H__ #include "scene/speciallogic/speciallogic.hpp" #include "other/fb/fbguideconfig.hpp" #include "protocal/msgfb.h" class SpecialFbGuide: public SpecialLogic { public: SpecialFbGuide(Scene *scene); virtual ~SpecialFbGuide(); virtual void OnRoleLeaveScene...
25.12
93
0.786624
mage-game
c35e73449277aad3de3b3112624f0b1b0d26a4ae
13,811
cc
C++
lite/kernels/opencl/conv2d_1x1_compute_test.cc
ishine/paddle-mobile
04565a67d4acce39ceccf4131e364762f75a2b87
[ "Apache-2.0" ]
null
null
null
lite/kernels/opencl/conv2d_1x1_compute_test.cc
ishine/paddle-mobile
04565a67d4acce39ceccf4131e364762f75a2b87
[ "Apache-2.0" ]
null
null
null
lite/kernels/opencl/conv2d_1x1_compute_test.cc
ishine/paddle-mobile
04565a67d4acce39ceccf4131e364762f75a2b87
[ "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...
36.440633
80
0.539932
ishine
c35fcbba7224c1026c2211ce692fcda966eac0dc
4,066
cpp
C++
src/3rdparty/khtml/src/svg/graphics/qt/SVGResourceClipperQt.cpp
afarcat/QtHtmlView
fff12b6f5c08c2c6db15dd73e4f0b55421827b39
[ "Apache-2.0" ]
null
null
null
src/3rdparty/khtml/src/svg/graphics/qt/SVGResourceClipperQt.cpp
afarcat/QtHtmlView
fff12b6f5c08c2c6db15dd73e4f0b55421827b39
[ "Apache-2.0" ]
null
null
null
src/3rdparty/khtml/src/svg/graphics/qt/SVGResourceClipperQt.cpp
afarcat/QtHtmlView
fff12b6f5c08c2c6db15dd73e4f0b55421827b39
[ "Apache-2.0" ]
null
null
null
/* Copyright (C) 2004, 2005, 2006 Nikolas Zimmermann <[email protected]> 2004, 2005, 2006 Rob Buis <[email protected]> 2005 Apple Computer, Inc. This file is part of the KDE project This library is free software; you can redistribute it and/or modify it under the terms of ...
31.276923
117
0.597147
afarcat
c363de7be63ea5a8b59ec8d1d468458348f1d8ba
506
hpp
C++
Core/src/Readers/nexus.hpp
vais-ral/CCPi-Reconstruction
6c9f5eb9af308981b6d1c910dc1a38e8f6e83acd
[ "Apache-2.0" ]
1
2018-11-09T11:58:32.000Z
2018-11-09T11:58:32.000Z
Core/src/Readers/nexus.hpp
vais-ral/CCPi-Reconstruction
6c9f5eb9af308981b6d1c910dc1a38e8f6e83acd
[ "Apache-2.0" ]
8
2018-05-22T12:58:27.000Z
2020-10-15T14:54:04.000Z
Core/src/Readers/nexus.hpp
vais-ral/CCPi-Reconstruction
6c9f5eb9af308981b6d1c910dc1a38e8f6e83acd
[ "Apache-2.0" ]
1
2019-01-11T12:04:53.000Z
2019-01-11T12:04:53.000Z
#ifndef CCPI_RECON_NEXUS #define CCPI_RECON_NEXUS namespace CCPi { bool read_NeXus(pixel_data &pixels, pixel_2d &i_dark, pixel_2d &f_dark, pixel_2d &i_bright, pixel_2d &f_bright, int &nh_pixels, int &nv_pixels, std::vector<real> &angles, int &nangles, real &hsize, real &vsize, const std::string filenam...
28.111111
73
0.735178
vais-ral
c364effde5518012cc87a4ae2f0bbc33fa3e385f
32,762
cpp
C++
applications/plugins/LeapMotion/src/LeapMotionDriver.cpp
sofa-framework/issofa
94855f488465bc3ed41223cbde987581dfca5389
[ "OML" ]
null
null
null
applications/plugins/LeapMotion/src/LeapMotionDriver.cpp
sofa-framework/issofa
94855f488465bc3ed41223cbde987581dfca5389
[ "OML" ]
null
null
null
applications/plugins/LeapMotion/src/LeapMotionDriver.cpp
sofa-framework/issofa
94855f488465bc3ed41223cbde987581dfca5389
[ "OML" ]
null
null
null
/****************************************************************************** * SOFA, Simulation Open-Framework Architecture, development version * * (c) 2006-2017 INRIA, USTL, UJF, CNRS, MGH * * * ...
43.91689
292
0.563305
sofa-framework
c365a0cc958dc5ad3e5a502c3ac833300430ba49
760
cpp
C++
src/Event.cpp
zetef/calviewer
d08654051b5b6de214bf6cfc3b39afac2ab752c6
[ "MIT" ]
null
null
null
src/Event.cpp
zetef/calviewer
d08654051b5b6de214bf6cfc3b39afac2ab752c6
[ "MIT" ]
1
2019-04-21T22:31:24.000Z
2019-04-22T09:01:01.000Z
src/Event.cpp
zetef/kalendar
d08654051b5b6de214bf6cfc3b39afac2ab752c6
[ "MIT" ]
null
null
null
#include "../include/Event.h" //////////////////////////////// /// Public Member Functions //// //////////////////////////////// Event::Event() { init(); } void Event::init(){ m_exist = false; m_title = "No Event"; m_day = 1; m_month = 1; m_year = 1900; } void Event::set_title(std::string t_title) { m_titl...
12.881356
44
0.534211
zetef
c36ccd5e99941446982a098dfc6f9b127eed8054
489
cpp
C++
subsequenceSum.cpp
vkku/cppWorkspace
1b07511eb30929139a3769cffc0be9e4683c8683
[ "MIT" ]
1
2016-10-20T17:08:02.000Z
2016-10-20T17:08:02.000Z
subsequenceSum.cpp
vkku/cppWorkspace
1b07511eb30929139a3769cffc0be9e4683c8683
[ "MIT" ]
null
null
null
subsequenceSum.cpp
vkku/cppWorkspace
1b07511eb30929139a3769cffc0be9e4683c8683
[ "MIT" ]
null
null
null
#include<iostream> int main() { int arr[50] = {1,2,3,4,5}; int sum = 0, currSum = 0, subIndex = 0;; int i = 0; cout<<"\nEnter Proposed Sum\n"; cin>>sum; currSum = 0; subIndex = 0; for(i = 0 ; i < 5 ; i++) { currSum += arr[i]; if(currSum > sum) currSum -= a...
20.375
57
0.439673
vkku
c37020276d614b12e9741e818c0c7873e18c1adf
809
cc
C++
ui/ozone/platform/drm/gpu/mock_scanout_buffer_generator.cc
Wzzzx/chromium-crosswalk
768dde8efa71169f1c1113ca6ef322f1e8c9e7de
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
27
2016-04-27T01:02:03.000Z
2021-12-13T08:53:19.000Z
ui/ozone/platform/drm/gpu/mock_scanout_buffer_generator.cc
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
2
2017-03-09T09:00:50.000Z
2017-09-21T15:48:20.000Z
ui/ozone/platform/drm/gpu/mock_scanout_buffer_generator.cc
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
17
2016-04-27T02:06:39.000Z
2019-12-18T08:07: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 "ui/ozone/platform/drm/gpu/mock_scanout_buffer_generator.h" #include "ui/ozone/platform/drm/common/drm_util.h" #include "ui/ozone/platform/drm/g...
29.962963
74
0.777503
Wzzzx
c378679b7958720abc9bed96bd19c616c7378980
141
cpp
C++
Algorithms/Bit Manipulation/Flip ith bit/flip.cpp
Nidita/Data-Structures-Algorithms
7b5198c8d37e9a70dd0885c6eef6dddd9d85d74a
[ "MIT" ]
26
2019-07-17T11:05:43.000Z
2022-02-06T08:31:40.000Z
Algorithms/Bit Manipulation/Flip ith bit/flip.cpp
Nidita/Data-Structures-Algorithms
7b5198c8d37e9a70dd0885c6eef6dddd9d85d74a
[ "MIT" ]
7
2019-07-16T19:52:25.000Z
2022-01-08T08:03:44.000Z
Algorithms/Bit Manipulation/Flip ith bit/flip.cpp
Nidita/Data-Structures-Algorithms
7b5198c8d37e9a70dd0885c6eef6dddd9d85d74a
[ "MIT" ]
19
2020-01-14T02:44:28.000Z
2021-12-27T17:31:59.000Z
#include <bits/stdc++.h> using namespace std; int main(){ int n, i; cin >> n >> i; n = n ^ (1<<i); cout << n; return 0; }
15.666667
24
0.468085
Nidita
c379a50ee71309d9e765e9d9241fcac798ad588c
3,201
cpp
C++
src/Source Code/Mesh.cpp
MayKoder/Advanced-GL-Shader
3a73c5c112f9cc245b6353734eed572b96f95af2
[ "MIT" ]
null
null
null
src/Source Code/Mesh.cpp
MayKoder/Advanced-GL-Shader
3a73c5c112f9cc245b6353734eed572b96f95af2
[ "MIT" ]
null
null
null
src/Source Code/Mesh.cpp
MayKoder/Advanced-GL-Shader
3a73c5c112f9cc245b6353734eed572b96f95af2
[ "MIT" ]
null
null
null
#include "Mesh.h" #include <vector> void Mesh::init(Vertex* vertices, unsigned int numVertices, unsigned int* indices, unsigned int numIndices) { IndexedModel model; for (unsigned int i = 0; i < numVertices; i++) { model.positions.push_back(*vertices[i].GetPos()); model.texCoords.push_back(*vertices[i].GetTex...
40.0125
273
0.759763
MayKoder
c37bee8a2868aaf01d2cbab804d52a1d98a34b1f
2,287
cpp
C++
src/main.cpp
horvatm/misaligned_roche_critical
8e302b468c8b23ce012407250292e5fdf806ef4f
[ "MIT" ]
null
null
null
src/main.cpp
horvatm/misaligned_roche_critical
8e302b468c8b23ce012407250292e5fdf806ef4f
[ "MIT" ]
null
null
null
src/main.cpp
horvatm/misaligned_roche_critical
8e302b468c8b23ce012407250292e5fdf806ef4f
[ "MIT" ]
null
null
null
/* Searching for critical points of the Kopal potential Omega of the misaligned binary star: Omega(x,y,z,params) = 1/r1 + q(1/r2 - x/delta^2) + 1/2 (1 + q) F^2 [(x cos theta' - z sin theta')^2 + y^2] r1 = sqrt(x^2 + y^2 + z^2) r2 = sqrt((x-delta)^2 + y^2 + z^2) The critical poin...
23.336735
109
0.452995
horvatm
c38c0e9be13ac82ae63c579b8cf3e460d36c0964
2,586
hxx
C++
main/autodoc/inc/ary/doc/d_parametrized.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/autodoc/inc/ary/doc/d_parametrized.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/autodoc/inc/ary/doc/d_parametrized.hxx
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...
21.915254
69
0.592421
Grosskopf
c38d7ee76063afeabc14b5c694b77bf4614c7682
3,371
cpp
C++
src/gles_ext_texture_buffer.cpp
ARM-software/tracetooltests
492159e67c9e58b2a8ce553fd30417faf70cb1d6
[ "MIT" ]
null
null
null
src/gles_ext_texture_buffer.cpp
ARM-software/tracetooltests
492159e67c9e58b2a8ce553fd30417faf70cb1d6
[ "MIT" ]
null
null
null
src/gles_ext_texture_buffer.cpp
ARM-software/tracetooltests
492159e67c9e58b2a8ce553fd30417faf70cb1d6
[ "MIT" ]
null
null
null
#include "gles_common.h" static GLuint gvPositionHandle; PACKED(struct params { GLuint count; GLuint primCount; GLuint first; GLuint baseInstance; }); const char *vertex_shader_source[] = GLSL_VS( in vec4 vPosition; flat out int texcoord; void main() { gl_Position = vPosition; texcoord = int(floor(vPosit...
25.537879
94
0.741323
ARM-software
c39615e0b35dee60bd22cf92c60d9aeeffaabf7c
839
cpp
C++
프로그래머스/동적계획법/정수삼각형.cpp
woorimlee/cpp_CTCI_6E_APSS
ff1d42e871ba853ac3de726df0c609885ba07573
[ "MIT" ]
2
2020-12-30T03:35:51.000Z
2021-02-28T20:39:09.000Z
프로그래머스/동적계획법/정수삼각형.cpp
woorimlee/cpp_CTCI_6E_APSS
ff1d42e871ba853ac3de726df0c609885ba07573
[ "MIT" ]
1
2020-12-08T08:48:40.000Z
2021-04-09T04:58:57.000Z
프로그래머스/동적계획법/정수삼각형.cpp
woorimlee/Algorithm-Repository
ff1d42e871ba853ac3de726df0c609885ba07573
[ "MIT" ]
null
null
null
#include <string> #include <vector> #include <algorithm> #include <iostream> using namespace std; int cache[501][501]; int search_path(vector<vector<int>>& tri, int y, int x) { if (y == tri.size()) return 0; int& ret = cache[y][x]; if (ret != -1) return ret; ret = 0; ret = max(re...
23.305556
88
0.517282
woorimlee
c399ef0be757dcb299e5ae931955127fcb73ac51
2,190
cpp
C++
ez_socket/src/ez_qbuffer.cpp
chcbaram/ez_socket
9ce4db935e1ef85ea1fa6a3be7d5ce3efbb386ce
[ "MIT" ]
null
null
null
ez_socket/src/ez_qbuffer.cpp
chcbaram/ez_socket
9ce4db935e1ef85ea1fa6a3be7d5ce3efbb386ce
[ "MIT" ]
null
null
null
ez_socket/src/ez_qbuffer.cpp
chcbaram/ez_socket
9ce4db935e1ef85ea1fa6a3be7d5ce3efbb386ce
[ "MIT" ]
null
null
null
#include "ez_qbuffer.h" namespace ez { void qbufferInit(void) { } bool qbufferCreate(qbuffer_t *p_node, uint8_t *p_buf, uint32_t length) { bool ret = true; p_node->in = 0; p_node->out = 0; p_node->len = length; p_node->size = 1; p_node->p_buf = p_buf; return ret; } bool qbufferCreateBySiz...
15.985401
91
0.574429
chcbaram
c39bc962319fc7d0a14bae5b71c8c610ccd84fcb
9,611
cpp
C++
graphics/meshlab/src/meshlabplugins/edit_align/align/OccupancyGrid.cpp
hlzz/dotfiles
0591f71230c919c827ba569099eb3b75897e163e
[ "BSD-3-Clause" ]
4
2016-03-30T14:31:52.000Z
2019-02-02T05:01:32.000Z
graphics/meshlab/src/meshlabplugins/edit_align/align/OccupancyGrid.cpp
hlzz/dotfiles
0591f71230c919c827ba569099eb3b75897e163e
[ "BSD-3-Clause" ]
null
null
null
graphics/meshlab/src/meshlabplugins/edit_align/align/OccupancyGrid.cpp
hlzz/dotfiles
0591f71230c919c827ba569099eb3b75897e163e
[ "BSD-3-Clause" ]
null
null
null
/**************************************************************************** * VCGLib o o * * Visual and Computer Graphics Library o o * * _ O _ * * Copyri...
33.604895
163
0.517012
hlzz
c3a838b1b9a20f49df4a644f22c3613dd2e42bcb
158
cpp
C++
testcase/while_loop.cpp
ryanorz/srun
00080749fc7c1bff9c2ebb506bbbda23a893bf7c
[ "Apache-2.0" ]
7
2017-01-17T07:21:24.000Z
2017-02-26T17:24:02.000Z
testcase/while_loop.cpp
ryanorz/srun
00080749fc7c1bff9c2ebb506bbbda23a893bf7c
[ "Apache-2.0" ]
null
null
null
testcase/while_loop.cpp
ryanorz/srun
00080749fc7c1bff9c2ebb506bbbda23a893bf7c
[ "Apache-2.0" ]
null
null
null
#include <unistd.h> #include <stdio.h> int main() { int n = 0; while (1) { sleep(1); printf("while_loop %d\n", ++n); fflush(stdout); } return 0; }
11.285714
33
0.563291
ryanorz
c3a879bcd96ce698d083614a165c4a03598c6b93
13,193
cpp
C++
python_bindings/custom_cpp_cost_functions.cpp
goromal/ceres_python_bindings
f014ca0d367c0fcd7a244a067398dac363428a54
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
python_bindings/custom_cpp_cost_functions.cpp
goromal/ceres_python_bindings
f014ca0d367c0fcd7a244a067398dac363428a54
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
python_bindings/custom_cpp_cost_functions.cpp
goromal/ceres_python_bindings
f014ca0d367c0fcd7a244a067398dac363428a54
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
#include <pybind11/pybind11.h> #include <pybind11/eigen.h> #include <pybind11/stl.h> #include <ceres/ceres.h> #include <Eigen/Core> #include <Eigen/Geometry> #include <sophus/se3.hpp> namespace py = pybind11; // Example autodiff cost function from ceres tutorial struct ExampleFunctor { template<typename T> bool o...
32.415233
102
0.636398
goromal
c3ac79593d612a9c9e6ad4eb3e97686fe7dce256
17,552
hpp
C++
filter/cuckoo_filter.hpp
yuchen1024/Kunlun
f1a4a6a1efcb81905df4f0c3ffe5e863fa0dfacf
[ "MIT" ]
33
2021-08-29T00:19:14.000Z
2022-03-30T02:40:36.000Z
filter/cuckoo_filter.hpp
yuchen1024/Kunlun
f1a4a6a1efcb81905df4f0c3ffe5e863fa0dfacf
[ "MIT" ]
null
null
null
filter/cuckoo_filter.hpp
yuchen1024/Kunlun
f1a4a6a1efcb81905df4f0c3ffe5e863fa0dfacf
[ "MIT" ]
3
2021-09-09T11:34:35.000Z
2022-01-12T11:10:05.000Z
/* ** Modified from https://github.com/efficient/cuckoofilter ** (1) simplify the design ** (2) add serialize/deserialize interfaces ** Thanks discussions with Minglang Dong */ #ifndef KUNLUN_CUCKOO_FILTER_HPP #define KUNLUN_CUCKOO_FILTER_HPP #include "../include/std.inc" #include "../utility/murmurhash3.hpp" #includ...
35.387097
129
0.610529
yuchen1024
ce7bce35ffd69fa0ae6be4e09b10178988592c19
10,214
cc
C++
iocore/net/quic/qlog/QLogEvent.cc
cmcfarlen/trafficserver
2aa1d3106398eb082e5a454212b0273c63d5f69d
[ "Apache-2.0" ]
1,351
2015-01-03T08:25:40.000Z
2022-03-31T09:14:08.000Z
iocore/net/quic/qlog/QLogEvent.cc
cmcfarlen/trafficserver
2aa1d3106398eb082e5a454212b0273c63d5f69d
[ "Apache-2.0" ]
7,009
2015-01-14T16:22:45.000Z
2022-03-31T17:18:04.000Z
iocore/net/quic/qlog/QLogEvent.cc
cmcfarlen/trafficserver
2aa1d3106398eb082e5a454212b0273c63d5f69d
[ "Apache-2.0" ]
901
2015-01-11T19:21:08.000Z
2022-03-18T18:21:33.000Z
/** @file * * A brief file description * * @section license License * * 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...
32.119497
101
0.698551
cmcfarlen
ce82ed132259bd302bb4bbcde281dff59033a932
1,230
cpp
C++
URI Online Judge/1367 - Ajude!/uri-1367.cpp
MarcoRhayden/Uri-Online-Judge
92bed9fd0e5455686d54500f8e36588d6518f1b3
[ "MIT" ]
1
2019-03-29T11:52:44.000Z
2019-03-29T11:52:44.000Z
URI Online Judge/1367 - Ajude!/uri-1367.cpp
MarcoRhayden/Uri-Online-Judge
92bed9fd0e5455686d54500f8e36588d6518f1b3
[ "MIT" ]
null
null
null
URI Online Judge/1367 - Ajude!/uri-1367.cpp
MarcoRhayden/Uri-Online-Judge
92bed9fd0e5455686d54500f8e36588d6518f1b3
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; void resultData(vector<string> identifier, vector<int> timeSbm, vector<string> result, int sbm) { vector<string> crt, inctr; int s = 0; int p = 0; for (int i = 0; i < sbm; ++i) { if (result[i].compare("correct") == 0) { s++; ...
24.117647
66
0.469919
MarcoRhayden
ce8c32476acb9549516cb83a98e56b2d8c6c5980
1,522
hpp
C++
dev/Basic/long/database/dao/IndvidualVehicleOwnershipLogsumDao.hpp
gusugusu1018/simmobility-prod
d30a5ba353673f8fd35f4868c26994a0206a40b6
[ "MIT" ]
50
2018-12-21T08:21:38.000Z
2022-01-24T09:47:59.000Z
dev/Basic/long/database/dao/IndvidualVehicleOwnershipLogsumDao.hpp
gusugusu1018/simmobility-prod
d30a5ba353673f8fd35f4868c26994a0206a40b6
[ "MIT" ]
2
2018-12-19T13:42:47.000Z
2019-05-13T04:11:45.000Z
dev/Basic/long/database/dao/IndvidualVehicleOwnershipLogsumDao.hpp
gusugusu1018/simmobility-prod
d30a5ba353673f8fd35f4868c26994a0206a40b6
[ "MIT" ]
27
2018-11-28T07:30:34.000Z
2022-02-05T02:22:26.000Z
/* * IndvidualVehicleOwnershipLogsumDao.hpp * * Created on: Jan 20, 2016 * Author: gishara */ #pragma once #include "database/dao/SqlAbstractDao.hpp" #include "database/entity/IndvidualVehicleOwnershipLogsum.hpp" namespace sim_mob { namespace long_term { /** * Data Access Object ...
31.061224
129
0.634034
gusugusu1018
ce8db457e5ca9dad75bc10a04f0ebe641ba2559b
364
hpp
C++
include/socks5/detail/throw_error.hpp
xSHAD0Wx/libsocks5
a578033579ab9b3139e62aa4bf8ee72344ff2a30
[ "BSD-3-Clause" ]
null
null
null
include/socks5/detail/throw_error.hpp
xSHAD0Wx/libsocks5
a578033579ab9b3139e62aa4bf8ee72344ff2a30
[ "BSD-3-Clause" ]
null
null
null
include/socks5/detail/throw_error.hpp
xSHAD0Wx/libsocks5
a578033579ab9b3139e62aa4bf8ee72344ff2a30
[ "BSD-3-Clause" ]
null
null
null
#ifndef LIBSOCKS5_DETAIL_THROW_ERROR_HPP #define LIBSOCKS5_DETAIL_THROW_ERROR_HPP #include <boost/system/error_code.hpp> #include <boost/system/system_error.hpp> namespace socks5::detail { inline void throw_error(const boost::system::error_code &ec) { if (ec) { throw boost::system::system_error {ec}; ...
20.222222
62
0.741758
xSHAD0Wx
ce91ae694d0a886127026a86bae29615f735482a
3,447
inl
C++
20191112/perm_gen/perm_gen_base.inl
Goreli/DKMCPPM
a12401f6df8e3c0281d2efec18dcf4e330712023
[ "MIT" ]
3
2019-11-12T01:55:33.000Z
2021-05-07T14:58:22.000Z
20191112/perm_gen/perm_gen_base.inl
Goreli/DKMCPPM
a12401f6df8e3c0281d2efec18dcf4e330712023
[ "MIT" ]
null
null
null
20191112/perm_gen/perm_gen_base.inl
Goreli/DKMCPPM
a12401f6df8e3c0281d2efec18dcf4e330712023
[ "MIT" ]
null
null
null
/* perm_gen_base.inl This header file defines the PermutationGeneratorBase template class. Copyright(c) 2019 David Krikheli Modification history: 14/Nov/2019 - David Krikheli created the module. */ #include <algorithm> namespace dk { template <class T> PermutationGeneratorBase<T>::PermutationGeneratorBase() ...
27.576
121
0.680012
Goreli
ce91e6b161b565ceae74631230feb116cb1681a1
3,515
cpp
C++
src/libsocket/event.cpp
publiqnet/belt.pp
837112652885284cd0f8245b1c9cf31dcfad17e1
[ "MIT" ]
4
2017-11-24T09:47:18.000Z
2019-02-18T14:43:05.000Z
src/libsocket/event.cpp
publiqnet/belt.pp
837112652885284cd0f8245b1c9cf31dcfad17e1
[ "MIT" ]
1
2018-04-11T12:42:25.000Z
2018-04-11T12:42:25.000Z
src/libsocket/event.cpp
publiqnet/belt.pp
837112652885284cd0f8245b1c9cf31dcfad17e1
[ "MIT" ]
2
2019-01-10T14:11:28.000Z
2021-05-31T11:14:46.000Z
#include "event.hpp" #include <mutex> #include <unordered_set> namespace beltpp_socket_impl { using namespace beltpp; using std::unordered_set; event_handler_ex::event_handler_ex() : m_impl() { } event_handler_ex::~event_handler_ex() = default; event_handler_ex::wait_result event_handler_ex::wait(std::unorder...
23.75
102
0.609388
publiqnet
ce94f263e66f74d2c46fcfd0c7437d69dd1aef6b
1,709
cc
C++
src/map_object.cc
cipherboy/COMS-327
c21d653a86a9e83ed2b97b61539094bba9491770
[ "BSD-2-Clause" ]
null
null
null
src/map_object.cc
cipherboy/COMS-327
c21d653a86a9e83ed2b97b61539094bba9491770
[ "BSD-2-Clause" ]
null
null
null
src/map_object.cc
cipherboy/COMS-327
c21d653a86a9e83ed2b97b61539094bba9491770
[ "BSD-2-Clause" ]
null
null
null
/** * Copyright 2016 Alexander Scheel * * Map objects implementation file **/ #include <stdlib.h> #include <stdio.h> #include "map.h" #include "object.h" #include "map_object.h" #include "utils.h" void map_objects_init(map_c* current) { current->object_count = 35 + (rand() % 15); current->objects = (obj...
27.126984
99
0.583967
cipherboy
ce955d4bcc6bd15db19b0f8269338eda4c626d55
2,310
cpp
C++
src/iksdl/Renderer.cpp
InternationalKoder/iksdl
066a60b405bab5310a500132b0bd4d82c6476f24
[ "Zlib" ]
null
null
null
src/iksdl/Renderer.cpp
InternationalKoder/iksdl
066a60b405bab5310a500132b0bd4d82c6476f24
[ "Zlib" ]
null
null
null
src/iksdl/Renderer.cpp
InternationalKoder/iksdl
066a60b405bab5310a500132b0bd4d82c6476f24
[ "Zlib" ]
null
null
null
/* * IKSDL - C++ wrapper for SDL * Copyright (C) 2021 InternationalKoder * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * * Permission is granted to anyone to use this softwar...
30.8
82
0.709524
InternationalKoder
ce957028c1714864476a0912d2af3718adf7e764
1,203
cpp
C++
src/phase_cong/ipermute.cpp
waterben/LineExtraction
d247de45417a1512a3bf5d0ffcd630d40ffb8798
[ "MIT" ]
1
2020-06-12T13:30:56.000Z
2020-06-12T13:30:56.000Z
src/phase_cong/ipermute.cpp
waterben/LineExtraction
d247de45417a1512a3bf5d0ffcd630d40ffb8798
[ "MIT" ]
null
null
null
src/phase_cong/ipermute.cpp
waterben/LineExtraction
d247de45417a1512a3bf5d0ffcd630d40ffb8798
[ "MIT" ]
null
null
null
// // Academic License - for use in teaching, academic research, and meeting // course requirements at degree granting institutions only. Not for // government, commercial, or other organizational use. // File: ipermute.cpp // // MATLAB Coder version : 3.0 // C/C++ source code generated on : 27-Jan-...
24.55102
74
0.600998
waterben
ce95ef89b50c5889cf42c95d259cca39f19c101a
1,394
cpp
C++
platform-io/lib/zeromq/src/zeromq/ZeroMQWriter.cpp
darvik80/rover-cpp
8da7b7f07efe7096843ae17536603277f55debea
[ "Apache-2.0" ]
2
2020-01-13T07:32:50.000Z
2020-03-03T14:32:25.000Z
platform-io/lib/zeromq/src/zeromq/ZeroMQWriter.cpp
darvik80/rover-cpp
8da7b7f07efe7096843ae17536603277f55debea
[ "Apache-2.0" ]
16
2019-06-16T05:51:02.000Z
2020-02-03T01:59:23.000Z
platform-io/lib/zeromq/src/zeromq/ZeroMQWriter.cpp
darvik80/rover-cpp
8da7b7f07efe7096843ae17536603277f55debea
[ "Apache-2.0" ]
1
2020-03-03T14:32:27.000Z
2020-03-03T14:32:27.000Z
// // Created by Ivan Kishchenko on 05.09.2021. // #include "ZeroMQWriter.h" #include "ZeroMQFlag.h" std::error_code ZeroMQWriter::writeData(const void *data, std::size_t size) { write((const char*)data, size); if (!(*this)) { return std::make_error_code(std::errc::message_size); } return {};...
23.627119
78
0.637016
darvik80
ce96d8634af00facb457d9d8755a1fd50f15cb05
2,575
cpp
C++
aws-cpp-sdk-awstransfer/source/model/WorkflowStep.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-02-12T08:09:30.000Z
2022-02-12T08:09:30.000Z
aws-cpp-sdk-awstransfer/source/model/WorkflowStep.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-awstransfer/source/model/WorkflowStep.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-12-30T04:25:33.000Z
2021-12-30T04:25:33.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/awstransfer/model/WorkflowStep.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; namespace Aws { name...
21.280992
93
0.744078
perfectrecall
ce97384dc5744247b8b1dab531cfa7e46c727497
1,079
cc
C++
mime1836_sigmaic256_bg00/species_advance/advance_p_efield.cc
laofei177/vpic_reconnection_tutorial
7ba13578fe34615a118f3d98446ea94ad2b3d188
[ "MIT" ]
1
2021-03-31T11:44:29.000Z
2021-03-31T11:44:29.000Z
mime1836_sigmaic256_bg00/species_advance/advance_p_efield.cc
xiaocanli/vpic_reconnection_tutorial
05ff2372404717a548066f4a5fd8bbeb1407b30a
[ "MIT" ]
null
null
null
mime1836_sigmaic256_bg00/species_advance/advance_p_efield.cc
xiaocanli/vpic_reconnection_tutorial
05ff2372404717a548066f4a5fd8bbeb1407b30a
[ "MIT" ]
1
2021-03-31T11:48:43.000Z
2021-03-31T11:48:43.000Z
/* #define IN_spa */ #include "species_advance_efield.h" //----------------------------------------------------------------------------// // Top level function to select and call particle advance function using the // desired particle advance abstraction. Currently, the only abstraction // available is the pipeline a...
43.16
80
0.623726
laofei177
ce9965984c806989b9fa18c73cf2a5cdaf84e800
2,297
cpp
C++
demo/saxpy/scalar/saxpy_scalar.cpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
34
2017-05-19T18:10:17.000Z
2022-01-04T02:18:13.000Z
demo/saxpy/scalar/saxpy_scalar.cpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
null
null
null
demo/saxpy/scalar/saxpy_scalar.cpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
7
2017-12-02T12:59:17.000Z
2021-07-31T12:46:14.000Z
//============================================================================== // Copyright 2003 - 2011 LASMEA UMR 6602 CNRS/Univ. Clermont II // Copyright 2009 - 2011 LRI UMR 8623 CNRS/Univ Paris Sud XI // Copyright 2012 - 2014 MetaScale SAS // // Distributed under the Boost...
31.902778
82
0.538964
psiha
ce9b78cefa498828e70c02d708f5b467e494b08e
902
cpp
C++
Advanced-Programming/Lab-2/main.cpp
hstr2785/CS
d1eaec5413887c8e271f598d41ef6ccd565c5ac8
[ "MIT" ]
null
null
null
Advanced-Programming/Lab-2/main.cpp
hstr2785/CS
d1eaec5413887c8e271f598d41ef6ccd565c5ac8
[ "MIT" ]
1
2020-09-25T17:04:57.000Z
2020-09-25T17:04:57.000Z
Advanced-Programming/Lab-2/main.cpp
hstr2785/CS
d1eaec5413887c8e271f598d41ef6ccd565c5ac8
[ "MIT" ]
2
2020-10-01T05:01:38.000Z
2020-10-01T08:11:50.000Z
#include<iostream> #include<string.h> using namespace std; class elective { private: int code; int capacity; int reserved; public: elective(int code, int capacity, int reserved); void printStatus(); void add(int n); void reduce(int n); }; void elective::printStatus() { floa...
20.976744
118
0.59867
hstr2785
ce9bc8e8548eae2f6a3c556434c93481db45e62e
15,716
cpp
C++
src/hash.cpp
eval-apply/digamma
fbab05bdcb7019ff005ee84ed8f737ff3d44b38e
[ "BSD-2-Clause" ]
null
null
null
src/hash.cpp
eval-apply/digamma
fbab05bdcb7019ff005ee84ed8f737ff3d44b38e
[ "BSD-2-Clause" ]
null
null
null
src/hash.cpp
eval-apply/digamma
fbab05bdcb7019ff005ee84ed8f737ff3d44b38e
[ "BSD-2-Clause" ]
null
null
null
// Copyright (c) 2004-2022 Yoshikatsu Fujita / LittleWing Company Limited. // See LICENSE file for terms and conditions of use. #include "core.h" #include "hash.h" #include "arith.h" #include "equiv.h" #include "utf8.h" #define EQUAL_HASH_DEPTH_LIMIT 100 uint32_t address_hash1(void* adrs, uint32_t bound) { return ((...
36.548837
141
0.627704
eval-apply
ce9ec0fa4206d70d1f98f8b34ba621934189dc21
667
cpp
C++
boboleetcode/Play-Leetcode-master/0541-Reverse-String-II/cpp-0541/main.cpp
mcuallen/CodeLrn2019
adc727d92904c5c5d445a2621813dfa99474206d
[ "Apache-2.0" ]
2
2019-03-20T17:05:59.000Z
2019-10-15T07:56:45.000Z
boboleetcode/Play-Leetcode-master/0541-Reverse-String-II/cpp-0541/main.cpp
mcuallen/CodeLrn2019
adc727d92904c5c5d445a2621813dfa99474206d
[ "Apache-2.0" ]
6
2019-12-04T06:08:32.000Z
2021-05-10T20:22:47.000Z
boboleetcode/Play-Leetcode-master/0541-Reverse-String-II/cpp-0541/main.cpp
mcuallen/CodeLrn2019
adc727d92904c5c5d445a2621813dfa99474206d
[ "Apache-2.0" ]
null
null
null
/// Source : https://leetcode.com/problems/reverse-string-ii/description/ /// Author : liuyubobobo /// Time : 2018-06-04 #include <iostream> using namespace std; /// Simulation /// Time Complexity: O(n) /// Space Complexity: O(1) class Solution { public: string reverseStr(string s, int k) { for(int i ...
19.057143
73
0.526237
mcuallen
ce9f8023b431fcf053b7b590b0c8ea901848a5dd
30,969
cpp
C++
examples/test/main.cpp
pkholland/anon
c9fbe49e505eb4d100da58058e9f51508b06635d
[ "MIT" ]
1
2015-03-12T01:05:52.000Z
2015-03-12T01:05:52.000Z
examples/test/main.cpp
pkholland/anon
c9fbe49e505eb4d100da58058e9f51508b06635d
[ "MIT" ]
null
null
null
examples/test/main.cpp
pkholland/anon
c9fbe49e505eb4d100da58058e9f51508b06635d
[ "MIT" ]
null
null
null
/* Copyright (c) 2015 Anon authors, see AUTHORS file. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge...
39.908505
272
0.502406
pkholland
ce9fb266d61bf3c485015eabe0377a3c85b44d2d
37,377
cpp
C++
vnext/Desktop.IntegrationTests/HttpOriginPolicyIntegrationTest.cpp
iahmadwaqar/react-native-windows
2d128d8d3e51e4cba8f94965053c6b679602c87d
[ "MIT" ]
4,873
2017-03-09T22:58:40.000Z
2019-05-06T21:03:20.000Z
vnext/Desktop.IntegrationTests/HttpOriginPolicyIntegrationTest.cpp
iahmadwaqar/react-native-windows
2d128d8d3e51e4cba8f94965053c6b679602c87d
[ "MIT" ]
1,293
2017-03-09T15:57:29.000Z
2019-05-06T20:35:22.000Z
vnext/Desktop.IntegrationTests/HttpOriginPolicyIntegrationTest.cpp
iahmadwaqar/react-native-windows
2d128d8d3e51e4cba8f94965053c6b679602c87d
[ "MIT" ]
477
2017-03-10T06:39:32.000Z
2019-05-06T20:33:00.000Z
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #include <CppUnitTest.h> #include <CppRuntimeOptions.h> #include <Networking/IHttpResource.h> #include <Networking/OriginPolicy.h> #include <Test/HttpServer.h> // Standard Library #include <future> using namespace Microsoft::Vis...
44.655914
160
0.731439
iahmadwaqar
cea8b31c3435b2438bb81c8fba50ef1024968b54
753
cpp
C++
src/ECS/Detail/SystemHolder.cpp
Ethan13310/ECS
63aae52624b6468a7db078fdf7c32dd4caecaa70
[ "MIT" ]
12
2018-12-06T12:51:57.000Z
2022-03-20T14:31:28.000Z
src/ECS/Detail/SystemHolder.cpp
Ethan13310/ECS
63aae52624b6468a7db078fdf7c32dd4caecaa70
[ "MIT" ]
1
2021-07-15T08:33:16.000Z
2021-07-15T08:33:16.000Z
src/ECS/Detail/SystemHolder.cpp
Ethan13310/ECS
63aae52624b6468a7db078fdf7c32dd4caecaa70
[ "MIT" ]
3
2019-08-10T22:34:28.000Z
2021-07-14T09:19:36.000Z
// Copyright (c) 2021 Ethan Margaillan <[email protected]>. // Licensed under the MIT License - https://raw.githubusercontent.com/Ethan13310/ECS/master/LICENSE #include <ECS/Detail/SystemHolder.hpp> ecs::detail::SystemHolder::~SystemHolder() { removeAllSystems(); } void ecs::detail::SystemHolder::removeAllSystems() ...
18.825
99
0.670651
Ethan13310
ceb30aa972be3cfb975cfbeb5fb41bbebe710e08
337
hpp
C++
Vesper/Vesper/Textures/UVTexture.hpp
FallenShard/Crisp
d4cf22c0f9af73a6c4ba2b7d67696f1a188fd423
[ "MIT" ]
6
2017-09-14T03:26:49.000Z
2021-09-18T05:40:59.000Z
Vesper/Vesper/Textures/UVTexture.hpp
FallenShard/Crisp
d4cf22c0f9af73a6c4ba2b7d67696f1a188fd423
[ "MIT" ]
null
null
null
Vesper/Vesper/Textures/UVTexture.hpp
FallenShard/Crisp
d4cf22c0f9af73a6c4ba2b7d67696f1a188fd423
[ "MIT" ]
null
null
null
#pragma once #include <memory> #include <string> #include <functional> #include <cmath> #include "Texture.hpp" namespace crisp { class UVTexture : public Texture<Spectrum> { public: UVTexture(const VariantMap& variantMap = VariantMap()); virtual Spectrum eval(const glm::vec2& uv) const o...
17.736842
66
0.673591
FallenShard