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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ea5f953aee9951ebc5acf8ea06ea9f7ba95c419e | 1,513 | hpp | C++ | complex_crawler/crawler/action/PageStorage.hpp | AlaoPrado/search_engine | 6be1f0beb95ca23c5979e60d55a10eeb4fbc1aa1 | [
"MIT"
] | null | null | null | complex_crawler/crawler/action/PageStorage.hpp | AlaoPrado/search_engine | 6be1f0beb95ca23c5979e60d55a10eeb4fbc1aa1 | [
"MIT"
] | null | null | null | complex_crawler/crawler/action/PageStorage.hpp | AlaoPrado/search_engine | 6be1f0beb95ca23c5979e60d55a10eeb4fbc1aa1 | [
"MIT"
] | null | null | null | /* Copyright 2021 Alan Prado Araújo
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, publish, distribute, s... | 37.825 | 80 | 0.763384 | AlaoPrado |
ea610d98a3b4c56d8fa49bab5952398372f42373 | 4,248 | cpp | C++ | IntactMiddleware/INetNATManager.cpp | intact-software-systems/cpp-software-patterns | e463fc7eeba4946b365b5f0b2eecf3da0f4c895b | [
"MIT"
] | 1 | 2020-09-03T07:23:11.000Z | 2020-09-03T07:23:11.000Z | IntactMiddleware/INetNATManager.cpp | intact-software-systems/cpp-software-patterns | e463fc7eeba4946b365b5f0b2eecf3da0f4c895b | [
"MIT"
] | null | null | null | IntactMiddleware/INetNATManager.cpp | intact-software-systems/cpp-software-patterns | e463fc7eeba4946b365b5f0b2eecf3da0f4c895b | [
"MIT"
] | null | null | null | #include "IntactMiddleware/INetNATManager.h"
#include "IntactMiddleware/ServiceConnectionManager.h"
#include "IntactMiddleware/IntactSettings/IntactSettings.h"
#include "IntactMiddleware/RouteManagerLib/RouteManagerBase.h"
namespace IntactMiddleware
{
INetNATManager* INetNATManager::natManager_ = NULL;
/*------------... | 28.32 | 133 | 0.694209 | intact-software-systems |
ea641a2656ebdf522553074cdec2ebd22036d7c4 | 4,373 | cpp | C++ | OpenYuma/netconf/test/support/nc-query-util/nc-query-test-engine.cpp | 5GExchange/escape | eb35d460597a0386b18dd5b6a5f62a3f30eed5fa | [
"Apache-2.0"
] | 10 | 2016-11-16T16:26:16.000Z | 2021-04-26T17:20:28.000Z | OpenYuma/netconf/test/support/nc-query-util/nc-query-test-engine.cpp | 5GExchange/escape | eb35d460597a0386b18dd5b6a5f62a3f30eed5fa | [
"Apache-2.0"
] | 3 | 2017-04-20T11:29:17.000Z | 2017-11-06T17:12:12.000Z | OpenYuma/netconf/test/support/nc-query-util/nc-query-test-engine.cpp | 5GExchange/escape | eb35d460597a0386b18dd5b6a5f62a3f30eed5fa | [
"Apache-2.0"
] | 10 | 2017-03-27T13:58:52.000Z | 2020-06-24T22:42:51.000Z | // ---------------------------------------------------------------------------|
// Test Harness includes
// ---------------------------------------------------------------------------|
#include "test/support/nc-query-util/nc-query-test-engine.h"
#include "test/support/checkers/string-presence-checkers.h"
// ----------... | 37.698276 | 79 | 0.498971 | 5GExchange |
ea73002b8e83a842983c385cf7212960b19be84a | 1,283 | cpp | C++ | kernel/src/drivers/ramdisk/device.cpp | egranata/puppy | dc8b9bd7620966d94b18cbfaf50c9c5e142b9f6c | [
"Apache-2.0"
] | 28 | 2018-06-01T07:01:55.000Z | 2022-01-09T23:30:14.000Z | kernel/src/drivers/ramdisk/device.cpp | egranata/puppy | dc8b9bd7620966d94b18cbfaf50c9c5e142b9f6c | [
"Apache-2.0"
] | 175 | 2018-05-30T03:06:15.000Z | 2019-02-06T23:54:24.000Z | kernel/src/drivers/ramdisk/device.cpp | egranata/puppy | dc8b9bd7620966d94b18cbfaf50c9c5e142b9f6c | [
"Apache-2.0"
] | 2 | 2019-07-16T02:57:27.000Z | 2021-06-25T17:01:13.000Z | /*
* Copyright 2018 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 27.297872 | 76 | 0.71629 | egranata |
ea7d2f8e0824580504a2ae2a27f218aad06c3ef9 | 20,366 | cc | C++ | crunchy/internal/algs/hybrid/openssl_kem_test.cc | google/crunchy | 9d241ffd619889ed9855e2cf41dc0c5485a7148c | [
"Apache-2.0"
] | 125 | 2017-11-21T14:23:02.000Z | 2021-06-15T10:13:54.000Z | crunchy/internal/algs/hybrid/openssl_kem_test.cc | Jason-Cooke/crunchy | 9d241ffd619889ed9855e2cf41dc0c5485a7148c | [
"Apache-2.0"
] | 2 | 2018-01-11T14:07:18.000Z | 2018-07-12T16:20:30.000Z | crunchy/internal/algs/hybrid/openssl_kem_test.cc | google/crunchy | 9d241ffd619889ed9855e2cf41dc0c5485a7148c | [
"Apache-2.0"
] | 19 | 2017-12-08T16:49:06.000Z | 2022-01-22T12:34:19.000Z | // Copyright 2017 The CrunchyCrypt Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law o... | 42.078512 | 82 | 0.746833 | google |
ea8068f277ab570eeead0e8ab31d860b7208d376 | 4,946 | cpp | C++ | src/Query.cpp | 2coding/UseSQLite | 710880de66895d05e96a4fce48ce8b30a1c5842e | [
"BSD-2-Clause"
] | null | null | null | src/Query.cpp | 2coding/UseSQLite | 710880de66895d05e96a4fce48ce8b30a1c5842e | [
"BSD-2-Clause"
] | null | null | null | src/Query.cpp | 2coding/UseSQLite | 710880de66895d05e96a4fce48ce8b30a1c5842e | [
"BSD-2-Clause"
] | null | null | null | /**
Copyright (c) 2015, 2coding
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following... | 35.582734 | 149 | 0.670441 | 2coding |
ea88303ff916411c2d207aa1fa14585c46c08032 | 4,974 | cpp | C++ | gluecodium/src/test/resources/smoke/skip/output/dart/ffi/ffi_smoke_SkipTagsInDart.cpp | heremaps/gluecodium | 2d69e3e00cae511efe852556c8019eb378a45136 | [
"Apache-2.0"
] | 138 | 2019-12-11T13:16:52.000Z | 2022-03-28T01:24:21.000Z | gluecodium/src/test/resources/smoke/skip/output/dart/ffi/ffi_smoke_SkipTagsInDart.cpp | heremaps/gluecodium | 2d69e3e00cae511efe852556c8019eb378a45136 | [
"Apache-2.0"
] | 310 | 2020-01-14T11:46:26.000Z | 2022-03-31T15:05:40.000Z | gluecodium/src/test/resources/smoke/skip/output/dart/ffi/ffi_smoke_SkipTagsInDart.cpp | heremaps/gluecodium | 2d69e3e00cae511efe852556c8019eb378a45136 | [
"Apache-2.0"
] | 10 | 2019-12-11T11:46:16.000Z | 2021-11-02T10:41:59.000Z | #include "ffi_smoke_SkipTagsInDart.h"
#include "ConversionBase.h"
#include "InstanceCache.h"
#include "FinalizerData.h"
#include "CallbacksQueue.h"
#include "IsolateContext.h"
#include "ProxyCache.h"
#include "gluecodium/TypeRepository.h"
#include "smoke/SkipTagsInDart.h"
#include <memory>
#include <memory>
#include <n... | 44.017699 | 143 | 0.750905 | heremaps |
ea89601e7eaa15abece31770109696744ab9c061 | 1,951 | cpp | C++ | src/test_ang.cpp | esromneb/DoubleRay | 40b6bbadbceae9add732f8ae453cc94333729a02 | [
"BSD-3-Clause"
] | 1 | 2020-06-14T12:55:43.000Z | 2020-06-14T12:55:43.000Z | src/test_ang.cpp | esromneb/hack-ray | 232dae15627f6d1068604dd817c86963a88b08fc | [
"BSD-3-Clause"
] | 5 | 2020-04-10T07:40:09.000Z | 2020-04-13T10:14:52.000Z | src/test_ang.cpp | esromneb/DoubleRay | 40b6bbadbceae9add732f8ae453cc94333729a02 | [
"BSD-3-Clause"
] | null | null | null | #include "Vec3.hpp"
#include "Vec.hpp"
#include <iostream>
#include <cmath>
using namespace std;
#ifdef asdf
Left: [-0.894874,-0.446318,0.001119]
Right: [-0.894874,0.446318,0.001119]
#endif
int main3(void) {
cout << "Hello World\n";
Vec v0(2);
v0.data[1] = 43;
return 0;
}
int main2(void) {
cou... | 14.89313 | 56 | 0.476679 | esromneb |
ea8ab3eed1771fed7940a79f3e91e22a6db14af5 | 587 | cpp | C++ | Triangulation_2/examples/Triangulation_2/terrain.cpp | ffteja/cgal | c1c7f4ad9a4cd669e33ca07a299062a461581812 | [
"CC0-1.0"
] | 3,227 | 2015-03-05T00:19:18.000Z | 2022-03-31T08:20:35.000Z | Triangulation_2/examples/Triangulation_2/terrain.cpp | ffteja/cgal | c1c7f4ad9a4cd669e33ca07a299062a461581812 | [
"CC0-1.0"
] | 5,574 | 2015-03-05T00:01:56.000Z | 2022-03-31T15:08:11.000Z | Triangulation_2/examples/Triangulation_2/terrain.cpp | ffteja/cgal | c1c7f4ad9a4cd669e33ca07a299062a461581812 | [
"CC0-1.0"
] | 1,274 | 2015-03-05T00:01:12.000Z | 2022-03-31T14:47:56.000Z | #include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/Projection_traits_xy_3.h>
#include <CGAL/Delaunay_triangulation_2.h>
#include <fstream>
typedef CGAL::Exact_predicates_inexact_constructions_kernel K;
typedef CGAL::Projection_traits_xy_3<K> Gt;
typedef CGAL::Delaunay_triangulation_2<Gt>... | 24.458333 | 63 | 0.76661 | ffteja |
ea8e33a7070d6c9de8bccb03a786d456cba26401 | 3,452 | hh | C++ | src/cpu/dtu-accel/syscallsm.hh | utcs-scea/gem5-dtu | 0922df0e8f47fe3bd2fbad9f57b1b855181c64dd | [
"BSD-3-Clause"
] | 3 | 2016-03-23T09:21:51.000Z | 2019-07-22T22:07:26.000Z | src/cpu/dtu-accel/syscallsm.hh | TUD-OS/gem5-dtu | 0922df0e8f47fe3bd2fbad9f57b1b855181c64dd | [
"BSD-3-Clause"
] | null | null | null | src/cpu/dtu-accel/syscallsm.hh | TUD-OS/gem5-dtu | 0922df0e8f47fe3bd2fbad9f57b1b855181c64dd | [
"BSD-3-Clause"
] | 6 | 2018-01-01T02:15:26.000Z | 2021-11-03T10:54:04.000Z | /*
* Copyright (c) 2016, Nils Asmussen
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must r... | 26.553846 | 79 | 0.661645 | utcs-scea |
ea8e4995843bf69ddb22af96c4406d36ff90ad47 | 886 | hpp | C++ | include/parser.hpp | CSIRT-MU/flower | c40cf8a0a3f18942f8c431428e65db55f2bdd449 | [
"MIT"
] | 1 | 2021-01-06T14:07:00.000Z | 2021-01-06T14:07:00.000Z | include/parser.hpp | CSIRT-MU/flower | c40cf8a0a3f18942f8c431428e65db55f2bdd449 | [
"MIT"
] | 1 | 2021-01-06T14:12:11.000Z | 2021-01-06T14:12:11.000Z | include/parser.hpp | CSIRT-MU/flower | c40cf8a0a3f18942f8c431428e65db55f2bdd449 | [
"MIT"
] | null | null | null | #pragma once
#include <memory>
#include <tins/tins.h>
/**
* Parser namespace wraps libtins' parsing functionality
* and adds additional parsing capabilities such as parsing
* protocols based on UDP/TCP ports.
*/
namespace Parser {
using ParserFun = Tins::PDU* (*)(const std::uint8_t*, std::uint32_t);
void inser... | 19.688889 | 69 | 0.727991 | CSIRT-MU |
ea91a1c56ba3a43756fdef5aba4969294318ebdb | 699 | cc | C++ | tests/day_05_tests.cc | tamaroth/AdventOfCode2017 | 0c0f93590068b6b8fa6ed7f5d53c9fecede632bb | [
"MIT"
] | 2 | 2017-12-01T09:18:03.000Z | 2017-12-13T12:59:40.000Z | tests/day_05_tests.cc | tamaroth/AdventOfCode2017 | 0c0f93590068b6b8fa6ed7f5d53c9fecede632bb | [
"MIT"
] | null | null | null | tests/day_05_tests.cc | tamaroth/AdventOfCode2017 | 0c0f93590068b6b8fa6ed7f5d53c9fecede632bb | [
"MIT"
] | null | null | null | /// @file
///
/// Tests for Day01.
///
#include <string>
#include <vector>
#include <gtest/gtest.h>
#include "advent/days/05/maze.hh"
#include "tests/tests_base.hh"
namespace advent::tests {
using TestData = std::pair<std::vector<int>, int>;
class Day05Tests: public TestsBase, public Day05 {};
TEST_F(Day05Tests,... | 19.971429 | 54 | 0.705293 | tamaroth |
ea921baa8873a438b4ba1b99c8f1b7aca3c31f9d | 1,561 | hpp | C++ | dependencies/Champollion/Pex/Value.hpp | Ryan-rsm-McKenzie/papyrus-debug-server | e5311586cd646c2d438771a17ab86c1a89067888 | [
"MIT"
] | 10 | 2019-06-01T20:24:04.000Z | 2021-08-16T19:32:24.000Z | dependencies/Champollion/Pex/Value.hpp | Ryan-rsm-McKenzie/papyrus-debug-server | e5311586cd646c2d438771a17ab86c1a89067888 | [
"MIT"
] | null | null | null | dependencies/Champollion/Pex/Value.hpp | Ryan-rsm-McKenzie/papyrus-debug-server | e5311586cd646c2d438771a17ab86c1a89067888 | [
"MIT"
] | 4 | 2019-06-09T05:00:55.000Z | 2022-01-27T16:30:31.000Z | #pragma once
#include <cstdint>
#include "StringTable.hpp"
namespace Pex {
/**
* @brief Types managed in the Value class.
*/
enum class ValueType : std::uint8_t
{
None = 0,
Identifier = 1,
String = 2,
Integer = 3,
Float = 4,
Bool = 5
};
/**
* @brief Variant class managing value.
*/
clas... | 20.813333 | 69 | 0.529789 | Ryan-rsm-McKenzie |
ea93b79caf6d382bb6198f80c78d2763a3719f83 | 8,799 | cpp | C++ | src/Libraries/OEScreenshot/oescreen.cpp | Longxr/OEasyScreenshot | fd89dc90ea0ca8af99d4e767d16ebde9abaec1ce | [
"ECL-2.0",
"Apache-2.0"
] | 7 | 2018-04-14T09:13:04.000Z | 2020-08-08T10:30:24.000Z | src/Libraries/OEScreenshot/oescreen.cpp | Longxr/OEasyScreenshot | fd89dc90ea0ca8af99d4e767d16ebde9abaec1ce | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | src/Libraries/OEScreenshot/oescreen.cpp | Longxr/OEasyScreenshot | fd89dc90ea0ca8af99d4e767d16ebde9abaec1ce | [
"ECL-2.0",
"Apache-2.0"
] | 1 | 2020-02-13T17:45:24.000Z | 2020-02-13T17:45:24.000Z | #include "oescreen.h"
#include <QApplication>
#include <QMouseEvent>
#include <QPainter>
#include <QFileDialog>
#include <QDateTime>
#include <QClipboard>
#include <QMenu>
#ifndef QT_NO_DEBUG
#include <QDebug>
#endif
bool OEScreen::isInit_ = false;
OEScreen::OEScreen(std::shared_ptr<QPixmap> originPainting, QPoint ... | 26.423423 | 88 | 0.560405 | Longxr |
ea9474657f82d969e2a655cf06c904d86873b9ee | 632 | hpp | C++ | src/definitions.hpp | OliverBenz/Game_Jetgame_New | cfd3058da63601d1ae65cf9859da768322db0877 | [
"MIT"
] | null | null | null | src/definitions.hpp | OliverBenz/Game_Jetgame_New | cfd3058da63601d1ae65cf9859da768322db0877 | [
"MIT"
] | 6 | 2020-09-08T20:16:35.000Z | 2020-10-21T12:25:25.000Z | src/definitions.hpp | OliverBenz/Game_Jetgame_New | cfd3058da63601d1ae65cf9859da768322db0877 | [
"MIT"
] | null | null | null | #pragma once
// App
#define SCREEN_HEIGHT 1080
#define SCREEN_WIDTH 1920
// Player
#define PLAYER_HEALTH 5
#define PLAYER_SPEED 8
#define PLAYER_WIDTH 160
#define PLAYER_HEIGHT 90
#define SHOOT_TIMEOUT 100
// Bullet
#define BULLET_DAMAGE 1
#define BULLET_SPEED 10
#define BULLET_SIZE 20
// Bitmaps
#define BM_BACK... | 22.571429 | 58 | 0.761076 | OliverBenz |
ea986f18ec2e4ef75733ff8d003535057b82c935 | 1,730 | hpp | C++ | include/glcxx/Texture.hpp | holtrop/glcxx | c55c2ae3b58d621d3127af7ed5980f7055cba486 | [
"MIT"
] | 4 | 2017-01-24T17:56:02.000Z | 2020-01-30T09:28:32.000Z | include/glcxx/Texture.hpp | holtrop/glcxx | c55c2ae3b58d621d3127af7ed5980f7055cba486 | [
"MIT"
] | 1 | 2016-07-10T20:13:44.000Z | 2016-07-10T20:13:44.000Z | include/glcxx/Texture.hpp | holtrop/glcxx | c55c2ae3b58d621d3127af7ed5980f7055cba486 | [
"MIT"
] | null | null | null | /**
* @file
*
* C++ wrapper for an OpenGL texture object.
*/
#ifndef GLCXX_TEXTURE_HPP
#define GLCXX_TEXTURE_HPP
#include "glcxx/gl.hpp"
#include <memory>
namespace glcxx
{
/**
* C++ wrapper for an OpenGL texture object.
*/
class Texture
{
public:
/**
* Const... | 22.763158 | 79 | 0.447977 | holtrop |
ea9b52c9ae24e6c4066979268d734b5292334277 | 5,435 | cpp | C++ | SimulationCore/Step.cpp | MingAtUWA/SimpleMPM2 | 7a1d7c257c621123d85a0630e93d42ae25c70fb4 | [
"MIT"
] | null | null | null | SimulationCore/Step.cpp | MingAtUWA/SimpleMPM2 | 7a1d7c257c621123d85a0630e93d42ae25c70fb4 | [
"MIT"
] | null | null | null | SimulationCore/Step.cpp | MingAtUWA/SimpleMPM2 | 7a1d7c257c621123d85a0630e93d42ae25c70fb4 | [
"MIT"
] | null | null | null | #include "SimulationCore_pcp.h"
#include "Step.h"
Step::Step(SolveSubstepFunc solve_substep_func, const char *_type) :
solve_substep(solve_substep_func), type(_type), name(20, '\0'),
model(nullptr),
is_first_step(true), start_substep_index(0), substep_num(0),
step_time(0.0), start_time(0.0), current_time(0.0),
d... | 25.758294 | 70 | 0.719411 | MingAtUWA |
ea9eb17a0a9ead0c95f29c567b544ce017fcac1e | 895 | cpp | C++ | ver1/answers/lp-10-22.cpp | aafulei/cppp5e | f8d254073866e3025c3a08b919d9bbe3965b6918 | [
"MIT"
] | null | null | null | ver1/answers/lp-10-22.cpp | aafulei/cppp5e | f8d254073866e3025c3a08b919d9bbe3965b6918 | [
"MIT"
] | null | null | null | ver1/answers/lp-10-22.cpp | aafulei/cppp5e | f8d254073866e3025c3a08b919d9bbe3965b6918 | [
"MIT"
] | null | null | null | // 18/02/22 = Thu
// Exercise 10.22: Rewrite the program to count words of size 6 or less using functions in place of the lambdas.
// Modified from lp-10-20.cpp
// Read strings from cin. Print out the number of strings having a length of 6 or less.
// To run, enter, for example, "a <data\summer" in command prompt.
... | 20.340909 | 112 | 0.683799 | aafulei |
ea9fd863ddb4531d03a943deaf7c17af8908f57f | 3,142 | cpp | C++ | OpenTESArena/src/Interface/MainQuestSplashPanel.cpp | michealccc/OpenTESArena | 7b4fd688677abea2ef03fa655b6d1669b1c8d77d | [
"MIT"
] | null | null | null | OpenTESArena/src/Interface/MainQuestSplashPanel.cpp | michealccc/OpenTESArena | 7b4fd688677abea2ef03fa655b6d1669b1c8d77d | [
"MIT"
] | null | null | null | OpenTESArena/src/Interface/MainQuestSplashPanel.cpp | michealccc/OpenTESArena | 7b4fd688677abea2ef03fa655b6d1669b1c8d77d | [
"MIT"
] | null | null | null | #include "MainQuestSplashPanel.h"
#include "MainQuestSplashUiController.h"
#include "MainQuestSplashUiModel.h"
#include "MainQuestSplashUiView.h"
#include "../Game/Game.h"
#include "../UI/CursorData.h"
#include "components/utilities/String.h"
MainQuestSplashPanel::MainQuestSplashPanel(Game &game)
: Panel(game) { }
... | 33.425532 | 119 | 0.777849 | michealccc |
eaa0204894ae2c762f1e84ccb02276262b13a654 | 58 | cpp | C++ | androiddemos/OpenGL2Basic/src/main/cpp/MyLog.cpp | playbar/AndroidUtils | 07612848773ad8153fec1a8e4c4b48c56f39b092 | [
"Apache-2.0"
] | null | null | null | androiddemos/OpenGL2Basic/src/main/cpp/MyLog.cpp | playbar/AndroidUtils | 07612848773ad8153fec1a8e4c4b48c56f39b092 | [
"Apache-2.0"
] | null | null | null | androiddemos/OpenGL2Basic/src/main/cpp/MyLog.cpp | playbar/AndroidUtils | 07612848773ad8153fec1a8e4c4b48c56f39b092 | [
"Apache-2.0"
] | null | null | null | //
// Created by luocj on 18-6-28.
//
#include "MyLog.h"
| 9.666667 | 31 | 0.586207 | playbar |
eaa37ef24a7c1fdf3d57a62d496e26f9b69a1150 | 4,752 | cpp | C++ | frameworks/wm/test/unittest/subwindow_option_impl_test.cpp | openharmony-gitee-mirror/graphic_standard | dc99aa91453f9133c16f488c6f071d7ef1936f2f | [
"Apache-2.0"
] | null | null | null | frameworks/wm/test/unittest/subwindow_option_impl_test.cpp | openharmony-gitee-mirror/graphic_standard | dc99aa91453f9133c16f488c6f071d7ef1936f2f | [
"Apache-2.0"
] | null | null | null | frameworks/wm/test/unittest/subwindow_option_impl_test.cpp | openharmony-gitee-mirror/graphic_standard | dc99aa91453f9133c16f488c6f071d7ef1936f2f | [
"Apache-2.0"
] | 1 | 2021-09-13T11:18:12.000Z | 2021-09-13T11:18:12.000Z | /*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 35.462687 | 98 | 0.666246 | openharmony-gitee-mirror |
eaa5ee40e8048a393996373e41f64ef747c29463 | 5,484 | cpp | C++ | tests/test_qprotobuf_serializer_plugin/serialization/qprotobufserializerimpl.cpp | pontaoski/qtprotobuf | 7225e6e324aa38c1bbeac1c0829cef73650e9d6f | [
"MIT"
] | 139 | 2019-06-28T10:35:07.000Z | 2022-03-23T05:54:26.000Z | tests/test_qprotobuf_serializer_plugin/serialization/qprotobufserializerimpl.cpp | pontaoski/qtprotobuf | 7225e6e324aa38c1bbeac1c0829cef73650e9d6f | [
"MIT"
] | 165 | 2019-10-22T14:51:10.000Z | 2022-02-24T22:46:56.000Z | tests/test_qprotobuf_serializer_plugin/serialization/qprotobufserializerimpl.cpp | pontaoski/qtprotobuf | 7225e6e324aa38c1bbeac1c0829cef73650e9d6f | [
"MIT"
] | 29 | 2019-08-06T11:15:41.000Z | 2022-01-04T02:51:43.000Z | /*
* MIT License
*
* Copyright (c) 2019 Alexey Edelev <semlanik@gmail.com>, Viktor Kopp <vifactor@gmail.com>
*
* This file is part of QtProtobuf project https://git.semlanik.org/semlanik/qtprotobuf
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this
* software and associated... | 38.619718 | 116 | 0.61415 | pontaoski |
eaa7bc0e3ea3a9bea8bf1f03d114879cf2243138 | 1,385 | cpp | C++ | Section_11/FunctionDefinitions/main.cpp | ftfoi71/BeginningCpp | 6acd8a9842f86791d87afbbc9716ff2ee994f4dc | [
"Unlicense"
] | 1 | 2021-02-11T23:08:00.000Z | 2021-02-11T23:08:00.000Z | Section_11/FunctionDefinitions/main.cpp | d-fect/BeginningCpp | 6acd8a9842f86791d87afbbc9716ff2ee994f4dc | [
"Unlicense"
] | null | null | null | Section_11/FunctionDefinitions/main.cpp | d-fect/BeginningCpp | 6acd8a9842f86791d87afbbc9716ff2ee994f4dc | [
"Unlicense"
] | null | null | null | #include <iostream>
#define _USE_MATH_DEFINES // Need this to use m_PI. Must be added before #include <cmath>. Legacy C feature and not part of standard C++.
#include <cmath>
const static double pi {3.14159}; // Use this if M_PI doesn't work. M_PI is non-standard, so this might be best option.
using namespace st... | 30.777778 | 147 | 0.629603 | ftfoi71 |
eaadd4ae1597d38d447d910fc28b5f197a72bb85 | 1,204 | cpp | C++ | Test/ExceptionTests.cpp | deepdubey06/WMI | 6cba31cf8ddc8fc3ad9767507690f6d11a9c3bb5 | [
"MIT"
] | 49 | 2015-08-10T09:53:45.000Z | 2021-05-31T23:12:56.000Z | Test/ExceptionTests.cpp | deepdubey06/WMI | 6cba31cf8ddc8fc3ad9767507690f6d11a9c3bb5 | [
"MIT"
] | null | null | null | Test/ExceptionTests.cpp | deepdubey06/WMI | 6cba31cf8ddc8fc3ad9767507690f6d11a9c3bb5 | [
"MIT"
] | 22 | 2015-10-27T13:53:06.000Z | 2021-12-01T07:36:03.000Z | ////////////////////////////////////////////////////////////////////////////////
//! \file ExceptionTests.cpp
//! \brief The unit tests for the Exception class.
//! \author Chris Oldwood
#include "Common.hpp"
#include <Core/UnitTest.hpp>
#include <WMI/Exception.hpp>
#include <wbemidl.h>
#include <WCL/ComPtr.hpp>
T... | 25.617021 | 80 | 0.694352 | deepdubey06 |
eaafd9b6d03bddf535539670c8c3e41292667b7e | 1,098 | hpp | C++ | DB1/project/include/base.hpp | Jorengarenar/homework | 5e69aa0fb1b21ffaf88d62af263ea719e82e9c70 | [
"Unlicense"
] | null | null | null | DB1/project/include/base.hpp | Jorengarenar/homework | 5e69aa0fb1b21ffaf88d62af263ea719e82e9c70 | [
"Unlicense"
] | null | null | null | DB1/project/include/base.hpp | Jorengarenar/homework | 5e69aa0fb1b21ffaf88d62af263ea719e82e9c70 | [
"Unlicense"
] | null | null | null | #pragma once
#include <fstream>
#include <memory>
#include <string>
#include <vector>
#include <sqlite3.h>
#include "bprinter/table_printer.h"
class Base {
static std::vector<std::string> tabs;
std::size_t startline;
sqlite3* db;
sqlite3_stmt* stmt;
protected:
bprinter::TablePrinter tp;
Bas... | 20.716981 | 70 | 0.62204 | Jorengarenar |
eab1150451fd23ae8f217459077356c8d64b88e0 | 2,505 | cpp | C++ | out/production/leetcode/io/github/zhengyhn/leetcode/divide_two_integers/divide-two-integers.cpp | zhengyhn/leetcode | 2e5e618dd7c964c8e983b187c6b1762cbe1764de | [
"MIT"
] | null | null | null | out/production/leetcode/io/github/zhengyhn/leetcode/divide_two_integers/divide-two-integers.cpp | zhengyhn/leetcode | 2e5e618dd7c964c8e983b187c6b1762cbe1764de | [
"MIT"
] | null | null | null | out/production/leetcode/io/github/zhengyhn/leetcode/divide_two_integers/divide-two-integers.cpp | zhengyhn/leetcode | 2e5e618dd7c964c8e983b187c6b1762cbe1764de | [
"MIT"
] | null | null | null | #include <iostream>
#include <climits>
using namespace std;
class Solution {
public:
int divide(int dividend, int divisor) {
long long above = (long long)dividend;
long long bottom = (long long)divisor;
int sign = 1;
if (dividend < 0) {
sign = -sign;
above = -above;
... | 26.648936 | 56 | 0.516966 | zhengyhn |
eab27f83273374d7e07882bb68b8eb5327d06a1f | 3,933 | cpp | C++ | src/C/Security-57031.40.6/Security/libsecurity_utilities/lib/errors.cpp | GaloisInc/hacrypto | 5c99d7ac73360e9b05452ac9380c1c7dc6784849 | [
"BSD-3-Clause"
] | 34 | 2015-02-04T18:03:14.000Z | 2020-11-10T06:45:28.000Z | src/C/Security-57031.40.6/Security/libsecurity_utilities/lib/errors.cpp | GaloisInc/hacrypto | 5c99d7ac73360e9b05452ac9380c1c7dc6784849 | [
"BSD-3-Clause"
] | 5 | 2015-06-30T21:17:00.000Z | 2016-06-14T22:31:51.000Z | src/C/Security-57031.40.6/Security/libsecurity_utilities/lib/errors.cpp | GaloisInc/hacrypto | 5c99d7ac73360e9b05452ac9380c1c7dc6784849 | [
"BSD-3-Clause"
] | 15 | 2015-10-29T14:21:58.000Z | 2022-01-19T07:33:14.000Z | /*
* Copyright (c) 2000-2004,2011-2014 Apple Inc. All Rights Reserved.
*
* @APPLE_LICENSE_HEADER_START@
*
* This file contains Original Code and/or Modifications of Original Code
* as defined in and that are subject to the Apple Public Source License
* Version 2.0 (the 'License'). You may not use this file exc... | 21.972067 | 80 | 0.732774 | GaloisInc |
eab53c1767a50a0fd27f01abd5613dcfb9775df9 | 1,112 | cpp | C++ | client/clientservice/src/event_service.cpp | myh1000/concord-bft | 1790aee3705c0f0571215abde2b0433564ff16a4 | [
"Apache-2.0"
] | null | null | null | client/clientservice/src/event_service.cpp | myh1000/concord-bft | 1790aee3705c0f0571215abde2b0433564ff16a4 | [
"Apache-2.0"
] | null | null | null | client/clientservice/src/event_service.cpp | myh1000/concord-bft | 1790aee3705c0f0571215abde2b0433564ff16a4 | [
"Apache-2.0"
] | null | null | null | // Concord
//
// Copyright (c) 2021 VMware, Inc. All Rights Reserved.
//
// This product is licensed to you under the Apache 2.0 license (the "License"). You may not use this product except in
// compliance with the Apache 2.0 License.
//
// This product may include a number of subcomponents with separate copyright not... | 33.69697 | 119 | 0.703237 | myh1000 |
eab5d685052b9959401cbc3ff12e412fbfae2b90 | 159,574 | cpp | C++ | Examples/SDKLibrary/interface/common/portable/data_types/events/content_filter/type_conversion_t.cpp | beeond/robot-examples | afc6b8b10809988b03663d703203625927e66e8f | [
"MIT"
] | 1 | 2018-03-29T21:03:31.000Z | 2018-03-29T21:03:31.000Z | Examples/SDKLibrary/interface/common/portable/data_types/events/content_filter/type_conversion_t.cpp | JayeshThamke/robot-examples | afc6b8b10809988b03663d703203625927e66e8f | [
"MIT"
] | null | null | null | Examples/SDKLibrary/interface/common/portable/data_types/events/content_filter/type_conversion_t.cpp | JayeshThamke/robot-examples | afc6b8b10809988b03663d703203625927e66e8f | [
"MIT"
] | 4 | 2018-04-05T21:16:55.000Z | 2019-10-15T19:01:46.000Z | /* -----------------------------------------------------------------------------------------------------------------
COPYRIGHT (c) 2009 - 2017
HONEYWELL INC.,
ALL RIGHTS RESERVED
This so... | 19.659234 | 193 | 0.653465 | beeond |
eabdc007074330ad82d194bd58d78feb67f3bcc3 | 17,488 | cpp | C++ | game_server/src/ecs/system/scene_grid_view_system.cpp | mzxdream/cherry | cf247ecda039a7255b7fc0e1b2c2a591bb4af8e0 | [
"Apache-2.0"
] | null | null | null | game_server/src/ecs/system/scene_grid_view_system.cpp | mzxdream/cherry | cf247ecda039a7255b7fc0e1b2c2a591bb4af8e0 | [
"Apache-2.0"
] | null | null | null | game_server/src/ecs/system/scene_grid_view_system.cpp | mzxdream/cherry | cf247ecda039a7255b7fc0e1b2c2a591bb4af8e0 | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include <ecs/component/location.h>
#include <ecs/component/serialize/component_serialize.h>
#include <ecs/component/single/scene_grid_view.h>
#include <ecs/component/view.h>
#include <ecs/event/component_event.h>
#include <ecs/event/position_change_event.h>
#include <ecs/system/scene_grid_view_sys... | 36.207039 | 79 | 0.554838 | mzxdream |
eac113310c8ceacc07411f140e4693bdfa4be60d | 1,500 | cpp | C++ | src/versions.cpp | rvianello/chemicalite | 0feb0d122e2f38730e2033e76681699c12eb1b23 | [
"BSD-3-Clause"
] | 29 | 2015-03-07T14:40:35.000Z | 2022-02-05T21:17:42.000Z | src/versions.cpp | rvianello/chemicalite | 0feb0d122e2f38730e2033e76681699c12eb1b23 | [
"BSD-3-Clause"
] | 3 | 2015-11-18T05:04:48.000Z | 2020-12-16T22:37:25.000Z | src/versions.cpp | rvianello/chemicalite | 0feb0d122e2f38730e2033e76681699c12eb1b23 | [
"BSD-3-Clause"
] | 3 | 2020-05-13T19:02:07.000Z | 2021-08-02T10:45:32.000Z | #include <sqlite3ext.h>
extern const sqlite3_api_routines *sqlite3_api;
#include <RDGeneral/versions.h>
#include "versions.hpp"
#include "utils.hpp"
/*
** Return the version info for this extension
*/
static void chemicalite_version(sqlite3_context* ctx, int /*argc*/, sqlite3_value** /*argv*/)
{
sqlite3_result_tex... | 36.585366 | 148 | 0.740667 | rvianello |
eac77fc16f68df4fef903990a8e28d255e7c94ab | 15,854 | cc | C++ | python/ora/ext/functions.cc | alexhsamuel/ora | 89358d9193d86fbc7752270f1e35ee6ddcdcd206 | [
"BSD-3-Clause"
] | 10 | 2018-03-03T02:02:19.000Z | 2020-04-02T22:47:55.000Z | python/ora/ext/functions.cc | alexhsamuel/ora | 89358d9193d86fbc7752270f1e35ee6ddcdcd206 | [
"BSD-3-Clause"
] | 13 | 2018-01-28T15:20:55.000Z | 2022-01-27T23:32:41.000Z | python/ora/ext/functions.cc | alexhsamuel/ora | 89358d9193d86fbc7752270f1e35ee6ddcdcd206 | [
"BSD-3-Clause"
] | null | null | null | #include <cassert>
#include <cstring>
#include <time.h>
#include "ora.hh"
#include "py.hh"
#include "py_date.hh"
#include "py_time.hh"
#include "util.hh"
using namespace std::string_literals;
//------------------------------------------------------------------------------
namespace ora {
namespace py {
//---------... | 28.412186 | 97 | 0.643686 | alexhsamuel |
eacbd83cb2653718f0b0812fb072d28b0fdb0e7f | 6,481 | cc | C++ | test/sagtension/cable_component_elongation_model_test.cc | Overhead-Transmission-Line-Software/Models | c270d48dc9d8a6eaed1d13851da7207474356342 | [
"Unlicense"
] | null | null | null | test/sagtension/cable_component_elongation_model_test.cc | Overhead-Transmission-Line-Software/Models | c270d48dc9d8a6eaed1d13851da7207474356342 | [
"Unlicense"
] | null | null | null | test/sagtension/cable_component_elongation_model_test.cc | Overhead-Transmission-Line-Software/Models | c270d48dc9d8a6eaed1d13851da7207474356342 | [
"Unlicense"
] | null | null | null | // This is free and unencumbered software released into the public domain.
// For more information, please refer to <http://unlicense.org/>
#include "models/sagtension/cable_component_elongation_model.h"
#include "gtest/gtest.h"
#include "models/base/helper.h"
#include "test/factory.h"
class CableComponentElongatio... | 28.550661 | 78 | 0.697115 | Overhead-Transmission-Line-Software |
eacbe0de275248e603637ad4cc14e6babb9400d0 | 29,296 | cpp | C++ | ref-impl/src/OM/OMObjectReference.cpp | Phygon/aaf | faef720e031f501190481e1d1fc1870a7dc8f98b | [
"Linux-OpenIB"
] | null | null | null | ref-impl/src/OM/OMObjectReference.cpp | Phygon/aaf | faef720e031f501190481e1d1fc1870a7dc8f98b | [
"Linux-OpenIB"
] | null | null | null | ref-impl/src/OM/OMObjectReference.cpp | Phygon/aaf | faef720e031f501190481e1d1fc1870a7dc8f98b | [
"Linux-OpenIB"
] | null | null | null | //=---------------------------------------------------------------------=
//
// $Id$ $Name$
//
// The contents of this file are subject to the AAF SDK Public Source
// License Agreement Version 2.0 (the "License"); You may not use this
// file except in compliance with the License. The License is available
// in AAFSD... | 31.671351 | 88 | 0.674597 | Phygon |
eacefc9136158f0ef866fe94caff8ff231980ddc | 2,966 | hpp | C++ | include/codegen/include/UnityEngine/GL.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | 1 | 2021-11-12T09:29:31.000Z | 2021-11-12T09:29:31.000Z | include/codegen/include/UnityEngine/GL.hpp | Futuremappermydud/Naluluna-Modifier-Quest | bfda34370764b275d90324b3879f1a429a10a873 | [
"MIT"
] | null | null | null | include/codegen/include/UnityEngine/GL.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:28 PM
// Created by Sc2ad
// =========================================================================
#pragma once
#pragma pack(push, 8)
// Begin includes
#include "utils/typedefs.h"
// Including type: System.Object
#include "System/Object.hpp"
#include "utils/i... | 42.371429 | 160 | 0.711059 | Futuremappermydud |
ead3af19c4113647f736837890edbd6f8748303c | 939 | cpp | C++ | Level6_FileIO/1_StreamInsertion_Extraction/6_Get_GetLine.cpp | Arunken/DevCPP | 93f4e52284c8a4ce5d00acbe292002692eadfb39 | [
"Apache-2.0"
] | null | null | null | Level6_FileIO/1_StreamInsertion_Extraction/6_Get_GetLine.cpp | Arunken/DevCPP | 93f4e52284c8a4ce5d00acbe292002692eadfb39 | [
"Apache-2.0"
] | null | null | null | Level6_FileIO/1_StreamInsertion_Extraction/6_Get_GetLine.cpp | Arunken/DevCPP | 93f4e52284c8a4ce5d00acbe292002692eadfb39 | [
"Apache-2.0"
] | null | null | null | #include<iostream>
#include<string>
using namespace std;
main()
{
/*getline function*/
char ch1[20];
char ch2[20];
cout<<"Enter the first string having a max of 19 characters(getline) : "<<endl;
cin.getline(ch1,20);// extracts the delimiting character \n from the buffer
cout<<"Enter the second string having a... | 32.37931 | 81 | 0.684771 | Arunken |
ead5e80a50f623e4ff2b096693d17975324d081f | 1,771 | hpp | C++ | modules/engine/include/randar/Input/InputController.hpp | litty-studios/randar | 95daae57b1ec7d87194cdbcf6e3946b4ed9fc79b | [
"MIT"
] | 1 | 2016-11-12T02:43:29.000Z | 2016-11-12T02:43:29.000Z | modules/engine/include/randar/Input/InputController.hpp | litty-studios/randar | 95daae57b1ec7d87194cdbcf6e3946b4ed9fc79b | [
"MIT"
] | null | null | null | modules/engine/include/randar/Input/InputController.hpp | litty-studios/randar | 95daae57b1ec7d87194cdbcf6e3946b4ed9fc79b | [
"MIT"
] | null | null | null | #ifndef RANDAR_SYSTEM_INPUT_CONTROLLER_HPP
#define RANDAR_SYSTEM_INPUT_CONTROLLER_HPP
#include <set>
#include <randar/Math/Vector2.hpp>
namespace randar
{
class InputController
{
protected:
/**
* List of currently pressed keys.
*/
std::set<unsigned int> pressedKeys;
... | 21.864198 | 62 | 0.543761 | litty-studios |
ead687194f9426bc1d97327d336c404863ccb06a | 144 | cpp | C++ | babelBubel/delayer.cpp | dorianJaniak/koty_inne | aace956718d6a7540a438c7ccc3b43a35842b646 | [
"Apache-2.0"
] | null | null | null | babelBubel/delayer.cpp | dorianJaniak/koty_inne | aace956718d6a7540a438c7ccc3b43a35842b646 | [
"Apache-2.0"
] | null | null | null | babelBubel/delayer.cpp | dorianJaniak/koty_inne | aace956718d6a7540a438c7ccc3b43a35842b646 | [
"Apache-2.0"
] | null | null | null | #include <ctime>
void delay_ms(int ms_time)
{
clock_t pocz = clock();
clock_t koniec;
do{
koniec = clock();
}while(koniec-pocz<ms_time);
} | 14.4 | 29 | 0.680556 | dorianJaniak |
ead6f86d2ae97ef3320ca65f33ae6a8372b68e13 | 11,098 | cpp | C++ | jfs/LBMSolver.cpp | jackm97/jfs | 49b0f4d999ddd215ef9fb574ba92314e48437c2e | [
"MIT"
] | null | null | null | jfs/LBMSolver.cpp | jackm97/jfs | 49b0f4d999ddd215ef9fb574ba92314e48437c2e | [
"MIT"
] | null | null | null | jfs/LBMSolver.cpp | jackm97/jfs | 49b0f4d999ddd215ef9fb574ba92314e48437c2e | [
"MIT"
] | null | null | null | #include "LBMSolver.h"
#include <cmath>
#include <cstring>
#include <iostream>
namespace jfs {
JFS_INLINE LBMSolver::LBMSolver(unsigned int N, float L, BoundType btype, float rho0, float visc, float uref)
{
Initialize(N, L, btype, rho0, visc, uref);
}
JFS_INLINE void LBMSolver::Initialize(unsigned int N, float ... | 24.126087 | 155 | 0.492341 | jackm97 |
eadca6fa4343cc6d3b4b7afd9514f5951ab4e055 | 11,902 | cpp | C++ | gmsh/Geo/gmshFace.cpp | Poofee/fastFEM | 14eb626df973e2123604041451912c867ab7188c | [
"MIT"
] | 4 | 2019-05-06T09:35:08.000Z | 2021-05-14T16:26:45.000Z | gmsh/Geo/gmshFace.cpp | Poofee/fastFEM | 14eb626df973e2123604041451912c867ab7188c | [
"MIT"
] | null | null | null | gmsh/Geo/gmshFace.cpp | Poofee/fastFEM | 14eb626df973e2123604041451912c867ab7188c | [
"MIT"
] | 1 | 2019-06-28T09:23:43.000Z | 2019-06-28T09:23:43.000Z | // Gmsh - Copyright (C) 1997-2019 C. Geuzaine, J.-F. Remacle
//
// See the LICENSE.txt file for license information. Please report all
// issues on https://gitlab.onelab.info/gmsh/gmsh/issues.
#include <stdlib.h>
#include "GModel.h"
#include "gmshFace.h"
#include "Geo.h"
#include "GeoInterpolation.h"
#include "Numeric... | 29.243243 | 78 | 0.576458 | Poofee |
eae19445f86db1774a7542f7177c3497e9e81898 | 16,643 | cpp | C++ | mainwindow/mainwindow.cpp | Kumbong/notepad-- | 99aeafe4a85c7cb7e587b0182cf628a95e21dfa6 | [
"MIT"
] | 1 | 2019-07-04T15:48:14.000Z | 2019-07-04T15:48:14.000Z | mainwindow/mainwindow.cpp | Kumbong/notepad-- | 99aeafe4a85c7cb7e587b0182cf628a95e21dfa6 | [
"MIT"
] | null | null | null | mainwindow/mainwindow.cpp | Kumbong/notepad-- | 99aeafe4a85c7cb7e587b0182cf628a95e21dfa6 | [
"MIT"
] | null | null | null | #include "mainwindow.h"
#include "dialogs/replacedialog.h"
#include "dialogs/gotolinedialog.h"
#include <QtWidgets>
#include <QtPrintSupport/QPrintDialog>
#include <QtPrintSupport/QPrinter>
//Todo
//add printing
MainWindow::MainWindow(QWidget *parent)
: QMainWindow(parent)
{
textEdit = new QTextEdit(this);
... | 32.956436 | 123 | 0.688578 | Kumbong |
eae2b526508e958fcd3efac0e88c7b673723d1f7 | 2,509 | cpp | C++ | src/Windows.Storage/win_storage_native_Windows_Storage_StorageFolder_stubs.cpp | josesimoes/nf-interpreter | 3ec2020143148f40929d597adbd058cd1f6079b8 | [
"MIT"
] | 223 | 2017-02-07T07:57:17.000Z | 2022-03-11T06:03:15.000Z | src/Windows.Storage/win_storage_native_Windows_Storage_StorageFolder_stubs.cpp | josesimoes/nf-interpreter | 3ec2020143148f40929d597adbd058cd1f6079b8 | [
"MIT"
] | 1,696 | 2017-01-24T16:08:40.000Z | 2022-03-24T10:26:31.000Z | src/Windows.Storage/win_storage_native_Windows_Storage_StorageFolder_stubs.cpp | josesimoes/nf-interpreter | 3ec2020143148f40929d597adbd058cd1f6079b8 | [
"MIT"
] | 208 | 2017-01-23T18:55:43.000Z | 2022-03-16T09:23:20.000Z | //
// Copyright (c) .NET Foundation and Contributors
// See LICENSE file in the project root for full license information.
//
#include "win_storage_native.h"
HRESULT Library_win_storage_native_Windows_Storage_StorageFolder::
GetRemovableStorageFoldersNative___SZARRAY_WindowsStorageStorageFolder(CLR_RT_StackFrame ... | 26.135417 | 120 | 0.817457 | josesimoes |
eaea488a002ab89abf21c8f605ddb5c45dcb7992 | 53 | cpp | C++ | Raybyte/Source/Raybyte/Graphics/SceneEnvironment.cpp | EddeDev/RaybyteEngine | bd1756246966c43c6b52ee8804aa9b5ce6a931b9 | [
"MIT"
] | 1 | 2021-12-25T21:52:32.000Z | 2021-12-25T21:52:32.000Z | Raybyte/Source/Raybyte/Graphics/SceneEnvironment.cpp | EddeDev/RaybyteEngine | bd1756246966c43c6b52ee8804aa9b5ce6a931b9 | [
"MIT"
] | null | null | null | Raybyte/Source/Raybyte/Graphics/SceneEnvironment.cpp | EddeDev/RaybyteEngine | bd1756246966c43c6b52ee8804aa9b5ce6a931b9 | [
"MIT"
] | null | null | null | #include "RaybytePCH.h"
#include "SceneEnvironment.h" | 26.5 | 29 | 0.792453 | EddeDev |
eaf10c93fdde0012d8a8aa519294ff8a93b8a2e6 | 415 | cpp | C++ | src/mbgl/storage/resource_transform.cpp | roblabs/maplibre-gl-native | d62ff400c6f75750d71b563344b1ca1e07b9b576 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 4,234 | 2015-01-09T08:10:16.000Z | 2022-03-30T14:13:55.000Z | src/mbgl/storage/resource_transform.cpp | roblabs/maplibre-gl-native | d62ff400c6f75750d71b563344b1ca1e07b9b576 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 12,771 | 2015-01-01T20:27:42.000Z | 2022-03-24T18:14:44.000Z | src/mbgl/storage/resource_transform.cpp | roblabs/maplibre-gl-native | d62ff400c6f75750d71b563344b1ca1e07b9b576 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | 1,571 | 2015-01-08T08:24:53.000Z | 2022-03-28T06:30:53.000Z | #include <mbgl/storage/resource_transform.hpp>
namespace mbgl {
ResourceTransform::ResourceTransform(TransformCallback callback) : transformCallback(std::move(callback)) {}
void ResourceTransform::transform(Resource::Kind kind, const std::string& url, FinishedCallback finished) {
assert(finished);
assert(tra... | 29.642857 | 108 | 0.768675 | roblabs |
46ae67bfe10d2324d2a838ec62212a97ead1c18f | 3,245 | cxx | C++ | src/converter/opengm2uai.cxx | burcin/opengm | a1b21eecb93c6c5a7b11ab312d26b1c98c55ff41 | [
"MIT"
] | 318 | 2015-01-07T15:22:02.000Z | 2022-01-22T10:10:29.000Z | src/converter/opengm2uai.cxx | burcin/opengm | a1b21eecb93c6c5a7b11ab312d26b1c98c55ff41 | [
"MIT"
] | 89 | 2015-03-24T14:33:01.000Z | 2020-07-10T13:59:13.000Z | src/converter/opengm2uai.cxx | burcin/opengm | a1b21eecb93c6c5a7b11ab312d26b1c98c55ff41 | [
"MIT"
] | 119 | 2015-01-13T08:35:03.000Z | 2022-03-01T01:49:08.000Z | #include <string>
#include <vector>
#include <iostream>
#include <fstream>
#include <opengm/graphicalmodel/graphicalmodel.hxx>
#include <opengm/graphicalmodel/graphicalmodel_hdf5.hxx>
#include <opengm/operations/minimizer.hxx>
#include <opengm/operations/adder.hxx>
#include <opengm/functions/explicit_function.hxx>
#i... | 31.813725 | 94 | 0.630508 | burcin |
46aee01042a6e74048ddb3df62f20762a7be2510 | 7,394 | hh | C++ | apps/derive_vars/FcstFile.hh | OSADP/Pikalert-Vehicle-Data-Translator- | 295da604408f6f13af0301b55476a81311459386 | [
"Apache-2.0"
] | 2 | 2020-06-03T15:59:50.000Z | 2020-12-21T11:11:57.000Z | apps/derive_vars/FcstFile.hh | OSADP/Pikalert-Vehicle-Data-Translator- | 295da604408f6f13af0301b55476a81311459386 | [
"Apache-2.0"
] | null | null | null | apps/derive_vars/FcstFile.hh | OSADP/Pikalert-Vehicle-Data-Translator- | 295da604408f6f13af0301b55476a81311459386 | [
"Apache-2.0"
] | 2 | 2019-10-02T06:47:23.000Z | 2020-02-02T18:32:23.000Z | // *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
// ** Copyright UCAR (c) 1992 - 2015
// ** University Corporation for Atmospheric Research(UCAR)
// ** National Center for Atmospheric Research(NCAR)
// ** Research Applications Laboratory(RAL)
// ** P.O.Box 3000, Boulder, Colorado, 80307... | 30.808333 | 77 | 0.576143 | OSADP |
46b1565e3c725426ac3653bd882dded09fd7c2c3 | 5,252 | cxx | C++ | private/inet/xml/core/prfdata/msxmlprfcounters.cxx | King0987654/windows2000 | 01f9c2e62c4289194e33244aade34b7d19e7c9b8 | [
"MIT"
] | 11 | 2017-09-02T11:27:08.000Z | 2022-01-02T15:25:24.000Z | private/inet/xml/core/prfdata/msxmlprfcounters.cxx | King0987654/windows2000 | 01f9c2e62c4289194e33244aade34b7d19e7c9b8 | [
"MIT"
] | null | null | null | private/inet/xml/core/prfdata/msxmlprfcounters.cxx | King0987654/windows2000 | 01f9c2e62c4289194e33244aade34b7d19e7c9b8 | [
"MIT"
] | 14 | 2019-01-16T01:01:23.000Z | 2022-02-20T15:54:27.000Z | /*
*
* Copyright (c) 1998,1999 Microsoft Corporation. All rights reserved.
* EXEMPT: copyright change only, no build required
*
*/
#include "core.hxx"
#pragma hdrstop
#ifdef PRFDATA
#include "msxmlprfcounters.h"
#include "msxmlprfdatamap.hxx"
// None of this is protected by any locks ON PURPOSE - bec... | 28.543478 | 84 | 0.61329 | King0987654 |
46b2ff3f7795859fbe0ebc47b1abd5d65bd61e35 | 1,068 | cc | C++ | util/stats.cc | LPD-EPFL/flodb | 92c28c260ec1455f9707aee4daca938aad87b59a | [
"BSD-3-Clause"
] | 22 | 2017-04-25T20:58:19.000Z | 2022-01-23T09:51:51.000Z | util/stats.cc | LPD-EPFL/flodb | 92c28c260ec1455f9707aee4daca938aad87b59a | [
"BSD-3-Clause"
] | null | null | null | util/stats.cc | LPD-EPFL/flodb | 92c28c260ec1455f9707aee4daca938aad87b59a | [
"BSD-3-Clause"
] | 11 | 2017-04-25T21:01:42.000Z | 2021-04-08T07:12:57.000Z | #include "leveldb/stats.h"
#ifdef COLLECT_STATS
__thread uint64_t updates_total;
__thread uint64_t updates_directly_membuffer;
__thread uint64_t updates_w_helping_total;
__thread uint64_t updates_w_helping_succ;
__thread uint64_t reads_total;
__thread uint64_t reads_membuffer;
__thread uint64_t reads_memtable;
__thre... | 28.105263 | 45 | 0.866105 | LPD-EPFL |
46b3184221e6d42c5d054424875e2a3fb4ab4201 | 1,243 | cpp | C++ | tests/dense_like.cpp | ivansipiran/numpyeigen | 48c6ccc5724572c6107240fa472d3c1ff04d679d | [
"MIT"
] | null | null | null | tests/dense_like.cpp | ivansipiran/numpyeigen | 48c6ccc5724572c6107240fa472d3c1ff04d679d | [
"MIT"
] | null | null | null | tests/dense_like.cpp | ivansipiran/numpyeigen | 48c6ccc5724572c6107240fa472d3c1ff04d679d | [
"MIT"
] | null | null | null | #include <tuple>
#include <Eigen/Core>
#include <iostream>
#include <npe.h>
npe_function(dense_like_1)
npe_arg(a, sparse_double, sparse_float)
npe_arg(b, npe_dense_like(a))
npe_begin_code()
npe_Matrix_b ret1 = a * b;
return npe::move(ret1);
npe_end_code()
npe_function(dense_like_2)
npe_arg(a, sparse_double, spar... | 17.507042 | 39 | 0.76428 | ivansipiran |
46b38f19922b1269bb9530ddfd9da302a4f31e86 | 15,097 | cpp | C++ | qt-creator-opensource-src-4.6.1/src/plugins/autotest/testconfiguration.cpp | kevinlq/Qt-Creator-Opensource-Study | b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f | [
"MIT"
] | 5 | 2018-12-22T14:49:13.000Z | 2022-01-13T07:21:46.000Z | qt-creator-opensource-src-4.6.1/src/plugins/autotest/testconfiguration.cpp | kevinlq/Qt-Creator-Opensource-Study | b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f | [
"MIT"
] | null | null | null | qt-creator-opensource-src-4.6.1/src/plugins/autotest/testconfiguration.cpp | kevinlq/Qt-Creator-Opensource-Study | b8cadff1f33f25a5d4ef33ed93f661b788b1ba0f | [
"MIT"
] | 8 | 2018-07-17T03:55:48.000Z | 2021-12-22T06:37:53.000Z | /****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of Qt Creator.
**
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance w... | 39.111399 | 106 | 0.664768 | kevinlq |
46bb3b1017e0f71a0d2ae0c531781a63575e37de | 2,985 | hpp | C++ | Random/res/behavior.hpp | SuperV1234/Experiments | 572c94d1afb367c241645b479019f6cb3883f98f | [
"AFL-3.0"
] | 12 | 2015-10-10T16:27:28.000Z | 2019-11-28T17:48:32.000Z | Random/res/behavior.hpp | vittorioromeo/Experiments | 572c94d1afb367c241645b479019f6cb3883f98f | [
"AFL-3.0"
] | 3 | 2016-11-20T21:17:19.000Z | 2018-05-25T16:52:32.000Z | Random/res/behavior.hpp | vittorioromeo/Experiments | 572c94d1afb367c241645b479019f6cb3883f98f | [
"AFL-3.0"
] | 2 | 2016-11-20T21:02:49.000Z | 2020-01-09T18:11:29.000Z | // Copyright (c) 2013-2015 Vittorio Romeo
// License: Academic Free License ("AFL") v. 3.0
// AFL License page: http://opensource.org/licenses/AFL-3.0
// http://vittorioromeo.info | vittorio.romeo@outlook.com
#pragma once
#include "./shared.hpp"
#include "./legacy.hpp"
template <typename>
using void_t = void;
templ... | 22.443609 | 67 | 0.564154 | SuperV1234 |
46bec432f9f185eab1e426173bd11a815824ed94 | 1,066 | cpp | C++ | TAO/orbsvcs/tests/Notify/lib/common.cpp | cflowe/ACE | 5ff60b41adbe1772372d1a43bcc1f2726ff8f810 | [
"DOC"
] | 36 | 2015-01-10T07:27:33.000Z | 2022-03-07T03:32:08.000Z | TAO/orbsvcs/tests/Notify/lib/common.cpp | cflowe/ACE | 5ff60b41adbe1772372d1a43bcc1f2726ff8f810 | [
"DOC"
] | 2 | 2018-08-13T07:30:51.000Z | 2019-02-25T03:04:31.000Z | TAO/orbsvcs/tests/Notify/lib/common.cpp | cflowe/ACE | 5ff60b41adbe1772372d1a43bcc1f2726ff8f810 | [
"DOC"
] | 38 | 2015-01-08T14:12:06.000Z | 2022-01-19T08:33:00.000Z | // $Id: common.cpp 95761 2012-05-15 18:23:04Z johnnyw $
#include "common.h"
#include "orbsvcs/CosNotifyCommC.h"
#include "orbsvcs/CosNamingC.h"
#include "ace/OS_NS_stdio.h"
#include "ace/OS_NS_string.h"
const char*
Any_String (const CORBA::Any& any)
{
static char out[256] = "";
CORBA::Short s;
CORBA::UShort u... | 20.113208 | 68 | 0.614447 | cflowe |
46c1498aea47b7400764f73ec8f23e668cca2f67 | 4,844 | cpp | C++ | MainViewer_CellMakingViewer_PartsAssembler_Workspace.cpp | sknjpn/SyLife | b215cba87096db52ac63931db64c967f906b9172 | [
"MIT"
] | 5 | 2022-01-05T10:04:40.000Z | 2022-01-11T13:23:43.000Z | MainViewer_CellMakingViewer_PartsAssembler_Workspace.cpp | sknjpn/SyLife | b215cba87096db52ac63931db64c967f906b9172 | [
"MIT"
] | 1 | 2022-01-05T10:51:42.000Z | 2022-01-05T13:25:41.000Z | MainViewer_CellMakingViewer_PartsAssembler_Workspace.cpp | sknjpn/SyLife | b215cba87096db52ac63931db64c967f906b9172 | [
"MIT"
] | null | null | null | #include "CellAsset.h"
#include "GUIButton.h"
#include "MainViewer.h"
#include "PartAsset.h"
#include "PartConfig.h"
#include "Part_BodyAsset.h"
#include "Part_NucleusAsset.h"
void MainViewer::CellMakingViewer::PartsAssembler::Workspace::init() {
setBackgroundColor(Palette::Black);
setViewerRectInLocal(200, 0, 8... | 36.977099 | 204 | 0.692609 | sknjpn |
46c550c2fd3e60b69ebdeee509efa8a0cddcfb30 | 1,294 | cc | C++ | topcoder/SRM/SRM-663-DIV-2/250/ChessFloor.cc | mathemage/CompetitiveProgramming | fe39017e3b017f9259f9c1e6385549270940be64 | [
"MIT"
] | 2 | 2015-08-18T09:51:19.000Z | 2019-01-29T03:18:10.000Z | topcoder/SRM/SRM-663-DIV-2/250/ChessFloor.cc | mathemage/CompetitiveProgramming | fe39017e3b017f9259f9c1e6385549270940be64 | [
"MIT"
] | null | null | null | topcoder/SRM/SRM-663-DIV-2/250/ChessFloor.cc | mathemage/CompetitiveProgramming | fe39017e3b017f9259f9c1e6385549270940be64 | [
"MIT"
] | null | null | null | /* ========================================
* Points : 0
* Total : 250
* Status : WA AC
==========================================*/
#include <bits/stdc++.h>
using namespace std;
#define FOR(I,A,B) for(int I = (A); I < (B); ++I)
#define REP(I,N) FOR(I,0,N)
#define ALL(A) (A).begin(), (A).end()
#define MSG(a... | 19.606061 | 62 | 0.391036 | mathemage |
46c9f204917b13c79a08ac42e71b8d6dfc4605ca | 944 | cpp | C++ | Cpp/fost-core/json-iterator-tests.cpp | KayEss/fost-base | 05ac1b6a1fb672c61ba6502efea86f9c5207e28f | [
"BSL-1.0"
] | 2 | 2016-05-25T22:17:38.000Z | 2019-04-02T08:34:17.000Z | Cpp/fost-core/json-iterator-tests.cpp | KayEss/fost-base | 05ac1b6a1fb672c61ba6502efea86f9c5207e28f | [
"BSL-1.0"
] | 5 | 2018-07-13T10:43:05.000Z | 2019-09-02T14:54:42.000Z | Cpp/fost-core/json-iterator-tests.cpp | KayEss/fost-base | 05ac1b6a1fb672c61ba6502efea86f9c5207e28f | [
"BSL-1.0"
] | 1 | 2020-10-22T20:44:24.000Z | 2020-10-22T20:44:24.000Z | /**
Copyright 1999-2019 Red Anchor Trading Co. Ltd.
Distributed under the Boost Software License, Version 1.0.
See <http://www.boost.org/LICENSE_1_0.txt>
*/
#include "fost-core-test.hpp"
#include <fost/unicode>
using namespace fostlib;
FSL_TEST_SUITE(json_iterator);
FSL_TEST_FUNCTION(empty) {
... | 23.02439 | 70 | 0.668432 | KayEss |
46ca8514dd32be49ab847b6f4c38ce8f83b354b8 | 13,306 | cpp | C++ | iniplus.cpp | solariun/libsolar | 5964054b4064a231280b3c2df1e205cabe66ac9f | [
"MIT"
] | null | null | null | iniplus.cpp | solariun/libsolar | 5964054b4064a231280b3c2df1e205cabe66ac9f | [
"MIT"
] | null | null | null | iniplus.cpp | solariun/libsolar | 5964054b4064a231280b3c2df1e205cabe66ac9f | [
"MIT"
] | null | null | null | //
// iniplus.cpp
// LibSolar++
//
// Created by GUSTAVO CAMPOS on 26/03/18.
// Copyright © 2018 GUSTAVO CAMPOS. All rights reserved.
//
#include "iniplus.hpp"
#include <iostream>
#include <new>
#include <sstream>
#include <stdlib.h>
#include <cctype>
iniplusException::iniplusException (std::string strMessage, u... | 28.553648 | 217 | 0.517962 | solariun |
46d15d6488e2a31fce4678f759a447b7719b4679 | 3,621 | cpp | C++ | src/graph.cpp | Liu-Cheng/graph_accelerator | 38e33215a73611dd8d0a8d8231a89aad185bea33 | [
"MIT"
] | 9 | 2017-11-03T09:12:25.000Z | 2021-08-05T08:51:12.000Z | src/graph.cpp | Liu-Cheng/graph_accelerator | 38e33215a73611dd8d0a8d8231a89aad185bea33 | [
"MIT"
] | 1 | 2019-12-16T02:55:09.000Z | 2020-03-23T08:01:10.000Z | src/graph.cpp | Liu-Cheng/graph_accelerator | 38e33215a73611dd8d0a8d8231a89aad185bea33 | [
"MIT"
] | 2 | 2019-04-09T02:23:35.000Z | 2019-12-10T02:18:47.000Z | #include "graph.h"
void Graph::loadFile(
const std::string& fname,
std::vector<std::vector<int>> &data
){
std::ifstream fhandle(fname.c_str());
if(!fhandle.is_open()){
HERE;
std::cout << "Failed to open " << fname << std::endl;
exit(EXIT_FAILURE);
}
st... | 28.968 | 129 | 0.537973 | Liu-Cheng |
46d18ae5c9c0cde575ff2ca65ae4553321d6b397 | 769 | cpp | C++ | src/SumaKontrolnaPliku.cpp | klusekrules/tools | f740c073298b1477a2260cdb5425899ea0d7e102 | [
"MIT"
] | null | null | null | src/SumaKontrolnaPliku.cpp | klusekrules/tools | f740c073298b1477a2260cdb5425899ea0d7e102 | [
"MIT"
] | null | null | null | src/SumaKontrolnaPliku.cpp | klusekrules/tools | f740c073298b1477a2260cdb5425899ea0d7e102 | [
"MIT"
] | null | null | null | #include "SumaKontrolnaPliku.h"
#include "Logger\Logger.h"
#include "krypto\Hex.h"
#pragma warning( disable : 4996 )
namespace SpEx{
const std::string SumaKontrolnaPliku::NazwaTypu_ = "sha3";
SumaKontrolnaPliku::SumaKontrolnaPliku(const std::string& plik)
: Zasob(plik), fp_(fopen(plik.c_str(), "rb")), sumaKontroln... | 28.481481 | 108 | 0.726918 | klusekrules |
46d66d0c3cd7aff8f33778c7e8381fb5a6274e52 | 4,270 | cpp | C++ | control/unsupported/servos_mix_birotor.cpp | jlecoeur/MAVRIC_Library | 56281851da7541d5c1199490a8621d7f18482be1 | [
"BSD-3-Clause"
] | 12 | 2016-07-12T10:26:47.000Z | 2021-12-14T10:03:11.000Z | control/unsupported/servos_mix_birotor.cpp | jlecoeur/MAVRIC_Library | 56281851da7541d5c1199490a8621d7f18482be1 | [
"BSD-3-Clause"
] | 183 | 2015-01-22T12:35:18.000Z | 2017-06-09T10:11:26.000Z | control/unsupported/servos_mix_birotor.cpp | jlecoeur/MAVRIC_Library | 56281851da7541d5c1199490a8621d7f18482be1 | [
"BSD-3-Clause"
] | 25 | 2015-02-03T15:15:48.000Z | 2021-12-14T08:55:04.000Z | /*******************************************************************************
* Copyright (c) 2009-2016, MAV'RIC Development Team
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
... | 33.100775 | 81 | 0.591803 | jlecoeur |
46d8b053a15f65ff4d94f53e47729ec6a68e7b37 | 4,135 | cpp | C++ | tst_gjsonlocalserver.cpp | echowalways/GJsonLocalServer | b70a68334ec564cee29177acdedf88e8096d6517 | [
"BSD-3-Clause"
] | null | null | null | tst_gjsonlocalserver.cpp | echowalways/GJsonLocalServer | b70a68334ec564cee29177acdedf88e8096d6517 | [
"BSD-3-Clause"
] | null | null | null | tst_gjsonlocalserver.cpp | echowalways/GJsonLocalServer | b70a68334ec564cee29177acdedf88e8096d6517 | [
"BSD-3-Clause"
] | 1 | 2018-09-15T00:16:00.000Z | 2018-09-15T00:16:00.000Z | #include <QtCore>
#include <QtTest>
#include <GJsonAccessManager>
#include <GJsonRequest>
#include <GJsonResponse>
#include <GEchoLocalServer>
class GJsonLocalServerTest : public QObject
{
Q_OBJECT
public:
GJsonLocalServerTest();
private Q_SLOTS:
void testRequestLoop();
};
GJsonLocalServerTest::GJsonL... | 32.559055 | 86 | 0.596372 | echowalways |
46d9115fcbbc2d829141c78651e02ba7261b08dd | 3,580 | cpp | C++ | overlays/browndeer-coprthr-1.6.2/usr/local/browndeer/examples/parallella/clvector_example/clvector_example.cpp | DEVESHTARASIA/parabuntu | db94c5373efef16d1dbef1dac89cc15279a7121d | [
"MIT"
] | 54 | 2016-12-12T15:03:55.000Z | 2021-10-04T00:13:08.000Z | overlays/browndeer-coprthr-1.6.2/usr/local/browndeer/examples/parallella/clvector_example/clvector_example.cpp | DEVESHTARASIA/parabuntu | db94c5373efef16d1dbef1dac89cc15279a7121d | [
"MIT"
] | 15 | 2016-12-12T15:54:22.000Z | 2021-10-09T14:36:57.000Z | overlays/browndeer-coprthr-1.6.2/usr/local/browndeer/examples/parallella/clvector_example/clvector_example.cpp | DEVESHTARASIA/parabuntu | db94c5373efef16d1dbef1dac89cc15279a7121d | [
"MIT"
] | 26 | 2016-12-15T11:01:06.000Z | 2022-01-25T12:24:20.000Z | /* clvector_example.cpp
*
* This is a simple example for Parallella using the C++ clvector<>
* container that extends STL vector to support device-sharable memory
* allocation.
*
* THIS FILE ONLY is placed in the public domain by Brown Deer Technology, LLC.
* in January 2013. No copyright is claimed, and you... | 31.130435 | 79 | 0.661173 | DEVESHTARASIA |
46de71bc836c78a5eb8d481ff0eddef7efc288c8 | 1,506 | cpp | C++ | source/String/UUID.cpp | Fabrice-Praxinos/ULIS | 232ad5c0804da1202d8231fda67ff4aea70f57ef | [
"RSA-MD"
] | 30 | 2020-09-16T17:39:36.000Z | 2022-02-17T08:32:53.000Z | source/String/UUID.cpp | Fabrice-Praxinos/ULIS | 232ad5c0804da1202d8231fda67ff4aea70f57ef | [
"RSA-MD"
] | 7 | 2020-11-23T14:37:15.000Z | 2022-01-17T11:35:32.000Z | source/String/UUID.cpp | Fabrice-Praxinos/ULIS | 232ad5c0804da1202d8231fda67ff4aea70f57ef | [
"RSA-MD"
] | 5 | 2020-09-17T00:39:14.000Z | 2021-08-30T16:14:07.000Z | // IDDN FR.001.250001.004.S.X.2019.000.00000
// ULIS is subject to copyright laws and is the legal and intellectual property of Praxinos,Inc
/*
* ULIS
*__________________
* @file UUID.cpp
* @author Clement Berthaud
* @brief This file provides definition for weak UUID functions.
* @copyright Co... | 30.12 | 95 | 0.497344 | Fabrice-Praxinos |
46df38f5eb209ae181099ffd81c51f02df39a0f1 | 2,390 | cc | C++ | chromium/remoting/protocol/client_video_dispatcher.cc | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | null | null | null | chromium/remoting/protocol/client_video_dispatcher.cc | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | null | null | null | chromium/remoting/protocol/client_video_dispatcher.cc | wedataintelligence/vivaldi-source | 22a46f2c969f6a0b7ca239a05575d1ea2738768c | [
"BSD-3-Clause"
] | null | null | null | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "remoting/protocol/client_video_dispatcher.h"
#include <utility>
#include "base/bind.h"
#include "base/callback_helpers.h"
#include "net/socket... | 29.875 | 78 | 0.718828 | wedataintelligence |
46e1c22be7d562c925f12b4281503e3c2920048e | 1,001 | cpp | C++ | leetcode/tests/LinkedList.cpp | longztian/cpp | 59203f41162f40a46badf69093d287250e5cbab6 | [
"MIT"
] | null | null | null | leetcode/tests/LinkedList.cpp | longztian/cpp | 59203f41162f40a46badf69093d287250e5cbab6 | [
"MIT"
] | null | null | null | leetcode/tests/LinkedList.cpp | longztian/cpp | 59203f41162f40a46badf69093d287250e5cbab6 | [
"MIT"
] | null | null | null | #include "LinkedList.hpp"
namespace LinkedList {
Node::Node(int d) : val(d), next(nullptr) {}
bool Node::operator ==(const Node& rhs) const {
if (this == &rhs) return true;
bool isEqual = val == rhs.val;
if (isEqual) {
isEqual = equal(next, rhs.next);
}
return isEqual;
}
bool equal(const Node* list... | 18.2 | 57 | 0.587413 | longztian |
46efaccabbc653ff1d81e2ec250efb24719fc2b2 | 4,357 | cpp | C++ | __unit_tests/gv_framework_unit_test/first_online_game_2d_bricks.cpp | dragonsn/gv_game_engine | dca6c1fb1f8d96e9a244f157a63f8a69da084b0f | [
"MIT"
] | 2 | 2018-12-03T13:17:31.000Z | 2020-04-08T07:00:02.000Z | __unit_tests/gv_framework_unit_test/first_online_game_2d_bricks.cpp | dragonsn/gv_game_engine | dca6c1fb1f8d96e9a244f157a63f8a69da084b0f | [
"MIT"
] | null | null | null | __unit_tests/gv_framework_unit_test/first_online_game_2d_bricks.cpp | dragonsn/gv_game_engine | dca6c1fb1f8d96e9a244f157a63f8a69da084b0f | [
"MIT"
] | null | null | null |
#include "stdafx.h"
using namespace gv;
namespace game_2d_bricks
{
#include "2d_bricks_maps.h"
#include "2d_bricks_online.h"
//======================================================================
class gv_game_2d_bricks:public gv_unit_test_with_renderer
{
public:
virtual gv_string name()
{
return "... | 27.23125 | 90 | 0.677071 | dragonsn |
46f349fcc9a444258386991959f86be68bd5268f | 3,354 | cpp | C++ | contrib/MassSpectra/flexiblesusy/legacy/conversion.cpp | aaronvincent/gambit_aaron | a38bd6fc10d781e71f2adafd401c76e1e3476b05 | [
"Unlicense"
] | null | null | null | contrib/MassSpectra/flexiblesusy/legacy/conversion.cpp | aaronvincent/gambit_aaron | a38bd6fc10d781e71f2adafd401c76e1e3476b05 | [
"Unlicense"
] | null | null | null | contrib/MassSpectra/flexiblesusy/legacy/conversion.cpp | aaronvincent/gambit_aaron | a38bd6fc10d781e71f2adafd401c76e1e3476b05 | [
"Unlicense"
] | null | null | null | // ====================================================================
// This file is part of FlexibleSUSY.
//
// FlexibleSUSY 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 3 of the Licens... | 25.8 | 71 | 0.590936 | aaronvincent |
46fc357b3486b927eaa220347ecade512bb26cc4 | 1,049 | cpp | C++ | test/KMLTest/main.cpp | mmertama/QtKMLLib | bcc4fa7344d9c9fd4f8d8b9b968e7b6c35ba3c78 | [
"MIT"
] | null | null | null | test/KMLTest/main.cpp | mmertama/QtKMLLib | bcc4fa7344d9c9fd4f8d8b9b968e7b6c35ba3c78 | [
"MIT"
] | null | null | null | test/KMLTest/main.cpp | mmertama/QtKMLLib | bcc4fa7344d9c9fd4f8d8b9b968e7b6c35ba3c78 | [
"MIT"
] | 1 | 2020-06-23T11:22:59.000Z | 2020-06-23T11:22:59.000Z | #include <QGuiApplication>
#include <QQmlApplicationEngine>
#include <QQmlContext>
#include <QFile>
#include <QDebug>
#include <QtWebView>
#include "qmlkml.h"
int main(int argc, char *argv[]){
QGuiApplication app(argc, argv);
QtWebView::initialize();
qCritical() << "This example is depricated";
QFile... | 31.787879 | 80 | 0.699714 | mmertama |
46ff09004cdcc195ee3d5205b03d002724a474c8 | 3,203 | cc | C++ | paddle/phi/kernels/sparse/cpu/softmax_kernel.cc | Shaun2016/Paddle | b963903806c8a6694df79b42aaab6578a0ef6afb | [
"Apache-2.0"
] | null | null | null | paddle/phi/kernels/sparse/cpu/softmax_kernel.cc | Shaun2016/Paddle | b963903806c8a6694df79b42aaab6578a0ef6afb | [
"Apache-2.0"
] | null | null | null | paddle/phi/kernels/sparse/cpu/softmax_kernel.cc | Shaun2016/Paddle | b963903806c8a6694df79b42aaab6578a0ef6afb | [
"Apache-2.0"
] | 1 | 2021-12-09T08:59:17.000Z | 2021-12-09T08:59:17.000Z | /* Copyright (c) 2022 PaddlePaddle 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... | 34.44086 | 79 | 0.633156 | Shaun2016 |
2000343dff49bb55190db0282ef7a2893c1ad331 | 916 | cpp | C++ | 18.05/lamaba1.cpp | dengxianglong/cplusplusprimerplusstudy | eefc5d7bf5ab31186c04171fadade3552838f4b2 | [
"MIT"
] | null | null | null | 18.05/lamaba1.cpp | dengxianglong/cplusplusprimerplusstudy | eefc5d7bf5ab31186c04171fadade3552838f4b2 | [
"MIT"
] | null | null | null | 18.05/lamaba1.cpp | dengxianglong/cplusplusprimerplusstudy | eefc5d7bf5ab31186c04171fadade3552838f4b2 | [
"MIT"
] | 1 | 2018-08-29T07:40:20.000Z | 2018-08-29T07:40:20.000Z | #include <iostream>
#include <vector>
#include <algorithm>
#include <cmath>
#include <ctime>
const long Size = 390000L;
int main()
{
using namespace std;
vector<int> numbers (Size);
srand(time(0));
std::generate(numbers.begin(), numbers.end(), std::rand);
cout << "Sample size = " << Size << '\n';
int count3 = st... | 31.586207 | 65 | 0.599345 | dengxianglong |
200056becdee7203d5b0e02283c2ef38e46543ae | 1,021 | hh | C++ | src/Zynga/PHPUnit/V2/Profiler/XDebug.hh | isabella232/zynga-hhvm-phpunit | 1690b9d5c6c711fde6d908cc84b014fa8e1a7ef0 | [
"BSD-3-Clause"
] | 3 | 2018-05-20T11:41:54.000Z | 2020-08-20T14:55:09.000Z | src/Zynga/PHPUnit/V2/Profiler/XDebug.hh | zynga/zynga-hhvm-phpunit | 1690b9d5c6c711fde6d908cc84b014fa8e1a7ef0 | [
"BSD-3-Clause"
] | 1 | 2021-02-24T01:22:04.000Z | 2021-02-24T01:22:04.000Z | src/Zynga/PHPUnit/V2/Profiler/XDebug.hh | isabella232/zynga-hhvm-phpunit | 1690b9d5c6c711fde6d908cc84b014fa8e1a7ef0 | [
"BSD-3-Clause"
] | 3 | 2018-07-30T23:04:34.000Z | 2021-01-04T11:10:24.000Z | <?hh
namespace Zynga\PHPUnit\V2\Profiler;
class XDebug {
public static function getMonitoredFunctions(): Vector<Map<string, mixed>> {
$functions = xdebug_get_monitored_functions();
$data = Vector {};
if (is_array($functions)) {
foreach ($functions as $function) {
$functionMap = Map {};
... | 23.744186 | 78 | 0.618022 | isabella232 |
200715803981686724f5a17023fff48739c08137 | 1,287 | cpp | C++ | cegui/src/ScriptModules/Python/bindings/output/CEGUI/vector_less__CEGUI_scope_PropertyDefinitionBase_ptr___greater_.pypp.cpp | OpenTechEngine-Libraries/CEGUI | 6f00952d31f318f9482766d1ad2206cb540a78b9 | [
"MIT"
] | 257 | 2020-01-03T10:13:29.000Z | 2022-03-26T14:55:12.000Z | cegui/src/ScriptModules/Python/bindings/output/CEGUI/vector_less__CEGUI_scope_PropertyDefinitionBase_ptr___greater_.pypp.cpp | OpenTechEngine-Libraries/CEGUI | 6f00952d31f318f9482766d1ad2206cb540a78b9 | [
"MIT"
] | 116 | 2020-01-09T18:13:13.000Z | 2022-03-15T18:32:02.000Z | cegui/src/ScriptModules/Python/bindings/output/CEGUI/vector_less__CEGUI_scope_PropertyDefinitionBase_ptr___greater_.pypp.cpp | OpenTechEngine-Libraries/CEGUI | 6f00952d31f318f9482766d1ad2206cb540a78b9 | [
"MIT"
] | 58 | 2020-01-09T03:07:02.000Z | 2022-03-22T17:21:36.000Z | // This file has been generated by Py++.
#include "boost/python.hpp"
#include "indexing_suite/container_suite.hpp"
#include "indexing_suite/vector.hpp"
#include "generators/include/python_CEGUI.h"
#include "vector_less__CEGUI_scope_PropertyDefinitionBase_ptr___greater_.pypp.hpp"
namespace bp = boost::python;
void re... | 61.285714 | 295 | 0.843046 | OpenTechEngine-Libraries |
20099382fe55b82a5165036e4edd885ba94bd679 | 372 | cpp | C++ | sprint00/t02/walletManager.cpp | Hvvang/CppTrack | 3e1854d626d153f5597459200f715a91f6a03107 | [
"MIT"
] | 1 | 2020-08-27T23:41:48.000Z | 2020-08-27T23:41:48.000Z | sprint00/t02/walletManager.cpp | Hvvang/CppTrack | 3e1854d626d153f5597459200f715a91f6a03107 | [
"MIT"
] | null | null | null | sprint00/t02/walletManager.cpp | Hvvang/CppTrack | 3e1854d626d153f5597459200f715a91f6a03107 | [
"MIT"
] | null | null | null | #include "walletManager.h"
Wallet* createWallet(const int& septs) {
Wallet* wallet = new Wallet;
wallet->septims = septs;
return wallet;
}
void destroyWallet(Wallet* wallet) {
delete wallet;
}
Wallet* createWallets(const int& amount) {
Wallet* wallets = new Wallet[amount];
return wallets;
}
void destr... | 16.173913 | 42 | 0.704301 | Hvvang |
200a35ba4197520bce5fbe6495031fc667186ff9 | 633 | cpp | C++ | sma_backtester/src/utility.cpp | ayan11-11/console_based_sma_backtester | a0fccec0251eed9507f4aaa262037148d3f2c6c7 | [
"MIT"
] | null | null | null | sma_backtester/src/utility.cpp | ayan11-11/console_based_sma_backtester | a0fccec0251eed9507f4aaa262037148d3f2c6c7 | [
"MIT"
] | null | null | null | sma_backtester/src/utility.cpp | ayan11-11/console_based_sma_backtester | a0fccec0251eed9507f4aaa262037148d3f2c6c7 | [
"MIT"
] | null | null | null | #include "utility.hpp"
//Find epoch time from normal DD-MM-YYYY
long int get_epoch_time(string date) {
struct tm t = {0};
time_t timeSinceEpoch;
istringstream ss(date);
if(ss >> get_time(&t, "%d-%m-%Y")) {
timeSinceEpoch = mktime(&t);
}
// cout << "timeSinceEpoch: " << timeSi... | 23.444444 | 61 | 0.624013 | ayan11-11 |
200b0d2de487e3b239b54f5e1f5cddec919f136b | 265 | hpp | C++ | external/luabinding/lua_wuziqi_manual.hpp | striver-ing/WuZiQi | 0372cbbea0c8e8c02adc625eda5b745c0faad8f8 | [
"MIT"
] | 4 | 2020-06-09T17:05:41.000Z | 2021-08-21T06:19:35.000Z | external/luabinding/lua_wuziqi_manual.hpp | striver-ing/WuZiQi | 0372cbbea0c8e8c02adc625eda5b745c0faad8f8 | [
"MIT"
] | null | null | null | external/luabinding/lua_wuziqi_manual.hpp | striver-ing/WuZiQi | 0372cbbea0c8e8c02adc625eda5b745c0faad8f8 | [
"MIT"
] | null | null | null | #include "base/ccConfig.h"
#ifndef __wuziqi_manual_h__
#define __wuziqi_manual_h__
#ifdef __cplusplus
extern "C" {
#endif
#include "tolua++.h"
#ifdef __cplusplus
}
#endif
extern int register_all_wuziqi_manual(lua_State* tolua_S);
#endif // __wuziqi_manual__h__
| 16.5625 | 58 | 0.784906 | striver-ing |
200de746b5d8503159d2f48227c3e28f05f7f84c | 3,620 | cpp | C++ | Solvr/System.cpp | slowtacocar/solvr | 261939a9c65606eb9cd2d5cda243989cf9a20903 | [
"MIT"
] | null | null | null | Solvr/System.cpp | slowtacocar/solvr | 261939a9c65606eb9cd2d5cda243989cf9a20903 | [
"MIT"
] | null | null | null | Solvr/System.cpp | slowtacocar/solvr | 261939a9c65606eb9cd2d5cda243989cf9a20903 | [
"MIT"
] | null | null | null | //
// Created by Bobby George on 10/11/21.
//
#include "System.h"
#include "Constant.h"
#include "Addition.h"
#include "Multiplication.h"
#include "Unsolvable.h"
System::System(std::vector<Equation> &equations) {
this->equations = equations;
}
std::vector<Equation> System::solve() const {
std::vector<const E... | 35.841584 | 129 | 0.480939 | slowtacocar |
200f4f5d30e42fbcb1b652fc64eaf52fa6ad00be | 3,310 | cpp | C++ | tests/connection.cpp | amanda-wee/sqlitemm | 2c38ea99c6a5864a0f1f03c472908fb893c8993f | [
"Apache-2.0"
] | null | null | null | tests/connection.cpp | amanda-wee/sqlitemm | 2c38ea99c6a5864a0f1f03c472908fb893c8993f | [
"Apache-2.0"
] | null | null | null | tests/connection.cpp | amanda-wee/sqlitemm | 2c38ea99c6a5864a0f1f03c472908fb893c8993f | [
"Apache-2.0"
] | null | null | null | /************************************************************************************************************
* SQLitemm tests source file primarily for testing sqlitemm::Connection
*
* Copyright 2020 Amanda Wee
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in... | 30.090909 | 110 | 0.584894 | amanda-wee |
2012e6eb460ba0f990ffba16824bda999a5b43b4 | 189 | cpp | C++ | SIMULATION.cpp | YecidMorenoUSP/ExoControl | d0c95690e23314ce3e4c0421e1de4167bfa752e2 | [
"MIT"
] | null | null | null | SIMULATION.cpp | YecidMorenoUSP/ExoControl | d0c95690e23314ce3e4c0421e1de4167bfa752e2 | [
"MIT"
] | null | null | null | SIMULATION.cpp | YecidMorenoUSP/ExoControl | d0c95690e23314ce3e4c0421e1de4167bfa752e2 | [
"MIT"
] | null | null | null | #ifndef SIMULATION_H
#include "SIMULATION.h"
#endif
namespace SIM{
void setLOG(std::string txt){
if(txt == "") GUI::LOG_MSG = "";
else GUI::LOG_MSG = txt;
}
}; | 18.9 | 40 | 0.566138 | YecidMorenoUSP |
20138d4df7498c45f6b3ab0a7926b05a04faae57 | 13,741 | hpp | C++ | Nstate.hpp | hostilefork/nocycle | 71e48484ae6eef74ba92d72ed4f0d62bff5a7e4e | [
"BSL-1.0"
] | 25 | 2015-01-01T03:38:28.000Z | 2021-12-28T15:38:20.000Z | Nstate.hpp | hostilefork/nocycle | 71e48484ae6eef74ba92d72ed4f0d62bff5a7e4e | [
"BSL-1.0"
] | 1 | 2019-03-26T15:08:22.000Z | 2019-04-07T11:06:28.000Z | Nstate.hpp | hostilefork/nocycle | 71e48484ae6eef74ba92d72ed4f0d62bff5a7e4e | [
"BSL-1.0"
] | 5 | 2017-09-05T02:09:25.000Z | 2020-08-19T21:48:03.000Z | //
// Nstate.hpp - Template for variable that can only take on values
// from [0..radix-1], and an array type which is able to
// store a series of these variables and take advantage of
// the knowledge of the constraint in order to compact them
// closer to their fundamentally minimal size.
//
// ... | 32.638955 | 131 | 0.623099 | hostilefork |
2016109f045403153068667e8167b61f0343e70a | 1,633 | cxx | C++ | smtk/view/PhraseModelFactory.cxx | jcfr/SMTK | 0069ea37f8f71a440b8f10a157b84a56ca004551 | [
"BSD-3-Clause-Clear"
] | 40 | 2015-02-21T19:55:54.000Z | 2022-01-06T13:13:05.000Z | smtk/view/PhraseModelFactory.cxx | jcfr/SMTK | 0069ea37f8f71a440b8f10a157b84a56ca004551 | [
"BSD-3-Clause-Clear"
] | 127 | 2015-01-15T20:55:45.000Z | 2021-08-19T17:34:15.000Z | smtk/view/PhraseModelFactory.cxx | jcfr/SMTK | 0069ea37f8f71a440b8f10a157b84a56ca004551 | [
"BSD-3-Clause-Clear"
] | 27 | 2015-03-04T14:17:51.000Z | 2021-12-23T01:05:42.000Z | //=========================================================================
// Copyright (c) Kitware, Inc.
// All rights reserved.
// See LICENSE.txt for details.
//
// This software is distributed WITHOUT ANY WARRANTY; without even
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURPOSE... | 28.155172 | 77 | 0.660747 | jcfr |
2018d8b1dbdefad2698827b0679e3e8a69d0c86f | 15,001 | cpp | C++ | nImO/nImOlogical.cpp | opendragon/nImO | cf1ca52781bf03e82a5886dafc16ec39b1e29ba5 | [
"BSD-3-Clause"
] | null | null | null | nImO/nImOlogical.cpp | opendragon/nImO | cf1ca52781bf03e82a5886dafc16ec39b1e29ba5 | [
"BSD-3-Clause"
] | null | null | null | nImO/nImOlogical.cpp | opendragon/nImO | cf1ca52781bf03e82a5886dafc16ec39b1e29ba5 | [
"BSD-3-Clause"
] | null | null | null | //--------------------------------------------------------------------------------------------------
//
// File: nImO/nImOlogical.cpp
//
// Project: nImO
//
// Contains: The class definition for nImO logical values.
//
// Written by: Norman Jaffe
//
// Copyright: (c) 2016 by OpenDragon.
//
// ... | 26.931777 | 127 | 0.548963 | opendragon |
201a4789f04a29293d6072944a65dfb267d98536 | 3,992 | hxx | C++ | main/framework/source/inc/pattern/storages.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 679 | 2015-01-06T06:34:58.000Z | 2022-03-30T01:06:03.000Z | main/framework/source/inc/pattern/storages.hxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 102 | 2017-11-07T08:51:31.000Z | 2022-03-17T12:13:49.000Z | main/framework/source/inc/pattern/storages.hxx | 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... | 40.323232 | 167 | 0.665331 | Grosskopf |
201b3f0ef1f204f63dc20d9a9668759eb52623aa | 329 | hpp | C++ | swizzle/include/swizzle/script/Script.hpp | deathcleaver/swizzle | 1a1cc114841ea7de486cf94c6cafd9108963b4da | [
"MIT"
] | 2 | 2020-02-10T07:58:21.000Z | 2022-03-15T19:13:28.000Z | swizzle/include/swizzle/script/Script.hpp | deathcleaver/swizzle | 1a1cc114841ea7de486cf94c6cafd9108963b4da | [
"MIT"
] | null | null | null | swizzle/include/swizzle/script/Script.hpp | deathcleaver/swizzle | 1a1cc114841ea7de486cf94c6cafd9108963b4da | [
"MIT"
] | null | null | null | #ifndef SCRIPT_HPP
#define SCRIPT_HPP
#include "Api.hpp"
namespace script
{
class SWIZZLE_API Script
{
public:
Script();
virtual ~Script();
void load(const char* binary);
void loadFromFile(const char* binaryFile);
void compile(const char* source);
void compileFromFile(const char* sourceFile);
};
... | 13.16 | 47 | 0.711246 | deathcleaver |
201c96329874664f0734b5cdbdfcd130aae05e88 | 5,393 | cpp | C++ | src/mame/drivers/tim011.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | 26 | 2015-03-31T06:25:51.000Z | 2021-12-14T09:29:04.000Z | src/mame/drivers/tim011.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | null | null | null | src/mame/drivers/tim011.cpp | Robbbert/messui | 49b756e2140d8831bc81335298ee8c5471045e79 | [
"BSD-3-Clause"
] | 10 | 2015-03-27T05:45:51.000Z | 2022-02-04T06:57:36.000Z | // license:BSD-3-Clause
// copyright-holders:Miodrag Milanovic
/***************************************************************************
TIM-011
04/09/2010 Skeleton driver.
****************************************************************************/
#include "emu.h"
#include "cpu/z180/z180.h"
#i... | 30.128492 | 156 | 0.722418 | Robbbert |
201cce23bc3253149a714f3ee2cb89bf17666306 | 865 | cpp | C++ | LabelDemux/LabelDemux.cpp | jimcavoy/ConfLabelReader | 6a0483f8810e3f0bdae748b51119bb4ce4e98f4c | [
"MIT"
] | null | null | null | LabelDemux/LabelDemux.cpp | jimcavoy/ConfLabelReader | 6a0483f8810e3f0bdae748b51119bb4ce4e98f4c | [
"MIT"
] | null | null | null | LabelDemux/LabelDemux.cpp | jimcavoy/ConfLabelReader | 6a0483f8810e3f0bdae748b51119bb4ce4e98f4c | [
"MIT"
] | null | null | null | #ifdef WIN32
#define _CRT_SECURE_NO_WARNINGS
#endif
#include "pch.h"
#include "LabelDemux.h"
#include "LabelDemuxImpl.h"
#include <string.h>
namespace ThetaStream
{
LabelDemux::LabelDemux()
:_pimpl(new LabelDemuxImpl)
, _label(nullptr)
, _length(0)
{
}
LabelDemux::~LabelDemux()
{
delete _pimpl;
delet... | 15.446429 | 55 | 0.65896 | jimcavoy |
20237a7501752def96c7ba296b56fae4f3cc7245 | 868 | cpp | C++ | com/netfx/src/framework/dataoracleclient/mtxoci8/logevent.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | com/netfx/src/framework/dataoracleclient/mtxoci8/logevent.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | com/netfx/src/framework/dataoracleclient/mtxoci8/logevent.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | //-----------------------------------------------------------------------------
// File: LogEvent.cpp
//
// Copyright: Copyright (c) Microsoft Corporation
//
// Contents: Event Logging Helper Methods
//
// Comments:
//
//---------------------------------------------------------------------------... | 22.842105 | 85 | 0.49424 | npocmaka |
2024396d3e4ddb5e731a500413bb73f775b6d4c5 | 7,326 | cpp | C++ | src/laptools/SubEnumeration.cpp | nariaki3551/cmaplap | 48e8d4360b751842b01dc874222451bf52abde2f | [
"MIT"
] | null | null | null | src/laptools/SubEnumeration.cpp | nariaki3551/cmaplap | 48e8d4360b751842b01dc874222451bf52abde2f | [
"MIT"
] | null | null | null | src/laptools/SubEnumeration.cpp | nariaki3551/cmaplap | 48e8d4360b751842b01dc874222451bf52abde2f | [
"MIT"
] | null | null | null | /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* MIT License */
/* */
/* Copyright (c) 2022 Nariaki Tateiwa <n-tateiwa@kyudai.jp> ... | 35.911765 | 123 | 0.57098 | nariaki3551 |
2028cf522c4ba39b56da74c47f328db9b992252e | 2,537 | cpp | C++ | x-studio365/VXObjectLoader.cpp | xubingyue/libxstudio365 | 99a11fe8ac1644fcc2d4d5331779c4b13afa158e | [
"MIT"
] | null | null | null | x-studio365/VXObjectLoader.cpp | xubingyue/libxstudio365 | 99a11fe8ac1644fcc2d4d5331779c4b13afa158e | [
"MIT"
] | null | null | null | x-studio365/VXObjectLoader.cpp | xubingyue/libxstudio365 | 99a11fe8ac1644fcc2d4d5331779c4b13afa158e | [
"MIT"
] | 4 | 2017-09-04T02:11:00.000Z | 2022-01-01T06:21:49.000Z | //
// Copyright (c) 2015 x-studio365 - All Rights Reserved.
//
#include "VXObjectLoader.h"
#include "VXObjectLoaderImpl.h"
using namespace vx365;
Node* vx365::findNode(Node* root, const char* name, bool recursively )
{
if (root == nullptr)
return nullptr;
// find this node
auto targ... | 23.275229 | 83 | 0.599527 | xubingyue |
202921fcc9274470129779f795617510d33d5e6c | 7,194 | cpp | C++ | TestsValidation/TVNetwork/TVNetworkServer/Server.cpp | benkaraban/anima-games-engine | 8aa7a5368933f1b82c90f24814f1447119346c3b | [
"BSD-3-Clause"
] | 2 | 2015-04-16T01:05:53.000Z | 2019-08-26T07:38:43.000Z | TestsValidation/TVNetwork/TVNetworkServer/Server.cpp | benkaraban/anima-games-engine | 8aa7a5368933f1b82c90f24814f1447119346c3b | [
"BSD-3-Clause"
] | null | null | null | TestsValidation/TVNetwork/TVNetworkServer/Server.cpp | benkaraban/anima-games-engine | 8aa7a5368933f1b82c90f24814f1447119346c3b | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2010, Anima Games, Benjamin Karaban, Laurent Schneider,
* Jérémie Comarmond, Didier Colin.
* 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 ... | 34.753623 | 119 | 0.549347 | benkaraban |
45caa92cd5d72e401bdd7908a76b527a155db813 | 1,296 | cc | C++ | remoting/base/auth_token_util.cc | kjthegod/chromium | cf940f7f418436b77e15b1ea23e6fa100ca1c91a | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 231 | 2015-01-08T09:04:44.000Z | 2021-12-30T03:03:10.000Z | remoting/base/auth_token_util.cc | 1065672644894730302/Chromium | 239dd49e906be4909e293d8991e998c9816eaa35 | [
"BSD-3-Clause"
] | 5 | 2015-03-27T14:29:23.000Z | 2019-09-25T13:23:12.000Z | remoting/base/auth_token_util.cc | 1065672644894730302/Chromium | 239dd49e906be4909e293d8991e998c9816eaa35 | [
"BSD-3-Clause"
] | 268 | 2015-01-21T05:53:28.000Z | 2022-03-25T22:09:01.000Z | // Copyright (c) 2011 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 "remoting/base/auth_token_util.h"
#include "remoting/base/constants.h"
namespace remoting {
void ParseAuthTokenWithService(const std::strin... | 37.028571 | 78 | 0.694444 | kjthegod |
45ccc87b4eed839f2a22ee7fdebe3aeccedbe950 | 6,499 | cxx | C++ | panda/src/bullet/bulletConvexHullShape.cxx | kestred/panda3d | 16bfd3750f726a8831771b81649d18d087917fd5 | [
"PHP-3.01",
"PHP-3.0"
] | 3 | 2018-03-09T12:07:29.000Z | 2021-02-25T06:50:25.000Z | panda/src/bullet/bulletConvexHullShape.cxx | Sinkay/panda3d | 16bfd3750f726a8831771b81649d18d087917fd5 | [
"PHP-3.01",
"PHP-3.0"
] | null | null | null | panda/src/bullet/bulletConvexHullShape.cxx | Sinkay/panda3d | 16bfd3750f726a8831771b81649d18d087917fd5 | [
"PHP-3.01",
"PHP-3.0"
] | null | null | null | // Filename: bulletConvexHullShape.cxx
// Created by: enn0x (26Jan10)
//
////////////////////////////////////////////////////////////////////
//
// PANDA 3D SOFTWARE
// Copyright (c) Carnegie Mellon University. All rights reserved.
//
// All use of this software is subject to the terms of the revised BSD
// license. ... | 31.857843 | 80 | 0.554239 | kestred |
45d3c6e6a6076b4a8268d6d86a5b5449ac3a68fd | 1,488 | cpp | C++ | GSLAM/evaluation/metric_trajectory/main.cpp | qistout/GSLAM | 0dc339faffed1c17efa3ddb1da63442b53ec4618 | [
"BSD-2-Clause"
] | 875 | 2016-09-19T01:35:56.000Z | 2022-03-28T09:12:00.000Z | GSLAM/evaluation/metric_trajectory/main.cpp | bhsphd/GSLAM | a2139d1c52ad70c282bc950b51876a0b0ba019e0 | [
"BSD-2-Clause"
] | 40 | 2017-08-01T02:32:35.000Z | 2021-05-31T13:45:59.000Z | GSLAM/evaluation/metric_trajectory/main.cpp | bhsphd/GSLAM | a2139d1c52ad70c282bc950b51876a0b0ba019e0 | [
"BSD-2-Clause"
] | 259 | 2016-08-20T14:54:09.000Z | 2022-03-09T06:18:05.000Z | #include <GSLAM/core/GSLAM.h>
using namespace GSLAM;
int metric_traj(Svar config){
std::string slam_name=config.arg<std::string>("slam","","The slam topic name to evaluate");
std::string vo_traj=config.arg<std::string>("traj_vo",slam_name+"_traj_vo.txt","the vo trajectory");
std::string final_traj=config.a... | 30.367347 | 116 | 0.594086 | qistout |
45d4b838d116c0d55d970953a1cac3051c499328 | 2,493 | cpp | C++ | oneEngine/oneGame/source/after/entities/character/npc/zoned/fauna/FaunaDesertBird.cpp | jonting/1Engine | f22ba31f08fa96fe6405ebecec4f374138283803 | [
"BSD-3-Clause"
] | 8 | 2017-12-08T02:59:31.000Z | 2022-02-02T04:30:03.000Z | oneEngine/oneGame/source/after/entities/character/npc/zoned/fauna/FaunaDesertBird.cpp | jonting/1Engine | f22ba31f08fa96fe6405ebecec4f374138283803 | [
"BSD-3-Clause"
] | 2 | 2021-04-16T03:44:42.000Z | 2021-08-30T06:48:44.000Z | oneEngine/oneGame/source/after/entities/character/npc/zoned/fauna/FaunaDesertBird.cpp | jonting/1Engine | f22ba31f08fa96fe6405ebecec4f374138283803 | [
"BSD-3-Clause"
] | 1 | 2021-04-16T02:09:54.000Z | 2021-04-16T02:09:54.000Z |
#include "FaunaDesertBird.h"
#include "core/time/time.h"
#include "engine-common/entities/CPlayer.h"
#include "renderer/logic/model/CModel.h"
#include "after/types/terrain/TerrainTypes.h"
using namespace NPC;
REGISTER_ZCC(FaunaDesertBird);
FaunaDesertBird::CONSTRUCTOR_ZCC_V2(FaunaDesertBird)
{ ZCC_AddInstance()... | 28.988372 | 104 | 0.680305 | jonting |
45d526118ea9c3ebd9782dafe6f93eb117b05a55 | 8,569 | cc | C++ | src/atd/config.cc | galeone/openatd | b60c5fb774d8310e867363503dd4eb40bb2c8481 | [
"Apache-2.0"
] | 15 | 2017-11-06T17:20:29.000Z | 2021-12-09T19:31:18.000Z | src/atd/config.cc | galeone/openatd | b60c5fb774d8310e867363503dd4eb40bb2c8481 | [
"Apache-2.0"
] | null | null | null | src/atd/config.cc | galeone/openatd | b60c5fb774d8310e867363503dd4eb40bb2c8481 | [
"Apache-2.0"
] | 2 | 2018-07-21T20:37:34.000Z | 2021-02-01T19:55:01.000Z | /* Copyright 2017 Paolo Galeone <nessuno@nerdz.eu>. 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 ... | 36.619658 | 80 | 0.51908 | galeone |
45d76551d6c96544fc1a487569912becc6c36003 | 33,366 | cpp | C++ | src/main.cpp | buresu/ndi-python | 002597146ee7b7f73968e52c811e9791b12bc8f6 | [
"MIT"
] | 43 | 2019-07-29T02:52:14.000Z | 2022-03-23T10:20:33.000Z | src/main.cpp | akarak/ndi-python | f8f02cfd624290f0b2ea8b94f76a41a6671765b6 | [
"MIT"
] | 13 | 2020-05-12T17:00:05.000Z | 2022-03-25T04:59:56.000Z | src/main.cpp | akarak/ndi-python | f8f02cfd624290f0b2ea8b94f76a41a6671765b6 | [
"MIT"
] | 14 | 2020-06-29T06:32:09.000Z | 2022-03-21T08:51:53.000Z | #include <pybind11/numpy.h>
#include <pybind11/pybind11.h>
#include <Processing.NDI.Lib.h>
namespace py = pybind11;
PYBIND11_MODULE(NDIlib, m) {
m.doc() = "NDI Plugin";
// Processing.NDI.structs
py::enum_<NDIlib_frame_type_e>(m, "FrameType", py::arithmetic())
.value("FRAME_TYPE_NONE", NDIlib_frame_type... | 44.488 | 80 | 0.652221 | buresu |
45db8d06e30ce9249f9ebcdc7f11645f29ac4691 | 615 | cpp | C++ | server/Common/Packets/GCNotifyGoodBad.cpp | viticm/web-pap | 7c9b1f49d9ba8d8e40f8fddae829c2e414ccfeca | [
"BSD-3-Clause"
] | 3 | 2018-06-19T21:37:38.000Z | 2021-07-31T21:51:40.000Z | server/Common/Packets/GCNotifyGoodBad.cpp | viticm/web-pap | 7c9b1f49d9ba8d8e40f8fddae829c2e414ccfeca | [
"BSD-3-Clause"
] | null | null | null | server/Common/Packets/GCNotifyGoodBad.cpp | viticm/web-pap | 7c9b1f49d9ba8d8e40f8fddae829c2e414ccfeca | [
"BSD-3-Clause"
] | 13 | 2015-01-30T17:45:06.000Z | 2022-01-06T02:29:34.000Z | #include "stdafx.h"
#include "GCNotifyGoodBad.h"
BOOL GCNotifyRMBMoney::Read( SocketInputStream& iStream )
{
__ENTER_FUNCTION
iStream.Read((CHAR*)(&m_nValue), sizeof(m_nValue));
return TRUE;
__LEAVE_FUNCTION
return FALSE;
}
BOOL GCNotifyRMBMoney::Write( SocketOutputStream& oStream )const
{
__ENTER_F... | 15 | 64 | 0.733333 | viticm |
45dcdf7af980933f1515303590a0f24976d388ea | 4,164 | cpp | C++ | dev/Code/Sandbox/Plugins/EditorAssetImporter/AssetBrowserContextProvider.cpp | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 1,738 | 2017-09-21T10:59:12.000Z | 2022-03-31T21:05:46.000Z | dev/Code/Sandbox/Plugins/EditorAssetImporter/AssetBrowserContextProvider.cpp | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 427 | 2017-09-29T22:54:36.000Z | 2022-02-15T19:26:50.000Z | dev/Code/Sandbox/Plugins/EditorAssetImporter/AssetBrowserContextProvider.cpp | jeikabu/lumberyard | 07228c605ce16cbf5aaa209a94a3cb9d6c1a4115 | [
"AML"
] | 671 | 2017-09-21T08:04:01.000Z | 2022-03-29T14:30:07.000Z | /*
* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or
* its licensors.
*
* For complete copyright and license terms please see the LICENSE at the root of this
* distribution (the "License"). All use of this software is governed by the License,
* or, if provided, by the license below or t... | 38.555556 | 213 | 0.683718 | jeikabu |
45dda6adf4bc4c53ed70f7403621834648832c5d | 1,226 | cpp | C++ | src/job/system/JobQueue.cpp | Ohjurot/DX12-YT | b71683843716efcfd9ff4c9c8b4d0a9fa14b1af6 | [
"BSD-2-Clause",
"Unlicense"
] | 16 | 2021-03-07T09:18:38.000Z | 2022-03-31T18:40:29.000Z | src/job/system/JobQueue.cpp | Ohjurot/DX12-YT | b71683843716efcfd9ff4c9c8b4d0a9fa14b1af6 | [
"BSD-2-Clause",
"Unlicense"
] | 1 | 2021-09-18T10:18:01.000Z | 2021-09-23T04:12:38.000Z | src/job/system/JobQueue.cpp | Ohjurot/DX12-YT | b71683843716efcfd9ff4c9c8b4d0a9fa14b1af6 | [
"BSD-2-Clause",
"Unlicense"
] | 5 | 2021-08-12T04:33:40.000Z | 2022-03-31T08:55:07.000Z | #include "DefHeader.h"
#include "JobQueue.h"
bool Job::JobQueue::queueJob(JobQueueDesc& jobDesc) noexcept {
switch (jobDesc.jobPriority) {
// LOW
case JobPriority::LOW:
return m_arrQueue[4].push<JobQueueDesc>(jobDesc);
// NORMAL
case JobPriority::NORMAL:
ret... | 25.541667 | 63 | 0.589723 | Ohjurot |
45de879b6d1c9a7eb919c02a433ed2a71721b0eb | 480 | inl | C++ | src/ogl/ogldefaultVS.inl | eXl-Nic/eXl | a5a0f77f47db3179365c107a184bb38b80280279 | [
"MIT"
] | null | null | null | src/ogl/ogldefaultVS.inl | eXl-Nic/eXl | a5a0f77f47db3179365c107a184bb38b80280279 | [
"MIT"
] | null | null | null | src/ogl/ogldefaultVS.inl | eXl-Nic/eXl | a5a0f77f47db3179365c107a184bb38b80280279 | [
"MIT"
] | null | null | null |
#ifdef __ANDROID__
//precision mediump float;
#endif
char const* defaultVS =
R"(
#version 140
attribute vec4 iPosition;
attribute vec2 iTexCoord;
uniform mat4 worldMatrix;
layout(std140) uniform Camera
{
mat4 viewMatrix;
mat4 viewInverseMatrix;
mat4 projMatrix;
};
uniform vec2 tcOffset;
uniform vec2 tcScaling... | 16 | 66 | 0.754167 | eXl-Nic |
45e110ce5887e51a4ba6392f55b9ae7a0df3151f | 5,093 | cc | C++ | src/glass/glass.cc | jhidding/regt | f946a252df9e847a7d0bcc7b0ed5c6f1bfdbdcb5 | [
"Apache-2.0"
] | null | null | null | src/glass/glass.cc | jhidding/regt | f946a252df9e847a7d0bcc7b0ed5c6f1bfdbdcb5 | [
"Apache-2.0"
] | null | null | null | src/glass/glass.cc | jhidding/regt | f946a252df9e847a7d0bcc7b0ed5c6f1bfdbdcb5 | [
"Apache-2.0"
] | null | null | null | #include "../base/system.hh"
#include "../base/format.hh"
#include "../base/longstring.hh"
#include "../base/progress.hh"
#include "distances.hh"
#include <iostream>
#include <fstream>
#include <sstream>
#include <iomanip>
using namespace System;
template <unsigned R>
void make_particle_glass(std::ostream &fo, Head... | 24.843902 | 90 | 0.575299 | jhidding |
45e4d098bf632446b95f1011aa33310ded0f2d29 | 753 | cc | C++ | leet_code/Sort_Colors/solve.cc | ldy121/algorithm | 7939cb4c15e2bc655219c934f00c2bb74ddb4eec | [
"Apache-2.0"
] | 1 | 2020-04-11T22:04:23.000Z | 2020-04-11T22:04:23.000Z | leet_code/Sort_Colors/solve.cc | ldy121/algorithm | 7939cb4c15e2bc655219c934f00c2bb74ddb4eec | [
"Apache-2.0"
] | null | null | null | leet_code/Sort_Colors/solve.cc | ldy121/algorithm | 7939cb4c15e2bc655219c934f00c2bb74ddb4eec | [
"Apache-2.0"
] | null | null | null | class Solution {
public:
void sortColors(vector<int>& nums) {
auto zero = 0, one = 0, two = 0;
for_each(nums.begin(), nums.end(), [&zero, &one, &two] (const auto &val) {
switch (val) {
case 0 :
++zero;
break;
case 1 ... | 25.1 | 82 | 0.309429 | ldy121 |