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
d65780e66d8d03a36e25019eac73196f8c759a69
25,659
cpp
C++
src/RcppExports.cpp
hillarykoch/CLIMB
da6cc77ff8be48ceeb63247506467911d6130ac2
[ "Artistic-2.0" ]
3
2021-11-29T08:05:48.000Z
2022-01-08T16:16:35.000Z
src/RcppExports.cpp
hillarykoch/CLIMB
da6cc77ff8be48ceeb63247506467911d6130ac2
[ "Artistic-2.0" ]
null
null
null
src/RcppExports.cpp
hillarykoch/CLIMB
da6cc77ff8be48ceeb63247506467911d6130ac2
[ "Artistic-2.0" ]
2
2020-02-24T19:18:06.000Z
2020-09-08T14:29:27.000Z
// Generated by using Rcpp::compileAttributes() -> do not edit by hand // Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393 #include <RcppArmadillo.h> #include <Rcpp.h> using namespace Rcpp; // cgetPaths arma::mat cgetPaths(std::string filepath); RcppExport SEXP _CLIMB_cgetPaths(SEXP filepathSEXP) { BEGIN_RCPP ...
49.439306
233
0.735921
hillarykoch
d6591b7d7273ba95880cb7a69c1c6087505dc037
2,025
cc
C++
components/arc/compat_mode/overlay_dialog.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2020-10-18T02:33:40.000Z
2020-10-18T02:33:40.000Z
components/arc/compat_mode/overlay_dialog.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
3
2021-05-17T16:28:52.000Z
2021-05-21T22:42:22.000Z
components/arc/compat_mode/overlay_dialog.cc
DamieFC/chromium
54ce2d3c77723697efd22cfdb02aea38f9dfa25c
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// 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 "components/arc/compat_mode/overlay_dialog.h" #include "components/arc/compat_mode/style/arc_color_provider.h" #include "components/exo/shell_su...
35.526316
80
0.725432
DamieFC
d6593134ae4e81ea2bbfb8998ab503d06aee4013
3,169
cpp
C++
examples/jack-analyzer/cpp/main.cpp
lierdakil/parser-generator
0d3f8903e52d0671388d11c7f660957dbb7cc159
[ "MIT" ]
3
2020-11-27T20:18:26.000Z
2021-05-24T20:41:52.000Z
examples/jack-analyzer/cpp/main.cpp
lierdakil/alpaca-parser-generator
eca53c6de7afa397af0e75e146a08f7e4665ed53
[ "MIT" ]
null
null
null
examples/jack-analyzer/cpp/main.cpp
lierdakil/alpaca-parser-generator
eca53c6de7afa397af0e75e146a08f7e4665ed53
[ "MIT" ]
null
null
null
#include "lexer.h" #include "parser.h" #include <any> #include <filesystem> #include <fstream> #include <iostream> #include <regex> #include <string> #define debug false std::string tokenClass(TokenType t) { switch (t) { case TokenType::eof: return ""; case TokenType::Tok_binOp: return "symbol"; case ...
24.19084
77
0.614705
lierdakil
d65f0bc53d20d23240b464d8c89186063601398c
8,841
cc
C++
Validation/RecoPixelVertexing/test/PixelTrackVal.cc
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
1
2018-08-28T16:51:36.000Z
2018-08-28T16:51:36.000Z
Validation/RecoPixelVertexing/test/PixelTrackVal.cc
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
25
2016-06-24T20:55:32.000Z
2022-02-01T19:24:45.000Z
Validation/RecoPixelVertexing/test/PixelTrackVal.cc
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
8
2016-03-25T07:17:43.000Z
2021-07-08T17:11:21.000Z
#include "DataFormats/Common/interface/Handle.h" #include "FWCore/Framework/interface/one/EDAnalyzer.h" #include "FWCore/Framework/interface/ESHandle.h" #include "FWCore/Framework/interface/Event.h" #include "FWCore/Framework/interface/EventSetup.h" #include "FWCore/Framework/interface/Frameworkfwd.h" #include "FWCore/...
39.64574
118
0.598462
PKUfudawei
d66816f61036fa557cbba4ecf6912b1e6481e942
2,635
hpp
C++
src/log.hpp
j-martina/machinate
145d8df7a6ccf085a625805dc745f5afd9f5c9c6
[ "MIT" ]
null
null
null
src/log.hpp
j-martina/machinate
145d8df7a6ccf085a625805dc745f5afd9f5c9c6
[ "MIT" ]
null
null
null
src/log.hpp
j-martina/machinate
145d8df7a6ccf085a625805dc745f5afd9f5c9c6
[ "MIT" ]
null
null
null
/** * @file log.hpp * @brief Quill-based logger, shortcut macros, related symbols. */ #pragma once #include "preproc.hpp" #include <quill/Quill.h> namespace mxn { extern quill::Logger* qlog; /** * @brief Prepare for logging via Quill. * * Calls `quill::enable_console_colours()`, `quill::start()`, * an...
34.220779
79
0.702467
j-martina
d66a421821157c81551727d26af2be86b80ceb6f
612
cpp
C++
c++/77.cpp
Crazyokd/leetcode-solution
3aed88651fec391a02aba490ce72454c6f9e5409
[ "MIT" ]
1
2022-02-26T04:56:00.000Z
2022-02-26T04:56:00.000Z
c++/77.cpp
Crazyokd/leetcode-solution
3aed88651fec391a02aba490ce72454c6f9e5409
[ "MIT" ]
null
null
null
c++/77.cpp
Crazyokd/leetcode-solution
3aed88651fec391a02aba490ce72454c6f9e5409
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; class Solution { public: int countPrimeSetBits(int left, int right) { int res = 0; for (int i = left; i <= right; i++) { if (check(i)) res++; } return res; } bool check(int value) { int cnt = 0; for (int ...
20.4
111
0.423203
Crazyokd
69921e1b36c4cbb83f381fe26e9b561d61887926
516
cpp
C++
game/client/c_advisor.cpp
RoyaleNoir/manwich-oddyssey-src
c8873d137c0400540ea3671a3dabc26ed0bccbd9
[ "Unlicense" ]
2
2021-02-13T08:18:48.000Z
2021-04-17T00:10:15.000Z
game/client/c_advisor.cpp
RoyaleNoir/manwich-oddyssey-src
c8873d137c0400540ea3671a3dabc26ed0bccbd9
[ "Unlicense" ]
21
2021-04-10T17:39:12.000Z
2022-03-26T18:01:28.000Z
game/client/c_advisor.cpp
RoyaleNoir/manwich-oddyssey-src
c8873d137c0400540ea3671a3dabc26ed0bccbd9
[ "Unlicense" ]
null
null
null
#include "cbase.h" #include "c_ai_basenpc.h" // memdbgon must be the last include file in a .cpp file!!! #include "tier0/memdbgon.h" class C_Advisor : public C_AI_BaseNPC { public: DECLARE_CLASS( C_Advisor, C_AI_BaseNPC ); DECLARE_CLIENTCLASS(); C_Advisor(); virtual ~C_Advisor(); private: C_Advisor( co...
15.176471
65
0.724806
RoyaleNoir
6994bda8c6a281a09a1f00812013746b998bb699
6,395
cpp
C++
src/mame/drivers/rf51w14cg.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
26
2015-03-31T06:25:51.000Z
2021-12-14T09:29:04.000Z
src/mame/drivers/rf51w14cg.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
null
null
null
src/mame/drivers/rf51w14cg.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
10
2015-03-27T05:45:51.000Z
2022-02-04T06:57:36.000Z
// license:BSD-3-Clause // copyright-holders: /****************************************************************************** Skeleton driver for Recreativos Franco "RF51W14-CG". "RF51W14-CG" is the legal registry name, the game commercial name is unknown. TODO: - Everything ________...
46.007194
205
0.516497
Robbbert
69953ecd401a7ac62deaa84853f5c226ffadeddd
1,409
cpp
C++
test/dioptre/application.cpp
tobscher/rts
7f30faf6a13d309e4db828be8be3c05d28c05364
[ "MIT" ]
2
2015-05-14T16:07:30.000Z
2015-07-27T21:08:48.000Z
test/dioptre/application.cpp
tobscher/rts
7f30faf6a13d309e4db828be8be3c05d28c05364
[ "MIT" ]
null
null
null
test/dioptre/application.cpp
tobscher/rts
7f30faf6a13d309e4db828be8be3c05d28c05364
[ "MIT" ]
null
null
null
#include <gtest/gtest.h> #include "dioptre/application.h" #include "test_object.h" #include "another_test_object.h" TEST(Application, IsRunning) { char empty[1] = {0}; char *argv[] = {empty, 0}; int argc = 1; dioptre::Application application(argc, argv); EXPECT_FALSE(application.isRunning()); } TEST(Appli...
26.092593
77
0.723208
tobscher
69960d798e7064a10ca53671299c21fce929820f
841
cpp
C++
src/format.cpp
dashboardvision/aspose-php
e2931773cbb1f47ae4086d632faa3012bd952b99
[ "MIT" ]
null
null
null
src/format.cpp
dashboardvision/aspose-php
e2931773cbb1f47ae4086d632faa3012bd952b99
[ "MIT" ]
null
null
null
src/format.cpp
dashboardvision/aspose-php
e2931773cbb1f47ae4086d632faa3012bd952b99
[ "MIT" ]
1
2021-06-23T08:02:03.000Z
2021-06-23T08:02:03.000Z
#include "../include/aspose.h" #include "../include/format.h" #include "../include/fill-format.h" #include <phpcpp.h> #include "../include/line-format.h" using namespace Aspose::Slides::Charts; using namespace std; namespace AsposePhp { /** * @brief Returns fill style properties of a chart * * @r...
24.735294
138
0.638526
dashboardvision
69966892be1942dae20ef69d1cbb666dcaf702e9
11,356
cpp
C++
examples/ecies-example.cpp
istepic/MoCOCrW
db7d291cec2d85566a6f34a19f6120974c021e73
[ "Apache-2.0" ]
19
2018-05-15T09:01:13.000Z
2022-02-16T16:36:16.000Z
examples/ecies-example.cpp
istepic/MoCOCrW
db7d291cec2d85566a6f34a19f6120974c021e73
[ "Apache-2.0" ]
39
2018-05-28T10:22:04.000Z
2021-07-26T11:27:36.000Z
examples/ecies-example.cpp
istepic/MoCOCrW
db7d291cec2d85566a6f34a19f6120974c021e73
[ "Apache-2.0" ]
26
2018-05-15T10:08:18.000Z
2022-03-31T08:33:03.000Z
/* * #%L * %% * Copyright (C) 2020 BMW Car IT GmbH * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
42.85283
120
0.642568
istepic
699943947100979ae07aefc1d5143c60e6b59993
13,446
cpp
C++
Desktop/piMASS/piMASScmplrSLN/backup/gpcpic.cpp
AliveMOon/piMASSpub
5b87752b9d224f4033e33635f527b842b454f012
[ "MIT" ]
2
2019-06-17T10:40:53.000Z
2019-06-18T12:50:29.000Z
Desktop/piMASS/piMASScmplrSLN/backup/gpcpic.cpp
AliveMOon/piMASSpub
5b87752b9d224f4033e33635f527b842b454f012
[ "MIT" ]
3
2019-06-17T10:20:46.000Z
2019-06-18T18:10:41.000Z
Desktop/piMASS/piMASScmplrSLNpi4/backup/gpcpic.cpp
AliveMOon/piMASSpub
5b87752b9d224f4033e33635f527b842b454f012
[ "MIT" ]
null
null
null
#include "gpcpic.h" #include "gpcSRC.h" bool gpfSRFjpgSAVE( U1* pFILE, SDL_Surface* pSRF, I4 q ) { if( pSRF ? (pFILE ? !*pFILE : false ) : true ) return false; struct jpeg_compress_struct cinfo; struct jpeg_error_mgr jerr; FILE* pOUT; JSAMPROW aROW[1]; cinfo.err = jpeg_std_error(&jerr); jpeg_create_compr...
27.163636
141
0.548118
AliveMOon
69995c41cd65d800e80061499743d123ddcb24dc
59
cpp
C++
leetcode/20.Vaild Parentheses/main.cpp
vaniot-s/code
b2620a9003741c644905d604b85cc4ef66de7486
[ "BSD-2-Clause" ]
null
null
null
leetcode/20.Vaild Parentheses/main.cpp
vaniot-s/code
b2620a9003741c644905d604b85cc4ef66de7486
[ "BSD-2-Clause" ]
null
null
null
leetcode/20.Vaild Parentheses/main.cpp
vaniot-s/code
b2620a9003741c644905d604b85cc4ef66de7486
[ "BSD-2-Clause" ]
null
null
null
// // Created by vaniot on 18-12-10. // #include "main.h"
9.833333
33
0.59322
vaniot-s
699a222a84fcdaf444277f4504c5b769676efe11
2,870
cc
C++
RAVL2/PatternRec/DataSet/testDataSetXMLFactory.cc
isuhao/ravl2
317e0ae1cb51e320b877c3bad6a362447b5e52ec
[ "BSD-Source-Code" ]
null
null
null
RAVL2/PatternRec/DataSet/testDataSetXMLFactory.cc
isuhao/ravl2
317e0ae1cb51e320b877c3bad6a362447b5e52ec
[ "BSD-Source-Code" ]
null
null
null
RAVL2/PatternRec/DataSet/testDataSetXMLFactory.cc
isuhao/ravl2
317e0ae1cb51e320b877c3bad6a362447b5e52ec
[ "BSD-Source-Code" ]
null
null
null
// This file is part of OmniSoft, Pattern recognition software // Copyright (C) 2009, OmniPerception Ltd. // file-header-ends-here #include "Ravl/UnitTest.hh" #include "Ravl/PatternRec/SampleVector.hh" #include "Ravl/PatternRec/DataSetVectorLabel.hh" #include "Ravl/MeanCovariance.hh" using namespace RavlN; int testS...
28.137255
128
0.63554
isuhao
699fa03222d54f5b871d0b624bbf6d335417dbfe
157
cpp
C++
ch17/592.cpp
mallius/CppPrimer
0285fabe5934492dfed0a9cf67ba5650982a5f76
[ "MIT" ]
null
null
null
ch17/592.cpp
mallius/CppPrimer
0285fabe5934492dfed0a9cf67ba5650982a5f76
[ "MIT" ]
null
null
null
ch17/592.cpp
mallius/CppPrimer
0285fabe5934492dfed0a9cf67ba5650982a5f76
[ "MIT" ]
1
2022-01-25T15:51:34.000Z
2022-01-25T15:51:34.000Z
#include <memory> using namespace std; void f() { auto_ptr<int> ap(new int(42)); } int main(void) { f(); auto_ptr<int> pi = new int(1024); return 0; }
10.466667
34
0.624204
mallius
69a15d5f7731adae6538fbf19b54d0ca2d873fbb
3,789
cpp
C++
src/sprogc/source/gpc_species_comp.cpp
sm453/MOpS
f1a706c6552bbdf3ceab504121a02391a1b51ede
[ "MIT" ]
3
2020-09-08T14:06:33.000Z
2020-12-04T07:52:19.000Z
src/sprogc/source/gpc_species_comp.cpp
sm453/MOpS
f1a706c6552bbdf3ceab504121a02391a1b51ede
[ "MIT" ]
null
null
null
src/sprogc/source/gpc_species_comp.cpp
sm453/MOpS
f1a706c6552bbdf3ceab504121a02391a1b51ede
[ "MIT" ]
3
2021-11-15T05:18:26.000Z
2022-03-01T13:51:20.000Z
/* Author(s): Martin Martin (mm864) Project: sprog (gas-phase and surface chemical kinetics). Sourceforge: http://sourceforge.net/projects/mopssuite Copyright (C) 2012 Martin Martin. File purpose: Inline function definitions for Species class. Licence: This file is part of "sprog...
22.553571
79
0.679863
sm453
69a1943f68b8ee73fa1cce852fe4b6edf8d5fb36
1,231
cc
C++
src/input/config_ctl.cc
frzifus/sfml-rpic-desktop
c112ed66a711f62ecf1198a221e7a914e413a92b
[ "MIT" ]
null
null
null
src/input/config_ctl.cc
frzifus/sfml-rpic-desktop
c112ed66a711f62ecf1198a221e7a914e413a92b
[ "MIT" ]
null
null
null
src/input/config_ctl.cc
frzifus/sfml-rpic-desktop
c112ed66a711f62ecf1198a221e7a914e413a92b
[ "MIT" ]
null
null
null
/** * Copyright(c) [2017] <Frzifus> All Rights Reserved. * Distributed under MIT license. * See file LICENSE for detail at LICENSE file. */ #include "./input/config_ctl.h" #include "./screen/config.h" #include "./screen/screen_digits.h" Input::ConfigCtl::ConfigCtl(::Screen::Config *config_instance) { config_ins...
30.02439
68
0.669374
frzifus
69a2ae3514d7a78968a6c5f5aa9ada6c2483e384
901
cpp
C++
Array/caiweixiong/cpp/Homework_007.cpp
JessonYue/LeetCodeLearning
3c22a4fcdfe8b47f9f64b939c8b27742c4e30b79
[ "MIT" ]
39
2020-05-31T06:14:39.000Z
2021-01-09T11:06:39.000Z
Array/caiweixiong/cpp/Homework_007.cpp
JessonYue/LeetCodeLearning
3c22a4fcdfe8b47f9f64b939c8b27742c4e30b79
[ "MIT" ]
7
2020-06-02T11:04:14.000Z
2020-06-11T14:11:58.000Z
Array/caiweixiong/cpp/Homework_007.cpp
JessonYue/LeetCodeLearning
3c22a4fcdfe8b47f9f64b939c8b27742c4e30b79
[ "MIT" ]
20
2020-05-31T06:21:57.000Z
2020-10-01T04:48:38.000Z
// // Created by Vashon on 2020/8/10. // #include "Homework_007.h" ListNode *Homework_007::reverseList_1(ListNode *head) { if (!head || !head->next) return head; ListNode tempHead(0), *temp; // 头插法建链 while (head) { temp = head; head = head->next; temp->next = tempHead.next; ...
23.102564
55
0.621532
JessonYue
69a70a2e93ed3a12b83d33857adda993fa1c7743
468
cpp
C++
src/shm/single_producer.cpp
AMDS123/SharedMQ
d58c09c32a45822e4a473b6d6d51d1a51ce3681a
[ "BSD-2-Clause" ]
4
2019-03-19T08:14:35.000Z
2021-05-25T08:51:54.000Z
src/shm/single_producer.cpp
AMDS123/SharedMQ
d58c09c32a45822e4a473b6d6d51d1a51ce3681a
[ "BSD-2-Clause" ]
null
null
null
src/shm/single_producer.cpp
AMDS123/SharedMQ
d58c09c32a45822e4a473b6d6d51d1a51ce3681a
[ "BSD-2-Clause" ]
3
2019-04-05T10:23:26.000Z
2021-07-22T01:26:01.000Z
#include "errors.h" #include "configreader.h" #include "single_producer.h" Producer::Producer(const char *conf_path) { shmmq_notifier = new ShmBase::ShmMQNotify(conf_path, ShmBase::ShmMQNotify::WRITER); exit_if(shmmq_notifier == NULL, "new ShmMQNotify"); } Producer::~Producer() { delete shmmq_notifier; } ...
23.4
87
0.735043
AMDS123
69aab84ff423b7f54992bd732cfdec60413d46bd
1,697
cpp
C++
modules/core/container/table/unit/table/release.cpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
null
null
null
modules/core/container/table/unit/table/release.cpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
null
null
null
modules/core/container/table/unit/table/release.cpp
psiha/nt2
5e829807f6b57b339ca1be918a6b60a2507c54d0
[ "BSL-1.0" ]
null
null
null
//============================================================================== // Copyright 2003 - 2012 LASMEA UMR 6602 CNRS/Univ. Clermont II // Copyright 2009 - 2012 LRI UMR 8623 CNRS/Univ Paris Sud XI // // Distributed under the Boost Software License, Version 1.0. // ...
25.712121
80
0.516205
psiha
69ad11e7a6690ad55c9987a8efd262d42e53bcdb
4,344
cpp
C++
local/codes/c1086_2.cpp
Tony031218/OI
562f5f45d0448f4eab77643b99b825405a123d92
[ "MIT" ]
1
2021-02-22T03:39:24.000Z
2021-02-22T03:39:24.000Z
local/codes/c1086_2.cpp
Tony031218/OI
562f5f45d0448f4eab77643b99b825405a123d92
[ "MIT" ]
null
null
null
local/codes/c1086_2.cpp
Tony031218/OI
562f5f45d0448f4eab77643b99b825405a123d92
[ "MIT" ]
null
null
null
/************************************************************* * > File Name : c1086_2.cpp * > Author : Tony * > Created Time : 2019/11/07 15:32:56 * > Algorithm : **************************************************************/ #include <bits/stdc++.h> using namespace std; inline ...
28.392157
78
0.35244
Tony031218
69b33e9b2d61a2f538bbd88d6c45c51304a2990e
448
inl
C++
engine/include/xe/serialization/node_view.inl
trbflxr/xe
13123869a848972e064cb8c6838c4215f034f3d9
[ "MIT" ]
null
null
null
engine/include/xe/serialization/node_view.inl
trbflxr/xe
13123869a848972e064cb8c6838c4215f034f3d9
[ "MIT" ]
null
null
null
engine/include/xe/serialization/node_view.inl
trbflxr/xe
13123869a848972e064cb8c6838c4215f034f3d9
[ "MIT" ]
null
null
null
// // Created by trbflxr on 3/7/2020. // #ifndef XE_NODE_VIEW_INL #define XE_NODE_VIEW_INL namespace xe { template<typename T> void NodeView::setName(const T &value) { return getNode()->setName<T>(value); } template<typename T> void NodeView::set(const T &value) { getNode()->set<T>(value); } ...
16
43
0.65625
trbflxr
69b36f2bf6b05a7a19fc71f5965b6a77b8612532
15,698
cpp
C++
src/coreclr/src/jit/jitconfig.cpp
abock/runtime
b3346807be96f6089fc1538946b3611f607389e2
[ "MIT" ]
6
2016-07-25T08:33:10.000Z
2022-02-10T10:10:51.000Z
src/coreclr/src/jit/jitconfig.cpp
abock/runtime
b3346807be96f6089fc1538946b3611f607389e2
[ "MIT" ]
15
2017-01-27T20:18:50.000Z
2019-11-14T00:52:58.000Z
src/coreclr/src/jit/jitconfig.cpp
abock/runtime
b3346807be96f6089fc1538946b3611f607389e2
[ "MIT" ]
3
2021-02-10T16:20:05.000Z
2021-03-12T07:55:36.000Z
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. #include "jitpch.h" #ifdef _MSC_VER #pragma hdrstop #endif #include "jitconfig.h" JitConfigValues JitConfig; void...
36.849765
120
0.459485
abock
69b5167a792e89900a2af1338999dcf23c49fe65
1,000
hpp
C++
src/lexer.hpp
JamesWP/anzu
7894d030d32a6d3c1393756ef80389aa523a0512
[ "MIT" ]
null
null
null
src/lexer.hpp
JamesWP/anzu
7894d030d32a6d3c1393756ef80389aa523a0512
[ "MIT" ]
null
null
null
src/lexer.hpp
JamesWP/anzu
7894d030d32a6d3c1393756ef80389aa523a0512
[ "MIT" ]
null
null
null
#pragma once #include <vector> #include <string> #include <unordered_set> namespace anzu { static const std::unordered_set<std::string_view> keywords = { "pop", "dup", "swap", "rot", "over", "function", "if", "elif", "else" "while", "break", "continue", "do", "...
12.820513
62
0.465
JamesWP
69b8abf8ad24267b7ba568e3e1e9a04fc4c51fcf
1,090
cpp
C++
PTA/PAT(Advanced Level)/c++/A1090.cpp
Sunrisepeak/AC-Online-Judge
5b5ea2eefa2ba48d718957720158fb79134a8fa7
[ "Apache-2.0" ]
3
2019-03-17T11:47:05.000Z
2021-12-10T03:41:42.000Z
PTA/PAT(Advanced Level)/c++/A1090.cpp
Sunrisepeak/AC-Online-Judge
5b5ea2eefa2ba48d718957720158fb79134a8fa7
[ "Apache-2.0" ]
null
null
null
PTA/PAT(Advanced Level)/c++/A1090.cpp
Sunrisepeak/AC-Online-Judge
5b5ea2eefa2ba48d718957720158fb79134a8fa7
[ "Apache-2.0" ]
null
null
null
/* * @Author: SPeak Shen * @Date: 2020-06-02 15:35:04 * @Last Modified by: SPeak Shen * @Last Modified time: 2020-06-02 16:18:32 */ #include <iostream> #include <vector> using namespace std; struct STreeNode { //double price; vector<int> child; }; STreeNode tree[100000]; int N, number { 0 }; double P...
19.818182
63
0.479817
Sunrisepeak
69c10b4698fbd8b0ec8bfd85a487868575b9a719
4,632
cpp
C++
scene.cpp
LuanQBarbosa/ray-tracer-university-project
9fd8ab9d8e8b98dc186e7353788ed8a93862cb2b
[ "MIT" ]
null
null
null
scene.cpp
LuanQBarbosa/ray-tracer-university-project
9fd8ab9d8e8b98dc186e7353788ed8a93862cb2b
[ "MIT" ]
null
null
null
scene.cpp
LuanQBarbosa/ray-tracer-university-project
9fd8ab9d8e8b98dc186e7353788ed8a93862cb2b
[ "MIT" ]
null
null
null
#include "scene.h" Scene::Scene( void ) {} Scene::~Scene( void ) { if ( bvh_ ) { delete bvh_; bvh_ = nullptr; } } // bool Scene::intersect( const Ray &ray, // IntersectionRecord &intersection_record ) const // { // bool intersection_result = false; // Intersect...
38.280992
178
0.626295
LuanQBarbosa
69c34363ead08eb2fa5fb0de93291c399e405049
6,027
cpp
C++
Engine/Plugins/Media/MediaPlayerEditor/Source/MediaPlayerEditor/Private/Factories/MediaPlayerFactoryNew.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
1
2022-01-29T18:36:12.000Z
2022-01-29T18:36:12.000Z
Engine/Plugins/Media/MediaPlayerEditor/Source/MediaPlayerEditor/Private/Factories/MediaPlayerFactoryNew.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
Engine/Plugins/Media/MediaPlayerEditor/Source/MediaPlayerEditor/Private/Factories/MediaPlayerFactoryNew.cpp
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #include "MediaPlayerFactoryNew.h" #include "AssetToolsModule.h" #include "Editor.h" #include "EditorStyleSet.h" #include "IAssetTools.h" #include "Input/Reply.h" #include "Misc/PackageName.h" #include "Modules/ModuleManager.h" #include "Layout/Visibility.h...
27.902778
161
0.671478
windystrife
69c41e7ae8b1193da033a4dc394559871373fd16
1,903
cc
C++
depends/dbcommon/src/dbcommon/utils/cutils.cc
YangHao666666/hawq
10cff8350f1ba806c6fec64eb67e0e6f6f24786c
[ "Artistic-1.0-Perl", "ISC", "bzip2-1.0.5", "TCL", "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "MIT", "PostgreSQL", "BSD-3-Clause" ]
1
2020-05-11T01:39:13.000Z
2020-05-11T01:39:13.000Z
depends/dbcommon/src/dbcommon/utils/cutils.cc
YangHao666666/hawq
10cff8350f1ba806c6fec64eb67e0e6f6f24786c
[ "Artistic-1.0-Perl", "ISC", "bzip2-1.0.5", "TCL", "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "MIT", "PostgreSQL", "BSD-3-Clause" ]
1
2021-03-01T02:57:26.000Z
2021-03-01T02:57:26.000Z
depends/dbcommon/src/dbcommon/utils/cutils.cc
YangHao666666/hawq
10cff8350f1ba806c6fec64eb67e0e6f6f24786c
[ "Artistic-1.0-Perl", "ISC", "bzip2-1.0.5", "TCL", "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "MIT", "PostgreSQL", "BSD-3-Clause" ]
1
2020-05-03T07:29:21.000Z
2020-05-03T07:29:21.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 ...
26.430556
71
0.671571
YangHao666666
69c588a34ad6018a8ba04f265c76749673132a96
1,679
cpp
C++
c++/program.cpp
foxtrotzulu94/LanguageBenchmarkGame
29c92c47c860d426409047a8408eaa52284a0cff
[ "MIT" ]
null
null
null
c++/program.cpp
foxtrotzulu94/LanguageBenchmarkGame
29c92c47c860d426409047a8408eaa52284a0cff
[ "MIT" ]
null
null
null
c++/program.cpp
foxtrotzulu94/LanguageBenchmarkGame
29c92c47c860d426409047a8408eaa52284a0cff
[ "MIT" ]
null
null
null
#include <algorithm> #include <iostream> #include <string> #include <vector> #include "argument_holder.hpp" #include "file_result.hpp" #include "worker.hpp" #include "utils.hpp" void PrintUsage(){ using namespace std; cout << endl; cout << " Usage: program.out <dir_a> <dir_b> [options]" << endl << endl; ...
34.979167
120
0.622394
foxtrotzulu94
69c63bdf96afc38e8fe7fba0b9e752be7677271e
1,145
cpp
C++
math/EXCRT.cpp
jasonfan0328/algorithm
3769a03c5c530381e3ee08c416c3593c96ee966c
[ "CC0-1.0" ]
3
2021-05-03T01:14:04.000Z
2021-05-05T05:47:56.000Z
math/EXCRT.cpp
jason-fxz/algorithm
3769a03c5c530381e3ee08c416c3593c96ee966c
[ "CC0-1.0" ]
null
null
null
math/EXCRT.cpp
jason-fxz/algorithm
3769a03c5c530381e3ee08c416c3593c96ee966c
[ "CC0-1.0" ]
null
null
null
#include <bits/stdc++.h> using namespace std; typedef long long ll; const int N = 100010; ll a[N], b[N]; int n; ll mul(ll a, ll b, ll mod) { ll r = 0; a = (a % mod + mod) % mod; b = (b % mod + mod) % mod; while (b) { if (b & 1) r = (r + a) % mod; a = (a << 1) % mod; b >>= 1; } return...
27.261905
92
0.385153
jasonfan0328
69cc7e9235f2a4b25bab741ce89177266b178c60
3,338
cpp
C++
src/emu/dinetwork.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
26
2015-03-31T06:25:51.000Z
2021-12-14T09:29:04.000Z
src/emu/dinetwork.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
null
null
null
src/emu/dinetwork.cpp
Robbbert/messui
49b756e2140d8831bc81335298ee8c5471045e79
[ "BSD-3-Clause" ]
10
2015-03-27T05:45:51.000Z
2022-02-04T06:57:36.000Z
// license:BSD-3-Clause // copyright-holders:Carl, Miodrag Milanovic #include "emu.h" #include "osdnet.h" device_network_interface::device_network_interface(const machine_config &mconfig, device_t &device, float bandwidth) : device_interface(device, "network") { m_promisc = false; m_bandwidth = bandwidth; set_mac(...
24.014388
136
0.727082
Robbbert
69ccc19cb17a6de0aeb0dc8a1c7c6b06b421becf
33,356
cpp
C++
Source/GameJoltAPI/gjAPI.cpp
Sasurai/Dodge
bb7233b20bb1f8f0e6cae2d53c3993aea486109c
[ "MIT" ]
1
2020-01-08T05:36:59.000Z
2020-01-08T05:36:59.000Z
Source/GameJoltAPI/gjAPI.cpp
Sasurai/Dodge
bb7233b20bb1f8f0e6cae2d53c3993aea486109c
[ "MIT" ]
null
null
null
Source/GameJoltAPI/gjAPI.cpp
Sasurai/Dodge
bb7233b20bb1f8f0e6cae2d53c3993aea486109c
[ "MIT" ]
null
null
null
/////////////////////////////////////////////////////////////////// //*-------------------------------------------------------------*// //| Part of the Game Jolt API C++ Library (http://gamejolt.com) |// //*-------------------------------------------------------------*// //| Released under the zlib License ...
28.172297
131
0.536575
Sasurai
69cdb8f40a274b41ceea595d55c8979ef8edd28f
1,272
cpp
C++
src/Logger.cpp
cbaron3/chip8-emulator
b218fa40c03d950713d41f32ca08b709a69bcc84
[ "MIT" ]
null
null
null
src/Logger.cpp
cbaron3/chip8-emulator
b218fa40c03d950713d41f32ca08b709a69bcc84
[ "MIT" ]
10
2019-02-04T17:00:20.000Z
2019-05-31T01:44:39.000Z
src/Logger.cpp
cbaron3/chip8-emulator
b218fa40c03d950713d41f32ca08b709a69bcc84
[ "MIT" ]
null
null
null
// Project includes #include "../include/Logger.h" // C++ includes #include <iostream> namespace util{ // Initial value of static object Logger* Logger::m_logger = NULL; // Singleton instance function Logger* Logger::get_instance( void ) { if(m_logger == NULL) { m_logger = new Logger(); } return m_logge...
19.272727
74
0.624214
cbaron3
69cf441a87c21a8902eeec98a6d218c9f5c37ad7
1,474
cpp
C++
src/Generic/common/ASCIIUtil.cpp
BBN-E/serif
1e2662d82fb1c377ec3c79355a5a9b0644606cb4
[ "Apache-2.0" ]
1
2022-03-24T19:57:00.000Z
2022-03-24T19:57:00.000Z
src/Generic/common/ASCIIUtil.cpp
BBN-E/serif
1e2662d82fb1c377ec3c79355a5a9b0644606cb4
[ "Apache-2.0" ]
null
null
null
src/Generic/common/ASCIIUtil.cpp
BBN-E/serif
1e2662d82fb1c377ec3c79355a5a9b0644606cb4
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2012 by Raytheon BBN Technologies Corp. // All Rights Reserved. #include "Generic/common/leak_detection.h" #include "Generic/common/ASCIIUtil.h" #include "Generic/linuxPort/serif_port.h" #include <iostream> // for iswspace on linux bool ASCIIUtil::containsAlpha(const std::wstring &str) { fo...
29.48
120
0.614654
BBN-E
69d077a4ee3c776e43f12161838888d2b98d6c3c
4,160
tpp
C++
signal-slot-benchmarks/benchmark/lib/iscool/include/iscool/signals/detail/relay.tpp
qubka/signals
6bd39c662ab2b1e0caafc5a4c4510a74fb9f9e1c
[ "MIT" ]
181
2020-01-17T13:49:59.000Z
2022-03-17T03:23:12.000Z
signal-slot-benchmarks/benchmark/lib/iscool/include/iscool/signals/detail/relay.tpp
qubka/signals
6bd39c662ab2b1e0caafc5a4c4510a74fb9f9e1c
[ "MIT" ]
22
2020-01-16T23:37:02.000Z
2021-09-08T23:51:12.000Z
signal-slot-benchmarks/benchmark/lib/iscool/include/iscool/signals/detail/relay.tpp
qubka/signals
6bd39c662ab2b1e0caafc5a4c4510a74fb9f9e1c
[ "MIT" ]
16
2020-01-28T15:40:18.000Z
2022-02-25T08:32:15.000Z
/* Copyright 2018-present IsCool Entertainment Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
30.144928
80
0.613702
qubka
69d6b6c5973d7684a866996ab5ab2c47545fc681
2,195
hpp
C++
src/VirtWebPage.hpp
taleroangel/ProxyServer
be1433be7b332a9d901964087591c5908450733a
[ "Apache-2.0" ]
1
2022-03-07T02:43:05.000Z
2022-03-07T02:43:05.000Z
src/VirtWebPage.hpp
taleroangel/ProxyServer
be1433be7b332a9d901964087591c5908450733a
[ "Apache-2.0" ]
null
null
null
src/VirtWebPage.hpp
taleroangel/ProxyServer
be1433be7b332a9d901964087591c5908450733a
[ "Apache-2.0" ]
null
null
null
/** * @file Server.hpp * @author Angel D. Talero (angelgotalero@outlook.com) * @brief Clase encargada de manejar los sitios web virtuales * * @copyright Copyright (c) 2021. All rights reserved. * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE...
28.506494
69
0.663781
taleroangel
69d795cc6a368819e3a9697657a3c8dccfaef222
14,833
cpp
C++
src/jitcat/ExpressionBase.cpp
mvhooren/JitCat
8e05b51c5feda8fa9258ba443854b23c4ad8bf7c
[ "MIT" ]
14
2019-03-16T07:00:44.000Z
2021-10-20T23:36:51.000Z
src/jitcat/ExpressionBase.cpp
mvhooren/JitCat
8e05b51c5feda8fa9258ba443854b23c4ad8bf7c
[ "MIT" ]
13
2019-11-22T12:43:55.000Z
2020-05-25T13:09:08.000Z
src/jitcat/ExpressionBase.cpp
mvhooren/JitCat
8e05b51c5feda8fa9258ba443854b23c4ad8bf7c
[ "MIT" ]
1
2019-11-23T17:59:58.000Z
2019-11-23T17:59:58.000Z
/* This file is part of the JitCat library. Copyright (C) Machiel van Hooren 2018 Distributed under the MIT License (license terms are at http://opensource.org/licenses/MIT). */ #include "jitcat/ExpressionBase.h" #include "jitcat/CatArgumentList.h" #include "jitcat/CatAssignableExpression.h" #include "jitcat/C...
34.656542
309
0.750826
mvhooren
69d828b08dfec6c1091045c50e86816f023a620b
1,255
cpp
C++
test/Stat_test.cpp
hhoppe/Mesh-processing-library
aa8c952fbbb00774008060767650b821bf72fa10
[ "MIT" ]
422
2017-01-12T04:44:39.000Z
2022-03-21T14:38:49.000Z
test/Stat_test.cpp
wangxihao/Mesh-processing-library
194ce16b8b28bbab1263ca6bc26dedfa7a0eeea2
[ "MIT" ]
1
2017-06-07T16:36:09.000Z
2017-06-07T16:36:09.000Z
test/Stat_test.cpp
wangxihao/Mesh-processing-library
194ce16b8b28bbab1263ca6bc26dedfa7a0eeea2
[ "MIT" ]
75
2017-01-12T04:44:41.000Z
2021-11-09T02:57:34.000Z
// -*- C++ -*- Copyright (c) Microsoft Corporation; see license.txt #include "libHh/Stat.h" #include "libHh/Array.h" #include "libHh/Vec.h" using namespace hh; // Optionally, run with: rm -f Stat.Stat_test; (setenv STAT_FILES; Stat_test); cat Stat.Stat_test int main() { { Stat s1("", true); for (int i ...
23.240741
100
0.54741
hhoppe
69d9a899646b5f04222898da10680076b539826c
2,972
cpp
C++
codeBase/Algorithms/Graph_Algorithms/Prim's_Minimum_Spanning_Tree/prims.cpp
suren3141/codeBase
10ed9a56aca33631dc8c419cd83859c19dd6ff09
[ "Apache-2.0" ]
3
2020-03-16T14:59:08.000Z
2021-07-28T20:51:53.000Z
codeBase/Algorithms/Graph_Algorithms/Prim's_Minimum_Spanning_Tree/prims.cpp
suren3141/codeBase
10ed9a56aca33631dc8c419cd83859c19dd6ff09
[ "Apache-2.0" ]
2
2016-04-16T05:39:20.000Z
2016-06-06T12:24:56.000Z
codeBase/Algorithms/Graph_Algorithms/Prim's_Minimum_Spanning_Tree/prims.cpp
killerilaksha/codeBase
91cbd950fc90066903e58311000784aeba4ffc02
[ "Apache-2.0" ]
18
2020-02-17T23:17:37.000Z
2021-07-28T20:52:13.000Z
/* Copyright Hackers' Club, University Of Peradeniya Author : E/13/181 (Samurdhi Karunarathne) 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 re...
26.070175
168
0.641319
suren3141
69daf60209975db1c677d25f81675d4d6ac34359
550
hpp
C++
willow/include/popart/transforms/overlapio.hpp
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
61
2020-07-06T17:11:46.000Z
2022-03-12T14:42:51.000Z
willow/include/popart/transforms/overlapio.hpp
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
1
2021-02-25T01:30:29.000Z
2021-11-09T11:13:14.000Z
willow/include/popart/transforms/overlapio.hpp
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
6
2020-07-15T12:33:13.000Z
2021-11-07T06:55:00.000Z
// Copyright (c) 2021 Graphcore Ltd. All rights reserved. #ifndef GUARD_NEURALNET_OVERLAPIO_HPP #define GUARD_NEURALNET_OVERLAPIO_HPP #include <popart/transforms/transform.hpp> namespace popart { class OverlapIO : public Transform { public: static std::size_t id(); OverlapIO() : Transform() {} virtual ~Overla...
21.153846
67
0.727273
gglin001
69db9c865eb7b7e9c52029c6cb4c9aa4a3b030d8
995
cc
C++
src/code_writen_when_learning/ret_t_of_post_inc_int.cc
NobodyXu/snippet
8f0308e48dab1d166dc9e5ff43b00db2d35b616b
[ "MIT" ]
1
2019-04-02T04:38:15.000Z
2019-04-02T04:38:15.000Z
src/code_writen_when_learning/ret_t_of_post_inc_int.cc
NobodyXu/snippet
8f0308e48dab1d166dc9e5ff43b00db2d35b616b
[ "MIT" ]
null
null
null
src/code_writen_when_learning/ret_t_of_post_inc_int.cc
NobodyXu/snippet
8f0308e48dab1d166dc9e5ff43b00db2d35b616b
[ "MIT" ]
null
null
null
#include <iostream> #include <boost/cstdint.hpp> #include <typeinfo> template <class T> T create_T(); template <class T> void ret_t_of_pre_inc() { T i; std::cout << typeid(decltype(++i)).name() << std::endl << typeid(T).name() << std::endl << typeid(T&).name() << std::endl; } template <class T> v...
24.268293
58
0.552764
NobodyXu
69ded58302baca09c1949467324f1a037b65273c
748
hpp
C++
hw/ip/kmac/dv/dpi/vendor/kerukuro_digestpp/algorithm/sm3.hpp
asb/opentitan
af68ff5041b10c81e97adc075a4d042f8ac7ab20
[ "Apache-2.0" ]
1,375
2019-11-05T15:11:00.000Z
2022-03-28T17:50:43.000Z
hw/ip/kmac/dv/dpi/vendor/kerukuro_digestpp/algorithm/sm3.hpp
asb/opentitan
af68ff5041b10c81e97adc075a4d042f8ac7ab20
[ "Apache-2.0" ]
7,045
2019-11-05T16:05:45.000Z
2022-03-31T23:08:08.000Z
hw/ip/kmac/dv/dpi/vendor/kerukuro_digestpp/algorithm/sm3.hpp
asb/opentitan
af68ff5041b10c81e97adc075a4d042f8ac7ab20
[ "Apache-2.0" ]
428
2019-11-05T15:00:20.000Z
2022-03-28T15:34:57.000Z
/* This code is written by kerukuro and released into public domain. */ #ifndef DIGESTPP_ALGORITHM_SM3_HPP #define DIGESTPP_ALGORITHM_SM3_HPP #include "../hasher.hpp" #include "detail/sm3_provider.hpp" namespace digestpp { /** * @brief SM3 hash function * * @hash * * @outputsize 256 bits * * @defaultsize 256...
18.7
73
0.705882
asb
69df1ad7d8614d697c0432d2810ec8b3c2393d6b
1,172
cpp
C++
official sample codes/GenIRanger/private/DatAndXmlFiles.cpp
novitec/ranger3
5ba831c2ddd500685f5e3940ab725c005c975c1c
[ "MIT" ]
null
null
null
official sample codes/GenIRanger/private/DatAndXmlFiles.cpp
novitec/ranger3
5ba831c2ddd500685f5e3940ab725c005c975c1c
[ "MIT" ]
null
null
null
official sample codes/GenIRanger/private/DatAndXmlFiles.cpp
novitec/ranger3
5ba831c2ddd500685f5e3940ab725c005c975c1c
[ "MIT" ]
1
2020-03-25T04:49:40.000Z
2020-03-25T04:49:40.000Z
// Copyright 2018 SICK AG. All rights reserved. #include "DatAndXmlFiles.h" namespace GenIRanger { DatAndXmlFiles::DatAndXmlFiles(std::string filePathWithNoEnding) : mDataStream(filePathWithNoEnding + ".dat", openMode) , mXmlStream(filePathWithNoEnding + ".xml", openMode) { mDataStream.exceptions(std::ios::fai...
23.44
72
0.744881
novitec
69dfaaecaff7c2aa2914a68e33bc8a59d61cc116
388
cpp
C++
chai.cpp
faede/Daily
45d2cbdca9a63c956df066fb596317ae4a6137b3
[ "MIT" ]
null
null
null
chai.cpp
faede/Daily
45d2cbdca9a63c956df066fb596317ae4a6137b3
[ "MIT" ]
null
null
null
chai.cpp
faede/Daily
45d2cbdca9a63c956df066fb596317ae4a6137b3
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int a[20]; void chai(int n,int pos,int temp_sum,int last){ if(temp_sum == n){ cout<<n<<"="; cout<<a[1]; for(int i = 2; i < pos ; ++i){ cout<<"+"<<a[i]; } cout<<endl; return; } for(int i = last; i != n && i <= n - temp_sum ; ++i){ a[pos] = i; chai(n,pos+1,te...
15.52
54
0.515464
faede
69e434b50feeab8f249da755c6ef7022179f84bd
354
cpp
C++
knapsack/main.cpp
ryanmcdermott/katas
d23b8c131f03e4df0a3a5268de4b63c5b35058a1
[ "MIT" ]
46
2017-06-26T15:09:10.000Z
2022-03-19T04:21:32.000Z
knapsack/main.cpp
ryanmcdermott/katas
d23b8c131f03e4df0a3a5268de4b63c5b35058a1
[ "MIT" ]
null
null
null
knapsack/main.cpp
ryanmcdermott/katas
d23b8c131f03e4df0a3a5268de4b63c5b35058a1
[ "MIT" ]
13
2017-10-18T05:30:18.000Z
2021-10-04T22:46:35.000Z
#include "./knapsack.hpp" #include <assert.h> #include <iostream> using std::cout; int main() { int values[] = {60, 100, 120}; int weights[] = {10, 20, 30}; int max_weight = 50; int item_count = sizeof(values) / sizeof(values[0]); int result = knapsack(max_weight, weights, values, item_count); assert(re...
19.666667
65
0.641243
ryanmcdermott
69e4f5d578fc88afbea1e11cfa1cbbd196cd3345
4,943
cpp
C++
Library/Source/Nano/Time/NTimeUtils.cpp
refnum/Nano
dceb0907061f7845d8a3c662f309ca164e932e6f
[ "BSD-3-Clause" ]
23
2019-11-12T09:31:11.000Z
2021-09-13T08:59:37.000Z
Library/Source/Nano/Time/NTimeUtils.cpp
refnum/nano
dceb0907061f7845d8a3c662f309ca164e932e6f
[ "BSD-3-Clause" ]
1
2020-10-30T09:54:12.000Z
2020-10-30T09:54:12.000Z
Library/Source/Nano/Time/NTimeUtils.cpp
refnum/Nano
dceb0907061f7845d8a3c662f309ca164e932e6f
[ "BSD-3-Clause" ]
3
2015-09-08T11:00:02.000Z
2017-09-11T05:42:30.000Z
/* NAME: NTimeUtils.cpp DESCRIPTION: Time utilities. COPYRIGHT: Copyright (c) 2006-2021, refNum Software All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of sourc...
28.738372
79
0.560388
refnum
69e5c583543bdf0c7e2be6f9de29fb1e20a78129
41,321
cpp
C++
src/core/callers/trio_caller.cpp
alimanfoo/octopus
f3cc3f567f02fafe33f5a06e5be693d6ea985ee3
[ "MIT" ]
1
2018-08-21T23:34:28.000Z
2018-08-21T23:34:28.000Z
src/core/callers/trio_caller.cpp
alimanfoo/octopus
f3cc3f567f02fafe33f5a06e5be693d6ea985ee3
[ "MIT" ]
null
null
null
src/core/callers/trio_caller.cpp
alimanfoo/octopus
f3cc3f567f02fafe33f5a06e5be693d6ea985ee3
[ "MIT" ]
null
null
null
// Copyright (c) 2015-2018 Daniel Cooke // Use of this source code is governed by the MIT license that can be found in the LICENSE file. #include "trio_caller.hpp" #include <typeinfo> #include <functional> #include <iterator> #include <algorithm> #include <numeric> #include <map> #include <utility> #include "basics/...
42.775362
135
0.654703
alimanfoo
69e7c7f74bc79ccac4886ec37eaff73dbf6343cb
4,538
cpp
C++
RompLib/src/QueryFuncs.cpp
World-Worst-Detector/romp
d45cf33bd233eef4cd475a8dd328d19a3ae27c24
[ "MIT" ]
5
2018-11-15T16:44:06.000Z
2022-03-01T05:39:54.000Z
RompLib/src/QueryFuncs.cpp
World-Worst-Detector/romp
d45cf33bd233eef4cd475a8dd328d19a3ae27c24
[ "MIT" ]
5
2019-03-12T16:03:13.000Z
2022-01-15T01:23:59.000Z
RompLib/src/QueryFuncs.cpp
World-Worst-Detector/romp
d45cf33bd233eef4cd475a8dd328d19a3ae27c24
[ "MIT" ]
6
2019-01-03T22:19:14.000Z
2021-06-23T18:10:49.000Z
#include "QueryFuncs.h" #include <glog/logging.h> #include <glog/raw_logging.h> #include <pthread.h> namespace romp { /* * Helper function to determine if the query function get available result. */ bool infoIsAvailable(const int retVal) { if (retVal == 0) { // task does not exist return false; } e...
29.660131
81
0.675408
World-Worst-Detector
69eb60b45c90ad1be47b31cfd9b394083c9c1fa1
10,745
cpp
C++
src/Generic/relations/VectorModel.cpp
BBN-E/serif
1e2662d82fb1c377ec3c79355a5a9b0644606cb4
[ "Apache-2.0" ]
1
2022-03-24T19:57:00.000Z
2022-03-24T19:57:00.000Z
src/Generic/relations/VectorModel.cpp
BBN-E/serif
1e2662d82fb1c377ec3c79355a5a9b0644606cb4
[ "Apache-2.0" ]
null
null
null
src/Generic/relations/VectorModel.cpp
BBN-E/serif
1e2662d82fb1c377ec3c79355a5a9b0644606cb4
[ "Apache-2.0" ]
null
null
null
// Copyright 2008 by BBN Technologies Corp. // All Rights Reserved. #include "Generic/common/leak_detection.h" #include "Generic/relations/VectorModel.h" #include "Generic/common/Symbol.h" #include "Generic/common/NgramScoreTable.h" #include "Generic/common/UTF8InputStream.h" #include "Generic/common/UTF8Tok...
33.266254
116
0.710656
BBN-E
69ece13f49b984a83383566514ce4983f0932571
546
hpp
C++
src/texture_create_info.hpp
zfccxt/calcium
9cc3a00904c05e675bdb5d35eef0f5356796e564
[ "MIT" ]
null
null
null
src/texture_create_info.hpp
zfccxt/calcium
9cc3a00904c05e675bdb5d35eef0f5356796e564
[ "MIT" ]
null
null
null
src/texture_create_info.hpp
zfccxt/calcium
9cc3a00904c05e675bdb5d35eef0f5356796e564
[ "MIT" ]
null
null
null
#pragma once #include <string> #include "colour.hpp" #include "texture_filter.hpp" #include "texture_wrap.hpp" namespace cl { // TODO: Name these better struct TextureCreateInfo { std::string file_path; TextureFilter filter = TextureFilter::kLinear; TextureWrap wrap = TextureWrap::kRepeat; bool flip_vertic...
18.827586
49
0.74359
zfccxt
69f1f8c7be5e684596c57065c80b22c0db0e137d
2,504
cpp
C++
Toolbox/Win32_utilities/win32_stdDialogBox.cpp
pk1954/Solutions
b224522283f82cb7d73b8005e35e0c045edc2fc0
[ "MIT" ]
null
null
null
Toolbox/Win32_utilities/win32_stdDialogBox.cpp
pk1954/Solutions
b224522283f82cb7d73b8005e35e0c045edc2fc0
[ "MIT" ]
null
null
null
Toolbox/Win32_utilities/win32_stdDialogBox.cpp
pk1954/Solutions
b224522283f82cb7d73b8005e35e0c045edc2fc0
[ "MIT" ]
null
null
null
// win32_stdDialogBox.cpp // // Win32_utilities #include "stdafx.h" #include <sstream> #include "win32_util.h" #include "win32_util_resource.h" #include "win32_stdDialogBox.h" using std::wostringstream; static float m_fValue; // the value to be edited in the dialog static wstring m_wstrUnit; // the text to b...
21.586207
94
0.70647
pk1954
69f92ee3881644f941ac77841dcec48f1da8506d
6,118
cc
C++
webkit/fileapi/media/picasa/pmp_test_helper.cc
codenote/chromium-test
0637af0080f7e80bf7d20b29ce94c5edc817f390
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
webkit/fileapi/media/picasa/pmp_test_helper.cc
codenote/chromium-test
0637af0080f7e80bf7d20b29ce94c5edc817f390
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
webkit/fileapi/media/picasa/pmp_test_helper.cc
codenote/chromium-test
0637af0080f7e80bf7d20b29ce94c5edc817f390
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2020-11-04T07:25:45.000Z
2020-11-04T07:25:45.000Z
// Copyright 2013 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 "webkit/fileapi/media/picasa/pmp_test_helper.h" #include <algorithm> #include <iterator> #include "base/file_util.h" #include "base/logging.h" ...
35.364162
79
0.721641
codenote
69f986fb0137e3a90cdec1ccda4505ab528f959b
585
cpp
C++
tests/adjacent_loop/tests/generator.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
7
2018-04-14T14:55:51.000Z
2022-01-31T10:49:49.000Z
tests/adjacent_loop/tests/generator.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
5
2018-04-14T14:28:49.000Z
2019-05-11T02:22:10.000Z
tests/adjacent_loop/tests/generator.cpp
not522/Competitive-Programming
be4a7d25caf5acbb70783b12899474a56c34dedb
[ "Unlicense" ]
null
null
null
#include "generator.hpp" #include "constraints.hpp" void gen_random(stringstream &ss, const map<string, boost::any> &args) { int n = any_cast<int>(args.at("n")); int y = any_cast<int>(args.at("y")); int x = any_cast<int>(args.at("x")); ss << n << " " << y << " " << x << " " << 10 << " " << 10 << endl; } int m...
30.789474
72
0.57094
not522
69fa8d36192e4d157033ef85d7fa1a7b4b595684
1,154
cpp
C++
aws-cpp-sdk-chime/source/model/BatchCreateRoomMembershipRequest.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2022-02-10T08:06:54.000Z
2022-02-10T08:06:54.000Z
aws-cpp-sdk-chime/source/model/BatchCreateRoomMembershipRequest.cpp
Neusoft-Technology-Solutions/aws-sdk-cpp
88c041828b0dbee18a297c3cfe98c5ecd0706d0b
[ "Apache-2.0" ]
1
2022-01-03T23:59:37.000Z
2022-01-03T23:59:37.000Z
aws-cpp-sdk-chime/source/model/BatchCreateRoomMembershipRequest.cpp
ravindra-wagh/aws-sdk-cpp
7d5ff01b3c3b872f31ca98fb4ce868cd01e97696
[ "Apache-2.0" ]
1
2022-03-23T15:17:18.000Z
2022-03-23T15:17:18.000Z
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/chime/model/BatchCreateRoomMembershipRequest.h> #include <aws/core/utils/json/JsonSerializer.h> #include <utility> using namespace Aws::Chime::Model; using namespace Aws::Utils::Json; ...
26.837209
137
0.783362
Neusoft-Technology-Solutions
69facbb96269bdbf16fdb4a385318085e2be31ee
621
cpp
C++
cpp-main-big/src/main.cpp
dksmiffs/gnatmake-examples
237c0cd9fe8d4788f8898509319a3a665d2233b1
[ "MIT" ]
null
null
null
cpp-main-big/src/main.cpp
dksmiffs/gnatmake-examples
237c0cd9fe8d4788f8898509319a3a665d2233b1
[ "MIT" ]
null
null
null
cpp-main-big/src/main.cpp
dksmiffs/gnatmake-examples
237c0cd9fe8d4788f8898509319a3a665d2233b1
[ "MIT" ]
null
null
null
#include <iostream> #include "i_am_c.h" #include "i_am_cpp.hpp" extern "C" void adainit(); extern "C" void adafinal(); extern "C" void ada_procedure(); extern "C" void ada_procedure_too(); int main() { std::cout << "Starting C++ main." << std::endl; adainit(); std::cout << "Calling external C++ code from C++ m...
24.84
71
0.628019
dksmiffs
69fe0386c91b1531c34533d61f21a49c2766ce5c
1,954
cpp
C++
luogu/codes/P1514.cpp
Tony031218/OI
562f5f45d0448f4eab77643b99b825405a123d92
[ "MIT" ]
1
2021-02-22T03:39:24.000Z
2021-02-22T03:39:24.000Z
luogu/codes/P1514.cpp
Tony031218/OI
562f5f45d0448f4eab77643b99b825405a123d92
[ "MIT" ]
null
null
null
luogu/codes/P1514.cpp
Tony031218/OI
562f5f45d0448f4eab77643b99b825405a123d92
[ "MIT" ]
null
null
null
/************************************************************* * > File Name : P1514.cpp * > Author : Tony * > Created Time : 2019/06/21 15:10:31 * > Algorithm : [Dfs]Ex **************************************************************/ #include <bits/stdc++.h> using namespace std; in...
24.734177
89
0.351586
Tony031218
69ff0364c09954f0a2975f8033527c51556d1c65
6,754
cc
C++
src/openclx/compiler.cc
igankevich/openclx
5063635392619eef84e536f24f8252ea41a5ffe6
[ "Unlicense" ]
null
null
null
src/openclx/compiler.cc
igankevich/openclx
5063635392619eef84e536f24f8252ea41a5ffe6
[ "Unlicense" ]
null
null
null
src/openclx/compiler.cc
igankevich/openclx
5063635392619eef84e536f24f8252ea41a5ffe6
[ "Unlicense" ]
null
null
null
#include <dirent.h> #include <fstream> #include <iomanip> #include <sstream> #include <openclx/binary> #include <openclx/compiler> #include <openclx/kernel> #include <openclx/platform> #define CLX_SYS_THROW() \ throw ::std::system_error(errno, ::std::system_category()) #define CLX_SYS_CHECK(ret) \ if (ret =...
28.378151
94
0.563222
igankevich
69ff14527edc3c3c9db50b30f4a3d0b1cb7228c9
3,334
cpp
C++
src/sensors/MS4525DO/MS4525DO.cpp
RiceCreekUAS/aura-sensors
ab56d1edf47871f094f03e05e9449f6c1ed88bcc
[ "MIT" ]
1
2021-09-24T01:05:35.000Z
2021-09-24T01:05:35.000Z
src/sensors/MS4525DO/MS4525DO.cpp
RiceCreekUAS/rc-fmu-arduino
ab56d1edf47871f094f03e05e9449f6c1ed88bcc
[ "MIT" ]
1
2019-06-06T17:36:02.000Z
2019-06-06T17:36:02.000Z
src/sensors/MS4525DO/MS4525DO.cpp
RiceCreekUAS/rc-fmu-arduino
ab56d1edf47871f094f03e05e9449f6c1ed88bcc
[ "MIT" ]
2
2020-04-04T23:48:30.000Z
2020-04-13T03:38:26.000Z
// MS4525DO.cpp #include "Arduino.h" #include "MS4525DO.h" /* Default constructor */ MS4525DO::MS4525DO(){ _address = 0x28; // I2C address _bus = NULL; // I2C bus _ready = false; } /* MS4525DO object, input the I2C address and enumerated chip name (i.e. MS4525DO_1200_B) */ MS4525DO::MS4525DO(uint8_t address, T...
29.767857
99
0.595981
RiceCreekUAS
0e02a28495bfdadba7ff2ee589b6d410b729d4af
2,294
hpp
C++
src/include/XERenderer/GUI/RenderableLayer.hpp
devxkh/FrankE
72faca02759b54aaec842831f3c7a051e7cf5335
[ "MIT" ]
11
2017-01-17T15:02:25.000Z
2020-11-27T16:54:42.000Z
src/include/XERenderer/GUI/RenderableLayer.hpp
devxkh/FrankE
72faca02759b54aaec842831f3c7a051e7cf5335
[ "MIT" ]
9
2016-10-23T20:15:38.000Z
2018-02-06T11:23:17.000Z
src/include/XERenderer/GUI/RenderableLayer.hpp
devxkh/FrankE
72faca02759b54aaec842831f3c7a051e7cf5335
[ "MIT" ]
2
2019-08-29T10:23:51.000Z
2020-04-03T06:08:34.000Z
#ifndef _RENDERABLELAYER_HPP #define _RENDERABLELAYER_HPP #include <XESystem/SystemConfig.hpp> #include <XERenderer/private/ScreenRenderable.hpp> //#include <Ogre/OgreMain/include/OgreManualObject2.h> #include <Ogre/OgreMain/include/OgreMovableObject.h> #include <Ogre/OgreMain/include/OgreRenderable.h> //Ogre::v1 #...
26.068182
103
0.767655
devxkh
0e058e34350ce6e5f8d9c6c68ffce88ec81eea64
1,895
cc
C++
tensorflow/core/grappler/optimizers/debug_stripper.cc
zhangyujing/tensorflow
c7a04561fb8972fb64907acc5f10f3c6d4cef9f2
[ "Apache-2.0" ]
3
2019-04-15T13:59:41.000Z
2020-04-25T21:09:33.000Z
tensorflow/core/grappler/optimizers/debug_stripper.cc
zhangyujing/tensorflow
c7a04561fb8972fb64907acc5f10f3c6d4cef9f2
[ "Apache-2.0" ]
1
2018-02-23T03:17:44.000Z
2018-02-23T03:17:44.000Z
tensorflow/core/grappler/optimizers/debug_stripper.cc
zhangyujing/tensorflow
c7a04561fb8972fb64907acc5f10f3c6d4cef9f2
[ "Apache-2.0" ]
1
2019-06-24T17:57:20.000Z
2019-06-24T17:57:20.000Z
/* Copyright 2017 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
35.092593
80
0.675462
zhangyujing
0e09defd5a7a97fbdf0c16a9885a917a8e983002
25,555
cpp
C++
code/gpucache_saver.cpp
Neill3d/MoPlugs_Framework
c6d212604256f9274737f877fb2c20b75143cf16
[ "BSD-3-Clause" ]
3
2018-03-11T22:44:14.000Z
2021-12-09T11:38:48.000Z
code/gpucache_saver.cpp
Neill3d/MoPlugs_Framework
c6d212604256f9274737f877fb2c20b75143cf16
[ "BSD-3-Clause" ]
null
null
null
code/gpucache_saver.cpp
Neill3d/MoPlugs_Framework
c6d212604256f9274737f877fb2c20b75143cf16
[ "BSD-3-Clause" ]
null
null
null
////////////////////////////////////////////////////////////////////////////////////////////////// // // file: gpucache_saver.cpp // // Author Sergey Solokhin (Neill3d) // // // GitHub page - https://github.com/Neill3d/MoPlugs_Framework // Licensed under BSD 3-Clause - https://github.com/Neill3d/MoPlugs_Framework/blob...
28.237569
125
0.698689
Neill3d
0e0a55ae47d3eca06c6b80dcdddee6ebea0ffd63
21,073
cc
C++
ns-allinone-2.35/ns-2.35/mdart/mdart_ndp.cc
nitishk017/ns2project
f037b796ff10300ffe0422580be5855c37d0b140
[ "MIT" ]
1
2018-03-05T15:23:27.000Z
2018-03-05T15:23:27.000Z
ns-allinone-2.35/ns-2.35/mdart/mdart_ndp.cc
nitishk017/ns2project
f037b796ff10300ffe0422580be5855c37d0b140
[ "MIT" ]
1
2019-01-20T17:35:23.000Z
2019-01-22T21:41:38.000Z
ns-allinone-2.35/ns-2.35/mdart/mdart_ndp.cc
nitishk017/ns2project
f037b796ff10300ffe0422580be5855c37d0b140
[ "MIT" ]
1
2021-09-29T16:06:57.000Z
2021-09-29T16:06:57.000Z
/******************************************************************************* * * * M-DART Routing Protocol * * ...
40.839147
234
0.631472
nitishk017
0e0c3b4b237b4e52dd678acf57557b22c1c8c8a6
1,164
cpp
C++
Tek2/Piscine-CPP/piscine_cpp_d14m/ex00/FruitBox.cpp
Estayparadox/Epitech-Bundle
e4395961bb86bf494e3c84ab44c27b5a9afc6c6c
[ "MIT" ]
30
2018-10-26T12:54:11.000Z
2022-02-04T18:18:57.000Z
Tek2/Piscine-CPP/piscine_cpp_d14m/ex00/FruitBox.cpp
Estayparadox/Epitech-Bundle
e4395961bb86bf494e3c84ab44c27b5a9afc6c6c
[ "MIT" ]
null
null
null
Tek2/Piscine-CPP/piscine_cpp_d14m/ex00/FruitBox.cpp
Estayparadox/Epitech-Bundle
e4395961bb86bf494e3c84ab44c27b5a9afc6c6c
[ "MIT" ]
26
2018-11-20T18:11:39.000Z
2022-01-28T21:05:30.000Z
// // FruitBox.cpp for FruitBox.cpp in /home/pereni_j/Rendu/piscine_cpp_d14m/ex00 // // Made by pereniguez joseph // Login <pereni_j@epitech.net> // // Started on Tue Jan 19 19:09:48 2016 pereniguez joseph // Last update Tue Jan 19 19:47:15 2016 pereniguez joseph // #include "FruitBox.h" FruitBox::FruitBox(int s...
16.869565
78
0.600515
Estayparadox
0e0ceb72e77c4782d9e004faeb4b11acc9674d8a
40,072
cpp
C++
tx2-setup/robust_pose_graph_optimization/buzz_slam/src/slam/specialized/dataset/buzz_slam_dataset.cpp
SnowCarter/DOOR-SLAM
cf56d2b4b7a21ed7c6445f01600408c9dd5235c6
[ "MIT" ]
3
2021-07-05T17:59:01.000Z
2022-03-31T12:46:25.000Z
tx2-setup/robust_pose_graph_optimization/buzz_slam/src/slam/specialized/dataset/buzz_slam_dataset.cpp
SnowCarter/DOOR-SLAM
cf56d2b4b7a21ed7c6445f01600408c9dd5235c6
[ "MIT" ]
null
null
null
tx2-setup/robust_pose_graph_optimization/buzz_slam/src/slam/specialized/dataset/buzz_slam_dataset.cpp
SnowCarter/DOOR-SLAM
cf56d2b4b7a21ed7c6445f01600408c9dd5235c6
[ "MIT" ]
3
2020-03-25T16:21:25.000Z
2021-07-05T16:37:34.000Z
#include "buzz_slam_dataset.h" #include <iostream> #include <stdlib.h> #include <time.h> #include <cmath> #include "boost/filesystem.hpp" namespace buzz_slam { /****************************************/ /****************************************/ BuzzSLAMDataset::BuzzSLAMDataset() { } /******************************...
49.655514
292
0.647784
SnowCarter
97c0da6cbda64060a988e4b5a102a8446fb342aa
1,465
hpp
C++
Runtime/MP1/CCredits.hpp
RetroView/RetroCommon
a413a010b50a53ebc6b0c726203181fc179d3370
[ "MIT" ]
267
2016-03-10T21:59:16.000Z
2021-03-28T18:21:03.000Z
Runtime/MP1/CCredits.hpp
cobalt2727/metaforce
3bb05c0ee5dd9b1b8eaa861fc49713aef62c844a
[ "MIT" ]
129
2016-03-12T10:17:32.000Z
2021-04-05T20:45:19.000Z
Runtime/MP1/CCredits.hpp
cobalt2727/metaforce
3bb05c0ee5dd9b1b8eaa861fc49713aef62c844a
[ "MIT" ]
31
2016-03-20T00:20:11.000Z
2021-03-10T21:14:11.000Z
#pragma once #include "Runtime/CIOWin.hpp" #include "Runtime/CToken.hpp" #include "Runtime/Audio/CStaticAudioPlayer.hpp" #include "Runtime/Camera/CCameraFilter.hpp" #include "zeus/CVector2i.hpp" namespace metaforce { class CGuiTextSupport; class CStringTable; class CRasterFont; class CMoviePlayer; struct CFinalInput...
27.12963
86
0.750853
RetroView
97c7893ecd1d138f17c1405ee6ac369f1073a86f
6,689
cc
C++
src/relay/qnn/csi_op/arg.cc
T-head-Semi/tvm
c1b8e06685c92fb7cacbe989e147b0622aee4503
[ "Apache-2.0" ]
4
2021-10-19T06:22:55.000Z
2022-03-17T22:55:12.000Z
src/relay/qnn/csi_op/arg.cc
T-head-Semi/tvm
c1b8e06685c92fb7cacbe989e147b0622aee4503
[ "Apache-2.0" ]
null
null
null
src/relay/qnn/csi_op/arg.cc
T-head-Semi/tvm
c1b8e06685c92fb7cacbe989e147b0622aee4503
[ "Apache-2.0" ]
2
2021-10-19T03:28:37.000Z
2022-03-17T22:55:14.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 ...
31.701422
100
0.645687
T-head-Semi
97c8e05a5d28adae9c8b1bc238d66655da40cea0
11,432
cpp
C++
src/Plugins/napoleon/NearestEnemyComponent.cpp
pgruenbacher/Menge
efd577bf5d318b01b2888d281258c8b7b0a7e4fe
[ "Apache-2.0" ]
null
null
null
src/Plugins/napoleon/NearestEnemyComponent.cpp
pgruenbacher/Menge
efd577bf5d318b01b2888d281258c8b7b0a7e4fe
[ "Apache-2.0" ]
null
null
null
src/Plugins/napoleon/NearestEnemyComponent.cpp
pgruenbacher/Menge
efd577bf5d318b01b2888d281258c8b7b0a7e4fe
[ "Apache-2.0" ]
null
null
null
/* License Menge Copyright © and trademark ™ 2012-14 University of North Carolina at Chapel Hill. All rights reserved. Permission to use, copy, modify, and distribute this software and its documentation for educational, research, and non-profit purposes, without fee, and without a written agreement is hereby granted...
39.285223
131
0.627362
pgruenbacher
97d56573185cbbc365c051f39548cc52558e750f
5,477
cpp
C++
snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxRenderer/cpp/form1.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
834
2017-06-24T10:40:36.000Z
2022-03-31T19:48:51.000Z
snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxRenderer/cpp/form1.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
7,042
2017-06-23T22:34:47.000Z
2022-03-31T23:05:23.000Z
snippets/cpp/VS_Snippets_Winforms/System.Windows.Forms.ComboBoxRenderer/cpp/form1.cpp
BohdanMosiyuk/samples
59d435ba9e61e0fc19f5176c96b1cdbd53596142
[ "CC-BY-4.0", "MIT" ]
1,640
2017-06-23T22:31:39.000Z
2022-03-31T02:45:37.000Z
// This sample can go in ComboBoxRenderer class overview. // - Snippet2 can go in IsSupported // - Snippet4 can go in DrawTextBox and DrawDropDownButton // It renders the pieces of a combo box with visual styles, provided // that visual styles are enabled in the Display Panel. // For simplicity, this sample does not h...
31.65896
79
0.554135
BohdanMosiyuk
97d684525c44125b4ffe7639b450893155f795ef
4,021
cpp
C++
android-31/android/hardware/camera2/params/OutputConfiguration.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
12
2020-03-26T02:38:56.000Z
2022-03-14T08:17:26.000Z
android-31/android/hardware/camera2/params/OutputConfiguration.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
1
2021-01-27T06:07:45.000Z
2021-11-13T19:19:43.000Z
android-31/android/hardware/camera2/params/OutputConfiguration.cpp
YJBeetle/QtAndroidAPI
1468b5dc6eafaf7709f0b00ba1a6ec2b70684266
[ "Apache-2.0" ]
3
2021-02-02T12:34:55.000Z
2022-03-08T07:45:57.000Z
#include "../MultiResolutionImageReader.hpp" #include "../../../os/Parcel.hpp" #include "../../../util/Size.hpp" #include "../../../view/Surface.hpp" #include "../../../../JClass.hpp" #include "../../../../JObject.hpp" #include "../../../../JString.hpp" #include "./OutputConfiguration.hpp" namespace android::hardware:...
23.377907
130
0.700323
YJBeetle
97d9ad30730abddd9eb15b1bd9081357a0f6ad56
532
cpp
C++
tests/unit_tests/Entity/Tools.cpp
Allaeddineattia/Valravn
7afa00bfe3c6f0c8357209601a67508a35b466b5
[ "MIT" ]
null
null
null
tests/unit_tests/Entity/Tools.cpp
Allaeddineattia/Valravn
7afa00bfe3c6f0c8357209601a67508a35b466b5
[ "MIT" ]
null
null
null
tests/unit_tests/Entity/Tools.cpp
Allaeddineattia/Valravn
7afa00bfe3c6f0c8357209601a67508a35b466b5
[ "MIT" ]
2
2021-05-07T20:35:55.000Z
2021-07-08T15:14:43.000Z
// // Created by ismail on 22‏/11‏/2020. // #include "gtest/gtest.h" #include <string> #include "Shared/Tools.h" using namespace std ; TEST(Tools, Valid_remove_blanks) { string str = "120 : 120"; Tools::remove_blanks(str); ASSERT_EQ(str,"120:120"); } TEST(Tools,Throw_error_on_check_resolution){ string s...
25.333333
79
0.714286
Allaeddineattia
97ddccd4a66f13f721b7c89c02251856ff2b74d2
1,267
cpp
C++
build/design/clock.cpp
laxtools/lax
4b6ac5e042787f1c66e6f4771ec9aafe6b2df26b
[ "MIT" ]
2
2018-09-27T11:45:06.000Z
2019-06-28T10:41:59.000Z
build/design/clock.cpp
laxtools/lax
4b6ac5e042787f1c66e6f4771ec9aafe6b2df26b
[ "MIT" ]
1
2017-08-28T07:39:31.000Z
2018-01-26T05:03:29.000Z
build/design/clock.cpp
laxtools/lax
4b6ac5e042787f1c66e6f4771ec9aafe6b2df26b
[ "MIT" ]
1
2018-09-27T11:45:26.000Z
2018-09-27T11:45:26.000Z
#include "stdafx.h" #include "catch.hpp" #include <chrono> #include <iostream> #include <thread> #include <map> namespace ex { struct perf_span { perf_span() : begin_(std::chrono::high_resolution_clock::now()) { } void reset() { begin_ = std::chrono::high_resolution_clock::now(); } ...
18.362319
90
0.615627
laxtools
97ddd8618309535b31a20cccb5a68dc3bc47168c
1,939
cpp
C++
compiler/locoex-customop/src/Service/COpTypeInference.test.cpp
juitem/ONE
8c6a4b7738074573b6ac5c82dcf1f6697520d1ed
[ "Apache-2.0" ]
255
2020-05-22T07:45:29.000Z
2022-03-29T23:58:22.000Z
compiler/locoex-customop/src/Service/COpTypeInference.test.cpp
juitem/ONE
8c6a4b7738074573b6ac5c82dcf1f6697520d1ed
[ "Apache-2.0" ]
5,102
2020-05-22T07:48:33.000Z
2022-03-31T23:43:39.000Z
compiler/locoex-customop/src/Service/COpTypeInference.test.cpp
juitem/ONE
8c6a4b7738074573b6ac5c82dcf1f6697520d1ed
[ "Apache-2.0" ]
120
2020-05-22T07:51:08.000Z
2022-02-16T19:08:05.000Z
/* * Copyright (c) 2019 Samsung Electronics Co., Ltd. All Rights Reserved * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless...
30.296875
100
0.723569
juitem
97e0a64ccaefdf9086ed2c9d046856880d049c0a
392
cc
C++
example/tuntap/main.cc
slankdev/libslankdev
260296935e0ad8e2dc4b08f3029bf2607fb0278e
[ "MIT" ]
6
2016-06-07T02:20:29.000Z
2017-11-10T07:43:59.000Z
example/tuntap/main.cc
slankdev/libslankdev
260296935e0ad8e2dc4b08f3029bf2607fb0278e
[ "MIT" ]
3
2016-06-11T05:42:05.000Z
2016-12-08T02:03:18.000Z
example/tuntap/main.cc
slankdev/libslankdev
260296935e0ad8e2dc4b08f3029bf2607fb0278e
[ "MIT" ]
null
null
null
#include <stdio.h> #include <slankdev/net/tuntap.h> #include <slankdev/hexdump.h> int main() { slankdev::tap tap_in ("tap0"); slankdev::tap tap_out("tap1"); while (1) { uint8_t buf[10000]; size_t recvlen = tap_in.read(buf, sizeof(buf)); printf("Received Packet len=%zd \n", recvlen); slankdev::...
17.818182
51
0.645408
slankdev
97e3066692a37f0a44eae8486f3dae71e9edcea4
200,714
inl
C++
2d_samples/pmj02_135.inl
st-ario/rayme
315c57c23f4aa4934a8a80e84e3243acd3400808
[ "MIT" ]
1
2021-12-10T23:35:04.000Z
2021-12-10T23:35:04.000Z
2d_samples/pmj02_135.inl
st-ario/rayme
315c57c23f4aa4934a8a80e84e3243acd3400808
[ "MIT" ]
null
null
null
2d_samples/pmj02_135.inl
st-ario/rayme
315c57c23f4aa4934a8a80e84e3243acd3400808
[ "MIT" ]
null
null
null
{std::array<float,2>{0.203858882f, 0.797032833f}, std::array<float,2>{0.892523766f, 0.441579163f}, std::array<float,2>{0.407151997f, 0.0233917385f}, std::array<float,2>{0.644022763f, 0.690212846f}, std::array<float,2>{0.334998846f, 0.524249792f}, std::array<float,2>{0.555751503f, 0.192193568f}, std::array<float,2>{0.02...
49.002441
52
0.734702
st-ario
97e44e0a09f0f6cba84334a9a869ab7feedaa76d
187
cpp
C++
structural/main.cpp
eivinsam/structural
f36e6606f0b6c0ba9d4eed5eebe20543ed16e15e
[ "MIT" ]
null
null
null
structural/main.cpp
eivinsam/structural
f36e6606f0b6c0ba9d4eed5eebe20543ed16e15e
[ "MIT" ]
null
null
null
structural/main.cpp
eivinsam/structural
f36e6606f0b6c0ba9d4eed5eebe20543ed16e15e
[ "MIT" ]
null
null
null
#include <oui_window.h> oui::window::Description oui::window::initialize() { return { "structural", 1280, 720 }; } void oui::window::update(oui::Rectangle area, oui::Input& input) { }
17
64
0.684492
eivinsam
97e4abe74f762aa913105d17f6871450252b07ee
2,598
cpp
C++
test/run_test_xuanwu.cpp
chnlkw/xuanwu
f796e9a851d8fad289ac5a625679e7db6c090a04
[ "MIT" ]
1
2018-04-09T01:45:17.000Z
2018-04-09T01:45:17.000Z
test/run_test_xuanwu.cpp
chnlkw/xuanwu
f796e9a851d8fad289ac5a625679e7db6c090a04
[ "MIT" ]
null
null
null
test/run_test_xuanwu.cpp
chnlkw/xuanwu
f796e9a851d8fad289ac5a625679e7db6c090a04
[ "MIT" ]
1
2020-04-14T03:39:20.000Z
2020-04-14T03:39:20.000Z
#include <iostream> #include <vector> #include <random> #include <map> #include <functional> #include <set> #include <xuanwu.hpp> #include <gtest/gtest.h> #include "Kernels.h" #include <boost/di.hpp> namespace di = boost::di; using namespace Xuanwu; namespace std { template<class K, class V> std::ostream &op...
25.223301
100
0.583526
chnlkw
97e6fe9b9ba656e667aff15e2474f2a79fc6594a
506
cpp
C++
05. Searching/Find_Right_Interval.cpp
Ujjawalgupta42/Hacktoberfest2021-DSA
eccd9352055085973e3d6a1feb10dd193905584b
[ "MIT" ]
225
2021-10-01T03:09:01.000Z
2022-03-11T11:32:49.000Z
05. Searching/Find_Right_Interval.cpp
Ujjawalgupta42/Hacktoberfest2021-DSA
eccd9352055085973e3d6a1feb10dd193905584b
[ "MIT" ]
252
2021-10-01T03:45:20.000Z
2021-12-07T18:32:46.000Z
05. Searching/Find_Right_Interval.cpp
Ujjawalgupta42/Hacktoberfest2021-DSA
eccd9352055085973e3d6a1feb10dd193905584b
[ "MIT" ]
911
2021-10-01T02:55:19.000Z
2022-02-06T09:08:37.000Z
// link to problem: https://leetcode.com/problems/find-right-interval/ class Solution { public: vector<int> findRightInterval(vector<vector<int>>& intervals) { map<int,int> m; vector<int> ans(intervals.size()); for(int i=0;i<intervals.size();i++){ m[intervals[i][0]]=i; }...
31.625
101
0.567194
Ujjawalgupta42
97e7033444b4adf50f216f36412f793fe70e3533
1,328
cpp
C++
tests/job/test_jobsystem.cpp
grandmaster789/bop
909d4156503f83b66de3f7e3284e086bd98905eb
[ "MIT" ]
null
null
null
tests/job/test_jobsystem.cpp
grandmaster789/bop
909d4156503f83b66de3f7e3284e086bd98905eb
[ "MIT" ]
null
null
null
tests/job/test_jobsystem.cpp
grandmaster789/bop
909d4156503f83b66de3f7e3284e086bd98905eb
[ "MIT" ]
null
null
null
#include <iostream> #include <memory> #include "../../src/job/job_system.h" #include <catch2/catch.hpp> namespace testing { // because of the statics and one-time initialization, we're kind of limited // in setup/teardown of the scheduler. Hence, we only have a single file // with a single scheduler conf...
26.56
81
0.600904
grandmaster789
97e8378eec4b6b95d002b74990d743da679d5325
32,738
cpp
C++
src/backend/vulkan/VulkanTexture.cpp
Shimmen/ArkoseRenderer
d39e1b3d5f5b669370b8aeed5cd1cfada5216763
[ "MIT" ]
7
2020-11-02T22:27:27.000Z
2022-01-11T04:25:48.000Z
src/backend/vulkan/VulkanTexture.cpp
Shimmen/ArkoseRenderer
d39e1b3d5f5b669370b8aeed5cd1cfada5216763
[ "MIT" ]
null
null
null
src/backend/vulkan/VulkanTexture.cpp
Shimmen/ArkoseRenderer
d39e1b3d5f5b669370b8aeed5cd1cfada5216763
[ "MIT" ]
2
2020-12-09T03:40:05.000Z
2021-09-14T03:12:40.000Z
#include "VulkanTexture.h" #include "backend/vulkan/VulkanBackend.h" #include "utility/Profiling.h" #include "utility/Logging.h" #include <stb_image.h> VulkanTexture::VulkanTexture(Backend& backend, TextureDescription desc) : Texture(backend, desc) { SCOPED_PROFILE_ZONE_GPURESOURCE(); // HACK: Now we lon...
40.070991
174
0.668581
Shimmen
97e90f3bdcbc8371608e10bf9bf69f4535f6f780
766
cpp
C++
linked_list/19_remove_Nth_node_from_end_of_list.cpp
rspezialetti/leetcode
4614ffe2a4923aae02f93096b6200239e6f201c1
[ "MIT" ]
1
2019-08-21T21:25:34.000Z
2019-08-21T21:25:34.000Z
linked_list/19_remove_Nth_node_from_end_of_list.cpp
rspezialetti/leetcode
4614ffe2a4923aae02f93096b6200239e6f201c1
[ "MIT" ]
null
null
null
linked_list/19_remove_Nth_node_from_end_of_list.cpp
rspezialetti/leetcode
4614ffe2a4923aae02f93096b6200239e6f201c1
[ "MIT" ]
null
null
null
/** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} * }; */ class Solution { public: ListNode* removeNthFromEnd(ListNode* head, int n) { ListNode* p1 = head; ListNode* p2 = head; ...
19.15
54
0.362924
rspezialetti
97ecd6e60cca1510d0b00c74c3d8503ed7845cfc
602
cpp
C++
clang/test/SemaTemplate/anonymous-union.cpp
clairechingching/ScaffCC
737ae90f85d9fe79819d66219747d27efa4fa5b9
[ "BSD-2-Clause" ]
58
2016-08-27T03:19:14.000Z
2022-01-05T17:33:44.000Z
clang/test/SemaTemplate/anonymous-union.cpp
clairechingching/ScaffCC
737ae90f85d9fe79819d66219747d27efa4fa5b9
[ "BSD-2-Clause" ]
14
2017-12-01T17:16:59.000Z
2020-12-21T12:16:35.000Z
clang/test/SemaTemplate/anonymous-union.cpp
clairechingching/ScaffCC
737ae90f85d9fe79819d66219747d27efa4fa5b9
[ "BSD-2-Clause" ]
22
2016-11-27T09:53:31.000Z
2021-11-22T00:22:53.000Z
// RUN: %clang_cc1 -fsyntax-only -verify %s // PR5868 struct T0 { int x; union { void *m0; }; }; template <typename T> struct T1 : public T0, public T { void f0() { m0 = 0; // expected-error{{ambiguous conversion}} } }; struct A : public T0 { }; void f1(T1<A> *S) { S->f0(); } // expected-note{{i...
14.682927
83
0.536545
clairechingching
97f00d5ac2bf65e3e4ea704afc2d160f16c51781
608
cpp
C++
1. White/Week 2/04. Maximizer/main.cpp
AmaterasuOmikami/The-art-of-modern-Cpp-development
4f0958197da92d216ee526384a6f7386a0fe62a0
[ "MIT" ]
1
2022-02-17T10:58:58.000Z
2022-02-17T10:58:58.000Z
1. White/Week 2/04. Maximizer/main.cpp
AmaterasuOmikami/The-art-of-modern-Cpp-development
4f0958197da92d216ee526384a6f7386a0fe62a0
[ "MIT" ]
null
null
null
1. White/Week 2/04. Maximizer/main.cpp
AmaterasuOmikami/The-art-of-modern-Cpp-development
4f0958197da92d216ee526384a6f7386a0fe62a0
[ "MIT" ]
null
null
null
/* * Напишите функцию UpdateIfGreater, которая принимает два целочисленных * аргумента: first и second. Если first оказался больше second, Ваша функция * должна записывать в second значение параметра first. При этом указанная * функция не должна ничего возвращать, а изменение параметра second должно * быть видно н...
26.434783
77
0.674342
AmaterasuOmikami
97f1d17c41bb3592018f10de3d971d9c554fb8ac
17,268
cpp
C++
examples/compiled_hello.cpp
rafzi/tflite_micro_compiler
0b077f0e8e5895f62a992046ed05c877e78c0df8
[ "Apache-2.0" ]
null
null
null
examples/compiled_hello.cpp
rafzi/tflite_micro_compiler
0b077f0e8e5895f62a992046ed05c877e78c0df8
[ "Apache-2.0" ]
null
null
null
examples/compiled_hello.cpp
rafzi/tflite_micro_compiler
0b077f0e8e5895f62a992046ed05c877e78c0df8
[ "Apache-2.0" ]
null
null
null
#include "tensorflow/lite/c/builtin_op_data.h" #include <stdint.h> #include <assert.h> namespace tflite { namespace ops { namespace micro { namespace quantize { extern void* Init(TfLiteContext*, const char*, size_t); } namespace quantize { extern TfLiteStatus Prepare(TfLiteContext*, TfLiteNode*); } namespace quantize ...
58.734694
143
0.724809
rafzi
97f6c41d0fcb8f6ea8f119470bf7954e17830a16
3,205
cpp
C++
UICPC/13/UICPC Round #13 (Div 1)/UICPC Round #13 (Div 1)/submits/Aoi Albatross/Problem C - Car Vet/Accepted/submission_7511361_src/submission_7511361_src/main.cpp
MilladMuhammadi/Competitive-Programming
9f84a2d2734a5efe0e1fde0062e51782cd5af2c6
[ "MIT" ]
null
null
null
UICPC/13/UICPC Round #13 (Div 1)/UICPC Round #13 (Div 1)/submits/Aoi Albatross/Problem C - Car Vet/Accepted/submission_7511361_src/submission_7511361_src/main.cpp
MilladMuhammadi/Competitive-Programming
9f84a2d2734a5efe0e1fde0062e51782cd5af2c6
[ "MIT" ]
null
null
null
UICPC/13/UICPC Round #13 (Div 1)/UICPC Round #13 (Div 1)/submits/Aoi Albatross/Problem C - Car Vet/Accepted/submission_7511361_src/submission_7511361_src/main.cpp
MilladMuhammadi/Competitive-Programming
9f84a2d2734a5efe0e1fde0062e51782cd5af2c6
[ "MIT" ]
null
null
null
#include<bits/stdc++.h> using namespace std; typedef long long ll; const int mx = 260; int arr[mx][mx]; bool moved[mx * mx]; int n, m; int dx, dy; ll ansSize = INT_MAX; vector<int> ans; bool ir(int a, int b) { return (a >= 0 && a < n && b >= 0 && b < m); } void solve(int x, int y, vector<int> moves) { if (x =...
27.869565
96
0.346958
MilladMuhammadi
97f71d19eb120b707987701e910827a7e00c84a3
2,700
hpp
C++
simann.hpp
CISMM/SimulatedAnnealing
cd25cc58ced18a0df8e93fde32dc7a8107a1eca7
[ "BSD-3-Clause" ]
4
2018-02-07T05:13:05.000Z
2019-04-02T06:02:12.000Z
simann.hpp
CISMM/SimulatedAnnealing
cd25cc58ced18a0df8e93fde32dc7a8107a1eca7
[ "BSD-3-Clause" ]
null
null
null
simann.hpp
CISMM/SimulatedAnnealing
cd25cc58ced18a0df8e93fde32dc7a8107a1eca7
[ "BSD-3-Clause" ]
5
2015-07-16T23:44:29.000Z
2019-02-05T20:33:43.000Z
// simanneal.hpp A general purpose Simulated Annealing Class // This version allows vector data // (c) Copyright 1994, Everett F. Carter Jr. // Permission is granted by the author to use // this software for any application provided this // copyright notice is preserved. ...
21.259843
82
0.604444
CISMM
97f9a23515425a3252d9984af18ed1d855ddd06a
1,176
cpp
C++
docs/examples/draw_patch.cpp
mohad12211/skia
042a53aa094715e031ebad4da072524ace316744
[ "BSD-3-Clause" ]
6,304
2015-01-05T23:45:12.000Z
2022-03-31T09:48:13.000Z
docs/examples/draw_patch.cpp
mohad12211/skia
042a53aa094715e031ebad4da072524ace316744
[ "BSD-3-Clause" ]
67
2016-04-18T13:30:02.000Z
2022-03-31T23:06:55.000Z
docs/examples/draw_patch.cpp
mohad12211/skia
042a53aa094715e031ebad4da072524ace316744
[ "BSD-3-Clause" ]
1,231
2015-01-05T03:17:39.000Z
2022-03-31T22:54:58.000Z
// Copyright 2020 Google LLC. // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. #include "tools/fiddle/examples.h" REG_FIDDLE(draw_patch, 350, 350, false, 6) { // draw_patch void draw(SkCanvas* canvas) { canvas->clear(SK_ColorWHITE); SkPaint p; p.setAntiAli...
51.130435
100
0.576531
mohad12211
97fcbfd529b53be65bb88383dd8f4218fde858cf
473
cpp
C++
codeforces/869/a.cpp
AadityaJ/Spoj
61664c1925ef5bb072a3fe78fb3dac4fb68d77a1
[ "MIT" ]
null
null
null
codeforces/869/a.cpp
AadityaJ/Spoj
61664c1925ef5bb072a3fe78fb3dac4fb68d77a1
[ "MIT" ]
null
null
null
codeforces/869/a.cpp
AadityaJ/Spoj
61664c1925ef5bb072a3fe78fb3dac4fb68d77a1
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <vector> #include <algorithm> #define MX 4000007 bool vis[MX]; using namespace std; int main(int argc, char const *argv[]) { int n; cin>>n; int a1[n]; int a2[n]; for(int i=0;i<n;i++) {cin>>a1[i];vis[a1[i]]=1;} for(int i=0;i<n;i++) {cin>>a2[i];vis[a2[i]]=1;} int ans=...
18.92
48
0.579281
AadityaJ
97fce3b5f39138d051fc5034bc0516e036de731b
1,493
hpp
C++
C-ATTL3/core/gpu/cudnn/CuDNNError.hpp
ViktorC/CppNN
daf7207fdc047412957761ef412fa805b2656d65
[ "MIT" ]
16
2018-07-03T09:39:10.000Z
2021-11-16T07:53:09.000Z
C-ATTL3/core/gpu/cudnn/CuDNNError.hpp
Merlin1A/C-ATTL3
daf7207fdc047412957761ef412fa805b2656d65
[ "MIT" ]
null
null
null
C-ATTL3/core/gpu/cudnn/CuDNNError.hpp
Merlin1A/C-ATTL3
daf7207fdc047412957761ef412fa805b2656d65
[ "MIT" ]
5
2019-11-01T09:38:29.000Z
2021-11-09T00:41:05.000Z
/* * CuDNNError.hpp * * Created on: 14.06.2018 * Author: Viktor Csomor */ #ifndef C_ATTL3_CORE_GPU_CUDNN_CUDNNERROR_H_ #define C_ATTL3_CORE_GPU_CUDNN_CUDNNERROR_H_ #include <cudnn.h> #include <cstdlib> #include <exception> #include <iostream> #include <string> #define cudnnErrorCheck(status) { _cudnn_erro...
24.883333
94
0.70864
ViktorC
97fd58fb15fb351383d1aef7d733cf6e639eaee9
896
cpp
C++
Cpp/fost-core/exception-tests.cpp
KayEss/fost-base
05ac1b6a1fb672c61ba6502efea86f9c5207e28f
[ "BSL-1.0" ]
2
2016-05-25T22:17:38.000Z
2019-04-02T08:34:17.000Z
Cpp/fost-core/exception-tests.cpp
KayEss/fost-base
05ac1b6a1fb672c61ba6502efea86f9c5207e28f
[ "BSL-1.0" ]
5
2018-07-13T10:43:05.000Z
2019-09-02T14:54:42.000Z
Cpp/fost-core/exception-tests.cpp
KayEss/fost-base
05ac1b6a1fb672c61ba6502efea86f9c5207e28f
[ "BSL-1.0" ]
1
2020-10-22T20:44:24.000Z
2020-10-22T20:44:24.000Z
/** Copyright 2010-2019 Red Anchor Trading Co. Ltd. Distributed under the Boost Software License, Version 1.0. See <http://www.boost.org/LICENSE_1_0.txt> */ #include "fost-core-test.hpp" #include <boost/asio.hpp> FSL_TEST_SUITE(exceptions); FSL_TEST_FUNCTION(not_implemented) { FSL_CHECK_EXCEPTIO...
29.866667
77
0.639509
KayEss
97fd8d8f1210c0ec53f6932eaf5c516c524d002c
903
hpp
C++
kernel/x86/paging.hpp
Bunogi/bunos
52e55d16938c87d45aa148c18d3bf389f2067445
[ "BSD-3-Clause" ]
null
null
null
kernel/x86/paging.hpp
Bunogi/bunos
52e55d16938c87d45aa148c18d3bf389f2067445
[ "BSD-3-Clause" ]
null
null
null
kernel/x86/paging.hpp
Bunogi/bunos
52e55d16938c87d45aa148c18d3bf389f2067445
[ "BSD-3-Clause" ]
null
null
null
#pragma once #include <bustd/stddef.hpp> #pragma once #pragma once #include <kernel/memory.hpp> namespace kernel::x86 { class PageTableEntry { public: bool present : 1; bool read_write : 1; bool user : 1; bool write_through : 1; bool cache_disable : 1; bool accessed : 1; bool dirty : 1; bool zero : 1;...
19.212766
49
0.682171
Bunogi
3f019b33403af683c7a70cfc690aaa208092aa10
1,584
hpp
C++
PnC/NaoPnC/NaoInterface.hpp
BharathMasetty/PnC
3800bd7e3c5dd5ffa00e6a5f09d48d21c405206f
[ "MIT" ]
null
null
null
PnC/NaoPnC/NaoInterface.hpp
BharathMasetty/PnC
3800bd7e3c5dd5ffa00e6a5f09d48d21c405206f
[ "MIT" ]
null
null
null
PnC/NaoPnC/NaoInterface.hpp
BharathMasetty/PnC
3800bd7e3c5dd5ffa00e6a5f09d48d21c405206f
[ "MIT" ]
null
null
null
#pragma once #include "PnC/EnvInterface.hpp" #include "PnC/NaoPnC/NaoDefinition.hpp" class NaoStateProvider; class NaoStateEstimator; class NaoSensorData { public: NaoSensorData() { q = Eigen::VectorXd::Zero(Nao::n_adof); qdot = Eigen::VectorXd::Zero(Nao::n_adof); virtual_q = Eigen::VectorXd::Zero(Na...
21.12
67
0.700126
BharathMasetty
3f02733f3611ed3dd1fb6964ceba2b89ca2cb1bf
2,712
cpp
C++
RoboRePair/ProgressTracker.cpp
erwinbonsma/RoboRePairGB
202308220d7bc320a8c228f7a7372545c3e97559
[ "MIT" ]
null
null
null
RoboRePair/ProgressTracker.cpp
erwinbonsma/RoboRePairGB
202308220d7bc320a8c228f7a7372545c3e97559
[ "MIT" ]
null
null
null
RoboRePair/ProgressTracker.cpp
erwinbonsma/RoboRePairGB
202308220d7bc320a8c228f7a7372545c3e97559
[ "MIT" ]
null
null
null
/* * Bumble Bots Re-Pair, a Gamebuino game * * Copyright 2020, Erwin Bonsma */ #include "ProgressTracker.h" #include "Levels.h" //----------------------------------------------------------------------------- // ProgressTracker implementation constexpr uint8_t VMAJOR = 1; constexpr uint8_t VMINOR = 0; constexpr...
24.432432
110
0.696165
erwinbonsma
3f0607721528a5aee61a3387de5b23ec8f3939de
1,343
cpp
C++
Codeforces Online Judge Solve/Candies-1343A.cpp
Remonhasan/programming-solve
5a4ac8c738dd361e1c974162e0eaebbaae72fd80
[ "Apache-2.0" ]
null
null
null
Codeforces Online Judge Solve/Candies-1343A.cpp
Remonhasan/programming-solve
5a4ac8c738dd361e1c974162e0eaebbaae72fd80
[ "Apache-2.0" ]
null
null
null
Codeforces Online Judge Solve/Candies-1343A.cpp
Remonhasan/programming-solve
5a4ac8c738dd361e1c974162e0eaebbaae72fd80
[ "Apache-2.0" ]
null
null
null
#include<bits/stdc++.h> #include <ext/pb_ds/assoc_container.hpp> using namespace __gnu_pbds; using namespace std; #define ff first #define ss second #define int long long #define pb push_back #define mp make_pair #define pii pair<int...
25.339623
94
0.55175
Remonhasan
3f073cd0a1f4afd7e3437dbfacaf8772a15623cb
188
cpp
C++
Hackerearth/Practice/birthday_party.cpp
Pankajcoder1/Competitive_programming
72ee0d41f3f72f43a5c2a232255eb84a04b14df9
[ "MIT" ]
null
null
null
Hackerearth/Practice/birthday_party.cpp
Pankajcoder1/Competitive_programming
72ee0d41f3f72f43a5c2a232255eb84a04b14df9
[ "MIT" ]
null
null
null
Hackerearth/Practice/birthday_party.cpp
Pankajcoder1/Competitive_programming
72ee0d41f3f72f43a5c2a232255eb84a04b14df9
[ "MIT" ]
1
2020-10-02T04:51:22.000Z
2020-10-02T04:51:22.000Z
#include<iostream> using namespace std; int main() { int T,M,N; cin>>T; for(int i=0;i<T;i++) { cin>>N>>M; if(M%N==0) { cout<<"Yes"<<endl; } else cout<<"No"<<endl; } }
10.444444
21
0.505319
Pankajcoder1
3f07af23cde2df8c41582d236fb35a559c92d0e1
2,447
cpp
C++
0827-Making A Large Island/0827-Making A Large Island.cpp
zhuangli1987/LeetCode-1
e81788abf9e95e575140f32a58fe983abc97fa4a
[ "MIT" ]
49
2018-05-05T02:53:10.000Z
2022-03-30T12:08:09.000Z
0801-0900/0827-Making A Large Island/0827-Making A Large Island.cpp
jolly-fellow/LeetCode
ab20b3ec137ed05fad1edda1c30db04ab355486f
[ "MIT" ]
11
2017-12-15T22:31:44.000Z
2020-10-02T12:42:49.000Z
0801-0900/0827-Making A Large Island/0827-Making A Large Island.cpp
jolly-fellow/LeetCode
ab20b3ec137ed05fad1edda1c30db04ab355486f
[ "MIT" ]
28
2017-12-05T10:56:51.000Z
2022-01-26T18:18:27.000Z
class Solution { public: int largestIsland(vector<vector<int>>& grid) { int m = grid.size(), n = grid[0].size(); vector<int> parents(m * n), areas(m * n); for (int i = 0; i < m * n; ++i) { parents[i] = i; } int maxArea = 0; for (int i = 0; i < m; ++i) { ...
35.985294
112
0.275439
zhuangli1987
3f095c05754dc312170d78527f8bcc5838148604
43,169
cpp
C++
Core/SoarKernel/src/explanation_based_chunking/build.cpp
Bryan-Stearns/Soar
969f4fec676293b459ed552ad096549519800534
[ "BSD-2-Clause" ]
1
2021-03-03T23:20:23.000Z
2021-03-03T23:20:23.000Z
Core/SoarKernel/src/explanation_based_chunking/build.cpp
Bryan-Stearns/Soar
969f4fec676293b459ed552ad096549519800534
[ "BSD-2-Clause" ]
null
null
null
Core/SoarKernel/src/explanation_based_chunking/build.cpp
Bryan-Stearns/Soar
969f4fec676293b459ed552ad096549519800534
[ "BSD-2-Clause" ]
1
2021-03-03T23:20:25.000Z
2021-03-03T23:20:25.000Z
/************************************************************************* * PLEASE SEE THE FILE "license.txt" (INCLUDED WITH THIS SOFTWARE PACKAGE) * FOR LICENSE AND COPYRIGHT INFORMATION. *************************************************************************/ /**************************************************...
36.896581
171
0.618986
Bryan-Stearns
3f0bc0d87a6da9cca0f1dbb831ade745365325c6
2,522
cpp
C++
src/model/FirstLastList.cpp
lhui2010/AnchorWave
388dcc8ee10ca8df131a7b526b0e72de09dcfa77
[ "MIT" ]
50
2021-07-31T12:54:48.000Z
2022-03-10T09:09:05.000Z
src/model/FirstLastList.cpp
lhui2010/AnchorWave
388dcc8ee10ca8df131a7b526b0e72de09dcfa77
[ "MIT" ]
15
2021-08-02T08:18:02.000Z
2022-03-30T12:01:28.000Z
src/model/FirstLastList.cpp
lhui2010/AnchorWave
388dcc8ee10ca8df131a7b526b0e72de09dcfa77
[ "MIT" ]
13
2021-07-30T19:43:53.000Z
2022-03-22T05:53:51.000Z
/* * ===================================================================================== * * Filename: FirstLastList.cpp * * Description: * * Version: 1.0 * Created: 06/05/2017 15:47:39 * Revision: none * Compiler: gcc * * Author: Baoxing Song (songbx.me), ...
22.318584
88
0.501586
lhui2010
3f0f71fce0263087f932fb0c7c8d3c60fc737810
5,003
cpp
C++
SDK/ARKSurvivalEvolved_AIStateWanderOnLand_functions.cpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
10
2020-02-17T19:08:46.000Z
2021-07-31T11:07:19.000Z
SDK/ARKSurvivalEvolved_AIStateWanderOnLand_functions.cpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
9
2020-02-17T18:15:41.000Z
2021-06-06T19:17:34.000Z
SDK/ARKSurvivalEvolved_AIStateWanderOnLand_functions.cpp
2bite/ARK-SDK
c38ca9925309516b2093ad8c3a70ed9489e1d573
[ "MIT" ]
3
2020-07-22T17:42:07.000Z
2021-06-19T17:16:13.000Z
// ARKSurvivalEvolved (329.9) SDK #ifdef _MSC_VER #pragma pack(push, 0x8) #endif #include "ARKSurvivalEvolved_AIStateWanderOnLand_parameters.hpp" namespace sdk { //--------------------------------------------------------------------------- //Functions //--------------------------------------------------------------...
27.489011
140
0.728763
2bite
3f15e00d26b36a61117962310d3d3f10965be55c
2,777
cpp
C++
krypto/krypto_main.cpp
unigoetheradaw/prg2-pr_milestone1-master
a376d4f2fe5b830a6d1b04ebe50088c506599270
[ "MIT" ]
null
null
null
krypto/krypto_main.cpp
unigoetheradaw/prg2-pr_milestone1-master
a376d4f2fe5b830a6d1b04ebe50088c506599270
[ "MIT" ]
null
null
null
krypto/krypto_main.cpp
unigoetheradaw/prg2-pr_milestone1-master
a376d4f2fe5b830a6d1b04ebe50088c506599270
[ "MIT" ]
null
null
null
// // Created by Niels Heissel on 30.10.18. // #include <iostream> #include <fstream> #include <vector> #include <tuple> //#include "file_handler_class.h" #include "NBild.h" #include "CBild.h" #include "interface.h" #include <random> #include <iostream> using namespace std; void create_rand_key(int height, int widt...
34.7125
161
0.655384
unigoetheradaw
3f16a2fcc89d143e6a8b430eaca6dd672bb7932a
1,453
cpp
C++
CsPlugin/Source/CsCore/Public/Library/Script/CsScriptLibrary_StaticMesh.cpp
closedsum/core
c3cae44a177b9684585043a275130f9c7b67fef0
[ "Unlicense" ]
2
2019-03-17T10:43:53.000Z
2021-04-20T21:24:19.000Z
CsPlugin/Source/CsCore/Public/Library/Script/CsScriptLibrary_StaticMesh.cpp
closedsum/core
c3cae44a177b9684585043a275130f9c7b67fef0
[ "Unlicense" ]
null
null
null
CsPlugin/Source/CsCore/Public/Library/Script/CsScriptLibrary_StaticMesh.cpp
closedsum/core
c3cae44a177b9684585043a275130f9c7b67fef0
[ "Unlicense" ]
null
null
null
// Copyright 2017-2021 Closed Sum Games, LLC. All Rights Reserved. #include "Library/Script/CsScriptLibrary_StaticMesh.h" #include "CsCore.h" // Types #include "Types/CsTypes_Macro.h" // Library #include "Library/CsLibrary_StaticMesh.h" // Cached #pragma region namespace NCsScriptLibraryStaticMesh { namespace NCach...
25.491228
115
0.80936
closedsum