blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fdcb9a0a2aeea390b915657579e387a3f46172ac | 048c3458ae317f62f07ee29ad3a6cff63f68af53 | /DesktopLiveStreaming/DesktopLiveStreaming.cpp | 2cef57b6cf01aea4ebbc61ba2d598e40e4a09beb | [] | no_license | AnthonyZheng/DesktopLiveStreaming | a6d74ceb79323129bf63a733040913dcb757b67b | ac586ab0415a4ddbf5f71c3bed9cafd28b613ffb | refs/heads/master | 2020-06-18T03:41:41.895053 | 2016-11-28T08:08:36 | 2016-11-28T08:08:36 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 7,182 | cpp | // DesktopLiveStreaming.cpp : 定义应用程序的入口点。
//
#include "stdafx.h"
#include "DesktopLiveStreaming.h"
#include "AppContext.h"
#include "DesktopImageSource.h"
#include "RingCacheBuffer.h"
#include "DXGIDesktopOutputSystem.h"
#include "AudioSoureAACStream.h"
#include "HLS_Server.h"
#include "Connection.h"
#include "FlvL... | [
"main dark"
] | main dark |
5ed70975e4dfeaf0f98ef610311f6e1981707ebc | 90047daeb462598a924d76ddf4288e832e86417c | /net/quic/core/quic_header_list.h | b460d41fb97372baa0ba867d062891b82117bc00 | [
"BSD-3-Clause"
] | permissive | massbrowser/android | 99b8c21fa4552a13c06bbedd0f9c88dd4a4ad080 | a9c4371682c9443d6e1d66005d4db61a24a9617c | refs/heads/master | 2022-11-04T21:15:50.656802 | 2017-06-08T12:31:39 | 2017-06-08T12:31:39 | 93,747,579 | 2 | 2 | BSD-3-Clause | 2022-10-31T10:34:25 | 2017-06-08T12:36:07 | null | UTF-8 | C++ | false | false | 2,582 | h | // Copyright (c) 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.
#ifndef NET_QUIC_CORE_QUIC_HEADER_LIST_H_
#define NET_QUIC_CORE_QUIC_HEADER_LIST_H_
#include <algorithm>
#include <deque>
#include <functional>
#inc... | [
"xElvis89x@gmail.com"
] | xElvis89x@gmail.com |
b4c0ea9dde3419daf0d187d89c2397b8e6b505d6 | 80d2631d40972c2c9581836d31aba485f6d76e66 | /Engine/Renderer/Vulkan/src/Command/VKCommandEndRecord.h | fb684b85dbce6426f373cd1bc78365910f1bb667 | [
"BSD-2-Clause"
] | permissive | syejiang/AresEngine | a411426dcebee945cff6609c835dafd0ab6dd86c | 16cd7746a5e2528b85685b45cf4e902e7d0f5f0e | refs/heads/master | 2020-07-24T12:41:13.552474 | 2019-09-11T13:05:41 | 2019-09-11T13:05:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 535 | h | #pragma once
#include "GfxCommandBuffer.h"
class CVKCommandEndRecord : public CGfxCommandBase
{
public:
CVKCommandEndRecord(VkCommandBuffer vkCommandBuffer)
: m_vkCommandBuffer(vkCommandBuffer)
{
Execute();
}
virtual ~CVKCommandEndRecord(void)
{
}
public:
virtual void Execute(void) const
{
ASSERT(m_vk... | [
"LiangYue1981816@Hotmail.com"
] | LiangYue1981816@Hotmail.com |
51317e10baae6275b4a688ae6dbf4d720c2288f3 | 9ac2a0e4770e20315fdd68b0944cfffe7d8dc997 | /Assignment-6/taylor.cpp | 41e5963702390a305915e75c8b24ed248d70f04f | [] | no_license | reidmcy/PHYS-239 | cb0662ea37a0770cbf40b4b3d0c181bdf4c4b6c7 | 36c9c8e37d462482d83827027b34821fec086fd0 | refs/heads/master | 2020-04-06T06:52:41.176596 | 2014-04-28T01:12:49 | 2014-04-28T01:12:49 | 16,176,956 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 928 | cpp | //Question 4
//Reid McIlroy-Young
//20416412
//March 11,2014
#include <iostream>
#include <math.h>
#include "discpp.h"
using namespace std;
Dislin G;
const int points = 10;
double fun(double x) {
return x*x*x*x*x*x;
}
double deriv(double f(double), double aX, double aDel) {
return (f(aX + aDel) - f(aX)) /... | [
"Reid@v1020-wn-16-100.campus-dynamic.uwaterloo.ca"
] | Reid@v1020-wn-16-100.campus-dynamic.uwaterloo.ca |
73fe2c055b8eeba39a953ab763d7717d76206cce | e6da6eb616e72fa0ec97fb38e473f359dc9d1415 | /test/TestMain.cpp | 8bf2256705fe2415a7f00784d46e2d6339b55c99 | [
"MIT"
] | permissive | enlyze/scope-guard | 71c1ceccf6b296284d347ac1ac40c29ed2777841 | d5a555a7e24c742a281693f9f6e72a58df6e15ac | refs/heads/master | 2020-08-30T07:30:29.839294 | 2019-10-27T13:04:41 | 2019-10-27T13:04:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,732 | cpp | // MIT License
//
// Copyright (c) 2017-2019 offa
//
// 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, m... | [
"bm-dev@yandex.com"
] | bm-dev@yandex.com |
934825275b0c35c3cd7d4d4b5032c76bafd66c1f | b551859fdf0041911c6d1d9184786213e341319d | /leetcode_188. Best Time to Buy and Sell Stock IV_O(kn) space + O(n) time.cpp | ea989d0531d6ca45c73f871291f47eb6085281e1 | [] | no_license | huangmxsysu/leetcode | 4b4dcedf105183a67cc540b78420d81cd6df2932 | 67ad6367d21f7437acb39f213344ea9924f76496 | refs/heads/master | 2021-01-22T20:18:34.036796 | 2017-03-17T12:29:55 | 2017-03-17T12:29:55 | 85,309,744 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,455 | cpp | class Solution {
public:
int maxProfit(int k, vector<int>& prices) {
// f[k, ii] represents the max profit up until prices[ii] (Note: NOT ending with prices[ii]) using at most k transactions.
// f[k, ii] = max(f[k, ii-1], prices[ii] - prices[jj] + f[k-1, jj]) { jj in range of [0, ii-1] }
... | [
"995304572@qq.com"
] | 995304572@qq.com |
dda9add4e528c93abe269db7ad4d5c2e600f2027 | 7a11814cb2d966035582e0334f184d4786a4f79d | /rocksdb-cloud/db/version_set.cc | 36e9c527d4dfd6135de7b57f942bc4d076e9919a | [
"Apache-2.0",
"GPL-2.0-only",
"BSD-3-Clause"
] | permissive | naivewong/YCSB-C | f6e1efadfa69688b1a7311b5ce18fe6b4ca4e9a8 | 9a603e95083950278ed0972e2ee889edf77e4148 | refs/heads/master | 2022-12-16T16:16:00.106547 | 2020-09-13T12:52:50 | 2020-09-13T12:52:50 | 257,572,961 | 0 | 0 | Apache-2.0 | 2020-04-21T11:26:35 | 2020-04-21T11:26:34 | null | UTF-8 | C++ | false | false | 218,927 | cc | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved.
// This source code is licensed under both the GPLv2 (found in the
// COPYING file in the root directory) and Apache 2.0 License
// (found in the LICENSE.Apache file in the root directory).
//
// Copyright (c) 2011 The LevelDB Authors. All rights r... | [
"867245430@qq.com"
] | 867245430@qq.com |
3b976e2b7e974c4b30401c54b9207bfe89c7aec7 | fbe77e9e2a53a4600a1d9b00b5f2c29ee3e8c59a | /externals/binaryen/test/emscripten/tests/poppler/qt4/src/poppler-link-extractor.cc | e9806b5948888a4f76bd3f1c6cde76d7e95da26d | [
"MIT",
"NCSA",
"GPL-1.0-or-later",
"GPL-2.0-or-later",
"LGPL-2.0-or-later",
"GPL-2.0-only",
"Apache-2.0",
"BSD-3-Clause"
] | permissive | AcuteAngleCloud/Acute-Angle-Chain | 8d4a1ad714f6de1493954326e109b6af112561b9 | 5ea50bee042212ccff797ece5018c64f3f50ceff | refs/heads/master | 2021-04-26T21:52:25.560457 | 2020-03-21T07:29:06 | 2020-03-21T07:29:06 | 124,164,376 | 10 | 5 | MIT | 2020-07-16T07:14:45 | 2018-03-07T02:03:53 | C++ | UTF-8 | C++ | false | false | 2,543 | cc | /* poppler-link-extractor_p.h: qt interface to poppler
* Copyright (C) 2007-2008, Pino Toscano <pino@kde.org>
* Copyright (C) 2008, Albert Astals Cid <aacid@kde.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* th... | [
"caokun@acuteangle.cn"
] | caokun@acuteangle.cn |
645c78e16978d09b1c486cf7f45b457ec195b37b | 925f6c59c6cd28b28817054ea2868f3138b35ce0 | /Define.h | 8bcc7b3701c163ece587020e3c2ee21e9f243f08 | [] | no_license | TomomiBahun/Arcade-Shooter-Game-Project-1 | d2ca8f2aecbff364d7b3d847ef3799175507b2c6 | f6e2f70c6a1d5e2a3254ca452cfc9d85454bb765 | refs/heads/master | 2023-05-27T22:17:16.328597 | 2021-03-23T23:00:41 | 2021-03-23T23:00:41 | 290,541,330 | 0 | 0 | null | 2021-01-10T05:28:47 | 2020-08-26T15:57:47 | C++ | UTF-8 | C++ | false | false | 538 | h | #pragma once
class Define final {
public:
const static int WIN_W;
const static int WIN_H;
const static int OUTER_W;
const static int OUTER_H;
const static int INNER_W;
const static int INNER_H;
const static int CENTER_X;
const static int CENTER_Y;
const static int IN_X;
const static int IN_Y;
const static... | [
"tomomibahun@icloud.com"
] | tomomibahun@icloud.com |
74e87335a7fa81fa7345be840f54ce18450e03b5 | 25f1e07d79c2bea95ad39c0b89b2841e5bcd2179 | /src/000-lambda-expression.cpp | 87ee35a70a0e8d93e1582a5d654e62c6ac58afe2 | [] | no_license | Gelio/what-the-javascript | 57376298aba111746b668df8df1cf1df36abe42d | d6aaca144eda72f14c916c8bc8684b1d57a43905 | refs/heads/master | 2020-08-06T03:47:44.004789 | 2019-10-09T21:44:59 | 2019-10-09T21:44:59 | 212,821,975 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 172 | cpp | #include <iostream>
using namespace std;
auto sum(int x) {
return [x](int y) {
return x + y;
};
}
int main()
{
cout<< sum(1)(2); // 3
return 0;
} | [
"grzegorz.rozdzialik@codilime.com"
] | grzegorz.rozdzialik@codilime.com |
a953ebc9bc3aed880515105951817d40df8dc7e5 | f0738d67dfb6cde9ca853e562e5fe35e3cc80b8d | /Source/Engine/Systems/Render/RenderDebugSystem.cpp | 26f604a9cf28bedf5ccaa5f136cef1c109bbf0e5 | [] | no_license | TLeonardUK/VulkanEngine | fcb1ac6e205eb7377e77e9c64b4dde661f8a16ea | af25c592769efb9df9e1ade867c2eccc28f0935e | refs/heads/master | 2020-03-19T10:18:04.204706 | 2018-09-09T21:29:27 | 2018-09-09T21:29:27 | 136,359,347 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,220 | cpp | #include "Pch.h"
#include "Engine/Components/Mesh/MeshComponent.h"
#include "Engine/Systems/Render/RenderDebugSystem.h"
#include "Engine/Systems/Render/RenderCameraViewSystem.h"
#include "Engine/Systems/Mesh/MeshBoundsUpdateSystem.h"
#include "Engine/Systems/Transform/TransformSystem.h"
#include "Engine/Systems/Trans... | [
"infinitus@zombiegrinder.com"
] | infinitus@zombiegrinder.com |
b9498b4a650b0186ec68fb4eb12ee94b6718d377 | 778d12777577b279ca29581442b27ef3c49e4801 | /src/shader.cpp | d1b694b0cd26fb97720b356ad5c143b5f6756f72 | [] | no_license | gui2one/angine | 9ba8fe4321fd2ac6fe138d553877923cf989b94b | 66cdb7f455d12c1acfbffffddc5340acee955aa1 | refs/heads/master | 2020-04-11T03:12:45.385692 | 2019-04-01T21:14:12 | 2019-04-01T21:14:12 | 161,471,023 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,676 | cpp | #include "shader.h"
Shader::Shader(){
}
Shader::~Shader(){
std::cout << "deleting shader \n\n";
}
std::string loadShaderFile(std::string path){
std::ifstream input(path);
std::string output = "";
for( std::string line; std::getline(input, line);){
... | [
"guillaume.rouault.fx@gmail.com.com"
] | guillaume.rouault.fx@gmail.com.com |
2d943f5f89edf9dd01063985065b6f80a7c5ff60 | 8809ff5cae9d5e6747a499ce363e55d2209d3b51 | /arduino/test_comm_JSON.ino | aebd488a9403047993e8a0d7acb55c7fc7e3c066 | [] | no_license | dimaystinov/smena_robofrankenshtain | 6088282c1a4f8e59caa9b8c0dbde4a56aec94b43 | 1bc493b252ae554a20ab1dfab5e994916d8042b1 | refs/heads/main | 2023-08-07T20:24:26.106517 | 2021-09-17T14:47:48 | 2021-09-17T14:47:48 | 396,429,645 | 1 | 1 | null | 2021-08-23T10:37:46 | 2021-08-15T17:16:34 | C++ | UTF-8 | C++ | false | false | 4,502 | ino | /********************************************
* Eduard Petrenko
* 2021-08
* робототехническая смена в Физтех-Лицее
* тест класса для JSON коммуникаций от "головы" до Arduino
от openmv
коэффициенты в ардуино
{
type:"move, rotate";
value: "mm, degrees";
}
от ардуинки
{
status:"0 : ok, -1 : error (приш... | [
"50107426+dimaystinov@users.noreply.github.com"
] | 50107426+dimaystinov@users.noreply.github.com |
aa8bfa8e26d47563cc26d232dcfa6c07cabba028 | 0aed890310c711019c934b208ae3041bf6f6206b | /opengl游戏编程/openglgame/第12章/Collide/GLWindow.h | 39884dc1ba0ea11a813cba4a6439eae0060b73da | [] | no_license | Kranfeit/OpenGlBooks | 80ef6c534c4221c00659459f009d704e2fe3f10b | cfb317ee96e97909f459640dd239bdd26b1a61f2 | refs/heads/master | 2022-03-15T14:25:52.644434 | 2019-11-04T20:38:38 | 2019-11-04T20:38:38 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,777 | h | //========================================================
/**
* @file GLWindows.h
*
* 项目描述: 碰撞检测演示
* 文件描述: 程序窗口类
* 适用平台: Windows98/2000/NT/XP
*
* 作者: WWBOSS
* 电子邮件: wwboss123@gmail.com
* 创建日期: 2006-09-13
* 修改日期: 2006-10-10
*
*/
//==================================================... | [
"twtravel@126.com"
] | twtravel@126.com |
c80c23fc220067bac2da59ca6dfebbf7f141614d | 07b8e2b217cf07b4cf0fe4bdf2521228fcea6a6d | /TwoExecutablesOneMakefile/aux.cpp | 129dfe812356dfe319e50ff4013a269954f256c9 | [] | no_license | HMedeirosDosReis/CSC35500-Fall2020 | 6705d7002fdca8df5618fd746463e69a8dc9c729 | f3462eb42c77537db8d7de671909198b59db4b71 | refs/heads/main | 2023-01-22T19:07:28.906706 | 2020-11-18T22:41:46 | 2020-11-18T22:41:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 101 | cpp | #include <iostream>
using namespace std;
void myPrint(const string &msg)
{
cout << msg << endl;
}
| [
"sblythe@lindenwood.edu"
] | sblythe@lindenwood.edu |
e7cdf7f4446444aff1427ee7eadffdf5be761ef6 | b7eb9e077d16555be877e3ea43bdd55ae8e0a532 | /Monopoly/Special.h | 89778687fc74699071fc2d43dcb05fab29878baf | [] | no_license | AWilliams24Uclan/Monopoly | 5b7d2566f2222d0dd18dc77ed812d6794e5cba9f | dd28c55bc40f1eb4e510604f8e2c5b57e755be9a | refs/heads/master | 2020-04-30T18:30:00.089213 | 2019-03-21T19:25:01 | 2019-03-21T19:25:01 | 177,010,186 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 104 | h | #pragma once
#include "Square.h"
class Special : public Square
{
public:
Special();
~Special();
};
| [
"AWilliams24@uclan.ac.uk"
] | AWilliams24@uclan.ac.uk |
ca1f4348e3b151ebadd6808af717f618ec45f1a5 | 0cccf562a78598c5de2adeb431610ccb93ed9853 | /code/src/stl_errors/Edge.cpp | 8f606c0f8b051577f0f465a48901fc81b4c0c785 | [
"MIT"
] | permissive | sergeykhrykov/rk9students | 1e110ac140eb3ea56fde429d94103ca422e58e06 | 648ce7ef6d390f2d5d7f2711fe728ca34db6b1a4 | refs/heads/master | 2020-04-11T02:05:16.624572 | 2018-07-30T10:42:46 | 2018-07-30T10:42:46 | 68,141,035 | 1 | 11 | null | 2017-01-23T06:42:28 | 2016-09-13T19:38:00 | C++ | UTF-8 | C++ | false | false | 665 | cpp | #include "Edge.h"
using namespace std;
namespace rk9
{
bool EdgesVertice(const Edge& a, const Edge& b, Point& p) {
if (a.A == b.A || a.A == b.B) {
p = a.A;
return true;
}
else if (a.B == b.A || a.B == b.B) {
p = a.B;
return true;
}
return false;
}
bool operator<(const Point& a, const Point& ... | [
"s.khrykov@gmail.com"
] | s.khrykov@gmail.com |
d325c18b160b69005c96d1c016e2eaa05419d6e5 | 4dfa6232cf91f1c04d50809915078dc71fb371b4 | /src/core/include/megbrain/graph/symbol_var.h | ea819a5550657b02a1fb04aaf6c6e01c225a7661 | [
"LicenseRef-scancode-generic-cla",
"Apache-2.0"
] | permissive | hookex/MegEngine | 81c0539a3247873bdabe0e6f22e265e22249e98a | 47fd33880d2db3cae98c55911bb29328cdd5d7e4 | refs/heads/master | 2022-08-01T02:04:06.431689 | 2020-05-22T11:10:17 | 2020-05-22T11:10:17 | 250,200,281 | 1 | 0 | NOASSERTION | 2020-03-26T08:22:39 | 2020-03-26T08:22:39 | null | UTF-8 | C++ | false | false | 8,588 | h | /**
* \file src/core/include/megbrain/graph/symbol_var.h
* MegEngine is Licensed under the Apache License, Version 2.0 (the "License")
*
* Copyright (c) 2014-2020 Megvii Inc. All rights reserved.
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distribute... | [
"megengine@megvii.com"
] | megengine@megvii.com |
cab1a99e67c1bd9a48e571d4b578cdf6be94b763 | 3841f7991232e02c850b7e2ff6e02712e9128b17 | /小浪底泥沙三维/EV_Xld/jni/src/EV_SpatialIndex_Java/wrapper/octree/baseoctreemanager_wrapperjava.cpp | 40a00b8feaa24cf715ad104598bfbe1917da3c5b | [] | no_license | 15831944/BeijingEVProjects | 62bf734f1cb0a8be6fed42cf6b207f9dbdf99e71 | 3b5fa4c4889557008529958fc7cb51927259f66e | refs/heads/master | 2021-07-22T14:12:15.106616 | 2017-10-15T11:33:06 | 2017-10-15T11:33:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 735 | cpp | /* This file is produced by the JNI AutoWrapper Utility
Copyright (c) 2012 by EarthView Image Inc */
#include "spatialindex/octree/baseoctreemanager.h"
#include <jni.h>
#include "core_java/global_reference.h"
#include "core_java/jni_load.h"
#include <typeinfo>
namespace EarthView
{
namespace World
{
namespace Spa... | [
"yanguanqi@aliyun.com"
] | yanguanqi@aliyun.com |
c7c4c027fb9524b4700a2103d33c9b5629f734ca | 5be7ec24889fd14b2f1d32b127c44bdcfe379bda | /Magic_Square.cpp | a131b04a7382751ddb4efb62f0aaf8188c9f2d72 | [] | no_license | utpalendubarman/JWoC_Algorithms | 54dd055caa433ba099a66afe1f4268850be8fefa | 5162fb57dd7232d5de5c7039213a9835a136856b | refs/heads/master | 2020-12-29T18:21:02.521195 | 2020-02-06T13:40:49 | 2020-02-06T13:40:49 | 238,697,510 | 1 | 0 | null | 2020-02-06T13:39:55 | 2020-02-06T13:39:54 | null | UTF-8 | C++ | false | false | 2,477 | cpp |
#include <iostream>
#include <cstdio>
#include <string>
#include <sstream>
#include <vector>
#include <set>
#include <map>
#include <queue>
#include <stack>
#include <cmath>
#include <algorithm>
#include <cstring>
#include <ctime>
#include <cassert>
using namespace std;
#define pb push_back
#define mp make_pair
#defi... | [
"mahmood199@gaudentas199@gmail.com"
] | mahmood199@gaudentas199@gmail.com |
2e95eabbe139fc05d53dc7b0eb140a90f4a496e6 | bd1318a3846ef5f460f59dd61a96a55209c675af | /src/lib/StdMeshLoaderXml.cpp | a45834facbeaf02632288c622a662d6aa84a8be6 | [
"LicenseRef-scancode-unknown-license-reference",
"ISC"
] | permissive | pkern/openclonk-debian | 710642424f9063b989db847349055c14bde78769 | f9e8e340369c51210b1135e119027cee583a8ab8 | refs/heads/master | 2021-05-07T01:36:09.261379 | 2017-06-29T20:31:05 | 2017-06-29T20:31:05 | 110,364,764 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 23,276 | cpp | /*
* OpenClonk, http://www.openclonk.org
*
* Copyright (c) 2001-2009, RedWolf Design GmbH, http://www.clonk.de/
* Copyright (c) 2009-2015, The OpenClonk Team and contributors
*
* Distributed under the terms of the ISC license; see accompanying file
* "COPYING" for details.
*
* "Clonk" is a registered trademark... | [
"pkern@debian.org"
] | pkern@debian.org |
7238b1a500359328e1e23aab53a44225b3652c4c | aefeee8b6c470f654e56f73e288f0c41c605accd | /BITMAP.CPP | fb75ab947f0cb60aa8dc1d23242448cd312e20ed | [] | no_license | jaitaneja/hello123 | f6c15e2ebc15d45ff2646df48a989690a73ddb2a | 9057644d9eb63c26fa61c5077c24f3347bbe22fd | refs/heads/main | 2023-04-25T18:26:34.529956 | 2021-06-05T09:21:41 | 2021-06-05T09:21:41 | 374,071,304 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 478 | cpp | #include<fstream.h>
#include<iostream.h>
#include<conio.h>
#include<process.h>
const int width=225,height=255;
int main()
{
clrscr();
ofstream img("picture.jpg");
img<<"p3"<<endl;
img<<width<<" "<<height<<endl;
img<<"255"<<endl;
for(int y=0;y<height;y++)
{
for(int x=0;x<width;x++)
{
... | [
"noreply@github.com"
] | jaitaneja.noreply@github.com |
cd399dca149c02afc8e7a67765f861fb0d75cb72 | fc22e37fd7cbfba12882ab6a27e5077be6ab5906 | /src/muz/rel/dl_table.h | 1bee7cb47aa1890d0ed7aaeef8d85d821a09a0b4 | [
"MIT"
] | permissive | typesAreSpaces/z3-interp-plus | fc4854193aea65c5a540c343bb29984492c1e766 | cc421ef2276e06bebbc278dcd6a4d284edce21b2 | refs/heads/master | 2023-08-06T12:00:01.406896 | 2023-07-20T22:44:52 | 2023-07-20T22:44:52 | 284,618,312 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,720 | h | /*++
Copyright (c) 2006 Microsoft Corporation
Module Name:
dl_table.h
Abstract:
<abstract>
Author:
Krystof Hoder (t-khoder) 2010-09-01.
Revision History:
--*/
#ifndef DL_TABLE_H_
#define DL_TABLE_H_
#include<iostream>
#include<list>
#include<utility>
#include "ast/ast.h"
#include "util/bit_vector.h"
#in... | [
"jabelcastellanosjoo@unm.edu"
] | jabelcastellanosjoo@unm.edu |
b4a09a4edb7940f081cc5de1d1099c81c3904383 | ab40ea169e25f47725596f7c699fd60ac998dd18 | /lib/Cm/BtSet.cc | cf17711af783863ce78df39dca4f98553bd9aeaf | [] | no_license | weiyj/v6eval-3.3.2-linux | 6530b7feac13acf253f819e9edebc12535527e54 | e63b2e8bbbd333ff3417e8a549a9e3a171e3c4ea | refs/heads/master | 2021-01-10T20:36:28.556490 | 2010-04-02T17:22:18 | 2012-03-09T02:23:25 | 9,726,015 | 1 | 1 | null | null | null | null | ISO-8859-7 | C++ | false | false | 5,092 | cc | /*
* Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
* Yokogawa Electric Corporation, YDC Corporation,
* IPA (Information-technology Promotion Agency, Japan).
* All rights reserved.
*
* Redistribution and use of this software in source and binary forms, with
* or with... | [
"weiyj.lk@gmail.com"
] | weiyj.lk@gmail.com |
36f42b8358852b85ad5c0bd15aedb78da8c141da | 33defc4281fe59837acc7d4428e4e38b18494216 | /captal/src/captal/color.hpp | c700ac76702f956c5a8a30222523133e9382ba28 | [
"MIT"
] | permissive | msiva21/captal-engine | 5ccdaff1d357f053cd761ed9dae0e2ccc095cb07 | 93a5f428b4cee810b529b7c9a9b3bf6504c8f32f | refs/heads/master | 2023-08-27T12:27:29.694403 | 2021-10-28T16:51:57 | 2021-10-28T16:51:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,324 | hpp | //MIT License
//
//Copyright (c) 2021 Alexy Pellegrini
//
//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, ... | [
"alexy.pellegrini@laposte.net"
] | alexy.pellegrini@laposte.net |
cd51c3de098f0c8c54651644691252f5d3edd2c9 | dfd47d4de1169f0a390e94a53711345918a2d8d6 | /Patrick_Schoonheym/firstProject/mainwindow.h | 0d8325e11f02642ae552ed137264ec41369788c7 | [] | no_license | CasperTI/THO78-Roborescue | b801e83ec96d1c658296a6cee7019f67aad4ac60 | 54e3e3711560afbeb7d6637f4e3024e9e4addd4f | refs/heads/master | 2021-01-16T18:44:06.105845 | 2015-03-13T11:14:06 | 2015-03-13T11:14:06 | 32,157,567 | 0 | 0 | null | 2015-03-13T13:33:21 | 2015-03-13T13:33:21 | null | UTF-8 | C++ | false | false | 655 | h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QFileDialog>
#include <iostream>
#include <vector>
#include <string>
#include "map.h"
#include "gui.h"
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = ... | [
"patrick.schoonheym@student.hu.nl"
] | patrick.schoonheym@student.hu.nl |
bcefe3e2b64e0d7bb897e178e81e9d2b6b04df4d | 09b7c4832d426944ff9637c07272cef0cea68b30 | /src/interface/Fonts.hpp | fff0818241cd8bfb6d0a8f3f11d22d16ee7172e5 | [] | no_license | RFEphemeration/farb | 4383b2f58e6d9b843a531506718c60cafd73b3f4 | 9178984ee2868bf55526100aada06044f1abad12 | refs/heads/master | 2023-05-26T11:35:08.318504 | 2020-12-19T00:36:43 | 2020-12-19T00:36:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 335 | hpp | #ifndef FARB_FONTS_HPP
#define FARB_FONTS_HPP
#include "../core/BuiltinTypedefs.h"
#include "../core/NamedType.hpp"
namespace Farb
{
namespace UI
{
NAMED_TYPE_TAG(FontName);
using FontName = NamedType<std::string, FontNameTag>;
//NAMED_TYPE(std::string, FontName);
} // namespace UI
} // namespace Farb
#endif //... | [
"robinson.farrar@gmail.com"
] | robinson.farrar@gmail.com |
dea0822bdf8a8aeb48e0e41742f0e1886d900c55 | ef5504db423f7b0258d8bdefacb12236d76f2bb6 | /src/vbh/sdk/plugin/vbh_crypt_client_service/vbh_crypt_client_service.cpp | ccf443d041a8fa62d910fe557f968df87fdd1793 | [] | no_license | tafchain/vprotocol | cc0fc6f7453072a6941af761bb79f1a33dca6127 | bd2b5b83046d8af7746617a130fb56be230ce4cc | refs/heads/master | 2023-06-02T12:44:19.228025 | 2021-06-17T07:49:42 | 2021-06-17T07:49:42 | 377,747,826 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 59,831 | cpp | #include "dsc/mem_mng/dsc_allocator.h"
#include "dsc/configure/dsc_configure.h"
#include "common/vbh_comm_error_code.h"
#include "common/vbh_comm_msg_def.h"
#include "common/vbh_comm_wrap_msg_def.h"
#include "common/vbh_comm_func.h"
#include "common/vbh_encrypt_lib.h"
#include "vbh_crypt_client_service/vbh_crypt_clie... | [
"coreteam@tafchain.com"
] | coreteam@tafchain.com |
90092ccf0306cd1521e1d0b31e6f6d1cc0b10fb1 | c30d569807cb17258e06652985499d11cc3110c6 | /test.cpp | 598e38fc58eddfe71be38e5793636faa55634177 | [] | no_license | lialan/runtime_template | 988fd0b7186481a19ea3527fa11b0b01395a9c8d | 01ba89691bc80e609ec767fc53e7040603fe516f | refs/heads/master | 2023-08-18T21:55:59.150456 | 2021-10-23T03:22:40 | 2021-10-23T03:22:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,678 | cpp | #include <iostream>
#include <sstream>
#include <fstream>
#include <fmt/core.h>
#include <dlfcn.h>
#include <vector>
static void gen_source_code(std::string t1, std::string t2, std::string file) {
std::cout << "Generating library function source code:" << std::endl;
std::ifstream header_file;
header_file.open... | [
"alan.li@me.com"
] | alan.li@me.com |
51a2a8853a4b30859ada8b57454c5c35d1c92dc6 | 6197258fbe796f9e578b77da274907559d2cfb06 | /MFC_Exia_Debugger/MFC_Exia_Debugger.cpp | dd831cd5d71d233d5466df5780bcf08f121b72dd | [] | no_license | Jackie-Yang/MFC_Exia_Debugger | 0228d240fa80776e11cf42135d14df40ae6356d2 | 9784a4981886082fc9e1e5cd86897735a8a8d1ca | refs/heads/master | 2021-06-23T01:09:12.824609 | 2017-06-12T02:01:20 | 2017-06-12T02:01:20 | 88,024,022 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,968 | cpp |
// MFC_Exia_Debugger.cpp : 定义应用程序的类行为。
//
#include "stdafx.h"
#include "MFC_Exia_Debugger.h"
#include "MFC_Exia_DebuggerDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CMFC_Exia_DebuggerApp
BEGIN_MESSAGE_MAP(CMFC_Exia_DebuggerApp, CWinApp)
ON_COMMAND(ID_HELP, &CWinApp::OnHelp)
END_MESSAGE_MAP()
// CMFC_E... | [
"921622129@qq.com"
] | 921622129@qq.com |
9d391ea300ac6ea4931f047e7d7bb3a93fd18d49 | fbdc06812e06e27746cf171398b6b740084c99d9 | /ClassNObjects/person_deepCpy/main.cpp | c76066596b0959b7a3c5aabebc57e18a23721a29 | [] | no_license | frozenbanana/DV1497 | dd7fbb6a9e4e560bb22ed62f9e02c108554a0056 | 038707c9932f1f32b3c113d10a31301b42c4c9a2 | refs/heads/master | 2021-01-10T11:06:32.322934 | 2016-02-27T20:17:55 | 2016-02-27T20:17:55 | 50,668,307 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 197 | cpp | #include "person.h"
int main(){
Person p1("Eva", 23);
p1.introduce();
Person p2 = p1;
p2.introduce();
p1.changeNameAndAge("sara",80);
p1.introduce();
p2.introduce();
return 0;
}
| [
"henrybergstrom1@gmail.com"
] | henrybergstrom1@gmail.com |
2781af35d7e1792909a828d9f264226a67616255 | 7af554ff51603fd9f01903577be9836aba03e3f1 | /src/BuildEvents.cc | 382ad8f3d916891e07a3f184b7dcc79771c712c6 | [] | no_license | wimmer-k/Salvador | eaf042ab918eb5f958cad496273e535d84f028c7 | 9241b66b298c6231a95d8787a75567afee32094f | refs/heads/master | 2021-12-15T00:50:48.146849 | 2021-12-13T16:46:23 | 2021-12-13T16:46:23 | 51,063,680 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,757 | cc | #include "BuildEvents.hh"
using namespace std;
/*!
Initialyze the event building
\param brtr tree with input bigrips data
\param watr tree with input wasabi data
\param eutr tree with input eurica data
*/
void BuildEvents::Init(TTree* brtr, TTree* watr, TTree* eutr){
flastevent = -1;
fhasBR = false;
fhas... | [
"wimmer@phys.s.u-tokyo.ac.jp"
] | wimmer@phys.s.u-tokyo.ac.jp |
4dc6b23c8656e05a965262e96263e7339a6744fa | 9b7267949e18554a9de9e53c282fcb36bd813f54 | /Config_Licenses.hpp | 6ca2fb041dda0978f7dba820f211d98b17e8379f | [] | no_license | Kronyxxx/Prices | 2ac8cb1f9583178fb40f1014e880b76a0e74b7d2 | e1c2d306eb1102356057432a8fe6b66e59841aa5 | refs/heads/master | 2021-01-20T17:50:49.244372 | 2016-06-27T20:04:09 | 2016-06-27T20:04:09 | 62,008,386 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,003 | hpp | /*
* class:
* variable = Variable Name
* displayName = License Name
* price = License Price
* illegal = Illegal License
* side = side indicator
*/
class Licenses {
//Civilian Licenses
class driver {
variable = "driver";
displayName = "STR_License_Driver";
... | [
"twsmattmcc@gmail.com"
] | twsmattmcc@gmail.com |
39f7ddfa235d48cc9d1dd32fa8ec7e16b0080c2c | 230b7714d61bbbc9a75dd9adc487706dffbf301e | /base/fuchsia/scoped_service_binding_unittest.cc | 3858ae2b268557ec2a9d2194718a200271577f27 | [
"BSD-3-Clause"
] | permissive | byte4byte/cloudretro | efe4f8275f267e553ba82068c91ed801d02637a7 | 4d6e047d4726c1d3d1d119dfb55c8b0f29f6b39a | refs/heads/master | 2023-02-22T02:59:29.357795 | 2021-01-25T02:32:24 | 2021-01-25T02:32:24 | 197,294,750 | 1 | 2 | BSD-3-Clause | 2019-09-11T19:35:45 | 2019-07-17T01:48:48 | null | UTF-8 | C++ | false | false | 4,006 | cc | // Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/fuchsia/scoped_service_binding.h"
#include "base/fuchsia/service_directory_test_base.h"
#include "base/run_loop.h"
#include "testing/gtest... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
6953d212f934d20826e01bbdbc497903af2f27a6 | 1e3da17ce5d361ebc72375afc2598ba025cdc7d8 | /myitem.cpp | 2231f1d681c9cb8a2ececa923922c7d0b0e2f3e7 | [] | no_license | wehao/MyMaterial | dd707d9693c70acdef9610bee805856e68d5993f | 5aba573c12f803fa9c20fbd4c53f53c7720420d0 | refs/heads/master | 2020-09-22T13:38:28.468923 | 2016-09-09T09:01:56 | 2016-09-09T09:01:56 | 67,687,674 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 677 | cpp | #include "myitem.h"
#include <QColor>
#include <QPen>
#include <QPainter>
MyItem::MyItem(QQuickItem *parent)
:QQuickPaintedItem(parent)
{ }
QColor MyItem::color()const
{
return m_color;
}
void MyItem::setColor(const QColor &color)
{
if(color != m_color)
m_color = color;
//emit(colorChanged);
}... | [
"chenweihao@flyaudio.cn"
] | chenweihao@flyaudio.cn |
3632fd826b2304cb17f5d94db4f82bedb6de4bce | e2e43225e5304a73db68a7da22b1fd89b8ce1b8e | /Classdesign/imagedata.h | 35fb8c83c28cb359c48305821726f9af5fe68235 | [] | no_license | mitchellmar/Classdesign | 2b81a10716c8f12e7d97aa67a7f444f3b9c13d53 | 866b84b9b8be34b54d8a75a2d132ca13c59a486d | refs/heads/master | 2023-03-11T07:11:41.886405 | 2021-02-27T04:21:07 | 2021-02-27T04:21:07 | 338,467,708 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,267 | h | #include <string>
class imagedata{
public:
imagedata(std::string filename, std::string imagetype, std::string datecreated
, double size, std::string authname, std::string imgdim, std::string aperture,
std::string exposure, int iso, bool flash);
std::string getfilename() const;
std::string getimagetype() const;... | [
"mitchell_k_mar@yahoo.com"
] | mitchell_k_mar@yahoo.com |
27e41edc52da76cff9568496deca3651572d7f62 | 1003b415e50030887aaefd3d01f914ebec6cf69d | /src/currentia/core/scheduler/policy/scheduling-policy.h | e9b69d260498de09bf1a63260ef5e20f68679abc | [] | no_license | mooz/currentia | dd61872a53b51c9902fa08b601ed1b24af669891 | 5d52dcfc441340f149b591a377cb7be5d91d2b69 | refs/heads/master | 2016-09-06T17:52:54.737166 | 2014-11-20T14:06:16 | 2014-11-20T14:06:16 | 26,914,125 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,380 | h | // -*- c++ -*-
#ifndef CURRENTIA_SCHEDULING_POLICY_H_
#define CURRENTIA_SCHEDULING_POLICY_H_
#include "currentia/core/operator/operator.h"
#include "currentia/core/operator/operator-visitor-serializer.h"
#include "currentia/trait/pointable.h"
namespace currentia {
class SchedulingPolicy : public Pointable<Schedu... | [
"stillpedant@gmail.com"
] | stillpedant@gmail.com |
092af86d1c309c2f225a7105f37650b8969fb424 | 5ec06dab1409d790496ce082dacb321392b32fe9 | /clients/cpp-restsdk/generated/model/ComAdobeCqScreensImplRemoteImplDistributedHttpClientImplInfo.cpp | ed37d5d17fc8391f9eeedb26ed92d0e91822f785 | [
"Apache-2.0"
] | permissive | shinesolutions/swagger-aem-osgi | e9d2385f44bee70e5bbdc0d577e99a9f2525266f | c2f6e076971d2592c1cbd3f70695c679e807396b | refs/heads/master | 2022-10-29T13:07:40.422092 | 2021-04-09T07:46:03 | 2021-04-09T07:46:03 | 190,217,155 | 3 | 3 | Apache-2.0 | 2022-10-05T03:26:20 | 2019-06-04T14:23:28 | null | UTF-8 | C++ | false | false | 7,805 | cpp | /**
* Adobe Experience Manager OSGI config (AEM) API
* Swagger AEM OSGI is an OpenAPI specification for Adobe Experience Manager (AEM) OSGI Configurations API
*
* OpenAPI spec version: 1.0.0-pre.0
* Contact: opensource@shinesolutions.com
*
* NOTE: This class is auto generated by OpenAPI-Generator 3.2.1-SNAPSHOT.... | [
"cliffano@gmail.com"
] | cliffano@gmail.com |
369b965c11df96025c19fe93a44cdf97f2fdb751 | a07d1ae886800fe3758203683d6067089322b78c | /src/armnn/layers/PreCompiledLayer.cpp | 963924ded5312a9df3c805665f3cb5347031d123 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | oubotong/arm-secure-nn-1 | 7a896f15e20636493a485b5a8ea71081bb8af12a | a92eba03be9a4df62f21d2494869e74b44de3364 | refs/heads/master | 2023-03-17T17:22:54.972293 | 2020-04-14T14:36:58 | 2020-04-14T14:36:58 | 557,095,350 | 1 | 0 | MIT | 2022-10-25T04:11:50 | 2022-10-25T04:11:49 | null | UTF-8 | C++ | false | false | 1,682 | cpp | //
// Copyright © 2017 Arm Ltd. All rights reserved.
// SPDX-License-Identifier: MIT
//
#include "PreCompiledLayer.hpp"
#include "LayerCloneBase.hpp"
#include "backendsCommon/Workload.hpp"
#include <armnn/TypesUtils.hpp>
namespace armnn
{
PreCompiledLayer::PreCompiledLayer(const PreCompiledDescriptor& param, cons... | [
"i.am.renju.liu@gmail.com"
] | i.am.renju.liu@gmail.com |
9e731a7d60aac5a81ef0c65a747eb1d895b31af1 | 8cf18bc9ae140963f8f6b28045b28b7b9a590b11 | /qwt/src/qwt_dial.cpp | 1ca80dbce41b5f3718b6a4fa32c7fd985f8557a2 | [
"Apache-2.0",
"LGPL-2.1-only",
"Qwt-exception-1.0"
] | permissive | sergrt/Gen61850Sv | 8163759f980368da8f1a8379f994d7ca8cbcb717 | f07de932a16d2a6ca9a482633fa60b97042ed3f9 | refs/heads/master | 2023-07-22T12:46:47.643745 | 2023-07-11T20:24:51 | 2023-07-11T20:24:51 | 47,840,893 | 9 | 7 | Apache-2.0 | 2022-06-30T08:47:34 | 2015-12-11T17:28:03 | C++ | UTF-8 | C++ | false | false | 19,506 | cpp | /* -*- mode: C++ ; c-file-style: "stroustrup" -*- *****************************
* Qwt Widget Library
* Copyright (C) 1997 Josef Wilgen
* Copyright (C) 2002 Uwe Rathmann
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the Qwt License, Version 1.0
**************... | [
"cookierama@gmail.com"
] | cookierama@gmail.com |
e5d83737fcd21af951e49395dab3b46e53905b00 | ac7f42629767beb880e858b7ddfdfa13ea2d9dc8 | /fibonacci/main.cpp | 182387a5c1bd6e02298b16fbca6282d4c8faf2a0 | [] | no_license | Mooonside/Leetcode | d6a7adca8f447d7af31672be82975f143a120a1a | 4cf1e3cf5d5f79391d7e8cf7916fcc2c744b7c2e | refs/heads/master | 2021-01-01T16:11:41.536091 | 2017-08-26T04:05:47 | 2017-08-26T04:05:47 | 95,767,595 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 300 | cpp | #include <iostream>
using namespace std;
int main() {
int *array = new int[30+1];
array[0] = 0;
array[1] = 1;
int i = 2;
while(i<=30){
array[i] = array[i-1]+array[i-2];
i++;
}
int times;
while(cin>>times){
cout<<array[times]<<endl;
}
} | [
"yifeng-chen@outlook.com"
] | yifeng-chen@outlook.com |
9772c3faed3a8374c3e5ea51df5a377dd8f2e4e9 | e92516dda914c02e08a3fab30ab0729852b9b3ca | /OS_Runner/gui.hpp | f12b168ce3523a62bee43d7c6aa3393c004a9012 | [] | no_license | DenisPerez/OS_Proyects | 3de9ffde17ece89b9b58e238204328634a3bc2c9 | 0fb66366dd6040725edf538d465cb26f2c0b655b | refs/heads/master | 2020-09-27T01:57:54.692492 | 2019-12-06T20:05:09 | 2019-12-06T20:05:09 | 226,396,914 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 489 | hpp | #pragma once
#ifndef GUI_HPP
#define GUI_HPP
#include <FL/Fl.H>
#include <FL/Fl_Window.H>
#include <FL/Fl_Gl_Window.H>
#include <FL/gl.h>
extern "C" {
#include "data.h"
}
#include "ogl.hpp"
class GlGui : public Fl_Gl_Window {
public:
GlGui(Fl_Window * parent, int x, int y, int w, int h, const char * l);
protecte... | [
"denisadrian@gmail.com"
] | denisadrian@gmail.com |
6768d4ae119745a086793777661f8e1b6374693f | 63ed1beba797e818c11725d6917f7e70109d6aff | /Ray Tracer/SceneObject.h | 856a4806371b1e2b3b51266f1b6284baa6c534db | [] | no_license | JoBri93/ZGK-RayTracer | 166423332cbc44ff601a5bc5fd07d6848d49086d | 520865789aacd94bfcd114f8eb36e19276f064ea | refs/heads/master | 2021-10-25T21:03:25.785731 | 2019-04-07T15:15:39 | 2019-04-07T15:15:39 | 173,940,469 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 351 | h | #pragma once
#include <glm\glm.hpp>
#include "FreeImage.h"
class CSceneObject
{
public:
CSceneObject(void);
~CSceneObject(void);
float reflect;
float shininess;
float absorption;
float refraction;
glm::vec3 amb;
glm::vec3 diff;
glm::vec3 spec;
virtual float intersect( CRay* ray ) = 0;
virtual glm::vec3 ... | [
"joanna.brinken@vp.pl"
] | joanna.brinken@vp.pl |
5b89d0fce4e8a3ac8fee801f7a36dfec3fad3f3b | 1147139acfd471508adeedb652a3f88dbe54496c | /hcnet-core/src/util/Fs.cpp | af804c8309f88f078fe625b2e4bf4d32877ec2de | [
"Apache-2.0",
"BSD-3-Clause",
"BSL-1.0",
"MIT",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause"
] | permissive | shanhashcah/HcNet-coreV15-test | f8287643138e1717d2a5f3f80696ed69c5261e06 | f893161cce060e90aa6cd60eed448415823773cb | refs/heads/master | 2023-01-24T13:42:23.257709 | 2020-12-08T07:54:51 | 2020-12-08T07:54:51 | 312,516,694 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,357 | cpp | // Copyright 2015 Hcnet Development Foundation and contributors. Licensed
// under the Apache License, Version 2.0. See the COPYING file at the root
// of this distribution or at http://www.apache.org/licenses/LICENSE-2.0
#include "util/Fs.h"
#include "crypto/Hex.h"
#include "util/FileSystemException.h"
#include "util... | [
"ubuntu@ip-172-31-10-191.us-west-1.compute.internal"
] | ubuntu@ip-172-31-10-191.us-west-1.compute.internal |
9258c85104c97941ee8f272f8a1b90bbabbb331a | 89870ca1f16af0f2ba65ec0175cd089da852afbc | /codeforces/round-594-div-2/planting_tree_b.cpp | 92a5c6c81bf365082f6e63d3796e06d1ff111ee4 | [] | no_license | Merisho/comprog | 3b8ce833f0f16dbcfa252f9c6678c160bf081a11 | fb4829ba93fcb376078a5baccda0c07ce35d6d04 | refs/heads/master | 2023-08-18T00:10:45.535195 | 2023-08-11T07:16:02 | 2023-08-11T07:16:02 | 216,174,595 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 476 | cpp | #include <iostream>
#include <algorithm>
#include <vector>
using namespace std;
int main()
{
vector<int> a;
int n;
cin >> n;
for (int i = 0; i < n; i++) {
int ai;
cin >> ai;
a.push_back(ai);
}
sort(a.begin(), a.end());
long long h = 0;
long long v = 0;
int s = a.size();
for (in... | [
"merishot@gmail.com"
] | merishot@gmail.com |
753a8aaa9060abc77a07a0d674668a432ada0b14 | a91dc94108160573b0cee8d9dbfda6b06db7e036 | /170111_3DFrameWork_Actor/170111_3DFrameWork_Actor/CollisionDetection/BoundingSphere.cpp | 2a69d41302c8c578123914c5877c043cfde22704 | [] | no_license | YaYaCreatea/ATY_Project1 | 765e201a80e8bf90f5b92779ed4cc77a59e17779 | ff6fd30907047607b82d92f756bb5d491f4e7090 | refs/heads/master | 2021-07-17T05:33:07.966231 | 2017-10-19T02:14:12 | 2017-10-19T02:14:12 | null | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 936 | cpp | #include "BoundingSphere.h"
//コンストラクタ
BoundingSphere::BoundingSphere(const GSvector3 & center, float radius)
:center{ center }, radius{ radius }
{
}
//コンストラクタ
BoundingSphere::BoundingSphere(float radius)
: BoundingSphere{ {0.0f,0.0f,0.0f},radius }
{
}
//平行移動
BoundingSphere BoundingSphere::translate(const GSvector3... | [
"ATYcreateaChiya619@gmail.com"
] | ATYcreateaChiya619@gmail.com |
de873b857bb92ae239d711a8c6d3e89afc3bcdf2 | 30fc3d57d206018979d23b7284f40b0219c1a84c | /extensions/flens/crs.tcc | e5cd270259d1777ab9ffa89ec50b0ff3b66fe795 | [] | no_license | MazenAli/LAWA | 80b7b0e4b7a7eac8d2a8056284800b017a372c87 | 389362e745c83f647b896b71e749efe1033e092e | refs/heads/master | 2021-01-24T13:14:46.764675 | 2019-04-14T09:57:45 | 2019-04-14T09:57:45 | 40,306,125 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,361 | tcc | /*
* Copyright (c) 2007, Michael Lehn
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1) Redistributions of source code must retain the above copyright
* notice,... | [
"mazen.ali90@gmail.com"
] | mazen.ali90@gmail.com |
18db19df85f5a7d0ff702427ee536cb39c350f5a | f82a47fb66163fd9ab83ff5e9f4f5ef4e52171c7 | /src/main/native/calcPeople/MeaCalcFun.h | df4515f0ba874097e2afc34cc61db3a6481ede9f | [] | no_license | ruby-github/09001color | ffc4afc30a187bcbb5528bd0143976840909d489 | 0c637efced23df8dfde1b0a97d61b51cac0a10a0 | refs/heads/master | 2021-01-18T03:31:19.785131 | 2017-04-01T10:28:03 | 2017-04-01T10:28:03 | 85,908,115 | 0 | 1 | null | null | null | null | GB18030 | C++ | false | false | 203,592 | h | #ifndef __MEACALCFUN_H_
#define __MEACALCFUN_H_
#include "calcPeople/MeaResult.h"
#include "display/gui_global.h"
/***************************计算函数**********************************/
class MeaCalcFun {
public:
static int DoNothing(float data[], float *result, int state, int item, int save);
static int CalcGW... | [
"admin@git.com"
] | admin@git.com |
b83ff9ba4c1d27d598b15110fa5daa2042e398c3 | 0aa376a84f94297a197e028b5a84b8c41d02cab4 | /windows/runner/main.cpp | 2e3f2645a3280f3fa30e8f51287616afcb226a26 | [] | no_license | AmjadAli29/new_aws_auth | 48d24b285380c3b90fdadba5cd3f90dc4c095f11 | 4cb5184ae8acfe6bd4617254dbb8970de6e21759 | refs/heads/master | 2023-03-24T09:30:17.995893 | 2021-03-12T07:19:08 | 2021-03-12T07:19:08 | 346,971,451 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,222 | cpp | #include <flutter/dart_project.h>
#include <flutter/flutter_view_controller.h>
#include <windows.h>
#include "flutter_window.h"
#include "run_loop.h"
#include "utils.h"
int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev,
_In_ wchar_t *command_line, _In_ int show_command) {
... | [
"amjadalibrw1@gmail.com"
] | amjadalibrw1@gmail.com |
a4c8e9c0a8713b30a695c3d1922c2f69d8ea9b3c | 367be98d4ed7dde14d05f988c1606aaa60a60eb3 | /sstmac/software/process/app_manager.cc | 25cbba67baac4ae868932a629cc45d57032b5540 | [
"BSD-3-Clause"
] | permissive | nlslatt/sst-macro | acd3f043468cd13ab0843dff85493737ea5a843f | c0feb7e8d12bde3f0b1a505452276473f9b07ca3 | refs/heads/master | 2021-01-15T12:15:40.773962 | 2016-04-07T21:30:26 | 2016-04-07T21:39:55 | 59,328,703 | 0 | 0 | null | 2016-05-20T21:54:18 | 2016-05-20T21:54:17 | null | UTF-8 | C++ | false | false | 3,302 | cc | #include <sstmac/common/runtime.h>
#include <sstmac/hardware/interconnect/interconnect.h>
#include <sstmac/software/process/app.h>
#include <sstmac/software/process/app_manager.h>
#include <sstmac/hardware/interconnect/interconnect_fwd.h>
#include <sprockit/sim_parameters.h>
#include <sprockit/keyword_registration.h>
... | [
"jjwilke@s940740ca.ca.sandia.gov"
] | jjwilke@s940740ca.ca.sandia.gov |
2b1bd3e10a992a1e982275cd5b8adac95dcead58 | 97f638a3554614e93d3a374234a9c0de53c94d86 | /samples/Cpp/HelloCpp/Classes/HelloWorldScene.cpp | abc43cc976150e48b4acd0647f55092f6a5bec12 | [] | no_license | keeptotheend/cocos2dx-classical | e5e0643e9c343c571b6e6bf78433c9211298ca67 | cb2381e41db31bee42f7e9b94069949969c18279 | refs/heads/master | 2020-07-10T00:54:56.372516 | 2016-04-18T09:02:46 | 2016-04-18T09:02:46 | 56,835,469 | 1 | 0 | null | 2016-04-22T07:28:20 | 2016-04-22T07:28:20 | null | UTF-8 | C++ | false | false | 2,946 | cpp | #include "HelloWorldScene.h"
#include "AppMacros.h"
USING_NS_CC;
CCScene* HelloWorld::scene()
{
// 'scene' is an autorelease object
CCScene *scene = CCScene::create();
// 'layer' is an autorelease object
HelloWorld *layer = HelloWorld::create();
// add layer as a child to scene
scene->ad... | [
"stubma@gmail.com"
] | stubma@gmail.com |
c4ae184427cc6945864685f855c20ded1d803a36 | 244a659ab9b06726ed107667faa22aa1ef0bf333 | /mainwindow.cpp | 3d4a31f4f04472acb7b31bd1a20588f8452b4ce3 | [] | no_license | Hibouch/INNOVACT_Projet_QT | 668f5443b25edba6bb5c781566cd8746a2d43556 | abb1c7705326546674a9d0772c173f936fb49893 | refs/heads/master | 2020-09-20T15:47:25.839313 | 2019-12-13T07:39:03 | 2019-12-13T07:39:03 | 224,527,064 | 4 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 4,225 | cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
#include "etudiant.h"
#include "direc.h"
#include <QMessageBox>
#include <QDate>
#include <QDateEdit>
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
ui->tabetudiant->setModel(tmpetudiant.af... | [
"noreply@github.com"
] | Hibouch.noreply@github.com |
321a20002de328e286e770ca8f069adcfce20f55 | 664df3a535be1546be80041996f3a9c7a3114beb | /Source/TrianglesTechDemo/TrianglesTechDemoCharacter.cpp | 29ec5acbafaa297961583a5a3fc6f344c36bdef8 | [] | no_license | TytusNawara/TrianglesTechDemo | 97735000924a4b3be7040ec51e5ce95d4072d34f | 9c76aaa2de19c7c977af4e7ab37bc38c48ea7d10 | refs/heads/main | 2023-03-24T00:00:23.275162 | 2021-03-15T21:35:37 | 2021-03-15T21:35:37 | 347,967,953 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,953 | cpp | // Copyright Epic Games, Inc. All Rights Reserved.
#include "TrianglesTechDemoCharacter.h"
#include "HeadMountedDisplayFunctionLibrary.h"
#include "Camera/CameraComponent.h"
#include "Components/CapsuleComponent.h"
#include "Components/InputComponent.h"
#include "GameFramework/CharacterMovementComponent.h"
#include "G... | [
"tytusnawara@gmail.com"
] | tytusnawara@gmail.com |
15dcbfb59534eae39124b1e351861a9354e00363 | 44c4009ebfbc777bf338024d36150b64d4f37602 | /operator overload.cpp | 8b846c4f6c6ba9e4163567916ceb92d699932aab | [] | no_license | Animeshnbe/hello-world | 7951bf20da1d27b9d66a61a7034863139ddfcf45 | cef78b83d071399e4b656b561a04c80a0b638159 | refs/heads/master | 2018-10-12T18:41:02.021579 | 2018-07-11T16:16:33 | 2018-07-11T16:16:33 | 116,478,327 | 0 | 0 | null | 2018-07-11T12:41:05 | 2018-01-06T11:43:07 | null | UTF-8 | C++ | false | false | 863 | cpp | #include<iostream>
using namespace std;
class length{
int kilo,mts;
public:
length(){
kilo=0;
mts=0;
}
length(int a,int b){
kilo=a;
mts=b;
}
void get_length(void){
int x,y;
cout<<"Enter the distance in kilometres and metres:";
cin>>x>>y;
kilo=x;
mts=y;
}
vo... | [
"noreply@github.com"
] | Animeshnbe.noreply@github.com |
55aae649b1f5c4d139fd410230cb8b84867031f7 | 79f8c48de40a3fa9fe465f2a7b11daf8f3898fea | /src/interpreter/interpreter.cc | ddb87056edcb2eabccbd37e21a0d53ebaee6c05c | [
"BSD-3-Clause",
"bzip2-1.0.6"
] | permissive | lkngin/v8-git-mirror | fcd629417d863fd8bf50434ee9184b96a529c781 | e6e3c6a840035588811f0a208cbe6f9c0f3d53cc | refs/heads/master | 2021-01-16T19:15:27.813087 | 2015-08-01T07:25:23 | 2015-08-01T07:25:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,437 | cc | // Copyright 2015 the V8 project 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 "src/interpreter/interpreter.h"
#include "src/compiler.h"
#include "src/compiler/interpreter-assembler.h"
#include "src/factory.h"
#include "s... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
b3f1bb62969f75ffa59bbc5d63f8a6232762e81e | db7ffb184efb3b9d83c65066b0fa11e4c8c034d5 | /find_second_largest_element_dx/main.cpp | 1f4b44e30fa62b12ecc6ab14c0a7960ee52f4bb6 | [] | no_license | sakishum/My_Algorithm | ef17e85c6303b074030f14f492791356636dfb8a | 7a00f5eeef22ba9feb85c9fdba77ad1c04728fc7 | refs/heads/master | 2021-01-22T08:10:35.923075 | 2017-02-13T23:51:00 | 2017-02-13T23:51:00 | 81,883,503 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,157 | cpp | #include <cstdlib>
#include <iostream>
// You could either initialize largest and second to an appropriate lower bound,
// or to the first two items in the list(check which one is bigger, and don't forget
// to check if the list has least two items).
// O(n)
int find_second(int array[], int len) {
if (!len || len =... | [
"sakishum11118@gmail.com"
] | sakishum11118@gmail.com |
4ce48c8529025a4cd9a7def2e8def4f2585a4c02 | d430cb2d1fb44a4c6a2a0d398e01d1499094a923 | /0074_Search_a_2D_Matrix/Solution1.cpp | dae4177f26812fa2f67d40e6643b4d133ef43eda | [] | no_license | zhang-junjian/leetcode_solutions | 9fa77c612d6d2f8261758896abfa6424e7b453b7 | 7cba115e4937dfb120cb724d90965eb15aa8733a | refs/heads/master | 2020-12-07T15:50:45.684171 | 2020-01-09T01:33:09 | 2020-01-09T01:33:09 | 232,745,494 | 1 | 0 | null | 2020-01-09T07:09:39 | 2020-01-09T07:09:38 | null | UTF-8 | C++ | false | false | 1,175 | cpp | #include<iostream>
#include<vector>
using namespace std;
class Solution {
public:
bool searchMatrix(vector<vector<int>>& matrix, int target) {
if (matrix.size() == 0) return false;
int m = 0, n = matrix[0].size() - 1;
while (m < matrix.size() && n >= 0) {
if (target == matrix[m]... | [
"is.li.xiaoyu@qq.com"
] | is.li.xiaoyu@qq.com |
ae1cc7589b4853f8060e7ee87bc449b800da4641 | d1120d6a0db57fb3252be42dc5ece3a2dbbc07f2 | /Myprojects/sCoreLib/TTimer.h | 87b9318b974cc06320d9963dd36333604b821073 | [] | no_license | shjii/Map-Tool | c8da9b53017ad162e11c498b66313c9c5710f8a4 | 597b5f8c541094f1090b003175cc1955b64ebbe4 | refs/heads/master | 2023-05-09T06:59:32.359465 | 2021-05-26T07:05:22 | 2021-05-26T07:05:22 | 315,503,404 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 854 | h | #pragma once
#include "TStd.h"
// 1, 게임 실행 시간 누적 기능
// 2, 1 Frame 경과 시간 저장
// 3, 1초 동안 프레임 카운터
// ********* 모든 클래스는 반드시 다음과 같은 함수를 구현한다. *******
class TTimer : public TSingleton<TTimer>
{
public:
// 1, 게임 실행 시간 누적 기능
float m_fGameTimer;
// 2, 1 Frame 경과 시간 저장
float m_fSecondPerFrame;
// 3, 1초 동안 프레임 카운터
int m... | [
"wlgns3282@gmail.com"
] | wlgns3282@gmail.com |
919465fa5c8ece35257634b03664a4f04d63bf41 | 0d6560bb341dca5ab9a5c0f4c9fb3970e2fdb035 | /POSCAT/upload/code/acmicpc/1924.cpp | 7d113bc7e3078e27c201c81e23d53581dedce409 | [] | no_license | yougatup/yougatup.github.io | 7737d70baceab147fed645d40cd63f66f2be22bd | 194626540a90b15d9b9279e185886c701385bb7f | refs/heads/master | 2020-04-12T05:39:11.078724 | 2016-10-14T01:28:23 | 2016-10-14T01:28:23 | 65,126,836 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 334 | cpp | #include <iostream>
#include <string>
using namespace std;
int main()
{
int x,y;
int i,sum=0;
string week[]={"MON","TUE","WED","THU","FRI","SAT","SUN"};
int month[]={0,31,28,31,30,31,30,31,31,30,31,30,31};
cin>>x>>y;
for(i=1;i<x;i++)
sum+=month[i];
sum+=y-1;
cout<<week[sum%7]<<endl;
... | [
"yougatup@gmail.com"
] | yougatup@gmail.com |
008f5496de71fb3b728c640ae492c9e9d984eab4 | 97c211320795bd62240247bfcc577fbc419542fa | /WhatBox/cMessageReceiver.h | 2221d12686dd2a73eb36c40f274338db364f74e5 | [] | no_license | NeuroWhAI/Biogram | 855c6fd4a25739aa5c416f4824cc7339d95da251 | 7e534514220673cb1971469e7b0559da3805d267 | refs/heads/master | 2021-01-17T06:01:30.016073 | 2016-06-19T05:19:30 | 2016-06-19T05:19:30 | 48,879,071 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,092 | h | #pragma once
#include <queue>
#include <thread>
#include "cLock.h"
class cNetMessage;
class cMessageReceiver
{
public:
cMessageReceiver();
~cMessageReceiver();
private:
cLock m_Locker;
enum LockNum
{
LockNum_isEnd,
LockNum_Queue,
LockNum_Sock,
LockNum_Adr,
//----------------... | [
"neurowhai@gmail.com"
] | neurowhai@gmail.com |
f0664835692629ce18a3a2b68cd7badf23be4f39 | 5ad92e61fd0b5b238a95b922e111cbae79584e1b | /src/Frameworks/PythonFramework/PythonValueFollowerLinear.cpp | d5809c2e64935fdfdc92add1fdabf4f8f49b1cb1 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | hsjsjsjdjwksks/Mengine | f44022d19411ff67514de5efe2ef166a63189b85 | 41c659ccf76236ee8cb206b8aa6849aa83f8ca26 | refs/heads/master | 2022-12-16T23:29:25.644129 | 2020-09-15T22:25:25 | 2020-09-15T22:25:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,666 | cpp | #include "PythonValueFollowerLinear.h"
namespace Mengine
{
//////////////////////////////////////////////////////////////////////////
PythonValueFollowerLinear::PythonValueFollowerLinear()
: m_cacheValue( 0.f )
{
}
//////////////////////////////////////////////////////////////////////////
... | [
"irov13@mail.ru"
] | irov13@mail.ru |
455d7ef623522397cbed9fb3e28d91ffcd314988 | c99563482d18ebb50c3bdd3feb3e3f821f7cccc4 | /src/qt/notificator.h | f5488519bdf2342a2e18f6a54495ce480fed0481 | [
"MIT"
] | permissive | matsuiny2004/BookCoin | afa85971ae01a17a9d53c3fdcdc1cca7db05270e | 23ad19110babe6b0cdd80b62eec314d3c270938b | refs/heads/master | 2020-04-13T22:01:41.080231 | 2018-11-18T17:39:14 | 2018-11-18T17:39:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,875 | h | // Copyright (c) 2011-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_QT_NOTIFICATOR_H
#define BITCOIN_QT_NOTIFICATOR_H
#if defined(HAVE_CONFIG_H)
#include "config/book-config.h"... | [
"bookcoin@protonmail.com"
] | bookcoin@protonmail.com |
56caa534f3655f9130ad83200fb21a75da56d60b | d97a35a1c944efb6250c71fdc25ac9af5c640e68 | /ip/hls/pixel_unpack/solution1/syn/systemc/pixel_unpack.h | 8e95d487c51728349713add1120f8e9c928671b9 | [
"BSD-3-Clause"
] | permissive | DeLaVlag/C-VHDL-FPGA-Pynq-z1 | d8e1e4e1de732c227850b8794c21805ff52c883e | af565af98d6eabb55c5212b0b1d0832a04ce2349 | refs/heads/master | 2021-09-13T22:42:46.752639 | 2018-02-06T20:02:45 | 2018-02-06T20:02:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,688 | h | // ==============================================================
// RTL generated by Vivado(TM) HLS - High-Level Synthesis from C, C++ and SystemC
// Version: 2016.1
// Copyright (C) 1986-2016 Xilinx, Inc. All Rights Reserved.
//
// ===========================================================
#ifndef _pixel_unpack_HH... | [
"m.a.van.der.vlag@hr.nl"
] | m.a.van.der.vlag@hr.nl |
0e01c37f1183c47bf188f50257c93747aa212a9d | 4b11d9942dd5313e1fdd38dbd9c0245ded7b8f71 | /13_가장 많이 사용된 자릿수/13_가장 많이 사용된 자릿수/Source.cpp | 5505bb7b4b8a85e17e8fa19aa7a8b4e6ad6eb0c3 | [] | no_license | mgh3326/algorithm_inflearn | 383b287834d4f8ac432bee8d30b0a3cced938fe2 | e69351e942a7440186acbe1c89b41c95f9b94928 | refs/heads/master | 2020-06-06T12:12:23.817313 | 2019-08-05T08:20:36 | 2019-08-05T08:20:36 | 192,736,564 | 0 | 0 | null | 2019-11-30T06:08:44 | 2019-06-19T13:21:54 | C++ | UTF-8 | C++ | false | false | 375 | cpp | #include<iostream>
int main() {
std::string str;
std::cin >> str;
int arr[10];
for (int i = 0; i < 10; i++)
arr[i] = 0;
for (int i = 0; i < str.length(); i++)
{
arr[str[i]-'0']++;
}
int index = 9;
int max = arr[9];
for (int i = 1; i < 10; i++)
{
if (max < arr[9-i])
{
max = arr[9-i];
index = 9-i... | [
"mgh3326@naver.com"
] | mgh3326@naver.com |
ed1a14332e7408aab4960e651b9b23df6ee677dc | 66046fed760cf9dc6b60b77772ef60cf111a616f | /HLS_Sobel/sobel.prj/solution1/syn/systemc/FIFO_sobel_img_0_rows_V_channel1.h | e1ae74ddfd497b9c6a702b6c9cba11d82aabfceb | [] | no_license | manu1991/PFC_Sobel_Zybo | a7011ae072b7c76ef9eafe9d410b2b84755ceb7e | 6e27bfac668e95a811c57baa6313eb6b994d9b35 | refs/heads/master | 2021-01-10T07:54:23.171433 | 2016-01-27T20:17:58 | 2016-01-27T20:17:58 | 48,038,643 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,773 | h | // ==============================================================
// File generated by Vivado(TM) HLS - High-Level Synthesis from C, C++ and SystemC
// Version: 2014.4
// Copyright (C) 2014 Xilinx Inc. All rights reserved.
//
// ==============================================================
#ifndef FIFO_sobel_img_0_r... | [
"charnue@correo.ugr.es"
] | charnue@correo.ugr.es |
6334edd636a07d65ca478f33d6c67986643ad261 | de7e771699065ec21a340ada1060a3cf0bec3091 | /test-framework/src/java/org/apache/lucene/util/BaseDocIdSetTestCase.h | 629480c4d506ff782913076762f2344a0535aa88 | [] | no_license | sraihan73/Lucene- | 0d7290bacba05c33b8d5762e0a2a30c1ec8cf110 | 1fe2b48428dcbd1feb3e10202ec991a5ca0d54f3 | refs/heads/master | 2020-03-31T07:23:46.505891 | 2018-12-08T14:57:54 | 2018-12-08T14:57:54 | 152,020,180 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,655 | h | #pragma once
#include "stringhelper.h"
#include <any>
#include <memory>
#include <type_traits>
#include <deque>
/*
* Licensed to the Syed Mamun Raihan (sraihan.com) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ow... | [
"smamunr@fedora.localdomain"
] | smamunr@fedora.localdomain |
916e3991e215619c79ed972496d094e4d150bde6 | 0b1cf14eafcd62b3e23bc34a1be6a5f14ddd9341 | /core/timer.h | 31e352c6a9faa03aedb6b2d62c4c987b682a7a78 | [] | no_license | martin-steinegger/FAMSA | 391ccfcc9c33dcba703f26ce239a3ec6702c844f | 2519bcbfec68a81770c1776c641307e4e4c174e5 | refs/heads/master | 2020-12-04T07:42:07.233515 | 2020-01-03T23:56:23 | 2020-01-03T23:56:23 | 231,681,878 | 1 | 0 | null | 2020-01-03T23:29:00 | 2020-01-03T23:28:59 | null | UTF-8 | C++ | false | false | 1,186 | h | /*
This file is a part of FAMSA software distributed under GNU GPL 3 licence.
The homepage of the FAMSA project is http://sun.aei.polsl.pl/REFRESH/famsa
Authors: Sebastian Deorowicz, Agnieszka Debudaj-Grabysz, Adam Gudys
*/
#ifndef _TIMER_H
#define _TIMER_H
#ifdef WIN32
#include <windows.h>
// ********************... | [
"adam.gudys@gmail.com"
] | adam.gudys@gmail.com |
c959e3e190753569a1974f5a6dbaf5f71929775a | 1c7755187719039b46aae8400cbd5a4e03d4b7c6 | /Source/Project/SimpleEmail/InternetAccounts.h | 902b5b3ee7d153e493ad297a9840ccdcba9d5f52 | [] | no_license | liujiquan/Work | dc70b3bd67e2618bf5106e341c4b5c13762c6b6b | 12964013329fbab4a233a2ac23bff0e173298026 | refs/heads/master | 2021-01-10T08:12:22.145734 | 2016-02-18T04:44:52 | 2016-02-18T04:44:52 | 51,979,366 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,515 | h | #if !defined(AFX_INTERNETACCOUNTS_H__9A0FA9E8_8FC6_4F46_91B3_6A3FF5D69FA7__INCLUDED_)
#define AFX_INTERNETACCOUNTS_H__9A0FA9E8_8FC6_4F46_91B3_6A3FF5D69FA7__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// InternetAccounts.h : header file
//
///////////////////////////////////////////////... | [
"905047424@qq.com"
] | 905047424@qq.com |
9a80d1925b6e447ab2cb0e958be15b5ad66064c7 | 0bb2876a278f069aed3f353fe3e3c09261138801 | /Stacks & Queues/Duplicate_Brackets.cpp | 1287b3f21ca3d2b91ddb967f75820fd514e8d060 | [] | no_license | ranveerraj248/DS-Algo-Basic | 8de95240ff25a7c36852eb690b020009365e40c5 | 2339ce00c2929fc354a57c8d600ea7f0e34964fe | refs/heads/main | 2023-06-25T14:04:56.938052 | 2021-07-29T03:55:11 | 2021-07-29T03:55:11 | 390,592,397 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,043 | cpp | // 1. You are given a string exp representing an expression.
// 2. Assume that the expression is balanced i.e. the opening and closing brackets match with each other.
// 3. But, some of the pair of brackets maybe extra/needless.
// 4. You are required to print true if you detect extra brackets and false otherwise.
//... | [
"ranveerraj248@gmail.com"
] | ranveerraj248@gmail.com |
b4eadff73144ca7a66deb5847e874072aa96033f | fb10cf7c70b5dfec2d2b4aff277c3c46b17520b9 | /RayTracer/Source/RGBColor.cpp | c0651894eaa06f06fc7d50420dfbb5d725deed15 | [] | no_license | AlanWills/RayTracer | 3bed903d63f707266c1052f7f12047a8ef596d3d | 75f60d966f3a535a1a25b1230ca08a3c609ac211 | refs/heads/master | 2020-04-18T00:51:37.617733 | 2019-01-27T21:11:20 | 2019-01-27T21:11:20 | 167,094,634 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,353 | cpp | // This file contains the definition of the class RGBColor
#include <math.h>
#include "RGBColor.h"
// -------------------------------------------------------- default constructor
RGBColor::RGBColor(void)
: r(0.0), g(0.0), b(0.0)
{}
// -------------------------------------------------------- constructor
... | [
"alawills@googlemail.com"
] | alawills@googlemail.com |
486e1cb55a063498b54433f4a763f976a62c5a64 | 13b288e309fe8dbff9bd9bd3db37895ecc78b13f | /includes/graph.h | 0ddb61fca17987be9467b480cd5c23af0375f4c2 | [
"MIT"
] | permissive | Diogo-Miranda/GRAFO | 00b823a23878ee437fbdd39f97a58c12e0eb5b23 | 32f9079ee22eaeacf79c080ed8390daa0ab5ec0d | refs/heads/main | 2023-07-02T15:54:39.106885 | 2021-08-11T14:05:59 | 2021-08-11T14:05:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 123 | h | #ifndef GRAFO_H
#define GRAFO_H
class Grafo {
public:
Grafo() {
}
};
#endif | [
"1277588@sga.pucminas.br"
] | 1277588@sga.pucminas.br |
860a6beb921bcfd346a4896fec2697be186a4fc8 | 5171dc6b378cb65018f4373fb75bb45d2a84ae8f | /src/spleeter/spleeter.h | a1d3bc7388ec784359c7178bad6edca5ff08f3a6 | [
"MIT"
] | permissive | loretoparisi/spleeterpp | 91b8e8ed99d07f932adcedba3047f5590110bf52 | f40e5e167384e2c3d521ea0b7159eb18ef5dff65 | refs/heads/master | 2020-11-25T12:13:29.401538 | 2019-12-23T16:57:11 | 2019-12-23T16:57:11 | 228,653,339 | 7 | 0 | MIT | 2019-12-17T16:07:48 | 2019-12-17T16:07:47 | null | UTF-8 | C++ | false | false | 2,471 | h | #ifndef SPEETER_SPLEETER_H_
#define SPEETER_SPLEETER_H_
#include <string>
#include <memory>
#include <unordered_set>
#include <Eigen/Core>
namespace spleeter {
using Waveform = Eigen::Matrix2Xf;
enum SeparationType { TwoStems, FourStems, FiveStems };
/// Initialize the spleeter tools by loading models at the speci... | [
"guillaume.vincke@gmail.com"
] | guillaume.vincke@gmail.com |
c882cc33c024434564bce988739f0ce51fb5e932 | 1de18c2bafc7158f9ad6222263dd9b634184d405 | /stack.cpp | 25f8692f3ea97ca4930f2caa9791bc41e9364ef5 | [] | no_license | armarts/Stack | f6bdca3220fb558316f978b5b8153a5f3f143a1d | 83ef6ac80083c1b7881071cc9b55dd87d1de71cd | refs/heads/master | 2020-04-06T04:06:24.557028 | 2017-03-04T17:46:34 | 2017-03-04T17:46:34 | 83,036,273 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 205 | cpp | #include <iostream>
#include <cassert>
#include <cstdio>
#include "stack.h"
#include <string>
using namespace std;
int main() {
Stack<int> s(1);
s.push(1);
s.dump();
s.pop();
s.pop();
return 0;
}
| [
"noreply@github.com"
] | armarts.noreply@github.com |
d3243b540689412638b93ed6462ea89068eaebc9 | f529fd9d0078858b2887746de2082bb9660b69d4 | /sources/engine/music.cpp | 68aab412b5a610ec788fcc494f23450f5124b8dd | [] | no_license | iomeone/cage-examples | 6e3e81ee5e7c927c8ded453c30ad1398f7ff5b93 | 911909c493f2d984acdb4e0dc159c164d798d68c | refs/heads/master | 2023-03-27T08:13:48.564225 | 2021-03-12T10:44:58 | 2021-03-12T10:44:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,569 | cpp | #include <cage-core/logger.h>
#include <cage-core/entities.h>
#include <cage-core/assetManager.h>
#include <cage-core/hashString.h>
#include <cage-core/enumerate.h>
#include <cage-core/string.h>
#include <cage-engine/window.h>
#include <cage-engine/engine.h>
#include <cage-engine/highPerformanceGpuHint.h>
#include <ca... | [
"malytomas@ucpu.cz"
] | malytomas@ucpu.cz |
c0ad6e6166de84efe02b5b82f43227afc149f693 | 669789a63bd5c01df2e68efa7931e74eb52c1742 | /DDZ_AI/SplitType.h | c2005b1a39bf57297cc28d66622d2c64d278e138 | [] | no_license | qq717337/ddzai | d47d4ab3c280a3832abbfd31cf26f8766b812c22 | 9e59e23a6e967ae3a91fb5d234d2bc782ea24eec | refs/heads/master | 2020-03-21T02:26:56.805637 | 2018-03-26T13:39:47 | 2018-03-26T13:39:47 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 4,557 | h | #ifndef _SPLITTYPE_H_
#define _SPLITTYPE_H_
#include <vector>
#include <functional>
#include "Range.h"
#include "CardStyle.h"
//组合的不同拆分方法不建立不同的类了,而是在一个类中完成不同的组装策略,
//例如最优保留炸弹等的,或者最小步数的,或者为了接某一张牌,但是最优的没有,必须拆分对子这种情况,
class SplitMemnto;
class SplitType
{
friend class SplitMemnto;//声明为友元类以便这个类可以访问所有的SplitType的成员
friend ... | [
"625673575@qq.com"
] | 625673575@qq.com |
27e1c226f80e433e5ee92635eb90c4a9ea1142f8 | d53d4d987f634ee96b14a662247af944f12ddc1a | /Kernel.cpp | 01671a89d6149f6d89dc47b683e68143ad92a4d5 | [] | no_license | S2486/OS | ee127119e1bc961b7090eeb2e1363e7b3375ffb1 | 385f4998379a6492ba8d02e4c4e2a1d9b887758a | refs/heads/main | 2023-02-19T20:17:32.085989 | 2020-12-29T15:28:03 | 2020-12-29T15:28:03 | 324,835,476 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 302 | cpp | #include "TextPrint.cpp"
#include "IDT.cpp"
extern const char Banner[];
extern "C" void _start() {
SetCursorPosition(PositionFromCoords(0, 0));
InitializeIDT();
ClearScreen();
PrintString(Banner);
PrintString("\nWelcome to AnOS\n \n\rHello World\n\n\r");
return;
} | [
"noreply@github.com"
] | S2486.noreply@github.com |
57eee8d5af03d7f0842513783aebcecc889c77ef | 2203f9e82de6157d337aae1fdffcbb11def70a62 | /testdata/samplecdp/config/qanat/submissions/accepted/per.cc | 9647c94fd13eb3137b5d0d7f1d8923b7980791a9 | [] | no_license | Kamo98/DIPLOM_NEW | c55b59ccd0610d4d2867619ca40c9fed0957a786 | 4434a43acedc44fc7b041214f66204a4936ffe6b | refs/heads/master | 2023-04-27T18:22:32.869058 | 2020-05-21T13:21:30 | 2020-05-21T13:21:30 | 265,855,486 | 0 | 0 | null | 2021-05-12T00:29:54 | 2020-05-21T13:27:35 | Java | UTF-8 | C++ | false | false | 650 | cc | #include <cstdio>
#include <vector>
using namespace std;
typedef vector<double> vd;
double H, opt[2000], pos[2000];
double sqr(double x) { return x*x; }
int main(void) {
int w, h, n;
scanf("%d%d%d", &w, &h, &n);
H = 1.0*h/w;
opt[0] = sqr(1+H)/4 - sqr(H)/2;
for (int i = 1; i <= n; ++i) {
double x = (1+H)*(1-H... | [
"avanesjan.k@gmail.com"
] | avanesjan.k@gmail.com |
f4620cc3de8bb5fd68e149622829930e755dc186 | bd35373d773ef17ea3c4f07398b98237e00a0a6d | /programstool/generictree/nodehavingsumofchildrenandnodemaxm.cpp | 4be8ee0f506fd65b6535df9e6f50cebef53baf86 | [] | no_license | NilanshBansal/DataStructures | e5868a0a38dcc12b4bb0f383dbe65c03548f87c0 | 8ec784a212bca2218cdda754553e68bd522be533 | refs/heads/master | 2020-03-21T16:38:18.016299 | 2019-02-22T07:05:57 | 2019-02-22T07:05:57 | 138,782,734 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,455 | cpp | Given a tree, find and return the node for which sum of data of all children and the node itself is maximum. In the sum, data of node itself and data of immediate children is to be taken.
Input format :
Line 1 : Elements in level order form separated by space (as per done in class). Order is -
Root_data, n (No_Of_Ch... | [
"bansalnilansh@gmail.com"
] | bansalnilansh@gmail.com |
b4c0611475e4aee872c430b2262e6810cac8e2e9 | 7ed9ddde7aa126433fccaaf724415d08d59caec2 | /TalkingScene/WalaberEngine/Walaber/src/Graphics/Color.cpp | 87764aae4a1042affe777aca8bff9d4259c6d6d1 | [] | no_license | DannyTking/TalkingScene | 7b01c92d273d15f0b9c72b2170fdb5a7b95b5e22 | b73828e69b4324ccb8f26648dbb3b5b8cbddeb8f | refs/heads/master | 2020-12-30T10:36:40.516557 | 2013-12-23T01:34:45 | 2013-12-23T01:34:45 | 13,242,667 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,946 | cpp | #include "Color.h"
#include <math.h>
namespace Walaber
{
const float Color::MAX_COLOR_DIST_SQR = 200000.0f;
const float Color::CLOSE_ENOUGH_COLOR_DIST = 75.0f;
Color Color::fromHSV( float h, float s, float v )
{
Color ret(0,0,0);
if (s == 0.0f)
{
ret = Color(v,v,v);
return re... | [
"yangming.tang@chukong-inc.com"
] | yangming.tang@chukong-inc.com |
acaf38ecefdc378857c07eae1db6e4eb3474fe12 | c178ae1aca27da874998279b1fb207036f6525b2 | /Game/GameManager.h | 2b8c3dea7622ac0c52070d7dbb43a645b1c16a72 | [] | no_license | tomlerendu/Slug-Runner | 1b51c9f5e98b7ab9f52c3eb9db37174d13e9af28 | f4e01d3833c17999e943b73e7e2202d6731fdc8b | refs/heads/master | 2021-01-01T05:25:34.924519 | 2016-04-25T09:58:55 | 2016-04-25T09:58:55 | 57,031,083 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,340 | h | #ifndef GAMEMANAGER_HEADER
#define GAMEMANAGER_HEADER
#include "TextureManager.h"
#include "InputManager.h"
class GameObject;
/*
* Manages the game.
* In charge of scenes, textures and inputs.
*/
class GameManager
{
public:
GameManager();
/* Names of scenes in the game */
enum Scene { menu, pl... | [
"tom.lerendu@gmail.com"
] | tom.lerendu@gmail.com |
ee79118f309e647488c5ef63a5000e29e09d0192 | acc2f5336d768a7d86dbd2eec441283cfd11d52d | /src/server/gameserver/SlayerCorpse.cpp | 7d623de3df1ea2158f9989f0493da842d22d7813 | [] | no_license | stevexk/server | 86df9e8c2448ad97db9c3ab86820beec507ef092 | 4ddb6e7cfa510bb13ccd87f56db008aa1be1baad | refs/heads/master | 2020-01-23T22:00:57.359964 | 2015-09-18T14:58:27 | 2015-09-18T14:58:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 767 | cpp | //////////////////////////////////////////////////////////////////////////////
// Filename : SlayerCorpse.cpp
// Written by : Reiot
// Description :
//////////////////////////////////////////////////////////////////////////////
#include "SlayerCorpse.h"
#include "Creature.h"
#include "Slayer.h"
SlayerCorpse::Sla... | [
"tiancaiamao@gmail.com"
] | tiancaiamao@gmail.com |
f63d5a73167f274e34e941e766ac40640af4415b | 5456502f97627278cbd6e16d002d50f1de3da7bb | /components/sync/engine/commit_queue.h | c90f63dc695fe7fc602696df32fa0ed8a1a16839 | [
"BSD-3-Clause"
] | permissive | TrellixVulnTeam/Chromium_7C66 | 72d108a413909eb3bd36c73a6c2f98de1573b6e5 | c8649ab2a0f5a747369ed50351209a42f59672ee | refs/heads/master | 2023-03-16T12:51:40.231959 | 2017-12-20T10:38:26 | 2017-12-20T10:38:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 738 | h | // 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.
#ifndef COMPONENTS_SYNC_ENGINE_COMMIT_QUEUE_H_
#define COMPONENTS_SYNC_ENGINE_COMMIT_QUEUE_H_
#include "components/sync/engine/non_blocking_sync_c... | [
"lixiaodonglove7@aliyun.com"
] | lixiaodonglove7@aliyun.com |
d4075de33cae12909f6240bc0ce82a1fbfd90560 | d86efed0d847ad2851ec14140ab9732af3693489 | /include/net/client.hpp | 05e942b0c8da935721f0cb4a1016075307644ffc | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | quantrocket/networking | 6b292df2c3ede1dd29490d15ed1806f1c75f0abd | e1f6c5f072e5062526edb024a81b19ee6e58b2f3 | refs/heads/master | 2020-04-14T03:53:31.754275 | 2013-06-22T08:16:13 | 2013-06-22T08:16:13 | 20,859,907 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,883 | hpp | /*
Copyright (c) 2013 Christian Glöckner <cgloeckner@freenet.de>
This file is part of the networking module:
https://github.com/cgloeckner/networking
It offers a tcp-based server-client framework for games and other software.
Permission is hereby granted, free of charge, to any person obtaining a copy of
this so... | [
"cgloeckner@freenet.de"
] | cgloeckner@freenet.de |
691f1d6ec941f1b100a52ff91ad9232e2c572bcf | 5174b062861e8265bc5e30e5c8a04269c9d3dbd3 | /Arduino/ArduinoVehicle/ArduinoVehicle.ino | 91c03847729c1d385b78814d7cd5bd9688083f9f | [] | no_license | Kingswoods/IndustritekOP | f8510b2e0500406b3d0a95d30096eb697cb51b77 | bf31a18847d5f576b99f3b3126efe671814e2e92 | refs/heads/master | 2020-03-17T06:20:40.468000 | 2018-05-14T19:06:47 | 2018-05-14T19:06:47 | 133,351,349 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,342 | ino | #include<Servo.h>
#include<Adafruit_MotorShield.h>
#include<AccelStepper.h>
#include "utility/Adafruit_MS_PWMServoDriver.h"
#include<SoftwareSerial.h>
SoftwareSerial XBee(2,3);
Servo servoBack;
Adafruit_MotorShield AFMS(0x60);
Adafruit_StepperMotor *stepper1 = AFMS.getStepper(200, 1);
Adafruit_StepperMotor *stepper2 ... | [
"noreply@github.com"
] | Kingswoods.noreply@github.com |
61b8dbd2dbac9e5481fe5d1e58e34d19a82daa61 | 5ab2709e952b3e5154284993878fbf07c992b3fd | /MestelAriana_Assignment_002.cpp | eba19e8f60ee9cd190e1bc3a991cdcee194ade0e | [] | no_license | mnasafi/CSCI211 | 44ce99a37996c7f26775205bc72ab44a376333f6 | 1146b4c58245cdda734d808e78ba98db460f123e | refs/heads/master | 2021-04-26T23:40:10.417343 | 2018-01-14T15:43:12 | 2018-01-14T15:43:12 | 123,835,378 | 1 | 0 | null | 2018-03-04T22:31:33 | 2018-03-04T22:31:33 | null | UTF-8 | C++ | false | false | 1,093 | cpp | //MstelAriana_Assignment_002.cpp
/*****
Problem:
Write a function: bool equivalent(int a[], int b[], int n)
which takes two arrays a and b of length n and returns true is
they are shift equivalent and false otherwise.
Ideas:
Use nested loops to figure out if the arrays are shift equivalent.
Set up a testing variable t... | [
"arianamestel@Arianas-MBP.fios-router.home"
] | arianamestel@Arianas-MBP.fios-router.home |
265566891cfd69f12c8935d74b682a089f914ce4 | d0936f19fd00b79705e7e27bb4d46d1f80f16d8d | /04/main.cpp | 0298c9393be205d66d8e18b294c9aa182e3ed638 | [] | no_license | EvgenijGod/sphere_1sem_cpp_autumn_2019 | 9dba840d582a0836a13217a875bd1c2104261eda | c7051d39f1c83aa34f67ece113df1dbf90357384 | refs/heads/master | 2022-04-01T13:14:27.678881 | 2020-01-21T09:09:11 | 2020-01-21T09:09:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,311 | cpp | #include <iostream>
#include <stdlib.h>
#include "BigInt.h"
#include <sstream>
#include <limits.h>
using namespace std;
enum { TESTCNT = 5 };
int main() {
stringstream s[TESTCNT][2];
s[0][0] << BigInt(0) << ' ' << -BigInt(0) << ' ' << BigInt(INT_MAX) << ' ' << BigInt(INT_MIN) << ' ';
s[0][0] << BigInt(st... | [
"EvgenijGod@users.noreply.github.com"
] | EvgenijGod@users.noreply.github.com |
42549a8fec851ff01f80bdc057f8d1545550f5b1 | 7cffa9b29f855c68ec5efcf049f596dc7be6bff6 | /example/make_red_in_cmy.cpp | 64e06025ec10673c4234b355df469afb63d51598 | [
"Apache-2.0"
] | permissive | lzs4073/color | c4e12e26cfe96022e0a5e6736a7abaadf9912c14 | 290c2c1550c499465f814ba89a214cbec19a72df | refs/heads/master | 2020-04-03T07:16:33.120894 | 2016-02-02T16:18:25 | 2016-02-02T16:18:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 717 | cpp | #include <iostream>
#include <iomanip>
#include <cstdint>
#include "color/color.hpp"
int main( int argc, char *argv[] )
{
// Make instance of RGB in different formats
//color::cmy<bool> c0( { true, false, false } ); //!< Not yet supported
color::cmy<std::uint64_t> c2;
color::cmy<std::uint32_t> ... | [
"dmilos@gmail.com"
] | dmilos@gmail.com |
c7e1cac11a8dba970ddae453e0fc864ec800918f | 1834c0796ee324243f550357c67d8bcd7c94de17 | /SDK/TCF_Activity_FunctionLibrary_BP_classes.hpp | 7779c3848c01f6f53913ece10c4f5563c45ecbc4 | [] | no_license | DarkCodez/TCF-SDK | ce41cc7dab47c98b382ad0f87696780fab9898d2 | 134a694d3f0a42ea149a811750fcc945437a70cc | refs/heads/master | 2023-08-25T20:54:04.496383 | 2021-10-25T11:26:18 | 2021-10-25T11:26:18 | 423,337,506 | 1 | 0 | null | 2021-11-01T04:31:21 | 2021-11-01T04:31:20 | null | UTF-8 | C++ | false | false | 1,279 | hpp | #pragma once
// The Cycle Frontier (1.X) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "TCF_Activity_FunctionLibrary_BP_structs.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//--------------------------------------------------------------... | [
"30532128+pubgsdk@users.noreply.github.com"
] | 30532128+pubgsdk@users.noreply.github.com |
00be03948f9ad9da7140007be0bec21eea442e4a | e04f3bebf39ff6ea8be005182e0d98d395b15337 | /org.xtext.alma.sdmdsl/generated/include/SquareLawDetectorTable.h | c12fe86ce237608ab95e1b620f7f88767b1ffe15 | [] | no_license | loriebi/SDMDSL | edb457caf440baa6638ba6997be3d81c613a0049 | 0a41e8d2c1b7c3f1eef1fbc39c793b347f7e9b2b | refs/heads/master | 2021-01-23T20:32:13.222533 | 2017-09-08T14:05:53 | 2017-09-08T14:05:53 | 102,865,767 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,645 | h | /*
* ALMA - Atacama Large Millimeter Array
* (c) European Southern Observatory, 2002
* (c) Associated Universities Inc., 2002
* Copyright by ESO (in the framework of the ALMA collaboration),
* Copyright by AUI (in the framework of the ALMA collaboration),
* All rights reserved.
*
* This library is free softwar... | [
"levan.l2ria@gmail.com"
] | levan.l2ria@gmail.com |
9be3e84cab8909cdf6f64ae74592541fd16bc594 | 72dbd64c404c27ca56b6c0e35582720bbc6dbc84 | /src/main.cpp | dd00dfa2434ad56d7d4bc0898a9e1c5e88c18bb4 | [] | no_license | RavNowak/Soundex | f70bb78800a5f3610339bac0bbb116aca12cdc56 | 8ea375bfba8761d415e39a7f0d669ae047215cc3 | refs/heads/master | 2020-04-01T07:17:38.018063 | 2018-10-15T17:27:27 | 2018-10-15T17:27:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 115 | cpp | #include <iostream>
#include "Soundex.hpp"
int main()
{
std::cout << "Soundex!" << std::endl;
return 0;
}
| [
"nowak9.private@gmail.com"
] | nowak9.private@gmail.com |
fc109ea867e7e6503feb94dcf874fda1f15b1c05 | e3739dd8218adc7c02909c2f10166b1e751f810a | /ice/src/db/GetJobsByDNMyProxy.cpp | 6ebc162976e06c15ffc8015806fab0559588cb72 | [
"Apache-2.0"
] | permissive | italiangrid/wms | 811bda160e5d70d7760d6956fb5d0be2b12c0faa | 5b2adda72ba13cf2a85ec488894c2024e155a4b5 | refs/heads/master | 2021-01-10T10:27:48.592117 | 2013-11-14T14:07:14 | 2013-11-14T14:07:14 | 8,455,769 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,506 | cpp | /* LICENSE:
Copyright (c) Members of the EGEE Collaboration. 2010.
See http://www.eu-egee.org/partners/ for details on the copyright
holders.
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
... | [
"alvise.dorigo@pd.infn.it"
] | alvise.dorigo@pd.infn.it |
bbc3063f3d34d99f9c54e663c3de9abdd752c296 | dd80a584130ef1a0333429ba76c1cee0eb40df73 | /external/chromium/chrome/browser/ssl/ssl_add_cert_handler.h | 46d8c7df3b7c054d2feb8886bba54c292e9f97c3 | [
"BSD-3-Clause",
"MIT"
] | permissive | karunmatharu/Android-4.4-Pay-by-Data | 466f4e169ede13c5835424c78e8c30ce58f885c1 | fcb778e92d4aad525ef7a995660580f948d40bc9 | refs/heads/master | 2021-03-24T13:33:01.721868 | 2017-02-18T17:48:49 | 2017-02-18T17:48:49 | 81,847,777 | 0 | 2 | MIT | 2020-03-09T00:02:12 | 2017-02-13T16:47:00 | null | UTF-8 | C++ | false | false | 1,900 | h | // 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.
#ifndef CHROME_BROWSER_SSL_SSL_ADD_CERT_HANDLER_H_
#define CHROME_BROWSER_SSL_SSL_ADD_CERT_HANDLER_H_
#pragma once
#include "base/basictypes.h"
#incl... | [
"karun.matharu@gmail.com"
] | karun.matharu@gmail.com |
c6f9eb85fca9e06cc001c96de4f2a5118272c830 | 412bf1c63d44a73b7881f1e4e9c2c3dab41dc673 | /src/checkpoints.h | 553d9d5ad05ec02479fe47fee233de12cc035909 | [
"MIT"
] | permissive | NasdaCash/NSDC | 72ecdd22492d4f75a6b8a80a2ff8e2d2632600d7 | 2fcbb7075b5c4e6eaaf9419cdaa0cdbf75915e23 | refs/heads/master | 2022-12-15T21:53:37.247070 | 2020-09-18T02:59:52 | 2020-09-18T02:59:52 | 295,922,583 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,275 | h | // Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2017-2020 The PIVX developers
// Copyright (c) 2020 The Nasda Cash developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_CHECKPOINTS_H
#defi... | [
"71147574+NasdaCash@users.noreply.github.com"
] | 71147574+NasdaCash@users.noreply.github.com |
7a8ba8577f141d456a7ba59fa1f0bcbec3e008e9 | 971d01281a76f1ac78d3f33bc6d8559ddb378558 | /C++_Basic_Plus/C++_Basic_Plus/Tree.h | c500ce1ddd99bbfec18f45498d4aa81ba659576d | [] | no_license | sksqwer/C_Basic_Plus | 99e124bfe531faecbc4abe3a437e928e38f3aa6a | c183a23bf206280b682ff04e88d3d3948807d3bd | refs/heads/master | 2023-06-24T03:16:22.598505 | 2021-07-03T04:33:27 | 2021-07-03T04:33:27 | 366,296,098 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 508 | h | #pragma once
#ifndef TREE_H_
#define TREE_H_
template<typename T>
struct node
{
int value;
T data;
node * left = NULL;
node * right = NULL;
node<T>(int value, T data) : value(value), data(data) {}
};
template<typename T>
class Tree
{
public:
node<T> *Root = NULL;
Tree() {}
// ~Tree();
void insert(node<T> v);
... | [
"sksqwer123@gmail.com"
] | sksqwer123@gmail.com |
8a8c298563af88f53d5d240f34abba09f89d670e | 21553f6afd6b81ae8403549467230cdc378f32c9 | /arm/cortex/Freescale/MK26F18/include/arch/reg/llwu.hpp | c3b00632b6c8310e6f30e8066711a963c9764b39 | [] | no_license | digint/openmptl-reg-arm-cortex | 3246b68dcb60d4f7c95a46423563cab68cb02b5e | 88e105766edc9299348ccc8d2ff7a9c34cddacd3 | refs/heads/master | 2021-07-18T19:56:42.569685 | 2017-10-26T11:11:35 | 2017-10-26T11:11:35 | 108,407,162 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 12,197 | hpp | /*
* OpenMPTL - C++ Microprocessor Template Library
*
* This program is a derivative representation of a CMSIS System View
* Description (SVD) file, and is subject to the corresponding license
* (see "Freescale CMSIS-SVD License Agreement.pdf" in the parent directory).
*
* This program is distributed in the hope... | [
"axel@tty0.ch"
] | axel@tty0.ch |
b2936f61611c200aae0a0e4b81e89534448e4001 | 9fd7c8a1e7551cce2374117a86ec84f11f79a6fd | /src/cryptoapi/CryptException.cpp | 2e5fef35d1dd0076a3e1f0fa2512ac8221afb4d6 | [] | no_license | madcato/StreamLib | 92dc7356f6dbfb773523ef9d075b3293c2976b53 | 1c8c1f3fd0169d6199988c914454aa74f03e738b | refs/heads/master | 2020-04-01T22:57:33.522490 | 2015-07-07T08:24:43 | 2015-07-07T08:24:43 | 38,674,078 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 707 | cpp | // CryptException.cpp: implementation of the CryptException class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "Exceptions.h"
#include "CryptException.h"
//////////////////////////////////////////////////////////////////////
// Construction/Destr... | [
"dani_vela@me.com"
] | dani_vela@me.com |
c9c861de250c73b15fc9a14d49631fdb41ed754b | 79ef0e333ed1523cbd647f126db6d91c06b6097a | /uva231/uva231.cpp | 0f3f25e98e85febf6242a274252b8b54757e808e | [] | no_license | sam2377/UVA | de768cefcb804735906b5bb9dfe4ecf8079f65b8 | b668b5bb0457e93b7513b168d0c918b818d0a005 | refs/heads/master | 2020-04-27T06:52:10.397501 | 2019-03-06T10:05:44 | 2019-03-06T10:05:44 | 174,120,132 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 950 | cpp | #include<cstdio>
#include<cstdlib>
#include<iostream>
#include<vector>
#include<algorithm>
using namespace std;
void find_LIS();
vector<int> arr,LIS;
int cases=1;
int flag=1;
int main(){
for(;;cases++){
int data;
for(;;){
scanf("%d",&data);
if(data==-1) {
flag--;
if(flag<0) return 0;
break;
... | [
"samcheng168@gmail.com"
] | samcheng168@gmail.com |
0194ed877385110be9c2d97edc6b977a7701f928 | 287b14395f1509784f5c76ca898c0319447be111 | /branchingLogic/IF/4.1.TRIYGYLNIK.cpp | 2836039508815c5cfafd8a28d833f15a6551ff74 | [
"MIT"
] | permissive | dovanduy/cppTopics | 48045085e7afff79e22373aa04dc688056cda118 | 94461d25832b53e6c40c374fb2ff1695b3dfe3c7 | refs/heads/master | 2020-05-26T19:22:24.706301 | 2017-06-28T19:38:57 | 2017-06-28T19:38:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 461 | cpp | // 4.1.TRIYGYLNIK.cpp
#include <iostream>
using namespace std;
main()
{
short a, b, c, // input variables as original and a set of
// temporary variables during algo tilth.
max, min, mid ;
cin >>a >>b >>c ;
min = (a < b) ? a : b ;
min = (min < c) ? min : c ;
max = (a > b) ? a : b ;
max = (max > c) ? max... | [
"k.ilarionov@gmail.com"
] | k.ilarionov@gmail.com |
cb09ab74322af3f890cce75ee5bb31c09b9b2205 | ca955b81a32f75fc2d01a689d1b8ea1bcae4cec1 | /ImpAlgo/RemoveCycleLL.cpp | 678e4fec1177c82d591dfa9cfd9c9515ee30c9aa | [] | no_license | lakshya03/DSA_Program_Sol | 9451017cb9fd68fccc74ea283525ea3d2232dbe9 | 5beae29997f96c734930c87f0653f896a26c9da5 | refs/heads/master | 2023-08-14T21:10:33.478675 | 2021-09-29T17:37:40 | 2021-09-29T17:37:40 | 387,117,120 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 524 | cpp | ListNode* remoceCycle(ListNode* root)
{
ListNode* slow=root, *fast=root;
while(fast && fast->next)
{
slow=slow->next;
fast=fast->next->next;
if(slow==fast)
{
slow=root;
if(slow==fast)
{
while(fast->next != slow) fast = fast->next;
}
else{
while(fast->nex... | [
"lakshyajain03@gmail.com"
] | lakshyajain03@gmail.com |
e86e53d6dcafcc7e24573cd326b61bee2286fd38 | a06515f4697a3dbcbae4e3c05de2f8632f8d5f46 | /corpus/taken_from_cppcheck_tests/stolen_3883.cpp | 90f4559d879fad063047b08bcda06c503ce7c2b0 | [] | no_license | pauldreik/fuzzcppcheck | 12d9c11bcc182cc1f1bb4893e0925dc05fcaf711 | 794ba352af45971ff1f76d665b52adeb42dcab5f | refs/heads/master | 2020-05-01T01:55:04.280076 | 2019-03-22T21:05:28 | 2019-03-22T21:05:28 | 177,206,313 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 35 | cpp | void f(){bool x; scanf("%Lx", &x);} | [
"github@pauldreik.se"
] | github@pauldreik.se |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.