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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6926473b43e569d52091c06c3d4d9dfa004429e6 | 2,103 | hpp | C++ | test/core/point_comparisons.hpp | cynodelic/tesela | 3b86a7b9501c7136d5168c7e314740fa7f72f7a7 | [
"BSL-1.0"
] | null | null | null | test/core/point_comparisons.hpp | cynodelic/tesela | 3b86a7b9501c7136d5168c7e314740fa7f72f7a7 | [
"BSL-1.0"
] | null | null | null | test/core/point_comparisons.hpp | cynodelic/tesela | 3b86a7b9501c7136d5168c7e314740fa7f72f7a7 | [
"BSL-1.0"
] | null | null | null | // Copyright (c) 2019 Álvaro Ceballos
// Distributed under the Boost Software License, Version 1.0.
// See accompanying file LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt
#ifndef CYNODELIC_TESELA_TEST_CORE_POINT_COMPARISONS_HPP
#define CYNODELIC_TESELA_TEST_CORE_POINT_COMPARISONS_HPP
CYNODELIC_TESTER_TEST_... | 27.671053 | 80 | 0.686638 | cynodelic |
692c6e26f56afdf089586a6efad5c6577d8200f6 | 223 | cpp | C++ | src/filesystem/tempfile.cpp | bunsanorg/testing | 2532858878628c9925ddd0e58436bba53e4b6cb9 | [
"Apache-2.0"
] | null | null | null | src/filesystem/tempfile.cpp | bunsanorg/testing | 2532858878628c9925ddd0e58436bba53e4b6cb9 | [
"Apache-2.0"
] | null | null | null | src/filesystem/tempfile.cpp | bunsanorg/testing | 2532858878628c9925ddd0e58436bba53e4b6cb9 | [
"Apache-2.0"
] | null | null | null | #include <bunsan/test/filesystem/tempfile.hpp>
namespace bunsan {
namespace test {
namespace filesystem {
tempfile::tempfile() : path(allocate()) {}
} // namespace filesystem
} // namespace test
} // namespace bunsan
| 18.583333 | 46 | 0.717489 | bunsanorg |
692dd779f0ef60917299d863b1636a27f2793641 | 9,551 | cpp | C++ | runtime/test/dnp3s/test_dnp3_publisher.cpp | kinsamanka/OpenPLC_v3 | fc1afcf702eebaf518971b304acf487809c804d4 | [
"Apache-2.0"
] | null | null | null | runtime/test/dnp3s/test_dnp3_publisher.cpp | kinsamanka/OpenPLC_v3 | fc1afcf702eebaf518971b304acf487809c804d4 | [
"Apache-2.0"
] | null | null | null | runtime/test/dnp3s/test_dnp3_publisher.cpp | kinsamanka/OpenPLC_v3 | fc1afcf702eebaf518971b304acf487809c804d4 | [
"Apache-2.0"
] | null | null | null | // Copyright 2019 Smarter Grid Solutions
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http ://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agre... | 32.266892 | 116 | 0.587373 | kinsamanka |
692fae95fbbad4c60a0e638f73eea0e614ffc732 | 5,711 | cpp | C++ | src/gui/gl/slicerenderer.cpp | mhough/braingl | 53e2078adc10731ee62feec11dcb767c4c6c0d35 | [
"MIT"
] | 5 | 2016-03-17T07:02:11.000Z | 2021-12-12T14:43:58.000Z | src/gui/gl/slicerenderer.cpp | mhough/braingl | 53e2078adc10731ee62feec11dcb767c4c6c0d35 | [
"MIT"
] | null | null | null | src/gui/gl/slicerenderer.cpp | mhough/braingl | 53e2078adc10731ee62feec11dcb767c4c6c0d35 | [
"MIT"
] | 3 | 2015-10-29T15:21:01.000Z | 2020-11-25T09:41:21.000Z | /*
* slicerenderer.cpp
*
* Created on: 09.05.2012
* @author Ralph Schurade
*/
#include "slicerenderer.h"
#include "glfunctions.h"
#include "../../data/enums.h"
#include "../../data/models.h"
#include "../../data/datasets/dataset.h"
#include <QtOpenGL/QGLShaderProgram>
#include <QVector3D>
#inclu... | 27.195238 | 125 | 0.589914 | mhough |
69366e3f8e83342a45fdecb6fea9106253de68aa | 5,349 | hh | C++ | hackt_docker/hackt/src/Object/lang/RTE_base.hh | broken-wheel/hacktist | 36e832ae7dd38b27bca9be7d0889d06054dc2806 | [
"MIT"
] | null | null | null | hackt_docker/hackt/src/Object/lang/RTE_base.hh | broken-wheel/hacktist | 36e832ae7dd38b27bca9be7d0889d06054dc2806 | [
"MIT"
] | null | null | null | hackt_docker/hackt/src/Object/lang/RTE_base.hh | broken-wheel/hacktist | 36e832ae7dd38b27bca9be7d0889d06054dc2806 | [
"MIT"
] | null | null | null | /**
\file "Object/lang/RTE_base.hh"
Structures for production assignments.
$Id: RTE_base.hh,v 1.12 2010/07/09 02:14:13 fang Exp $
*/
#ifndef __HAC_OBJECT_LANG_RTE_BASE_HH__
#define __HAC_OBJECT_LANG_RTE_BASE_HH__
#include <list>
#include "util/memory/excl_ptr.hh"
#include "util/memory/count_ptr.hh"
#include "util... | 25.112676 | 82 | 0.699944 | broken-wheel |
693aeabc53dcfc994d0188e2eb63a1f5a1f21dab | 707 | cc | C++ | tools/asm.cc | nlewycky/x64asm | 66dcdef5dba596cb0a51edde1910194d079e704c | [
"Apache-2.0"
] | 453 | 2015-04-24T13:57:43.000Z | 2022-03-16T16:38:53.000Z | tools/asm.cc | nlewycky/x64asm | 66dcdef5dba596cb0a51edde1910194d079e704c | [
"Apache-2.0"
] | 71 | 2015-04-15T20:52:13.000Z | 2018-07-29T18:08:22.000Z | tools/asm.cc | nlewycky/x64asm | 66dcdef5dba596cb0a51edde1910194d079e704c | [
"Apache-2.0"
] | 67 | 2015-05-07T06:44:47.000Z | 2022-02-25T03:46:24.000Z | #include <iostream>
#include <string>
#include "include/x64asm.h"
using namespace std;
using namespace x64asm;
using namespace cpputil;
/** A simple test program. Reads att syntax and prints human readable hex. */
int main(int argc, char** argv) {
Code c;
cin >> c;
if(failed(cin)) {
cerr << endl << "Parse... | 21.424242 | 99 | 0.623762 | nlewycky |
693e2dceeaa7ce9a1e380914e119a2923fabe70c | 5,311 | cc | C++ | headless/lib/headless_web_contents_browsertest.cc | google-ar/chromium | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 777 | 2017-08-29T15:15:32.000Z | 2022-03-21T05:29:41.000Z | headless/lib/headless_web_contents_browsertest.cc | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 66 | 2017-08-30T18:31:18.000Z | 2021-08-02T10:59:35.000Z | headless/lib/headless_web_contents_browsertest.cc | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 123 | 2017-08-30T01:19:34.000Z | 2022-03-17T22:55:31.000Z | // Copyright 2016 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 <memory>
#include <string>
#include <vector>
#include "base/base64.h"
#include "content/public/test/browser_test.h"
#include "headless/public/de... | 34.940789 | 79 | 0.73489 | google-ar |
6945c9c8b7810e43e61f71f5df408da0daf7cb31 | 356 | cc | C++ | src/ios_tools/web/test/test_url_constants.cc | rhencke/engine | 1016db292c4e73374a0a11536b18303c9522a224 | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | src/ios_tools/web/test/test_url_constants.cc | rhencke/engine | 1016db292c4e73374a0a11536b18303c9522a224 | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | src/ios_tools/web/test/test_url_constants.cc | rhencke/engine | 1016db292c4e73374a0a11536b18303c9522a224 | [
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | // Copyright 2016 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 "ios/web/test/test_url_constants.h"
namespace web {
const char kTestWebUIScheme[] = "testwebui";
const char kTestNativeContentScheme[] = "testn... | 27.384615 | 73 | 0.755618 | rhencke |
69464a87b068e235a75daed0aabf2f5a7d1594e0 | 3,466 | cpp | C++ | CA7-Source/userspace/netlink_tester.cpp | dimtass/stm32mp1-rpmsg-netlink-example | 998f61db13fa434e97119c751c6958c1eee43727 | [
"MIT"
] | 7 | 2020-10-07T12:12:45.000Z | 2022-01-27T10:51:48.000Z | CA7-Source/userspace/netlink_tester.cpp | dimtass/stm32mp1-rpmsg-netlink-example | 998f61db13fa434e97119c751c6958c1eee43727 | [
"MIT"
] | null | null | null | CA7-Source/userspace/netlink_tester.cpp | dimtass/stm32mp1-rpmsg-netlink-example | 998f61db13fa434e97119c751c6958c1eee43727 | [
"MIT"
] | null | null | null | #include <string>
#include <time.h>
#include "netlink_tester.h"
enum { COM_BUFFER_SIZE=32768, };
enum { CRC16_INIT_VAL=0x8006, };
static uint8_t tx_buffer[COM_BUFFER_SIZE] = {0};
static uint8_t rx_buffer[COM_BUFFER_SIZE] = {0};
/* Function prototypes */
NetlinkTester::NetlinkTester()
{
L_(linfo) << "Init... | 22.653595 | 92 | 0.566359 | dimtass |
69487bfe15f2bd11008fa77ab7d09fc840276e09 | 616 | cpp | C++ | 5_Classes_Objects/5_7_Using_this.cpp | YinHk-Forks/CPP-Notes | 7dd1895d44cd3773e5f2603cbc3b02d174285b05 | [
"MIT"
] | 4 | 2020-12-30T15:16:39.000Z | 2021-11-07T17:17:02.000Z | 5_Classes_Objects/5_7_Using_this.cpp | YinHk-Forks/CPP-Notes | 7dd1895d44cd3773e5f2603cbc3b02d174285b05 | [
"MIT"
] | null | null | null | 5_Classes_Objects/5_7_Using_this.cpp | YinHk-Forks/CPP-Notes | 7dd1895d44cd3773e5f2603cbc3b02d174285b05 | [
"MIT"
] | 3 | 2021-04-03T08:00:36.000Z | 2022-01-01T06:19:58.000Z | //
// CPP-Notes
//
// Created by Akshay Raj Gollahalli on 23/05/16.
// Copyright © 2016 Akshay Raj Gollahalli. All rights reserved.
//
#include <cstdio>
class Some_class {
int _s = 0;
public:
void setter(int i) {_s = i;}
int getter();
};
int Some_class::getter() {
printf("%p\n", this); // po... | 17.111111 | 64 | 0.573052 | YinHk-Forks |
694aa5ea782be07cf443d4709085a47bb79d561b | 1,106 | cpp | C++ | Bus/MessageBus.cpp | ngrande/Banshee | 4109b546c305a45de3675ddf149dbe64af934940 | [
"MIT"
] | null | null | null | Bus/MessageBus.cpp | ngrande/Banshee | 4109b546c305a45de3675ddf149dbe64af934940 | [
"MIT"
] | null | null | null | Bus/MessageBus.cpp | ngrande/Banshee | 4109b546c305a45de3675ddf149dbe64af934940 | [
"MIT"
] | null | null | null | //
// Copyright (c) 2016 by Niclas Grande. All Rights Reserved.
//
#include "MessageBus.h"
#include <algorithm>
MessageBus::MessageBus(void) {
this->pStopped = false;
this->pMsgThread = std::thread(&MessageBus::processMsgQueue, this);
this->pMsgThread.detach();
}
void MessageBus::processMsgQueue() {
while (!... | 24.577778 | 69 | 0.621157 | ngrande |
694b5aaf8eeb11d172cebf89000e4b70d0050190 | 1,572 | cpp | C++ | lowladb-android/src/main/jni/LDBObjectId.cpp | lowla/lowladb-android-lib | 7023e83a67051946a96818c255e9993ef9258b37 | [
"MIT"
] | 2 | 2015-04-01T20:56:12.000Z | 2015-04-01T23:33:01.000Z | lowladb-android/src/main/jni/LDBObjectId.cpp | lowla/lowladb-android-lib | 7023e83a67051946a96818c255e9993ef9258b37 | [
"MIT"
] | null | null | null | lowladb-android/src/main/jni/LDBObjectId.cpp | lowla/lowladb-android-lib | 7023e83a67051946a96818c255e9993ef9258b37 | [
"MIT"
] | null | null | null | #include <jni.h>
#include <lowladb.h>
extern "C" JNIEXPORT jobject JNICALL
Java_io_lowla_lowladb_LDBObjectId_generate(JNIEnv *env, jclass jClazz)
{
char buffer[CLowlaDBBson::OID_SIZE];
CLowlaDBBson::oidGenerate(buffer);
jbyteArray answer = env->NewByteArray(CLowlaDBBson::OID_SIZE);
env->SetByteArrayRe... | 35.727273 | 88 | 0.736005 | lowla |
694f982089cc73d568a5877fdc50792cfdcb9515 | 1,063 | cpp | C++ | math/gauss_jordan_elimination.cpp | KSkun/OI-Templates | a193da03a531700858fe45d455a946074bda5007 | [
"WTFPL"
] | 12 | 2018-03-30T08:44:07.000Z | 2021-09-03T07:43:56.000Z | math/gauss_jordan_elimination.cpp | KSkun/OI-Templates | a193da03a531700858fe45d455a946074bda5007 | [
"WTFPL"
] | null | null | null | math/gauss_jordan_elimination.cpp | KSkun/OI-Templates | a193da03a531700858fe45d455a946074bda5007 | [
"WTFPL"
] | 1 | 2018-08-09T01:39:30.000Z | 2018-08-09T01:39:30.000Z | // Code by KSkun, 2018/3
#include <cstdio>
#include <cmath>
#include <algorithm>
const int MAXN = 105;
const double EPS = 1e-10;
int n;
double mat[MAXN][MAXN];
/*
* Gauss-Jordan Elimination.
*/
inline bool gauss() {
for(int i = 1; i <= n; i++) {
int r = i;
for(int j = i + 1; j <= n; j++) {
if(std::fabs(m... | 18.982143 | 67 | 0.469426 | KSkun |
694fe8e3d950363ddea27ecc4790bde9216e9409 | 4,490 | cpp | C++ | src/util/string_set.cpp | bingmann/distributed-string-sorting | 238bdfd5f6139f2f14e33aed7b4d9bbffac5d295 | [
"BSD-2-Clause"
] | 3 | 2018-10-24T22:15:17.000Z | 2019-09-21T22:56:05.000Z | src/util/string_set.cpp | bingmann/distributed-string-sorting | 238bdfd5f6139f2f14e33aed7b4d9bbffac5d295 | [
"BSD-2-Clause"
] | null | null | null | src/util/string_set.cpp | bingmann/distributed-string-sorting | 238bdfd5f6139f2f14e33aed7b4d9bbffac5d295 | [
"BSD-2-Clause"
] | 1 | 2019-10-16T06:13:28.000Z | 2019-10-16T06:13:28.000Z | /*******************************************************************************
* string_sorting/util/string_set.cpp
*
* Copyright (C) 2018 Florian Kurpicz <florian.kurpicz@tu-dortmund.de>
*
* All rights reserved. Published under the BSD-2 license in the LICENSE file.
********************************************... | 34.274809 | 80 | 0.607572 | bingmann |
695b9a895adff5f436cf6a143d90726e4ba03eb8 | 460 | cpp | C++ | tests/mutex/mutexes/timed_mutex/basic.cpp | falgon/srookCppLibraries | ebcfacafa56026f6558bcd1c584ec774cc751e57 | [
"MIT"
] | 1 | 2018-07-01T07:54:37.000Z | 2018-07-01T07:54:37.000Z | tests/mutex/mutexes/timed_mutex/basic.cpp | falgon/srookCppLibraries | ebcfacafa56026f6558bcd1c584ec774cc751e57 | [
"MIT"
] | null | null | null | tests/mutex/mutexes/timed_mutex/basic.cpp | falgon/srookCppLibraries | ebcfacafa56026f6558bcd1c584ec774cc751e57 | [
"MIT"
] | null | null | null | #include <srook/mutex.hpp>
#include <iostream>
int main()
{
using namespace srook::mutexes::includes;
srook::timed_mutex m;
m.lock();
m.unlock();
if (m.try_lock_for(chrono::seconds(3))) {
m.unlock();
} else {
std::cerr << "time outed" << std::endl;
return EXIT_FAILURE;
}
if (m.try_lock_until(chrono:... | 17.692308 | 74 | 0.630435 | falgon |
695d2429c239313e0a659752b1e56fc266b7c4e5 | 3,615 | hpp | C++ | include/battery.hpp | findNextStep/next_dwm_status | cef24ec51c2a856bb4c7b113a7f2a791b85c432f | [
"MIT"
] | null | null | null | include/battery.hpp | findNextStep/next_dwm_status | cef24ec51c2a856bb4c7b113a7f2a791b85c432f | [
"MIT"
] | null | null | null | include/battery.hpp | findNextStep/next_dwm_status | cef24ec51c2a856bb4c7b113a7f2a791b85c432f | [
"MIT"
] | null | null | null | #pragma once
#include <barPerSeconds.hpp>
#include <fstream>
#include <vector>
#include <sstream>
namespace nextDwmStatus {
const std::string battery_file = "/sys/class/power_supply/";
const std::string power = "/current_now";
const std::string stat = "/status";
const std::string full = "/charge_full";
const std::st... | 36.15 | 165 | 0.506224 | findNextStep |
695d57e61440836679c80df7ae93a777714650fc | 4,225 | cpp | C++ | source/FullView3dRenderer.cpp | xzrunner/wmv | dfa38476e6f8ca67ee1ba4486e5bd610b9f45eee | [
"MIT"
] | null | null | null | source/FullView3dRenderer.cpp | xzrunner/wmv | dfa38476e6f8ca67ee1ba4486e5bd610b9f45eee | [
"MIT"
] | null | null | null | source/FullView3dRenderer.cpp | xzrunner/wmv | dfa38476e6f8ca67ee1ba4486e5bd610b9f45eee | [
"MIT"
] | null | null | null | #include "terrainlab/FullView3dRenderer.h"
#include <SM_Calc.h>
#include <unirender/Device.h>
#include <unirender/ShaderProgram.h>
#include <unirender/DrawState.h>
#include <unirender/Context.h>
#include <shadertrans/ShaderTrans.h>
#include <renderpipeline/UniformNames.h>
#include <painting0/ModelMatUpdater.h>
#includ... | 25.920245 | 120 | 0.622722 | xzrunner |
695d8067491218d4501ece1e70ff73b4d287fea0 | 2,372 | cpp | C++ | spoj.3110.cpp | woshiluo/oi | 5637fb81b0e25013314783dc387f7fc93bf9d4b9 | [
"Apache-2.0"
] | null | null | null | spoj.3110.cpp | woshiluo/oi | 5637fb81b0e25013314783dc387f7fc93bf9d4b9 | [
"Apache-2.0"
] | null | null | null | spoj.3110.cpp | woshiluo/oi | 5637fb81b0e25013314783dc387f7fc93bf9d4b9 | [
"Apache-2.0"
] | null | null | null | /*
* spoj.3110.cpp
* Copyright (C) 2021 Woshiluo Luo <woshiluo.luo@outlook.com>
*
* 「Two roads diverged in a wood,and I—
* I took the one less traveled by,
* And that has made all the difference.」
*
* Distributed under terms of the GNU AGPLv3+ license.
*/
#include <cstdio>
#include <cstdlib>
#include <cstring... | 18.825397 | 81 | 0.483558 | woshiluo |
695e5d32ce89b112824ffb0002b2145098deae67 | 1,210 | cpp | C++ | console/src/boost_1_78_0/libs/core/test/allocator_allocate_hint_test.cpp | vany152/FilesHash | 39f282807b7f1abc56dac389e8259ee3bb557a8d | [
"MIT"
] | 106 | 2015-08-07T04:23:50.000Z | 2020-12-27T18:25:15.000Z | console/src/boost_1_78_0/libs/core/test/allocator_allocate_hint_test.cpp | vany152/FilesHash | 39f282807b7f1abc56dac389e8259ee3bb557a8d | [
"MIT"
] | 130 | 2016-06-22T22:11:25.000Z | 2020-11-29T20:24:09.000Z | Libs/boost_1_76_0/libs/core/test/allocator_allocate_hint_test.cpp | Antd23rus/S2DE | 47cc7151c2934cd8f0399a9856c1e54894571553 | [
"MIT"
] | 41 | 2015-07-08T19:18:35.000Z | 2021-01-14T16:39:56.000Z | /*
Copyright 2020 Glen Joseph Fernandes
(glenjofe@gmail.com)
Distributed under the Boost Software License, Version 1.0.
(http://www.boost.org/LICENSE_1_0.txt)
*/
#include <boost/core/allocator_access.hpp>
#include <boost/core/lightweight_test.hpp>
template<class T>
struct A1 {
typedef T value_type;
typedef st... | 20.166667 | 59 | 0.608264 | vany152 |
69676198e764d8b2ddb74da6d92eee3001210006 | 5,442 | cpp | C++ | src/English/parse/en_DescOracle.cpp | BBN-E/serif | 1e2662d82fb1c377ec3c79355a5a9b0644606cb4 | [
"Apache-2.0"
] | 1 | 2022-03-24T19:57:00.000Z | 2022-03-24T19:57:00.000Z | src/English/parse/en_DescOracle.cpp | BBN-E/serif | 1e2662d82fb1c377ec3c79355a5a9b0644606cb4 | [
"Apache-2.0"
] | null | null | null | src/English/parse/en_DescOracle.cpp | BBN-E/serif | 1e2662d82fb1c377ec3c79355a5a9b0644606cb4 | [
"Apache-2.0"
] | null | null | null | // Copyright 2008 by BBN Technologies Corp.
// All Rights Reserved.
#include "Generic/common/leak_detection.h"
#include "English/parse/en_DescOracle.h"
#include "Generic/parse/ParserTags.h"
#include "English/parse/en_STags.h"
#include "Generic/common/UnexpectedInputException.h"
#include "Generic/common/UTF8T... | 28.793651 | 86 | 0.632672 | BBN-E |
69682c17cdab970b875faaae09fb844bed849ec8 | 3,377 | cpp | C++ | OverEngine/src/OverEngine/Physics/Collider2D.cpp | larrymason01/OverEngine | 4e44fe8385cc1780f2189ee5135f70b1e69104fd | [
"MIT"
] | 159 | 2020-03-16T14:46:46.000Z | 2022-03-31T23:38:14.000Z | OverEngine/src/OverEngine/Physics/Collider2D.cpp | larrymason01/OverEngine | 4e44fe8385cc1780f2189ee5135f70b1e69104fd | [
"MIT"
] | 5 | 2020-11-22T14:40:20.000Z | 2022-01-16T03:45:54.000Z | OverEngine/src/OverEngine/Physics/Collider2D.cpp | larrymason01/OverEngine | 4e44fe8385cc1780f2189ee5135f70b1e69104fd | [
"MIT"
] | 17 | 2020-06-01T05:58:32.000Z | 2022-02-10T17:28:36.000Z | #include "pcheader.h"
#include "Collider2D.h"
#include "RigidBody2D.h"
#include "OverEngine/Scene/TransformComponent.h"
#include <box2d/b2_polygon_shape.h>
#include <box2d/b2_circle_shape.h>
namespace OverEngine
{
Ref<BoxCollisionShape2D> BoxCollisionShape2D::Create(const Vector2& size, const Vector2& offset, float... | 28.863248 | 133 | 0.73438 | larrymason01 |
696a61fbdd22f698b70d7eabccf9db757f3d95a7 | 8,200 | cxx | C++ | xp_comm_proj/rd_dxf/src/dxfcir.cxx | avs/express-community | c699a68330d3b678b7e6bcea823e0891b874049c | [
"Apache-2.0"
] | 3 | 2020-08-03T08:52:20.000Z | 2021-04-10T11:55:49.000Z | xp_comm_proj/rd_dxf/src/dxfcir.cxx | avs/express-community | c699a68330d3b678b7e6bcea823e0891b874049c | [
"Apache-2.0"
] | null | null | null | xp_comm_proj/rd_dxf/src/dxfcir.cxx | avs/express-community | c699a68330d3b678b7e6bcea823e0891b874049c | [
"Apache-2.0"
] | 1 | 2021-06-08T18:16:45.000Z | 2021-06-08T18:16:45.000Z | /*****************************************************************************
Copyright (c) 1995 by
Advanced Visual Systems Inc.
All Rights Reserved
This software comprises unpublished confidential information of
Advanced Visual Systems Inc. and may not be used, copied or made
available to anyone, excep... | 31.660232 | 126 | 0.547195 | avs |
696e2adb1c856cbe6e933baf77cee6137e5e2544 | 1,960 | cpp | C++ | openbabel-2.4.1/test/mmff94validate.cpp | sxhexe/reaction-route-search | f7694c84ca1def4a133ade3e1e2e09705cd28312 | [
"MIT"
] | 1 | 2017-09-16T07:36:29.000Z | 2017-09-16T07:36:29.000Z | openbabel-2.4.1/test/mmff94validate.cpp | sxhexe/reaction-route-search | f7694c84ca1def4a133ade3e1e2e09705cd28312 | [
"MIT"
] | null | null | null | openbabel-2.4.1/test/mmff94validate.cpp | sxhexe/reaction-route-search | f7694c84ca1def4a133ade3e1e2e09705cd28312 | [
"MIT"
] | null | null | null | /**********************************************************************
obmmff94validate.cpp - Validate the MMFF94 implementation
This program assumes that the following files are in the current
working directory:
MMFF94_dative.mol2
MMFF94_opti.log
Both these files are from the MMFF94 validation suite ... | 33.220339 | 74 | 0.714286 | sxhexe |
696faac99d2c95ddade3fad87333224c891deae0 | 2,345 | cpp | C++ | C++/08_Heap/MEDIUM_MEETING_ROOMS.cpp | animeshramesh/interview-prep | 882e8bc8b4653a713754ab31a3b08e05505be2bc | [
"Apache-2.0"
] | null | null | null | C++/08_Heap/MEDIUM_MEETING_ROOMS.cpp | animeshramesh/interview-prep | 882e8bc8b4653a713754ab31a3b08e05505be2bc | [
"Apache-2.0"
] | null | null | null | C++/08_Heap/MEDIUM_MEETING_ROOMS.cpp | animeshramesh/interview-prep | 882e8bc8b4653a713754ab31a3b08e05505be2bc | [
"Apache-2.0"
] | null | null | null | // Time complexity - O(n)
// Space complexity - O(n), where n = number of intervals
int minMeetingRooms(vector<Interval>& intervals)
{ int len = intervals.size();
int count = 0, maxCount = 0;
vector<pair<int, int>> table; // total len of table should be 2xlen since we have both start and end
for(int i=0... | 30.064103 | 104 | 0.565885 | animeshramesh |
69702480d8b79ff4e694a2454ca6fbdb760ac59d | 4,163 | hpp | C++ | include/r3/tiled/r3-tiled-defn.hpp | ryantherileyman/riley-tiled-json-loader | b03edf3e375480d937f2692ae54f0046149a8f66 | [
"MIT"
] | null | null | null | include/r3/tiled/r3-tiled-defn.hpp | ryantherileyman/riley-tiled-json-loader | b03edf3e375480d937f2692ae54f0046149a8f66 | [
"MIT"
] | null | null | null | include/r3/tiled/r3-tiled-defn.hpp | ryantherileyman/riley-tiled-json-loader | b03edf3e375480d937f2692ae54f0046149a8f66 | [
"MIT"
] | null | null | null |
#include <optional>
#include <string>
#include <vector>
#pragma once
namespace r3 {
namespace tiled {
typedef enum class Tiled_CustomPropertyType {
UNKNOWN,
BOOLEAN,
INTEGER,
FLOAT,
STRING,
COLOR,
OBJECT,
FILE,
} CustomPropertyType;
typedef struct Tiled_CustomPropertyDefn {
std::s... | 25.539877 | 138 | 0.730963 | ryantherileyman |
69790fede38b797cbdb4c3c8b5aaf501bcaeb03d | 4,553 | cpp | C++ | src/GeneralizedSolver.cpp | RokKos/eol-cloth | b9c6f55f25ba17f33532ea5eefa41fedd29c5206 | [
"MIT"
] | null | null | null | src/GeneralizedSolver.cpp | RokKos/eol-cloth | b9c6f55f25ba17f33532ea5eefa41fedd29c5206 | [
"MIT"
] | null | null | null | src/GeneralizedSolver.cpp | RokKos/eol-cloth | b9c6f55f25ba17f33532ea5eefa41fedd29c5206 | [
"MIT"
] | null | null | null | #include "GeneralizedSolver.h"
#include "matlabOutputs.h"
#ifdef EOLC_MOSEK
#include "external/SolverWrappers/Mosek/QuadProgMosek.h"
#endif
#ifdef EOLC_GUROBI
#include "external/SolverWrappers/Gurobi/Gurobi.h"
#endif
using namespace std;
using namespace Eigen;
namespace EOL {
GeneralizedSolver::GeneralizedSolver... | 26.166667 | 125 | 0.685702 | RokKos |
69799e0bd6ef9b0cf91ee2a66de9372578a70e1c | 541 | hpp | C++ | include/member_thunk/details/heap/memory.hpp | sylveon/member_thunk | 1ac81a983e951678638be7785de2cce2d9f73151 | [
"MIT"
] | 9 | 2019-12-02T11:59:24.000Z | 2022-02-28T06:34:59.000Z | include/member_thunk/details/heap/memory.hpp | sylveon/member_thunk | 1ac81a983e951678638be7785de2cce2d9f73151 | [
"MIT"
] | 29 | 2019-11-26T17:12:33.000Z | 2020-10-06T04:58:53.000Z | include/member_thunk/details/heap/memory.hpp | sylveon/member_thunk | 1ac81a983e951678638be7785de2cce2d9f73151 | [
"MIT"
] | null | null | null | #pragma once
#include <cstddef>
#include <cstdint>
namespace member_thunk::details
{
struct memory_layout
{
std::uint32_t page_size, allocation_granularity;
static memory_layout get_for_current_system();
};
void flush_instruction_cache(void* ptr, std::size_t size);
void* virtual_alloc(void* address, std::si... | 28.473684 | 100 | 0.767098 | sylveon |
697b77a61fc476a64d7de58cdaa491b50f3d2fd9 | 3,361 | cpp | C++ | CCC/Stage2/15/2015 CCO solutions/CarsonIce.cpp | zzh8829/CompetitiveProgramming | 36f36b10269b4648ca8be0b08c2c49e96abede25 | [
"MIT"
] | 1 | 2017-10-01T00:51:39.000Z | 2017-10-01T00:51:39.000Z | CCC/Stage2/15/2015 CCO solutions/CarsonIce.cpp | zzh8829/CompetitiveProgramming | 36f36b10269b4648ca8be0b08c2c49e96abede25 | [
"MIT"
] | null | null | null | CCC/Stage2/15/2015 CCO solutions/CarsonIce.cpp | zzh8829/CompetitiveProgramming | 36f36b10269b4648ca8be0b08c2c49e96abede25 | [
"MIT"
] | null | null | null | /*
* CarsonIce.cpp
*
* Created on: May 8, 2015
* Author: Andy Y.F. Huang (azneye)
*/
#include <bits/stdc++.h>
using namespace std;
void make_case() {
const int N = 200;
freopen("input.txt", "w", stdout);
printf("%d %d\n", N, N);
for (int r = 0; r < N; r++)
printf("%s\n", string(N, r % 2 ? 'S' ... | 25.270677 | 65 | 0.427551 | zzh8829 |
697c3d3e82fe5126df47fa1f69582553efb1e9c3 | 3,775 | cpp | C++ | src/services/pcn-nat/src/serializer/RulePortForwardingAppendInputJsonObject.cpp | francescomessina/polycube | 38f2fb4ffa13cf51313b3cab9994be738ba367be | [
"ECL-2.0",
"Apache-2.0"
] | 337 | 2018-12-12T11:50:15.000Z | 2022-03-15T00:24:35.000Z | src/services/pcn-nat/src/serializer/RulePortForwardingAppendInputJsonObject.cpp | l1b0k/polycube | 7af919245c131fa9fe24c5d39d10039cbb81e825 | [
"ECL-2.0",
"Apache-2.0"
] | 253 | 2018-12-17T21:36:15.000Z | 2022-01-17T09:30:42.000Z | src/services/pcn-nat/src/serializer/RulePortForwardingAppendInputJsonObject.cpp | l1b0k/polycube | 7af919245c131fa9fe24c5d39d10039cbb81e825 | [
"ECL-2.0",
"Apache-2.0"
] | 90 | 2018-12-19T15:49:38.000Z | 2022-03-27T03:56:07.000Z | /**
* nat API
* nat API generated from nat.yang
*
* OpenAPI spec version: 1.0.0
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/polycube-network/swagger-codegen.git
* branch polycube
*/
/* Do not edit this file manually */
#include "RulePortForwardingAppendInputJs... | 21.571429 | 109 | 0.747285 | francescomessina |
697d81bf8257a86975e608626fe0149054138534 | 63 | cc | C++ | ld/unit-tests/test-cases/llvm-integration/main13.cc | kastiglione/zld | d3323188a8df4ac70d5c703f7fbad620a93de236 | [
"MIT"
] | 985 | 2020-02-25T19:53:08.000Z | 2022-03-31T19:23:35.000Z | ld/unit-tests/test-cases/llvm-integration/main13.cc | kastiglione/zld | d3323188a8df4ac70d5c703f7fbad620a93de236 | [
"MIT"
] | 90 | 2020-02-28T03:06:05.000Z | 2022-03-21T19:27:16.000Z | ld/unit-tests/test-cases/llvm-integration/main13.cc | kastiglione/zld | d3323188a8df4ac70d5c703f7fbad620a93de236 | [
"MIT"
] | 37 | 2020-02-27T11:52:16.000Z | 2022-03-22T03:43:37.000Z | #include "a13.h"
int main()
{
A a;
a.foo();
return 0;
}
| 7 | 16 | 0.492063 | kastiglione |
698119be3feede1485cbed6427d09f78b488859b | 1,969 | cpp | C++ | src/raft/command_log.cpp | CheranMahalingam/Distributed-Video-Processor | 2940b1d92f6f6d940304de24d79680f01c888c47 | [
"MIT"
] | null | null | null | src/raft/command_log.cpp | CheranMahalingam/Distributed-Video-Processor | 2940b1d92f6f6d940304de24d79680f01c888c47 | [
"MIT"
] | null | null | null | src/raft/command_log.cpp | CheranMahalingam/Distributed-Video-Processor | 2940b1d92f6f6d940304de24d79680f01c888c47 | [
"MIT"
] | 1 | 2022-01-09T22:43:46.000Z | 2022-01-09T22:43:46.000Z | #include "command_log.h"
namespace raft {
CommandLog::CommandLog(const std::vector<std::string>& peer_ids)
: commit_index_(-1), last_applied_(-1) {
for (auto peer_id:peer_ids) {
next_index_[peer_id] = 0;
match_index_[peer_id] = -1;
}
}
void CommandLog::AppendLog(const rpc::LogEntry& entry... | 24.308642 | 85 | 0.69223 | CheranMahalingam |
698142765169324076c34cf8ef418a1d8c2fb258 | 2,254 | cpp | C++ | Source/JsonHelper.cpp | NEWorldProject/Common | 167d69e80aee5e86a8892bcfaec6bcd988f97493 | [
"BSL-1.0",
"Apache-2.0",
"MIT"
] | null | null | null | Source/JsonHelper.cpp | NEWorldProject/Common | 167d69e80aee5e86a8892bcfaec6bcd988f97493 | [
"BSL-1.0",
"Apache-2.0",
"MIT"
] | null | null | null | Source/JsonHelper.cpp | NEWorldProject/Common | 167d69e80aee5e86a8892bcfaec6bcd988f97493 | [
"BSL-1.0",
"Apache-2.0",
"MIT"
] | null | null | null | //
// Core: JsonHelper.cpp
// NEWorld: A Free Game with Similar Rules to Minecraft.
// Copyright (C) 2015-2018 NEWorld Team
//
// NEWorld is free software: you can redistribute it and/or modify it
// under the terms of the GNU Lesser General Public License as published
// by the Free Software Foundation, either vers... | 34.151515 | 96 | 0.653505 | NEWorldProject |
69814c6c4a87af20a91c217a5d17374af977e042 | 662 | cpp | C++ | bit_manipulation/binary_or_operator.cpp | mohitbaran/CPP-Programming | ee70007d8eaffbb82b297984a07dd6f65999a435 | [
"MIT"
] | 30 | 2020-09-30T19:16:04.000Z | 2022-02-20T14:28:13.000Z | bit_manipulation/binary_or_operator.cpp | mohitbaran/CPP-Programming | ee70007d8eaffbb82b297984a07dd6f65999a435 | [
"MIT"
] | 168 | 2020-09-30T19:52:42.000Z | 2021-10-22T03:55:57.000Z | bit_manipulation/binary_or_operator.cpp | mohitbaran/CPP-Programming | ee70007d8eaffbb82b297984a07dd6f65999a435 | [
"MIT"
] | 123 | 2020-09-30T19:16:12.000Z | 2021-11-12T18:49:18.000Z | #include <stdio.h>
/*
g++ 64 bit int size is 4 bytes
or operator table
1|1 = 1
1|0 = 1
0|1 = 1
0|0 = 0
*/
int main()
{
int a = 15; /* 60 = 0000 0000 0000 0000 0000 0000 0000 1111 */
int b = 13; /* 13 = 0000 0000 0000 0000 0000 0000 0000 1101 */
int c = -1; /* -1 = 1111 1111 1111 1111 1111 1111 1111 1111... | 26.48 | 95 | 0.584592 | mohitbaran |
69826780a977a5bd09b4de0f7ac9e8d06f701019 | 18,465 | cpp | C++ | source/ocl.cpp | EwanC/WeeChess | 8b9b69d5d9d2c2a873670d450230ad0e5c526494 | [
"MIT"
] | 1 | 2015-05-24T20:26:41.000Z | 2015-05-24T20:26:41.000Z | source/ocl.cpp | EwanC/WeeChess | 8b9b69d5d9d2c2a873670d450230ad0e5c526494 | [
"MIT"
] | null | null | null | source/ocl.cpp | EwanC/WeeChess | 8b9b69d5d9d2c2a873670d450230ad0e5c526494 | [
"MIT"
] | null | null | null | #include "ocl.hpp"
#include <cstring>
#include <iostream>
#include "types.hpp"
OCL* OCL::m_instance = nullptr; // Singleton instance
uint OCL::possible_pawn_moves = 12;
uint OCL::possible_piece_moves = 30;
#define QUOTE(name) #name
#define STR(macro) QUOTE(macro)
#define KERNEL_DIR STR(__DIR__)
#define EVALKERNEL "... | 31.403061 | 120 | 0.64013 | EwanC |
698271f513e4b240e986900576659d242cb9b2da | 2,849 | cpp | C++ | quantitative_finance/L2/tests/InflationBlackCapFloorEngine/kernel/INFLATION_k0.cpp | vmayoral/Vitis_Libraries | 2323dc5036041e18242718287aee4ce66ba071ef | [
"Apache-2.0"
] | 1 | 2021-06-14T17:02:06.000Z | 2021-06-14T17:02:06.000Z | quantitative_finance/L2/tests/InflationBlackCapFloorEngine/kernel/INFLATION_k0.cpp | vmayoral/Vitis_Libraries | 2323dc5036041e18242718287aee4ce66ba071ef | [
"Apache-2.0"
] | null | null | null | quantitative_finance/L2/tests/InflationBlackCapFloorEngine/kernel/INFLATION_k0.cpp | vmayoral/Vitis_Libraries | 2323dc5036041e18242718287aee4ce66ba071ef | [
"Apache-2.0"
] | 1 | 2021-04-28T05:58:38.000Z | 2021-04-28T05:58:38.000Z | /*
* Copyright 2019 Xilinx, Inc.
*
* 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... | 47.483333 | 120 | 0.689365 | vmayoral |
6982a79a7ed4d4c347f9fa0b118d184a642e8f62 | 8,832 | cpp | C++ | beringei/lib/PersistentKeyList.cpp | pidb/Gorilla | 75c3002b179d99c8709323d605e7d4b53484035c | [
"BSD-3-Clause"
] | 2,780 | 2016-12-22T19:25:26.000Z | 2018-05-21T11:29:42.000Z | beringei/lib/PersistentKeyList.cpp | pidb/Gorilla | 75c3002b179d99c8709323d605e7d4b53484035c | [
"BSD-3-Clause"
] | 57 | 2016-12-23T09:22:18.000Z | 2018-05-04T06:26:48.000Z | beringei/lib/PersistentKeyList.cpp | pidb/Gorilla | 75c3002b179d99c8709323d605e7d4b53484035c | [
"BSD-3-Clause"
] | 254 | 2016-12-22T20:53:12.000Z | 2018-05-16T06:14:10.000Z | /**
* Copyright (c) 2016-present, Facebook, 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 "... | 28.127389 | 80 | 0.657043 | pidb |
6982ae7daea8bc7ac6ef3a9e090b5eb2fe8ccd3b | 18,104 | cpp | C++ | engine/rendering/interface_renderer.cpp | jose-villegas/VCT_Engine | 5ac2077e6ffc240a6d1f0ac0f033ac81e8ed57e3 | [
"MIT"
] | 459 | 2016-03-16T04:11:37.000Z | 2022-03-31T08:05:21.000Z | engine/rendering/interface_renderer.cpp | jose-villegas/VCT_Engine | 5ac2077e6ffc240a6d1f0ac0f033ac81e8ed57e3 | [
"MIT"
] | 2 | 2016-08-08T18:26:27.000Z | 2017-05-08T23:42:22.000Z | engine/rendering/interface_renderer.cpp | jose-villegas/VCT_Engine | 5ac2077e6ffc240a6d1f0ac0f033ac81e8ed57e3 | [
"MIT"
] | 47 | 2016-05-31T15:55:52.000Z | 2022-03-28T14:49:40.000Z | #include <GL/glew.h>
#include <GLFW/glfw3.h>
#include "interface_renderer.h"
#ifdef _WIN32
#undef APIENTRY
#define GLFW_EXPOSE_NATIVE_WIN32
#define GLFW_EXPOSE_NATIVE_WGL
#include <GLFW/glfw3native.h>
#endif
#include "../rendering/render_window.h"
#include <glm/mat4x4.hpp>
#include <glm/gtc/type_ptr.h... | 36.280561 | 84 | 0.664936 | jose-villegas |
6983ba511c2e7204d3a89160d6319fb3373edc98 | 2,502 | cpp | C++ | src/mntRegridAxis.cpp | bjlittle/mint | fe4862951e0c570caef6e86440b090650dca000b | [
"0BSD"
] | null | null | null | src/mntRegridAxis.cpp | bjlittle/mint | fe4862951e0c570caef6e86440b090650dca000b | [
"0BSD"
] | null | null | null | src/mntRegridAxis.cpp | bjlittle/mint | fe4862951e0c570caef6e86440b090650dca000b | [
"0BSD"
] | null | null | null | #include <mntRegridAxis.h>
extern "C"
int mnt_regridaxis_new(RegridAxis_t** self) {
*self = new RegridAxis_t();
(*self)->spline = vtkCardinalSpline::New();
// let the the spline estimate the second derivative at the boundaries
(*self)->spline->SetLeftConstraint(3);
(*self)->spline->SetRightConst... | 24.529412 | 108 | 0.611111 | bjlittle |
69842144a324549cc2ff5058fbe25fcd8ff10ce4 | 67 | cpp | C++ | Source/Cross/Common/MoCore/TNetPackageHead.cpp | favedit/MoCross | 2a550b3d41b0c33c44c66dd595e84b0e4ee95b08 | [
"Apache-2.0"
] | 3 | 2016-10-26T11:48:58.000Z | 2017-10-24T18:35:17.000Z | Source/Cross/Common/MoCore/TNetPackage.cpp | favedit/MoCross | 2a550b3d41b0c33c44c66dd595e84b0e4ee95b08 | [
"Apache-2.0"
] | null | null | null | Source/Cross/Common/MoCore/TNetPackage.cpp | favedit/MoCross | 2a550b3d41b0c33c44c66dd595e84b0e4ee95b08 | [
"Apache-2.0"
] | 6 | 2015-03-24T06:40:20.000Z | 2019-03-18T13:56:13.000Z | #include "MoCrNetMessage.h"
MO_NAMESPACE_BEGIN
MO_NAMESPACE_END
| 9.571429 | 27 | 0.835821 | favedit |
69851858aa479b61453717cd35502afcefdd8237 | 218 | cpp | C++ | CGraphMan.cpp | Satervalley/Kamac-git | 83b916684c1397f10319793f87d8c3ab90edbad4 | [
"WTFPL"
] | 1 | 2019-12-08T02:20:12.000Z | 2019-12-08T02:20:12.000Z | CGraphMan.cpp | Satervalley/Kamac-git | 83b916684c1397f10319793f87d8c3ab90edbad4 | [
"WTFPL"
] | null | null | null | CGraphMan.cpp | Satervalley/Kamac-git | 83b916684c1397f10319793f87d8c3ab90edbad4 | [
"WTFPL"
] | null | null | null | #include "pch.h"
#include "CGraphMan.h"
int CDataGroup_3::nPos[]{ nMargin, nMargin + nColumnWidth + nGap, nMargin + (nColumnWidth + nGap) * 2 };
//DWORD CDataGroup_3::clrColors[]{ 0x00ff5252, 0x0069f0ae, 0x448aff };
| 31.142857 | 104 | 0.711009 | Satervalley |
698690eb282cc9b44f4d29017ab2b7844738c242 | 764 | cpp | C++ | src/copentimelineio/deserialization.cpp | hisergiorojas/OpenTimelineIO-C-Bindings | 78e52d9d9f0f03adc04e586655bb2a4151b541be | [
"Apache-2.0"
] | 1 | 2022-02-03T02:49:00.000Z | 2022-02-03T02:49:00.000Z | src/copentimelineio/deserialization.cpp | hisergiorojas/OpenTimelineIO-C-Bindings | 78e52d9d9f0f03adc04e586655bb2a4151b541be | [
"Apache-2.0"
] | 32 | 2021-07-26T00:42:57.000Z | 2022-03-28T00:29:39.000Z | src/copentimelineio/deserialization.cpp | hisergiorojas/OpenTimelineIO-C-Bindings | 78e52d9d9f0f03adc04e586655bb2a4151b541be | [
"Apache-2.0"
] | 4 | 2021-02-10T18:28:25.000Z | 2022-03-18T03:14:47.000Z | #include "copentimelineio/deserialization.h"
#include <opentimelineio/deserialization.h>
OTIO_API bool deserialize_json_from_string(
const char *input, Any *destination, OTIOErrorStatus *error_status) {
std::string str = input;
return OTIO_NS::deserialize_json_from_string(
str,
... | 38.2 | 81 | 0.709424 | hisergiorojas |
698c48897d4fdb7cb59faa69d3995c746bed30be | 260 | hpp | C++ | lib/include/operation_strategy.hpp | vladiant/test_cpp_ci | 2481b0623d8df44e32ebbfb8081b4a17a8ca3a7f | [
"MIT"
] | null | null | null | lib/include/operation_strategy.hpp | vladiant/test_cpp_ci | 2481b0623d8df44e32ebbfb8081b4a17a8ca3a7f | [
"MIT"
] | null | null | null | lib/include/operation_strategy.hpp | vladiant/test_cpp_ci | 2481b0623d8df44e32ebbfb8081b4a17a8ca3a7f | [
"MIT"
] | null | null | null | #pragma once
#include "i_warper.hpp"
namespace vva {
class OperationStrategy {
public:
OperationStrategy(IOperationWarper& warper);
int16_t operator()(const int16_t& a, const int16_t& b);
private:
IOperationWarper& warper_;
};
} // namespace vva | 15.294118 | 57 | 0.730769 | vladiant |
698d42cecdb6674b371b7b5bf5e9d2319ec19075 | 1,263 | hpp | C++ | wiring_utils/include/wiring_utils/jsnsr04t_distance_sensor.hpp | Yanick-Salzmann/carpi | 29f5e1bf1eb6243e45690f040e4df8e7c228e897 | [
"Apache-2.0"
] | 2 | 2020-06-07T16:47:20.000Z | 2021-03-20T10:41:34.000Z | wiring_utils/include/wiring_utils/jsnsr04t_distance_sensor.hpp | Yanick-Salzmann/carpi | 29f5e1bf1eb6243e45690f040e4df8e7c228e897 | [
"Apache-2.0"
] | null | null | null | wiring_utils/include/wiring_utils/jsnsr04t_distance_sensor.hpp | Yanick-Salzmann/carpi | 29f5e1bf1eb6243e45690f040e4df8e7c228e897 | [
"Apache-2.0"
] | null | null | null | #ifndef CARPI_WIRING_UTILS_JSNSR04T_DISTANCE_HPP
#define CARPI_WIRING_UTILS_JSNSR04T_DISTANCE_HPP
#include <thread>
#include <memory>
#include <cstdint>
#include <common_utils/log.hpp>
#include "gpio.hpp"
namespace carpi::wiring {
class JSNSR04TDistanceSensor {
LOGGER;
public:
struct Measurem... | 24.764706 | 72 | 0.673793 | Yanick-Salzmann |
698dfd407cff4168ce393de15c57e62d52f989b1 | 1,360 | cpp | C++ | test/ssvr/srv_dev_mng.cpp | walkthetalk/libem | 6619b48716b380420157c4021f9943b153998e09 | [
"Apache-2.0"
] | 2 | 2015-03-13T14:49:13.000Z | 2017-09-18T12:38:59.000Z | test/ssvr/srv_dev_mng.cpp | walkthetalk/libem | 6619b48716b380420157c4021f9943b153998e09 | [
"Apache-2.0"
] | null | null | null | test/ssvr/srv_dev_mng.cpp | walkthetalk/libem | 6619b48716b380420157c4021f9943b153998e09 | [
"Apache-2.0"
] | null | null | null | #include <limits>
#include <exemodel/poll_tools.hpp>
#include "srv_dev_mng.hpp"
#include <iostream>
#include <fstream>
#include <string.h>
#include <openssl/md5.h>
namespace svcDevMng {
svcDeviceManager::svcDeviceManager(uint16_t port)
: serverExt(port)
, m_pkgc(0)
{
register_callback<bmid_t::sendUpdateData>(
[t... | 19.710145 | 93 | 0.602941 | walkthetalk |
698e5837bba52095c90b808c90252db6253d15e2 | 3,266 | cpp | C++ | opengl_4_shading_language_cookbook/017-compiling_a_shader/CompilingAShader.cpp | mickbeaver/graphics | 2b95c03677dfbb808048f53326e8c98e2d8775e1 | [
"BSD-2-Clause"
] | null | null | null | opengl_4_shading_language_cookbook/017-compiling_a_shader/CompilingAShader.cpp | mickbeaver/graphics | 2b95c03677dfbb808048f53326e8c98e2d8775e1 | [
"BSD-2-Clause"
] | null | null | null | opengl_4_shading_language_cookbook/017-compiling_a_shader/CompilingAShader.cpp | mickbeaver/graphics | 2b95c03677dfbb808048f53326e8c98e2d8775e1 | [
"BSD-2-Clause"
] | null | null | null | #include <cstdio>
#include <cstdlib>
#include <SDL2/SDL.h>
#include "glsys.h"
#include "FileUtil.h"
#define WINDOW_SIZE 640
void printShaderInfoLog(GLuint shaderHandle) {
GLint logLength;
glGetShaderiv(shaderHandle, GL_INFO_LOG_LENGTH, &logLength);
if (logLength > 0) {
char* logBuf... | 33.670103 | 86 | 0.621249 | mickbeaver |
7e340d4f8cc297b7eca2bd071e59ffff82567685 | 1,482 | cpp | C++ | LibCarla/source/carla/Exception.cpp | adelbennaceur/carla | 4d6fefe73d38f0ffaef8ffafccf71245699fc5db | [
"MIT"
] | 7,883 | 2017-11-10T16:49:23.000Z | 2022-03-31T18:48:47.000Z | LibCarla/source/carla/Exception.cpp | adelbennaceur/carla | 4d6fefe73d38f0ffaef8ffafccf71245699fc5db | [
"MIT"
] | 4,558 | 2017-11-10T17:45:30.000Z | 2022-03-31T23:30:02.000Z | LibCarla/source/carla/Exception.cpp | adelbennaceur/carla | 4d6fefe73d38f0ffaef8ffafccf71245699fc5db | [
"MIT"
] | 2,547 | 2017-11-13T03:22:44.000Z | 2022-03-31T10:39:30.000Z | // Copyright (c) 2017 Computer Vision Center (CVC) at the Universitat Autonoma
// de Barcelona (UAB).
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
#include "carla/Exception.h"
// ==============================================================... | 29.058824 | 80 | 0.539811 | adelbennaceur |
7e36c09a63af28d59cf7322130589d231a1ebe4e | 900 | cc | C++ | UX/src/Point.cc | frankencode/CoreComponents | 4c66d7ff9fc5be19222906ba89ba0e98951179de | [
"Zlib"
] | null | null | null | UX/src/Point.cc | frankencode/CoreComponents | 4c66d7ff9fc5be19222906ba89ba0e98951179de | [
"Zlib"
] | null | null | null | UX/src/Point.cc | frankencode/CoreComponents | 4c66d7ff9fc5be19222906ba89ba0e98951179de | [
"Zlib"
] | null | null | null | /*
* Copyright (C) 2022 Frank Mertens.
*
* Distribution and use is allowed under the terms of the zlib license
* (see cc/LICENSE-zlib).
*
*/
#include <cc/Point>
#include <limits>
namespace cc {
template class Vector<double, 2>;
/** Get positive angle of vector \a v
* \return Angle in range [0, 2*PI)
*/
do... | 19.565217 | 71 | 0.538889 | frankencode |
7e39eb52a5dda75eb6f304a1b3bbc6686046148f | 240 | cpp | C++ | src/analysis/parts/resample.cpp | autumnsault/speech-analysis | 6d2b683f0afa47d098b95f6be59534ed7d277361 | [
"MIT"
] | null | null | null | src/analysis/parts/resample.cpp | autumnsault/speech-analysis | 6d2b683f0afa47d098b95f6be59534ed7d277361 | [
"MIT"
] | null | null | null | src/analysis/parts/resample.cpp | autumnsault/speech-analysis | 6d2b683f0afa47d098b95f6be59534ed7d277361 | [
"MIT"
] | 1 | 2020-04-02T11:58:29.000Z | 2020-04-02T11:58:29.000Z | //
// Created by rika on 16/11/2019.
//
#include "../Analyser.h"
#include "Signal/Resample.h"
using namespace Eigen;
void Analyser::resampleAudio(double newFs) {
x = std::move(Resample::resample(x, fs, newFs, 50));
fs = newFs;
}
| 17.142857 | 56 | 0.654167 | autumnsault |
7e3aa7b4ded7f1cffe37f511219cb0a16af34f0e | 401 | cc | C++ | tools/Packers/source/ContainerEvolved.cc | fstudio/Phoenix | 28a7c6a3932fd7d6fea12770d0aa1e20bc70db7d | [
"MIT"
] | 8 | 2015-01-23T05:41:46.000Z | 2019-11-20T05:10:27.000Z | tools/Packers/source/ContainerEvolved.cc | fstudio/Phoenix | 28a7c6a3932fd7d6fea12770d0aa1e20bc70db7d | [
"MIT"
] | null | null | null | tools/Packers/source/ContainerEvolved.cc | fstudio/Phoenix | 28a7c6a3932fd7d6fea12770d0aa1e20bc70db7d | [
"MIT"
] | 4 | 2015-05-05T05:15:43.000Z | 2020-03-07T11:10:56.000Z | /*********************************************************************************************************
* ContainerEvolved.cc
* Note: Phoenix Container Evolved
* Date: @2015.05
* Author: Force Charlie
* E-mail:<forcemz@outlook.com>
* Copyright (C) 2015 The ForceStudio All Rights Reserved.
***************************... | 44.555556 | 107 | 0.349127 | fstudio |
7e448e24a7743ac2f2c79c0b3aa5d270f2fce2b7 | 8,253 | cpp | C++ | src/systems/scalar_wave.cpp | lanl/shoccs | 6fd72a612e872df62749eec6b010bd1f1e5ee1e7 | [
"BSD-3-Clause"
] | null | null | null | src/systems/scalar_wave.cpp | lanl/shoccs | 6fd72a612e872df62749eec6b010bd1f1e5ee1e7 | [
"BSD-3-Clause"
] | 2 | 2022-02-18T22:43:06.000Z | 2022-02-18T22:43:19.000Z | src/systems/scalar_wave.cpp | lanl/shoccs | 6fd72a612e872df62749eec6b010bd1f1e5ee1e7 | [
"BSD-3-Clause"
] | null | null | null | #include "scalar_wave.hpp"
#include "fields/algorithms.hpp"
#include "fields/selector.hpp"
#include "real3_operators.hpp"
#include <cmath>
#include <numbers>
#include <sol/sol.hpp>
#include "operators/discrete_operator.hpp"
#include <range/v3/algorithm/max_element.hpp>
#include <range/v3/view/transform.hpp>
namespa... | 30.794776 | 87 | 0.548043 | lanl |
7e48283e598d93887a1a5f41d0405008aa7e686a | 545 | cpp | C++ | src/Qir/Runtime/lib/QIR/QirRange.cpp | AllSafeCybercurity/qtime | 353058e0708355bddb2458d6d2a27a981bcb6d02 | [
"MIT"
] | null | null | null | src/Qir/Runtime/lib/QIR/QirRange.cpp | AllSafeCybercurity/qtime | 353058e0708355bddb2458d6d2a27a981bcb6d02 | [
"MIT"
] | null | null | null | src/Qir/Runtime/lib/QIR/QirRange.cpp | AllSafeCybercurity/qtime | 353058e0708355bddb2458d6d2a27a981bcb6d02 | [
"MIT"
] | 1 | 2021-07-26T12:35:37.000Z | 2021-07-26T12:35:37.000Z | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#include <cstdint>
#include "QirTypes.hpp"
#include "QirRuntime.hpp"
QirRange::QirRange(int64_t st, int64_t sp, int64_t en)
: start(st)
, step(sp)
, end(en)
{
// An attempt to create a %Range with a zero step should cause a run... | 27.25 | 107 | 0.682569 | AllSafeCybercurity |
7e548d755ce70aceef0a4a7a7cdacff948c7ec28 | 5,534 | cpp | C++ | libevent-example/message.cpp | anancds/rpc | 345a93915ec1a02e88e71678df695ee1302869df | [
"MIT"
] | 1 | 2021-01-10T02:34:13.000Z | 2021-01-10T02:34:13.000Z | libevent-example/message.cpp | anancds/rpc | 345a93915ec1a02e88e71678df695ee1302869df | [
"MIT"
] | 1 | 2021-03-11T02:21:41.000Z | 2021-03-11T02:21:41.000Z | libevent-example/message.cpp | anancds/rpc | 345a93915ec1a02e88e71678df695ee1302869df | [
"MIT"
] | null | null | null | //
// Created by cds on 2020/9/23.
//
#include "message.h"
#include <event2/buffer.h>
#include <event2/bufferevent.h>
#include <event2/event.h>
#include <event2/listener.h>
#include <event2/util.h>
#include <stdio.h>
#include <time.h>
#include <iostream>
#include <map>
#include <string.h>
#include <vector>
#include <... | 25.385321 | 116 | 0.644742 | anancds |
7e572a5d74917a2f0dc3bea10ada5dbefe6ed7b0 | 9,569 | cpp | C++ | inetcore/setup/ieak5/ieaksie/secauth.cpp | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | inetcore/setup/ieak5/ieaksie/secauth.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | inetcore/setup/ieak5/ieaksie/secauth.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | #include "precomp.h"
#include "rsop.h"
#include <tchar.h>
/////////////////////////////////////////////////////////////////////
void InitSecAuthDlgInRSoPMode(HWND hDlg, CDlgRSoPData *pDRD)
{
__try
{
BOOL bImport = FALSE;
_bstr_t bstrClass = L"RSOP_IEAKPolicySetting";
HRESUL... | 34.175 | 133 | 0.51322 | npocmaka |
7e5799ca381a57dcd3ffbc7a25c21511d137171b | 245 | hpp | C++ | include/member_thunk/error/region_not_empty.hpp | sylveon/member_thunk | 1ac81a983e951678638be7785de2cce2d9f73151 | [
"MIT"
] | 9 | 2019-12-02T11:59:24.000Z | 2022-02-28T06:34:59.000Z | include/member_thunk/error/region_not_empty.hpp | sylveon/member_thunk | 1ac81a983e951678638be7785de2cce2d9f73151 | [
"MIT"
] | 29 | 2019-11-26T17:12:33.000Z | 2020-10-06T04:58:53.000Z | include/member_thunk/error/region_not_empty.hpp | sylveon/member_thunk | 1ac81a983e951678638be7785de2cce2d9f73151 | [
"MIT"
] | null | null | null | #pragma once
#include "./exception.hpp"
namespace member_thunk
{
class region_not_empty final : public exception
{
public:
constexpr region_not_empty() noexcept : exception("This region has been destroyed before being emptied.") { }
};
}
| 20.416667 | 111 | 0.746939 | sylveon |
7e579e088b2e565d9c64ae0beb10e2d74a08e90a | 5,721 | cpp | C++ | circballmesh/circballmesh.cpp | Simi4/circball-shader | 7c6708624441b507be514f4813fb456c73e7b649 | [
"MIT"
] | null | null | null | circballmesh/circballmesh.cpp | Simi4/circball-shader | 7c6708624441b507be514f4813fb456c73e7b649 | [
"MIT"
] | null | null | null | circballmesh/circballmesh.cpp | Simi4/circball-shader | 7c6708624441b507be514f4813fb456c73e7b649 | [
"MIT"
] | null | null | null | #include "circballmesh.h"
#include <Qt3DRender/qbuffer.h>
#include <Qt3DRender/QAttribute>
#include <Qt3DRender/QGeometry>
#include <qmath.h>
QByteArray createCirclesVertexData(float radius, int resolution)
{
QByteArray bufferBytes;
// vec3 pos, vec3 normal, vec4 color
const quint32 elementSi... | 31.607735 | 91 | 0.627513 | Simi4 |
7e58b79975cc0b346c9a1625914694555b9d8901 | 4,173 | cxx | C++ | PWGJE/EMCALJetTasks/Tracks/AliAnalysisTaskEmcalOutliersGen.cxx | ilyafokin/AliPhysics | 7a0021a9d7ad4f0a9e52e0a13f9d3ca3b74c63d4 | [
"BSD-3-Clause"
] | 1 | 2020-07-18T17:36:58.000Z | 2020-07-18T17:36:58.000Z | PWGJE/EMCALJetTasks/Tracks/AliAnalysisTaskEmcalOutliersGen.cxx | ilyafokin/AliPhysics | 7a0021a9d7ad4f0a9e52e0a13f9d3ca3b74c63d4 | [
"BSD-3-Clause"
] | null | null | null | PWGJE/EMCALJetTasks/Tracks/AliAnalysisTaskEmcalOutliersGen.cxx | ilyafokin/AliPhysics | 7a0021a9d7ad4f0a9e52e0a13f9d3ca3b74c63d4 | [
"BSD-3-Clause"
] | 1 | 2022-01-24T11:11:09.000Z | 2022-01-24T11:11:09.000Z | #include <sstream>
#include "AliAnalysisTaskEmcalOutliersGen.h"
#include "AliAnalysisManager.h"
#include "AliEmcalJet.h"
#include "AliJetContainer.h"
#include "AliMCEvent.h"
#include "AliParticleContainer.h"
#include "AliVParticle.h"
ClassImp(PWGJE::EMCALJetTasks::AliAnalysisTaskEmcalOutliersGen)
using namespace PWGJ... | 40.514563 | 151 | 0.615385 | ilyafokin |
7e5a886dc544675b6477934205740aa2262e7048 | 4,568 | cpp | C++ | Source/MLApp/MLNetServiceHub.cpp | afofo/madronalib | 14816a124c8d3a225540ffb408e602aa024fdb4b | [
"MIT"
] | null | null | null | Source/MLApp/MLNetServiceHub.cpp | afofo/madronalib | 14816a124c8d3a225540ffb408e602aa024fdb4b | [
"MIT"
] | null | null | null | Source/MLApp/MLNetServiceHub.cpp | afofo/madronalib | 14816a124c8d3a225540ffb408e602aa024fdb4b | [
"MIT"
] | null | null | null |
// MadronaLib: a C++ framework for DSP applications.
// Copyright (c) 2013 Madrona Labs LLC. http://www.madronalabs.com
// Distributed under the MIT license: http://madrona-labs.mit-license.org/
/*
Portions adapted from Oscbonjour:
Copyright (c) 2005-2009 RÈmy Muller.
Permission is hereby granted, free of charg... | 29.282051 | 127 | 0.734895 | afofo |
7e5e7118af19ed17cd0101f5dca9ff4f5480d793 | 1,148 | cpp | C++ | src/spectral_embedding_layout.cpp | erwinvaneijk/bgl-python | 6731d1e0e9681e99f1ad0a876b2adb8139d93027 | [
"BSL-1.0"
] | 18 | 2015-06-19T08:44:21.000Z | 2021-07-23T11:09:05.000Z | src/spectral_embedding_layout.cpp | erwinvaneijk/bgl-python | 6731d1e0e9681e99f1ad0a876b2adb8139d93027 | [
"BSL-1.0"
] | null | null | null | src/spectral_embedding_layout.cpp | erwinvaneijk/bgl-python | 6731d1e0e9681e99f1ad0a876b2adb8139d93027 | [
"BSL-1.0"
] | 3 | 2015-07-13T07:50:49.000Z | 2020-10-26T15:08:03.000Z | #include <boost/graph/spectral_embedding_3d_layout.hpp>
#include "graph_types.hpp"
#include <boost/graph/python/point2d.hpp>
#include <boost/graph/python/point3d.hpp>
#include <boost/graph/python/graph.hpp>
#include <boost/python.hpp>
namespace boost { namespace graph { namespace python {
template <typename Graph>
vo... | 27.333333 | 82 | 0.751742 | erwinvaneijk |
7e601575baaec490902abfffcded67583565afd8 | 11,044 | cpp | C++ | sources/leddevice/dev_net/ProviderUdpSSL.cpp | awawa-dev/hyperion.ng | 459aa9b81fe04bfd7a259d761a0fdff94178e10d | [
"MIT-0",
"Apache-2.0",
"CC-BY-4.0",
"MIT"
] | 2 | 2020-08-24T10:02:51.000Z | 2020-08-24T20:03:50.000Z | sources/leddevice/dev_net/ProviderUdpSSL.cpp | awawa-dev/hyperion.ng | 459aa9b81fe04bfd7a259d761a0fdff94178e10d | [
"MIT-0",
"Apache-2.0",
"CC-BY-4.0",
"MIT"
] | null | null | null | sources/leddevice/dev_net/ProviderUdpSSL.cpp | awawa-dev/hyperion.ng | 459aa9b81fe04bfd7a259d761a0fdff94178e10d | [
"MIT-0",
"Apache-2.0",
"CC-BY-4.0",
"MIT"
] | null | null | null | /* ProviderUdpSSL.cpp
*
* MIT License
*
* Copyright (c) 2021 awawa-dev
*
* Project homesite: https://github.com/awawa-dev/HyperHDR
*
* 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 with... | 24.930023 | 161 | 0.711246 | awawa-dev |
7e6192e0b4144d477c15f9b0043c03b279b862d5 | 2,598 | hh | C++ | include/simlib/path.hh | varqox/simlib | 7830472019f88aa0e35dbfa1119b62b5f9dd4b9d | [
"MIT"
] | null | null | null | include/simlib/path.hh | varqox/simlib | 7830472019f88aa0e35dbfa1119b62b5f9dd4b9d | [
"MIT"
] | 1 | 2017-01-05T17:50:32.000Z | 2017-01-05T17:50:32.000Z | include/simlib/path.hh | varqox/simlib | 7830472019f88aa0e35dbfa1119b62b5f9dd4b9d | [
"MIT"
] | 1 | 2017-01-05T15:26:48.000Z | 2017-01-05T15:26:48.000Z | #pragma once
#include "simlib/string_view.hh"
#include <optional>
// Returns an absolute path that does not contain any . or .. components,
// nor any repeated path separators (/). @p curr_dir can be empty. If path
// begins with / then @p curr_dir is ignored.
std::string path_absolute(StringView path, std::string c... | 30.209302 | 95 | 0.583911 | varqox |
7e621e71d124b15e23b13a09b48b5bf4b41785bd | 757 | cpp | C++ | inference-engine/tests_deprecated/behavior/gna/shared_tests_instances/plugin_tests/behavior_test_plugin_layout.cpp | anton-potapov/openvino | 84119afe9a8c965e0a0cd920fff53aee67b05108 | [
"Apache-2.0"
] | 1 | 2020-06-21T09:51:42.000Z | 2020-06-21T09:51:42.000Z | inference-engine/tests_deprecated/behavior/gna/shared_tests_instances/plugin_tests/behavior_test_plugin_layout.cpp | anton-potapov/openvino | 84119afe9a8c965e0a0cd920fff53aee67b05108 | [
"Apache-2.0"
] | 4 | 2021-04-01T08:29:48.000Z | 2021-08-30T16:12:52.000Z | inference-engine/tests_deprecated/behavior/gna/shared_tests_instances/plugin_tests/behavior_test_plugin_layout.cpp | anton-potapov/openvino | 84119afe9a8c965e0a0cd920fff53aee67b05108 | [
"Apache-2.0"
] | 3 | 2021-03-09T08:27:29.000Z | 2021-04-07T04:58:54.000Z | // Copyright (C) 2018-2020 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include "behavior_test_plugin_layout.hpp"
layout_test_params activ_test_cases[] = {
// layout_test_params(CommonTestUtils::DEVICE_GNA, "FP32", Layout::C, power_params({ { 3 } }, 1, 2, 2)),
layout_test_params(CommonTestUtils... | 47.3125 | 119 | 0.706737 | anton-potapov |
7e6663467290bb6116f291ae3132fa73dbc32ed3 | 22,362 | cc | C++ | pcraster/pcraster-4.2.0/pcraster-4.2.0/source/fern/source/fern/language/io/gdal/gdal_dataset.cc | quanpands/wflow | b454a55e4a63556eaac3fbabd97f8a0b80901e5a | [
"MIT"
] | null | null | null | pcraster/pcraster-4.2.0/pcraster-4.2.0/source/fern/source/fern/language/io/gdal/gdal_dataset.cc | quanpands/wflow | b454a55e4a63556eaac3fbabd97f8a0b80901e5a | [
"MIT"
] | null | null | null | pcraster/pcraster-4.2.0/pcraster-4.2.0/source/fern/source/fern/language/io/gdal/gdal_dataset.cc | quanpands/wflow | b454a55e4a63556eaac3fbabd97f8a0b80901e5a | [
"MIT"
] | null | null | null | // -----------------------------------------------------------------------------
// Fern © Geoneric
//
// This file is part of Geoneric Fern which is available under the terms of
// the GNU General Public License (GPL), version 2. If you do not want to
// be bound by the terms of the GPL, you may purchase a proprietary... | 31.719149 | 80 | 0.568107 | quanpands |
7e69ada6af6c8ff3f214bc2c84d1c3af9121a2b3 | 1,148 | hh | C++ | src/NodeGenerators/generateCylDistributionFromRZ.hh | jmikeowen/Spheral | 3e1082a7aefd6b328bd3ae24ca1a477108cfc3c4 | [
"BSD-Source-Code",
"BSD-3-Clause-LBNL",
"FSFAP"
] | 22 | 2018-07-31T21:38:22.000Z | 2020-06-29T08:58:33.000Z | src/NodeGenerators/generateCylDistributionFromRZ.hh | markguozhiming/spheral | bbb982102e61edb8a1d00cf780bfa571835e1b61 | [
"BSD-Source-Code",
"BSD-3-Clause-LBNL",
"FSFAP"
] | 41 | 2020-09-28T23:14:27.000Z | 2022-03-28T17:01:33.000Z | src/NodeGenerators/generateCylDistributionFromRZ.hh | markguozhiming/spheral | bbb982102e61edb8a1d00cf780bfa571835e1b61 | [
"BSD-Source-Code",
"BSD-3-Clause-LBNL",
"FSFAP"
] | 7 | 2019-12-01T07:00:06.000Z | 2020-09-15T21:12:39.000Z | //------------------------------------------------------------------------------
// Helper method for the GenerateCylindricalNodeDistribution3d node generator
// to generate the spun node distribution.
//------------------------------------------------------------------------------
#ifndef __Spheral_generateCylDistribu... | 37.032258 | 80 | 0.449477 | jmikeowen |
7e6b5fa4c1238b260faf0d226539588bee795e2a | 1,159 | cpp | C++ | LEDA/test/graphics/geowin/msc/geowin_poly.cpp | 2ashish/smallest_enclosing_circle | 889916a3011ab2b649ab7f1fc1e042f879acecce | [
"MIT"
] | null | null | null | LEDA/test/graphics/geowin/msc/geowin_poly.cpp | 2ashish/smallest_enclosing_circle | 889916a3011ab2b649ab7f1fc1e042f879acecce | [
"MIT"
] | null | null | null | LEDA/test/graphics/geowin/msc/geowin_poly.cpp | 2ashish/smallest_enclosing_circle | 889916a3011ab2b649ab7f1fc1e042f879acecce | [
"MIT"
] | null | null | null | /*******************************************************************************
+
+ LEDA 6.3
+
+
+ geowin_poly.c
+
+
+ Copyright (c) 1995-2010
+ by Algorithmic Solutions Software GmbH
+ All rights reserved.
+
*******************************************************************************/
#inc... | 21.462963 | 89 | 0.538395 | 2ashish |
7e6c3e14dbd406ae88fbc09f6f43840cd8160806 | 2,126 | cc | C++ | cpp_src/gtests/tests/API/ft_tests.cc | Smolevich/reindexer | 139a27a5f07023af40e08b6f9e9b27abb9bc4939 | [
"Apache-2.0"
] | null | null | null | cpp_src/gtests/tests/API/ft_tests.cc | Smolevich/reindexer | 139a27a5f07023af40e08b6f9e9b27abb9bc4939 | [
"Apache-2.0"
] | null | null | null | cpp_src/gtests/tests/API/ft_tests.cc | Smolevich/reindexer | 139a27a5f07023af40e08b6f9e9b27abb9bc4939 | [
"Apache-2.0"
] | null | null | null | #include <iostream>
#include <unordered_set>
#include "ft_api.h"
#include "tools/stringstools.h"
using std::unordered_set;
TEST_F(FTApi, CompositeSelect) {
Add("An entity is something|", "| that in exists entity as itself");
Add("In law, a legal entity is|", "|an entity that is capable of something bearing legal righ... | 36.655172 | 131 | 0.632643 | Smolevich |
7e6cd2376953f623e471e461f5759b9392b8c312 | 624 | cpp | C++ | src/visual-scripting/processors/generators/counters/CounterProcessors.cpp | inexorgame/entity-system | 230a6f116fb02caeace79bc9b32f17fe08687c36 | [
"MIT"
] | 19 | 2018-10-11T09:19:48.000Z | 2020-04-19T16:36:58.000Z | src/visual-scripting/processors/generators/counters/CounterProcessors.cpp | inexorgame-obsolete/entity-system-inactive | 230a6f116fb02caeace79bc9b32f17fe08687c36 | [
"MIT"
] | 132 | 2018-07-28T12:30:54.000Z | 2020-04-25T23:05:33.000Z | src/visual-scripting/processors/generators/counters/CounterProcessors.cpp | inexorgame-obsolete/entity-system-inactive | 230a6f116fb02caeace79bc9b32f17fe08687c36 | [
"MIT"
] | 3 | 2019-03-02T16:19:23.000Z | 2020-02-18T05:15:29.000Z | #include "CounterProcessors.hpp"
#include <utility>
namespace inexor::visual_scripting {
CounterProcessors::CounterProcessors(CounterIntProcessorPtr counter_int_processor, CounterFloatProcessorPtr counter_float_processor)
: LifeCycleComponent(counter_int_processor, counter_float_processor)
{
this->counter_in... | 28.363636 | 132 | 0.8125 | inexorgame |
7e6ddfc364527a3c904016f6bb55ec7156a1d901 | 20,714 | hpp | C++ | Cxx11/stencil_rajaview.hpp | hattom/Kernels | dae34b73235ccbf150d9b0ed5fb480b924789383 | [
"BSD-3-Clause"
] | 346 | 2015-06-07T19:55:15.000Z | 2022-03-18T07:55:10.000Z | Cxx11/stencil_rajaview.hpp | hattom/Kernels | dae34b73235ccbf150d9b0ed5fb480b924789383 | [
"BSD-3-Clause"
] | 202 | 2015-06-16T15:28:05.000Z | 2022-01-06T18:26:13.000Z | Cxx11/stencil_rajaview.hpp | hattom/Kernels | dae34b73235ccbf150d9b0ed5fb480b924789383 | [
"BSD-3-Clause"
] | 101 | 2015-06-15T22:06:46.000Z | 2022-01-13T02:56:02.000Z | using regular_policy = RAJA::KernelPolicy< RAJA::statement::For<0, thread_exec,
RAJA::statement::For<1, RAJA::simd_exec,
RAJA::statement::Lambda<0> > > >;
void star1(const int n, const int t, matrix & in, matrix & out) {
RAJA::Ra... | 53.112821 | 83 | 0.39273 | hattom |
7e6e5199750f9df713da118aa8b76ebef75f000e | 3,832 | hpp | C++ | Rx/v2/src/rxcpp/operators/rx-multicast.hpp | guhwanbae/RxCpp | 7f97aa901701343593869acad1ee5a02292f39cf | [
"Apache-2.0"
] | 2 | 2022-02-09T19:01:00.000Z | 2022-03-11T03:36:29.000Z | Rx/v2/src/rxcpp/operators/rx-multicast.hpp | ivan-cukic/wip-fork-rxcpp | 483963939e4a2adf674450dcb829005d84be1d59 | [
"Apache-2.0"
] | null | null | null | Rx/v2/src/rxcpp/operators/rx-multicast.hpp | ivan-cukic/wip-fork-rxcpp | 483963939e4a2adf674450dcb829005d84be1d59 | [
"Apache-2.0"
] | 1 | 2022-02-09T12:00:05.000Z | 2022-02-09T12:00:05.000Z | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
#pragma once
/*! \file rx-multicast.hpp
\brief allows connections to the source to be independent of subscriptions.
\tparam Subject the subject to multicast the source Observa... | 30.903226 | 132 | 0.658664 | guhwanbae |
7e73285986d87886ff0f692eb7d26b03aa9eb477 | 10,420 | cpp | C++ | private/shell/ext/ftp/ftpefe.cpp | King0987654/windows2000 | 01f9c2e62c4289194e33244aade34b7d19e7c9b8 | [
"MIT"
] | 11 | 2017-09-02T11:27:08.000Z | 2022-01-02T15:25:24.000Z | private/shell/ext/ftp/ftpefe.cpp | King0987654/windows2000 | 01f9c2e62c4289194e33244aade34b7d19e7c9b8 | [
"MIT"
] | null | null | null | private/shell/ext/ftp/ftpefe.cpp | King0987654/windows2000 | 01f9c2e62c4289194e33244aade34b7d19e7c9b8 | [
"MIT"
] | 14 | 2019-01-16T01:01:23.000Z | 2022-02-20T15:54:27.000Z | /*****************************************************************************
*
* ftpefe.cpp - IEnumFORMATETC interface
*
*****************************************************************************/
#include "priv.h"
#include "ftpefe.h"
#include "ftpobj.h"
/**************************************... | 27.935657 | 115 | 0.485125 | King0987654 |
7e7510ab9af7cb8ee8813cc6dc331eb692fb4657 | 1,393 | cpp | C++ | aula19/numeros.cpp | masmangan/refactored-eureka | 5698a7e935a4d90f6f7459127e7eb3a72c3904eb | [
"MIT"
] | 3 | 2018-09-12T22:59:34.000Z | 2018-10-05T23:38:05.000Z | aula19/numeros.cpp | masmangan/refactored-eureka | 5698a7e935a4d90f6f7459127e7eb3a72c3904eb | [
"MIT"
] | null | null | null | aula19/numeros.cpp | masmangan/refactored-eureka | 5698a7e935a4d90f6f7459127e7eb3a72c3904eb | [
"MIT"
] | null | null | null | /*
Escreva um programa que recebe uma lista
de números e a apresenta.
A seguir, os números são organizados
em duas listas: pares e ímpares.
As duas listas devem ser apresentadas
em ordem crescente.
marco.mangan@pucrs.br
*/
#include <iostream>
#include <algorithm>
#include <vector>
using namespace std;
int main() {
... | 16.011494 | 53 | 0.512563 | masmangan |
7e781742def67dc40fe3b18ea2514984dcd8421b | 1,013 | hpp | C++ | include/regrados.hpp | emanuelmoraes-dev/cpp-learn | 4ca99f39e44016784619928cb61187be63586994 | [
"MIT"
] | null | null | null | include/regrados.hpp | emanuelmoraes-dev/cpp-learn | 4ca99f39e44016784619928cb61187be63586994 | [
"MIT"
] | null | null | null | include/regrados.hpp | emanuelmoraes-dev/cpp-learn | 4ca99f39e44016784619928cb61187be63586994 | [
"MIT"
] | null | null | null | #ifndef REGRADOS_H_INCLUDED
#define REGRADOS_H_INCLUDED
#include <string>
#include <vector>
#include <memory>
class Membro {
public:
std::string nome;
};
class RegraDos3 {
public:
Membro membro;
Membro* aloc1;
Membro* aloc2;
std::vector<Membro> membros;
RegraDos3();
// Aplicando regra do... | 19.862745 | 52 | 0.660415 | emanuelmoraes-dev |
7e7da6a7d3209015d09bf16404f6138ea82c64ce | 6,980 | cpp | C++ | AR_ColorSensor/src/AR_ColorSensor.cpp | fangchuan/AR_Library | c825bf26aa1f31b1537fdcaa382dc7b5b0de1afc | [
"MIT"
] | null | null | null | AR_ColorSensor/src/AR_ColorSensor.cpp | fangchuan/AR_Library | c825bf26aa1f31b1537fdcaa382dc7b5b0de1afc | [
"MIT"
] | null | null | null | AR_ColorSensor/src/AR_ColorSensor.cpp | fangchuan/AR_Library | c825bf26aa1f31b1537fdcaa382dc7b5b0de1afc | [
"MIT"
] | null | null | null | /*
*********************************************************************************************************
*
* 模块名称 : ColorSensor类库
* 文件名称 : AR_ColorSensor.cpp
* 版 本 : V1.0
* 说 明 :
* 修订记录 : 2017-3-13: 类内方法不可以被赋值给函数指针,必须将方法声明为static,但一旦将属性也改为static就失去了这个传感器类的意义
* 2017-3-14: 将数据属性全部public,主函数操作这些属性
* ... | 28.489796 | 105 | 0.440974 | fangchuan |
7e7ffed3dd0ab2e7a1ebece404b6bcdc8e0bf59e | 13,981 | cpp | C++ | lib/qmmm_aux.cpp | taylor-a-barnes/qmmm_controller | 5c072652e091f3a5d15b80088764fd7479cbdbb0 | [
"BSD-3-Clause"
] | null | null | null | lib/qmmm_aux.cpp | taylor-a-barnes/qmmm_controller | 5c072652e091f3a5d15b80088764fd7479cbdbb0 | [
"BSD-3-Clause"
] | null | null | null | lib/qmmm_aux.cpp | taylor-a-barnes/qmmm_controller | 5c072652e091f3a5d15b80088764fd7479cbdbb0 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (C) 2016 Quantum ESPRESSO group
* This file is distributed under the terms of the
* GNU General Public License. See the file `License'
* in the root directory of the present distribution,
* or http://www.gnu.org/copyleft/gpl.txt .
*/
/* ---------------------------------------------------... | 53.56705 | 121 | 0.56727 | taylor-a-barnes |
7e85fce9e6f1a2ca4ea8e36f0a6f4bbb6a63f24a | 8,648 | cc | C++ | trial/fs-search.cc | louis-tru/Ngui | c1f25d8b6c42e873d5969fb588af22f428c58d4c | [
"BSD-3-Clause-Clear"
] | 86 | 2017-11-21T01:05:30.000Z | 2020-05-21T12:30:31.000Z | trial/fs-search.cc | louis-tru/Ngui | c1f25d8b6c42e873d5969fb588af22f428c58d4c | [
"BSD-3-Clause-Clear"
] | 14 | 2020-10-16T11:30:57.000Z | 2021-04-16T06:10:06.000Z | trial/fs-search.cc | louis-tru/Ngui | c1f25d8b6c42e873d5969fb588af22f428c58d4c | [
"BSD-3-Clause-Clear"
] | 13 | 2017-11-21T10:18:53.000Z | 2019-10-18T09:15:55.000Z | /* ***** BEGIN LICENSE BLOCK *****
* Distributed under the BSD license:
*
* Copyright (c) 2015, xuewen.chu
* 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 sourc... | 26.048193 | 86 | 0.666512 | louis-tru |
7e887fee2927fc5e7a30b76c39054a38c34fded0 | 445 | cpp | C++ | src/resources/terrain_library.cpp | mnewhouse/tselements | bd1c6724018e862156948a680bb1bc70dd28bef6 | [
"MIT"
] | null | null | null | src/resources/terrain_library.cpp | mnewhouse/tselements | bd1c6724018e862156948a680bb1bc70dd28bef6 | [
"MIT"
] | null | null | null | src/resources/terrain_library.cpp | mnewhouse/tselements | bd1c6724018e862156948a680bb1bc70dd28bef6 | [
"MIT"
] | null | null | null | /*
* TS Elements
* Copyright 2015-2018 M. Newhouse
* Released under the MIT license.
*/
#include "terrain_library.hpp"
#include <algorithm>
namespace ts
{
namespace resources
{
void TerrainLibrary::define_terrain(const TerrainDefinition& terrain)
{
terrains_[terrain.id] = terrain;
}
const... | 17.115385 | 80 | 0.696629 | mnewhouse |
7e89b9689048be6d81a61f59d446635923370799 | 1,041 | hpp | C++ | Nacro/SDK/FN_Bedroom_Dresser_02_parameters.hpp | Milxnor/Nacro | eebabf662bbce6d5af41820ea0342d3567a0aecc | [
"BSD-2-Clause"
] | 11 | 2021-08-08T23:25:10.000Z | 2022-02-19T23:07:22.000Z | Nacro/SDK/FN_Bedroom_Dresser_02_parameters.hpp | Milxnor/Nacro | eebabf662bbce6d5af41820ea0342d3567a0aecc | [
"BSD-2-Clause"
] | 1 | 2022-01-01T22:51:59.000Z | 2022-01-08T16:14:15.000Z | Nacro/SDK/FN_Bedroom_Dresser_02_parameters.hpp | Milxnor/Nacro | eebabf662bbce6d5af41820ea0342d3567a0aecc | [
"BSD-2-Clause"
] | 8 | 2021-08-09T13:51:54.000Z | 2022-01-26T20:33:37.000Z | #pragma once
// Fortnite (1.8) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "../SDK.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Parameters
//---------------------------------------------------------------------------
// Function Bedroom_Dress... | 24.209302 | 152 | 0.632085 | Milxnor |
7e89faa093f24847cdd82eb90b45385703c1210d | 6,619 | cpp | C++ | source/AlgebraicMethods/Term.cpp | CoghettoR/gclc | b481b15d28ee66f995b73283e26c285ca8c4a821 | [
"MIT"
] | 21 | 2020-12-08T20:06:01.000Z | 2022-02-13T22:52:02.000Z | source/AlgebraicMethods/Term.cpp | CoghettoR/gclc | b481b15d28ee66f995b73283e26c285ca8c4a821 | [
"MIT"
] | 9 | 2020-12-20T03:54:55.000Z | 2022-03-31T19:30:04.000Z | source/AlgebraicMethods/Term.cpp | CoghettoR/gclc | b481b15d28ee66f995b73283e26c285ca8c4a821 | [
"MIT"
] | 5 | 2021-04-25T18:47:17.000Z | 2022-01-23T02:37:30.000Z | #include "Term.h"
#include "TermStorage.h"
#include "TermStorageAvl.h"
#include "TermStorageVector.h"
#include "XTerm.h"
Term::Term() {
#if 0
static int cnt = 0;
if (cnt == 12237)
{
int stop = 1;
MyTerm = this;
}
cnt++;
//Log::PrintLogF(0, "C:%d:%x\n", cnt++, this);
#endif
COSTR("ter... | 22.667808 | 78 | 0.536637 | CoghettoR |
7e8eba9f731da8d8b1c99ff78c14c779cfbb8111 | 7,991 | cpp | C++ | src/Client.cpp | nsentout/project-lambda-client | 3b6f84e90ebf1319bbbfd6649b1e9e94b96f1469 | [
"MIT"
] | null | null | null | src/Client.cpp | nsentout/project-lambda-client | 3b6f84e90ebf1319bbbfd6649b1e9e94b96f1469 | [
"MIT"
] | null | null | null | src/Client.cpp | nsentout/project-lambda-client | 3b6f84e90ebf1319bbbfd6649b1e9e94b96f1469 | [
"MIT"
] | null | null | null | #include <stdio.h>
#include <string.h>
#include "Client.hpp"
#include "render/Renderer.hpp"
#include <sstream>
//#define CONNECTION_TIMEOUT 5000
#define CONNECTION_TIMEOUT 100000
#define NUMBER_CHANNELS 2
#define SPEED 25
Client::Client() : m_host(nullptr), m_server(nullptr)
{
createClient();
}
Client::~Client... | 29.058182 | 137 | 0.647228 | nsentout |
7e8f389f2ec72f9f4e69b6e67c0d432dcfd2686f | 4,823 | cpp | C++ | sj_common.cpp | SJ-magic-youtube-VisualProgrammer/103_fft_Visualize__1_Artsin | 4d5acdccae24364b173794793c9896c8420f55fb | [
"MIT"
] | null | null | null | sj_common.cpp | SJ-magic-youtube-VisualProgrammer/103_fft_Visualize__1_Artsin | 4d5acdccae24364b173794793c9896c8420f55fb | [
"MIT"
] | null | null | null | sj_common.cpp | SJ-magic-youtube-VisualProgrammer/103_fft_Visualize__1_Artsin | 4d5acdccae24364b173794793c9896c8420f55fb | [
"MIT"
] | null | null | null | /************************************************************
************************************************************/
#include "sj_common.h"
/************************************************************
************************************************************/
/********************
********************/
int ... | 28.040698 | 97 | 0.477918 | SJ-magic-youtube-VisualProgrammer |
7e93ec0bca991f125711ab938417ac023ab4bd8b | 8,255 | cpp | C++ | moses/moses/TranslationModel/CompactPT/PhraseDictionaryCompact.cpp | anshsarkar/TailBench | 25845756aee9a892229c25b681051591c94daafd | [
"MIT"
] | 3 | 2018-01-25T00:51:56.000Z | 2022-01-07T15:09:38.000Z | moses/moses/TranslationModel/CompactPT/PhraseDictionaryCompact.cpp | anshsarkar/TailBench | 25845756aee9a892229c25b681051591c94daafd | [
"MIT"
] | 1 | 2020-06-23T08:29:09.000Z | 2020-06-24T12:11:47.000Z | moses/moses/TranslationModel/CompactPT/PhraseDictionaryCompact.cpp | anshsarkar/TailBench | 25845756aee9a892229c25b681051591c94daafd | [
"MIT"
] | 3 | 2018-06-08T08:36:27.000Z | 2021-12-26T20:36:16.000Z | // $Id$
// vim:tabstop=2
/*************************************************... | 39.879227 | 134 | 0.5404 | anshsarkar |
7e96c654433e0c3df6bc764637c2400f114f2b57 | 3,648 | cpp | C++ | src/IceRay/camera/dof/cone.cpp | dmilos/IceRay | 4e01f141363c0d126d3c700c1f5f892967e3d520 | [
"MIT-0"
] | 2 | 2020-09-04T12:27:15.000Z | 2022-01-17T14:49:40.000Z | src/IceRay/camera/dof/cone.cpp | dmilos/IceRay | 4e01f141363c0d126d3c700c1f5f892967e3d520 | [
"MIT-0"
] | null | null | null | src/IceRay/camera/dof/cone.cpp | dmilos/IceRay | 4e01f141363c0d126d3c700c1f5f892967e3d520 | [
"MIT-0"
] | 1 | 2020-09-04T12:27:52.000Z | 2020-09-04T12:27:52.000Z | #include "./cone.hpp"
#include "IceRay/utility/random.hpp"
#include "math/function/function.hpp"
using namespace GS_DDMRM::S_IceRay::S_camera::S_dof;
GS_DDMRM::S_IceRay::S_utility::S_table::GC_hexagon GC_cone::M2s_hexagon( 20 );
GC_cone::GC_cone()
:GC_cone( &Fs_child(), 1, 0, 1 )
{
}
GC_cone::GC... | 26.434783 | 131 | 0.640077 | dmilos |
7e98b11215a75e0113d7b3aea462bdeacac0a554 | 9,075 | cc | C++ | paddle/fluid/framework/ir/generate_pass_tester.cc | L-Net-1992/Paddle | 4d0ca02ba56760b456f3d4b42a538555b9b6c307 | [
"Apache-2.0"
] | 11 | 2016-08-29T07:43:26.000Z | 2016-08-29T07:51:24.000Z | paddle/fluid/framework/ir/generate_pass_tester.cc | L-Net-1992/Paddle | 4d0ca02ba56760b456f3d4b42a538555b9b6c307 | [
"Apache-2.0"
] | null | null | null | paddle/fluid/framework/ir/generate_pass_tester.cc | L-Net-1992/Paddle | 4d0ca02ba56760b456f3d4b42a538555b9b6c307 | [
"Apache-2.0"
] | 1 | 2021-09-24T11:23:36.000Z | 2021-09-24T11:23:36.000Z | // Copyright (c) 2021 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... | 42.406542 | 79 | 0.608485 | L-Net-1992 |
7e99bff8822e5d2d5f18f8c59410f9d2ce56cc5a | 2,953 | cpp | C++ | Button/QCheckBox/mainwindow.cpp | Sakura1221/QtStudy | 34d24affada2a10c901fb9571473a33c871201fa | [
"MIT"
] | 4 | 2021-06-17T02:58:18.000Z | 2021-11-09T11:40:37.000Z | Button/QCheckBox/mainwindow.cpp | Sakura1221/QtStudy | 34d24affada2a10c901fb9571473a33c871201fa | [
"MIT"
] | null | null | null | Button/QCheckBox/mainwindow.cpp | Sakura1221/QtStudy | 34d24affada2a10c901fb9571473a33c871201fa | [
"MIT"
] | 1 | 2021-06-26T07:42:20.000Z | 2021-06-26T07:42:20.000Z | #include "mainwindow.h"
#include "ui_mainwindow.h"
#include <QDebug>
MainWindow::MainWindow(QWidget *parent)
: QMainWindow(parent)
, ui(new Ui::MainWindow)
{
ui->setupUi(this);
//设置根结点的三态属性
ui->wives->setTristate(true);
// 当父结点状态改变后,子结点也要相应改变(只有全选或全未选两种状态)
// 为了避免信号冲突,捕获clicked信号
// 需... | 22.203008 | 88 | 0.568236 | Sakura1221 |
7e9f61a31dc9853bbab43312588fdb215881f3df | 607 | cpp | C++ | doc/recursion/code/13_dynamic_programming_stairs.cpp | CodeLingoBot/learn | d7ea19cb9a887ec60435698b9e945a110163eea2 | [
"CC-BY-4.0"
] | 1,235 | 2015-09-08T20:21:49.000Z | 2022-03-28T10:54:28.000Z | doc/recursion/code/13_dynamic_programming_stairs.cpp | fengpf/learn | d7ea19cb9a887ec60435698b9e945a110163eea2 | [
"CC-BY-4.0"
] | 10 | 2015-09-08T23:16:52.000Z | 2021-12-15T01:15:13.000Z | doc/recursion/code/13_dynamic_programming_stairs.cpp | fengpf/learn | d7ea19cb9a887ec60435698b9e945a110163eea2 | [
"CC-BY-4.0"
] | 183 | 2015-09-08T14:46:09.000Z | 2022-03-06T07:03:31.000Z | #include <iostream>
#include <map>
using namespace std;
int countDynamic(int n, map<int,int>& mm)
{
if (n < 0)
return 0;
else if (n == 0)
return 1;
else if (mm[n] > 0)
return mm[n];
mm[n] = countDynamic(n-1, mm) + \
countDynamic(n-2, mm) + \
countDynamic(n-3, mm);
return mm[n];
}
int main()
{
map<in... | 14.804878 | 63 | 0.522241 | CodeLingoBot |
7e9f6cb6cf91773920d9c0461874a0d37d7b8345 | 1,177 | cpp | C++ | Actor/Characters/Enemy/E3/StateAI/StateMng_AI_EnemyE3.cpp | Bornsoul/Revenger_JoyContinue | 599716970ca87a493bf3a959b36de0b330b318f1 | [
"MIT"
] | null | null | null | Actor/Characters/Enemy/E3/StateAI/StateMng_AI_EnemyE3.cpp | Bornsoul/Revenger_JoyContinue | 599716970ca87a493bf3a959b36de0b330b318f1 | [
"MIT"
] | null | null | null | Actor/Characters/Enemy/E3/StateAI/StateMng_AI_EnemyE3.cpp | Bornsoul/Revenger_JoyContinue | 599716970ca87a493bf3a959b36de0b330b318f1 | [
"MIT"
] | null | null | null | // Fill out your copyright notice in the Description page of Project Settings.
#include "StateMng_AI_EnemyE3.h"
#include "StateRoot_AI_EnemyE3.h"
#include "../AIC_EnemyE3.h"
UStateMng_AI_EnemyE3::UStateMng_AI_EnemyE3()
{
}
UStateMng_AI_EnemyE3::~UStateMng_AI_EnemyE3()
{
}
void UStateMng_AI_EnemyE3::Init(class AAI... | 26.75 | 106 | 0.7774 | Bornsoul |
7ea12f60bea230787f42772c870f7e48e1ea77ca | 1,926 | hpp | C++ | headers/board.hpp | MartinKondor/WildTetris | 84a8c84762b674b9b407f5122e3b35dad4d444ce | [
"MIT"
] | null | null | null | headers/board.hpp | MartinKondor/WildTetris | 84a8c84762b674b9b407f5122e3b35dad4d444ce | [
"MIT"
] | 1 | 2019-05-30T12:31:46.000Z | 2019-06-04T09:40:36.000Z | headers/board.hpp | MartinKondor/WildTetris | 84a8c84762b674b9b407f5122e3b35dad4d444ce | [
"MIT"
] | null | null | null | /*---------------------------------------------------------------
The Board, where each tetromino is stored,
and the collusion detection takes place.
---------------------------------------------------------------*/
#ifndef _BOARD_
#define _BOARD_
#include "tetromino.hpp"
#define BOARD_HEIGHT 15
#define BOARD_WIDTH... | 23.777778 | 85 | 0.607996 | MartinKondor |
7ea324a5d6413d9be9ad5ad01d8c1da842586b85 | 580 | cpp | C++ | example/iterable/at.cpp | rbock/hana | 2b76377f91a5ebe037dea444e4eaabba6498d3a8 | [
"BSL-1.0"
] | 2 | 2015-05-07T14:29:13.000Z | 2015-07-04T10:59:46.000Z | example/iterable/at.cpp | rbock/hana | 2b76377f91a5ebe037dea444e4eaabba6498d3a8 | [
"BSL-1.0"
] | null | null | null | example/iterable/at.cpp | rbock/hana | 2b76377f91a5ebe037dea444e4eaabba6498d3a8 | [
"BSL-1.0"
] | null | null | null | /*
@copyright Louis Dionne 2014
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
#include <boost/hana/detail/assert.hpp>
#include <boost/hana/integral.hpp>
#include <boost/hana/list/instance.hpp>
using namespace boost::hana;
... | 29 | 78 | 0.674138 | rbock |
7ea3e4fa4f2f94bac0ff40745f8e800c0968fb86 | 50,109 | cc | C++ | bindings/v8_opengl_es2.cc | slightlyoff/bravo | 450d13427a27ac4f276ecac5bc350b81de838a6b | [
"BSD-3-Clause"
] | 5 | 2015-12-17T19:48:38.000Z | 2021-05-07T15:45:15.000Z | bindings/v8_opengl_es2.cc | slightlyoff/bravo | 450d13427a27ac4f276ecac5bc350b81de838a6b | [
"BSD-3-Clause"
] | null | null | null | bindings/v8_opengl_es2.cc | slightlyoff/bravo | 450d13427a27ac4f276ecac5bc350b81de838a6b | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "bravo/bindings/v8_opengl_es2.h"
#include "base/strings/stringprintf.h"
#include "bravo/bindings/util.h"
#include "bravo/plugin/instance.h"
... | 46.354302 | 166 | 0.585304 | slightlyoff |
7ea3f9a1df3bd3da6eca305d090830fb52b18294 | 3,503 | cc | C++ | chromecast/media/cma/backend/media_pipeline_backend_wrapper.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chromecast/media/cma/backend/media_pipeline_backend_wrapper.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chromecast/media/cma/backend/media_pipeline_backend_wrapper.cc | metux/chromium-deb | 3c08e9b89a1b6f95f103a61ff4f528dbcd57fc42 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // Copyright 2016 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 "chromecast/media/cma/backend/media_pipeline_backend_wrapper.h"
#include "base/logging.h"
#include "base/memory/ptr_util.h"
#include "chromecast... | 26.740458 | 80 | 0.750785 | metux |
7ea58079b6255985d1f6beb4f64afc078e105862 | 1,481 | cpp | C++ | Curs/En/ProjectCourse5/ProjectCourse5/Source.cpp | catalinboja/cpp_examples_2017 | 8671fa984e3ca3e9f0d74a7e6869f6730dcf4056 | [
"Apache-2.0"
] | null | null | null | Curs/En/ProjectCourse5/ProjectCourse5/Source.cpp | catalinboja/cpp_examples_2017 | 8671fa984e3ca3e9f0d74a7e6869f6730dcf4056 | [
"Apache-2.0"
] | null | null | null | Curs/En/ProjectCourse5/ProjectCourse5/Source.cpp | catalinboja/cpp_examples_2017 | 8671fa984e3ca3e9f0d74a7e6869f6730dcf4056 | [
"Apache-2.0"
] | 4 | 2017-11-16T17:18:12.000Z | 2018-07-14T05:43:34.000Z | #include<iostream>
using namespace std;
class Student {
private:
char* name;
int age;
const int id;
const int personalID;
static int noStudents;
Student():id(1),personalID(0) {
Student::noStudents += 1;
this->age = 18;
this->name = new char[strlen("John")+1];
strcpy(this->name, "John");
}
public:
St... | 18.5125 | 70 | 0.635381 | catalinboja |
7ea632659d78f66c799da5c115d5812060e893c0 | 2,942 | hpp | C++ | src/siili/kz/data_object_vector_list_impl.hpp | siilisolutions-pl/siili-kzutils | 567e1f17160899911939d2402ee60550d6309e90 | [
"Apache-2.0"
] | 1 | 2019-10-07T15:58:29.000Z | 2019-10-07T15:58:29.000Z | src/siili/kz/data_object_vector_list_impl.hpp | siilisolutions-pl/siili-kzutils | 567e1f17160899911939d2402ee60550d6309e90 | [
"Apache-2.0"
] | null | null | null | src/siili/kz/data_object_vector_list_impl.hpp | siilisolutions-pl/siili-kzutils | 567e1f17160899911939d2402ee60550d6309e90 | [
"Apache-2.0"
] | 1 | 2019-10-07T16:38:37.000Z | 2019-10-07T16:38:37.000Z | #ifndef SIILI__KZ__DATA_OBJECT_VECTOR_LIST_IMPL_HPP
#define SIILI__KZ__DATA_OBJECT_VECTOR_LIST_IMPL_HPP
#include <algorithm>
#include <kanzi/core.ui/data/data_object.hpp>
#include <kanzi/core.ui/data/data_object_list.hpp>
#include <memory>
#include <siili/kz/data_object_dynamic_list.hpp>
#include <utility>
#include <v... | 25.807018 | 116 | 0.743372 | siilisolutions-pl |
7ea7b75c29ff9d489fae9263e40124805ca0fd04 | 15,112 | cxx | C++ | main/svx/source/dialog/dialcontrol.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 679 | 2015-01-06T06:34:58.000Z | 2022-03-30T01:06:03.000Z | main/svx/source/dialog/dialcontrol.cxx | Grosskopf/openoffice | 93df6e8a695d5e3eac16f3ad5e9ade1b963ab8d7 | [
"Apache-2.0"
] | 102 | 2017-11-07T08:51:31.000Z | 2022-03-17T12:13:49.000Z | main/svx/source/dialog/dialcontrol.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... | 28.621212 | 108 | 0.625199 | Grosskopf |
7ea8ae9aaa21af63f1bcee21ef1be9fb2b852ebc | 632 | cpp | C++ | src/Queue.cpp | dylsonowski/Producer_Consumers_Scheme | b784dc1f497f41c13d7ddee51c73e39a6daeb923 | [
"Apache-2.0"
] | null | null | null | src/Queue.cpp | dylsonowski/Producer_Consumers_Scheme | b784dc1f497f41c13d7ddee51c73e39a6daeb923 | [
"Apache-2.0"
] | null | null | null | src/Queue.cpp | dylsonowski/Producer_Consumers_Scheme | b784dc1f497f41c13d7ddee51c73e39a6daeb923 | [
"Apache-2.0"
] | null | null | null | #include "Queue.h"
std::mutex Queue::s_queueBlock;
bool Queue::s_creationProcessFinished = false;
void Queue::ChangeQueueStatus(bool canRead, bool canWrite) {
_canRead = canRead;
_canWrite = canWrite;
}
bool Queue::AddElement(std::array<int, 100000> newElement) {
if (_canWrite) {
s_queueBlock.lock();
_taskQue... | 20.387097 | 60 | 0.71519 | dylsonowski |
7ead7044df37b77e631c423666929b1980841d4c | 12,726 | cpp | C++ | src/message_manager.cpp | klei1984/max | dc0f9108bbcfd4cb73ea101883d551c612097469 | [
"MIT"
] | 19 | 2020-02-06T17:41:39.000Z | 2022-03-31T07:38:15.000Z | src/message_manager.cpp | klei1984/max | dc0f9108bbcfd4cb73ea101883d551c612097469 | [
"MIT"
] | 9 | 2020-02-14T15:46:46.000Z | 2021-12-22T16:35:53.000Z | src/message_manager.cpp | klei1984/max | dc0f9108bbcfd4cb73ea101883d551c612097469 | [
"MIT"
] | null | null | null | /* Copyright (c) 2021 M.A.X. Port Team
*
* 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, ... | 35.747191 | 120 | 0.63995 | klei1984 |
7ead720914b8f04b9d2f83f5db5bfd9789445a62 | 460 | cpp | C++ | Me.cpp | adityas129/ECE-150 | 0db483690ad2ce8fe1d5df4994c55bddc7a32569 | [
"MIT"
] | null | null | null | Me.cpp | adityas129/ECE-150 | 0db483690ad2ce8fe1d5df4994c55bddc7a32569 | [
"MIT"
] | null | null | null | Me.cpp | adityas129/ECE-150 | 0db483690ad2ce8fe1d5df4994c55bddc7a32569 | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int main(){
cout << "My name is Aditya Sharma." << endl;
cout << "My UserID is a273shar." << endl;
cout << "I am in Electrical Engineering" << endl;
cout << "I like programming because it is a very intellectually stimulating process. When you are solving a question, its... | 32.857143 | 248 | 0.708696 | adityas129 |
7eae8153038ba986de7660142658879d2ae4ab80 | 2,676 | cpp | C++ | 4/src/InterfaceFileSystem.cpp | AlinaNenasheva/operating-systems | 9f04381945aa7870dff9616b45c6d07e96701bd7 | [
"MIT"
] | null | null | null | 4/src/InterfaceFileSystem.cpp | AlinaNenasheva/operating-systems | 9f04381945aa7870dff9616b45c6d07e96701bd7 | [
"MIT"
] | null | null | null | 4/src/InterfaceFileSystem.cpp | AlinaNenasheva/operating-systems | 9f04381945aa7870dff9616b45c6d07e96701bd7 | [
"MIT"
] | null | null | null | #pragma once
#include <map>
#include "FileExistException.cpp"
#include "FileNotFoundException.cpp"
#include "OutOfMemoryException.cpp"
#include "CustomFile.cpp"
#define FILE_NOT_FOUND 0
#define DEFAULT_TOTAL_MEMORY 1024
using namespace std;
class InterfaceFileSystem {
private:
map<string, CustomFile *> *nameTo... | 28.168421 | 107 | 0.612855 | AlinaNenasheva |
7eb340e9f9ce1ad7b6adb4eec682b41d149ac8db | 736 | cpp | C++ | lecture_code/lecture6_1/date_class7.cpp | ahurta92/ams562-notes | e66baa1e50654e125902651f388d45cb32c81f00 | [
"MIT"
] | 1 | 2021-09-01T19:09:54.000Z | 2021-09-01T19:09:54.000Z | lecture_code/lecture6_1/date_class7.cpp | ahurta92/ams562-notes | e66baa1e50654e125902651f388d45cb32c81f00 | [
"MIT"
] | null | null | null | lecture_code/lecture6_1/date_class7.cpp | ahurta92/ams562-notes | e66baa1e50654e125902651f388d45cb32c81f00 | [
"MIT"
] | 1 | 2021-11-30T19:26:02.000Z | 2021-11-30T19:26:02.000Z | #include "Month_enum.h"
// class (controls acc)
class Date {
public:
int day() const; // const member: can't modify object
Month month() const; // const member can't modify object
int year() const; // const member can't modify object
void add_day(int n); // non-const member: can modify
void ad... | 20.444444 | 67 | 0.633152 | ahurta92 |
9d176a9145ad7fbc6bbe4820ac5e59ab56825274 | 4,556 | cpp | C++ | Engine/source/forest/ts/tsForestCellBatch.cpp | jyaskus/Torque3D | fcac140405b2fbe7c54e7a2dc6e3b10b79c8983f | [
"Unlicense"
] | 6 | 2015-06-01T15:44:43.000Z | 2021-01-07T06:50:21.000Z | Engine/source/forest/ts/tsForestCellBatch.cpp | timmgt/Torque3D | ebc6c9cf3a2c7642b2cd30be3726810a302c3deb | [
"Unlicense"
] | null | null | null | Engine/source/forest/ts/tsForestCellBatch.cpp | timmgt/Torque3D | ebc6c9cf3a2c7642b2cd30be3726810a302c3deb | [
"Unlicense"
] | 10 | 2015-01-05T15:58:31.000Z | 2021-11-20T14:05:46.000Z | //-----------------------------------------------------------------------------
// Copyright (c) 2012 GarageGames, LLC
//
// 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 restrictio... | 30.373333 | 115 | 0.645303 | jyaskus |
9d196c5aefd16eff10981d4fc13eb7160a19db1a | 147 | cpp | C++ | Pong/src/Paddle.cpp | tbui468/pong | ff1ade4db34ac6b329ab1628e579550f4863968c | [
"MIT"
] | null | null | null | Pong/src/Paddle.cpp | tbui468/pong | ff1ade4db34ac6b329ab1628e579550f4863968c | [
"MIT"
] | null | null | null | Pong/src/Paddle.cpp | tbui468/pong | ff1ade4db34ac6b329ab1628e579550f4863968c | [
"MIT"
] | null | null | null | #include "Paddle.h"
void Paddle::move(int key, unsigned int delta_time) {
update_location(m_h_velocity * key, m_v_velocity * key, delta_time);
} | 24.5 | 69 | 0.748299 | tbui468 |
9d19bf9f94485656e748eb749dc0a026a2342f57 | 1,332 | cpp | C++ | src/X-GSD/ComponentSprite.cpp | iPruch/X-GSD | 1f0b294e27f5aee0fb0448207cd1091c9d42ae44 | [
"Zlib"
] | 2 | 2015-01-04T22:17:23.000Z | 2017-04-28T14:19:56.000Z | src/X-GSD/ComponentSprite.cpp | iPruch/X-GSD | 1f0b294e27f5aee0fb0448207cd1091c9d42ae44 | [
"Zlib"
] | null | null | null | src/X-GSD/ComponentSprite.cpp | iPruch/X-GSD | 1f0b294e27f5aee0fb0448207cd1091c9d42ae44 | [
"Zlib"
] | null | null | null | #include <X-GSD/ComponentSprite.hpp>
using namespace xgsd;
ComponentSprite::ComponentSprite(const sf::Texture& texture)
: mSprite(texture)
{
// Load resources here (RAII)
// If this constructor is used and no texture rect is specified it will be as big as the texture
}
ComponentSprite::ComponentSpri... | 20.181818 | 104 | 0.726727 | iPruch |