hexsha stringlengths 40 40 | size int64 7 1.05M | ext stringclasses 13
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 4 269 | max_stars_repo_name stringlengths 5 108 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 9 | max_stars_count int64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 4 269 | max_issues_repo_name stringlengths 5 116 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 9 | max_issues_count int64 1 67k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 4 269 | max_forks_repo_name stringlengths 5 116 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 9 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 7 1.05M | avg_line_length float64 1.21 330k | max_line_length int64 6 990k | alphanum_fraction float64 0.01 0.99 | author_id stringlengths 2 40 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a35cac64593a6d7e46f6a2cbad305982606666f2 | 125,501 | cxx | C++ | VTK/Filtering/vtkKdTree.cxx | matthb2/ParaView-beforekitwareswtichedtogit | e47e57d6ce88444d9e6af9ab29f9db8c23d24cef | [
"BSD-3-Clause"
] | 1 | 2021-07-31T19:38:03.000Z | 2021-07-31T19:38:03.000Z | VTK/Filtering/vtkKdTree.cxx | matthb2/ParaView-beforekitwareswtichedtogit | e47e57d6ce88444d9e6af9ab29f9db8c23d24cef | [
"BSD-3-Clause"
] | null | null | null | VTK/Filtering/vtkKdTree.cxx | matthb2/ParaView-beforekitwareswtichedtogit | e47e57d6ce88444d9e6af9ab29f9db8c23d24cef | [
"BSD-3-Clause"
] | 2 | 2019-01-22T19:51:40.000Z | 2021-07-31T19:38:05.000Z | /*=========================================================================
Program: Visualization Toolkit
Module: $RCSfile$
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is distrib... | 25.989025 | 106 | 0.527805 | matthb2 |
a35cde620bbee6f26ed9094b5c2703f9431fc6b8 | 785 | cpp | C++ | zdk/src/test_atomic.cpp | cristivlas/zerobugs | 5f080c8645b123d7887fd8a64f60e8d226e3b1d5 | [
"BSL-1.0"
] | 2 | 2018-03-19T23:27:47.000Z | 2018-06-24T16:15:19.000Z | zdk/src/test_atomic.cpp | cristivlas/zerobugs | 5f080c8645b123d7887fd8a64f60e8d226e3b1d5 | [
"BSL-1.0"
] | null | null | null | zdk/src/test_atomic.cpp | cristivlas/zerobugs | 5f080c8645b123d7887fd8a64f60e8d226e3b1d5 | [
"BSL-1.0"
] | 1 | 2021-11-28T05:39:05.000Z | 2021-11-28T05:39:05.000Z | // -------------------------------------------------------------------------
// This file is part of ZeroBugs, Copyright (c) 2010 Cristian L. Vlasceanu
//
// 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)
// ------... | 25.322581 | 76 | 0.541401 | cristivlas |
a35dfc3b9efe032abc7d5333c891076ba3901aef | 5,209 | cpp | C++ | core/sceneManager/network/3rdParty/raknet/Samples/Router2/Router2Sample.cpp | wterkaj/ApertusVR | 424ec5515ae08780542f33cc4841a8f9a96337b3 | [
"MIT"
] | 158 | 2016-11-17T19:37:51.000Z | 2022-03-21T19:57:55.000Z | core/sceneManager/network/3rdParty/raknet/Samples/Router2/Router2Sample.cpp | wterkaj/ApertusVR | 424ec5515ae08780542f33cc4841a8f9a96337b3 | [
"MIT"
] | 94 | 2016-11-18T09:55:57.000Z | 2021-01-14T08:50:40.000Z | core/sceneManager/network/3rdParty/raknet/Samples/Router2/Router2Sample.cpp | wterkaj/ApertusVR | 424ec5515ae08780542f33cc4841a8f9a96337b3 | [
"MIT"
] | 51 | 2017-05-24T10:20:25.000Z | 2022-03-17T15:07:02.000Z | /*
* Copyright (c) 2014, Oculus VR, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
#include ... | 29.429379 | 108 | 0.702246 | wterkaj |
a35ea0e5185bde809e65982fe9cef05f6b1add19 | 7,100 | hpp | C++ | gvsoc/gvsoc/models/cpu/iss/vp/include/iss_wrapper.hpp | VishalSharma0309/gap_sdk | 09ccc594a3696a84953b732022cecae11e751c97 | [
"Apache-2.0"
] | null | null | null | gvsoc/gvsoc/models/cpu/iss/vp/include/iss_wrapper.hpp | VishalSharma0309/gap_sdk | 09ccc594a3696a84953b732022cecae11e751c97 | [
"Apache-2.0"
] | null | null | null | gvsoc/gvsoc/models/cpu/iss/vp/include/iss_wrapper.hpp | VishalSharma0309/gap_sdk | 09ccc594a3696a84953b732022cecae11e751c97 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2018 ETH Zurich and University of Bologna
*
* 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... | 27.843137 | 161 | 0.715634 | VishalSharma0309 |
a36139e4923da686ce4a8114bd5ec3da552fa001 | 1,045 | cpp | C++ | Win32.Carberp.b/source - absource/pro/all source/Locker/src/procenum.cpp | 010001111/Vx-Suites | 6b4b90a60512cce48aa7b87aec5e5ac1c4bb9a79 | [
"MIT"
] | 2 | 2021-02-04T06:47:45.000Z | 2021-07-28T10:02:10.000Z | Win32.Carberp/all source/Locker/src/procenum.cpp | 010001111/Vx-Suites | 6b4b90a60512cce48aa7b87aec5e5ac1c4bb9a79 | [
"MIT"
] | null | null | null | Win32.Carberp/all source/Locker/src/procenum.cpp | 010001111/Vx-Suites | 6b4b90a60512cce48aa7b87aec5e5ac1c4bb9a79 | [
"MIT"
] | null | null | null | #include <windows.h>
#include <tlhelp32.h>
#include "procenum.h"
#include "dprint.h"
void FilteredEnumProcesses(
ProcessFilterFunction filter,
DWORD* pids,
DWORD pids_length,
DWORD* ret_length
)
{
HANDLE hSnap=CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0);
PROCESSENTRY32 ppe={0};
HANDLE resul... | 19.351852 | 69 | 0.654545 | 010001111 |
a3652544af6c94e9154ce9a46e7a0a0ad55decd7 | 130,268 | cpp | C++ | emulator/src/mame/drivers/rainbow.cpp | rjw57/tiw-computer | 5ef1c79893165b8622d1114d81cd0cded58910f0 | [
"MIT"
] | 1 | 2022-01-15T21:38:38.000Z | 2022-01-15T21:38:38.000Z | emulator/src/mame/drivers/rainbow.cpp | rjw57/tiw-computer | 5ef1c79893165b8622d1114d81cd0cded58910f0 | [
"MIT"
] | null | null | null | emulator/src/mame/drivers/rainbow.cpp | rjw57/tiw-computer | 5ef1c79893165b8622d1114d81cd0cded58910f0 | [
"MIT"
] | null | null | null | // license:GPL-2.0+
// copyright-holders:Miodrag Milanovic,Karl-Ludwig Deisenhofer
/***************************************************************************************************
DEC Rainbow 100
Driver-in-progress by R. Belmont and Miodrag Milanovic.
Keyboard & GDC fixes by Cracyc (June - Nov. 2016), Baud rate ge... | 37.693287 | 226 | 0.660462 | rjw57 |
a36719f1744ebcb5a6ce2128a2562b23f6ef30df | 1,351 | cpp | C++ | src/main.cpp | lex/3ds-raytracer | 835236c2b1acba61b0a9b6f1e68df5a9987ca723 | [
"BSD-3-Clause"
] | 2 | 2020-12-02T20:42:01.000Z | 2021-12-23T01:45:43.000Z | src/main.cpp | lex/3ds-raytracer | 835236c2b1acba61b0a9b6f1e68df5a9987ca723 | [
"BSD-3-Clause"
] | null | null | null | src/main.cpp | lex/3ds-raytracer | 835236c2b1acba61b0a9b6f1e68df5a9987ca723 | [
"BSD-3-Clause"
] | null | null | null | #include <algorithm>
#include <vector>
#include <3ds.h>
#include "vec.h"
int main(int argc, char* argv[]) {
gfxInitDefault();
consoleInit(GFX_TOP, NULL);
gfxSetDoubleBuffering(GFX_BOTTOM, false);
u8* framebuffer = gfxGetFramebuffer(GFX_BOTTOM, GFX_LEFT, NULL, NULL);
// you thought it would be 320... | 25.980769 | 119 | 0.532198 | lex |
a367b67605e0e0d87956c948d4021b9f1f631d1f | 23,580 | cc | C++ | mindspore/lite/tools/converter/parser/onnx/onnx_model_parser.cc | fufunoyu/mindspore | 704e367ada35653e8144eb0528c714f4b0231508 | [
"Apache-2.0"
] | null | null | null | mindspore/lite/tools/converter/parser/onnx/onnx_model_parser.cc | fufunoyu/mindspore | 704e367ada35653e8144eb0528c714f4b0231508 | [
"Apache-2.0"
] | null | null | null | mindspore/lite/tools/converter/parser/onnx/onnx_model_parser.cc | fufunoyu/mindspore | 704e367ada35653e8144eb0528c714f4b0231508 | [
"Apache-2.0"
] | 1 | 2021-05-10T03:30:36.000Z | 2021-05-10T03:30:36.000Z | /**
* Copyright 2020 Huawei Technologies Co., Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law... | 42.182469 | 120 | 0.664801 | fufunoyu |
a369bd0f7555a3b80efc4d07d011ed8c4c37513e | 44,522 | cpp | C++ | src/gpu/ops/GrQuadPerEdgeAA.cpp | QPDFium/skia | 10e7e77909c5be806180b789421d1d2c6d03a96a | [
"BSD-3-Clause"
] | 3 | 2018-02-24T23:06:50.000Z | 2022-01-21T08:39:16.000Z | src/gpu/ops/GrQuadPerEdgeAA.cpp | QPDFium/skia | 10e7e77909c5be806180b789421d1d2c6d03a96a | [
"BSD-3-Clause"
] | null | null | null | src/gpu/ops/GrQuadPerEdgeAA.cpp | QPDFium/skia | 10e7e77909c5be806180b789421d1d2c6d03a96a | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright 2018 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "src/gpu/ops/GrQuadPerEdgeAA.h"
#include "include/private/SkVx.h"
#include "src/gpu/SkGr.h"
#include "src/gpu/geometry/GrQuadUtils.h"
#include "src/gpu/glsl/GrGLSLCo... | 51.057339 | 100 | 0.60287 | QPDFium |
a36a4506ec59dc0633a2479f78dd8ef1cd4f4058 | 5,591 | cc | C++ | src/nextfloor/physic/cl_nearer_collision_engine.cc | ricofehr/enginepp | 5c67083c61247410878f1f80bf2858d3244b2074 | [
"MIT"
] | null | null | null | src/nextfloor/physic/cl_nearer_collision_engine.cc | ricofehr/enginepp | 5c67083c61247410878f1f80bf2858d3244b2074 | [
"MIT"
] | null | null | null | src/nextfloor/physic/cl_nearer_collision_engine.cc | ricofehr/enginepp | 5c67083c61247410878f1f80bf2858d3244b2074 | [
"MIT"
] | null | null | null | /**
* @file cl_collision_engine.cc
* @brief CLCollisionEngine class file
* @author Eric Fehr (ricofehr@nextdeploy.io, github: ricofehr)
*/
#include "nextfloor/physic/cl_nearer_collision_engine.h"
#include <fstream>
#include <vector>
#include <glm/glm.hpp>
#ifdef __APPLE__
#include <OpenCL/cl2.hpp>
#else
#incl... | 32.317919 | 117 | 0.657843 | ricofehr |
a36b5f6abfc7acf6acf42cd2ee5c2d16056e69c4 | 262 | cpp | C++ | src/main.cpp | ironoir/briqs | 6224371c9ea4feec19fb970c2f4c8c85fa661124 | [
"Apache-2.0"
] | 3 | 2015-01-29T09:14:58.000Z | 2015-03-02T01:13:05.000Z | src/main.cpp | ironoir/briqs | 6224371c9ea4feec19fb970c2f4c8c85fa661124 | [
"Apache-2.0"
] | null | null | null | src/main.cpp | ironoir/briqs | 6224371c9ea4feec19fb970c2f4c8c85fa661124 | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include <fstream>
#include <sstream>
#include "interpreter.h"
int main(int argc, char *argv[]) {
fstream fs(argv[1]);
stringstream ss;
ss << fs.rdbuf();
Interpreter interpreter(ss);
cout << interpreter.eval() << endl;
}
| 20.153846 | 39 | 0.641221 | ironoir |
a36bdd254c127d0d3a12f017238d8d21032661c7 | 6,169 | hpp | C++ | openstudiocore/src/utilities/units/MPHUnit.hpp | Acidburn0zzz/OpenStudio | 8d7aa85fe5df7987cb6983984d4ce8698f1bd0bd | [
"MIT"
] | null | null | null | openstudiocore/src/utilities/units/MPHUnit.hpp | Acidburn0zzz/OpenStudio | 8d7aa85fe5df7987cb6983984d4ce8698f1bd0bd | [
"MIT"
] | null | null | null | openstudiocore/src/utilities/units/MPHUnit.hpp | Acidburn0zzz/OpenStudio | 8d7aa85fe5df7987cb6983984d4ce8698f1bd0bd | [
"MIT"
] | null | null | null | /***********************************************************************************************************************
* OpenStudio(R), Copyright (c) 2008-2018, Alliance for Sustainable Energy, LLC. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitt... | 34.082873 | 124 | 0.689577 | Acidburn0zzz |
a370d9598a918de5daaa4ce90e2bed6f9e0eae2b | 5,658 | cpp | C++ | virtools/CKSound.cpp | yyc12345/BallanceModLoader | a03ff7ea163c0648e444c4d04cbd1de5071bdd6a | [
"MIT"
] | 36 | 2020-05-30T10:00:49.000Z | 2022-03-20T09:01:54.000Z | virtools/CKSound.cpp | yyc12345/BallanceModLoader | a03ff7ea163c0648e444c4d04cbd1de5071bdd6a | [
"MIT"
] | 17 | 2020-07-16T15:50:31.000Z | 2022-02-11T12:40:17.000Z | virtools/CKSound.cpp | yyc12345/BallanceModLoader | a03ff7ea163c0648e444c4d04cbd1de5071bdd6a | [
"MIT"
] | 5 | 2020-08-02T01:45:40.000Z | 2021-12-01T02:25:08.000Z | #include "CKSound.h"
NAKED CK_SOUND_SAVEOPTIONS CKSound::GetSaveOptions() {
JUMP(0x24003B62);
}
NAKED void CKSound::SetSaveOptions(CK_SOUND_SAVEOPTIONS Options) {
JUMP(0x24018678);
}
NAKED CKERROR CKMidiSound::SetSoundFileName(CKSTRING filename) {
JUMP(0x240182F6);
}
NAKED CKSTRING CKMidiSound::GetSoundFileName... | 19.922535 | 161 | 0.756274 | yyc12345 |
a371f8c88a5b13f8b696404094ed079f2a9489bd | 957 | cc | C++ | src/analyzer/protocol/modbus/Modbus.cc | simonhf/zeek | 1f52fe9f7bfe9f51056ad97aaf89761b2ad4c327 | [
"Apache-2.0"
] | 5 | 2020-08-07T10:26:04.000Z | 2022-01-12T19:50:11.000Z | src/analyzer/protocol/modbus/Modbus.cc | simonhf/zeek | 1f52fe9f7bfe9f51056ad97aaf89761b2ad4c327 | [
"Apache-2.0"
] | 27 | 2020-02-28T22:29:21.000Z | 2020-12-24T18:03:24.000Z | src/analyzer/protocol/modbus/Modbus.cc | simonhf/zeek | 1f52fe9f7bfe9f51056ad97aaf89761b2ad4c327 | [
"Apache-2.0"
] | 3 | 2020-05-25T20:14:38.000Z | 2020-11-10T22:58:08.000Z |
#include "Modbus.h"
#include "analyzer/protocol/tcp/TCP_Reassembler.h"
#include "events.bif.h"
using namespace analyzer::modbus;
ModbusTCP_Analyzer::ModbusTCP_Analyzer(Connection* c)
: TCP_ApplicationAnalyzer("MODBUS", c)
{
interp = new binpac::ModbusTCP::ModbusTCP_Conn(this);
}
ModbusTCP_Analyzer::~ModbusTCP_... | 20.804348 | 78 | 0.753396 | simonhf |
a373b9d0cd1e425a0a7ba35da3d9327f345b982d | 139 | cpp | C++ | psx/_dump_/51/_dump_c_src_/diabpsx/source/preinv.cpp | maoa3/scalpel | 2e7381b516cded28996d290438acc618d00b2aa7 | [
"Unlicense"
] | 15 | 2018-06-28T01:11:25.000Z | 2021-09-27T15:57:18.000Z | psx/_dump_/51/_dump_c_src_/diabpsx/source/preinv.cpp | maoa3/scalpel | 2e7381b516cded28996d290438acc618d00b2aa7 | [
"Unlicense"
] | 7 | 2018-06-29T04:08:23.000Z | 2019-10-17T13:57:22.000Z | psx/_dump_/51/_dump_c_src_/diabpsx/source/preinv.cpp | maoa3/scalpel | 2e7381b516cded28996d290438acc618d00b2aa7 | [
"Unlicense"
] | 7 | 2018-06-28T01:11:34.000Z | 2020-05-23T09:21:48.000Z | // C:\diabpsx\SOURCE\PREINV.CPP
#include "types.h"
// address: 0x8014EE74
// line start: 103
// line end: 109
void InitInv__Fv() {
}
| 11.583333 | 31 | 0.647482 | maoa3 |
a3787328afafee1d594026f57bfbfdc55e4d4709 | 198 | hpp | C++ | effects/cfgFunctions.hpp | genesis92x/LambsMods | d7a281ef74b1927ea3e8aba1063feeab2a97593a | [
"Unlicense"
] | 1 | 2021-07-10T10:06:23.000Z | 2021-07-10T10:06:23.000Z | effects/cfgFunctions.hpp | genesis92x/LambsMods | d7a281ef74b1927ea3e8aba1063feeab2a97593a | [
"Unlicense"
] | null | null | null | effects/cfgFunctions.hpp | genesis92x/LambsMods | d7a281ef74b1927ea3e8aba1063feeab2a97593a | [
"Unlicense"
] | null | null | null | class cfgFunctions {
class lambs_effects {
tag = "lambs_effects";
class functions {
file = "effects\functions";
class killed;
};
};
}; | 22 | 40 | 0.484848 | genesis92x |
a378c53c7ffaaad8f269221dd7e02e65b1837e10 | 11,218 | cp | C++ | MacOS/Sources/Application/Calendar/Component_Editing/CNewComponentRepeat.cp | mulberry-mail/mulberry4-client | cdaae15c51dd759110b4fbdb2063d0e3d5202103 | [
"ECL-2.0",
"Apache-2.0"
] | 12 | 2015-04-21T16:10:43.000Z | 2021-11-05T13:41:46.000Z | MacOS/Sources/Application/Calendar/Component_Editing/CNewComponentRepeat.cp | mulberry-mail/mulberry4-client | cdaae15c51dd759110b4fbdb2063d0e3d5202103 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2015-11-02T13:32:11.000Z | 2019-07-10T21:11:21.000Z | MacOS/Sources/Application/Calendar/Component_Editing/CNewComponentRepeat.cp | mulberry-mail/mulberry4-client | cdaae15c51dd759110b4fbdb2063d0e3d5202103 | [
"ECL-2.0",
"Apache-2.0"
] | 6 | 2015-01-12T08:49:12.000Z | 2021-03-27T09:11:10.000Z | /*
Copyright (c) 2007 Cyrus Daboo. 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 agr... | 28.18593 | 148 | 0.734712 | mulberry-mail |
a379251325c31268a3c747511b380893c6677eaa | 2,716 | cc | C++ | Fleece/Tree/NodeRef.cc | tophatch/fleece | 8853b610575c1a7d68681a792188bab9c0c1ec7d | [
"Apache-2.0"
] | 134 | 2016-05-09T19:42:55.000Z | 2022-01-16T13:05:18.000Z | Fleece/Tree/NodeRef.cc | tophatch/fleece | 8853b610575c1a7d68681a792188bab9c0c1ec7d | [
"Apache-2.0"
] | 70 | 2016-05-09T05:16:46.000Z | 2022-03-08T19:43:30.000Z | Fleece/Tree/NodeRef.cc | tophatch/fleece | 8853b610575c1a7d68681a792188bab9c0c1ec7d | [
"Apache-2.0"
] | 32 | 2016-05-19T10:38:06.000Z | 2022-01-30T22:45:25.000Z | //
// NodeRef.cc
//
// Copyright 2018-Present Couchbase, Inc.
//
// Use of this software is governed by the Business Source License included
// in the file licenses/BSL-Couchbase.txt. As of the Change Date specified
// in that file, in accordance with the Business Source License, use of this
// software will be govern... | 33.95 | 97 | 0.611929 | tophatch |
a379bb3244fdb3bf6bb4a95ff875ce18d7cbe759 | 4,856 | cpp | C++ | mainwindow.cpp | danielScLima/RedBlackTree | cdb35c547dffa983d749f557a19937f083692208 | [
"MIT"
] | null | null | null | mainwindow.cpp | danielScLima/RedBlackTree | cdb35c547dffa983d749f557a19937f083692208 | [
"MIT"
] | null | null | null | mainwindow.cpp | danielScLima/RedBlackTree | cdb35c547dffa983d749f557a19937f083692208 | [
"MIT"
] | null | null | null | #include "mainwindow.h"
#include "ui_mainwindow.h"
#include <fstream>
#include <QDir>
#include <QMessageBox>
MainWindow::MainWindow(QWidget *parent)
: QMainWindow(parent)
, ui(new Ui::MainWindow)
{
ui->setupUi(this);
updateDotFile();
updateImage();
renderImage();
}
MainWindow::~MainWindow()
... | 23.12381 | 87 | 0.642916 | danielScLima |
a37bc38db07361f9d605d9f78f9aad9bb816c1a3 | 4,878 | cpp | C++ | aws-cpp-sdk-ec2/source/model/SpotPrice.cpp | ambasta/aws-sdk-cpp | c81192e00b572b76d175d84dff77185bd17ae1ac | [
"Apache-2.0"
] | null | null | null | aws-cpp-sdk-ec2/source/model/SpotPrice.cpp | ambasta/aws-sdk-cpp | c81192e00b572b76d175d84dff77185bd17ae1ac | [
"Apache-2.0"
] | null | null | null | aws-cpp-sdk-ec2/source/model/SpotPrice.cpp | ambasta/aws-sdk-cpp | c81192e00b572b76d175d84dff77185bd17ae1ac | [
"Apache-2.0"
] | null | null | null | /*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | 32.959459 | 169 | 0.717097 | ambasta |
a37ee6b4441af2e3cae44896615383a39f5c5da2 | 4,299 | cpp | C++ | games/varooom-3d/src/fr_title_advices.cpp | taellinglin/butano | 13b93c1296970262e047b728496908c036f7e789 | [
"Zlib"
] | null | null | null | games/varooom-3d/src/fr_title_advices.cpp | taellinglin/butano | 13b93c1296970262e047b728496908c036f7e789 | [
"Zlib"
] | null | null | null | games/varooom-3d/src/fr_title_advices.cpp | taellinglin/butano | 13b93c1296970262e047b728496908c036f7e789 | [
"Zlib"
] | null | null | null | /*
* Copyright (c) 2020-2021 Gustavo Valiente gustavo.valiente@protonmail.com
* zlib License, see LICENSE file.
*/
#include "fr_title_advices.h"
#include "bn_display.h"
#include "fr_common_stuff.h"
namespace fr
{
namespace
{
constexpr bn::fixed text_y = (bn::display::height() / 2) - 16;
constexpr bn::fi... | 24.706897 | 114 | 0.599674 | taellinglin |
a37ff5a87a4bff37660011b41a0ea4f1dfce7571 | 6,333 | cc | C++ | cpp/core_v2/internal/simulation_user.cc | zhounewone/nearby-connections | 4e3f343b7a1b9faee0cb71dc3b2c0ecf13c7f707 | [
"Apache-2.0"
] | null | null | null | cpp/core_v2/internal/simulation_user.cc | zhounewone/nearby-connections | 4e3f343b7a1b9faee0cb71dc3b2c0ecf13c7f707 | [
"Apache-2.0"
] | null | null | null | cpp/core_v2/internal/simulation_user.cc | zhounewone/nearby-connections | 4e3f343b7a1b9faee0cb71dc3b2c0ecf13c7f707 | [
"Apache-2.0"
] | null | null | null | // Copyright 2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | 36.188571 | 78 | 0.620717 | zhounewone |
a380825bfe33d4a83a65d9664ee5e559c86cacf8 | 12,463 | cc | C++ | hefur/udp-server.cc | KrauseStefan/hefur | 8cecf86acdc55a4dd3942041c1e50f7bbdec045f | [
"MIT"
] | null | null | null | hefur/udp-server.cc | KrauseStefan/hefur | 8cecf86acdc55a4dd3942041c1e50f7bbdec045f | [
"MIT"
] | null | null | null | hefur/udp-server.cc | KrauseStefan/hefur | 8cecf86acdc55a4dd3942041c1e50f7bbdec045f | [
"MIT"
] | null | null | null | #include <sys/types.h>
#include <netinet/in.h>
#include <inttypes.h>
#include <unistd.h>
#include <fcntl.h>
#include <poll.h>
#if defined(__linux__)
# include <endian.h>
#elif defined(__FreeBSD__) || defined(__NetBSD__)
# include <sys/endian.h>
#elif defined(__OpenBSD__)
# include <sys/types.h>
# define be16toh(x) bet... | 26.293249 | 87 | 0.566717 | KrauseStefan |
a381f2d2ccb89f2dedfcb932d4f8f657b24b2a9d | 272 | cpp | C++ | Leetcode/1000-2000/1317. Convert Integer to the Sum of Two No-Zero Integers/1317.cpp | Next-Gen-UI/Code-Dynamics | a9b9d5e3f27e870b3e030c75a1060d88292de01c | [
"MIT"
] | null | null | null | Leetcode/1000-2000/1317. Convert Integer to the Sum of Two No-Zero Integers/1317.cpp | Next-Gen-UI/Code-Dynamics | a9b9d5e3f27e870b3e030c75a1060d88292de01c | [
"MIT"
] | null | null | null | Leetcode/1000-2000/1317. Convert Integer to the Sum of Two No-Zero Integers/1317.cpp | Next-Gen-UI/Code-Dynamics | a9b9d5e3f27e870b3e030c75a1060d88292de01c | [
"MIT"
] | null | null | null | class Solution {
public:
vector<int> getNoZeroIntegers(int n) {
for (int A = 1; A < n; ++A) {
int B = n - A;
if (to_string(A).find('0') == string::npos &&
to_string(B).find('0') == string::npos)
return {A, B};
}
throw;
}
};
| 19.428571 | 51 | 0.481618 | Next-Gen-UI |
a382dcee294f4badf0afaa9b5832f3599cf7ffce | 9,713 | cpp | C++ | src/rendering/video/SoftAVCDecoder.cpp | Mu-L/libpag | f9e7cdae0952469d8101a05c010c8fb6b8b6bf25 | [
"BSL-1.0",
"CC0-1.0",
"MIT"
] | null | null | null | src/rendering/video/SoftAVCDecoder.cpp | Mu-L/libpag | f9e7cdae0952469d8101a05c010c8fb6b8b6bf25 | [
"BSL-1.0",
"CC0-1.0",
"MIT"
] | 5 | 2022-02-03T18:46:02.000Z | 2022-03-03T14:25:59.000Z | src/rendering/video/SoftAVCDecoder.cpp | kevingpqi123/libpag | c58e59b42050cf23427d360c1940d7a843c4fe9c | [
"BSL-1.0",
"CC0-1.0",
"MIT"
] | null | null | null | /////////////////////////////////////////////////////////////////////////////////////////////////
//
// Tencent is pleased to support the open source community by making libpag available.
//
// Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
//
// Licensed under the Apache License, Versio... | 33.150171 | 100 | 0.729744 | Mu-L |
a38408321fbe5e69bb3868192bf33af5f2ee7bdc | 700 | hpp | C++ | src/gui/addentrypointdialog.hpp | AndreaOrru/Gilgamesh | c688dcecd80236d2e62641ee4d157e1ef042c7d9 | [
"BSD-2-Clause"
] | 25 | 2015-11-27T01:47:24.000Z | 2018-09-17T12:57:45.000Z | src/gui/addentrypointdialog.hpp | AndreaOrru/gilgamesh | c688dcecd80236d2e62641ee4d157e1ef042c7d9 | [
"BSD-2-Clause"
] | 122 | 2019-08-11T18:54:09.000Z | 2020-05-31T08:43:44.000Z | src/gui/addentrypointdialog.hpp | AndreaOrru/Gilgamesh | c688dcecd80236d2e62641ee4d157e1ef042c7d9 | [
"BSD-2-Clause"
] | null | null | null | #pragma once
#include <QDialog>
#include <string>
#include "state.hpp"
#include "types.hpp"
class QGroupBox;
class QLineEdit;
class QRadioButton;
class AddEntryPointDialog : public QDialog {
Q_OBJECT
public:
AddEntryPointDialog(QWidget* parent = nullptr);
std::string label;
SubroutinePC pc;
State state... | 16.27907 | 49 | 0.741429 | AndreaOrru |
a38909d2f095c44db5be5bf31ba6f2a559e27d21 | 3,544 | cpp | C++ | Environment/ScriptBind_InteractiveObject.cpp | IvarJonsson/Project-Unknown | 4675b41bbb5e90135c7bf3aded2c2e262b50f351 | [
"BSL-1.0"
] | null | null | null | Environment/ScriptBind_InteractiveObject.cpp | IvarJonsson/Project-Unknown | 4675b41bbb5e90135c7bf3aded2c2e262b50f351 | [
"BSL-1.0"
] | null | null | null | Environment/ScriptBind_InteractiveObject.cpp | IvarJonsson/Project-Unknown | 4675b41bbb5e90135c7bf3aded2c2e262b50f351 | [
"BSL-1.0"
] | null | null | null | // Copyright 2001-2016 Crytek GmbH / Crytek Group. All rights reserved.
/*************************************************************************
-------------------------------------------------------------------------
$Id$
$DateTime$
Description: Script bind functions for Crysis2 interactive object
---------------... | 26.646617 | 123 | 0.720655 | IvarJonsson |
a38dc83b69af11d653ef063308c44f46c9845537 | 3,055 | cpp | C++ | Gems/ScriptCanvas/Code/Tests/ScriptCanvasUnitTest_Node.cpp | cypherdotXd/o3de | bb90c4ddfe2d495e9c00ebf1e2650c6d603a5676 | [
"Apache-2.0",
"MIT"
] | 11 | 2021-07-08T09:58:26.000Z | 2022-03-17T17:59:26.000Z | Gems/ScriptCanvas/Code/Tests/ScriptCanvasUnitTest_Node.cpp | RoddieKieley/o3de | e804fd2a4241b039a42d9fa54eaae17dc94a7a92 | [
"Apache-2.0",
"MIT"
] | 29 | 2021-07-06T19:33:52.000Z | 2022-03-22T10:27:49.000Z | Gems/ScriptCanvas/Code/Tests/ScriptCanvasUnitTest_Node.cpp | RoddieKieley/o3de | e804fd2a4241b039a42d9fa54eaae17dc94a7a92 | [
"Apache-2.0",
"MIT"
] | 4 | 2021-07-06T19:24:43.000Z | 2022-03-31T12:42:27.000Z | /*
* Copyright (c) Contributors to the Open 3D Engine Project.
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
*
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
*/
#include <Tests/Framework/ScriptCanvasUnitTestFixture.h>
#include <Tests/Mocks/RuntimeRequestsMock... | 34.715909 | 145 | 0.684452 | cypherdotXd |
a38e1a72eadc727f0b2a78f8bbf1d764b6fb16f8 | 1,158 | cpp | C++ | chapter-10/10.22.cpp | zero4drift/Cpp-Primer-5th-Exercises | d3d0f0d228e8c2c5a3b3fe1fd03ce34e0894e93f | [
"MIT"
] | null | null | null | chapter-10/10.22.cpp | zero4drift/Cpp-Primer-5th-Exercises | d3d0f0d228e8c2c5a3b3fe1fd03ce34e0894e93f | [
"MIT"
] | null | null | null | chapter-10/10.22.cpp | zero4drift/Cpp-Primer-5th-Exercises | d3d0f0d228e8c2c5a3b3fe1fd03ce34e0894e93f | [
"MIT"
] | null | null | null | #include <vector>
#include <string>
#include <iostream>
#include <algorithm>
#include <functional>
using std::vector;
using std::string;
using std::cout;
using std::endl;
using std::sort;
using std::find_if;
using std::unique;
using std::stable_sort;
using std::for_each;
using std::bind;
using std::placeholders::_1;
... | 21.849057 | 71 | 0.65544 | zero4drift |
a390b3ae0e1edd22f533d77286aad3c171a29b81 | 18,622 | cc | C++ | source/server/listener_impl.cc | SaveTheRbtz/envoy | c85f65a114c4f72ee5a2673694b686bd61f0961c | [
"Apache-2.0"
] | 1 | 2019-11-19T22:27:58.000Z | 2019-11-19T22:27:58.000Z | source/server/listener_impl.cc | SaveTheRbtz/envoy | c85f65a114c4f72ee5a2673694b686bd61f0961c | [
"Apache-2.0"
] | null | null | null | source/server/listener_impl.cc | SaveTheRbtz/envoy | c85f65a114c4f72ee5a2673694b686bd61f0961c | [
"Apache-2.0"
] | null | null | null | #include "server/listener_impl.h"
#include "envoy/registry/registry.h"
#include "envoy/server/active_udp_listener_config.h"
#include "envoy/server/transport_socket_config.h"
#include "envoy/stats/scope.h"
#include "common/common/assert.h"
#include "common/config/utility.h"
#include "common/network/connection_balancer... | 49.924933 | 100 | 0.723875 | SaveTheRbtz |
a393e0b9118fad28efbb4b898055d1a1ca0237df | 2,491 | hpp | C++ | include/codegen/include/UnityEngine/TestRunner/NUnitExtensions/Runner/CompositeWorkItem_UnityWorkItemOrderComparer.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 1 | 2021-11-12T09:29:31.000Z | 2021-11-12T09:29:31.000Z | include/codegen/include/UnityEngine/TestRunner/NUnitExtensions/Runner/CompositeWorkItem_UnityWorkItemOrderComparer.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | null | null | null | include/codegen/include/UnityEngine/TestRunner/NUnitExtensions/Runner/CompositeWorkItem_UnityWorkItemOrderComparer.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 2 | 2021-10-03T02:14:20.000Z | 2021-11-12T09:29:36.000Z | // Autogenerated from CppHeaderCreator on 7/27/2020 3:10:35 PM
// Created by Sc2ad
// =========================================================================
#pragma once
#pragma pack(push, 8)
// Begin includes
#include "utils/typedefs.h"
// Including type: System.Object
#include "System/Object.hpp"
// Including type... | 60.756098 | 218 | 0.782818 | Futuremappermydud |
a3942e02878d2c53b46f906cd72a541e63befc25 | 3,734 | hpp | C++ | PTInjection/pe.hpp | fengjixuchui/PageTableInjection | 89723d653b7c91b9f0e23b79978f17a0499ef8ec | [
"MIT"
] | 176 | 2021-07-06T04:24:06.000Z | 2022-03-12T07:45:38.000Z | PTInjection/pe.hpp | fengjixuchui/PageTableInjection | 89723d653b7c91b9f0e23b79978f17a0499ef8ec | [
"MIT"
] | 1 | 2021-12-21T22:06:14.000Z | 2021-12-26T13:55:16.000Z | PTInjection/pe.hpp | fengjixuchui/PageTableInjection | 89723d653b7c91b9f0e23b79978f17a0499ef8ec | [
"MIT"
] | 43 | 2021-07-06T05:44:36.000Z | 2022-03-12T07:45:40.000Z | /*
MIT License
Copyright (c) 2021 Kento Oki
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... | 27.255474 | 135 | 0.74451 | fengjixuchui |
a3951376097d013b18d739b48bf2997c827333a8 | 40,887 | cc | C++ | lullaby/systems/audio/audio_system.cc | dd181818/lullaby | 71e696c3798068a350e820433c9d3185fa28c0ce | [
"Apache-2.0"
] | 1 | 2018-11-09T03:45:25.000Z | 2018-11-09T03:45:25.000Z | lullaby/systems/audio/audio_system.cc | dd181818/lullaby | 71e696c3798068a350e820433c9d3185fa28c0ce | [
"Apache-2.0"
] | null | null | null | lullaby/systems/audio/audio_system.cc | dd181818/lullaby | 71e696c3798068a350e820433c9d3185fa28c0ce | [
"Apache-2.0"
] | null | null | null | /*
Copyright 2017 Google Inc. 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 agreed to in ... | 33.459083 | 80 | 0.686062 | dd181818 |
a397dfb912817cb6fcf1b8264c7d8789b37edcee | 2,283 | cpp | C++ | src/esp/sensor/Sensor.cpp | xjwang-cs/habitat-sim | bb984fe8d2b8c9844bcfc1f121dd83fcb377aeda | [
"MIT"
] | null | null | null | src/esp/sensor/Sensor.cpp | xjwang-cs/habitat-sim | bb984fe8d2b8c9844bcfc1f121dd83fcb377aeda | [
"MIT"
] | null | null | null | src/esp/sensor/Sensor.cpp | xjwang-cs/habitat-sim | bb984fe8d2b8c9844bcfc1f121dd83fcb377aeda | [
"MIT"
] | null | null | null | // Copyright (c) Facebook, Inc. and its affiliates.
// This source code is licensed under the MIT license found in the
// LICENSE file in the root directory of this source tree.
#include "Sensor.h"
#include <Magnum/EigenIntegration/Integration.h>
namespace esp {
namespace sensor {
Sensor::Sensor(scene::SceneNode& n... | 28.898734 | 80 | 0.69032 | xjwang-cs |
a399b76c4b504295b9802677ef8c5c99e1ad0d97 | 5,867 | cpp | C++ | AudioMixer/InputVolAdjDlg.cpp | ray-x/AudioMixer | 53d40543bdebcd60091e6952e8af43799e479e18 | [
"MIT"
] | null | null | null | AudioMixer/InputVolAdjDlg.cpp | ray-x/AudioMixer | 53d40543bdebcd60091e6952e8af43799e479e18 | [
"MIT"
] | null | null | null | AudioMixer/InputVolAdjDlg.cpp | ray-x/AudioMixer | 53d40543bdebcd60091e6952e8af43799e479e18 | [
"MIT"
] | null | null | null | // InputVolAdjDlg.cpp : implementation file
//
#include "stdafx.h"
#include "AudioMixer.h"
#include "InputVolAdjDlg.h"
#include "ConfData.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
#include "Wait.h"
////////////////////////////////////////////////////////////////... | 29.044554 | 123 | 0.737685 | ray-x |
a39b63f74ea55fe438068167e69075882c281798 | 2,851 | hxx | C++ | Modules/Filtering/Path/include/itkPathToChainCodePathFilter.hxx | arobert01/ITK | 230d319fdeaa3877273fab5d409dd6c11f0a6874 | [
"Apache-2.0"
] | 945 | 2015-01-09T00:43:52.000Z | 2022-03-30T08:23:02.000Z | Modules/Filtering/Path/include/itkPathToChainCodePathFilter.hxx | arobert01/ITK | 230d319fdeaa3877273fab5d409dd6c11f0a6874 | [
"Apache-2.0"
] | 2,354 | 2015-02-04T21:54:21.000Z | 2022-03-31T20:58:21.000Z | Modules/Filtering/Path/include/itkPathToChainCodePathFilter.hxx | arobert01/ITK | 230d319fdeaa3877273fab5d409dd6c11f0a6874 | [
"Apache-2.0"
] | 566 | 2015-01-04T14:26:57.000Z | 2022-03-18T20:33:18.000Z | /*=========================================================================
*
* Copyright NumFOCUS
*
* 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.or... | 29.391753 | 110 | 0.682918 | arobert01 |
a39bc7858cd418eebed018652987056120d749b6 | 4,829 | cc | C++ | src/prism-games/prism/src/mtbdd/PM_ExportMatrix.cc | kushgrover/apt-vs-dift | 250f64e6c442f6018cab65ec6979d9568a842f57 | [
"MIT"
] | 1 | 2021-09-08T08:42:42.000Z | 2021-09-08T08:42:42.000Z | prism-games-3.0.beta-src/prism/src/mtbdd/PM_ExportMatrix.cc | ga67vib/Algorithms-For-Stochastic-Games | c27f0ab7d57f4500d47d87ee0b5d19551cb2ba45 | [
"MIT"
] | null | null | null | prism-games-3.0.beta-src/prism/src/mtbdd/PM_ExportMatrix.cc | ga67vib/Algorithms-For-Stochastic-Games | c27f0ab7d57f4500d47d87ee0b5d19551cb2ba45 | [
"MIT"
] | null | null | null | //==============================================================================
//
// Copyright (c) 2002-
// Authors:
// * Dave Parker <david.parker@comlab.ox.ac.uk> (University of Oxford, formerly University of Birmingham)
//
//------------------------------------------------------------------------------
//
// Th... | 32.85034 | 142 | 0.592462 | kushgrover |
a39ca26b1a5000913646455ab482038ed1fbeeb0 | 6,111 | hpp | C++ | cppcache/include/geode/CqQuery.hpp | mmartell/geode-native | fa6edf5d3ad83c78431f0c5e2da163b7a0df5558 | [
"Apache-2.0"
] | null | null | null | cppcache/include/geode/CqQuery.hpp | mmartell/geode-native | fa6edf5d3ad83c78431f0c5e2da163b7a0df5558 | [
"Apache-2.0"
] | null | null | null | cppcache/include/geode/CqQuery.hpp | mmartell/geode-native | fa6edf5d3ad83c78431f0c5e2da163b7a0df5558 | [
"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 ... | 31.994764 | 79 | 0.706595 | mmartell |
a39d0ac14414ea40f93ad2dfce62c1b37ec1ffba | 10,523 | cpp | C++ | mars/openssl/export/crypto/pay_openssl_crypto_util.cpp | kunjun/proto | d7bac5565ac906ab27741be87f5d328c39c321ad | [
"Apache-2.0"
] | 325 | 2016-12-28T14:19:10.000Z | 2021-11-24T07:01:51.000Z | mars/openssl/export/crypto/pay_openssl_crypto_util.cpp | wblzu/mars | 4396e753aee627a92b55ae7a1bc12b4d6f4f6445 | [
"Apache-2.0"
] | null | null | null | mars/openssl/export/crypto/pay_openssl_crypto_util.cpp | wblzu/mars | 4396e753aee627a92b55ae7a1bc12b4d6f4f6445 | [
"Apache-2.0"
] | 114 | 2016-12-28T14:36:15.000Z | 2021-12-08T09:05:50.000Z | #include "pay_openssl_crypto_util.h"
#include <string>
#include "openssl/bio.h"
#include "openssl/evp.h"
#include "openssl/pem.h"
#include "openssl/hmac.h"
#include "openssl/ecdsa.h"
#include "openssl/sha.h"
#include "openssl/rand.h"
#include "../../../comm/xlogger/xlogger.h"
namespace mmpaycertlib{
OpenSslCrypto... | 23.488839 | 123 | 0.628338 | kunjun |
a39d99cd42f4ecbc321801e8124eb2ddbfd71c19 | 3,643 | cpp | C++ | testsuites/unittest/process/basic/pthread/smoke/pthread_once_test_001.cpp | qdsxinyee4/PatentsViewh | c0e2da8d88ccb6af89d80e38dfc8f2b70f8627f9 | [
"BSD-3-Clause"
] | 175 | 2020-10-21T15:15:18.000Z | 2022-03-31T04:59:30.000Z | testsuites/unittest/process/basic/pthread/smoke/pthread_once_test_001.cpp | qdsxinyee4/PatentsViewh | c0e2da8d88ccb6af89d80e38dfc8f2b70f8627f9 | [
"BSD-3-Clause"
] | 1 | 2020-12-20T11:41:53.000Z | 2020-12-21T04:49:33.000Z | testsuites/unittest/process/basic/pthread/smoke/pthread_once_test_001.cpp | qdsxinyee4/PatentsViewh | c0e2da8d88ccb6af89d80e38dfc8f2b70f8627f9 | [
"BSD-3-Clause"
] | 39 | 2020-10-26T03:23:18.000Z | 2022-03-28T16:23:03.000Z | /*
* Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved.
* Copyright (c) 2020-2021 Huawei Device Co., Ltd. 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. Redist... | 32.81982 | 101 | 0.716442 | qdsxinyee4 |
a39f8dadb41c2f888a37c6b24e00737849c4f008 | 6,158 | cc | C++ | runtime/realm/openmp/openmp_threadpool.cc | elliottslaughter/legion | 57d01885ce18c54b9c8f798d3c4184ae56b794d3 | [
"Apache-2.0"
] | 1 | 2021-02-24T16:46:03.000Z | 2021-02-24T16:46:03.000Z | runtime/realm/openmp/openmp_threadpool.cc | elliottslaughter/legion | 57d01885ce18c54b9c8f798d3c4184ae56b794d3 | [
"Apache-2.0"
] | 1 | 2017-05-11T19:48:20.000Z | 2017-05-11T19:48:20.000Z | runtime/realm/openmp/openmp_threadpool.cc | elliottslaughter/legion | 57d01885ce18c54b9c8f798d3c4184ae56b794d3 | [
"Apache-2.0"
] | 2 | 2017-05-11T19:18:34.000Z | 2018-08-28T16:40:08.000Z | /* Copyright 2018 Stanford University, NVIDIA 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.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | 29.893204 | 148 | 0.638032 | elliottslaughter |
a3a095d722a07f550ed41d0ac58fad3faf047872 | 23,248 | cpp | C++ | frameworks/cocos2d-x/cocos/scripting/js-bindings/auto/jsb_cocos2dx_experimental_webView_auto.cpp | bunny1985/literaki | dc6b00da3923f4aac82dc20b422a50ca87045a84 | [
"MIT"
] | 2 | 2019-10-07T07:51:53.000Z | 2019-10-07T19:44:17.000Z | frameworks/cocos2d-x/cocos/scripting/js-bindings/auto/jsb_cocos2dx_experimental_webView_auto.cpp | bunny1985/literaki | dc6b00da3923f4aac82dc20b422a50ca87045a84 | [
"MIT"
] | null | null | null | frameworks/cocos2d-x/cocos/scripting/js-bindings/auto/jsb_cocos2dx_experimental_webView_auto.cpp | bunny1985/literaki | dc6b00da3923f4aac82dc20b422a50ca87045a84 | [
"MIT"
] | null | null | null | #include "scripting/js-bindings/auto/jsb_cocos2dx_experimental_webView_auto.hpp"
#if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID || CC_TARGET_PLATFORM == CC_PLATFORM_IOS) && !defined(CC_TARGET_OS_TVOS)
#include "scripting/js-bindings/manual/cocos2d_specifics.hpp"
#include "ui/UIWebView.h"
template<class T>
static bool ... | 51.320088 | 157 | 0.727331 | bunny1985 |
a3a3484d28bb82ccf5a7bdc27dfd0bb2ee37c611 | 462 | cpp | C++ | examples/insertion.cpp | uliana99/course | cd92a799fecc4f76d7ca858bf2904432ce1477ac | [
"MIT"
] | null | null | null | examples/insertion.cpp | uliana99/course | cd92a799fecc4f76d7ca858bf2904432ce1477ac | [
"MIT"
] | null | null | null | examples/insertion.cpp | uliana99/course | cd92a799fecc4f76d7ca858bf2904432ce1477ac | [
"MIT"
] | null | null | null | #include "insertion.hpp"
void sortInsertion() {
srand(time(NULL));
const int ARRAY_LEN = 20;
const int INT_RANGE = 100;
int *array = new int[ARRAY_LEN];
for (int i = 0; i < ARRAY_LEN; i ++) {
array[i] = rand() % INT_RANGE;
}
messageInsertsort(array, ARRAY_LEN);
insertsort(arr... | 20.086957 | 42 | 0.61039 | uliana99 |
a3a387e97ddff09bb34d8e3f8e5031f2412c153b | 1,576 | cpp | C++ | Queue/Queue_using_linked_list.cpp | PreethiSamanthaBennet/Cpp_TheDataStructuresSurvivalKit | f8657cc0c3fc5056d4c003ba7ebcce2e1a7d99a6 | [
"BSD-3-Clause"
] | 3 | 2021-05-21T17:24:18.000Z | 2021-08-11T19:34:38.000Z | Queue/Queue_using_linked_list.cpp | PreethiSamanthaBennet/Cpp_TheDataStructuresSurvivalKit | f8657cc0c3fc5056d4c003ba7ebcce2e1a7d99a6 | [
"BSD-3-Clause"
] | null | null | null | Queue/Queue_using_linked_list.cpp | PreethiSamanthaBennet/Cpp_TheDataStructuresSurvivalKit | f8657cc0c3fc5056d4c003ba7ebcce2e1a7d99a6 | [
"BSD-3-Clause"
] | null | null | null | #include <iostream>
using namespace std;
class Node{
public:
int data;
Node* next;
};
/********************************************/
void Display(Node* n){
if(n == NULL){
cout<<"queue is empty"<<endl;
return;
}
while(n != NULL){
cout<< n->data <<" ";
n = n->next;
}
cout<<endl;
}
/**... | 18.325581 | 55 | 0.466371 | PreethiSamanthaBennet |
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 | katahiromz |
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 | Gei0r |
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 | chgogos |
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 | nskool |
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 | rongjiecomputer |
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 | zhengyhn |
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 | Andrea-MariaDB-2 |
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 | douglasdavis |
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 | heralex |
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 | gco |
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 | TsuuN |
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 | Grosskopf |
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 | vidkidz |
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 | karamach |
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 | johnlunney |
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 | Cycling74 |
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 | shubhdev |
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 | NeilJustice |
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 | AmericaGL |
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 | AdronTech |
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 | BigsonLvrocha |
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 | phong-phuong |
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 | tsavola |
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 | multi-os-engine |
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 | huangqinjin |
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 | authetic-x |
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 | OpenHero |
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 | nopdotcom |
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 | fangqiuhang |
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 | k38-suzuki |
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 | adiletabs |
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 | vidkidz |
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 | fmyuan |
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 | Bpowers4 |
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 | benety |
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 | CarbonBeta |
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 | derp-caf |
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 | victorhu3 |
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 | cflowe |
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 | thpatch |
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 | brunograssano |
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 | zjkw |
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 | Skycoder42 |
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 | nimeshvaghasiya |
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 | owennewo |
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 | schinmayee |
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 | markshepherd |
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 | iootclab |
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 | jinhan814 |
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 | lebarsfa |
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 | isaaccalvis |
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 | zhcpku |
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 | stuart-knock |
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 | webosose |
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 | lukasmweber |
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 | cloudzfy |