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
40aa23d314b53734894c6c1d441a15e4f1712af5
1,290
hpp
C++
libs/core/include/fcppt/container/find_opt_iterator.hpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
libs/core/include/fcppt/container/find_opt_iterator.hpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
libs/core/include/fcppt/container/find_opt_iterator.hpp
pmiddend/fcppt
9f437acbb10258e6df6982a550213a05815eb2be
[ "BSL-1.0" ]
null
null
null
// Copyright Carl Philipp Reh 2009 - 2018. // 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) #ifndef FCPPT_CONTAINER_FIND_OPT_ITERATOR_HPP_INCLUDED #define FCPPT_CONTAINER_FIND_OPT_ITERATOR_H...
16.973684
78
0.727132
pmiddend
40ac7c0d929478f10e0c34c5f3f4ae75897ec363
2,894
cpp
C++
platformio/ethernet_client/src/main.cpp
amdxyz/aiolib
90d6541b0945680d61d070109f8bcc468902af38
[ "MIT" ]
1
2020-05-24T10:33:14.000Z
2020-05-24T10:33:14.000Z
platformio/ethernet_client/src/main.cpp
amdxyz/aiolib
90d6541b0945680d61d070109f8bcc468902af38
[ "MIT" ]
1
2019-02-20T19:33:08.000Z
2019-02-20T19:36:19.000Z
platformio/ethernet_client/src/main.cpp
amdx/aiolib
90d6541b0945680d61d070109f8bcc468902af38
[ "MIT" ]
null
null
null
/** * AMDX AIO arduino library * * Copyright (C) 2019-2020 Archimedes Exhibitions GmbH * All rights reserved. * * MIT License * * 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 * wi...
28.94
93
0.651348
amdxyz
40afa021be7ce8ce58c26ee44ba6500f1a43ba20
1,034
cpp
C++
DISCSHOP.cpp
Yash1256/Codechef-Solutions
8aa93379ba543fdcf82b3b1f94d71f6f698b6161
[ "MIT" ]
1
2020-04-30T10:43:16.000Z
2020-04-30T10:43:16.000Z
DISCSHOP.cpp
Yash1256/Codechef-Solutions
8aa93379ba543fdcf82b3b1f94d71f6f698b6161
[ "MIT" ]
null
null
null
DISCSHOP.cpp
Yash1256/Codechef-Solutions
8aa93379ba543fdcf82b3b1f94d71f6f698b6161
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define fastio \ ios_base::sync_with_stdio(0); \ cin.tie(0); \ cout.tie(0); #define pb push_back #define ll long long #define mp make_pair #define f first #define s second #define tc \ int t = 1; \ cin >> t; \ while (t--) using...
22.478261
71
0.501934
Yash1256
40b2611eae038d213c5ccfa342d44e5e7b9e2868
593
cpp
C++
MoravaEngine/src/H2M/Core/HashH2M.cpp
imgui-works/MoravaEngine_opengl_vulkan_2d_3d_game_engine
b8e6ee3c3c890e9b8cf5de7bcb564b32f6767b6b
[ "Apache-2.0" ]
null
null
null
MoravaEngine/src/H2M/Core/HashH2M.cpp
imgui-works/MoravaEngine_opengl_vulkan_2d_3d_game_engine
b8e6ee3c3c890e9b8cf5de7bcb564b32f6767b6b
[ "Apache-2.0" ]
null
null
null
MoravaEngine/src/H2M/Core/HashH2M.cpp
imgui-works/MoravaEngine_opengl_vulkan_2d_3d_game_engine
b8e6ee3c3c890e9b8cf5de7bcb564b32f6767b6b
[ "Apache-2.0" ]
1
2022-01-05T03:51:02.000Z
2022-01-05T03:51:02.000Z
/** * @package H2M (Hazel to Morava) * @author Yan Chernikov (TheCherno) * @licence Apache License 2.0 */ #include "HashH2M.h" namespace H2M { uint32_t HashH2M::GenerateFNVHash(const char* str) { constexpr uint32_t FNV_PRIME = 16777619u; constexpr uint32_t OFFSET_BASIS = 2166136261u; const size_t leng...
17.441176
61
0.671164
imgui-works
40b523f52870cab0904b80949e7e892cc5c49cde
395
cpp
C++
test/chapter_09_data_serialization/problem_077_printing_a_list_of_movies_to_a_pdf.cpp
rturrado/TheModernCppChallenge
648284fb417b6aaa43c21ea2b12a5a21c8cb9269
[ "MIT" ]
null
null
null
test/chapter_09_data_serialization/problem_077_printing_a_list_of_movies_to_a_pdf.cpp
rturrado/TheModernCppChallenge
648284fb417b6aaa43c21ea2b12a5a21c8cb9269
[ "MIT" ]
null
null
null
test/chapter_09_data_serialization/problem_077_printing_a_list_of_movies_to_a_pdf.cpp
rturrado/TheModernCppChallenge
648284fb417b6aaa43c21ea2b12a5a21c8cb9269
[ "MIT" ]
null
null
null
#include "chapter_09_data_serialization/problem_077_printing_a_list_of_movies_to_a_pdf.h" #include <gmock/gmock.h> #include <gtest/gtest.h> #include <sstream> // ostringstream TEST(problem_77_main, DISABLED_output) { std::ostringstream oss{}; problem_77_main(oss); EXPECT_THAT(oss.str(), ::testing::Cont...
24.6875
89
0.726582
rturrado
40b5ce5cc77231d5ef5716675374b11c6290e415
5,517
hpp
C++
renderboi/core/shader/shader_program.hpp
deqyra/GLSandbox
40d641ebbf6af694e8640a584d283876d128748c
[ "MIT" ]
null
null
null
renderboi/core/shader/shader_program.hpp
deqyra/GLSandbox
40d641ebbf6af694e8640a584d283876d128748c
[ "MIT" ]
null
null
null
renderboi/core/shader/shader_program.hpp
deqyra/GLSandbox
40d641ebbf6af694e8640a584d283876d128748c
[ "MIT" ]
null
null
null
#ifndef RENDERBOI__CORE__SHADER__SHADER_PROGRAM_HPP #define RENDERBOI__CORE__SHADER__SHADER_PROGRAM_HPP #include <glad/gl.h> #include <glm/glm.hpp> #include <fstream> #include <iostream> #include <sstream> #include <string> #include <unordered_map> #include "shader_feature.hpp" #include "../material.hpp" namespace ...
37.277027
109
0.684249
deqyra
40b67ac7c887ead0be8f471a144aaca2fc328515
2,482
cpp
C++
src/core/module/notification.cpp
webosce/sam
bddc1e646d729920350f69e44105e02d1c5422d4
[ "Apache-2.0" ]
null
null
null
src/core/module/notification.cpp
webosce/sam
bddc1e646d729920350f69e44105e02d1c5422d4
[ "Apache-2.0" ]
null
null
null
src/core/module/notification.cpp
webosce/sam
bddc1e646d729920350f69e44105e02d1c5422d4
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2012-2018 LG Electronics, 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...
26.126316
123
0.6805
webosce
40b8975c587a48e3dba4fdac3d02bd47e37f9d9f
1,899
cpp
C++
src/libraries/postProcessing/functionObjects/utilities/residuals/residualsTemplates.cpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
src/libraries/postProcessing/functionObjects/utilities/residuals/residualsTemplates.cpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
src/libraries/postProcessing/functionObjects/utilities/residuals/residualsTemplates.cpp
MrAwesomeRocks/caelus-cml
55b6dc5ba47d0e95c07412d9446ac72ac11d7fd7
[ "mpich2" ]
null
null
null
/*---------------------------------------------------------------------------*\ Copyright (C) 2015 OpenFOAM Foundation ------------------------------------------------------------------------------- License This file is part of Caelus. Caelus is free software: you can redistribute it and/or modify it under...
34.527273
79
0.549236
MrAwesomeRocks
40ba3dfb4bb2d2840d3ec34bebf40ea22b63f6e4
10,597
cc
C++
net/spdy/spdy_protocol_test.cc
Gitman1989/chromium
2b1cceae1075ef012fb225deec8b4c8bbe4bc897
[ "BSD-3-Clause" ]
2
2017-09-02T19:08:28.000Z
2021-11-15T15:15:14.000Z
net/spdy/spdy_protocol_test.cc
Gitman1989/chromium
2b1cceae1075ef012fb225deec8b4c8bbe4bc897
[ "BSD-3-Clause" ]
null
null
null
net/spdy/spdy_protocol_test.cc
Gitman1989/chromium
2b1cceae1075ef012fb225deec8b4c8bbe4bc897
[ "BSD-3-Clause" ]
1
2020-04-13T05:45:10.000Z
2020-04-13T05:45:10.000Z
// Copyright (c) 2010 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 "net/spdy/spdy_protocol.h" #include "base/scoped_ptr.h" #include "net/spdy/spdy_bitmasks.h" #include "net/spdy/spdy_framer.h" #include "test...
34.294498
79
0.742191
Gitman1989
40bc04f1652ef79cb3a294bcbe6b12ca0d240779
175
cpp
C++
FrameLib_Max_Objects/IO/fl.source~.cpp
AlexHarker/FrameLib
04b9882561c83d3240c6cb07f14861244d1d6272
[ "BSD-3-Clause" ]
33
2017-08-13T00:02:41.000Z
2022-03-10T23:02:17.000Z
FrameLib_Max_Objects/IO/fl.source~.cpp
AlexHarker/FrameLib
04b9882561c83d3240c6cb07f14861244d1d6272
[ "BSD-3-Clause" ]
60
2018-02-01T23:33:36.000Z
2022-03-23T23:25:13.000Z
FrameLib_Max_Objects/IO/fl.source~.cpp
AlexHarker/FrameLib
04b9882561c83d3240c6cb07f14861244d1d6272
[ "BSD-3-Clause" ]
8
2018-02-01T20:18:46.000Z
2020-07-03T12:53:04.000Z
#include "FrameLib_Source.h" #include "FrameLib_MaxClass.h" extern "C" int C74_EXPORT main(void) { FrameLib_MaxClass_Expand<FrameLib_Source>::makeClass("fl.source~"); }
19.444444
71
0.754286
AlexHarker
8ad653610f9deded27ac62e1d95fcf2b6797912c
2,290
cpp
C++
src/Group.cpp
gicmo/nix
17a5b90e6c12a22e921c181b79eb2a3db1bf61af
[ "BSD-3-Clause" ]
53
2015-02-10T01:04:34.000Z
2021-04-24T14:26:04.000Z
src/Group.cpp
tapaswenipathak/nix
4565c2d7b363f27cac88932b35c085ee8fe975a1
[ "BSD-3-Clause" ]
262
2015-01-09T13:24:21.000Z
2021-07-02T13:45:31.000Z
src/Group.cpp
gicmo/nix
17a5b90e6c12a22e921c181b79eb2a3db1bf61af
[ "BSD-3-Clause" ]
34
2015-03-27T16:41:14.000Z
2020-03-27T06:47:59.000Z
// Copyright (c) 2013, German Neuroinformatics Node (G-Node) // // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted under the terms of the BSD License. See // LICENSE file in the root of the Project. #include <nix/Group.hpp> #include <nix/util...
27.590361
93
0.625328
gicmo
8ad874790cc7b81859edcf2349de3491b20944b5
1,749
hpp
C++
test/unit/search/helper.hpp
remyschwab/seqan3
f10e557b61428ff7faac8b10f18b9087d1ff2663
[ "CC0-1.0", "CC-BY-4.0" ]
null
null
null
test/unit/search/helper.hpp
remyschwab/seqan3
f10e557b61428ff7faac8b10f18b9087d1ff2663
[ "CC0-1.0", "CC-BY-4.0" ]
null
null
null
test/unit/search/helper.hpp
remyschwab/seqan3
f10e557b61428ff7faac8b10f18b9087d1ff2663
[ "CC0-1.0", "CC-BY-4.0" ]
null
null
null
// ----------------------------------------------------------------------------------------------------- // Copyright (c) 2006-2021, Knut Reinert & Freie Universität Berlin // Copyright (c) 2016-2021, Knut Reinert & MPI für molekulare Genetik // This file may be used, modified and/or redistributed under the terms of th...
38.866667
104
0.6255
remyschwab
8adb3d3bdbc6a4910d3a2ee786967bd5609a6321
929
cpp
C++
sycl/test/basic_tests/implicit_conversion_error.cpp
elizabethandrews/llvm
308498236c1c4778fdcba0bfbb556adf8aa333ea
[ "Apache-2.0" ]
null
null
null
sycl/test/basic_tests/implicit_conversion_error.cpp
elizabethandrews/llvm
308498236c1c4778fdcba0bfbb556adf8aa333ea
[ "Apache-2.0" ]
6
2021-02-04T21:32:09.000Z
2021-02-08T09:31:15.000Z
sycl/test/basic_tests/implicit_conversion_error.cpp
elizabethandrews/llvm
308498236c1c4778fdcba0bfbb556adf8aa333ea
[ "Apache-2.0" ]
1
2021-11-23T17:16:34.000Z
2021-11-23T17:16:34.000Z
// RUN: %clangxx -fsyntax-only -Xclang -verify %s -I %sycl_include -Xclang -verify-ignore-unexpected=note,warning //==-- implicit_conversion_error.cpp - Unintended implicit conversion check --==// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt fo...
42.227273
121
0.628633
elizabethandrews
8adeaae052d54d6102b799e4873e2616fbd2af6b
1,296
cpp
C++
experiment_setup/slave_node/hpc_sample_tool_savitor/src/sample.cpp
Rasoul-Jahanshahi/Hardware_Performance_Counters_Can_Detect_Malware_Myth_or_Fact
1d0322784d2371411c5362651a099763d4776a39
[ "MIT" ]
18
2018-05-10T18:50:06.000Z
2022-01-11T17:11:34.000Z
experiment_setup/slave_node/hpc_sample_tool_savitor/src/sample.cpp
Rasoul-Jahanshahi/Hardware_Performance_Counters_Can_Detect_Malware_Myth_or_Fact
1d0322784d2371411c5362651a099763d4776a39
[ "MIT" ]
24
2018-06-14T17:54:17.000Z
2022-03-11T23:21:29.000Z
experiment_setup/slave_node/hpc_sample_tool_savitor/src/sample.cpp
Rasoul-Jahanshahi/Hardware_Performance_Counters_Can_Detect_Malware_Myth_or_Fact
1d0322784d2371411c5362651a099763d4776a39
[ "MIT" ]
4
2019-04-02T16:04:34.000Z
2022-01-10T11:44:43.000Z
#include "../include/stdafx.h" unsigned __int64 * profile::sample_profile(unsigned int event_count) { switch(event_count) { case 1: fnGetEventCount(Core, 0, &pAllEventCount[0]); break; case 2: fnGetEventCount(Core, 0, &pAllEventCount[0]); fnGetEventCount(Core, 1, &pAllEventCount[1]); break; case 3: ...
27.574468
68
0.710648
Rasoul-Jahanshahi
8adefb8961b214b786de58988af91b0c84172789
1,103
cpp
C++
src/ast/rewriter/label_rewriter.cpp
jar-ben/z3
7baa4f88b0cb4458461596d147e1f71853d77126
[ "MIT" ]
7,746
2015-03-26T18:59:33.000Z
2022-03-31T15:34:48.000Z
src/ast/rewriter/label_rewriter.cpp
jar-ben/z3
7baa4f88b0cb4458461596d147e1f71853d77126
[ "MIT" ]
5,162
2015-03-27T01:12:48.000Z
2022-03-31T14:56:16.000Z
src/ast/rewriter/label_rewriter.cpp
jar-ben/z3
7baa4f88b0cb4458461596d147e1f71853d77126
[ "MIT" ]
1,529
2015-03-26T18:45:30.000Z
2022-03-31T15:35:16.000Z
/*++ Copyright (c) 2015 Microsoft Corporation Module Name: label_rewriter.cpp Abstract: Basic rewriting rules for removing labels. Author: Nikolaj Bjorner (nbjorner) 2015-19-10 Notes: --*/ #include "ast/rewriter/rewriter.h" #include "ast/rewriter/rewriter_def.h" #include "ast/rewriter/label_rewrite...
20.425926
73
0.658205
jar-ben
8ae376ff7484994fb0d118556b27921a69aad370
535
cpp
C++
demo/main.cpp
SSBMTonberry/emusound
3f07b3af1158277cacaf63d78c47f47aeb18723d
[ "BSD-2-Clause" ]
4
2020-07-22T07:26:18.000Z
2020-09-01T22:10:21.000Z
demo/main.cpp
SSBMTonberry/emusound
3f07b3af1158277cacaf63d78c47f47aeb18723d
[ "BSD-2-Clause" ]
1
2020-08-21T06:43:04.000Z
2020-08-30T12:28:08.000Z
demo/main.cpp
SSBMTonberry/emusound
3f07b3af1158277cacaf63d78c47f47aeb18723d
[ "BSD-2-Clause" ]
null
null
null
// // Created by robin on 19.01.2020. // #include "ProgramManager.h" int emuprogramExample(int argc, char** argv) { std::string title = "emusound demo"; sf::ContextSettings settings; settings.antialiasingLevel = 0; esnddemo::ProgramManager program(title, sf::Vector2i(400 * 4, 240 * 4), sf::Vector2i(4...
22.291667
131
0.66729
SSBMTonberry
8ae52f3cde59794915f589b495859af442b3ea62
9,126
cpp
C++
Managment/src/slam_client.cpp
cxdcxd/sepanta3
a65a3415f046631ac4d6b91f9342966b0c030226
[ "MIT" ]
1
2018-09-11T18:40:25.000Z
2018-09-11T18:40:25.000Z
ROS/Managment/src/slam_client.cpp
cxdcxd/NAVbot
8068e7ca596708f1fbfc63b1f6f944b85dee0953
[ "MIT" ]
null
null
null
ROS/Managment/src/slam_client.cpp
cxdcxd/NAVbot
8068e7ca596708f1fbfc63b1f6f944b85dee0953
[ "MIT" ]
null
null
null
#include <ros/ros.h> #include <move_base_msgs/MoveBaseAction.h> #include <actionlib/client/simple_action_client.h> #include <tf/transform_broadcaster.h> #include <stdio.h> #include <boost/thread.hpp> #include <boost/algorithm/string.hpp> #include <boost/lexical_cast.hpp> #include <actionlib/client/simple_action_client...
23.952756
133
0.636862
cxdcxd
8ae5f6927c5f8ab729c252d6ea0ce8d9aad3c9a4
11,131
cpp
C++
python/remote_file_operation/download.cpp
colin-zhou/mrfs
12b8ed1f06bb1a8ed0637a3ee78231c5f8eec6d1
[ "MIT" ]
8
2017-12-23T10:40:57.000Z
2021-05-04T06:56:03.000Z
python/remote_file_operation/download.cpp
colin-zhou/mrfs
12b8ed1f06bb1a8ed0637a3ee78231c5f8eec6d1
[ "MIT" ]
null
null
null
python/remote_file_operation/download.cpp
colin-zhou/mrfs
12b8ed1f06bb1a8ed0637a3ee78231c5f8eec6d1
[ "MIT" ]
1
2019-01-29T06:39:04.000Z
2019-01-29T06:39:04.000Z
#include <Python.h> #include <stdio.h> #include <pthread.h> #include <unistd.h> #include <stdlib.h> #include <sys/types.h> #include <sys/ipc.h> #include <sys/sem.h> #include <errno.h> #include "download.h" static task_repository tr; static pthread_t dl_thread; static int c_sem_key = sem_key_start; static int dl_thread...
29.215223
88
0.583955
colin-zhou
8ae63d490cda9c5c36b938df14957f23e053c408
99,673
cpp
C++
compiler/src/cpp_synth.cpp
mdegirolami/stay
b47676e5340c2bbd93fe97d52a12a895a3492b22
[ "BSD-3-Clause" ]
null
null
null
compiler/src/cpp_synth.cpp
mdegirolami/stay
b47676e5340c2bbd93fe97d52a12a895a3492b22
[ "BSD-3-Clause" ]
null
null
null
compiler/src/cpp_synth.cpp
mdegirolami/stay
b47676e5340c2bbd93fe97d52a12a895a3492b22
[ "BSD-3-Clause" ]
null
null
null
#include <assert.h> #include <string.h> #include <stdio.h> #include <vector> #include <cinttypes> #include "cpp_synth.h" #include "FileName.h" #include "helpers.h" #include "builtin_functions.h" namespace SingNames { static const int KForcedPriority = 100; // i.e. requires no protection and never overrides order....
31.32401
149
0.558466
mdegirolami
8ae721269e40b7d5ffeeaed58bf0df78f43da481
1,365
cpp
C++
src/endgame.cpp
joestilin/Trading-Game
d795d375d4d9063703b7b4ca0a6ca420bd4a9c06
[ "MIT" ]
1
2021-11-19T02:56:04.000Z
2021-11-19T02:56:04.000Z
src/endgame.cpp
joestilin/Trading-Game
d795d375d4d9063703b7b4ca0a6ca420bd4a9c06
[ "MIT" ]
null
null
null
src/endgame.cpp
joestilin/Trading-Game
d795d375d4d9063703b7b4ca0a6ca420bd4a9c06
[ "MIT" ]
null
null
null
#include "endgame.h" EndGame::EndGame() { } void EndGame::Run(State &state, Controller &controller, Renderer &renderer, TradeLog &tradelog, std::size_t &target_frame_duration){ // timing variables Uint32 title_timestamp = SDL_GetTicks(); Uint32 start = SDL_GetTicks(); Uint32 frame_st...
27.3
76
0.625641
joestilin
8ae8ad8c155112d2466e1d49ce25a1a5357a158d
27,127
cpp
C++
source/adios2/engine/ssc/SscHelper.cpp
fengggli/ADIOS2
d0909894aaa36e24a253b16a62f371b500ff85a7
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
source/adios2/engine/ssc/SscHelper.cpp
fengggli/ADIOS2
d0909894aaa36e24a253b16a62f371b500ff85a7
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
source/adios2/engine/ssc/SscHelper.cpp
fengggli/ADIOS2
d0909894aaa36e24a253b16a62f371b500ff85a7
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
/* * Distributed under the OSI-approved Apache License, Version 2.0. See * accompanying file Copyright.txt for details. * * SscHelper.cpp * * Created on: Sep 30, 2019 * Author: Jason Wang */ #include "SscHelper.h" #include "adios2/common/ADIOSMacros.h" #include "adios2/helper/adiosFunctions.h" #include ...
35.740448
80
0.430752
fengggli
8aec6d4b0dbb0d87b0e22e71cd47b612af21bd4c
3,803
cpp
C++
test/testMat.cpp
anazli/raymann
425c908f275309da4dc1f77fe6ea0a27ec9e30f8
[ "BSD-2-Clause" ]
null
null
null
test/testMat.cpp
anazli/raymann
425c908f275309da4dc1f77fe6ea0a27ec9e30f8
[ "BSD-2-Clause" ]
null
null
null
test/testMat.cpp
anazli/raymann
425c908f275309da4dc1f77fe6ea0a27ec9e30f8
[ "BSD-2-Clause" ]
null
null
null
#include "geometry/sphere.h" #include "gtest/gtest.h" #include "tools/tools.h" using namespace testing; class TMat : public Test { public: Sphere *s; PointLight light; }; TEST_F(TMat, createsDefaultLight) { ASSERT_TRUE(light.position() == Point3f()); ASSERT_TRUE(light.intensity() == Vec3f()); } TEST_F(TMat...
29.944882
75
0.621615
anazli
8af1470d873f6e93e7b56a678c6e338261466f82
19,514
cpp
C++
src/other/openscenegraph/src/osgPlugins/freetype/FreeTypeFont.cpp
Zitara/BRLCAD
620449d036e38bd52257f6b5b10daa55d9284900
[ "BSD-4-Clause", "BSD-3-Clause" ]
1
2019-10-23T16:17:49.000Z
2019-10-23T16:17:49.000Z
src/other/openscenegraph/src/osgPlugins/freetype/FreeTypeFont.cpp
pombredanne/sf.net-brlcad
fb56f37c201b51241e8f3aa7b979436856f43b8c
[ "BSD-4-Clause", "BSD-3-Clause" ]
null
null
null
src/other/openscenegraph/src/osgPlugins/freetype/FreeTypeFont.cpp
pombredanne/sf.net-brlcad
fb56f37c201b51241e8f3aa7b979436856f43b8c
[ "BSD-4-Clause", "BSD-3-Clause" ]
1
2018-12-21T21:09:47.000Z
2018-12-21T21:09:47.000Z
/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield * * This library is open source and may be redistributed and/or modified under * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or * (at your option) any later version. The full license is in LICENSE file * included with this...
33.300341
164
0.606283
Zitara
8af1b5bd6347590cd332381fda6ab6b0d40f2900
1,507
cpp
C++
COM Interfaces/IDispatch.cpp
ntclark/PDFium-Control
4d1f41a7a48205ea26fb46dac59fec16c53df2ef
[ "BSD-3-Clause" ]
2
2019-02-21T06:25:03.000Z
2019-06-23T04:49:14.000Z
COM Interfaces/IDispatch.cpp
ntclark/PDFium-Control
4d1f41a7a48205ea26fb46dac59fec16c53df2ef
[ "BSD-3-Clause" ]
1
2020-08-29T03:02:46.000Z
2020-08-29T03:02:46.000Z
COM Interfaces/IDispatch.cpp
ntclark/PDFium-Control
4d1f41a7a48205ea26fb46dac59fec16c53df2ef
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2017, 2018, 2019 InnoVisioNate Inc. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "PDFiumControl.h" // IDispatch STDMETHODIMP PDFiumControl::GetTypeInfoCount(UINT * pctinfo) { *pctinfo = 1; ret...
30.755102
138
0.629064
ntclark
8af345c62166da543e44498f6c87fae58444f925
72
cpp
C++
src/native/WeChatHelper/WeChatHelper27278/WeChatHelper27278.cpp
xundididi/weicai-scraper
e0e0931f769814e04e8e3f8d7c670675f420b980
[ "MIT" ]
71
2019-11-30T08:37:15.000Z
2022-02-09T02:33:08.000Z
src/native/WeChatHelper/WeChatHelper27278/WeChatHelper27278.cpp
adams549659584/weicai-scraper
e0e0931f769814e04e8e3f8d7c670675f420b980
[ "MIT" ]
9
2020-03-04T08:18:46.000Z
2021-05-10T22:38:05.000Z
src/native/WeChatHelper/WeChatHelper27278/WeChatHelper27278.cpp
adams549659584/weicai-scraper
e0e0931f769814e04e8e3f8d7c670675f420b980
[ "MIT" ]
37
2019-12-12T11:22:30.000Z
2021-11-10T14:42:15.000Z
// WeChatHelper27278.cpp : 定义 DLL 应用程序的导出函数。 // #include "stdafx.h"
10.285714
45
0.666667
xundididi
8af8630a3bf0fa2e294f240b467fec98c75f9582
628
cpp
C++
Readme_Engine/PanelConsole.cpp
dafral/Readme_Engine
b815e1a29bfdf5e1acc9ff133d406ac9f12085d4
[ "MIT" ]
null
null
null
Readme_Engine/PanelConsole.cpp
dafral/Readme_Engine
b815e1a29bfdf5e1acc9ff133d406ac9f12085d4
[ "MIT" ]
null
null
null
Readme_Engine/PanelConsole.cpp
dafral/Readme_Engine
b815e1a29bfdf5e1acc9ff133d406ac9f12085d4
[ "MIT" ]
null
null
null
#include "PanelConsole.h" #include "Application.h" PanelConsole::PanelConsole(bool active = true) : Panel(active) {} PanelConsole::~PanelConsole() {} void PanelConsole::Draw() { ImGui::SetNextWindowPos(ImVec2(x, y)); ImGui::SetNextWindowSize(ImVec2(w, h)); ImGui::Begin("Console", &active); ImGui::Text(App->te...
19.625
62
0.654459
dafral
8af8ce245411708801abe5cde44f4273199529df
3,738
cpp
C++
Samples/UWP/D3D12PipelineStateCache/src/MemoryMappedFile.cpp
mvisic/DirectX-Graphics-Samples
5055b4f062bbc2e5f746cca377f5760c394bc2d6
[ "MIT" ]
2
2020-09-24T09:31:52.000Z
2021-01-04T08:10:02.000Z
Samples/UWP/D3D12PipelineStateCache/src/MemoryMappedFile.cpp
mvisic/DirectX-Graphics-Samples
5055b4f062bbc2e5f746cca377f5760c394bc2d6
[ "MIT" ]
null
null
null
Samples/UWP/D3D12PipelineStateCache/src/MemoryMappedFile.cpp
mvisic/DirectX-Graphics-Samples
5055b4f062bbc2e5f746cca377f5760c394bc2d6
[ "MIT" ]
2
2020-09-24T09:31:56.000Z
2022-01-14T01:03:06.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...
24.116129
119
0.644195
mvisic
8afb1742942826175b02014cfc8a551f07d540d2
736
hpp
C++
include/amtrs/.inc/io-size.hpp
isaponsoft/libamtrs
5adf821ee15592fc3280985658ca8a4b175ffcaa
[ "BSD-2-Clause-FreeBSD" ]
1
2019-12-10T02:12:49.000Z
2019-12-10T02:12:49.000Z
include/amtrs/.inc/io-size.hpp
isaponsoft/libamtrs
5adf821ee15592fc3280985658ca8a4b175ffcaa
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
include/amtrs/.inc/io-size.hpp
isaponsoft/libamtrs
5adf821ee15592fc3280985658ca8a4b175ffcaa
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
/* Copyright (c) 2019, isaponsoft (Isao Shibuya) All rights reserved. * * Use of this source code is governed by a BSD-style license that * * can be found in the LICENSE file. */ #ifndef __libamtrs__io__size__hpp #define __libamtrs__io__size__hpp AMTRS_IO_NAMESPACE_BEGIN templa...
21.028571
72
0.686141
isaponsoft
8afcb7a84d82e8b57abbb6f1696651e331212a3e
1,354
cc
C++
src/Code.cc
GuessEver/grun-core
4250e00393251ee3a07124a9945cf1835f96922b
[ "MIT" ]
2
2017-05-06T10:02:13.000Z
2019-12-09T12:58:01.000Z
src/Code.cc
GuessEver/grun-core
4250e00393251ee3a07124a9945cf1835f96922b
[ "MIT" ]
null
null
null
src/Code.cc
GuessEver/grun-core
4250e00393251ee3a07124a9945cf1835f96922b
[ "MIT" ]
1
2018-10-09T11:17:57.000Z
2018-10-09T11:17:57.000Z
// // Created by guessever on 5/3/17. // #include <string.h> #include "Code.h" #include "Grun.h" /** * get extension from filename * @param filename * @return extension */ const char *getExtension(const char *filename) { long len = strlen(filename) - 1; for (long i = 0; filename[i]; i++) { if (fil...
24.178571
82
0.526588
GuessEver
c10007ec3dce74631d45a270634358bcd3f2dc29
665
cpp
C++
Week-3/Day-16-checkValidString.cpp
utkarshavardhana/30-day-leetcoding-challenge
a47b14f74f28961a032d1f00ce710ea3dcb0d910
[ "MIT" ]
2
2020-05-02T04:21:56.000Z
2020-05-14T04:19:47.000Z
Week-3/Day-16-checkValidString.cpp
utkarshavardhana/30-day-leetcoding-challenge
a47b14f74f28961a032d1f00ce710ea3dcb0d910
[ "MIT" ]
null
null
null
Week-3/Day-16-checkValidString.cpp
utkarshavardhana/30-day-leetcoding-challenge
a47b14f74f28961a032d1f00ce710ea3dcb0d910
[ "MIT" ]
null
null
null
class Solution { public: bool checkValidString(string s) { stack<int> st, st1; int i(0); for(const auto &c: s) { if(c == '(') st.push(i); else if(c == '*') st1.push(i); else { if(st.empty() && st1.empty()) return false; ...
25.576923
74
0.350376
utkarshavardhana
c1038a684e9e79e241ee1aaac41bcd566f98a22f
314
cpp
C++
usaco/milkpails.cpp
datpq/competitive-programming
ed5733cc55fa4167c4a2e828894b044ea600dcac
[ "MIT" ]
1
2022-02-24T21:35:18.000Z
2022-02-24T21:35:18.000Z
usaco/milkpails.cpp
datpq/competitive-programming
ed5733cc55fa4167c4a2e828894b044ea600dcac
[ "MIT" ]
null
null
null
usaco/milkpails.cpp
datpq/competitive-programming
ed5733cc55fa4167c4a2e828894b044ea600dcac
[ "MIT" ]
1
2022-02-12T14:40:21.000Z
2022-02-12T14:40:21.000Z
#include <fstream> using namespace std; int main() { ifstream ifs("pails.in"); ofstream ofs("pails.out"); int x, y, m; ifs >> x >> y >> m; int ans = m; for (int i = 0; i <= (m / x); i++) { int remainder = m - (i * x); ans = min(ans, remainder % y); if (ans == 0) break; } ofs << (m - ans) << endl; }
19.625
37
0.515924
datpq
c10505d2cd710a8e041e77fb1120b415f6102343
1,674
hpp
C++
IgzModelConverterGUI/3rd_party/PreCore/datas/Matrix44.hpp
AdventureT/IgzModelConverter
7b213d0dd32f04bc01524587a4fa357d204e1c04
[ "MIT" ]
9
2019-10-11T18:12:15.000Z
2022-03-26T23:57:05.000Z
IgzModelConverterGUI/3rd_party/PreCore/datas/Matrix44.hpp
AdventureT/IgzModelConverter
7b213d0dd32f04bc01524587a4fa357d204e1c04
[ "MIT" ]
2
2021-07-29T11:29:30.000Z
2021-12-12T20:40:08.000Z
IgzModelConverterGUI/3rd_party/PreCore/datas/Matrix44.hpp
AdventureT/IgzModelConverter
7b213d0dd32f04bc01524587a4fa357d204e1c04
[ "MIT" ]
1
2020-10-01T23:00:28.000Z
2020-10-01T23:00:28.000Z
/* esMatrix44 class is a simple affine matrix 4x4 more info in README for PreCore Project Copyright 2018-2019 Lukas Cone 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 o...
38.045455
80
0.676225
AdventureT
c10709bbee231e2759696c8e0449154f77cc4fee
18,464
cpp
C++
FireRender.Maya.Src/AnimationExporter.cpp
Speedwag00n/RadeonProRenderMayaPlugin
a6560354aeeccc9f1a31a321fb04cb372e220a3b
[ "Apache-2.0" ]
null
null
null
FireRender.Maya.Src/AnimationExporter.cpp
Speedwag00n/RadeonProRenderMayaPlugin
a6560354aeeccc9f1a31a321fb04cb372e220a3b
[ "Apache-2.0" ]
1
2021-04-03T09:39:16.000Z
2021-04-03T09:39:16.000Z
FireRender.Maya.Src/AnimationExporter.cpp
Speedwag00n/RadeonProRenderMayaPlugin
a6560354aeeccc9f1a31a321fb04cb372e220a3b
[ "Apache-2.0" ]
null
null
null
#include "AnimationExporter.h" #include "RprLoadStore.h" #include <maya/MItDag.h> #include <maya/MGlobal.h> #include <maya/MDagPath.h> #include <maya/MAnimUtil.h> #include <maya/MTime.h> #include <maya/MQuaternion.h> #include <maya/MFnTransform.h> #include <maya/MSelectionList.h> #include <maya/MFnMatrixData.h> #inc...
26.528736
148
0.747455
Speedwag00n
c10bc8063d8b22b7096bbed7bbb9aff6dc1b138d
54,855
cpp
C++
tf2_src/engine/vengineserver_impl.cpp
IamIndeedGamingAsHardAsICan03489/TeamFortress2
1b81dded673d49adebf4d0958e52236ecc28a956
[ "MIT" ]
4
2021-10-03T05:16:55.000Z
2021-12-28T16:49:27.000Z
tf2_src/engine/vengineserver_impl.cpp
Counter2828/TeamFortress2
1b81dded673d49adebf4d0958e52236ecc28a956
[ "MIT" ]
null
null
null
tf2_src/engine/vengineserver_impl.cpp
Counter2828/TeamFortress2
1b81dded673d49adebf4d0958e52236ecc28a956
[ "MIT" ]
3
2022-02-02T18:09:58.000Z
2022-03-06T18:54:39.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // // $Workfile: $ // $NoKeywords: $ //===========================================================================// #include "server_pch.h" #include "tier0/valve_minmax_off.h" #include <algorithm> #include "tier0/valve_min...
26.071768
159
0.652338
IamIndeedGamingAsHardAsICan03489
c10c7a43c480235d208526c1abf035cec9f8a363
62
cpp
C++
source/lib.cpp
vsdmars/sing
6c84c4c92c446b119291d205a50df450ae994326
[ "Unlicense" ]
null
null
null
source/lib.cpp
vsdmars/sing
6c84c4c92c446b119291d205a50df450ae994326
[ "Unlicense" ]
null
null
null
source/lib.cpp
vsdmars/sing
6c84c4c92c446b119291d205a50df450ae994326
[ "Unlicense" ]
null
null
null
#include "lib.hpp" library::library() : name("sing") { }
8.857143
18
0.564516
vsdmars
c10d66994ef114033e8fe779172cf9ddc10c4bdc
566
hh
C++
src/proof-fwd.hh
ciaranm/certified-constraint-solver
986b0149341474f911977f3093b1224ada90f605
[ "MIT" ]
null
null
null
src/proof-fwd.hh
ciaranm/certified-constraint-solver
986b0149341474f911977f3093b1224ada90f605
[ "MIT" ]
null
null
null
src/proof-fwd.hh
ciaranm/certified-constraint-solver
986b0149341474f911977f3093b1224ada90f605
[ "MIT" ]
1
2019-08-21T03:29:11.000Z
2019-08-21T03:29:11.000Z
/* vim: set sw=4 sts=4 et foldmethod=syntax : */ #ifndef CERTIFIED_CONSTRAINT_SOLVER_GUARD_SRC_PROOF_FWD_HH #define CERTIFIED_CONSTRAINT_SOLVER_GUARD_SRC_PROOF_FWD_HH 1 #include "strong_typedef.hpp" #include <string> struct Proof; using UnderlyingVariableID = jss::strong_typedef<struct UnderlyingVariableIDTag, std:...
29.789474
93
0.803887
ciaranm
c10f3febab8b3be2d570fec9be19669791f9ceb8
7,311
cpp
C++
tests/Unit/IO/Observers/Test_ReductionObserver.cpp
marissawalker/spectre
afc8205e2f697de5e8e4f05e881499e05c9fd8a0
[ "MIT" ]
null
null
null
tests/Unit/IO/Observers/Test_ReductionObserver.cpp
marissawalker/spectre
afc8205e2f697de5e8e4f05e881499e05c9fd8a0
[ "MIT" ]
null
null
null
tests/Unit/IO/Observers/Test_ReductionObserver.cpp
marissawalker/spectre
afc8205e2f697de5e8e4f05e881499e05c9fd8a0
[ "MIT" ]
null
null
null
// Distributed under the MIT License. // See LICENSE.txt for details. #include "tests/Unit/TestingFramework.hpp" #include <cstddef> #include <functional> #include <string> #include <tuple> #include <type_traits> #include <utility> #include <vector> #include "DataStructures/Matrix.hpp" #include "Domain/ElementId.hpp"...
42.754386
79
0.669265
marissawalker
c10f5d63b52f31b478175dc4b2ca9d9766a6f40c
689
cpp
C++
Program's_Contributed_By_Contributors/C++_Programs/naive_pattern_searching.cpp
PrajaktaSathe/Hacktoberfest2k21
4f256b4010f96220ee02804a683f379bcd023b15
[ "MIT" ]
null
null
null
Program's_Contributed_By_Contributors/C++_Programs/naive_pattern_searching.cpp
PrajaktaSathe/Hacktoberfest2k21
4f256b4010f96220ee02804a683f379bcd023b15
[ "MIT" ]
null
null
null
Program's_Contributed_By_Contributors/C++_Programs/naive_pattern_searching.cpp
PrajaktaSathe/Hacktoberfest2k21
4f256b4010f96220ee02804a683f379bcd023b15
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; void patternSearch(char* pattern, char* string) { int m = strlen(pattern); int n = strlen(string); for (int i = 0; i <= n - m; i++) { int j; for (j = 0; j < m; j++) if (string[i + j] != pattern[j]) break; if (j == m) //returning the index wh...
23.758621
113
0.597968
PrajaktaSathe
c11010af02593b88ba905329c825b2e7d2a93b6d
2,406
cpp
C++
src/welcome_scene.cpp
toivjon/sdl2-pong
edf08a56d54759ae5074d52a8e9a81b746c02561
[ "MIT" ]
null
null
null
src/welcome_scene.cpp
toivjon/sdl2-pong
edf08a56d54759ae5074d52a8e9a81b746c02561
[ "MIT" ]
null
null
null
src/welcome_scene.cpp
toivjon/sdl2-pong
edf08a56d54759ae5074d52a8e9a81b746c02561
[ "MIT" ]
null
null
null
#include "welcome_scene.h" #include "court_scene.h" #include "game.h" #include <SDL.h> using namespace pong; WelcomeScene::WelcomeScene(Game& game) : mGame(game), mTopicTexture(nullptr), mLeftPlayerInstructions(nullptr), mRightPlayerInstructions(nullptr), mContinueInstructions(nullptr...
28.305882
105
0.694929
toivjon
c11212d3c2d37107460132461fe8ccafe5860c13
139
cpp
C++
engine/src/SimpleGame.cpp
irishpatrick/sdl-game
23ff8330fe2aaa765119df40d62e50570f606f07
[ "MIT-0", "MIT" ]
null
null
null
engine/src/SimpleGame.cpp
irishpatrick/sdl-game
23ff8330fe2aaa765119df40d62e50570f606f07
[ "MIT-0", "MIT" ]
null
null
null
engine/src/SimpleGame.cpp
irishpatrick/sdl-game
23ff8330fe2aaa765119df40d62e50570f606f07
[ "MIT-0", "MIT" ]
null
null
null
#include "SimpleGame.hpp" namespace engine { SimpleGame::SimpleGame() : Game() { } SimpleGame::~SimpleGame() { } }
9.266667
35
0.568345
irishpatrick
c112b01ba361511903c19175435682942f98407f
346,839
cc
C++
project4/mariadb/server/sql/sql_table.cc
jiunbae/ITE4065
3b9fcf9317e93ca7c829f1438b85f0f5ea2885db
[ "MIT" ]
11
2017-10-28T08:41:08.000Z
2021-06-24T07:24:21.000Z
project4/mariadb/server/sql/sql_table.cc
jiunbae/ITE4065
3b9fcf9317e93ca7c829f1438b85f0f5ea2885db
[ "MIT" ]
null
null
null
project4/mariadb/server/sql/sql_table.cc
jiunbae/ITE4065
3b9fcf9317e93ca7c829f1438b85f0f5ea2885db
[ "MIT" ]
4
2017-09-07T09:33:26.000Z
2021-02-19T07:45:08.000Z
/* Copyright (c) 2000, 2016, Oracle and/or its affiliates. Copyright (c) 2010, 2017, MariaDB Corporation. 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; version 2 of the License. ...
33.404507
100
0.625077
jiunbae
c113ea03e9db5a31e4a47dc40a69e4463857cd95
2,038
cpp
C++
Engine/src/Platform/RayTracer/Samplers/MultiJittered.cpp
jeroennelis/Engine
43ed6c76d1eeeeddd7fd2b3b38d17ed72d312f1f
[ "Apache-2.0" ]
null
null
null
Engine/src/Platform/RayTracer/Samplers/MultiJittered.cpp
jeroennelis/Engine
43ed6c76d1eeeeddd7fd2b3b38d17ed72d312f1f
[ "Apache-2.0" ]
null
null
null
Engine/src/Platform/RayTracer/Samplers/MultiJittered.cpp
jeroennelis/Engine
43ed6c76d1eeeeddd7fd2b3b38d17ed72d312f1f
[ "Apache-2.0" ]
null
null
null
#include "enpch.h" #include "MultiJittered.h" #include "Engine/Maths.h" namespace Engine { MultiJittered::MultiJittered() :Sampler() { generate_samples(); } MultiJittered::MultiJittered(const int numSamples) : Sampler(numSamples) { generate_samples(); } MultiJittered::MultiJittered(const int numSampl...
24.261905
105
0.594701
jeroennelis
c114980004646a54d3235646452a9c60715c2618
790
cpp
C++
src/main/src/hr-test8.cpp
jasonwee/cpp_lesson
084d03759956e2ab378c45c93611ed9216e87536
[ "Apache-2.0" ]
null
null
null
src/main/src/hr-test8.cpp
jasonwee/cpp_lesson
084d03759956e2ab378c45c93611ed9216e87536
[ "Apache-2.0" ]
null
null
null
src/main/src/hr-test8.cpp
jasonwee/cpp_lesson
084d03759956e2ab378c45c93611ed9216e87536
[ "Apache-2.0" ]
null
null
null
#include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> using namespace std; int main() { int n=0,i=0,j=0; string temp; cin >> n; vector<vector<int> > a(n, vector<int>(n)); for (i = 0; i < n; i++) { cin >> temp; j = 0; for (char& c : temp) { a[i][j] ...
19.268293
110
0.386076
jasonwee
c114d89d3f36bf5664fa842d7f1bf9c3ddded22e
1,016
cpp
C++
Backtracking/letter_phone.cpp
aneesh001/InterviewBit
fcbac096fd8e9554a52db10dc9e5a88cb8a83ef3
[ "MIT" ]
null
null
null
Backtracking/letter_phone.cpp
aneesh001/InterviewBit
fcbac096fd8e9554a52db10dc9e5a88cb8a83ef3
[ "MIT" ]
null
null
null
Backtracking/letter_phone.cpp
aneesh001/InterviewBit
fcbac096fd8e9554a52db10dc9e5a88cb8a83ef3
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; map<char, vector<char>> m; string current; void util(string &A, int i, vector<string> &ans) { if(i >= A.size()) { ans.push_back(current); return; } for(char ch: m[A[i]]) { current.push_back(ch); util(A, i + 1, ans); current.pop_back(); } } vector<string> l...
20.734694
51
0.540354
aneesh001
c11682a871c77334bfadcc50e6e2df9c4b193e48
6,416
cpp
C++
plugins/QGames/Tga.cpp
joeriedel/Tread3.0A2
337c4aa74d554e21b50d6bd4406ce0f67aa39144
[ "MIT" ]
1
2020-07-19T10:19:18.000Z
2020-07-19T10:19:18.000Z
plugins/QGames/Tga.cpp
joeriedel/Tread3.0A2
337c4aa74d554e21b50d6bd4406ce0f67aa39144
[ "MIT" ]
null
null
null
plugins/QGames/Tga.cpp
joeriedel/Tread3.0A2
337c4aa74d554e21b50d6bd4406ce0f67aa39144
[ "MIT" ]
null
null
null
/////////////////////////////////////////////////////////////////////////////// // Tga.cpp /////////////////////////////////////////////////////////////////////////////// // Copyright (c) 2008, Joe Riedel // All rights reserved. // // Redistribution and use in source and binary forms, // with or without modification, ...
30.552381
110
0.618142
joeriedel
c1179bc0c3e93085b89fae559b0685a68a1636d9
24,418
cpp
C++
src/ofxAppContent.cpp
local-projects/ofxLpApp
ac7917ab3f6e83a7c126f512e1397742910a2ef5
[ "MIT" ]
21
2016-10-04T20:49:23.000Z
2020-11-14T11:20:22.000Z
src/ofxAppContent.cpp
local-projects/ofxLpApp
ac7917ab3f6e83a7c126f512e1397742910a2ef5
[ "MIT" ]
2
2020-09-10T21:56:07.000Z
2020-09-17T10:02:36.000Z
src/ofxAppContent.cpp
local-projects/ofxLpApp
ac7917ab3f6e83a7c126f512e1397742910a2ef5
[ "MIT" ]
4
2016-09-11T17:01:18.000Z
2019-05-21T02:48:22.000Z
// // ofxAppContent.cpp // // Created by Oriol Ferrer Mesià aug/2016 // // #include "ofxAppContent.h" #include "ofxAppUtils.h" #include "ofxApp.h" #include "ofxChecksum.h" #include "ofxAppErrorReporter.h" #include "ofxGoogleAnalytics.h" void ofxAppContent::setup( const std::string & ID, const std::string & ...
36.718797
201
0.715497
local-projects
c117aaceae41803129778da51a659d80452bd47c
3,871
cpp
C++
cnes/src/otb/Noise.cpp
dardok/ossim-plugins
3406ffed9fcab88fe4175b845381611ac4122c81
[ "MIT" ]
null
null
null
cnes/src/otb/Noise.cpp
dardok/ossim-plugins
3406ffed9fcab88fe4175b845381611ac4122c81
[ "MIT" ]
null
null
null
cnes/src/otb/Noise.cpp
dardok/ossim-plugins
3406ffed9fcab88fe4175b845381611ac4122c81
[ "MIT" ]
1
2019-11-02T11:01:58.000Z
2019-11-02T11:01:58.000Z
//---------------------------------------------------------------------------- // // "Copyright Centre National d'Etudes Spatiales" // // License: LGPL // // See LICENSE.txt file in the top level directory for more details. // //---------------------------------------------------------------------------- // $Id$ #inc...
24.043478
122
0.624128
dardok
c118842241e729df29e6c222660b25c9edbaa944
47,148
cpp
C++
DashIO.cpp
dashio-connect/arduino-dashio
93278a02463a40dad31a76b2dc5eb35a4d7547ed
[ "MIT" ]
null
null
null
DashIO.cpp
dashio-connect/arduino-dashio
93278a02463a40dad31a76b2dc5eb35a4d7547ed
[ "MIT" ]
null
null
null
DashIO.cpp
dashio-connect/arduino-dashio
93278a02463a40dad31a76b2dc5eb35a4d7547ed
[ "MIT" ]
null
null
null
/* DashIO.cpp - Library for the DashIO comms protocol. Created by C. Tuffnell November 17, 2020 MIT License Copyright (c) 2020 Craig Tuffnell, DashIO Connect Limited Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software...
34.464912
227
0.673984
dashio-connect
c11ca24604be54f64edee25194126d5354d859bd
12,253
cpp
C++
libs2eplugins/src/s2e/Plugins/ExecutionTracers/UserSpaceTracer.cpp
benquike/s2e
f88cb796261d13cc2302c6bf0bc43e5da245ea6a
[ "MIT" ]
2
2021-12-17T07:04:43.000Z
2022-01-28T23:45:45.000Z
libs2eplugins/src/s2e/Plugins/ExecutionTracers/UserSpaceTracer.cpp
benquike/s2e
f88cb796261d13cc2302c6bf0bc43e5da245ea6a
[ "MIT" ]
null
null
null
libs2eplugins/src/s2e/Plugins/ExecutionTracers/UserSpaceTracer.cpp
benquike/s2e
f88cb796261d13cc2302c6bf0bc43e5da245ea6a
[ "MIT" ]
null
null
null
/// /// Copyright (C) 2014-2015, Dependable Systems Laboratory, EPFL /// Copyright (C) 2014-2016, Cyberhaven /// /// 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, inc...
34.226257
118
0.662613
benquike
c11fac388210772f07cb200ee217108a10da0720
615
cc
C++
kythe/cxx/indexer/cxx/testdata/tvar_template/template_ps_defn.cc
BearerPipelineTest/kythe
c496c5c00177e437e28bb3a75a5ef811d5d55ff7
[ "Apache-2.0" ]
1,168
2015-01-27T10:19:25.000Z
2018-10-30T15:07:11.000Z
kythe/cxx/indexer/cxx/testdata/tvar_template/template_ps_defn.cc
BearerPipelineTest/kythe
c496c5c00177e437e28bb3a75a5ef811d5d55ff7
[ "Apache-2.0" ]
2,811
2015-01-29T16:19:04.000Z
2018-11-01T19:48:06.000Z
kythe/cxx/indexer/cxx/testdata/tvar_template/template_ps_defn.cc
BearerPipelineTest/kythe
c496c5c00177e437e28bb3a75a5ef811d5d55ff7
[ "Apache-2.0" ]
165
2015-01-27T19:06:27.000Z
2018-10-30T17:31:10.000Z
// Checks that declarations and definitions of templates are distinguished. //- @C defines/binding FwdTemplate template <typename T> class C; //- @C defines/binding FwdSpec template <> class C <int>; //- @C defines/binding Template //- @C completes/uniquely FwdTemplate template <typename T> class C { }; //- @C defi...
25.625
75
0.726829
BearerPipelineTest
c12061ea6d495f6cbb54a586ee13c5faac0dcc83
2,550
hpp
C++
source/xyo/xyo-managedmemory-tsingletonprocess.hpp
g-stefan/xyo
e203cb699d6bba46eae6c8157f27ea29ab7506f1
[ "MIT", "Unlicense" ]
null
null
null
source/xyo/xyo-managedmemory-tsingletonprocess.hpp
g-stefan/xyo
e203cb699d6bba46eae6c8157f27ea29ab7506f1
[ "MIT", "Unlicense" ]
null
null
null
source/xyo/xyo-managedmemory-tsingletonprocess.hpp
g-stefan/xyo
e203cb699d6bba46eae6c8157f27ea29ab7506f1
[ "MIT", "Unlicense" ]
null
null
null
// // XYO // // Copyright (c) 2020-2021 Grigore Stefan <g_stefan@yahoo.com> // Created by Grigore Stefan <g_stefan@yahoo.com> // // MIT License (MIT) <http://opensource.org/licenses/MIT> // #ifndef XYO_MANAGEDMEMORY_TSINGLETONPROCESS_HPP #define XYO_MANAGEDMEMORY_TSINGLETONPROCESS_HPP #ifndef XYO_MANAGEDM...
24.056604
79
0.663137
g-stefan
c1233652cc2ab2625d61c8c01b8fe368ad956c66
1,152
cpp
C++
Plugins/org.blueberry.core.runtime/src/internal/berryRegistryContributor.cpp
zhaomengxiao/MITK
a09fd849a4328276806008bfa92487f83a9e2437
[ "BSD-3-Clause" ]
1
2022-03-03T12:03:32.000Z
2022-03-03T12:03:32.000Z
Plugins/org.blueberry.core.runtime/src/internal/berryRegistryContributor.cpp
zhaomengxiao/MITK
a09fd849a4328276806008bfa92487f83a9e2437
[ "BSD-3-Clause" ]
1
2021-12-22T10:19:02.000Z
2021-12-22T10:19:02.000Z
Plugins/org.blueberry.core.runtime/src/internal/berryRegistryContributor.cpp
zhaomengxiao/MITK_lancet
a09fd849a4328276806008bfa92487f83a9e2437
[ "BSD-3-Clause" ]
1
2020-11-27T09:41:18.000Z
2020-11-27T09:41:18.000Z
/*============================================================================ The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center (DKFZ) All rights reserved. Use of this source code is governed by a 3-clause BSD license that can be found in the LICENSE file. =================...
21.333333
92
0.633681
zhaomengxiao
c12754fe654a4374f75083a3e645efd115126352
6,148
cc
C++
src/app.cc
PaoJiao/slide
fccdcac94e951de113b8f0116084c41974e956da
[ "MIT" ]
null
null
null
src/app.cc
PaoJiao/slide
fccdcac94e951de113b8f0116084c41974e956da
[ "MIT" ]
null
null
null
src/app.cc
PaoJiao/slide
fccdcac94e951de113b8f0116084c41974e956da
[ "MIT" ]
null
null
null
#include "app.h" #include "debug_print.h" namespace slide { App::App(void) { wview_.title = "Slide"; wview_.url = html_data_uri; wview_.width = 480; wview_.height = 320; wview_.resizable = 1; wview_.userdata = this; // The callback for when a webview event is invoked is the handleCommand // method wv...
32.877005
80
0.621828
PaoJiao
c128913a7f57128044d9526daee53d864ed3b411
183
cpp
C++
src/core/i_heat_source_component.cpp
MrPepperoni/Reaping2-1
4ffef3cca1145ddc06ca87d2968c7b0ffd3ba3fd
[ "MIT" ]
3
2015-02-22T20:34:28.000Z
2020-03-04T08:55:25.000Z
src/core/i_heat_source_component.cpp
MrPepperoni/Reaping2-1
4ffef3cca1145ddc06ca87d2968c7b0ffd3ba3fd
[ "MIT" ]
22
2015-12-13T16:29:40.000Z
2017-03-04T15:45:44.000Z
src/core/i_heat_source_component.cpp
Reaping2/Reaping2
0d4c988c99413e50cc474f6206cf64176eeec95d
[ "MIT" ]
14
2015-11-23T21:25:09.000Z
2020-07-17T17:03:23.000Z
#include "i_heat_source_component.h" #include <portable_iarchive.hpp> #include <portable_oarchive.hpp> REAPING2_CLASS_EXPORT_IMPLEMENT( IHeatSourceComponent, IHeatSourceComponent );
30.5
78
0.852459
MrPepperoni
c1299f21b1f8a218c5a8dd42e4ce9fd050e391cc
737
cpp
C++
Unidad-3/Aula25/AViciusPikemanEasy.cpp
luismoroco/ProgrCompetitiva
011cdb18749a16d17fd635a7c36a8a21b2b643d9
[ "BSD-3-Clause" ]
null
null
null
Unidad-3/Aula25/AViciusPikemanEasy.cpp
luismoroco/ProgrCompetitiva
011cdb18749a16d17fd635a7c36a8a21b2b643d9
[ "BSD-3-Clause" ]
null
null
null
Unidad-3/Aula25/AViciusPikemanEasy.cpp
luismoroco/ProgrCompetitiva
011cdb18749a16d17fd635a7c36a8a21b2b643d9
[ "BSD-3-Clause" ]
null
null
null
#include <bits/stdc++.h> using namespace std; // https://open.kattis.com/problems/pikemaneasy typedef long long int ll; ll ARRA[10000]; int COMPARATION(const void *p, const void *q) { int *a = (int *) p; int *b = (int *) q; return *a - *b; } int main(int argc, char const *argv[]) { ll x, y, z, m, ...
21.676471
47
0.447761
luismoroco
c12a5cddd924ce38ee929ca606ed7cac3786cb88
313
hpp
C++
src/copy_and_move/src/Foo.hpp
VincentPopie/Sandbox
882c5bf7325af595739fd9004ba1774ceeee272f
[ "MIT" ]
null
null
null
src/copy_and_move/src/Foo.hpp
VincentPopie/Sandbox
882c5bf7325af595739fd9004ba1774ceeee272f
[ "MIT" ]
null
null
null
src/copy_and_move/src/Foo.hpp
VincentPopie/Sandbox
882c5bf7325af595739fd9004ba1774ceeee272f
[ "MIT" ]
null
null
null
#pragma once #include<string> /* * Class Foo contains a _name attribute. */ class Foo{ public: /* * Foo constructor, set the _name. */ Foo(const std::string& iName): _name(iName){} /* * Retrieve Foo name. */ std::string getName() const { return _name;} private: std::string _name; };
13.041667
47
0.616613
VincentPopie
c12cf46e106a5cb8cedbeef053419ce52ec1c00a
283
hpp
C++
bench/common/operator_new_insane.hpp
snake0/upcxx-2020.10.0
dcd313a65587efcdefdb4fdfb197389a0e390ccd
[ "BSD-3-Clause-LBNL" ]
null
null
null
bench/common/operator_new_insane.hpp
snake0/upcxx-2020.10.0
dcd313a65587efcdefdb4fdfb197389a0e390ccd
[ "BSD-3-Clause-LBNL" ]
null
null
null
bench/common/operator_new_insane.hpp
snake0/upcxx-2020.10.0
dcd313a65587efcdefdb4fdfb197389a0e390ccd
[ "BSD-3-Clause-LBNL" ]
1
2021-06-10T11:14:25.000Z
2021-06-10T11:14:25.000Z
// This file is intentionally empty. It stands only to pull in // "operator_new_insane.cpp" via nobs's header/source file extension matching. // Since the only two symbols the .cpp defines (operator new/delete) // are already intrinsically defined, there is nothing to be done here.
56.6
78
0.773852
snake0
c12f16268ac7328d71d5a6ac37ddfcc31cf934ab
3,151
cc
C++
mindspore/ccsrc/plugin/device/cpu/kernel/rl/fifo_replay_buffer.cc
httpsgithu/mindspore
c29d6bb764e233b427319cb89ba79e420f1e2c64
[ "Apache-2.0" ]
1
2022-02-23T09:13:43.000Z
2022-02-23T09:13:43.000Z
mindspore/ccsrc/plugin/device/cpu/kernel/rl/fifo_replay_buffer.cc
949144093/mindspore
c29d6bb764e233b427319cb89ba79e420f1e2c64
[ "Apache-2.0" ]
null
null
null
mindspore/ccsrc/plugin/device/cpu/kernel/rl/fifo_replay_buffer.cc
949144093/mindspore
c29d6bb764e233b427319cb89ba79e420f1e2c64
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2022 Huawei Technologies 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...
32.484536
117
0.675024
httpsgithu
c12fac520b506da953ffbe92b0e4f58dfac8cf71
3,920
cxx
C++
Applications/AdaptiveParaView/pqCustomDisplayPolicy.cxx
matthb2/ParaView-beforekitwareswtichedtogit
e47e57d6ce88444d9e6af9ab29f9db8c23d24cef
[ "BSD-3-Clause" ]
1
2021-07-31T19:38:03.000Z
2021-07-31T19:38:03.000Z
Applications/AdaptiveParaView/pqCustomDisplayPolicy.cxx
matthb2/ParaView-beforekitwareswtichedtogit
e47e57d6ce88444d9e6af9ab29f9db8c23d24cef
[ "BSD-3-Clause" ]
null
null
null
Applications/AdaptiveParaView/pqCustomDisplayPolicy.cxx
matthb2/ParaView-beforekitwareswtichedtogit
e47e57d6ce88444d9e6af9ab29f9db8c23d24cef
[ "BSD-3-Clause" ]
2
2019-01-22T19:51:40.000Z
2021-07-31T19:38:05.000Z
#include "pqCustomDisplayPolicy.h" #include <pqPipelineSource.h> #include <vtkSMSourceProxy.h> #include <pqOutputPort.h> #include <vtkPVDataInformation.h> #include <QString> #include <vtkStructuredData.h> #include <pqTwoDRenderView.h> #include <pqApplicationCore.h> #include <pqDataRepresentation.h> #include <pqObjectBu...
29.69697
81
0.653571
matthb2
c1308da8318fd5d74b8b5679b4252086a8d3d663
6,181
cpp
C++
src/utils/base64.cpp
twilio/Breakout_Massive_SDK
314a6460258c730ba5401f4895c08a0196e4cb2a
[ "Apache-2.0" ]
3
2020-06-21T13:26:28.000Z
2021-03-03T23:16:12.000Z
src/utils/base64.cpp
twilio/Breakout_Massive_SDK
314a6460258c730ba5401f4895c08a0196e4cb2a
[ "Apache-2.0" ]
11
2019-11-29T14:46:35.000Z
2020-02-17T10:19:54.000Z
src/utils/base64.cpp
twilio/breakout-massive-iot
314a6460258c730ba5401f4895c08a0196e4cb2a
[ "Apache-2.0" ]
2
2021-03-17T08:59:46.000Z
2021-09-17T05:38:17.000Z
/* Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. * The ASF licenses this file to You 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 * * h...
35.936047
119
0.58421
twilio
c13115439641c23f745ad4e6df82e19dccb84f1e
553
cpp
C++
Codeforces/474D - Flowers.cpp
Joon7891/Competitive-Programming
d860b7ad932cd5a6fb91fdc8c53101da57f4a408
[ "MIT" ]
2
2021-04-13T00:19:56.000Z
2021-04-13T01:19:45.000Z
Codeforces/474D - Flowers.cpp
Joon7891/Competitive-Programming
d860b7ad932cd5a6fb91fdc8c53101da57f4a408
[ "MIT" ]
null
null
null
Codeforces/474D - Flowers.cpp
Joon7891/Competitive-Programming
d860b7ad932cd5a6fb91fdc8c53101da57f4a408
[ "MIT" ]
1
2020-08-26T12:36:08.000Z
2020-08-26T12:36:08.000Z
#include<bits/stdc++.h> #define MOD 1000000007 using namespace std; const int MAXN = 100005; int dp[MAXN]; int prefix[MAXN]; int T, K; int main(){ cin >> T >> K; memset(dp, 0, sizeof(dp)); dp[0] = 1; for (int i = 1; i < MAXN; i++){ dp[i] = dp[i - 1]; if (i - K >= 0) dp[i] = (dp[i] + dp[i - K]) % MOD; } ...
18.433333
52
0.484629
Joon7891
c132f471cf543582185d7b30aaaa4942c150155c
1,606
hpp
C++
TopGraph/extendedpersistence/utils/mo_algorithm.hpp
mityanony404/TopGraph
23595ca5d3dfcd5bc5ebb771800e3fbe9a0d5eed
[ "MIT" ]
55
2018-01-11T02:20:02.000Z
2022-03-24T06:18:54.000Z
TopGraph/extendedpersistence/utils/mo_algorithm.hpp
mityanony404/TopGraph
23595ca5d3dfcd5bc5ebb771800e3fbe9a0d5eed
[ "MIT" ]
10
2016-10-29T08:20:04.000Z
2021-02-27T13:14:53.000Z
TopGraph/extendedpersistence/utils/mo_algorithm.hpp
mityanony404/TopGraph
23595ca5d3dfcd5bc5ebb771800e3fbe9a0d5eed
[ "MIT" ]
11
2016-10-29T06:00:53.000Z
2021-06-16T14:32:43.000Z
#pragma once #include <algorithm> #include <cmath> #include <numeric> #include <tuple> #include <utility> #include <vector> // struct mo_struct { // typedef int64_t value_type; // typedef int64_t result_type; // void add_right(int nr, value_type x_r) { // } // void add_left(int nl, value_type x_nl)...
29.740741
165
0.557908
mityanony404
c134aa1e2c11632fb049def56d3a562ad7ab680a
3,989
cpp
C++
Source Code/AsTeRICS/ARE/components/sensor.spacenavigtor3Dmouse/src/main/c++/Mouse3DBridge/Mouse3DBridge/Mouse3DBridge.cpp
EliKabasele/openHAB_MyUI
f6c66a42cca24a484c2bd4013b20b05edaa88161
[ "Apache-2.0" ]
2
2016-06-30T14:32:51.000Z
2017-09-12T18:09:18.000Z
Source Code/AsTeRICS/ARE/components/sensor.spacenavigtor3Dmouse/src/main/c++/Mouse3DBridge/Mouse3DBridge/Mouse3DBridge.cpp
EliKabasele/openHAB_MyUI
f6c66a42cca24a484c2bd4013b20b05edaa88161
[ "Apache-2.0" ]
null
null
null
Source Code/AsTeRICS/ARE/components/sensor.spacenavigtor3Dmouse/src/main/c++/Mouse3DBridge/Mouse3DBridge/Mouse3DBridge.cpp
EliKabasele/openHAB_MyUI
f6c66a42cca24a484c2bd4013b20b05edaa88161
[ "Apache-2.0" ]
null
null
null
/* * AsTeRICS - Assistive Technology Rapid Integration and Construction Set * * * d8888 88888888888 8888888b. 8888888 .d8888b. .d8888b. * d88888 888 888 Y88b 888 d88P Y88b d88P Y88b * d88P888 888 888 888 888 888 888 Y88b. ...
20.668394
115
0.668338
EliKabasele
c1370b0b878f3aa84b1789d465972aa9ac652a71
12,439
cpp
C++
src/webots/nodes/WbSphere.cpp
Justin-Fisher/webots
8a39e8e4390612919a8d82c7815aa914f4c079a4
[ "Apache-2.0" ]
1
2021-12-06T02:46:37.000Z
2021-12-06T02:46:37.000Z
src/webots/nodes/WbSphere.cpp
Justin-Fisher/webots
8a39e8e4390612919a8d82c7815aa914f4c079a4
[ "Apache-2.0" ]
null
null
null
src/webots/nodes/WbSphere.cpp
Justin-Fisher/webots
8a39e8e4390612919a8d82c7815aa914f4c079a4
[ "Apache-2.0" ]
null
null
null
// Copyright 1996-2021 Cyberbotics 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 or agr...
29.546318
125
0.692178
Justin-Fisher
c13bab36f232703c56a0c73f9aac61c57295541d
1,410
cpp
C++
src/examples/facefilter/lib/facefilter/renderer/android/FaceTrackerFactoryJsonAndroid.cpp
ZJCRT/drishti
7c0da7e71cd4cff838b0b8ef195855cb68951839
[ "BSD-3-Clause" ]
346
2017-05-13T05:12:51.000Z
2022-01-31T08:57:14.000Z
src/examples/facefilter/lib/facefilter/renderer/android/FaceTrackerFactoryJsonAndroid.cpp
ZJCRT/drishti
7c0da7e71cd4cff838b0b8ef195855cb68951839
[ "BSD-3-Clause" ]
238
2017-05-12T20:22:26.000Z
2021-06-08T20:54:11.000Z
src/examples/facefilter/lib/facefilter/renderer/android/FaceTrackerFactoryJsonAndroid.cpp
ZJCRT/drishti
7c0da7e71cd4cff838b0b8ef195855cb68951839
[ "BSD-3-Clause" ]
84
2017-06-30T06:50:56.000Z
2022-03-24T01:21:54.000Z
/*! -*-c++-*- @file FaceTrackerFactoryJsonAndroid.h @brief Implementation of a FaceTrackerFactory to load models from a JSON file using the NDK AssetManager. \copyright Copyright 2017-2018 Elucideye, Inc. All rights reserved. \license{This file is released under the 3 Clause BSD License.} */ #include "facefi...
32.790698
121
0.73617
ZJCRT
c13f5206521d4c221977c6376b97b0baff56db4a
27,449
cc
C++
engine/source/2d/assets/ParticleAssetEmitter.cc
close-code/Torque2D
ad141fc7b5f28b75f727ef29dcc93aafbb3f5aa3
[ "MIT" ]
1,309
2015-01-01T02:46:14.000Z
2022-03-14T04:56:02.000Z
engine/source/2d/assets/ParticleAssetEmitter.cc
SwaroopGuvvala/Torque2D
55efccc7c7a4331547f5d71c733a75b8de1189e8
[ "MIT" ]
155
2015-01-11T19:26:32.000Z
2021-11-22T04:08:55.000Z
engine/source/2d/assets/ParticleAssetEmitter.cc
SwaroopGuvvala/Torque2D
55efccc7c7a4331547f5d71c733a75b8de1189e8
[ "MIT" ]
1,595
2015-01-01T23:19:48.000Z
2022-02-17T07:00:52.000Z
//----------------------------------------------------------------------------- // Copyright (c) 2013 GarageGames, LLC // // 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 restrictio...
43.988782
203
0.633611
close-code
c1418e3b4ac3e222cf1b47cb88cce5125c1cb8b3
14,361
cpp
C++
android/android_23/frameworks/base/media/libstagefright/codecs/aacdec/synthesis_sub_band.cpp
yakuizhao/intel-vaapi-driver
b2bb0383352694941826543a171b557efac2219b
[ "MIT" ]
null
null
null
android/android_23/frameworks/base/media/libstagefright/codecs/aacdec/synthesis_sub_band.cpp
yakuizhao/intel-vaapi-driver
b2bb0383352694941826543a171b557efac2219b
[ "MIT" ]
null
null
null
android/android_23/frameworks/base/media/libstagefright/codecs/aacdec/synthesis_sub_band.cpp
yakuizhao/intel-vaapi-driver
b2bb0383352694941826543a171b557efac2219b
[ "MIT" ]
null
null
null
/* ------------------------------------------------------------------ * Copyright (C) 1998-2009 PacketVideo * * 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.o...
29.671488
123
0.499478
yakuizhao
c142a8fbfd203162e8cf3259cd848e0a7d879477
439
cpp
C++
3rdparty/pytorch/torch/csrc/api/src/jit.cpp
WoodoLee/TorchCraft
999f68aab9e7d50ed3ae138297226dc95fefc458
[ "MIT" ]
null
null
null
3rdparty/pytorch/torch/csrc/api/src/jit.cpp
WoodoLee/TorchCraft
999f68aab9e7d50ed3ae138297226dc95fefc458
[ "MIT" ]
null
null
null
3rdparty/pytorch/torch/csrc/api/src/jit.cpp
WoodoLee/TorchCraft
999f68aab9e7d50ed3ae138297226dc95fefc458
[ "MIT" ]
null
null
null
#include <torch/jit.h> #include <torch/csrc/jit/script/compiler.h> #include <torch/csrc/jit/stack.h> #include <memory> #include <string> namespace torch { namespace jit { std::shared_ptr<script::Module> compile(const std::string& source) { auto module = std::make_shared<script::Module>(); defineMethodsInModule(...
21.95
82
0.722096
WoodoLee
c144552f3079ed40d3570ff9f7e2090fedade582
606
hpp
C++
android-28/android/util/TimeUtils.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-28/android/util/TimeUtils.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-28/android/util/TimeUtils.hpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#pragma once #include "../../JObject.hpp" class JString; namespace java::util { class TimeZone; } namespace android::util { class TimeUtils : public JObject { public: // Fields // QJniObject forward template<typename ...Ts> explicit TimeUtils(const char *className, const char *sig, Ts...agv) : JObject(c...
20.2
150
0.69637
YJBeetle
c1448d8b832318d1fc649c638df8ce0147489690
62,276
cc
C++
protocal/control/control_conf.pb.cc
racestart/g2r
d115ebaab13829d716750eab2ebdcc51d79ff32e
[ "Apache-2.0" ]
1
2020-03-05T12:49:21.000Z
2020-03-05T12:49:21.000Z
protocal/control/control_conf.pb.cc
gA4ss/g2r
a6e2ee5758ab59fd95704e3c3090dd234fbfb2c9
[ "Apache-2.0" ]
null
null
null
protocal/control/control_conf.pb.cc
gA4ss/g2r
a6e2ee5758ab59fd95704e3c3090dd234fbfb2c9
[ "Apache-2.0" ]
1
2020-03-25T15:06:39.000Z
2020-03-25T15:06:39.000Z
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: control/control_conf.proto #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION #include "control/control_conf.pb.h" #include <algorithm> #include <google/protobuf/stubs/common.h> #include <google/protobuf/stubs/port.h> #include <google/protobuf/...
38.066015
135
0.730843
racestart
c1479ada0fad341ed4cad2268e40ee87fc39b67b
132
cpp
C++
benchmark/fenwick/micro/add_byte23bit.cpp
pacman616/hybrid-fenwick-tree
84e7cc8aa84b87937b98d85f3c2ed1998c0d79af
[ "MIT" ]
4
2019-01-10T17:55:43.000Z
2019-11-26T09:33:38.000Z
benchmark/fenwick/micro/add_byte23bit.cpp
pacman616/hybrid-fenwick-tree
84e7cc8aa84b87937b98d85f3c2ed1998c0d79af
[ "MIT" ]
null
null
null
benchmark/fenwick/micro/add_byte23bit.cpp
pacman616/hybrid-fenwick-tree
84e7cc8aa84b87937b98d85f3c2ed1998c0d79af
[ "MIT" ]
null
null
null
#define __HFT_BENCHMARK_FUNCTION__ add<Hybrid<ByteL, BitF, 64, 23>>(name + "/" + "Byte23Bit", queries, re); #include "../micro.cpp"
44
107
0.689394
pacman616
c147f758f577b5d5cff44c73a348ecdb6e887950
23,713
cxx
C++
src/RootPlotFrame.cxx
fermi-lat/st_graph
8f63c2467131068ffa5d214fbe62110280a14204
[ "BSD-3-Clause" ]
null
null
null
src/RootPlotFrame.cxx
fermi-lat/st_graph
8f63c2467131068ffa5d214fbe62110280a14204
[ "BSD-3-Clause" ]
null
null
null
src/RootPlotFrame.cxx
fermi-lat/st_graph
8f63c2467131068ffa5d214fbe62110280a14204
[ "BSD-3-Clause" ]
null
null
null
/** \file RootPlotFrame.cxx \brief Implementation for RootPlotFrame class. \author James Peachey, HEASARC/GSSC */ #include <algorithm> #include <cctype> #include <list> #include <map> #include <sstream> #include <stdexcept> #include <utility> #include "TAxis.h" #include "TCanvas.h" #include "TLatex.h" #include...
33.731152
168
0.621094
fermi-lat
c14f25f5bbb6720ed629b190a760c0a40edd9b54
8,399
hxx
C++
dev/ese/src/os/osstd_.hxx
augustoproiete-forks/microsoft--Extensible-Storage-Engine
a38945d2147167e3fa749594f54dae6c7307b8da
[ "MIT" ]
1
2021-02-02T07:04:07.000Z
2021-02-02T07:04:07.000Z
dev/ese/src/os/osstd_.hxx
augustoproiete-forks/microsoft--Extensible-Storage-Engine
a38945d2147167e3fa749594f54dae6c7307b8da
[ "MIT" ]
null
null
null
dev/ese/src/os/osstd_.hxx
augustoproiete-forks/microsoft--Extensible-Storage-Engine
a38945d2147167e3fa749594f54dae6c7307b8da
[ "MIT" ]
null
null
null
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #define _CRT_RAND_S #include <stdlib.h> #include <string.h> #pragma prefast(push) #pragma prefast(disable:26006, "Dont bother us with tchar, someone else owns that.") #pragma prefast(disable:26007, "Dont bother us with tchar, someone else ow...
34.995833
128
0.709608
augustoproiete-forks
c150f2eaf7f4da0a1d68dd095749307f558889b8
336
cpp
C++
distributions/uniformgenerator.cpp
KomarDL/Random-numbers-distributions
3fa9b07c6fed9ac446aad83659368a4f2c9b27d3
[ "MIT" ]
null
null
null
distributions/uniformgenerator.cpp
KomarDL/Random-numbers-distributions
3fa9b07c6fed9ac446aad83659368a4f2c9b27d3
[ "MIT" ]
null
null
null
distributions/uniformgenerator.cpp
KomarDL/Random-numbers-distributions
3fa9b07c6fed9ac446aad83659368a4f2c9b27d3
[ "MIT" ]
null
null
null
#include "uniformgenerator.h" UniformGenerator::UniformGenerator(Lemer *lmr, QObject *parent) : BaseGenerator("Равномерное", lmr, parent) { paramAmount = 2; paramNames[0] = "a"; paramNames[1] = "b"; } qreal UniformGenerator::_generate() { return params[0] + (params[1] - params[0]) * lemer->...
24
108
0.642857
KomarDL
c15218d5e665c1371261e2caaaf75cc3d7b48bc3
1,125
cpp
C++
perf_test/thread/ThreadTest.cpp
armsword/DLog
6b049124098f6c0f622e9a610a87fea27125e0da
[ "MIT" ]
33
2016-09-10T16:42:16.000Z
2021-05-13T07:02:06.000Z
perf_test/thread/ThreadTest.cpp
armsword/DLog
6b049124098f6c0f622e9a610a87fea27125e0da
[ "MIT" ]
1
2016-09-26T16:07:54.000Z
2016-09-26T17:07:29.000Z
perf_test/thread/ThreadTest.cpp
armsword/DLog
6b049124098f6c0f622e9a610a87fea27125e0da
[ "MIT" ]
13
2016-09-14T10:24:15.000Z
2021-01-05T18:46:56.000Z
#include <dlog/logger/Log.h> #include <unistd.h> #include <stdlib.h> #include <sys/time.h> #include <stdint.h> #include <iostream> #include <string.h> #include <pthread.h> using namespace dlog::logger; int64_t currentTime() { struct timeval tval; gettimeofday(&tval, NULL); return (tval.tv_sec * 1000000LL ...
21.634615
71
0.537778
armsword
c152bdba5071a5589bb030f6c48876fb4c4a169b
42,535
cpp
C++
AIPDebug/Function-Module/Widget_INDL.cpp
Bluce-Song/Master-AIP
1757ab392504d839de89460da17630d268ff3eed
[ "Apache-2.0" ]
null
null
null
AIPDebug/Function-Module/Widget_INDL.cpp
Bluce-Song/Master-AIP
1757ab392504d839de89460da17630d268ff3eed
[ "Apache-2.0" ]
null
null
null
AIPDebug/Function-Module/Widget_INDL.cpp
Bluce-Song/Master-AIP
1757ab392504d839de89460da17630d268ff3eed
[ "Apache-2.0" ]
null
null
null
#include "Widget_INDL.h" #include "ui_Widget_INDL.h" Widget_INDL::Widget_INDL(QWidget *parent) : QWidget(parent), ui(new Ui::Widget_INDL) { ui->setupUi(this); // 电感设置表头 ui->indlTab->horizontalHeader()->setStyleSheet\ ("QHeaderView::section{background-color:#191919;color: white;"\ ...
41.782908
94
0.476619
Bluce-Song
c1551f37deeec9d8bfa5d44f56b4fab306d79839
3,809
cpp
C++
test/core/task_cancel_t.cpp
yuhonghong66/TorchCraftAI
895994989846be829fb0ed823a552008e807bdbe
[ "MIT" ]
1
2018-11-28T01:16:12.000Z
2018-11-28T01:16:12.000Z
test/core/task_cancel_t.cpp
MenLonII/TorchCraftAI
6920c6c02ee0043e6aa622fc0e5376cf97bc75e6
[ "MIT" ]
null
null
null
test/core/task_cancel_t.cpp
MenLonII/TorchCraftAI
6920c6c02ee0043e6aa622fc0e5376cf97bc75e6
[ "MIT" ]
null
null
null
/* * Copyright (c) 2017-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include <cstdlib> #include <fstream> #include "scenario.h" #include "test.h" #include <glog/logging.h> #include "cherrypi.h" #include...
28.007353
79
0.612497
yuhonghong66
c15610ad4f2b4e825c0d0a2764b50718b4973b32
7,560
cpp
C++
logview/mainwindow.cpp
Hayesie88/emstudio
0ae4353e5dcaa76b6306ff0aabd5a89999c4dc1b
[ "MIT" ]
8
2015-11-16T19:15:55.000Z
2021-02-17T23:58:33.000Z
logview/mainwindow.cpp
Hayesie88/emstudio
0ae4353e5dcaa76b6306ff0aabd5a89999c4dc1b
[ "MIT" ]
5
2015-11-12T00:19:59.000Z
2020-03-23T10:18:19.000Z
logview/mainwindow.cpp
Hayesie88/emstudio
0ae4353e5dcaa76b6306ff0aabd5a89999c4dc1b
[ "MIT" ]
11
2015-03-15T23:02:48.000Z
2021-09-05T14:17:13.000Z
/************************************************************************************ * EMStudio - Open Source ECU tuning software * * Copyright (C) 2020 Michael Carpenter (malcom2073@gmail.com) * * ...
30.731707
144
0.693783
Hayesie88
c15a6e9462aad5a7e0f9244a61023309a0f960f2
2,099
cpp
C++
activemq-cpp/src/main/decaf/util/concurrent/atomic/AtomicBoolean.cpp
novomatic-tech/activemq-cpp
d6f76ede90d21b7ee2f0b5d4648e440e66d63003
[ "Apache-2.0" ]
87
2015-03-02T17:58:20.000Z
2022-02-11T02:52:52.000Z
activemq-cpp/src/main/decaf/util/concurrent/atomic/AtomicBoolean.cpp
novomatic-tech/activemq-cpp
d6f76ede90d21b7ee2f0b5d4648e440e66d63003
[ "Apache-2.0" ]
3
2017-05-10T13:16:08.000Z
2019-01-23T20:21:53.000Z
activemq-cpp/src/main/decaf/util/concurrent/atomic/AtomicBoolean.cpp
novomatic-tech/activemq-cpp
d6f76ede90d21b7ee2f0b5d4648e440e66d63003
[ "Apache-2.0" ]
71
2015-04-28T06:04:04.000Z
2022-03-15T13:34:06.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 You under the Apache License, Version 2.0 * (the "License"); you may ...
38.163636
81
0.594092
novomatic-tech
c15aa8ecbdc05e7b0e73d19824cae5012e571fd9
3,227
cpp
C++
source/formatConv.cpp
MIDA-group/itkAlphaAMD
60bd21338b2213371e6e48fa4ab2a8fbbc61d85e
[ "MIT" ]
1
2018-10-26T15:07:00.000Z
2018-10-26T15:07:00.000Z
source/formatConv.cpp
MIDA-group/itkAlphaAMD
60bd21338b2213371e6e48fa4ab2a8fbbc61d85e
[ "MIT" ]
1
2019-12-21T08:14:45.000Z
2020-02-21T17:28:46.000Z
source/formatConv.cpp
MIDA-group/itkAlphaAMD
60bd21338b2213371e6e48fa4ab2a8fbbc61d85e
[ "MIT" ]
null
null
null
/** * Small program for doing file format conversion. **/ #include <stdio.h> #include <string.h> #include <string> #include "Log.h" #include "common/itkImageProcessingTools.h" template <unsigned int Dim> void FormatConv(std::string in, std::string out, bool isLabel, bool is16Bit) { typedef itk::IPT<double, D...
25.409449
111
0.642392
MIDA-group
c15af3d0e38be40e7776de8adf696eb86ee1f657
1,068
cpp
C++
UVa Online Judge/12247.cpp
xiezeju/ACM-Code-Archives
db135ed0953adcf5c7ab37a00b3f9458291ce0d7
[ "MIT" ]
1
2022-02-24T12:44:30.000Z
2022-02-24T12:44:30.000Z
UVa Online Judge/12247.cpp
xiezeju/ACM-Code-Archives
db135ed0953adcf5c7ab37a00b3f9458291ce0d7
[ "MIT" ]
null
null
null
UVa Online Judge/12247.cpp
xiezeju/ACM-Code-Archives
db135ed0953adcf5c7ab37a00b3f9458291ce0d7
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef pair<int, int> ii; typedef vector<int> vi; typedef vector<ii> vii; const int INF = 1e9; const long long LLINF = 4e18; const double EPS = 1e-9; int order[6][3] = { 0, 1, 2, 0, 2, 1, 1, 0, 2, 1, 2, 0, 2, 0, 1, 2, 1, 0, }; int used[55]; i...
15.705882
77
0.450375
xiezeju
c15d3e2d6315e3a096157ac58b12433af73bfdda
3,086
cpp
C++
snake.cpp
billlin0904/QSnake
07375173d9597ba3149cba5989c9122e90bb9c44
[ "MIT" ]
null
null
null
snake.cpp
billlin0904/QSnake
07375173d9597ba3149cba5989c9122e90bb9c44
[ "MIT" ]
null
null
null
snake.cpp
billlin0904/QSnake
07375173d9597ba3149cba5989c9122e90bb9c44
[ "MIT" ]
1
2021-01-15T19:44:40.000Z
2021-01-15T19:44:40.000Z
#include <QPainter> #include "gamestage.h" #include "snake.h" Snake::Snake(GameStage *stage) : dir_(Direction::NoMove) , growing_(7) , stage_(stage) { } QPointF Snake::head() const { return head_; } void Snake::setPause(bool pause) { is_pause_ = pause; } QList<QPointF> const & Snake::tail() con...
20.711409
83
0.557032
billlin0904
c15e3c785cb37a7398f6be00f7b4cbab557a3520
6,740
cpp
C++
modules/DGM/GraphWeiss.cpp
Pandinosaurus/DGM
33a2e9bdaf446378ec63c10b3a07b257e32aa1ef
[ "BSD-3-Clause" ]
188
2016-04-10T20:33:46.000Z
2022-01-03T10:40:44.000Z
modules/DGM/GraphWeiss.cpp
Pandinosaurus/DGM
33a2e9bdaf446378ec63c10b3a07b257e32aa1ef
[ "BSD-3-Clause" ]
25
2016-04-06T17:18:22.000Z
2021-12-15T13:23:31.000Z
modules/DGM/GraphWeiss.cpp
Pandinosaurus/DGM
33a2e9bdaf446378ec63c10b3a07b257e32aa1ef
[ "BSD-3-Clause" ]
55
2016-08-21T01:21:55.000Z
2021-12-02T11:09:58.000Z
#include "GraphWeiss.h" #include "macroses.h" namespace DirectGraphicalModels { // Constructor CGraphWeiss::CGraphWeiss(byte nStates) : IGraphPairwise(nStates) , m_IDx(0) {} // Destructor: clean up the Node objects CGraphWeiss::~CGraphWeiss(void) { size_t nNodes = m_vpNodes.size(); for (size_t n = 0; n...
33.532338
126
0.684866
Pandinosaurus
c15e786fee61a4dffb6f9d1187f537ae2308be4f
650
cpp
C++
Insert Interval.cpp
jahnvisrivastava100/Leetcode-Solutions
d3acdb1fac94afc704c233235c8914004fe4c846
[ "CC0-1.0" ]
null
null
null
Insert Interval.cpp
jahnvisrivastava100/Leetcode-Solutions
d3acdb1fac94afc704c233235c8914004fe4c846
[ "CC0-1.0" ]
null
null
null
Insert Interval.cpp
jahnvisrivastava100/Leetcode-Solutions
d3acdb1fac94afc704c233235c8914004fe4c846
[ "CC0-1.0" ]
null
null
null
class Solution { public: vector<vector<int>> insert(vector<vector<int>>& I, vector<int>& nI) { vector<vector<int>>res; int i=0, n =size(I); while(i<n && I[i][1] < nI[0] ){//for non overlaping cases res.push_back(I[i]); i++; } vector<int>mI...
23.214286
73
0.404615
jahnvisrivastava100
c15e881205eb186e6a6c43d0908ccd95d480c91c
610
cpp
C++
apps/myApps/Doshi_u1212719/BehaviorAlgorithms/BehaviorTree/BT.cpp
wanted28496/AIForGames
8b958452ccf268ecd54990135a7a3dd154cab6d4
[ "MIT" ]
null
null
null
apps/myApps/Doshi_u1212719/BehaviorAlgorithms/BehaviorTree/BT.cpp
wanted28496/AIForGames
8b958452ccf268ecd54990135a7a3dd154cab6d4
[ "MIT" ]
null
null
null
apps/myApps/Doshi_u1212719/BehaviorAlgorithms/BehaviorTree/BT.cpp
wanted28496/AIForGames
8b958452ccf268ecd54990135a7a3dd154cab6d4
[ "MIT" ]
null
null
null
#include "BT.h" #include "BTTick.h" #include "BTAction.h" #include "BTBlackboard.h" BT::BT(unsigned int iNodeID, BTTaskBase * iRootNode, BTBlackboard * iBlackboard) : mNodeID(iNodeID), mRootNode(iRootNode), mBlackboard(iBlackboard) { unsigned int i = 0; SetTask(mRootNode, i); } void BT::SetTask(BTTaskBase * iTask,...
17.428571
147
0.668852
wanted28496
c15fcc75e874ce6260fe6ffcba76d171fe94309c
43,778
cpp
C++
Samples/Win7Samples/winbase/rdc/client/RdcSdkTestClient.cpp
windows-development/Windows-classic-samples
96f883e4c900948e39660ec14a200a5164a3c7b7
[ "MIT" ]
8
2017-04-30T17:38:27.000Z
2021-11-29T00:59:03.000Z
Samples/Win7Samples/winbase/rdc/client/RdcSdkTestClient.cpp
TomeSq/Windows-classic-samples
96f883e4c900948e39660ec14a200a5164a3c7b7
[ "MIT" ]
null
null
null
Samples/Win7Samples/winbase/rdc/client/RdcSdkTestClient.cpp
TomeSq/Windows-classic-samples
96f883e4c900948e39660ec14a200a5164a3c7b7
[ "MIT" ]
2
2020-08-11T13:21:49.000Z
2021-09-01T10:41:51.000Z
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A // PARTICULAR PURPOSE. // // Copyright (c) Microsoft Corporation. All rights reserved #include "stdafx.h" ...
33.015083
169
0.49036
windows-development
c16422c107ccc84451d2b236f67c3d92592738ff
1,158
cpp
C++
vislib/src/sys/COMException.cpp
masrice/megamol
d48fc4889f500528609053a5445202a9c0f6e5fb
[ "BSD-3-Clause" ]
49
2017-08-23T13:24:24.000Z
2022-03-16T09:10:58.000Z
vislib/src/sys/COMException.cpp
masrice/megamol
d48fc4889f500528609053a5445202a9c0f6e5fb
[ "BSD-3-Clause" ]
200
2018-07-20T15:18:26.000Z
2022-03-31T11:01:44.000Z
vislib/src/sys/COMException.cpp
masrice/megamol
d48fc4889f500528609053a5445202a9c0f6e5fb
[ "BSD-3-Clause" ]
31
2017-07-31T16:19:29.000Z
2022-02-14T23:41:03.000Z
/* * COMException.cpp * * Copyright (C) 2006 - 2012 by Visualisierungsinstitut Universitaet Stuttgart. * Alle Rechte vorbehalten. */ #include "vislib/sys/COMException.h" /* * vislib::sys::COMException::COMException */ #ifdef _WIN32 vislib::sys::COMException::COMException(const HRESULT hr, const char* file, co...
21.849057
113
0.659758
masrice
c16757cb4d61960300b92eb5ef4bb4dc01c83568
800
hpp
C++
include/x_copy_paste.hpp
langenhagen/barn-bookmark-manager
e7db7dba34e92c74ad445d088b57559dbba26f63
[ "MIT" ]
null
null
null
include/x_copy_paste.hpp
langenhagen/barn-bookmark-manager
e7db7dba34e92c74ad445d088b57559dbba26f63
[ "MIT" ]
null
null
null
include/x_copy_paste.hpp
langenhagen/barn-bookmark-manager
e7db7dba34e92c74ad445d088b57559dbba26f63
[ "MIT" ]
null
null
null
/* Utility functions for easy reading from and writing to the x window system clipboard. Use the external utility `xclip` rather than implemting clipboard capabilities for the X application. This serves 2 purposes. First, avoid the necessity for the caller to implement an x11 application and avoid the complex setup fo...
29.62963
100
0.77875
langenhagen
c167f118ba97e7ff21871be25ee3cc62b2574dcf
784
cpp
C++
src/main/cpp/ByteReader.cpp
alexnsouza6/JavaVirtualMachine
d0e1702cc7f68f2a71a6b139326fcd13685e44de
[ "MIT" ]
null
null
null
src/main/cpp/ByteReader.cpp
alexnsouza6/JavaVirtualMachine
d0e1702cc7f68f2a71a6b139326fcd13685e44de
[ "MIT" ]
1
2018-09-24T00:08:56.000Z
2018-09-24T00:08:56.000Z
src/main/cpp/ByteReader.cpp
alexnsouza6/JavaVirtualMachine
d0e1702cc7f68f2a71a6b139326fcd13685e44de
[ "MIT" ]
2
2018-12-09T17:44:49.000Z
2018-12-10T16:41:40.000Z
#ifndef ___BYTEREADER_H___ #define ___BYTEREADER_H___ #define NEUTRAL_BYTE_FOR_OR 0x00; /** * @brief Classe ByteReader. No momento da instanciação define-se qual tipo deseja-se buscar * E assim quando acionado o método byteCatch(FILE * fp) o arquivo busca o binário correspondente. */ template <class T> class Byte...
23.058824
98
0.678571
alexnsouza6
c169629e883214292d37f58709924011cbd1456d
2,156
cpp
C++
A.cpp
MaowMan/cpp-sprout
64c261a49f02d3070d5c97480f3b71c0ac102f0e
[ "MIT" ]
null
null
null
A.cpp
MaowMan/cpp-sprout
64c261a49f02d3070d5c97480f3b71c0ac102f0e
[ "MIT" ]
null
null
null
A.cpp
MaowMan/cpp-sprout
64c261a49f02d3070d5c97480f3b71c0ac102f0e
[ "MIT" ]
null
null
null
#include <iostream> #include <vector> #include <cstdio> #include <set> int main(){ long long n; std::cin>>n; if (n==2){ long long nxt; std::cin>>nxt; if (nxt==1){ putchar('2'); putchar('\n'); } else{ putchar('1'); putch...
23.182796
61
0.306586
MaowMan
c16a28ae38352f6dccf39197bdf35e2145fab1a5
4,560
cpp
C++
extensions/aws/processors/DeleteS3Object.cpp
dtrodrigues/nifi-minifi-cpp
87147e2dffcda6cc6e4e0510a57cc88011fda37f
[ "Apache-2.0", "OpenSSL" ]
113
2016-04-30T15:00:13.000Z
2022-03-26T20:42:58.000Z
extensions/aws/processors/DeleteS3Object.cpp
dtrodrigues/nifi-minifi-cpp
87147e2dffcda6cc6e4e0510a57cc88011fda37f
[ "Apache-2.0", "OpenSSL" ]
688
2016-04-28T17:52:38.000Z
2022-03-29T07:58:05.000Z
extensions/aws/processors/DeleteS3Object.cpp
dtrodrigues/nifi-minifi-cpp
87147e2dffcda6cc6e4e0510a57cc88011fda37f
[ "Apache-2.0", "OpenSSL" ]
104
2016-04-28T15:20:51.000Z
2022-03-01T13:39:20.000Z
/** * @file DeleteS3Object.cpp * DeleteS3Object class implementation * * 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...
40
151
0.75
dtrodrigues
c16b99ef3cd00876bc466ffa454bd2460d2da6cf
774
cpp
C++
CSCI-104/labs/lab4/part2/src/pokemon.cpp
liyang990803/CSCI-103
6f84fbc242be90f7a9c3a58bdcc6f54352e4ae5a
[ "MIT" ]
null
null
null
CSCI-104/labs/lab4/part2/src/pokemon.cpp
liyang990803/CSCI-103
6f84fbc242be90f7a9c3a58bdcc6f54352e4ae5a
[ "MIT" ]
null
null
null
CSCI-104/labs/lab4/part2/src/pokemon.cpp
liyang990803/CSCI-103
6f84fbc242be90f7a9c3a58bdcc6f54352e4ae5a
[ "MIT" ]
1
2018-03-23T04:19:24.000Z
2018-03-23T04:19:24.000Z
#include "../lib/pokemon.h" #include <cstdlib> Pokemon::Pokemon(std::string n, int h) { name = n; maxhp = h; hp = h; offense = std::rand() % 4 + 6; defense = std::rand() % 5 + 1; } void Pokemon::setMoves(AttackMove* a, AttackMove* b, AttackMove* c, AttackMove* d) { moves.clear(); moves.push_back(...
18
68
0.618863
liyang990803
c16f747647ccb6ccf0e135f0703a310a62eed779
590
cpp
C++
Codeforces/Presents.cpp
aajjbb/contest-files
b8842681b96017063a7baeac52ae1318bf59d74d
[ "Apache-2.0" ]
1
2018-08-28T19:58:40.000Z
2018-08-28T19:58:40.000Z
Codeforces/Presents.cpp
aajjbb/contest-files
b8842681b96017063a7baeac52ae1318bf59d74d
[ "Apache-2.0" ]
2
2017-04-16T00:48:05.000Z
2017-08-03T20:12:26.000Z
Codeforces/Presents.cpp
aajjbb/contest-files
b8842681b96017063a7baeac52ae1318bf59d74d
[ "Apache-2.0" ]
4
2016-03-04T19:42:00.000Z
2018-01-08T11:42:00.000Z
#include <iostream> #include <algorithm> #include <vector> #include <sstream> using namespace std; int main() { int n, temp; vector<int> v; vector<int>::iterator it; string s; stringstream ss; cin >> n; getline(cin, s); getline(cin, s); ss << s; while(ss ...
17.352941
45
0.420339
aajjbb
c16fcb448f300c8ccd412297f4be4b9e0d43a547
4,085
cpp
C++
ThirdParty/TLD/src/NNClassifier.cpp
abhineet123/MTF
6cb45c88d924fb2659696c3375bd25c683802621
[ "BSD-3-Clause" ]
100
2016-12-11T00:34:06.000Z
2022-01-27T23:03:40.000Z
ThirdParty/TLD/src/NNClassifier.cpp
siqiyan/MTF
9a76388c907755448bb7223420fe74349130f636
[ "BSD-3-Clause" ]
21
2017-09-04T06:27:13.000Z
2021-07-14T19:07:23.000Z
ThirdParty/TLD/src/NNClassifier.cpp
siqiyan/MTF
9a76388c907755448bb7223420fe74349130f636
[ "BSD-3-Clause" ]
21
2017-02-19T02:12:11.000Z
2020-09-23T03:47:55.000Z
/* Copyright 2011 AIT Austrian Institute of Technology * * This file is part of OpenTLD. * * OpenTLD 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 3 of the License, or * (at...
21.613757
73
0.598776
abhineet123
c17311fe4d62f2041e8a6d68bdedc80b5266f9cd
833
cpp
C++
src/pan.cpp
Dam-0/grid
5a522de1383c55c199804176d9591abeb3a04d41
[ "MIT" ]
null
null
null
src/pan.cpp
Dam-0/grid
5a522de1383c55c199804176d9591abeb3a04d41
[ "MIT" ]
null
null
null
src/pan.cpp
Dam-0/grid
5a522de1383c55c199804176d9591abeb3a04d41
[ "MIT" ]
null
null
null
#include "grid.h" void Grid::pan(float x, float y) { _cam_x_decimal += x; _cam_y_decimal += y; int cell_pan = floor(_cam_x_decimal); _cam_x += cell_pan; _cam_x_decimal -= cell_pan; cell_pan = floor(_cam_y_decimal); _cam_y += cell_pan; _cam_y_decimal -= cell_pan; _gr...
23.8
76
0.618247
Dam-0
c1735723aa711cffcd7fd681735fb812074bb5d5
2,414
cpp
C++
src/Platform.cpp
hubenchang0515/MCL
a47b846b85203269951029b9fa9ff7be450800b4
[ "MIT" ]
null
null
null
src/Platform.cpp
hubenchang0515/MCL
a47b846b85203269951029b9fa9ff7be450800b4
[ "MIT" ]
null
null
null
src/Platform.cpp
hubenchang0515/MCL
a47b846b85203269951029b9fa9ff7be450800b4
[ "MIT" ]
null
null
null
#include "Platform.h" namespace MCL { const Platform Platform::invalid = nullptr; /************************************************************ * @brief get platforms no more then n * @param[in] n the max * @return the platforms ************************************************************/ std::vector<Platform> Pla...
20.457627
91
0.632974
hubenchang0515
c177156ee9424c7dba839002bda69a7405e50a02
415
hpp
C++
ros2_mod_ws/build/robobo_msgs_aux/rosidl_generator_cpp/robobo_msgs_aux/srv/set_emotion__request.hpp
mintforpeople/robobo-ros2-ios-port
1a5650304bd41060925ebba41d6c861d5062bfae
[ "Apache-2.0" ]
1
2020-05-19T14:33:49.000Z
2020-05-19T14:33:49.000Z
ros2_mod_ws/install/include/robobo_msgs_aux/srv/set_emotion__request.hpp
mintforpeople/robobo-ros2-ios-port
1a5650304bd41060925ebba41d6c861d5062bfae
[ "Apache-2.0" ]
null
null
null
ros2_mod_ws/install/include/robobo_msgs_aux/srv/set_emotion__request.hpp
mintforpeople/robobo-ros2-ios-port
1a5650304bd41060925ebba41d6c861d5062bfae
[ "Apache-2.0" ]
null
null
null
// generated from rosidl_generator_cpp/resource/msg.hpp.em // generated code does not contain a copyright notice #ifndef ROBOBO_MSGS_AUX__SRV__SET_EMOTION__REQUEST_HPP_ #define ROBOBO_MSGS_AUX__SRV__SET_EMOTION__REQUEST_HPP_ #include "robobo_msgs_aux/srv/set_emotion__request__struct.hpp" #include "robobo_msgs_aux/srv...
37.727273
63
0.872289
mintforpeople
c1771e6362c0c0e415e7b4cdc8a55465a3e8dc3c
390
hpp
C++
TGEngine/util/Debug.hpp
ThePixly/TGEngine
aff5d5f42c3094dcc37253f4a3f5e09db560a4eb
[ "Apache-2.0" ]
null
null
null
TGEngine/util/Debug.hpp
ThePixly/TGEngine
aff5d5f42c3094dcc37253f4a3f5e09db560a4eb
[ "Apache-2.0" ]
null
null
null
TGEngine/util/Debug.hpp
ThePixly/TGEngine
aff5d5f42c3094dcc37253f4a3f5e09db560a4eb
[ "Apache-2.0" ]
null
null
null
#pragma once #include "..\Stdbase.hpp" SINCE(0, 0, 1) #define printExtend(x) cout << "width:" << x.width << " height:" << x.height << endl; SINCE(0, 0, 1) #define printOffset(v) cout << "x:" << v.x << " y:" << v.y << endl; /* * Prints a version with the Format MAJOR.MINOR.VERSION e.g. 1.0.0 * You can built it w...
24.375
86
0.615385
ThePixly
c17763f7783f2c75d77ad6a98e6cc3a5e54a2b0d
8,675
cpp
C++
Code/Framework/AzToolsFramework/Tests/Prefab/PrefabUpdateWithPatchesTests.cpp
cypherdotXd/o3de
bb90c4ddfe2d495e9c00ebf1e2650c6d603a5676
[ "Apache-2.0", "MIT" ]
1
2022-01-31T08:15:30.000Z
2022-01-31T08:15:30.000Z
Code/Framework/AzToolsFramework/Tests/Prefab/PrefabUpdateWithPatchesTests.cpp
cypherdotXd/o3de
bb90c4ddfe2d495e9c00ebf1e2650c6d603a5676
[ "Apache-2.0", "MIT" ]
3
2021-09-08T03:41:27.000Z
2022-03-12T01:01:29.000Z
Code/Framework/AzToolsFramework/Tests/Prefab/PrefabUpdateWithPatchesTests.cpp
cypherdotXd/o3de
bb90c4ddfe2d495e9c00ebf1e2650c6d603a5676
[ "Apache-2.0", "MIT" ]
null
null
null
/* * Copyright (c) Contributors to the Open 3D Engine Project. * For complete copyright and license terms please see the LICENSE at the root of this distribution. * * SPDX-License-Identifier: Apache-2.0 OR MIT * */ #include <Prefab/PrefabDomUtils.h> #include <Prefab/PrefabTestComponent.h> #include <Prefab/Prefab...
58.221477
148
0.746282
cypherdotXd
c178696be3dae369267c571130a2a46f475aed5c
654
hpp
C++
supervisor/src/network/websocket/wrapper/events/Disconnection.hpp
mdziekon/eiti-tin-ftp-stattr
c8b8c119f6731045f90281d607b98d7a5ffb3bd2
[ "MIT" ]
1
2018-11-12T02:48:46.000Z
2018-11-12T02:48:46.000Z
supervisor/src/network/websocket/wrapper/events/Disconnection.hpp
mdziekon/eiti-tin-ftp-stattr
c8b8c119f6731045f90281d607b98d7a5ffb3bd2
[ "MIT" ]
null
null
null
supervisor/src/network/websocket/wrapper/events/Disconnection.hpp
mdziekon/eiti-tin-ftp-stattr
c8b8c119f6731045f90281d607b98d7a5ffb3bd2
[ "MIT" ]
null
null
null
#ifndef TIN_NETWORK_WEBSOCKET_WRAPPER_EVENTS_DISCONNECTION_HPP #define TIN_NETWORK_WEBSOCKET_WRAPPER_EVENTS_DISCONNECTION_HPP #include <websocketpp/server.hpp> #include "../Event.hpp" namespace tin { namespace network { namespace websocket { namespace wrapper { namespace events { struct Disconnection: public tin...
31.142857
94
0.776758
mdziekon