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
de80f917f17f259dc54dffe14f6d3605eb249fb5
17,753
cpp
C++
src/drivers/liberatr.cpp
gameblabla/mame_nspire
83dfe1606aba906bd28608f2cb8f0754492ac3da
[ "Unlicense" ]
33
2015-08-10T11:13:47.000Z
2021-08-30T10:00:46.000Z
src/drivers/liberatr.cpp
gameblabla/mame_nspire
83dfe1606aba906bd28608f2cb8f0754492ac3da
[ "Unlicense" ]
13
2015-08-25T03:53:08.000Z
2022-03-30T18:02:35.000Z
src/drivers/liberatr.cpp
gameblabla/mame_nspire
83dfe1606aba906bd28608f2cb8f0754492ac3da
[ "Unlicense" ]
40
2015-08-25T05:09:21.000Z
2022-02-08T05:02:30.000Z
#include "../vidhrdw/liberatr.cpp" /*************************************************************************** Liberator Memory Map (for the main set, the other one is rearranged) (from the schematics/manual) HEX R/W D7 D6 D5 D4 D3 D2 D2 D0 function ---------+-----+------------------------+----------...
38.260776
129
0.506788
de84b2b4c1ef18125a077ec4c9571b8af9eef504
2,453
cpp
C++
parallel-libs/acxxel/examples/opencl_example.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
2,338
2018-06-19T17:34:51.000Z
2022-03-31T11:00:37.000Z
parallel-libs/acxxel/examples/opencl_example.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
3,740
2019-01-23T15:36:48.000Z
2022-03-31T22:01:13.000Z
parallel-libs/acxxel/examples/opencl_example.cpp
medismailben/llvm-project
e334a839032fe500c3bba22bf976ab7af13ce1c1
[ "Apache-2.0" ]
500
2019-01-23T07:49:22.000Z
2022-03-30T02:59:37.000Z
//===--- opencl_example.cpp - Example of using Acxxel with OpenCL ---------===// // // 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 // //===---------------------------...
35.042857
81
0.578475
de8502cf617a9e2c2736d3751817269a7292a8a9
12,174
cpp
C++
PeerIOSerialControl.cpp
TGit-Tech/PeerIOSerialControl
cdb79f906e359fbc7fab934b918cb54dc61b1810
[ "MIT" ]
null
null
null
PeerIOSerialControl.cpp
TGit-Tech/PeerIOSerialControl
cdb79f906e359fbc7fab934b918cb54dc61b1810
[ "MIT" ]
null
null
null
PeerIOSerialControl.cpp
TGit-Tech/PeerIOSerialControl
cdb79f906e359fbc7fab934b918cb54dc61b1810
[ "MIT" ]
null
null
null
/************************************************************************//** * @file PeerIOSerialControl.cpp * @brief Arduino Peer IO-Control through Serial Port Communications. * @authors * tgit23 1/2017 Original ******************************************************************************/ #in...
38.894569
107
0.496632
de8726d230ba89163f05f0b03924340a6d8bb824
23,188
cc
C++
Source/Util/sort.cc
AryaFaramarzi/CS220-dmfb-synthesis-skeleton
6b592516025f6c2838f269dcf2ca1696d9de5ab8
[ "MIT" ]
3
2018-11-03T06:17:08.000Z
2020-08-12T05:26:47.000Z
Source/Util/sort.cc
AryaFaramarzi/CS220-dmfb-synthesis-skeleton
6b592516025f6c2838f269dcf2ca1696d9de5ab8
[ "MIT" ]
null
null
null
Source/Util/sort.cc
AryaFaramarzi/CS220-dmfb-synthesis-skeleton
6b592516025f6c2838f269dcf2ca1696d9de5ab8
[ "MIT" ]
6
2019-09-03T23:58:04.000Z
2021-07-09T02:33:47.000Z
/*------------------------------------------------------------------------------* * (c)2016, All Rights Reserved. * * ___ ___ ___ * * /__/\ / /\ / /\ * * \ \:\ / /:/ / /::\ * * ...
40.048359
161
0.522684
de881f7d037ca8a76ffc7fc942e14eab26df3e32
1,996
hpp
C++
src/backend/vm/value_type.hpp
korelang/kore
9fc06176406c2de2524382dff7e0d7d8e619c457
[ "BSD-3-Clause" ]
null
null
null
src/backend/vm/value_type.hpp
korelang/kore
9fc06176406c2de2524382dff7e0d7d8e619c457
[ "BSD-3-Clause" ]
null
null
null
src/backend/vm/value_type.hpp
korelang/kore
9fc06176406c2de2524382dff7e0d7d8e619c457
[ "BSD-3-Clause" ]
null
null
null
#ifndef KORE_VALUE_TYPE_HPP #define KORE_VALUE_TYPE_HPP #include <ostream> #include "frontend/internal_value_types.hpp" namespace kore { enum class ValueTag { Bool, I32, I64, F32, F64, Str, }; /// The types for the vm's runtime values implemented /// a...
21.695652
68
0.483467
de88adce28026525092d49cd981443c7d9361375
3,707
cpp
C++
printscan/faxsrv/service/rpc/configtest/outboxdlg.cpp
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
printscan/faxsrv/service/rpc/configtest/outboxdlg.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
printscan/faxsrv/service/rpc/configtest/outboxdlg.cpp
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
// OutboxDlg.cpp : implementation file // #include "stdafx.h" #include "ConfigTest.h" #include "OutboxDlg.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif typedef unsigned long ULONG_PTR, *PULONG_PTR; typedef ULONG_PTR DWORD_PTR, *PDWORD_PTR; #includ...
30.891667
92
0.639601
de8b7b339304acb3c0cc2938b1ed2a592a83c50b
1,010
cpp
C++
HackerBlocks/Recursion and Backtracking/RatInAMaze/main.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
36
2019-12-27T08:23:08.000Z
2022-01-24T20:35:47.000Z
HackerBlocks/Recursion and Backtracking/RatInAMaze/main.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
10
2019-11-13T02:55:18.000Z
2021-10-13T23:28:09.000Z
HackerBlocks/Recursion and Backtracking/RatInAMaze/main.cpp
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
53
2020-08-15T11:08:40.000Z
2021-10-09T15:51:38.000Z
#include <bits/stdc++.h> using namespace std; bool ratInAMaze(char maze[1001][1001],bool path[1001][1001], int n, int m,int i, int j){ if(i==n-1 && j==m-1){ path[i][j]=1; return true; } if(maze[i][j]=='X') return false; if(i>=n || j>=m){ return false; } path[i][j]=1; ...
18.035714
88
0.464356
de8c886e2035c324bea7a1866f17e9a904d69b14
1,252
cpp
C++
Sources/Plugins/RenderSystem_GL/GLSLShaderSystem.cpp
jdelezenne/Sonata
fb1b1b64a78874a0ab2809995be4b6f14f9e4d56
[ "MIT" ]
null
null
null
Sources/Plugins/RenderSystem_GL/GLSLShaderSystem.cpp
jdelezenne/Sonata
fb1b1b64a78874a0ab2809995be4b6f14f9e4d56
[ "MIT" ]
null
null
null
Sources/Plugins/RenderSystem_GL/GLSLShaderSystem.cpp
jdelezenne/Sonata
fb1b1b64a78874a0ab2809995be4b6f14f9e4d56
[ "MIT" ]
null
null
null
/*============================================================================= GLSLShaderSystem.cpp Project: Sonata Engine Author: Julien Delezenne =============================================================================*/ #include "GLSLShaderSystem.h" #include "GLSLShaderProgram.h" namespace SE_GL { GLSLShade...
16.25974
79
0.654952
de8e04438ca08bec9df7cb3a061fa0504539a8dc
166
hxx
C++
src/Providers/UNIXProviders/PolicyRepositoryInPolicyRepository/UNIX_PolicyRepositoryInPolicyRepository_FREEBSD.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
1
2020-10-12T09:00:09.000Z
2020-10-12T09:00:09.000Z
src/Providers/UNIXProviders/PolicyRepositoryInPolicyRepository/UNIX_PolicyRepositoryInPolicyRepository_FREEBSD.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
null
null
null
src/Providers/UNIXProviders/PolicyRepositoryInPolicyRepository/UNIX_PolicyRepositoryInPolicyRepository_FREEBSD.hxx
brunolauze/openpegasus-providers-old
b00f1aad575bae144b8538bf57ba5fd5582a4ec7
[ "MIT" ]
null
null
null
#ifdef PEGASUS_OS_FREEBSD #ifndef __UNIX_POLICYREPOSITORYINPOLICYREPOSITORY_PRIVATE_H #define __UNIX_POLICYREPOSITORYINPOLICYREPOSITORY_PRIVATE_H #endif #endif
13.833333
59
0.885542
de8eef4f62e1f6780b1848fb0668b12182336276
2,211
hpp
C++
source/LibFgBase/src/FgPlatform.hpp
denim2x/FaceGenBaseLibrary
52317cf96984a47d7f2d0c5471230d689404101c
[ "MIT" ]
null
null
null
source/LibFgBase/src/FgPlatform.hpp
denim2x/FaceGenBaseLibrary
52317cf96984a47d7f2d0c5471230d689404101c
[ "MIT" ]
null
null
null
source/LibFgBase/src/FgPlatform.hpp
denim2x/FaceGenBaseLibrary
52317cf96984a47d7f2d0c5471230d689404101c
[ "MIT" ]
null
null
null
// // Copyright (c) 2019 Singular Inversions Inc. (facegen.com) // Use, modification and distribution is subject to the MIT License, // see accompanying file LICENSE.txt or facegen.com/base_library_license.txt // // Compile target platform and compiler specific definitions. // // ANSI defines: // _DATE_ // _FI...
28.346154
107
0.645862
de91c2e73247de3d5093113de661c21b50f7cb2f
3,937
cpp
C++
core/sql/common/ComExtents.cpp
CoderSong2015/Apache-Trafodion
889631aae9cdcd38fca92418d633f2dedc0be619
[ "Apache-2.0" ]
148
2015-06-18T21:26:04.000Z
2017-12-25T01:47:01.000Z
core/sql/common/ComExtents.cpp
CoderSong2015/Apache-Trafodion
889631aae9cdcd38fca92418d633f2dedc0be619
[ "Apache-2.0" ]
1,352
2015-06-20T03:05:01.000Z
2017-12-25T14:13:18.000Z
core/sql/common/ComExtents.cpp
CoderSong2015/Apache-Trafodion
889631aae9cdcd38fca92418d633f2dedc0be619
[ "Apache-2.0" ]
166
2015-06-19T18:52:10.000Z
2017-12-27T06:19:32.000Z
/* -*-C++-*- ***************************************************************************** * * File: ComExtents.C * Description: Provides conversion functions to convert Maxsize and Allocate * attributes to primary-extents, secondary-extents and max-extents * * Created: 11/28/94 * La...
31.496
81
0.583947
de93720a3eeb3d97501c06306f636429ddda6bfa
1,743
cpp
C++
utils/logging.cpp
XMrVertigoX/xXx_CPP
550f04ccb2ff772e5c8cd632c9a748a001533077
[ "MIT" ]
null
null
null
utils/logging.cpp
XMrVertigoX/xXx_CPP
550f04ccb2ff772e5c8cd632c9a748a001533077
[ "MIT" ]
null
null
null
utils/logging.cpp
XMrVertigoX/xXx_CPP
550f04ccb2ff772e5c8cd632c9a748a001533077
[ "MIT" ]
null
null
null
#include <ctype.h> #include <stdarg.h> #include <stdio.h> #include <string.h> #include <FreeRTOS.h> #include <task.h> #include "logging.hpp" static const size_t bytesPerLine = 16; static inline uint32_t ticks2ms(TickType_t ticks) { return (ticks * portTICK_PERIOD_MS); } static inline uint32_t getSeconds(TickTy...
21.256098
58
0.526104
de93d083a1eae37fafb327e120403acd2775ec90
2,004
cpp
C++
blast/src/dbapi/err_handler.cpp
mycolab/ncbi-blast
e59746cec78044d2bf6d65de644717c42f80b098
[ "Apache-2.0" ]
31
2016-12-09T04:56:59.000Z
2021-12-31T17:19:10.000Z
blast/src/dbapi/err_handler.cpp
mycolab/ncbi-blast
e59746cec78044d2bf6d65de644717c42f80b098
[ "Apache-2.0" ]
6
2017-03-10T17:25:13.000Z
2021-09-22T15:49:49.000Z
blast/src/dbapi/err_handler.cpp
mycolab/ncbi-blast
e59746cec78044d2bf6d65de644717c42f80b098
[ "Apache-2.0" ]
20
2015-01-04T02:15:17.000Z
2021-12-03T02:31:43.000Z
/* $Id: err_handler.cpp 343796 2011-11-09 18:12:57Z ivanovp $ * =========================================================================== * * PUBLIC DOMAIN NOTICE * National Center for Biotechnology Information * * This software/database is a "United States Government Work" u...
31.3125
77
0.673154
de98e12d8bc29f2ed4f60ea0119381148c43614b
2,249
cpp
C++
libi3/get_colorpixel.cpp
andreatulimiero/i3pp
3e1268ec690bce1821d47df11a985145c289573c
[ "BSD-3-Clause" ]
null
null
null
libi3/get_colorpixel.cpp
andreatulimiero/i3pp
3e1268ec690bce1821d47df11a985145c289573c
[ "BSD-3-Clause" ]
null
null
null
libi3/get_colorpixel.cpp
andreatulimiero/i3pp
3e1268ec690bce1821d47df11a985145c289573c
[ "BSD-3-Clause" ]
null
null
null
/* * vim:ts=4:sw=4:expandtab * * i3 - an improved dynamic tiling window manager * © 2009 Michael Stapelberg and contributors (see also: LICENSE) * */ #include "libi3.hpp" #include "queue.hpp" #include "memory.hpp" #include <stdint.h> #include <stdlib.h> #include <string.h> struct Colorpixel { char hex[8]; ...
26.77381
108
0.623833
de9e74434fd6c5d27832ea6734411238fe56fa67
3,741
cpp
C++
src/lib/adatafield.cpp
leaderit/ananas-qt4
6830bf5074b316582a38f6bed147a1186dd7cc95
[ "MIT" ]
1
2021-03-16T21:47:41.000Z
2021-03-16T21:47:41.000Z
src/lib/adatafield.cpp
leaderit/ananas-qt4
6830bf5074b316582a38f6bed147a1186dd7cc95
[ "MIT" ]
null
null
null
src/lib/adatafield.cpp
leaderit/ananas-qt4
6830bf5074b316582a38f6bed147a1186dd7cc95
[ "MIT" ]
null
null
null
/**************************************************************************** ** $Id: adatafield.cpp,v 1.1 2008/11/05 21:16:28 leader Exp $ ** ** Code file of the Ananas database field of Ananas ** Designer and Engine applications ** ** Created : 20031201 ** ** Copyright (C) 2003-2004 Leader InfoTech. All rights reser...
17.481308
83
0.636995
dea3383bbe1211dcd2b00cfdb3f8141f81f6f04d
1,841
cpp
C++
src/r3.endlesss/endlesss/toolkit.exchange.cpp
Unbundlesss/OUROVEON
34dda511eda2a28b8522a724cfc9500a7914ea03
[ "MIT" ]
6
2022-01-27T20:33:17.000Z
2022-02-16T18:29:43.000Z
src/r3.endlesss/endlesss/toolkit.exchange.cpp
Unbundlesss/OUROVEON
34dda511eda2a28b8522a724cfc9500a7914ea03
[ "MIT" ]
4
2022-01-30T16:16:53.000Z
2022-02-20T20:07:25.000Z
src/r3.endlesss/endlesss/toolkit.exchange.cpp
Unbundlesss/OUROVEON
34dda511eda2a28b8522a724cfc9500a7914ea03
[ "MIT" ]
null
null
null
// _______ _______ ______ _______ ___ ___ _______ _______ _______ // | | | | __ \ | | | ___| | | | // | - | | | < - | | | ___| - | | // |_______|_______|___|__|_______|\_____/|_______|_______|__|____| // ishani.org 2022 e.t.c. ...
30.180328
100
0.568169
dea4093891cf1c0ad10fac75f2675e11f486d4f5
596
cpp
C++
src/src/clonetest.cpp
yangkaioppen/imgpp
2212e8c80fc770a9bb24fed396ca43031de9e10f
[ "MIT" ]
1
2020-05-12T07:35:39.000Z
2020-05-12T07:35:39.000Z
src/src/clonetest.cpp
yangkaioppen/imgpp
2212e8c80fc770a9bb24fed396ca43031de9e10f
[ "MIT" ]
2
2020-04-22T05:27:47.000Z
2020-12-26T07:38:45.000Z
src/src/clonetest.cpp
yangkaioppen/imgpp
2212e8c80fc770a9bb24fed396ca43031de9e10f
[ "MIT" ]
2
2020-04-20T05:55:12.000Z
2020-05-25T16:41:16.000Z
#include <imgpp/imgpp.hpp> int main() { // Test clone { imgpp::Img image(2, 2, 1, 1, 32, true, true, 1); image.ROI().At<float>(0, 0) = 1.0f; image.ROI().At<float>(0, 1) = 2.0f; image.ROI().At<float>(1, 0) = 3.0f; image.ROI().At<float>(1, 1) = 4.0f; imgpp::Img clone = image.Clone(); // M...
25.913043
100
0.541946
dea758c747e2934278a76f5efd5c994b144cad92
7,613
cpp
C++
svntrunk/src/bgfe/obsolete_pk/bgl/test/torusdevloop.cpp
Bhaskers-Blu-Org1/BlueMatter
1ab2c41af870c19e2e1b1095edd1d5c85eeb9b5e
[ "BSD-2-Clause" ]
7
2020-02-25T15:46:18.000Z
2022-02-25T07:04:47.000Z
svntrunk/src/pk/bgl/test/torusdevloop.cpp
IBM/BlueMatter
5243c0ef119e599fc3e9b7c4213ecfe837de59f3
[ "BSD-2-Clause" ]
null
null
null
svntrunk/src/pk/bgl/test/torusdevloop.cpp
IBM/BlueMatter
5243c0ef119e599fc3e9b7c4213ecfe837de59f3
[ "BSD-2-Clause" ]
5
2019-06-06T16:30:21.000Z
2020-11-16T19:43:01.000Z
/* Copyright 2001, 2019 IBM Corporation * * 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 notice, this list of conditions and the * following d...
34.139013
118
0.6217
dea7bc77e719900abb506b3e47c937bd055b51e0
791
cpp
C++
9/969. Pancake Sorting.cpp
eagleoflqj/LeetCode
ca5dd06cad4c7fe5bf679cca7ee60f4348b316e9
[ "MIT" ]
null
null
null
9/969. Pancake Sorting.cpp
eagleoflqj/LeetCode
ca5dd06cad4c7fe5bf679cca7ee60f4348b316e9
[ "MIT" ]
1
2021-12-25T10:33:23.000Z
2022-02-16T00:34:05.000Z
9/969. Pancake Sorting.cpp
eagleoflqj/LeetCode
ca5dd06cad4c7fe5bf679cca7ee60f4348b316e9
[ "MIT" ]
null
null
null
class Solution { public: vector<int> pancakeSort(vector<int>& arr) { int n = arr.size(); vector<int> index(n), ret; for(int i = 0; i < n; ++i) index[arr[i] - 1] = i; for(int i = n - 1; i > 0; --i) if(index[i] != i) { // AxBy ret.push_back(index...
31.64
53
0.380531
dea890b1088b8e9d87cf6f932a9ff74797b5ec5a
11,237
cc
C++
vos/gui/sub/gui/sg_components/SgAxisView.cc
NASA-AMMOS/VICAR
4504c1f558855d9c6eaef89f4460217aa4909f8e
[ "BSD-3-Clause" ]
16
2020-10-21T05:56:26.000Z
2022-03-31T10:02:01.000Z
vos/gui/sub/gui/sg_components/SgAxisView.cc
NASA-AMMOS/VICAR
4504c1f558855d9c6eaef89f4460217aa4909f8e
[ "BSD-3-Clause" ]
null
null
null
vos/gui/sub/gui/sg_components/SgAxisView.cc
NASA-AMMOS/VICAR
4504c1f558855d9c6eaef89f4460217aa4909f8e
[ "BSD-3-Clause" ]
2
2021-03-09T01:51:08.000Z
2021-03-23T00:23:24.000Z
/////////////////////////////////////////////////////// // SgAxisView.C: A component class to show a plot axis. //////////////////////////////////////////////////////// #include "SgAxisView.h" #include "ErrorManager.h" #include <Xm/DrawingA.h> #include <Xm/Form.h> #include <iostream> using namespace std; #include <asse...
22.70101
79
0.595444
dea90f86cda37aa2bb0754da13db164130a9c547
8,776
cpp
C++
PhysX_3.4/Source/PhysX/src/buffering/ScbMetaData.cpp
RyanTorant/simple-physx
a065a9c734c134074c63c80a9109a398b22d040c
[ "Unlicense" ]
1
2019-12-09T16:03:55.000Z
2019-12-09T16:03:55.000Z
PhysX_3.4/Source/PhysX/src/buffering/ScbMetaData.cpp
RyanTorant/simple-physx
a065a9c734c134074c63c80a9109a398b22d040c
[ "Unlicense" ]
null
null
null
PhysX_3.4/Source/PhysX/src/buffering/ScbMetaData.cpp
RyanTorant/simple-physx
a065a9c734c134074c63c80a9109a398b22d040c
[ "Unlicense" ]
null
null
null
// This code contains NVIDIA Confidential Information and is disclosed to you // under a form of NVIDIA software license agreement provided separately to you. // // Notice // NVIDIA Corporation and its licensors retain all intellectual property and // proprietary rights in and to this software and related documentation...
43.231527
126
0.697015
deacc28df8e4bcbba836c34c03bcf73c69eb7f6c
12,706
cpp
C++
src/Device/VertexProcessor.cpp
opersys/bbb-platform_external_swiftshader
54561baf5b7bd68e572326bf99a0c7ae1ecd76a2
[ "Apache-2.0" ]
null
null
null
src/Device/VertexProcessor.cpp
opersys/bbb-platform_external_swiftshader
54561baf5b7bd68e572326bf99a0c7ae1ecd76a2
[ "Apache-2.0" ]
null
null
null
src/Device/VertexProcessor.cpp
opersys/bbb-platform_external_swiftshader
54561baf5b7bd68e572326bf99a0c7ae1ecd76a2
[ "Apache-2.0" ]
null
null
null
// Copyright 2016 The SwiftShader 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 b...
27.681917
171
0.730364
deaf554618da92450e0202f4888b0d80121c7d80
8,133
cpp
C++
PlanetaMatchMakerServer/source/message/message_handlers/connection_test_request_message_handler.cpp
CdecPGL/PlanetaMatchMaker
59ade243cc3fab23a88edd10e2ef6d6238dcfcbe
[ "MIT" ]
6
2019-08-15T09:48:55.000Z
2021-07-25T14:40:59.000Z
PlanetaMatchMakerServer/source/message/message_handlers/connection_test_request_message_handler.cpp
CdecPGL/PlanetaMatchMaker
59ade243cc3fab23a88edd10e2ef6d6238dcfcbe
[ "MIT" ]
43
2019-12-25T14:54:52.000Z
2022-02-24T17:22:48.000Z
PlanetaMatchMakerServer/source/message/message_handlers/connection_test_request_message_handler.cpp
CdecPGL/PlanetaMatchMaker
59ade243cc3fab23a88edd10e2ef6d6238dcfcbe
[ "MIT" ]
2
2020-05-06T20:14:44.000Z
2020-06-02T21:21:10.000Z
#include <vector> #include <boost/asio.hpp> #include "server/server_setting.hpp" #include "session/session_data.hpp" #include "logger/log.hpp" #include "../message_parameter_validator.hpp" #include "connection_test_request_message_handler.hpp" using namespace std; using namespace boost; namespace pgl { bool test_c...
43.491979
169
0.708595
deafa692f4c074bed1d56cb11e90a761f0a6982f
8,569
hpp
C++
InstructionSets/M50740/Instruction.hpp
laurentd75/CLK
55dbeefeb2539541409265391ba9f7d70d89449e
[ "MIT" ]
674
2016-05-05T18:47:48.000Z
2022-03-30T01:48:53.000Z
InstructionSets/M50740/Instruction.hpp
laurentd75/CLK
55dbeefeb2539541409265391ba9f7d70d89449e
[ "MIT" ]
223
2016-05-11T13:45:11.000Z
2022-03-27T08:20:26.000Z
InstructionSets/M50740/Instruction.hpp
laurentd75/CLK
55dbeefeb2539541409265391ba9f7d70d89449e
[ "MIT" ]
36
2017-11-24T18:07:52.000Z
2022-03-17T23:30:14.000Z
// // Instruction.hpp // Clock Signal // // Created by Thomas Harte on 15/01/21. // Copyright © 2021 Thomas Harte. All rights reserved. // #ifndef InstructionSets_M50740_Instruction_h #define InstructionSets_M50740_Instruction_h #include <cstdint> #include <iomanip> #include <string> #include <sstream> #include "...
35.263374
157
0.672541
deafac069c99f42491d0e3ac4d2d6c262a1bdb97
1,985
cpp
C++
lte/gateway/c/oai/lib/n11/SmfServiceClient.cpp
nitinneet/test23
c44df1a3290195cd3fc59d3483ef640ca8aaeb1e
[ "BSD-3-Clause" ]
1
2021-08-08T15:49:05.000Z
2021-08-08T15:49:05.000Z
lte/gateway/c/oai/lib/n11/SmfServiceClient.cpp
nitinneet/test23
c44df1a3290195cd3fc59d3483ef640ca8aaeb1e
[ "BSD-3-Clause" ]
151
2020-09-03T20:44:13.000Z
2022-03-31T20:28:52.000Z
lte/gateway/c/oai/lib/n11/SmfServiceClient.cpp
nitinneet/test23
c44df1a3290195cd3fc59d3483ef640ca8aaeb1e
[ "BSD-3-Clause" ]
2
2021-05-27T18:15:16.000Z
2021-05-27T18:41:39.000Z
/** * Copyright 2020 The Magma Authors. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, ...
32.540984
77
0.738035
deb01d3a6b355ab470ed94ce35a2df080e5f3df1
160
cpp
C++
system/system.cpp
firngrod/firnlibs
a8fbdd22ec3b0a9497b809e8b86092e0affea995
[ "MIT" ]
null
null
null
system/system.cpp
firngrod/firnlibs
a8fbdd22ec3b0a9497b809e8b86092e0affea995
[ "MIT" ]
null
null
null
system/system.cpp
firngrod/firnlibs
a8fbdd22ec3b0a9497b809e8b86092e0affea995
[ "MIT" ]
null
null
null
#include "system.hpp" #include <thread> namespace FirnLibs{ namespace System{ int GetProcessorCount() { return std::thread::hardware_concurrency(); } }}
11.428571
45
0.725
deb21c7ff38d279093e60fc31fdf79e46e950c16
7,714
cpp
C++
media_driver/agnostic/common/codec/hal/codechal_mmc_decode_vp8.cpp
xinfengz/media-driver
310104a4693c476a215de13e7e9fabdf2afbad0a
[ "Intel", "BSD-3-Clause", "MIT" ]
1
2019-09-26T23:48:34.000Z
2019-09-26T23:48:34.000Z
media_driver/agnostic/common/codec/hal/codechal_mmc_decode_vp8.cpp
xinfengz/media-driver
310104a4693c476a215de13e7e9fabdf2afbad0a
[ "Intel", "BSD-3-Clause", "MIT" ]
null
null
null
media_driver/agnostic/common/codec/hal/codechal_mmc_decode_vp8.cpp
xinfengz/media-driver
310104a4693c476a215de13e7e9fabdf2afbad0a
[ "Intel", "BSD-3-Clause", "MIT" ]
1
2017-12-11T03:28:35.000Z
2017-12-11T03:28:35.000Z
/* * Copyright (c) 2017, Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publis...
39.558974
112
0.717267
deb2487da9f4648a10b685865133c036e41c6b66
2,191
cpp
C++
src/application_item.cpp
haiziyan/mayo
330099948bb8626a56d138c62509d85f7f0e1d94
[ "BSD-2-Clause" ]
null
null
null
src/application_item.cpp
haiziyan/mayo
330099948bb8626a56d138c62509d85f7f0e1d94
[ "BSD-2-Clause" ]
null
null
null
src/application_item.cpp
haiziyan/mayo
330099948bb8626a56d138c62509d85f7f0e1d94
[ "BSD-2-Clause" ]
1
2022-03-10T03:28:53.000Z
2022-03-10T03:28:53.000Z
/**************************************************************************** ** Copyright (c) 2019, Fougue Ltd. <http://www.fougue.pro> ** All rights reserved. ** See license at https://github.com/fougue/mayo/blob/master/LICENSE.txt ****************************************************************************/ #includ...
26.083333
77
0.63487
deb3ad230da2eba329dbd4910d6daf30c08d8689
2,017
cc
C++
StRoot/StMcEvent/StMcIstLadderHitCollection.cc
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
2
2018-12-24T19:37:00.000Z
2022-02-28T06:57:20.000Z
StRoot/StMcEvent/StMcIstLadderHitCollection.cc
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
null
null
null
StRoot/StMcEvent/StMcIstLadderHitCollection.cc
xiaohaijin/RHIC-STAR
a305cb0a6ac15c8165bd8f0d074d7075d5e58752
[ "MIT" ]
null
null
null
/*************************************************************************** * * * Author: Amilkar Quintero, Feb 2015 *************************************************************************** * * Description: Monte Carlo Ist Ladder Hit Collection class * *******************************************************...
34.186441
103
0.648488
deb3f64aa62ff8b78015a35cd2871c9c185f0ac7
250
inl
C++
node_modules/lzz-gyp/lzz-source/util_GetIdent.inl
SuperDizor/dizornator
9f57dbb3f6af80283b4d977612c95190a3d47900
[ "ISC" ]
3
2019-09-18T16:44:33.000Z
2021-03-29T13:45:27.000Z
node_modules/lzz-gyp/lzz-source/util_GetIdent.inl
SuperDizor/dizornator
9f57dbb3f6af80283b4d977612c95190a3d47900
[ "ISC" ]
null
null
null
node_modules/lzz-gyp/lzz-source/util_GetIdent.inl
SuperDizor/dizornator
9f57dbb3f6af80283b4d977612c95190a3d47900
[ "ISC" ]
2
2019-03-29T01:06:38.000Z
2019-09-18T16:44:34.000Z
// util_GetIdent.inl // #ifdef LZZ_ENABLE_INLINE #define LZZ_INLINE inline #else #define LZZ_INLINE #endif namespace util { LZZ_INLINE util::Ident getIdent (util::String const & str) { return getIdent (str.c_str ()); } } #undef LZZ_INLINE
14.705882
60
0.72
630c2a572b4cfece5fbe93d893400196dc33c44d
870
cpp
C++
Chapter10/chapter10-7.cpp
kozborn/programing-principles-and-practise-using-cpp
7fefba8765e26af83f138e660861fe5b90adcda4
[ "MIT" ]
null
null
null
Chapter10/chapter10-7.cpp
kozborn/programing-principles-and-practise-using-cpp
7fefba8765e26af83f138e660861fe5b90adcda4
[ "MIT" ]
null
null
null
Chapter10/chapter10-7.cpp
kozborn/programing-principles-and-practise-using-cpp
7fefba8765e26af83f138e660861fe5b90adcda4
[ "MIT" ]
null
null
null
#include "../std_lib_facilities.h" void skip_to_int() { if (cin.fail()) { cin.clear(); char ch; while (cin >> ch && !isdigit(ch)); if (!cin) error("Brak danych"); cin.unget(); } } int get_int() { int n = 0; while(true) { if(cin >> n) return n; cout << "That was n...
19.333333
95
0.472414
630c477e15b064e58df18997b45b2ffc5d52c4b4
5,703
cpp
C++
main.cpp
SirDifferential/minimal_movidius
73dc436c6151c022963108fb82b9262a838b0d95
[ "MIT" ]
1
2017-10-02T17:32:32.000Z
2017-10-02T17:32:32.000Z
main.cpp
SirDifferential/minimal_movidius
73dc436c6151c022963108fb82b9262a838b0d95
[ "MIT" ]
null
null
null
main.cpp
SirDifferential/minimal_movidius
73dc436c6151c022963108fb82b9262a838b0d95
[ "MIT" ]
null
null
null
#include <mvnc.h> #include <vector> #include <stdio.h> #include <string> #include <chrono> #include <unistd.h> #define STB_IMAGE_IMPLEMENTATION #include "stb_image.h" #include "movidiusdevice.h" const int req_width = 227; const int req_height = 227; const bool show_perfs = false; const bool show_results = false; int...
28.373134
108
0.568122
630ccbb7fa7933f8ff764374dfe0fcdd3e185951
866
cpp
C++
algorithms/cpp/328.cpp
viing937/leetcode
e21ca52c98bddf59e43522c0aace5e8cf84350eb
[ "MIT" ]
3
2016-10-01T10:15:09.000Z
2017-07-09T02:53:36.000Z
algorithms/cpp/328.cpp
viing937/leetcode
e21ca52c98bddf59e43522c0aace5e8cf84350eb
[ "MIT" ]
null
null
null
algorithms/cpp/328.cpp
viing937/leetcode
e21ca52c98bddf59e43522c0aace5e8cf84350eb
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; struct ListNode { int val; ListNode *next; ListNode(int x) : val(x), next(NULL) {} }; class Solution { public: ListNode* oddEvenList(ListNode* head) { if ( !head ) return head; ListNode *even = NULL, *tail = NULL; ListNod...
18.826087
51
0.415704
630dd83cf0445f77c13c3331f0456ccd41b83ff1
22,529
cpp
C++
src/tests/servers/app/newerClipping/drawing/AccelerantHWInterface.cpp
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
1,338
2015-01-03T20:06:56.000Z
2022-03-26T13:49:54.000Z
src/tests/servers/app/newerClipping/drawing/AccelerantHWInterface.cpp
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
15
2015-01-17T22:19:32.000Z
2021-12-20T12:35:00.000Z
src/tests/servers/app/newerClipping/drawing/AccelerantHWInterface.cpp
Kirishikesan/haiku
835565c55830f2dab01e6e332cc7e2d9c015b51e
[ "MIT" ]
350
2015-01-08T14:15:27.000Z
2022-03-21T18:14:35.000Z
/* * Copyright 2001-2005, Haiku. * Distributed under the terms of the MIT License. * * Authors: * Michael Lotz <mmlr@mlotz.ch> * DarkWyrm <bpmagic@columbus.rr.com> * Stephan Aßmus <superstippi@gmx.de> */ /** Accelerant based HWInterface implementation */ #include <new> #include <malloc.h> #include <stdio.h...
25.256726
143
0.731502
630fb8106444dfd397633e70e32505f31d2df887
1,284
cc
C++
shell/browser/hid/hid_chooser_context_factory.cc
langxiaoxia/electron
b829a5ca9b4d72fe48711bad04c9ca77837cc881
[ "MIT" ]
null
null
null
shell/browser/hid/hid_chooser_context_factory.cc
langxiaoxia/electron
b829a5ca9b4d72fe48711bad04c9ca77837cc881
[ "MIT" ]
null
null
null
shell/browser/hid/hid_chooser_context_factory.cc
langxiaoxia/electron
b829a5ca9b4d72fe48711bad04c9ca77837cc881
[ "MIT" ]
null
null
null
// Copyright (c) 2021 xxlang@grandstream.cn. // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. #include "shell/browser/hid/hid_chooser_context_factory.h" #include "components/keyed_service/content/browser_context_dependency_manager.h" #include "shell/browser/hid/hid_c...
31.317073
101
0.788941
631123fc1ad602aaf6420c5cab1ac9abb3a3016c
1,488
cpp
C++
Greedy Algorithms/maximising multiplication of 3 intigers/cpp/multiplication of 3 intigers.cpp
Kishorsarswat/Algorithms
65aec17dd9ab80a8d299d73c13d110edc409049c
[ "MIT" ]
null
null
null
Greedy Algorithms/maximising multiplication of 3 intigers/cpp/multiplication of 3 intigers.cpp
Kishorsarswat/Algorithms
65aec17dd9ab80a8d299d73c13d110edc409049c
[ "MIT" ]
null
null
null
Greedy Algorithms/maximising multiplication of 3 intigers/cpp/multiplication of 3 intigers.cpp
Kishorsarswat/Algorithms
65aec17dd9ab80a8d299d73c13d110edc409049c
[ "MIT" ]
null
null
null
//problem //Given a vector of integers, find the highest product you can get from three of the integers. //The input vectorOfInts will always have at least three integers. //solution // we want to do it in O(n) instead of O(n3) or O(nlgn) //so we need to follow greedy approach //we are storing 3 highest as well as 2 l...
20.957746
95
0.633065
63142be5ffcd345413fc26a2e08c6b0ada98a8dd
2,474
hpp
C++
expression.hpp
910JQK/EasyCalculator
412904f6a28e10f409f723061638718941412919
[ "MIT" ]
null
null
null
expression.hpp
910JQK/EasyCalculator
412904f6a28e10f409f723061638718941412919
[ "MIT" ]
null
null
null
expression.hpp
910JQK/EasyCalculator
412904f6a28e10f409f723061638718941412919
[ "MIT" ]
null
null
null
#ifndef EASY_CALCULATOR_EXPRESSION_PARSER_HPP #define EASY_CALCULATOR_EXPRESSION_PARSER_HPP #include <regex> #include <string> #include <vector> #include <unordered_map> namespace Expr { extern const std::regex BLANK; enum Associativity { L, R }; template <class T> struct Operator { Associativity as...
33.432432
177
0.694422
63167cdbb65ffc9ba73e31706bb4da5db6ed509d
360
hpp
C++
include/uitsl/mpi/MpiGuard.hpp
perryk12/conduit
3ea055312598353afd465536c8e04cdec1111c8c
[ "MIT" ]
null
null
null
include/uitsl/mpi/MpiGuard.hpp
perryk12/conduit
3ea055312598353afd465536c8e04cdec1111c8c
[ "MIT" ]
1
2020-10-22T20:41:05.000Z
2020-10-22T20:41:05.000Z
include/uitsl/mpi/MpiGuard.hpp
perryk12/conduit
3ea055312598353afd465536c8e04cdec1111c8c
[ "MIT" ]
null
null
null
#pragma once #ifndef UITSL_MPI_MPIGUARD_HPP_INCLUDE #define UITSL_MPI_MPIGUARD_HPP_INCLUDE #include <functional> #include "audited_routines.hpp" #include "mpi_utils.hpp" namespace uitsl { struct MpiGuard { MpiGuard() { uitsl::mpi_init(); } ~MpiGuard() { UITSL_Finalize(); } }; } // namespace uitsl #endif //...
15.652174
48
0.75
631cb35c55d0b3fe1cf8aa567a91933e241dab72
1,775
cc
C++
chrome/browser/ui/website_settings/mock_permission_bubble_view.cc
Wzzzx/chromium-crosswalk
768dde8efa71169f1c1113ca6ef322f1e8c9e7de
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2019-01-28T08:09:58.000Z
2021-11-15T15:32:10.000Z
chrome/browser/ui/website_settings/mock_permission_bubble_view.cc
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
null
null
null
chrome/browser/ui/website_settings/mock_permission_bubble_view.cc
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
6
2020-09-23T08:56:12.000Z
2021-11-18T03:40:49.000Z
// Copyright 2015 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/ui/website_settings/mock_permission_bubble_view.h" #include "base/bind.h" #include "base/run_loop.h" #include "chrome/browser/ui...
29.098361
78
0.760563
6322f86fbb23198e86f7584e107ffe8c1f1ca165
807
cpp
C++
talent/talent.cpp
chenhongqiao/OI-Solutions
009a3c4b713b62658b835b52e0f61f882b5a6ffe
[ "MIT" ]
1
2020-12-15T20:25:21.000Z
2020-12-15T20:25:21.000Z
talent/talent.cpp
chenhongqiao/OI-Solutions
009a3c4b713b62658b835b52e0f61f882b5a6ffe
[ "MIT" ]
null
null
null
talent/talent.cpp
chenhongqiao/OI-Solutions
009a3c4b713b62658b835b52e0f61f882b5a6ffe
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> using namespace std; struct cow { long long w, t; }; cow c[255]; long long dp[1000005]; int main() { //freopen("talent.in", "r", stdin); //freopen("talent.out", "w", stdout); int n, wl; cin >> n >> wl; for (int i = 1; i <= n; i++) { long long w, t; ci...
19.214286
56
0.385378
63294f6ebd9958e2f4745105a11eaefede33bfc4
2,560
hpp
C++
Contrib-Intel/RSD-PSME-RMM/common/ipmi/include/ipmi/command/generic/reserve_sdr_repository.hpp
opencomputeproject/Rack-Manager
e1a61d3eeeba0ff655fe9c1301e8b510d9b2122a
[ "MIT" ]
5
2019-11-11T07:57:26.000Z
2022-03-28T08:26:53.000Z
Contrib-Intel/RSD-PSME-RMM/common/ipmi/include/ipmi/command/generic/reserve_sdr_repository.hpp
opencomputeproject/Rack-Manager
e1a61d3eeeba0ff655fe9c1301e8b510d9b2122a
[ "MIT" ]
3
2019-09-05T21:47:07.000Z
2019-09-17T18:10:45.000Z
Contrib-Intel/RSD-PSME-RMM/common/ipmi/include/ipmi/command/generic/reserve_sdr_repository.hpp
opencomputeproject/Rack-Manager
e1a61d3eeeba0ff655fe9c1301e8b510d9b2122a
[ "MIT" ]
11
2019-07-20T00:16:32.000Z
2022-01-11T14:17:48.000Z
/*! * @brief Declaration of Reserve SDR Repository Request/Response. * * @copyright Copyright (c) 2017-2019 Intel Corporation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at http://ww...
22.857143
86
0.687109
632ad3b0f5994347bc712345fbeeb4f50db41acc
726
cpp
C++
Courses/C++ Without Fear (3rd Ed.) Brian Overland/Chap_5/Ex_5/5.5.1.cpp
mccrudd3n/practise
26a65c0515c9bea7583bcb8f4c0022659b48dcf5
[ "Unlicense" ]
null
null
null
Courses/C++ Without Fear (3rd Ed.) Brian Overland/Chap_5/Ex_5/5.5.1.cpp
mccrudd3n/practise
26a65c0515c9bea7583bcb8f4c0022659b48dcf5
[ "Unlicense" ]
null
null
null
Courses/C++ Without Fear (3rd Ed.) Brian Overland/Chap_5/Ex_5/5.5.1.cpp
mccrudd3n/practise
26a65c0515c9bea7583bcb8f4c0022659b48dcf5
[ "Unlicense" ]
null
null
null
#include <iostream> using namespace std; void move_rings(int n, int src, int dest, int other); void move_a_ring(int src, int dest); int main() { int n; cout << "Enter number of rings" << endl; cin >> n; if (n >= 0) { cout << "Enter a number greater than 0" << endl; cin >> n; ...
22
59
0.530303
632be5bbd31bceb5066acfd2ab4400a1b791341e
1,991
cpp
C++
frameworks/permission_standard/permissioncommunicationadapter/main/cpp/src/ams_adapter.cpp
openharmony-gitee-mirror/security_permission
dd482838bfe697dad1dd40531aa8fca2bd4d6883
[ "Apache-2.0" ]
null
null
null
frameworks/permission_standard/permissioncommunicationadapter/main/cpp/src/ams_adapter.cpp
openharmony-gitee-mirror/security_permission
dd482838bfe697dad1dd40531aa8fca2bd4d6883
[ "Apache-2.0" ]
null
null
null
frameworks/permission_standard/permissioncommunicationadapter/main/cpp/src/ams_adapter.cpp
openharmony-gitee-mirror/security_permission
dd482838bfe697dad1dd40531aa8fca2bd4d6883
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 2021 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
32.639344
106
0.69563
632cc6bf522a5dedb5b911dc4a5c65c753ff18f2
26,057
cpp
C++
m16c_xx/ins.cpp
Damon-V79/IDA_Plugins
71b4bc676f680fbaac7c0768f4d358c0909f0e2e
[ "Apache-2.0" ]
2
2019-07-21T10:07:02.000Z
2020-08-26T12:28:15.000Z
m16c_xx/ins.cpp
Damon-V79/IDA_Plugins
71b4bc676f680fbaac7c0768f4d358c0909f0e2e
[ "Apache-2.0" ]
null
null
null
m16c_xx/ins.cpp
Damon-V79/IDA_Plugins
71b4bc676f680fbaac7c0768f4d358c0909f0e2e
[ "Apache-2.0" ]
null
null
null
/* * ins.cpp * * Created on: 03.06.2011 * Author: User */ #include "M16C_xx.h" instruc_t instructions[ ] = { { "Unknown", 0 }, // Unknown Operation { "ABS.B", CF_CHG1 }...
80.42284
107
0.191849
632dee063f996faac35d807afc63239a68a815dc
4,867
hpp
C++
src/gui/src/core/interfaces/impl/iota-wallet.hpp
MatthewDarnell/iota-simplewallet
aa3449bae3023e292ad47a9fa72213e279367b7a
[ "MIT" ]
1
2020-11-19T07:18:44.000Z
2020-11-19T07:18:44.000Z
src/gui/src/core/interfaces/impl/iota-wallet.hpp
MatthewDarnell/iota-simplewallet
aa3449bae3023e292ad47a9fa72213e279367b7a
[ "MIT" ]
null
null
null
src/gui/src/core/interfaces/impl/iota-wallet.hpp
MatthewDarnell/iota-simplewallet
aa3449bae3023e292ad47a9fa72213e279367b7a
[ "MIT" ]
null
null
null
// Copyright (c) 2018-2019 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef IOTAWALLET_HPP #define IOTAWALLET_HPP #include <interfaces/wallet.h> #include <interfaces/handler.h> #include <QObj...
41.598291
157
0.757345
632e3acbee7d6ebcf18f3270d5b4b6e42b4da882
24
hpp
C++
modules/renderer/include/texture.hpp
hpnrep6/3DModelViewer
4437d9b798fe75f3f6eae33488edc73dda4aaca0
[ "MIT" ]
null
null
null
modules/renderer/include/texture.hpp
hpnrep6/3DModelViewer
4437d9b798fe75f3f6eae33488edc73dda4aaca0
[ "MIT" ]
null
null
null
modules/renderer/include/texture.hpp
hpnrep6/3DModelViewer
4437d9b798fe75f3f6eae33488edc73dda4aaca0
[ "MIT" ]
null
null
null
namespace JRenderer { }
8
21
0.75
632e43a378640c79dee3bfcebf1cdae280511121
3,522
cc
C++
tests/func/test_vec_capacity.cc
kokizzu/ctl
0f2db99f4480c4932b6ba619e2bedec905335738
[ "MIT" ]
983
2020-09-26T04:47:54.000Z
2022-03-31T05:04:32.000Z
tests/func/test_vec_capacity.cc
Lisprez/ctl
435a2e6ba6cc4222e890b4c5993a750d29cb04e3
[ "MIT" ]
14
2020-11-10T00:43:49.000Z
2022-03-05T00:44:17.000Z
tests/func/test_vec_capacity.cc
Lisprez/ctl
435a2e6ba6cc4222e890b4c5993a750d29cb04e3
[ "MIT" ]
51
2020-12-16T03:57:19.000Z
2022-03-23T13:49:10.000Z
#include "../test.h" #include <stdint.h> #define P #define T uint8_t #include <vec.h> #define P #define T uint16_t #include <vec.h> #define P #define T uint32_t #include <vec.h> #define P #define T uint64_t #include <vec.h> #define P #define T float #include <vec.h> #define P #define T double #include <vec.h> #...
29.107438
71
0.500284
6330f885fb0898fec89aa4fc8c9e9aee2dead73e
2,166
cc
C++
tools/binary_size/libsupersize/caspian/grouped_path.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
tools/binary_size/libsupersize/caspian/grouped_path.cc
zealoussnow/chromium
fd8a8914ca0183f0add65ae55f04e287543c7d4a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
113
2015-05-04T09:58:14.000Z
2022-01-31T19:35:03.000Z
tools/binary_size/libsupersize/caspian/grouped_path.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 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 "tools/binary_size/libsupersize/caspian/grouped_path.h" #include <stdint.h> #include <tuple> namespace { // Returns |s| with the last |sep| +...
28.88
77
0.689289
6334ea4c6061af99defb4f96c44f670d042c21f7
9,403
hh
C++
RAVL2/Math/Geometry/Euclidean/2D/Moments2d2.hh
isuhao/ravl2
317e0ae1cb51e320b877c3bad6a362447b5e52ec
[ "BSD-Source-Code" ]
null
null
null
RAVL2/Math/Geometry/Euclidean/2D/Moments2d2.hh
isuhao/ravl2
317e0ae1cb51e320b877c3bad6a362447b5e52ec
[ "BSD-Source-Code" ]
null
null
null
RAVL2/Math/Geometry/Euclidean/2D/Moments2d2.hh
isuhao/ravl2
317e0ae1cb51e320b877c3bad6a362447b5e52ec
[ "BSD-Source-Code" ]
null
null
null
// This file is part of RAVL, Recognition And Vision Library // Copyright (C) 2001, University of Surrey // This code may be redistributed under the terms of the GNU Lesser // General Public License (LGPL). See the lgpl.licence file for details or // see http://www.gnu.org/copyleft/lesser.html // file-header-ends-here...
27.57478
112
0.594704
633a167660be5788cc60862b874c510dd76439a9
855
cpp
C++
apps/src/videostitch-studio-gui/src/commands/spherescalechangedcommand.cpp
tlalexander/stitchEm
cdff821ad2c500703e6cb237ec61139fce7bf11c
[ "MIT" ]
182
2019-04-19T12:38:30.000Z
2022-03-20T16:48:20.000Z
apps/src/videostitch-studio-gui/src/commands/spherescalechangedcommand.cpp
tlalexander/stitchEm
cdff821ad2c500703e6cb237ec61139fce7bf11c
[ "MIT" ]
107
2019-04-23T10:49:35.000Z
2022-03-02T18:12:28.000Z
apps/src/videostitch-studio-gui/src/commands/spherescalechangedcommand.cpp
tlalexander/stitchEm
cdff821ad2c500703e6cb237ec61139fce7bf11c
[ "MIT" ]
59
2019-06-04T11:27:25.000Z
2022-03-17T23:49:49.000Z
// Copyright (c) 2012-2017 VideoStitch SAS // Copyright (c) 2018 stitchEm #include "spherescalechangedcommand.hpp" #include "widgets/outputconfigurationwidget.hpp" #include <QCoreApplication> SphereScaleChangedCommand::SphereScaleChangedCommand(double oldSphereScale, double newSphereScale, ...
38.863636
106
0.761404
633d51fd67d2c7625b3d1550c471b3612264fa25
5,646
cpp
C++
src/Kernel/ResourceImageData.cpp
irov/Mengine
b76e9f8037325dd826d4f2f17893ac2b236edad8
[ "MIT" ]
39
2016-04-21T03:25:26.000Z
2022-01-19T14:16:38.000Z
src/Kernel/ResourceImageData.cpp
irov/Mengine
b76e9f8037325dd826d4f2f17893ac2b236edad8
[ "MIT" ]
23
2016-06-28T13:03:17.000Z
2022-02-02T10:11:54.000Z
src/Kernel/ResourceImageData.cpp
irov/Mengine
b76e9f8037325dd826d4f2f17893ac2b236edad8
[ "MIT" ]
14
2016-06-22T20:45:37.000Z
2021-07-05T12:25:19.000Z
#include "ResourceImageData.h" #include "Interface/ImageCodecInterface.h" #include "Interface/CodecServiceInterface.h" #include "Interface/ConfigServiceInterface.h" #include "Kernel/Logger.h" #include "Kernel/DocumentHelper.h" #include "Kernel/ConstString.h" #include "Kernel/AssertionMemoryPanic.h" #include "Kernel/F...
35.961783
135
0.505136
633f226b759776df06943ecdcf0a51ee31c32c59
958
cpp
C++
BrotBoxEngine/MouseButtons.cpp
siretty/BrotBoxEngine
e1eb95152ffb8a7051e96a8937aa62f568b90a27
[ "MIT" ]
37
2020-06-14T18:14:08.000Z
2022-03-29T18:39:34.000Z
BrotBoxEngine/MouseButtons.cpp
HEX17/BrotBoxEngine
4f8bbe220be022423b94e3b594a3695b87705a70
[ "MIT" ]
2
2021-04-05T15:34:18.000Z
2021-05-28T00:04:56.000Z
BrotBoxEngine/MouseButtons.cpp
HEX17/BrotBoxEngine
4f8bbe220be022423b94e3b594a3695b87705a70
[ "MIT" ]
10
2020-06-25T17:07:03.000Z
2022-03-08T20:31:17.000Z
#include "BBE/MouseButtons.h" #include "BBE/Exceptions.h" bbe::String bbe::mouseButtonToString(MouseButton button) { switch (button) { case MouseButton::LEFT: return bbe::String("MB_LEFT"); case MouseButton::RIGHT: return bbe::String("MB_RIGHT"); case MouseButton::MIDDLE: return bbe::String("MB_MIDDLE"); c...
21.288889
56
0.693111
6342a192baf2b2c8e02b65210518b607600111bd
2,038
cpp
C++
src/MpiOp.cpp
seanmarks/mpi_cpp
a4dda9d310d494272ace08e5e1af2a8a3dc5e029
[ "MIT" ]
null
null
null
src/MpiOp.cpp
seanmarks/mpi_cpp
a4dda9d310d494272ace08e5e1af2a8a3dc5e029
[ "MIT" ]
null
null
null
src/MpiOp.cpp
seanmarks/mpi_cpp
a4dda9d310d494272ace08e5e1af2a8a3dc5e029
[ "MIT" ]
null
null
null
// Written by Sean M. Marks (https://github.com/seanmarks) #include "MpiOp.h" MpiOp::MpiOp(): user_function_ptr_(nullptr), is_commutative_(false) {} MpiOp::MpiOp(const MpiOp& mpi_op) { this->user_function_ptr_ = mpi_op.user_function_ptr_; this->is_commutative_ = mpi_op.is_commutative_; #ifdef MPI_ENABLED if ...
25.160494
79
0.653582
63431b7a0f2b81400ec320b0d1a5f036afc1e326
5,408
hpp
C++
src/standard_sv.hpp
Mohido/Simple_Stereo_Triangulation
17539c50fd308d0f49c9857bd5dbbbdbdcd2fa09
[ "MIT" ]
null
null
null
src/standard_sv.hpp
Mohido/Simple_Stereo_Triangulation
17539c50fd308d0f49c9857bd5dbbbdbdcd2fa09
[ "MIT" ]
null
null
null
src/standard_sv.hpp
Mohido/Simple_Stereo_Triangulation
17539c50fd308d0f49c9857bd5dbbbdbdcd2fa09
[ "MIT" ]
null
null
null
#pragma once #include <opencv2/core.hpp> #include <opencv2/highgui.hpp> #include <opencv2/imgproc.hpp> #include <iostream> #include <stdio.h> #include <vector> #include <string> #include <algorithm> #include <cmath> #include "functions.hpp" /// <summary> /// Caculates the 3D spetial point from the given parameters. ...
31.44186
147
0.612981
63449e76506b4be8758635d31d95c775720fffa0
7,426
cpp
C++
src/segmentation_layer.cpp
lukschwalb/deep_nav_layers
3f63d4c82ac3eb39b3fc73f931ecdc1499cf4722
[ "BSD-3-Clause" ]
null
null
null
src/segmentation_layer.cpp
lukschwalb/deep_nav_layers
3f63d4c82ac3eb39b3fc73f931ecdc1499cf4722
[ "BSD-3-Clause" ]
null
null
null
src/segmentation_layer.cpp
lukschwalb/deep_nav_layers
3f63d4c82ac3eb39b3fc73f931ecdc1499cf4722
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved. // Full license terms provided in LICENSE.md file. #include <ros/package.h> #include <deep_nav_layers/segmentation_layer.h> #include <pluginlib/class_list_macros.h> #include <cv_bridge/cv_bridge.h> #include<costmap_2d/costmap_layer.h> #include <math.h> P...
32.570175
126
0.680986
6347e35acc79940a0ec5d49634264866130d974f
1,759
cpp
C++
src/Game/CHighScoreList.cpp
kenluck2001/2DGameFrameWork
4064b0397240f66250099995157e65f2ee3ecff9
[ "MIT" ]
1
2016-07-22T17:32:38.000Z
2016-07-22T17:32:38.000Z
src/Game/CHighScoreList.cpp
kenluck2001/2DGameFrameWork
4064b0397240f66250099995157e65f2ee3ecff9
[ "MIT" ]
null
null
null
src/Game/CHighScoreList.cpp
kenluck2001/2DGameFrameWork
4064b0397240f66250099995157e65f2ee3ecff9
[ "MIT" ]
null
null
null
// ============================= // SDL Programming // Name: ODOH KENNETH EMEKA // Student id: 0902024 // Task 18 // ============================= #include "CHighScoreList.h" #include <fstream> #include <string> #include <sstream> #include <stdexcept> ///////////////////////////////////////////////////////////////////...
24.430556
80
0.430358
634a66eb2fb62de35ceb1659257be7ca6d005f1d
42
cpp
C++
src/LlvmVal.cpp
djmzp/OrbLang
65b82cb614b39a1946cfa04d042880b7b36412c1
[ "MIT" ]
29
2020-11-19T16:07:45.000Z
2022-01-24T09:58:59.000Z
src/LlvmVal.cpp
djmzp/OrbLang
65b82cb614b39a1946cfa04d042880b7b36412c1
[ "MIT" ]
null
null
null
src/LlvmVal.cpp
djmzp/OrbLang
65b82cb614b39a1946cfa04d042880b7b36412c1
[ "MIT" ]
5
2021-01-06T11:46:59.000Z
2022-02-06T03:41:50.000Z
#include "LlvmVal.h" using namespace std;
14
20
0.761905
634b5836f2522a30c4a13c13513b1b930f0a6b76
1,110
cpp
C++
homework/Shevtsov/10/main.cpp
mtrempoltsev/msu_cpp_autumn_2017
0e87491dc117670b99d2ca2f7e1c5efbc425ae1c
[ "MIT" ]
10
2017-09-21T15:17:33.000Z
2021-01-11T13:11:55.000Z
homework/Shevtsov/10/main.cpp
mtrempoltsev/msu_cpp_autumn_2017
0e87491dc117670b99d2ca2f7e1c5efbc425ae1c
[ "MIT" ]
null
null
null
homework/Shevtsov/10/main.cpp
mtrempoltsev/msu_cpp_autumn_2017
0e87491dc117670b99d2ca2f7e1c5efbc425ae1c
[ "MIT" ]
22
2017-09-21T15:45:08.000Z
2019-02-21T19:15:25.000Z
#include <iostream> #include <thread> #include <mutex> #include <condition_variable> std::mutex M; std::condition_variable threadready; // Условная переменная - позволяет блокировать один или более потоков, // пока не произойдет некое определенное действие (например, уведомлние // от другого потока) // Идея: // Ожид...
24.666667
86
0.733333
634b64c75154a938ff8b169543b02b5d5e81148c
4,075
cpp
C++
src/ui/widgets/WidgetList.cpp
ChillstepCoder/Vorb
f74c0cfa3abde4fed0e9ec9d936b23c5210ba2ba
[ "MIT" ]
65
2018-06-03T23:09:46.000Z
2021-07-22T22:03:34.000Z
src/ui/widgets/WidgetList.cpp
ChillstepCoder/Vorb
f74c0cfa3abde4fed0e9ec9d936b23c5210ba2ba
[ "MIT" ]
8
2018-06-20T17:21:30.000Z
2020-06-30T01:06:26.000Z
src/ui/widgets/WidgetList.cpp
ChillstepCoder/Vorb
f74c0cfa3abde4fed0e9ec9d936b23c5210ba2ba
[ "MIT" ]
34
2018-06-04T03:40:52.000Z
2022-02-15T07:02:05.000Z
#include "Vorb/stdafx.h" #include "Vorb/ui/widgets/WidgetList.h" vui::WidgetList::WidgetList() : Widget(), m_spacing(10.0f), m_maxHeight(FLT_MAX) { // Empty } vui::WidgetList::~WidgetList() { // Empty } void vui::WidgetList::initBase() { m_panel.init(this, getName() + "_panel"); m_panel....
26.121795
152
0.628712
634c0bede4bb3788285d7582d75feea8c10f3c1e
233
cpp
C++
A/546/main.cpp
ABGEO07/ABGEOs_CodeForces_Projects
62bf1dc50d435c1f8d2033577e98cf332373b1f8
[ "MIT" ]
null
null
null
A/546/main.cpp
ABGEO07/ABGEOs_CodeForces_Projects
62bf1dc50d435c1f8d2033577e98cf332373b1f8
[ "MIT" ]
null
null
null
A/546/main.cpp
ABGEO07/ABGEOs_CodeForces_Projects
62bf1dc50d435c1f8d2033577e98cf332373b1f8
[ "MIT" ]
null
null
null
#include <iostream> using namespace std; int main() { int k, n, w, total(0); cin >> k >> n >> w; for (int i(0); i <= w; i++) total = total + k * i; if ((total - n) > 0) cout << total - n; else cout << 0; return 0; }
11.65
28
0.493562
63531c43da4d6cd926718a4b27d437150bdd83aa
2,651
cpp
C++
common/lock.cpp
raddinet/raddi
87e4996dda8ccc0591ffecbd8d717a1a2947e8a9
[ "MIT" ]
39
2018-05-20T14:08:46.000Z
2022-02-23T15:46:03.000Z
common/lock.cpp
raddinet/raddi
87e4996dda8ccc0591ffecbd8d717a1a2947e8a9
[ "MIT" ]
null
null
null
common/lock.cpp
raddinet/raddi
87e4996dda8ccc0591ffecbd8d717a1a2947e8a9
[ "MIT" ]
3
2019-02-26T21:00:19.000Z
2022-02-03T22:30:52.000Z
#include "lock.h" namespace { void WINAPI defaultCsInit (void ** object) { auto cs = new CRITICAL_SECTION; InitializeCriticalSectionAndSpinCount (cs, 32); *object = cs; } void WINAPI defaultInit (void ** object) { if (!lock::initialize ()) { defaultCsInit (object...
36.315068
139
0.612976
6353231b679b3c06924d1ffb4cd1d140be4ff834
38
cpp
C++
BASIC c++/beginning_with_cpp/token_structure_controlstructure/exercise-3.7_cosx.cpp
jattramesh/Learning_git
5191ecc6c0c11b69b9786f2a8bdd3db7228987d6
[ "MIT" ]
null
null
null
BASIC c++/beginning_with_cpp/token_structure_controlstructure/exercise-3.7_cosx.cpp
jattramesh/Learning_git
5191ecc6c0c11b69b9786f2a8bdd3db7228987d6
[ "MIT" ]
null
null
null
BASIC c++/beginning_with_cpp/token_structure_controlstructure/exercise-3.7_cosx.cpp
jattramesh/Learning_git
5191ecc6c0c11b69b9786f2a8bdd3db7228987d6
[ "MIT" ]
null
null
null
// // Created by rahul on 21/7/19. //
9.5
31
0.552632
6353c29a3c7fe363c05bd1534b30355b5b51dd5f
4,180
cpp
C++
Project3/test.cpp
jehalladay/Theory-of-Algorithms
fa35ed1a3c40e45a3b97c93a44e96532b91fb1b5
[ "MIT" ]
null
null
null
Project3/test.cpp
jehalladay/Theory-of-Algorithms
fa35ed1a3c40e45a3b97c93a44e96532b91fb1b5
[ "MIT" ]
null
null
null
Project3/test.cpp
jehalladay/Theory-of-Algorithms
fa35ed1a3c40e45a3b97c93a44e96532b91fb1b5
[ "MIT" ]
null
null
null
/* Project 3 - Hashtable and Heapsort James Halladay Theory of Algorithms 10/9/2021 This program will test the various functions and methods used to create this project */ #include <iostream> #include <string> #include <fstream> #include "hash.h" #include "heap.h" #include "utility.h" using...
33.44
102
0.615311
6353f342631d0cf7cb7ca49235e5e5311823921b
2,153
cc
C++
content/browser/renderer_host/input/synthetic_pointer_action.cc
Wzzzx/chromium-crosswalk
768dde8efa71169f1c1113ca6ef322f1e8c9e7de
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2019-01-28T08:09:58.000Z
2021-11-15T15:32:10.000Z
content/browser/renderer_host/input/synthetic_pointer_action.cc
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
null
null
null
content/browser/renderer_host/input/synthetic_pointer_action.cc
maidiHaitai/haitaibrowser
a232a56bcfb177913a14210e7733e0ea83a6b18d
[ "BSD-3-Clause" ]
6
2020-09-23T08:56:12.000Z
2021-11-18T03:40:49.000Z
// Copyright 2015 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/input/synthetic_pointer_action.h" #include "base/logging.h" #include "third_party/WebKit/public/web/WebInputEvent...
35.883333
80
0.748723
636003c01d42140517efea949c39a554c92031c4
6,134
cpp
C++
src/RichText.cpp
ApertaTeam/utengine
e641a76b6c0042a4b581f1ec51798b74f2bb5293
[ "MIT" ]
1
2019-06-19T10:19:33.000Z
2019-06-19T10:19:33.000Z
src/RichText.cpp
ApertaTeam/utengine
e641a76b6c0042a4b581f1ec51798b74f2bb5293
[ "MIT" ]
null
null
null
src/RichText.cpp
ApertaTeam/utengine
e641a76b6c0042a4b581f1ec51798b74f2bb5293
[ "MIT" ]
1
2019-06-19T09:00:15.000Z
2019-06-19T09:00:15.000Z
#include "RichText.h" #include <sstream> #include <vector> #include <stdlib.h> #include <cmath> #include <iostream> namespace UT { RichText::RichText() { this->font = NULL; this->rawText = ""; this->renderPosition = { 0, 0 }; this->monospacing = -1; this->renderOffset = ...
34.077778
153
0.3955
636cb1c86daef7a48964faa4c74f074c64edc9d1
306
hpp
C++
math/totient.hpp
matumoto1234/library
a2c80516a8afe5876696c139fe0e837d8a204f69
[ "Unlicense" ]
2
2021-06-24T11:21:08.000Z
2022-03-15T05:57:25.000Z
math/totient.hpp
matumoto1234/library
a2c80516a8afe5876696c139fe0e837d8a204f69
[ "Unlicense" ]
102
2021-10-30T21:30:00.000Z
2022-03-26T18:39:47.000Z
math/totient.hpp
matumoto1234/library
a2c80516a8afe5876696c139fe0e837d8a204f69
[ "Unlicense" ]
null
null
null
#pragma once #include "./base.hpp" namespace math { ll totient(ll n) { ll res = n; for (ll i = 2; i * i <= n; i++) { if (n % i == 0) { res -= res / i; while (n % i == 0) n /= i; } } if (n > 1) res -= res / n; return res; } } // namespace math
17
37
0.395425
636fabe2c052b4b43579806cf9463cf3c67c6d95
466
cpp
C++
detail/os/reactor/iocp/wsa_activator.cpp
wembikon/baba.io
87bec680c1febb64356af59e7e499c2b2b64d30c
[ "MIT" ]
null
null
null
detail/os/reactor/iocp/wsa_activator.cpp
wembikon/baba.io
87bec680c1febb64356af59e7e499c2b2b64d30c
[ "MIT" ]
1
2020-06-12T10:22:09.000Z
2020-06-12T10:22:09.000Z
detail/os/reactor/iocp/wsa_activator.cpp
wembikon/baba.io
87bec680c1febb64356af59e7e499c2b2b64d30c
[ "MIT" ]
null
null
null
/** * MIT License * Copyright (c) 2020 Adrian T. Visarra **/ #include "os/reactor/iocp/wsa_activator.h" #include "baba/logger.h" #include <cstdlib> namespace baba::os { wsa_activator::wsa_activator() : _data{0} { if (int result = WSAStartup(MAKEWORD(2, 2), &_data); result != 0) { LOGFTL("WSA...
20.26087
70
0.61588
6372daa8a7657bd5527e7d405f63b87b60020e6d
1,775
cpp
C++
Dataset/Leetcode/train/13/890.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/13/890.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/13/890.cpp
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution { public: int XXX(string s) { int temp1=0; int temp=0; int sum =0; for(int i=0; i<s.length();i++) { switch(s[i]) { case 'I': temp=1; if(i<(s.length()-1)&&s[i+1]=='V') ...
23.051948
53
0.19493
63764c869d04378fabcef48ae6faa69e5a49aa8b
963
hpp
C++
src/Homie/Boot/BootConfig.hpp
neo164/wi-fi-iot
dad284b235c5540897585e81c56be58136121b52
[ "MIT" ]
null
null
null
src/Homie/Boot/BootConfig.hpp
neo164/wi-fi-iot
dad284b235c5540897585e81c56be58136121b52
[ "MIT" ]
null
null
null
src/Homie/Boot/BootConfig.hpp
neo164/wi-fi-iot
dad284b235c5540897585e81c56be58136121b52
[ "MIT" ]
null
null
null
#pragma once #include <functional> #include <ESP8266WiFi.h> #include <ESP8266WebServer.h> #include <DNSServer.h> #include <ArduinoJson.h> #include "Boot.hpp" #include "../Config.hpp" #include "../Constants.hpp" #include "../Limits.hpp" #include "../Datatypes/Interface.hpp" #include "../Timer.hpp" #include "../Helpers....
22.928571
40
0.669782
637798f0f22b2ed2ed3b8043dd7b9a62996f97a9
10,542
cpp
C++
libs/libsmlibraries/tests/testlibsmlibraries/testbcp47languages.cpp
simonmeaden/EPubEdit
52f4fa0bab9f271db3b06b7d87575cc23a0bdf9c
[ "MIT" ]
null
null
null
libs/libsmlibraries/tests/testlibsmlibraries/testbcp47languages.cpp
simonmeaden/EPubEdit
52f4fa0bab9f271db3b06b7d87575cc23a0bdf9c
[ "MIT" ]
null
null
null
libs/libsmlibraries/tests/testlibsmlibraries/testbcp47languages.cpp
simonmeaden/EPubEdit
52f4fa0bab9f271db3b06b7d87575cc23a0bdf9c
[ "MIT" ]
null
null
null
#include "testbcp47languages.h" namespace { BCP47LanguagesTest::BCP47LanguagesTest() : configDir( QDir(QStandardPaths::writableLocation(QStandardPaths::AppConfigLocation))) , libraryDir(QDir(Paths::join( QStandardPaths::writableLocation(QStandardPaths::AppDataLocation), "library"))) , configFi...
36.477509
80
0.712294
6377d2fb0384303102edd14d113ae597fddb47db
28,333
hpp
C++
src/matrix.hpp
degarashi/frea
bb598245c2ab710cc816e98d7361e5863af5fd7e
[ "MIT" ]
null
null
null
src/matrix.hpp
degarashi/frea
bb598245c2ab710cc816e98d7361e5863af5fd7e
[ "MIT" ]
null
null
null
src/matrix.hpp
degarashi/frea
bb598245c2ab710cc816e98d7361e5863af5fd7e
[ "MIT" ]
null
null
null
#pragma once #include "vector.hpp" #include "angle.hpp" #include "lubee/src/meta/compare.hpp" #include "lubee/src/ieee754.hpp" #include "exception.hpp" namespace frea { template <class VW, int M> using wrapM_t = wrapM_spec<VW, M, VW::size>; // ベクトル演算レジスタクラスをM方向に束ねたもの /*! \tparam VW 各行のベクトル型 \tparam M 行数 \...
29.421599
114
0.60156
6379528fa1e38bf77ede17d16b81d8d5b6e5f177
334
cpp
C++
2676/2676.cpp14.cpp
isac322/BOJ
35959dd1a63d75ebca9ed606051f7a649d5c0c7b
[ "MIT" ]
14
2017-05-02T02:00:42.000Z
2021-11-16T07:25:29.000Z
2676/2676.cpp14.cpp
isac322/BOJ
35959dd1a63d75ebca9ed606051f7a649d5c0c7b
[ "MIT" ]
1
2017-12-25T14:18:14.000Z
2018-02-07T06:49:44.000Z
2676/2676.cpp14.cpp
isac322/BOJ
35959dd1a63d75ebca9ed606051f7a649d5c0c7b
[ "MIT" ]
9
2016-03-03T22:06:52.000Z
2020-04-30T22:06:24.000Z
#include <cstdio> int main() { int t, n, m; scanf("%d", &t); while (t--) { scanf("%d%d", &n, &m); if (n < 0 || m < 0 || m > n) puts("0"); else if (!m || n == m) puts("1"); else { int dif = m - 1; if (m > n / 2) m = n - 1 - m; for (int i = 0, c = n - 3; i < dif; i++, c -= 2) n += c; printf("%d\n"...
19.647059
59
0.374251
6380d83a6ab7344c5e7f4711fa2df71dbf93c7fb
174
cxx
C++
projects/TemplateAnalysis/examples/inspect-autovar/test-005.cxx
ouankou/rose
76f2a004bd6d8036bc24be2c566a14e33ba4f825
[ "BSD-3-Clause" ]
488
2015-01-09T08:54:48.000Z
2022-03-30T07:15:46.000Z
projects/TemplateAnalysis/examples/inspect-autovar/test-005.cxx
WildeGeist/rose
17db6454e8baba0014e30a8ec23df1a11ac55a0c
[ "BSD-3-Clause" ]
174
2015-01-28T18:41:32.000Z
2022-03-31T16:51:05.000Z
projects/TemplateAnalysis/examples/inspect-autovar/test-005.cxx
WildeGeist/rose
17db6454e8baba0014e30a8ec23df1a11ac55a0c
[ "BSD-3-Clause" ]
146
2015-04-27T02:48:34.000Z
2022-03-04T07:32:53.000Z
template <typename T> struct A { void foo() { T v; } }; template <typename T> struct B { typedef T type; }; void bar() { A<float> v; B< A<int> >::type w; }
9.157895
22
0.534483
6382661cb6f4376c759b0f4840a3018570268b4d
204
hpp
C++
src/GUI/Console.hpp
370rokas/MediaServer
9a74d2a77a2af499ebf9357c2bdb6e70375ad072
[ "MIT" ]
1
2022-03-11T20:09:27.000Z
2022-03-11T20:09:27.000Z
src/GUI/Console.hpp
370rokas/MediaServer
9a74d2a77a2af499ebf9357c2bdb6e70375ad072
[ "MIT" ]
null
null
null
src/GUI/Console.hpp
370rokas/MediaServer
9a74d2a77a2af499ebf9357c2bdb6e70375ad072
[ "MIT" ]
null
null
null
// // Created by rokas on 3/12/22. // #ifndef WUSEMEDIASERVER_CONSOLE_HPP #define WUSEMEDIASERVER_CONSOLE_HPP class Console { public: void Run(); private: }; #endif //WUSEMEDIASERVER_CONSOLE_HPP
12
36
0.740196
63836f176f9bfa85e118a527b5c73e7f8980c5ed
4,501
cpp
C++
src/nnfusion/core/kernels/cuda_gpu/util/gpu_util.cpp
lynex/nnfusion
6332697c71b6614ca6f04c0dac8614636882630d
[ "MIT" ]
639
2020-09-05T10:00:59.000Z
2022-03-30T08:42:39.000Z
src/nnfusion/core/kernels/cuda_gpu/util/gpu_util.cpp
QPC-database/nnfusion
99ada47c50f355ca278001f11bc752d1c7abcee2
[ "MIT" ]
252
2020-09-09T05:35:36.000Z
2022-03-29T04:58:41.000Z
src/nnfusion/core/kernels/cuda_gpu/util/gpu_util.cpp
QPC-database/nnfusion
99ada47c50f355ca278001f11bc752d1c7abcee2
[ "MIT" ]
104
2020-09-05T10:01:08.000Z
2022-03-23T10:59:13.000Z
//***************************************************************************** // Copyright 2017-2020 Intel Corporation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://w...
33.842105
93
0.565874
638a64d0087e85458287c8af5b72311314ac2c05
2,448
hpp
C++
vm/test/test_vm_native_library.hpp
marnen/rubinius
05b3f9789d01bada0604a7f09921c956bc9487e7
[ "BSD-3-Clause" ]
1
2016-05-08T16:58:14.000Z
2016-05-08T16:58:14.000Z
vm/test/test_vm_native_library.hpp
taf2/rubinius
493bfa2351fc509ca33d3bb03991c2e9c2b6dafa
[ "BSD-3-Clause" ]
null
null
null
vm/test/test_vm_native_library.hpp
taf2/rubinius
493bfa2351fc509ca33d3bb03991c2e9c2b6dafa
[ "BSD-3-Clause" ]
null
null
null
#include <cstdlib> #include "native_libraries.hpp" #include "builtin/exception.hpp" #include <cxxtest/TestSuite.h> using namespace rubinius; class TestNativeLibrary : public CxxTest::TestSuite { public: VM* state_; const char* lib_name_; void setUp() { state_ = new VM(); lib_name_ = ::getenv("LIB...
28.465116
80
0.665033
638c78a037194448ecae1ba50747e6a9ba4e3c4f
1,056
hpp
C++
rds_gui_ros/src/rds_gui_ros_node.hpp
epfl-lasa/rds
574b3881dbaf4fdcd785dd96ba4c451928454b40
[ "MIT" ]
12
2020-08-18T09:01:50.000Z
2022-03-17T19:53:30.000Z
rds_gui_ros/src/rds_gui_ros_node.hpp
epfl-lasa/rds
574b3881dbaf4fdcd785dd96ba4c451928454b40
[ "MIT" ]
null
null
null
rds_gui_ros/src/rds_gui_ros_node.hpp
epfl-lasa/rds
574b3881dbaf4fdcd785dd96ba4c451928454b40
[ "MIT" ]
1
2021-08-25T13:12:55.000Z
2021-08-25T13:12:55.000Z
#ifndef RDS_GUI_ROS_NODE_HPP #define RDS_GUI_ROS_NODE_HPP #include <rds/gui.hpp> #include <rds/geometry.hpp> #include <rds_network_ros/ToGui.h> #include <ros/ros.h> struct RDSGUIROSNode { RDSGUIROSNode(ros::NodeHandle* n); void toGuiMessageCallback(const rds_network_ros::ToGui::ConstPtr& to_gui_msg); GUI gui_c...
28.540541
116
0.805871
638ca6cb52621f723ba8044101e0cd0594c94b99
35,119
cpp
C++
Source/WebKit/UIProcess/WebStorage/StorageManager.cpp
ijsf/DeniseEmbeddableWebKit
57dfc6783d60f8f59b7129874e60f84d8c8556c9
[ "BSD-3-Clause" ]
1
2021-05-27T07:29:31.000Z
2021-05-27T07:29:31.000Z
WebKit2-7604.1.38.0.7/WebKit2-7604.1.38.0.7/UIProcess/Storage/StorageManager.cpp
mlcldh/appleWebKit2
39cc42a4710c9319c8da269621844493ab2ccdd6
[ "MIT" ]
9
2020-04-18T18:47:18.000Z
2020-04-18T18:52:41.000Z
Source/WebKit/UIProcess/WebStorage/StorageManager.cpp
ijsf/DeniseEmbeddableWebKit
57dfc6783d60f8f59b7129874e60f84d8c8556c9
[ "BSD-3-Clause" ]
null
null
null
/* * Copyright (C) 2013-2016 Apple Inc. 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 * notice, this list of conditi...
40.274083
226
0.749822
b0cb1dd84798548af5cb2e00bdcf13311013f1ed
1,419
hpp
C++
source/framework/core/include/lue/framework/core/debug.hpp
computationalgeography/lue
71993169bae67a9863d7bd7646d207405dc6f767
[ "MIT" ]
2
2021-02-26T22:45:56.000Z
2021-05-02T10:28:48.000Z
source/framework/core/include/lue/framework/core/debug.hpp
pcraster/lue
e64c18f78a8b6d8a602b7578a2572e9740969202
[ "MIT" ]
262
2016-08-11T10:12:02.000Z
2020-10-13T18:09:16.000Z
source/framework/core/include/lue/framework/core/debug.hpp
computationalgeography/lue
71993169bae67a9863d7bd7646d207405dc6f767
[ "MIT" ]
1
2020-03-11T09:49:41.000Z
2020-03-11T09:49:41.000Z
#pragma once #include <hpx/future.hpp> #include <fmt/format.h> #include <string> namespace lue { hpx::future<std::string> system_description(); void write_debug_message (std::string const& message); template< typename Class> std::string describe (Class const& instance); templa...
19.175676
72
0.569415
b0cc3f4253c3add683bfa3768d9ed44bcf883f99
279
cpp
C++
CPP/HelloCpp2/chapter_20/Inheritance2.cpp
hrntsm/study-language
922578a5321d70c26b935e6052f400125e15649c
[ "MIT" ]
1
2022-02-06T10:50:42.000Z
2022-02-06T10:50:42.000Z
CPP/HelloCpp2/chapter_20/Inheritance2.cpp
hrntsm/study-language
922578a5321d70c26b935e6052f400125e15649c
[ "MIT" ]
null
null
null
CPP/HelloCpp2/chapter_20/Inheritance2.cpp
hrntsm/study-language
922578a5321d70c26b935e6052f400125e15649c
[ "MIT" ]
null
null
null
#include<iostream> using namespace std; class Kitty { public: void nyan() { cout << "Kitty on your lap\n";} }; class Di_Gi_Gharat : public Kitty{ public: void nyan() {cout << "Di Gi Gharat\n";} } obj; int main(){ obj.nyan(); obj.Kitty::nyan(); return 0; }
14.684211
49
0.602151
b0cc4ae220c4645885fe9741eae45887b880a64f
4,321
cpp
C++
Source/10.0.18362.0/ucrt/mbstring/mbsnbicm.cpp
825126369/UCRT
8853304fdc2a5c216658d08b6dbbe716aa2a7b1f
[ "MIT" ]
2
2021-01-27T10:19:30.000Z
2021-02-09T06:24:30.000Z
Source/10.0.18362.0/ucrt/mbstring/mbsnbicm.cpp
825126369/UCRT
8853304fdc2a5c216658d08b6dbbe716aa2a7b1f
[ "MIT" ]
null
null
null
Source/10.0.18362.0/ucrt/mbstring/mbsnbicm.cpp
825126369/UCRT
8853304fdc2a5c216658d08b6dbbe716aa2a7b1f
[ "MIT" ]
1
2021-01-27T10:19:36.000Z
2021-01-27T10:19:36.000Z
/*** *mbsnbicmp.c - Compare n bytes of strings, ignoring case (MBCS) * * Copyright (c) Microsoft Corporation. All rights reserved. * *Purpose: * Compare n bytes of strings, ignoring case (MBCS) * *******************************************************************************/ #ifndef _MBCS #error This ...
32.246269
88
0.466559
b0d25380809b7cc2844bded6b1a7fd679832d734
307
cpp
C++
src/file.cpp
literallyvoid/residue
1cd6e7bf1e2cb59ebbe081481c6e0f215516f7f8
[ "MIT" ]
null
null
null
src/file.cpp
literallyvoid/residue
1cd6e7bf1e2cb59ebbe081481c6e0f215516f7f8
[ "MIT" ]
null
null
null
src/file.cpp
literallyvoid/residue
1cd6e7bf1e2cb59ebbe081481c6e0f215516f7f8
[ "MIT" ]
null
null
null
#include <fstream> #include <sstream> #include "file.h" std::string readFile(std::string filename) { std::ifstream in(filename, std::ios::in | std::ios::binary); if (in) { std::ostringstream contents; contents << in.rdbuf(); in.close(); return(contents.str()); } throw(errno); }
18.058824
62
0.625407
b0d50eca9eba291146ff50b299354b6cfe439952
3,002
cpp
C++
implementations/Bullet/MotionState.cpp
ronsaldo/abstract-physics
dbc23a57bfa369139c786071b2a6db4e84bb16fe
[ "MIT" ]
10
2016-12-11T04:54:18.000Z
2022-02-27T18:12:18.000Z
implementations/Bullet/MotionState.cpp
ronsaldo/abstract-physics
dbc23a57bfa369139c786071b2a6db4e84bb16fe
[ "MIT" ]
null
null
null
implementations/Bullet/MotionState.cpp
ronsaldo/abstract-physics
dbc23a57bfa369139c786071b2a6db4e84bb16fe
[ "MIT" ]
null
null
null
#include "MotionState.hpp" #include "Utility.hpp" namespace APhyBullet { BulletMotionState::BulletMotionState(btMotionState *handle) : handle(handle) { } BulletMotionState::~BulletMotionState() { delete handle; } aphy_transform BulletMotionState::getTransform() { btTransform transform; handle->getWo...
22.916031
72
0.763824
b0d526cd22b7e4926d772c949b8f8a0977a99cc3
5,496
cpp
C++
examples/abcinvaders/rays.cpp
pi-etro/abc-invaders
72e45b9ad71b03560207ff15c94be713cfd1a682
[ "MIT" ]
null
null
null
examples/abcinvaders/rays.cpp
pi-etro/abc-invaders
72e45b9ad71b03560207ff15c94be713cfd1a682
[ "MIT" ]
null
null
null
examples/abcinvaders/rays.cpp
pi-etro/abc-invaders
72e45b9ad71b03560207ff15c94be713cfd1a682
[ "MIT" ]
1
2021-10-31T01:28:14.000Z
2021-10-31T01:28:14.000Z
#include "rays.hpp" #include <cppitertools/itertools.hpp> #include <glm/gtx/rotate_vector.hpp> void Rays::initializeGL(GLuint program) { terminateGL(); // start pseudo-random number generator m_randomEngine.seed( std::chrono::steady_clock::now().time_since_epoch().count()); m_program = program; m_co...
29.548387
80
0.589156
b0d98e82d35ae57ab6a8db0755b711319ed10ba6
1,218
cpp
C++
Plugins/org.blueberry.core.runtime/src/berryIBerryPreferences.cpp
gaoxiaojun/minircp
fe20201a768515cd0387f0b76a16c0c766cf939d
[ "BSD-3-Clause" ]
5
2015-02-05T10:58:41.000Z
2019-04-17T15:04:07.000Z
Plugins/org.blueberry.core.runtime/src/berryIBerryPreferences.cpp
wyyrepo/MITK
d0837f3d0d44f477b888ec498e9a2ed407e79f20
[ "BSD-3-Clause" ]
141
2015-03-03T06:52:01.000Z
2020-12-10T07:28:14.000Z
Plugins/org.blueberry.core.runtime/src/berryIBerryPreferences.cpp
wyyrepo/MITK
d0837f3d0d44f477b888ec498e9a2ed407e79f20
[ "BSD-3-Clause" ]
4
2015-02-19T06:48:13.000Z
2020-06-19T16:20:25.000Z
/*=================================================================== BlueBerry Platform Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS...
22.145455
95
0.665846
b0db5924fca9ef1988ac57895c13e266691e9fae
1,684
cpp
C++
Samples/SampleEditorUI/SampleEditorUI.cpp
AlexSabourinDev/IceBox
9226e15fc5e78e68c0d92ceea51996fdeab36ca7
[ "MIT" ]
3
2020-09-22T15:56:07.000Z
2022-02-08T23:54:50.000Z
Samples/SampleEditorUI/SampleEditorUI.cpp
AlexSabourinDev/IceBox
9226e15fc5e78e68c0d92ceea51996fdeab36ca7
[ "MIT" ]
37
2020-09-21T17:00:17.000Z
2022-02-10T00:30:59.000Z
Samples/SampleEditorUI/SampleEditorUI.cpp
AlexSabourinDev/IceBox
9226e15fc5e78e68c0d92ceea51996fdeab36ca7
[ "MIT" ]
3
2020-10-04T00:46:31.000Z
2022-02-09T00:05:36.000Z
#include <IBEngine/IBRenderer.h> #include <IBEngine/IBRendererFrontend.h> #include <IBEngine/IBSerialization.h> #include <IBEngine/IBLogging.h> #include <IBEngine/IBPlatform.h> #include <imgui/imgui.h> int main() { IB::WindowDesc winDesc = {}; winDesc.Name = "Ice Box"; winDesc.Width = 1024; winDesc.He...
26.730159
122
0.610451
b0e087b548cb6df0d04f44e3f91c2daa82296873
438
cpp
C++
src/publisher/distributions_publisher.cpp
doge-of-the-day/cslibs_mapping
f8c9790ef0148c26792ad5af7086db792f693955
[ "BSD-3-Clause" ]
36
2018-11-13T09:45:17.000Z
2022-01-04T00:46:45.000Z
src/publisher/distributions_publisher.cpp
doge-of-the-day/cslibs_mapping
f8c9790ef0148c26792ad5af7086db792f693955
[ "BSD-3-Clause" ]
7
2019-04-29T08:15:19.000Z
2022-02-20T17:07:09.000Z
src/publisher/distributions_publisher.cpp
doge-of-the-day/cslibs_mapping
f8c9790ef0148c26792ad5af7086db792f693955
[ "BSD-3-Clause" ]
19
2018-05-19T06:45:49.000Z
2022-01-04T00:46:50.000Z
#include "distributions_publisher.h" #include <class_loader/register_macro.hpp> CLASS_LOADER_REGISTER_CLASS(cslibs_mapping::publisher::DistributionsPublisher, cslibs_mapping::publisher::Publisher) CLASS_LOADER_REGISTER_CLASS(cslibs_mapping::publisher::DistributionsPublisher_d, cslibs_mapping::publisher::Publisher) C...
62.571429
118
0.874429
b0e36556bc0154e91df605d98e8963ae2ad0f877
4,032
cpp
C++
activemq-cpp/src/test/decaf/util/zip/CheckedOutputStreamTest.cpp
novomatic-tech/activemq-cpp
d6f76ede90d21b7ee2f0b5d4648e440e66d63003
[ "Apache-2.0" ]
87
2015-03-02T17:58:20.000Z
2022-02-11T02:52:52.000Z
activemq-cpp/src/test/decaf/util/zip/CheckedOutputStreamTest.cpp
novomatic-tech/activemq-cpp
d6f76ede90d21b7ee2f0b5d4648e440e66d63003
[ "Apache-2.0" ]
3
2017-06-14T15:21:50.000Z
2020-08-03T19:51:57.000Z
activemq-cpp/src/test/decaf/util/zip/CheckedOutputStreamTest.cpp
novomatic-tech/activemq-cpp
d6f76ede90d21b7ee2f0b5d4648e440e66d63003
[ "Apache-2.0" ]
71
2015-04-28T06:04:04.000Z
2022-03-15T13:34:06.000Z
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
36
98
0.599454
b0e6163b32274371f06357425c6645c9ce4a2eda
5,262
cpp
C++
src/Orbit/Graphics/Geometry/Mesh.cpp
Gaztin/Orb
4589f3f0165d287482ab4b367f02633ea4e7c9a5
[ "Zlib" ]
41
2018-08-02T06:28:07.000Z
2022-01-20T01:23:42.000Z
src/Orbit/Graphics/Geometry/Mesh.cpp
Gaztin/Orb
4589f3f0165d287482ab4b367f02633ea4e7c9a5
[ "Zlib" ]
4
2020-02-11T22:10:31.000Z
2020-07-06T19:36:09.000Z
src/Orbit/Graphics/Geometry/Mesh.cpp
Gaztin/Orb
4589f3f0165d287482ab4b367f02633ea4e7c9a5
[ "Zlib" ]
4
2018-11-18T10:19:57.000Z
2021-07-14T02:58:40.000Z
/* * Copyright (c) 2020 Sebastian Kylander https://gaztin.com/ * * 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 purpo...
38.691176
231
0.710376
b0e6c5e241c6030a779d5fa4994f246e926a6d0f
3,149
cpp
C++
libhpx/network/SMPNetwork.cpp
luglio/hpx5
6cbeebb8e730ee9faa4487dba31a38e3139e1ce7
[ "BSD-3-Clause" ]
1
2019-11-05T21:11:32.000Z
2019-11-05T21:11:32.000Z
libhpx/network/SMPNetwork.cpp
ldalessa/hpx
c8888c38f5c12c27bfd80026d175ceb3839f0b40
[ "BSD-3-Clause" ]
null
null
null
libhpx/network/SMPNetwork.cpp
ldalessa/hpx
c8888c38f5c12c27bfd80026d175ceb3839f0b40
[ "BSD-3-Clause" ]
3
2019-06-21T07:05:43.000Z
2020-11-21T15:24:04.000Z
// ============================================================================= // High Performance ParalleX Library (libhpx) // // Copyright (c) 2013-2017, Trustees of Indiana University, // All rights reserved. // // This software may be modified and distributed under the terms of the BSD // license. See the C...
20.057325
82
0.683709
b0e83b9727f6a352103a42c6c52790b966114a8e
11,662
cpp
C++
src/EOIconManager.cpp
obones/EVEopenHAB
8e1c603e0c4ebf2b108685dbf5548e3a17a1561c
[ "MIT" ]
null
null
null
src/EOIconManager.cpp
obones/EVEopenHAB
8e1c603e0c4ebf2b108685dbf5548e3a17a1561c
[ "MIT" ]
null
null
null
src/EOIconManager.cpp
obones/EVEopenHAB
8e1c603e0c4ebf2b108685dbf5548e3a17a1561c
[ "MIT" ]
null
null
null
/* @file EOIconManager.cpp @brief Contains the Icon manager definitions @date 2021-09-17 @author Olivier Sannier @section LICENSE MIT License Copyright (c) 2021 Olivier Sannier Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (...
38.361842
166
0.56877
b0e84489f0c86ffe4e3db2718d2190e7ebb1f849
85
cpp
C++
node.cpp
Qt-Widgets/SPICE-circuit
f43bac80ef7322948eb89cdeb899751c25252d29
[ "MIT" ]
9
2020-05-04T13:21:39.000Z
2022-03-13T05:44:58.000Z
node.cpp
s94285/SPICE
f43bac80ef7322948eb89cdeb899751c25252d29
[ "MIT" ]
null
null
null
node.cpp
s94285/SPICE
f43bac80ef7322948eb89cdeb899751c25252d29
[ "MIT" ]
6
2019-09-28T06:02:04.000Z
2021-12-18T21:39:44.000Z
#include "node.h" Node::Node(QGraphicsItem *parent):QGraphicsItemGroup(parent) { }
12.142857
60
0.741176
b0f3f757c800a88e77992bee09870e2a61d29e1a
919
cpp
C++
Engine/Core/Sources/Threading/Thread.cpp
kaluginadaria/YetAnotherProject
abedd20b484f868ded83e72261970703a27e024d
[ "MIT" ]
null
null
null
Engine/Core/Sources/Threading/Thread.cpp
kaluginadaria/YetAnotherProject
abedd20b484f868ded83e72261970703a27e024d
[ "MIT" ]
null
null
null
Engine/Core/Sources/Threading/Thread.cpp
kaluginadaria/YetAnotherProject
abedd20b484f868ded83e72261970703a27e024d
[ "MIT" ]
null
null
null
#include "Thread.hpp" #include <chrono> #include <iostream> #include "ThreadPool.hpp" const ThreadTask ThreadTask::NoTasksFound = ThreadTask(nullptr, ThreadTask::eNoTasksFound); const ThreadTask ThreadTask::ShouldDie = ThreadTask(nullptr, ThreadTask::eShouldDie ); const ThreadTask ThreadTask::NextLoop = Thre...
22.414634
97
0.70185
b0f4c4427b61d94ca4b0c9f66aedb58a2a93a545
4,264
cc
C++
code/render/frame/framepass.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
67
2015-03-30T19:56:16.000Z
2022-03-11T13:52:17.000Z
code/render/frame/framepass.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
5
2015-04-15T17:17:33.000Z
2016-02-11T00:40:17.000Z
code/render/frame/framepass.cc
gscept/nebula-trifid
e7c0a0acb05eedad9ed37a72c1bdf2d658511b42
[ "BSD-2-Clause" ]
34
2015-03-30T15:08:00.000Z
2021-09-23T05:55:10.000Z
//------------------------------------------------------------------------------ // framepass.cc // (C) 2007 Radon Labs GmbH // (C) 2013-2016 Individual contributors, see AUTHORS file //------------------------------------------------------------------------------ #include "stdneb.h" #include "frame/framepass.h" #in...
28.810811
119
0.593105
b0f60b2f479203abc4d193336bbf8798ec23bcb9
987
cpp
C++
opencv/resize/test.cpp
ericosur/ccbox
c230bd77533bf9a8af8f7183ea2cd2ae019716f7
[ "MIT" ]
null
null
null
opencv/resize/test.cpp
ericosur/ccbox
c230bd77533bf9a8af8f7183ea2cd2ae019716f7
[ "MIT" ]
10
2020-07-14T04:00:12.000Z
2020-07-14T05:30:48.000Z
opencv/resize/test.cpp
ericosur/ccbox
c230bd77533bf9a8af8f7183ea2cd2ae019716f7
[ "MIT" ]
null
null
null
#include "mytool/mytool.h" #include <iostream> #include <string> #include <opencv2/opencv.hpp> #include <nlohmann/json.hpp> #define SETTING_JSON "../setting.json" #define DEFAULT_TESTIMAGE "lena.png" #define REPEAT 200 void test() { using namespace std; using namespace cv; string test_ima...
25.973684
104
0.616008
b0fc14f5f8731d40220a3a0ae1b98fd5e95e000e
2,122
cc
C++
content/renderer/webcrypto_impl.cc
kurli/chromium-crosswalk
f4c5d15d49d02b74eb834325e4dff50b16b53243
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
content/renderer/webcrypto_impl.cc
kurli/chromium-crosswalk
f4c5d15d49d02b74eb834325e4dff50b16b53243
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
content/renderer/webcrypto_impl.cc
kurli/chromium-crosswalk
f4c5d15d49d02b74eb834325e4dff50b16b53243
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
// Copyright (c) 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 "content/renderer/webcrypto_impl.h" #include "base/memory/scoped_ptr.h" #include "third_party/WebKit/public/platform/WebArrayBuffer.h" #incl...
28.293333
73
0.683318
b0fd829d724b15a07c5ecd6beb1d8c252f061e2c
1,396
hpp
C++
Engine/Math/Dice.hpp
achen889/Warlockery_Engine
160a14e85009057f4505ff5380a8c17258698f3e
[ "MIT" ]
null
null
null
Engine/Math/Dice.hpp
achen889/Warlockery_Engine
160a14e85009057f4505ff5380a8c17258698f3e
[ "MIT" ]
null
null
null
Engine/Math/Dice.hpp
achen889/Warlockery_Engine
160a14e85009057f4505ff5380a8c17258698f3e
[ "MIT" ]
null
null
null
//============================================================================================================== //Dice.hpp //by Albert Chen Sep-2-2015. //============================================================================================================== #pragma once #ifndef _included_Dice__ #define _inclu...
22.885246
112
0.424785
b0fe5b28fc38aa1790c14a9e84139604f3c35998
549
cpp
C++
podboat.cpp
adiel-mittmann/newsboat
8011952624387f0b2fcb18ba5d96382c257764c2
[ "MIT" ]
null
null
null
podboat.cpp
adiel-mittmann/newsboat
8011952624387f0b2fcb18ba5d96382c257764c2
[ "MIT" ]
null
null
null
podboat.cpp
adiel-mittmann/newsboat
8011952624387f0b2fcb18ba5d96382c257764c2
[ "MIT" ]
null
null
null
#include <iostream> #include <config.h> #include <pb_controller.h> #include <cstring> #include <pb_view.h> #include <errno.h> #include <utils.h> using namespace podboat; int main(int argc, char * argv[]) { utils::initialize_ssl_implementation(); if (!setlocale(LC_CTYPE,"") || !setlocale(LC_MESSAGES,"")) { std::...
19.607143
68
0.68306
7c04605bb9c6d08c1c8c8e187b9100d340905be5
1,192
c++
C++
linker_script/strategies/default_e20_strategy.c++
sctincman/freedom-devicetree-tools
668d8795e474623863f65f890022d1d471a1c64b
[ "Apache-2.0", "MIT" ]
null
null
null
linker_script/strategies/default_e20_strategy.c++
sctincman/freedom-devicetree-tools
668d8795e474623863f65f890022d1d471a1c64b
[ "Apache-2.0", "MIT" ]
null
null
null
linker_script/strategies/default_e20_strategy.c++
sctincman/freedom-devicetree-tools
668d8795e474623863f65f890022d1d471a1c64b
[ "Apache-2.0", "MIT" ]
null
null
null
/* Copyright (c) 2019 SiFive Inc. */ /* SPDX-License-Identifier: Apache-2.0 */ #include "default_e20_strategy.h" #include <layouts/default_layout.h> #include <layouts/scratchpad_layout.h> #include <layouts/ramrodata_layout.h> bool DefaultE20Strategy::valid(const fdt &dtb, list<Memory> available_memories) { return ...
29.073171
97
0.738255
7c05632785ddee5669c5f9c890236c674cefce29
585
cpp
C++
cilantro/src/graphics/Framebuffer.cpp
dpilawa/cilantro
69daa2112e8e373783b4f1a27c62770e4540eb6f
[ "MIT" ]
null
null
null
cilantro/src/graphics/Framebuffer.cpp
dpilawa/cilantro
69daa2112e8e373783b4f1a27c62770e4540eb6f
[ "MIT" ]
null
null
null
cilantro/src/graphics/Framebuffer.cpp
dpilawa/cilantro
69daa2112e8e373783b4f1a27c62770e4540eb6f
[ "MIT" ]
null
null
null
#include "cilantroengine.h" #include "graphics/Framebuffer.h" Framebuffer::Framebuffer (unsigned int bufferWidth, unsigned int bufferHeight) { this->bufferWidth = bufferWidth; this->bufferHeight = bufferHeight; } Framebuffer::~Framebuffer () { } unsigned int Framebuffer::GetWidth () const { return buff...
19.5
96
0.745299