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
cb8b45308458bc5023eb27b83893519bd5627e5b
1,198
cc
C++
plog/smodels-2.34/examples/example3.cc
bu-air-lab/POMDP-Dialog-Manager-Language-Learning
36731060d970003944532395275c85453265aba8
[ "MIT" ]
2
2018-10-01T07:04:24.000Z
2019-04-01T14:45:14.000Z
plog/smodels-2.34/examples/example3.cc
bu-air-lab/POMDP-Dialog-Manager-Language-Learning
36731060d970003944532395275c85453265aba8
[ "MIT" ]
null
null
null
plog/smodels-2.34/examples/example3.cc
bu-air-lab/POMDP-Dialog-Manager-Language-Learning
36731060d970003944532395275c85453265aba8
[ "MIT" ]
2
2018-10-01T06:14:53.000Z
2018-10-16T21:39:42.000Z
// Compute the stable models of the program // a :- not b. // b :- not a. // Then add the rule // a :- b. // and compute the stable models of the resulting program. #include <iostream> #include "smodels.h" #include "api.h" #include "atomrule.h" int main () { Smodels smodels; Api api (&smodels.program); ...
21.017544
58
0.617696
bu-air-lab
cb8bd1ec4ca35823105caf34293db97eb68b499f
6,811
hpp
C++
game/gamecontroller.hpp
edwinkepler/chessman
f9ffb902ce91c15726b8716665707d178ac734e1
[ "MIT" ]
null
null
null
game/gamecontroller.hpp
edwinkepler/chessman
f9ffb902ce91c15726b8716665707d178ac734e1
[ "MIT" ]
14
2017-08-28T15:37:20.000Z
2017-09-20T09:15:43.000Z
game/gamecontroller.hpp
edwinkepler/chessman
f9ffb902ce91c15726b8716665707d178ac734e1
[ "MIT" ]
null
null
null
/** * @copyright 2017 Edwin Kepler * @license MIT */ #ifndef GAMECONTROLLER_HPP #define GAMECONTROLLER_HPP #include <utility> #include <vector> #include <chrono> #include <memory> #include <exception> #include "pieces/pawn.hpp" #include "pieces/rook.hpp" #include "pieces/knight.hpp" #include "pieces/bishop.hpp" #...
42.836478
105
0.621495
edwinkepler
cb8cb68d022aa88ea0c8d034260350a5fc42ecc5
1,235
cc
C++
src/tint/writer/wgsl/generator_bench.cc
hexops/dawn
36cc72ad1c7b0c0a92be4754b95b1441850533b0
[ "Apache-2.0" ]
9
2021-11-05T11:08:14.000Z
2022-03-18T05:14:34.000Z
src/tint/writer/wgsl/generator_bench.cc
hexops/dawn
36cc72ad1c7b0c0a92be4754b95b1441850533b0
[ "Apache-2.0" ]
2
2021-12-01T05:08:59.000Z
2022-02-18T08:14:30.000Z
src/tint/writer/wgsl/generator_bench.cc
hexops/dawn
36cc72ad1c7b0c0a92be4754b95b1441850533b0
[ "Apache-2.0" ]
1
2022-02-11T17:39:44.000Z
2022-02-11T17:39:44.000Z
// Copyright 2022 The Tint Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed ...
30.121951
75
0.703644
hexops
cb8d0cfdda49aebb2ecb2884bbc05f8aef015dc3
15,511
cc
C++
components/autofill_assistant/browser/user_data_util.cc
Ron423c/chromium
2edf7b980065b648f8b2a6e52193d83832fe36b7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
components/autofill_assistant/browser/user_data_util.cc
Ron423c/chromium
2edf7b980065b648f8b2a6e52193d83832fe36b7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
components/autofill_assistant/browser/user_data_util.cc
Ron423c/chromium
2edf7b980065b648f8b2a6e52193d83832fe36b7
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2021-03-07T14:20:02.000Z
2021-03-07T14:20:02.000Z
// Copyright 2019 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/autofill_assistant/browser/user_data_util.h" #include <numeric> #include "base/i18n/case_conversion.h" #include "base/strings/utf_st...
36.669031
85
0.708852
Ron423c
cb8d7390dd77b15cc5ad0ee09628f74470787436
10,073
cpp
C++
src/ScreenOptionsManageEditSteps.cpp
fpmuniz/stepmania
984dc8668f1fedacf553f279a828acdebffc5625
[ "MIT" ]
1,514
2015-01-02T17:00:28.000Z
2022-03-30T14:11:21.000Z
src/ScreenOptionsManageEditSteps.cpp
fpmuniz/stepmania
984dc8668f1fedacf553f279a828acdebffc5625
[ "MIT" ]
1,462
2015-01-01T10:53:29.000Z
2022-03-27T04:35:53.000Z
src/ScreenOptionsManageEditSteps.cpp
fpmuniz/stepmania
984dc8668f1fedacf553f279a828acdebffc5625
[ "MIT" ]
552
2015-01-02T05:34:41.000Z
2022-03-26T05:19:19.000Z
#include "global.h" #include "ScreenOptionsManageEditSteps.h" #include "ScreenManager.h" #include "RageLog.h" #include "GameState.h" #include "SongManager.h" #include "ScreenTextEntry.h" #include "ScreenPrompt.h" #include "GameManager.h" #include "Steps.h" #include "ScreenMiniMenu.h" #include "RageUtil.h" #include "Rag...
30.524242
149
0.733843
fpmuniz
cb8ddf542520e955b9dcb91110ad076090cdaf98
2,687
cpp
C++
lib/samp-plugin-sdk/amxplugin2.cpp
TommyB123/pawn-chrono
9e3a9237bff75c3191f5b1123c74abca07e11935
[ "MIT" ]
14
2018-06-03T03:05:21.000Z
2021-09-16T17:08:34.000Z
lib/samp-plugin-sdk/amxplugin2.cpp
TommyB123/pawn-chrono
9e3a9237bff75c3191f5b1123c74abca07e11935
[ "MIT" ]
6
2018-06-15T21:27:48.000Z
2021-08-18T11:51:02.000Z
lib/samp-plugin-sdk/amxplugin2.cpp
TommyB123/pawn-chrono
9e3a9237bff75c3191f5b1123c74abca07e11935
[ "MIT" ]
6
2018-08-13T01:33:32.000Z
2022-03-13T16:38:40.000Z
//---------------------------------------------------------- // // SA-MP Multiplayer Modification For GTA:SA // Copyright 2014 SA-MP Team, Dan, maddinat0r // //---------------------------------------------------------- #include <cstring> #include <cstdlib> //---------------------------------------------...
23.365217
89
0.534053
TommyB123
cb902a321ce496c9ee21bd3293c86d1e0afcb78b
2,257
cpp
C++
src/face2js.cpp
dreamdrive/ros_brave_face
935470be602d48a8a6e4706d223b4d5fcdeab5f7
[ "MIT" ]
1
2020-10-28T01:28:31.000Z
2020-10-28T01:28:31.000Z
src/face2js.cpp
dreamdrive/ros_brave_face
935470be602d48a8a6e4706d223b4d5fcdeab5f7
[ "MIT" ]
null
null
null
src/face2js.cpp
dreamdrive/ros_brave_face
935470be602d48a8a6e4706d223b4d5fcdeab5f7
[ "MIT" ]
null
null
null
// 20200925 // ファイバリオン用頭部、顔追従プログラムノード (口はジョイスティックで動く) // Face2jointstates #include "ros/ros.h" #include "ros/time.h" #include "opencv_apps/FaceArrayStamped.h" #include "sensor_msgs/JointState.h" #include <sensor_msgs/Joy.h> #define SV_CNT 3 double face_x = 0; double face_y = 0; double mouse = 0; sensor_msgs::Joint...
25.647727
89
0.607887
dreamdrive
cb92f211e92c8916f51a81482e7b764e4afff9f7
9,494
cpp
C++
mpi/tsp/tsp.cpp
fraguela/dparallel_recursion
30050242b7d01766fee5a3107c7a79db5c512d9e
[ "Apache-2.0" ]
3
2022-01-01T07:48:58.000Z
2022-01-25T14:01:35.000Z
mpi/tsp/tsp.cpp
fraguela/dparallel_recursion
30050242b7d01766fee5a3107c7a79db5c512d9e
[ "Apache-2.0" ]
null
null
null
mpi/tsp/tsp.cpp
fraguela/dparallel_recursion
30050242b7d01766fee5a3107c7a79db5c512d9e
[ "Apache-2.0" ]
null
null
null
/* dparallel_recursion: distributed parallel_recursion skeleton Copyright (C) 2015-2016 Carlos H. Gonzalez, Basilio B. Fraguela. Universidade da Coruna 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 Lic...
22.604762
88
0.591426
fraguela
cb93af98a06e92e3d0cfa8d28ad5e9faef8a1cda
6,979
cpp
C++
Libs/AudioFile/libaudiofile/modules/G711.cpp
drunkfly/retrotoolkit
38fc08ce931339948d697a4dcf6f2441bccef7d6
[ "MIT", "Unlicense" ]
3
2021-04-17T11:32:36.000Z
2022-01-03T17:51:27.000Z
Libs/AudioFile/libaudiofile/modules/G711.cpp
drunkfly/retrotoolkit
38fc08ce931339948d697a4dcf6f2441bccef7d6
[ "MIT", "Unlicense" ]
null
null
null
Libs/AudioFile/libaudiofile/modules/G711.cpp
drunkfly/retrotoolkit
38fc08ce931339948d697a4dcf6f2441bccef7d6
[ "MIT", "Unlicense" ]
null
null
null
/* Audio File Library Copyright (C) 2000-2001, Silicon Graphics, Inc. Copyright (C) 2010-2013, Michael Pruett <michael@68k.org> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either ve...
28.141129
82
0.739218
drunkfly
cb95e84adfca1305856e599a45a226ef129833b3
14,961
cpp
C++
SimTKmath/Optimizers/src/InteriorPointOptimizer.cpp
KooroshNaderi/simbody
f1a791aff90306cf62d6d4258cb4fbe4c8ff45e7
[ "Apache-2.0" ]
null
null
null
SimTKmath/Optimizers/src/InteriorPointOptimizer.cpp
KooroshNaderi/simbody
f1a791aff90306cf62d6d4258cb4fbe4c8ff45e7
[ "Apache-2.0" ]
null
null
null
SimTKmath/Optimizers/src/InteriorPointOptimizer.cpp
KooroshNaderi/simbody
f1a791aff90306cf62d6d4258cb4fbe4c8ff45e7
[ "Apache-2.0" ]
1
2019-03-26T03:28:52.000Z
2019-03-26T03:28:52.000Z
/* -------------------------------------------------------------------------- * * Simbody(tm): SimTKmath * * -------------------------------------------------------------------------- * * This is part of the SimTK biosimulation toolkit originating from * ...
55.003676
138
0.479513
KooroshNaderi
cb97a164bd3fe69862b66bc9a87a3fc41b1229a9
497
cpp
C++
Code full house/buoi8 - nguyen dinh trung duc-mang/bai11 cu dan lineland.cpp
ducyb2001/CbyTrungDuc
0e93394dce600876a098b90ae969575bac3788e1
[ "Apache-2.0" ]
null
null
null
Code full house/buoi8 - nguyen dinh trung duc-mang/bai11 cu dan lineland.cpp
ducyb2001/CbyTrungDuc
0e93394dce600876a098b90ae969575bac3788e1
[ "Apache-2.0" ]
null
null
null
Code full house/buoi8 - nguyen dinh trung duc-mang/bai11 cu dan lineland.cpp
ducyb2001/CbyTrungDuc
0e93394dce600876a098b90ae969575bac3788e1
[ "Apache-2.0" ]
null
null
null
/* bai 11 thanh pho Line Land */ #include<stdio.h> int min(int a, int b){ if(a<b) return a; return b; } int max(int a, int b){ if(a>b) return a; return b; } int main(){ int i,n; scanf("%d", &n); int a[n]; for(i=0; i<n;i++){ scanf("%d",&a[i]); }s for(i=0;i<n;i++){ if(i==0){ printf("%d %d\n", a[1]-a[0]...
15.53125
83
0.474849
ducyb2001
cb989d5b0baf880de6daac4866f72e2ef4721c96
610
cpp
C++
UVa/686.cpp
tico88612/Solution-Note
31a9d220fd633c6920760707a07c9a153c2f76cc
[ "MIT" ]
1
2018-02-11T09:41:54.000Z
2018-02-11T09:41:54.000Z
UVa/686.cpp
tico88612/Solution-Note
31a9d220fd633c6920760707a07c9a153c2f76cc
[ "MIT" ]
null
null
null
UVa/686.cpp
tico88612/Solution-Note
31a9d220fd633c6920760707a07c9a153c2f76cc
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define MAXN 32768 using namespace std; int prime[100000]={2,3,5,7},primeNUM=4; int NUM[1000001]={0}; int main(){ for(int i=11;i<=MAXN;i++){ int judge=1; for(int j=0;judge&&prime[j]<=sqrt(i);j++){ if(i%prime[j]==0) judge=0; } if(judge){ prime[primeNUM++]=i; } } for(int i...
15.641026
47
0.544262
tico88612
cb99d03a67c1f22595ca5b7d90a55d0d34e8d596
3,092
cpp
C++
sim/FFT/fft_gen/bench/cpp/twoc.cpp
SebastianBraun01/vu_meter
131e632c388f39c37c539e9c5d5492b3f4cb2db6
[ "Apache-2.0" ]
null
null
null
sim/FFT/fft_gen/bench/cpp/twoc.cpp
SebastianBraun01/vu_meter
131e632c388f39c37c539e9c5d5492b3f4cb2db6
[ "Apache-2.0" ]
null
null
null
sim/FFT/fft_gen/bench/cpp/twoc.cpp
SebastianBraun01/vu_meter
131e632c388f39c37c539e9c5d5492b3f4cb2db6
[ "Apache-2.0" ]
null
null
null
//////////////////////////////////////////////////////////////////////////////// // // Filename: twoc.cpp // {{{ // Project: A General Purpose Pipelined FFT Implementation // // Purpose: Some various two's complement related C++ helper routines. // Specifically, these help extract signed numbers from // packed bitfie...
30.313725
80
0.570181
SebastianBraun01
ed806a15cb8396018711330adfc0ba80a74f8312
3,083
hpp
C++
include/UnityEngine/Experimental/Rendering/ScriptableRuntimeReflectionSystemSettings.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/UnityEngine/Experimental/Rendering/ScriptableRuntimeReflectionSystemSettings.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
include/UnityEngine/Experimental/Rendering/ScriptableRuntimeReflectionSystemSettings.hpp
darknight1050/BeatSaber-Quest-Codegen
a6eeecc3f0e8f6079630f9a9a72b3121ac7b2032
[ "Unlicense" ]
null
null
null
// Autogenerated from CppHeaderCreator // Created by Sc2ad // ========================================================================= #pragma once // Begin includes #include "extern/beatsaber-hook/shared/utils/typedefs.h" // Completed includes // Begin forward declares // Forward declaring namespace: UnityEng...
62.918367
189
0.798573
darknight1050
ed80d1cdae7a0ff0f958cc04a6bf80a89bbb6e48
3,962
cpp
C++
tests/lll/lll_test.cpp
pdx-cs-tutors/pdp
48622b1a4bdbf724795a1a6faed4ba1df16319a8
[ "MIT" ]
10
2017-04-25T05:01:19.000Z
2021-03-27T22:40:21.000Z
tests/lll/lll_test.cpp
pdx-cs-tutors/pdp
48622b1a4bdbf724795a1a6faed4ba1df16319a8
[ "MIT" ]
null
null
null
tests/lll/lll_test.cpp
pdx-cs-tutors/pdp
48622b1a4bdbf724795a1a6faed4ba1df16319a8
[ "MIT" ]
1
2019-02-02T23:39:46.000Z
2019-02-02T23:39:46.000Z
#include <sstream> #include "../include/lll_test.h" // Helper function to create a string representing an LLL given its head node // e.g. "[1 -> 2 -> 3]" std::string stringify(lll::node* head) { std::stringstream ss; ss << "["; while (head) { ss << head->data; if (head->next) ss << " -> "; ...
26.238411
98
0.538617
pdx-cs-tutors
ed80e8fa693c8897d1d3c80fa21d33aa18405fe1
28,847
cpp
C++
turtlebotDemo/sick_line_guidance_demo/src/navigation_mapper.cpp
SICKAG/sick_line_guidance
8df75641adb7d3273701de7c52941ec9b53b97d6
[ "Apache-2.0" ]
5
2019-04-15T11:19:19.000Z
2022-02-16T09:58:05.000Z
turtlebotDemo/sick_line_guidance_demo/src/navigation_mapper.cpp
dejongyeong/sick_line_guidance
48cbbdea13d7e881db35334c04df5949667b9c28
[ "Apache-2.0" ]
3
2020-07-07T11:59:02.000Z
2021-04-21T05:43:19.000Z
turtlebotDemo/sick_line_guidance_demo/src/navigation_mapper.cpp
dejongyeong/sick_line_guidance
48cbbdea13d7e881db35334c04df5949667b9c28
[ "Apache-2.0" ]
5
2019-02-18T18:32:48.000Z
2022-02-10T15:04:35.000Z
/* * NavigationMapper transforms the robots xy-positions from world/meter into map/pixel position, * detect lines and barcodes in the map plus their distance to the robot, * and transforms them invers into world coordinates. * * Copyright (C) 2019 Ing.-Buero Dr. Michael Lehning, Hildesheim * Copyright (C) 2...
58.276768
409
0.721392
SICKAG
ed81e202fb0ebb3d782ba5fd290e66c29a61420f
525
cpp
C++
src/hobbits-core/parseresult.cpp
nfi002/hobbits
b63a15e2e6d8238cba08f2bce686887d8626924b
[ "MIT" ]
null
null
null
src/hobbits-core/parseresult.cpp
nfi002/hobbits
b63a15e2e6d8238cba08f2bce686887d8626924b
[ "MIT" ]
1
2020-07-18T23:30:20.000Z
2020-07-18T23:30:20.000Z
src/hobbits-core/parseresult.cpp
nfi002/hobbits
b63a15e2e6d8238cba08f2bce686887d8626924b
[ "MIT" ]
null
null
null
#include "parseresult.h" ParseResult::ParseResult() { } ParseResult::ParseResult(qlonglong val, int mult) { this->_val = val; this->_mult = mult; } qlonglong ParseResult::getVal() { return this->_val; } int ParseResult::getMult() { return this->_mult; } qlonglong ParseResult::getResult() { if (...
15
88
0.630476
nfi002
ed83b3723625a6e0f931d42859342dc0cf502d1e
1,900
hpp
C++
aw-internal/csgo/context/csgo.hpp
fengjixuchui/aniware-internal
d0e63940b6c37c1d8393d0e9cffd87fcfa680a50
[ "MIT" ]
null
null
null
aw-internal/csgo/context/csgo.hpp
fengjixuchui/aniware-internal
d0e63940b6c37c1d8393d0e9cffd87fcfa680a50
[ "MIT" ]
null
null
null
aw-internal/csgo/context/csgo.hpp
fengjixuchui/aniware-internal
d0e63940b6c37c1d8393d0e9cffd87fcfa680a50
[ "MIT" ]
null
null
null
#pragma once #define ADD_INTERFACE( type, var_name, interface_name ) type* var_name = reinterpret_cast< type* >( interfaces::get( interface_name ) ); #define ADD_INTERFACE_MOD( type, var_name, mod, interface_name ) type* var_name = reinterpret_cast< type* >( interfaces::get( mod, interface_name ) ); #define ADD_INTE...
52.777778
165
0.748421
fengjixuchui
ed84d6114a2d78c11f9036dd7fd2dd95c10ce1d9
12,681
cpp
C++
src/ofxDarknet.cpp
ermuur/ofxDarknet
670101468e86416860fe805cc0e4c61bb2511d0a
[ "MIT" ]
64
2018-12-28T16:18:18.000Z
2022-02-14T16:48:00.000Z
src/ofxDarknet.cpp
Tencv/ofxDarknet
670101468e86416860fe805cc0e4c61bb2511d0a
[ "MIT" ]
6
2019-01-28T14:57:50.000Z
2020-02-19T05:47:05.000Z
src/ofxDarknet.cpp
Tencv/ofxDarknet
670101468e86416860fe805cc0e4c61bb2511d0a
[ "MIT" ]
15
2018-12-19T15:02:51.000Z
2022-03-11T07:03:24.000Z
#include "ofxDarknet.h" ofxDarknet::ofxDarknet() { loaded = false; labelsAvailable = false; } ofxDarknet::~ofxDarknet() { } void ofxDarknet::init( std::string cfgfile, std::string weightfile, std::string nameslist ) { if (nameslist != "") { labelsAvailable = true; } net = parse_network_cfg( ...
29.018307
164
0.560918
ermuur
ed853ab2bf1401bdb2fd46851523c7951a5fea37
10,567
cxx
C++
dbsk2d-xshock-computation/dbsk2d/dbsk2d_ishock_arcarc_thirdorder.cxx
wenhanshi/lemsvxl-shock-computation
1208e5f6a0c9fddbdffcc20f2c1d914e07015b45
[ "MIT" ]
1
2022-01-01T20:43:47.000Z
2022-01-01T20:43:47.000Z
osf-to-esf/dbsk2d/dbsk2d_ishock_arcarc_thirdorder.cxx
wenhanshi/lemsvxl-shock-computation
1208e5f6a0c9fddbdffcc20f2c1d914e07015b45
[ "MIT" ]
null
null
null
osf-to-esf/dbsk2d/dbsk2d_ishock_arcarc_thirdorder.cxx
wenhanshi/lemsvxl-shock-computation
1208e5f6a0c9fddbdffcc20f2c1d914e07015b45
[ "MIT" ]
null
null
null
// This is brcv/shp/dbsk2d/dbsk2d_ishock_arcarc_thirdorder.cxx //: // \file #include <vcl_cstdio.h> #include "dbsk2d_ishock_arcarc_thirdorder.h" #include "dbsk2d_ishock_bpoint.h" dbsk2d_ishock_arcarc_thirdorder:: dbsk2d_ishock_arcarc_thirdorder (int newid, double stime, dbsk2d_ishoc...
28.792916
135
0.610202
wenhanshi
ed88729ea8a775574141ebcb4f2eca0eb66435c4
1,899
cpp
C++
src/frontends/tensorflow/src/op/arg_min_max.cpp
ytorzuk-altran/openvino
68d460a3bb578a738ba0e4d0e1f2e321afa73ab0
[ "Apache-2.0" ]
1
2021-02-01T06:35:55.000Z
2021-02-01T06:35:55.000Z
src/frontends/tensorflow/src/op/arg_min_max.cpp
ytorzuk-altran/openvino
68d460a3bb578a738ba0e4d0e1f2e321afa73ab0
[ "Apache-2.0" ]
55
2020-11-16T09:55:29.000Z
2022-03-28T13:18:15.000Z
src/frontends/tensorflow/src/op/arg_min_max.cpp
ytorzuk-altran/openvino
68d460a3bb578a738ba0e4d0e1f2e321afa73ab0
[ "Apache-2.0" ]
2
2021-11-18T06:09:04.000Z
2021-11-30T07:39:47.000Z
// Copyright (C) 2018-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include "op_table.hpp" #include "openvino/opsets/opset8.hpp" using namespace std; using namespace ov::opset8; namespace ov { namespace frontend { namespace tf { namespace op { OutputVector translate_arg_min_max(const NodeContext...
31.65
119
0.69247
ytorzuk-altran
ed8a21c3acdc4fb9996d5d1348424ce88fd2f073
548
cpp
C++
datasets/github_cpp_10/8/15.cpp
yijunyu/demo-fast
11c0c84081a3181494b9c469bda42a313c457ad2
[ "BSD-2-Clause" ]
1
2019-05-03T19:27:45.000Z
2019-05-03T19:27:45.000Z
datasets/github_cpp_10/8/15.cpp
yijunyu/demo-vscode-fast
11c0c84081a3181494b9c469bda42a313c457ad2
[ "BSD-2-Clause" ]
null
null
null
datasets/github_cpp_10/8/15.cpp
yijunyu/demo-vscode-fast
11c0c84081a3181494b9c469bda42a313c457ad2
[ "BSD-2-Clause" ]
null
null
null
#include <bits/stdc++.h> using namespace std; #ifdef CORLEONE #define d(b) cerr<< #b << " " << b << endl #else #define d(b) #endif int n; const int MAXN = 100; vector<int> g[MAXN]; bool used[MAXN]; vector<int> ans; void dfs(int v){ used[v]=true; for(int i=0;i<g[v].size();i++){ int to = g[v][i]; if...
15.222222
44
0.547445
yijunyu
ed8c8c9064c33414c6b7b794d54471efb93cc98f
96,769
cc
C++
lib/thrift/compiler/cpp/src/thrift/thrifty.cc
NorbertoBurciaga/apache-thrift-tutorial
6da9bb3021e4e330b85d4473a7c1e690d6668827
[ "Apache-2.0" ]
null
null
null
lib/thrift/compiler/cpp/src/thrift/thrifty.cc
NorbertoBurciaga/apache-thrift-tutorial
6da9bb3021e4e330b85d4473a7c1e690d6668827
[ "Apache-2.0" ]
null
null
null
lib/thrift/compiler/cpp/src/thrift/thrifty.cc
NorbertoBurciaga/apache-thrift-tutorial
6da9bb3021e4e330b85d4473a7c1e690d6668827
[ "Apache-2.0" ]
null
null
null
/* A Bison parser, made by GNU Bison 3.0.4. */ /* Bison implementation for Yacc-like parsers in C Copyright (C) 1984, 1989-1990, 2000-2015 Free Software Foundation, Inc. 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...
31.644539
145
0.546714
NorbertoBurciaga
ed8cd677d35895fa5ffb5817f6d3d1b9c08eda2d
3,451
cpp
C++
test/test.cpp
matt-komm/CPX
48ec3b39c0a6b58c97a6acb6221619113e8a6406
[ "MIT" ]
null
null
null
test/test.cpp
matt-komm/CPX
48ec3b39c0a6b58c97a6acb6221619113e8a6406
[ "MIT" ]
null
null
null
test/test.cpp
matt-komm/CPX
48ec3b39c0a6b58c97a6acb6221619113e8a6406
[ "MIT" ]
null
null
null
#include "cpx/PluginFactory.hpp" #include "TestPluginInterface.hpp" #include "minitest.h" #include <iostream> #include <string> /* dlopen: If filename contains a slash ("/"), then it is interpreted as a (relative or absolute) pathname. Otherwise, the dynamic linker searches for the library as follows (see ld.so(8)...
30.008696
101
0.702115
matt-komm
ed8ef754102384d2f0f4e6daf9161f84b253ec8a
10,602
cpp
C++
inference-engine/src/low_precision_transformations/src/quantization_details.cpp
NikDemoShow/openvino
31907e51e96f1603753dc69811bdf738374ca5e6
[ "Apache-2.0" ]
1
2020-07-07T10:13:00.000Z
2020-07-07T10:13:00.000Z
inference-engine/src/low_precision_transformations/src/quantization_details.cpp
NikDemoShow/openvino
31907e51e96f1603753dc69811bdf738374ca5e6
[ "Apache-2.0" ]
34
2020-09-07T09:31:41.000Z
2022-02-21T13:03:27.000Z
inference-engine/src/low_precision_transformations/src/quantization_details.cpp
NikDemoShow/openvino
31907e51e96f1603753dc69811bdf738374ca5e6
[ "Apache-2.0" ]
3
2021-04-25T06:52:41.000Z
2021-05-07T02:01:44.000Z
// Copyright (C) 2018-2021 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #include <low_precision/quantization_details.hpp> #include <math.h> #include <algorithm> #include <cmath> #include <limits> #include <map> #include <memory> #include <string> #include <unordered_set> #include <utility> #include <v...
41.576471
143
0.707508
NikDemoShow
ed9079092f6ac92e06377ea5b7d5d58a7f85c63b
1,037
cpp
C++
clang-tools-extra/test/clang-tidy/checkers/fuchsia-default-arguments-calls.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
2,338
2018-06-19T17:34:51.000Z
2022-03-31T11:00:37.000Z
clang-tools-extra/test/clang-tidy/checkers/fuchsia-default-arguments-calls.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
3,740
2019-01-23T15:36:48.000Z
2022-03-31T22:01:13.000Z
clang-tools-extra/test/clang-tidy/checkers/fuchsia-default-arguments-calls.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
500
2019-01-23T07:49:22.000Z
2022-03-30T02:59:37.000Z
// RUN: %check_clang_tidy %s fuchsia-default-arguments-calls %t int foo(int value = 5) { return value; } int f() { foo(); // CHECK-NOTES: [[@LINE-1]]:3: warning: calling a function that uses a default argument is disallowed [fuchsia-default-arguments-calls] // CHECK-NOTES: [[@LINE-5]]:9: note: default parameter...
28.027027
137
0.650916
medismailben
ed907a846ceb8f108937f2bef8431448ebf24349
961
cpp
C++
Roteiro_00/parouimpar.cpp
sigismundo03/Maratona-de-programacao-facape
8e28f1674053f1d1ccd5541e08651e0c230f4ade
[ "MIT" ]
null
null
null
Roteiro_00/parouimpar.cpp
sigismundo03/Maratona-de-programacao-facape
8e28f1674053f1d1ccd5541e08651e0c230f4ade
[ "MIT" ]
null
null
null
Roteiro_00/parouimpar.cpp
sigismundo03/Maratona-de-programacao-facape
8e28f1674053f1d1ccd5541e08651e0c230f4ade
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; bool par( int value){ bool verdade = false; if((value/2) == 0){ verdade = true; } return verdade; } int main(){ string name[2], nomevecedor[1002]; int valor,valor2,teste=1,i,tamanho,tamanhodovecedor = 0; while(cin>>tamanho ...
20.020833
61
0.477627
sigismundo03
ed9114411fd2176e6fa4921350dd9a35e223bd04
182
cc
C++
cpp/pe/test/pe4_test.cc
kittttttan/pe
6f87e4527793198c393700fedbdd52274fec5b44
[ "MIT" ]
null
null
null
cpp/pe/test/pe4_test.cc
kittttttan/pe
6f87e4527793198c393700fedbdd52274fec5b44
[ "MIT" ]
null
null
null
cpp/pe/test/pe4_test.cc
kittttttan/pe
6f87e4527793198c393700fedbdd52274fec5b44
[ "MIT" ]
1
2016-09-01T22:47:28.000Z
2016-09-01T22:47:28.000Z
#include "gtest/gtest.h" #include "../include/pe4.h" namespace { TEST(Pe4Test, Main) { uint32_t first; uint32_t last; EXPECT_EQ(906609, pe::pe4(3, first, last)); } }
18.2
47
0.631868
kittttttan
ed930f6cbef8cab1d0b1e33ab3887585d117b288
2,604
hpp
C++
ios/Pods/boost-for-react-native/boost/spirit/home/x3/directive/raw.hpp
rudylee/expo
b3e65a7a5b205f14a3eb6cd6fa8d13c8d663b1cc
[ "Apache-2.0", "MIT" ]
8,805
2015-11-03T00:52:29.000Z
2022-03-29T22:30:03.000Z
ios/Pods/boost-for-react-native/boost/spirit/home/x3/directive/raw.hpp
rudylee/expo
b3e65a7a5b205f14a3eb6cd6fa8d13c8d663b1cc
[ "Apache-2.0", "MIT" ]
14,694
2015-02-24T15:13:42.000Z
2022-03-31T13:16:45.000Z
ios/Pods/boost-for-react-native/boost/spirit/home/x3/directive/raw.hpp
rudylee/expo
b3e65a7a5b205f14a3eb6cd6fa8d13c8d663b1cc
[ "Apache-2.0", "MIT" ]
1,329
2015-11-03T20:25:51.000Z
2022-03-31T18:10:38.000Z
/*============================================================================= Copyright (c) 2014 Joel de Guzman 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) =========================================...
36.676056
81
0.594854
rudylee
ed93be1db3b51f31bc72d97a68975c9b121e1fdf
547
cpp
C++
components/tiled_visuals.cpp
ZamfirYonchev/Jam-game-engine
2c72ce6901d5b5fe6d273f532843f83d8a826523
[ "MIT" ]
null
null
null
components/tiled_visuals.cpp
ZamfirYonchev/Jam-game-engine
2c72ce6901d5b5fe6d273f532843f83d8a826523
[ "MIT" ]
null
null
null
components/tiled_visuals.cpp
ZamfirYonchev/Jam-game-engine
2c72ce6901d5b5fe6d273f532843f83d8a826523
[ "MIT" ]
null
null
null
/* * tiled_visuals.cpp * * Created on: Dec 4, 2021 * Author: zamfi */ #include "tiled_visuals.h" #include "position.h" int TiledVisuals::repeat_x() const { return std::ceil(m_position_accessor(m_self_id).w()/m_tile_w); } int TiledVisuals::repeat_y() const { return std::ceil(m_position_accessor(m_self_id...
18.233333
63
0.722121
ZamfirYonchev
ed93cb5bd1b63b572cd5914f1641bac0a02fea8c
3,622
cpp
C++
src/slib/core/spin_lock.cpp
inogroup/SLib
6c053c8f47f04240b8444eac5f316effdee2eb01
[ "MIT" ]
2
2021-07-29T18:29:25.000Z
2021-09-07T08:51:14.000Z
src/slib/core/spin_lock.cpp
inogroup/SLib
6c053c8f47f04240b8444eac5f316effdee2eb01
[ "MIT" ]
1
2021-07-29T18:22:35.000Z
2021-07-29T18:59:41.000Z
src/slib/core/spin_lock.cpp
inogroup/SLib
6c053c8f47f04240b8444eac5f316effdee2eb01
[ "MIT" ]
3
2021-07-29T17:08:12.000Z
2021-12-14T06:21:41.000Z
/* * Copyright (c) 2008-2018 SLIBIO <https://github.com/SLIBIO> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * ...
21.559524
86
0.686085
inogroup
ed96708dfff44a14e452b042adafb35828753fc0
15,186
cpp
C++
framework/model_parser/parser/parser.cpp
kiritigowda/Anakin
4ba2329153163590e11875dc6b4150031066915d
[ "Apache-2.0" ]
1
2018-09-10T06:42:09.000Z
2018-09-10T06:42:09.000Z
framework/model_parser/parser/parser.cpp
kiritigowda/Anakin
4ba2329153163590e11875dc6b4150031066915d
[ "Apache-2.0" ]
2
2018-08-15T07:06:24.000Z
2018-08-15T08:00:30.000Z
framework/model_parser/parser/parser.cpp
kiritigowda/Anakin
4ba2329153163590e11875dc6b4150031066915d
[ "Apache-2.0" ]
5
2018-06-22T03:36:38.000Z
2020-07-29T07:28:13.000Z
#include "framework/model_parser/parser/parser.h" #include "framework/model_parser/parser/model_io.h" #include "framework/model_parser/proto/graph.pb.h" #include "framework/model_parser/proto/node.pb.h" #include "framework/model_parser/proto/operator.pb.h" #include "framework/model_parser/proto/tensor.pb.h" #include <s...
39.444156
101
0.638549
kiritigowda
ed9b8815a510c192a6b9dc57eb2feb37a9d4737f
9,344
cpp
C++
examples_oldgl_glfw/633_Mpm2Snow/main.cpp
nobuyuki83/delfem2
118768431ccc5b77ed10b8f76f625d38e0b552f0
[ "MIT" ]
153
2018-08-16T21:51:33.000Z
2022-03-28T10:34:48.000Z
examples_oldgl_glfw/633_Mpm2Snow/main.cpp
nobuyuki83/delfem2
118768431ccc5b77ed10b8f76f625d38e0b552f0
[ "MIT" ]
63
2018-08-16T21:53:34.000Z
2022-02-22T13:50:34.000Z
examples_oldgl_glfw/633_Mpm2Snow/main.cpp
nobuyuki83/delfem2
118768431ccc5b77ed10b8f76f625d38e0b552f0
[ "MIT" ]
18
2018-12-17T05:39:15.000Z
2021-11-16T08:21:16.000Z
/** * @file demo inspired by taichi_mpm (https://github.com/yuanming-hu/taichi_mpm) */ #include <cstdlib> #include <cstdio> #include <random> #include <algorithm> // std::max #if defined(_WIN32) // windows # define NOMINMAX // to remove min,max macro # include <windows.h> // this should come before glfw3.h #...
32.444444
105
0.578232
nobuyuki83
ed9d349e5457135afdf373778fa25a5c4a980ee8
515
cpp
C++
CCC/CCC_21_J3_Secret_Instructions.cpp
Togohogo1/pg
ee3c36acde47769c66ee13a227762ee677591375
[ "MIT" ]
null
null
null
CCC/CCC_21_J3_Secret_Instructions.cpp
Togohogo1/pg
ee3c36acde47769c66ee13a227762ee677591375
[ "MIT" ]
1
2021-10-14T18:26:56.000Z
2021-10-14T18:26:56.000Z
CCC/CCC_21_J3_Secret_Instructions.cpp
Togohogo1/pg
ee3c36acde47769c66ee13a227762ee677591375
[ "MIT" ]
1
2021-08-06T03:39:55.000Z
2021-08-06T03:39:55.000Z
#include <bits/stdc++.h> using namespace std; string num, res, pre; int main() { ios::sync_with_stdio(0); cin.tie(0), cout.tie(0); while (true) { cin >> num; if (num == "99999") break; int sum = stoi(num.substr(0, 1)) + stoi(num.substr(1, 1)); if (sum & 1) ...
17.166667
66
0.429126
Togohogo1
ed9f4a82e3b131a9d8d0446d386a85ae7aff2e1d
5,534
cpp
C++
Code/settings/DialogGraphOption.cpp
jiaguobing/FastCAE
2348ab87e83fe5c704e4c998cf391229c25ac5d5
[ "BSD-3-Clause" ]
2
2020-02-21T01:04:35.000Z
2020-02-21T03:35:37.000Z
Code/settings/DialogGraphOption.cpp
Sunqia/FastCAE
cbc023fe07b6e306ceefae8b8bd7c12bc1562acb
[ "BSD-3-Clause" ]
1
2020-03-06T04:49:42.000Z
2020-03-06T04:49:42.000Z
Code/settings/DialogGraphOption.cpp
Sunqia/FastCAE
cbc023fe07b6e306ceefae8b8bd7c12bc1562acb
[ "BSD-3-Clause" ]
1
2021-11-21T13:03:26.000Z
2021-11-21T13:03:26.000Z
#include "DialogGraphOption.h" #include "GraphOption.h" #include "ui_DialogGraphOption.h" #include "mainWindow/mainWindow.h" namespace Setting { GraphOptionDialog::GraphOptionDialog(GUI::MainWindow* mainwindow, GraphOption* op) :/* QFDialog(mainwindow),*/ _ui(new Ui::GraphOptionDialog), _mainWindow(mainwind...
36.649007
112
0.738164
jiaguobing
eda27ca825d7324cc3cf8e6868e5cd8966f862cd
4,049
cpp
C++
Boss/Mod/NodeBalanceSwapper.cpp
willcl-ark/clboss
09a802ca00c04bf480c5f2d388f4cbd4500e3211
[ "MIT" ]
null
null
null
Boss/Mod/NodeBalanceSwapper.cpp
willcl-ark/clboss
09a802ca00c04bf480c5f2d388f4cbd4500e3211
[ "MIT" ]
null
null
null
Boss/Mod/NodeBalanceSwapper.cpp
willcl-ark/clboss
09a802ca00c04bf480c5f2d388f4cbd4500e3211
[ "MIT" ]
null
null
null
#include"Boss/Mod/NodeBalanceSwapper.hpp" #include"Boss/ModG/Swapper.hpp" #include"Boss/Msg/ListpeersResult.hpp" #include"Boss/Msg/OnchainFee.hpp" #include"Boss/log.hpp" #include"Jsmn/Object.hpp" #include"Ln/Amount.hpp" #include"S/Bus.hpp" #include"Util/make_unique.hpp" #include<sstream> namespace { /* The minimum pe...
24.689024
71
0.588787
willcl-ark
eda2aa73b060b082fedbdad9fa793219be712cf6
1,846
cpp
C++
Strings/String Matching(or Searching) Algorithms/Using Trie/Creation, Insertion & Searching in a Trie.cpp
Edith-3000/Algorithmic-Implementations
7ff8cd615fd453a346b4e851606d47c26f05a084
[ "MIT" ]
8
2021-02-13T17:07:27.000Z
2021-08-20T08:20:40.000Z
Strings/String Matching(or Searching) Algorithms/Using Trie/Creation, Insertion & Searching in a Trie.cpp
Edith-3000/Algorithmic-Implementations
7ff8cd615fd453a346b4e851606d47c26f05a084
[ "MIT" ]
null
null
null
Strings/String Matching(or Searching) Algorithms/Using Trie/Creation, Insertion & Searching in a Trie.cpp
Edith-3000/Algorithmic-Implementations
7ff8cd615fd453a346b4e851606d47c26f05a084
[ "MIT" ]
5
2021-02-17T18:12:20.000Z
2021-10-10T17:49:34.000Z
// Trie is basically an n-ary tree. #include<bits/stdc++.h> using namespace std; // trie structure for inserting string consisting of lowercase // latin alphabets struct trie { // everything is by-default "public" in a struct // every trie node will contain an array/vector of // pointers each pointing to a simila...
21.218391
75
0.601842
Edith-3000
eda4fbf651a37f5495b4efcb02ad874fbe425705
1,807
cpp
C++
src/MulticopterPlugin/FFCalc_INormalizedFunction.cpp
roto5296/choreonoid
ffe12df8db71e32aea18833afb80dffc42c373d0
[ "MIT" ]
66
2020-03-11T14:06:01.000Z
2022-03-23T23:18:27.000Z
src/MulticopterPlugin/FFCalc_INormalizedFunction.cpp
roto5296/choreonoid
ffe12df8db71e32aea18833afb80dffc42c373d0
[ "MIT" ]
12
2020-07-23T06:13:11.000Z
2022-01-13T14:25:01.000Z
src/MulticopterPlugin/FFCalc_INormalizedFunction.cpp
roto5296/choreonoid
ffe12df8db71e32aea18833afb80dffc42c373d0
[ "MIT" ]
18
2020-07-17T15:57:54.000Z
2022-03-29T13:18:59.000Z
/** @author Japan Atomic Energy Agency */ #include "MulticopterPluginHeader.h" namespace Multicopter { namespace FFCalc { namespace { double findParameter (std::function<double(double)> func, double x1, double x2, double ydest) { double y1 = func(x1); double y2 = func(x2); for (int count=0; count<10; ++...
20.770115
94
0.65523
roto5296
eda56e1cfec5ebd728cbad917ab2e8f0ae118faa
3,276
cpp
C++
Kernel/Devices/Device.cpp
DavidKorczynski/serenity
dce374320408726a13a003ac2eea5a5f4575e514
[ "BSD-2-Clause" ]
null
null
null
Kernel/Devices/Device.cpp
DavidKorczynski/serenity
dce374320408726a13a003ac2eea5a5f4575e514
[ "BSD-2-Clause" ]
null
null
null
Kernel/Devices/Device.cpp
DavidKorczynski/serenity
dce374320408726a13a003ac2eea5a5f4575e514
[ "BSD-2-Clause" ]
null
null
null
/* * Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org> * 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 source code must retain the above copyright noti...
32.435644
112
0.710623
DavidKorczynski
eda8b802fa30ed800d233182a2a1e63693ef05bb
2,147
cpp
C++
src/gui/widgetdrawsimple.cpp
dream-overflow/o3d
087ab870cc0fd9091974bb826e25c23903a1dde0
[ "FSFAP" ]
2
2019-06-22T23:29:44.000Z
2019-07-07T18:34:04.000Z
src/gui/widgetdrawsimple.cpp
dream-overflow/o3d
087ab870cc0fd9091974bb826e25c23903a1dde0
[ "FSFAP" ]
null
null
null
src/gui/widgetdrawsimple.cpp
dream-overflow/o3d
087ab870cc0fd9091974bb826e25c23903a1dde0
[ "FSFAP" ]
null
null
null
/** * @file widgetdrawsimple.cpp * @brief Base class for drawing widgets. * @author RinceWind * @date 2006-10-11 * @copyright Copyright (c) 2001-2017 Dream Overflow. All rights reserved. * @details */ #include "o3d/gui/precompiled.h" #include "o3d/gui/widgetdrawsimple.h" #include "o3d/engine/matrix.h" #includ...
28.626667
89
0.489986
dream-overflow
eda92c81dc6761012687f1753c30ef7e7351dce4
132
hpp
C++
ares/ms/expansion/fmsound/fmsound.hpp
CasualPokePlayer/ares
58690cd5fc7bb6566c22935c5b80504a158cca29
[ "BSD-3-Clause" ]
153
2020-07-25T17:55:29.000Z
2021-10-01T23:45:01.000Z
ares/ms/expansion/fmsound/fmsound.hpp
CasualPokePlayer/ares
58690cd5fc7bb6566c22935c5b80504a158cca29
[ "BSD-3-Clause" ]
245
2021-10-08T09:14:46.000Z
2022-03-31T08:53:13.000Z
ares/ms/expansion/fmsound/fmsound.hpp
CasualPokePlayer/ares
58690cd5fc7bb6566c22935c5b80504a158cca29
[ "BSD-3-Clause" ]
44
2020-07-25T08:51:55.000Z
2021-09-25T16:09:01.000Z
struct FMSoundUnit : Expansion { FMSoundUnit(Node::Port); ~FMSoundUnit(); auto serialize(serializer& s) -> void override; };
18.857143
49
0.69697
CasualPokePlayer
eda9730d1182545ac5d0354286e262798ae5082d
7,597
hpp
C++
include/nuls/system/math/elliptic_curve.hpp
ccccbjcn/nuls-v2-cplusplus-sdk
3d5a76452fe0673eba490b26e5a95fea3d5788df
[ "MIT" ]
1
2020-04-26T07:32:52.000Z
2020-04-26T07:32:52.000Z
include/nuls/system/math/elliptic_curve.hpp
CCC-NULS/nuls-cplusplus-sdk
3d5a76452fe0673eba490b26e5a95fea3d5788df
[ "MIT" ]
null
null
null
include/nuls/system/math/elliptic_curve.hpp
CCC-NULS/nuls-cplusplus-sdk
3d5a76452fe0673eba490b26e5a95fea3d5788df
[ "MIT" ]
null
null
null
/** * Copyright (c) 2020 libnuls developers (see AUTHORS) * * This file is part of libnuls. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or *...
35.834906
80
0.700013
ccccbjcn
edaa417d0ed6c5ff860a967f5b291a2fd1d15247
359
cpp
C++
OpenTESArena/src/UI/Button.cpp
TotalCaesar659/OpenTESArena
e72eda7a5e03869309b5ed7375f432d0ad826ff3
[ "MIT" ]
742
2016-03-09T17:18:55.000Z
2022-03-21T07:23:47.000Z
OpenTESArena/src/UI/Button.cpp
TotalCaesar659/OpenTESArena
e72eda7a5e03869309b5ed7375f432d0ad826ff3
[ "MIT" ]
196
2016-06-07T15:19:21.000Z
2021-12-12T16:50:58.000Z
OpenTESArena/src/UI/Button.cpp
TotalCaesar659/OpenTESArena
e72eda7a5e03869309b5ed7375f432d0ad826ff3
[ "MIT" ]
85
2016-04-17T13:25:16.000Z
2022-03-25T06:45:15.000Z
#include "Button.h" ButtonProxy::ButtonProxy(MouseButtonType buttonType, const RectFunction &rectFunc, const Callback &callback, const ActiveFunction &isActiveFunc) : rectFunc(rectFunc), callback(callback), isActiveFunc(isActiveFunc) { this->buttonType = buttonType; } ButtonProxy::ButtonProxy() { this->buttonType...
25.642857
82
0.78273
TotalCaesar659
edaad242fc94c4c867893e7f93d8c62f6c48c841
503
cc
C++
benchmark/0005.time/fast_io.cc
clayne/fast_io
1d7e12ea551d87e187a5a8881d9227ba3ea3b8a0
[ "MIT" ]
53
2022-02-19T18:28:36.000Z
2022-03-29T06:54:03.000Z
benchmark/0005.time/fast_io.cc
clayne/fast_io
1d7e12ea551d87e187a5a8881d9227ba3ea3b8a0
[ "MIT" ]
5
2022-03-05T14:10:29.000Z
2022-03-28T02:43:16.000Z
benchmark/0005.time/fast_io.cc
clayne/fast_io
1d7e12ea551d87e187a5a8881d9227ba3ea3b8a0
[ "MIT" ]
17
2022-02-19T20:16:18.000Z
2022-03-29T20:50:49.000Z
#include<fast_io_device.h> #include<fast_io.h> #include<fast_io_driver/timer.h> #include<fast_io_i18n.h> int main() { fast_io::native_l10n l10n(""); constexpr std::size_t buffer_size{10000}; constexpr std::size_t N(10000000); auto iso8601_ts{utc(fast_io::posix_clock_gettime(fast_io::posix_clock_id::realtime))}; {...
25.15
87
0.727634
clayne
edaba1edd7d4df4d79b582400024c6bc62b2bb0e
215
cpp
C++
C++/sources/opencv_opengl_toolbox/fileviewer.cpp
sandeepmanandhargithub/Toolbox-ComputerVision
9104a7a020944f2e4cbf383c5c4c7de0d8eab3ea
[ "MIT" ]
null
null
null
C++/sources/opencv_opengl_toolbox/fileviewer.cpp
sandeepmanandhargithub/Toolbox-ComputerVision
9104a7a020944f2e4cbf383c5c4c7de0d8eab3ea
[ "MIT" ]
null
null
null
C++/sources/opencv_opengl_toolbox/fileviewer.cpp
sandeepmanandhargithub/Toolbox-ComputerVision
9104a7a020944f2e4cbf383c5c4c7de0d8eab3ea
[ "MIT" ]
null
null
null
#include "fileviewer.h" #include "ui_fileviewer.h" fileViewer::fileViewer(QWidget *parent) : QWidget(parent), ui(new Ui::fileViewer) { ui->setupUi(this); } fileViewer::~fileViewer() { delete ui; }
14.333333
41
0.665116
sandeepmanandhargithub
edaf846a83340802a24f3aab33f50f7eb2e20b95
13,439
cc
C++
src/pass/flatten_elementwise.cc
laekov/akg
5316b8cb2340bbf71bdc724dc9d81513a67b3104
[ "Apache-2.0" ]
1
2020-08-31T02:43:43.000Z
2020-08-31T02:43:43.000Z
src/pass/flatten_elementwise.cc
laekov/akg
5316b8cb2340bbf71bdc724dc9d81513a67b3104
[ "Apache-2.0" ]
null
null
null
src/pass/flatten_elementwise.cc
laekov/akg
5316b8cb2340bbf71bdc724dc9d81513a67b3104
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2019 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...
33.182716
118
0.608155
laekov
edaf8bc81ab45ef9d38be45d282228a017dd2470
1,243
cc
C++
src/lib/isolated_devmgr/test_device.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
5
2022-01-10T20:22:17.000Z
2022-01-21T20:14:17.000Z
src/lib/isolated_devmgr/test_device.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
1
2022-03-01T01:12:04.000Z
2022-03-01T01:17:26.000Z
src/lib/isolated_devmgr/test_device.cc
allansrc/fuchsia
a2c235b33fc4305044d496354a08775f30cdcf37
[ "BSD-2-Clause" ]
null
null
null
// Copyright 2022 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <lib/ddk/debug.h> #include <memory> #include <ddktl/device.h> #include "src/lib/isolated_devmgr/test-device-bind.h" namespace test { class Te...
25.367347
73
0.691874
allansrc
edb01d9169674792e22c300d693bf68e1b7a96c5
10,709
cc
C++
tensorflow/compiler/mlir/lite/transforms/lift_tflite_flex_ops.cc
piquark6046/tensorflow
57771c5d008f6d16fd147110213855d145a7e0bc
[ "Apache-2.0" ]
null
null
null
tensorflow/compiler/mlir/lite/transforms/lift_tflite_flex_ops.cc
piquark6046/tensorflow
57771c5d008f6d16fd147110213855d145a7e0bc
[ "Apache-2.0" ]
null
null
null
tensorflow/compiler/mlir/lite/transforms/lift_tflite_flex_ops.cc
piquark6046/tensorflow
57771c5d008f6d16fd147110213855d145a7e0bc
[ "Apache-2.0" ]
null
null
null
/* Copyright 2021 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...
41.507752
81
0.682697
piquark6046
edb054bbcd24886cec7ae84ec92ef2abef0d4913
153
cpp
C++
recipes/libmp3lame/all/test_package/test_package.cpp
nadzkie0/conan-center-index
fde12bf20f2c4cb6a7554d09a5c9433a0f5cb72c
[ "MIT" ]
3
2020-04-16T15:01:33.000Z
2022-01-13T08:05:47.000Z
recipes/libmp3lame/all/test_package/test_package.cpp
nadzkie0/conan-center-index
fde12bf20f2c4cb6a7554d09a5c9433a0f5cb72c
[ "MIT" ]
33
2020-02-18T15:54:50.000Z
2022-03-28T08:54:10.000Z
recipes/libmp3lame/all/test_package/test_package.cpp
nadzkie0/conan-center-index
fde12bf20f2c4cb6a7554d09a5c9433a0f5cb72c
[ "MIT" ]
8
2021-05-24T11:46:53.000Z
2021-12-14T17:15:47.000Z
#include <cstdlib> #include <iostream> #include "lame/lame.h" int main() { std::cout << get_lame_version() << std::endl; return EXIT_SUCCESS; }
15.3
49
0.653595
nadzkie0
edb29e735ca9a41e34f7706589786243f66f281b
17,580
cpp
C++
lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCClassDescriptorV2.cpp
bytesnake/Enzyme
247606c279920d476645d2e319e574bf8be10fc9
[ "Apache-2.0" ]
null
null
null
lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCClassDescriptorV2.cpp
bytesnake/Enzyme
247606c279920d476645d2e319e574bf8be10fc9
[ "Apache-2.0" ]
null
null
null
lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCClassDescriptorV2.cpp
bytesnake/Enzyme
247606c279920d476645d2e319e574bf8be10fc9
[ "Apache-2.0" ]
null
null
null
//===-- AppleObjCClassDescriptorV2.cpp -----------------------------*- C++ //-*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===--------------------------------------------------...
31.963636
80
0.64744
bytesnake
edbaeeaf4a19155206ad77ae2972df3b6cfc5d9a
3,524
cpp
C++
src/nonblock/strclinonb.cpp
xmac1/udpserver
d392eaf716f7762ec40bc01710a108364e0b2ca2
[ "Apache-2.0" ]
null
null
null
src/nonblock/strclinonb.cpp
xmac1/udpserver
d392eaf716f7762ec40bc01710a108364e0b2ca2
[ "Apache-2.0" ]
null
null
null
src/nonblock/strclinonb.cpp
xmac1/udpserver
d392eaf716f7762ec40bc01710a108364e0b2ca2
[ "Apache-2.0" ]
null
null
null
// // Created by xmac on 18-10-23. // #include "../../include/unp.h" void str_cli(FILE* fp, int sockfd) { int maxfdp1, val, stdineof; ssize_t n, nwritten; fd_set rset, wset; char to[MAXLINE], fr[MAXLINE]; char *toiptr, *tooptr, *friptr, *froptr; val = Fcntl(sockfd, F_GETFL, 0); Fcntl(sock...
33.884615
88
0.46538
xmac1
edbb3315df7384f29c0b0b59fa97de4cb8bdfb8c
5,645
cpp
C++
src/NovelRT.Interop/Graphics/NrtImageRect.cpp
ClxS/NovelRT
f6703813b426dd906952fbf65986edf65ad4a55e
[ "MIT" ]
null
null
null
src/NovelRT.Interop/Graphics/NrtImageRect.cpp
ClxS/NovelRT
f6703813b426dd906952fbf65986edf65ad4a55e
[ "MIT" ]
null
null
null
src/NovelRT.Interop/Graphics/NrtImageRect.cpp
ClxS/NovelRT
f6703813b426dd906952fbf65986edf65ad4a55e
[ "MIT" ]
null
null
null
// Copyright © Matt Jones and Contributors. Licensed under the MIT Licence (MIT). See LICENCE.md in the repository root // for more information. #include <NovelRT.Interop/Graphics/NrtImageRect.h> #include <NovelRT.Interop/NrtErrorHandling.h> #include <NovelRT.h> #include <list> using namespace NovelRT::Graphics; usi...
27.945545
119
0.656156
ClxS
edbe8a89f1a2fe4c4176f05407a1d95d8d01af0c
672
hpp
C++
libs/naming_base/include/hpx/naming_base.hpp
weilewei/hpx
49eb429a028f04fa4ed0c3860933d0fcced48792
[ "BSL-1.0" ]
null
null
null
libs/naming_base/include/hpx/naming_base.hpp
weilewei/hpx
49eb429a028f04fa4ed0c3860933d0fcced48792
[ "BSL-1.0" ]
null
null
null
libs/naming_base/include/hpx/naming_base.hpp
weilewei/hpx
49eb429a028f04fa4ed0c3860933d0fcced48792
[ "BSL-1.0" ]
null
null
null
// Copyright (c) 2007-2016 Hartmut Kaiser // Copyright (c) 2011 Bryce Lelbach // // SPDX-License-Identifier: BSL-1.0 // 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 HPX_RUNTIME_NAMING_TYPES_FWD_HP...
25.846154
80
0.732143
weilewei
edbf129c46b6696275ba0d6ec26628db05389210
1,449
cpp
C++
LeetCode/Problems/Algorithms/#756_PyramidTransitionMatrix_sol2_recursive_backtracking_(A^(N^2))_time_O(N^2)_extra_space_4ms_9.2MB.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
1
2022-01-26T14:50:07.000Z
2022-01-26T14:50:07.000Z
LeetCode/Problems/Algorithms/#756_PyramidTransitionMatrix_sol2_recursive_backtracking_(A^(N^2))_time_O(N^2)_extra_space_4ms_9.2MB.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
null
null
null
LeetCode/Problems/Algorithms/#756_PyramidTransitionMatrix_sol2_recursive_backtracking_(A^(N^2))_time_O(N^2)_extra_space_4ms_9.2MB.cpp
Tudor67/Competitive-Programming
ae4dc6ed8bf76451775bf4f740c16394913f3ff1
[ "MIT" ]
null
null
null
class Solution { private: unordered_map<string, vector<char>> candidates; void back(string& colors, int pos1, int pos2, const vector<bool>& IS_ROW_END, bool& isValid){ if(pos2 == colors.length()){ isValid = true; } if(isValid){ return; ...
30.829787
98
0.510007
Tudor67
edbfc6e1df7589ffdc7fcdeea026a39f54dff27e
3,891
cpp
C++
src/Level.cpp
p-mccusker/Gloom-Editor
58ca43c7897f169311a084094b3f9852e56873cf
[ "Apache-2.0" ]
null
null
null
src/Level.cpp
p-mccusker/Gloom-Editor
58ca43c7897f169311a084094b3f9852e56873cf
[ "Apache-2.0" ]
null
null
null
src/Level.cpp
p-mccusker/Gloom-Editor
58ca43c7897f169311a084094b3f9852e56873cf
[ "Apache-2.0" ]
null
null
null
#include "Level.h" Level::Level(uint rows, uint columns, uint height) { //Default width and height of 40 pixels for each tile _cellHeight = _cellWidth = 40; for (int i = 0; i < height; i++) { vector<vector<shared_ptr<Cell>>> grid; uint yCoord = 0; for (int j = 0; j < rows; j++) { uint xCoord = 0; vecto...
19.953846
66
0.587253
p-mccusker
edc32378ee40d9eebf809264b897fa85a7e1caef
2,758
hpp
C++
ThirdParty/assimp/BoostWorkaround/boost/timer.hpp
spetz911/almaty3d
0dda0f05862be2585eae9b6e2e8cf476c043e3dc
[ "MIT" ]
null
null
null
ThirdParty/assimp/BoostWorkaround/boost/timer.hpp
spetz911/almaty3d
0dda0f05862be2585eae9b6e2e8cf476c043e3dc
[ "MIT" ]
null
null
null
ThirdParty/assimp/BoostWorkaround/boost/timer.hpp
spetz911/almaty3d
0dda0f05862be2585eae9b6e2e8cf476c043e3dc
[ "MIT" ]
null
null
null
// boost timer.hpp header file ---------------------------------------------// // Copyright Beman Dawes 1994-99. 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) // See http://www.boost.org/libs/timer ...
37.27027
81
0.643582
spetz911
edc4b095960f8f1b9b4745ce397475c5456b4917
24,465
cpp
C++
src/TacsUtilities.cpp
tchin-divergent/tacs
34743b370da4ab6ea16d24de7c574c3fec9d333a
[ "Apache-2.0" ]
null
null
null
src/TacsUtilities.cpp
tchin-divergent/tacs
34743b370da4ab6ea16d24de7c574c3fec9d333a
[ "Apache-2.0" ]
null
null
null
src/TacsUtilities.cpp
tchin-divergent/tacs
34743b370da4ab6ea16d24de7c574c3fec9d333a
[ "Apache-2.0" ]
null
null
null
/* This file is part of TACS: The Toolkit for the Analysis of Composite Structures, a parallel finite-element code for structural and multidisciplinary design optimization. Copyright (C) 2014 Georgia Tech Research Corporation TACS is licensed under the Apache License, Version 2.0 (the "License"); you may ...
24.612676
100
0.560842
tchin-divergent
edc53544fdbe13eef2b5a9f1d6faf7a5ddeab0b0
11,654
cpp
C++
Scheduler/CoinOR/examplesMakefiles/fast0507.cpp
enyquist/Concordia_Scheduling
5eb96ed585e7f2002983159b8ee0837b791753fa
[ "MIT" ]
null
null
null
Scheduler/CoinOR/examplesMakefiles/fast0507.cpp
enyquist/Concordia_Scheduling
5eb96ed585e7f2002983159b8ee0837b791753fa
[ "MIT" ]
null
null
null
Scheduler/CoinOR/examplesMakefiles/fast0507.cpp
enyquist/Concordia_Scheduling
5eb96ed585e7f2002983159b8ee0837b791753fa
[ "MIT" ]
null
null
null
// $Id: fast0507.cpp 1574 2011-01-05 01:13:55Z lou $ // Copyright (C) 2005, International Business Machines // Corporation and others. All Rights Reserved. // This code is licensed under the terms of the Eclipse Public License (EPL). #if defined(_MSC_VER) // Turn off compiler warning about long names # pragma warnin...
31.928767
92
0.678394
enyquist
edc664e4b802762cc6f3874259e4b256e1ed153f
9,953
cpp
C++
Chapter/10_ConsoleSystem/Core/ProcessManager.cpp
arkiny/OSwithMSVC
90cd62ce9bbe8301942e024404f32b04874e7906
[ "MIT" ]
1
2021-05-09T01:24:05.000Z
2021-05-09T01:24:05.000Z
Chapter/10_ConsoleSystem/Core/ProcessManager.cpp
arkiny/OSwithMSVC
90cd62ce9bbe8301942e024404f32b04874e7906
[ "MIT" ]
null
null
null
Chapter/10_ConsoleSystem/Core/ProcessManager.cpp
arkiny/OSwithMSVC
90cd62ce9bbe8301942e024404f32b04874e7906
[ "MIT" ]
null
null
null
#include "SkyOS.h" #include "KernelProcessLoader.h" #include "UserProcessLoader.h" ProcessManager* ProcessManager::m_processManager = nullptr; static int kernelStackIndex = 1; extern int g_stackPhysicalAddressPool; #define TASK_GENESIS_ID 1000 ProcessManager::ProcessManager() { m_nextThreadId = 1000; m_pCurrentT...
26.12336
141
0.728424
arkiny
edc9137b3fb1e3845858584713fa5cf90371b18e
10,965
cpp
C++
src/htmlview/api/api.cpp
JohanSmet/dromaius
2c7869e39ad9409522734dd054b6218f550679e1
[ "BSD-3-Clause" ]
null
null
null
src/htmlview/api/api.cpp
JohanSmet/dromaius
2c7869e39ad9409522734dd054b6218f550679e1
[ "BSD-3-Clause" ]
1
2020-03-02T17:52:13.000Z
2020-03-02T17:56:06.000Z
src/htmlview/api/api.cpp
JohanSmet/dromaius
2c7869e39ad9409522734dd054b6218f550679e1
[ "BSD-3-Clause" ]
null
null
null
// htmlview/api/api.cpp - Johan Smet - BSD-3-Clause (see LICENSE) #include <emscripten/bind.h> #include <cassert> #include <vector> #include <map> #include "context.h" #include "cpu_6502.h" #include "dev_commodore_pet.h" #include "perif_pet_crt.h" #include "perif_datassette_1530.h" #include "input_keypad.h" #include...
27.4125
132
0.732969
JohanSmet
edcb8b59a0c2dbcdc798f74034925ee0722025fc
6,145
hpp
C++
optionals/faction_the_zone/CfgGroups.hpp
kellerkompanie/kellerkompanie-mods
f15704710f77ba6c018c486d95cac4f7749d33b8
[ "MIT" ]
6
2018-05-05T22:28:57.000Z
2019-07-06T08:46:51.000Z
optionals/faction_the_zone/CfgGroups.hpp
Schwaggot/kellerkompanie-mods
7a389e49e3675866dbde1b317a44892926976e9d
[ "MIT" ]
107
2018-04-11T19:42:27.000Z
2019-09-13T19:05:31.000Z
optionals/faction_the_zone/CfgGroups.hpp
kellerkompanie/kellerkompanie-mods
f15704710f77ba6c018c486d95cac4f7749d33b8
[ "MIT" ]
3
2018-10-03T11:54:46.000Z
2019-02-28T13:30:16.000Z
class CfgGroups { class east { class GVAR(opfor) { name = QUOTE(Kellerkompanie The Zone); class Bandits { name = QUOTE(Bandits); class GVAR(opfor_bandit_group_4) { name = QUOTE(4 Bandits); faction = QGVAR(opfor);...
36.796407
56
0.296989
kellerkompanie
edce46f09fbb30e52d6a507700192cb4a8129fba
11,581
cpp
C++
guilib/src/OdometryViewer.cpp
redater/PAM-BATR
3fc8f95972ec13963a53c5448921b59df80a8c8b
[ "BSD-3-Clause" ]
1
2017-05-25T20:41:33.000Z
2017-05-25T20:41:33.000Z
guilib/src/OdometryViewer.cpp
redater/PAM-BATR
3fc8f95972ec13963a53c5448921b59df80a8c8b
[ "BSD-3-Clause" ]
null
null
null
guilib/src/OdometryViewer.cpp
redater/PAM-BATR
3fc8f95972ec13963a53c5448921b59df80a8c8b
[ "BSD-3-Clause" ]
null
null
null
/* Copyright (c) 2010-2014, Mathieu Labbe - IntRoLab - Universite de Sherbrooke All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright ...
30.396325
122
0.677575
redater
edd08954bb398e4414cdc08003847733dace611f
3,008
cpp
C++
jerome_tool/Help.cpp
leuski-ict/jerome
6141a21c50903e98a04c79899164e7d0e82fe1c2
[ "Apache-2.0" ]
3
2018-06-11T10:48:54.000Z
2021-05-30T07:10:15.000Z
jerome_tool/Help.cpp
leuski-ict/jerome
6141a21c50903e98a04c79899164e7d0e82fe1c2
[ "Apache-2.0" ]
null
null
null
jerome_tool/Help.cpp
leuski-ict/jerome
6141a21c50903e98a04c79899164e7d0e82fe1c2
[ "Apache-2.0" ]
null
null
null
// // Help.cpp // jerome // // Created by Anton Leuski on 9/5/16. // Copyright © 2016 Anton Leuski & ICT/USC. All rights reserved. // // This file is part of Jerome. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You m...
28.11215
82
0.701463
leuski-ict
edd2c8f5dd8864a6709445cff6a80f69354b62b3
37,272
cpp
C++
llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
elizabethandrews/llvm
308498236c1c4778fdcba0bfbb556adf8aa333ea
[ "Apache-2.0" ]
null
null
null
llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
elizabethandrews/llvm
308498236c1c4778fdcba0bfbb556adf8aa333ea
[ "Apache-2.0" ]
null
null
null
llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
elizabethandrews/llvm
308498236c1c4778fdcba0bfbb556adf8aa333ea
[ "Apache-2.0" ]
null
null
null
//===- llvm/unittest/IR/OpenMPIRBuilderTest.cpp - OpenMPIRBuilder tests ---===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
36.398438
112
0.694838
elizabethandrews
edd42f14ae9e40a87743a63b227fa610d126c2bd
612
cpp
C++
aoj/Volume05/0569/solve.cpp
tobyapi/online-judge-solutions
4088adb97ea592e8e6582ae7d2ecde2f85e2ed9c
[ "MIT" ]
null
null
null
aoj/Volume05/0569/solve.cpp
tobyapi/online-judge-solutions
4088adb97ea592e8e6582ae7d2ecde2f85e2ed9c
[ "MIT" ]
null
null
null
aoj/Volume05/0569/solve.cpp
tobyapi/online-judge-solutions
4088adb97ea592e8e6582ae7d2ecde2f85e2ed9c
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; int h,w,grid[102][102],vis[102][102]; int dx1[6]={0,1,-1,1,0,1}; int dx2[6]={-1,0,-1,1,-1,0}; int dy[6]={-1,-1,0,0,1,1}; int rec(int x,int y){ vis[y][x]=1; int res=0; for(int i=0;i<6;i++){ int nx=x+(y%2?dx1[i]:dx2[i]),ny=y+dy[i]; if(nx<0 || ny<0 || w+1<nx || h+1...
16.540541
49
0.485294
tobyapi
edd5a1561eab428c9c1783581ddb4f8dfe7d4110
2,106
cpp
C++
test/vector_pckt.cpp
SuperV1234/NetLayer
1c218265ad37f2dea50d860f31a27f256070fbc8
[ "AFL-3.0" ]
6
2015-11-19T16:01:45.000Z
2017-07-19T16:45:30.000Z
test/vector_pckt.cpp
SuperV1234/NetLayer
1c218265ad37f2dea50d860f31a27f256070fbc8
[ "AFL-3.0" ]
null
null
null
test/vector_pckt.cpp
SuperV1234/NetLayer
1c218265ad37f2dea50d860f31a27f256070fbc8
[ "AFL-3.0" ]
null
null
null
#include "../include/NetLayer/NetLayer.hpp" #include "./utils/test_utils.hpp" #include <string> #include <vector> int main() { using namespace nl; NL_DEFINE_PCKT(Point, (((int), x), ((int), y))); static_assert(std::is_base_of<nl::impl::Pckt<int, int>, Point>{}, ""); NL_DEFINE_PCKT(Line, (((Point),...
22.168421
77
0.549858
SuperV1234
edd6a9fe5f4b3bbec07a5d5a0d5a0fb2d5e995d3
2,041
hpp
C++
contrib/autoboost/autoboost/mpl/advance.hpp
CaseyCarter/autowiring
48e95a71308318c8ffb7ed1348e034fd9110f70c
[ "Apache-2.0" ]
87
2015-01-18T00:43:06.000Z
2022-02-11T17:40:50.000Z
contrib/autoboost/autoboost/mpl/advance.hpp
CaseyCarter/autowiring
48e95a71308318c8ffb7ed1348e034fd9110f70c
[ "Apache-2.0" ]
274
2015-01-03T04:50:49.000Z
2021-03-08T09:01:09.000Z
contrib/autoboost/autoboost/mpl/advance.hpp
CaseyCarter/autowiring
48e95a71308318c8ffb7ed1348e034fd9110f70c
[ "Apache-2.0" ]
15
2015-09-30T20:58:43.000Z
2020-12-19T21:24:56.000Z
#ifndef AUTOBOOST_MPL_ADVANCE_HPP_INCLUDED #define AUTOBOOST_MPL_ADVANCE_HPP_INCLUDED // Copyright Aleksey Gurtovoy 2000-2004 // // 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) // // See http://www.boost.org/li...
26.506494
83
0.719745
CaseyCarter
edd7795be6957c3b46c15bdc2813acbe3b48b67d
14,513
cpp
C++
third-party/thrift/gen/thrift/lib/thrift/gen-cpp2/reflection_types.cpp
alexsn/hhvm
6061999778c513d2433c3282902ab1befc4f60b2
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
third-party/thrift/gen/thrift/lib/thrift/gen-cpp2/reflection_types.cpp
alexsn/hhvm
6061999778c513d2433c3282902ab1befc4f60b2
[ "PHP-3.01", "Zend-2.0" ]
null
null
null
third-party/thrift/gen/thrift/lib/thrift/gen-cpp2/reflection_types.cpp
alexsn/hhvm
6061999778c513d2433c3282902ab1befc4f60b2
[ "PHP-3.01", "Zend-2.0" ]
1
2021-01-29T08:44:22.000Z
2021-01-29T08:44:22.000Z
/** * Autogenerated by Thrift for /home/fbthrift/thrift/lib/thrift/reflection.thrift * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ #include "thrift/lib/thrift/gen-cpp2/reflection_types.h" #include "thrift/lib/thrift/gen-cpp2/reflection_types.tcc" #include <thrift/lib/cpp2/g...
36.464824
275
0.732722
alexsn
edd7d349b8ffd45c872862c79b714a3c917239f9
1,115
cpp
C++
Dataset/Leetcode/test/12/384.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/test/12/384.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/test/12/384.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution { public: std::string XXX(int num) { std::vector<std::pair<int, std::string>> vct_roman_int; vct_roman_int.push_back(std::make_pair(1000, "M")); vct_roman_int.push_back(std::make_pair(900, "CM")); vct_roman_int.push_back(std::make_pair(500, "D")); vct_roman_int.push_back(std::make_pair(400, "...
32.794118
107
0.685202
kkcookies99
edd9570991805438866246b2ac2e5caf370dda92
574
cpp
C++
Gems/LyShine/Code/Editor/UndoStack.cpp
Schneidex69/o3de
d9ec159f0e07ff86957e15212232413c4ff4d1dc
[ "Apache-2.0", "MIT" ]
1
2021-07-19T23:54:05.000Z
2021-07-19T23:54:05.000Z
Gems/LyShine/Code/Editor/UndoStack.cpp
Schneidex69/o3de
d9ec159f0e07ff86957e15212232413c4ff4d1dc
[ "Apache-2.0", "MIT" ]
null
null
null
Gems/LyShine/Code/Editor/UndoStack.cpp
Schneidex69/o3de
d9ec159f0e07ff86957e15212232413c4ff4d1dc
[ "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 "UiCanvasEditor_precompiled.h" #include "EditorCommon.h" #include <QUndoGroup> UndoStac...
18.516129
100
0.728223
Schneidex69
edd991ff7d1e68ab278e833d52280455677f8992
500
cpp
C++
ITESM Semana i/2019/Day 4/E.cpp
KevinTMtz/CompetitiveProgramming
0bf8a297c404073df707b6d7b06965b055ccd872
[ "MIT" ]
1
2020-12-08T02:01:18.000Z
2020-12-08T02:01:18.000Z
ITESM Semana i/2019/Day 4/E.cpp
KevinTMtz/CompetitiveProgramming
0bf8a297c404073df707b6d7b06965b055ccd872
[ "MIT" ]
null
null
null
ITESM Semana i/2019/Day 4/E.cpp
KevinTMtz/CompetitiveProgramming
0bf8a297c404073df707b6d7b06965b055ccd872
[ "MIT" ]
null
null
null
#include <iostream> #include <math.h> #include <string> using namespace std; int main() { int n; cin >> n; int* nums = new int[n]; for (int i=0; i<n; i++) cin >> nums[i]; int max = 0; int count = 1; for (int i=1; i<n; i++) { if (nums[i] >= nums[i-1]) { count++;...
17.241379
43
0.428
KevinTMtz
eddd9e4d8879a08cc69c08a3421507f23e261240
7,316
cc
C++
test/gtest/uct/ib/test_rc.cc
Bayyapu/ucx
b339b76ad67d2cc69e14598bac59b00b2d05d9ee
[ "BSD-3-Clause" ]
null
null
null
test/gtest/uct/ib/test_rc.cc
Bayyapu/ucx
b339b76ad67d2cc69e14598bac59b00b2d05d9ee
[ "BSD-3-Clause" ]
null
null
null
test/gtest/uct/ib/test_rc.cc
Bayyapu/ucx
b339b76ad67d2cc69e14598bac59b00b2d05d9ee
[ "BSD-3-Clause" ]
null
null
null
/** * Copyright (C) Mellanox Technologies Ltd. 2001-2016. ALL RIGHTS RESERVED. * Copyright (C) UT-Battelle, LLC. 2016. ALL RIGHTS RESERVED. * Copyright (C) ARM Ltd. 2016.All rights reserved. * See file LICENSE for terms. */ #include "test_rc.h" #define UCT_RC_INSTANTIATE_TEST_CASE(_test_case) \ _UCT_INSTANTIATE...
27.503759
85
0.677556
Bayyapu
ede007662ccb891d9aaf8fa69951626cfe9f268a
843
cpp
C++
src/Activation/relu.cpp
evenmn/VMaChine
f38de342d95c25eb22a4a61260b3fa47f92d9174
[ "MIT" ]
2
2019-02-22T07:44:50.000Z
2019-03-02T17:28:13.000Z
src/Activation/relu.cpp
evenmn/VMC
f38de342d95c25eb22a4a61260b3fa47f92d9174
[ "MIT" ]
7
2020-12-27T14:29:30.000Z
2021-01-07T16:31:21.000Z
src/Activation/relu.cpp
evenmn/VMC
f38de342d95c25eb22a4a61260b3fa47f92d9174
[ "MIT" ]
1
2020-05-22T17:44:19.000Z
2020-05-22T17:44:19.000Z
#include "relu.h" #include "../system.h" #include <iostream> ReLU::ReLU(System *system, double a) : Activation(system) { /* Constructor for the ReLU class. */ m_system = system; m_a = a; } Eigen::VectorXd ReLU::evaluate(Eigen::VectorXd x) { /* Evaluate the ReLU activation function at * point ...
24.794118
59
0.644128
evenmn
ede2bc114b93da6fa90a72e5829bce0ce5272997
5,733
cpp
C++
src/bind/lens_File.cpp
lubyk/lens
05541de73c2df31680c6273a796a624323ac2c04
[ "MIT" ]
1
2016-01-21T22:07:58.000Z
2016-01-21T22:07:58.000Z
src/bind/lens_File.cpp
lubyk/lens
05541de73c2df31680c6273a796a624323ac2c04
[ "MIT" ]
1
2015-11-21T13:56:01.000Z
2015-11-30T20:03:50.000Z
src/bind/lens_File.cpp
lubyk/lens
05541de73c2df31680c6273a796a624323ac2c04
[ "MIT" ]
null
null
null
/** * * MACHINE GENERATED FILE. DO NOT EDIT. * * Bindings for class File * * This file has been generated by dub 2.2.1. */ #include "dub/dub.h" #include "lens/File.h" using namespace lens; /** lens::File::File(const char *path, Mode mode) * include/lens/File.h:98 */ static int File_File(lua_State *L) { try...
27.695652
81
0.54823
lubyk
ede6817cd40f56f3cad16e5d47ef4b7e02cd250a
2,941
cpp
C++
measurer/hotspot-measurer/hotspot/src/share/vm/utilities/histogram.cpp
armoredsoftware/protocol
e3b0c1df8bc1027865caec6d117e5925f71f26d2
[ "BSD-3-Clause" ]
null
null
null
measurer/hotspot-measurer/hotspot/src/share/vm/utilities/histogram.cpp
armoredsoftware/protocol
e3b0c1df8bc1027865caec6d117e5925f71f26d2
[ "BSD-3-Clause" ]
null
null
null
measurer/hotspot-measurer/hotspot/src/share/vm/utilities/histogram.cpp
armoredsoftware/protocol
e3b0c1df8bc1027865caec6d117e5925f71f26d2
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (c) 1998, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
28.833333
94
0.6678
armoredsoftware
ede87b17544ec85f5498388092a544c3907e5c84
1,673
cpp
C++
99_sketch/win.cpp
kumaashi/VulkanSandbox
bb7c4e633dcd14d4ff4d2f279da48a2a78e1df5e
[ "Unlicense" ]
null
null
null
99_sketch/win.cpp
kumaashi/VulkanSandbox
bb7c4e633dcd14d4ff4d2f279da48a2a78e1df5e
[ "Unlicense" ]
null
null
null
99_sketch/win.cpp
kumaashi/VulkanSandbox
bb7c4e633dcd14d4ff4d2f279da48a2a78e1df5e
[ "Unlicense" ]
null
null
null
#include "win.h" static LRESULT WINAPI WindowProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam) { int temp = wParam & 0xFFF0; switch (msg) { case WM_SYSCOMMAND: if (temp == SC_MONITORPOWER || temp == SC_SCREENSAVE) { return 0; } break; case WM_IME_SETCONTEXT: lParam &= ~ISC_SHOWUIALL; return 0; ...
25.738462
124
0.708906
kumaashi
ede8d50579f6b9c9eddc199a4549552ea5b74aad
1,369
cpp
C++
lcs.cpp
Sdccoding/Data-Structure_Algorithms_Coding
169ac55ae0a916e49276658c7fbe362ef78b5484
[ "MIT" ]
null
null
null
lcs.cpp
Sdccoding/Data-Structure_Algorithms_Coding
169ac55ae0a916e49276658c7fbe362ef78b5484
[ "MIT" ]
null
null
null
lcs.cpp
Sdccoding/Data-Structure_Algorithms_Coding
169ac55ae0a916e49276658c7fbe362ef78b5484
[ "MIT" ]
null
null
null
//Find LCS in terms of LIS,when 1 array has unique elemnts //Find LIS in O(nlogn) #include<bits/stdc++.h> using namespace std; #define pb push_back #define mk make_pair #define fi first #define se second #define ll long long int #define ld long double #define MOD 1000000007 #define endl "\n" #define pi pair<int,int> ...
14.410526
72
0.450694
Sdccoding
ede9d6ee7995c5a5f58e99cd3f15d93f22197ca1
17,422
cpp
C++
pwiz_tools/commandline/idconvert.cpp
shze/pwizard-deb
4822829196e915525029a808470f02d24b8b8043
[ "Apache-2.0" ]
2
2019-12-28T21:24:36.000Z
2020-04-18T03:52:05.000Z
pwiz_tools/commandline/idconvert.cpp
shze/pwizard-deb
4822829196e915525029a808470f02d24b8b8043
[ "Apache-2.0" ]
null
null
null
pwiz_tools/commandline/idconvert.cpp
shze/pwizard-deb
4822829196e915525029a808470f02d24b8b8043
[ "Apache-2.0" ]
null
null
null
// // $Id: idconvert.cpp 6865 2014-10-31 21:47:12Z chambm $ // // // Original author: Matt Chambers <matt.chambers .@. vanderbilt.edu> // // Copyright 2011 Vanderbilt University - Nashville, TN 37232 // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in complia...
31.734062
141
0.596372
shze
edeb285194394566d4fcbcd0905cc5aee7d520e2
6,141
cpp
C++
src/SystemResources.in.cpp
atlantis07/LimeSuite
9c365b144dc8fcc277a77843adf7dd4d55ba6406
[ "Apache-2.0" ]
null
null
null
src/SystemResources.in.cpp
atlantis07/LimeSuite
9c365b144dc8fcc277a77843adf7dd4d55ba6406
[ "Apache-2.0" ]
null
null
null
src/SystemResources.in.cpp
atlantis07/LimeSuite
9c365b144dc8fcc277a77843adf7dd4d55ba6406
[ "Apache-2.0" ]
null
null
null
/** @file SystemResources.h @author Lime Microsystems @brief APIs for locating system resources. */ #include "SystemResources.h" #include "ErrorReporting.h" #include <cstdlib> //getenv, system #include <vector> #include <sstream> #include <iostream> #ifdef _MSC_VER #include <windows.h> #include <shlobj.h> #include <...
29.81068
143
0.658362
atlantis07
edec5f5d1f808e9fb73fbd7e6896cdb062b0e7b9
2,255
cpp
C++
modules/python/k_python_dict.cpp
appcelerator/kroll
50b9788d2c391db7676ad0d32f6d8271f51e2a66
[ "Apache-2.0" ]
17
2015-01-23T08:23:12.000Z
2019-07-24T11:44:31.000Z
kroll/modules/python/k_python_dict.cpp
MChorfa/TideSDK
fae6a35e39a0171942060948084f884391cf6f8a
[ "Apache-2.0" ]
1
2016-03-04T06:11:37.000Z
2016-03-04T06:11:37.000Z
kroll/modules/python/k_python_dict.cpp
MChorfa/TideSDK
fae6a35e39a0171942060948084f884391cf6f8a
[ "Apache-2.0" ]
9
2015-02-10T17:22:04.000Z
2019-05-17T08:45:05.000Z
/** * Appcelerator Kroll - licensed under the Apache Public License 2 * see LICENSE in the root folder for details on the license. * Copyright (c) 2008 Appcelerator, Inc. All Rights Reserved. */ #include "k_python_dict.h" namespace kroll { KPythonDict::KPythonDict(PyObject *obj) : KObject("Python,KPythonDict"),...
20.688073
74
0.684257
appcelerator
edeea8fe78da3db68b868d896923f2a56c5631e7
1,897
hh
C++
packages/solid/Region.hh
brbass/ibex
5a4cc5b4d6d46430d9667970f8a34f37177953d4
[ "MIT" ]
2
2020-04-13T20:06:41.000Z
2021-02-12T17:55:54.000Z
packages/solid/Region.hh
brbass/ibex
5a4cc5b4d6d46430d9667970f8a34f37177953d4
[ "MIT" ]
1
2018-10-22T21:03:35.000Z
2018-10-22T21:03:35.000Z
packages/solid/Region.hh
brbass/ibex
5a4cc5b4d6d46430d9667970f8a34f37177953d4
[ "MIT" ]
3
2019-04-03T02:15:37.000Z
2022-01-04T05:50:23.000Z
#ifndef Region_hh #define Region_hh #include <memory> #include <vector> #include "Surface.hh" template<class T1, class T2> class Conversion; class Material; class XML_Node; /* Describes a solid geometry region The memory for the regions must be allocated before the data is initialized, as a region can...
23.7125
84
0.663679
brbass
edf0a36ef614a3d4eb6c066bc9ba1732344b6097
18,182
cc
C++
release/src/router/aria2/src/FileEntry.cc
Clarkmania/ripetomato
5eda5521468cb9cb7156ae6750cf8229b776d10e
[ "FSFAP" ]
3
2019-01-13T09:19:57.000Z
2022-01-15T12:16:14.000Z
release/src/router/aria2/src/FileEntry.cc
Clarkmania/ripetomato
5eda5521468cb9cb7156ae6750cf8229b776d10e
[ "FSFAP" ]
1
2020-07-28T08:22:45.000Z
2020-07-28T08:22:45.000Z
release/src/router/aria2/src/FileEntry.cc
Clarkmania/ripetomato
5eda5521468cb9cb7156ae6750cf8229b776d10e
[ "FSFAP" ]
1
2020-03-06T21:17:24.000Z
2020-03-06T21:17:24.000Z
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2006 Tatsuhiro Tsujikawa * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lice...
29.70915
80
0.650093
Clarkmania
edf0e89b36845065a15aeb55cbd00fa8a889b941
4,602
cpp
C++
src/realign/Realign.cpp
LeaveYeah/Sniffles
d3380a53842b71e8adad02143c454ea63e62a0cf
[ "MIT" ]
339
2015-12-09T21:31:33.000Z
2022-03-31T19:16:36.000Z
src/realign/Realign.cpp
Nextomics/Sniffles
92e5f2e994b3e10cc3d1f8c96d12d439613c08b5
[ "MIT" ]
299
2016-02-17T00:02:31.000Z
2022-03-28T12:39:18.000Z
src/realign/Realign.cpp
Nextomics/Sniffles
92e5f2e994b3e10cc3d1f8c96d12d439613c08b5
[ "MIT" ]
60
2016-07-25T19:53:55.000Z
2022-03-10T07:52:39.000Z
/* * Realign.cpp * * Created on: Aug 24, 2015 * Author: fsedlaze */ #include "Realign.h" void Realigner::init() { //run through ref sequence and store a file * at the begining of each chr; myfile.open(Parameter::Instance()->ref_seq.c_str(), ifstream::in); if (!myfile.good()) { cout << "Fastq Parser: c...
26.601156
107
0.617123
LeaveYeah
edf1fbcd166750ff6482174ea741e731218485c9
1,750
cpp
C++
tests/unit/general/test_zlib.cpp
stefanhenneking/mfem
dc4715e03d177233ea0d891f2875324cadb06dc4
[ "BSD-3-Clause" ]
1
2020-08-15T07:00:22.000Z
2020-08-15T07:00:22.000Z
tests/unit/general/test_zlib.cpp
stefanhenneking/mfem
dc4715e03d177233ea0d891f2875324cadb06dc4
[ "BSD-3-Clause" ]
null
null
null
tests/unit/general/test_zlib.cpp
stefanhenneking/mfem
dc4715e03d177233ea0d891f2875324cadb06dc4
[ "BSD-3-Clause" ]
1
2021-09-15T14:14:29.000Z
2021-09-15T14:14:29.000Z
// Copyright (c) 2010-2020, Lawrence Livermore National Security, LLC. Produced // at the Lawrence Livermore National Laboratory. All Rights reserved. See files // LICENSE and NOTICE for details. LLNL-CODE-806117. // // This file is part of the MFEM library. For more information and source code // availability visit ht...
29.166667
80
0.684571
stefanhenneking
edf3457cddfd8d16097aaf5a658d440b2c26c3a4
6,727
cpp
C++
samples/tutorial/03_ccip/03b_linked_list/sw/linked_list.cpp
ddcc/intel-fpga-bbb
254217f47123f0e83300c3240349b7308fb7e037
[ "BSD-3-Clause" ]
5
2020-04-04T12:13:30.000Z
2022-01-26T19:48:29.000Z
samples/tutorial/03_ccip/03b_linked_list/sw/linked_list.cpp
ddcc/intel-fpga-bbb
254217f47123f0e83300c3240349b7308fb7e037
[ "BSD-3-Clause" ]
null
null
null
samples/tutorial/03_ccip/03b_linked_list/sw/linked_list.cpp
ddcc/intel-fpga-bbb
254217f47123f0e83300c3240349b7308fb7e037
[ "BSD-3-Clause" ]
null
null
null
// // Copyright (c) 2017, Intel Corporation // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // Redistributions of source code must retain the above copyright notice, this // list of conditi...
34.321429
115
0.6685
ddcc
edf39d495bea92719cbc209cfb610c60e2b172e6
775
cpp
C++
src/snabl/fuses/ret.cpp
codr7/snabl
c49fbcf3dae0ff6209a575c70c67c583c19006f3
[ "MIT" ]
4
2021-09-26T10:09:35.000Z
2022-03-26T01:49:24.000Z
src/snabl/fuses/ret.cpp
codr7/snabl
c49fbcf3dae0ff6209a575c70c67c583c19006f3
[ "MIT" ]
null
null
null
src/snabl/fuses/ret.cpp
codr7/snabl
c49fbcf3dae0ff6209a575c70c67c583c19006f3
[ "MIT" ]
1
2022-03-27T17:03:58.000Z
2022-03-27T17:03:58.000Z
#include "snabl/m.hpp" #include "snabl/op.hpp" #include "snabl/fuses/ret.hpp" namespace snabl::fuses { int ret(Fun *fun, M &m) { int n = 0; vector<PC> ret_pcs; for (PC pc = fun->start_pc; pc < m.emit_pc;) { Op op = m.ops[pc]; switch (op_code(op)) { case OpCode::GOTO: ret_pc...
16.847826
50
0.534194
codr7
edf3bf559ad9311c86fc2fb2156b6a78c6b5b5da
2,647
hpp
C++
Samples/EnginePrototype/PrototypeApplication.hpp
samkusin/overview
affddf0b21f7e76ad9dae1425a4f5ac6a29a24c1
[ "MIT" ]
null
null
null
Samples/EnginePrototype/PrototypeApplication.hpp
samkusin/overview
affddf0b21f7e76ad9dae1425a4f5ac6a29a24c1
[ "MIT" ]
null
null
null
Samples/EnginePrototype/PrototypeApplication.hpp
samkusin/overview
affddf0b21f7e76ad9dae1425a4f5ac6a29a24c1
[ "MIT" ]
null
null
null
// // GameController.hpp // EnginePrototype // // Created by Samir Sinha on 12/9/15. // // #ifndef Prototype_Application_hpp #define Prototype_Application_hpp #include "GameTypes.hpp" #include "Common.hpp" #include "ResourceFactory.hpp" #include "UICore/UIEngine.hpp" #include "Engine/EntityDatabase.hpp" #include...
24.284404
75
0.722327
samkusin
edf3de456d91f0f6b3b4cedc269b1142465547c3
4,955
cpp
C++
EllysDeathStars.cpp
felikjunvianto/kfile-tc-srm-submissions
c98b21c6dbffb8c80b97abddc08d77c508aa43dc
[ "MIT" ]
null
null
null
EllysDeathStars.cpp
felikjunvianto/kfile-tc-srm-submissions
c98b21c6dbffb8c80b97abddc08d77c508aa43dc
[ "MIT" ]
null
null
null
EllysDeathStars.cpp
felikjunvianto/kfile-tc-srm-submissions
c98b21c6dbffb8c80b97abddc08d77c508aa43dc
[ "MIT" ]
null
null
null
#include <cstdio> #include <cmath> #include <iostream> #include <string> #include <cstring> #include <algorithm> #include <vector> #include <utility> #include <stack> #include <queue> #include <map> #define fi first #define se second #define pb push_back #define mp make_pair #define pi 2*acos(0.0) #de...
33.255034
167
0.569526
felikjunvianto
edf549339fe1f22307d75e232580293c447e6f88
3,650
cpp
C++
test/unit/cuda/test-forall-view.cpp
resslerruntime/RAJA
43a7f76d50972fa8c7aaad05fb361de5e91c2620
[ "BSD-3-Clause" ]
1
2019-09-27T02:45:41.000Z
2019-09-27T02:45:41.000Z
test/unit/cuda/test-forall-view.cpp
resslerruntime/RAJA
43a7f76d50972fa8c7aaad05fb361de5e91c2620
[ "BSD-3-Clause" ]
null
null
null
test/unit/cuda/test-forall-view.cpp
resslerruntime/RAJA
43a7f76d50972fa8c7aaad05fb361de5e91c2620
[ "BSD-3-Clause" ]
null
null
null
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~// // Copyright (c) 2016-19, Lawrence Livermore National Security, LLC // and RAJA project contributors. See the RAJA/COPYRIGHT file for details. // // SPDX-License-Identifier: (BSD-3-Clause) //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~...
28.515625
88
0.556986
resslerruntime
edf56876548982c8df49bd0276eb0d1c6e2cb7ff
20,891
cpp
C++
src/game/server/fogcontroller.cpp
hitmen047/City-17-Episode-One-Source-2013
7c210bca82dad51b17bb6d47dee94a996111fd77
[ "Unlicense" ]
9
2016-06-03T17:39:38.000Z
2018-11-15T13:51:07.000Z
src/game/server/fogcontroller.cpp
KyleGospo/City-17-Episode-One-Source-2013
0cc2bb3c19dd411f0eb3e86665cec2eec8952d5e
[ "Unlicense" ]
2
2017-01-10T11:45:03.000Z
2018-05-23T16:42:56.000Z
src/game/server/fogcontroller.cpp
hitmen047/City-17-Episode-One-Source-2013
7c210bca82dad51b17bb6d47dee94a996111fd77
[ "Unlicense" ]
7
2016-06-03T17:40:07.000Z
2019-09-08T16:43:31.000Z
//========= Copyright Valve Corporation, All rights reserved. ============// // // An entity that allows level designer control over the fog parameters. // //============================================================================= #include "cbase.h" #include "fogcontroller.h" #include "entityinput.h" #include "en...
32.795918
162
0.66488
hitmen047
edf7839f32cd56ea2a00b3e68bfad710c7212fe4
12,289
cpp
C++
src/foo_scrobble/PlaybackScrobbler.cpp
gix/foo_scrobble
df9d3321ac29ed6f676bb540b97190118cbdf604
[ "MIT" ]
294
2017-11-20T17:42:08.000Z
2022-03-31T04:15:13.000Z
src/foo_scrobble/PlaybackScrobbler.cpp
gix/foo_scrobble
df9d3321ac29ed6f676bb540b97190118cbdf604
[ "MIT" ]
36
2017-12-03T04:24:46.000Z
2022-02-24T21:22:17.000Z
src/foo_scrobble/PlaybackScrobbler.cpp
gix/foo_scrobble
df9d3321ac29ed6f676bb540b97190118cbdf604
[ "MIT" ]
14
2018-03-10T12:47:03.000Z
2021-11-11T09:00:08.000Z
#include "ScrobbleConfig.h" #include "WebService.h" #include "fb2ksdk.h" #include "ScrobbleService.h" #include "ServiceHelper.h" #include "Track.h" namespace foo_scrobble { namespace { using SecondsD = std::chrono::duration<double>; #ifdef _DEBUG static constexpr bool IsDebug = true; #else static constexpr bool Is...
31.510256
90
0.678574
gix
edf8157ecb7985f216c01428ba25326602c2d7bf
436
hpp
C++
knapsacksolver/algorithms/surrelax.hpp
fontanf/knapsack
619f8a65a9c23eaab9825dcce589408945e7ef65
[ "MIT" ]
null
null
null
knapsacksolver/algorithms/surrelax.hpp
fontanf/knapsack
619f8a65a9c23eaab9825dcce589408945e7ef65
[ "MIT" ]
null
null
null
knapsacksolver/algorithms/surrelax.hpp
fontanf/knapsack
619f8a65a9c23eaab9825dcce589408945e7ef65
[ "MIT" ]
null
null
null
#pragma once #include "knapsacksolver/solution.hpp" namespace knapsacksolver { void solvesurrelax( Instance instance, Output& output, std::function<Output (Instance&, Info, bool*)> func, bool* end, Info info = Info()); Output surrelax( const Instance& instance, ...
17.44
60
0.614679
fontanf
edf9a39ccb7c7bde9a2c35e00c778bc9bd04f704
35,466
cpp
C++
src/game/shared/econ/econ_item_system.cpp
TF2V/Tf2Vintage
983d652c338dc017dca51f5bc4eee1a3d4b7ac2e
[ "Unlicense" ]
null
null
null
src/game/shared/econ/econ_item_system.cpp
TF2V/Tf2Vintage
983d652c338dc017dca51f5bc4eee1a3d4b7ac2e
[ "Unlicense" ]
null
null
null
src/game/shared/econ/econ_item_system.cpp
TF2V/Tf2Vintage
983d652c338dc017dca51f5bc4eee1a3d4b7ac2e
[ "Unlicense" ]
null
null
null
#include "cbase.h" #include "filesystem.h" #include "econ_item_system.h" #include "script_parser.h" #include "activitylist.h" #include "tier0/icommandline.h" #if defined(CLIENT_DLL) #define UTIL_VarArgs VarArgs #endif const char *g_TeamVisualSections[TF_TEAM_VISUALS_COUNT] = { "visuals", // TEAM_UNASSIGNED "", ...
27.156202
170
0.670924
TF2V
edf9aa2ac8977d639dd63540255307c2d55bc5c0
679
hpp
C++
src/Operators/HashJoin.hpp
elordin/dbimpl
4aa1ef8f9921bf3dc77752a139772a54a7e65663
[ "MIT" ]
null
null
null
src/Operators/HashJoin.hpp
elordin/dbimpl
4aa1ef8f9921bf3dc77752a139772a54a7e65663
[ "MIT" ]
4
2016-05-03T11:54:07.000Z
2016-05-03T13:49:46.000Z
src/Operators/HashJoin.hpp
elordin/dbimpl
4aa1ef8f9921bf3dc77752a139772a54a7e65663
[ "MIT" ]
null
null
null
#pragma once #include <cstdint> #include <vector> #include <unordered_map> #include "Register.hpp" #include "Operator.cpp" class HashJoin : public Operator{ private: Operator* leftOp; Operator* rightOp; unsigned regIdLeft; unsigned regIdRight; vector<Register*> result; std::unordered_map<uint64_t, vector<Regi...
20.575758
124
0.721649
elordin
edfb2eacd1a1f34fd64cb2ecba611bf9aceb1102
526
cpp
C++
test/test_main_storage.cpp
karimdavoodi/iptv_rest
93fdc83ce9ace2c733179caf26394d8aaa010de0
[ "MIT" ]
1
2020-09-16T01:45:24.000Z
2020-09-16T01:45:24.000Z
test/test_main_storage.cpp
karimdavoodi/iptv_rest
93fdc83ce9ace2c733179caf26394d8aaa010de0
[ "MIT" ]
null
null
null
test/test_main_storage.cpp
karimdavoodi/iptv_rest
93fdc83ce9ace2c733179caf26394d8aaa010de0
[ "MIT" ]
null
null
null
#include <iostream> #include <catch.hpp> #include "../src/main_storage.hpp" TEST_CASE("test of MainStorage","") { return; MainStorage st; nlohmann::json j = st.getJson("configs",""); REQUIRE(j.size() > 0); REQUIRE(j["login"].size() > 0 ); REQUIRE(j["login"]["admin"].size...
27.684211
58
0.534221
karimdavoodi
edfcb02eb3220da7d366edea719bead076aa049e
1,141
hpp
C++
PP/tuple/find.hpp
Petkr/PP
646cc156603a6a9461e74d8f54786c0d5a9c32d2
[ "MIT" ]
3
2019-07-12T23:12:24.000Z
2019-09-05T07:57:45.000Z
PP/tuple/find.hpp
Petkr/PP
646cc156603a6a9461e74d8f54786c0d5a9c32d2
[ "MIT" ]
null
null
null
PP/tuple/find.hpp
Petkr/PP
646cc156603a6a9461e74d8f54786c0d5a9c32d2
[ "MIT" ]
null
null
null
#pragma once #include <PP/size_t.hpp> #include <PP/tuple/find_index_state.hpp> #include <PP/tuple/fold.hpp> #include <PP/utility/move.hpp> namespace PP::tuple { PP_CIA find = [](auto&& predicate, concepts::tuple auto&& tuple) { return PP_CV_MEMBER( foldl( [PP_FWL(predicate)](concepts::value aut...
33.558824
80
0.496933
Petkr
edff43b77b90282215a971db57680087573955b8
6,234
cpp
C++
src/vendor/mariadb-10.6.7/storage/columnstore/columnstore/tools/idb_comp/main.cpp
zettadb/zettalib
3d5f96dc9e3e4aa255f4e6105489758944d37cc4
[ "Apache-2.0" ]
null
null
null
src/vendor/mariadb-10.6.7/storage/columnstore/columnstore/tools/idb_comp/main.cpp
zettadb/zettalib
3d5f96dc9e3e4aa255f4e6105489758944d37cc4
[ "Apache-2.0" ]
null
null
null
src/vendor/mariadb-10.6.7/storage/columnstore/columnstore/tools/idb_comp/main.cpp
zettadb/zettalib
3d5f96dc9e3e4aa255f4e6105489758944d37cc4
[ "Apache-2.0" ]
2
2022-02-27T14:00:01.000Z
2022-03-31T06:24:22.000Z
#include <unistd.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <cerrno> //#define NDEBUG #include <cassert> #include <cstring> #include <lzo/lzoconf.h> #include <lzo/lzo1x.h> #include <iostream> #include <iomanip> #include <sstream> #include <inttypes.h> #include <cstdlib> using namespac...
22.751825
111
0.53112
zettadb
61016ee7ef89395223351d703fa1d3e7bef0b069
4,260
cpp
C++
src/components/input/mipyuv420fileinput.cpp
xchbx/fox
12787683ba10db8f5eedf21e2d0e7a63bebc1664
[ "Apache-2.0" ]
2
2019-04-12T10:26:43.000Z
2019-06-21T15:20:11.000Z
src/components/input/mipyuv420fileinput.cpp
xchbx/fox
12787683ba10db8f5eedf21e2d0e7a63bebc1664
[ "Apache-2.0" ]
1
2018-08-25T14:55:07.000Z
2018-08-25T14:55:07.000Z
src/components/input/mipyuv420fileinput.cpp
xchbx/NetCamera
12787683ba10db8f5eedf21e2d0e7a63bebc1664
[ "Apache-2.0" ]
1
2020-12-31T08:52:03.000Z
2020-12-31T08:52:03.000Z
/* This file is a part of EMIPLIB, the EDM Media over IP Library. Copyright (C) 2006-2016 Hasselt University - Expertise Centre for Digital Media (EDM) (http://www.edm.uhasselt.be) This library is free software; you can redistribute it and/or modify it under the terms of the GNU ...
23.027027
120
0.721127
xchbx
610211d0e22d4a7c375cb20fb72817637f92ff45
416
hpp
C++
src/metaspades/src/common/utils/filesystem/glob.hpp
STRIDES-Codes/Exploring-the-Microbiome-
bd29c8c74d8f40a58b63db28815acb4081f20d6b
[ "MIT" ]
null
null
null
src/metaspades/src/common/utils/filesystem/glob.hpp
STRIDES-Codes/Exploring-the-Microbiome-
bd29c8c74d8f40a58b63db28815acb4081f20d6b
[ "MIT" ]
null
null
null
src/metaspades/src/common/utils/filesystem/glob.hpp
STRIDES-Codes/Exploring-the-Microbiome-
bd29c8c74d8f40a58b63db28815acb4081f20d6b
[ "MIT" ]
2
2021-06-05T07:40:20.000Z
2021-06-05T08:02:58.000Z
//*************************************************************************** //* Copyright (c) 2018 Saint Petersburg State University //* All Rights Reserved //* See file LICENSE for details. //*************************************************************************** #pragma once #include <string> #include <vector...
27.733333
77
0.447115
STRIDES-Codes
6103aad785badd38907e5e8b243235f96b1c7cee
640
cpp
C++
example/IconWindow.cpp
laferenorg/FGame
488386054ef375e838d00afc5e771dd088050cb2
[ "MIT" ]
2
2021-06-22T02:38:51.000Z
2021-06-22T11:46:24.000Z
example/IconWindow.cpp
laferenorg/FGame
488386054ef375e838d00afc5e771dd088050cb2
[ "MIT" ]
1
2021-07-16T03:49:15.000Z
2021-07-16T03:49:15.000Z
example/IconWindow.cpp
laferenorg/FGame
488386054ef375e838d00afc5e771dd088050cb2
[ "MIT" ]
2
2021-06-22T11:46:36.000Z
2021-06-23T06:10:35.000Z
/* Script example: Icon Window */ /* Include header C++ */ #include <iostream> #include <string> /* Include header FGame */ #include <FGame.hpp> void handleEventsAndExtendUpdate(SDL_Event& event, FGameV2* fgame) { /* Set Background */ fgame->SetBackground({ 0, 255, 0 }); } void update(FGameV2* fgame) { /* Code h...
19.393939
68
0.665625
laferenorg