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 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
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 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
46547f325edc21c17383cc0488af7b50d040b150 | 0fb79168b6fdb593d5f7f9219b0527697b5eb519 | /Libary_Manager/Books_Container.h | 022d5ed8ad5c436864941fb9462cd89147112acb | [] | no_license | maxagi/Library_Manager | f3e64739300c7312116940ef1c05a24cf4cc8626 | 0574229aad0174f8d340f1424cd4f2719bf6c856 | refs/heads/master | 2016-09-06T16:43:24.141364 | 2014-06-30T06:53:10 | 2014-06-30T06:53:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,051 | h | #ifndef BOOKS_CONTAINER_H
#define BOOKS_CONTAINER_H
#include<list>
#include<string>
#include<map>
#include"book.h"
class Books_Container{
public:
~Books_Container(){/*should be empty!!*/ }
Books_Container(){}
//return true if added , false if not (book with same isbn exists)
bool addBook(Book book);
//retu... | [
"maxagi.tau@gmail.com"
] | maxagi.tau@gmail.com |
a77abc183a4958cefb81b9e5a48b8c4b8f7aef27 | 03394fd8a56392653a92ae2e648a50feada90c7c | /src/log_switcher.hpp | 9dced1e3e0e5369af7856360ef90d448e0e5e8c7 | [] | no_license | cpreh/sgetris | 31f85ea5ba2ed59ef5b1ff93e5f052c5eb7e38c7 | 757b255e6853ec2bc099a28074ccb22ad69191b7 | refs/heads/master | 2021-05-29T05:13:12.616518 | 2011-12-11T12:42:41 | 2011-12-11T12:42:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 827 | hpp | #ifndef SGETRIS_LOG_SWITCHER_HPP_HPP_INCLUDED
#define SGETRIS_LOG_SWITCHER_HPP_HPP_INCLUDED
#include <fcppt/noncopyable.hpp>
#include <fcppt/string.hpp>
#include <fcppt/function/object.hpp>
#include <fcppt/log/context_fwd.hpp>
#include <boost/program_options/options_description.hpp>
#include <boost/program_options/var... | [
"pmidden@gmx.net"
] | pmidden@gmx.net |
06484dd8ed21fc87eaf2951c3bc53a4403a5dbcf | f8099ea4321e13161dbde47adfe8e8f205a67d51 | /trunk/android/games/PPMM_ZhaoCha/src/jni/WiEngine/include/transitions/wyLeftPushInTransition.h | c786e45fb14a283c8cf1897b223ad18e873d3111 | [] | no_license | yingql/yingql | 2a968bae8b5e697fc3dbd603f90c4a3b22d952a7 | ce805254da659f96a3ca79541b08ad6d04378ba3 | refs/heads/master | 2020-04-09T08:32:36.293058 | 2011-10-22T15:14:19 | 2011-10-22T15:14:19 | 2,626,277 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,840 | h | /*
* Copyright (c) 2010 WiYun Inc.
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, d... | [
"yingql.cn@qq.com"
] | yingql.cn@qq.com |
bec4a968a8eb16098124af44caa1d81e5d9ef391 | b942ec72c63eed4450571ab6f2620cba7a15b0e9 | /Week 2/Final Project/template.cpp | 90acc553d8775a410db49bdac7f0b18ea9a83880 | [
"MIT"
] | permissive | klaribot/csci175r-intro-to-cpp | 6647ed825a586a5b2df3e47746478642130bf957 | 0c86f5ce3c6437b23c4dfb9bf3f00e792a85703e | refs/heads/master | 2020-12-21T21:23:01.614545 | 2020-03-09T17:01:44 | 2020-03-09T17:01:44 | 236,565,800 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 109 | cpp | //Booksellers Final Project - Week 1 - Justin Reed
#include <iostream>
using namespace std;
int main()
{
}
| [
"crystaltheandroid@gmail.com"
] | crystaltheandroid@gmail.com |
865010423ff6318fd81a156e58915de64bcd843a | 48d5dbf4475448f5df6955f418d7c42468d2a165 | /SDK/SoT_BP_LockedEquipmentChest_Desc_parameters.hpp | ffb203b88da018c4ae49bc30b7107557c44612cb | [] | no_license | Outshynd/SoT-SDK-1 | 80140ba84fe9f2cdfd9a402b868099df4e8b8619 | 8c827fd86a5a51f3d4b8ee34d1608aef5ac4bcc4 | refs/heads/master | 2022-11-21T04:35:29.362290 | 2020-07-10T14:50:55 | 2020-07-10T14:50:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 383 | hpp | #pragma once
// Sea of Thieves (1.4.16) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "SoT_BP_LockedEquipmentChest_Desc_classes.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Parameters
//-----------------------------------------------------------... | [
"53855178+Shat-sky@users.noreply.github.com"
] | 53855178+Shat-sky@users.noreply.github.com |
e36cf4950a2aca89c9ab8646b580090e430dd05f | 32cd4b6f985fd567d663c0d8c1fe74a1f893f69c | /main.cpp | ad73ec72f9b9eecb986aa949c23c541f14fa7a90 | [] | no_license | slouffka/sfml-simple-particles | 887112725a705886b3cb60105811ab97c21d338f | 5d94d5000be0e77a82a8601e9c88ef688ec9f1ac | refs/heads/master | 2021-06-28T03:37:42.648693 | 2016-11-27T08:11:51 | 2016-11-27T08:11:51 | 33,951,676 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,486 | cpp | #include <SFML/Graphics.hpp>
#include <random>
namespace
{
std::default_random_engine createRandomEngine()
{
auto seed = static_cast<unsigned long>(std::time(nullptr));
return std::default_random_engine(seed);
}
auto RandomEngine = createRandomEngine();
}
int randomInt(int exclusiveM... | [
"slouffka@gmail.com"
] | slouffka@gmail.com |
c2c9b681bae2b155882a9f790468f4df15390eb8 | 30150c1a4a99608aab496570e172bdce4c53449e | /059_function_overloading_examples2.cpp | 3f78f7713a1faba072a5b040b6fcbdbcc1782e2e | [] | no_license | gergokutu/cplusplus-tutorials | 88334ba9b1aa8108109796d69ab5e8dd94da62c6 | 11e9c15f6c4e06b8e97ce77a732aec460d0251eb | refs/heads/master | 2020-09-04T17:46:03.954635 | 2020-01-14T11:44:15 | 2020-01-14T11:44:15 | 219,837,606 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 720 | cpp | #include <iostream>
// struct is a custom datatype
struct Rectangle
{
double length;
double width;
}; // do not forget the ; from here!
double area(double length, double width)
{
return length * width;
}
// 2nd overload
double area(double length)
{
return length * length;
}
// 3rd overload
// take a Rectang... | [
"gergo.kutu@gmail.com"
] | gergo.kutu@gmail.com |
9c0e661f8ec11c032bdaf2f4dc74aef4b3fd0a2c | 007a38491cfa1e43ea49879db3677929e58ed5c0 | /src/depthTest.cpp | 7bdf8034dab64bd256aa75611d8119f3be41b54c | [] | no_license | H2O-2/learnopengl | 76f3461307a616b9da66970c0e65fb19c76ed2b7 | 447c438aa4684f022ec532f7fbbebf0aef665a30 | refs/heads/master | 2020-03-31T11:27:24.325937 | 2019-03-25T01:04:59 | 2019-03-26T01:04:59 | 152,177,374 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,507 | cpp | #include <glad/glad.h>
#include <GLFW/glfw3.h>
#include <stb_image.h>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
#include "model.h"
#include "shader_s.h"
#include "camera.h"
#include "fileSystem.h"
#include <iostream>
void framebuffer_size_callback(GLFWwindow* win... | [
"h2o-2@qq.com"
] | h2o-2@qq.com |
20f3bd32690f8e80994161ea3bb8f361ce4642dc | 505185125fdf54088ca33d05f7e0880b6d0dcace | /extern/Halide/osx/share/Halide/tutorial/lesson_12_using_the_gpu.cpp | c4574a34bbfeb6573b24fa3f1784c0d619a8290f | [
"MIT"
] | permissive | HiDoYa/webassembly-video-filters | 6e1450249ac7c6212cb8402e094510192b1b81fa | 70bcaaaeb94a763988975aa8e1582ed10c2f2c39 | refs/heads/main | 2023-05-14T02:32:30.759446 | 2021-06-03T20:39:55 | 2021-06-03T20:39:55 | 329,477,435 | 8 | 0 | MIT | 2021-06-03T20:31:26 | 2021-01-14T01:40:19 | JavaScript | UTF-8 | C++ | false | false | 11,420 | cpp | // Halide tutorial lesson 12: Using the GPU
// This lesson demonstrates how to use Halide to run code on a GPU using OpenCL.
// On linux, you can compile and run it like so:
// g++ lesson_12*.cpp -g -std=c++11 -I <path/to/Halide.h> -I <path/to/tools/halide_image_io.h> -L <path/to/libHalide.so> -lHalide `libpng-config... | [
"hiroyagojo@gmail.com"
] | hiroyagojo@gmail.com |
4b6b2252684ff22c4269900d7c84df855344d1c9 | 8a964d9fdb6e7b1f99ce44b7a38ae9615f8399c3 | /codebase/apps/radar/src/Dsr2CP2Mom/Dsr2CP2Mom.cc | ee063dbc598742654b6429467e0708ef7bab33ac | [
"BSD-3-Clause"
] | permissive | zhaopingsun/lrose-core | 93edd9b354ba2db08a52c45a6d9fcd561525403e | 98461699e9cfb8b3547a7143491a0cf42671c66f | refs/heads/master | 2021-10-09T22:21:54.872633 | 2019-01-04T06:18:51 | 2019-01-04T06:18:51 | 110,906,414 | 0 | 0 | null | 2017-11-16T01:20:12 | 2017-11-16T01:20:12 | null | UTF-8 | C++ | false | false | 16,763 | cc | // *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
// ** Copyright UCAR (c) 1990 - 2016
// ** University Corporation for Atmospheric Research (UCAR)
// ** National Center for Atmospheric Research (NCAR)
// ** Bo... | [
"dixon@ucar.edu"
] | dixon@ucar.edu |
a9fa7725e2ecef4bfd5067ff63383633f70b1a74 | e0447f70242942ac8942121c48c88522568cc2d2 | /exact/vertex.cpp | 35170f062414a6cb704e147acf4ab49e3ad05b3c | [] | no_license | gustavowl/vertex-cover | c41cf83af589073d10f028ddd6105d218037a74f | b6b5fd62b2749288e99e73aab5a5f0bd6f9f2021 | refs/heads/master | 2021-08-19T11:01:26.778474 | 2017-11-26T01:34:23 | 2017-11-26T01:34:23 | 104,305,064 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,034 | cpp | #include "edge.h"
#include "vertex.h"
#include <cstddef>
Vertex::Vertex() {
*this = Vertex(true, false, 0);
}
Vertex::Vertex(bool free, bool covered, int degree) {
this->free = free;
this->covered = covered;
this->degree = degree;
}
void Vertex::addEdge(Edge* e) {
if (e->isVertexAttached(this)) {
edges.push_b... | [
"gustavoalvesbezerra@gmail.com"
] | gustavoalvesbezerra@gmail.com |
80dfa7945684d51886a148de51600cade22970b5 | e1aa704cc37ac585d6cc28c28af5ca6f5fcec718 | /libcassandra/cassandra_factory.cc | fdf33613e718e4bab386d514cc31a693b9907f0c | [
"BSD-3-Clause"
] | permissive | leonhong/libcassandra | 8b62661661ab872f114804d9a328c195f7da33a7 | 9656334eb2425c67a1fc898a18e77897e02b3316 | refs/heads/master | 2020-12-25T02:39:00.660056 | 2010-09-04T05:25:27 | 2010-09-04T05:25:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,785 | cc | /*
* LibCassandra
* Copyright (C) 2010 Padraig O'Sullivan
* All rights reserved.
*
* Use and distribution licensed under the BSD license. See
* the COPYING file in the parent directory for full text.
*/
#include <string>
#include <set>
#include <sstream>
#include <protocol/TBinaryProtocol.h>
#include <transpor... | [
"osullivan.padraig@gmail.com"
] | osullivan.padraig@gmail.com |
b3367f19fe345b414f589f65f3b0ebeb54c0c543 | d4648c15a5745c175c347b428403ecc66853c091 | /Swirls/stdafx.cpp | 17a94a0b8c4f42a7f8bbf84534817edc20c9a9bc | [] | no_license | SecondReality/Swirls | c1c15daab5f7596280289886ceb63545f659036d | b829beb6ff4d033187aaac770c3af23c922a4d1f | refs/heads/master | 2021-01-23T08:04:30.144874 | 2013-02-16T03:38:57 | 2013-02-16T03:38:57 | 8,230,892 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 285 | cpp | // stdafx.cpp : source file that includes just the standard includes
// Swirls.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
// TODO: reference any additional headers you need in STDAFX.H
// and not in this file
| [
"smr@secondreality.co.uk"
] | smr@secondreality.co.uk |
0dd32f48a4110ee84d7381cd0591634a994154ad | 2461c5b88dbbd49459383c0c8a1ca8c710798f09 | /tcpServer/WinIOCPServer/stdafx.cpp | 3f6d49e08541b7671154f0b85b6edd89ebe45876 | [] | no_license | hongnet/c-c- | 7bd5d87e084c254582b7a1623e793cbda4fd6d72 | 6fc7c3bafaf7b414a7ec4199d451298df7e27b9d | refs/heads/master | 2023-04-13T14:30:41.710493 | 2023-04-11T09:05:10 | 2023-04-11T09:05:10 | 153,915,166 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 292 | cpp | // stdafx.cpp : source file that includes just the standard includes
// WinIOCPServer.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
// TODO: reference any additional headers you need in STDAFX.H
// and not in this file
| [
"44320879+hongnet@users.noreply.github.com"
] | 44320879+hongnet@users.noreply.github.com |
024e92d4bf62f0d8417dd5b5f6cd5c9a93e45856 | fcc6edba604125eaa8075063d22ed2676e5fbe8a | /src/nodes/node.cpp | 89d5de5f709e9db64e109bd3514934e89125795c | [] | no_license | andriyDev/sheep-engine | 2f00ed73dc31c48554df7693ede9b539ce3c96b0 | 7b4417ca2041862352d899e0f055de511f0f5900 | refs/heads/main | 2023-07-02T14:23:49.306334 | 2021-08-01T21:56:57 | 2021-08-01T21:56:57 | 373,393,580 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,160 | cpp |
#include "nodes/node.h"
#include <glog/logging.h>
#include <stdio.h>
#include "nodes/utility.h"
#include "world.h"
void Node::AttachNode(const std::shared_ptr<Node>& child, int index) {
CHECK(child.get() && !child->GetParent().get());
child->world = GetWorld();
child->parent = this->shared_from_this();
if (... | [
"andriydzikh@gmail.com"
] | andriydzikh@gmail.com |
cf99a6429f313a7c745fe8954d1335dee4380e9c | ada91d3a7c44324c18e5a9ae1e8fe5d166d2bee5 | /BlackJack/Card.cpp | 26c43036a69cdb87b136c03f09d1790c38fe424a | [] | no_license | Thaon/blackjack | 93b3371ef5b89539a2007d485bc0f2154f552519 | af976b922c59d6c3efd4be8fa79fb9a9c0b7316e | refs/heads/master | 2020-04-05T23:26:55.537475 | 2015-09-28T10:00:39 | 2015-09-28T10:00:39 | 42,930,194 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 528 | cpp | #include "stdafx.h"
#include "Card.h"
Card::Card()
{
m_name = "default";
m_value = 0;
m_alternateValue = -1;
}
Card::Card(const std::string name, short int value) :
m_name(name),
m_value(value),
m_alternateValue(-1)
{
}
Card::Card(const std::string name, short int value, short int alternateValue) :
m_name(name),... | [
"gabriele.maddaloni@gmail.com"
] | gabriele.maddaloni@gmail.com |
c3d2ad683294701e04de9351c8ffeff30bb1bad8 | 7c99f5334dbaa45e86b2a814a4d640c40b1dc7dd | /COW/resources/cpp/ai/src/ApiConnector.hpp | 5b8c99cf07325b0b5f245f90909fb08956723c2b | [] | no_license | aurelien-defossez/cod-open-world | 9e7e88fbc0358ad8bf552de6205f704b3d6745ad | 0b6ba9d1f7c4c760767d450d1169402189a6e003 | refs/heads/master | 2021-01-19T05:26:15.636726 | 2012-05-02T16:55:23 | 2012-05-02T16:55:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 880 | hpp | #ifndef __API_CONNECTOR_H__
#define __API_CONNECTOR_H__
#include "Variant.hpp"
#include <string>
// -------------------------------------------------------------------------
// Callback function types
// -------------------------------------------------------------------------
typedef int makeReturnCallCallback(int,... | [
"devnull@localhost"
] | devnull@localhost |
60ff319f91ba4263922f9f5eed764839b4231845 | a3c25f35626392cd1dd490e5ace63b2c81e70bdd | /Model/lab4_queue'/queue/base.h | a65cef1f2747aa1bbfcf2b6361c6b14b8653de34 | [] | no_license | reijo1337/7sem | 64aa6a48286e232a3e2ce9a216855e7fecf10b4b | 410067bb0a1348c4e4ddecd31771784d4f36ac1d | refs/heads/master | 2021-09-01T19:08:16.002316 | 2017-12-28T10:37:13 | 2017-12-28T10:37:13 | 104,502,702 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 477 | h | #ifndef BASE_H
#define BASE_H
#include <QObject>
class BaseGenerator : public QObject
{
Q_OBJECT
signals:
void sendReques();
public:
virtual double nextGenerationPeriod() = 0;
void emitRequest() {
emit sendReques();
}
};
class BaseReceiver : public QObject
{
Q_OBJECT
public slots:
... | [
"tantsevov@gmail.com"
] | tantsevov@gmail.com |
df021722eaf3c6f97ae36609e9ae680e30291cae | 000a3f14cbc5c257805334b6635bc0a693d72b14 | /DebugTools/USBDebug/Serial.h | c27e8c1be2361bf1b3dbd4a7033c1504ba9b3124 | [] | no_license | felixpelletier/RobocupSSL_LL | 257de54f3d037ef74dc3c05e80de887b970e0ed5 | 6e292776bbd85e60547044bde3fb5e253f9ea136 | refs/heads/develop | 2021-01-17T18:24:05.068283 | 2016-07-20T23:53:23 | 2016-07-20T23:53:23 | 56,727,989 | 0 | 0 | null | 2016-04-20T23:41:14 | 2016-04-20T23:41:13 | null | UTF-8 | C++ | false | false | 1,566 | h | #ifndef SERIALCLASS_H_INCLUDED
#define SERIALCLASS_H_INCLUDED
#define ARDUINO_WAIT_TIME 1000
#ifdef __linux__
#include <boost/asio.hpp>
using namespace::boost::asio;
#endif
#ifdef __WIN32__
#include <windows.h>
#endif
#include <stdio.h>
#include <stdlib.h>
class Serial
{
private:
//Serial co... | [
"mathieugaron1991@hotmail.com"
] | mathieugaron1991@hotmail.com |
055093f9da11b9f155eb468cacfcd899600bfb72 | a571bd93cda2c160381457f5ddda44bf6f8d0966 | /DGP/SoundManager.cpp | 8ccb1eccc3d50b3ed503f2e9463b5ceadd9f4a6b | [] | no_license | Zieroc/SDL_TextBasedGame | a705fbf6b673d192684a54c5e54f057015592f43 | a0a537452a6e6ec4761a4e3f6daa4237785ee2c1 | refs/heads/master | 2021-01-19T17:42:45.539670 | 2014-04-07T22:55:05 | 2014-04-07T22:55:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 976 | cpp | #include "SoundManager.h"
SoundManager::SoundManager()
{
}
SoundManager::~SoundManager()
{
}
std::shared_ptr<SoundManager> SoundManager::Create(std::shared_ptr<ContentManager> contentMan)
{
std::shared_ptr<SoundManager> pRet(new SoundManager);
pRet->m_p_ContentManager = contentMan;
return pRet;
}
void SoundMa... | [
"ChristyCarroll1@gmail.com"
] | ChristyCarroll1@gmail.com |
ac19e53985625884d11912a8e60034f5bcd0fefa | 76d3d47501ff2ba4318ed166ebc27d7e09150b92 | /src/util/pair.h | 533c91ed771c7e006a3d28fbb588a431b0e8c9a4 | [] | no_license | robinei/spacegame | 04b7812f580da16e9c6a6bf3ce3ccef999003125 | 4f43e08cc3953f5828d633d0f369e52dcd357fbb | refs/heads/master | 2021-01-19T00:25:57.359113 | 2016-11-09T23:42:17 | 2019-01-28T18:42:20 | 73,034,606 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 239 | h |
template <typename A, typename B>
struct Pair {
A first;
B second;
Pair() {}
Pair(A a, B b) : first(a), second(b) {}
};
template <typename A, typename B>
Pair<A, B> make_pair(A a, B b) {
return Pair<A, B>(a, b);
}
| [
"robinei@gmail.com"
] | robinei@gmail.com |
9c5106a5503e5fb70569a76dfdb1545535487501 | e5b0a41047edd32e52419db9ff965d71005b198b | /qt/test/countrywindow.cpp | 5ba50cd528cd83d9be6e5f2d76d14b0a2bcb027d | [] | no_license | timazarenok/labs | 525402fc55418901396be813fa2e5c3f41ffa449 | 67f0842047865134e9042110dc1ece1080c25522 | refs/heads/master | 2020-03-30T08:06:17.784999 | 2019-05-20T15:11:47 | 2019-05-20T15:11:47 | 150,989,705 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 240 | cpp | #include "countrywindow.h"
#include "ui_countrywindow.h"
CountryWindow::CountryWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::CountryWindow)
{
ui->setupUi(this);
}
CountryWindow::~CountryWindow()
{
delete ui;
}
| [
"timofey.zarenok@gmail.com"
] | timofey.zarenok@gmail.com |
246cce8e36168dfcc8ec1e20ff2c59892d826a8a | 68947aa53a591ffb802a9c62adc2b72a43aab98e | /usaco/2_1_hamming_codes.cc | f05d368a7053203629ae5a42f9db1954c4c6690b | [] | no_license | disylh/Norwegian-Wood | 219be85447ae4b4d9988eabf4c08c43a32187e6a | c73794ab83d5228bd772a7b73a5cd1dfe83d9d81 | refs/heads/master | 2016-08-03T18:08:33.460623 | 2015-07-30T04:07:56 | 2015-07-30T04:07:56 | 33,709,396 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,575 | cc | /*
ID: disylh2
PROG: hamming
LANG: C++11
*/
#include <climits>
#include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <queue>
#include <algorithm>
#include <utility>
#include <cstring>
using namespace std;
template <typename T, typename TT>
ostream &operator<<(ostream &s, pair<T, TT> t) {... | [
"disylh@gmail.com"
] | disylh@gmail.com |
8426901bd6bef8606daf0a3be284a4332bea5305 | 3e56e79a73e26699d93b4473fdb22bdd61d16701 | /src/test/univalue_tests.cpp | bb7baf5d893941a76a744c1d864d452d14871268 | [
"MIT"
] | permissive | NewCapital/FIX-Core | a7cc5f3c72139b6355b62fc9f5cb13d1ae503abc | 62cfa630e40e126782d8662b250c87cd99288507 | refs/heads/master | 2022-09-21T16:27:42.191621 | 2022-09-18T12:44:10 | 2022-09-18T12:44:10 | 189,651,748 | 5 | 9 | MIT | 2020-06-16T21:28:34 | 2019-05-31T20:02:08 | C++ | UTF-8 | C++ | false | false | 8,945 | cpp | // Copyright 2014 BitPay, Inc.
// Copyright (c) 2017 The PIVX developers
// Copyright (c) 2019 The FIX developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <stdint.h>
#include <vector>
#include <string>
#inclu... | [
"yurykk@gmail.com"
] | yurykk@gmail.com |
2da7f153be6d1c73134827b69bf2a4724eb11ca1 | 98e8c9a09db9d06237d6ca3f42dc4cd47bc03f72 | /4_trees_and_graphs/4_4_create_linked_list_nodes_at_each_depth/create_linked_list_nodes_at_each_depth.cc | 48dc3b676a66dec54006ae43cc8a52da4fbfe873 | [] | no_license | phad/ctci | de5b5f8338fd110b7dc2b92be0f6eac84080e7d5 | 08ab4396a3215bba7dffaee5726d5c9aa22bd448 | refs/heads/master | 2021-01-23T12:18:13.193728 | 2013-10-22T12:50:25 | 2013-10-22T12:50:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,772 | cc | #include <iostream>
#include <sstream>
#include <vector>
#include "../tree.h"
using namespace std;
struct ListElement {
const Node* node;
ListElement* next;
ListElement(const Node* n) : node(n), next(NULL) {}
};
void add(const Node* val, ListElement*& head, ListElement*& prev) {
ListElement* elem = new ListE... | [
"paul@songkick.com"
] | paul@songkick.com |
98091cd07fad6b9668357b33827546e2a2d59ed6 | b26412d3f25029ff7e13d286491d1794120e03de | /BattleTank/Source/BattleTank/Public/TankTurret.h | abbfca1dabb5b17b214a5a6e7165add05653d5c1 | [] | no_license | UnrealLectures/Tanks | 2995264c070a5fbaf5d91a37c4348917cb79110b | 2f3dbdd9e4193aa57518ad7fccd98e64527812c4 | refs/heads/master | 2023-01-05T07:53:09.632147 | 2020-11-04T16:53:54 | 2020-11-04T16:53:54 | 261,862,926 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 473 | h | // Copyright Jeff Brown 2020.
#pragma once
#include "CoreMinimal.h"
#include "Components/StaticMeshComponent.h"
#include "TankTurret.generated.h"
UCLASS(meta = (BlueprintSpawnableComponent))
class BATTLETANK_API UTankTurret : public UStaticMeshComponent
{
GENERATED_BODY()
public:
// -1 is max downward speed +1 ... | [
"jeffjjbrown@gmail.com"
] | jeffjjbrown@gmail.com |
71582aeaaf4a11145869d373401da8096434fd39 | c6b1c6d11d54bb594ae3df391456a6c4af3014d2 | /Inc/WAFPubMFCdll/UltimateGrid/ugsidehd.h | 30190735fb14aaaab0356801178c5127155f7256 | [] | no_license | Grayun/wjtPub | 95bebaee6d538b1b581bfafbe09692bd0cc9636c | f7486dfee8959b2e370afd9f94b449908714b018 | refs/heads/master | 2021-06-24T14:49:27.896622 | 2017-08-20T23:58:28 | 2017-08-20T23:58:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,485 | h | /*************************************************************************
Class Declaration : CUGSideHdg
**************************************************************************
Source file : ugsidehd.cpp
Header file : ugsidehd.h
// This software along with its related components, documentation and files ("The... | [
"wangjiantaoafei@163.com"
] | wangjiantaoafei@163.com |
77033727c9fd72150f6952f34012829080cf2ca8 | a1df310fb8e5881d91dde899c0edcedfbedfc487 | /lecture1-3/chat_pkg/src/listener.cpp | 66bfae024760a4071065a8611826b67642a000cb | [
"MIT"
] | permissive | JerryRain/ros_tutorial | 7757bf14fe01a2ef6beadc0bc3dc79ad04f79eb3 | 9e404ba804948164b63515aa829dd55ea16a0ea3 | refs/heads/master | 2022-11-16T12:08:08.808824 | 2020-07-03T05:31:14 | 2020-07-03T05:31:14 | 276,798,401 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 525 | cpp | #include "ros/ros.h"
#include "std_msgs/String.h"
// Topic messages callback
void chatterCallback(const std_msgs::String::ConstPtr& msg)
{
ROS_INFO("I heard: [%s]", msg->data.c_str());
}
int main(int argc, char **argv)
{
// Initiate a new ROS node named "listener"
ros::init(argc, argv, "listener");
ro... | [
"1617124526@qq.com"
] | 1617124526@qq.com |
4c5cf9d8522acac292ffa78f1f08d648d58cb487 | 8d5fe26b90cf4115cb6ba1c702502b507cf4f40b | /iPrintableDocumentDeal/MsOffice/Excel2010/CSheetViews.h | 3491ff243bb65f0ad56595ac90709ecbac93e544 | [] | no_license | radtek/vs2015PackPrj | c6c6ec475014172c1dfffab98dd03bd7e257b273 | 605b49fab23cb3c4a427d48080ffa5e0807d79a7 | refs/heads/master | 2022-04-03T19:50:37.865876 | 2020-01-16T10:09:37 | 2020-01-16T10:09:37 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,705 | h | // 从类型库向导中用“添加类”创建的计算机生成的 IDispatch 包装类
#import "C:\\Program Files (x86)\\Microsoft Office\\Office14\\EXCEL.EXE" no_namespace
// CSheetViews 包装类
class CSheetViews : public COleDispatchDriver
{
public:
CSheetViews(){} // 调用 COleDispatchDriver 默认构造函数
CSheetViews(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {... | [
"1007482035@qq.com"
] | 1007482035@qq.com |
ef85686107876cc2fc3ef0b9f48724b4173aeb8d | 8706300115e7723816105361f1a6d11a1fb9706a | /PAT_1/HYDRA/include/hwallcalibrater.h | 467595ced58a3828460f7725f71ae6f972b93021 | [] | no_license | HADES-Cracovia/pp-3.5GeV | 99b97281f68c68f3c39761643f00c0f6b3585d52 | ccdad2e7f22430973fb45b5214744cdb6965ab68 | refs/heads/master | 2021-12-29T03:54:08.231975 | 2021-12-16T15:50:04 | 2021-12-16T15:50:04 | 142,860,456 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 951 | h | //*-- AUTHOR Bjoern Spruck
//*-- created : 24.03.06
// Modified for Wall by M.Golubeva 01.11.2006
#ifndef HWALLCALIBRATER_H
#define HWALLCALIBRATER_H
#include "hreconstructor.h"
#include "hlocation.h"
class HCategory;
class HIterator;
class HWallCalPar;
class HWallCalibrater : public HReconstructor {
protected:
... | [
"k.nowakowski@doctoral.uj.edu.pl"
] | k.nowakowski@doctoral.uj.edu.pl |
b8bf10c603208d015ad336a43bc20f1744d203a4 | 8c35f33b5438cee71cd78c1c4db85e6b00cdbd60 | /Overlay/FOverlay.cpp | cbfa70cd6587268b1f151de6af99e0598d29d21d | [
"Unlicense"
] | permissive | HeroofHell/FRust-cheat | 099273b5ec4525350de98ba7609e48284b1ae531 | db5fdb0afd28d9e9712d2ebdfa0543088da87b0c | refs/heads/master | 2020-11-30T22:19:15.396542 | 2019-12-09T22:10:35 | 2019-12-09T22:10:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,296 | cpp | #include "FOverlay.h"
static HWND win;
/*
Window functions
*/
auto FOverlay::window_set_style() -> void {
int i = 0;
i = (int)GetWindowLong(win, -20);
SetWindowLongPtr(win, -20, (LONG_PTR)(i | 0x20));
}
auto FOverlay::window_set_transparency()-> void {
MARGINS margin;
UINT opacity_flag, color_key_flag, col... | [
"tonytheone0@gmail.com"
] | tonytheone0@gmail.com |
be98ea7382301661953abc09419c7c3589cdad8f | 52cbf6068b0005d64172460ff7082e4c71f89e5e | /c++/231_power_of_two.cpp | d31fd96dd0800aa433b29e2f5f2cdffab75d668d | [] | no_license | hatlonely/leetcode-2018 | d2efe08b86871735b1c48697adb9347501df7c08 | 57217059f04898cb41b76682e94f401ee4839d05 | refs/heads/master | 2021-12-09T02:03:38.983512 | 2021-10-31T03:52:23 | 2021-10-31T03:52:23 | 144,447,729 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 461 | cpp | #include <gtest/gtest.h>
#include <iostream>
#include <numeric>
class Solution {
public:
bool isPowerOfTwo(int n) {
if (n == 0 || n == std::numeric_limits<int>::min()) {
return false;
}
return (n & n - 1) == 0;
}
};
int main(int argc, char* argv[]) {
testing::InitGoo... | [
"hatlonely@gmail.com"
] | hatlonely@gmail.com |
b79a0e09c3c34ff64a4c32269dcffc6ff5c55696 | e5a44dc0bb4c9eba9b73147d12d237120d2368f1 | /HomeAssignment/2DCarGameAssignment/BuildiOS/Classes/Native/Assembly-CSharp.cpp | c93c3e01a8304c67f635023fce420e6c14689d7b | [] | no_license | BeliBvana/DamjanVelichkovski_SWD4.2B_Assignment | 7a2bd9ec3e072ba63d0310edaad97537e9256dfb | a56cf3874967c27c4535e4df9b20313d3168cba3 | refs/heads/main | 2023-02-25T16:32:00.241507 | 2021-01-20T20:02:46 | 2021-01-20T20:02:46 | 322,110,603 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 306,728 | cpp | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <limits>
#include <stdint.h>
template <typename T1>
struct VirtActionInvoker1
{
typedef void (*Action)(void*, T1, const RuntimeMethod*);
static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj, ... | [
"73161772+BeliBvana@users.noreply.github.com"
] | 73161772+BeliBvana@users.noreply.github.com |
5ac6e66f89691ae17c8107ff789dab2009aa84ce | 097007b435b1bf420a19ce33aabee32f0789f145 | /atcoder/acl_practice/disjoint_set_union.cpp | 1731f626babb75c107e648bc4ea1b17dc369df3d | [] | no_license | Anshit01/Competitive-Programming | 71f84a85dde49278f8c3318d00db70616d8ea470 | 13911ec7f622abc061fea1ccc1f35d34118641f7 | refs/heads/master | 2023-06-11T12:06:11.722865 | 2021-06-30T11:51:01 | 2021-06-30T11:51:01 | 266,321,296 | 5 | 2 | null | 2020-10-19T09:47:06 | 2020-05-23T11:21:40 | C++ | UTF-8 | C++ | false | false | 2,669 | cpp | /* *>>>>>Anshit_Bhardwaj<<<<<* */
#include <bits/stdc++.h>
#define int long long
#define f(i, begin, end) for (__typeof(end) i = (begin) - ((begin) > (end)); i != (end) - ((begin) > (end)); i += 1 - 2 * ((begin) > (end)))
#define inputArray(arr) f(i, 0, arr.size()) cin >> arr[i]
#define printArray(arr) f(i, 0, arr.size... | [
"bhardwaj.anshit1379@gmail.com"
] | bhardwaj.anshit1379@gmail.com |
0c6eb32d04df38017d97aa8e64f60a9a1c30d7e8 | a087228e073569668de2989717c69016f1d1f528 | /access_control_allow_methods.hpp | ba2d0dbe67efb174710f6c1956f4237096327d85 | [
"MIT"
] | permissive | ElesiqArt/buffer_handle_http_header | 375bd5bebd21ae06b0cd9ac38ef91e09e1299d33 | ffe8125f3a4bf8b528770bf8716695eb8a469582 | refs/heads/master | 2020-04-13T14:42:51.015334 | 2019-01-23T06:41:54 | 2019-01-23T06:41:54 | 163,270,174 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 720 | hpp | #ifndef BUFFER_HANDLE_HTTP_HEADER_ACCESS_CONTROL_ALLOW_METHODS_HPP
#define BUFFER_HANDLE_HTTP_HEADER_ACCESS_CONTROL_ALLOW_METHODS_HPP
#include <buffer_handle_http_header/common.hpp> // bitset_field_t
#include <buffer_handle_http_header/type.hpp> // action config
namespace buffer_handle_http_header
{
template<config... | [
"gregoire.scano@malloc.fr"
] | gregoire.scano@malloc.fr |
9daf999e8885094966987fb9f4f7a46fd0bfbcc0 | a85361a350ac35929e8e28dede78c63f03320c1b | /wheel_balancing_robot (1).ino | 078d633f751804fb29b7f0f415139f79d85a2131 | [] | no_license | chinmaytodankar/RoboconCRCE19 | 451a9dafebadcb7f0e47bc673385e2f289fb0225 | 50b2f57f801fdb2b893f5b94bed9881fa97fa200 | refs/heads/master | 2022-01-09T22:37:49.670104 | 2019-03-26T12:53:01 | 2019-03-26T12:53:01 | 137,025,249 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,377 | ino | #include <PID_v1.h>
#include <LMotorController.h>
#include "I2Cdev.h"
#include "MPU6050_6Axis_MotionApps20.h"
#if I2CDEV_IMPLEMENTATION == I2CDEV_ARDUINO_WIRE
#include "Wire.h"
#endif
#define LOG_INPUT 0
#define MANUAL_TUNING 0
#define LOG_PID_CONSTANTS 0 //MANUAL_TUNING must be 1
#define MOVE_BAC... | [
"vedantikarnik@gmail.com"
] | vedantikarnik@gmail.com |
e16581fc30ae36c999c49553c978bba6c6e2ac36 | 7b4a0a266f8488f2b2596d95e6f5c985c8f232b9 | /algos_and_data_structures/algo/tree_traversal.cpp | 4a9652d85adeeef59e7d5fde312b54f664cf0f93 | [] | no_license | shishirkumar1996/cp | 811d8607d5f460fcec445db9af4853c550aee685 | e89cb840e5b3fd91be4b9402a6fdcb20bb3466c6 | refs/heads/master | 2020-03-10T11:06:17.696405 | 2019-01-04T07:12:45 | 2019-01-04T07:12:45 | 129,348,767 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 726 | cpp | #include<bits/stdc++.h>
#define lld long long int
#define faster ios_base::sync_with_stdio(false);
#define vi vector< int >
#define vii vector< vi >
#define NUM 100007
using namespace std;
int timer = 0;
vii graph(NUM);
vi in(NUM),out(NUM);
int dfs(int v,int p=-1){
in[v] = ++timer;
for(int i=0;i<graph[v].size();... | [
"shishirsharad@yahoo.com"
] | shishirsharad@yahoo.com |
018fd1fbe32f5917e34148fcbf76e91759dc426c | 52dc9080af88c00222cc9b37aa08c35ff3cafe86 | /0900/00/903c.cpp | c8ea81389bf208f484b7c4de0d67defc6557eb5d | [
"Unlicense"
] | permissive | shivral/cf | 1c1acde25fc6af775acaeeb6b5fe5aa9bbcfd4d2 | d7be128c3a9adb014a231a399f1c5f19e1ab2a38 | refs/heads/master | 2023-03-20T01:29:25.559828 | 2021-03-05T08:30:30 | 2021-03-05T08:30:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 618 | cpp | #include <iostream>
#include <map>
#include <vector>
template <typename T>
std::istream& operator >>(std::istream& input, std::vector<T>& v)
{
for (T& a : v)
input >> a;
return input;
}
void answer(unsigned v)
{
std::cout << v << '\n';
}
void solve(std::vector<unsigned>& a)
{
std::map<unsign... | [
"5691735+actium@users.noreply.github.com"
] | 5691735+actium@users.noreply.github.com |
a17f720ef0d0d9d82711df094a4f6541424f151d | c65f87dcf50449415306349e9f97a6fa3c06346c | /binderDemo/src/DemoService.cpp | 0175d35ffc7b83b422aee7aaf0edc869bfa037f8 | [] | no_license | vim1993/binder_demo | ac10a14b5989e918314cb126980f6fe2ef5b2e41 | 378aa365c0832608c3d11497114568f5923841a5 | refs/heads/master | 2020-03-27T21:32:17.263049 | 2019-03-19T08:37:16 | 2019-03-19T08:37:16 | 147,153,911 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,608 | cpp | #include <stdio.h>
#include <unistd.h>
#include <binder/IInterface.h>
#include <binder/Parcel.h>
#include <binder/IServiceManager.h>
#include <binder/ProcessState.h>
#include <binder/IPCThreadState.h>
#include "IDemoDataCenter.h"
#include "IDemoInterface.h"
#define LOG_TAG "BINDERDEMO"
using namespace android;
... | [
"vim1993@163.com"
] | vim1993@163.com |
5072a8ed70b3e1ebe51a710cb73ef9d3052119a6 | 44ab57520bb1a9b48045cb1ee9baee8816b44a5b | /EngineTesting/Code/System/SystemTesting/FileManagerSuite/File/DirectoryTesting.cpp | 37ccf989eeb6a0d8c16e058b67d1e2eca5ecc736 | [
"BSD-3-Clause"
] | permissive | WuyangPeng/Engine | d5d81fd4ec18795679ce99552ab9809f3b205409 | 738fde5660449e87ccd4f4878f7bf2a443ae9f1f | refs/heads/master | 2023-08-17T17:01:41.765963 | 2023-08-16T07:27:05 | 2023-08-16T07:27:05 | 246,266,843 | 10 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,687 | cpp | /// Copyright (c) 2010-2022
/// Threading Core Render Engine
///
/// 作者:彭武阳,彭晔恩,彭晔泽
/// 联系作者:94458936@qq.com
///
/// 标准:std:c++20
/// 引擎测试版本:0.8.1.5 (2022/12/14 17:27)
#include "DirectoryTesting.h"
#include "System/FileManager/File.h"
#include "System/FileManager/Flags/FileFlags.h"
#include "CoreTools/Helper/AssertMac... | [
"94458936@qq.com"
] | 94458936@qq.com |
2dae822877d0532d0479c17b9f34ea83dededc21 | ee60b09a4e6675cbf4c95bdfaf651024dc96fc8c | /JProject/Sample_FBX_Mesh_Depth_2/Sample.cpp | edaa460677de17df802bfcd2e658c5eda208d49d | [] | no_license | JeongBongSeong/JProject | bda15e31e8e27f1efb703949c65d4d440e5f365b | 2f44b0c444a893f0effd3760683a89151f7a11c7 | refs/heads/master | 2023-08-27T09:52:42.585052 | 2021-11-02T10:08:24 | 2021-11-02T10:08:24 | 421,306,343 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 2,693 | cpp | #define _CRT_SECURE_NO_WARNINGS
#include "Sample.h"
int APIENTRY wWinMain(_In_ HINSTANCE hInstance,
_In_opt_ HINSTANCE hPrevInstance,
_In_ LPWSTR lpCmdLine,
_In_ int nCmdShow)
{
Sample game;
//윈도우 레지스터 등록
game.InitWindows(hInstance, nCmdShow, L"JGame");
game.Run();
return 0;... | [
"kgca38-2@KGCA385"
] | kgca38-2@KGCA385 |
470fbaf6940866d48579ce472942a27a5d292db9 | 38745567688338fb089205833221a8e09d84161b | /include/api/rtc_event_log_output_file.h | e536dfc4599805c2ddda049a9cd504b6363feefe | [
"Apache-2.0"
] | permissive | Cozdemir/spitfire | a076d41cf3cacd9dc7df5a164d74e2b1349cc95d | 0d1713f5f7bd7d5803895a1cc48a97bf27bef9e1 | refs/heads/master | 2020-11-25T23:46:43.425549 | 2019-11-11T10:34:54 | 2019-11-11T10:34:54 | 228,893,177 | 0 | 0 | Apache-2.0 | 2019-12-18T18:08:07 | 2019-12-18T17:49:28 | null | UTF-8 | C++ | false | false | 2,110 | h | /*
* Copyright (c) 2017 The WebRTC 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 in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | [
"andrew@rainway.io"
] | andrew@rainway.io |
6c1b0e34bfe88899a8df4b7a76c837b9e8549410 | 39ac450698e68c44862fc8fdac9efc0ee9c6994d | /Week_01/id_31/LeetCode_242_31.cpp | 1519220f2332b59d5c3627b7faec797b826fc359 | [] | no_license | algorithm003/algorithm | 70d0f6a292c480e017e90ab5996772becbc7113c | 06b1a12411c22c3f24fd58b24f17a923dca380d5 | refs/heads/master | 2022-02-02T11:59:01.917835 | 2019-06-26T14:33:22 | 2019-08-05T15:55:03 | 189,704,070 | 18 | 65 | null | 2019-08-05T04:35:13 | 2019-06-01T07:31:23 | C++ | UTF-8 | C++ | false | false | 1,511 | cpp | #include <iostream>
#include <string>
#include <vector>
#include <functional>
#include <algorithm>
#include <iterator>
using namespace std;
/*
给定两个字符串 s 和 t ,编写一个函数来判断 t 是否是 s 的字母异位词。
示例 1:
输入: s = "anagram", t = "nagaram"
输出: true
示例 2:
输入: s = "rat", t = "car"
输出: false
说明:
你可以假设字符串只包含小写字母。
*/
class Solution {
... | [
"geniikid@163.com"
] | geniikid@163.com |
d2f2d15f2cf9227b088b6eb677a057ea3f06fc0e | 627ef5edc919f12b8bbaf23f7d87bc806cb1dc5a | /CryingEngine/src/Engine/SoundEngine.cpp | 3b7c0ef655cd35979fd1882e293b2c9d91a9a707 | [] | no_license | AlexSotoDev/CryingEngine | e95096241dfb458428fb4316229f44da025edf34 | f88e7f4f9ec5b142457910f786e11b475ed48417 | refs/heads/master | 2020-05-02T11:05:08.688903 | 2019-04-13T01:49:01 | 2019-04-13T01:49:01 | 177,917,043 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,788 | cpp | #include "SoundEngine.h"
#include "DebugOut.h"
SoundEngine* SoundEngine::self = NULL;
FMOD_RESULT SoundEngine::PrivateInitializeSystem(const int numChannels)
{
//FMOD::System** sys = nullptr;
FMOD::System_Create(&(Instance().soundSystem));
FMOD_RESULT res= Instance().soundSystem->init(numChannels, FMOD_INIT_NORMAL... | [
"alexsotodev@gmail.com"
] | alexsotodev@gmail.com |
628921723fe3c67cca699c747555e5bb672bb452 | 9a0b6a73b113965fd6fed1702f523981eb1f3d00 | /sycl-info/impl_matchers.hpp | 1699a05aa718d3c678e9643c681309cc1b610ad2 | [
"LicenseRef-scancode-unknown-license-reference",
"BSL-1.0",
"Apache-2.0",
"MIT"
] | permissive | codeplaysoftware/sycl-info | 7725531b4d6676b1436af473c2ac49c007eb4410 | b47d498ee2d6b77ec21972de5882e8e12efecd6c | refs/heads/master | 2020-04-22T15:06:04.229869 | 2019-11-19T15:09:05 | 2019-11-26T14:33:33 | 170,466,659 | 11 | 2 | Apache-2.0 | 2019-11-26T14:33:35 | 2019-02-13T08:06:03 | C++ | UTF-8 | C++ | false | false | 11,993 | hpp | ////////////////////////////////////////////////////////////////////////////////
// impl-matchers.h
//
// Copyright (C) Codeplay Software Limited.
//
// 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 Lic... | [
"peter@codeplay.com"
] | peter@codeplay.com |
0ccff6ddd943050972140a28734d1813e55e086b | 45e0fbd9a9dbcdd4fbe6aaa2fdb2aed296f81e33 | /FindSecret/Classes/Native/mscorlib_System_Action_1_gen2745028645.h | 43b17878ad55d80eeea6b298111a079057b15573 | [
"MIT"
] | permissive | GodIsWord/NewFindSecret | d4a5d2d810ee1f9d6b3bc91168895cc808bac817 | 4f98f316d29936380f9665d6a6d89962d9ee5478 | refs/heads/master | 2020-03-24T09:54:50.239014 | 2018-10-27T05:22:11 | 2018-10-27T05:22:11 | 142,641,511 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 870 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "mscorlib_System_MulticastDelegate157516450.h"
#include "mscorlib_System_Void1185182177.h"
#include "UnityEngine_UnityEngine_MeshSubsetCombineUtility_M2572561050.... | [
"zhangyide@9fbank.cc"
] | zhangyide@9fbank.cc |
1b3d827c841467bf11ba0396e5f09ed0d8f8964d | 3ff1fe3888e34cd3576d91319bf0f08ca955940f | /dsgc/src/v20190723/model/DescribeDSPAAssessmentRisksRequest.cpp | 5d3c3402ee0ccdefb7714e2175a7a9501b4e7dbb | [
"Apache-2.0"
] | permissive | TencentCloud/tencentcloud-sdk-cpp | 9f5df8220eaaf72f7eaee07b2ede94f89313651f | 42a76b812b81d1b52ec6a217fafc8faa135e06ca | refs/heads/master | 2023-08-30T03:22:45.269556 | 2023-08-30T00:45:39 | 2023-08-30T00:45:39 | 188,991,963 | 55 | 37 | Apache-2.0 | 2023-08-17T03:13:20 | 2019-05-28T08:56:08 | C++ | UTF-8 | C++ | false | false | 4,734 | cpp | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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
... | [
"tencentcloudapi@tencent.com"
] | tencentcloudapi@tencent.com |
1e327df6c61a82651f9fc0537bb93f1901c9918f | 4e0bf944a7042505da0e4410848e9096996d8b2d | /src/executors/GPUTUPLE.h | 69305128f00f9488f703a399b37942e49ae01c6c | [] | no_license | yabuta/modifications | 9ff13b4b776d638077799466bbef58a63f78c73b | 560465c21cda6914b589325e28b753a04ca54320 | refs/heads/master | 2020-05-17T04:06:18.735345 | 2014-12-30T13:14:28 | 2014-12-30T13:14:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 605 | h |
#ifndef GPUTUPLE_H
#define GPUTUPLE_H
#include <GPUetc/common/GNValue.h>
namespace voltdb{
//1blockでのスレッド数の定義。
#define BLOCK_SIZE_X 256 //outer ,left
#define BLOCK_SIZE_Y 128 //inner ,right
#define PARTITION 64
#define RADIX 6
#define PART_C_NUM 16
#define SHARED_MAX PARTITION * PART_C_NUM
#define RIGHT_PER_TH... | [
"yabuta@ertl.jp"
] | yabuta@ertl.jp |
f90fbf802ef3e64a69551c0af3117df7587e1572 | 8c607695c501407a7a914ea6286f66c9613ba038 | /BREADTH-FIRST-SEARCH/rush.cpp | 84b79d77b8221b4e0831c45dcad1687e97bdd2ab | [] | no_license | andy3000/DATA-STRUCTURES | 8e89ebf848b180bb5a925a6f2d9055b4e031d124 | 85e9d27651294e3765ad0e4260fc1c02869c6e4e | refs/heads/master | 2021-01-02T09:02:09.671711 | 2015-03-27T23:59:14 | 2015-03-27T23:59:14 | 33,014,021 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,621 | cpp | /**
* @file rush.cpp
* @author Amardeep Singh
* @brief This program sets up a game board with vehicles on it and solves
* the game of rush hour in the least amount of moves.
* @date February 26th 2014
*/
#include <iostream>
using namespace std;
struct Vehicle
{
int vehicleRow;
int vehicleCol;
int vehicleT... | [
"andysingh1990@sbcglobal.net"
] | andysingh1990@sbcglobal.net |
78fe283e122b178537d0390ddfd26b2e20f54bfe | ab3bb80ae05071812a37f59d731bdc44c93ed8fd | /BRE/source/RenderingLib/rendering/shaders/filters/PostProcessDrawer.cpp | 398341f54ef8d330e6ba3aff6ed9a7b8cd6d7a6a | [] | no_license | nbertoa/BRE11 | 270e01e4ba67ebd271efc6356b51eabc6201cc36 | 60aa4148b4ff81c52242a06753220a85fb9dfef7 | refs/heads/master | 2021-05-28T23:41:36.274885 | 2015-08-08T18:05:37 | 2015-08-08T18:05:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 820 | cpp | #include "PostProcessDrawer.h"
#include <d3d11_1.h>
#include <DirectXMath.h>
#include <managers/ShaderResourcesManager.h>
#include <utils/Assert.h>
#include <rendering/GlobalResources.h>
using namespace DirectX;
namespace BRE {
PostProcessDrawer::PostProcessDrawer(ID3D11Device1& device)
: mFiltersVsData(device)... | [
"nicolas.bertoa@outlook.com"
] | nicolas.bertoa@outlook.com |
b08a51a1126fcefc4cb1ad1f99ca2a5ae351601a | e5e6878c2942c55b5698d4fc0a5c565fa9d28516 | /main.cpp | 7f493ad86032587ce18e54ddc529021ad243a877 | [] | no_license | tsrivatsav/Power-Pong | 483ee482688a9e9c3b326396537ea6b2155f3065 | 431c3796b18c53f1a6ad3762b10ffe0916025197 | refs/heads/master | 2023-07-22T04:02:46.422975 | 2021-09-07T06:24:35 | 2021-09-07T06:24:35 | 403,863,099 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,008 | cpp | //Mode.hpp declares the "Mode::current" static member variable, which is used to decide where event-handling, updating, and drawing events go:
#include "Mode.hpp"
//The 'PongMode' mode plays the game:
#include "PongMode.hpp"
//GL.hpp will include a non-namespace-polluting set of opengl prototypes:
#include "GL.hpp"
... | [
"tsrivatsav@berkeley.edu"
] | tsrivatsav@berkeley.edu |
4ef81ae74e80c72c49ca29157f2773f099c1fa45 | 7e1a18674cda0c60dbb96074b6e756e9b92e7261 | /Bit Manipulations/PowerOf2.cpp | fa33de1b831030added87a00480aea4a49565edc | [] | no_license | Viswonathan06/AlgoDS | 8b69d4bb15ee8734c452102dd8c51a172b23931a | c14e0f3120d949c61a6096b96a9aaf9536bd68ca | refs/heads/main | 2023-06-01T19:12:33.851486 | 2021-06-24T04:25:57 | 2021-06-24T04:25:57 | 357,293,657 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 425 | cpp | #include<iostream>
#include<math.h>
bool PowerOfTwo( int n){
if( n==0 ){
return false;
}
return ( ceil(log2(n)== floor(log2(n))));
}
int main(){
if(PowerOfTwo(80)){
std::cout<<"yes\n";
}
else
{
std::cout<<"no\n";
}
if(PowerOfTwo(32)... | [
"viswonathan0606@gmail.com"
] | viswonathan0606@gmail.com |
0162e7416b50c8a326b71ebae319805d4158ca8e | adfad536bb190561013448590ddadaf312094039 | /plugins/MacAU/Console7Cascade/Console7Cascade.cpp | 3d9abac1c43d5a73f22f5b057cb0009e2831ea35 | [
"MIT"
] | permissive | themucha/airwindows | ae7c1d5061f6e6b565c7be1b09cae21e5f601915 | 13bace268f2356e2a037e935c0845d91bfcb79a6 | refs/heads/master | 2022-02-21T08:46:53.021402 | 2022-01-30T18:30:35 | 2022-01-30T18:30:35 | 204,864,549 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 14,840 | cpp | /*
* File: Console7Cascade.cpp
*
* Version: 1.0
*
* Created: 12/10/20
*
* Copyright: Copyright © 2020 Airwindows, All Rights Reserved
*
* Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple Computer, Inc. ("Apple") in
* consideration of your agreement to the following terms, and your use, ... | [
"jinx6568@sover.net"
] | jinx6568@sover.net |
98faa4b94aaecc7ae0a44042b1b509d88cc9037d | 45b041d8d6beba5c437dbd94ecd0371d3f8d74d6 | /cpp_module_03/ex03/ClapTrap.hpp | 5b93fca70210cced43ee3009e3e47d59dd7da9d8 | [] | no_license | DimitriDaSilva/42_cpp_modules | a196a439a80c905fbc79b3dd3831d923d5961dd1 | c904296bd1f11aefa8ca374e924a9701e3533e21 | refs/heads/main | 2023-08-26T02:13:54.709205 | 2021-11-04T09:21:20 | 2021-11-04T09:21:20 | 384,923,120 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,690 | hpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ClapTrap.hpp :+: :+: :+: ... | [
"dimitri.gomes.da.silva@gmail.com"
] | dimitri.gomes.da.silva@gmail.com |
af7490b858ef9526bd7a4655be0fcfc80bf7dc02 | 43a2fbc77f5cea2487c05c7679a30e15db9a3a50 | /Cpp/External (Offsets Only)/SDK/BP_UnsortedCommodity_Gemstones_Desc_functions.cpp | a9cdb11e1782d4d7f6d4da4a66b4a349844bdae1 | [] | no_license | zH4x/SoT-Insider-SDK | 57e2e05ede34ca1fd90fc5904cf7a79f0259085c | 6bff738a1b701c34656546e333b7e59c98c63ad7 | refs/heads/main | 2023-06-09T23:10:32.929216 | 2021-07-07T01:34:27 | 2021-07-07T01:34:27 | 383,638,719 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 605 | cpp | // Name: SoT-Insider, Version: 1.102.2382.0
#include "../pch.h"
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Functions
//---------------------------------------... | [
"Massimo.linker@gmail.com"
] | Massimo.linker@gmail.com |
81400565583d73e2c9e35ee4259a6c6e1476b260 | 162b871457bfb55c4529d160cd0cdd3de3f643ae | /test_apps/mem_debug_curl/curl5-mk01.cc | efb1a3a64dddacf5230f9a92e5d230918c4b2711 | [] | no_license | mkogan1/ceph-utils | 80dbcc5c2db692b905b9973983e12c80b755351d | 2137e8ea0e5cc22be43c6f85af25cab041948d25 | refs/heads/master | 2021-06-02T08:59:17.123808 | 2020-09-14T08:10:57 | 2020-09-14T08:10:57 | 112,945,613 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 11,596 | cc | // g++ -g3 -lcurl -lpthread -std=c++11 curl5-mk01.cc -o curl5-mk01
// time valgrind --tool=massif --time-unit=B --max-snapshots=200 ./curl5-mk01 -C ./server.crt -t 32 -m 8 4096 https://localhost:4433
// -m 1 == no reuse
// time valgrind --tool=massif --time-unit=B --max-snapshots=200 ./curl5-mk01 -C ./server.crt -t 32 ... | [
"mkogan@redhat.com"
] | mkogan@redhat.com |
464e05b43c5e626d2f4fce4faadf16423b438c5e | b014d26d032ab0b0a75d2538846905049c4820ce | /Ejercicios/Ejercicio09-IF/condicionesif.cpp | 2adde2ef6404fbe481a1b2ace061200d1537ad99 | [
"MIT"
] | permissive | farelrz14/cpp | 27574f0055d3e9bc29f0d4a426056669d4479584 | ee47789e2edf748e164b9d1e74e477e255cf4fa7 | refs/heads/master | 2022-11-30T19:16:10.690208 | 2020-08-18T02:55:52 | 2020-08-18T02:55:52 | 276,516,816 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 378 | cpp | #include <iostream>
using namespace std;
int main(int argc, char const *argv[])
{
int numeroSecreto = 7;
int numero = 0;
cout << "Ingrese un numero: ";
cin >> numero;
cout << endl;
if (numero == numeroSecreto){
cout << "Adivinaste el numero secreto: " << numero;
}else{
c... | [
"farel_92@hotmail.com"
] | farel_92@hotmail.com |
dabc5641f779f760196bbba3853eb7ce99dafa64 | 15a2438ca61d7fe277fd6efe64fd8dca786d6341 | /common/common_A258.h | cd2888e22c7269a6fc9e7e0755da1ad9c4b99609 | [] | no_license | LYW666biubiu/A258 | e955433240fde2075db4f7ab14eecba69063aa1d | 3aaccdde57dd6cdf917af548e55a27cc64bf0e54 | refs/heads/master | 2023-08-31T17:39:13.928781 | 2021-10-24T11:21:25 | 2021-10-24T11:21:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 704 | h | #ifndef COMMON_A258_H
#define COMMON_A258_H
#define SZ_IPADDR (24)
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#include <sys/ipc.h> /* ftok() etc. */
#include <sys/msg.h> /* msgget() etc. */
#include <pthread.h>
#include <errno.h>
#include <fstream>
#include <sstream>
#include <ve... | [
"790316687@qq.com"
] | 790316687@qq.com |
f5affa46ca15f16119ba61c7588d66ec5385f8df | af2b3c53b2c102485bbc9f2106844fbfeb792384 | /source/converted_cpp/1001.cpp | 9f96307dfebed20578e5e00765e12f14562e07df | [] | no_license | utk39951/LightOJ-Scrapper | 552f6a94e526c5ce55fc9354e94066b07fe272c5 | 5849ca7b032505ec2b6b472c12ecb25f83c5ce8b | refs/heads/master | 2021-06-11T06:30:27.557177 | 2017-03-19T05:21:24 | 2017-03-19T05:21:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 271 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
int t;
cin>>t;
while (t--){
int n;
cin>>n;
if (n>10)
cout<<n-10<<" "<<10<<endl;
else
cout<<0<<" "<<n<<endl;
}
return 0;
}
| [
"iit2014507@iiita.ac.in"
] | iit2014507@iiita.ac.in |
3e54cf44e2c9f065ce2429b4dde7b70ac09d1fa4 | 6f874ccb136d411c8ec7f4faf806a108ffc76837 | /code/leixiaohua1020/simplestmediaplay/simplest_video_play_direct3d/simplest_video_play_direct3d.cpp | 545b75ea804df245a9b5ecc6eaa7e5161353177f | [] | no_license | JetAr/ZDoc | c0f97a8ad8fd1f6a40e687b886f6c25bb89b6435 | e81a3adc354ec33345e9a3303f381dcb1b02c19d | refs/heads/master | 2022-07-26T23:06:12.021611 | 2021-07-11T13:45:57 | 2021-07-11T13:45:57 | 33,112,803 | 8 | 8 | null | null | null | null | UTF-8 | C++ | false | false | 7,981 | cpp | /**
* 最简单的Direct3D播放视频的例子(Direct3D播放RGB/YUV)[Surface]
* Simplest Video Play Direct3D (Direct3D play RGB/YUV)[Surface]
*
* 雷霄骅 Lei Xiaohua
* leixiaohua1020@126.com
* 中国传媒大学/数字电视技术
* Communication University of China / Digital TV Technology
* http://blog.csdn.net/leixiaohua1020
*
* 本程序使用Direct3D播放RGB/YUV视频像素数据... | [
"126.org@gmail.com"
] | 126.org@gmail.com |
a90b87e847c42e32ee03eb4ad7a0339110373399 | a937fccfc67969b88763f0f4fb532127647a1374 | /Source/BuildingEscape/Message.cpp | 3d1eb05955417d450302b30301f057c1fd48b377 | [] | no_license | CristinaRoibu/BuildingEscape | 67df816dff39bd84c202b351e60b05f8da7a29d7 | d49dce72cbca696214348853a8aaeecbde92a8c9 | refs/heads/master | 2021-01-21T16:31:24.574585 | 2017-05-20T14:01:01 | 2017-05-20T14:01:01 | 91,892,797 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 542 | cpp | // Copyright Cristina Roibu 2017
#include "BuildingEscape.h"
#include "Message.h"
void AMessage::BeginPlay() {
Super::BeginPlay();
DisplayText();
}
void AMessage::DisplayText() {
GetTextRender()->SetText(Message1);
GetTextRender()->TextRenderColor = FColor::Black;
}
void AMessage::PressedY() { //the text rende... | [
"kristinna@hotmail.it"
] | kristinna@hotmail.it |
bc7e54243a4d52ecb4f63af6b6911bd303878186 | 62f219ef05fd6415be9bd4b931b394c853c0c7a8 | /Calculator of ordinary fractions/Calculator-of-ordinary-fractions.cpp | 5c934a54d0cb0b7345fa31b4520d3e68b9535dd5 | [] | no_license | AKulikov1207/Course-Fundamentals-of-Cpp-development-the-white-belt | f2ae3289e8bc2f60c25e639f748b82b12f15e54a | 21c2791c7a329e7cefcc745a58dd2b65290ef695 | refs/heads/master | 2022-12-01T02:33:56.213964 | 2020-08-11T13:33:43 | 2020-08-11T13:33:43 | 286,514,984 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,725 | cpp | #include <iostream>
#include <exception>
#include <fstream>
#include <map>
#include <set>
#include <vector>
#include <cmath>
using namespace std;
// представление рациональных чисел
class Rational {
public:
Rational() {
p = 0;
q = 1;
}
Rational(int numerator, int denominator) {
if (denominator < 0) {
if ... | [
"kandrey1207@mail.ru"
] | kandrey1207@mail.ru |
6825cfa6da5e727aaa7cf41552fe78cf54b04125 | ca1ad18dfba8610872a9a1f5031622f2f5d3a38b | /src/util.h | 14397065072f9c341ea908bebd543f52d06eafbd | [
"MIT"
] | permissive | zahidaliayub/TRAW | c0bb3376543b757be16d8f78e1f3ea38bbae566d | acb91f1fc198a417a0633152fac6200d65a972c3 | refs/heads/master | 2020-03-23T13:16:19.126955 | 2018-06-25T10:51:11 | 2018-06-25T10:51:11 | 141,609,257 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,638 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_UTIL_H
#define BITCOIN_UTIL_H
#ifndef WIN32
#include <sys/types.h... | [
"root@Razvoj-Rasa.localdomain"
] | root@Razvoj-Rasa.localdomain |
73949ca43fb3275bee013a63ac0efc2949728c5d | 948f4e13af6b3014582909cc6d762606f2a43365 | /testcases/juliet_test_suite/testcases/CWE401_Memory_Leak/s02/CWE401_Memory_Leak__new_wchar_t_02.cpp | a33bfcf1bb57a1ec61d4fe8e1ee1f8eb7b5b4696 | [] | no_license | junxzm1990/ASAN-- | 0056a341b8537142e10373c8417f27d7825ad89b | ca96e46422407a55bed4aa551a6ad28ec1eeef4e | refs/heads/master | 2022-08-02T15:38:56.286555 | 2022-06-16T22:19:54 | 2022-06-16T22:19:54 | 408,238,453 | 74 | 13 | null | 2022-06-16T22:19:55 | 2021-09-19T21:14:59 | null | UTF-8 | C++ | false | false | 4,309 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE401_Memory_Leak__new_wchar_t_02.cpp
Label Definition File: CWE401_Memory_Leak__new.label.xml
Template File: sources-sinks-02.tmpl.cpp
*/
/*
* @description
* CWE: 401 Memory Leak
* BadSource: Allocate data using new
* GoodSource: Allocate data on the stack
... | [
"yzhang0701@gmail.com"
] | yzhang0701@gmail.com |
0c7722cef27c4fe978d6681e5694e0e07e4d6e31 | 26740c98f86257f71d7170d54f6f0f74400a043c | /Lab2/Lab2/main.cpp | 0c230d852249493e33c085340d27f5f920757140 | [] | no_license | AlexandraRinja/LFTC | fee8d01ef27a16b817f2b417e705c98869bbde2f | 299047c3d11d7c91cd72fd306e09234bff198791 | refs/heads/master | 2021-05-07T02:53:03.088789 | 2017-11-14T23:26:53 | 2017-11-14T23:26:53 | 110,710,237 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 171 | cpp | #include <iostream>
#include "Automaton.h"
using namespace std;
int main()
{
Automaton* aut=new Automaton("in.txt");
cout<<aut->longestValidPrefix("89ll",'S');
}
| [
"rinjaalexandra@gmail.com"
] | rinjaalexandra@gmail.com |
34d58e47d9032cd6ea89a7b44dbe1386cd48a1fe | 9a3b9d80afd88e1fa9a24303877d6e130ce22702 | /src/Providers/UNIXProviders/BasedOnView/UNIX_BasedOnView_FREEBSD.hxx | 7cbe352cbfc2b42f3d9fc072ef79528f0aaaf6d6 | [
"MIT"
] | permissive | brunolauze/openpegasus-providers | 3244b76d075bc66a77e4ed135893437a66dd769f | f24c56acab2c4c210a8d165bb499cd1b3a12f222 | refs/heads/master | 2020-04-17T04:27:14.970917 | 2015-01-04T22:08:09 | 2015-01-04T22:08:09 | 19,707,296 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,809 | hxx | //%LICENSE////////////////////////////////////////////////////////////////
//
// Licensed to The Open Group (TOG) under one or more contributor license
// agreements. Refer to the OpenPegasusNOTICE.txt file distributed with
// this work for additional information regarding copyright ownership.
// Each contributor lice... | [
"brunolauze@msn.com"
] | brunolauze@msn.com |
923e9d0b0c2e859dac1075f716feb2937959dce2 | fe797a64766960ffd788906b61f3673955f18d20 | /Problem6/main.cpp | e5bb30928b6ff0bed010eedab9d15f5a185345cc | [] | no_license | bfdyoy/100EulerChallenge | d5cab260e7711c0c49369a2e0588c4a066d89586 | 4b8d392f839a5b4e47a2023d2576520dde76b56b | refs/heads/master | 2020-12-07T06:22:39.590881 | 2020-01-21T09:11:09 | 2020-01-21T09:11:09 | 232,657,567 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 374 | cpp | #include <iostream>
using namespace std;
#define MAX_NUMBER 100
int main()
{
int64_t sumSquares;
int64_t squareSum;
squareSum = ((MAX_NUMBER * (MAX_NUMBER + 1)) / 2) * ((MAX_NUMBER * (MAX_NUMBER + 1)) / 2);
sumSquares = ((MAX_NUMBER * (MAX_NUMBER + 1)) * (2 * MAX_NUMBER + 1)) / 6;
int64_t result;
result = s... | [
"danielbabiceanu@gmail.com"
] | danielbabiceanu@gmail.com |
acc506e86e92a55f10403e99d94f0e9bdf04d5a9 | db1919a2ce78b4af9316f589a0a721ace6b69177 | /src/back_end/m2dp_impl.hpp | 02727912d7638ce4149c1740129bf6c3a624c5c9 | [] | no_license | eglrp/static_map | d60ba605892c55fdea1040e7da380d7a5e11e678 | 163967a88b65082f628a18db808f8b1bb04d3f9d | refs/heads/master | 2020-04-07T04:45:22.765510 | 2018-11-16T05:29:09 | 2018-11-16T05:29:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,097 | hpp | #pragma once
#include <cmath>
#include <algorithm>
namespace static_map{
namespace back_end{
template <typename PointType>
void M2dp<PointType>::preProcess(
const M2dp<PointType>::PointCloudSourcePtr& source )
{
// remove the shift and rotation
pcl::PCA<PointType> pca;
pca.setInputCloud( source );
Eigen::... | [
"liuyongchuan@outlook.com"
] | liuyongchuan@outlook.com |
decb2cf1dd86f7e495dbea0421ff25da2df3565d | 4304dc1eb73eba8b543272e77d7642b195161703 | /main.cpp | dc0dd5c2c57e1e2ff3763550eee7ae80bcf9370f | [] | no_license | DamDinhHiep/proj | 7bd1c0fe0e13e0d80a0e16ff358fe99049edd44d | 0d6755e12f589cef39da7f6b0d249e025f526536 | refs/heads/master | 2020-03-16T18:12:05.387162 | 2018-05-10T07:21:28 | 2018-05-10T07:21:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 922 | cpp | #include <iostream>
#include <stdlib.h>
using namespace std;
#include "MaTran.h"
int main(int argc, char *argv[])
{
if (argc == 2)
{
int pass;
pass = atoi (argv[1]);
if (pass == 2)
{
int n, m;
cout << "Hello Nguyen Minh Hieu :)" << endl;
cout <... | [
"="
] | = |
4109ac381f6bca15c92225da9dc0db0e97db054b | a2a36c771c513e2f202e2851e141c8d8493ee8f7 | /cpp primer plus/chapterfiveteen/two/trycatch.h | 4315d3136934c3ecef6ad69ee7b6cbeaea4fd3b3 | [] | no_license | XUqilian/Cproject | dcecc9c28e94fc7ab5a68d93bed944266578d429 | fa73a0f05e21375a423a3d21540c7a118cef253b | refs/heads/master | 2023-08-22T05:49:25.723540 | 2023-08-03T15:34:34 | 2023-08-03T15:34:34 | 237,756,845 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 448 | h | #ifndef TRYCATCH_H
#define TRYCATCH_H
#include<iostream>
// #include<excption>
#include<stdexcept>
using std::cout;
using std::cin;
using std::endl;
using std::logic_error;
class erone : public logic_error
{
public:
erone(): logic_error("argment error: the parameters are opp0site numbers."){}
};
class ... | [
"57311647+XUqilian@users.noreply.github.com"
] | 57311647+XUqilian@users.noreply.github.com |
a132b9fd4f56ac0dd3bcb77c17ebabca713aba07 | 5bc47dcf9ab0843b9d06bc25012bcb2f78874216 | /1426D.cpp | fb8aee772285a9b9e2629b32551ff23e23df9d78 | [] | no_license | MijaTola/Codeforce | 428f466248a4e9d42ac457aa971f681320dc5018 | 9e85803464ed192c6c643bd0f920f345503ac967 | refs/heads/master | 2021-01-10T16:27:12.479907 | 2020-10-14T15:00:14 | 2020-10-14T15:00:14 | 45,284,776 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 511 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
vector<long long> v(n);
map<long long, int> mp;
for (int i = 0; i < n; ++i) {
cin >> v[i];
}
long long sum = 0;
int ans = 0;
mp[0]++;
for (int i = 0; i < n; ++i) {
sum += v[i];
... | [
"mijasupergamer@gmail.com"
] | mijasupergamer@gmail.com |
deb6cedcac0dd860ac882b9703997ebf20106fff | 49eb0d08311529b1d2375429a9cbb5582d77fd2d | /src/wallet/db.h | fceaaa93dd87dbf77f3a66c3cb4ec93519bdc2cd | [
"MIT"
] | permissive | mario1987/deimos | bcbaa7b4ed617a70c37047e6590264941b94a170 | 72cb8c33b5a6d4e09e4019602db7cea8c686d505 | refs/heads/master | 2020-03-19T23:11:08.313125 | 2018-06-11T23:06:30 | 2018-06-11T23:06:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,388 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2016 The DeiMos Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef DEIMOS_WALLET_DB_H
#define DEIMOS_WALLET_DB_H
#include "clientversion.h"
... | [
"support@lipcoins.org"
] | support@lipcoins.org |
4ab6a8c80a4b32a7a8cd424f9ed769eb3edf26f9 | 0a9d32e059d5787f1bcb4f8d32771cc38bd20c99 | /src/util.cpp | 3d41913209b748d475bd70d8c400100c0aebbb2a | [
"MIT"
] | permissive | LIMXTEC/LasVegasCoin2 | 114eb6005de7bf5d8cd8c2b4ce3e460980c0b2f9 | 31785c22a46924e2c7e1a6f3570750b335849e92 | refs/heads/master | 2021-09-11T19:58:41.683415 | 2018-04-11T20:50:45 | 2018-04-11T20:50:45 | 110,761,306 | 3 | 9 | MIT | 2018-04-11T20:50:46 | 2017-11-15T00:19:00 | C++ | UTF-8 | C++ | false | false | 24,445 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2015-2017 The LasVegasCoin developers
// Distributed under the MIT software license, see the accompanying
// file ... | [
"apfelbaum@email.de"
] | apfelbaum@email.de |
a846686c5c8e13d2c4b04b66c8775ecdc7fc3534 | 8154eca670c979874d99ce9dc07d2051e428c256 | /src/wallet/test/init_tests.cpp | 05f0261dcf202652d7a0cf06cdd2f64712371e04 | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | pocketnetteam/pocketnet.core | f7e9a7f1589fb71de39214013475abe6e6a68fd2 | 1bdbbc306285be11f11998827ef26b16d47d7643 | refs/heads/0.21 | 2023-08-31T03:22:50.870853 | 2023-06-13T09:28:13 | 2023-06-13T09:28:13 | 172,682,555 | 111 | 32 | Apache-2.0 | 2023-09-11T04:11:07 | 2019-02-26T09:43:47 | C++ | UTF-8 | C++ | false | false | 2,802 | cpp | // Copyright (c) 2018-2019 The Pocketcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <boost/test/unit_test.hpp>
#include <noui.h>
#include <test/util/logging.h>
#include <test/util/setup_common.h>
... | [
"andrew300399@gmail.com"
] | andrew300399@gmail.com |
6591e63b8c4e63790adbc1fbb992fa7d561bba14 | e5a078e8d7f1da417da6315f7f4080fee16dac0e | /DP/trianglePath.cpp | d885bca520a2f67007c1df18c753c909f934025e | [] | no_license | Aierhaimian/data-structures | 2fcdab5a31b9d910e39d558ff83918b71d378c27 | 7b3bfbd7f9b12104a2f899258830c05114c0ec22 | refs/heads/master | 2020-04-01T14:24:12.688295 | 2019-09-08T07:33:19 | 2019-09-08T07:33:19 | 153,292,819 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,585 | cpp | #include <iostream>
#include <vector>
#include <climits>
using namespace std;
class TrianglePath
{
public:
TrianglePath() = default;
TrianglePath(int h, vector<vector<int>> &vec)
:hight(h), triNum(vec)
{
minPath = INT_MAX;
states.resize(vec.size());
for (size_t i=0; i<vec.s... | [
"scu_duzexu@163.com"
] | scu_duzexu@163.com |
a146b54d18297c9055b3b3ff8cc6bda0ccd2799a | f239c72fe8724f07a58583ddb19db49b794f8171 | /d05/ex00/Bureaucrat.cpp | 5aa73b73ff1a23510933a18a6260c64e210ec49f | [] | no_license | ncollie42/cpp_piscine | 8723774d1dfd817a4dfffda691616992dbb4aa7f | ddd9e477a32f76c886558a405946a601f1407f33 | refs/heads/master | 2020-06-20T12:19:55.292088 | 2019-07-27T05:49:12 | 2019-07-27T05:49:12 | 197,119,840 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,184 | cpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Bureaucrat.cpp :+: :+: :+: ... | [
"ncollie42@gmail.com"
] | ncollie42@gmail.com |
d5a0352ed8c9b7ead357645c2a3b439b80c4ee47 | bdd8150e5113560b7589fd3c9c6a2e19994ce476 | /src/p50.cc | 3c525b338708e9c9ae455807ad95fdcee18116e9 | [] | no_license | qclijun/LeetCode | 1da1db8e886864194bfe9ded2c593971b3ffb768 | 3465ba23d4d3961422f4ff775e978d75981b1bb9 | refs/heads/master | 2020-03-28T15:53:06.467738 | 2018-10-10T23:54:30 | 2018-10-10T23:54:30 | 148,634,759 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,136 | cc | /*
* p50.cc
*
* Created on: 2018年9月29日
* Author: jun
*/
/*
* 50. Pow(x, n)
* Implement pow(x, n), which calculates x raised to the power n (xn).
Example 1:
Input: 2.00000, 10
Output: 1024.00000
Example 2:
Input: 2.10000, 3
Output: 9.26100
Example 3:
Input: 2.00000, -2
Output: 0.25000
Explanation: 2-2 ... | [
"jun235@163.com"
] | jun235@163.com |
13cc0acdc69ae320a42e511eb53385eb6d7f7db4 | 89a33e9e60a25dd5d3cbdc27799d2381dec91805 | /src/pubsub_node/src/test.cpp | 348654b0417a7dacd628aa41fb9dbd05630ad762 | [] | no_license | Hgp2Huge/hello_ros2 | 17e1d0cb89a83fe6fb79b3b3f74757b0b93c0ac0 | 076d3930f749b9095acea374f24298f6c2f3ac32 | refs/heads/master | 2023-04-30T05:34:01.856505 | 2020-04-29T09:31:25 | 2020-04-29T09:31:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 558 | cpp | //
// Created by zhihui on 1/14/20.
//
#include "pubsub_node/publisher.h"
#include "pubsub_node/subscriber.h"
int main(int argc, char *argv[]) {
rclcpp::init(argc, argv);
rclcpp::executors::MultiThreadedExecutor exec;
// magic!
rclcpp::NodeOptions options;
options.use_intra_process_comms(true);
... | [
"707060335@qq.com"
] | 707060335@qq.com |
ec96e9e11870d7cbfdc1cab2b7f653e6a44780ac | b91f2ff2ddaa281efa79c9e35c5ecef2b1fbb23c | /example/ws_call_test/proto_server_main.cpp | cc844457c47c6c048fec4af941ce3d3555821f7c | [] | no_license | qduyang/fiber_kit | 2bdeadc76f9fabd2eb6421b779a49ea570a900a7 | a4f4715ea74f92e324e940ea4f53727c4c6a1362 | refs/heads/master | 2020-04-30T15:35:53.228096 | 2019-01-30T01:28:50 | 2019-01-30T01:28:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 660 | cpp | #include "proto_test_server.hpp"
#include "fiber_frame_context.hpp"
int main()
{
FiberFrameContext& frame_cxt = FiberFrameContext::instance();
frame_cxt.run_thread_count = 3;
frame_cxt.init();
init_logging("./proto_server.log", boost::log::trivial::debug);
TestServer server("0.0.0.0", 38... | [
"jxfwinter@test.com"
] | jxfwinter@test.com |
f9b647ef6afda2707dd7220bd4972a269971be16 | 2aa246a5d70450e47f6a61f7fe5efb074f43335d | /src/testApp.h | 91af23e506af0f4ef020d54da9522f8c3e73baf0 | [] | no_license | breeeew/trash | 45011775cc63ed123b62c04c8d6b59d6dd42a1f7 | 9d713eaf3d813ef7a40d31fe14e9cd847df553b9 | refs/heads/master | 2021-01-02T09:27:49.188574 | 2013-01-10T20:21:42 | 2013-01-10T20:21:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 675 | h | #pragma once
#include "ofMain.h"
#include <list>
class PhCircle{
public:
void setup();
void update();
void draw();
ofPoint point;
ofColor color;
};
class testApp : public ofBaseApp{
public:
void setup();
void update();
void draw();
void keyPressed (int key);
... | [
"phoenix@phoenix.(none)"
] | phoenix@phoenix.(none) |
a384b0593f99859b97ada8611b63c1452b015b2a | c13e7cf93b2681c591da8f224da62cb028d73306 | /Memo/Memo/MainFrm.cpp | 5dfa4b126d2d6881809681b22dc2f92e31f7995e | [] | no_license | dazzul94/CppWindowProgramming | 3986890b16d85c132f9deaa5a2f41e32eeb622e0 | fabca6c1fde1aec8b6ad35f925ae166f3849485d | refs/heads/master | 2020-05-04T16:38:59.851878 | 2019-06-15T10:27:19 | 2019-06-15T10:27:19 | 179,283,780 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,978 | cpp |
// MainFrm.cpp: CMainFrame 클래스의 구현
//
#include "pch.h"
#include "framework.h"
#include "Memo.h"
#include "MainFrm.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CMainFrame
IMPLEMENT_DYNAMIC(CMainFrame, CMDIFrameWnd)
BEGIN_MESSAGE_MAP(CMainFrame, CMDIFrameWnd)
ON_WM_CREATE()
END_MESSAGE_MAP()
static UINT ind... | [
"32053060+dazzul94@users.noreply.github.com"
] | 32053060+dazzul94@users.noreply.github.com |
2aeb947baa0031cac8626cbb55b70c74f2f9c495 | 9ead30376893877e9d7747073462b86c7c5fdb5b | /Projects/Blink/Plugins/visit/dayreserve.h | 40e8f90b4a07067f70854c6183f734fd1587c017 | [] | no_license | MarcoBueno1/qrad | 3633398fd333a232e36a603dc471f6f1d122a1af | 9215ef47e065345deb92b2139489092aa6ff94e2 | refs/heads/master | 2020-04-08T16:58:27.383242 | 2019-07-19T19:40:28 | 2019-07-19T19:40:28 | 159,544,545 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 694 | h | #ifndef DAYRESERVE_H
#define DAYRESERVE_H
#include <QDialog>
#include <QSqlQueryModel>
#include <QDate>
#include "column2delegate.h"
namespace Ui {
class DayReserve;
}
class DayReserve : public QDialog
{
Q_OBJECT
public:
explicit DayReserve(QWidget *parent = 0);
~DayReserve();
int Exec(int CommonId... | [
"bueno.marco@gmail.com"
] | bueno.marco@gmail.com |
58dfcf41ef8868cde364b724e25b1bfd29d9f7f0 | 0b8a62bf49b97e89cc74dd8ebe04facb90e55a1f | /src/pupil_tracker/CurveGazingRecorder.cpp | 88e636f550c94d265de7f7be3dd0cb3a2814f5c5 | [] | no_license | saranyasubramaniam/eye-tracking | 83a6b783b532b3e036b0b1ceba5522797c8ea315 | fd148e5c386ebd23d1d5968b9f7642c1e0749e56 | refs/heads/master | 2021-01-18T08:22:17.323261 | 2015-01-14T05:16:19 | 2015-01-14T05:16:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,761 | cpp | #include <jzp_lib/jzplib_all.h>
#include <boost/filesystem.hpp>
#include <boost/math/special_functions.hpp>
#include <boost/thread.hpp>
#include "boost/date_time/posix_time/posix_time.hpp"
#include <boost/algorithm/string.hpp>
#include <boost/lockfree/spsc_queue.hpp>
#include <deque>
namespace fs = boost::filesystem;
u... | [
"jiangzp.cs@gmail.com"
] | jiangzp.cs@gmail.com |
6caddc90a60293480b75db894e3b1b004c632bd3 | c46aa3cd0401b9855498d515d911ec7bdba6b221 | /bot/weapon/SemiAutoBuilder.h | 279f607aeb4f80d184b8e73bef0d407be9e644fb | [] | no_license | taiyungwang/hl2_goap_bot | 0c9634c75db1331d340f2971eb2de426aad9fdf1 | 7cb4713f4961893e9cd101cd7c627263c0e0c9af | refs/heads/master | 2023-06-07T12:47:42.789429 | 2023-05-28T04:57:55 | 2023-05-28T04:57:55 | 165,223,234 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 247 | h | #pragma once
#include "ReloadableWeaponBuilder.h"
class SemiAutoBuilder: public ReloadableWeaponBuilder<> {
public:
SemiAutoBuilder(float damage1) {
this->damage1 = damage1;
}
virtual std::shared_ptr<Weapon> build(edict_t* weap) const;
};
| [
"ttwang@ttwang-PC.lan"
] | ttwang@ttwang-PC.lan |
80a9eaf183555932b19783df0428100630a51173 | c67838253a735ad108ee8fc0b23505b6d0160ac2 | /mmixvm/CommonImpl.cpp | be1d13ad50859c54df8f132545263af7e5f65295 | [] | no_license | xuhd/llvmmmix | d70c6af85444ba6c82774ceae9efab7c56eb1335 | 5da01418ae94e0eaeb4ccbae279535b31715e730 | refs/heads/master | 2021-01-15T20:57:16.913870 | 2013-07-02T17:45:45 | 2013-07-02T17:45:45 | 41,653,524 | 2 | 0 | null | 2015-08-31T03:21:42 | 2015-08-31T03:21:42 | null | UTF-8 | C++ | false | false | 28,844 | cpp | #include "stdafx.h"
#include "Util.h"
#include "MmixEmit.h"
#include "MmixEmitPvt.h"
#include "MmixDef.h"
using llvm::LLVMContext;
using llvm::Module;
using llvm::Type;
using llvm::PointerType;
using llvm::Value;
using llvm::PHINode;
using llvm::Argument;
using llvm::Function;
using llvm::BasicBlock;
using llvm::IRBui... | [
"sergey.zykov@gmail.com"
] | sergey.zykov@gmail.com |
dcfd786361945ef945b90e9913fa596cfcf3610f | a231d56beb3cc2bbe2c2f1992bc410c6af02ef02 | /hphp/runtime/vm/translator/hopt/ir.cpp | a1e68ce964b8715897d602d6eead54d03b21b6cd | [
"LicenseRef-scancode-unknown-license-reference",
"PHP-3.01",
"Zend-2.0"
] | permissive | sclin/hiphop-php | ac0fb069c6c7d3ad954b15a883860de3829fb2b2 | 6434422e85d52f5614fba310e0a9e62cf8c370b4 | refs/heads/master | 2020-12-25T10:08:41.300200 | 2013-03-10T13:03:46 | 2013-03-12T04:19:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 37,930 | cpp | /*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010- Facebook, Inc. (http://www.facebook.com) |
+---------... | [
"sgolemon@fb.com"
] | sgolemon@fb.com |
4f78afae1a7e9268b189002ff3ab0659711dfb44 | 053123bc636c9f5e912b5c0448fee771c042030d | /bwd_1x1_test.cpp | 3030c62a2b840c33e6b0c2793b031ca67e9db9eb | [] | no_license | andygongyb/SparseTrainTests | 24cf05ea7d46d293c68b8c07e658f08c4704a3e5 | 0b6ab252b822e88a6846ea10439a28f1eddaf61e | refs/heads/master | 2020-04-30T02:27:22.553397 | 2019-05-15T20:20:43 | 2019-05-15T20:20:43 | 176,560,207 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,314 | cpp | /*******************************************************************************
* Copyright 2016-2018 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apa... | [
"gong15@mako.cs.illinois.edu"
] | gong15@mako.cs.illinois.edu |
194e6055bfb3dfad87daf52977acf1d2952e827a | 6dad659f60a78bea27ef2509f90aa3341c7a88eb | /include/boost/beast/core/impl/flat_stream.hpp | 304ef00e79f980c8cc99f4b218ae4eaaad9e79f1 | [
"BSL-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | MutexUnlocked/boost | 6af1920cb08bfedc4a00a1f259443df753a0777f | f2dc8be896eabd5f5da18d3b78abec2f5a04d4e5 | refs/heads/master | 2020-05-19T09:09:30.213802 | 2019-05-04T20:16:50 | 2019-05-04T20:16:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,957 | hpp | //
// Copyright (c) 2016-2019 Vinnie Falco (vinnie dot falco at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
// Official repository: https://github.com/boostorg/beast
//
#ifndef BOOST_BEAST_... | [
"friedrichdoku@gmail.com"
] | friedrichdoku@gmail.com |
e2a7cd65f33ccacadbac4829be2af7fb71cb3fcc | 16e6a9900223afacd74b9aef90b13e4075bcff04 | /libraries/RyuLib/Examples/Etc/Drone/Drone.ino | d3613ad8e052c339fe635fbe67d1661af7c69704 | [] | no_license | ryujt/ryulib-arduino | 489df10855a4bb3a56c37b24beaeb46d90a98433 | c0e9fdfabe7e7a13fcffe2ce03806bc06e66e137 | refs/heads/master | 2022-03-23T19:03:10.970266 | 2019-12-11T13:51:58 | 2019-12-11T13:51:58 | 49,684,699 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,703 | ino | #include <math.h>
#include <Wire.h>
#include <SoftwareSerial.h>
#include "kalman.h"
#include "MotorDriver.h"
/* MPU-6050 sensor */
#define MPU6050_ACCEL_XOUT_H 0x3B // R
#define MPU6050_PWR_MGMT_1 0x6B // R/W
#define MPU6050_PWR_MGMT_2 0x6C // R/W
#define MPU6050_WHO_AM_I 0x75 // R
#define MPU6050_I2C_ADDRESS 0x68
st... | [
"ryujt658@hanmail.net"
] | ryujt658@hanmail.net |
ca6315a1920412053984360cfaafe08aafa2706d | cb0f510888d4d80c8fe16c22a0f40787677abfe0 | /operator_ui/src/CamWidget.cpp | b47900153033e6d8b513a2c37409bc0b15c9fc80 | [
"MIT"
] | permissive | DeepBlue14/usar_system | 89f4fb384c3fb41c3fefb9fe0eb339eb011c267f | a1b3d78a65f064be897f75dfc5f4dad4214f9d74 | refs/heads/master | 2021-01-17T21:03:37.653042 | 2017-11-16T05:21:50 | 2017-11-16T05:21:50 | 61,601,115 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,703 | cpp | /*
* Copyright (C) 2016 James T. Kuczynski
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
#include <QtWebSockets/QWebSocketServer>
#include <QtWebSockets/QWebSocket>
#include <QtCore/QDebug>
#include <iostream>
#include "../include/o... | [
"james.perl12@gmail.com"
] | james.perl12@gmail.com |
09b2f56cbde52f782e9ad2555f0d17e2ea7c2aa0 | 33546aee6429d5b8f19a02e14699b6ebb5b34af8 | /src/chrome/browser/ui/views/first_run_bubble.cc | d1457e4b6a9c5536fd8916404014531eff7b2dfc | [
"BSD-3-Clause"
] | permissive | mYoda/CustomBrs | bdbf992c0db0bf2fd1821fa1fd0120ac77ffc011 | 493fc461eb7ea7321c51c6831fe737cfb21fdd3e | refs/heads/master | 2022-11-22T09:11:37.873894 | 2022-11-10T10:02:49 | 2022-11-10T10:02:49 | 24,951,822 | 0 | 1 | null | 2022-11-02T14:39:34 | 2014-10-08T17:22:30 | C++ | UTF-8 | C++ | false | false | 3,502 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/views/first_run_bubble.h"
#include "chrome/browser/first_run/first_run.h"
#include "chrome/browser/search_engines/util.h"... | [
"nechayukanton@gmail.com"
] | nechayukanton@gmail.com |
cd2b7532e5defff5621b0c732147b64e6ed90b88 | d3d29f88b30705e1ee815ff22ab2fe1e1bbcc637 | /solution1/sim/autowrap/testbench/feature.cpp_pre.cpp.line.cpp | 6ff7504c76a760e4b68b95870c5d70c838b914a5 | [] | no_license | sammy17/maxi_feature | 9508e380a9dc4c1cbe6608b2b64bb70d91a750ba | 8d838bcffd9229d577054dd90504606136d93afc | refs/heads/master | 2021-09-04T03:12:36.959448 | 2017-11-21T08:41:25 | 2017-11-21T08:41:25 | 111,329,528 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,722,165 | cpp | #pragma line 1 "F:/maxi/feature_maxi/feature.cpp"
#pragma line 1 "<built-in>"
#pragma line 1 "<command-line>"
#pragma line 1 "F:/maxi/feature_maxi/feature.cpp"
#pragma line 1 "F:/maxi/feature_maxi/feature.h" 1
#pragma line 1 "F:/Xilinx/Vivado_HLS/2015.4/include/hls_video.h" 1
#pragma line 48 "F:/Xilinx/Vivado_HLS... | [
"chathura.abeyrathne.lk@gmail.com"
] | chathura.abeyrathne.lk@gmail.com |
278635a78ab70600c14865041967952a43d5aff6 | 02a249c0c48ad11f8b5476626e42a7a2af889637 | /code/data_structure/FHQTreap2.cpp | 84d27b6d9961d5e34308f5401765fc11a716e780 | [] | no_license | Kanaricc/MyICPC | 3a3351fc02d7f36e7438eb1c92a87c9263028c8f | 73e80b2263ae8e2fe87009743defb59ff36e38ca | refs/heads/master | 2023-07-06T14:38:39.495821 | 2023-07-06T09:18:58 | 2023-07-06T09:18:58 | 186,849,167 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,108 | cpp | //无旋Treap 版本2
struct Treap {
struct Node {
Node *son[2];
int v,add,size;
long long sum;
Node(int v):v(v),add(0),size(1),sum(v) {
son[0]=son[1]=null;
}
Node(void*):v(0),add(0),size(0),sum(0) {
son[0]=son[1]=this;
}
void Add(int d) {
add+=d;
sum+=(long long)d*size;
v+=d;
}
void Up(... | [
"iovo7c@gmail.com"
] | iovo7c@gmail.com |
205979a180a9696ed524db1aa9d3c982db7cbceb | ab01b7cc84d4bc73b176dade1e94f236d256fcb8 | /opencv-lib/calib3d/src/levmarq.cpp | ffc074e8b190de45e03c7b85d1d4cc66e89b83f6 | [
"Apache-2.0"
] | permissive | h7ga40/PeachCam | 097a0cecabe100c92fb61c63d17455ce22fb397f | 1af2b041a4eb22b962183905ff81a2ee57babc3c | refs/heads/master | 2023-09-05T02:46:02.335574 | 2023-08-07T13:15:22 | 2023-08-07T13:15:22 | 177,606,980 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 8,133 | cpp | /*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, i... | [
"hi6aki_7ga40@hotmail.com"
] | hi6aki_7ga40@hotmail.com |
c9a606b54660ade395f1cb794d80854dfc4206c7 | 90cd1f7f6ddc33b1bf2d0a6a1ac6fe4be760ead5 | /include/boost/simd/arch/common/generic/function/negatenz.hpp | 712678fbab10fbd79de0f79016359338657cf0db | [
"BSL-1.0"
] | permissive | williammc/boost.simd | 511f03857ee66178179daba6295533e316d61a94 | b4310d441c7122f974498042ad604d559280431a | refs/heads/master | 2021-01-17T23:56:44.708853 | 2016-08-16T07:14:57 | 2016-08-16T07:14:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,150 | hpp | //==================================================================================================
/*!
@file
@copyright 2015 NumScale SAS
@copyright 2015 J.T. Lapreste
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
... | [
"charly.chevalier@numscale.com"
] | charly.chevalier@numscale.com |
a25be4402063fa1d450d0af86062893943ba2667 | 9402c9f35b6d895c3b6f7ddcfc87241e6b9145d8 | /Codechef/iitk2/p01.cpp | a6c3f6c7ca7f73c92567a253391d751004a563a5 | [] | no_license | siddharth94/competitive | 586d42679558dcd1dcca3457c2ca7be089cbda30 | ecda01521a7a9908225771d9374d5c18fa646515 | refs/heads/master | 2021-07-06T05:27:13.395384 | 2017-09-29T10:16:20 | 2017-09-29T10:16:20 | 105,229,373 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,826 | cpp | #include <bits/stdc++.h>
using namespace std;
#define R(i,a,b) for(int i=a;i<b;i++)
#define RE(i,a,b) for(int i=a;i<=b;i++)
#define RR(i,a,b) for(int i=a;i>b;i--)
#define RRE(i,a,b) for(int i=a;i>=b;i--)
#define F(i,n) for(int i=0;i<n;i++)
#define FE(i,n) for(int i=0;i<=n;i++)
#define FR(i,n) for(int i=n;i>0;i--)
#def... | [
"siddharthgg52@gmail.com"
] | siddharthgg52@gmail.com |
68e32aa1ef6e4b1d1686273150d4746f4b282d1a | 2588ad590b4df910fa5477ee84101b56dba69144 | /Tree/Tree/Same_Parents.hpp | e617f2c9525448f2fc58ecdf283e8eba932091f2 | [] | no_license | Mr-Jason-Sam/Algorithms | e6829cf55addb7a01c425f8f8c732dce1082901c | 6f015cc63407cda1aae310aefd3b705fcc00a361 | refs/heads/master | 2021-01-19T10:53:22.400040 | 2019-05-23T17:06:42 | 2019-05-23T17:06:42 | 87,910,106 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 716 | hpp | //
// Same_Parents.hpp
// Tree
//
// Created by Jason_Sam on 2017/4/5.
// Copyright © 2017年 Jason_Sam. All rights reserved.
//
#ifndef Same_Parents_hpp
#define Same_Parents_hpp
#include <stdio.h>
#include <iostream>
#include <vector>
#include "Bitree_Operation.hpp"
using namespace std;
//typedef struct BiTreeNo... | [
"Mr.Jason_Sam@iCloud.com"
] | Mr.Jason_Sam@iCloud.com |
0952f2c5ffd6afedde03612c5f347bbfa3c52b8c | 842a59c4bd78d259c8c7130ee216f6891f3307b1 | /datawriter.cpp | 489185dbc232f2c176e887bd19749a461fc1751a | [] | no_license | zhangzhuo520/QtSerail | 6cd07270f487e0d9a20ddd8d1e69ac6c9058aa03 | 8feacbecc629dfaf9bdbce0d8c3671803f43a532 | refs/heads/master | 2020-08-08T08:14:57.584655 | 2019-10-12T10:25:33 | 2019-10-12T10:25:33 | 213,789,583 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 302 | cpp | #include "datawriter.h"
#include <QSettings>
#include <QDir>
DataWriter::DataWriter()
{
m_config_writer = new QSettings(QDir::currentPath() + "/config.data", QSettings::IniFormat);
}
void DataWriter::write(const QString & key, const QString & value)
{
m_config_writer->setValue(key, value);
}
| [
"zhuo.zhang@dfjy-jx.com"
] | zhuo.zhang@dfjy-jx.com |
84669ca4d43877518d198f0ce08b25b82a22ccc0 | 7ba6bbfa2f27f2ff2b4af8c4ee4e08df29f95403 | /PLEXSYS Homework/ioControl.h | 80537deea871b9e3e859afffa375b4d495375c1f | [] | no_license | Gabrielsonnn/Plexsys | e7f8310a95dc5ed1427e3ad68f722ff52ab3c8cf | 95fb70670a8e81f79e6dd8ec48a6e397c965c38c | refs/heads/master | 2022-12-25T11:05:31.399946 | 2020-10-08T19:46:38 | 2020-10-08T19:46:38 | 301,880,436 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,415 | h | //Developer: Gabriel Johnson
#ifndef IOCONTROL_H
#define IOCONTROL_H
#include<string>
using namespace std;
class ioControl {//A class for handling output and input from a command line
public:
//constructor
ioControl();
//destructor
~ioControl();
void Output(string out, string extra = "");//outputs a string a... | [
"grjbrown1@gmail.com"
] | grjbrown1@gmail.com |
af12847112efa1d962d866d26465afa9f6aed859 | 37cc3ea1dce0b0f9d903065c6e6c8cadab576ac6 | /chapter9/9_38.cpp | c3c9ac8e2b78f3f2bcd6742356a4207cfc8739c3 | [] | no_license | jsntxzx/cpp_primer5 | 6f60d2caa016ea54e325961c08a95d232f7f73b1 | 7a949def40deee900bf8ebf51218888975104353 | refs/heads/master | 2021-01-23T12:17:35.260478 | 2015-03-24T06:53:36 | 2015-03-24T06:53:36 | 28,374,777 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 587 | cpp | #include<iostream>
#include<vector>
using namespace std;
int main()
{
vector<int > v;
cout << "size of vector is " << v.size() <<endl;
cout << "capacity of vector is " << v.capacity() <<endl;
for(int i = 0 ; i < 50 ; i++ )
v.push_back(i);
cout << "now size is " << v.size() << endl;
cout << "now capacity is " ... | [
"jsntxzx@sina.com"
] | jsntxzx@sina.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.