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
float64
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
float64
1
77k
⌀
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
float64
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
653k
max_line_length
int64
6
990k
alphanum_fraction
float64
0.01
1
b41b4ba95eb97f5ac038b6d586fc8653980195f9
8,874
cpp
C++
src/unity/lib/extensions/option_info.cpp
LeeCenY/turicreate
fb2f3bf313e831ceb42a2e10aacda6e472ea8d93
[ "BSD-3-Clause" ]
1
2018-11-15T15:32:26.000Z
2018-11-15T15:32:26.000Z
src/unity/lib/extensions/option_info.cpp
LeeCenY/turicreate
fb2f3bf313e831ceb42a2e10aacda6e472ea8d93
[ "BSD-3-Clause" ]
2
2022-01-13T04:03:55.000Z
2022-03-12T01:02:31.000Z
src/unity/lib/extensions/option_info.cpp
ZeroInfinite/turicreate
dd210c2563930881abd51fd69cb73007955b33fd
[ "BSD-3-Clause" ]
null
null
null
/* Copyright © 2017 Apple Inc. All rights reserved. * * Use of this source code is governed by a BSD-3-clause license that can * be found in the LICENSE.txt file or at https://opensource.org/licenses/BSD-3-Clause */ #include <unity/lib/extensions/option_info.hpp> #include <boost/lexical_cast.hpp> namespace turi {...
28.082278
92
0.49414
b41b4eca36363074c8862854919c61e5a453e8c2
2,612
hpp
C++
3rdparty/GPSTk/core/lib/Math/RACRotation.hpp
mfkiwl/ICE
e660d031bb1bcea664db1de4946fd8781be5b627
[ "MIT" ]
50
2019-10-12T01:22:20.000Z
2022-02-15T23:28:26.000Z
3rdparty/GPSTk/core/lib/Math/RACRotation.hpp
wuyou33/Enabling-Robust-State-Estimation-through-Measurement-Error-Covariance-Adaptation
2f1ff054b7c5059da80bb3b2f80c05861a02cc36
[ "MIT" ]
null
null
null
3rdparty/GPSTk/core/lib/Math/RACRotation.hpp
wuyou33/Enabling-Robust-State-Estimation-through-Measurement-Error-Covariance-Adaptation
2f1ff054b7c5059da80bb3b2f80c05861a02cc36
[ "MIT" ]
14
2019-11-05T01:50:29.000Z
2021-08-06T06:23:44.000Z
//============================================================================ // // This file is part of GPSTk, the GPS Toolkit. // // The GPSTk 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; ei...
34.826667
80
0.57389
b41df9984c6db6f292ef5791700d994616d976fc
623
cpp
C++
C++/0077-Combinations/soln-2.cpp
wyaadarsh/LeetCode-Solutions
3719f5cb059eefd66b83eb8ae990652f4b7fd124
[ "MIT" ]
5
2020-07-24T17:48:59.000Z
2020-12-21T05:56:00.000Z
C++/0077-Combinations/soln-2.cpp
zhangyaqi1989/LeetCode-Solutions
2655a1ffc8678ad1de6c24295071308a18c5dc6e
[ "MIT" ]
null
null
null
C++/0077-Combinations/soln-2.cpp
zhangyaqi1989/LeetCode-Solutions
2655a1ffc8678ad1de6c24295071308a18c5dc6e
[ "MIT" ]
2
2020-07-24T17:49:01.000Z
2020-08-31T19:57:35.000Z
class Solution { public: vector<vector<int>> combine(int n, int k) { vector<vector<int>> combis; vector<int> combi; dfs(0, n, k, &combi, &combis); return combis; } private: void dfs(int pre, int n, int k, vector<int> * combi, vector<vector<int>> * combis) { if (s...
27.086957
88
0.473515
b41e0c60f2f6f895ebda8917e734723a73f54678
765
cpp
C++
suggestNewRoad.cpp
vmanav/road-not-taken
5a6bace31d617765204fef7eab99da6393c1c906
[ "MIT" ]
2
2019-02-27T15:31:16.000Z
2019-03-01T18:48:59.000Z
suggestNewRoad.cpp
vmanav/road-not-taken
5a6bace31d617765204fef7eab99da6393c1c906
[ "MIT" ]
null
null
null
suggestNewRoad.cpp
vmanav/road-not-taken
5a6bace31d617765204fef7eab99da6393c1c906
[ "MIT" ]
3
2019-02-27T15:30:23.000Z
2019-03-01T18:49:06.000Z
#include<iostream> #include<unistd.h> #include<cstdlib> #include<fstream> using namespace std; // int k=1; int main() { cout<<endl<<endl<<endl; int n=15; double temp[n][n]; ifstream f1; f1.open("data.txt"); for(int i=0;i<n;i++) { for(int j=0;j<n;j++) { f1>>temp[...
18.214286
119
0.419608
b41e5f828d24cb6c1eaeb8e7482a19299621676a
3,595
cc
C++
content/browser/renderer_host/render_widget_host_delegate.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
content/browser/renderer_host/render_widget_host_delegate.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
content/browser/renderer_host/render_widget_host_delegate.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
// Copyright (c) 2012 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 "content/browser/renderer_host/render_widget_host_delegate.h" #include "build/build_config.h" #include "components/rappor/public/sample.h" #...
26.828358
79
0.793324
b41f006eec6c233661f0236cfdfe350b776197b9
21,696
cc
C++
ash/wm/lock_state_controller.cc
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
ash/wm/lock_state_controller.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
ash/wm/lock_state_controller.cc
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.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 "ash/wm/lock_state_controller.h" #include <algorithm> #include <string> #include <utility> #include "ash/accessibility/accessibility_controller...
36.463866
80
0.744653
b41fd8559b5f8aeca2f61deed83aecc81fefc773
51,281
cpp
C++
src/wxTTM/wx/TT32App.cpp
ttm-tt/wxTTM
f9c75f05a564a0d82034412c1eb4c94d943e267f
[ "MIT" ]
null
null
null
src/wxTTM/wx/TT32App.cpp
ttm-tt/wxTTM
f9c75f05a564a0d82034412c1eb4c94d943e267f
[ "MIT" ]
null
null
null
src/wxTTM/wx/TT32App.cpp
ttm-tt/wxTTM
f9c75f05a564a0d82034412c1eb4c94d943e267f
[ "MIT" ]
null
null
null
/* Copyright (C) 2020 Christoph Theis */ #include "stdafx.h" #include <wx/progdlg.h> #include <wx/xrc/xh_aui.h> #include "tt32App.h" #include "MainFrm.h" #include "ChildFrm.h" #include "FormViewEx.h" #include "ImportOnlineEntries.h" #include "ItemCtrl.h" #include "Profile.h" #include "InfoSystem.h" #include "CpL...
25.100832
137
0.673505
b42071224e10e6e6dcd0b307f4a2e43cec31f075
1,186
cpp
C++
lab0/mainwindow.cpp
Sych474/simple-qt-app
ceef9ad5dadc91a72f2ec531fd911475d22679d3
[ "MIT" ]
null
null
null
lab0/mainwindow.cpp
Sych474/simple-qt-app
ceef9ad5dadc91a72f2ec531fd911475d22679d3
[ "MIT" ]
null
null
null
lab0/mainwindow.cpp
Sych474/simple-qt-app
ceef9ad5dadc91a72f2ec531fd911475d22679d3
[ "MIT" ]
null
null
null
#include "mainwindow.h" #include "ui_mainwindow.h" MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) , ui(new Ui::MainWindow) { ui->setupUi(this); DoOperation(OperationInitContext, &currentContext, NULL); UpdateLabels(); } MainWindow::~MainWindow() { delete ui; } void MainWindow...
22.377358
93
0.685497
b42224b628d49ff61719872ead3497569d73be3d
360
cpp
C++
src/algorithms/insertion_sort.cpp
tmt514/sorting
3fe1ee129392c526d571931058f7726bcdb30ce8
[ "MIT" ]
null
null
null
src/algorithms/insertion_sort.cpp
tmt514/sorting
3fe1ee129392c526d571931058f7726bcdb30ce8
[ "MIT" ]
null
null
null
src/algorithms/insertion_sort.cpp
tmt514/sorting
3fe1ee129392c526d571931058f7726bcdb30ce8
[ "MIT" ]
null
null
null
#include "insertion_sort.h" void InsertionSort::Sort(vector<int> &A) { int n = A.size(); for (int i = 0; i < n; i++) { // 假設 A[0... i-1] 已經排好了。 for (int j = i; j > 0; j--) { if (A[j] < A[j - 1]) { Swap(A[j], A[j - 1]); } else { break; } } } } SorterFactoryRegistrar<...
21.176471
63
0.486111
b42291cafbc63a20693652b56b1808c6d66c7043
9,581
cpp
C++
catboost/libs/data/load_data.cpp
ZhekehZ/catboost
3f774da539b8e57cca25686b89c473cbd1f61a6c
[ "Apache-2.0" ]
null
null
null
catboost/libs/data/load_data.cpp
ZhekehZ/catboost
3f774da539b8e57cca25686b89c473cbd1f61a6c
[ "Apache-2.0" ]
null
null
null
catboost/libs/data/load_data.cpp
ZhekehZ/catboost
3f774da539b8e57cca25686b89c473cbd1f61a6c
[ "Apache-2.0" ]
null
null
null
#include "baseline.h" #include "load_data.h" #include "cb_dsv_loader.h" #include "data_provider_builders.h" #include <catboost/libs/column_description/cd_parser.h> #include <catboost/libs/helpers/exception.h> #include <catboost/libs/helpers/int_cast.h> #include <catboost/libs/logging/logging.h> #include <util/dateti...
39.266393
133
0.602547
b4232b8a0751bd384cf1aa00e9995636b242165c
3,084
cpp
C++
Source/CPP_Tutorial/CPP_TutorialGameMode.cpp
Mordil/UE4-CPP-Tutorial
0ad3a50c0ef71949db25c67010738486e49c32fc
[ "MIT" ]
null
null
null
Source/CPP_Tutorial/CPP_TutorialGameMode.cpp
Mordil/UE4-CPP-Tutorial
0ad3a50c0ef71949db25c67010738486e49c32fc
[ "MIT" ]
null
null
null
Source/CPP_Tutorial/CPP_TutorialGameMode.cpp
Mordil/UE4-CPP-Tutorial
0ad3a50c0ef71949db25c67010738486e49c32fc
[ "MIT" ]
null
null
null
// Copyright 1998-2016 Epic Games, Inc. All Rights Reserved. #include "CPP_Tutorial.h" #include "Kismet/GameplayStatics.h" #include "Blueprint/UserWidget.h" #include "CPP_TutorialGameMode.h" #include "CPP_TutorialCharacter.h" #include "SpawnVolume.h" ACPP_TutorialGameMode::ACPP_TutorialGameMode() { // set default ...
22.510949
128
0.74773
b4242721bfa66823bdf0269a54f9be88bb901581
1,873
cpp
C++
dlib/dlib/matlab/example_mex_class.cpp
mohitjain4395/mosip
20ee978dc539be42c8b79cd4b604fdf681e7b672
[ "MIT" ]
11,719
2015-01-03T22:38:57.000Z
2022-03-30T21:45:04.000Z
dlib/matlab/example_mex_class.cpp
KiLJ4EdeN/dlib
eb1f08ce6ab3ca6f9d10425d899103de3c0df56c
[ "BSL-1.0" ]
2,518
2015-01-04T04:38:06.000Z
2022-03-31T11:55:43.000Z
dlib/matlab/example_mex_class.cpp
KiLJ4EdeN/dlib
eb1f08ce6ab3ca6f9d10425d899103de3c0df56c
[ "BSL-1.0" ]
3,308
2015-01-01T14:34:16.000Z
2022-03-31T07:20:07.000Z
// The contents of this file are in the public domain. See LICENSE_FOR_EXAMPLE_PROGRAMS.txt /* This mex file will create a MATLAB function called example_mex_class. If you call it with no arguments it will output the MATLAB .m code to create a MATLAB wrapper class. Paste that code into a .m file. Then you...
25.657534
91
0.651361
b4273506d5ef8e09b196621a037933b39a9e98d6
23,939
cpp
C++
os_frt.cpp
asheraryam/frt
d2803cd3877f6b6904664bc9b46cb5ff9db3c5a5
[ "MIT-0", "MIT" ]
null
null
null
os_frt.cpp
asheraryam/frt
d2803cd3877f6b6904664bc9b46cb5ff9db3c5a5
[ "MIT-0", "MIT" ]
null
null
null
os_frt.cpp
asheraryam/frt
d2803cd3877f6b6904664bc9b46cb5ff9db3c5a5
[ "MIT-0", "MIT" ]
null
null
null
// os_frt.cpp /* * FRT - A Godot platform targeting single board computers * Copyright (c) 2017-2019 Emanuele Fornara * * 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 restrict...
28.87696
85
0.717783
b4280f4bc1f83b8a7a5fdc0606d2441e0ba995c1
2,321
cpp
C++
dev/Generated/ToggleSplitButton.properties.cpp
johnpf74/microsoft-ui-xaml
db7b371a8155a81800f4432d6052ef54cb20642a
[ "MIT" ]
3
2018-12-06T08:02:41.000Z
2020-03-24T13:23:27.000Z
dev/Generated/ToggleSplitButton.properties.cpp
jsuarezruiz/microsoft-ui-xaml
b6f8806e07206caebccc81fb77d325efa67d29de
[ "MIT" ]
2
2018-12-07T16:49:26.000Z
2018-12-07T16:50:00.000Z
dev/Generated/ToggleSplitButton.properties.cpp
jsuarezruiz/microsoft-ui-xaml
b6f8806e07206caebccc81fb77d325efa67d29de
[ "MIT" ]
1
2020-08-28T10:29:11.000Z
2020-08-28T10:29:11.000Z
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. // DO NOT EDIT! This file was generated by CustomTasks.DependencyPropertyCodeGen #include "pch.h" #include "common.h" #include "ToggleSplitButton.h" CppWinRT...
34.132353
181
0.73589
b42813b7524836a38ae57b2595369ad6d057ae1b
1,613
cpp
C++
LCS/delta/LCSFormat.cpp
CNHume/Samples
2fdaa7a3193f19a882d0adebffaaf56af0984654
[ "MIT" ]
null
null
null
LCS/delta/LCSFormat.cpp
CNHume/Samples
2fdaa7a3193f19a882d0adebffaaf56af0984654
[ "MIT" ]
null
null
null
LCS/delta/LCSFormat.cpp
CNHume/Samples
2fdaa7a3193f19a882d0adebffaaf56af0984654
[ "MIT" ]
null
null
null
// Copyright (C) 2017, Christopher N. Hume. All rights reserved. // // 2017-07-04 CNHume Created LCSRecord subclass // 2015-01-23 CNHume Created file // #include "LCSRecord.h" // // Delta formatter // uint32_t LCSRecord::Show(shared_ptr<Delta> deltas, const RECORDS& r1, const RECORDS& r2, const string& label1, co...
31.627451
88
0.646001
b428fdb7829f92a157bbcc5c488e38a2d9b715c5
12,720
cpp
C++
pxr/usd/lib/usdSkel/skinningQuery.cpp
octarrow/USD
1845291a9701ab0a3a7d591bc243a1a80fdcba8a
[ "Unlicense" ]
3
2019-02-20T07:34:17.000Z
2019-08-13T08:17:04.000Z
pxr/usd/lib/usdSkel/skinningQuery.cpp
octarrow/USD
1845291a9701ab0a3a7d591bc243a1a80fdcba8a
[ "Unlicense" ]
null
null
null
pxr/usd/lib/usdSkel/skinningQuery.cpp
octarrow/USD
1845291a9701ab0a3a7d591bc243a1a80fdcba8a
[ "Unlicense" ]
1
2019-10-04T21:57:06.000Z
2019-10-04T21:57:06.000Z
// // Copyright 2016 Pixar // // Licensed under the Apache License, Version 2.0 (the "Apache License") // with the following modification; you may not use this file except in // compliance with the Apache License and the following modification to it: // Section 6. Trademarks. is deleted and replaced with: // // 6. Trad...
32.44898
80
0.619182
b42af0c603698dc93264550ad8a2840bcd4d7d90
11,229
cpp
C++
Modules/MapperExt/src/mitkVolumeMapperVtkSmart3D.cpp
samsmu/MITK
c93dce6dc38d8f4c961de4440e4dd113b9841c8c
[ "BSD-3-Clause" ]
5
2015-02-05T10:58:41.000Z
2019-04-17T15:04:07.000Z
Modules/MapperExt/src/mitkVolumeMapperVtkSmart3D.cpp
samsmu/MITK
c93dce6dc38d8f4c961de4440e4dd113b9841c8c
[ "BSD-3-Clause" ]
141
2015-03-03T06:52:01.000Z
2020-12-10T07:28:14.000Z
Modules/MapperExt/src/mitkVolumeMapperVtkSmart3D.cpp
samsmu/MITK
c93dce6dc38d8f4c961de4440e4dd113b9841c8c
[ "BSD-3-Clause" ]
4
2015-02-19T06:48:13.000Z
2020-06-19T16:20:25.000Z
/*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty o...
37.059406
123
0.747618
b42c343c4fb58d12235d44b514de72192de9ae29
49,344
cpp
C++
decreasoner.macosx/software/relsat-dist/SATSolver.cpp
problem-frames/openpf
55100bd9cca61a182fc00cd3818bd59a6343ae6e
[ "BSD-3-Clause" ]
1
2019-05-03T20:03:11.000Z
2019-05-03T20:03:11.000Z
decreasoner.x86/software/relsat-dist/SATSolver.cpp
problem-frames/openpf
55100bd9cca61a182fc00cd3818bd59a6343ae6e
[ "BSD-3-Clause" ]
null
null
null
decreasoner.x86/software/relsat-dist/SATSolver.cpp
problem-frames/openpf
55100bd9cca61a182fc00cd3818bd59a6343ae6e
[ "BSD-3-Clause" ]
null
null
null
///////////////// // OS Includes #include <memory.h> #include <stdlib.h> ////////////// // Includes #include "Clause.h" #include "Random.h" #include "SATInstance.h" #include "SATSolver.h" #include "VariableList.h" ///////////////////////////// // Static Data Initialization ///////////// // Defines /////////////////...
28.97475
104
0.658398
b4305e2c7fb22789d7587e77e7fe3c18933a591b
1,088
cpp
C++
src/mt/fs/file.cpp
nfagan/mtype
a745271d366df64e1b4692cc90f0685ea4084ba6
[ "MIT" ]
null
null
null
src/mt/fs/file.cpp
nfagan/mtype
a745271d366df64e1b4692cc90f0685ea4084ba6
[ "MIT" ]
null
null
null
src/mt/fs/file.cpp
nfagan/mtype
a745271d366df64e1b4692cc90f0685ea4084ba6
[ "MIT" ]
null
null
null
#include "file.hpp" #include "path.hpp" #include "../Optional.hpp" #include "../config.hpp" #include <fstream> #if defined(MT_UNIX) #include <sys/stat.h> #endif #if MT_IS_MSVC #include <windows.h> #endif namespace mt::fs { Optional<std::unique_ptr<std::string>> read_file(const FilePath& path) { std::ifstream ifs(...
22.666667
86
0.653493
b4309cac4069973b4739419e4d2ff81cb2b2b07a
1,855
cpp
C++
src/zimg/depth/x86/f16c_ivb.cpp
marxin/zimg
b6334acf4112877afc400cd9a0ace54e171e3f11
[ "WTFPL" ]
287
2015-01-02T13:59:32.000Z
2022-03-29T22:47:54.000Z
src/zimg/depth/x86/f16c_ivb.cpp
marxin/zimg
b6334acf4112877afc400cd9a0ace54e171e3f11
[ "WTFPL" ]
143
2015-04-17T06:20:17.000Z
2022-03-29T09:13:45.000Z
src/zimg/depth/x86/f16c_ivb.cpp
marxin/zimg
b6334acf4112877afc400cd9a0ace54e171e3f11
[ "WTFPL" ]
64
2015-01-02T13:59:35.000Z
2022-03-30T17:20:55.000Z
#ifdef ZIMG_X86 #include "common/ccdep.h" #include <immintrin.h> #include "common/align.h" #include "f16c_x86.h" #include "common/x86/sse2_util.h" #include "common/x86/avx_util.h" namespace zimg { namespace depth { void f16c_half_to_float_ivb(const void *src, void *dst, unsigned left, unsigned right) { const uint...
27.686567
86
0.690566
b432a808c1a85e543d9a6468bc3760adb46b7810
112,969
cpp
C++
flow/stacktrace.amalgamation.cpp
atn34/foundationdb
bd52f8cbd6596671d19af394ec8077c6298cc6aa
[ "Apache-2.0" ]
4
2018-10-28T22:44:58.000Z
2021-07-13T07:06:47.000Z
flow/stacktrace.amalgamation.cpp
atn34/foundationdb
bd52f8cbd6596671d19af394ec8077c6298cc6aa
[ "Apache-2.0" ]
5
2018-04-27T21:59:53.000Z
2018-07-27T02:54:53.000Z
flow/stacktrace.amalgamation.cpp
atn34/foundationdb
bd52f8cbd6596671d19af394ec8077c6298cc6aa
[ "Apache-2.0" ]
1
2020-11-18T17:40:46.000Z
2020-11-18T17:40:46.000Z
// Copyright 2017 The Abseil 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 agre...
37.357474
91
0.709717
b4331f2c941c359559c6e89cd72977ca322af596
901
hpp
C++
src/stan/language/ast/node/array_expr.hpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
1
2019-09-06T15:53:17.000Z
2019-09-06T15:53:17.000Z
src/stan/language/ast/node/array_expr.hpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
8
2019-01-17T18:51:16.000Z
2019-01-17T18:51:39.000Z
src/stan/language/ast/node/array_expr.hpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
null
null
null
#ifndef STAN_LANG_AST_NODE_ARRAY_EXPR_HPP #define STAN_LANG_AST_NODE_ARRAY_EXPR_HPP #include "expression.hpp" #include "stan/language/ast/scope.hpp" #include "stan/language/ast/type/bare_expr_type.hpp" #include <cstddef> #include <vector> namespace stan { namespace lang { struct expresssion; /** * Structure to hol...
17.666667
63
0.687014
b4342462aa98b494a6652dd589c634e20f9b9b4d
16,530
cpp
C++
libsrc/hyperion/Hyperion.cpp
juanesf/hyperion_openwrt_mt7620
a29624e1ca03c37517b043956b55064b6021c7b4
[ "MIT" ]
null
null
null
libsrc/hyperion/Hyperion.cpp
juanesf/hyperion_openwrt_mt7620
a29624e1ca03c37517b043956b55064b6021c7b4
[ "MIT" ]
null
null
null
libsrc/hyperion/Hyperion.cpp
juanesf/hyperion_openwrt_mt7620
a29624e1ca03c37517b043956b55064b6021c7b4
[ "MIT" ]
null
null
null
#include <cassert> #include "HyperionConfig.h" #include "Poco/RegularExpression.h" #include "Poco/StringTokenizer.h" #include "Poco/Timestamp.h" #include "Poco/Delegate.h" #include "Poco/NumberParser.h" #include "hyperion/Hyperion.h" #include "hyperion/ImageProcessorFactory.h" #include "leddevice/LedDevice.h" #incl...
34.509395
128
0.631458
b434f81bf3017f6b445839273cee1ca131946154
2,389
cpp
C++
aqualectrix/sorter/sortProcess.cpp
aqualectrix/dbpf
5bada102fddc24d9332f4de60c573ed06b722453
[ "Unlicense" ]
null
null
null
aqualectrix/sorter/sortProcess.cpp
aqualectrix/dbpf
5bada102fddc24d9332f4de60c573ed06b722453
[ "Unlicense" ]
null
null
null
aqualectrix/sorter/sortProcess.cpp
aqualectrix/dbpf
5bada102fddc24d9332f4de60c573ed06b722453
[ "Unlicense" ]
null
null
null
/* * sortProcess.cpp : * Changes all sortindexes in the file to the given index. */ #include <iostream> #include <string> #include <vector> #include "../../CatOfEvilGenius/library/DBPF.h" #include "../../CatOfEvilGenius/library/DBPF_types.h" #include "../../CatOfEvilGenius/library/DBPF_BINX.h" using namespace std...
29.134146
95
0.621599
b435c30cd63c09357757da03771f8d3f4b4853b6
335
cpp
C++
Codeforces/Translation.cpp
unobatbayar/codingbat
085c86f8f2f043cc020ba0f5fcc364d3f03de9e6
[ "MIT" ]
2
2018-10-28T16:56:20.000Z
2019-05-17T19:13:21.000Z
Codeforces/Translation.cpp
unobatbayar/CodingBat
94044b6150df8ce7a4fbe42a47b168fbf2fede61
[ "MIT" ]
null
null
null
Codeforces/Translation.cpp
unobatbayar/CodingBat
94044b6150df8ce7a4fbe42a47b168fbf2fede61
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; string correct(string s, string t){ int length = s.size(); for(int i = 0; i<length; ++i){ if(s[i] != t[length-1-i]) return "NO"; } return "YES"; } int main() { string s; string t; cin >> s >> t; cout << correct(s, t) << endl; ...
15.952381
46
0.504478
b435d2d553cf9ec7690bbba01324fb440654998e
6,001
cc
C++
xls/common/logging/log_flags_test.cc
felixzhuologist/xls
b6a4ec7190049002be1c0829d52b1d7767c88204
[ "Apache-2.0" ]
687
2020-08-20T21:24:09.000Z
2022-03-24T11:58:16.000Z
xls/common/logging/log_flags_test.cc
felixzhuologist/xls
b6a4ec7190049002be1c0829d52b1d7767c88204
[ "Apache-2.0" ]
472
2020-08-20T20:59:38.000Z
2022-03-31T15:25:47.000Z
xls/common/logging/log_flags_test.cc
felixzhuologist/xls
b6a4ec7190049002be1c0829d52b1d7767c88204
[ "Apache-2.0" ]
92
2020-08-24T20:32:46.000Z
2022-03-27T21:42:17.000Z
// Copyright 2020 The XLS 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 t...
36.369697
79
0.753374
b4379a152395d707a7f5b7d5fe3b1a5ffb55eb91
18,656
cc
C++
chrome/browser/sync_file_system/sync_file_system_service.cc
leiferikb/bitpop-private
4c967307d228e86f07f2576068a169e846c833ca
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2021-11-15T15:17:43.000Z
2021-11-15T15:17:43.000Z
chrome/browser/sync_file_system/sync_file_system_service.cc
houseoflifeproperty/bitpop-private
4c967307d228e86f07f2576068a169e846c833ca
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
chrome/browser/sync_file_system/sync_file_system_service.cc
houseoflifeproperty/bitpop-private
4c967307d228e86f07f2576068a169e846c833ca
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2020-11-04T07:24:02.000Z
2020-11-04T07:24:02.000Z
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/sync_file_system/sync_file_system_service.h" #include "base/bind.h" #include "base/logging.h" #include "base/memory/ref_coun...
34.043796
89
0.726201
b43b621485333f50997dbf39fbaa97849e350bc6
220,487
cpp
C++
src/game/ChatCommands/Level3.cpp
tbayart/mangostwoserver
fc26f650b9f72c1f7376207f9b9d3fdf66387a1e
[ "PostgreSQL", "Zlib", "OpenSSL" ]
null
null
null
src/game/ChatCommands/Level3.cpp
tbayart/mangostwoserver
fc26f650b9f72c1f7376207f9b9d3fdf66387a1e
[ "PostgreSQL", "Zlib", "OpenSSL" ]
null
null
null
src/game/ChatCommands/Level3.cpp
tbayart/mangostwoserver
fc26f650b9f72c1f7376207f9b9d3fdf66387a1e
[ "PostgreSQL", "Zlib", "OpenSSL" ]
null
null
null
/** * MaNGOS is a full featured server for World of Warcraft, supporting * the following clients: 1.12.x, 2.4.3, 3.3.5a, 4.3.4a and 5.4.8 * * Copyright (C) 2005-2017 MaNGOS project <https://getmangos.eu> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Gen...
30.282516
249
0.609542
b43b885f4f8a57b490612b28ca9653a7e08aa96f
9,255
cpp
C++
src/graphic/oni-graphic-renderer-ogl-quad.cpp
sina-/granite
95b873bc545cd4925b5cea8c632a82f2d815be6e
[ "MIT" ]
2
2019-08-01T09:18:49.000Z
2020-03-26T05:59:52.000Z
src/graphic/oni-graphic-renderer-ogl-quad.cpp
sina-/granite
95b873bc545cd4925b5cea8c632a82f2d815be6e
[ "MIT" ]
null
null
null
src/graphic/oni-graphic-renderer-ogl-quad.cpp
sina-/granite
95b873bc545cd4925b5cea8c632a82f2d815be6e
[ "MIT" ]
1
2020-03-26T05:59:53.000Z
2020-03-26T05:59:53.000Z
#include <oni-core/graphic/oni-graphic-renderer-ogl-quad.h> #include <cassert> #include <GL/glew.h> #include <oni-core/graphic/buffer/oni-graphic-buffer-data.h> #include <oni-core/graphic/buffer/oni-graphic-index-buffer.h> #include <oni-core/graphic/buffer/oni-graphic-frame-buffer.h> #include <oni-core/graphic/buffe...
33.532609
98
0.596002
b43d3e527520ce9b211eda35514afe356721df04
760
cpp
C++
src/powercycle.cpp
raghu-veer/powercycle-mgr
955e806538560575078aaee261149d8b04ee07f3
[ "MIT" ]
null
null
null
src/powercycle.cpp
raghu-veer/powercycle-mgr
955e806538560575078aaee261149d8b04ee07f3
[ "MIT" ]
null
null
null
src/powercycle.cpp
raghu-veer/powercycle-mgr
955e806538560575078aaee261149d8b04ee07f3
[ "MIT" ]
null
null
null
#include <cstdlib> #include <cstdint> #include <string> #include <vector> #include <chrono> #include <ctime> #include <fstream> #include <unistd.h> #include <sys/reboot.h> #include "powercycle.hpp" Powercycle::Powercycle(const uint32_t& wakeupTime) : wakeupTime_(wakeupTime) { execute(); } void Powercycle::execu...
19.487179
94
0.703947
b43eacc0c960cc5807ad6e737a95394d19b99747
47,347
cpp
C++
src/qsa/src/engine/qsclass.cpp
hackbinary/pdfedit
5efb58265d0b86c2786d7b218aa0d6f895b926d3
[ "CECILL-B" ]
13
2015-10-15T01:26:37.000Z
2019-11-18T21:50:46.000Z
src/qsa/src/engine/qsclass.cpp
mmoselhy/PDF-X
b72597bbb0c6c86d99e44cf18f7b46d5175a7bfa
[ "CECILL-B" ]
1
2020-03-28T23:06:53.000Z
2020-04-08T03:24:06.000Z
src/qsa/src/engine/qsclass.cpp
mmoselhy/PDF-X
b72597bbb0c6c86d99e44cf18f7b46d5175a7bfa
[ "CECILL-B" ]
14
2016-01-31T10:54:56.000Z
2020-08-31T11:08:42.000Z
/**************************************************************************** ** $Id$ ** ** Copyright (C) 2001-2006 Trolltech AS. All rights reserved. ** ** This file is part of the Qt Script for Applications framework (QSA). ** ** This file may be distributed and/or modified under the terms of the ** GNU General Publ...
26.810306
109
0.622215
b43ec0380d4b35390ef75f81a83167bf90a6fc1e
15,264
cpp
C++
addons/ofxUI/example-AllWidgets/src/ofApp.cpp
k4rm/AscoGraph
9038ae785b6f4f144a3ab5c4c5520761c0cd08f2
[ "MIT" ]
18
2015-01-18T22:34:22.000Z
2020-09-06T20:30:30.000Z
addons/ofxUI/example-AllWidgets/src/ofApp.cpp
k4rm/AscoGraph
9038ae785b6f4f144a3ab5c4c5520761c0cd08f2
[ "MIT" ]
2
2015-08-04T00:07:46.000Z
2017-05-10T15:53:51.000Z
addons/ofxUI/example-AllWidgets/src/ofApp.cpp
k4rm/AscoGraph
9038ae785b6f4f144a3ab5c4c5520761c0cd08f2
[ "MIT" ]
10
2015-01-18T23:46:10.000Z
2019-08-25T12:10:04.000Z
#include "ofApp.h" //-------------------------------------------------------------- void ofApp::setup(){ ofSetCircleResolution(120); red = 233; blue = 233; green = 233; hideGUI = false; bdrawGrid = false; bdrawPadding = false; ddl = NULL; textInput = NULL; img = new ofImage(); img->...
28.007339
171
0.558831
b4408f5060b26eed1b6e0d09c85abd16a62a44ab
7,845
cpp
C++
ctl/source/modes/mirroring/ModeSetState.cpp
TomatoYoung/beegfs
edf287940175ecded493183209719d2d90d45374
[ "BSD-3-Clause" ]
null
null
null
ctl/source/modes/mirroring/ModeSetState.cpp
TomatoYoung/beegfs
edf287940175ecded493183209719d2d90d45374
[ "BSD-3-Clause" ]
null
null
null
ctl/source/modes/mirroring/ModeSetState.cpp
TomatoYoung/beegfs
edf287940175ecded493183209719d2d90d45374
[ "BSD-3-Clause" ]
null
null
null
#include "ModeSetState.h" #include <common/net/message/nodes/SetTargetConsistencyStatesMsg.h> #include <common/net/message/nodes/SetTargetConsistencyStatesRespMsg.h> #include <common/toolkit/MessagingTk.h> #include <common/toolkit/UiTk.h> #include <program/Program.h> #define MODESETSTATE_ARG_TARGETID "--targetid" ...
33.814655
111
0.613384
b440d9e6869db0f5da40e6e96e05d7dc26765b8b
629
cpp
C++
acmicpc.net/source/2303.cpp
tdm1223/Algorithm
994149afffa21a81e38b822afcfc01f677d9e430
[ "MIT" ]
7
2019-06-26T07:03:32.000Z
2020-11-21T16:12:51.000Z
acmicpc.net/source/2303.cpp
tdm1223/Algorithm
994149afffa21a81e38b822afcfc01f677d9e430
[ "MIT" ]
null
null
null
acmicpc.net/source/2303.cpp
tdm1223/Algorithm
994149afffa21a81e38b822afcfc01f677d9e430
[ "MIT" ]
9
2019-02-28T03:34:54.000Z
2020-12-18T03:02:40.000Z
// 2303. 숫자 게임 // 2019.10.27 // 구현 #include<iostream> #include<vector> using namespace std; int maxVal; int idx; int check(vector<int>& v) { int val = 0; for (int i = 0; i < 3; i++) { for (int j = i + 1; j < 4; j++) { for (int k = j + 1; k < 5; k++) { int sum = (v[i] + v[j] + v[k]) % 10; val = va...
12.836735
40
0.45151
b4430917bc5a21408a8e649f6fa76d2e8354ea28
39
cpp
C++
src/task_base_pro/task_group.cpp
maxcong001/task_base_pro
2f309ea790c615389ecce3882cea7cca4aab93e3
[ "MIT" ]
1
2018-03-06T08:37:46.000Z
2018-03-06T08:37:46.000Z
src/task_base_pro/task_group.cpp
maxcong001/task_base_pro
2f309ea790c615389ecce3882cea7cca4aab93e3
[ "MIT" ]
null
null
null
src/task_base_pro/task_group.cpp
maxcong001/task_base_pro
2f309ea790c615389ecce3882cea7cca4aab93e3
[ "MIT" ]
null
null
null
#include "task_base_pro/task_group.hpp"
39
39
0.846154
b443842353cdf7cd048e046f6d894f8de79b98ac
1,446
cpp
C++
escher/src/stack_view.cpp
VersiraSec/epsilon-cfw
d12b44c6c6668ecc14b60d8dd098ba5c230b1291
[ "FSFAP" ]
1,442
2017-08-28T19:39:45.000Z
2022-03-30T00:56:14.000Z
escher/src/stack_view.cpp
VersiraSec/epsilon-cfw
d12b44c6c6668ecc14b60d8dd098ba5c230b1291
[ "FSFAP" ]
1,321
2017-08-28T23:03:10.000Z
2022-03-31T19:32:17.000Z
escher/src/stack_view.cpp
VersiraSec/epsilon-cfw
d12b44c6c6668ecc14b60d8dd098ba5c230b1291
[ "FSFAP" ]
421
2017-08-28T22:02:39.000Z
2022-03-28T20:52:21.000Z
#include <escher/stack_view.h> #include <escher/metric.h> extern "C" { #include <assert.h> } namespace Escher { StackView::StackView() : View(), m_controller(nullptr) { } void StackView::setTextColor(KDColor textColor) { m_textColor = textColor; markRectAsDirty(bounds()); } void StackView::setBackgroundColo...
24.508475
112
0.728907
b444253c17b560fbd15ac4a5f17eaaf13fb41b28
9,030
cpp
C++
src/prod/src/Reliability/LoadBalancing/Metric.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
2,542
2018-03-14T21:56:12.000Z
2019-05-06T01:18:20.000Z
src/prod/src/Reliability/LoadBalancing/Metric.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
994
2019-05-07T02:39:30.000Z
2022-03-31T13:23:04.000Z
src/prod/src/Reliability/LoadBalancing/Metric.cpp
vishnuk007/service-fabric
d0afdea185ae932cc3c9eacf179692e6fddbc630
[ "MIT" ]
300
2018-03-14T21:57:17.000Z
2019-05-06T20:07:00.000Z
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ #include "stdafx.h" #include "...
42.796209
132
0.762348
b445ca1b1c3a76d2c525278f73a7b90cb909f0e4
1,239
cpp
C++
C++/TICPP-2e-v1/C12/ByteTest.cpp
trammell/test
ccac5e1dac947032e64d813e53cb961417a58d05
[ "Artistic-2.0" ]
null
null
null
C++/TICPP-2e-v1/C12/ByteTest.cpp
trammell/test
ccac5e1dac947032e64d813e53cb961417a58d05
[ "Artistic-2.0" ]
null
null
null
C++/TICPP-2e-v1/C12/ByteTest.cpp
trammell/test
ccac5e1dac947032e64d813e53cb961417a58d05
[ "Artistic-2.0" ]
null
null
null
//: C12:ByteTest.cpp // From Thinking in C++, 2nd Edition // Available at http://www.BruceEckel.com // (c) Bruce Eckel 2000 // Copyright notice in Copyright.txt #include "Byte.h" #include <fstream> using namespace std; ofstream out("ByteTest.out"); void k(Byte& b1, Byte& b2) { b1 = b1 * b2 + b2 % b1; ...
24.294118
50
0.489104
b44632d846ffa4a399d02535ab412d6c2efb437e
2,141
hpp
C++
CaWE/ModelEditor/SceneView3D.hpp
dns/Cafu
77b34014cc7493d6015db7d674439fe8c23f6493
[ "MIT" ]
3
2020-04-11T13:00:31.000Z
2020-12-07T03:19:10.000Z
CaWE/ModelEditor/SceneView3D.hpp
DNS/Cafu
77b34014cc7493d6015db7d674439fe8c23f6493
[ "MIT" ]
null
null
null
CaWE/ModelEditor/SceneView3D.hpp
DNS/Cafu
77b34014cc7493d6015db7d674439fe8c23f6493
[ "MIT" ]
1
2020-04-11T13:00:04.000Z
2020-04-11T13:00:04.000Z
/* Cafu Engine, http://www.cafu.de/ Copyright (c) Carsten Fuchs and other contributors. This project is licensed under the terms of the MIT license. */ #ifndef CAFU_MODELEDITOR_SCENE_VIEW_3D_HPP_INCLUDED #define CAFU_MODELEDITOR_SCENE_VIEW_3D_HPP_INCLUDED #include "../Generic3DWindow.hpp" #include "Models/Model_cmdl....
33.453125
153
0.670715
b4487f0047155b05a081c68c30c33843e90b062e
295,372
cpp
C++
tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
opencor/llvm-clang
416d1dd61a1a748e6f20a46e20d0394e252cdbaa
[ "Apache-2.0" ]
605
2019-10-18T01:15:54.000Z
2022-03-31T14:31:04.000Z
tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
opencor/llvm-clang
416d1dd61a1a748e6f20a46e20d0394e252cdbaa
[ "Apache-2.0" ]
3,180
2019-10-18T01:21:21.000Z
2022-03-31T23:25:41.000Z
tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
opencor/llvm-clang
416d1dd61a1a748e6f20a46e20d0394e252cdbaa
[ "Apache-2.0" ]
275
2019-10-18T05:27:22.000Z
2022-03-30T09:04:21.000Z
//===-- RewriteModernObjC.cpp - Playground for the code rewriter ----------===// // // 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 // //===---------------------------...
39.018758
106
0.620133
b4494d3c379922e1b05f749db7019ecd052782ba
12,199
cpp
C++
ext/libr2tao/required.cpp
jwillemsen/r2corba
c9d32d15b00e3421c00c5a65c9a12bcf2d7beff5
[ "BSD-3-Clause" ]
1
2022-03-07T19:43:43.000Z
2022-03-07T19:43:43.000Z
ext/libr2tao/required.cpp
RemedyIT/r2corba
c65215dd70fb9597d694236b8f3c72890bd827d8
[ "BSD-3-Clause" ]
16
2019-12-02T15:14:52.000Z
2022-03-02T13:22:19.000Z
ext/libr2tao/required.cpp
jwillemsen/r2corba
c9d32d15b00e3421c00c5a65c9a12bcf2d7beff5
[ "BSD-3-Clause" ]
4
2019-11-12T15:14:38.000Z
2021-04-27T11:51:57.000Z
/*-------------------------------------------------------------------- # required.h - R2TAO CORBA basic support # # Author: Martin Corino # # This program is free software; you can redistribute it and/or # modify it under the terms of the R2CORBA LICENSE which is # included with this program. # # Copyright (c) Remedy I...
27.725
126
0.677924
b44a45e4c26d8c245a927e3ebe1c02253c1ba4b9
2,361
cpp
C++
static/cpp/shared_ptr/shared_ptr.m.cpp
Nianze/Nianze.github.io
a127c8ef2be5b2f446fe70af7f6e07b6280aca46
[ "Apache-2.0" ]
null
null
null
static/cpp/shared_ptr/shared_ptr.m.cpp
Nianze/Nianze.github.io
a127c8ef2be5b2f446fe70af7f6e07b6280aca46
[ "Apache-2.0" ]
null
null
null
static/cpp/shared_ptr/shared_ptr.m.cpp
Nianze/Nianze.github.io
a127c8ef2be5b2f446fe70af7f6e07b6280aca46
[ "Apache-2.0" ]
null
null
null
class ref_count_intf { unsigned d_count; public: ref_count_intf() : d_count(0) {} virtual ~ref_count_intf() = default; ref_count_intf(const ref_count_intf&) = default; ref_count_intf& operator=(const ref_count_intf&) = default; virtual void destroy()=0; void inc() { ++d_count; } ...
22.273585
72
0.525201
b450d88f447f738250d3e469f6ba87e28f67dde4
3,316
cpp
C++
src/esp/scene/SemanticScene.cpp
narekvslife/habitat-sim
69ae4848503d5dcc74d6b5920957c1a641ef0a9b
[ "MIT" ]
1
2020-08-05T22:25:02.000Z
2020-08-05T22:25:02.000Z
src/esp/scene/SemanticScene.cpp
narekvslife/habitat-sim
69ae4848503d5dcc74d6b5920957c1a641ef0a9b
[ "MIT" ]
null
null
null
src/esp/scene/SemanticScene.cpp
narekvslife/habitat-sim
69ae4848503d5dcc74d6b5920957c1a641ef0a9b
[ "MIT" ]
null
null
null
// Copyright (c) Facebook, Inc. and its affiliates. // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. #include "SemanticScene.h" #include "GibsonSemanticScene.h" #include "Mp3dSemanticScene.h" #include "ReplicaSemanticScene.h" #include <algor...
36.43956
175
0.652895
b45133d8540bdf687d88fd16ceb45b083c6d9fde
20,604
cxx
C++
ivp/ivp_compact_builder/geompack_drdec3.cxx
DannyParker0001/Kisak-Strike
99ed85927336fe3aff2efd9b9382b2b32eb1d05d
[ "Unlicense" ]
252
2020-12-16T15:34:43.000Z
2022-03-31T23:21:37.000Z
ivp/ivp_compact_builder/geompack_drdec3.cxx
DannyParker0001/Kisak-Strike
99ed85927336fe3aff2efd9b9382b2b32eb1d05d
[ "Unlicense" ]
23
2020-12-20T18:02:54.000Z
2022-03-28T16:58:32.000Z
ivp/ivp_compact_builder/geompack_drdec3.cxx
DannyParker0001/Kisak-Strike
99ed85927336fe3aff2efd9b9382b2b32eb1d05d
[ "Unlicense" ]
42
2020-12-19T04:32:33.000Z
2022-03-30T06:00:28.000Z
/* drdec3.f -- translated by f2c (version 19990311). */ #include <ivp_physics.hxx> #if !( (defined(__MWERKS__) && defined(__POWERPC__)) || defined(GEKKO) ) #include <malloc.h> #endif #include <ivp_betterdebugmanager.hxx> #include <geompack.hxx> int IVP_Geompack::i_sign(int a, int b) { int x; ...
42.04898
289
0.625315
b45164c4ea436932bc0693a779e65670c40426da
4,772
cpp
C++
src/framework/graphics/particleaffector.cpp
Cayan/otclient
36c1ea9245c614dad50b073d67d32afd2727e9ef
[ "MIT" ]
1
2017-05-07T00:58:10.000Z
2017-05-07T00:58:10.000Z
src/framework/graphics/particleaffector.cpp
Cayan/otclient
36c1ea9245c614dad50b073d67d32afd2727e9ef
[ "MIT" ]
null
null
null
src/framework/graphics/particleaffector.cpp
Cayan/otclient
36c1ea9245c614dad50b073d67d32afd2727e9ef
[ "MIT" ]
null
null
null
/* * Copyright (c) 2010-2012 OTClient <https://github.com/edubart/otclient> * * 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...
32.684932
109
0.652347
b4521c32fd8e9e3e5f3138cca51d56b1bf241e2e
3,532
cpp
C++
src/model.cpp
xiangshouding/opengl-example
8e00bca4c9da6cf98dd5b3b1fa4dba789cecc8c6
[ "BSD-2-Clause" ]
null
null
null
src/model.cpp
xiangshouding/opengl-example
8e00bca4c9da6cf98dd5b3b1fa4dba789cecc8c6
[ "BSD-2-Clause" ]
null
null
null
src/model.cpp
xiangshouding/opengl-example
8e00bca4c9da6cf98dd5b3b1fa4dba789cecc8c6
[ "BSD-2-Clause" ]
null
null
null
#include <iostream> #include <fstream> #include <cstring> #include <glad/glad.h> #include "debug.h" #include "model.h" Model::Model(const char *vertexShaderSourcePath, const char *fragmentShaderSourcePath) { char vPath[128] = "\0", fPath[128] = "\0"; fullPath(vertexShaderSourcePath, vPath); fullPath(fragm...
25.970588
88
0.65402
b4526aed1f1dc2688cd704458b42397eafd3d59d
8,923
hpp
C++
lib/boost/mpl/aux_/numeric_op.hpp
efedo/Utilogeny
03b7e7d2650c326f8493df35c14470f21de3be78
[ "MIT" ]
null
null
null
lib/boost/mpl/aux_/numeric_op.hpp
efedo/Utilogeny
03b7e7d2650c326f8493df35c14470f21de3be78
[ "MIT" ]
null
null
null
lib/boost/mpl/aux_/numeric_op.hpp
efedo/Utilogeny
03b7e7d2650c326f8493df35c14470f21de3be78
[ "MIT" ]
null
null
null
#if !defined(BOOST_PP_IS_ITERATING) ///// header body // NO INCLUDE GUARDS, THE HEADER IS INTENDED FOR MULTIPLE INCLUSION! // 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...
28.237342
99
0.71523
b4528070e3ff4a83bebbad9ddb7b9137c4e8c283
1,225
cpp
C++
unit-tests/utilities/number/stabilized/test-60-percent.cpp
ksvbka/librealsense
72ada08ab2f6e9876d47135eea12325963205a04
[ "Apache-2.0" ]
6,457
2016-01-21T03:56:07.000Z
2022-03-31T11:57:15.000Z
unit-tests/utilities/number/stabilized/test-60-percent.cpp
ksvbka/librealsense
72ada08ab2f6e9876d47135eea12325963205a04
[ "Apache-2.0" ]
8,393
2016-01-21T09:47:28.000Z
2022-03-31T22:21:42.000Z
unit-tests/utilities/number/stabilized/test-60-percent.cpp
ksvbka/librealsense
72ada08ab2f6e9876d47135eea12325963205a04
[ "Apache-2.0" ]
4,874
2016-01-21T09:20:08.000Z
2022-03-31T15:18:00.000Z
// License: Apache 2.0. See LICENSE file in root directory. // Copyright(c) 2020 Intel Corporation. All Rights Reserved. //#cmake:add-file ../../../../common/utilities/number/stabilized-value.h #include "../../../test.h" #include <../common/utilities/number/stabilized-value.h> using namespace utilities::number; // ...
36.029412
96
0.675102
b453f30cb136b59fb690154bb07e569a718bb9b8
8,327
cc
C++
src/source_wrap.cc
gurumlab/simplemedia
503854edc83449b132b3fdfdbb1d20ba8488d293
[ "MIT" ]
6
2020-02-06T01:08:55.000Z
2020-02-11T14:44:25.000Z
src/source_wrap.cc
gurumlab/simplemedia
503854edc83449b132b3fdfdbb1d20ba8488d293
[ "MIT" ]
25
2020-02-03T13:28:20.000Z
2021-09-02T07:48:32.000Z
src/source_wrap.cc
gurumlab/simplemedia
503854edc83449b132b3fdfdbb1d20ba8488d293
[ "MIT" ]
1
2020-03-03T01:44:40.000Z
2020-03-03T01:44:40.000Z
#include "source_wrap.h" #include <napi.h> #include <uv.h> #include "log_message.h" Napi::FunctionReference Source::constructor; Napi::Object Source::Init(Napi::Env env, Napi::Object exports) { Napi::HandleScope scope(env); constexpr auto name = "_Source"; Napi::Function func = DefineClass(env, ...
32.654902
101
0.646691
b45478b16a13104c236e555cd7eced9e63f7dbe1
5,805
cpp
C++
clang/test/CodeGenCXX/member-expr-references-variable.cpp
ornata/llvm-project
494913b8b4e4bce0b3525e5569d8e486e82b9a52
[ "Apache-2.0" ]
null
null
null
clang/test/CodeGenCXX/member-expr-references-variable.cpp
ornata/llvm-project
494913b8b4e4bce0b3525e5569d8e486e82b9a52
[ "Apache-2.0" ]
null
null
null
clang/test/CodeGenCXX/member-expr-references-variable.cpp
ornata/llvm-project
494913b8b4e4bce0b3525e5569d8e486e82b9a52
[ "Apache-2.0" ]
null
null
null
// RUN: %clang_cc1 -no-opaque-pointers -std=c++11 %s -triple x86_64-apple-darwin10 -emit-llvm -o - | FileCheck %s struct Agg { const char * x; const char * y; constexpr Agg() : x(0), y(0) {} }; struct Struct { constexpr static const char *name = "foo"; constexpr static __complex float complexValue = 42.0; ...
55.285714
135
0.618605
b4559a4bbfd577a4dfc79b5b8d4c42b6eb9bf1e0
854
cpp
C++
MyCurve25519/MyCurve25519/ed25519/sign.cpp
BayrakMustafa/WhatsApp-API-NET
39b37aeb9a98c6eb338ceea20c9d4cab2bdb12e7
[ "MIT" ]
18
2016-04-04T16:09:17.000Z
2017-09-02T02:55:55.000Z
MyCurve25519/MyCurve25519/ed25519/sign.cpp
bayrakmustafa/WhatsApp-API-NET
39b37aeb9a98c6eb338ceea20c9d4cab2bdb12e7
[ "MIT" ]
12
2016-04-07T02:48:24.000Z
2017-04-11T11:19:58.000Z
MyCurve25519/MyCurve25519/ed25519/sign.cpp
bayrakmustafa/WhatsApp-API-NET
39b37aeb9a98c6eb338ceea20c9d4cab2bdb12e7
[ "MIT" ]
9
2017-12-06T04:16:16.000Z
2021-06-17T09:18:47.000Z
#include "pch.h" #include <string.h> #include "nacl_includes\crypto_sign.h" #include "additions\crypto_hash_sha512.h" #include "ge.h" #include "sc.h" int crypto_sign( unsigned char *sm, unsigned long long *smlen, const unsigned char *m, unsigned long long mlen, const unsigned char *sk ) { unsigned char pk[32]; u...
20.333333
49
0.667447
b455ceae3e79cee92de6c620b0d64d23f62c6d62
630
hpp
C++
Dist/Headers/glitter.hpp
gabrielrodriguesrocha/Projeto-CG
b679d2e7b3572e3d0de137ec448fc170346dc21e
[ "MIT" ]
null
null
null
Dist/Headers/glitter.hpp
gabrielrodriguesrocha/Projeto-CG
b679d2e7b3572e3d0de137ec448fc170346dc21e
[ "MIT" ]
1
2018-04-18T01:17:01.000Z
2018-08-06T15:34:33.000Z
Dist/Headers/glitter.hpp
gabrielrodriguesrocha/Projeto-CG
b679d2e7b3572e3d0de137ec448fc170346dc21e
[ "MIT" ]
2
2018-04-12T21:41:19.000Z
2018-04-13T01:41:45.000Z
// Preprocessor Directives #ifndef GLITTER #define GLITTER #pragma once // System Headers #include <assimp/Importer.hpp> #include <assimp/postprocess.h> #include <assimp/scene.h> #include <btBulletDynamicsCommon.h> #include <glad/glad.h> #include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> #include <glm/gtc/...
24.230769
72
0.746032
b45657b78fd435544b441cb78fc8c5b9c9ce44b4
147,876
cpp
C++
src/AutoSchedule.cpp
jrk/gradient-halide
c66610a8ac9a4241421c9eedb2f0fdae2e26a4b1
[ "MIT" ]
107
2018-08-16T05:32:52.000Z
2022-02-11T19:44:25.000Z
src/AutoSchedule.cpp
jrk/gradient-halide
c66610a8ac9a4241421c9eedb2f0fdae2e26a4b1
[ "MIT" ]
3
2018-11-04T05:09:32.000Z
2019-07-16T19:18:42.000Z
src/AutoSchedule.cpp
jrk/gradient-halide
c66610a8ac9a4241421c9eedb2f0fdae2e26a4b1
[ "MIT" ]
16
2018-08-21T09:45:13.000Z
2021-12-11T03:32:15.000Z
#include <algorithm> #include <regex> #include "AutoSchedule.h" #include "AutoScheduleUtils.h" #include "ExprUsesVar.h" #include "FindCalls.h" #include "Func.h" #include "IREquality.h" #include "Inline.h" #include "ParallelRVar.h" #include "RealizationOrder.h" #include "RegionCosts.h" #include "Scope.h" #include "Simp...
41.363916
113
0.57346
b4591336770e08f26e4915a40cc12213d44f78d9
3,184
cc
C++
chrome/chrome_cleaner/zip_archiver/target/sandbox_setup.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
14,668
2015-01-01T01:57:10.000Z
2022-03-31T23:33:32.000Z
chrome/chrome_cleaner/zip_archiver/target/sandbox_setup.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
86
2015-10-21T13:02:42.000Z
2022-03-14T07:50:50.000Z
chrome/chrome_cleaner/zip_archiver/target/sandbox_setup.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
5,941
2015-01-02T11:32:21.000Z
2022-03-31T16:35:46.000Z
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/chrome_cleaner/zip_archiver/target/sandbox_setup.h" #include <memory> #include <utility> #include "base/bind.h" #include "base/memory/s...
34.236559
79
0.780151
b45b35f0359a6a9d27c553b0c79426030e1966c2
9,840
hpp
C++
utilities/drv_imu_invensense_def.hpp
JerrySkywalker/HITSIC_Module
8123ae5de95dddaaf6e65d35881ce271f43dad6b
[ "Apache-2.0" ]
null
null
null
utilities/drv_imu_invensense_def.hpp
JerrySkywalker/HITSIC_Module
8123ae5de95dddaaf6e65d35881ce271f43dad6b
[ "Apache-2.0" ]
null
null
null
utilities/drv_imu_invensense_def.hpp
JerrySkywalker/HITSIC_Module
8123ae5de95dddaaf6e65d35881ce271f43dad6b
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2018 - 2019 HITSIC * 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...
30.846395
75
0.617378
b45b664660b3cd0a2319cf5c7c4a09eb52d88aae
751
hpp
C++
util/common.hpp
gballard/fast-matmul
7fc50cdaa48e3844cef4e05f48cce7cf73b43756
[ "BSD-2-Clause" ]
23
2015-05-28T06:51:30.000Z
2021-10-11T07:40:05.000Z
util/common.hpp
gballard/fast-matmul
7fc50cdaa48e3844cef4e05f48cce7cf73b43756
[ "BSD-2-Clause" ]
null
null
null
util/common.hpp
gballard/fast-matmul
7fc50cdaa48e3844cef4e05f48cce7cf73b43756
[ "BSD-2-Clause" ]
18
2015-07-25T16:49:35.000Z
2021-11-18T15:59:48.000Z
/** Copyright (c) 2014-2015, Sandia Corporation All rights reserved. This file is part of fast-matmul and is under the BSD 2-Clause License, which can be found in the LICENSE file in the root directory, or at http://opensource.org/licenses/BSD-2-Clause. */ #ifndef _COMMON_HPP_ #define _COMMON_HPP_ #...
19.763158
75
0.683089
b45c896100fb8f4a59174db2debfd666428b5223
4,068
cpp
C++
code/Gui/BibleBookWindow.cpp
jpike/BibleProgram
4d7dcb792dcf630759037fd854873e2bcd778aa2
[ "Unlicense" ]
null
null
null
code/Gui/BibleBookWindow.cpp
jpike/BibleProgram
4d7dcb792dcf630759037fd854873e2bcd778aa2
[ "Unlicense" ]
null
null
null
code/Gui/BibleBookWindow.cpp
jpike/BibleProgram
4d7dcb792dcf630759037fd854873e2bcd778aa2
[ "Unlicense" ]
null
null
null
#include <ThirdParty/imgui/imgui.h> #include "Gui/BibleBookWindow.h" namespace GUI { /// Updates and renders a single frame of the window, if it's open. /// @return The verse range for any selected chapter; null if no chapter was selected. std::optional<BIBLE_DATA::BibleVerseRange> BibleBookWindow::UpdateA...
52.153846
113
0.547689
b45db9ab5dd1c1e096f4fef50396bb0c72308b7b
716
cpp
C++
src/Entry.cpp
nathanmentley/EssexEngineConfigDaemon
cf68b32c40b610914ae1c9dc3fa2f46b6d0171aa
[ "BSD-2-Clause" ]
null
null
null
src/Entry.cpp
nathanmentley/EssexEngineConfigDaemon
cf68b32c40b610914ae1c9dc3fa2f46b6d0171aa
[ "BSD-2-Clause" ]
null
null
null
src/Entry.cpp
nathanmentley/EssexEngineConfigDaemon
cf68b32c40b610914ae1c9dc3fa2f46b6d0171aa
[ "BSD-2-Clause" ]
null
null
null
/* * Essex Engine * * Copyright (C) 2018 Nathan Mentley - All Rights Reserved * You may use, distribute and modify this code under the * terms of the BSD license. * * You should have received a copy of the BSD license with * this file. If not, please visit: https://github.com/nathanmentley/EssexEngine */ #i...
23.866667
80
0.695531
b45ea979df345cf23b7c7ea1ed0cd6a130dd70c5
7,239
hpp
C++
include/lapack/lahqr_schur22.hpp
thijssteel/tlapack
0749324fdecfc80c089d58d8d43500b66a20df70
[ "BSD-3-Clause" ]
null
null
null
include/lapack/lahqr_schur22.hpp
thijssteel/tlapack
0749324fdecfc80c089d58d8d43500b66a20df70
[ "BSD-3-Clause" ]
null
null
null
include/lapack/lahqr_schur22.hpp
thijssteel/tlapack
0749324fdecfc80c089d58d8d43500b66a20df70
[ "BSD-3-Clause" ]
null
null
null
/// @file lahqr_schur22.hpp /// @author Thijs Steel, KU Leuven, Belgium /// Adapted from @see https://github.com/Reference-LAPACK/lapack/tree/master/SRC/dlanv2.f // // Copyright (c) 2013-2022, University of Colorado Denver. All rights reserved. // // This file is part of <T>LAPACK. // <T>LAPACK is free software: you ca...
32.461883
101
0.407377
b45f0016f7e0a1abeecc609efcacdbc8583a2e51
14,504
cpp
C++
src/Core/ECEditorModule/AssetsWindow.cpp
Adminotech/tundra
8270097dbf79c3ec1935cf66c7979eeef9c24c0e
[ "Apache-2.0" ]
null
null
null
src/Core/ECEditorModule/AssetsWindow.cpp
Adminotech/tundra
8270097dbf79c3ec1935cf66c7979eeef9c24c0e
[ "Apache-2.0" ]
null
null
null
src/Core/ECEditorModule/AssetsWindow.cpp
Adminotech/tundra
8270097dbf79c3ec1935cf66c7979eeef9c24c0e
[ "Apache-2.0" ]
null
null
null
/** For conditions of distribution and use, see copyright notice in LICENSE @file AssetsWindow.cpp @brief The main UI for managing asset storages and assets. */ #include "StableHeaders.h" #include "DebugOperatorNew.h" #include "AssetsWindow.h" #include "AssetTreeWidget.h" #include "TreeWidgetUtils.h" ...
31.462039
136
0.659887
b45f1ae2574f22d0eefff0fe653705ce7635a675
53
cpp
C++
testdata/codes/minidetailtest/a.cpp
Judge-Girl/Code-Quality-Inspection
6d0d455fb1c47eba17157a99db5e09fbc61484b8
[ "Apache-2.0" ]
1
2021-04-22T08:29:03.000Z
2021-04-22T08:29:03.000Z
testdata/codes/minidetailtest/a.cpp
Judge-Girl/Code-Quality-Inspection
6d0d455fb1c47eba17157a99db5e09fbc61484b8
[ "Apache-2.0" ]
12
2020-11-20T10:05:15.000Z
2021-01-19T11:10:59.000Z
testdata/codes/minidetailtest/a.cpp
Judge-Girl/Code-Quality-Inspection
6d0d455fb1c47eba17157a99db5e09fbc61484b8
[ "Apache-2.0" ]
null
null
null
int global; int main() { int i, j, k, l, m, n; }
10.6
25
0.471698
b461cbe8e184a4af4d67f04a595b31ffa8958310
943
cpp
C++
src/shogun/features/streaming/StreamingFeatures.cpp
cloner1984/shogun
901c04b2c6550918acf0594ef8afeb5dcd840a7d
[ "BSD-3-Clause" ]
2
2021-08-12T18:11:06.000Z
2021-11-17T10:56:49.000Z
src/shogun/features/streaming/StreamingFeatures.cpp
cloner1984/shogun
901c04b2c6550918acf0594ef8afeb5dcd840a7d
[ "BSD-3-Clause" ]
null
null
null
src/shogun/features/streaming/StreamingFeatures.cpp
cloner1984/shogun
901c04b2c6550918acf0594ef8afeb5dcd840a7d
[ "BSD-3-Clause" ]
null
null
null
/* * This software is distributed under BSD 3-clause license (see LICENSE file). * * Authors: Heiko Strathmann, Soeren Sonnenburg, Sergey Lisitsyn, Viktor Gal */ #include <shogun/features/streaming/StreamingFeatures.h> #include <shogun/features/streaming/StreamingDenseFeatures.h> #include <shogun/features/DenseFeat...
20.955556
78
0.78473
b461e27023e41ba199fabe3b2ccc5d55a67cc931
8,443
cc
C++
src/ge/common/formats/format_transfers/format_transfer_nhwc_nc1hwc0.cc
TommyLike/graphengine
da2c616522cc078c2573eca8422ff70fda229efb
[ "Apache-2.0" ]
1
2020-07-18T17:49:20.000Z
2020-07-18T17:49:20.000Z
src/ge/common/formats/format_transfers/format_transfer_nhwc_nc1hwc0.cc
zengchen1024/graphengine
0c33e9d12562953ca4bd6c03cb77da2c2da74acd
[ "Apache-2.0" ]
null
null
null
src/ge/common/formats/format_transfers/format_transfer_nhwc_nc1hwc0.cc
zengchen1024/graphengine
0c33e9d12562953ca4bd6c03cb77da2c2da74acd
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2019-2020 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 applicabl...
43.076531
120
0.66493
b4632ac638c4db3110ffa0079cec763c92a268d4
15,617
cpp
C++
source/microbit/microbitpin.cpp
ailin-nemui/sinobit-micropython
0e6c989e9cefd8b652a791203fae14012cf7ea35
[ "MIT" ]
null
null
null
source/microbit/microbitpin.cpp
ailin-nemui/sinobit-micropython
0e6c989e9cefd8b652a791203fae14012cf7ea35
[ "MIT" ]
null
null
null
source/microbit/microbitpin.cpp
ailin-nemui/sinobit-micropython
0e6c989e9cefd8b652a791203fae14012cf7ea35
[ "MIT" ]
null
null
null
/* * This file is part of the Micro Python project, http://micropython.org/ * * The MIT License (MIT) * * Copyright (c) 2015 Damien P. George * * 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...
45.932353
124
0.773836
b4633c3531d15bd6e63c16c2a396f08f4a14ff75
12,791
cpp
C++
09 Texture Mapping/GameApp.cpp
KillerAery/DirectX11-With-Windows-SDK
ac303756ff2985b2857c72e0ba56fbb7f8394e47
[ "MIT" ]
null
null
null
09 Texture Mapping/GameApp.cpp
KillerAery/DirectX11-With-Windows-SDK
ac303756ff2985b2857c72e0ba56fbb7f8394e47
[ "MIT" ]
null
null
null
09 Texture Mapping/GameApp.cpp
KillerAery/DirectX11-With-Windows-SDK
ac303756ff2985b2857c72e0ba56fbb7f8394e47
[ "MIT" ]
null
null
null
#include "GameApp.h" #include "d3dUtil.h" #include "DXTrace.h" using namespace DirectX; GameApp::GameApp(HINSTANCE hInstance) : D3DApp(hInstance), m_IndexCount(), m_CurrFrame(), m_CurrMode(ShowMode::WoodCrate), m_VSConstantBuffer(), m_PSConstantBuffer() { } GameApp::~GameApp() { } bool GameApp::Init() { if...
34.663957
130
0.753968
b466b5105c035508d6e58ea615e09692ecd25835
6,478
cc
C++
src/ui/scenic/lib/display/tests/display_power_manager_unittest.cc
fabio-d/fuchsia-stardock
e57f5d1cf015fe2294fc2a5aea704842294318d2
[ "BSD-2-Clause" ]
5
2022-01-10T20:22:17.000Z
2022-01-21T20:14:17.000Z
src/ui/scenic/lib/display/tests/display_power_manager_unittest.cc
fabio-d/fuchsia-stardock
e57f5d1cf015fe2294fc2a5aea704842294318d2
[ "BSD-2-Clause" ]
null
null
null
src/ui/scenic/lib/display/tests/display_power_manager_unittest.cc
fabio-d/fuchsia-stardock
e57f5d1cf015fe2294fc2a5aea704842294318d2
[ "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 "src/ui/scenic/lib/display/display_power_manager.h" #include <fuchsia/ui/display/internal/cpp/fidl.h> #include <lib/async/default.h> #include <li...
33.739583
100
0.711948
b467e76d4bd78d5da611e2384129a0f221abf788
12,109
cpp
C++
import/abstractdelegate.cpp
PureTryOut/mycroft-gui
eb72bcfe1a748cd3e6de3c0ea72a317db695c129
[ "Apache-2.0" ]
null
null
null
import/abstractdelegate.cpp
PureTryOut/mycroft-gui
eb72bcfe1a748cd3e6de3c0ea72a317db695c129
[ "Apache-2.0" ]
null
null
null
import/abstractdelegate.cpp
PureTryOut/mycroft-gui
eb72bcfe1a748cd3e6de3c0ea72a317db695c129
[ "Apache-2.0" ]
1
2020-05-20T21:28:04.000Z
2020-05-20T21:28:04.000Z
/* * Copyright 2018 by Marco Martin <mart@kde.org> * * 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 applicab...
25.70913
111
0.676356
b4685bae8a114ad6720f7274071ade2c4f529a85
1,652
cpp
C++
ACM/Assignment6/C.cpp
AixMoon/LearnigRepo
ee98fb352735e2b4f97304847b6c0311bc30195e
[ "MIT" ]
11
2020-05-02T20:06:07.000Z
2021-06-24T10:01:29.000Z
ACM/Assignment6/C.cpp
AixMoon/LearnigRepo
ee98fb352735e2b4f97304847b6c0311bc30195e
[ "MIT" ]
null
null
null
ACM/Assignment6/C.cpp
AixMoon/LearnigRepo
ee98fb352735e2b4f97304847b6c0311bc30195e
[ "MIT" ]
6
2020-06-04T04:29:28.000Z
2020-11-15T08:15:01.000Z
#include <algorithm> #include <iostream> #include <queue> #include <set> #include <stdio.h> #include <string.h> #include <string> #include <vector> #define MAX_L 1005 #define INF 0xffffff #define LL long long using namespace std; int G[MAX_L][MAX_L]; int dis[MAX_L][MAX_L]; LL t, s, d, n = 0; int start[MAX_L]; int dest...
18.355556
54
0.455811
b4687d91823aa5b12ebedf17d2b4e1ba1f8e3719
363
cpp
C++
March Lunchtime 2021 Division 3/Dinner by Candlelight.cpp
Yashdew/DSA
d211d3b53acd28879233e55b77745b60ff44410f
[ "MIT" ]
4
2021-04-13T11:04:45.000Z
2021-12-06T16:32:28.000Z
March Lunchtime 2021 Division 3/Dinner by Candlelight.cpp
Yashdew/DSA
d211d3b53acd28879233e55b77745b60ff44410f
[ "MIT" ]
null
null
null
March Lunchtime 2021 Division 3/Dinner by Candlelight.cpp
Yashdew/DSA
d211d3b53acd28879233e55b77745b60ff44410f
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; int main() { int testCases; cin >> testCases; while (testCases--) { long long int A,Y,X; cin>>A>>Y>>X; if( Y>A ) { cout<<X*A +1<<endl; } else if(Y<=A) { cout<<X*Y <<endl;...
13.444444
31
0.380165
b46a12b3489a9f0045f59d392b977b4437fc612b
1,636
hpp
C++
src/parser_nodes/and_parser_node.hpp
lowlander/nederrock
aa23f79de3adf0510419208938bf4dcdbe786c9f
[ "MIT" ]
null
null
null
src/parser_nodes/and_parser_node.hpp
lowlander/nederrock
aa23f79de3adf0510419208938bf4dcdbe786c9f
[ "MIT" ]
null
null
null
src/parser_nodes/and_parser_node.hpp
lowlander/nederrock
aa23f79de3adf0510419208938bf4dcdbe786c9f
[ "MIT" ]
null
null
null
// // Copyright (c) 2020 Erwin Rol <erwin@erwinrol.com> // // SPDX-License-Identifier: MIT // #ifndef NEDERROCK_SRC_AND_PARSER_NODE_HPP #define NEDERROCK_SRC_AND_PARSER_NODE_HPP #include "and_parser_node_pre.hpp" #include "separator_parser_node_pre.hpp" #include "equality_check_parser_node_pre.hpp" #include "token_st...
28.206897
65
0.762225
b46b55e634ed4e6190b191941e67e4dc7bb06c37
5,496
cpp
C++
NewEditBox.cpp
yohshee/magenta
6efec67106b2769dd7c6dde5f63343fc0ecd5f3a
[ "MIT" ]
null
null
null
NewEditBox.cpp
yohshee/magenta
6efec67106b2769dd7c6dde5f63343fc0ecd5f3a
[ "MIT" ]
null
null
null
NewEditBox.cpp
yohshee/magenta
6efec67106b2769dd7c6dde5f63343fc0ecd5f3a
[ "MIT" ]
null
null
null
// NewEditBox.cpp : implementation file // #include "stdafx.h" #include "Magenta.h" #include "Constants.h" #include "Person.h" #include "NewEditBox.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////...
25.327189
96
0.637737
b46f40112fb85b203e5177c158eb66bad8276fca
23,551
hh
C++
inc/lacze_do_gnuplota.hh
KPO-2020-2021/zad5_3-jmeko1214
6c59e182b409c39e02c5a0e37d3e983ed1b3e0ba
[ "Unlicense" ]
null
null
null
inc/lacze_do_gnuplota.hh
KPO-2020-2021/zad5_3-jmeko1214
6c59e182b409c39e02c5a0e37d3e983ed1b3e0ba
[ "Unlicense" ]
null
null
null
inc/lacze_do_gnuplota.hh
KPO-2020-2021/zad5_3-jmeko1214
6c59e182b409c39e02c5a0e37d3e983ed1b3e0ba
[ "Unlicense" ]
null
null
null
#pragma once #include <string> #include <list> #include <vector> /*! * \file lacze_do_gnuplota.hh * * Plik zawiera definicję klasy realizującej interfejs * komunikacyjny do programu gnuplot. */ /*! * \brief Moduł narzędzi umożliwiających połącznie z GNUPlotem * * Niniejsza przestrzeń nazw stanowi modu...
33.886331
91
0.651183
b4701dd7dd21c980ae7d082fd39d9b890b203e45
5,262
cc
C++
integrations/tensorflow/compiler/dialect/tf_tensorlist/conversion/convert_tf_to_tf_tensorlist.cc
silvrwolfboy/iree
6d8b59ba8db9c54450ea29e6d9d37b18fd40d12a
[ "Apache-2.0" ]
null
null
null
integrations/tensorflow/compiler/dialect/tf_tensorlist/conversion/convert_tf_to_tf_tensorlist.cc
silvrwolfboy/iree
6d8b59ba8db9c54450ea29e6d9d37b18fd40d12a
[ "Apache-2.0" ]
null
null
null
integrations/tensorflow/compiler/dialect/tf_tensorlist/conversion/convert_tf_to_tf_tensorlist.cc
silvrwolfboy/iree
6d8b59ba8db9c54450ea29e6d9d37b18fd40d12a
[ "Apache-2.0" ]
1
2020-03-06T06:22:26.000Z
2020-03-06T06:22:26.000Z
// Copyright 2020 Google LLC // // 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
37.856115
108
0.702204
b4717b8d0a9e7a7820568a0ee2159fc863d9c59a
6,959
hh
C++
examples/external/OpenMesh/include/OpenMesh/Core/IO/exporter/BaseExporter.hh
zhangxaochen/Opt
7f1af802bfc84cc9ef1adb9facbe4957078f529a
[ "MIT" ]
260
2017-03-02T19:57:51.000Z
2022-01-21T03:52:03.000Z
examples/external/OpenMesh/include/OpenMesh/Core/IO/exporter/BaseExporter.hh
zhangxaochen/Opt
7f1af802bfc84cc9ef1adb9facbe4957078f529a
[ "MIT" ]
102
2017-03-03T00:42:56.000Z
2022-03-30T14:15:20.000Z
examples/external/OpenMesh/include/OpenMesh/Core/IO/exporter/BaseExporter.hh
zhangxaochen/Opt
7f1af802bfc84cc9ef1adb9facbe4957078f529a
[ "MIT" ]
71
2017-03-02T20:22:33.000Z
2022-01-02T03:49:04.000Z
/* ========================================================================= * * * * OpenMesh * * Copyright (c) 2001-2015, RWTH-Aachen University * * ...
44.896774
79
0.470901
b472c958b2690811d723def0ab4a062b61ddae59
12,732
cpp
C++
src/stage/stage-base.cpp
tilnewman/heroespath-src
a7784e44d8b5724f305ef8b8671fed54e2e5fd69
[ "BSL-1.0", "Beerware" ]
2
2019-02-28T00:28:08.000Z
2019-10-20T14:39:48.000Z
src/stage/stage-base.cpp
tilnewman/heroespath-src
a7784e44d8b5724f305ef8b8671fed54e2e5fd69
[ "BSL-1.0", "Beerware" ]
null
null
null
src/stage/stage-base.cpp
tilnewman/heroespath-src
a7784e44d8b5724f305ef8b8671fed54e2e5fd69
[ "BSL-1.0", "Beerware" ]
null
null
null
// This is an open source non-commercial project. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com // ---------------------------------------------------------------------------- // "THE BEER-WARE LICENSE" (Revision 42): // <ztn@zurreal.com> wrote this file. ...
31.205882
100
0.572809
b4738fcb5e33aacf0e943ca446289dfcbd2cf839
18,214
cpp
C++
src/chrono_vehicle/wheeled_vehicle/steering/ChPitmanArmShafts.cpp
iicfcii/chrono
d42e58d6e7fb2a2b254510c1c174789dc9f95dfe
[ "BSD-3-Clause" ]
3
2019-01-15T07:40:33.000Z
2019-01-15T09:16:45.000Z
src/chrono_vehicle/wheeled_vehicle/steering/ChPitmanArmShafts.cpp
iicfcii/chrono
d42e58d6e7fb2a2b254510c1c174789dc9f95dfe
[ "BSD-3-Clause" ]
1
2019-10-25T10:35:29.000Z
2019-10-25T10:35:29.000Z
src/chrono_vehicle/wheeled_vehicle/steering/ChPitmanArmShafts.cpp
iicfcii/chrono
d42e58d6e7fb2a2b254510c1c174789dc9f95dfe
[ "BSD-3-Clause" ]
null
null
null
// ============================================================================= // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2014 projectchrono.org // All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found // in the LICENSE file at the top level of t...
41.022523
120
0.613649
b47596097415cc59f9bfb054561ce5d420ba02f0
1,401
cpp
C++
src/day3.cpp
AdrianDAlessandro/advent-of-code-2020
f25588d105dd7f3c4b9ddc5d841bb19fcf5583bc
[ "MIT" ]
null
null
null
src/day3.cpp
AdrianDAlessandro/advent-of-code-2020
f25588d105dd7f3c4b9ddc5d841bb19fcf5583bc
[ "MIT" ]
null
null
null
src/day3.cpp
AdrianDAlessandro/advent-of-code-2020
f25588d105dd7f3c4b9ddc5d841bb19fcf5583bc
[ "MIT" ]
null
null
null
#include <iostream> #include <string> #include <vector> using namespace std; vector<string> read_data(string file_path); int count_trees(vector<string> data, int right_step, int down_step) { int position = 0, number_of_trees = 0; int col_num = data[0].length(); string str; for (int row = 0; row < data...
27.470588
74
0.587438
b4779ddd9029d12265fc09f22624ba8f8205dc2a
4,471
cpp
C++
src/thread/future.cpp
Revolution-Populi/fc
02b7593a96b02d9966358c59d22f344d86fa9a19
[ "BSL-1.0", "Apache-2.0", "Zlib" ]
37
2017-02-04T09:42:48.000Z
2021-02-17T14:59:15.000Z
src/thread/future.cpp
Revolution-Populi/fc
02b7593a96b02d9966358c59d22f344d86fa9a19
[ "BSL-1.0", "Apache-2.0", "Zlib" ]
120
2017-11-09T19:46:40.000Z
2022-01-20T18:26:23.000Z
src/thread/future.cpp
Revolution-Populi/fc
02b7593a96b02d9966358c59d22f344d86fa9a19
[ "BSL-1.0", "Apache-2.0", "Zlib" ]
109
2017-01-16T14:24:31.000Z
2022-03-18T21:10:07.000Z
#include <fc/thread/future.hpp> #include <fc/thread/spin_yield_lock.hpp> #include <fc/thread/thread.hpp> #include <fc/thread/unique_lock.hpp> #include <fc/exception/exception.hpp> #include <boost/assert.hpp> namespace fc { promise_base::promise_base( const char* desc ) :_ready(false), _blocked_thread(nullptr)...
31.70922
104
0.648624
b477ddeb7e3aa39864590e42e64eec71409541c3
1,116
cpp
C++
server/src/server.cpp
FascinatedBox/ivy
fb7e62a101f8489e514d46737d772d57ae085029
[ "MIT" ]
null
null
null
server/src/server.cpp
FascinatedBox/ivy
fb7e62a101f8489e514d46737d772d57ae085029
[ "MIT" ]
null
null
null
server/src/server.cpp
FascinatedBox/ivy
fb7e62a101f8489e514d46737d772d57ae085029
[ "MIT" ]
null
null
null
#include <QApplication> #include "ivyservice.h" QString loadFile(QString path) { QFile f(path); f.open(QIODevice::ReadOnly); QString s = f.readAll(); f.close(); return s; } void showHelpAndExit() { puts( R"(Usage: ivyserver [arguments] Arguments: --minimized: Start with the ma...
19.928571
63
0.565412
b478a32fa0cc4b7194bfd6bb6c8e483ec3aafabd
4,303
cc
C++
tensorflow/core/tpu/kernels/tpu_compilation_cache_grpc.cc
EricRemmerswaal/tensorflow
141ff27877579c81a213fa113bd1b474c1749aca
[ "Apache-2.0" ]
190,993
2015-11-09T13:17:30.000Z
2022-03-31T23:05:27.000Z
tensorflow/core/tpu/kernels/tpu_compilation_cache_grpc.cc
EricRemmerswaal/tensorflow
141ff27877579c81a213fa113bd1b474c1749aca
[ "Apache-2.0" ]
48,461
2015-11-09T14:21:11.000Z
2022-03-31T23:17:33.000Z
tensorflow/core/tpu/kernels/tpu_compilation_cache_grpc.cc
EricRemmerswaal/tensorflow
141ff27877579c81a213fa113bd1b474c1749aca
[ "Apache-2.0" ]
104,981
2015-11-09T13:40:17.000Z
2022-03-31T19:51:54.000Z
/* Copyright 2020 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...
39.477064
80
0.727399
b479366a4228473f59ee4370175d5a1c46c4071e
11,738
cpp
C++
src/qt/qtwebkit/Source/WebKit2/UIProcess/API/gtk/tests/TestBackForwardList.cpp
viewdy/phantomjs
eddb0db1d253fd0c546060a4555554c8ee08c13c
[ "BSD-3-Clause" ]
1
2015-05-27T13:52:20.000Z
2015-05-27T13:52:20.000Z
src/qt/qtwebkit/Source/WebKit2/UIProcess/API/gtk/tests/TestBackForwardList.cpp
mrampersad/phantomjs
dca6f77a36699eb4e1c46f7600cca618f01b0ac3
[ "BSD-3-Clause" ]
null
null
null
src/qt/qtwebkit/Source/WebKit2/UIProcess/API/gtk/tests/TestBackForwardList.cpp
mrampersad/phantomjs
dca6f77a36699eb4e1c46f7600cca618f01b0ac3
[ "BSD-3-Clause" ]
1
2017-03-19T13:03:23.000Z
2017-03-19T13:03:23.000Z
/* * Copyright (C) 2011 Igalia S.L. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This library i...
41.772242
153
0.737775
b4795dae218444764446204b4ddddc7b50eb5c3c
47,717
cc
C++
src/components/application_manager/rpc_plugins/sdl_rpc_plugin/test/commands/mobile/add_command_request_test.cc
Sohei-Suzuki-Nexty/sdl_core
68f082169e0a40fccd9eb0db3c83911c28870f07
[ "BSD-3-Clause" ]
5
2015-02-26T07:47:26.000Z
2021-08-03T15:08:53.000Z
src/components/application_manager/rpc_plugins/sdl_rpc_plugin/test/commands/mobile/add_command_request_test.cc
Sohei-Suzuki-Nexty/sdl_core
68f082169e0a40fccd9eb0db3c83911c28870f07
[ "BSD-3-Clause" ]
73
2015-11-12T15:36:48.000Z
2022-02-11T08:09:52.000Z
src/components/application_manager/rpc_plugins/sdl_rpc_plugin/test/commands/mobile/add_command_request_test.cc
Sohei-Suzuki-Nexty/sdl_core
68f082169e0a40fccd9eb0db3c83911c28870f07
[ "BSD-3-Clause" ]
8
2015-09-11T08:37:55.000Z
2021-07-13T19:34:02.000Z
/* * Copyright (c) 2018, Ford Motor Company * 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 condit...
40.472434
108
0.73959
b47bb4969bebca7039e05b3833d22c2b2052bddd
10,276
cc
C++
src/lib/dns/tests/nsec3hash_unittest.cc
svenauhagen/kea
8a575ad46dee1487364fad394e7a325337200839
[ "Apache-2.0" ]
273
2015-01-22T14:14:42.000Z
2022-03-13T10:27:44.000Z
src/lib/dns/tests/nsec3hash_unittest.cc
jxiaobin/kea
1987a50a458921f9e5ac84cb612782c07f3b601d
[ "Apache-2.0" ]
104
2015-01-16T16:37:06.000Z
2021-08-08T19:38:45.000Z
src/lib/dns/tests/nsec3hash_unittest.cc
jxiaobin/kea
1987a50a458921f9e5ac84cb612782c07f3b601d
[ "Apache-2.0" ]
133
2015-02-21T14:06:39.000Z
2022-02-27T08:56:40.000Z
// Copyright (C) 2012-2015 Internet Systems Consortium, Inc. ("ISC") // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. #include <config.h> #include <string> #incl...
38.059259
79
0.649864
b47d03c744f790f2be2d4b36804b0db8d951e0cd
1,262
cpp
C++
trading_technologies/main.cpp
akhiltiwari13/phyllanthus_emblica
7c7bb65270b94f13216ab2d8f25bad74f78c813d
[ "MIT" ]
null
null
null
trading_technologies/main.cpp
akhiltiwari13/phyllanthus_emblica
7c7bb65270b94f13216ab2d8f25bad74f78c813d
[ "MIT" ]
null
null
null
trading_technologies/main.cpp
akhiltiwari13/phyllanthus_emblica
7c7bb65270b94f13216ab2d8f25bad74f78c813d
[ "MIT" ]
null
null
null
#include <cstdint> #include <stdexcept> #include <iostream> enum Side { NONE, LEFT, RIGHT }; class ChainLink { public: void append(ChainLink* rightPart) { if (this->right != NULL) throw std::logic_error("Link is already connected."); this->right = rightPart; rightPart->lef...
21.033333
66
0.538827
b47f1a4bdafe07ec3dd893ab7c26441475ccc87b
2,817
cpp
C++
discrete-maths/graph-planarity/a_graph_embedding.cpp
nothingelsematters/university
5561969b1b11678228aaf7e6660e8b1a93d10294
[ "WTFPL" ]
1
2018-06-03T17:48:50.000Z
2018-06-03T17:48:50.000Z
discrete-maths/graph-planarity/a_graph_embedding.cpp
nothingelsematters/University
b1e188cb59e5a436731b92c914494626a99e1ae0
[ "WTFPL" ]
null
null
null
discrete-maths/graph-planarity/a_graph_embedding.cpp
nothingelsematters/University
b1e188cb59e5a436731b92c914494626a99e1ae0
[ "WTFPL" ]
14
2019-04-07T21:27:09.000Z
2021-12-05T13:37:25.000Z
#include <iostream> bool bipartition(std::pair<size_t, size_t>* edges, size_t* hamilton_cycle, bool* partition, size_t edges_size, bool* visited, size_t current_index, bool first_part = true) { if (visited[current_index]) { return partition[current_index] == first_part; } visited[current_i...
35.2125
112
0.586084
b47fb2c62845996fb27441aaab474f3b6ed7726e
2,778
hpp
C++
lib/src/Delphi/Syntax/Statements/DelphiRaiseStatementSyntax.hpp
henrikfroehling/polyglot
955fb37c2f54ebbaf933c16bf9e0e4bcca8a4142
[ "MIT" ]
null
null
null
lib/src/Delphi/Syntax/Statements/DelphiRaiseStatementSyntax.hpp
henrikfroehling/polyglot
955fb37c2f54ebbaf933c16bf9e0e4bcca8a4142
[ "MIT" ]
50
2021-06-30T20:01:50.000Z
2021-11-28T16:21:26.000Z
lib/src/Delphi/Syntax/Statements/DelphiRaiseStatementSyntax.hpp
henrikfroehling/polyglot
955fb37c2f54ebbaf933c16bf9e0e4bcca8a4142
[ "MIT" ]
null
null
null
#ifndef INTERLINCK_DELPHI_SYNTAX_STATEMENTS_DELPHIRAISESTATEMENTSYNTAX_H #define INTERLINCK_DELPHI_SYNTAX_STATEMENTS_DELPHIRAISESTATEMENTSYNTAX_H #include "interlinck/Core/Syntax/SyntaxVariant.hpp" #include "interlinck/Core/Types.hpp" #include "Core/Basic/Macros.hpp" #include "Delphi/Syntax/Statements/DelphiStatementS...
40.26087
132
0.719942
b480038da169d5118a8875c3d30acadae6284878
184
cpp
C++
documents/Buffer Overflow/main.cpp
sspony/oop244
4fdf8abf58f52b0c083eb6dad65ad4dfcdd4397a
[ "MIT" ]
null
null
null
documents/Buffer Overflow/main.cpp
sspony/oop244
4fdf8abf58f52b0c083eb6dad65ad4dfcdd4397a
[ "MIT" ]
null
null
null
documents/Buffer Overflow/main.cpp
sspony/oop244
4fdf8abf58f52b0c083eb6dad65ad4dfcdd4397a
[ "MIT" ]
null
null
null
#include <iostream> #include "Foo.h" using namespace std; int main (void) { Foo theFoo; cout << theFoo; theFoo.SetMsg("Hello World"); cout << theFoo; return 0; }
12.266667
31
0.608696
b4801650e7f5e418935965cd92a24ec95a2af019
14,374
cpp
C++
src/meta/MetaServiceHandler.cpp
Sasasu/nebula
78ac8edb396162da3d01e4cb485a2ae789a6d633
[ "Apache-2.0" ]
1
2020-04-10T06:34:24.000Z
2020-04-10T06:34:24.000Z
src/meta/MetaServiceHandler.cpp
Sasasu/nebula
78ac8edb396162da3d01e4cb485a2ae789a6d633
[ "Apache-2.0" ]
null
null
null
src/meta/MetaServiceHandler.cpp
Sasasu/nebula
78ac8edb396162da3d01e4cb485a2ae789a6d633
[ "Apache-2.0" ]
1
2020-03-25T10:17:26.000Z
2020-03-25T10:17:26.000Z
/* Copyright (c) 2018 vesoft inc. All rights reserved. * * This source code is licensed under Apache 2.0 License, * attached with Common Clause Condition 1.0, found in the LICENSES directory. */ #include "meta/MetaServiceUtils.h" #include "meta/MetaServiceHandler.h" #include "meta/processors/partsMan/CreateSpacePr...
36.206549
88
0.787116
b48053bf9790f7fe0af1be9aa6984f5e050ac4a2
5,344
hpp
C++
src/lib/optimizer/strategy/subquery_to_join_rule.hpp
mrcl-tst/hyrise
eec50b39de9f530b0a1732ceb5822b7222f3fe17
[ "MIT" ]
583
2015-01-10T00:55:32.000Z
2022-03-25T12:24:30.000Z
src/lib/optimizer/strategy/subquery_to_join_rule.hpp
mrcl-tst/hyrise
eec50b39de9f530b0a1732ceb5822b7222f3fe17
[ "MIT" ]
1,573
2015-01-07T15:47:22.000Z
2022-03-31T11:48:03.000Z
src/lib/optimizer/strategy/subquery_to_join_rule.hpp
mrcl-tst/hyrise
eec50b39de9f530b0a1732ceb5822b7222f3fe17
[ "MIT" ]
145
2015-03-09T16:26:07.000Z
2022-02-15T12:53:23.000Z
#pragma once #include "abstract_rule.hpp" #include "expression/abstract_expression.hpp" #include "types.hpp" namespace opossum { class AbstractExpression; class AbstractLQPNode; class AliasNode; class AggregateNode; class BinaryPredicateExpression; class LQPSubqueryExpression; class PredicateNode; class ProjectionNo...
40.484848
118
0.732036
b481d34f4ba709b2e8d5352ff726536239af2ba6
3,517
cpp
C++
clang/test/SemaSYCL/accessor_inheritance.cpp
hanzhan1/llvm
efe40bb5c797b102088e3cd2579a0f57ccf93310
[ "Apache-2.0" ]
null
null
null
clang/test/SemaSYCL/accessor_inheritance.cpp
hanzhan1/llvm
efe40bb5c797b102088e3cd2579a0f57ccf93310
[ "Apache-2.0" ]
null
null
null
clang/test/SemaSYCL/accessor_inheritance.cpp
hanzhan1/llvm
efe40bb5c797b102088e3cd2579a0f57ccf93310
[ "Apache-2.0" ]
null
null
null
// RUN: %clang_cc1 -fsycl -fsycl-is-device -ast-dump %s | FileCheck %s #include "Inputs/sycl.hpp" struct Base { int A, B; cl::sycl::accessor<char, 1, cl::sycl::access::mode::read> AccField; }; struct Captured : Base, cl::sycl::accessor<char, 1, cl::sycl::access::mode::read> { int C; }; int ma...
53.287879
302
0.64373
b4835ccb7a3c3fe7cab83e3b6246ac0a76449464
6,285
cc
C++
src/relay/analysis/kind_check.cc
heweiwill/incubator-tvm
5317afb79616454a27dedd4cf3b28dd0986aacdb
[ "Apache-2.0" ]
5
2020-06-19T03:22:24.000Z
2021-03-17T22:16:48.000Z
src/relay/analysis/kind_check.cc
heweiwill/incubator-tvm
5317afb79616454a27dedd4cf3b28dd0986aacdb
[ "Apache-2.0" ]
2
2020-07-08T12:34:59.000Z
2020-07-11T15:54:47.000Z
src/relay/analysis/kind_check.cc
heweiwill/incubator-tvm
5317afb79616454a27dedd4cf3b28dd0986aacdb
[ "Apache-2.0" ]
2
2019-08-24T00:06:36.000Z
2022-03-03T02:07:27.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.425
78
0.648846
b483edc29433ebcce8397fc2fe7b4556fa6df288
1,571
cpp
C++
tests/math_unit/math/fwd/scal/fun/pow_test.cpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
1
2019-09-06T15:53:17.000Z
2019-09-06T15:53:17.000Z
tests/math_unit/math/fwd/scal/fun/pow_test.cpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
8
2019-01-17T18:51:16.000Z
2019-01-17T18:51:39.000Z
tests/math_unit/math/fwd/scal/fun/pow_test.cpp
alashworth/stan-monorepo
75596bc1f860ededd7b3e9ae9002aea97ee1cd46
[ "BSD-3-Clause" ]
null
null
null
#include <stan/math/fwd/scal.hpp> #include <gtest/gtest.h> #include <math/fwd/scal/fun/nan_util.hpp> TEST(AgradFwdPow, Fvar) { using stan::math::fvar; using std::isnan; using std::log; using std::pow; fvar<double> x(0.5, 1.0); double y = 5.0; fvar<double> a = pow(x, y); EXPECT_FLOAT_EQ(pow(0.5, 5.0),...
23.80303
76
0.602801
b486e13ea20cff2c3d3b82c920400ce2eae2ea1c
13,660
cpp
C++
src/modules/processes/contrib/nvolkov/CosmeticCorrection/CosmeticCorrectionParameters.cpp
fmeschia/pixinsight-class-library
11b956e27d6eee3e119a7b1c337d090d7a03f436
[ "JasPer-2.0", "libtiff" ]
null
null
null
src/modules/processes/contrib/nvolkov/CosmeticCorrection/CosmeticCorrectionParameters.cpp
fmeschia/pixinsight-class-library
11b956e27d6eee3e119a7b1c337d090d7a03f436
[ "JasPer-2.0", "libtiff" ]
null
null
null
src/modules/processes/contrib/nvolkov/CosmeticCorrection/CosmeticCorrectionParameters.cpp
fmeschia/pixinsight-class-library
11b956e27d6eee3e119a7b1c337d090d7a03f436
[ "JasPer-2.0", "libtiff" ]
null
null
null
// ____ ______ __ // / __ \ / ____// / // / /_/ // / / / // / ____// /___ / /___ PixInsight Class Library // /_/ \____//_____/ PCL 2.4.9 // ---------------------------------------------------------------------------- // Standard CosmeticCorrection Process Module Version 1.2.5 // -----------------...
21.21118
94
0.565813
b48b8becc5468fc074f89a8f0b1f50ef612ee0e2
1,403
cpp
C++
src/main/cpp/org/thoriumlang/vm/Vm.cpp
thoriumlang/thvm
293bb6c8891d316ba614d812cb3e56e20e4ec809
[ "Apache-2.0" ]
null
null
null
src/main/cpp/org/thoriumlang/vm/Vm.cpp
thoriumlang/thvm
293bb6c8891d316ba614d812cb3e56e20e4ec809
[ "Apache-2.0" ]
1
2019-07-27T19:13:33.000Z
2019-07-27T19:13:33.000Z
src/main/cpp/org/thoriumlang/vm/Vm.cpp
thoriumlang/thvm
293bb6c8891d316ba614d812cb3e56e20e4ec809
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2019 Christophe Pollet * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
25.509091
75
0.650748
b48bb453520fe2347c7ee858c1188bb783bf24d1
4,317
cpp
C++
src/entity_systems/ffi_path.cpp
mokoi/luxengine
965532784c4e6112141313997d040beda4b56d07
[ "MIT" ]
11
2015-03-02T07:43:00.000Z
2021-12-04T04:53:02.000Z
src/entity_systems/ffi_path.cpp
mokoi/luxengine
965532784c4e6112141313997d040beda4b56d07
[ "MIT" ]
1
2015-03-28T17:17:13.000Z
2016-10-10T05:49:07.000Z
src/entity_systems/ffi_path.cpp
mokoi/luxengine
965532784c4e6112141313997d040beda4b56d07
[ "MIT" ]
3
2016-11-04T01:14:31.000Z
2020-05-07T23:42:27.000Z
/**************************** Copyright © 2014 Luke Salisbury This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including co...
26.006024
243
0.682187
b48c4d31ac1bcb213e103c329e5a28a441479e8b
23,581
cpp
C++
FFX_CAS/cas-samples/libs/cauldron/src/DX12/GLTF/GltfPbrPass.cpp
TonyJennifer/OpenSource
442e705eb42197ccdc44557a61caf91deebfcd05
[ "MIT" ]
2
2019-07-27T11:40:02.000Z
2021-04-30T05:16:13.000Z
src/DX12/GLTF/GltfPbrPass.cpp
swq0553/Cauldron
8530be0b7c65886726761944ec7855ce74d09db9
[ "MIT" ]
null
null
null
src/DX12/GLTF/GltfPbrPass.cpp
swq0553/Cauldron
8530be0b7c65886726761944ec7855ce74d09db9
[ "MIT" ]
null
null
null
// AMD AMDUtils code // // Copyright(c) 2018 Advanced Micro Devices, Inc.All rights reserved. // 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 limitat...
45.261036
203
0.584284
b4919b6368a5357928dc9e695eee1b135a9bed1d
23,510
hpp
C++
include/osmium/io/reader.hpp
xipengwang/libosmium
c7f136fb9c6df1c98c166944f0ab9673683e47a8
[ "BSL-1.0" ]
null
null
null
include/osmium/io/reader.hpp
xipengwang/libosmium
c7f136fb9c6df1c98c166944f0ab9673683e47a8
[ "BSL-1.0" ]
null
null
null
include/osmium/io/reader.hpp
xipengwang/libosmium
c7f136fb9c6df1c98c166944f0ab9673683e47a8
[ "BSL-1.0" ]
null
null
null
#ifndef OSMIUM_IO_READER_HPP #define OSMIUM_IO_READER_HPP /* This file is part of Osmium (https://osmcode.org/libosmium). Copyright 2013-2021 Jochen Topf <jochen@topf.org> and others (see README). Boost Software License - Version 1.0 - August 17th, 2003 Permission is hereby granted, free of charge, to any person o...
42.057245
144
0.528711
b491fa6871156142217c1b7732510bbdfc49c210
3,040
hh
C++
test/maple/MockSwitch.hh
Alexey-Ershov/runos
dfbf8f74d7f45d25f0d4fad743b51f572ec272c9
[ "Apache-2.0" ]
9
2019-04-04T18:03:36.000Z
2019-05-03T23:48:59.000Z
test/maple/MockSwitch.hh
Alexey-Ershov/runos
dfbf8f74d7f45d25f0d4fad743b51f572ec272c9
[ "Apache-2.0" ]
16
2019-04-04T12:22:19.000Z
2019-04-09T19:04:42.000Z
test/maple/MockSwitch.hh
Alexey-Ershov/runos
dfbf8f74d7f45d25f0d4fad743b51f572ec272c9
[ "Apache-2.0" ]
2
2019-10-11T14:17:26.000Z
2022-03-15T10:06:08.000Z
#pragma once #include <map> #include <ostream> #include <boost/test/unit_test.hpp> #include "api/Packet.hh" #include "oxm/field_set.hh" #include "maple/Backend.hh" #include "maple/Flow.hh" namespace runos { class MockSwitch : public maple::Backend { using Flow = maple::Flow; using FlowPtr = maple::FlowPtr; ...
27.142857
80
0.536842
b49339e0197adc16cce07125a920c0958ad8462d
59,976
cpp
C++
recode.cpp
dropbox/avrecode
0749548cc337c59933da84063c1edc97ac11d259
[ "BSD-3-Clause" ]
276
2016-04-20T02:10:29.000Z
2022-02-23T03:14:22.000Z
recode.cpp
coffescript/avrecode
0749548cc337c59933da84063c1edc97ac11d259
[ "BSD-3-Clause" ]
5
2016-06-13T10:36:08.000Z
2019-10-26T09:43:46.000Z
recode.cpp
coffescript/avrecode
0749548cc337c59933da84063c1edc97ac11d259
[ "BSD-3-Clause" ]
47
2016-04-25T06:10:55.000Z
2022-02-23T09:56:42.000Z
/* -*-mode:c++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ #include <fstream> #include <iostream> #include <list> #include <map> #include <memory> #include <sstream> #include <typeinfo> #include <vector> extern "C" { #include "libavcodec/avcodec.h" #include "libavcodec/cabac.h" #include "libavcodec/...
36.13012
337
0.574213
b493c3615876336c31b0cccc79d86d3050315cd1
2,006
cpp
C++
src/kalman.cpp
nm47/FlywheelCube
259040b22b43add568ba1a447191b97da08953fa
[ "MIT" ]
3
2020-10-26T20:11:41.000Z
2020-11-16T19:05:33.000Z
src/kalman.cpp
nm47/FlywheelCube
259040b22b43add568ba1a447191b97da08953fa
[ "MIT" ]
null
null
null
src/kalman.cpp
nm47/FlywheelCube
259040b22b43add568ba1a447191b97da08953fa
[ "MIT" ]
null
null
null
/* * This Kalman filter is implemented as a learning exercise. * It is used in the final version of the cube, but could be * almost drag and drop replaced by a more efficient library. * * Uses a custom Matrix<T> class to perform matrix operations * in an arduino friendly (space saving) way. */ #inclu...
37.148148
115
0.654536