blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
65233da2cd0e37f9061f04fe1fce378d7e3ec2b3 | b69a21b62bcdab75ab24264b3354a1947acf5e6f | /velasquez/prototype/brushstylewidget.cpp | a9b73f7b26f7e59070fb9fc986ad647b7b1e8d7d | [
"CC-BY-4.0",
"MIT"
] | permissive | aernesto/moodbox_aka_risovaska | 97ee1127e1ed7a2ddcc85079cab15c70b575d05f | 5943452e4c7fc9e3c828f62f565cd2da9a040e92 | refs/heads/master | 2021-01-01T17:17:39.638815 | 2012-02-28T15:31:55 | 2012-02-28T15:31:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,390 | cpp | #include "brushstylewidget.h"
#include <QVariant>
#include <QStandardItem>
#include "brushstyle.h"
#define STYLE_ROLE Qt::UserRole + 1
BrushStyleWidget::BrushStyleWidget(QWidget *parent)
: QWidget(parent, Qt::Popup), style(Size), color(Qt::black)
{
setupUi(this);
itemModel = new QStandardItemModel(... | [
"roman.vorushin@gmail.com"
] | roman.vorushin@gmail.com |
f53e7996b5cc4fd9d0e7183349e6e299bdc169db | bb6ebff7a7f6140903d37905c350954ff6599091 | /chrome/browser/ui/tab_contents/core_tab_helper.cc | 0e78ad5f24421de1448a61bd2ad979ee2d03afb0 | [
"BSD-3-Clause"
] | permissive | PDi-Communication-Systems-Inc/lollipop_external_chromium_org | faa6602bd6bfd9b9b6277ce3cd16df0bd26e7f2f | ccadf4e63dd34be157281f53fe213d09a8c66d2c | refs/heads/master | 2022-12-23T18:07:04.568931 | 2016-04-11T16:03:36 | 2016-04-11T16:03:36 | 53,677,925 | 0 | 1 | BSD-3-Clause | 2022-12-09T23:46:46 | 2016-03-11T15:49:07 | C++ | UTF-8 | C++ | false | false | 9,943 | 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/tab_contents/core_tab_helper.h"
#include <string>
#include <vector>
#include "base/command_line.h"
#include "base/metric... | [
"mrobbeloth@pdiarm.com"
] | mrobbeloth@pdiarm.com |
aa77b1572e6e5b644e0763aecff208d109dba73d | 04f8ce0c0b4dcd2f61e721c2fe5696b21a4bef5c | /Bot_Work/Bot_Work/CL_TTTGame.cpp | 3b6d030bec3bdfb863e842ae5dad836c05ef6f4c | [] | no_license | NashBean/GameBots | c68b460c765416b68cf6b0c24f066cef8e07dc2c | 79a92a78ae338d269c1545b9dd46537e1d8f5528 | refs/heads/master | 2021-01-10T16:25:22.736019 | 2018-12-09T23:17:50 | 2018-12-09T23:17:50 | 46,244,021 | 2 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 5,046 | cpp | //
// CL_TTTGame.cpp
//
//
// Created by nash on 11/24/15.
// Copyright 2015 iBean Software.
// All rights reserved.
//
//#include <windows.h>
#include <iostream>
#include <string>
//--------------------------------------------------------------------------------------------------
using namespace std;
//--------... | [
"nashbean@gmail.com"
] | nashbean@gmail.com |
1748bb63a450cfdb4b9445f72854c071efe8b4fa | 76f0efb245ff0013e0428ee7636e72dc288832ab | /out/Default/gen/chrome/browser/safe_browsing/chunk.pb.cc | 30e749cd441d6f25d54e25a756082a4958140b52 | [] | no_license | dckristiono/chromium | e8845d2a8754f39e0ca1d3d3d44d01231957367c | 8ad7c1bd5778bfda3347cf6b30ef60d3e4d7c0b9 | refs/heads/master | 2020-04-22T02:34:41.775069 | 2016-08-24T14:05:09 | 2016-08-24T14:05:09 | 66,465,243 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | true | 22,298 | cc | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: chunk.proto
#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
#include "chunk.pb.h"
#include <algorithm>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/port.h>
#include <google/protobuf/stubs/once.h>
#include <google... | [
"dckristiono@gmail.com"
] | dckristiono@gmail.com |
e55051bfe2db4e07d82d033ae141b1aac821fa3e | 2308d7c7950249e312c7ee0022e46be43d2d7112 | /C_Workspace/MergeBinaryTrees/MergeBinaryTrees/main.cpp | 1fc4d703916cd8352c25dfd93af463a682b8f264 | [] | no_license | EricWenyi/Eric_recent_work | 7a46607b789477aa69fec398935b80adf2278af4 | 12bac03005358364df17fec3ad3b1e0302be1d91 | refs/heads/master | 2020-04-06T05:13:57.811363 | 2017-11-15T18:57:45 | 2017-11-15T18:57:45 | 44,515,624 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,011 | cpp | //
// main.cpp
// MergeBinaryTrees
//
// Created by 邬文弈 on 2017/8/13.
// Copyright © 2017年 Eric. All rights reserved.
//
#include <iostream>
using namespace std;
/**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) :... | [
"ericwenyi1995@outlook.com"
] | ericwenyi1995@outlook.com |
90fa2f5c6bed50743e46d34ce1acdf6f4cadfe5e | 671bb17c3c7d5b75d4aaa07836fd3d396040b149 | /lightOJ/1022 Circle in Square.cpp | 097ab093b5ac17526a63eacc441c51cf4bc8dba0 | [] | no_license | pz1971/Online-Judge-Solutions | 31144ca10b5d501c91a3d817348c075272ab4f77 | d3ee4bae47c3ebc08d234288f794b96d0b6beeef | refs/heads/master | 2022-11-09T15:55:55.731337 | 2022-10-26T12:53:16 | 2022-10-26T12:53:16 | 205,677,062 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 339 | cpp | #include<bits/stdc++.h>
using namespace std;
typedef long long LL;
typedef vector<int> VI;
typedef pair<int,int> PII;
int main(){
int t;
double r;
const double pi = acos(-1.0);
scanf("%d", &t);
for(int tc=1; tc<=t; tc++){
scanf("%lf", &r);
printf("Case %d: %.2lf\n", tc, (r+r)*(r+r) - pi*r*r... | [
"parvez.pz1971@gmail.com"
] | parvez.pz1971@gmail.com |
e5edaf2fce487fc6b2006a43c3bd7be61683d70c | b7ee9ac14d6981e18fa1b19214366878a4884a42 | /Projects/Irrlicht/Include/quaternion.h | 507e2a67cd7877539d9013fc88f4466292e242c8 | [
"MIT"
] | permissive | skylicht-lab/skylicht-engine | 89d51b4240ca6ed5a7f15b413df5711288580e9e | ff0e875581840efd15503cdfa49f112b6adade98 | refs/heads/master | 2023-09-01T02:23:45.865965 | 2023-08-29T08:21:41 | 2023-08-29T08:21:41 | 220,988,542 | 492 | 46 | MIT | 2023-06-05T10:18:45 | 2019-11-11T13:34:56 | C++ | UTF-8 | C++ | false | false | 17,830 | h | // Copyright (C) 2002-2012 Nikolaus Gebhardt
// This file is part of the "Irrlicht Engine".
// For conditions of distribution and use, see copyright notice in irrlicht.h
#ifndef __IRR_QUATERNION_H_INCLUDED__
#define __IRR_QUATERNION_H_INCLUDED__
#include "irrTypes.h"
#include "irrMath.h"
#include "matrix4.h"
#include... | [
"hongduc.pr@gmail.com"
] | hongduc.pr@gmail.com |
58073b8bf924f9946cc84a563c571bde8938026f | eb2510e9d6af1534f6275903e96aba6419e0b6d0 | /stm32/combined_tests/src/stm32f091/bsp.hpp | 7e4e0339586f7c35064408df7d35559751e8a697 | [
"MIT"
] | permissive | hodea/hodea-lib-testing | c3e5f216414a5a4dd5f6a0ff92b126a56aa679a1 | 5a51c1146a51a951e454c8c0350c902080e054d7 | refs/heads/master | 2021-09-20T11:56:00.043925 | 2018-08-09T07:48:29 | 2018-08-09T07:48:29 | 98,781,027 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 262 | hpp | // Copyright (c) 2017, Franz Hollerer.
// SPDX-License-Identifier: MIT
/**
* Board support package stm32f091 nucleos board.
*
* \author f.hollerer@hodea.org
*/
#if !defined BSP_HPP
#define BSP_HPP
void init_pins_alternate_function();
#endif /*!BSP_HPP */
| [
"f.hollerer@gmx.net"
] | f.hollerer@gmx.net |
ab07d7787a217002717f4a85e465a737c9a96fa6 | fac52aacf1a7145d46f420bb2991528676e3be3f | /SDK/BP_ImprovisedFlashlight_parameters.h | e10140bae45d374495584361608c10b53a9f5b7d | [] | no_license | zH4x-SDK/zSCUM-SDK | 2342afd6ee54f4f0b14b0a0e9e3920d75bdb4fed | 711376eb272b220521fec36d84ca78fc11d4802a | refs/heads/main | 2023-07-15T16:02:22.649492 | 2021-08-27T13:44:21 | 2021-08-27T13:44:21 | 400,522,163 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 503 | h | #pragma once
#include "../SDK.h"
// Name: SCUM, Version: 4.20.3
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Parameters
//---------------------------------------------------------------------------
// Function BP_Im... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
5033863b2fa75aee1f46a02ff5a029b5bcdbf867 | 097007b435b1bf420a19ce33aabee32f0789f145 | /leetcode/convert_sorted_array_to_binary_search_tree.cpp | 4280faf86bd6c072e0a4ddce93beecb77ca113f6 | [] | 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 | 1,059 | cpp | #include <bits/stdc++.h>
#define ll long long
#define f(i, x, n) for(int i = x; i < n; i++)
#define dbg(x) cout << x << endl
#define dbg2(x, y) cout << x << " " << y << endl
#define dbg3(x, y, z) cout << x << " " << y << " " << z << endl
#define mod 1000000007
using namespace std;
struct TreeNode {
int val;
... | [
"bhardwaj.anshit1379@gmail.com"
] | bhardwaj.anshit1379@gmail.com |
35ee1386dcb73258607c53992991a3c80d16292f | cde4f7481063a684ab9660c5d36294efd60ec782 | /C语言2/5第五章 函数(一)/例子5—8.cpp | 1c3e541487f434653107ba0fd0bf876737f74293 | [] | no_license | woniuge/basicCode_C-Cpp | 044931be11fb77503c698eb568b56fbcbc2bc0eb | 172459ded58892a55aa68d9afa8f4c28da3a3190 | refs/heads/master | 2020-09-29T16:11:11.691373 | 2019-12-15T03:08:34 | 2019-12-15T03:08:34 | 227,070,147 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 229 | cpp | #include <stdio.h>
void fun(int k);
int main(void)
{
int k;
for(k=1;k<=3;k++)
fun(k);
printf("\n");
return 0;
}
void fun(int k)
{
static int a;
printf("%d,",a);
a+=k; /* a+=k±íʾa=a+k */
} | [
"noreply@github.com"
] | noreply@github.com |
07c36a430257ed60af0dcaf4e030aae8fb96dd9f | 071a80ccd42786ce6d4488fc5a8d324a2b2bd4df | /project3/code/project2/part2/socket_header.h | 37773e11b66cac9078b50a33ad0a867c1d35c79a | [
"MIT"
] | permissive | adavis10006/2014-NP | e70fb3a5def5a4143374fc63463ce3a0b7ef336f | 813955fd695945879f86d0e4a9ab6e96d5d72fd4 | refs/heads/master | 2021-08-22T16:08:52.585224 | 2017-11-30T16:03:12 | 2017-11-30T16:03:12 | 112,629,088 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,613 | h | #ifndef __SOCKET_HEADER__
#define __SOCKET_HEADER__
//************************************************
#include <arpa/inet.h>
#include <deque>
#include <errno.h>
#include <fcntl.h>
#include <iostream>
#include <netdb.h>
#include <netinet/in.h>
#include <sys/ipc.h>
#include <sys/sem.h>
#include <sys/shm.h>
... | [
"adavis10006@gamil.com"
] | adavis10006@gamil.com |
2f0fe8a3934f973250e661a6b0e22955a428e69c | 124e8db708315c87eae0e4ee559612138ac79ce3 | /Client/spaceobjects/CShipType.cpp | f453c6dca43569d6f663693bf1cc4211f524f6fb | [] | no_license | protective/anno3112 | 7e2beec4a0a9892fb084d9237baf770cab655c81 | 8de8a12880501876d89893d9ed92d118c14ffe38 | refs/heads/master | 2021-01-22T23:54:32.286050 | 2014-09-27T20:27:59 | 2014-09-27T20:27:59 | 15,630,219 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 249 | cpp | /*
* File: CShipType.cpp
* Author: karsten
*
* Created on 21. august 2011, 11:19
*/
#include "CShipType.h"
CShipType::CShipType(uint32_t id) {
_texture = 1;
_id = id;
_cargo = 0;
_size = 1;
_mass = 1;
}
CShipType::~CShipType() {
}
| [
"karstenjjakobsen@gmail.com"
] | karstenjjakobsen@gmail.com |
a884bffc9c5e3b530e00b9b4f91a180bd499fc00 | 00b31335dad67816d7e9235b82a3e439089e3f1d | /PC App/AndroidTouchPad/xtestcursormanager.h | d10caf6be454aed2ce45d57290e14785db630298 | [
"MIT"
] | permissive | elraffray/AndroidTouchPad | 255a2a74bb1a9235cb9380d8f9e93430bdc1c89b | aebf0da42fe88f0e5234bda1950b996334cb2785 | refs/heads/master | 2021-04-15T04:26:32.340174 | 2018-03-25T15:27:09 | 2018-03-25T15:27:09 | 126,504,499 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 482 | h | #ifndef XTESTCURSORMANAGER_H
#define XTESTCURSORMANAGER_H
#include <X11/extensions/XTest.h>
#include "cursormanager.h"
class XTestCursorManager : public CursorManager
{
public:
XTestCursorManager();
~XTestCursorManager();
Display *getDisplay() { return dpy; }
void moveCursorTo(int x, int y);
vo... | [
"gryfenflash@gmail.com"
] | gryfenflash@gmail.com |
bf674049f8fb3e83abac2ee4d88727510dd26d86 | 288a7cafd69a4697b5f363d77c47ba9e578ef4b4 | /include/crocore/define_class_ptr.hpp | 6b0821e5620a6312e585957d6f7b3642b7e9769d | [
"MIT"
] | permissive | crocdialer/crocore | 6641d8ea9675c8414a132c0b740a05dc56b97c4c | 35f7a34f69d169dfe0c9e468aca260b55d8c4a3c | refs/heads/master | 2023-08-22T09:53:04.084381 | 2023-08-19T07:51:13 | 2023-08-19T07:51:13 | 174,580,550 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 453 | hpp | //
// Created by crocdialer on 5/30/21.
//
#pragma once
#include <memory>
//! forward declare a class and define shared-, const-, weak- and unique-pointers for it.
#define DEFINE_CLASS_PTR(CLASS_NAME)\
class CLASS_NAME;\
using CLASS_NAME##Ptr = std::shared_ptr<CLASS_NAME>;\
using CLASS_NAME##ConstPtr = std::shared_p... | [
"crocdialer@gmail.com"
] | crocdialer@gmail.com |
e12712d008f00d8e70cbebea3c4d56d9661b640b | 2f5dc01ba736990d5949b59e5ee97df8725805aa | /samples/main.cpp | 755140808217d5c5a283a4342d1d9fd1529d1ad3 | [] | no_license | VladislavLap/mp2-lab4-polinoms | 90f052248c839c1d9037931e2057483b6fbac9c3 | ec2f2a718bb88c8030aa112f74feeb56a2ba2a07 | refs/heads/master | 2020-04-25T00:52:10.914353 | 2019-03-26T19:53:09 | 2019-03-26T19:53:09 | 172,391,573 | 0 | 0 | null | 2019-02-24T21:19:17 | 2019-02-24T21:19:16 | null | UTF-8 | C++ | false | false | 3,068 | cpp | #include "polinom.h"
#include "iomanip"
using namespace std;
void InputAll(bool frst, bool scnd, bool cons, Polinom& p1, Polinom& p2, double& constant);
Polinom InputPolinom();
int main()
{
cout << "Program name: Testing polinoms" << endl;
Polinom p1;
Polinom p2;
double constant;
bool exit = false;
bool prnt ... | [
"vladislav.laptev-cool@yandex.ru"
] | vladislav.laptev-cool@yandex.ru |
9fc082a05b0666f78ea14c911c3d34fcb201c54a | f291109b455b49dfc6e6ef203b32e78de2f85f62 | /Project3/final/davidsonP3/davidsonP3/Game.cpp | 71a91349d1c628f69782c143c27ccf34c77d56d6 | [] | no_license | iandavidson/SSUCS215 | acada3e079a9c29fa2c8f466e5babcd346b4b328 | 4d003dbcd293e50e26d004f0fa2886ff38a729ae | refs/heads/master | 2021-05-15T19:58:21.903071 | 2017-10-21T21:49:43 | 2017-10-21T21:49:43 | 107,818,183 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,938 | cpp | // File: Game.cpp
// Author: Ian Davidson
// Project: CS215 Project 3 Fall 2016
// Description of file contents:
#include "Game.h"
#include <time.h>
static CBitmap images [NUMIMAGES];
using namespace std;
Game::GameSquare::GameSquare ()
{
// This function will: Construct a square object within the CM... | [
"idavidson@blue.cs.sonoma.edu"
] | idavidson@blue.cs.sonoma.edu |
2ceee713b6a2895e81eaeda8fcbf62dab6a59f35 | 286883a3468f376b6f2b0bfc9296e7fa196bbe2e | /example-orderedpointermap/src/example-orderedpointermap.cpp | 6d1a0aa88e5569f531b402a5aef3ca7bdeb0bd5e | [
"MIT"
] | permissive | memo/ofxMSAOrderedPointerMap | 1b89a4572b8d0b7e243f511c3e67c2b32a1097cd | 4fa030b0c9f3fef5199ac804a64b3f81a282b418 | refs/heads/master | 2021-06-28T12:24:03.182476 | 2020-11-04T13:09:56 | 2020-11-04T13:09:56 | 7,577,122 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,809 | cpp | // __
// ____ ___ ___ ____ ___ ____ / /__ __
// / __ `__ \/ _ \/ __ `__ \/ __ \ / __/ | / /
// / / / / / / __/ / / / / / /_/ // /_ | |/ /
// /_/ /_/ /_/\___/_/ /_/ /_/\____(_)__/ |___/
//
//
// Created by Memo Akten, www.memo.tv
//
// acts like a std::map of smar... | [
"memo@memo.tv"
] | memo@memo.tv |
f29444d2d0babedf9ca2e9f17c63f3f448416e8c | e272ab370ccd758cf1993cff634ec3139c7845ce | /TCLab/ejerciciosLaboratorio/lab6/ejercicio.cpp | cb837d6bd7bacd3cda43165f72feb6f46113b47a | [] | no_license | MichaelSecarlos/PS-and-TC-Labs | 5cb02f2fa0ae61144a05852ec86705195cda1e23 | 93c7d402582318677813480bf5866f0e9841f3c0 | refs/heads/main | 2023-06-24T10:43:08.908213 | 2021-07-20T00:34:22 | 2021-07-20T00:34:22 | 387,627,025 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 228 | cpp | #include <iostream>
using namespace std;
struct Point
{
int x = 0;
int y = 1;
};
int main()
{
struct Point p1;
cout<<"x = "<<p1.x<<", y = "<<p1.y<<endl;
p1.y=20;
cout<<"x = "<<p1.x<<", y = "<<p1.y<<endl;
return 0;
}
| [
"noreply@github.com"
] | noreply@github.com |
2af1653e34335f45b6a736a65a28ae9dd6642b4d | 3271750132f54381124f8f36a8af73667a78b30e | /NPLib/Detectors/Nebula/TNebulaPhysics.h | 5e1499b8ee42b0a6d6e6bfcecedf0aa364efbd6d | [] | no_license | ShortLJ/NPTool_IDATEN | adc50abdcc3f6e2298c57e17b6b47e5e7ded6377 | 431f277eb617590cb6ef6d81e31ec3f41f6394ff | refs/heads/main | 2023-08-28T15:42:35.835225 | 2021-10-30T20:59:10 | 2021-10-30T20:59:10 | 408,525,863 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,089 | h | #ifndef TNebulaPHYSICS_H
#define TNebulaPHYSICS_H
/*****************************************************************************
* Copyright (C) 2009-2019 this file is part of the NPTool Project *
* *
* For the licensing terms see $N... | [
"eaw0224@korea.ac.kr"
] | eaw0224@korea.ac.kr |
1e5d0c8b64bcdb71317b572303c5c25db7faea34 | fa8b1470a8e863b3ff3acfd2734c6e9a122b7db8 | /moca/dependency/flann/util/sampling.h | 087ed37f1b2eb11fa0d14806f2d52363eeedcf42 | [
"Apache-2.0"
] | permissive | Edwinzero/Fusion | 6faabac52b83ad391711753e56d28dab39ecba16 | 6b71ee807bc33c6d79546ce2dbca47229d663c1d | refs/heads/master | 2021-01-21T00:47:27.495754 | 2018-08-31T22:19:49 | 2018-08-31T22:19:49 | 42,267,987 | 0 | 0 | Apache-2.0 | 2018-08-31T22:19:37 | 2015-09-10T20:07:15 | C++ | UTF-8 | C++ | false | false | 2,836 | h | /***********************************************************************
* Software License Agreement (BSD License)
*
* Copyright 2008-2009 Marius Muja (mariusm@cs.ubc.ca). All rights reserved.
* Copyright 2008-2009 David G. Lowe (lowe@cs.ubc.ca). All rights reserved.
*
* Redistribution and use in source and bi... | [
"zhaoxiaoshang@gmail.com"
] | zhaoxiaoshang@gmail.com |
c7f5b0ef4167b10562382b1138063085a1d71868 | 3ec30ef4ed44d47ce0a644ca2dd9fd31ec1dddcc | /src/app/parser/ast.hpp | 0718b5ffd5d6ee1db872a6a203b4f80ef73be2b9 | [] | no_license | lsarkisov/toyc | 86c30182bb5652ed87a455fbb4e944fb351b55fb | fcd7e2622ad1b47ed401b779a79454e05659a8d5 | refs/heads/master | 2021-03-23T21:39:54.358961 | 2020-03-21T21:43:40 | 2020-03-21T21:43:40 | 247,486,167 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 637 | hpp | #ifndef toyc_ast_header
#define toyc_ast_header
#include <string>
#include <vector>
namespace toyc
{
namespace app
{
struct Body
{
Body(
const std::string& t,
const std::string& n,
const std::vector<Body>& p
)
: type(t), name(n), params(p)
{
}
... | [
"coder@coders-MacBook-Pro.local"
] | coder@coders-MacBook-Pro.local |
f112957cf59b7e59fb4d8f216c1a0101b2a37335 | 1e41f9d41a308f52975789ce78345e513eedcfba | /code.cpp | fcb6048e5216283ed20acecc6fdc4376cfedb001 | [] | no_license | SamridhG/204.-count-prime-leetcode | 6c74602ae26872131737985f4a078b03983b6a85 | 2335aec83ce4d1affe4c8a299ba323654a2fe167 | refs/heads/main | 2023-04-13T05:38:50.534223 | 2021-05-01T12:15:30 | 2021-05-01T12:15:30 | 363,401,141 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 704 | cpp | class Solution {
public:
int countPrimes(int n) {
if(n>0){ vector<bool>A(n,true);// making n size vector and fill it with bool true
A[0]=false;//not prime
A[1]=false;// not prime
for(int i=0;i<=sqrt(n);i++)// using sqrt cause Approach: Sieve of Eratosthenes-> in which all multiple of p... | [
"noreply@github.com"
] | noreply@github.com |
afc2dfae359f1d275bce4318af5029de45ab3076 | c1d1e96f4ab28494946c807bd78b78c7f2398026 | /qtProjects/build-GUITestForCode-Desktop_Qt_5_12_2_MinGW_32_bit-Debug/debug/moc_stackedwidget.cpp | 1a8c936eb99205b72054422598a4cd766be9d1cb | [] | no_license | lnfnet/hellow | 43611859bd4bfac7fa0de40fa95bc5d7488f6da1 | 0a8577f3c9a86d69494458e65c14c442883b6292 | refs/heads/master | 2022-04-27T02:19:24.737877 | 2022-04-15T15:30:39 | 2022-04-15T15:30:39 | 162,830,047 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,713 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'stackedwidget.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.2)
**
** WARNING! All changes made in this file will be lost!
******************************************************... | [
"lnfnet2005@163.com"
] | lnfnet2005@163.com |
d852f8e40982aeee83e33f8e308faf6e67e05d19 | be18dc7b41b872575eade0697bea8ad84c212776 | /cocos2d/external/bullet/include/bullet/BulletDynamics/ConstraintSolver/btGeneric6DofConstraint.h | 6ec707f2dd5ea622962e44eaded829a8b9b84b0e | [] | no_license | YaumenauPavel/Cocos2d-x-Snake | 4cbe10b365abf34cc7e938258ceffaff834d0e5f | 3c048b63ee6846ac23c14c89f06fc4fb22fba05e | refs/heads/master | 2023-07-09T20:30:51.867670 | 2021-03-18T08:52:34 | 2021-03-18T08:52:34 | 255,822,723 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,638 | h | /*
Bullet Continuous Collision Detection and Physics Library
Copyright (c) 2003-2006 Erwin Coumans http://continuousphysics.com/Bullet/
This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for any damages arising from the use of this software.
Permiss... | [
"evmenov.pavel@gmail.com"
] | evmenov.pavel@gmail.com |
a619b99b1a391a24a0920cf18130c6da9e654c04 | 29396c66f6aae81537b25c3b9e8d22ec2fbd57a8 | /SurfaceVehicles/WAMV/Arduino/MainMega/a20190730_wamvMainArduino/io.ino | 0afa78fe712b8067e8de9adab3c8dc18d230c552 | [] | no_license | riplaboratory/Kanaloa | 49cbbafb7235e5d185bb4522c4deca8a3fd2c087 | 36650e2daff733a55c6546ffb0ff083b57c8c1b8 | refs/heads/master | 2022-12-11T03:00:30.284107 | 2021-12-10T07:57:00 | 2021-12-10T07:57:00 | 121,706,694 | 11 | 14 | null | 2022-12-09T16:56:36 | 2018-02-16T02:11:52 | Jupyter Notebook | UTF-8 | C++ | false | false | 8,881 | ino | // Read in information from the kill Arduino, and assign mode of operation accordingly. Note that the mainMega cannot actually kill the system, since the actual kill is handled by the killMega.
void readKillArduino() {
if (digitalRead(killCommPin) == LOW) {
killStatus = 0; // killMega sending LOW (UNKILL... | [
"brennanyama@gmail.com"
] | brennanyama@gmail.com |
d503999bae94a3ade4e9f94e7ea9216b36b7383d | 06eb60c98f4d106fc3bb3d0b7e990828b87d714d | /Source/WebCore/rendering/AutoTableLayout.h | 876e0527bb0007b187c87716a62c1dade7c67adf | [] | no_license | snyh/dui | 9486a81d97ec1173b161b6aef8fcea21066aebff | c4464629f1efdecae792ed3abc2a7fc9ce9b88db | refs/heads/master | 2021-01-25T08:28:55.224303 | 2013-10-23T00:42:02 | 2013-10-23T00:42:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,362 | h | /*
* Copyright (C) 2002 Lars Knoll (knoll@kde.org)
* (C) 2002 Dirk Mueller (mueller@kde.org)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the ... | [
"snyh@snyh.org"
] | snyh@snyh.org |
c889f3e1cfde7ee88e3dce0666026311b3b1188b | ba0fe282e7fd0543668af1a2bade8b2a958d01f2 | /src/BattleState.h | 6ca43f2d91fc0819d1d307331a6b0aebab8ecbf6 | [] | no_license | Jyang772/SoccerAI | 81707ab8a342138de4fc1e6cb8e606e2a615b7a5 | 31f47433a41a21433269c6783c37db0478daaa52 | refs/heads/master | 2021-01-15T20:52:51.649794 | 2013-01-28T16:15:06 | 2013-01-28T16:15:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 348 | h | #ifndef SOCCER_AI_BATTLE_STATE
#define SOCCER_AI_BATTLE_STATE
#include <Scene/State.hpp>
/**
* A state to show soccer pitch and all players
*/
class BattleState : public dt::State {
Q_OBJECT
public:
BattleState() {}
void onInitialize();
void onDeinitialize();
void updateStateFrame(double simula... | [
"334988486@qq.com"
] | 334988486@qq.com |
b94671926013a2fc660f6e74084aaacacb41d9ee | 930109b307680e2adb9476117ffe4c4eb6a0c400 | /bank_serial.cpp | 4157e9eac0feee88127754d66d5701254abf6946 | [] | no_license | joyqul/OS-HW4 | 91690e7daff598201242a4b7b84ad41e83ccfd81 | 47b7eddb3f50d889a6d91d94af11bc00697de55f | refs/heads/master | 2020-04-11T04:13:20.627818 | 2014-01-22T13:46:37 | 2014-01-22T13:46:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,191 | cpp | #include <iostream>
#include <map>
#include <unordered_map>
#include <vector>
#include <fstream>
using namespace std;
typedef pair<string, int> PAIR;
typedef unordered_map<string, char> MAP_CH;
typedef unordered_map<string, bool> MAP_BO;
typedef unordered_map<string, string> MAP_STR;
typedef unordered_map<string, int... | [
"joy1357924680@gmail.com"
] | joy1357924680@gmail.com |
17db8b0f4893af9b70208c1d2197ad7fdec057df | 5cd5157d4c08a505e7270124f9dcac0d49390238 | /GunBird - CodedDreams/ModuleSelection.h | e1f24c45b32544b5b14d9db370696a1ed0fdad17 | [] | no_license | Adria-F/Gunbird-Coded-Dreams | c0e9bab13e22cb2c8cc026e33bd3662c0ee380b6 | 9a65ae346507a0db20e9d682081b08a0b8d31c43 | refs/heads/master | 2021-01-16T23:21:49.967032 | 2017-06-04T21:21:00 | 2017-06-04T21:21:00 | 82,908,620 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 496 | h | #ifndef __MODULE_SELECTION_H__
#define __MODULE_SELECTION_H__
#include "Module.h"
#include "Animation.h"
struct SDL_Texture;
class ModuleSelection : public Module
{
public:
ModuleSelection();
~ModuleSelection();
bool Start();
update_status Update();
bool CleanUp();
public:
SDL_Texture* background = nullptr... | [
"adriaferrer2898@gmail.com"
] | adriaferrer2898@gmail.com |
0264f69eaf303f1cd3a312854de9014de106e178 | 1cf86f3b8a75e4b9e2256a49dd7f904d1bc3667c | /scripts/3rdparty/zeromq/platform.hpp | aceaf4da31db5a578e4c282f3112ea38b89a46a3 | [
"Zlib"
] | permissive | hugoam/two | bfaa6f0184e7e45e4f2fbc0e2d6257ed51dfe54d | d4b386f48c572da03ac5c89e702cf08f388d434d | refs/heads/master | 2023-04-27T11:10:21.640620 | 2023-04-18T21:04:38 | 2023-04-18T21:04:38 | 116,430,022 | 717 | 63 | Zlib | 2019-05-11T16:04:24 | 2018-01-05T21:48:50 | C++ | UTF-8 | C++ | false | false | 2,824 | hpp | #ifndef __ZMQ_PLATFORM_HPP_INCLUDED__
#define __ZMQ_PLATFORM_HPP_INCLUDED__
#define ZMQ_USE_CV_IMPL_STL11
// #define ZMQ_USE_CV_IMPL_WIN32API
// #define ZMQ_USE_CV_IMPL_PTHREADS
// #define ZMQ_USE_CV_IMPL_NONE
// #define ZMQ_IOTHREAD_POLLER_USE_KQUEUE
// #define ZMQ_IOTHREAD_POLLER_USE_EPOLL
// #define ZMQ_IOTHREAD_... | [
"hugo.amiard@wonderlandengine.com"
] | hugo.amiard@wonderlandengine.com |
da076929759eca9c785a2e97598323f4fc1466f1 | eca820d21252769bbae1d88eca6f6e453bc000e5 | /AlwaysOnTop/AlwaysOnTop.h | d32e53e6c10611f77da3e42732edf6134f1c5448 | [] | no_license | geon-park/AlwaysOnTop | ac90b72bbfb83d96a34a3a64136e5b7b15a0780d | 6763c0ae0ac6bc8f089e8702d879689558ee6154 | refs/heads/master | 2022-11-10T03:38:58.420241 | 2018-07-24T21:25:32 | 2018-07-24T21:25:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 505 | h |
// AlwaysOnTop.h : main header file for the PROJECT_NAME application
//
#pragma once
#ifndef __AFXWIN_H__
#error "include 'stdafx.h' before including this file for PCH"
#endif
#include "resource.h" // main symbols
// CAlwaysOnTopApp:
// See AlwaysOnTop.cpp for the implementation of this class
//
class CAlwaysO... | [
"psychoria@hotmail.com"
] | psychoria@hotmail.com |
5c0467360abae53311a08e41c8e7e721bd61aa47 | e87e60c2a2836ca34c5abf9661230e65dfd565d2 | /src/Json/JsonReader.cpp | 44b69cfbc6264aacd1aed54af789e4ee7e0d5008 | [
"Zlib",
"MIT"
] | permissive | lriki/Lumino.Core | 862234b2022388463d9e18f81aea8f95f9c1c55b | e67084fb8f0c2962b2b36916c747672540902d63 | refs/heads/master | 2021-01-25T15:19:35.856882 | 2017-01-23T13:13:37 | 2017-01-23T13:13:37 | 29,088,000 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 32,202 | cpp |
#include "../Internal.h"
#include <Lumino/Base/String.h>
#include <Lumino/IO/StringReader.h>
#include <Lumino/Json/JsonReader.h>
LN_NAMESPACE_BEGIN
namespace tr {
//==============================================================================
// JsonReader
//========================================================... | [
"lriki.net@gmail.com"
] | lriki.net@gmail.com |
0862d170cc731bf05cb9a75873a2525579ddaea4 | e97a9ec080627e25abde7cb7fe42f28f49d306a9 | /C++ Game Engine/AnimatedSpriteComponent.cpp | de76f3b4317aa212aca8a178e637dab6ee4b6cbc | [] | no_license | chidozieikpe/projects | dcea4d64f5c691910c1e6e765fd42b01e8959936 | 55dd130eded3b33f60cbcdf35cf6df7c898e4984 | refs/heads/master | 2020-03-22T16:04:22.785569 | 2019-05-07T14:16:59 | 2019-05-07T14:16:59 | 140,300,978 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,243 | cpp | #include "Core.h"
#include "tinyxml2.h"
#include "AnimatedSpriteComponent.h"
#include "AssetManager.h"
//#include "Player.h"
#include "InputManager.h"
IMPLEMENT_DYNAMIC_CLASS(AnimatedSpriteComponent);
AnimatedSpriteComponent::AnimatedSpriteComponent()
: spriteSwitchTime(0.0f),
elapsedTime(0.0f),
moving... | [
"noreply@github.com"
] | noreply@github.com |
233499d07944b41dd3be5c139b127683591eac9d | 85935a5ab3d8cf439afd4cc10bd52596d15c5542 | /Veri/depogirisi.cpp | 793007ab3426f8c25b35399ca47c66f76258228f | [] | no_license | nurbetul-celik/DepoProje | d7a193ec33894997509838fdd5ac2076671f990a | d722df713e1c67ea4dbbfc47bed41d56d8cf582f | refs/heads/main | 2022-12-29T12:16:29.018921 | 2020-10-17T14:46:51 | 2020-10-17T14:46:51 | 304,895,678 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 510 | cpp | #include "depogirisi.h"
DepoGirisi::DepoGirisi(string urun, string gun, int adet)
{
UrunNo=urun;
miktar=adet;
tarih=gun;
}
string DepoGirisi::getUrunNo() const
{
return UrunNo;
}
void DepoGirisi::setUrunNo(const string &value)
{
UrunNo = value;
}
string DepoGirisi::getTarih() const
{
return tarih;
}
vo... | [
"60462647+nurbetul-celik@users.noreply.github.com"
] | 60462647+nurbetul-celik@users.noreply.github.com |
21dbf9f46bdaccff4792fdccd3191a5169ccb0a4 | 2e46ef9411a8e84074d35338240a69f65b7a6a5d | /src/gl/shaders.cpp | 69f846e8095ddc0326e726a551708c0ce938f88f | [
"MIT-feh"
] | permissive | zebrajack/tdp | c0deff77120e20f0daf32add31cbcebe480fb37d | dcab53662be5b88db1538cf831707b07ab96e387 | refs/heads/master | 2021-07-08T12:10:09.626146 | 2017-09-11T19:25:42 | 2017-09-11T19:25:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,896 | cpp |
#include <string>
#include <tdp/config.h>
#include <tdp/gl/shaders.h>
namespace tdp {
Shaders* Shaders::shaders_ = nullptr;
Shaders* Shaders::Instance() {
if (!shaders_)
shaders_ = new Shaders;
return shaders_;
}
Shaders::Shaders() {
std::string shaderRoot = SHADER_DIR;
// shader to render a point c... | [
"jstraub@csail.mit.edu"
] | jstraub@csail.mit.edu |
2bedfe0ab45aeb541350c075bda0ac5e3ff47a7a | 116560703304af1944ede7b30929f4516991302b | /test-oj/doublingsa.test.cpp | afbe744a6f796a271f51eeb6732001d577b7f592 | [] | no_license | yosupo06/Algorithm | 5419d74085e7a7bde2c9a8186a787d9a2fa794d6 | e115825f899681ad2897a06517c10b26f05e2dd8 | refs/heads/master | 2023-04-14T01:18:05.147725 | 2023-03-17T17:21:51 | 2023-03-17T17:21:51 | 25,249,786 | 110 | 19 | null | 2015-02-26T09:39:26 | 2014-10-15T10:24:55 | C++ | UTF-8 | C++ | false | false | 317 | cpp | #define PROBLEM "https://judge.yosupo.jp/problem/suffixarray"
#include "base.hpp"
#include "util/fast_io.hpp"
#include "string/suffixarray.hpp"
int main() {
Scanner sc(stdin);
Printer pr(stdout);
string s;
sc.read(s);
auto sa = doublingSA(s);
pr.writeln(V<int>{sa.begin() + 1, sa.end()});
}
| [
"yosupo06@gmail.com"
] | yosupo06@gmail.com |
1ab580d0bcc2c0bd6de2aecf4a18ebd34234bbf4 | 751bddd2cd3152c0f40165cd004ce450fe69e087 | /Source/Engine/Urho2D/Sprite2D.h | 46281f0154eaac0d27877b4aead4e2fed263683f | [
"MIT",
"LicenseRef-scancode-unknown-license-reference",
"Zlib",
"LicenseRef-scancode-khronos",
"Apache-2.0",
"BSD-2-Clause"
] | permissive | sabotage3d/UrhoSSAO | a9ec4bd2dfe24b73d0e13a3a609a3feabbab070b | 66cd902dc96b41c10afd5b00e9e8c238d74978f5 | refs/heads/master | 2021-01-10T21:20:31.364517 | 2015-01-03T13:02:21 | 2015-01-03T13:02:21 | 28,743,920 | 13 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,205 | h | //
// Copyright (c) 2008-2014 the Urho3D project.
//
// 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, mod... | [
"sabotage3d@gmail.com"
] | sabotage3d@gmail.com |
f18558633daf995f558615c29e878e891ce42170 | 95ce619796150123aad90dcbe189576814f8a21b | /OverlordEngine/ShadowMapRenderer.cpp | 5bdcbf1927eb03463b6c26ad8f3c1008529fd39e | [] | no_license | Cem-Alagozlu/Crash-Bandicoot | 8c4939a17e5b0f54b29f56d8c90a4ef774733c5b | 3d7ae7f0f3f9da96399156d7dfbb1606f99397bd | refs/heads/master | 2020-08-26T18:51:08.165618 | 2019-10-23T17:01:33 | 2019-10-23T17:01:33 | 217,108,457 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,816 | cpp | #include "stdafx.h"
#include "ShadowMapRenderer.h"
#include "ContentManager.h"
#include "ShadowMapMaterial.h"
#include "RenderTarget.h"
#include "MeshFilter.h"
#include "SceneManager.h"
#include "OverlordGame.h"
ShadowMapRenderer::~ShadowMapRenderer()
{
SafeDelete(m_pShadowRT);
SafeDelete(m_pShadowMat);
}
void Shad... | [
"cem.alagozlu@hotmail.com"
] | cem.alagozlu@hotmail.com |
ec95db25351149ab0e582a2b53289a1a2ba1f514 | a231148a9bd2cb2063997ffb4efab0fbcb13ebd1 | /TTT/moc_main.cpp | 2bd0ea917f5d2b99f92f633272a6860f91cb048e | [] | no_license | jokinkuang/kiwi | 46a95390aec2678535d2b25c6a8a798ddc956f9d | 06924b0dec0d77d966075a188f74343a45871e52 | refs/heads/master | 2020-12-03T08:12:42.448618 | 2016-02-09T11:43:29 | 2016-02-09T11:43:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,298 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'main.cpp'
**
** Created: Mon Dec 28 14:04:59 2015
** by: The Qt Meta Object Compiler version 62 (Qt 4.7.1)
**
** WARNING! All changes made in this file will be lost!
****************************... | [
"345106552@qq.com"
] | 345106552@qq.com |
d256ecf113a5e90236fd18b4d652eddde59e6938 | 476a0b1fd6c6fedff01adcc355bee7295aad998e | /src/utils/aio_posix.inc | 794d3670f1bc43a8c7d268ab3b65aacc466d8007 | [
"MIT"
] | permissive | neomantra/nanomsg | b7f122adb7e11f33a040b94c0832e480fe681256 | 25cef19eaadb005c7992b1000298b2a1869cbde9 | refs/heads/master | 2021-01-16T22:46:51.663492 | 2013-03-26T18:44:41 | 2013-03-26T18:44:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 30,334 | inc | /*
Copyright (c) 2012-2013 250bpm s.r.o.
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, merg... | [
"sustrik@250bpm.com"
] | sustrik@250bpm.com |
a0a289ff330b9fe7dec146e4f8b5f28f62c40ced | a7ed29a2e822f25001c173cecf995175a4bd2fb9 | /ui/logic/data/CoreData.hpp | d7fa28eb5d1cc93a21b1858a935796c8c222ede0 | [] | no_license | nico88chessa/cutter | 335f3969a89e07d2ec9b0f8c0dcc1b4e699e2f22 | 9ac7d9df7e8f4e097d3d63f9dec8341508b450ae | refs/heads/master | 2020-09-14T12:53:23.839709 | 2019-12-20T09:33:44 | 2019-12-20T09:33:44 | 223,132,147 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 422 | hpp | #ifndef COREDATA_HPP
#define COREDATA_HPP
#include <QObject>
#include <QString>
#include <QList>
#include <common/FactoryQml.hpp>
namespace PROGRAM_NAMESPACE {
class CoreData : public QObject {
Q_OBJECT
Q_DISABLE_COPY(CoreData)
DECL_QML_SINGLETON_INSTANCEABLE()
private:
explicit CoreData(QObject* ... | [
"n.chessa@dvoptic.com"
] | n.chessa@dvoptic.com |
19bf9bf0822ce70ca957acecb6b94a4b0efcc2a0 | 0a2d59a9f088f46cb63bd0a971353bf8f2fe79f5 | /sp_lab6/WordsInWordClient/formmenu.h | 2400ed896efae9b948de27901519c706e736b589 | [] | no_license | SysProg-team6/main-course | 765116247b9c6ef67e7096c5a63fe36ded0b529a | 11013fe8b006dee49173af411cc91c2a5897e9c4 | refs/heads/master | 2023-04-24T08:27:14.608228 | 2021-05-12T09:55:04 | 2021-05-12T09:55:04 | 366,654,294 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 755 | h | #ifndef FORMMENU_H
#define FORMMENU_H
#include <QWidget>
#include "formprofile.h"
#include "formnewgame.h"
#include "formhistory.h"
#include "formaddgame.h"
#include "client.h"
namespace Ui {
class FormMenu;}
class FormMenu : public QWidget
{
Q_OBJECT
public:
// FormMenu();
explicit FormMenu(Player &pla... | [
"61197262+khilchuk-ol@users.noreply.github.com"
] | 61197262+khilchuk-ol@users.noreply.github.com |
541dde86bdb02978ccbd685c8c7e09c08a8d1b05 | 779c8909049a2274be24484c5765cc35696d8908 | /Source(소스코드)/Algorithm(알고리즘)/버블정렬.cpp | 9835809875d015b8eca256ae2d98ce5c245a5801 | [] | no_license | taehyundev/Discrete-Mathematics-Coding | 3bd5cce84e076cfb7a5eecbf0dcabcadbc2db8a0 | 53246a43d169626af21937485c02adce769a393b | refs/heads/master | 2020-12-09T05:46:05.026158 | 2020-06-26T13:38:15 | 2020-06-26T13:38:15 | 233,210,465 | 1 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 430 | cpp | #include <iostream>
using namespace std;
int arr[5] = { 3,2,4,1,5 };
int main() {
for (int i = 0; i < 5; i++) {
for (int j = 0; j < 4; j++) {
if (arr[j] > arr[j + 1]) {
int temp = arr[j];
arr[j] = arr[j + 1];
arr[j + 1] = temp;
}
}
for (int x = 0; x < 5; x++) {
cout << arr[x] << ' ';
}
... | [
"K.anon.11107@gmail.com"
] | K.anon.11107@gmail.com |
78ea06591ceba6a7fc7bb224dcf4d2e226c766f8 | 1d369f31460d8b97e8a9eaa64a517b9f750ef46a | /ellipsoid.h | b1a36d1be6ba3d13d2b1696abf79ef10a2592b78 | [
"Apache-2.0"
] | permissive | malawski/ellipsoids | d39a60dd2a175bb296a833f9cb2ffb02d1479560 | d64bf095786ad86f36b12520629299fe3e4e65b2 | refs/heads/master | 2021-01-13T01:42:11.840034 | 2019-11-08T18:51:24 | 2019-11-08T18:51:24 | 34,718,818 | 0 | 2 | NOASSERTION | 2019-11-08T18:51:50 | 2015-04-28T08:37:39 | C++ | UTF-8 | C++ | false | false | 19,516 | h | using namespace std;
class vector {
double vec[3];
public:
vector() {
vec[0] = 0;
vec[1] = 0;
vec[2] = 0;
}
vector(double* v) {
vec[0] = v[0];
vec[1] = v[1];
vec[2] = v[2];
}
vector(double v0, double v1, double v2) {
vec[0] = v0;
vec[1] = v1;
vec[2] = v2;
}
vector& random() {
vec[0] = Rando... | [
"malawski@agh.edu.pl"
] | malawski@agh.edu.pl |
c6546aaaa5e0a6695bbb351d24cec6c092540bd2 | 5d83739af703fb400857cecc69aadaf02e07f8d1 | /Archive2/f9/e3c7d701bbd464/main.cpp | bab8574a9d624aa53034f19050f4a5b3a41bc377 | [] | no_license | WhiZTiM/coliru | 3a6c4c0bdac566d1aa1c21818118ba70479b0f40 | 2c72c048846c082f943e6c7f9fa8d94aee76979f | refs/heads/master | 2021-01-01T05:10:33.812560 | 2015-08-24T19:09:22 | 2015-08-24T19:09:22 | 56,789,706 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 291 | cpp | #include <set>
class B;
void f(B* b);
class B {
public:
B() {}
virtual ~B() { f(this); }
};
class D : public B { public: D() {} };
std::set<D*> ds;
void f(B* b) {
D* d = static_cast<D*>(b); // UB or subobject of type D?
ds.erase(d);
}
int main(){
D d;
ds.insert(&d);
}
| [
"francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df"
] | francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df |
520fa7ecac67e2e709d4b12b2be103c3ddadd01f | a8f48c2fa9e4d205f608a482e28a7cbefe287866 | /07_Agiota melhorado/controller.h | cb8a7fc7fe5256539ec862865d9bdd0221cd7f11 | [] | no_license | VictoriaMaia/codigos_poo_2018.2 | 7fbae5c491f673053cc0653f4e46d17389f07a50 | dfc32a7fd8a1aca2417cbb7b7b593a941e591ee1 | refs/heads/master | 2021-06-26T04:18:32.960555 | 2020-10-19T00:36:35 | 2020-10-19T00:36:35 | 145,350,826 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,364 | h | #ifndef CONTROLLER
#define CONTROLLER
#include <iostream>
#include <sstream>
#include "agiota.h"
using namespace std;
struct Controll{
Agiota GenteFina;
string funcoes(string line){
stringstream in(line);
stringstream out;
string op;
in >> op;
try{
if(op ==... | [
"victoria.maia@alu.ufc.br"
] | victoria.maia@alu.ufc.br |
eb77b00dde173b9e4f126bf241ada7ecaa8366cd | ee84c51e7c376c4ace5d3b60f1372bcb0d39054a | /COMPETATIVE_PROGRAMING/DSALEARNING/MATHEMATICS/number_theory/TEX_Quotes.cpp | d69fe6ca9203f83c41eb5b0fa9fd888491c3b5ac | [] | no_license | mritunjay583/Programs | a8b98d1da63de0485fc7eb371bd9d1699a5aa630 | 106bc59b741993941774b841aaa7aac71d383096 | refs/heads/master | 2023-04-08T00:05:47.034647 | 2021-04-20T12:54:16 | 2021-04-20T12:54:16 | 359,804,970 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 190 | cpp | #include<iostream>
using namespace std;
int main()
{
string text;
string buffer;
do{
getline(cin,buffer);
text+=buffer;
}while(buffer!="");
cout<<text;
} | [
"mritunjaykr583@gmail.com"
] | mritunjaykr583@gmail.com |
5c0ff0cb4bfc808540488a93e021bf318ca40f21 | cdc283b08383b8c4dc5239ad58c756c25d9c3947 | /third_party/phoenixsuite/libraries/driver/include/ctre/phoenix/LowLevel/PigeonIMU_LowLevel.h | 9f6a3c6041d7c99e689c579d5e1166eaf6cfbdfd | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | amartin11/robot-code-public | 4058386817fd8bcdd8b6ab9d176b4b2b96fb943a | 9671deebff32336fea9865daf0f54d7925c36dd8 | refs/heads/master | 2020-03-19T02:49:19.175606 | 2018-05-27T16:02:41 | 2018-05-27T16:02:41 | 135,664,264 | 0 | 1 | MIT | 2019-10-03T20:44:48 | 2018-06-01T03:42:31 | C++ | ISO-8859-1 | C++ | false | false | 11,012 | h | /*
* Software License Agreement
*
* Copyright (C) Cross The Road Electronics. All rights
* reserved.
*
* Cross The Road Electronics (CTRE) licenses to you the right to
* use, publish, and distribute copies of CRF (Cross The Road) firmware files (*.crf) and Software
* API Libraries ONLY when in use with Cros... | [
"kylestach99@gmail.com"
] | kylestach99@gmail.com |
557e6dd950562c9421ff8e83b5d30e6aad6f8aed | 401568de50473ebd82210e5c7f4842273a6f5199 | /src/field/none_field.h | bf8417ff3755aa42cd04c7f3ae9880ea4b4fef58 | [
"MIT"
] | permissive | cyx233/MyDB | 8a693035684f1882ed2e7d8e709da9bf1975829e | 39921bf0c0e94d4acbd784b1eff4f0fa520a1de9 | refs/heads/master | 2022-12-28T21:55:00.325384 | 2022-08-18T17:54:34 | 2022-08-18T17:54:34 | 519,764,571 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 466 | h | #ifndef THDB_NONE_FIELD_H_
#define THDB_NONE_FIELD_H_
#include "field.h"
namespace thdb {
class NoneField : public Field {
public:
NoneField() = default;
~NoneField() = default;
void SetData(const uint8_t *src, Size nSize) override;
void GetData(uint8_t *dst, Size nSize) const override;
FieldType GetTyp... | [
"1070405216@qq.com"
] | 1070405216@qq.com |
bc61dcc047985cd5b5da08515004c3a7b3ce15da | f714f2758c54214689430e2f4a11cf18c4cc6deb | /Zynq/ipacs5612/src/source/src/protocols/pn103m/pn103m.cpp | d9c70de62614863492821e26f357a242b23df5f8 | [] | no_license | zzfd97/1111 | 2b4b6d3c711fce5f7f7be3ed76a728614852db93 | 652acd9180d0386c80e0a5eb2ce209163f206dd4 | refs/heads/master | 2022-12-27T17:41:35.977196 | 2020-10-10T03:45:43 | 2020-10-10T03:45:43 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 41,923 | cpp | #include "pn103m.h"
#if (TYPE_USER == USER_SHANGHAIJY)
extern "C" void pn103m(WORD wTaskID)
{
CPN103m *pPn103P = new CPN103m();
if (pPn103P->Init(wTaskID) != TRUE)
{
pPn103P->ProtocolExit();
}
pPn103P->Run();
}
CPN103m::CPN103m() : CPPrimary()
{
pCfg = new V103Para;
memset(pCfg,0,sizeof... | [
"913612252@qq.com"
] | 913612252@qq.com |
b3260625d645163200ab55b690768e4bbbd1f85d | 91a882547e393d4c4946a6c2c99186b5f72122dd | /Source/XPSP1/NT/base/stublibs/delay/delayimp.cpp | 6cad33ac5d0409be1d37536ed29a5510abb237ba | [] | no_license | IAmAnubhavSaini/cryptoAlgorithm-nt5src | 94f9b46f101b983954ac6e453d0cf8d02aa76fc7 | d9e1cdeec650b9d6d3ce63f9f0abe50dabfaf9e2 | refs/heads/master | 2023-09-02T10:14:14.795579 | 2021-11-20T13:47:06 | 2021-11-20T13:47:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 125 | cpp | #include "windows.h"
#include "delayimp.h"
PUnloadInfo __puiHead;
extern "C"
void
__delayLoadHelper2 (
void
)
{
}
| [
"support@cryptoalgo.cf"
] | support@cryptoalgo.cf |
f8c9791420c29b078fd9ae11d03dc273e1fca52a | 5b557176eabdc6504d81f9a23b7741905c6c3fc5 | /route.h | d6d6b800437f3224f51b0575d6974954542019b3 | [] | no_license | katherine1xu/transit-simulator | ff2151947e33f253a9963bf40a3ccff19a11de23 | eebe0cfa4a14de7e74cd09666c25062238cd9b25 | refs/heads/master | 2020-10-02T07:37:30.419437 | 2020-02-27T08:29:48 | 2020-02-27T08:29:48 | 227,732,330 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,912 | h | #ifndef SRC_ROUTE_H_
#define SRC_ROUTE_H_
/*******************************************************************************
* Includes
******************************************************************************/
#include <list>
#include <iostream>
#include <string>
#include "src/passenger_generator.h"
#include "... | [
"noreply@github.com"
] | noreply@github.com |
ff587c92f84b80256b631419423eca8722638a63 | 1ec178dc08d90bbbe606faf5416e985430d24b40 | /MyAladdin/SnakeBullet.cpp | 280ecf9b64c27bbe3b88fe259f061f143161dbfb | [] | no_license | huynhthanhnhan/ProjectGameMegaman | 6307bc09b30fdef3e636f7c0ff276775e4bb64fb | 0cf51773f1bbc247faddbb95d53069a8ab55015f | refs/heads/master | 2020-04-09T19:45:28.962919 | 2018-12-18T17:55:26 | 2018-12-18T17:55:26 | 160,552,369 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,487 | cpp | #include "SnakeBullet.h"
SnakeBullet::SnakeBullet()
{
}
SnakeBullet::SnakeBullet(int x, int y, Global::EDirection direct, float angle, int distance)
:Bullet(x, y, direct)
{
this->_type = Global::Enemy;
this->_id = Global::SNAKEBULLET;
this->_state = Global::Stand;
this->updateBody();
this->_distanceBullet = di... | [
"15520564@gm.uit.edu.vn"
] | 15520564@gm.uit.edu.vn |
195b4cc8f1811b4220e2c9ead648a2a048b21093 | 1af49694004c6fbc31deada5618dae37255ce978 | /third_party/blink/renderer/bindings/core/v8/custom_wrappable_adapter.cc | 113918fd3fea020b638c22ecdadc7b3d293654db | [
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"BSD-3-Clause"
] | permissive | sadrulhc/chromium | 59682b173a00269ed036eee5ebfa317ba3a770cc | a4b950c23db47a0fdd63549cccf9ac8acd8e2c41 | refs/heads/master | 2023-02-02T07:59:20.295144 | 2020-12-01T21:32:32 | 2020-12-01T21:32:32 | 317,678,056 | 3 | 0 | BSD-3-Clause | 2020-12-01T21:56:26 | 2020-12-01T21:56:25 | null | UTF-8 | C++ | false | false | 3,035 | cc | // Copyright 2018 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 "third_party/blink/renderer/bindings/core/v8/custom_wrappable_adapter.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_dom_configurat... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
58882629ec705f764b53fb80acb3802d6e2442a1 | d40efadec5724c236f1ec681ac811466fcf848d8 | /tags/fs2_open_3_6_9/code/network/multi_update.cpp | d864e5692fefb9b93071b32e6ef7b04cfdfbce49 | [] | no_license | svn2github/fs2open | 0fcbe9345fb54d2abbe45e61ef44a41fa7e02e15 | c6d35120e8372c2c74270c85a9e7d88709086278 | refs/heads/master | 2020-05-17T17:37:03.969697 | 2015-01-08T15:24:21 | 2015-01-08T15:24:21 | 14,258,345 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,771 | cpp | /*
* Copyright (C) Volition, Inc. 1999. All rights reserved.
*
* All source code herein is the property of Volition, Inc. You may not sell
* or otherwise commercially exploit the source or things you created based on the
* source.
*
*/
/*
* $Logfile: /Freespace2/code/Network/multi_update.cpp $
* $Revision: ... | [
"Goober5000@387891d4-d844-0410-90c0-e4c51a9137d3"
] | Goober5000@387891d4-d844-0410-90c0-e4c51a9137d3 |
320be113b1b1b1f13f145205f80b61a49a06b855 | f8517de40106c2fc190f0a8c46128e8b67f7c169 | /AllJoyn/Samples/OICAdapter/iotivity-1.0.0/resource/provisioning/src/OCProvisioningManager.cpp | 8040a999c9853f4fbbee73751960b1ed257332f3 | [
"MIT",
"BSD-3-Clause",
"GPL-2.0-only",
"Apache-2.0"
] | permissive | ferreiramarcelo/samples | eb77df10fe39567b7ebf72b75dc8800e2470108a | 4691f529dae5c440a5df71deda40c57976ee4928 | refs/heads/develop | 2023-06-21T00:31:52.939554 | 2021-01-23T16:26:59 | 2021-01-23T16:26:59 | 66,746,116 | 0 | 0 | MIT | 2023-06-19T20:52:43 | 2016-08-28T02:48:20 | C | UTF-8 | C++ | false | false | 15,479 | cpp | /* *****************************************************************
*
* Copyright 2015 Samsung Electronics 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
*... | [
"artemz@microsoft.com"
] | artemz@microsoft.com |
c89782f97720f7033caa48f61dfe8bc03a21229f | 21f566a26480d8ff9a2771ba7d0ef5ec3d14e148 | /Engine/Graphics/openGL/glextiniter.cpp | 2c7bdfb1798380046c0db70c2045db5f51feb526 | [] | no_license | AJ92/ElementalEngine | 62a96736459a306d2e4df381ca9411952404e090 | 46c4bdeb9e1697c1b389a1481953cda871b61a68 | refs/heads/master | 2021-01-22T08:58:50.191872 | 2013-09-01T06:59:10 | 2013-09-01T06:59:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,666 | cpp | #include "glextiniter.h"
#include <QDebug>
GLextiniter::GLextiniter()
{
qDebug("Loading openGL function pointers...");
glCreateShader = (PFNGLCREATESHADERPROC)wglGetProcAddress("glCreateShader");
qDebug(" -glCreateShader function pointer loaded");
glShaderSource = (PFNGLSHADERSOURCEPROC)wglGetProcA... | [
"aj.3dev@gmail.com"
] | aj.3dev@gmail.com |
a6061dc5a2733f8b2ed8cef85d08e479739df6fb | 9c21fb1f59b22b90da927429579b10afcf7e84d9 | /H.h | b9216e18b77fb736c58cbd053b8825ab980b53fa | [] | no_license | MasoudMousavi703/IUTAP98 | 48f2b3619d1d06d4c5a4be49aa9eb6252d9ac77c | 2ecb2fa834050529abfc84d29f219393a2b419ca | refs/heads/master | 2020-05-09T12:53:18.911603 | 2019-05-10T17:54:47 | 2019-05-10T17:54:47 | 181,128,150 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,268 | h | #pragma once
#include <iostream>
#include <string>
#include <fstream>
using namespace std;
class Time
{
friend ostream& operator<< (ostream&, const Time&);
public:
Time(int, int);
void set_hour(int);
void set_houre();
void set_minute(int);
void set_minute();
int get_hours()const;
int get_minute... | [
"noreply@github.com"
] | noreply@github.com |
2b55b50ced818da59e8b65cb4df24075fd595949 | 597b25dd4f6fba7b50b65383953c69e99e4eba75 | /CPP_prac/CPP_prac/AccountArray.cpp | 8f540bcf51a57dc8ed2cf1dd4ae31ec2a9521bc2 | [
"MIT"
] | permissive | cutz-j/CPP | a7d1d7200c116c09cfa1ba6aca054b13e823e2ac | 3da80ef2341f5bdb74d0eef7f34e60ddb3bc58eb | refs/heads/master | 2021-10-24T00:58:41.633338 | 2019-03-21T01:05:58 | 2019-03-21T01:05:58 | 168,335,402 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 501 | cpp | #include <iostream>
#include <cstring>
#include <cstdlib>
#include "AccountArray.h"
BoundCheckAcc::BoundCheckAcc(int len): arrlen(len) {
arr = new Account*[len];
}
Account*& BoundCheckAcc::operator[] (int idx) {
if (idx < 0 || idx >= arrlen)
exit(1);
return arr[idx];
}
Account* BoundCheckAcc::operator[] (int id... | [
"cutz309@gmail.com"
] | cutz309@gmail.com |
45b7862825cf413ea8fbe9057377a6f5d5680205 | c59bd900605f20dfd35c97d6b87b9b2b41770e76 | /source/audioio/test/AudioHardwareBufferALSATest.cxx | 55fd43b066950750657a631269cfede0680f7d30 | [] | no_license | bonezuk/athena | 77eabf0f43e270b22811d54766c18f3061260242 | de6531c7da2df88ff639b8e0e8e25abdd199e6e4 | refs/heads/master | 2023-09-01T05:49:40.261319 | 2023-08-28T18:25:08 | 2023-08-28T18:25:08 | 134,977,605 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,331 | cxx | #include "gtest/gtest.h"
#include "gmock/gmock.h"
#include "audioio/inc/AudioHardwareBufferALSA.h"
using namespace omega;
using namespace audioio;
using namespace testing;
//-------------------------------------------------------------------------------------------
TEST(AudioHardwareBufferALSA,bufferWithSigned8BitF... | [
"stuart@blackomega.co.uk"
] | stuart@blackomega.co.uk |
aa1474deb65c127e4d567ed532667689d26becb2 | 9baba4cf1f748635140df03c877264679004d3b2 | /shareddblib/include/Feed.h | 762d69ba0543884b0ffd235808bab05713259847 | [] | no_license | ifkas/newsfeeder | 6184047efb2879974ae27d90efc317ed938e30f9 | e232189b72ead21d44646a796085039aca719304 | refs/heads/master | 2021-01-22T00:19:11.306513 | 2015-08-17T12:29:49 | 2015-08-17T12:29:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,431 | h | /**
* @file Feed.h
* @author Michael Boge <mjb932@uow.edu.au>
* @date 5/8/12
*
* @section DESCRIPTION
*
* Defines the struct class representing a Feed record
*/
#ifndef LIBNFDB_FEED
#define LIBNFDB_FEED
#include <string>
#include "nfrd/DateTime.h"
namespace nfdb {
/**
* A class representing a row in the Fe... | [
"contact@ian.mn"
] | contact@ian.mn |
b6085749eb26ca55fa7e53eee20e8fb794f95f5f | fee462e54c92585a18a39c09c1f790d03cf5f74c | /cpp-primer-plus/4/instr1.cpp | 05287de2de9c56ec166a4690306809650fc8e62c | [] | no_license | alexkonrad/notes | 53e11a63f159f674a2b65e6cacdc66d79e113655 | f1a68fe9fe47255f15bdc12c356b528a255007cc | refs/heads/master | 2020-12-25T14:14:11.396245 | 2017-02-01T06:20:24 | 2017-02-01T06:20:24 | 66,333,733 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 385 | cpp | // instr1.cpp -- reading more than one string
#include <iostream>
int main()
{
using namespace std;
const int ArSize = 20;
char name[ArSize];
char dessert[ArSize];
cout << "Enter your name:\n";
cin >> name;
cout << "Enter your favorite dessert:\n";
cin >> dessert;
cout << "I have some delicious " << ... | [
"alexkonrad08@gmail.com"
] | alexkonrad08@gmail.com |
70d7ded2ec0664f095e1fcbf3a99136ae98ae899 | 3863e965fd820bc5bb1bc6769cb2ef1c570175d7 | /d.cpp | 0a161f73abdeaaa77c9e6d7d5fb916e02fe970f0 | [] | no_license | aryan312/atcoder-_dp_contest | 0431e75cfca950a364367d73bedc721fb3df7d3c | f86ba46e9ff443f170661e61832c7bbbb6261946 | refs/heads/master | 2022-12-18T16:45:10.057676 | 2020-09-14T14:25:52 | 2020-09-14T14:25:52 | 295,440,547 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,447 | cpp | #include <bits/stdc++.h>
#include <set>
#define ll long long
#include <string>
#define pb push_back
#define mp make_pair
# define pi 3.14159265358979323846
#define mod 1000000007
#define rep(i,n) for(i=0;i<n;i++)
using namespace std;
void fastio()
{
#ifndef ONLINE_JUDGE
// for getting input from... | [
"noreply@github.com"
] | noreply@github.com |
c3a68b31f3895b216d25f47b6f39d8676eebb7d8 | 3abf9ce8f21dbd3778306d65254b2ed910fb78a3 | /db/localdb.h | 22bbbcff0714b8acc66169617bd6147745feaa37 | [] | no_license | wkx1206/qt-watchdog | a0f10e581f7cc10a9ed83a63a407a954dafa1b74 | b52a69ecc1e6f5b2e9e7fd866c72e5975caf26c3 | refs/heads/master | 2023-02-21T17:58:47.279933 | 2021-01-13T06:02:36 | 2021-01-13T06:02:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,810 | h | #include <QSqlDatabase>
#include <QString>
#include <string>
#ifndef LOCALDB_H
#define LOCALDB_H
struct gzws_log {
quint64 ctime;
quint16 lux;
qreal temperature;
qreal humidity;
};
class LocalDb {
public:
LocalDb() = default;
/* after connect(), all functions should be available */
bool c... | [
"13912151813@163.com"
] | 13912151813@163.com |
f2d799d3ce726cdbf901e38d1823ed26a715f3d6 | df64f2857f7d82ecf0593cde67db5c931da16498 | /TWWarp.hpp | 9d2da24dea0a7a04fe6e9cbf840d9213c496bb98 | [] | no_license | OS2World/APP-COMM-Tradewars_port_pair_finder | a5d937d6fa74415b3e406f81e97f61d72ee20425 | a03346867b602634e9701fcda067f80f06d82a7e | refs/heads/master | 2021-01-15T18:46:13.117734 | 2013-09-13T22:24:40 | 2013-09-13T22:24:40 | 12,820,675 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 579 | hpp | #include "TWTypes.hpp"
#ifndef _TWWARP_HPP_
#define _TWWARP_HPP_
class TWWarp
{
public:
inline TWWarp()
{
sect=0;
oneWay=false;
}
inline TWWarp(USHORT sectNum)
{
sect=sectNum;
oneWay=false;
}
inline Bool isOneWay(void) const
{
return oneWay;
}
inline ... | [
"martiniturbide@gmail.com"
] | martiniturbide@gmail.com |
8cda0bbdf73803e8b54e6797c5e0590578c29ea1 | f00421d346162f265a9421169ca47781d87ee574 | /cpp/profiler/ArtCompatibilityRunner.h | de7671a91b78ae0e3a8578b5be82e305fc30aa79 | [
"Apache-2.0"
] | permissive | foukation/profilo | 606f00c6209f502000dc63b7fed4930f4740745a | 49ccdf3c9250b33452f6c6c7765b4fcf013c6403 | refs/heads/master | 2020-06-15T18:03:39.792649 | 2019-07-04T00:01:31 | 2019-07-04T00:25:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,022 | h | /**
* Copyright 2004-present, Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
3d7c64809dc124d254700aa5b762ab8d7cf80473 | 54f542dccd2f1a561366290209ad75955a23d3a8 | /w1/ex5.cpp | d189ef974869d2999cb5e41e18902e731a1b68fc | [] | no_license | nshevchenko/cppimageprocessing | 339e4aa24e52f6538ea6c0921c313df8d202f818 | f4695b37609dcf6943389870a47b7c340e814566 | refs/heads/master | 2021-01-10T05:49:16.222771 | 2016-03-20T21:22:08 | 2016-03-20T21:22:08 | 54,340,287 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 531 | cpp | #include <iostream>
#include <cmath>
using namespace std;
/* THE AIM IS TO WRITE CODE THAT TESTS HOW THE OVERLOADED OPERATORS */
/* WORK WITH STRINGS IN C++ */
class vector2d {
public:
int X, Y;
vector2d() {
cout << "init" << endl;
}
vector2d(double X, double Y) {
this->X = X;
this->Y = Y;
cout... | [
"nikshe@Niks-MacBook-Pro.local"
] | nikshe@Niks-MacBook-Pro.local |
e6a9c87545d613ea4d6744be65f562f403dd2f56 | 6358f1b0b4f97f448ca5d8a5c00e99bc0bd85d70 | /EmojicodeCompiler/AST/ASTLiterals_CG.cpp | 03c24e93b65ed886a9254dad74ea0959f2439bca | [
"LicenseRef-scancode-warranty-disclaimer",
"Artistic-2.0"
] | permissive | darkmastermindz/emojicode | 1aaadd9bc262e326c5e9e67dba961f03bb0da68f | 12f8b06bf8b58548f854bcbec655b437c50a1dd7 | refs/heads/master | 2021-07-05T11:14:14.493895 | 2017-09-26T15:01:13 | 2017-09-26T15:01:13 | 105,840,024 | 1 | 0 | null | 2017-10-05T02:08:18 | 2017-10-05T02:08:18 | null | UTF-8 | C++ | false | false | 4,936 | cpp | //
// ASTLiterals_CG.cpp
// Emojicode
//
// Created by Theo Weidmann on 03/09/2017.
// Copyright © 2017 Theo Weidmann. All rights reserved.
//
#include "ASTLiterals.hpp"
#include "../Generation/CallCodeGenerator.hpp"
#include "../Generation/FnCodeGenerator.hpp"
#include "../Generation/StringPool.hpp"
#include "../... | [
"hi@idmean.xyz"
] | hi@idmean.xyz |
f24f1c021879d11647ef06f37e19b0d4bcd64016 | d14b5d78b72711e4614808051c0364b7bd5d6d98 | /third_party/llvm-16.0/llvm/lib/ExecutionEngine/Orc/Mangling.cpp | 9c243c9bf1d298d93ab59cf6d2d5f6c46395e1cb | [
"Apache-2.0"
] | permissive | google/swiftshader | 76659addb1c12eb1477050fded1e7d067f2ed25b | 5be49d4aef266ae6dcc95085e1e3011dad0e7eb7 | refs/heads/master | 2023-07-21T23:19:29.415159 | 2023-07-21T19:58:29 | 2023-07-21T20:50:19 | 62,297,898 | 1,981 | 306 | Apache-2.0 | 2023-07-05T21:29:34 | 2016-06-30T09:25:24 | C++ | UTF-8 | C++ | false | false | 2,800 | cpp | //===----------- Mangling.cpp -- Name Mangling Utilities for ORC ----------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | [
"swiftshader-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | swiftshader-scoped@luci-project-accounts.iam.gserviceaccount.com |
abbad22f54dd27f86bc4015a9f4410d8eac72aae | 90fb82c02cd6ebcb67f3a8a83cbacecbb2304aa7 | /Sprint4/test.cpp | 893f9dde1035529d00b2293feafbb12a1d1b5892 | [] | no_license | melland55/Data-Structures | b311eb5e12c68d47508b6f80d7fcde39a3524335 | 850ffc9cfdde6f2c3c1d9830fd74bd2a73dd95be | refs/heads/master | 2022-12-26T14:56:39.290140 | 2019-04-08T10:55:28 | 2019-04-08T10:55:28 | 293,893,904 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,150 | cpp | #include "catch.hpp"
#include <algorithm>
#include <iostream>
#include <stdio.h>
#include <string.h>
#include "list.h"
#include "flight.h"
#include "city.h"
#include "adjacencylist.h"
#include"stack.h"
TEST_CASE("Node struct", "[classic]"){
SECTION("Destructor"){
Node<int>* x = new Node<int>();
x... | [
"andrewmelland@gmail.com"
] | andrewmelland@gmail.com |
18ebd6f7bdeff92fe547b601fe2080d68085b5b2 | e575c4f6a6195582e929be85dfc2ccc439609d99 | /nyangcoo/MakeCharacterBtn.cpp | be1750883d2706d85a7586ff72943f1fe10fa97e | [] | no_license | euntas/nyangcoo | 7fa899744b2c074e2ce0a215b979c9fc2fd0d7fb | ff87f2ada9056f36a77a4b9fc41609ff8fc9333f | refs/heads/master | 2020-06-29T17:24:56.107185 | 2020-01-18T03:04:05 | 2020-01-18T03:04:05 | 200,577,671 | 0 | 0 | null | 2019-08-30T08:53:51 | 2019-08-05T03:44:38 | C++ | UHC | C++ | false | false | 4,948 | cpp | #include "pch.h"
#include "MakeCharacterBtn.h"
MakeCharacterBtn::MakeCharacterBtn()
: StaticObject(EObjectType::eObjectType_MakeCharacterBtn)
{
}
MakeCharacterBtn::MakeCharacterBtn(std::string characterName)
: StaticObject(EObjectType::eObjectType_MakeCharacterBtn)
{
IsReady = false;
CurStageID = 0;
NameStr = c... | [
"tavstaus@hanmail.net"
] | tavstaus@hanmail.net |
f8bdd9b6361ce44f918866c52e3af5ff55a5644f | 31fec6ee8a235ff9586a96dd2a2ced7d0351d1d7 | /src/iorequest.cpp | 1208d8f64cca30c8690c8e6aad82b7f6f8cd36a8 | [] | no_license | carlos-mazieri/nemo-qml-plugin-folderlistmodel-rebase-01 | 4052159a1159728445f5dbf5ef79f418f39e2ed2 | 5f91b10e9237f311deb0add20e4662abb1286660 | refs/heads/master | 2020-04-02T09:05:32.295214 | 2013-08-31T10:07:55 | 2013-08-31T15:04:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,793 | cpp | /*
* Copyright (C) 2012 Robin Burchell <robin+nemo@viroteck.net>
*
* You may use this file under the terms of the BSD license as follows:
*
* "Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
* * Redistributions ... | [
"carlos.mazieri@gmail.com"
] | carlos.mazieri@gmail.com |
515a274bad912e52b6fc008872c51b6a40293dc4 | d9712621a8d813add111a3774bcef1b31ada6fd8 | /cg/p2/Assets.cpp | 31b7ac145c4b6ab1411d04d5c1455183dc989986 | [] | no_license | Claudio-Padilha/tmp | 8b18a5b13d2bd4b87895ccefb7c20a8ce590ccbd | 15efe56af62058e2d7e43014b02f2a7b5b12b25f | refs/heads/master | 2020-08-29T12:38:49.093897 | 2019-10-28T13:45:32 | 2019-10-28T13:45:32 | 218,033,356 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,930 | cpp | //[]---------------------------------------------------------------[]
//| |
//| Copyright (C) 2018 Orthrus Group. |
//| |
//| This software is provided 'as-is', w... | [
"padilha86@gmail.com"
] | padilha86@gmail.com |
8686ce61d8f4e29c1d7714e908ce9ca026c8d31a | b7b8083156d2bd7502a1d38d709c408cf0c917ef | /semester1/test3/t3.2/main.cpp | 91331ba4c6e5451cf783a5c02fd6835f0fa5831e | [] | no_license | rprtr258/spbsu-programming | 7e74f24ffbda4952409ddcef2f94b6430641a592 | 43123373a11c91a4fe79eadde17b6ff6677ebcce | refs/heads/master | 2022-01-11T21:37:45.034246 | 2019-06-10T23:58:54 | 2019-06-10T23:58:54 | 105,365,570 | 0 | 0 | null | 2019-06-10T08:14:37 | 2017-09-30T11:31:55 | Java | UTF-8 | C++ | false | false | 1,549 | cpp | #include <stdio.h>
#include <time.h>
#include <stdlib.h>
#include "cyclelist.h"
int main() {
srand(time(nullptr));
printf("CycleList linked list simulator\n");
CycleList *list = nullptr;
bool isRunning = true;
while (isRunning) {
printf("Write command:\n");
int cmd = -1;
sca... | [
"poletansky@gmail.com"
] | poletansky@gmail.com |
2a5a94328a840941f649e9931f357074b2eb7c75 | fd5c896a1fea6fa15034d8d1daf2f223bc06d093 | /TrainingApplication-case study/ConsoleApplication2/course.cpp | 9fe16860502a66866dcc78d1241fff90add407d7 | [] | no_license | ShvetaNeginhal/cpp_exercises | 8afcded1718f55bbcd32fc1a82e1c395cc9297ed | 6b4375cfbc9454950b02455728a1288a41f036a3 | refs/heads/master | 2020-07-13T05:52:20.945723 | 2019-08-28T19:51:59 | 2019-08-28T19:51:59 | 205,006,653 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 259 | cpp | #include "pch.h"
#include "course.h"
course::course(string coursename) :coursename(coursename)
{
}
void course::getmodules()
{
for (int i = 0; i < modu.size(); i++) {
cout<<modu[i].getmodname()<<endl;
}
}
course::~course()
{
}
| [
"saneginhal@gmail.com"
] | saneginhal@gmail.com |
7d8b1428b793fe69f82c001fc754fb56cdf40648 | a44cb91606c743ccea2eea7fa33a4d5edb35eb19 | /Plugins/InventorySystem/Source/InventorySystem/Public/SlotStruct.h | 640048fa192e8286fc54a31b745b4844f48dbec5 | [] | no_license | KrisStoyanov/Plugin_Demo_Inventory_System-Unreal_Engine | 0e2e2afe837b6d6a91385dec5bc5384acdc22f02 | 5c85924c12385e4c0233119f6eab20b56efb2289 | refs/heads/master | 2022-04-01T21:12:33.403048 | 2020-02-08T06:25:10 | 2020-02-08T06:25:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 707 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "InventorySystem/Public/Item.h"
#include "Item.h"
#include "Engine/DataTable.h"
#include "CoreMinimal.h"
#include "Engine/UserDefinedStruct.h"
#include "SlotStruct.generated.h"
USTRUCT(BlueprintType)
struct INVENTOR... | [
"KrisStoyanov@users.noreply.github.com"
] | KrisStoyanov@users.noreply.github.com |
102604b3b043fc70b70482e68f3a43e277befde3 | 35330f2e031958707e6a3bf5e8f9bf145141dc3a | /include/lighting/lights/PointLight.h | 8b72dbaffa8bcb5547ced71a9d906a7756316542 | [] | no_license | mezox/Efficient-Computation-of-Lighting | 709ddb3ec8f1592c1816c2e6ad4d12efb83a1bcc | a39e0b4f5d519ccb2c94bee318839a36f536ac7e | refs/heads/master | 2021-01-13T14:28:36.830999 | 2015-11-15T23:34:35 | 2015-11-15T23:34:35 | 27,537,415 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,023 | h | /*
Project: Efficient computation of Lighting
Type: Bachelor's thesis
Author: Tomáš Kubovčík, xkubov02@stud.fit.vutbr.cz
Supervisor: Ing. Tomáš Milet
School info: Brno Univeristy of Technology (VUT)
Faculty of Information Technology (FIT)
Department of Computer Graphics and Multimedia (UPGM)
Project information... | [
"xkubov02@stud.fit.vutbr.cz"
] | xkubov02@stud.fit.vutbr.cz |
71c50c9fdb8cf35dfffad392f6bc014b5cd5acab | 9eb8b8561268cacecc45ece49b72053d1fe78a78 | /linkedList.h | f46fd9b0cd51fe3c2d372957fe0e0fa3d7d1c136 | [] | no_license | nushirvannaseer/FAT32FileSystem | 5d730b16d82408c7452816512dfa8f1804142279 | 359deb4f74f23105f2becdec3563082e3f6c973d | refs/heads/master | 2021-03-12T13:02:56.065186 | 2020-03-11T16:30:24 | 2020-03-11T16:30:24 | 246,622,909 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,027 | h | #ifndef LIST_H
#define LIST_H
#include "node.h"
template <class T>
class linkedList
{
node <T>* head, *tail;//dummy head and dummy tails
int size;
friend class FileSystem;
friend class systemWindow;
public:
linkedList()
{
head = new node<T>();
tail = new node<T>... | [
"noreply@github.com"
] | noreply@github.com |
9cb8b347a1f682e125f534ceef613ce41737652a | 4b5257ee388ce6362b6e4401faddf7fb0add46dd | /c_pgmtk/tests/src/AGenerateEvidences.cpp | 4593c412213aa8ca00531ae4c53a0945b5f2b11b | [] | no_license | artiste-qb-net/OpenPNL | 71d6d9409f41c9613eb019d7644fea92536fc31f | 8da3df1b27c8145cfe87e370b4f2491a4c49b48c | refs/heads/master | 2021-01-22T21:07:04.847943 | 2017-03-22T03:51:17 | 2017-03-22T03:51:17 | 85,389,536 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,555 | cpp | /////////////////////////////////////////////////////////////////////////////
// //
// INTEL CORPORATION PROPRIETARY INFORMATION //
// This software is supplied under the terms of a license agreement or //
// nond... | [
"henning.dekant@gmail.com"
] | henning.dekant@gmail.com |
411bfa4412dce74580a46df5d467d681f4c9d6e9 | 311614346b33960f9d879105540ceaf10a02f83d | /Laboratori/Bloc 2/S1/MyGLWidget.h | 690d6c0067558a1982ce5d9c9d4d456325bdefeb | [] | no_license | mcasellas/FIB-IDI | d659e2e094326a53defd4b10f56967b7f3bb6742 | 84b1f353ec90b3a89fbbaae4cacc5f8adb80660d | refs/heads/master | 2021-04-25T06:30:58.442283 | 2018-07-16T21:27:50 | 2018-07-16T21:27:50 | 122,231,407 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,648 | h | #define GLM_FORCE_RADIANS
#include <QOpenGLFunctions_3_3_Core>
#include <QOpenGLWidget>
#include <QOpenGLShader>
#include <QOpenGLShaderProgram>
#include <QKeyEvent>
#include "glm/glm.hpp"
#include "glm/gtc/matrix_transform.hpp"
#include "Model/model.h"
class MyGLWidget : public QOpenGLWidget, protected QOpenGLFuncti... | [
"marc.casellas@est.fib.upc.edu"
] | marc.casellas@est.fib.upc.edu |
00162332f5ee4833d8c79be15e812b21218da78a | 12576deee2cda534293d4bcd555121f64339062e | /v8-181230/v8/src/ia32/assembler-ia32.cc | 7a800e7da4b09eac1647bb7eab5adfcf61930cb3 | [
"bzip2-1.0.6",
"BSD-3-Clause",
"SunPro"
] | permissive | dnobori/DN-OSS-Learn | ded1a0a04d47a7ca0c598bd23986128745437844 | 83ad725c20f48274c0908b6fb9c746a9f514d882 | refs/heads/master | 2022-12-09T14:46:14.518304 | 2021-11-16T14:02:37 | 2021-11-16T14:02:37 | 159,909,542 | 4 | 5 | null | 2022-12-08T01:46:27 | 2018-12-01T04:39:58 | null | UTF-8 | C++ | false | false | 78,103 | cc | // Copyright (c) 1994-2006 Sun Microsystems Inc.
// All Rights Reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// - Redistributions of source code must retain the above copyright notice,
// this list ... | [
"dnobori.gitcommit@coe.ad.jp"
] | dnobori.gitcommit@coe.ad.jp |
0172cfe21bc7f6c3b7f1cd4147a37517d91ceeb9 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/git/gumtree/git_old_hunk_2479.cpp | a68894b316e5421916c328d18e4c9e9469f74b2d | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 828 | cpp | return best;
}
static int register_ref(const char *refname, const struct object_id *oid,
int flags, void *cb_data)
{
if (!strcmp(refname, "bad")) {
current_bad_oid = xmalloc(sizeof(*current_bad_oid));
oidcpy(current_bad_oid, oid);
} else if (starts_with(refname, "good-")) {
sha1_array_append(&good_revs, oi... | [
"993273596@qq.com"
] | 993273596@qq.com |
d2a43f62d7907dd938ce09d50e446fcee4a781ee | bb6ebff7a7f6140903d37905c350954ff6599091 | /content/shell/renderer/test_runner/mock_web_user_media_client.h | 7b3b64b513a1dc58346f1ab969e72224ad80567f | [
"BSD-3-Clause"
] | permissive | PDi-Communication-Systems-Inc/lollipop_external_chromium_org | faa6602bd6bfd9b9b6277ce3cd16df0bd26e7f2f | ccadf4e63dd34be157281f53fe213d09a8c66d2c | refs/heads/master | 2022-12-23T18:07:04.568931 | 2016-04-11T16:03:36 | 2016-04-11T16:03:36 | 53,677,925 | 0 | 1 | BSD-3-Clause | 2022-12-09T23:46:46 | 2016-03-11T15:49:07 | C++ | UTF-8 | C++ | false | false | 1,343 | 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 CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCK_WEB_USER_MEDIA_CLIENT_H_
#define CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCK_WEB_USER_MEDIA_CLIENT_H_
#includ... | [
"mrobbeloth@pdiarm.com"
] | mrobbeloth@pdiarm.com |
861e7e78e595d15e75e41e090ac9f375e0b0c5c3 | 871750e6e778c69552c8d0821e8cdf6fbec0920d | /Project 2/Node.cpp | 19f9d556024b6841ce00fce2062090401a717f78 | [] | no_license | aovadia/CSCI-335 | 71ff1970605d868f1a0f53107d1dff1bb66b5845 | a338b8344e74f886ece83ac5a341c786c197f769 | refs/heads/master | 2021-01-20T12:45:27.583252 | 2017-05-05T18:32:43 | 2017-05-05T18:32:43 | 90,405,360 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 434 | cpp | //
// Node.cpp
//
//
// Created by Adam on 12/20/16.
//
//
#include <stdio.h>
using namespace std;
Node::Node() : edge1(nullptr), edge2(nullptr) {
}
Node::Node(const double& aX, const double& aY) : x(aX), y(aY), edge1(nullptr), edge2(nullptr) {
}
Node::Node(const double& aX, const double& aY, Node* E1... | [
"ovadia.adam2@gmail.com"
] | ovadia.adam2@gmail.com |
289b97019a9e49bf62509e977458d00f31fa7793 | e5f77af594ecf0f05e0b6c6659e96f08b5830479 | /cs215-Programming II/Lab02/esperonL02b.cpp | e5c4bbaa8ff4f43362827922916465f9058b0acd | [] | no_license | cesperon/Sonoma-State-CS | 2f5fbaf2196206d53ccec2f6d09e0fcc3761bda9 | 2c782061dadc6ce37f3422d248fc4916e321bda8 | refs/heads/master | 2020-03-18T15:30:14.735895 | 2019-05-20T16:19:15 | 2019-05-20T16:19:15 | 134,911,981 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,303 | cpp | // Assignment : Lab 2 b
// File : esperonL02b.cpp
// Date : Spring 2017
// Description : This program reads the file words.txt and identifies each
// character of each word within the file as a vowel, consonant, digit, or
// special character, then it records how many times those characters
// occur.
#include <fstream... | [
"chrise@chrise.attlocal.net"
] | chrise@chrise.attlocal.net |
9c7a128c2b2ba9b8c289a8123e16e6665c2ab2f6 | 50de7f977f3d60fa3ea7df2b908be49d8ca44083 | /C++/fft/fftw2d.cpp | dc38d9129029db5d855a77cdc1b1298a4ba349e6 | [
"Apache-2.0"
] | permissive | unmeshvrije/C-- | e559b2806af0a5e14ce233bc8ba1c55aadd2659a | 361616849313155b34afc68769f6bb121bafdac0 | refs/heads/master | 2022-12-24T05:54:39.053431 | 2022-12-12T16:20:34 | 2022-12-12T16:20:34 | 12,909,247 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 576 | cpp | #include <iostream>
#include <vector>
#include <cmath>
#include <cassert>
#include <complex.h>
#include <fftw3.h>
using namespace std;
int main(int argc, char* argv[]) {
int N = 6;
double in[] = {1,2,3,4,5,6};
fftw_complex *out;
fftw_plan p;
out = (fftw_complex*)fftw_malloc(sizeof(fftw_compl... | [
"unmesh.joshi126@gmail.com"
] | unmesh.joshi126@gmail.com |
ba53ee1b52cd59e0575f52644be330f4213e3213 | 48e2f04161cde6291f3b280a5fe515b463af5047 | /chap18/vector.cpp | e51906c0fb544ca7e74233f8100580319f54f6ba | [] | no_license | ksvbka/tcpp | 57293912bc6ee79f3e3401ea1647898883398ff3 | 8c0d43edb811788ba20d60d71b62b9e2e5f0c96d | refs/heads/master | 2020-07-21T13:34:45.045825 | 2016-04-24T14:53:05 | 2016-04-24T14:53:05 | 55,362,622 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,066 | cpp | #include <iostream>
#include <vector>
#include <initializer_list>
using namespace std;
template <class T>
class myVector {
public:
myVector(initializer_list<T> l);
myVector(int size);
private:
vector<T> data_;
int size_;
template <class Type>
friend ostream& operator<<(ostream& os , const myVector<Type>... | [
"letrungkien.k53.hut@gmail.com"
] | letrungkien.k53.hut@gmail.com |
d8be0bb647c136ba02821a2c390972aea2949089 | b46ca04457662a402ebadf4d2320cbd752281375 | /vision/passing_monitor/monitor.h | f6b1c8182df53501e43ec33096bdab132c3397b3 | [
"MIT",
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | tkuwheel/TKURoboSot | 147b55e278c54fda3aa77e20a7b659d21a76c0f4 | 71dc3d5cd7952d4bbba498e32313594c697f781a | refs/heads/master | 2021-07-14T18:06:35.682888 | 2020-02-25T09:24:40 | 2020-02-25T09:24:40 | 175,620,874 | 14 | 25 | MIT | 2019-08-12T22:43:33 | 2019-03-14T12:49:09 | HTML | UTF-8 | C++ | false | false | 1,508 | h | #include "nodehandle.h"
class Vision : protected NodeHandle
{
public:
Vision();
Vision(string topic);
~Vision();
cv::Mat GetSource() { return Source; }
cv::Mat GetMonitor() { return Monitor; }
private:
ros::NodeHandle nh;
ros::Subscriber image_sub;
void imageCb(const sensor_msgs::I... | [
"zxc455233@gmail.com"
] | zxc455233@gmail.com |
2aadb4e7433a674b5da01482cf016f6346022feb | cbfb0c03655b369a9eea99fd05bd5fda36d95204 | /Classes/GameOverLayer.cpp | 108d6bf9da965acf9106b3802729a3f769ff966c | [] | no_license | Phaze1D/EsChew | d9df01a4f5fe5e8c1d44aab4ee52ab704fce85d3 | 0fa41f6409aa612492707535ef15f25da0cfb868 | refs/heads/master | 2020-04-14T22:06:52.352803 | 2015-03-30T22:32:30 | 2015-03-30T22:32:30 | 31,630,110 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,783 | cpp | //
// GameOverLayer.cpp
// SQ
//
// Created by David Villarreal on 3/16/15.
//
//
#include "GameOverLayer.h"
USING_NS_CC;
void GameOverLayer::buildLayer(int score, int highScore){
this->score = score;
this->highScore = highScore;
this->createHighScore();
this->createScore();
this->createReset... | [
"steadypathapp@gmail.com"
] | steadypathapp@gmail.com |
5c53ed5068083c988d05c677d1282c185289775d | 8d952a06e3809a06825a3be7b067201f3652f16a | /debug/atomics/unitTest/WRRSchedulerTest.cpp | bb571a5d0261e18722d4549a88e539e277f731d8 | [
"GPL-3.0-only",
"MIT"
] | permissive | andyLaurito92/haikunet | b771eaf6bd91292485f0a49698ce123b9308d676 | db44623b248c56735c28a5f589c3239dc7e9855e | refs/heads/master | 2021-06-14T12:38:38.996450 | 2021-05-05T18:26:02 | 2021-05-05T18:26:02 | 75,564,849 | 2 | 1 | MIT | 2021-05-05T18:26:26 | 2016-12-04T21:12:31 | C++ | UTF-8 | C++ | false | false | 26,941 | cpp | #include <stdlib.h>
#include <iostream>
#include "PhaseI/WRRScheduler.h" // test target
#include "MockClasses.h"
#include <boost/test/floating_point_comparison.hpp>
#include <boost/test/included/unit_test.hpp>
BOOST_AUTO_TEST_SUITE(WRRSchedulerTests); // add suite with test name
class WRRScheduler_wrapper : public ... | [
"andy.laurito@gmail.com"
] | andy.laurito@gmail.com |
910994b3c7f1f6e67fb3a90425246a86d5ccaa2a | 37b1cc093229626cb58199379f39b6b1ec6f6fb0 | /src/core/NEON/kernels/arm_gemm/kernels/sve_interleaved_bf16fp32_dot_8x3VL.hpp | 1ae035c614461d08fd8897be99a380ae665c25d1 | [
"MIT",
"LicenseRef-scancode-dco-1.1",
"Apache-2.0",
"LicenseRef-scancode-public-domain"
] | permissive | ARM-software/ComputeLibrary | d4dfccb6a75b9f7bb79ae6c61b2338d519497211 | 874e0c7b3fe93a6764ecb2d8cfad924af19a9d25 | refs/heads/main | 2023-09-04T07:01:32.449866 | 2023-08-23T13:06:10 | 2023-08-23T13:06:10 | 84,570,214 | 2,706 | 810 | MIT | 2023-01-16T16:04:32 | 2017-03-10T14:51:43 | C++ | UTF-8 | C++ | false | false | 2,885 | hpp | /*
* Copyright (c) 2019-2021, 2023 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
* 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... | [
"bsgcomp@arm.com"
] | bsgcomp@arm.com |
cf13162b36f07c8fefeb7f84311f4a9294572e21 | 7f1dc859068ea7f8a226e842f84f3c924d8eb4fd | /leetCode/Binary Tree Maximum Path Sum.cpp | d7ddc3950cd83468856e154cc12955cef4fa1654 | [] | no_license | nileshdas/codeSolutions | 8d115d1204e51a2207bc97e6005ba3d930b938bf | 00fa7227d1864cf9f9dec3a6dc59532e7c9c18f5 | refs/heads/master | 2022-12-30T16:24:11.581097 | 2020-10-19T08:04:58 | 2020-10-19T08:04:58 | 282,585,670 | 0 | 0 | null | 2020-10-19T08:04:59 | 2020-07-26T05:52:10 | C++ | UTF-8 | C++ | false | false | 1,119 | cpp | // Given a non-empty binary tree, find the maximum path sum.
// For this problem, a path is defined as any sequence of nodes from some starting node to any node in the tree along the parent-child connections. The path must contain at least one node and does not need to go through the root.
/**
* Definition for a bin... | [
"nileshdas50@gmail.com"
] | nileshdas50@gmail.com |
e85a7eaaf8f42e26ffcb74f8d08878c89e91ba4e | a4c8533710e295ecf4726c618c1a02760d888613 | /02_Build/01_Compile/01_Tasking_4p3/ctc/include.stl/stl/_uninitialized.h | bfae5d937b4711c47c87aae49d67a625184fbfc4 | [] | no_license | miaozhendaoren/K2SAR_EMS | ee42a1918cf45fbbbb24b0c8a128951d14eeee67 | 787d17cfa2c9a3ef89743dce1778f0087de32254 | refs/heads/master | 2021-01-17T23:05:04.505435 | 2015-12-22T14:39:24 | 2015-12-22T14:39:24 | 49,954,845 | 1 | 0 | null | 2016-01-19T13:35:48 | 2016-01-19T13:35:48 | null | UTF-8 | C++ | false | false | 19,219 | h |
/*
*
* Copyright (c) 1994
* Hewlett-Packard Company
*
* Copyright (c) 1996,1997
* Silicon Graphics Computer Systems, Inc.
*
* Copyright (c) 1997
* Moscow Center for SPARC Technology
*
* Copyright (c) 1999
* Boris Fomitchev
*
* This material is provided "as is", with absolutely no warranty expressed
* o... | [
"331201091@qq.com"
] | 331201091@qq.com |
44305a2d8e407dec8b5ef61bcc8734b1cfd2aef6 | 1c4440e4d4809363199a4f14450d037f34e0f898 | /NC_F_P4.h | bd97ea0b669d0daf7c7a1c13fb4dc0876e4dd605 | [] | no_license | bruno101/Tarefa-7---MN-II | 686fdfea3b586a7b9ad56577f415a4b3a6fe13b4 | df0c385b7a27003821bea2790c782762ad83b451 | refs/heads/master | 2023-07-28T05:45:38.326805 | 2021-09-05T22:10:34 | 2021-09-05T22:10:34 | 385,709,152 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 326 | h | #pragma once
#include "Integracao.h"
class NC_F_P4 :
public Integracao {
public:
NC_F_P4(Funcao* integrando, double a, double b, int particao_ou_precisao, int numero_de_particoes, double precisao);
double integrar();
double integrarP(int n);
double integracao(Funcao *f, double a1, double b1... | [
"bbarros.sousa@hotmail.com"
] | bbarros.sousa@hotmail.com |
ec8960a3816709bc948a8f0676476f444ab55a48 | f1f5e84c01a02d4fe4de7d6359874717718e4540 | /Programms/GFG/Competetive/no. of points inside a ploygon.cpp | f9e68e7aa2acf8cfc75115a4de6bb8091061039f | [] | no_license | yadav-ankit/Projects | 28365ee8e54132d2a6bfdf059935702005f4c13e | 291dfc4c4260a6901e8bdf6a2b079f01c66995d8 | refs/heads/master | 2022-03-22T22:08:32.707191 | 2019-11-03T03:01:32 | 2019-11-03T03:01:32 | 62,373,147 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 805 | cpp | # include<bits/stdc++.h>
using namespace std;
class point
{
public:
int x; int y;
point(int a=0,int b=0)
{x=a; y=b;
}
};
int gcd(int a,int b){
if(b==0) return a;
return gcd(b,a%b);
}
int get_boundary_count(point p,point q)
{
if(p.x== q.x) return fabs(p.y - q.y)-1;
if(p.y== q.y) r... | [
"noreply@github.com"
] | noreply@github.com |
b5f8af4d65fcfcd997b285c96b1d5b4a0ab05390 | 0dfaaf670fed7ce0f71fd57949fa831ae2babdeb | /source/Item18/item18_11/main.cpp | 7b03080af409ae4a6007e48bdc2c0be68fca00f0 | [
"MIT"
] | permissive | KhachaturHakobyan1993/Scott-Meyers-Effective-Modern-C- | cffa7c646084ac4caf00213f4c73fec79c94dfdb | 41e78619b9622ef7f01746fdebadb5e1da005157 | refs/heads/master | 2022-04-12T02:28:48.675095 | 2020-03-19T19:03:43 | 2020-03-19T19:03:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,771 | cpp | #include <iostream>
using namespace std;
class Investment {
public:
Investment() {
std::cout<<"InvestmentXXXXXXXX\n";
}
Investment(Investment& a) {
std::cout<<"Investment Copy\n";
}
Investment(Investment&& a) {
std::cout<<"Investment Move\n";
}
virtual void sayH... | [
"khachatur.hakobyan1993@gmail.com"
] | khachatur.hakobyan1993@gmail.com |
3cf5df36207b844cfe3031fb87ff7884bfecbb96 | 4e89f6add89531973eaaa1d484ac9d847b36303d | /06. Searching/Check perfect square.cpp | 9e23ccec24b6264a31cf93e0c07f10438ae3a39b | [
"MIT"
] | permissive | AvinashBonthu/DSA-cpp-Hacktoberfest2021 | ab36921286ccaf43fef44f32baf2695a387a03f6 | 0e213bfe4391a0e5bae8f86e71e0777ed7525c33 | refs/heads/main | 2023-08-20T00:25:59.584416 | 2021-10-27T17:04:11 | 2021-10-27T17:04:11 | 412,206,831 | 0 | 2 | MIT | 2021-10-05T12:11:02 | 2021-09-30T19:51:46 | C++ | UTF-8 | C++ | false | false | 1,288 | cpp | /*
Given a positive integer n, check if it is perfect square or not.
NOTE: Try to solve the question using only addition and subtraction operation.
Example 1:
Input: n = 35
Output: 0
Explanation: 35 is not perfect
square because sqrt(35) = 5 but
5*5 !=35.
Example 2:
Input: n = 49
Output: 1
Explanation: sqrt(49) = 7... | [
"noreply@github.com"
] | noreply@github.com |
79b25ea9653245ad8e94eb4a78e6592ac0298cf0 | b9713f5869c43a7ac06ae04b4abe748b2e9277ee | /src/stack/main.cc | bb546ef8a40e5ee3629acd7df80502c18dbd8e37 | [] | no_license | hongshuochen/cpp_tour | 44c3fd9b6e2fee50ed7719560050091af19fa24c | f6d41e89724436b8702ed3509de89b15cc095129 | refs/heads/master | 2023-07-30T17:58:23.814719 | 2021-09-18T20:18:14 | 2021-09-18T20:18:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 813 | cc | #include <iostream>
#include <stack>
#include <string>
int main() {
// Empty stack
std::stack<int> s;
int r;
r = s.top(); // Seriously?
s.pop(); // Don't do this!
if (!s.empty()) {
r = s.top();
s.pop(); // Don't do this!
}
// // Do this:
// if (!s.empty()) {
// s.pop();
// }
... | [
"ourarash@gmail.com"
] | ourarash@gmail.com |
f3d6326902c2c501189267908a39916c4402bdaf | 29ae6a15cb4f6bd0e880caca18445f23368ee7a7 | /GYM__Contests/2018-2019 ACM-ICPC Pacific Northwest Regional Contest (Div. 1)/L - Liars.cpp | 515434978d09236d6c21983028094b45219c2886 | [
"MIT"
] | permissive | mushfiq-906/cp__training | 3d5d59b2514a4adbb38e9d0c41a876030a114038 | 93fdc45cf20f71571b75eb8253052b70957087ad | refs/heads/master | 2023-05-02T18:50:50.742451 | 2021-05-23T09:37:12 | 2021-05-23T09:37:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 461 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const int N = 1e3 + 5;
int t, m = -1, n, l, r, a[N], b[N];
bool check(int x) {
int ret = 0;
for (int i = 0; i < n; ++i) ret += x >= a[i] && x <= b[i];
return ret == x;
}
int main() {
ios::sync_with_stdio(false);
cin.tie(NULL);
cout.tie(... | [
"abdallah.ahmed.hemdan@gmail.com"
] | abdallah.ahmed.hemdan@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.