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
a3a5366929e4e4f5b4eb3d95d32e6e41b9f23414
17,093
cpp
C++
MsgGetter/MsgGetter.cpp
katahiromz/WinHier
5b2d870ba22b704c2bcb9e12d595187fe7c00dfa
[ "MIT" ]
5
2019-04-22T14:22:57.000Z
2020-02-02T11:49:28.000Z
MsgGetter/MsgGetter.cpp
katahiromz/WinHier
5b2d870ba22b704c2bcb9e12d595187fe7c00dfa
[ "MIT" ]
3
2019-06-17T01:42:29.000Z
2019-11-21T09:17:45.000Z
MsgGetter/MsgGetter.cpp
katahiromz/WinHier
5b2d870ba22b704c2bcb9e12d595187fe7c00dfa
[ "MIT" ]
2
2019-04-22T14:22:40.000Z
2019-05-04T00:55:38.000Z
// MsgGetter.cpp --- Win32 message tracer // Copyright (C) 2019 Katayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com> // This file is public domain software. #define _CRT_SECURE_NO_WARNINGS #define _CRT_NON_CONFORMING_WCSTOK #include "targetver.h" #include <windows.h> #include <windowsx.h> #include <tchar.h> #...
28.159802
104
0.600538
a3a6ab70e9a8da56a3632890162606f4e69115f9
23,346
cc
C++
src/working_files.cc
Gei0r/cquery
6ff8273e8b8624016f9363f444acfee30c4bbf64
[ "MIT" ]
1,652
2018-01-24T03:19:58.000Z
2020-07-28T19:04:00.000Z
src/working_files.cc
Gei0r/cquery
6ff8273e8b8624016f9363f444acfee30c4bbf64
[ "MIT" ]
490
2018-01-24T00:55:38.000Z
2020-07-03T19:44:16.000Z
src/working_files.cc
Gei0r/cquery
6ff8273e8b8624016f9363f444acfee30c4bbf64
[ "MIT" ]
154
2018-01-31T05:57:33.000Z
2020-07-05T00:02:46.000Z
#include "working_files.h" #include "lex_utils.h" #include "position.h" #include <doctest/doctest.h> #include <loguru.hpp> #include <algorithm> #include <climits> #include <numeric> namespace { // When finding a best match of buffer line and index line, limit the max edit // distance. constexpr int kMaxDiff = 20; ...
34.231672
80
0.619678
a3a6f26691d6d68e2adab4cee8ea73b937b46a72
96,940
cpp
C++
scripts/CS/ChatScript-7.3/SRC/textUtilities.cpp
yuqixuan1995/chatbot
54ed68f925af30b4a805151ecb371ec59c6ed875
[ "MIT" ]
null
null
null
scripts/CS/ChatScript-7.3/SRC/textUtilities.cpp
yuqixuan1995/chatbot
54ed68f925af30b4a805151ecb371ec59c6ed875
[ "MIT" ]
null
null
null
scripts/CS/ChatScript-7.3/SRC/textUtilities.cpp
yuqixuan1995/chatbot
54ed68f925af30b4a805151ecb371ec59c6ed875
[ "MIT" ]
null
null
null
#include "common.h" int startSentence; int endSentence; FILE* docOut = NULL; bool showBadUTF = false; // log bad utf8 characer words static bool blockComment = false; bool singleSource = false; // in ReadDocument treat each line as an independent sentence bool newline = false; int docSampleRate = 0; in...
33.847765
302
0.570095
a3a72450e2f4acbb95d62cb6052bec314c00185a
951
cpp
C++
recitation/deep_copy1.cpp
chgogos/oop
3b0e6bbd29a76f863611e18d082913f080b1b571
[ "MIT" ]
14
2019-04-23T13:45:10.000Z
2022-03-12T18:26:47.000Z
recitation/deep_copy1.cpp
chgogos/oop
3b0e6bbd29a76f863611e18d082913f080b1b571
[ "MIT" ]
null
null
null
recitation/deep_copy1.cpp
chgogos/oop
3b0e6bbd29a76f863611e18d082913f080b1b571
[ "MIT" ]
9
2019-09-01T15:17:45.000Z
2020-11-13T20:31:36.000Z
// Γράψτε ένα πρόγραμμα που να ορίζει μια κλάση Α με ένα ιδιωτικό μέλος δεδομένων που να είναι δείκτης προς πίνακα ακεραίων. // Συμπληρώστε έναν κατασκευαστή αντιγραφής. // Χρησιμοποιήστε τον κατασκευαστή αντιγραφής στη main. #include <iostream> using namespace std; class A { private: int n; int *data; pu...
16.982143
125
0.511041
a3a753c0ed0b90626ea07eeeaa4f3015de18027d
14,342
cc
C++
src/model_config.cc
nskool/core
2ba05e79e8f5db7c354f2ffb48cc8cd920c23be7
[ "BSD-3-Clause" ]
null
null
null
src/model_config.cc
nskool/core
2ba05e79e8f5db7c354f2ffb48cc8cd920c23be7
[ "BSD-3-Clause" ]
null
null
null
src/model_config.cc
nskool/core
2ba05e79e8f5db7c354f2ffb48cc8cd920c23be7
[ "BSD-3-Clause" ]
null
null
null
// Copyright 2018-2022, NVIDIA CORPORATION & AFFILIATES. 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...
25.029668
79
0.648863
a3abe0825d43446a485e0a85e7a0284493db7f98
10,043
hpp
C++
src/cpu/jit_avx512_core_conv_winograd_kernel_f32.hpp
rongjiecomputer/mkl-dnn
64e03a1939e0d526aa8e9f2e3f7dc0ad8d372944
[ "Apache-2.0" ]
3
2019-07-08T09:03:03.000Z
2020-09-09T10:34:17.000Z
src/cpu/jit_avx512_core_conv_winograd_kernel_f32.hpp
rongjiecomputer/mkl-dnn
64e03a1939e0d526aa8e9f2e3f7dc0ad8d372944
[ "Apache-2.0" ]
3
2020-11-13T18:59:18.000Z
2022-02-10T02:14:53.000Z
src/cpu/jit_avx512_core_conv_winograd_kernel_f32.hpp
rongjiecomputer/mkl-dnn
64e03a1939e0d526aa8e9f2e3f7dc0ad8d372944
[ "Apache-2.0" ]
1
2018-12-05T07:38:25.000Z
2018-12-05T07:38:25.000Z
/******************************************************************************* * Copyright 2017-2018 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://www.apa...
34.159864
87
0.676192
a3ad8fc39200338f52deeb4a4c1aa2f2445667c4
1,225
cpp
C++
4.3/12/Solution.cpp
zhengyhn/cskaoyan-data-structure-solution
a523d66c7b5932b16b807699dd631635f03bfd61
[ "MIT" ]
1
2021-03-25T04:43:34.000Z
2021-03-25T04:43:34.000Z
4.3/12/Solution.cpp
zhengyhn/cskaoyan-data-structure-solution
a523d66c7b5932b16b807699dd631635f03bfd61
[ "MIT" ]
null
null
null
4.3/12/Solution.cpp
zhengyhn/cskaoyan-data-structure-solution
a523d66c7b5932b16b807699dd631635f03bfd61
[ "MIT" ]
null
null
null
#include <iostream> #include <stack> using namespace std; struct TreeNode { int value; TreeNode *left; TreeNode *right; public: TreeNode(int val) : value(val) {} }; class Solution { public: void printAncestorsByValue(TreeNode *root, int x) { stack<TreeNode *> st; TreeNode *p = root; TreeNode...
20.416667
53
0.524082
a3b1020cddf679a9a92aaa41b5ef64c0f5669e77
4,601
cpp
C++
libs/core/algorithms/tests/unit/algorithms/detail/test_insertion_sort.cpp
Andrea-MariaDB-2/hpx
e230dddce4a8783817f38e07f5a77e624f64f826
[ "BSL-1.0" ]
1,822
2015-01-03T11:22:37.000Z
2022-03-31T14:49:59.000Z
libs/core/algorithms/tests/unit/algorithms/detail/test_insertion_sort.cpp
Andrea-MariaDB-2/hpx
e230dddce4a8783817f38e07f5a77e624f64f826
[ "BSL-1.0" ]
3,288
2015-01-05T17:00:23.000Z
2022-03-31T18:49:41.000Z
libs/core/algorithms/tests/unit/algorithms/detail/test_insertion_sort.cpp
Andrea-MariaDB-2/hpx
e230dddce4a8783817f38e07f5a77e624f64f826
[ "BSL-1.0" ]
431
2015-01-07T06:22:14.000Z
2022-03-31T14:50:04.000Z
// Copyright (c) 2015-2017 Francisco Jose Tapia // Copyright (c) 2020 Hartmut Kaiser // // SPDX-License-Identifier: BSL-1.0 // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #include <hpx/local/init.hpp> #includ...
27.716867
80
0.542273
a3b34b2b0331d21264a7fb0d88d0e6503427035e
11,163
cpp
C++
src/libawkward/builder/ArrayBuilder.cpp
douglasdavis/awkward-1.0
f00775803a5568efb0a8e2dae3b1a4f23228fa40
[ "BSD-3-Clause" ]
2
2019-09-12T03:07:23.000Z
2019-09-27T05:32:07.000Z
src/libawkward/builder/ArrayBuilder.cpp
douglasdavis/awkward-1.0
f00775803a5568efb0a8e2dae3b1a4f23228fa40
[ "BSD-3-Clause" ]
1
2019-09-26T17:57:45.000Z
2019-09-26T17:57:45.000Z
src/libawkward/builder/ArrayBuilder.cpp
douglasdavis/awkward-1.0
f00775803a5568efb0a8e2dae3b1a4f23228fa40
[ "BSD-3-Clause" ]
null
null
null
// BSD 3-Clause License; see https://github.com/scikit-hep/awkward-1.0/blob/main/LICENSE #define FILENAME(line) FILENAME_FOR_EXCEPTIONS("src/libawkward/builder/ArrayBuilder.cpp", line) #include <sstream> #include <stdexcept> #include "awkward/common.h" #include "awkward/Content.h" #include "awkward/builder/ArrayBuil...
22.460765
95
0.617576
a3b4ee89424f67d63a8ea1d352e58a4eae87bf38
1,787
cxx
C++
Modules/Adapters/OSSIMAdapters/src/otbEllipsoidAdapter.cxx
heralex/OTB
c52b504b64dc89c8fe9cac8af39b8067ca2c3a57
[ "Apache-2.0" ]
null
null
null
Modules/Adapters/OSSIMAdapters/src/otbEllipsoidAdapter.cxx
heralex/OTB
c52b504b64dc89c8fe9cac8af39b8067ca2c3a57
[ "Apache-2.0" ]
null
null
null
Modules/Adapters/OSSIMAdapters/src/otbEllipsoidAdapter.cxx
heralex/OTB
c52b504b64dc89c8fe9cac8af39b8067ca2c3a57
[ "Apache-2.0" ]
1
2020-10-15T09:37:30.000Z
2020-10-15T09:37:30.000Z
/* * Copyright (C) 2005-2020 Centre National d'Etudes Spatiales (CNES) * * This file is part of Orfeo Toolbox * * https://www.orfeo-toolbox.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 ...
27.492308
113
0.732513
a3b557d5f26cb826ff27092ec11059bda06abc1b
3,568
hpp
C++
OracleSolaris_OpenJDK_Builder/patches-14/patch-src_hotspot_os__cpu_solaris__x86_atomic__solaris__x86.hpp
gco/oraclesolaris-contrib
f9905a8758a50a44720f5500e19b5f2528c6b6c8
[ "UPL-1.0" ]
null
null
null
OracleSolaris_OpenJDK_Builder/patches-14/patch-src_hotspot_os__cpu_solaris__x86_atomic__solaris__x86.hpp
gco/oraclesolaris-contrib
f9905a8758a50a44720f5500e19b5f2528c6b6c8
[ "UPL-1.0" ]
null
null
null
OracleSolaris_OpenJDK_Builder/patches-14/patch-src_hotspot_os__cpu_solaris__x86_atomic__solaris__x86.hpp
gco/oraclesolaris-contrib
f9905a8758a50a44720f5500e19b5f2528c6b6c8
[ "UPL-1.0" ]
null
null
null
$NetBSD$ Support SunOS/gcc. --- src/hotspot/os_cpu/solaris_x86/atomic_solaris_x86.hpp.orig 2019-01-08 09:40:30.000000000 +0000 +++ src/hotspot/os_cpu/solaris_x86/atomic_solaris_x86.hpp @@ -27,11 +27,65 @@ // For Sun Studio - implementation is in solaris_x86_64.il. +#ifdef __GNUC__ +inline int32_t _Atomic_add(int...
39.644444
109
0.60398
a3b5885bf7f23b09f22f8cf9dfdc4f6a953e885f
8,034
cpp
C++
INDIGO/Engine/Entity.cpp
TsuuN/TsuuN
db26336ad1f9ce95b2c37b118aaac8fb3077193f
[ "MIT" ]
2
2018-04-30T15:52:05.000Z
2018-06-13T17:41:55.000Z
INDIGO/Engine/Entity.cpp
TsuuN/TsuuN
db26336ad1f9ce95b2c37b118aaac8fb3077193f
[ "MIT" ]
3
2018-06-03T18:57:42.000Z
2018-07-11T22:01:17.000Z
INDIGO/Engine/Entity.cpp
TsuuN/TsuuN
db26336ad1f9ce95b2c37b118aaac8fb3077193f
[ "MIT" ]
2
2018-03-31T06:34:01.000Z
2019-08-02T14:04:17.000Z
#include "Entity.h" namespace Engine { //[junk_enable /] char* CBaseEntity::GetPlayerName() { if (IsPlayer()) { static PlayerInfo Info; if (Interfaces::Engine()->GetPlayerInfo(EntIndex(), &Info)) return Info.m_szPlayerName; } return ""; } bool CBaseEntity::IsPlayer() { typedef bool(__thisc...
21.95082
140
0.698033
a3b709deb46e5e9e013799dbdbf8b0ed4f92e7d2
10,452
cxx
C++
main/sw/source/ui/misc/linenum.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
679
2015-01-06T06:34:58.000Z
2022-03-30T01:06:03.000Z
main/sw/source/ui/misc/linenum.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
102
2017-11-07T08:51:31.000Z
2022-03-17T12:13:49.000Z
main/sw/source/ui/misc/linenum.cxx
Grosskopf/openoffice
93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7
[ "Apache-2.0" ]
331
2015-01-06T11:40:55.000Z
2022-03-14T04:07:51.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 y...
30.472303
91
0.63031
a3b8486f191c6081038750314dff7122b56b98ec
4,013
hpp
C++
llvm-gcc-4.2-2.9/libstdc++-v3/testsuite/util/performance/priority_queue/mem_usage/pop_test.hpp
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
1
2016-04-09T02:58:13.000Z
2016-04-09T02:58:13.000Z
llvm-gcc-4.2-2.9/libstdc++-v3/testsuite/util/performance/priority_queue/mem_usage/pop_test.hpp
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
null
null
null
llvm-gcc-4.2-2.9/libstdc++-v3/testsuite/util/performance/priority_queue/mem_usage/pop_test.hpp
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
null
null
null
// -*- C++ -*- // Copyright (C) 2005, 2006 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the terms // of the GNU General Public License as published by the Free Software // Foundation; either version ...
32.893443
76
0.709444
a3b8df630a67dd1e99fdb63c74b94be136c7b445
26,276
cpp
C++
wrap/Module.cpp
karamach/gtsam
35f9b710163a1d14d8dc4fcf50b8dce6e0bf7e5b
[ "BSD-3-Clause" ]
3
2019-01-14T10:05:57.000Z
2020-11-16T06:17:40.000Z
wrap/Module.cpp
yfcube/gtsam
5cbb9dfd6c5bc6a38edd230fd0b9d9c7e5006b0b
[ "BSD-3-Clause" ]
null
null
null
wrap/Module.cpp
yfcube/gtsam
5cbb9dfd6c5bc6a38edd230fd0b9d9c7e5006b0b
[ "BSD-3-Clause" ]
null
null
null
/* ---------------------------------------------------------------------------- * GTSAM Copyright 2010, Georgia Tech Research Corporation, * Atlanta, Georgia 30332-0415 * All Rights Reserved * Authors: Frank Dellaert, et al. (see THANKS for the full author list) * See LICENSE for the license information * ----...
40.864697
165
0.62068
a3bb0662636bc8747859b6255dd5ea8d1e7ef313
2,495
cpp
C++
src/gui/CApplication.cpp
johnlunney/Avara-1
9bdb46307d2750c18b7ec10b9efbc3078937aca4
[ "MIT" ]
1
2019-06-06T15:02:13.000Z
2019-06-06T15:02:13.000Z
src/gui/CApplication.cpp
johnlunney/Avara-1
9bdb46307d2750c18b7ec10b9efbc3078937aca4
[ "MIT" ]
null
null
null
src/gui/CApplication.cpp
johnlunney/Avara-1
9bdb46307d2750c18b7ec10b9efbc3078937aca4
[ "MIT" ]
null
null
null
#define APPLICATIONMAIN #include "CApplication.h" #include "AvaraGL.h" #include "Preferences.h" #include "Types.h" #include <SDL2/SDL.h> #include <fstream> #include <nanogui/nanogui.h> #include <string> #include <vector> CApplication::CApplication(std::string title, int width, int height) : nanogui::Screen(nanogui...
24.70297
104
0.629259
a3bb595b681a1020f6b32280e0c04a9a43c30f6d
1,408
cpp
C++
source/projects/filter.chebyshev2/filter.chebyshev2.cpp
Cycling74/filter
f19f9427f4200132827aadf7c70001e983cc6949
[ "MIT" ]
5
2020-09-30T08:55:48.000Z
2021-04-03T07:52:56.000Z
source/projects/filter.chebyshev2/filter.chebyshev2.cpp
Cycling74/filter
f19f9427f4200132827aadf7c70001e983cc6949
[ "MIT" ]
3
2021-03-30T20:25:09.000Z
2022-01-21T19:06:04.000Z
source/projects/filter.chebyshev2/filter.chebyshev2.cpp
Cycling74/filter
f19f9427f4200132827aadf7c70001e983cc6949
[ "MIT" ]
1
2021-09-16T21:38:24.000Z
2021-09-16T21:38:24.000Z
/// @file /// @copyright Copyright (c) 2017, Cycling '74 /// @author Timothy Place /// @license Usage of this file and its contents is governed by the MIT License #include "DspFilters/ChebyshevII.h" using namespace Dsp::ChebyshevII::Design; #include "../filter.h" class chebyshev : public filter<chebyshev,false,true...
23.466667
79
0.666903
a3bc8ac05a9886d30a06e6a796a664bbf19398c0
586
cpp
C++
Userland/Libraries/LibJS/Runtime/Map.cpp
shubhdev/serenity
9321d9d83d366ad4cf686c856063ff9ac97c18a4
[ "BSD-2-Clause" ]
4
2021-02-23T05:35:25.000Z
2021-06-08T06:11:06.000Z
Userland/Libraries/LibJS/Runtime/Map.cpp
shubhdev/serenity
9321d9d83d366ad4cf686c856063ff9ac97c18a4
[ "BSD-2-Clause" ]
4
2021-04-27T20:44:44.000Z
2021-06-30T18:07:10.000Z
Userland/Libraries/LibJS/Runtime/Map.cpp
shubhdev/serenity
9321d9d83d366ad4cf686c856063ff9ac97c18a4
[ "BSD-2-Clause" ]
1
2021-06-05T16:58:05.000Z
2021-06-05T16:58:05.000Z
/* * Copyright (c) 2021, Idan Horowitz <idan.horowitz@serenityos.org> * * SPDX-License-Identifier: BSD-2-Clause */ #include <LibJS/Runtime/Map.h> namespace JS { Map* Map::create(GlobalObject& global_object) { return global_object.heap().allocate<Map>(global_object, *global_object.map_prototype()); } Map::Ma...
16.742857
93
0.667235
a3bd78df16edf54ce31ca742e6c5e6869a94e13a
118
cpp
C++
libCloudundancy/UtilityComponents/FunctionCallers/Member/VoidOneArgMemberFunctionCaller.cpp
NeilJustice/Cloudundancy
77f0cb7de32f96c9b7008d3c2d469d32cfc00818
[ "MIT" ]
1
2021-03-04T03:31:42.000Z
2021-03-04T03:31:42.000Z
libCloudundancy/UtilityComponents/FunctionCallers/Member/VoidOneArgMemberFunctionCaller.cpp
NeilJustice/Cloudundancy
77f0cb7de32f96c9b7008d3c2d469d32cfc00818
[ "MIT" ]
9
2020-04-15T04:38:00.000Z
2020-04-15T04:39:43.000Z
libCloudundancy/UtilityComponents/FunctionCallers/Member/VoidOneArgMemberFunctionCaller.cpp
NeilJustice/Cloudundancy
77f0cb7de32f96c9b7008d3c2d469d32cfc00818
[ "MIT" ]
null
null
null
#include "pch.h" #include "libCloudundancy/UtilityComponents/FunctionCallers/Member/VoidOneArgMemberFunctionCaller.h"
59
100
0.864407
a3bd87bb598d9f86cf555a6b98980c0b9e346e75
7,198
cpp
C++
MouseSensViewer/dialog.cpp
setar/RF3Sens
53dc93be49731e54d12819f0593baa53b3ceb52b
[ "MIT" ]
9
2016-01-04T00:33:36.000Z
2021-01-24T06:23:20.000Z
MouseSensViewer/dialog.cpp
setar/RF3Sens
53dc93be49731e54d12819f0593baa53b3ceb52b
[ "MIT" ]
null
null
null
MouseSensViewer/dialog.cpp
setar/RF3Sens
53dc93be49731e54d12819f0593baa53b3ceb52b
[ "MIT" ]
4
2015-12-31T23:47:43.000Z
2016-02-12T14:35:42.000Z
#include "dialog.h" #include <QLabel> #include <QLineEdit> #include <QComboBox> #include <QSpinBox> #include <QPushButton> #include <QGridLayout> #include <QSettings> #include <QApplication> #include <QtSerialPort/QSerialPortInfo> QT_USE_NAMESPACE /* #define ConstBaudRate 115200 //230400 для arduino nano, 115200 дл...
28.563492
128
0.696582
a3bf67115ef00dab55890dbd4f333c6975fd9e64
7,334
cpp
C++
opencv_contrib-3.3.0/modules/structured_light/samples/cap_pattern.cpp
AmericaGL/TrashTalk_Dapp
401f17289261b5f537b239e7759dc039d53211e1
[ "MIT" ]
16
2016-07-04T10:32:22.000Z
2021-11-10T11:26:45.000Z
opencv_contrib-3.3.0/modules/structured_light/samples/cap_pattern.cpp
AmericaGL/TrashTalk_Dapp
401f17289261b5f537b239e7759dc039d53211e1
[ "MIT" ]
null
null
null
opencv_contrib-3.3.0/modules/structured_light/samples/cap_pattern.cpp
AmericaGL/TrashTalk_Dapp
401f17289261b5f537b239e7759dc039d53211e1
[ "MIT" ]
22
2015-10-23T19:36:18.000Z
2021-02-02T12:20:32.000Z
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, i...
34.111628
140
0.626943
a3bf8722431af381ab7ceae9f5a2e5f51f01aaa8
1,947
cc
C++
visualization/src/viz-data-collector.cc
AdronTech/maplab
1340e01466fc1c02994860723b8117daf9ad226d
[ "Apache-2.0" ]
1,936
2017-11-27T23:11:37.000Z
2022-03-30T14:24:14.000Z
visualization/src/viz-data-collector.cc
AdronTech/maplab
1340e01466fc1c02994860723b8117daf9ad226d
[ "Apache-2.0" ]
353
2017-11-29T18:40:39.000Z
2022-03-30T15:53:46.000Z
visualization/src/viz-data-collector.cc
AdronTech/maplab
1340e01466fc1c02994860723b8117daf9ad226d
[ "Apache-2.0" ]
661
2017-11-28T07:20:08.000Z
2022-03-28T08:06:29.000Z
#include "visualization/viz-data-collector.h" #include <mutex> #include <string> #include <tuple> #include <unordered_map> #include <Eigen/Core> #include <aslam/common/unique-id.h> #include <maplab-common/accessors.h> #include <maplab-common/macros.h> namespace visualization { namespace internal { const VizDataColle...
30.421875
77
0.761685
a3c0e0d4cd6ce5cf2e7792ebe09050e1a7d68791
13,465
cpp
C++
rede/powerNet.cpp
BigsonLvrocha/NeuralPowerFlow
3d64078b5d1053cd521318229b69592acab6582a
[ "MIT" ]
null
null
null
rede/powerNet.cpp
BigsonLvrocha/NeuralPowerFlow
3d64078b5d1053cd521318229b69592acab6582a
[ "MIT" ]
null
null
null
rede/powerNet.cpp
BigsonLvrocha/NeuralPowerFlow
3d64078b5d1053cd521318229b69592acab6582a
[ "MIT" ]
null
null
null
/** * @brief implementation of a power network used in calculations * * @file powerNet.cpp * @author Luiz Victor Linhares Rocha * @date 2018-09-22 * @copyright 2018 */ #include <utility> #include <iostream> #include "powerNet.hpp" #include "barra.hpp" #include "branch.hpp" #include "admitanceCalc.hpp" #include...
26.93
117
0.573932
a3c0e2e6a3b99dd478144b6a8ece1ec464bdaff2
108
cpp
C++
Test/Tests.cpp
perencia/mafia-code-test
544ddc4d06d35da9a1e79595b724944abfcc51be
[ "MIT" ]
null
null
null
Test/Tests.cpp
perencia/mafia-code-test
544ddc4d06d35da9a1e79595b724944abfcc51be
[ "MIT" ]
null
null
null
Test/Tests.cpp
perencia/mafia-code-test
544ddc4d06d35da9a1e79595b724944abfcc51be
[ "MIT" ]
null
null
null
// // Created by pedro on 8/28/17. // #include "Tests.h" void Testing::test1() { CPPUNIT_ASSERT(1); }
10.8
31
0.601852
a3c18d0f493cb5157d677e3983fad6681fbbe935
2,287
cpp
C++
libnd4j/include/ops/declarable/generic/linalg/matrix_diag.cpp
phong-phuong/deeplearning4j
d21e8839578d328f46f4b5ca38307a78528c34f5
[ "Apache-2.0" ]
null
null
null
libnd4j/include/ops/declarable/generic/linalg/matrix_diag.cpp
phong-phuong/deeplearning4j
d21e8839578d328f46f4b5ca38307a78528c34f5
[ "Apache-2.0" ]
null
null
null
libnd4j/include/ops/declarable/generic/linalg/matrix_diag.cpp
phong-phuong/deeplearning4j
d21e8839578d328f46f4b5ca38307a78528c34f5
[ "Apache-2.0" ]
null
null
null
/* ****************************************************************************** * * * This program and the accompanying materials are made available under the * terms of the Apache License, Version 2.0 which is available at * https://www.apache.org/licenses/LICENSE-2.0. * * See the NOTICE file distributed wit...
30.905405
138
0.655444
a3c35f4ff7c4c98db1e25d1e5388ea2d29568c6c
6,656
cpp
C++
tap/core/peer.cpp
tsavola/tap
e7b5dea6b0e9c7ebbb2710842ebfb62352cb54cc
[ "BSD-2-Clause" ]
1
2019-12-09T20:55:59.000Z
2019-12-09T20:55:59.000Z
tap/core/peer.cpp
tsavola/tap
e7b5dea6b0e9c7ebbb2710842ebfb62352cb54cc
[ "BSD-2-Clause" ]
null
null
null
tap/core/peer.cpp
tsavola/tap
e7b5dea6b0e9c7ebbb2710842ebfb62352cb54cc
[ "BSD-2-Clause" ]
null
null
null
#include "core.hpp" #include <cstdio> namespace tap { struct PeerObject::State { enum { DIRTY_FLAG = 1 << 0, REFERENCE_FLAG = 1 << 1, }; State() noexcept: key(-1), flags(0) { } State(Key key, unsigned int flags) noexcept: key(key), flags(flags) { } State &operator=(const State &other) noe...
22.562712
147
0.5628
a3c4134313821c49761eb6c9eda8c03dffc7d1a1
22,722
hpp
C++
deps/cinder/include/boost/phoenix/core/preprocessed/actor_20.hpp
multi-os-engine/cinder-natj-binding
969b66fdd49e4ca63442baf61ce90ae385ab8178
[ "Apache-2.0" ]
1,210
2020-08-18T07:57:36.000Z
2022-03-31T15:06:05.000Z
ios/Pods/boost-for-react-native/boost/phoenix/core/preprocessed/actor_20.hpp
c7yrus/alyson-v3
5ad95a8f782f5f5d2fd543d44ca6a8b093395965
[ "Apache-2.0" ]
369
2016-10-21T07:42:54.000Z
2020-11-19T10:49:29.000Z
ios/Pods/boost-for-react-native/boost/phoenix/core/preprocessed/actor_20.hpp
c7yrus/alyson-v3
5ad95a8f782f5f5d2fd543d44ca6a8b093395965
[ "Apache-2.0" ]
534
2016-10-20T21:00:00.000Z
2022-03-29T10:02:27.000Z
/*============================================================================== Copyright (c) 2005-2010 Joel de Guzman Copyright (c) 2010-2011 Thomas Heller Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt...
1,420.125
22,084
0.622612
a3c706f89b16da99b8ea32c03afb32f138468697
11,377
cpp
C++
Schweizer-Messer/numpy_eigen/src/autogen_module/numpy_eigen_export_module.cpp
huangqinjin/kalibr
5bc7b73ce8185c734152def716e7d657a2736ec5
[ "BSD-4-Clause" ]
null
null
null
Schweizer-Messer/numpy_eigen/src/autogen_module/numpy_eigen_export_module.cpp
huangqinjin/kalibr
5bc7b73ce8185c734152def716e7d657a2736ec5
[ "BSD-4-Clause" ]
null
null
null
Schweizer-Messer/numpy_eigen/src/autogen_module/numpy_eigen_export_module.cpp
huangqinjin/kalibr
5bc7b73ce8185c734152def716e7d657a2736ec5
[ "BSD-4-Clause" ]
null
null
null
// This file automatically generated by create_export_module.py #include <NumpyEigenConverter.hpp> #define NUMPY_IMPORT_ARRAY_RETVAL // function prototypes void import_1_1_int(); void import_1_1_float(); void import_1_1_double(); void import_1_1_uchar(); void import_1_1_long(); void import_1_2_int(); void import_1_2_f...
22.48419
63
0.779379
a3c8d5123be98610e3c9f4cf5b8d908a81657ac6
1,908
cpp
C++
Data_Structure_ZJU/03-Tree/basic.cpp
authetic-x/PAT-Advanced-Level-Practice
57a40853fab96a73e0c5ff377b2f12a5a553e11f
[ "MIT" ]
null
null
null
Data_Structure_ZJU/03-Tree/basic.cpp
authetic-x/PAT-Advanced-Level-Practice
57a40853fab96a73e0c5ff377b2f12a5a553e11f
[ "MIT" ]
null
null
null
Data_Structure_ZJU/03-Tree/basic.cpp
authetic-x/PAT-Advanced-Level-Practice
57a40853fab96a73e0c5ff377b2f12a5a553e11f
[ "MIT" ]
null
null
null
// // Created by authetic on 2019/4/13. // /* * 树的概念: * 1. n个结点n-1条边 * 2. 结点的度(Degree):结点子树的个数 * 3. 树的度:所有结点中最大的度数 * 4. 结点的层次(Level):根结点层次为1,其它结点依次加1 * 5. 树的深度(Depth):树中所有结点的最大层次 * 6. n0表示叶结点的个数,n2度为2的结点个数 * 则n0 = n2 + 1 * (从边的角度考虑, * n0+n1+n2-1 = n0*0 + n1*1 + n2*2 * * 完全二叉树顺序存储 * 1. 结点i的父结点 = ...
18.705882
39
0.523061
a3caad17378d6860b83421c5b3d16101ebebb670
8,814
hpp
C++
c++/include/objtools/alnmgr/score_builder_base.hpp
OpenHero/gblastn
a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8
[ "MIT" ]
31
2016-12-09T04:56:59.000Z
2021-12-31T17:19:10.000Z
c++/include/objtools/alnmgr/score_builder_base.hpp
OpenHero/gblastn
a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8
[ "MIT" ]
6
2017-03-10T17:25:13.000Z
2021-09-22T15:49:49.000Z
c++/include/objtools/alnmgr/score_builder_base.hpp
OpenHero/gblastn
a0d6c1c288fe916ab85fc637a44cdd6e79ebd2a8
[ "MIT" ]
20
2015-01-04T02:15:17.000Z
2021-12-03T02:31:43.000Z
#ifndef OBJMGR_UTIL___SCORE_BUILDER_BASE__HPP #define OBJMGR_UTIL___SCORE_BUILDER_BASE__HPP /* $Id: score_builder_base.hpp 363131 2012-05-14 15:34:29Z whlavina $ * =========================================================================== * * PUBLIC DOMAIN NOTICE * Nation...
40.246575
80
0.631382
a3cab4435bb899caf07684cb1186d74f0cc881bf
7,296
hpp
C++
include/opentxs/core/trade/OTTrade.hpp
nopdotcom/opentxs
140428ba8f1bd4c09654ebf0a1c1725f396efa8b
[ "MIT" ]
null
null
null
include/opentxs/core/trade/OTTrade.hpp
nopdotcom/opentxs
140428ba8f1bd4c09654ebf0a1c1725f396efa8b
[ "MIT" ]
null
null
null
include/opentxs/core/trade/OTTrade.hpp
nopdotcom/opentxs
140428ba8f1bd4c09654ebf0a1c1725f396efa8b
[ "MIT" ]
null
null
null
// Copyright (c) 2018 The Open-Transactions developers // 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/. // An OTTrade is derived from OTCronItem. OTCron has a list of...
33.163636
80
0.653372
a3caef25b7b1a37a13e79ffbfdfe68d9208ce590
420
cc
C++
net/quiche/common/platform/impl/quiche_test_impl.cc
fangqiuhang/quiche
13a192d533408e45139517a2f48f36eadb539f5a
[ "BSD-3-Clause" ]
null
null
null
net/quiche/common/platform/impl/quiche_test_impl.cc
fangqiuhang/quiche
13a192d533408e45139517a2f48f36eadb539f5a
[ "BSD-3-Clause" ]
null
null
null
net/quiche/common/platform/impl/quiche_test_impl.cc
fangqiuhang/quiche
13a192d533408e45139517a2f48f36eadb539f5a
[ "BSD-3-Clause" ]
null
null
null
// Copyright (c) 2021 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "net/quiche/common/platform/impl/quiche_test_impl.h" #include <string> namespace quiche { namespace test { std::string QuicheGetCommonSour...
23.333333
73
0.745238
a3ce12616f2db5403b6b07d17ddbc06382bc56a3
27,394
cpp
C++
sample/OMPLPlugin/MotionPlannerDialog.cpp
k38-suzuki/hairo-world-plugin
031375812b278d88116f92320d8c5ce74eba7a0a
[ "MIT" ]
5
2020-12-16T22:18:46.000Z
2022-03-26T08:39:51.000Z
sample/OMPLPlugin/MotionPlannerDialog.cpp
k38-suzuki/hairo-world-plugin
031375812b278d88116f92320d8c5ce74eba7a0a
[ "MIT" ]
2
2021-06-29T04:03:15.000Z
2021-06-29T05:46:15.000Z
sample/OMPLPlugin/MotionPlannerDialog.cpp
k38-suzuki/hairo-world-plugin
031375812b278d88116f92320d8c5ce74eba7a0a
[ "MIT" ]
2
2021-06-19T17:11:12.000Z
2021-07-09T06:58:47.000Z
/** \file \author Kenta Suzuki */ #include "MotionPlannerDialog.h" #include <cnoid/BodyItem> #include <cnoid/Button> #include <cnoid/CheckBox> #include <cnoid/ComboBox> #include <cnoid/EigenTypes> #include <cnoid/JointPath> #include <cnoid/MenuManager> #include <cnoid/MeshGenerator> #include <cnoid/MessageView> ...
32.767943
120
0.648865
a3ce53f1916fccb020472e811b0de84e1537d47e
676
cpp
C++
Other/ternarySearch.cpp
adiletabs/Algos
fa2bb9edddb517f52b79fc712f70d6f8a0786e33
[ "MIT" ]
3
2020-01-29T18:26:37.000Z
2021-01-19T06:26:34.000Z
Other/ternarySearch.cpp
adiletabs/Algos
fa2bb9edddb517f52b79fc712f70d6f8a0786e33
[ "MIT" ]
null
null
null
Other/ternarySearch.cpp
adiletabs/Algos
fa2bb9edddb517f52b79fc712f70d6f8a0786e33
[ "MIT" ]
2
2019-03-06T03:40:42.000Z
2019-09-23T03:48:21.000Z
/*-------------------------------------------- Ternary search algorithm Finds the maximum/minimum value of any unimodal function Here is an algorithm for finding the maximum of a sample function f(x). Algorithm for finding the minimum value is symmetrical Time complexity - O(log(2/3)N) ---------------------------...
19.314286
46
0.523669
a3cfa15d1053edefb604914f91c1395429ee313e
1,193
cc
C++
llvm-gcc-4.2-2.9/libstdc++-v3/testsuite/23_containers/bitset/operations/13838.cc
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
1
2016-04-09T02:58:13.000Z
2016-04-09T02:58:13.000Z
llvm-gcc-4.2-2.9/libstdc++-v3/testsuite/23_containers/bitset/operations/13838.cc
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
null
null
null
llvm-gcc-4.2-2.9/libstdc++-v3/testsuite/23_containers/bitset/operations/13838.cc
vidkidz/crossbridge
ba0bf94aee0ce6cf7eb5be882382e52bc57ba396
[ "MIT" ]
null
null
null
// Copyright (C) 2004, 2006 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the // terms of the GNU General Public License as published by the // Free Software Foundation; either version 2, or (at your o...
24.854167
79
0.692372
a3d01902f44a8f1741b9ccd3967232124a410b7c
1,318
hh
C++
src/whetstone/PolynomialOnMesh.hh
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
37
2017-04-26T16:27:07.000Z
2022-03-01T07:38:57.000Z
src/whetstone/PolynomialOnMesh.hh
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
494
2016-09-14T02:31:13.000Z
2022-03-13T18:57:05.000Z
src/whetstone/PolynomialOnMesh.hh
fmyuan/amanzi
edb7b815ae6c22956c8519acb9d87b92a9915ed4
[ "RSA-MD" ]
43
2016-09-26T17:58:40.000Z
2022-03-25T02:29:59.000Z
/* WhetStone, Version 2.2 Release name: naka-to. Copyright 2010-201x held jointly by LANS/LANL, LBNL, and PNNL. Amanzi is released under the three-clause BSD License. The terms of use and "as is" disclaimer for this license are provided in the top-level COPYRIGHT file. Author: Konstantin Lipnikov (li...
24.867925
71
0.734446
a3d05d5add898e62c24c293175c7cb6771ee383f
831
cpp
C++
src/external/boost/boost_1_68_0/libs/graph/example/successive_shortest_path_nonnegative_weights_example.cpp
Bpowers4/turicreate
73dad213cc1c4f74337b905baea2b3a1e5a0266c
[ "BSD-3-Clause" ]
11,356
2017-12-08T19:42:32.000Z
2022-03-31T16:55:25.000Z
src/external/boost/boost_1_68_0/libs/graph/example/successive_shortest_path_nonnegative_weights_example.cpp
Bpowers4/turicreate
73dad213cc1c4f74337b905baea2b3a1e5a0266c
[ "BSD-3-Clause" ]
2,402
2017-12-08T22:31:01.000Z
2022-03-28T19:25:52.000Z
src/external/boost/boost_1_68_0/libs/graph/example/successive_shortest_path_nonnegative_weights_example.cpp
Bpowers4/turicreate
73dad213cc1c4f74337b905baea2b3a1e5a0266c
[ "BSD-3-Clause" ]
1,343
2017-12-08T19:47:19.000Z
2022-03-26T11:31:36.000Z
//======================================================================= // Copyright 2013 University of Warsaw. // Authors: Piotr Wygocki // // Distributed under the Boost Software License, Version 1.0. (See // accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) //===================...
29.678571
73
0.599278
a3d292a5a1deb2d8b1786c1629e9c59b042e3f38
8,370
cpp
C++
src/third_party/mozjs/extract/js/src/builtin/streams/QueueingStrategies.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
src/third_party/mozjs/extract/js/src/builtin/streams/QueueingStrategies.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
src/third_party/mozjs/extract/js/src/builtin/streams/QueueingStrategies.cpp
benety/mongo
203430ac9559f82ca01e3cbb3b0e09149fec0835
[ "Apache-2.0" ]
null
null
null
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- * vim: set ts=8 sts=2 et sw=2 tw=80: * 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/. */ ...
36.233766
87
0.673477
a3d2d75bd931915e69b9de25798330702a1c646d
6,679
cpp
C++
Source/RuntimeMeshLoader/Private/MeshLoader.cpp
minbaby/RuntimeMeshLoader
a01bcce936e9b6e663f26c40c48900c58e296825
[ "MIT" ]
25
2021-05-11T06:12:32.000Z
2022-03-22T21:13:56.000Z
Source/RuntimeMeshLoader/Private/MeshLoader.cpp
minbaby/RuntimeMeshLoader
a01bcce936e9b6e663f26c40c48900c58e296825
[ "MIT" ]
2
2021-10-06T09:49:57.000Z
2021-11-28T10:49:30.000Z
Source/RuntimeMeshLoader/Private/MeshLoader.cpp
minbaby/RuntimeMeshLoader
a01bcce936e9b6e663f26c40c48900c58e296825
[ "MIT" ]
7
2021-10-05T23:50:47.000Z
2022-03-17T06:57:27.000Z
// Fill out your copyright notice in the Description page of Project Settings. #include "MeshLoader.h" #include <assimp/Importer.hpp> #include <assimp/scene.h> #include <assimp/postprocess.h> #include "Modules/ModuleManager.h" #include "Misc/FileHelper.h" #include "IImageWrapper.h" #include "Runtime/ImageWrapper/Pu...
31.504717
201
0.719719
a3d352f05f4ee9dec1206881dfec5836ea5bdb75
8,250
cpp
C++
src/core/SkImageInfo.cpp
CarbonBeta/android_external_skqp
78c01d5dd7309cebba9bb38099cbe8dcb7960d05
[ "BSD-3-Clause" ]
1
2021-03-07T03:46:07.000Z
2021-03-07T03:46:07.000Z
src/core/SkImageInfo.cpp
CarbonBeta/android_external_skqp
78c01d5dd7309cebba9bb38099cbe8dcb7960d05
[ "BSD-3-Clause" ]
null
null
null
src/core/SkImageInfo.cpp
CarbonBeta/android_external_skqp
78c01d5dd7309cebba9bb38099cbe8dcb7960d05
[ "BSD-3-Clause" ]
5
2019-01-12T23:00:57.000Z
2021-03-24T20:55:12.000Z
/* * Copyright 2010 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "SkImageInfo.h" #include "SkSafeMath.h" #include "SkReadBuffer.h" #include "SkWriteBuffer.h" // These values must be constant over revisions, though they can be rena...
35.25641
99
0.626909
a3d4fc0a0eb04b8bd95c21975ba550da8faafa44
11,895
cpp
C++
src/gpu/effects/GrTextureStripAtlas.cpp
derp-caf/external_skia
b09dc92e00edce8366085aaad7dcce94ceb11b69
[ "BSD-3-Clause" ]
1
2019-05-29T09:54:38.000Z
2019-05-29T09:54:38.000Z
src/gpu/effects/GrTextureStripAtlas.cpp
derp-caf/external_skia
b09dc92e00edce8366085aaad7dcce94ceb11b69
[ "BSD-3-Clause" ]
null
null
null
src/gpu/effects/GrTextureStripAtlas.cpp
derp-caf/external_skia
b09dc92e00edce8366085aaad7dcce94ceb11b69
[ "BSD-3-Clause" ]
8
2019-01-12T23:06:45.000Z
2021-09-03T00:15:46.000Z
/* * Copyright 2012 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "GrTextureStripAtlas.h" #include "GrContext.h" #include "GrContextPriv.h" #include "GrProxyProvider.h" #include "GrSurfaceContext.h" #include "SkGr.h" #include "SkPix...
31.468254
99
0.594872
a3d5da145028e87d1c6d3162384ea2d4e790abc5
5,124
cpp
C++
projects/robots/robotis/darwin-op/libraries/managers/src/RobotisOp2GaitManager.cpp
victorhu3/webots
60d173850f0b4714c500db004e69f2df8cfb9e8a
[ "Apache-2.0" ]
1
2020-06-08T13:38:11.000Z
2020-06-08T13:38:11.000Z
projects/robots/robotis/darwin-op/libraries/managers/src/RobotisOp2GaitManager.cpp
victorhu3/webots
60d173850f0b4714c500db004e69f2df8cfb9e8a
[ "Apache-2.0" ]
2
2020-05-18T12:49:14.000Z
2020-12-01T15:13:43.000Z
projects/robots/robotis/darwin-op/libraries/managers/src/RobotisOp2GaitManager.cpp
victorhu3/webots
60d173850f0b4714c500db004e69f2df8cfb9e8a
[ "Apache-2.0" ]
1
2022-02-25T12:34:18.000Z
2022-02-25T12:34:18.000Z
// Copyright 1996-2020 Cyberbotics Ltd. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agr...
31.826087
122
0.698673
a3d771ac8e56002daad4f2fab3056f5e8d426934
1,909
cpp
C++
TAO/tests/CSD_Strategy_Tests/TP_Foo_C/Foo_C_i.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
36
2015-01-10T07:27:33.000Z
2022-03-07T03:32:08.000Z
TAO/tests/CSD_Strategy_Tests/TP_Foo_C/Foo_C_i.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
2
2018-08-13T07:30:51.000Z
2019-02-25T03:04:31.000Z
TAO/tests/CSD_Strategy_Tests/TP_Foo_C/Foo_C_i.cpp
cflowe/ACE
5ff60b41adbe1772372d1a43bcc1f2726ff8f810
[ "DOC" ]
38
2015-01-08T14:12:06.000Z
2022-01-19T08:33:00.000Z
// $Id: Foo_C_i.cpp 77008 2007-02-12 11:52:38Z johnnyw $ #include "Foo_C_i.h" #include "AppShutdown.h" #include "CustomExceptionC.h" Foo_C_i::Foo_C_i() { for (unsigned i = 0; i < 10; i++) { this->count_[i] = 0; } } Foo_C_i::~Foo_C_i() { } void Foo_C_i::op1(void) { ++this->count_[0]; } void Foo...
13.34965
69
0.588266
a3d7ddd41c0ec2bafd914e5cf0b186ae55adffe8
12,697
cpp
C++
thcrap/src/log.cpp
thpatch/thcrap
251f1cad72adc175d77d8f4be9a6b1ec2d317fd7
[ "Unlicense" ]
359
2015-01-01T17:17:17.000Z
2022-03-27T14:56:19.000Z
thcrap/src/log.cpp
thpatch/thcrap
251f1cad72adc175d77d8f4be9a6b1ec2d317fd7
[ "Unlicense" ]
145
2015-05-01T05:53:31.000Z
2022-03-31T13:32:53.000Z
thcrap/src/log.cpp
thpatch/thcrap
251f1cad72adc175d77d8f4be9a6b1ec2d317fd7
[ "Unlicense" ]
43
2015-06-09T11:30:11.000Z
2022-01-30T01:36:00.000Z
/** * Touhou Community Reliant Automatic Patcher * Main DLL * * ---- * * Logging functions. */ #include "thcrap.h" #include <io.h> #include <fcntl.h> #include <ThreadPool.h> // ------- // Globals // ------- static HANDLE log_file = INVALID_HANDLE_VALUE; static bool console_open = false; static ThreadPoo...
23.866541
137
0.664015
a3d9459bd9350d4d6c62ebf130704bd24662efa8
562
hpp
C++
src/Server/Modelo/Juego/Sprites/SpriteEnemigo.hpp
brunograssano/SuperMarioBros-Honguitos
f945e434bc317a6d8c8d682b1042d8a385929156
[ "MIT" ]
4
2021-02-21T17:12:46.000Z
2021-02-25T20:36:27.000Z
src/Server/Modelo/Juego/Sprites/SpriteEnemigo.hpp
brunograssano/SuperMarioBros-Honguitos
f945e434bc317a6d8c8d682b1042d8a385929156
[ "MIT" ]
null
null
null
src/Server/Modelo/Juego/Sprites/SpriteEnemigo.hpp
brunograssano/SuperMarioBros-Honguitos
f945e434bc317a6d8c8d682b1042d8a385929156
[ "MIT" ]
2
2021-02-20T19:49:33.000Z
2021-02-25T20:35:22.000Z
#ifndef TP_TALLER_DE_PROGRAMACION_FIUBA_SPRITEENEMIGO_HPP #define TP_TALLER_DE_PROGRAMACION_FIUBA_SPRITEENEMIGO_HPP #include "Sprite.hpp" class SpriteEnemigo : public Sprite{ public: virtual void morir() = 0; virtual bool seMostroElTiempoSuficienteEnPantalla() = 0; bool debeEspejarse() con...
25.545455
64
0.692171
a3da4e57b81d8242d0186108d50167262b330b48
1,873
cpp
C++
korus/src/tcp/tcp_helper.cpp
zjkw/konus
fb8c6f54cf481454d2d66129505efb11bf534994
[ "MIT" ]
13
2017-10-24T08:50:28.000Z
2019-11-02T01:15:26.000Z
korus/src/tcp/tcp_helper.cpp
zjkw/konus
fb8c6f54cf481454d2d66129505efb11bf534994
[ "MIT" ]
null
null
null
korus/src/tcp/tcp_helper.cpp
zjkw/konus
fb8c6f54cf481454d2d66129505efb11bf534994
[ "MIT" ]
null
null
null
#include <fcntl.h> #include <unistd.h> #include "tcp_helper.h" SOCKET create_tcp_origin_sock() { return ::socket(AF_INET, SOCK_STREAM | SOCK_NONBLOCK | SOCK_CLOEXEC, IPPROTO_TCP); } bool set_linger_sock(SOCKET fd, int onoff, int linger) { struct linger slinger; slinger.l_onoff = onoff ? 1 : 0; slinger.l_linger =...
18.184466
108
0.691404
a3dbe44b9a82a785aec321946763373a885af699
5,948
cpp
C++
QSslServer/qsslserver.cpp
Skycoder42/QtUtils
484cea19cda0079133a65c4f207aaa67539b795d
[ "MIT" ]
8
2016-11-06T00:46:16.000Z
2021-11-08T11:26:45.000Z
QSslServer/qsslserver.cpp
Skycoder42/QtUtils
484cea19cda0079133a65c4f207aaa67539b795d
[ "MIT" ]
null
null
null
QSslServer/qsslserver.cpp
Skycoder42/QtUtils
484cea19cda0079133a65c4f207aaa67539b795d
[ "MIT" ]
3
2016-12-23T10:27:01.000Z
2021-03-08T10:14:35.000Z
#include "qsslserver.h" #include <QFile> #include <QCoreApplication> #include <QSslKey> #include <QSslCertificate> #include <QSslCipher> QSslServer::QSslServer(QObject *parent) : QTcpServer(parent), configuration(QSslConfiguration::defaultConfiguration()), lastError(QAbstractSocket::UnknownSocketError), ...
25.097046
144
0.695864
a3dfe593f9eeb59715fa46f302d216d959b755d3
46,253
cpp
C++
src/fileformat/types/dotnet_types/dotnet_type_reconstructor.cpp
nimeshvaghasiya/retdec
30b3cb3402fe59d992bf0558681f051bcd7f7849
[ "MIT", "BSD-3-Clause" ]
1
2019-01-25T13:31:44.000Z
2019-01-25T13:31:44.000Z
src/fileformat/types/dotnet_types/dotnet_type_reconstructor.cpp
nimeshvaghasiya/retdec
30b3cb3402fe59d992bf0558681f051bcd7f7849
[ "MIT", "BSD-3-Clause" ]
null
null
null
src/fileformat/types/dotnet_types/dotnet_type_reconstructor.cpp
nimeshvaghasiya/retdec
30b3cb3402fe59d992bf0558681f051bcd7f7849
[ "MIT", "BSD-3-Clause" ]
1
2019-03-24T03:45:30.000Z
2019-03-24T03:45:30.000Z
/** * @file src/fileformat/types/dotnet_types/dotnet_type_reconstructor.cpp * @brief Class for .NET reconstructor. * @copyright (c) 2017 Avast Software, licensed under the MIT license */ #include <iostream> #include "retdec/utils/conversion.h" #include "retdec/utils/string.h" #include "retdec/fileformat/types/dot...
32.232056
191
0.737963
a3e06d4c89327050625ac514d41bc29c4f6493f3
4,965
cc
C++
vendor/github.com/tensorflow/tensorflow/tensorflow/lite/kernels/batch_to_space_nd_test.cc
owennewo/kfserving
89f73c87525b8e06ea799f69f2979c4ad272fcb3
[ "Apache-2.0" ]
52
2018-11-12T06:39:35.000Z
2022-03-08T05:31:27.000Z
vendor/github.com/tensorflow/tensorflow/tensorflow/lite/kernels/batch_to_space_nd_test.cc
owennewo/kfserving
89f73c87525b8e06ea799f69f2979c4ad272fcb3
[ "Apache-2.0" ]
13
2020-11-13T18:53:29.000Z
2022-03-12T00:33:00.000Z
vendor/github.com/tensorflow/tensorflow/tensorflow/lite/kernels/batch_to_space_nd_test.cc
owennewo/kfserving
89f73c87525b8e06ea799f69f2979c4ad272fcb3
[ "Apache-2.0" ]
17
2019-03-11T01:17:16.000Z
2022-02-21T00:44:47.000Z
/* Copyright 2017 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
34.72028
80
0.665055
9cb04dfd7d313150e30a0582ae2915110e588c9f
1,795
hpp
C++
applications/physbam/physbam-lib/External_Libraries/Archives/boost/boost/serialization/collections_save_imp.hpp
schinmayee/nimbus
170cd15e24a7a88243a6ea80aabadc0fc0e6e177
[ "BSD-3-Clause" ]
20
2017-07-03T19:09:09.000Z
2021-09-10T02:53:56.000Z
applications/physbam/physbam-lib/External_Libraries/Archives/boost/boost/serialization/collections_save_imp.hpp
schinmayee/nimbus
170cd15e24a7a88243a6ea80aabadc0fc0e6e177
[ "BSD-3-Clause" ]
null
null
null
applications/physbam/physbam-lib/External_Libraries/Archives/boost/boost/serialization/collections_save_imp.hpp
schinmayee/nimbus
170cd15e24a7a88243a6ea80aabadc0fc0e6e177
[ "BSD-3-Clause" ]
9
2017-09-17T02:05:06.000Z
2020-01-31T00:12:01.000Z
#ifndef BOOST_SERIALIZATION_COLLECTIONS_SAVE_IMP_HPP #define BOOST_SERIALIZATION_COLLECTIONS_SAVE_IMP_HPP // MS compatible compilers support #pragma once #if defined(_MSC_VER) && (_MSC_VER >= 1020) # pragma once #endif /////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8 // collections_sav...
34.519231
80
0.672423
9cb16744fe767b9314c64517359912c5cfdb800b
24,099
cpp
C++
Product/Main.cpp
markshepherd/papr-firmware
7e85eb7a393e54b0edef0c30e8354a9d34d130d0
[ "MIT" ]
null
null
null
Product/Main.cpp
markshepherd/papr-firmware
7e85eb7a393e54b0edef0c30e8354a9d34d130d0
[ "MIT" ]
null
null
null
Product/Main.cpp
markshepherd/papr-firmware
7e85eb7a393e54b0edef0c30e8354a9d34d130d0
[ "MIT" ]
null
null
null
/* * Main.cpp * * The main program of the PAPR product firmware. * * KEEP THE MAIN LOOP RUNNING AT ALL TIMES. DO NOT USE DELAY(). * Be careful - this firmware keeps running even when the user does "Power Off". * This code may need to run correctly for months at a time. Don't break this code! * All code must wo...
35.027616
161
0.612059
9cb3987da182acf75e82a3974269d1c3d54ef9d1
18,768
cpp
C++
openjdk11/src/hotspot/cpu/aarch64/methodHandles_aarch64.cpp
iootclab/openjdk
b01fc962705eadfa96def6ecff46c44d522e0055
[ "Apache-2.0" ]
2
2018-06-19T05:43:32.000Z
2018-06-23T10:04:56.000Z
openjdk11/src/hotspot/cpu/aarch64/methodHandles_aarch64.cpp
iootclab/openjdk
b01fc962705eadfa96def6ecff46c44d522e0055
[ "Apache-2.0" ]
null
null
null
openjdk11/src/hotspot/cpu/aarch64/methodHandles_aarch64.cpp
iootclab/openjdk
b01fc962705eadfa96def6ecff46c44d522e0055
[ "Apache-2.0" ]
null
null
null
/* * Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2014, Red Hat Inc. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Pu...
41.430464
163
0.686594
9cb5096edff0dbbc7f349a706892a37d794a4164
3,009
cpp
C++
cpp/20226.cpp
jinhan814/BOJ
47d2a89a2602144eb08459cabac04d036c758577
[ "MIT" ]
9
2021-01-15T13:36:39.000Z
2022-02-23T03:44:46.000Z
cpp/20226.cpp
jinhan814/BOJ
47d2a89a2602144eb08459cabac04d036c758577
[ "MIT" ]
1
2021-07-31T17:11:26.000Z
2021-08-02T01:01:03.000Z
cpp/20226.cpp
jinhan814/BOJ
47d2a89a2602144eb08459cabac04d036c758577
[ "MIT" ]
null
null
null
#include <bits/stdc++.h> #define fastio cin.tie(0)->sync_with_stdio(0) using namespace std; using ll = int64_t; using ull = uint64_t; using pll = pair<ll, ll>; struct Random { mt19937 rd; Random() : rd((unsigned)chrono::steady_clock::now().time_since_epoch().count()) {} Random(int seed) : rd(seed) {} template<typ...
25.285714
83
0.504819
9cb56b68a5d296612853dc49467ce522135a89ed
2,955
cpp
C++
src/core/renderable.cpp
lebarsfa/vpython-wx
38df062e5532b79f632f4f2a1abae86754c264a9
[ "BSL-1.0" ]
68
2015-01-17T05:41:58.000Z
2021-04-24T08:35:24.000Z
src/core/renderable.cpp
lebarsfa/vpython-wx
38df062e5532b79f632f4f2a1abae86754c264a9
[ "BSL-1.0" ]
16
2015-01-02T19:36:06.000Z
2018-09-09T21:01:25.000Z
src/core/renderable.cpp
lebarsfa/vpython-wx
38df062e5532b79f632f4f2a1abae86754c264a9
[ "BSL-1.0" ]
37
2015-02-04T04:23:00.000Z
2020-06-07T03:24:41.000Z
// Copyright (c) 2000, 2001, 2002, 2003 by David Scherer and others. // Copyright (c) 2003, 2004 by Jonathan Brandmeyer and others. // See the file license.txt for complete license terms. // See the file authors.txt for a complete list of contributors. #include "renderable.hpp" #include "material.hpp" namespa...
25.042373
77
0.701184
9cb6c4898896aeb38478d760c865a65dd5c4151c
1,477
cpp
C++
FoW_Exercices/Warcraft Heroes Beyond Time/Label.cpp
isaaccalvis/BasicGameModules
af1cf38f0f178306dfc5b0cc44a64c2305ea3c5d
[ "MIT" ]
null
null
null
FoW_Exercices/Warcraft Heroes Beyond Time/Label.cpp
isaaccalvis/BasicGameModules
af1cf38f0f178306dfc5b0cc44a64c2305ea3c5d
[ "MIT" ]
null
null
null
FoW_Exercices/Warcraft Heroes Beyond Time/Label.cpp
isaaccalvis/BasicGameModules
af1cf38f0f178306dfc5b0cc44a64c2305ea3c5d
[ "MIT" ]
null
null
null
#include "ModuleRender.h" #include "Label.h" #include "Fonts.h" #include "GUIElem.h" #include "Application.h" #include "ModuleInput.h" Label::Label(fPoint position, LabelInfo& info, GUIElem* parent, Module* listener) : GUIElem(position, listener, {}, GUIElemType::LABEL, parent) { text = info.text; font = App->fonts-...
21.1
157
0.669601
9cb78d2faaba29f6af5c59fc1039441b986e299f
9,693
cpp
C++
test/gtest_unit/hook/select.cpp
zhcpku/libgo
4780002c9bfb4e710ab51951b064a04118d4a191
[ "MIT" ]
2,831
2015-12-24T03:21:07.000Z
2022-03-31T18:37:29.000Z
test/gtest_unit/hook/select.cpp
gswgit/libgo
4af17b7c67643c4d54aa354dcc77963ea07847d0
[ "MIT" ]
238
2016-01-26T03:35:35.000Z
2022-03-18T11:17:00.000Z
test/gtest_unit/hook/select.cpp
gswgit/libgo
4af17b7c67643c4d54aa354dcc77963ea07847d0
[ "MIT" ]
781
2015-12-24T04:28:34.000Z
2022-03-26T05:23:12.000Z
#include "test_server.h" #include <iostream> #include <unistd.h> #include <gtest/gtest.h> #include <sys/select.h> #include <time.h> #include <chrono> #include <boost/any.hpp> #include "coroutine.h" #include "../gtest_exit.h" #include "hook.h" using namespace std; using namespace co; ///select test points: // 1.timeout...
30.102484
97
0.588775
9cb84d76f53eb53816c9d3dfbbb3638c797eb01a
1,604
cpp
C++
src/bcm.cpp
stuart-knock/nftsim
e0af063add3b4d99dcbff45310b818d948fc15ec
[ "Apache-2.0" ]
16
2018-08-28T10:57:07.000Z
2021-12-06T11:52:35.000Z
src/bcm.cpp
stuart-knock/nftsim
e0af063add3b4d99dcbff45310b818d948fc15ec
[ "Apache-2.0" ]
43
2018-01-24T00:56:24.000Z
2020-10-19T11:15:57.000Z
src/bcm.cpp
stuart-knock/nftsim
e0af063add3b4d99dcbff45310b818d948fc15ec
[ "Apache-2.0" ]
16
2018-03-12T02:17:43.000Z
2022-03-18T06:25:16.000Z
/** @file bcm.cpp @brief A brief, one sentence description. A more detailed multiline description... @author Peter Drysdale, Felix Fung, */ // Main module header #include "bcm.h" // BCM; // Other nftsim headers #include "configf.h" // Configf; #include "de.h" // RK4; // C++ standard library...
23.588235
84
0.592269
9cb912fcb7f571e7d5000c40e1211463fcaa81bd
1,897
cpp
C++
src/main.cpp
webosose/com.webos.service.uwb
77b637e017f6d964b10587306a5c7fa5f4e97199
[ "Apache-2.0" ]
null
null
null
src/main.cpp
webosose/com.webos.service.uwb
77b637e017f6d964b10587306a5c7fa5f4e97199
[ "Apache-2.0" ]
null
null
null
src/main.cpp
webosose/com.webos.service.uwb
77b637e017f6d964b10587306a5c7fa5f4e97199
[ "Apache-2.0" ]
null
null
null
#include <glib.h> #include <string> #include <pbnjson.hpp> #include "UwbLogging.h" #include "UwbServiceManager.h" #include "uart_serial.h" PmLogContext gUwbLogContext; static const char* const logContextName = "webos-uwb-service"; int main(int argc, char *argv[]) { PmLogErr status = PmLogGetContext(logContextNa...
25.635135
76
0.653664
9cb96ba3ce075d8f7c119d3311e591d2f938ce1c
4,378
cpp
C++
mlir/lib/Dialect/LoSPN/Passes/LoSPNCopyRemoval.cpp
lukasmweber/spn-compiler
acab827e8b8df69d1a4e83a209e14f62bd8d967e
[ "Apache-2.0" ]
8
2021-07-07T17:19:16.000Z
2022-03-30T06:08:44.000Z
mlir/lib/Dialect/LoSPN/Passes/LoSPNCopyRemoval.cpp
lukasmweber/spn-compiler
acab827e8b8df69d1a4e83a209e14f62bd8d967e
[ "Apache-2.0" ]
9
2021-06-01T15:03:19.000Z
2021-11-19T02:48:35.000Z
mlir/lib/Dialect/LoSPN/Passes/LoSPNCopyRemoval.cpp
lukasmweber/spn-compiler
acab827e8b8df69d1a4e83a209e14f62bd8d967e
[ "Apache-2.0" ]
2
2021-07-07T17:19:36.000Z
2022-02-28T15:08:36.000Z
//============================================================================== // This file is part of the SPNC project under the Apache License v2.0 by the // Embedded Systems and Applications Group, TU Darmstadt. // For the full copyright and license information, please view the LICENSE // file that was distributed...
37.101695
113
0.622659
9cbabb8fe4f917122cdb1ee706eca3e48bfb803b
1,019
cpp
C++
src/164.maximum_gap/code2.cpp
cloudzfy/leetcode
9d32090429ef297e1f62877382bff582d247266a
[ "MIT" ]
1
2016-07-02T17:44:10.000Z
2016-07-02T17:44:10.000Z
src/164.maximum_gap/code2.cpp
cloudzfy/leetcode
9d32090429ef297e1f62877382bff582d247266a
[ "MIT" ]
null
null
null
src/164.maximum_gap/code2.cpp
cloudzfy/leetcode
9d32090429ef297e1f62877382bff582d247266a
[ "MIT" ]
1
2019-12-21T04:57:15.000Z
2019-12-21T04:57:15.000Z
class Solution { public: int maximumGap(vector<int>& nums) { int n = nums.size(); if (n < 2) return 0; int maxNum = *max_element(nums.begin(), nums.end()); int minNum = *min_element(nums.begin(), nums.end()); if (maxNum == minNum) return 0; double bucketSize = (double...
39.192308
94
0.525025
9cbb8ad66a5af0377ccab696a2c6d5093cdb3095
4,975
cc
C++
mindspore/lite/src/runtime/kernel/opencl/kernel/gl_to_cl.cc
PowerOlive/mindspore
bda20724a94113cedd12c3ed9083141012da1f15
[ "Apache-2.0" ]
null
null
null
mindspore/lite/src/runtime/kernel/opencl/kernel/gl_to_cl.cc
PowerOlive/mindspore
bda20724a94113cedd12c3ed9083141012da1f15
[ "Apache-2.0" ]
null
null
null
mindspore/lite/src/runtime/kernel/opencl/kernel/gl_to_cl.cc
PowerOlive/mindspore
bda20724a94113cedd12c3ed9083141012da1f15
[ "Apache-2.0" ]
null
null
null
/** * Copyright 2021 Huawei Technologies Co., Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
32.730263
102
0.66995
9cbdf76959e02f4f0ea1003b30ed05b043de9ede
31,578
cpp
C++
be/src/exec/tablet_sink.cpp
Xuxue1/incubator-doris
3ea12dd5932b90ea949782e7ebf6a282cb75652b
[ "Apache-2.0" ]
null
null
null
be/src/exec/tablet_sink.cpp
Xuxue1/incubator-doris
3ea12dd5932b90ea949782e7ebf6a282cb75652b
[ "Apache-2.0" ]
null
null
null
be/src/exec/tablet_sink.cpp
Xuxue1/incubator-doris
3ea12dd5932b90ea949782e7ebf6a282cb75652b
[ "Apache-2.0" ]
null
null
null
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
38.416058
104
0.586991
9cbe30c285c0a5ceedf852f0e51262d3e9cefa12
9,915
hxx
C++
opencascade/Graphic3d_GraduatedTrihedron.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
opencascade/Graphic3d_GraduatedTrihedron.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
opencascade/Graphic3d_GraduatedTrihedron.hxx
mgreminger/OCP
92eacb99497cd52b419c8a4a8ab0abab2330ed42
[ "Apache-2.0" ]
null
null
null
// Created on: 2011-03-06 // Created by: Sergey ZERCHANINOV // Copyright (c) 2011-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the GNU Lesser General Public License version 2...
42.012712
148
0.741503
9cbf916c5c0e62e0ae3121a996046b06b986d0b4
5,119
cpp
C++
multiview/multiview_cpp/src/perceive/movie/ffmpeg.cpp
prcvlabs/multiview
1a03e14855292967ffb0c0ec7fff855c5abbc9d2
[ "Apache-2.0" ]
5
2021-09-03T23:12:08.000Z
2022-03-04T21:43:32.000Z
multiview/multiview_cpp/src/perceive/movie/ffmpeg.cpp
prcvlabs/multiview
1a03e14855292967ffb0c0ec7fff855c5abbc9d2
[ "Apache-2.0" ]
3
2021-09-08T02:57:46.000Z
2022-02-26T05:33:02.000Z
multiview/multiview_cpp/src/perceive/movie/ffmpeg.cpp
prcvlabs/multiview
1a03e14855292967ffb0c0ec7fff855c5abbc9d2
[ "Apache-2.0" ]
2
2021-09-26T03:14:40.000Z
2022-01-26T06:42:52.000Z
#include "ffmpeg.hpp" #include <opencv2/core/core.hpp> #include <opencv2/highgui/highgui.hpp> #include <boost/process.hpp> #define This StreamingFFMpegEncoder namespace perceive::movie { namespace bp = boost::process; // ----------------------------------------------------- call ffmpeg to make mp4 // int call_ffm...
32.398734
87
0.436413
9cbf95027924eb40ae799b2ba58d260f249d76e3
405
cpp
C++
BasicPhysicsEngine/main.cpp
adityadutta/BasicPhysicsEngine
dfd85f1f3a25e573c09ca420115c2a4e701c5dc0
[ "MIT" ]
1
2018-12-12T21:20:37.000Z
2018-12-12T21:20:37.000Z
BasicPhysicsEngine/main.cpp
adityadutta/BasicPhysicsEngine
dfd85f1f3a25e573c09ca420115c2a4e701c5dc0
[ "MIT" ]
null
null
null
BasicPhysicsEngine/main.cpp
adityadutta/BasicPhysicsEngine
dfd85f1f3a25e573c09ca420115c2a4e701c5dc0
[ "MIT" ]
1
2018-12-12T21:21:23.000Z
2018-12-12T21:21:23.000Z
#include "GameManager.h" #include <iostream> int main(int argc, char* args[]) { GameManager *ptr = new GameManager(); bool status = ptr->OnCreate(); if (status == true) { ptr->Run(); } else if (status == false) { /// You should have learned about stderr (std::cerr) in Operating Systems std::cerr << "Fatal ...
22.5
77
0.654321
9cbfd885c90882a6be0bdce8711a31eca6ce93be
13,157
cc
C++
Alignment/ReferenceTrajectories/src/VMatrix.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
Alignment/ReferenceTrajectories/src/VMatrix.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
Alignment/ReferenceTrajectories/src/VMatrix.cc
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
/* * VMatrix.cpp * * Created on: Feb 15, 2012 * Author: kleinwrt */ /** \file * VMatrix methods. * * \author Claus Kleinwort, DESY, 2011 (Claus.Kleinwort@desy.de) * * \copyright * Copyright (c) 2011 - 2016 Deutsches Elektronen-Synchroton, * Member of the Helmholtz Association, (DESY), HAMBURG, G...
29.04415
87
0.512807
9cc07313177f18bb06a2ce21d9ad1294e39fa0d5
1,636
hpp
C++
Nana.Cpp03/include/nana/threads/thread.hpp
gfannes/nana
3b8d33f9a98579684ea0440b6952deabe61bd978
[ "BSL-1.0" ]
1
2018-02-09T21:25:13.000Z
2018-02-09T21:25:13.000Z
Nana.Cpp03/include/nana/threads/thread.hpp
gfannes/nana
3b8d33f9a98579684ea0440b6952deabe61bd978
[ "BSL-1.0" ]
null
null
null
Nana.Cpp03/include/nana/threads/thread.hpp
gfannes/nana
3b8d33f9a98579684ea0440b6952deabe61bd978
[ "BSL-1.0" ]
null
null
null
/* * Thread Implementation * Copyright(C) 2003-2013 Jinhao(cnjinhao@hotmail.com) * * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE_1_0.txt or copy at * http://www.boost.org/LICENSE_1_0.txt) * * @file: nana/threads/thread.hpp */ #ifndef NANA_THREADS_THREAD_HPP #def...
19.47619
61
0.680318
9cc1d9aa5ffe9e9c8a2e701fe211822c907f10ca
488
cpp
C++
gen/blink/modules/serviceworkers/ClientQueryOptions.cpp
gergul/MiniBlink
7a11c52f141d54d5f8e1a9af31867cd120a2c3c4
[ "Apache-2.0" ]
8
2019-05-05T16:38:05.000Z
2021-11-09T11:45:38.000Z
gen/blink/modules/serviceworkers/ClientQueryOptions.cpp
gergul/MiniBlink
7a11c52f141d54d5f8e1a9af31867cd120a2c3c4
[ "Apache-2.0" ]
null
null
null
gen/blink/modules/serviceworkers/ClientQueryOptions.cpp
gergul/MiniBlink
7a11c52f141d54d5f8e1a9af31867cd120a2c3c4
[ "Apache-2.0" ]
4
2018-12-14T07:52:46.000Z
2021-06-11T18:06:09.000Z
// Copyright 2014 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. // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! #include "config.h" #include "ClientQueryOptions.h" namespace blink { Cli...
20.333333
76
0.747951
9cc246112cbf1f8e0aca0977fa0fea216c914593
277
hpp
C++
cmdstan/stan/src/stan/lang/ast/fun/is_space_def.hpp
yizhang-cae/torsten
dc82080ca032325040844cbabe81c9a2b5e046f9
[ "BSD-3-Clause" ]
1
2019-07-05T01:40:40.000Z
2019-07-05T01:40:40.000Z
cmdstan/stan/src/stan/lang/ast/fun/is_space_def.hpp
yizhang-cae/torsten
dc82080ca032325040844cbabe81c9a2b5e046f9
[ "BSD-3-Clause" ]
null
null
null
cmdstan/stan/src/stan/lang/ast/fun/is_space_def.hpp
yizhang-cae/torsten
dc82080ca032325040844cbabe81c9a2b5e046f9
[ "BSD-3-Clause" ]
null
null
null
#ifndef STAN_LANG_AST_FUN_IS_SPACE_DEF_HPP #define STAN_LANG_AST_FUN_IS_SPACE_DEF_HPP #include <stan/lang/ast/fun/is_space.hpp> namespace stan { namespace lang { bool is_space(char c) { return c == ' ' || c == '\n' || c == '\r' || c == '\t'; } } } #endif
17.3125
61
0.624549
9cc2e24bf7b5e3b4ed7273dc58aa9e325c66ed91
1,671
hpp
C++
io/PVPFile.hpp
PetaVision/ObsoletePV
e99a42bf4292e944b252e144b5e07442b0715697
[ "MIT" ]
null
null
null
io/PVPFile.hpp
PetaVision/ObsoletePV
e99a42bf4292e944b252e144b5e07442b0715697
[ "MIT" ]
null
null
null
io/PVPFile.hpp
PetaVision/ObsoletePV
e99a42bf4292e944b252e144b5e07442b0715697
[ "MIT" ]
null
null
null
/* * PVPFile.hpp * * Created on: Jun 4, 2014 * Author: pschultz * * The goal of the PVPFile class is to encapsulate all interaction with * PVPFiles---opening and closing, reading and writing, gathering and * scattering---into a form where, even in the MPI context, all processes * call the same public met...
24.217391
100
0.715739
9cc3b7753bcf17838c04abb48065fe9452d89026
12,129
cpp
C++
parrlibdx/Texture.cpp
AlessandroParrotta/parrlibdx
0b3cb26358f7831c6043ebc3ce0893b3a5fadcfe
[ "MIT" ]
null
null
null
parrlibdx/Texture.cpp
AlessandroParrotta/parrlibdx
0b3cb26358f7831c6043ebc3ce0893b3a5fadcfe
[ "MIT" ]
null
null
null
parrlibdx/Texture.cpp
AlessandroParrotta/parrlibdx
0b3cb26358f7831c6043ebc3ce0893b3a5fadcfe
[ "MIT" ]
null
null
null
#include "Texture.h" #include <SOIL/SOIL.h> #include "common.h" #include "debug.h" #include "util.h" namespace prb { void Texture::defInit(unsigned char* data) { D3D11_TEXTURE2D_DESC tdesc; // ... // Fill out width, height, mip levels, format, etc... // ... tdesc.Width...
36.314371
202
0.608294
9cc603ec457fa5a3c9cea08bc0b1c62763431e92
1,566
cpp
C++
src/Grid.cpp
perezite/o2-blocks
c021f9eaddfefe619d3e41508c0fbdb81a95c276
[ "MIT" ]
null
null
null
src/Grid.cpp
perezite/o2-blocks
c021f9eaddfefe619d3e41508c0fbdb81a95c276
[ "MIT" ]
null
null
null
src/Grid.cpp
perezite/o2-blocks
c021f9eaddfefe619d3e41508c0fbdb81a95c276
[ "MIT" ]
null
null
null
#include "Grid.h" #include "DrawTarget.h" namespace blocks { void Grid::computeLine(const sb::Vector2f& start, const sb::Vector2f& end) { Line line(_thickness, _color); line.addPoint(start); line.addPoint(end); _vertices.insert(_vertices.end(), line.getVertices().begin(), line.getVertices().end()); ...
29.54717
91
0.646232
9cc711561074bd40d99fb14975ce6d1012c1b892
10,794
cpp
C++
ugene/src/plugins/dna_export/src/ExportTasks.cpp
iganna/lspec
c75cba3e4fa9a46abeecbf31b5d467827cf4fec0
[ "MIT" ]
null
null
null
ugene/src/plugins/dna_export/src/ExportTasks.cpp
iganna/lspec
c75cba3e4fa9a46abeecbf31b5d467827cf4fec0
[ "MIT" ]
null
null
null
ugene/src/plugins/dna_export/src/ExportTasks.cpp
iganna/lspec
c75cba3e4fa9a46abeecbf31b5d467827cf4fec0
[ "MIT" ]
null
null
null
/** * UGENE - Integrated Bioinformatics Tools. * Copyright (C) 2008-2012 UniPro <ugene@unipro.ru> * http://ugene.unipro.ru * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version...
38.141343
140
0.650547
9cc7e19f882f9a7c2d3610709ce6d3746ca0244b
3,589
cpp
C++
src/importer/onnx/ops/lpnorm.cpp
xhuohai/nncase
cf7921c273c7446090939c64f57ef783a62bf29c
[ "Apache-2.0" ]
510
2018-12-29T06:49:36.000Z
2022-03-30T08:36:29.000Z
src/importer/onnx/ops/lpnorm.cpp
xhuohai/nncase
cf7921c273c7446090939c64f57ef783a62bf29c
[ "Apache-2.0" ]
459
2019-02-17T13:31:29.000Z
2022-03-31T05:55:38.000Z
src/importer/onnx/ops/lpnorm.cpp
xhuohai/nncase
cf7921c273c7446090939c64f57ef783a62bf29c
[ "Apache-2.0" ]
155
2019-04-16T08:43:24.000Z
2022-03-21T07:27:26.000Z
/* Copyright 2020 Alexey Chernov <4ernov@gmail.com> * * 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...
38.180851
132
0.650878
9cc80e7d11b7225ad9f738f0d2e4c04c0ca96330
716
cpp
C++
test/main.cpp
mbeckh/code-quality-actions
b58b6ee06589f68fa0fea550a7852e66c1b12246
[ "Apache-2.0" ]
null
null
null
test/main.cpp
mbeckh/code-quality-actions
b58b6ee06589f68fa0fea550a7852e66c1b12246
[ "Apache-2.0" ]
28
2021-05-09T20:54:00.000Z
2022-03-28T02:12:47.000Z
test/main.cpp
mbeckh/code-quality-actions
b58b6ee06589f68fa0fea550a7852e66c1b12246
[ "Apache-2.0" ]
null
null
null
// // Test Object which contains: // - Two errors to be found by clang-tidy. // - Test coverage for all lines except the ones marked with 'no coverage'. // int called_always() { #ifdef _DEBUG const char sz[] = "Debug"; // testing: deliberate error for clang-tidy #else const char sz[] = "Release"; // testing:...
26.518519
76
0.601955
9cc87b9935d8eb6a783a5ea41d3c7a14c30e40ec
1,495
cpp
C++
mhlo_builder/csrc/mlir/mhlo/builder/batch_norm.cpp
JamesTheZ/BladeDISC
e6c76ee557ebfccd560d44f6b6276bbc4e0a8a34
[ "Apache-2.0" ]
328
2021-12-20T03:29:35.000Z
2022-03-31T14:27:23.000Z
mhlo_builder/csrc/mlir/mhlo/builder/batch_norm.cpp
JamesTheZ/BladeDISC
e6c76ee557ebfccd560d44f6b6276bbc4e0a8a34
[ "Apache-2.0" ]
82
2021-12-20T09:15:16.000Z
2022-03-31T09:33:48.000Z
mhlo_builder/csrc/mlir/mhlo/builder/batch_norm.cpp
JamesTheZ/BladeDISC
e6c76ee557ebfccd560d44f6b6276bbc4e0a8a34
[ "Apache-2.0" ]
66
2021-12-21T17:28:27.000Z
2022-03-29T12:08:34.000Z
// Copyright 2021 The BladeDISC 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 l...
39.342105
75
0.745819
9cc8d63d5231ad4e74966d401bbc844759622952
5,304
cc
C++
ppapi/proxy/ppb_flash_menu_proxy.cc
junmin-zhu/chromium-rivertrail
eb1a57aca71fe68d96e48af8998dcfbe45171ee1
[ "BSD-3-Clause" ]
5
2018-03-10T13:08:42.000Z
2021-07-26T15:02:11.000Z
proxy/ppb_flash_menu_proxy.cc
ajirios/pepper
6411800940d2e236de2ac0a667aeea00e028fc35
[ "BSD-3-Clause" ]
1
2015-07-21T08:02:01.000Z
2015-07-21T08:02:01.000Z
proxy/ppb_flash_menu_proxy.cc
ajirios/pepper
6411800940d2e236de2ac0a667aeea00e028fc35
[ "BSD-3-Clause" ]
6
2016-11-14T10:13:35.000Z
2021-01-23T15:29:53.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 "ppapi/proxy/ppb_flash_menu_proxy.h" #include "ppapi/c/pp_errors.h" #include "ppapi/c/private/ppb_flash_menu.h" #include "ppapi/proxy/enter_...
30.308571
79
0.71003
9cc9823e10b363dd5ebbe9759f53dc502a450c6e
7,149
cpp
C++
source/laplace/platform/linux/linux_input.cpp
automainint/laplace
66956df506918d48d79527e524ff606bb197d8af
[ "MIT" ]
3
2021-05-17T21:15:28.000Z
2021-09-06T23:01:52.000Z
source/laplace/platform/linux/linux_input.cpp
automainint/laplace
66956df506918d48d79527e524ff606bb197d8af
[ "MIT" ]
33
2021-10-20T10:47:07.000Z
2022-02-26T02:24:20.000Z
source/laplace/platform/linux/linux_input.cpp
automainint/laplace
66956df506918d48d79527e524ff606bb197d8af
[ "MIT" ]
null
null
null
/* Copyright (c) 2021 Mitya Selivanov * * This file is part of the Laplace project. * * Laplace is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See * the MIT License for more details. ...
28.710843
70
0.615611
9cca2064ad3f216a6de0e346f3f9674514489d0e
591
cpp
C++
Plugin/abci/Foundation/aiLogger.cpp
afterwise/AlembicForUnity
c6aa8478f7f5e9278350f29dcbffdaa8422028be
[ "MIT" ]
null
null
null
Plugin/abci/Foundation/aiLogger.cpp
afterwise/AlembicForUnity
c6aa8478f7f5e9278350f29dcbffdaa8422028be
[ "MIT" ]
null
null
null
Plugin/abci/Foundation/aiLogger.cpp
afterwise/AlembicForUnity
c6aa8478f7f5e9278350f29dcbffdaa8422028be
[ "MIT" ]
null
null
null
#include "pch.h" #include <cstdarg> void aiLogPrint(const char* fmt, ...) { va_list vl; va_start(vl, fmt); #ifdef _WIN32 char buf[2048]; vsprintf(buf, fmt, vl); ::OutputDebugStringA(buf); ::OutputDebugStringA("\n"); #else vprintf(fmt, vl); #endif va_end(vl); } void aiLo...
17.909091
41
0.582064
9ccb51e327129e22ecb045c63e79a73ff16eaeb6
553
cpp
C++
BlackVision/Test/Engine/TestShaderCompilation/Source/TestCombinations.cpp
black-vision-engine/bv-engine
85089d41bb22afeaa9de070646e12aa1777ecedf
[ "MIT" ]
1
2022-01-28T11:43:47.000Z
2022-01-28T11:43:47.000Z
BlackVision/Test/Engine/TestShaderCompilation/Source/TestCombinations.cpp
black-vision-engine/bv-engine
85089d41bb22afeaa9de070646e12aa1777ecedf
[ "MIT" ]
null
null
null
BlackVision/Test/Engine/TestShaderCompilation/Source/TestCombinations.cpp
black-vision-engine/bv-engine
85089d41bb22afeaa9de070646e12aa1777ecedf
[ "MIT" ]
null
null
null
#include "Framework/FrameworkTest.h" #include "ShaderCompiler.h" #include "System/Path.h" // *********************** // Tries to compile and link all shaders in combination folder. SIMPLE_FRAMEWORK_TEST_IN_SUITE( Shaders_Compilation, TestCombinations ) { auto vsShadersList = Path::List( "Assets/S...
23.041667
90
0.632911
9ccc275048bdc734f411beaf2d3e1821e45320d2
421
hpp
C++
book/cpp_templates/tmplbook/basics/stack8decl.hpp
houruixiang/day_day_learning
208f70a4f0a85dd99191087835903d279452fd54
[ "MIT" ]
null
null
null
book/cpp_templates/tmplbook/basics/stack8decl.hpp
houruixiang/day_day_learning
208f70a4f0a85dd99191087835903d279452fd54
[ "MIT" ]
null
null
null
book/cpp_templates/tmplbook/basics/stack8decl.hpp
houruixiang/day_day_learning
208f70a4f0a85dd99191087835903d279452fd54
[ "MIT" ]
null
null
null
template<typename T, template<typename Elem> class Cont = std::deque> class Stack { private: Cont<T> elems; // elements public: void push(T const&); // push element void pop(); // pop element T const& top() const; // return top element bool empty()...
26.3125
67
0.534442
9ccd0a2ec195ccb9022d296b0c3adb82d940a1f2
4,580
cpp
C++
Controls4U/SplitterButton.cpp
XOULID/Anboto
2743b066f23bf2db9cc062d3adedfd044bc69ec1
[ "Apache-2.0" ]
null
null
null
Controls4U/SplitterButton.cpp
XOULID/Anboto
2743b066f23bf2db9cc062d3adedfd044bc69ec1
[ "Apache-2.0" ]
null
null
null
Controls4U/SplitterButton.cpp
XOULID/Anboto
2743b066f23bf2db9cc062d3adedfd044bc69ec1
[ "Apache-2.0" ]
null
null
null
#include <CtrlLib/CtrlLib.h> #include "SplitterButton.h" namespace Upp { SplitterButton::SplitterButton() { Add(splitter.SizePos()); Add(button1.LeftPosZ(80, 10).TopPosZ(30, 40)); Add(button2.LeftPosZ(80, 10).TopPosZ(30, 40)); splitter.WhenLayout = THISBACK(OnLayout); button1.WhenAction = THISBACK1(SetButton...
23.608247
90
0.667904
9ccedb89aa2d4f62ea91fed1ba7baee9a0720032
1,471
cc
C++
src/base/kaldi-utils.cc
LanceaKing/kaldi
eb205a83f08fb8056ba1deb03c505ec8b722d4d9
[ "Apache-2.0" ]
36
2019-11-12T22:41:43.000Z
2022-02-01T15:24:02.000Z
src/base/kaldi-utils.cc
LanceaKing/kaldi
eb205a83f08fb8056ba1deb03c505ec8b722d4d9
[ "Apache-2.0" ]
8
2017-09-06T00:12:00.000Z
2019-03-22T08:03:19.000Z
src/base/kaldi-utils.cc
LanceaKing/kaldi
eb205a83f08fb8056ba1deb03c505ec8b722d4d9
[ "Apache-2.0" ]
29
2020-01-03T22:28:27.000Z
2022-03-30T23:00:27.000Z
// base/kaldi-utils.cc // Copyright 2009-2011 Karel Vesely; Yanmin Qian; Microsoft Corporation // See ../../COPYING for clarification regarding multiple 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 obtai...
31.978261
79
0.719239
9cd069d0706763fea075a2cff1e7ea529f888998
774
cpp
C++
src/NoOpReply.cpp
mikz/capybara-webkit
1ffa80566570cdb33ef17fd197575c07842e51de
[ "MIT" ]
37
2015-01-28T07:34:34.000Z
2021-06-14T02:17:51.000Z
src/NoOpReply.cpp
mikz/capybara-webkit
1ffa80566570cdb33ef17fd197575c07842e51de
[ "MIT" ]
18
2015-01-28T08:26:55.000Z
2018-02-20T14:04:58.000Z
src/NoOpReply.cpp
mikz/capybara-webkit
1ffa80566570cdb33ef17fd197575c07842e51de
[ "MIT" ]
36
2015-01-29T09:42:47.000Z
2021-01-22T11:45:43.000Z
#include <QTimer> #include "NoOpReply.h" NoOpReply::NoOpReply(QNetworkRequest &request, QObject *parent) : QNetworkReply(parent) { open(ReadOnly | Unbuffered); setAttribute(QNetworkRequest::HttpStatusCodeAttribute, 200); setHeader(QNetworkRequest::ContentLengthHeader, QVariant(0)); setHeader(QNetworkRequest::C...
23.454545
89
0.726098
9cd1db45f0ccad502076d68221a3c730bd14020f
1,941
hpp
C++
src/ftxui/component/checkbox.hpp
JacobFV/JOSS
f7fa6869764e13387b6ceca862a68cfac64d9047
[ "MIT" ]
null
null
null
src/ftxui/component/checkbox.hpp
JacobFV/JOSS
f7fa6869764e13387b6ceca862a68cfac64d9047
[ "MIT" ]
null
null
null
src/ftxui/component/checkbox.hpp
JacobFV/JOSS
f7fa6869764e13387b6ceca862a68cfac64d9047
[ "MIT" ]
null
null
null
#ifndef FTXUI_COMPONENT_CHECKBOX_HPP #define FTXUI_COMPONENT_CHECKBOX_HPP #include <functional> // for function #include <string> // for allocator, wstring #include "ftxui/component/component.hpp" // for Component #include "ftxui/component/component_base.hpp" // for ComponentBase #include "ftxui/dom/elem...
31.306452
80
0.710459
9cd2f3499185401f61ebc61e59f089ba8c9ff59f
161
hpp
C++
win32/include/swt/graphics/Resource.hpp
deianvn/swt-plus-plus
e85236e8279b4e6f5993d94d1bd14e6fc7e1dd1b
[ "Apache-2.0" ]
null
null
null
win32/include/swt/graphics/Resource.hpp
deianvn/swt-plus-plus
e85236e8279b4e6f5993d94d1bd14e6fc7e1dd1b
[ "Apache-2.0" ]
null
null
null
win32/include/swt/graphics/Resource.hpp
deianvn/swt-plus-plus
e85236e8279b4e6f5993d94d1bd14e6fc7e1dd1b
[ "Apache-2.0" ]
null
null
null
#ifndef SWT_PLUS_PLUS_RESOURCE_H #define SWT_PLUS_PLUS_RESOURCE_H namespace swt { class Resource { public: }; } #endif //SWT_PLUS_PLUS_RESOURCE_H
12.384615
33
0.745342
9cd334187a6698cd26fde563fc57f4b08c76503b
2,603
cpp
C++
src/SerialWombatWS2812.cpp
BroadwellConsultingInc/SerialWombatArdLib
856fdb89074892caf94f939cff4c4eb5ece2d7c3
[ "MIT" ]
null
null
null
src/SerialWombatWS2812.cpp
BroadwellConsultingInc/SerialWombatArdLib
856fdb89074892caf94f939cff4c4eb5ece2d7c3
[ "MIT" ]
2
2021-08-14T01:04:06.000Z
2022-01-30T15:04:24.000Z
src/SerialWombatWS2812.cpp
BroadwellConsultingInc/SerialWombatArdLib
856fdb89074892caf94f939cff4c4eb5ece2d7c3
[ "MIT" ]
1
2022-01-30T14:46:38.000Z
2022-01-30T14:46:38.000Z
#include "SerialWombat.h" SerialWombatWS2812::SerialWombatWS2812(SerialWombat& serialWombat) { _sw = &serialWombat; } int16_t SerialWombatWS2812::begin(uint8_t pin, uint8_t numberOfLEDs, uint16_t userBufferIndex) { _pin = pin; _numLEDS = numberOfLEDs; _userBufferIndex = userBufferIndex; uint8_t tx[8] = { 200,_...
22.059322
98
0.71456
9cd339c28828916e740dc3b0c182a88726a87240
1,949
hpp
C++
tests/system/test_boost_parts/sources_changed/interprocess/sync/windows/named_recursive_mutex.hpp
iazarov/metrixplusplus
322777cba4e089502dd6053749b07a7be9da65b2
[ "MIT" ]
198
2015-01-13T05:47:18.000Z
2022-03-09T04:46:46.000Z
tests/system/test_boost_parts/sources_changed/interprocess/sync/windows/named_recursive_mutex.hpp
iazarov/metrixplusplus
322777cba4e089502dd6053749b07a7be9da65b2
[ "MIT" ]
197
2017-07-06T16:53:59.000Z
2019-05-31T17:57:51.000Z
tests/system/test_boost_parts/sources_changed/interprocess/sync/windows/named_recursive_mutex.hpp
iazarov/metrixplusplus
322777cba4e089502dd6053749b07a7be9da65b2
[ "MIT" ]
139
2015-01-15T20:09:31.000Z
2022-01-31T15:21:16.000Z
////////////////////////////////////////////////////////////////////////////// // // (C) Copyright Ion Gaztanaga 2011-2012. Distributed under the Boost // Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // // See http://www.boost.org/libs/...
33.033898
110
0.680862
9cd3490cce2905d6bc02a256eaa3c48c8bb088aa
6,506
hpp
C++
libraries/chain/include/enumivo/chain/database_utils.hpp
TP-Lab/enumivo
76d81a36d2db8cea93fb54cd95a6ec5f6c407f97
[ "MIT" ]
null
null
null
libraries/chain/include/enumivo/chain/database_utils.hpp
TP-Lab/enumivo
76d81a36d2db8cea93fb54cd95a6ec5f6c407f97
[ "MIT" ]
null
null
null
libraries/chain/include/enumivo/chain/database_utils.hpp
TP-Lab/enumivo
76d81a36d2db8cea93fb54cd95a6ec5f6c407f97
[ "MIT" ]
null
null
null
/** * @file * @copyright defined in enumivo/LICENSE */ #pragma once #include <enumivo/chain/types.hpp> #include <fc/io/raw.hpp> #include <softfloat.hpp> namespace enumivo { namespace chain { template<typename ...Indices> class index_set; template<typename Index> class index_utils { public: ...
29.707763
120
0.618352
9cd3dda963caab637c859dd1c34fc157105b11fc
3,411
cpp
C++
tests/test_coefficient_ops.cpp
PayasR/DwellRegions-open
72d8c4a7a5e6d2981005b2ac1182441e227d7314
[ "BSD-3-Clause" ]
null
null
null
tests/test_coefficient_ops.cpp
PayasR/DwellRegions-open
72d8c4a7a5e6d2981005b2ac1182441e227d7314
[ "BSD-3-Clause" ]
null
null
null
tests/test_coefficient_ops.cpp
PayasR/DwellRegions-open
72d8c4a7a5e6d2981005b2ac1182441e227d7314
[ "BSD-3-Clause" ]
null
null
null
#include "../include/coefficient.hpp" #include <iostream> #include <random> #include <vector> using DwellRegions::Coefficient; auto generate_random_coefficients(size_t num_points) { std::random_device rd; // Will be used to obtain a seed for the random number engine std::mt19937 gen(rd()); // Standard mersenne_...
34.11
100
0.623864
9cd440d4a0d38e46fe707f1005a15f286e202a84
913
cpp
C++
src/RcppExports.cpp
christophsax/srr
a0b285d9093095c67f22808e22e93e4f484b9034
[ "MIT" ]
null
null
null
src/RcppExports.cpp
christophsax/srr
a0b285d9093095c67f22808e22e93e4f484b9034
[ "MIT" ]
null
null
null
src/RcppExports.cpp
christophsax/srr
a0b285d9093095c67f22808e22e93e4f484b9034
[ "MIT" ]
null
null
null
// Generated by using Rcpp::compileAttributes() -> do not edit by hand // Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393 #include <Rcpp.h> using namespace Rcpp; // rcpp_parse_rmd void rcpp_parse_rmd(const std::string filename, const std::string tempfile); RcppExport SEXP _srr_rcpp_parse_rmd(SEXP filenameSEXP,...
31.482759
84
0.750274
9cd48a50320620a02d83b09e89fdf0a874192d11
18,036
cpp
C++
groups/lsp/lspcore/lspcore_arithmeticutil.cpp
dgoffredo/bdelisp
ea1411cd99aa69605f0a8281fe3be89db09c4aac
[ "blessing" ]
null
null
null
groups/lsp/lspcore/lspcore_arithmeticutil.cpp
dgoffredo/bdelisp
ea1411cd99aa69605f0a8281fe3be89db09c4aac
[ "blessing" ]
null
null
null
groups/lsp/lspcore/lspcore_arithmeticutil.cpp
dgoffredo/bdelisp
ea1411cd99aa69605f0a8281fe3be89db09c4aac
[ "blessing" ]
null
null
null
#include <bdlb_arrayutil.h> #include <bdlb_bitutil.h> #include <bdld_datummaker.h> #include <bdldfp_decimal.h> #include <bdldfp_decimalutil.h> #include <bsl_algorithm.h> #include <bsl_cmath.h> #include <bsl_functional.h> #include <bsl_limits.h> #include <bsl_numeric.h> #include <bsl_utility.h> #include <bslmf_assert.h>...
34.88588
79
0.575904
9cd59c8ea20b2758e329764ff335fff9e25608ed
658
cc
C++
test/sync_call.cc
shayanalia/msgpack-rpc-cpp
3fd73f9a58b899774dca13a1c478fad7924dd8fd
[ "Apache-2.0" ]
28
2015-01-15T13:50:05.000Z
2022-03-01T13:41:33.000Z
test/sync_call.cc
shayanalia/msgpack-rpc-cpp
3fd73f9a58b899774dca13a1c478fad7924dd8fd
[ "Apache-2.0" ]
1
2016-10-03T22:45:49.000Z
2016-10-04T01:11:57.000Z
test/sync_call.cc
shayanalia/msgpack-rpc-cpp
3fd73f9a58b899774dca13a1c478fad7924dd8fd
[ "Apache-2.0" ]
13
2015-11-27T15:30:59.000Z
2020-09-30T20:43:00.000Z
#include "echo_server.h" #include <msgpack/rpc/server.h> #include <msgpack/rpc/client.h> #include <cclog/cclog.h> #include <cclog/cclog_tty.h> int main(void) { cclog::reset(new cclog_tty(cclog::TRACE, std::cout)); signal(SIGPIPE, SIG_IGN); // run server { rpc::server svr; std::auto_ptr<rpc::dispatcher> dp(new m...
18.277778
71
0.641337
9cd621b858b8e9299e55bfcbc0b206454cdf4b22
15,046
cc
C++
src/devices/power/drivers/aml-meson-power/aml-power.cc
dahlia-os/fuchsia-pine64-pinephone
57aace6f0b0bd75306426c98ab9eb3ff4524a61d
[ "BSD-3-Clause" ]
10
2020-12-28T17:04:44.000Z
2022-03-12T03:20:43.000Z
src/devices/power/drivers/aml-meson-power/aml-power.cc
oshunter/fuchsia
2196fc8c176d01969466b97bba3f31ec55f7767b
[ "BSD-3-Clause" ]
1
2022-01-14T23:38:40.000Z
2022-01-14T23:38:40.000Z
src/devices/power/drivers/aml-meson-power/aml-power.cc
oshunter/fuchsia
2196fc8c176d01969466b97bba3f31ec55f7767b
[ "BSD-3-Clause" ]
4
2020-12-28T17:04:45.000Z
2022-03-12T03:20:44.000Z
// Copyright 2020 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 "aml-power.h" #include <lib/device-protocol/pdev.h> #include <algorithm> #include <ddk/binding.h> #include <ddk/debug.h> #include <ddk/platform...
34.040724
99
0.684966
9cd6a3619b467bb50fc0754649f1e75ffaf60f6c
7,084
hpp
C++
openstudiocore/src/project/AnalysisRecord.hpp
jasondegraw/OpenStudio
2ab13f6e5e48940929041444e40ad9d36f80f552
[ "blessing" ]
1
2016-12-29T08:45:03.000Z
2016-12-29T08:45:03.000Z
openstudiocore/src/project/AnalysisRecord.hpp
jasondegraw/OpenStudio
2ab13f6e5e48940929041444e40ad9d36f80f552
[ "blessing" ]
null
null
null
openstudiocore/src/project/AnalysisRecord.hpp
jasondegraw/OpenStudio
2ab13f6e5e48940929041444e40ad9d36f80f552
[ "blessing" ]
null
null
null
/********************************************************************** * Copyright (c) 2008-2016, Alliance for Sustainable Energy. * All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Fre...
33.733333
94
0.714992
9cd6c31f764122214136fff6589293c7a8c871b9
3,148
cpp
C++
src/Shader.cpp
the13fools/fieldgen
6b1757e1a75cd65b73526aa9c200303fbee4d669
[ "Unlicense", "MIT" ]
93
2019-06-04T06:56:49.000Z
2022-03-30T08:44:58.000Z
src/Shader.cpp
the13fools/fieldgen
6b1757e1a75cd65b73526aa9c200303fbee4d669
[ "Unlicense", "MIT" ]
1
2020-02-06T14:56:41.000Z
2020-07-15T17:31:29.000Z
src/Shader.cpp
the13fools/fieldgen
6b1757e1a75cd65b73526aa9c200303fbee4d669
[ "Unlicense", "MIT" ]
11
2019-06-06T21:11:29.000Z
2021-08-14T05:06:16.000Z
#include "Shader.h" #include <fstream> #include <iostream> using namespace std; namespace DDG { Shader::Shader( void ) // constructor -- shader is initially invalid : vertexShader( 0 ), fragmentShader( 0 ), geometryShader( 0 ), program( 0 ), linked( false ) {} Shader::~Shader( void...
22.013986
79
0.558132
9cd6e5e1af2fb129df0d5d31d5105797a3503d20
9,205
cpp
C++
calc-gtf-cvt.cpp
NaveenKumar-Intel/edid-decode
4fdf6f2dc0211f4252f19a274f7a72a882fb72dc
[ "MIT" ]
3
2020-08-01T22:22:37.000Z
2021-10-30T13:22:12.000Z
calc-gtf-cvt.cpp
NaveenKumar-Intel/edid-decode
4fdf6f2dc0211f4252f19a274f7a72a882fb72dc
[ "MIT" ]
1
2021-06-08T08:39:07.000Z
2021-06-08T09:32:21.000Z
calc-gtf-cvt.cpp
NaveenKumar-Intel/edid-decode
4fdf6f2dc0211f4252f19a274f7a72a882fb72dc
[ "MIT" ]
4
2020-08-24T11:46:01.000Z
2022-03-31T07:46:35.000Z
// SPDX-License-Identifier: MIT /* * Copyright 2006-2012 Red Hat, Inc. * Copyright 2018-2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved. * * Author: Adam Jackson <ajax@nwnk.net> * Maintainer: Hans Verkuil <hverkuil-cisco@xs4all.nl> */ #include <stdio.h> #include <stdlib.h> #include <math.h> #...
35.133588
90
0.691037
9cd9ec1315f44ba17406216a8e849bbde7e6f376
1,263
cpp
C++
Stack/Check for redundent braces.cpp
Dharaneeshwar/DataStructures
9fab95b8d58c39cb3bb9cd6d635f2f5d4fdec9df
[ "MIT" ]
11
2020-09-12T03:05:30.000Z
2020-11-12T00:18:08.000Z
Stack/Check for redundent braces.cpp
g-o-l-d-y/DataStructures
7049c6d0e7e3d54bad3b380d8048c5215698c78e
[ "MIT" ]
1
2020-10-19T10:10:08.000Z
2020-10-19T10:10:08.000Z
Stack/Check for redundent braces.cpp
g-o-l-d-y/DataStructures
7049c6d0e7e3d54bad3b380d8048c5215698c78e
[ "MIT" ]
1
2020-10-19T06:48:16.000Z
2020-10-19T06:48:16.000Z
#include <iostream> #include <cstring> using namespace std; // class declaration class Node { public: char data; Node *next; } *head = NULL; void append(char data) { // adds the element to the top of Stack Node *newnode = new Node(); newnode->data = data; newnode->next = NULL; if (head == ...
17.30137
65
0.409343
9cda1c4fa4683eda4b13d22725cb0328104f8dde
13,167
cpp
C++
third_party/CppAD/cppad_lib/json_parser.cpp
eric-heiden/tds-merge
1e18447b0096efbb6df5d9ad7d69c8b0cc282747
[ "Apache-2.0" ]
null
null
null
third_party/CppAD/cppad_lib/json_parser.cpp
eric-heiden/tds-merge
1e18447b0096efbb6df5d9ad7d69c8b0cc282747
[ "Apache-2.0" ]
null
null
null
third_party/CppAD/cppad_lib/json_parser.cpp
eric-heiden/tds-merge
1e18447b0096efbb6df5d9ad7d69c8b0cc282747
[ "Apache-2.0" ]
null
null
null
/* -------------------------------------------------------------------------- CppAD: C++ Algorithmic Differentiation: Copyright (C) 2003-20 Bradley M. Bell CppAD is distributed under the terms of the Eclipse Public License Version 2.0. This Source Code may also be made available under the following Secon...
37.836207
79
0.55715
9cdbfd728fbd218182b08609f6be804d202a8279
9,495
hxx
C++
src/libserver/html/html_block.hxx
msuslu/rspamd
95764f816a9e1251a755c6edad339637345cfe28
[ "Apache-2.0" ]
1
2017-10-24T22:23:44.000Z
2017-10-24T22:23:44.000Z
src/libserver/html/html_block.hxx
msuslu/rspamd
95764f816a9e1251a755c6edad339637345cfe28
[ "Apache-2.0" ]
null
null
null
src/libserver/html/html_block.hxx
msuslu/rspamd
95764f816a9e1251a755c6edad339637345cfe28
[ "Apache-2.0" ]
1
2022-02-20T17:41:48.000Z
2022-02-20T17:41:48.000Z
/*- * Copyright 2021 Vsevolod Stakhov * * 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...
27.763158
107
0.67288