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
eaaee55d560d16a2957b2c5fb53f02afae059dec
2,406
cpp
C++
src/zmqConsumerPoll.cpp
tompatman/zmqplus
efea491f2e9ca8f531ec7e102564fb56b1d62e0f
[ "MIT" ]
null
null
null
src/zmqConsumerPoll.cpp
tompatman/zmqplus
efea491f2e9ca8f531ec7e102564fb56b1d62e0f
[ "MIT" ]
null
null
null
src/zmqConsumerPoll.cpp
tompatman/zmqplus
efea491f2e9ca8f531ec7e102564fb56b1d62e0f
[ "MIT" ]
null
null
null
/* * zmqConsumerPoll.cpp * * Created on: May 31, 2013 * Author: service */ #include "../include/zmqConsumerPoll.h" using std::string; zmqConsumerPoll::zmqConsumerPoll(ppcLogger *log, uint num_consumers_to_poll, int timeout_ms) : _log(log) , _num_consumers(num_consumers_to_poll) , _timeout_ms(timeout_ms) {...
23.588235
112
0.620116
tompatman
eaaf2f4745d98ff1b2d861e75db041301a3a0122
2,341
cpp
C++
midterm_mbghazi.cpp
mbghazi/Data-Structures
4703488686d2a78267fcd5a6adcbeda36ac10703
[ "MIT" ]
null
null
null
midterm_mbghazi.cpp
mbghazi/Data-Structures
4703488686d2a78267fcd5a6adcbeda36ac10703
[ "MIT" ]
null
null
null
midterm_mbghazi.cpp
mbghazi/Data-Structures
4703488686d2a78267fcd5a6adcbeda36ac10703
[ "MIT" ]
null
null
null
/* ** PROGRAM: Matrix Multiply ** ** PURPOSE: This is a simple matrix multiply program. ** It will compute the product ** ** C = A * B ** ** A and B are set to constant matrices so we ** can make a quick test of the multiplication. ** ** USAGE: Right now, I hardwire t...
22.509615
86
0.564289
mbghazi
eab068770436f9db993275b1ce35ad8d8dba1c8d
1,444
cc
C++
src/boson/test/queues_weakrb.cc
duckie/boson
f3eb787f385c86b7735fcd7bc0ac0dc6a8fb7b1a
[ "MIT" ]
174
2016-10-10T12:47:01.000Z
2022-03-09T16:06:59.000Z
src/boson/test/queues_weakrb.cc
duckie/boson
f3eb787f385c86b7735fcd7bc0ac0dc6a8fb7b1a
[ "MIT" ]
5
2017-02-01T21:30:14.000Z
2018-09-09T10:02:00.000Z
src/boson/test/queues_weakrb.cc
duckie/boson
f3eb787f385c86b7735fcd7bc0ac0dc6a8fb7b1a
[ "MIT" ]
13
2016-10-10T12:19:14.000Z
2021-12-04T08:23:26.000Z
#include <iostream> #include <limits> #include <random> #include <thread> #include "boson/queues/weakrb.h" #include "catch.hpp" TEST_CASE("Queues - WeakRB - serial random integers", "[queues][weakrb]") { constexpr size_t const sample_size = 1e4; std::random_device seed; std::mt19937_64 generator{seed()}; std:...
25.333333
83
0.605956
duckie
eab334692c7e899abd7ef97fc35637752d552cba
64,611
cpp
C++
src/slg/film/film.cpp
DavidBluecame/LuxRays
be0f5228b8b65268278a6c6a1c98564ebdc27c05
[ "Apache-2.0" ]
null
null
null
src/slg/film/film.cpp
DavidBluecame/LuxRays
be0f5228b8b65268278a6c6a1c98564ebdc27c05
[ "Apache-2.0" ]
null
null
null
src/slg/film/film.cpp
DavidBluecame/LuxRays
be0f5228b8b65268278a6c6a1c98564ebdc27c05
[ "Apache-2.0" ]
null
null
null
/*************************************************************************** * Copyright 1998-2015 by authors (see AUTHORS.txt) * * * * This file is part of LuxRender. * * ...
33.339009
136
0.693148
DavidBluecame
eab95df009eeed45149bf914d5a1f84f0370f35c
934
cpp
C++
src/071.simplify_path/code.cpp
cloudzfy/leetcode
9d32090429ef297e1f62877382bff582d247266a
[ "MIT" ]
1
2016-07-02T17:44:10.000Z
2016-07-02T17:44:10.000Z
src/071.simplify_path/code.cpp
cloudzfy/leetcode
9d32090429ef297e1f62877382bff582d247266a
[ "MIT" ]
null
null
null
src/071.simplify_path/code.cpp
cloudzfy/leetcode
9d32090429ef297e1f62877382bff582d247266a
[ "MIT" ]
1
2019-12-21T04:57:15.000Z
2019-12-21T04:57:15.000Z
class Solution { public: string simplifyPath(string path) { stack<string> s; string ans; int len = path.length(); if (len == 0) return ans; int start, end; for (int i = 0; i < len; i++) { if (i > 0 && path[i] != '/' && path[i - 1] == '/') { ...
28.30303
92
0.313704
cloudzfy
eab9870e3fd5d0d35a46824b7c7a469cf4a9f334
362
cpp
C++
array/Kth Row of Pascal's Triangle.cpp
1aman1/practice-InterviewBit
cafb841bd57f74f8fc3690a7f7830e6ca9fda916
[ "MIT" ]
1
2019-08-14T05:46:57.000Z
2019-08-14T05:46:57.000Z
array/Kth Row of Pascal's Triangle.cpp
1aman1/practice
cafb841bd57f74f8fc3690a7f7830e6ca9fda916
[ "MIT" ]
null
null
null
array/Kth Row of Pascal's Triangle.cpp
1aman1/practice
cafb841bd57f74f8fc3690a7f7830e6ca9fda916
[ "MIT" ]
null
null
null
/* A0-> 1 A1-> 1 1 A2-> 1 2 1 A3-> 1 3 3 1 for A, pascal triangle will have A+1 elements */ vector<int> Solution::getRow(int A) { vector<int> result; int value = 1, index; for( index = 0; index <= A ; index++){ result.push_back(value); value = value * (A - index)/(i...
21.294118
52
0.508287
1aman1
eab9ea26b789a8deb87fcc31f169ada82a197dc8
44,492
cpp
C++
core/sql/parser/StmtDDLNode.cpp
sandhyasun/trafodion
db1a8a73b7b3b4767d5dec60ae091df891cfceee
[ "Apache-2.0" ]
null
null
null
core/sql/parser/StmtDDLNode.cpp
sandhyasun/trafodion
db1a8a73b7b3b4767d5dec60ae091df891cfceee
[ "Apache-2.0" ]
null
null
null
core/sql/parser/StmtDDLNode.cpp
sandhyasun/trafodion
db1a8a73b7b3b4767d5dec60ae091df891cfceee
[ "Apache-2.0" ]
null
null
null
/* -*-C++-*- // @@@ START COPYRIGHT @@@ // // Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache Licen...
24.540541
126
0.634384
sandhyasun
eabc05816776c1a659881280881d2cda272183b6
5,497
cpp
C++
STM32_Resources/Default/NES/mapper/083.cpp
Shuzhengz/Projects-Code
1b9608004a682b1da4e31f3160736e5b2c52fb33
[ "MIT" ]
14
2019-01-14T08:16:55.000Z
2021-06-14T11:56:56.000Z
STM32_Resources/Default/NES/mapper/083.cpp
Shuzhengz/Projects-Code
1b9608004a682b1da4e31f3160736e5b2c52fb33
[ "MIT" ]
null
null
null
STM32_Resources/Default/NES/mapper/083.cpp
Shuzhengz/Projects-Code
1b9608004a682b1da4e31f3160736e5b2c52fb33
[ "MIT" ]
4
2019-01-14T08:16:32.000Z
2021-12-05T05:53:06.000Z
///////////////////////////////////////////////////////////////////// // Mapper 83 void NES_mapper83::Reset() { regs[0] = regs[1] = regs[2] = 0; // set CPU bank pointers if(num_8k_ROM_banks >= 32) { set_CPU_banks(0,1,30,31); regs[1] = 0x30; } else { set_CPU_banks(0,1,num_8k_ROM_banks-2,num_8...
20.588015
69
0.433873
Shuzhengz
eabef1dd8733d3b75f83cffbbeb0509d369503f5
103
cpp
C++
addresslab.cpp
CaQtiml/CaQ-s-NOOB-LAB
a6cd2a730f2b2e6a834b1b39521052c5125150b5
[ "MIT" ]
null
null
null
addresslab.cpp
CaQtiml/CaQ-s-NOOB-LAB
a6cd2a730f2b2e6a834b1b39521052c5125150b5
[ "MIT" ]
null
null
null
addresslab.cpp
CaQtiml/CaQ-s-NOOB-LAB
a6cd2a730f2b2e6a834b1b39521052c5125150b5
[ "MIT" ]
null
null
null
#include "stdio.h" int main() { int b=8; int &a=b; printf("%d",a); b+=2; printf("%d",a); }
11.444444
19
0.466019
CaQtiml
eac4248c774fa43b3fac2efa59431b406736dfbb
8,112
cpp
C++
aws-cpp-sdk-securityhub/source/model/AwsEc2VpcEndpointServiceDetails.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-securityhub/source/model/AwsEc2VpcEndpointServiceDetails.cpp
perfectrecall/aws-sdk-cpp
fb8cbebf2fd62720b65aeff841ad2950e73d8ebd
[ "Apache-2.0" ]
1
2021-10-14T16:57:00.000Z
2021-10-18T10:47:24.000Z
aws-cpp-sdk-securityhub/source/model/AwsEc2VpcEndpointServiceDetails.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2021-11-09T11:58:03.000Z
2021-11-09T11:58:03.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/securityhub/model/AwsEc2VpcEndpointServiceDetails.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Utils::Json; using namespace Aws::Utils; n...
31.937008
158
0.784147
perfectrecall
eac6d42b898df62950c863b4f09fa22c958e6892
1,974
cpp
C++
PnC/DracoPnC/DracoStateMachine/Initialize.cpp
BharathMasetty/PnC
3800bd7e3c5dd5ffa00e6a5f09d48d21c405206f
[ "MIT" ]
null
null
null
PnC/DracoPnC/DracoStateMachine/Initialize.cpp
BharathMasetty/PnC
3800bd7e3c5dd5ffa00e6a5f09d48d21c405206f
[ "MIT" ]
null
null
null
PnC/DracoPnC/DracoStateMachine/Initialize.cpp
BharathMasetty/PnC
3800bd7e3c5dd5ffa00e6a5f09d48d21c405206f
[ "MIT" ]
null
null
null
#include <PnC/DracoPnC/DracoCtrlArchitecture/DracoCtrlArchitecture.hpp> #include <PnC/DracoPnC/DracoStateMachine/Initialize.hpp> Initialize::Initialize(const StateIdentifier state_identifier_in, DracoControlArchitecture* _ctrl_arch, RobotSystem* _robot) : StateMachine(...
31.333333
78
0.644883
BharathMasetty
ead1b640546a3846870ddb6afb1cc99741fe7a51
1,788
cc
C++
core/user.cc
DaYeSquad/worktiledemo
1dd0a14255fc006824c896ea236120cd3ce32a6c
[ "MIT" ]
36
2016-04-04T03:10:45.000Z
2020-12-31T07:03:28.000Z
core/user.cc
DaYeSquad/worktiledemo
1dd0a14255fc006824c896ea236120cd3ce32a6c
[ "MIT" ]
null
null
null
core/user.cc
DaYeSquad/worktiledemo
1dd0a14255fc006824c896ea236120cd3ce32a6c
[ "MIT" ]
6
2016-04-12T08:48:17.000Z
2021-07-24T08:15:00.000Z
// // user.cpp // HelloWorktile // // Created by Frank Lin on 3/23/16. // Copyright © 2016 Frank Lin. All rights reserved. // #include "user.h" #include "json11/json11.hpp" using std::string; using std::unique_ptr; NS_WTC_BEGIN //////////////////////////////////////////////////////////////////////////////// //...
25.183099
134
0.604586
DaYeSquad
ead37173e91c5524dd8f41d266b05b0590ff2d40
5,763
cpp
C++
emulator/src/mame/video/pcw.cpp
rjw57/tiw-computer
5ef1c79893165b8622d1114d81cd0cded58910f0
[ "MIT" ]
1
2022-01-15T21:38:38.000Z
2022-01-15T21:38:38.000Z
emulator/src/mame/video/pcw.cpp
rjw57/tiw-computer
5ef1c79893165b8622d1114d81cd0cded58910f0
[ "MIT" ]
null
null
null
emulator/src/mame/video/pcw.cpp
rjw57/tiw-computer
5ef1c79893165b8622d1114d81cd0cded58910f0
[ "MIT" ]
null
null
null
// license:GPL-2.0+ // copyright-holders:Kevin Thacker /*************************************************************************** pcw.c Functions to emulate the video hardware of the Amstrad PCW. ***************************************************************************/ #include "emu.h" #include "includes/p...
30.654255
224
0.660246
rjw57
ead3d66d94475c5d960d55fe1aeb92b8886dbad6
127
hpp
C++
KGE/Core/Audio/ComponentAudioClip.hpp
jkeywo/KGE
5ad2619a4e205dd549cdf638854db356a80694ea
[ "MIT" ]
1
2016-08-10T14:03:29.000Z
2016-08-10T14:03:29.000Z
KGE/Core/Audio/ComponentAudioClip.hpp
jkeywo/KGE
5ad2619a4e205dd549cdf638854db356a80694ea
[ "MIT" ]
null
null
null
KGE/Core/Audio/ComponentAudioClip.hpp
jkeywo/KGE
5ad2619a4e205dd549cdf638854db356a80694ea
[ "MIT" ]
null
null
null
#pragma once #include "Core/Components/Component.hpp" namespace KGE { class ComponentAudioClip : public Component { }; };
11.545455
44
0.732283
jkeywo
ead4598d77cfe0fbd446e38a2eafd58c6ec87e49
4,866
cc
C++
training/mr_em_map_adapter.cc
agesmundo/FasterCubePruning
f80150140b5273fd1eb0dfb34bdd789c4cbd35e6
[ "BSD-3-Clause-LBNL", "Apache-2.0" ]
1
2019-06-03T00:44:01.000Z
2019-06-03T00:44:01.000Z
training/mr_em_map_adapter.cc
jhclark/cdec
237ddc67ffa61da310e19710f902d4771dc323c2
[ "BSD-3-Clause-LBNL", "Apache-2.0" ]
null
null
null
training/mr_em_map_adapter.cc
jhclark/cdec
237ddc67ffa61da310e19710f902d4771dc323c2
[ "BSD-3-Clause-LBNL", "Apache-2.0" ]
1
2021-02-19T12:44:54.000Z
2021-02-19T12:44:54.000Z
#include <iostream> #include <fstream> #include <cassert> #include <cmath> #include <boost/utility.hpp> #include <boost/program_options.hpp> #include <boost/program_options/variables_map.hpp> #include "boost/tuple/tuple.hpp" #include "fdict.h" #include "sparse_vector.h" using namespace std; namespace po = boost::pro...
30.223602
116
0.59104
agesmundo
ead6a6563593a425e9fc1fd361c2c6fc2abc5b05
1,404
cpp
C++
thirdparty/sfs2x/Bitswarm/BBox/BBEvent.cpp
godot-addons/godot-sfs2x
a8d52aa9d548f6d45bbb64bfdaacab0df10e67c1
[ "MIT" ]
2
2020-05-14T07:48:32.000Z
2021-02-03T14:58:11.000Z
thirdparty/sfs2x/Bitswarm/BBox/BBEvent.cpp
godot-addons/godot-sfs2x
a8d52aa9d548f6d45bbb64bfdaacab0df10e67c1
[ "MIT" ]
1
2020-05-28T16:39:20.000Z
2020-05-28T16:39:20.000Z
thirdparty/sfs2x/Bitswarm/BBox/BBEvent.cpp
godot-addons/godot-sfs2x
a8d52aa9d548f6d45bbb64bfdaacab0df10e67c1
[ "MIT" ]
2
2018-07-07T20:15:00.000Z
2018-10-26T05:18:30.000Z
// =================================================================== // // Description // Contains the implementation of BBEvent // // Revision history // Date Description // 30-Nov-2012 First version // // =================================================================== #include "BBEvent.h" namespace Sfs...
31.909091
117
0.504274
godot-addons
ead740e181fb132ccf2430f21f427346276b1b97
1,883
hpp
C++
include/IStreamSocket.hpp
lordio/insanity
7dfbf398fe08968f40a32280bf2b16cca2b476a1
[ "MIT" ]
1
2015-02-05T10:41:14.000Z
2015-02-05T10:41:14.000Z
include/IStreamSocket.hpp
lordio/insanity
7dfbf398fe08968f40a32280bf2b16cca2b476a1
[ "MIT" ]
1
2015-02-04T20:47:52.000Z
2015-02-05T07:43:05.000Z
include/IStreamSocket.hpp
lordio/insanity
7dfbf398fe08968f40a32280bf2b16cca2b476a1
[ "MIT" ]
null
null
null
#ifndef INSANITY_INTERFACE_STREAM_SOCKET #define INSANITY_INTERFACE_STREAM_SOCKET #include "Constants.hpp" #include "IObject.hpp" namespace Insanity { class IByteArray; class INSANITY_API IStreamSocket : public virtual IObject { public: //================================================= //Create a new Strea...
34.236364
76
0.478492
lordio
ead785b9cb2a4cac33dff6d2858fa848750a70e0
344
cpp
C++
projects/client/input/haft/source/haft/Input_Configuration.cpp
silentorb/mythic-cpp
97319d158800d77e1a944c47c13523662bc07e08
[ "MIT" ]
null
null
null
projects/client/input/haft/source/haft/Input_Configuration.cpp
silentorb/mythic-cpp
97319d158800d77e1a944c47c13523662bc07e08
[ "MIT" ]
null
null
null
projects/client/input/haft/source/haft/Input_Configuration.cpp
silentorb/mythic-cpp
97319d158800d77e1a944c47c13523662bc07e08
[ "MIT" ]
null
null
null
#include "Input_Configuration.h" namespace haft { Device *Input_Configuration::get_device(const std::string name) const { for (auto &device: devices) { if (device->get_name() == name) return device.get(); } return nullptr; // throw runtime_error(string("Invalid device name "...
24.571429
74
0.613372
silentorb
ead7da1fbb8c0d130dd44346123a6ba87c889f8b
1,276
cc
C++
chrome/browser/commerce/coupons/coupon_service_factory.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
76
2020-09-02T03:05:41.000Z
2022-03-30T04:40:55.000Z
chrome/browser/commerce/coupons/coupon_service_factory.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
45
2020-09-02T03:21:37.000Z
2022-03-31T22:19:45.000Z
chrome/browser/commerce/coupons/coupon_service_factory.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
8
2020-07-22T18:49:18.000Z
2022-02-08T10:27:16.000Z
// Copyright 2021 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/commerce/coupons/coupon_service_factory.h" #include "chrome/browser/commerce/coupons/coupon_db.h" #include "chrome/browser/comme...
34.486486
80
0.78605
zealoussnow
eae6573fae791d2658baadcd206a819f238030ff
5,179
hxx
C++
main/sc/inc/hints.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/sc/inc/hints.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/sc/inc/hints.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...
28.456044
89
0.659394
Grosskopf
eae87783473a79a689454e4b2011efe263c479f9
726
cpp
C++
Flinty/Flinty/src/fl/Core.cpp
TheCherno/AnimatedSpriteCompression
012dc267c59a7921defed868d235533afa630b6b
[ "Apache-2.0" ]
11
2016-08-10T18:16:29.000Z
2021-11-20T12:09:28.000Z
Flinty/Flinty/src/fl/Core.cpp
TheCherno/AnimatedSpriteCompression
012dc267c59a7921defed868d235533afa630b6b
[ "Apache-2.0" ]
null
null
null
Flinty/Flinty/src/fl/Core.cpp
TheCherno/AnimatedSpriteCompression
012dc267c59a7921defed868d235533afa630b6b
[ "Apache-2.0" ]
3
2019-05-16T15:37:34.000Z
2020-04-10T01:05:03.000Z
#include "Core.h" #include <iostream> #include "gl.h" #if defined(FL_PLATFORM_ANDROID) #include "platform/android/AndroidSystem.h" #endif namespace fl { #if defined(FL_PLATFORM_WINDOWS) void Init() { } #elif defined(FL_PLATFORM_ANDROID) void Init(void* env, void* mainView) { AndroidSystem::Init((JNIEnv*)e...
15.446809
109
0.646006
TheCherno
eaea8280c75f22a6557e0fc2c795457539db1e20
2,044
hpp
C++
GazeEstimationCpp/PinholeCameraModel.hpp
dmikushin/RemoteEye
f467594e8d0246d7cc87bf843da1d09e105fcca7
[ "MIT" ]
9
2020-05-10T15:40:10.000Z
2022-01-26T19:58:55.000Z
GazeEstimationCpp/PinholeCameraModel.hpp
dmikushin/RemoteEye
f467594e8d0246d7cc87bf843da1d09e105fcca7
[ "MIT" ]
5
2020-08-08T22:22:51.000Z
2021-01-18T12:18:37.000Z
GazeEstimationCpp/PinholeCameraModel.hpp
dmikushin/RemoteEye
f467594e8d0246d7cc87bf843da1d09e105fcca7
[ "MIT" ]
2
2020-08-08T09:31:59.000Z
2020-12-14T05:49:33.000Z
#ifndef PINHOLE_CAMERA_MODEL_HPP_INCLUDED #define PINHOLE_CAMERA_MODEL_HPP_INCLUDED #include "MathTypes.hpp" namespace gazeestimation{ class PinholeCameraModel { private: Vec3 camera_angles; Mat3x3 actual_rotation_matrix; public: // camera intrinsic double principal_point_x; double principal_point_y; double p...
20.44
117
0.751957
dmikushin
eaeaee7f2c260beb4af190c606e353fb56f190f5
1,356
cpp
C++
IndependentSet.cpp
manoelstilpen/clique_problem
bf1c9711128b9173301d9ff4d1ad2f837f7f523e
[ "MIT" ]
null
null
null
IndependentSet.cpp
manoelstilpen/clique_problem
bf1c9711128b9173301d9ff4d1ad2f837f7f523e
[ "MIT" ]
null
null
null
IndependentSet.cpp
manoelstilpen/clique_problem
bf1c9711128b9173301d9ff4d1ad2f837f7f523e
[ "MIT" ]
1
2019-07-02T13:55:23.000Z
2019-07-02T13:55:23.000Z
#include "IndependentSet.hpp" IndependentSet::IndependentSet(){ definedGraph = false; } IndependentSet::IndependentSet(Graph _graph){ setGraph(_graph); } int IndependentSet::searchLargestIndependentSet(){ for(int k=0 ; k<graph.getNVertex() ; k++){ vector<int> vertex_list(graph.getNVertex()); ...
22.229508
85
0.558997
manoelstilpen
eaeb3528d0718695e61d2dc99b3bd35a908a30d4
225
hpp
C++
include/LIEF/span.hpp
rafael-santiago/LIEF
f230094d5877dd63d40915dc944c53c2a4be5ed9
[ "Apache-2.0" ]
1
2022-02-26T00:28:52.000Z
2022-02-26T00:28:52.000Z
include/LIEF/span.hpp
rafael-santiago/LIEF
f230094d5877dd63d40915dc944c53c2a4be5ed9
[ "Apache-2.0" ]
null
null
null
include/LIEF/span.hpp
rafael-santiago/LIEF
f230094d5877dd63d40915dc944c53c2a4be5ed9
[ "Apache-2.0" ]
null
null
null
#ifndef LIEF_SPAN_H #define LIEF_SPAN_H #include <LIEF/third-party/span.hpp> namespace LIEF { template <typename ElementType, std::size_t Extent = tcb::dynamic_extent> using span = tcb::span<ElementType, Extent>; } #endif
18.75
73
0.764444
rafael-santiago
eaebe3caf007b66f13294eaa39c997be945f32c1
1,067
cc
C++
chrome/browser/locale_tests_uitest.cc
zachlatta/chromium
c4625eefca763df86471d798ee5a4a054b4716ae
[ "BSD-3-Clause" ]
1
2021-09-24T22:49:10.000Z
2021-09-24T22:49:10.000Z
chrome/browser/locale_tests_uitest.cc
changbai1980/chromium
c4625eefca763df86471d798ee5a4a054b4716ae
[ "BSD-3-Clause" ]
null
null
null
chrome/browser/locale_tests_uitest.cc
changbai1980/chromium
c4625eefca763df86471d798ee5a4a054b4716ae
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/test/ui/ui_test.h" class LocaleTestsDa : public UITest { public: LocaleTestsDa() : UITest() { launch_arguments_.AppendSw...
24.813953
73
0.719775
zachlatta
eaf0865ae2f420e0b3dd47bcee0fa3c845fbd082
953
cpp
C++
Ruminate/src/HelperFiles/a_funcs.cpp
Riku32/Ruminate
0855384c2abb24f2552688561ff90bd555ef3c07
[ "MIT" ]
null
null
null
Ruminate/src/HelperFiles/a_funcs.cpp
Riku32/Ruminate
0855384c2abb24f2552688561ff90bd555ef3c07
[ "MIT" ]
null
null
null
Ruminate/src/HelperFiles/a_funcs.cpp
Riku32/Ruminate
0855384c2abb24f2552688561ff90bd555ef3c07
[ "MIT" ]
null
null
null
#include "HelperFiles/a_funcs.hpp" //relu inline float Relu(float x) { return (x > 0) * x; } inline float ReluPrime(float x) { return x > 0; } //leaky relu inline float ReluLeaky(float x) { if (x < 0) { return x * A; } else { return x; } } ...
12.878378
66
0.499475
Riku32
eaf608c4845378c97f1a955f5533efa1e5c2b962
8,845
cpp
C++
src/corder.cpp
Cetus-K/corder
cd635c3bf49f578952d65393270a9a980841299e
[ "MIT" ]
null
null
null
src/corder.cpp
Cetus-K/corder
cd635c3bf49f578952d65393270a9a980841299e
[ "MIT" ]
null
null
null
src/corder.cpp
Cetus-K/corder
cd635c3bf49f578952d65393270a9a980841299e
[ "MIT" ]
null
null
null
#include "corder.h" // corder destructor corder::~corder() { vector < int > ().swap(l); vector < int > ().swap(item); vector < int > ().swap(sitem); vector < vector < int > > ().swap(stypeindex); vector < vector < int > > ().swap(stypelist); vector < string > ().swap(mode); vector < string > ().swap(type); vec...
28.905229
136
0.5645
Cetus-K
46aeb29ba723d04d05eb80ed696f5532ce9ed1c5
767
cpp
C++
intermediate/funciones/vectorAddFunctions.cpp
eduardorasgado/CppZerotoAdvance2018
909cc0f0e1521fd9ca83795bf84cbb9f725d9d4f
[ "MIT" ]
1
2019-06-20T17:51:10.000Z
2019-06-20T17:51:10.000Z
intermediate/funciones/vectorAddFunctions.cpp
eduardorasgado/CppZerotoAdvance2018
909cc0f0e1521fd9ca83795bf84cbb9f725d9d4f
[ "MIT" ]
2
2018-10-01T08:14:01.000Z
2018-10-06T05:27:26.000Z
intermediate/funciones/vectorAddFunctions.cpp
eduardorasgado/CppZerotoAdvance2018
909cc0f0e1521fd9ca83795bf84cbb9f725d9d4f
[ "MIT" ]
1
2018-10-05T10:54:10.000Z
2018-10-05T10:54:10.000Z
#include <iostream> using namespace std; int suma(int vector1[], int N); void dataRequest(); void showVector(); int N, vector[100]; int main(int argc, char** argv) { // pidiendo los datos al usuario dataRequest(); showVector(); int addition = suma(vector, N); cout << "La suma de todos los numeros del vector es...
18.707317
79
0.591917
eduardorasgado
46b1ee6ba3c748a62174ce31a4ffc4613f29cef5
13,087
cpp
C++
fileAudioEncoder.cpp
rzumer/BeatFinder
ef1c4e9f48c8524d0980d650d58e66ec75afa13a
[ "MIT" ]
5
2019-02-18T01:17:27.000Z
2020-02-17T01:50:11.000Z
fileAudioEncoder.cpp
rzumer/BeatFinder
ef1c4e9f48c8524d0980d650d58e66ec75afa13a
[ "MIT" ]
null
null
null
fileAudioEncoder.cpp
rzumer/BeatFinder
ef1c4e9f48c8524d0980d650d58e66ec75afa13a
[ "MIT" ]
1
2019-02-22T01:32:20.000Z
2019-02-22T01:32:20.000Z
#pragma comment (lib, "avfilter.lib") #pragma comment (lib, "avformat.lib") #pragma comment (lib, "avcodec.lib") #pragma comment (lib, "avutil.lib") #include "fileAudioEncoder.h"; using namespace std; void fileAudioEncoder::cleanUp() { if (this->codecContext) { avcodec_close(this->codecContext); avcodec_free_c...
25.41165
124
0.693818
rzumer
46b43bc1bab7a5347fc5971471ee38be4705587b
1,072
cc
C++
Fireworks/Core/src/FWParameterizable.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-24T19:10:26.000Z
2019-02-19T11:45:32.000Z
Fireworks/Core/src/FWParameterizable.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
3
2018-08-23T13:40:24.000Z
2019-12-05T21:16:03.000Z
Fireworks/Core/src/FWParameterizable.cc
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
5
2018-08-21T16:37:52.000Z
2020-01-09T13:33:17.000Z
// -*- C++ -*- // // Package: Core // Class : FWParameterizable // // Implementation: // <Notes on implementation> // // Original Author: Chris Jones // Created: Sat Feb 23 13:36:27 EST 2008 // // system include files // user include files #include "Fireworks/Core/interface/FWParameterizable.h"...
15.098592
86
0.66791
nistefan
46b5d3784f9e433cd01c0fbe1309174e2bf29a04
2,093
cc
C++
src/ui/scenic/lib/gfx/tests/has_renderable_content_visitor_unittest.cc
casey/fuchsia
2b965e9a1e8f2ea346db540f3611a5be16bb4d6b
[ "BSD-3-Clause" ]
14
2020-10-25T05:48:36.000Z
2021-09-20T02:46:20.000Z
src/ui/scenic/lib/gfx/tests/has_renderable_content_visitor_unittest.cc
DamieFC/fuchsia
f78a4a1326f4a4bb5834500918756173c01bab4f
[ "BSD-2-Clause" ]
1
2022-01-14T23:38:40.000Z
2022-01-14T23:38:40.000Z
src/ui/scenic/lib/gfx/tests/has_renderable_content_visitor_unittest.cc
DamieFC/fuchsia
f78a4a1326f4a4bb5834500918756173c01bab4f
[ "BSD-2-Clause" ]
4
2020-12-28T17:04:45.000Z
2022-03-12T03:20:44.000Z
// Copyright 2020 The Fuchsia 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 "src/ui/scenic/lib/gfx/resources/has_renderable_content_visitor.h" #include <lib/ui/scenic/cpp/commands.h> #include <gtest/gtest.h> #include "s...
40.25
98
0.731964
casey
46bf4a0966c2e91a134128a667d39e6c9919746f
8,978
cpp
C++
src/terark/io/MemStream.cpp
rockeet/terark-zip
3235373d04b7cf5d584259111b3a057c45cc1708
[ "BSD-3-Clause" ]
44
2020-12-21T05:14:38.000Z
2022-03-15T11:27:32.000Z
src/terark/io/MemStream.cpp
rockeet/terark-zip
3235373d04b7cf5d584259111b3a057c45cc1708
[ "BSD-3-Clause" ]
2
2020-12-28T10:42:03.000Z
2021-05-21T07:22:47.000Z
src/terark/io/MemStream.cpp
rockeet/terark-zip
3235373d04b7cf5d584259111b3a057c45cc1708
[ "BSD-3-Clause" ]
21
2020-12-22T09:40:16.000Z
2021-12-07T18:16:00.000Z
/* vim: set tabstop=4 : */ #include "MemStream.hpp" #include <stdlib.h> #include <algorithm> #include <stdexcept> #include <typeinfo> #include <errno.h> #if defined(_MSC_VER) # include <intrin.h> #pragma intrinsic(_BitScanReverse) //#pragma intrinsic(_BitScanReverse64) #endif #include <boost/predef/other/endian.h> #...
21.124706
102
0.631989
rockeet
46c1b7bcb666e58c1852e1291d3dcfb7d7afb797
5,706
cpp
C++
BlueBerry/Bundles/org.blueberry.core.expressions/src/internal/berryTestExpression.cpp
danielknorr/MITK
b1b9780b2a6671d8118313c5ef71e9aa128362be
[ "BSD-3-Clause" ]
1
2017-03-05T05:29:32.000Z
2017-03-05T05:29:32.000Z
BlueBerry/Bundles/org.blueberry.core.expressions/src/internal/berryTestExpression.cpp
danielknorr/MITK
b1b9780b2a6671d8118313c5ef71e9aa128362be
[ "BSD-3-Clause" ]
null
null
null
BlueBerry/Bundles/org.blueberry.core.expressions/src/internal/berryTestExpression.cpp
danielknorr/MITK
b1b9780b2a6671d8118313c5ef71e9aa128362be
[ "BSD-3-Clause" ]
2
2020-10-27T06:51:00.000Z
2020-10-27T06:51:01.000Z
/*=================================================================== BlueBerry Platform Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS...
30.190476
184
0.695233
danielknorr
46c7a76985f5d3f9668922bd594d87318ead7fe1
1,040
cpp
C++
AtCoder/abc161/E.cpp
noobie7/Codes
4d8265f4b7042bd7e8c0e0402d417c7e160ae6d4
[ "MIT" ]
2
2021-09-14T15:57:24.000Z
2022-03-18T14:11:04.000Z
AtCoder/abc161/E.cpp
noobie7/Codes
4d8265f4b7042bd7e8c0e0402d417c7e160ae6d4
[ "MIT" ]
null
null
null
AtCoder/abc161/E.cpp
noobie7/Codes
4d8265f4b7042bd7e8c0e0402d417c7e160ae6d4
[ "MIT" ]
null
null
null
/* "Do I really belong in this game I ponder, I just wanna play my part." - Guts over fear, Eminem */ #pragma GCC optimize ("O3") #pragma GCC target ("sse4") #include<bits/stdc++.h> using namespace std; typedef long long int ll; #define ff first #define Shazam ios_base::sync_with_stdio(false); cin.tie(NULL); cout.ti...
29.714286
81
0.575962
noobie7
46ca9a317c482ebdc784219d9ead089b15fdd056
8,788
cpp
C++
test/src/tc/pm/gtest/cpp/src/helper/PMCppUtilityHelper.cpp
jonghenhan/iotivity
7dfc2bc6a5c0506cf88bc23e88e38fe1b795da31
[ "Apache-2.0" ]
301
2015-01-20T16:11:32.000Z
2021-11-25T04:29:36.000Z
test/src/tc/pm/gtest/cpp/src/helper/PMCppUtilityHelper.cpp
jonghenhan/iotivity
7dfc2bc6a5c0506cf88bc23e88e38fe1b795da31
[ "Apache-2.0" ]
13
2015-06-04T09:55:15.000Z
2020-09-23T00:38:07.000Z
test/src/tc/pm/gtest/cpp/src/helper/PMCppUtilityHelper.cpp
jonghenhan/iotivity
7dfc2bc6a5c0506cf88bc23e88e38fe1b795da31
[ "Apache-2.0" ]
233
2015-01-26T03:41:59.000Z
2022-03-18T23:54:04.000Z
/****************************************************************** * * Copyright 2016 Samsung Electronics 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 * ...
27.20743
98
0.612995
jonghenhan
46cdd8004bd7e3f2911eb9073495f88913ee36c7
2,051
cpp
C++
LeetCode/Hash/LongestSubstringWithoutRepeatingCharacters_f.cpp
a4org/Angorithm4
d2227d36608491bed270375bcea67fbde134209a
[ "MIT" ]
3
2021-07-26T15:58:45.000Z
2021-09-08T14:55:11.000Z
LeetCode/Hash/LongestSubstringWithoutRepeatingCharacters_f.cpp
a4org/Angorithm4
d2227d36608491bed270375bcea67fbde134209a
[ "MIT" ]
null
null
null
LeetCode/Hash/LongestSubstringWithoutRepeatingCharacters_f.cpp
a4org/Angorithm4
d2227d36608491bed270375bcea67fbde134209a
[ "MIT" ]
2
2021-05-31T11:27:59.000Z
2021-10-03T13:26:00.000Z
/* * LeetCode 3 Longest Substring Without Repeating Characters * Medium * Shuo Feng * 2021.9.15 */ /* * Solution 1: * Begin with a starting point and check characters after, update a set and record the maximum size. * When meet a repeating character, remove the previous point in set till there have not re...
32.046875
130
0.387128
a4org
46cf676f19bb9b2850daf5c31dd6fa692a4b68ff
2,789
cpp
C++
sources/Page.cpp
khsabrina/notebook-b
5ab09040f7b3658314239148a54a45747a918b22
[ "MIT" ]
null
null
null
sources/Page.cpp
khsabrina/notebook-b
5ab09040f7b3658314239148a54a45747a918b22
[ "MIT" ]
null
null
null
sources/Page.cpp
khsabrina/notebook-b
5ab09040f7b3658314239148a54a45747a918b22
[ "MIT" ]
null
null
null
#include "Row.hpp" #include "Page.hpp" using namespace std; #include <iostream> #include <iterator> #include <map> const int LENGHT_ROW=100; Page::Page(){ } void Page::add(int col,int row,Direction dir, string str){ if(dir == Direction::Horizontal){ int size = str.size(); if (col + size > LENGHT_RO...
24.901786
64
0.453926
khsabrina
46d4d4e5eb5f615fc8966b8330dc7b0a6e138afc
130
cpp
C++
src/CMake/Testftimeprototype.cpp
visit-dav/vis
c08bc6e538ecd7d30ddc6399ec3022b9e062127e
[ "BSD-3-Clause" ]
226
2018-12-29T01:13:49.000Z
2022-03-30T19:16:31.000Z
src/CMake/Testftimeprototype.cpp
visit-dav/vis
c08bc6e538ecd7d30ddc6399ec3022b9e062127e
[ "BSD-3-Clause" ]
5,100
2019-01-14T18:19:25.000Z
2022-03-31T23:08:36.000Z
src/CMake/Testftimeprototype.cpp
visit-dav/vis
c08bc6e538ecd7d30ddc6399ec3022b9e062127e
[ "BSD-3-Clause" ]
84
2019-01-24T17:41:50.000Z
2022-03-10T10:01:46.000Z
#include <sys/time.h> #include <sys/timeb.h> int main(int argc, char *argv[]) { struct timeb *tp; ftime(tp); return 0; }
13
32
0.615385
visit-dav
46d53436f721cfb55f85f51e483ddd0174db7856
3,866
cpp
C++
src/desktop/panes/fspane.cpp
KDE/kookbook
522ca12ebdf386cd3ca52d03fbf1b022c9e5e1b9
[ "MIT" ]
8
2018-12-18T20:49:56.000Z
2022-01-11T07:40:56.000Z
src/desktop/panes/fspane.cpp
KDE/kookbook
522ca12ebdf386cd3ca52d03fbf1b022c9e5e1b9
[ "MIT" ]
null
null
null
src/desktop/panes/fspane.cpp
KDE/kookbook
522ca12ebdf386cd3ca52d03fbf1b022c9e5e1b9
[ "MIT" ]
2
2019-02-18T17:08:49.000Z
2020-10-08T06:01:03.000Z
/* * Copyright (c) 2018 Sune Vuorela <sune@vuorela.dk> * * 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, ...
31.430894
87
0.685722
KDE
46d9f66e3002849d353f2a3c08eb1ff530d8bd2a
334
hpp
C++
include/Btk/impl/mixer.hpp
BusyStudent/Btk
27b23aa77e4fbcc48bdfe566ce7cae46183c289c
[ "MIT" ]
2
2021-06-19T08:21:38.000Z
2021-08-15T21:37:30.000Z
include/Btk/impl/mixer.hpp
BusyStudent/Btk
27b23aa77e4fbcc48bdfe566ce7cae46183c289c
[ "MIT" ]
null
null
null
include/Btk/impl/mixer.hpp
BusyStudent/Btk
27b23aa77e4fbcc48bdfe566ce7cae46183c289c
[ "MIT" ]
1
2021-04-03T14:27:39.000Z
2021-04-03T14:27:39.000Z
#if !defined(_BTK_IMPL_MIXER) #define _BTK_IMPL_MIXER //Implment for mixer #include <SDL2/SDL_audio.h> #include <SDL2/SDL_error.h> #include <SDL2/SDL_rwops.h> #include "../mixer.hpp" #include "../rwops.hpp" #include "../function.hpp" #include "atomic.hpp" #include <vector> #include <mutex> #include <list> #endif // _B...
20.875
29
0.730539
BusyStudent
46da70a73467334640434461461fe89eaf2ba08b
5,631
cc
C++
apps/rwh/arguments.cc
OSADP/Pikalert-Vehicle-Data-Translator-
295da604408f6f13af0301b55476a81311459386
[ "Apache-2.0" ]
2
2020-06-03T15:59:50.000Z
2020-12-21T11:11:57.000Z
apps/rwh/arguments.cc
OSADP/Pikalert-Vehicle-Data-Translator-
295da604408f6f13af0301b55476a81311459386
[ "Apache-2.0" ]
null
null
null
apps/rwh/arguments.cc
OSADP/Pikalert-Vehicle-Data-Translator-
295da604408f6f13af0301b55476a81311459386
[ "Apache-2.0" ]
2
2019-10-02T06:47:23.000Z
2020-02-02T18:32:23.000Z
//============================================================================== // // (c) Copyright, 2013 University Corporation for Atmospheric Research (UCAR). // All rights reserved. // // File: $RCSfile: arguments.cc,v $ // Version: $Revision: 1.2 $ Dated: $Date: 2013/09/27 16:47:01 $ // //===...
28.439394
317
0.618007
OSADP
46e75db4cb5af3abca61418168d8641ca99693c5
285
cpp
C++
chapter_2/section_x/io.cpp
martindes01/learncpp
50c500b0cf03c9520eab0a6bdeb4556da7d13bbf
[ "MIT" ]
4
2020-08-03T15:00:00.000Z
2022-01-08T20:22:55.000Z
chapter_2/section_x/io.cpp
martindes01/learncpp
50c500b0cf03c9520eab0a6bdeb4556da7d13bbf
[ "MIT" ]
null
null
null
chapter_2/section_x/io.cpp
martindes01/learncpp
50c500b0cf03c9520eab0a6bdeb4556da7d13bbf
[ "MIT" ]
null
null
null
// Include custom headers #include "io.h" // Include standard library headers #include <iostream> int readNumber() { std::cout << "Enter an integer: "; int x{ }; std::cin >> x; return x; } void writeAnswer(int answer) { std::cout << "The answer is " << answer << '\n'; }
14.25
50
0.614035
martindes01
46ef9733080898aed1ced4a6f987e79f1a761388
3,766
cpp
C++
src/network/socket.cpp
leezhenghui/Mushroom
8aed2bdd80453d856145925d067bef5ed9d10ee0
[ "BSD-3-Clause" ]
351
2016-10-12T14:06:09.000Z
2022-03-24T14:53:54.000Z
src/network/socket.cpp
leezhenghui/Mushroom
8aed2bdd80453d856145925d067bef5ed9d10ee0
[ "BSD-3-Clause" ]
7
2017-03-07T01:49:16.000Z
2018-07-27T08:51:54.000Z
src/network/socket.cpp
UncP/Mushroom
8aed2bdd80453d856145925d067bef5ed9d10ee0
[ "BSD-3-Clause" ]
62
2016-10-31T12:46:45.000Z
2021-12-28T11:25:26.000Z
/** * > Author: UncP * > Github: www.github.com/UncP/Mushroom * > License: BSD-3 * > Time: 2017-04-23 10:23:53 **/ #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <unistd.h> #include <fcntl.h> #include <cstring> #include <cassert> #include <cerrno> #includ...
20.467391
78
0.648168
leezhenghui
46f35ad0d1bfa320692ae6d13de0007a229878f3
130
cpp
C++
nano/src/nano/nano.cpp
lyLoveSharon/nano
aa768a241a4ea282f83ccd088561a5eefd59d342
[ "Apache-2.0" ]
null
null
null
nano/src/nano/nano.cpp
lyLoveSharon/nano
aa768a241a4ea282f83ccd088561a5eefd59d342
[ "Apache-2.0" ]
null
null
null
nano/src/nano/nano.cpp
lyLoveSharon/nano
aa768a241a4ea282f83ccd088561a5eefd59d342
[ "Apache-2.0" ]
null
null
null
#include "nano/nano.h" const char *nano_version() { return "0.0.1"; } const char *nano_module_name() { return "nano"; }
10.833333
30
0.623077
lyLoveSharon
46f7ea9131f1e0f8f0ac7885da9e48173eabfb30
1,208
cpp
C++
ModeChoice/Household_List.cpp
kravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
2
2018-04-27T11:07:02.000Z
2020-04-24T06:53:21.000Z
ModeChoice/Household_List.cpp
idkravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
null
null
null
ModeChoice/Household_List.cpp
idkravitz/transims4
ea0848bf3dc71440d54724bb3ecba3947b982215
[ "NASA-1.3" ]
null
null
null
//********************************************************* // Household_List.cpp - read the household list file //********************************************************* #include "ModeChoice.hpp" #include "Utility.hpp" //--------------------------------------------------------- // Household_List //---------------...
24.16
96
0.508278
kravitz
46fb1480e4ec109476ab56bb8b7429d68d7b3a9d
2,824
cpp
C++
examples/basin.cpp
danielelinaro/BAL
d735048d9962a0c424c29db93f774494c67b12a9
[ "MIT" ]
1
2020-02-02T22:30:37.000Z
2020-02-02T22:30:37.000Z
examples/basin.cpp
danielelinaro/BAL
d735048d9962a0c424c29db93f774494c67b12a9
[ "MIT" ]
null
null
null
examples/basin.cpp
danielelinaro/BAL
d735048d9962a0c424c29db93f774494c67b12a9
[ "MIT" ]
null
null
null
/*========================================================================= * * Program: Bifurcation Analysis Library * Module: basin.cpp * * Copyright (C) 2009 Daniele Linaro * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public L...
31.377778
82
0.621459
danielelinaro
46fbdb4f601bffcca5874cf6df7c961fe59c9af8
1,342
cc
C++
packager/media/base/proto_json_util.cc
koln67/shaka-packager
5b9fd409a5de502e8af2e46ee12840bd2226874d
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1,288
2016-05-25T01:20:31.000Z
2022-03-02T23:56:56.000Z
packager/media/base/proto_json_util.cc
koln67/shaka-packager
5b9fd409a5de502e8af2e46ee12840bd2226874d
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
894
2016-05-17T00:39:30.000Z
2022-03-02T18:46:21.000Z
packager/media/base/proto_json_util.cc
koln67/shaka-packager
5b9fd409a5de502e8af2e46ee12840bd2226874d
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
400
2016-05-25T01:20:35.000Z
2022-03-03T02:12:00.000Z
// Copyright 2018 Google LLC. All rights reserved. // // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file or at // https://developers.google.com/open-source/licenses/bsd #include "packager/media/base/proto_json_util.h" #include <google/protobuf/util/json_util.h> #in...
31.209302
80
0.68927
koln67
46fc87995f5fde8b171405aa8a3901dc788264c8
1,186
cpp
C++
SRC/2018ICPC/Web_XuZhou/H.cpp
YouDad/ACM
ac26e0b360267943af32692629d6c34e739ee70d
[ "MIT" ]
2
2018-07-27T08:09:48.000Z
2018-09-26T16:36:37.000Z
SRC/2018ICPC/Web_XuZhou/H.cpp
YouDad/ACM
ac26e0b360267943af32692629d6c34e739ee70d
[ "MIT" ]
null
null
null
SRC/2018ICPC/Web_XuZhou/H.cpp
YouDad/ACM
ac26e0b360267943af32692629d6c34e739ee70d
[ "MIT" ]
null
null
null
// https://nanti.jisuanke.com/t/31460 #include<stdio.h> #include<string.h> typedef long long ll; const int maxn=100005; ll arr[(1<<18)+2],iarr[(1<<18)+2],M; void update(ll*a,int x,ll val){ for(a[x+=M]=val,x/=2;x;x/=2) a[x]=a[2*x]+a[2*x+1]; } ll query(ll*a,int l,int r){ ll ans=0; for(l+=M-1,r+=M+1;l^...
25.782609
49
0.436762
YouDad
46fd94f34eb507d75cdb0864c86d48bb91ffe0fc
1,936
cc
C++
app/oxs/base/lock.cc
ViennaNovoFlop/ViennaNovoFlop-dev
f8c4d6c06590a0d9a3890d81e9b0b4dcb7ea9e00
[ "TCL", "SWL", "MIT", "X11", "BSD-3-Clause" ]
null
null
null
app/oxs/base/lock.cc
ViennaNovoFlop/ViennaNovoFlop-dev
f8c4d6c06590a0d9a3890d81e9b0b4dcb7ea9e00
[ "TCL", "SWL", "MIT", "X11", "BSD-3-Clause" ]
null
null
null
app/oxs/base/lock.cc
ViennaNovoFlop/ViennaNovoFlop-dev
f8c4d6c06590a0d9a3890d81e9b0b4dcb7ea9e00
[ "TCL", "SWL", "MIT", "X11", "BSD-3-Clause" ]
null
null
null
/* FILE: lock.cc -*-Mode: c++-*- * * Data structure locking class * */ #include "oc.h" #include "lock.h" #include "oxsexcept.h" OC_USE_STD_NAMESPACE; // Specify std namespace, if supported /* End includes */ OC_UINT4m Oxs_Lock::id_count=0; Oxs_Lock::~Oxs_Lock() { if(write_lock>0) OXS_THR...
19.555556
71
0.658058
ViennaNovoFlop
46fe7414e6a5c9bc077c601133632078f87b21aa
6,197
cc
C++
libsrc/pylith/faults/FaultCohesiveTract.cc
joegeisz/pylith
f74060b7b19d7e90abf8597bbe9250c96593c0ad
[ "MIT" ]
1
2021-01-20T17:18:28.000Z
2021-01-20T17:18:28.000Z
libsrc/pylith/faults/FaultCohesiveTract.cc
joegeisz/pylith
f74060b7b19d7e90abf8597bbe9250c96593c0ad
[ "MIT" ]
null
null
null
libsrc/pylith/faults/FaultCohesiveTract.cc
joegeisz/pylith
f74060b7b19d7e90abf8597bbe9250c96593c0ad
[ "MIT" ]
null
null
null
// -*- 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://...
34.237569
99
0.619977
joegeisz
46ffcc9c9c990a00d3ce0571090b9f9ef3d5f5e1
507
cpp
C++
p205/p205.cpp
suzyz/leetcode_practice
e22dc5a81e065dc962e5561b14ac84b9a2302e8a
[ "MIT" ]
1
2019-10-07T05:00:21.000Z
2019-10-07T05:00:21.000Z
p205/p205.cpp
suzyz/leetcode_practice
e22dc5a81e065dc962e5561b14ac84b9a2302e8a
[ "MIT" ]
null
null
null
p205/p205.cpp
suzyz/leetcode_practice
e22dc5a81e065dc962e5561b14ac84b9a2302e8a
[ "MIT" ]
null
null
null
class Solution { public: bool isIsomorphic(string s, string t) { if (s.length() != t.length()) return false; int n = s.length(); vector<char> from(260,'#'),to(260,'#'); for (int i = 0; i < n; ++i) { if (from[t[i]] == '#' && to[s[i]] == '#') { f...
22.043478
52
0.368836
suzyz
2000447c0fe485a0d3201f67bb26167f3660ef5a
1,036
cpp
C++
platform/android/src/geojson/point.cpp
mueschm/mapbox-gl-native
b07db0f8d01f855dcd336aa1baabde94c5c1740d
[ "BSL-1.0", "Apache-2.0" ]
316
2021-02-05T10:34:35.000Z
2022-03-23T21:58:39.000Z
platform/android/src/geojson/point.cpp
mueschm/mapbox-gl-native
b07db0f8d01f855dcd336aa1baabde94c5c1740d
[ "BSL-1.0", "Apache-2.0" ]
187
2021-02-11T10:39:30.000Z
2022-03-31T21:59:47.000Z
platform/android/src/geojson/point.cpp
mueschm/mapbox-gl-native
b07db0f8d01f855dcd336aa1baabde94c5c1740d
[ "BSL-1.0", "Apache-2.0" ]
93
2021-02-04T09:39:14.000Z
2022-03-31T04:03:56.000Z
#include "point.hpp" namespace mbgl { namespace android { namespace geojson { jni::Local<jni::Object<Point>> Point::New(jni::JNIEnv& env, const mbgl::Point<double>& point) { static auto& javaClass = jni::Class<Point>::Singleton(env); static auto method = javaClass.GetStaticMethod<jni::Object<Point> (jni::jdou...
29.6
119
0.666023
mueschm
200102719300a9f6475e961079b2674f4ca4c645
781
cpp
C++
c/tests/max_points_on_a_line_test.cpp
qianbinbin/leetcode
915cecab0c940cd13847683ec55b17b77eb0f39b
[ "MIT" ]
4
2018-03-05T02:27:16.000Z
2021-03-15T14:19:44.000Z
c/tests/max_points_on_a_line_test.cpp
qianbinbin/leetcode
915cecab0c940cd13847683ec55b17b77eb0f39b
[ "MIT" ]
null
null
null
c/tests/max_points_on_a_line_test.cpp
qianbinbin/leetcode
915cecab0c940cd13847683ec55b17b77eb0f39b
[ "MIT" ]
2
2018-07-22T10:32:10.000Z
2018-10-20T03:14:28.000Z
#include <gtest/gtest.h> extern "C" { #include "max_points_on_a_line.h" } #define ARR_SIZE(a) (sizeof(a) / sizeof((a)[0])) typedef struct Point point; static point point_create(int x, int y) { point p; p.x = x; p.y = y; return p; } TEST(max_points_on_a_line_test, maxPoints_149_1) { point points...
21.694444
62
0.568502
qianbinbin
20018b19d78840a26a6af63ad75e218a8eba73cd
5,266
cc
C++
third_party/blink/renderer/modules/mediastream/input_device_info.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
third_party/blink/renderer/modules/mediastream/input_device_info.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
third_party/blink/renderer/modules/mediastream/input_device_info.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.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 "third_party/blink/renderer/modules/mediastream/input_device_info.h" #include <algorithm> #include "third_party/blink/renderer/modules/mediastre...
38.720588
84
0.701101
zipated
2002db0faa04c7cbb83a2d9acf6bcb78b4a028bd
2,966
cpp
C++
06-class-design/readerEx.06.06/main.cpp
heavy3/programming-abstractions
e10eab5fe7d9ca7d7d4cc96551524707214e43a8
[ "MIT" ]
81
2018-11-15T21:23:19.000Z
2022-03-06T09:46:36.000Z
06-class-design/readerEx.06.06/main.cpp
heavy3/programming-abstractions
e10eab5fe7d9ca7d7d4cc96551524707214e43a8
[ "MIT" ]
null
null
null
06-class-design/readerEx.06.06/main.cpp
heavy3/programming-abstractions
e10eab5fe7d9ca7d7d4cc96551524707214e43a8
[ "MIT" ]
41
2018-11-15T21:23:24.000Z
2022-02-24T03:02:26.000Z
// TODO: FIX ME! Does not handle delta between dates correctly. // // main.cpp // // This program exercises the Calendar interface exported in calendar.h. // // -------------------------------------------------------------------------- // Attribution: "Programming Abstractions in C++" by Eric Roberts // Chapter 6, Exe...
31.892473
91
0.50472
heavy3
200ad447b6ce9a7cbfba11e1533a560bb8b364fc
8,702
cpp
C++
Geometry/Geomlib_TriMeshPlaneIntersection.cpp
elix22/IogramSource
3a4ce55d94920e060776b4aa4db710f57a4280bc
[ "MIT" ]
28
2017-03-01T04:09:18.000Z
2022-02-01T13:33:50.000Z
Geometry/Geomlib_TriMeshPlaneIntersection.cpp
elix22/IogramSource
3a4ce55d94920e060776b4aa4db710f57a4280bc
[ "MIT" ]
3
2017-03-09T05:22:49.000Z
2017-08-02T18:38:05.000Z
Geometry/Geomlib_TriMeshPlaneIntersection.cpp
elix22/IogramSource
3a4ce55d94920e060776b4aa4db710f57a4280bc
[ "MIT" ]
17
2017-03-01T14:00:01.000Z
2022-02-08T06:36:54.000Z
// // Copyright (c) 2016 - 2017 Mesh Consultants Inc. // 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, mod...
25.976119
137
0.688348
elix22
200ae272cc1adb37009bf64dc648c03075bdad2c
8,195
cpp
C++
src/rotoSolver/fileUtils.cpp
vinben/Rotopp
f0c25db5bd25074c55ff0f67539a2452d92aaf72
[ "Unlicense" ]
47
2016-07-27T07:22:06.000Z
2021-08-17T13:08:19.000Z
src/rotoSolver/fileUtils.cpp
vinben/Rotopp
f0c25db5bd25074c55ff0f67539a2452d92aaf72
[ "Unlicense" ]
1
2016-09-24T06:04:39.000Z
2016-09-25T10:34:19.000Z
src/rotoSolver/fileUtils.cpp
vinben/Rotopp
f0c25db5bd25074c55ff0f67539a2452d92aaf72
[ "Unlicense" ]
13
2016-07-27T10:44:35.000Z
2020-07-01T21:08:33.000Z
/************************************************************************** ** This file is a part of our work (Siggraph'16 paper, binary, code and dataset): ** ** Roto++: Accelerating Professional Rotoscoping using Shape Manifolds ** Wenbin Li, Fabio Viola, Jonathan Starck, Gabriel J. Brostow and Neill D.F. Campbell *...
25.29321
104
0.587065
vinben
200aeed19c847f9e7f6959f2f19a9af7eee99f9e
2,251
cpp
C++
questions/68721681/app/main.cpp
xGreat/stackoverflow
b9a404a5c93eb764dc58a57484d7b86dc5016579
[ "MIT" ]
302
2017-03-04T00:05:23.000Z
2022-03-28T22:51:29.000Z
questions/68721681/app/main.cpp
xGreat/stackoverflow
b9a404a5c93eb764dc58a57484d7b86dc5016579
[ "MIT" ]
30
2017-12-02T19:26:43.000Z
2022-03-28T07:40:36.000Z
questions/68721681/app/main.cpp
xGreat/stackoverflow
b9a404a5c93eb764dc58a57484d7b86dc5016579
[ "MIT" ]
388
2017-07-04T16:53:12.000Z
2022-03-18T22:20:19.000Z
#include "foointerface.h" #include <QDir> #include <QGuiApplication> #include <QPluginLoader> #include <QQmlApplicationEngine> #include <QTimer> #include <QTranslator> int main(int argc, char *argv[]) { #if QT_VERSION < QT_VERSION_CHECK(6, 0, 0) QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling); #endif...
30.013333
97
0.646379
xGreat
200d9fcf6cacbb73137ca211017c7b3b49bc9990
54,260
inl
C++
Code/Engine/Foundation/Basics/Platform/Android/AndroidJni.inl
Tekh-ops/ezEngine
d6a5887d8709f267bf8f2943ef15054e29f6d3d5
[ "MIT" ]
703
2015-03-07T15:30:40.000Z
2022-03-30T00:12:40.000Z
Code/Engine/Foundation/Basics/Platform/Android/AndroidJni.inl
Tekh-ops/ezEngine
d6a5887d8709f267bf8f2943ef15054e29f6d3d5
[ "MIT" ]
233
2015-01-11T16:54:32.000Z
2022-03-19T18:00:47.000Z
Code/Engine/Foundation/Basics/Platform/Android/AndroidJni.inl
Tekh-ops/ezEngine
d6a5887d8709f267bf8f2943ef15054e29f6d3d5
[ "MIT" ]
101
2016-10-28T14:05:10.000Z
2022-03-30T19:00:59.000Z
struct ezJniModifiers { enum Enum { PUBLIC = 1, PRIVATE = 2, PROTECTED = 4, STATIC = 8, FINAL = 16, SYNCHRONIZED = 32, VOLATILE = 64, TRANSIENT = 128, NATIVE = 256, INTERFACE = 512, ABSTRACT = 1024, STRICT = 2048, }; }; ezJniObject::ezJniObject(jobject object, ezJn...
29.298056
285
0.729414
Tekh-ops
201039418cb79f69a96c443540e3dd27e909876a
3,458
cpp
C++
source/LibFgBase/src/FgSerial.cpp
SingularInversions/FaceGenBaseLibrary
e928b482fa78597cfcf3923f7252f7902ec0dfa9
[ "MIT" ]
41
2016-04-09T07:48:10.000Z
2022-03-01T15:46:08.000Z
source/LibFgBase/src/FgSerial.cpp
SingularInversions/FaceGenBaseLibrary
e928b482fa78597cfcf3923f7252f7902ec0dfa9
[ "MIT" ]
9
2015-09-23T10:54:50.000Z
2020-01-04T21:16:57.000Z
source/LibFgBase/src/FgSerial.cpp
SingularInversions/FaceGenBaseLibrary
e928b482fa78597cfcf3923f7252f7902ec0dfa9
[ "MIT" ]
29
2015-10-01T14:44:42.000Z
2022-01-05T01:28:43.000Z
// // Coypright (c) 2021 Singular Inversions Inc. (facegen.com) // Use, modification and distribution is subject to the MIT License, // see accompanying file LICENSE.txt or facegen.com/base_library_license.txt // #include "stdafx.h" #include "FgSerial.hpp" #include "FgCommand.hpp" using namespace std; ...
21.214724
79
0.484095
SingularInversions
2010aeff4c31c302980dd1eb4e0e5ecc25b2f041
3,544
hpp
C++
include/strict_variant/variant_storage.hpp
reuk/strict-variant
7d0f1433d5126951b1af350213a0c7e75575fab0
[ "BSL-1.0" ]
62
2016-08-02T05:15:16.000Z
2020-02-14T18:02:34.000Z
include/strict_variant/variant_storage.hpp
reuk/strict-variant
7d0f1433d5126951b1af350213a0c7e75575fab0
[ "BSL-1.0" ]
6
2016-12-07T03:00:46.000Z
2018-12-03T22:03:27.000Z
include/strict_variant/variant_storage.hpp
reuk/strict-variant
7d0f1433d5126951b1af350213a0c7e75575fab0
[ "BSL-1.0" ]
6
2016-12-10T18:59:18.000Z
2019-11-05T08:11:11.000Z
// (C) Copyright 2016 - 2018 Christopher Beck // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt) #pragma once #include <new> #include <strict_variant/mpl/max.hpp> #include <strict_variant/mpl/typelist.hpp> #include <stri...
30.033898
86
0.696106
reuk
2011bd7f6599a1e61221fc4920e97ecc36e522d7
25,689
cc
C++
zircon/system/fidl/fuchsia-blobfs/gen/llcpp/fidl.cc
opensource-assist/fuschia
66646c55b3d0b36aae90a4b6706b87f1a6261935
[ "BSD-3-Clause" ]
null
null
null
zircon/system/fidl/fuchsia-blobfs/gen/llcpp/fidl.cc
opensource-assist/fuschia
66646c55b3d0b36aae90a4b6706b87f1a6261935
[ "BSD-3-Clause" ]
null
null
null
zircon/system/fidl/fuchsia-blobfs/gen/llcpp/fidl.cc
opensource-assist/fuschia
66646c55b3d0b36aae90a4b6706b87f1a6261935
[ "BSD-3-Clause" ]
null
null
null
// WARNING: This file is machine generated by fidlgen. #include <fuchsia/blobfs/llcpp/fidl.h> #include <memory> namespace llcpp { namespace fuchsia { namespace blobfs { namespace { [[maybe_unused]] constexpr uint64_t kCorruptBlobHandler_CorruptBlob_Ordinal = 0x432ee88e00000000lu; [[maybe_unused]] constexpr uint64_...
50.668639
258
0.774767
opensource-assist
2015aff915e56298a3280bbb6ab5fdeccd658cd5
5,772
cxx
C++
main/sd/source/ui/view/sdruler.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/sd/source/ui/view/sdruler.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/sd/source/ui/view/sdruler.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.000Z
/************************************************************** * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to y...
25.883408
145
0.495669
Grosskopf
2016fc451b4a8820fea9720af0f7d82da85c557c
6,850
cpp
C++
src/render/OGLES1_0/CShaderProgramOGLES1_0.cpp
opengamejam/OpenJam
565dd19fa7f1a727966b4274b810424e5395600b
[ "MIT" ]
4
2015-08-13T08:25:36.000Z
2017-04-07T21:33:10.000Z
src/render/OGLES1_0/CShaderProgramOGLES1_0.cpp
opengamejam/OpenJam
565dd19fa7f1a727966b4274b810424e5395600b
[ "MIT" ]
null
null
null
src/render/OGLES1_0/CShaderProgramOGLES1_0.cpp
opengamejam/OpenJam
565dd19fa7f1a727966b4274b810424e5395600b
[ "MIT" ]
null
null
null
// // CShaderProgramOGLES1_0.h // OpenJam // // Created by Yevgeniy Logachev // Copyright (c) 2014 yev. All rights reserved. // #if defined(RENDER_OGLES1_0) #include "CShaderProgramOGLES1_0.h" using namespace jam; // ***************************************************************************** // Constants // **...
24.035088
106
0.643212
opengamejam
2017699eeb176419aca9a82faff09c4c27796912
38,496
cpp
C++
build/linux-build/Sources/src/zpp_nape/util/ZNPList_ZPP_CutVert.cpp
HedgehogFog/TimeOfDeath
b78abacf940e1a88c8b987d99764ebb6876c5dc6
[ "MIT" ]
null
null
null
build/linux-build/Sources/src/zpp_nape/util/ZNPList_ZPP_CutVert.cpp
HedgehogFog/TimeOfDeath
b78abacf940e1a88c8b987d99764ebb6876c5dc6
[ "MIT" ]
null
null
null
build/linux-build/Sources/src/zpp_nape/util/ZNPList_ZPP_CutVert.cpp
HedgehogFog/TimeOfDeath
b78abacf940e1a88c8b987d99764ebb6876c5dc6
[ "MIT" ]
null
null
null
// Generated by Haxe 4.0.0-preview.5 #include <hxcpp.h> #ifndef INCLUDED_zpp_nape_geom_ZPP_CutVert #include <hxinc/zpp_nape/geom/ZPP_CutVert.h> #endif #ifndef INCLUDED_zpp_nape_util_ZNPList_ZPP_CutVert #include <hxinc/zpp_nape/util/ZNPList_ZPP_CutVert.h> #endif #ifndef INCLUDED_zpp_nape_util_ZNPNode_ZPP_CutVert #inclu...
42.164294
234
0.699891
HedgehogFog
2017a1208d51761c56fe70dcbfeb96ec5d0085d4
7,961
hpp
C++
src/utilities/OStream/multiOStream.hpp
lhb8125/unstructure_frame_home_0218
e543850413879f120ce68d2c786002b166a62fe5
[ "Apache-2.0" ]
null
null
null
src/utilities/OStream/multiOStream.hpp
lhb8125/unstructure_frame_home_0218
e543850413879f120ce68d2c786002b166a62fe5
[ "Apache-2.0" ]
1
2020-09-10T01:17:13.000Z
2020-09-10T01:17:13.000Z
src/utilities/OStream/multiOStream.hpp
lhb8125/unstructure_frame_home_0218
e543850413879f120ce68d2c786002b166a62fe5
[ "Apache-2.0" ]
2
2019-11-29T08:00:29.000Z
2019-11-29T08:26:13.000Z
/* Copyright (C) * 2019 - Hu Ren, rh890127a@163.com * 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 pr...
26.273927
78
0.570908
lhb8125
201c495ed49f29a8dad3964eeaa9fbbbb834c07f
417
cpp
C++
projects/engine/src/rendering/viewport.cpp
zCubed3/Silica
c4aa6d8e204b96320ad092e324930b3ef0e26aaa
[ "BSD-3-Clause" ]
null
null
null
projects/engine/src/rendering/viewport.cpp
zCubed3/Silica
c4aa6d8e204b96320ad092e324930b3ef0e26aaa
[ "BSD-3-Clause" ]
null
null
null
projects/engine/src/rendering/viewport.cpp
zCubed3/Silica
c4aa6d8e204b96320ad092e324930b3ef0e26aaa
[ "BSD-3-Clause" ]
null
null
null
#include "viewport.hpp" #include <glm/gtc/matrix_transform.hpp> #include <glm/gtx/transform.hpp> #include <glm/gtx/quaternion.hpp> #include "render_target.hpp" namespace Manta::Rendering { void Viewport::UpdateViewport() { float aspect = (float)rect.width / (float)rect.height; perspective = glm::...
26.0625
81
0.685851
zCubed3
201dce607c0f5c17539aa648b73aa59c1be9f0d9
270
hpp
C++
src/android/jni/Cube.hpp
ZKing1000/cordova-plugin-coventina-native
d704e5cfe4c4427a53b245eeb397a8c694235dfe
[ "Apache-2.0" ]
1
2019-06-20T16:57:43.000Z
2019-06-20T16:57:43.000Z
src/android/jni/Cube.hpp
ZKing1000/cordova-plugin-coventina-native
d704e5cfe4c4427a53b245eeb397a8c694235dfe
[ "Apache-2.0" ]
null
null
null
src/android/jni/Cube.hpp
ZKing1000/cordova-plugin-coventina-native
d704e5cfe4c4427a53b245eeb397a8c694235dfe
[ "Apache-2.0" ]
null
null
null
// vim: sw=4 expandtab #ifndef CUBE_HPP_ #define CUBE_HPP_ #include "MeshItem.hpp" #include <glm/vec3.hpp> #include <cstdint> namespace game { class Cube : public MeshItem { public: static void genGraphics(); void draw(); }; } #endif
12.857143
34
0.62963
ZKing1000
2021c46c575e7a0155786e48ce2decf3cc4ad868
12,855
hpp
C++
SDK/ARKSurvivalEvolved_Deinonychus_AnimBP_parameters.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_Deinonychus_AnimBP_parameters.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_Deinonychus_AnimBP_parameters.hpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
3
2020-07-22T17:42:07.000Z
2021-06-19T17:16:13.000Z
#pragma once // ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_Deinonychus_AnimBP_classes.hpp" namespace sdk { //--------------------------------------------------------------------------- //Parameters //---------------------------------------------------...
54.240506
161
0.894982
2bite
202204da367db1c8429deed9c79627e93bc34540
6,663
cpp
C++
Development-Delivery/Motor2D/j1Scene.cpp
MarcArizaAlborni/Development_Plataformas
44815d8581738977d20cb1be2b0481adef53c8d1
[ "Unlicense" ]
null
null
null
Development-Delivery/Motor2D/j1Scene.cpp
MarcArizaAlborni/Development_Plataformas
44815d8581738977d20cb1be2b0481adef53c8d1
[ "Unlicense" ]
null
null
null
Development-Delivery/Motor2D/j1Scene.cpp
MarcArizaAlborni/Development_Plataformas
44815d8581738977d20cb1be2b0481adef53c8d1
[ "Unlicense" ]
null
null
null
#include "p2Defs.h" #include "p2Log.h" #include "j1App.h" #include "j1Input.h" #include "j1Textures.h" #include "j1Audio.h" #include "j1Render.h" #include "j1Window.h" #include "j1Map.h" #include "j1Scene.h" #include "j1FadeToBlack.h" #include "j1Pathfinding.h" #include "j1EntityManager.h" #include "j1Player.h" #includ...
22.818493
171
0.679124
MarcArizaAlborni
2024c3d98a97d73df5bdaebbde964bdd00b622e3
612
hpp
C++
external/keko_ctab/ctab/shared/cTab_markerMenu_macros.hpp
kellerkompanie/kellerkompanie-mods
f15704710f77ba6c018c486d95cac4f7749d33b8
[ "MIT" ]
6
2018-05-05T22:28:57.000Z
2019-07-06T08:46:51.000Z
external/keko_ctab/ctab/shared/cTab_markerMenu_macros.hpp
Schwaggot/kellerkompanie-mods
7a389e49e3675866dbde1b317a44892926976e9d
[ "MIT" ]
107
2018-04-11T19:42:27.000Z
2019-09-13T19:05:31.000Z
external/keko_ctab/ctab/shared/cTab_markerMenu_macros.hpp
kellerkompanie/kellerkompanie-mods
f15704710f77ba6c018c486d95cac4f7749d33b8
[ "MIT" ]
3
2018-10-03T11:54:46.000Z
2019-02-28T13:30:16.000Z
/* Required defines: MENU_sizeEx - Menu text size (height) */ // place the menu outside of the visible area #define MENU_X safeZoneXAbs + safeZoneWAbs #define MENU_Y safeZoneY + safeZoneH #define MENU_maxChars 12 // used to determine the necessary width of the menu #define MENU_wPerChar MENU_sizeEx * 3/4 * 0.5 // ass...
38.25
95
0.76634
kellerkompanie
202a482a2227101c86d65a83181d73fe1ccaee9f
983
cpp
C++
Microsoft.Toolkit.Uwp.Input.GazeInteraction/GazeStats.cpp
paulcam206/WindowsCommunityToolkit
eb20ae30788f320127b2c809cad5c8bbfbd9e663
[ "MIT" ]
3
2021-05-27T00:29:00.000Z
2021-05-27T13:10:00.000Z
Microsoft.Toolkit.Uwp.Input.GazeInteraction/GazeStats.cpp
DLozanoNavas/UWPCommunityToolkit
e58479b546cbc264d391de214f3a17557088e109
[ "MIT" ]
9
2018-04-11T21:05:47.000Z
2018-05-04T03:02:07.000Z
Microsoft.Toolkit.Uwp.Input.GazeInteraction/GazeStats.cpp
DLozanoNavas/UWPCommunityToolkit
e58479b546cbc264d391de214f3a17557088e109
[ "MIT" ]
1
2020-07-31T11:15:48.000Z
2020-07-31T11:15:48.000Z
//Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. //See LICENSE in the project root for license information. #include "pch.h" #include "GazeStats.h" using namespace Platform::Collections; BEGIN_NAMESPACE_GAZE_INPUT GazeStats::GazeStats(int maxHistoryLen) { _maxHistoryLen = maxHisto...
20.479167
79
0.626653
paulcam206
202bb71b0d6fadd105929e02716275e4755984d7
833
cpp
C++
ZeldaClone/src/main.cpp
dwjclark11/ZeldaClone_NES
5d91cad0e071b45dfb10a6b86ac11a26642ad037
[ "MIT" ]
7
2021-08-23T09:56:00.000Z
2022-03-21T15:29:15.000Z
ZeldaClone/src/main.cpp
dwjclark11/ZeldaClone_NES
5d91cad0e071b45dfb10a6b86ac11a26642ad037
[ "MIT" ]
null
null
null
ZeldaClone/src/main.cpp
dwjclark11/ZeldaClone_NES
5d91cad0e071b45dfb10a6b86ac11a26642ad037
[ "MIT" ]
null
null
null
#include "Game/Game.h" #include "Systems/CameraMovementSystem.h" #include "Systems/NameSystems/NameSelectKeyboardControlSystem.h" int main() { if (!Registry::Instance()->HasSystem<SoundFXSystem>()) Registry::Instance()->AddSystem<SoundFXSystem>(); if (!Registry::Instance()->HasSystem<MusicPlayerSystem>()) Regi...
33.32
73
0.734694
dwjclark11
202c2c9366707524fef063fbd7870343aa657e4f
725
hpp
C++
src/cmd/definition.hpp
moralismercatus/kmap
6887780c2fbe795f07a81808ef31f11dad4f5043
[ "MIT" ]
1
2021-06-28T00:31:08.000Z
2021-06-28T00:31:08.000Z
src/cmd/definition.hpp
moralismercatus/kmap
6887780c2fbe795f07a81808ef31f11dad4f5043
[ "MIT" ]
null
null
null
src/cmd/definition.hpp
moralismercatus/kmap
6887780c2fbe795f07a81808ef31f11dad4f5043
[ "MIT" ]
null
null
null
/****************************************************************************** * Author(s): Christopher J. Havlicek * * See LICENSE and CONTACTS. ******************************************************************************/ #pragma once #ifndef KMAP_CMD_DEFINITION_HPP #define KMAP_CMD_DEFINITION_HPP #i...
26.851852
81
0.525517
moralismercatus
202c37dbbcb20fcc3d5d3400975e2a43475cb403
14,241
hpp
C++
ThirdParty-mod/java2cpp/android/os/Process.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
1
2019-04-03T01:53:28.000Z
2019-04-03T01:53:28.000Z
ThirdParty-mod/java2cpp/android/os/Process.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
null
null
null
ThirdParty-mod/java2cpp/android/os/Process.hpp
kakashidinho/HQEngine
8125b290afa7c62db6cc6eac14e964d8138c7fd0
[ "MIT" ]
null
null
null
/*================================================================================ code generated by: java2cpp author: Zoran Angelov, mailto://baldzar@gmail.com class: android.os.Process ================================================================================*/ #ifndef J2CPP_INCLUDE_IMPLEMENTATIO...
33.273364
129
0.739906
kakashidinho
45c8b72a9b627d263b27df6309d722f9c1676ff9
5,591
cxx
C++
src/MergeAlgs/DoMergeAlg.cxx
fermi-lat/Overlay
2cf0c53ba565ceb6f768434874c148777c804c58
[ "BSD-3-Clause" ]
null
null
null
src/MergeAlgs/DoMergeAlg.cxx
fermi-lat/Overlay
2cf0c53ba565ceb6f768434874c148777c804c58
[ "BSD-3-Clause" ]
null
null
null
src/MergeAlgs/DoMergeAlg.cxx
fermi-lat/Overlay
2cf0c53ba565ceb6f768434874c148777c804c58
[ "BSD-3-Clause" ]
null
null
null
/* * @file DoMergeAlg.cxx * * @brief Decides whether or not to read an overlay event * * @author Tracy Usher * * $Header: /nfs/slac/g/glast/ground/cvs/GlastRelease-scons/Overlay/src/MergeAlgs/DoMergeAlg.cxx,v 1.4 2011/11/03 18:13:50 usher Exp $ */ #include "GaudiKernel/Algorithm.h" #include "GaudiKernel/MsgSt...
30.551913
134
0.669469
fermi-lat
45cc65e0fcf35ac3154d9cf252f9279adb6c6dfe
672
hpp
C++
shared_model/backend/protobuf/util.hpp
akshatkarani/iroha
5acef9dd74720c6185360d951e9b11be4ef73260
[ "Apache-2.0" ]
1,467
2016-10-25T12:27:19.000Z
2022-03-28T04:32:05.000Z
shared_model/backend/protobuf/util.hpp
akshatkarani/iroha
5acef9dd74720c6185360d951e9b11be4ef73260
[ "Apache-2.0" ]
2,366
2016-10-25T10:07:57.000Z
2022-03-31T22:03:24.000Z
shared_model/backend/protobuf/util.hpp
akshatkarani/iroha
5acef9dd74720c6185360d951e9b11be4ef73260
[ "Apache-2.0" ]
662
2016-10-26T04:41:22.000Z
2022-03-31T04:15:02.000Z
/** * Copyright Soramitsu Co., Ltd. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0 */ #ifndef IROHA_SHARED_MODEL_PROTO_UTIL_HPP #define IROHA_SHARED_MODEL_PROTO_UTIL_HPP #include <google/protobuf/message.h> #include <vector> #include "cryptography/blob.hpp" namespace shared_model { namespace proto {...
24
57
0.714286
akshatkarani
45d1dbb8b6e694baaa42ed82da757e23199ab54b
2,765
cpp
C++
ball.cpp
aczapi/PingPong
5f0df3c5453d73181fffc7d96c813c3eb296ddfd
[ "Unlicense" ]
null
null
null
ball.cpp
aczapi/PingPong
5f0df3c5453d73181fffc7d96c813c3eb296ddfd
[ "Unlicense" ]
null
null
null
ball.cpp
aczapi/PingPong
5f0df3c5453d73181fffc7d96c813c3eb296ddfd
[ "Unlicense" ]
null
null
null
#include "ball.hpp" #include <SFML/Audio.hpp> #include <SFML/Window.hpp> #include "gameStates.hpp" #include "headers.hpp" #include "mainMenu.hpp" Ball::Ball(std::shared_ptr<Paddle> player1, std::shared_ptr<Paddle> player2, std::shared_ptr<Score> scorePlayer1, std::shared_ptr<Score> scorePlayer2) { this->player1_ =...
34.135802
152
0.595298
aczapi
45d3a9ee4be841f88fdd08ec47f1e8588fd35f75
2,306
hxx
C++
main/sd/source/ui/inc/fuformatpaintbrush.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/sd/source/ui/inc/fuformatpaintbrush.hxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/sd/source/ui/inc/fuformatpaintbrush.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...
31.589041
134
0.707285
Grosskopf
45dc62b034f9da99c95d3406fc9c14a09226c20a
2,407
cpp
C++
UOJ/62.cpp
sshockwave/Online-Judge-Solutions
9d0bc7fd68c3d1f661622929c1cb3752601881d3
[ "MIT" ]
6
2019-09-30T16:11:00.000Z
2021-11-01T11:42:33.000Z
UOJ/62.cpp
sshockwave/Online-Judge-Solutions
9d0bc7fd68c3d1f661622929c1cb3752601881d3
[ "MIT" ]
4
2017-11-21T08:17:42.000Z
2020-07-28T12:09:52.000Z
EZOJ/Contests/1425/C.cpp
sshockwave/Online-Judge-Solutions
9d0bc7fd68c3d1f661622929c1cb3752601881d3
[ "MIT" ]
4
2017-07-26T05:54:06.000Z
2020-09-30T13:35:38.000Z
#include <iostream> #include <cstdio> #include <cstring> #include <cassert> #include <cctype> using namespace std; typedef long long lint; #define cout cerr #define ni (next_num<int>()) template<class T>inline T next_num(){ T i=0;char c; while(!isdigit(c=getchar())&&c!='-'); bool neg=c=='-'; neg?c=getchar():0; whi...
18.234848
79
0.522227
sshockwave
45de1a5eb2b9ca60d7094a034aa0b05e639de2f0
2,630
cpp
C++
libs/input/impl/src/input/impl/multi_system.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
2
2016-01-27T13:18:14.000Z
2018-05-11T01:11:32.000Z
libs/input/impl/src/input/impl/multi_system.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
null
null
null
libs/input/impl/src/input/impl/multi_system.cpp
cpreh/spacegameengine
313a1c34160b42a5135f8223ffaa3a31bc075a01
[ "BSL-1.0" ]
3
2018-05-11T01:11:34.000Z
2021-04-24T19:47:45.000Z
// Copyright Carl Philipp Reh 2006 - 2019. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #include <sge/input/capabilities_field.hpp> #include <sge/input/processor.hpp> #include <sge/input/...
39.253731
90
0.709506
cpreh
45e0feccd1590d52dd7d0b56eff3f1f121c66890
12,642
cpp
C++
test/module/irohad/ametsuchi/block_query_test.cpp
truongnmt/iroha
e9b969df9a0eb6ce62eae3ab62c5c3f046a5e6e1
[ "Apache-2.0" ]
null
null
null
test/module/irohad/ametsuchi/block_query_test.cpp
truongnmt/iroha
e9b969df9a0eb6ce62eae3ab62c5c3f046a5e6e1
[ "Apache-2.0" ]
null
null
null
test/module/irohad/ametsuchi/block_query_test.cpp
truongnmt/iroha
e9b969df9a0eb6ce62eae3ab62c5c3f046a5e6e1
[ "Apache-2.0" ]
null
null
null
/** * Copyright Soramitsu Co., Ltd. 2017 All Rights Reserved. * http://soramitsu.co.jp * * 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/LICENS...
32.836364
80
0.712308
truongnmt
45e29e1ccb8f2c0cff0d09f10b218564737845f7
2,481
cpp
C++
Tools/ExtractStrain/SnapFileHelp.cpp
danielfrascarelli/esys-particle
e56638000fd9c4af77e21c75aa35a4f8922fd9f0
[ "Apache-2.0" ]
null
null
null
Tools/ExtractStrain/SnapFileHelp.cpp
danielfrascarelli/esys-particle
e56638000fd9c4af77e21c75aa35a4f8922fd9f0
[ "Apache-2.0" ]
null
null
null
Tools/ExtractStrain/SnapFileHelp.cpp
danielfrascarelli/esys-particle
e56638000fd9c4af77e21c75aa35a4f8922fd9f0
[ "Apache-2.0" ]
null
null
null
///////////////////////////////////////////////////////////// // // // Copyright (c) 2003-2017 by The University of Queensland // // Centre for Geoscience Computing // // http://earth.uq.edu.au/centre-geoscience-computing // // ...
29.188235
97
0.566707
danielfrascarelli
45e42a1025c8adc217a96c371d3bb00ac639fb17
1,112
cpp
C++
LuoguCodes/P1968.cpp
Anguei/OI-Codes
0ef271e9af0619d4c236e314cd6d8708d356536a
[ "MIT" ]
null
null
null
LuoguCodes/P1968.cpp
Anguei/OI-Codes
0ef271e9af0619d4c236e314cd6d8708d356536a
[ "MIT" ]
null
null
null
LuoguCodes/P1968.cpp
Anguei/OI-Codes
0ef271e9af0619d4c236e314cd6d8708d356536a
[ "MIT" ]
null
null
null
//【P1968】美元汇率 - 洛谷 - 10 #include <iostream> #include <cstdio> #include <iomanip> #include <algorithm> struct Income { double dollar, mark; Income() {} } *f; int n, *a; void input() { std::cin >> n; a = new int[n + 1]; for (int i = 1; i <= n; ++i) { std::cin >> a[i]; } } int main() { input(); f = new Incom...
21.803922
84
0.502698
Anguei
45e610bb53c08e45b75bd5842dd978d69f9c3ce6
2,158
cpp
C++
Shared/Io/Timer.cpp
Joon-Jung/HoloLensForCV
fad1818ff1e6afd8bae3a91b710c23a653cbd722
[ "MIT" ]
250
2017-07-26T20:54:22.000Z
2019-05-03T09:21:12.000Z
Shared/Io/Timer.cpp
Joon-Jung/HoloLensForCV
fad1818ff1e6afd8bae3a91b710c23a653cbd722
[ "MIT" ]
79
2017-08-08T20:08:02.000Z
2019-05-06T14:32:45.000Z
Shared/Io/Timer.cpp
Joon-Jung/HoloLensForCV
fad1818ff1e6afd8bae3a91b710c23a653cbd722
[ "MIT" ]
88
2017-07-28T09:11:51.000Z
2019-05-04T03:48:44.000Z
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the MIT License (MIT). // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PA...
27.316456
84
0.57507
Joon-Jung
45e648661e82340b235cd566b3b0fa122864856d
425
cpp
C++
GFX/Vulkan/API_without_Secrets/Tutorial01/main.cpp
longlongwaytogo/Learning.test
ded9a25ba789c153d69b2d216599eda962ef83e9
[ "MIT" ]
null
null
null
GFX/Vulkan/API_without_Secrets/Tutorial01/main.cpp
longlongwaytogo/Learning.test
ded9a25ba789c153d69b2d216599eda962ef83e9
[ "MIT" ]
null
null
null
GFX/Vulkan/API_without_Secrets/Tutorial01/main.cpp
longlongwaytogo/Learning.test
ded9a25ba789c153d69b2d216599eda962ef83e9
[ "MIT" ]
null
null
null
#include "Tutorial01.h" int main( int argc, char ** argv ) { ApiWithoutSecrets::OS::Window window; ApiWithoutSecrets::Tutorial01 tutorial01; // window creation if(! window.Create("01-The Beginning") ) { return -1; } // Vulkan preparations and initialization if( !tutorial01.PrepareVulkan() ) { return ...
14.655172
43
0.663529
longlongwaytogo
45e94b3dfd7697ee37a539956a2ef6eade97b84f
1,583
hpp
C++
core/utilities/string.hpp
fritzio/libstl
0709e54e4b13576edf84e393db211fb77efd7f72
[ "MIT" ]
null
null
null
core/utilities/string.hpp
fritzio/libstl
0709e54e4b13576edf84e393db211fb77efd7f72
[ "MIT" ]
null
null
null
core/utilities/string.hpp
fritzio/libstl
0709e54e4b13576edf84e393db211fb77efd7f72
[ "MIT" ]
null
null
null
#ifndef LIBSTL_UTLITIES_STRING_HPP #define LIBSTL_UTLITIES_STRING_HPP #include <array> #include <string> #include <vector> namespace libstl { namespace utilities { namespace string { std::string erase(const std::string& string, const std::string& substring) { std::string s = string; return s.erase(string.f...
26.830508
111
0.684776
fritzio
45e9bbade0ee125116c9f34aaa3263b5f7990dd2
2,148
cpp
C++
src/jet/live/LiveDelegate.cpp
cpei-avalara/jet-live
27593e29606456e822aee49384aafce97d914acd
[ "MIT" ]
null
null
null
src/jet/live/LiveDelegate.cpp
cpei-avalara/jet-live
27593e29606456e822aee49384aafce97d914acd
[ "MIT" ]
null
null
null
src/jet/live/LiveDelegate.cpp
cpei-avalara/jet-live
27593e29606456e822aee49384aafce97d914acd
[ "MIT" ]
null
null
null
#include "LiveDelegate.hpp" #include "jet/live/CompileCommandsCompilationUnitsParser.hpp" #include "jet/live/DefaultProgramInfoLoader.hpp" #include "jet/live/DepfileDependenciesHandler.hpp" #include "jet/live/Utility.hpp" namespace jet { void LiveDelegate::onLog(LogSeverity, const std::string&) {} void LiveD...
37.684211
118
0.715549
cpei-avalara
45e9fcf091bd54c2bb4aead9abc73d7963ab7383
620
cpp
C++
contest/1119/d/d.cpp
GoatGirl98/cf
4077ca8e0fe29dc2bbb7b60166989857cc062e17
[ "MIT" ]
null
null
null
contest/1119/d/d.cpp
GoatGirl98/cf
4077ca8e0fe29dc2bbb7b60166989857cc062e17
[ "MIT" ]
null
null
null
contest/1119/d/d.cpp
GoatGirl98/cf
4077ca8e0fe29dc2bbb7b60166989857cc062e17
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; using LL = long long; int main(){ //freopen("in","r",stdin) std::ios::sync_with_stdio(false);std::cin.tie(nullptr); int n; cin>>n; LL a[n]; for(int i=0;i<n;++i) cin>>a[i]; sort(a,a+n); LL b[n]={LL(2e18)}; for(int i=1;i<n;++i) b[i] = a[i]-a[i-1]; sort(b,b+n); LL ...
19.375
56
0.514516
GoatGirl98
45ec06000883e8f101cf780bfce66c6253b2d5d2
209
cpp
C++
Oficina/CrazyCards/CrazyCards/Hero.cpp
boveloco/Puc
cbc3308fac104098b030dadebdd036fe288bbe0c
[ "MIT" ]
null
null
null
Oficina/CrazyCards/CrazyCards/Hero.cpp
boveloco/Puc
cbc3308fac104098b030dadebdd036fe288bbe0c
[ "MIT" ]
null
null
null
Oficina/CrazyCards/CrazyCards/Hero.cpp
boveloco/Puc
cbc3308fac104098b030dadebdd036fe288bbe0c
[ "MIT" ]
null
null
null
#include "Hero.h" Hero::Hero(int attack, int defense, int life) { this->attack = attack; this->defense = defense; this->life = life; this->debuffAttack = 0; this->debuffDefense = 0; } Hero::~Hero() { }
13.933333
45
0.645933
boveloco
45ec4eec8930c64c8fcb1910df45d16cbfbef69c
938
cpp
C++
backup/2/interviewbit/c++/majority-element.cpp
yangyanzhan/code-camp
4272564e916fc230a4a488f92ae32c07d355dee0
[ "Apache-2.0" ]
21
2019-11-16T19:08:35.000Z
2021-11-12T12:26:01.000Z
backup/2/interviewbit/c++/majority-element.cpp
yangyanzhan/code-camp
4272564e916fc230a4a488f92ae32c07d355dee0
[ "Apache-2.0" ]
1
2022-02-04T16:02:53.000Z
2022-02-04T16:02:53.000Z
backup/2/interviewbit/c++/majority-element.cpp
yangyanzhan/code-camp
4272564e916fc230a4a488f92ae32c07d355dee0
[ "Apache-2.0" ]
4
2020-05-15T19:39:41.000Z
2021-10-30T06:40:31.000Z
// Hi, I'm Yanzhan. For more algothmic problems, visit my Youtube Channel (Yanzhan Yang's Youtube Channel) : https://www.youtube.com/channel/UCDkz-__gl3frqLexukpG0DA?view_as=subscriber or my Twitter Account (Yanzhan Yang's Twitter) : https://twitter.com/YangYanzhan or my GitHub HomePage (Yanzhan Yang's GitHub HomePage)...
44.666667
345
0.630064
yangyanzhan
45eee7518b94d3bd5cfe5e48481db702e775c7da
494
cpp
C++
BaseDataStructure/array/JavaObject.cpp
JessonYue/LeetCodeLearning
3c22a4fcdfe8b47f9f64b939c8b27742c4e30b79
[ "MIT" ]
39
2020-05-31T06:14:39.000Z
2021-01-09T11:06:39.000Z
BaseDataStructure/array/JavaObject.cpp
JessonYue/LeetCodeLearning
3c22a4fcdfe8b47f9f64b939c8b27742c4e30b79
[ "MIT" ]
7
2020-06-02T11:04:14.000Z
2020-06-11T14:11:58.000Z
BaseDataStructure/array/JavaObject.cpp
JessonYue/LeetCodeLearning
3c22a4fcdfe8b47f9f64b939c8b27742c4e30b79
[ "MIT" ]
20
2020-05-31T06:21:57.000Z
2020-10-01T04:48:38.000Z
// // Created by Jesson on 2020/7/18. // #include <cstdio> //#include <malloc.h> #include <cstdlib> #include "JavaObject.h" void objectRetain(JavaObject *obj) { obj->retainCount ++; printf("retain计数+1 = %d\n",obj->retainCount); } void objectRelease(JavaObject *obj) { obj->retainCount --; if (obj->r...
17.642857
49
0.631579
JessonYue
45f884f94ce01ba6ede76e1851e83ac115c28edf
281
hpp
C++
include/generic/geometry/range_space.hpp
shikanle/gfx
772db3ddd66c294beaf17319f6b3803abe3ce0df
[ "Apache-2.0" ]
4
2022-01-06T14:06:03.000Z
2022-01-07T01:13:58.000Z
include/generic/geometry/range_space.hpp
shikanle/gfx
772db3ddd66c294beaf17319f6b3803abe3ce0df
[ "Apache-2.0" ]
null
null
null
include/generic/geometry/range_space.hpp
shikanle/gfx
772db3ddd66c294beaf17319f6b3803abe3ce0df
[ "Apache-2.0" ]
null
null
null
#pragma once namespace gfx { namespace generic { template <typename float_system> class range_space : public object { public: typedef float_system float_system_t; typedef typename float_system_t::float_t float_t; public: dynamic_reflectible(range_space, {}); }; } }
16.529412
53
0.754448
shikanle
45fb63f68cf38af8aec14b27a9d9dfa1e0a12c53
32,363
cc
C++
tensorstore/driver/zarr/spec_test.cc
google/tensorstore
8df16a67553debaec098698ceaa5404eaf79634a
[ "BSD-2-Clause" ]
106
2020-04-02T20:00:18.000Z
2022-03-23T20:27:31.000Z
tensorstore/driver/zarr/spec_test.cc
0xgpapad/tensorstore
dfc2972e54588a7b745afea8b9322b57b26b657a
[ "BSD-2-Clause" ]
28
2020-04-12T02:04:47.000Z
2022-03-23T20:27:03.000Z
tensorstore/driver/zarr/spec_test.cc
0xgpapad/tensorstore
dfc2972e54588a7b745afea8b9322b57b26b657a
[ "BSD-2-Clause" ]
18
2020-04-08T06:41:30.000Z
2022-02-18T03:05:49.000Z
// Copyright 2020 The TensorStore 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 ...
39.180387
80
0.541513
google
45fc2c960ca416349005f51c9a48b3b7ebc6b602
864
cpp
C++
zoo_test.cpp
keychera/VirtualZOOP
893bbca25da0770504dc67c98adb526aee980237
[ "MIT" ]
null
null
null
zoo_test.cpp
keychera/VirtualZOOP
893bbca25da0770504dc67c98adb526aee980237
[ "MIT" ]
null
null
null
zoo_test.cpp
keychera/VirtualZOOP
893bbca25da0770504dc67c98adb526aee980237
[ "MIT" ]
null
null
null
#include "zoo.h" #include <gtest/gtest.h> #include <iostream> using namespace std; class ZooTest : public ::testing::Test { protected: ZooTest(){} }; TEST(ZooTest, Test1) { string filename="map.txt"; Zoo Z; Z.ReadZoo(filename.c_str()); ASSERT_EQ(21,Z.GetWidth()); ASSERT_EQ(21,Z.GetLength()); cout<<"wi...
26.181818
97
0.552083
keychera
3400b7fe0e4d35c15ef8c18b5b35a8a4fb0a140f
1,819
cc
C++
onnxruntime/core/providers/cuda/generator/constant_of_shape.cc
csteegz/onnxruntime
a36810471b346ec862ac6e4de7f877653f49525e
[ "MIT" ]
1
2020-07-12T15:23:49.000Z
2020-07-12T15:23:49.000Z
onnxruntime/core/providers/cuda/generator/constant_of_shape.cc
ajinkya933/onnxruntime
0e799a03f2a99da6a1b87a2cd37facb420c482aa
[ "MIT" ]
null
null
null
onnxruntime/core/providers/cuda/generator/constant_of_shape.cc
ajinkya933/onnxruntime
0e799a03f2a99da6a1b87a2cd37facb420c482aa
[ "MIT" ]
1
2020-09-09T06:55:51.000Z
2020-09-09T06:55:51.000Z
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "constant_of_shape.h" #include "core/providers/common.h" #include "gsl/gsl" using namespace ::onnxruntime::common; using namespace ONNX_NAMESPACE; namespace onnxruntime { namespace cuda { ONNX_OPERATOR_KERNEL_EX(...
33.685185
112
0.715778
csteegz
340bb6123443172507c1477d203f1661a213c5d8
20,770
cpp
C++
admin/wmi/wbem/common/containers/cache.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
admin/wmi/wbem/common/containers/cache.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
admin/wmi/wbem/common/containers/cache.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
#ifndef __CACHE_CPP #define __CACHE_CPP /*++ Copyright (C) 1996-2001 Microsoft Corporation Module Name: Thread.cpp Abstract: Enhancements to current functionality: Timeout mechanism should track across waits. AddRef/Release on task when scheduling. Enhancement Ticker logic. History: ...
21.568017
166
0.463361
npocmaka
340d8d8c9c06398aa863a0fa2d11b0c4615c77c5
35,044
cpp
C++
test/systemtest/common/fms/fms_acquire_form_test_max/fms_acquire_form_test_max.cpp
openharmony-gitee-mirror/appexecfwk_standard
0edd750ed64940531881e0bb113a84155ac056d0
[ "Apache-2.0" ]
1
2021-11-23T08:13:14.000Z
2021-11-23T08:13:14.000Z
test/systemtest/common/fms/fms_acquire_form_test_max/fms_acquire_form_test_max.cpp
openharmony-gitee-mirror/appexecfwk_standard
0edd750ed64940531881e0bb113a84155ac056d0
[ "Apache-2.0" ]
null
null
null
test/systemtest/common/fms/fms_acquire_form_test_max/fms_acquire_form_test_max.cpp
openharmony-gitee-mirror/appexecfwk_standard
0edd750ed64940531881e0bb113a84155ac056d0
[ "Apache-2.0" ]
1
2021-09-13T11:17:54.000Z
2021-09-13T11:17:54.000Z
/* * Copyright (c) 2021 Huawei Device Co., Ltd. * 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 ...
45.929227
118
0.712561
openharmony-gitee-mirror
340e6371cfab072dd0358adeb73a5d20197bc9ca
701
cc
C++
algorithms/image/threshold/boost_python/unimodal.cc
TiankunZhou/dials
bd5c95b73c442cceb1c61b1690fd4562acf4e337
[ "BSD-3-Clause" ]
58
2015-10-15T09:28:20.000Z
2022-03-28T20:09:38.000Z
algorithms/image/threshold/boost_python/unimodal.cc
TiankunZhou/dials
bd5c95b73c442cceb1c61b1690fd4562acf4e337
[ "BSD-3-Clause" ]
1,741
2015-11-24T08:17:02.000Z
2022-03-31T15:46:42.000Z
algorithms/image/threshold/boost_python/unimodal.cc
TiankunZhou/dials
bd5c95b73c442cceb1c61b1690fd4562acf4e337
[ "BSD-3-Clause" ]
45
2015-10-14T13:44:16.000Z
2022-03-22T14:45:56.000Z
/* * unimodal.cc * * Copyright (C) 2013 Diamond Light Source * * Author: James Parkhurst * * This code is distributed under the BSD license, a copy of which is * included in the root directory of this package. */ #include <boost/python.hpp> #include <boost/python/def.hpp> #include <dials/algorithms/image/t...
25.962963
70
0.699001
TiankunZhou
3413fcae1164f05e6869430c9c549bdc3b7a6e7c
6,668
hpp
C++
cpp/include/rapids_triton/model/model.hpp
divyegala/rapids-triton
8ff2a8dbad029e9379d9e7808d868924c4b60590
[ "Apache-2.0" ]
1
2022-02-23T23:38:40.000Z
2022-02-23T23:38:40.000Z
cpp/include/rapids_triton/model/model.hpp
divyegala/rapids-triton
8ff2a8dbad029e9379d9e7808d868924c4b60590
[ "Apache-2.0" ]
12
2021-09-20T21:23:27.000Z
2022-03-31T22:53:30.000Z
cpp/include/rapids_triton/model/model.hpp
divyegala/rapids-triton
8ff2a8dbad029e9379d9e7808d868924c4b60590
[ "Apache-2.0" ]
2
2022-01-27T20:58:07.000Z
2022-02-09T23:07:41.000Z
/* * Copyright (c) 2021, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
33.676768
94
0.707858
divyegala