blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
eecc74187840f679a7797d4eb5650daf8d7cc72a | a0b9aab45a8dcc4b05a0cdcf1d38be1b38f0bda1 | /src/net.cpp | 81a7f8c5b3cc61b67e9bc3fe5d1cb6c89c7ac700 | [
"MIT"
] | permissive | barrystyle/printex | 92e27cb704b4e2c12ce79523e3ecf66aea00e772 | d6ff7a7afc759285fabbd2f800fa5815d3981dde | refs/heads/master | 2020-04-23T22:00:05.061249 | 2018-08-12T16:53:38 | 2018-08-12T16:53:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 66,317 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "db.h"
#include "net.h"
#include "main.h"
#include "addrman.h"
#include "c... | [
"39118235+Printex-core@users.noreply.github.com"
] | 39118235+Printex-core@users.noreply.github.com |
e46b18b00dbd73475f256f01a2bc5abc0ff06fdd | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /content/browser/renderer_host/input/mouse_latency_browsertest.cc | 929ed1c548227bedfa7382437d43009dd188eee0 | [
"BSD-3-Clause"
] | permissive | Samsung/Castanets | 240d9338e097b75b3f669604315b06f7cf129d64 | 4896f732fc747dfdcfcbac3d442f2d2d42df264a | refs/heads/castanets_76_dev | 2023-08-31T09:01:04.744346 | 2021-07-30T04:56:25 | 2021-08-11T05:45:21 | 125,484,161 | 58 | 49 | BSD-3-Clause | 2022-10-16T19:31:26 | 2018-03-16T08:07:37 | null | UTF-8 | C++ | false | false | 14,924 | cc | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <memory>
#include <string>
#include <utility>
#include <vector>
#include "base/bind.h"
#include "base/json/json_reader.h"
#include "base/message... | [
"sunny.nam@samsung.com"
] | sunny.nam@samsung.com |
72ea3365182c1ae52a74dcfcb39df764273077bd | 5a2f35109c8f5d319c20cc364b3c9e96e89c4358 | /lab_03/sorts/sorts.h | 6b53533d8001539e894e41af1a3d2751a2cde391 | [] | no_license | BroBezzubik/Analysis_Algorithm | dbcb12c9b106cd7b1f23c01f404e24295ef2a0b8 | c65bd29917b54cd453f62036c50d81c501dee2c6 | refs/heads/master | 2020-11-24T13:59:23.217377 | 2020-01-16T15:11:23 | 2020-01-16T15:11:23 | 228,180,364 | 0 | 0 | null | 2020-01-16T15:05:39 | 2019-12-15T12:27:53 | TeX | UTF-8 | C++ | false | false | 365 | h | #ifndef SORTS_H
#define SORTS_H
#include <ctime>
#include <iostream>
#include <vector>
#include <algorithm>
#include <ctime>
#include <stdint.h>
void bubbleSort(int*& array, unsigned size, clock_t& time);
void insertionSort(int*& array, unsigned arraySize, clock_t& time);
void selectionSort(int*& array, unsigned arr... | [
"Barsik98n@mail.ru"
] | Barsik98n@mail.ru |
0f5466e4b5b8390cd5f403d8d44a2f61ae668279 | a3e5975a856a7dc9c2437b31eb6857bb8b80ca21 | /LumEngine/LeCamera.h | 76d87df7e2e049dc329aef4c447170a69411e930 | [] | no_license | bmazuc/LumEngine | 80958afbb1117aafe4754224740c848a97304ab7 | 36a1de61f6aaaefac52161a9576fe3079fb54bb9 | refs/heads/master | 2022-12-21T14:51:19.199946 | 2020-09-24T14:52:39 | 2020-09-24T14:52:39 | 298,306,104 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,892 | h | #pragma once
#include "SceneNode.h"
#include <GLFW/glfw3.h>
#include "InputManager.h"
#include <iostream>
class LeCamera
{
public:
glm::vec3 cameraPos = glm::vec3(0.f, 8.0f, 14.0f);
glm::vec3 front;
float speed = 0.2f;
float yaw = -90.0f;
float pitch = -32.0f;
float mouseSpeed = 0.005f;
bool firstMouse = ... | [
"b.mazuc@student.isartdigital.com"
] | b.mazuc@student.isartdigital.com |
9772ccb6fcb3c4ac7fc957ea620d247dc34306b5 | a17a98a13aded5f9b554c643347e9ae563bd16ba | /hw1/clams.cpp | 332151e6a8b495eb31e6aa62be4c314b1582400f | [] | no_license | DPham17/CS153-Data-Structure | 2581206b691633f0151887c7c50ece07dccf9ed5 | 1882f3670d5a264fd1aba9bb78910667880941a0 | refs/heads/master | 2021-03-12T23:30:06.477790 | 2015-04-20T20:16:27 | 2015-04-20T20:16:27 | 34,283,966 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,630 | cpp | //Dzu Pham
//Class: CS 153
//clams.cpp
//Description: Dr. Zoidberg is fishing for clams, because clams are delicious!
#include <iostream>
#include <fstream>
using namespace std;
/*Calculates the points on the data*/
/*Pre: The alots in the array must be an int*/
/*Post: Outputs the Calculations of the resultes*/
void... | [
"dtptw6@mst.edu"
] | dtptw6@mst.edu |
41e18e0565e96f4d56507826026244c8210b283d | 50faf95fbc46315c3f859db81df8f79e2b2dcc73 | /src/VisibleObject.h | b07b501afd5a56751bfe852e35c81c031f015921 | [
"MIT"
] | permissive | shourai-softwares/dive | 975885f884b20e5aae6d0a2c43ecc10e58e078d5 | 8cee92002a319bb16cc1ee4f506d33fa166987c2 | refs/heads/master | 2020-03-11T04:14:43.437052 | 2019-02-04T17:10:09 | 2019-02-04T17:10:09 | 129,771,395 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 366 | h | #ifndef __VISIBLE_OBJECT_H__
#define __VISIBLE_OBJECT_H__
#include <string>
#include <dirent.h>
#include <GL/glew.h>
#include "Asset.h"
class VisibleObject {
public:
explicit VisibleObject(struct dirent *entity);
std::vector<GLfloat> getVertices();
std::string name;
int x, y, z;
... | [
"duilio@lipperhub.com"
] | duilio@lipperhub.com |
ebbde43c360e0375f2db79e790f918b6ba8d3267 | 65b647d03465785ea6dca1f99004f4e5033bf82c | /include/nbody/naive_simulation.h | 8ac6a4897599a8f917182b31466b2f62f936fbd4 | [
"MIT"
] | permissive | duanebyer/nbody | aa59e611276e32141023560a7b55cf856d7eeacd | a21333ecaa6e55608850f41721f5d9df01bc7558 | refs/heads/master | 2021-01-17T17:56:54.125562 | 2017-12-06T04:43:28 | 2017-12-06T04:43:28 | 70,763,941 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 730 | h | #ifndef __NBODY_NAIVE_SIMULATION_H_
#define __NBODY_NAIVE_SIMULATION_H_
#include <vector>
#include "nbody/device/types.h"
#include "nbody/simulation.h"
namespace nbody {
class NaiveSimulation final :
public Simulation<device::scalar_t, device::vector_t> {
private:
std::vector<Particle> _particles;
Scalar... | [
"duane.byer@gmail.com"
] | duane.byer@gmail.com |
45ac1621b98b0bf31ea9619ff44a55eadf7c228f | 7bbfa83c8a22030cd6fcdd1e7d3d60d586162da3 | /Assignment 3/Assignment 3/main.cpp | a560434037fd5081762cd3eb90ed238674d74fcc | [] | no_license | harrisonas18/datastructuresandalgorithms | aba2612361d0fd2e7390199cf245e5b7f3322a92 | b0ed5ada5293bae0886f70151b585b8c17d77561 | refs/heads/master | 2020-03-19T00:14:15.234121 | 2018-05-30T15:59:23 | 2018-05-30T15:59:23 | 135,465,555 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,646 | cpp | //
// main.cpp
// Assignment 3
//
// Created by Harrison Senesac on 5/27/18.
// Copyright © 2018 Harrison Senesac. All rights reserved.
//
// Worst case run time using big O
// O(n^2)
// O(10^2) = O(100)
//
#include <iostream>
#include <vector>
using namespace std;
//------------------------------------------------... | [
"noreply@github.com"
] | harrisonas18.noreply@github.com |
569292a18261477989f40fe5d866e4e5394b5e23 | 494da5e143f4a2623d10f8320987f5e39c63e08f | /MatrixClass.h | 4744c857cc836195e191d3bd65c102b2e7ccb9fe | [] | no_license | N1kla3/NeuralThree | 3ba3d4c72faa16f17780c6af779da65f59da8d20 | 9e0c8934efccdedaf7e02569c0cc85cdbdbea744 | refs/heads/master | 2023-02-15T09:32:53.962655 | 2021-01-06T17:06:43 | 2021-01-06T17:06:43 | 327,378,152 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,485 | h | //Vladimirsky Nicolai, group 821703
#ifndef IMAGECOMPRESSION_MATRIXCLASS_H
#define IMAGECOMPRESSION_MATRIXCLASS_H
#include <vector>
#include <cmath>
#include <iostream>
#include <algorithm>
/// sizeX = n, sizeY = m
class MatrixClass {
std::vector<double> matrix;
unsigned int sizeX, sizeY;
public:
MatrixCla... | [
"kolya.vladimirsky@gmail.com"
] | kolya.vladimirsky@gmail.com |
0f104a342abd34c7609ffd21d6040e9c1e2346df | 048ba2d43d457dfe1d6c64e19c461f6fdf97a222 | /Stack/Stack.h | ae5b0574cc9c85c9b826ef4d632367b3f6c2cbc6 | [] | no_license | Lobarr/ads-v2 | 22cbd5117057902cca125b0fb086b2487762765c | bea74de40bfbeee611dd074722c37ce9b9f2941d | refs/heads/master | 2023-03-21T20:13:58.187494 | 2021-03-14T21:16:00 | 2021-03-14T21:16:00 | 171,921,846 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 403 | h | #ifndef STACK_H
#define STACK_H
// #include <vector>
#include "../LinkedLists/SLinkedList/SLinkedList.cpp"
#include <iostream>
template <typename T>
class Stack {
public:
Stack();
void push(const T& input);
void pop();
const T* top() const;
const bool empty() const;
const unsigned int size(... | [
"jesulobaegunjobi@hotmail.com"
] | jesulobaegunjobi@hotmail.com |
4118fe514360413dd2b4046e9fdb9a29c9207190 | 77315d0f84ec16354b490e705722df39be47b7b6 | /Source/NoesisGui/Classes/GeneratedClasses/NoesisRotateTransform.h | 4d40fbf41d1a63c76ae89cd403417d1a6c9fd302 | [] | no_license | miaohongbiao/UE4Plugin | d259f57fadf77a5b152249fe303f5947ae4f28b7 | 8ae40958c823e6a5a29f8ff3fef1ba4c4c449623 | refs/heads/master | 2021-06-21T14:26:42.443016 | 2017-02-27T19:48:27 | 2017-02-27T19:48:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,364 | h | ////////////////////////////////////////////////////////////////////////////////////////////////////
// Noesis Engine - http://www.noesisengine.com
// Copyright (c) 2009-2010 Noesis Technologies S.L. All Rights Reserved.
///////////////////////////////////////////////////////////////////////////////////////////////////... | [
"hcpizzi@hotmail.com"
] | hcpizzi@hotmail.com |
4d3fa430e90688941beeb5a53232b991b5ed14d8 | ca5a5b37930dbcff674215ade00ed3aa98cbae7a | /src/Utilities/SGX_Utils/MessagesSGX.h | b8eb97c44dc99537b55f45d2b0b74ec83549539d | [
"MIT"
] | permissive | c2501902968/TME-CPS | c377e541dbbb702f3cc28122f37584de15657489 | 7836c098e84c3a94180ad0b99a0f72e0e5b57fa3 | refs/heads/master | 2022-01-22T21:15:41.886432 | 2019-07-27T20:41:37 | 2019-07-27T20:41:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,190 | h | #ifndef _MESSAGESSGX_H_
#define _MESSAGESSGX_H_
// #include <iostream>
// #include <cstdio>
// #include <cstring>
// #include "sgx_urts.h"
namespace MessagesSGX{
using namespace std;
//General
static const char* OK = "OK";
static const char* NOT_OK = "ERROR";
//Developer -> Monitor
static con... | [
"antonio.ribeiro94@gmail.com"
] | antonio.ribeiro94@gmail.com |
9a17468aa62236dfe32060e9a8431fa6258a75fa | b289d4a155263136d71ab4f9a6f710fe5324e5d8 | /MapEditor/N3ME/RiverMng.h | e71e65fa654f492a972e2f573411cfaa6b26c0b2 | [
"MIT"
] | permissive | iKlotho/KnightOnline | 1f63f588cb532de89a824407da6dc53f3a38c663 | bd3502e1e826a1b9007629fcb3c07c4f6370eba4 | refs/heads/master | 2022-10-16T21:26:10.842056 | 2020-06-13T11:56:04 | 2020-06-13T11:56:04 | 271,982,708 | 0 | 0 | MIT | 2020-06-13T09:57:25 | 2020-06-13T09:57:25 | null | UHC | C++ | false | false | 3,243 | h | // RiverMng.h: interface for the CRiverMng class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_RIVERMNG_H__3A365AC2_8F3E_4E3A_98B4_953352C11BA3__INCLUDED_)
#define AFX_RIVERMNG_H__3A365AC2_8F3E_4E3A_98B4_953352C11BA3__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _... | [
"info@stephenmeier.net"
] | info@stephenmeier.net |
6f5ab1d00c521d7c049767f0bb71e435103411fe | 3f6396d3d703e35ca7c4e3c13f8cb9eabc0f72fd | /BuzeraTiberiu323CA/subscriber.cpp | 7ec151a8f7d48150522df223f5bc581ac85f0929 | [] | no_license | TibiAlex/TCP-protocol | 221b1c78ff008c528ddc2276ab5c1e45e80bd2f6 | feb72d10d8f4272b0e32ad521262ed56f7227a1c | refs/heads/main | 2023-06-26T03:53:46.431146 | 2021-07-21T17:46:33 | 2021-07-21T17:46:33 | 388,200,047 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,426 | cpp | //Copyright[2021] Buzera_Tiberiu 323CA
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
#include "helpers.h"
using namespace std;
void usage(char *file)
{... | [
"tibi.alex@yahoo.com"
] | tibi.alex@yahoo.com |
e86b916a2c65d823815fcd5e8b845362d42d1675 | 46153c4d0d3457af0f055a0e3218f0ffb9a216e3 | /Codeforces/CF 1266 D.cpp | 68ecdd8fc5e315fd4b2fcdc8c112d8cfb6fae8cb | [] | no_license | iamsaquib2508/Competitive-Programminng | c494e245b88d6e0cc366a331e8adf07f541f5576 | 02ddc436b9b3b8da8aac2544c3047bb4376087dc | refs/heads/master | 2023-05-30T19:59:33.625016 | 2021-07-03T21:28:54 | 2021-07-03T21:28:54 | 274,222,778 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,802 | cpp | #include<bits/stdc++.h>
#define ffr(i,a,b) for(i=a;i<b;i++)
#define ffrr(i,a,b) for(i=a;i<=b;i++)
#define ll long long int
#define pf printf
#define mm(a,b) memset(a,b,sizeof(a))
#define pb push_back
#define MMAX 100003
#define pil pair<int,ll>
#define mp make_pair
using namespace std;
int minn(int a, int b)
{
if... | [
"1505018.mmi@ugrad.cse.buet.ac.bd"
] | 1505018.mmi@ugrad.cse.buet.ac.bd |
38336df1ef81f842970dd6c14ab81ca7a9a045b0 | 1d730265819643e515da22088326c900cfa29e96 | /Processor/machine.h | 265f4472a3ada62dbe6ac1befdac734bde43c78a | [] | no_license | supertanglang/VirtualMachine | 6572d1ce98a50c0e433ee7d866bb6debc5d4d15f | 5ab10e99efcc8c3c6d2b698cf664595544da8894 | refs/heads/master | 2020-05-05T09:52:36.680587 | 2015-11-04T19:09:29 | 2015-11-04T19:09:29 | 45,725,807 | 1 | 0 | null | 2015-11-07T06:43:59 | 2015-11-07T06:43:59 | null | UTF-8 | C++ | false | false | 938 | h | #pragma once
#include "stack.h"
//Version: 1.0
const unsigned char major_version = 1;
const unsigned char minor_version = 0;
const unsigned int signature = ('V'<<24) + ('M' << 16);
const unsigned int header = signature + (major_version << 8) + minor_version;
const unsigned int get_signature = (255 << 24) + (255 <... | [
"kachkov98@gmail.com"
] | kachkov98@gmail.com |
f69d66d689c7e1cb1981b6d56203670ea156f89d | dd778a87163be6eb228463313e1e1ef3d1f28e71 | /include/Pair.h | 71f075e1b02afff8a7003571a2dd6b7b09970875 | [] | no_license | grahameger/EECS398Engine | 95449ce76186c5f539c2daead7dd595b24f54749 | 7a5ac2a0712c7ce8482a7fa746f1ae9bd535327b | refs/heads/master | 2021-11-03T20:01:32.788234 | 2019-04-26T21:28:53 | 2019-04-26T21:28:53 | 167,215,348 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 428 | h | #pragma once
#ifndef PAIR_H_398
#define PAIR_H_398
// Created by Graham Eger on 4/1/2019
// Graham Eger added default constructor
template<typename Type1, typename Type2>
struct Pair {
Type1 first;
Type2 second;
constexpr Pair() = default;
constexpr Pair(const Type1 &a, const Type2 & b) : first(a), se... | [
"eger@umich.edu"
] | eger@umich.edu |
af5b764d7156b9296079957e2917326386480337 | 42d981b9ac42ad12577865115228b3744aad6e6b | /bachelors/year1/semestre2/cpp-archive/Lab 6.old/tree/tree.cpp | e6e478b26d4694022d6e2d90b2c90978083499ca | [] | no_license | Witalia008/university_courses | bcd7683ac3abbfb8f5474c0d114ed01cbc15eab6 | 8bdfb3b5f8ce44680dde530e4eabc28141013bd0 | refs/heads/main | 2023-04-11T11:16:59.444067 | 2021-04-01T01:31:02 | 2021-04-01T01:31:02 | 350,045,497 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,307 | cpp | #include "tree.h"
Tree *create_tree(Node_data val) {
Tree *res = new Tree();
res->data = val;
res->sons = NULL;
res->father = NULL;
return res;
}
Tree *create_tree(Node_data val, Tree *l, Tree *r) {
Tree *res = create_tree(val);
if (l != NULL) {
add_subtree(res, l);
}
if (r... | [
"kojvitalij@gmail.com"
] | kojvitalij@gmail.com |
30718f6e88ca15e6d36b74d99cb8cd7ebcfa9e66 | 06c157e924117983cb63f2e2400979bceccbdfeb | /ChatServer/LogicLib/PacketProcess.h | f0ba3616ca0a073a3663231bfa985a060f25bee0 | [] | no_license | chenqiaoen/Next_myGameServer | b5bd791dec7a35020ea09cf1d6c1e9721b52ece8 | 7ca2edb286aeea7a303e8957c6f0f0b32c4eb278 | refs/heads/master | 2021-01-18T05:43:11.712041 | 2016-09-06T15:24:59 | 2016-09-06T15:24:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,927 | h | #pragma once
#include <memory>
#include "../../Common/Packet.h"
#include "../ServerNetLib/Define.h"
#include "../../Common/ErrorCode.h"
using ERROR_CODE = NCommon::ERROR_CODE;
namespace NServerNetLib
{
class ITcpNetwork;
class ILog;
}
namespace NLogicLib
{
class ConnectedUserManager;
class UserManager;
class ... | [
"scintil89@nhnnext.org"
] | scintil89@nhnnext.org |
c1b27dd6ce918bbcf76ffc5cd896ca8fe087eea5 | fce783289eb4359c43cfa411336c43fca7d449a5 | /toi06_jail.cpp | c06eb030b2eabb9100642eb7f32b9fabc23c319f | [] | no_license | Autoratch/Thailand-Olympiad-in-Informatics | deceffc7707630b865e9e2a8b2e37486b6698d62 | 00efcb5fe3e6397a582713c50e8521d6f3e36626 | refs/heads/master | 2022-06-21T21:34:13.671761 | 2022-06-19T03:51:40 | 2022-06-19T03:51:40 | 123,771,446 | 21 | 12 | null | 2022-06-19T03:51:41 | 2018-03-04T08:45:09 | C++ | UTF-8 | C++ | false | false | 496 | cpp | #include <bits/stdc++.h>
using namespace std;
#define endl '\n'
#define MOD 1e9 + 7
int n,k,fw[1000001],bw[1000001],cur;
int main()
{
ios_base::sync_with_stdio(0); cin.tie(0);
cin >> n >> k;
for(int i = 0;i < n;i++) fw[i] = i+1;
for(int i = 2;i <= n;i++) bw[i] = i-1;
fw[n] = 1; bw[1] = n;
f... | [
"noreply@github.com"
] | Autoratch.noreply@github.com |
b8d159fa53cfb24d7efecec3b9c95d19c2354d18 | bbda5dbb26fa3652307c328698721ff011d32fae | /pat/1/1.cpp | e2e694bffcaf06a4bdf7eff08efac330e67229cb | [] | no_license | JohnnyQAQ/pat | cf590fab1e9a48eb0459676f7ad1524884d0869a | 627e862f85d640c757e81b6942ead4e504518ae0 | refs/heads/master | 2020-04-29T21:51:37.089850 | 2019-04-03T04:57:11 | 2019-04-03T04:57:11 | 176,426,379 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 182 | cpp | #include <cstdio>
#include<iostream>
using namespace std;
int main() {
int a,i=0;
cin>>a;
while(a>1){
a=(a%2==0)?a/2:(3*a+1)/2;
i++;
}
cout<<i<<endl;
return 0;
}
| [
"you@example.com"
] | you@example.com |
4c095b8b07ddb90d684e7f461a4c211bca4c0131 | badda6f66288e05db0f0c94c6e3bb28340780b2d | /src/LOOL_Wifi.h | a15b2eabe020cb91afa11b0dae6077aab13ec659 | [] | no_license | lo0ol/LOOL_Arduino | aca0904cced2f9126e7a28da3d516d583018391c | 3f0de7518e895d84a5a5bfbd1d976cfbf8da1ee2 | refs/heads/master | 2021-01-10T08:15:13.124271 | 2015-11-17T12:49:57 | 2015-11-17T12:49:57 | 46,341,938 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,770 | h | /**
* \par Copyright (C), 2012-2015, MakeBlock
* \class LOOL_Wifi
* \brief Driver for Me wifi device.
* @file LOOL_Wifi.h
* @author MakeBlock
* @version V1.0.0
* @date 2015/09/09
* @brief Header for for LOOL_Wifi.cpp module
*
* \par Copyright
* This software is Copyright (C), 2012-2015, MakeBlock.... | [
"llitaoo@aliyun.com"
] | llitaoo@aliyun.com |
ef59789c0f23971a6c137ead57125496d0004664 | 9ecbc437bd1db137d8f6e83b7b4173eb328f60a9 | /gcc-build/i686-pc-linux-gnu/libjava/java/text/AttributedString.h | eba7b751afdcfd7e1d7f388677eddcbd1741d315 | [] | no_license | giraffe/jrate | 7eabe07e79e7633caae6522e9b78c975e7515fe9 | 764bbf973d1de4e38f93ba9b9c7be566f1541e16 | refs/heads/master | 2021-01-10T18:25:37.819466 | 2013-07-20T12:28:23 | 2013-07-20T12:28:23 | 11,545,290 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,894 | h | // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __java_text_AttributedString__
#define __java_text_AttributedString__
#pragma interface
#include <java/lang/Object.h>
#include <gcj/array.h>
extern "Java"
{
namespace java
{
namespace text
{
class AttributedString;
class ... | [
"giraffe410@126.com"
] | giraffe410@126.com |
32ed4faa677b4aaece00ec8d59b872c872417b51 | 44ab57520bb1a9b48045cb1ee9baee8816b44a5b | /EngineTesting/Code/CoreTools/CoreToolsTesting/HelperSuite/MainFunctionMacroTesting.h | fe420ebdf1977ff232047e828504b21634163db4 | [
"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 | 873 | h | /// Copyright (c) 2010-2023
/// Threading Core Render Engine
///
/// 作者:彭武阳,彭晔恩,彭晔泽
/// 联系作者:94458936@qq.com
///
/// 标准:std:c++20
/// 引擎测试版本:0.9.0.6 (2023/04/11 20:59)
#ifndef CORE_TOOLS_HELPER_SUITE_MAIN_FUNCTION_MACRO_TESTING_H
#define CORE_TOOLS_HELPER_SUITE_MAIN_FUNCTION_MACRO_TESTING_H
#include "CoreTools/UnitTe... | [
"94458936@qq.com"
] | 94458936@qq.com |
669f5f89676dd17f9d282c061c4dc447fcc6e45c | 785df77400157c058a934069298568e47950e40b | /TnbMesh/TnbLib/Aft/Entities/Boundary/Gap/Node/Aft2d_GapNodeTemplate.hxx | de30008f94b0a29607fd873fae02b0c928ea7d9b | [] | no_license | amir5200fx/Tonb | cb108de09bf59c5c7e139435e0be008a888d99d5 | ed679923dc4b2e69b12ffe621fc5a6c8e3652465 | refs/heads/master | 2023-08-31T08:59:00.366903 | 2023-08-31T07:42:24 | 2023-08-31T07:42:24 | 230,028,961 | 9 | 3 | null | 2023-07-20T16:53:31 | 2019-12-25T02:29:32 | C++ | UTF-8 | C++ | false | false | 1,450 | hxx | #pragma once
#ifndef _Aft2d_GapNodeTemplate_Header
#define _Aft2d_GapNodeTemplate_Header
#include <Mesh_BndMergeAlg.hxx>
#include <Pnt2d.hxx>
#include <memory>
namespace tnbLib
{
template<class BndNodeType>
class Aft2d_GapNodeTemplate
: public BndNodeType
{
/*Private Data*/
Standard_Boolean IsFixed_;
p... | [
"aasoleimani86@gmail.com"
] | aasoleimani86@gmail.com |
4631d23fa02fea23d4407ec24d93dee92ada4a8e | b0a31edabc9d4bd939cb853a254892089374ad66 | /CocosStudy/Contents/Extra/12. MiniMap/Classes/HelloWorldScene.h | 27296c3b48d98701ba4bb5f9339621c454dd2ca6 | [
"MIT"
] | permissive | 2302053453/MyStudy | e31201d40cc701c9cc4692b60f132fec3e4bf91a | 229c431c0ef4ab40b52d37729b049c69de959166 | refs/heads/master | 2021-06-04T05:33:52.733762 | 2016-05-06T01:54:28 | 2016-05-06T01:54:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 566 | h | #ifndef __HELLOWORLD_SCENE_H__
#define __HELLOWORLD_SCENE_H__
#include "cocos2d.h"
USING_NS_CC;
class HelloWorld : public cocos2d::LayerColor
{
public:
static cocos2d::Scene* createScene();
virtual bool init();
// a selector callback
void menuCloseCallback(cocos2d::Ref* pSender);
// i... | [
"jhghdi@gmail.con"
] | jhghdi@gmail.con |
8369154a4580cf8a8179245295ce21261182bfc8 | 7b8db54f68c30c3e41324e4e80ce6f2b743be65d | /Codeforces/Problem A/A_Buy_the_String.cpp | 525c86972f3d9b3c54fd3e45cd9f85e9789aa99f | [
"MIT"
] | permissive | pradeexsu/Competitive_Programming-And-DSA | 3e494115b83fe0acbbdf6ddc9c6017b13aa87de4 | 761c08cec1a75e19ec773384da3b3f2b52cb2b0a | refs/heads/master | 2023-05-25T17:49:55.379543 | 2021-01-04T07:56:20 | 2021-01-04T07:56:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 705 | cpp | #include <bits/stdc++.h>
using namespace std;
#define ll long long int
int main()
{
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int t;
cin>>t;
while(t--)
{
int n,c0,c1,h;
int res=0;
int zero=0;
int ones=0;
cin>>n>>c0>>c1>>h;
string s;
... | [
"noreply@github.com"
] | pradeexsu.noreply@github.com |
8ba7d18ccdbf143af2c275a47b72b782606a31f9 | 786de89be635eb21295070a6a3452f3a7fe6712c | /O2OTranslator/tags/V00-05-02/include/DgramReader.h | 024fbb0302657271a9f0a88fffaf34919a162466 | [] | no_license | connectthefuture/psdmrepo | 85267cfe8d54564f99e17035efe931077c8f7a37 | f32870a987a7493e7bf0f0a5c1712a5a030ef199 | refs/heads/master | 2021-01-13T03:26:35.494026 | 2015-09-03T22:22:11 | 2015-09-03T22:22:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,847 | h | #ifndef O2OTRANSLATOR_DGRAMREADER_H
#define O2OTRANSLATOR_DGRAMREADER_H
//--------------------------------------------------------------------------
// File and Version Information:
// $Id$
//
// Description:
// Class DgramReader.
//
//------------------------------------------------------------------------
//------... | [
"salnikov@b967ad99-d558-0410-b138-e0f6c56caec7"
] | salnikov@b967ad99-d558-0410-b138-e0f6c56caec7 |
a956b6bcc4a92458e8c1527fc762374f384b43b6 | 0d884f204587f1300a2493a8fdcb7cdcc647c86c | /ipc/chromium/src/chrome/common/child_process_info.cc | 6653299fef6a25f1553c541ec9c380fa76b8d797 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | roytam1/fx-vc2013 | 03afaec8d40dec9090e4ac1b23edc8d4b52f92f7 | 06ab1ad6d4b04c56489698f8203e3e9f0f209fe8 | refs/heads/master | 2023-08-08T15:25:52.766557 | 2019-02-25T14:44:08 | 2019-02-25T14:44:08 | 137,986,562 | 1 | 0 | NOASSERTION | 2023-07-27T01:26:17 | 2018-06-20T05:58:16 | null | UTF-8 | C++ | false | false | 1,302 | cc | /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
// Copyright (c) 2009 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/common/child... | [
"roytam@gmail.com"
] | roytam@gmail.com |
fc0354a0a3973075f6722cc1ad635becdabda21b | 7797740f06f9e6d6729fd49697d8917e28c172d1 | /lite/kernels/cuda/sequence_unpad_compute.h | 6b077a4dcbd91eb8f9a9e2cb1340088434f117aa | [
"Apache-2.0"
] | permissive | AnBaolei1984/Paddle-Lite | 508f567f27403dabd097c69f3cc4cc239d3fe933 | db4bd998d5fdabddbcf0eb28951787eb008eeb19 | refs/heads/develop | 2021-11-21T12:18:38.346264 | 2021-01-28T02:57:01 | 2021-01-28T02:57:01 | 333,635,248 | 2 | 1 | Apache-2.0 | 2021-07-27T02:52:39 | 2021-01-28T03:33:20 | null | UTF-8 | C++ | false | false | 1,203 | h | // Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required... | [
"noreply@github.com"
] | AnBaolei1984.noreply@github.com |
67fea9dee7cdd4d3cec814036ae195fa6b86584c | fc13d0f7b2d662e4d41303e78359b7794870b6d5 | /Hacks/speedindicator.h | 5036ce7d4bdb7d648afc44c58006f5ca894cb5e7 | [
"MIT"
] | permissive | fengjixuchui/X-HOOK-For-CSGO | 24d6c583abfbe5d00d9e530c6a3aaa020d689fb4 | 080e21e4ba8adfe06880937dbb809251147e6f8f | refs/heads/master | 2023-03-23T14:24:51.153999 | 2022-08-25T12:29:02 | 2022-08-25T12:29:02 | 187,037,875 | 0 | 0 | MIT | 2020-10-13T03:22:05 | 2019-05-16T13:53:21 | C | UTF-8 | C++ | false | false | 188 | h | #pragma once
namespace SpeedIndicator {
//Hooks
void Paint();
void RenderView(void* thisptr, CViewSetup& setup, CViewSetup& hudViewSetup, unsigned int nClearFlags, int whatToDraw);
} | [
"noreply@github.com"
] | fengjixuchui.noreply@github.com |
9bcae0a7d052973dc5a661ed4d940afffeafaba5 | 972f80f494952811577b589d753bb011c2f40df2 | /leetcode/editor/cn/[20]valid-parentheses.cpp | a944288125a6bc3235c4b486763bb5919f3b8b08 | [] | no_license | fireice1988/MyLeetCode | 62613cce67c779bb8e20fee61e3c355cc195dc4f | d4e90135d0159ff948da99723f801b3f834d75e8 | refs/heads/master | 2021-01-01T09:55:49.974757 | 2020-03-05T14:40:24 | 2020-03-05T14:40:24 | 239,227,745 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,770 | cpp | //Given a string containing just the characters '(', ')', '{', '}', '[' and ']',
// determine if the input string is valid.
//
// An input string is valid if:
//
//
// Open brackets must be closed by the same type of brackets.
// Open brackets must be closed in the correct order.
//
//
// Note that an empty strin... | [
"fireicezongzi@163.com"
] | fireicezongzi@163.com |
2ac0638a1f56a41b2c31107a083458f453100331 | 8c9382a1643e1687727e25a34c0aaee49e50b8c9 | /cppreference/algorithm/search.cpp | 770db1d0c0834031af661a858b758441d61ee4fb | [] | no_license | LambdaRan/book | 6b7aa6b80bdb7e6fe507cd53ad513b76ce572ebf | dc68c3cfe05934b02d83dc8193918b743f9ca0f9 | refs/heads/master | 2021-05-26T08:00:13.489979 | 2020-10-26T13:37:53 | 2020-10-26T13:37:53 | 127,987,464 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,084 | cpp |
http://en.cppreference.com/w/cpp/algorithm/search
std::search
定义于头文件 <algorithm>
(1)
template< class ForwardIt1, class ForwardIt2 >
ForwardIt1 search( ForwardIt1 first, ForwardIt1 last,
ForwardIt2 s_first, ForwardIt2 s_last );
template< class ForwardIt1, class ForwardIt2 >
cons... | [
"2861429309@qq.com"
] | 2861429309@qq.com |
d4824c03a8f0a8af8f358fa79705a4c3124fed7e | f3089c137b3041609cc3ccedd9ccfbcfe57af093 | /include/enumerate.hh | 7cbf9df3488a84f3466c8616edafb5d89abb24ab | [] | no_license | ivankp/ivanplib | 7772776325130e04222479ebc5c9439370a9b07f | e57cc7927d38d3bec2fc54f316e333196317c050 | refs/heads/master | 2021-05-24T04:16:32.564120 | 2020-06-11T20:39:37 | 2020-06-11T20:39:37 | 64,624,614 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 684 | hh | #ifndef IVANP_ENUMERATE_HH
#define IVANP_ENUMERATE_HH
template <typename I, typename T>
class enumerated {
decltype(std::begin(std::declval<T>())) it;
decltype(std::end(std::declval<T>())) _end;
I i;
public:
enumerated(T& x): it(std::begin(x)), _end(std::end(x)), i(0) { }
const enumerated& begin() const { r... | [
"ivan.pogrebnyak@gmail.com"
] | ivan.pogrebnyak@gmail.com |
39dffb429e9da961e8b3bbed7f61da9022896460 | 0db10f9d35a9cea4165ffbe62cf7f19cae252056 | /src/util/const-integer-set.h | 2f6aa1f0073b4c4a33f05bc3a955e7d1d09b873a | [
"Apache-2.0",
"LicenseRef-scancode-public-domain"
] | permissive | nichongjia/kaldi | 4da4b985f8fe3b484d60d8929d4b9046f8174372 | c7a2331e593da84ad43d13f902b8c6971a1f5bb1 | refs/heads/master | 2021-01-17T16:08:46.590348 | 2017-07-21T07:09:48 | 2017-07-21T07:09:48 | 72,055,985 | 1 | 0 | null | 2016-10-27T00:23:45 | 2016-10-27T00:23:45 | null | UTF-8 | C++ | false | false | 3,072 | h | // util/const-integer-set.h
// Copyright 2009-2011 Microsoft Corporation
// See ../../COPYING for clarification regarding multiple authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of t... | [
"nicj@i2r.a-star.edu.sg"
] | nicj@i2r.a-star.edu.sg |
15df2b4dfd806ae8e2c4f5eac675cf30e10e0ca5 | 770718eaaa68c772c22613b5c745c1eff85f7c1a | /bai4/bai4_2016.cpp | 3e7d84c8fb3df990f827857fbe0e42e51ce25b94 | [] | no_license | duongptit14/GiaiNganHangCTDLGT | f77a280d753f89f139a581af4c8866b1eaca46e2 | b5461e1a212e7e3bd84d86e15f83ba37ad8ac842 | refs/heads/master | 2021-01-10T12:26:36.944302 | 2017-12-28T07:11:36 | 2017-12-28T07:11:36 | 55,380,105 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,209 | cpp | #include <iostream>
using namespace std;
struct Node {
int value;
Node* next;
Node* prev;
};
class DouList {
public:
Node *list;
void init() {
list = NULL;
}
Node* createNode(int value) {
Node *tmp = new Node();
tmp->value = value;
tmp->next = NULL;
tmp->prev = NULL;
re... | [
"duongpv@PVDptit.net.fpt"
] | duongpv@PVDptit.net.fpt |
21460bbb480f1b5a5b73757c46dcbd6e23d9f0ae | 0b791f7cddb05d576bd566afc1db8bbda7714e42 | /SDK/include/OGRE/Plugins/OctreeSceneManager/OgreOctreeNode.h | 7026bb8e47a343b60b5c65b58ab86b49dce889e7 | [] | no_license | widVE/FionaOgre | 2c046a170c494c567659f9a6930254b43aa565ca | 8b7ca341c21065b019288510fa965b3c3e2ab275 | refs/heads/master | 2020-06-28T00:22:25.639777 | 2020-06-24T12:01:00 | 2020-06-24T12:01:00 | 200,090,803 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,662 | h | /*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2000-2013 Torus Knot Software Ltd
Permission is hereby granted, free of charge, to any per... | [
"kalimi@wisc.edu"
] | kalimi@wisc.edu |
f37e6d3c87d1d5e3eb61711ba006bf67cf146948 | f1381bc54048e5a5d207e298e351527550bdcac5 | /PoolAllocator/AllocationEngine.h | 179bfb90fa57253f37780efeba876ed30dc116ab | [] | no_license | stack-overflow/pool-allocator | 56ba789fc61762e11b6bbf87d2b31cf34cc09748 | 6f7931ac04c625abbc71353173847645de8a0b6a | refs/heads/master | 2020-05-20T10:59:17.308405 | 2014-04-21T22:56:01 | 2014-04-21T22:56:01 | 10,868,853 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 380 | h | #include <list>
#include <algorithm>
#include "MemoryPool.h"
class AllocationEngine
{
public:
AllocationEngine(int _num_blocks, int _block_size);
~AllocationEngine();
void *allocate();
void deallocate(void *p);
void clear();
size_t get_pool_size() const;
private:
std::list<MemoryPoo... | [
"uberthrash@gmail.com"
] | uberthrash@gmail.com |
25903573196d90922f227f013dfa5bfbccd5809e | c9042e58d645d1c7c713eca459d824ab001d4032 | /tests/common.cpp | b9e2f4395e0ecc5362dfb89445af5117212f368b | [
"Apache-2.0"
] | permissive | Algomorph/LevelSetFusion-CPP | 514a47320dffb2ab9abfb40eb25ed4e2ca9fe56f | f56962f0ad5c62e6706f818062782a2e1660afda | refs/heads/master | 2020-04-09T19:25:18.308999 | 2019-06-06T19:50:42 | 2019-06-06T19:50:42 | 160,543,016 | 11 | 2 | Apache-2.0 | 2019-06-06T19:50:44 | 2018-12-05T15:59:14 | C++ | UTF-8 | C++ | false | false | 1,152 | cpp | /*
* common.cpp
*
* Created on: Mar 26, 2019
* Author: Gregory Kramida
* Copyright: 2019 Gregory Kramida
*
* 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://... | [
"algomorph@gmail.com"
] | algomorph@gmail.com |
29a3be7561f1ca1369c10db53579528ebd6d6715 | b7ec8c7e67459f9c46f1659a17bd573e8107722a | /Carro/Carro.h | 936e8ccb14ba736fd46b90c3b54a6d14b9dde0e6 | [
"MIT"
] | permissive | wictorChaves/Carrinho | 6fa9e2739e15b406116baabc91542c0e0856870f | 4430a31b751069bb116419fb02fff3ebb99a8904 | refs/heads/master | 2020-03-30T14:55:25.013317 | 2019-06-17T12:58:51 | 2019-06-17T12:58:51 | 151,341,353 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 549 | h | /*
* Carro.h
*
* Created on: 19 de jun de 2017
* Author: Wictor
*/
#include "Arduino.h"
#include <AFMotor.h>
#ifndef CARRO_H_
#define CARRO_H_
class Carro {
public:
Carro();
void setVelocidade(int velocidade);
void setVelocidadeDireita(int velocidade);
void setVelocidadeEsquerda(int velocidade);
void v... | [
"wictor@hotmail.com.br"
] | wictor@hotmail.com.br |
89a59a6aa538a55bc46ffa688c6a68d9a9331731 | 21d39027b38b6fb877384a4af0ea4334eb5d3b65 | /src/rpc.h | bdb903b61f67b76b47662aa5951aba9423b4eb9c | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | kozyilmaz/zec-qt-wallet | dd7b5996b124eedd8ed454f6b21e395ddfcbf6bd | 3e596777b5831d0a46cafe1686508c81f9a2849d | refs/heads/master | 2020-04-02T21:14:32.510564 | 2018-10-25T16:47:24 | 2018-10-25T16:47:24 | 154,792,095 | 0 | 0 | MIT | 2018-10-26T07:07:31 | 2018-10-26T07:07:30 | null | UTF-8 | C++ | false | false | 3,504 | h | #ifndef RPCCLIENT_H
#define RPCCLIENT_H
#include "precompiled.h"
#include "unspentoutput.h"
#include "balancestablemodel.h"
#include "txtablemodel.h"
#include "ui_mainwindow.h"
#include "mainwindow.h"
using json = nlohmann::json;
struct TransactionItem {
QString type;
unsigned long datetime;
... | [
"adityapk@gmail.com"
] | adityapk@gmail.com |
51632d2ced7e52325bc86ded005079946e141fad | e5fe61372a529a8c842df5de740f7c8531803ddc | /app/src/main/cpp/platform/system/core/init/service.cpp | 9ba0272a39f3ec66c35b51f13250a3e05fdfa3fd | [] | no_license | kalman2linus/AOSP-Analysis | 91cdb9b0a95a5d88665a7f011d2675fc66d6fc26 | f0882cab4362e23c2fa38edfdf40348e1b9037cd | refs/heads/master | 2021-04-09T13:21:52.239931 | 2018-03-14T17:40:15 | 2018-03-14T17:40:15 | 125,320,251 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 36,753 | cpp | /*
* Copyright (C) 2015 The Android Open Source Project
*
* 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 app... | [
"foxleezh@gmail.com"
] | foxleezh@gmail.com |
7a69ddc947af63170295306339dfe2a0a0e7c227 | e240aa0a415e19c12db6a00c3364d07510b09fbc | /ChessVisualizer/ChessGame.h | 230c8298c36344db661582690daf7fbabb939e20 | [
"MIT"
] | permissive | nErumin/Interactive_Chess | a848a88c0855236433817521f3851dc9c21100b1 | 8b7769febb5bf94e8099257785dff8997d9c3dec | refs/heads/master | 2022-05-27T08:20:41.087390 | 2019-09-11T12:20:34 | 2019-09-11T12:20:34 | 174,901,634 | 3 | 0 | MIT | 2019-09-19T00:19:53 | 2019-03-11T01:05:26 | C++ | UTF-8 | C++ | false | false | 1,125 | h | #ifndef CHESSGAME_H
#define CHESSGAME_H
#include <vector>
#include "Board.h"
#include "Player.h"
#include "Observer.h"
#include "Observable.h"
#include "PieceColor.h"
#include "GameResult.h"
#include <memory>
class Cell;
struct Vector2;
class ChessGame : public Observable<Player&, Player&>
{
public:
ChessGame()... | [
"nerumin90@gmail.com"
] | nerumin90@gmail.com |
2702ac1391d28c741e2c41734d575c464c751ee6 | a73eafee2bbc6c5988f19f830083c1ccb3ee41b2 | /src/Unit.cpp | 27d0698247266b5642e4420169a8054de6095842 | [] | no_license | iNiSiRe/firmware | 8177ccc68c8911fa0271fe7087105c3c423e2438 | eccbb9d577a107776e16a6de42341090b8f81923 | refs/heads/master | 2021-07-22T04:55:49.751540 | 2017-10-27T17:01:09 | 2017-10-27T17:01:09 | 48,797,913 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 42 | cpp | #include "Unit.h"
void Unit::loop() {
}
| [
"inisire@gmail.com"
] | inisire@gmail.com |
f872a1da6d5628e26eeb83f4e27254b1b47cc79a | 1d04a44976a0d0effd12b9f1bc18db7bc4c8f96d | /be/src/kudu/util/os-util.h | a5f80f76b884e70ecca2b04da10b39bb4ffd7bb9 | [
"OpenSSL",
"Apache-2.0",
"BSD-3-Clause",
"dtoa",
"MIT",
"PSF-2.0",
"LicenseRef-scancode-mit-modification-obligations",
"bzip2-1.0.6",
"LicenseRef-scancode-unknown-license-reference",
"Minpack",
"BSL-1.0",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"LicenseRef-scancode-openssl",
... | permissive | Pandinosaurus/Impala | d2d189e9efd93196d4fac36f91e926cca041f023 | 7dd2c8100f6d810bde13a0c9f8fb8449344cdcef | refs/heads/cdh5-trunk | 2023-03-13T00:09:43.104849 | 2019-07-25T00:12:06 | 2019-08-14T21:51:53 | 149,855,108 | 1 | 0 | Apache-2.0 | 2019-08-15T22:47:12 | 2018-09-22T07:24:05 | C++ | UTF-8 | C++ | false | false | 2,373 | h | // Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may... | [
"jenkins@cloudera.com"
] | jenkins@cloudera.com |
646de276c2b3544f9398128f3dbdecc4f60a9ea5 | 1bc37a26e07f449ba9dca257978ce7fd98cae28b | /mm3dDll/mm3dViewer/SetHomerOperator.h | 8979e41c014bda906ce0ebabd7440bc873af694d | [] | no_license | gisdevelope/MapMatrix3D1.2 | 0c34384d010cf0ad27dd43a5a4567dbe0fd66fe8 | 05d0284b7b7f4f9dfd5aab0dc23f99ed5293ae70 | refs/heads/master | 2023-03-16T13:08:08.489620 | 2018-04-09T09:43:09 | 2018-04-09T09:43:09 | 151,419,514 | 0 | 0 | null | 2018-10-25T07:56:08 | 2018-10-03T13:45:14 | C++ | GB18030 | C++ | false | false | 713 | h | #pragma once
#include "NodeOperator.h"
#include <osgGA/TerrainManipulator>
namespace mm3dView
{
class COsgModel;
/**
* @brief CSetHomerOperator 操作设置回家的操作
*/
class CSetHomerOperator : public NodeOperator
{
public:
CSetHomerOperator(osg::ref_ptr<osgGA::TerrainManipulator> terrain, COsgModel* osgbModel);
vir... | [
"chenjinjing1943@qq.com"
] | chenjinjing1943@qq.com |
919806d077a7dda2357a0dff038adb7b00025931 | c39bb376001e9bc56fef76daa866554513d521a8 | /include/Decorator.h | 3df55c1a15cbb0d46140828db5ab50eff9f5fa05 | [] | no_license | Pshimaf/Game_for_Technology_of_Programming | 5b0b9f3d99af47bba466ce50fe51c20166c4b233 | 95302f986b7af96d0afddbbb0eb78462c93e4f31 | refs/heads/master | 2023-04-22T18:00:45.904597 | 2021-05-03T09:24:16 | 2021-05-03T09:24:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,132 | h | //
// Created by pshimaf on 02.05.2021.
//
#ifndef MAIN_CPP_DECORATOR_H
#define MAIN_CPP_DECORATOR_H
#include <iostream>
#include <memory>
class IDrawer {
public:
virtual std::string Out() const = 0;
};
class Drawer: public IDrawer {
private:
std::string str_;
public:
Drawer(std::string new_str);
... | [
"naniz.pa@phystech.edu"
] | naniz.pa@phystech.edu |
886425a3c089e1121262ba76510d208d9583015b | bbbe965a438857d881ee7f24cee14a53d5880d3b | /PuzzleModern/GeneralSettingsFlyout.xaml.cpp | 44a04cc50dbf30419f9cb8943037a7a5dc3fda11 | [
"MIT"
] | permissive | x-sheep/puzzles | 286f4493fc8ad5e3c36152ed5c8c2746b8165c65 | b1a97ef717ce2ffe8c41dc1b5b1b80984e6c535a | refs/heads/master | 2023-08-07T15:28:17.269678 | 2023-07-29T14:23:00 | 2023-07-29T14:34:27 | 86,904,509 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,487 | cpp | //
// GeneralSettingsFlyout.xaml.cpp
// Implementation of the GeneralSettingsFlyout class
//
#include "pch.h"
#include "GeneralSettingsFlyout.xaml.h"
using namespace PuzzleModern;
using namespace Platform;
using namespace Windows::Foundation;
using namespace Windows::Foundation::Collections;
using namespace Windows... | [
"x-sheep@users.noreply.github.com"
] | x-sheep@users.noreply.github.com |
80c0f4512e52b21f70a77b6d82cf34ebaa03f1ae | a57910728f0cc6f70c3349f24438d46566b23032 | /Temp/il2cppOutput/il2cppOutput/Bulk_mscorlib_7.cpp | b4f8cb1df60bea58f401e3ee71c044913a31e55f | [] | no_license | MatthewHallberg/AR_Mirror | a996963647239a7d0d268e1d450a2e37771a3d87 | f87e9b499b85cccf96ac1a722b1b6620b6851099 | refs/heads/master | 2020-03-24T12:40:39.954991 | 2018-07-29T01:15:34 | 2018-07-29T01:15:34 | 142,721,187 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,998,700 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include <stdint.h>
#include "il2cpp-class-internals.h"
#include "codegen/il2cpp-codegen.h"
#include "i... | [
"matthewhallberg@gmail.com"
] | matthewhallberg@gmail.com |
af952c16e1f0a0de0441d6000e0eaec19fcd1ddc | d488787bc6d38f5a8b9e168337c9132a58200546 | /renderdoc/os/posix/linux/linux_stringio.cpp | 412e91730d41413f1c74e5a57e9b8b0882bb50d0 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | marco-we/renderdoc | 5db393732a0356c925af6f36da46a29b92ca435d | fa232b7f14a7864a8f730ce490f7a26fe2ad9aa2 | refs/heads/v1.x | 2020-09-05T07:48:04.678422 | 2019-11-06T06:14:30 | 2019-11-06T09:10:51 | 220,029,354 | 0 | 0 | MIT | 2019-11-06T15:30:23 | 2019-11-06T15:30:23 | null | UTF-8 | C++ | false | false | 21,378 | cpp | /******************************************************************************
* The MIT License (MIT)
*
* Copyright (c) 2016-2019 Baldur Karlsson
*
* 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... | [
"baldurk@baldurk.org"
] | baldurk@baldurk.org |
8d7855e9016cc20e87b5c08e6f84327f18e6adb0 | 75a048c1e98d128ee68918d63fe2d7e9d78144ec | /JuceLibraryCode/JuceHeader.h | 62e0bceeb1fc831c4b76b6db11a6d836798d692d | [] | no_license | wildsurmisemusic/torann | 7c687bf731e1531eafe0a2733fb89a67bb1e28fa | db7ee7e31639c02c84688d1dd94417ec82fd7fa8 | refs/heads/master | 2020-08-16T11:09:32.993081 | 2019-10-16T21:17:44 | 2019-10-16T21:17:44 | 215,494,789 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,665 | h | /*
IMPORTANT! This file is auto-generated each time you save your
project - if you alter its contents, your changes may be overwritten!
This is the header file that your files should include in order to get all the
JUCE library headers. You should avoid including the JUCE headers directly in
... | [
"powerth@tcd.ie"
] | powerth@tcd.ie |
59446272e4b1c63dce3985256dd7830f0aa8a337 | 3bb3a2fd51233cd5aae60ac387334360a6431eb7 | /calico/src/trainer/error.cpp | b5e57b57589c8e4897338a868c3162a3d56fa6a9 | [] | no_license | yihualou/catnip | 73c3803a9ea2aae5187a3409061b98563555ae6b | 8d5d363ffd05ace4d06d253cd3816423df3749f3 | refs/heads/master | 2022-12-10T08:08:22.146202 | 2013-05-09T00:37:42 | 2013-05-09T00:37:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 847 | cpp | #include "error.h"
namespace catnip {
std::map<cl_context, bool> ErrorProgram::init_done;
void RmsErrorFunction::evaluate(
const viennacl::vector<float>& predicted,
const viennacl::vector<float>& actual,
viennacl::vector<float>& error) {
viennacl::ocl::program& prog = viennacl::ocl::curr... | [
"yihualou92@gmail.com"
] | yihualou92@gmail.com |
2a14f411e20b5b64fb67519800d8c048b79736a7 | c3a0d8cc1e386717dffd93d0eb58bec752e26b0a | /test690-sqlite_orm/sqlite_sbuffer.hpp | 5cd38b0f442de2fbd5357c2f9755a44816e84121 | [] | no_license | matthiaswh/bit4 | 0ce0e385d889a30620426bc60aa47de0ecef21de | 0633d7357d157b5f47c70091dc676dc2e06c1ae1 | refs/heads/master | 2022-11-10T07:44:28.706805 | 2020-06-21T13:12:26 | 2020-06-21T13:12:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 612 | hpp | #ifndef SQLITE_SBUFFER_HPP
#define SQLITE_SBUFFER_HPP
#include <msgpack.hpp>
#include <sqlite_orm.h>
namespace sqlite_orm
{
template<>
struct type_printer<msgpack::sbuffer> : public blob_printer
{
};
template<>
struct statement_binder<msgpack::sbuffer>
{
int bind(sqlite3_stmt* st... | [
"snsinfu@gmail.com"
] | snsinfu@gmail.com |
2c7d21c13301ec10c71f0c96e907b6d09ee18d50 | fd59f72c0217e50ea7bbe4c33712354f42f984c4 | /Love Babbar/Arrays/Smallest length subarray with sum greater than x.cpp | dd446f0042375a616c9f23d30cf46a737cdb2d14 | [] | no_license | Celestial-bot/DSA-1 | e77e6209b599bd3d1cc589242417dcc07b14a546 | a9873e131ce0dcc83911e50ce1bc6587f6fd793a | refs/heads/main | 2023-08-03T00:34:22.057710 | 2021-10-02T06:30:36 | 2021-10-02T06:30:36 | 412,711,167 | 0 | 0 | null | 2021-10-02T06:28:37 | 2021-10-02T06:28:37 | null | UTF-8 | C++ | false | false | 358 | cpp | int sb(int arr[], int n, int x)
{
// Your code goes here
int sum = 0, start = 0, end = 0, ans = n;
while(end < n) {
while(sum <= x and end < n) {
sum += arr[end++];
}
while(sum > x and start < end) {
sum -= arr[start++];
}
ans = min(ans, end... | [
"37958393+TheCelestial25@users.noreply.github.com"
] | 37958393+TheCelestial25@users.noreply.github.com |
d8578ffb7c583238b4d254e8e28cf9679625d35b | c6e95dedb886fcfe0a6c69f914b035885a39e5e9 | /LC0104_MaximumDepthofBinaryTree.cpp | dbd0132e434f46be4c71f57e5a742285091d4460 | [] | no_license | hh00ff/My-LeetCode-solutions | 5c5557b308de07b395b38adbfe71d488ffa51d89 | f78dd40b36f8c7b1456283183ba1a865be867d91 | refs/heads/master | 2021-08-17T21:55:51.017395 | 2021-08-16T20:43:01 | 2021-08-16T20:43:01 | 180,944,651 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 421 | cpp | //
// Created by hfq on 10/2/19.
//
#include <iostream>
#include <algorithm>
struct TreeNode {
int val;
TreeNode *left;
TreeNode *right;
TreeNode(int x) : val(x), left(NULL), right(NULL) {}
};
class Solution {
public:
int maxDepth(TreeNode* root) {
if(root == nullptr) {
return ... | [
"hufengqing123@gmail.com"
] | hufengqing123@gmail.com |
f8ef3ba06f7649468b8bd65fc4b90c32526513b9 | caf6a8ac778eeb3183a7a35523044a5905519b76 | /3rdparty/nvparse/src/tools/nvparse/vs1.0_inst_list.cpp | 4da47d31f5180d8c32346733ec23462f58e6578f | [] | no_license | odasm/coh-original-server-vs2010 | ec8ddd227d6d99e08e562b2c0b08df20e06eb02c | 479e4baccd5b2688c216674492c4b87e4562595c | refs/heads/master | 2020-05-16T07:21:09.364167 | 2019-04-22T03:21:57 | 2019-04-22T03:21:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,132 | cpp | #include "vs1.0_inst_list.h"
#include <malloc.h>
#include <stdio.h>
#include <string>
#include "nvparse_errors.h"
#include "nvparse_externs.h"
#include <string.h>
#define GLEW_STATIC
#include <GL/glew.h>
#include <GL/glu.h>
using namespace std;
extern string vs10_transstring;
#define MAX_NUM_INSTRUCTI... | [
"Woovie"
] | Woovie |
39ac4f0d33f667735b79d7e953f241cb223dbe6a | 86b4a4d19b1069ee9ea7bb1d819362f0035599dc | /Clasa_11/celmaimicnr/main.cpp | 7e6d6079dd7f41c857e7eef0d7a7eba802d806a3 | [] | no_license | SilviuCristian45/Probleme-Info-11G | c5709e33def27bf004a84b1bfd57a99b5bfbcb94 | 347f933c13e27c1d49008e966f42ec1e6fda950f | refs/heads/master | 2022-01-08T06:01:45.860570 | 2019-05-15T04:36:18 | 2019-05-15T04:36:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 520 | cpp | int cmmnr(int n)
{
int v[10], i;
for(i = 0; i <= 9; i++)
{
v[i] = 0;
}
while(n)
{
v[n % 10]++;
n /= 10;
}
i = 1;
while(i <= 9)
{
if(v[i] != 0)
break;
i++;
}
int sol = 0;
sol = sol * 10 + i;
v[i]--;
while(v[0] != 0)
... | [
"matei.gardus@gmail.com"
] | matei.gardus@gmail.com |
dd1fa58d1756fd7e2a8e5874d3cf5a035c595db4 | 80df18024baf47e96a0d5c1abe8c6486d7cf603f | /src/rbutton.cpp | ae0b99b6cfd9b022d3f767aab7292dfc252a728c | [
"MIT"
] | permissive | vo4chik/qMineSeek | ee0bf6869868be18a6940a192b4fe412197c62dd | 3ceafc48598f9efcdc9c9b53c6ba47850daa7ff4 | refs/heads/master | 2020-03-27T01:25:52.261164 | 2018-08-22T13:10:39 | 2018-08-22T13:10:39 | 145,709,882 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 83 | cpp | #include "rbutton.h"
RButton::RButton(QWidget *parent)
: QPushButton(parent)
{ }
| [
"vo4chik@gmail.com"
] | vo4chik@gmail.com |
f319d2491853e762083ceb1fb7ad574696c9eaa8 | 5367d2d8b78c89f8511b2b7415f061c9703b4140 | /DShw3_FILELIST/ds hw3(用array)/main.cpp | 9eefc6de93f4ce4e3af54db81fc6284d64cb2b84 | [] | no_license | fantasteecs/Data_Structures | 93a500d38c775e1677b4f0fc8a1c17a51c24776d | 6875e6333a889ef96c0adabdafbea73587678d14 | refs/heads/master | 2020-05-25T19:17:23.088862 | 2017-03-14T14:25:41 | 2017-03-14T14:25:41 | 84,957,506 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,424 | cpp | //
// main.cpp
// DS_hw3_Tree
//
// Created by lin shih-feng on 9/12/14.
// Copyright (c) 2014 lin shih-feng. All rights reserved.
//
#include <iostream>
#include "fileHandler.h"
#include <ctime>
using namespace::std;
FILE_HANDLER handler;
int main(int argc, const char * argv[])
{ int j=1;
cout<<"DS HW3 Fi... | [
"eric50278@yahoo.com.tw"
] | eric50278@yahoo.com.tw |
78df795f01d5bb3573dca9540408451606c2c8f2 | 4319eae5588b20f7285de5306165ef97d60623ff | /Sound1.ino | 38ba650aad8ac459a3ce23d65e4c6c2aae78ad9a | [] | no_license | lambers2/Group-Project | 47a777482f0b800ca28c48eebe2d8e17c1e35709 | 47eb0429a1b7c7f1b7fa4bd408eaf174c4e36c8b | refs/heads/master | 2021-01-20T13:35:55.926039 | 2017-03-17T02:36:57 | 2017-03-17T02:36:57 | 90,504,740 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,221 | ino | #define rpin 5
#define gpin 6
#define bpin 3
#define DIGITSENSOR 13
int sensorValue = 0;
int sensorMin = 1023;
int sensorMax = 0;
void setup(){
Serial.begin(9600); //For debugging
pinMode(rpin, OUTPUT);
pinMode(gpin, OUTPUT);
pinMode(bpin, OUTPUT);
pinMode (DIGITSENSOR, INPUT);
pinMode(A... | [
"noreply@github.com"
] | lambers2.noreply@github.com |
703546af92f29754704ce806c0c4c7200a96358a | 0505be552159cb8a4cf98441095e613d191cb078 | /src/primitives/transaction.cpp | 5afd67cea3e5fec7cab03bdfa3eaa434051ded60 | [
"MIT"
] | permissive | betfintofficial/Betfint | 16aeb1d54046f15af05670940c672d4065d83ef3 | dbaf3e5590b949bd26eef91ac4d4c6950a06d64e | refs/heads/master | 2020-04-18T08:03:53.284207 | 2019-02-11T08:55:05 | 2019-02-11T08:55:05 | 167,382,902 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,757 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2015-2018 The PIVX developers
// Copyright (c) 2018 The Betfint developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.... | [
"Emna.Sellami@sqoin.us"
] | Emna.Sellami@sqoin.us |
3d8fb2dafcdbcfe051ad2a0ae798f2dfef4487eb | 3f3d8421214065cc97639110c4be67cf1c48e504 | /src/harvester_lib/code_record.h | 1151025044294779ecf0581172e5273292ef0a51 | [
"BSD-2-Clause"
] | permissive | TolonUK/codeswamp | 7ce073205f133643432e79560c417ecdf2040d7c | 1b7beb343275447a9a2bf3d4e953c0fe546f97bd | refs/heads/master | 2021-01-02T09:26:02.669995 | 2014-10-14T21:23:17 | 2014-10-14T21:23:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,160 | h | /*
Codeswamp is copyright (c) 2013, Alex Paterson (alex@tolon.co.uk).
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... | [
"alex@tolon.co.uk"
] | alex@tolon.co.uk |
b5d8adc9666bf562d3ee63a8391ca9fea89abf4e | d8f5bfee3f54d2d003575323c0ef305653fe77a2 | /tools/impl/idpatch.cpp | be5e212c8932e971ddbb054f86468380f9b39569 | [] | no_license | aspotashev/stupid-ids | c8ab7abe546a95fd79637c6ba94e6393ae400f8b | 978c995c7fc0be90d181bc098d36219da333bdd1 | refs/heads/master | 2021-01-10T14:00:59.065046 | 2017-05-16T21:22:24 | 2017-05-16T21:22:24 | 44,253,139 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,239 | cpp | #include <gtpo/translation-collector.h>
#include <gtpo/iddiff.h>
#include <gtpo/config.h>
#include <iostream>
#include <cassert>
#include <cstdio>
#include <cstring>
int toolIdpatch(int argc, char *argv[])
{
assert(argc == 3); // 2 arguments (mode; path to .iddiff)
bool comments = false;
if (!strcmp(argv... | [
"aspotashev@gmail.com"
] | aspotashev@gmail.com |
0d5dcdc563a62c70f624e2b7c5b732f81fcda3b8 | fb10f4e356b8c9964559f18513110b92d6b0bee8 | /PatternSinglton/Singlton.cpp | ba23a6c83bb43303a626ccf890224676b08df55d | [] | no_license | normann96/PatternSinglton | 813c8f4ea0748726a8142bc5a3175a547fcba881 | 361401af4cfb2ba4d0d39c5cc1ca3d61fe625262 | refs/heads/master | 2021-01-10T05:45:06.171453 | 2015-10-06T18:52:01 | 2015-10-06T18:52:01 | 43,771,266 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 507 | cpp | #include "Singlton.h"
#define SIZE 20
int Singlton::m_nCount;
Client * Singlton::mpClient;
Singlton::Singlton()
{
if (++m_nCount == 1)
{
mpClient = new Client;
}
std::cout << "Constructor Singlton " << this << std::endl;
}
Singlton::~Singlton()
{
if (--m_nCount == 0)
{
delete mpClient;
std::cout << "De... | [
"alexfeodosia@yandex.ru"
] | alexfeodosia@yandex.ru |
e600c100fbba71ceb03d81d3221f13d1ee56a135 | f6703394f557f32a2448b584ca431630c0675cbc | /src/bcfr_thread.h | 803d72e3cec1b847ebc370b9787392ace84107fe | [] | no_license | VHRanger/slumbot2017 | e1b220296cad02f489356ca779b4515ba97d35c6 | 9ca1b3fc0183bf0deaf42711d55cd30510344eaf | refs/heads/master | 2021-07-14T23:54:24.724326 | 2017-10-18T21:04:06 | 2017-10-18T21:04:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,343 | h | #ifndef _BCFR_THREAD_H_
#define _BCFR_THREAD_H_
#include <vector>
#include "vcfr.h"
using namespace std;
class BettingTree;
class Buckets;
class CFRConfig;
class HandTree;
class Node;
class BCFRThread : public VCFR {
public:
BCFRThread(const CardAbstraction &ca, const BettingAbstraction &ba,
const CFRConfi... | [
"eric.jackson@gmail.com"
] | eric.jackson@gmail.com |
1d46ca4da16bcc81d09c7dc3344eaf3f59ea2f37 | a56252fda5c9e42eff04792c6e16e413ad51ba1a | /resources/home/dnanexus/root/include/Math/GenVector/Translation3D.h | c0c6a4a2a5447ed648b79c0845c56e0e16afe553 | [
"LGPL-2.1-or-later",
"LGPL-2.1-only",
"Apache-2.0"
] | permissive | edawson/parliament2 | 4231e692565dbecf99d09148e75c00750e6797c4 | 2632aa3484ef64c9539c4885026b705b737f6d1e | refs/heads/master | 2021-06-21T23:13:29.482239 | 2020-12-07T21:10:08 | 2020-12-07T21:10:08 | 150,246,745 | 0 | 0 | Apache-2.0 | 2019-09-11T03:22:55 | 2018-09-25T10:21:03 | Python | UTF-8 | C++ | false | false | 9,177 | h | // @(#)root/mathcore:$Id$
// Authors: W. Brown, M. Fischler, L. Moneta 2005
/**********************************************************************
* *
* Copyright (c) 2005 , LCG ROOT MathLib Team *
* ... | [
"slzarate96@gmail.com"
] | slzarate96@gmail.com |
93e55484cd2246b99540481eea6c9fc28ba3712d | 523c2467e9d3361f847bb74cf744a9920e359b3b | /Sdk/Source/Backends/Vulkan/vulkanMultisample.cpp | 14c331db5acf4d7a4d59be82bf88b9a7a3f2fa51 | [] | no_license | ulugauer/cave | a5b270b7aa08b8bf0ea03125803e364dc08d2911 | a232824d34ab74e9f259b039ccbd5d6c5e35d9fa | refs/heads/master | 2022-12-16T20:53:22.994628 | 2020-08-20T08:10:12 | 2020-08-20T08:10:12 | 106,704,573 | 0 | 0 | null | 2020-08-19T14:03:27 | 2017-10-12T14:36:13 | C++ | UTF-8 | C++ | false | false | 2,266 | cpp | /*
Copyright (c) <2017> <Udo Lugauer>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, ... | [
"ulugauer@nvidia.com"
] | ulugauer@nvidia.com |
97caf1672afed7515c897d225654c68668db4034 | 2f71b66eacb1be2eda8a1d5f3ff814e8aa8fe6e9 | /src/svg/legend_light_svg.h | a6d1c7fc8ecca1d2e159125ca536ebcfda5aacd2 | [
"MIT"
] | permissive | SammyEnigma/CQCharts | 933f062738a54bdef95afdc930453b468ebe5fc8 | 6205ca09c65ec7c8a926de9dcaa19149d1be329b | refs/heads/master | 2023-08-08T00:46:23.106537 | 2023-08-04T13:24:58 | 2023-08-04T13:24:58 | 213,057,214 | 0 | 0 | MIT | 2023-09-12T15:44:39 | 2019-10-05T19:14:13 | C++ | UTF-8 | C++ | false | false | 26,332 | h | #ifndef LEGEND_LIGHT_pixmap_H
#define LEGEND_LIGHT_pixmap_H
#include <CQPixmapCache.h>
class LEGEND_LIGHT_pixmap {
private:
uchar data_[4895] = {
0x3c,0x3f,0x78,0x6d,0x6c,0x20,0x76,0x65,0x72,0x73,0x69,0x6f,0x6e,0x3d,0x22,0x31,
0x2e,0x30,0x22,0x20,0x65,0x6e,0x63,0x6f,0x64,0x69,0x6e,0x67,0x3d,0x22,0x55,0x54,... | [
"colinw@nc.rr.com"
] | colinw@nc.rr.com |
1dd5ce56dab615080c3ad586c34c8352532421b1 | e7a2a30ecd66b5911e68d5d6763686f4f334e88e | /Chromosome.cpp | e3b06e387d615f6480b8e2256332f7600a94e6e6 | [] | no_license | ozlatior/libgen | f3da1160dc7803d237da24f7af9516ce91e30ead | 5bd2c56eaca7029bd3fd839a7c357fc21577c806 | refs/heads/master | 2021-01-20T06:46:12.162629 | 2017-05-01T13:09:18 | 2017-05-01T13:24:02 | 89,926,074 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,212 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "Chromosome.h"
gen::Chromosome::Chromosome(const gen::ChromosomeParams params) {
this->geneSize = params.geneSize;
this->length = params.length;
this->data = (GeneBase*)malloc(geneSize * length);
}
gen::Chromosome::Chromosome(const gen::GeneIndex... | [
"oektaw@gmail.com"
] | oektaw@gmail.com |
59afceb923d0b72780a18bb2ccd2f7889c274a6d | c1ff870879152fba2b54eddfb7591ec322eb3061 | /plugins/render/ogreRender/3rdParty/ogre/OgreMain/src/Threading/OgreDefaultWorkQueueStandard.cpp | c40d319afd513ba9aa9f8d24e766edca9c40d92a | [
"MIT",
"LicenseRef-scancode-free-unknown"
] | permissive | MTASZTAKI/ApertusVR | 1a9809fb7af81c3cd7fb732ed481ebe4ce66fefa | 424ec5515ae08780542f33cc4841a8f9a96337b3 | refs/heads/0.9 | 2022-12-11T20:03:42.926813 | 2019-10-11T09:29:45 | 2019-10-11T09:29:45 | 73,708,854 | 188 | 55 | MIT | 2022-12-11T08:53:21 | 2016-11-14T13:48:00 | C++ | UTF-8 | C++ | false | false | 6,591 | cpp | /*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2000-2016 Torus Knot Software Ltd
Permission is hereby granted, free of charge, to any person obta... | [
"peter.kovacs@sztaki.mta.hu"
] | peter.kovacs@sztaki.mta.hu |
968817f0f196d1b274b6fa0056d52cbcb9c12aa3 | 8aff913aef096ea86cf3b3d246cc4f12bd8bb022 | /dot_util.cpp | fee56fa2b11d3383e52e2d1f376ddd1c8f990e81 | [] | no_license | cool-james/UV-index-firmware | b2ba1914ac355fdaa8c704a9b7973cf301f89bbc | 3c3e30cbf669592a1da51b0a08cbdb7f1a9358c8 | refs/heads/master | 2022-11-28T09:42:09.210865 | 2020-08-04T07:59:37 | 2020-08-04T07:59:37 | 284,915,328 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 31,337 | cpp | #include "dot_util.h"
#if defined(TARGET_XDOT_L151CC)
#include "xdot_low_power.h"
#endif
#if defined(TARGET_MTS_MDOT_F411RE)
uint32_t portA[6];
uint32_t portB[6];
uint32_t portC[6];
uint32_t portD[6];
uint32_t portH[6];
#endif
void display_config() {
// display configuration and library version information
l... | [
"jmcooney.95@gmail.com"
] | jmcooney.95@gmail.com |
bc541899a149eca68c9cf882e356c148d7c3c321 | 2b6144aeefe48a5a9244c3560ffc91ed202f2fb6 | /volna_init/external/eigen2/test/commainitializer.cpp | 503dd9be461e337aea437e751fc27d5d77272f74 | [
"GPL-3.0-only",
"LGPL-3.0-only",
"BSD-2-Clause"
] | permissive | reguly/volna | b867a63c3bd09fa234264cb2d01b8d8dd353ae27 | 6656d994c75f93d0f29673a8fc0da10926fa8d4a | refs/heads/master | 2023-08-19T07:19:35.315350 | 2022-11-05T19:46:49 | 2022-11-05T19:46:49 | 40,645,334 | 4 | 8 | BSD-2-Clause | 2021-11-15T13:16:52 | 2015-08-13T07:36:57 | C++ | UTF-8 | C++ | false | false | 1,957 | cpp | // This file is part of Eigen, a lightweight C++ template library
// for linear algebra. Eigen itself is part of the KDE project.
//
// Copyright (C) 2008 Gael Guennebaud <g.gael@free.fr>
//
// Eigen is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// Licens... | [
"regulyistvan@gmail.com"
] | regulyistvan@gmail.com |
48dd34dabddd0745c51d91052fcca3f551e6a49b | c3f715589f5d83e3ba92baaa309414eb253ca962 | /C++/round-5/1601-1700/1661-1680/1675.h | 51a10c397f6c73c273525f0e73c2337837f9601e | [] | no_license | kophy/Leetcode | 4b22272de78c213c4ad42c488df6cffa3b8ba785 | 7763dc71fd2f34b28d5e006a1824ca7157cec224 | refs/heads/master | 2021-06-11T05:06:41.144210 | 2021-03-09T08:25:15 | 2021-03-09T08:25:15 | 62,117,739 | 13 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 680 | h | class Solution {
public:
int minimumDeviation(vector<int>& nums) {
priority_queue<int> max_queue;
int min_element = INT_MAX;
for (int num : nums) {
if (num % 2 == 1) {
num *= 2;
}
max_queue.push(num);
min_element = min(min_element, num);
}
int result = max_queue.t... | [
"kophy@protonmail.com"
] | kophy@protonmail.com |
a134c9306ae2c1cc98472d27f871cfe5383c0810 | af7096be74cd24781eca75666d74fc3e56d0d62e | /New folder/Thuc_hanh2.cpp | 09fa85da565088e33b281809e9b7483b0b13ef4a | [] | no_license | Quang-Phuc/Bai_tap_hang_ngay | 8ed90cbac7d28394c5670b904c1f9556e918603e | c46d4bc0753fca1568d2df9ea94b95551af69cb6 | refs/heads/master | 2021-07-09T00:04:11.103326 | 2017-10-07T15:08:20 | 2017-10-07T15:08:20 | 106,105,280 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,574 | cpp | #include<conio.h>
#include<iostream>
#include<stdio.h>
#include<math.h>
using namespace std;
class Pt1
{
private:
float a,b;
public:
void nhap();
void tinh_pt1();
};
void Pt1::nhap()
{
cout<<"\n \t Nhap a :";
cin>>a;
cout<<"\n\t Nhap b:";
cin>>b;
}
void Pt1::tinh_pt1()
{
float x=-b/a;
cout<<"\n\t Nghie... | [
"lamquangphuc1996@gmail.com"
] | lamquangphuc1996@gmail.com |
d8c1dcc2f6f981b7578cff6902ec08f58a4570bb | 00073d90605272e6bba97a0542734b5bbe1d846f | /ES Game Library/MyMakeClasses/Layer.h | 48635f963d659d9de8b4757037a46f91797c5d1c | [] | no_license | naturemas53/FADERMUSIC_TOOLS | faf35ad482685ce60e37a4a80ca22c243d99442a | 4d046b338b2b38a7ac52796333a7d40b0fc112b2 | refs/heads/master | 2021-05-12T00:01:23.476044 | 2018-01-23T06:47:54 | 2018-01-23T06:47:54 | 117,524,359 | 0 | 0 | null | 2018-01-23T06:47:55 | 2018-01-15T09:25:13 | C++ | SHIFT_JIS | C++ | false | false | 1,657 | h | #pragma once
#include "../ESGLib.h"
#include "SpriteSingleton.h"
class Layer{
public:
Layer(Vector3 pos,int id):
POS_(pos),
SIZE_(Vector2(480.0f,70.0f)),
NOTEHITPOS_(180.0f),
PANELUSERECT_(RectWH(0,80,120,70)),
SPEAKERUSERECT_(RectWH(0,150,64,64)),
ID_(id){
if (sp_ == nullptr){
this->sp_ = GraphicsDev... | [
"human.naturemas53@gmail.com"
] | human.naturemas53@gmail.com |
ffa12b4dbfc2b3c16be7284ca1fe462ca3fd4fb9 | f6836bb0974fc0455a4e1dcb8c99dd855ccb982d | /resource/include/Sampler.hpp | b52b0fbe1dba791efd6a331c41f37f1b0cf1415c | [
"MIT"
] | permissive | fuchstraumer/VulpesRender | de5b3a4439cfe408967697da63be8ca3141dfb1a | 44ea76d68ae90c7eab754690a60e8361165698cd | refs/heads/master | 2023-02-06T22:52:58.763123 | 2021-08-29T19:28:41 | 2021-08-29T19:28:41 | 96,707,344 | 38 | 3 | MIT | 2019-09-19T17:40:22 | 2017-07-09T19:46:06 | C++ | UTF-8 | C++ | false | false | 927 | hpp | #pragma once
#ifndef VPR_SAMPLER_HPP
#define VPR_SAMPLER_HPP
#include "vpr_stdafx.h"
namespace vpr
{
/**Bare minimum RAII wrapper around Vulkan sampler object. Can be helpful in facilitating an approach
* wherein descriptors use multiple textures, but each texture shares/uses different samplers in the shader... | [
"jonesk74@uw.edu"
] | jonesk74@uw.edu |
abcd7b1c61f7b1e12c309041e554376ad66aaf3f | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/collectd/gumtree/collectd_repos_function_689_collectd-4.10.2.cpp | f1d3de4aca6d6c0da28152bdf9d1d1b39d49f358 | [] | 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 | 1,343 | cpp | static int powerdns_read_recursor (list_item_t *item) /* {{{ */
{
char *buffer = NULL;
size_t buffer_size = 0;
int status;
char *dummy;
char *keys_list;
char *key;
char *key_saveptr;
char *value;
char *value_saveptr;
if (item->command == NULL)
{
status = powerdns_update_recursor_command (it... | [
"993273596@qq.com"
] | 993273596@qq.com |
0de714599cb59874209ac65fb3ef6ecf91860a1b | 688aba1dfb37164faee7c837ee1f4559f9548214 | /ccContests/sd2.cpp | 24ac54471958457fad2caa810e204a59ca81fdd2 | [] | no_license | Aivi001/codeChef | 49fd3a5e6b32e4b8b9407c15dc0ca721fee3ec99 | 9dbf3097919472df34dcaf6a7e40cb1f1b9e499c | refs/heads/master | 2020-04-09T19:19:13.130338 | 2018-12-05T17:19:55 | 2018-12-05T17:19:55 | 160,540,320 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 990 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int i,j;
vector<int>vl(200,0);
//for(i=0;i<vl.size();i++)
// cout<<vl[i]<<" ";
vector<int>prime={2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167... | [
"noreply@github.com"
] | Aivi001.noreply@github.com |
458e24bea8cbe06962d98b46a20f109013602f7a | 96369ec93398caee5d72b42272563135466cff47 | /utiles/source/ISerializable.cpp | aba0870cfc59c6ad1b92b8eb9a96fb0181d6cb55 | [
"MIT"
] | permissive | miglesias91/herramientas_desarrollo | 1ce7d58558d66fe715d4865ab5be40fe4db24a6d | dad021289e6562b925444b04af2b06b1272fd70c | refs/heads/master | 2021-01-21T06:42:58.302810 | 2018-11-16T13:56:50 | 2018-11-16T13:56:50 | 83,274,089 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 481 | cpp | #include <utiles/include/ISerializable.h>
using namespace herramientas::utiles;
ISerializable::ISerializable(Json * json) : json(json)
{
}
ISerializable::~ISerializable()
{
delete this->json;
this->json = NULL;
}
Json * ISerializable::getJson()
{
if (NULL == this->json)
{
t... | [
"m.iglesias91@gmail.com"
] | m.iglesias91@gmail.com |
9a6a3ff8046587f91caabec5cc87dd7e6c375e72 | 76158a3373826a77c4f3fc5c17da1a6a1e5cd86f | /QtWidgetLearn/Demo_Udp/UdpSimple/udpSender/widget.h | 0b76d0f29fb714341aeb34fb5ace2360d0c6333c | [] | no_license | zhenyangze/qtLearnDemo | d767ed31eba55361aa36a0bc89e5b68502022d2b | d1c68cb1cc865d04ff7c9e1fda2256a249c791d4 | refs/heads/master | 2023-03-20T06:31:28.689945 | 2019-12-23T13:39:41 | 2019-12-23T13:39:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 438 | h | #ifndef WIDGET_H
#define WIDGET_H
#include <QWidget>
#include <QtNetwork>
namespace Ui {
class Widget;
}
struct state{
int order;
int speed;
double longitude;
double latitude;
};
class Widget : public QWidget
{
Q_OBJECT
public:
explicit Widget(QWidget *parent = 0);
~Widget();
private sl... | [
"zlock030217@gmail.com"
] | zlock030217@gmail.com |
a865d277d5be66f6c4854d3804b21a966233b647 | 5fa2e362d2a9086bd7545e3c8dec4733abce07ab | /18.cpp | 638aff7d137143af4550a5b0754bf1a936b7c587 | [] | no_license | bosslalala/whuOJ | 16960e4ee6c95a858883e17905e86ac5d7a69f5b | 421c1f61d26beef8fa462ab7c0139ef6de67f7c1 | refs/heads/master | 2020-12-03T03:26:56.771247 | 2020-08-13T01:33:50 | 2020-08-13T01:33:50 | 231,196,340 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,643 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include<iostream>
using namespace std;
//存储数所在的位置
int high1[65537];
//金刚想要数所在的位置
int high2[65537];
//第一行数
int a[5001];
//第二行数
int b[5001];
//标记这个数是否移动到所想位置
bool flag[5001];
int main()
{
//freopen("in.txt", "r... | [
"iamthefuture98@gmail.com"
] | iamthefuture98@gmail.com |
17545b2e632207669668a4f4082a637f6c12bd9f | fbdff918518337282c863cecb751ac9761e4f3b3 | /src/display/Shape.h | d7e12a366efeeecdf16fef164f5ed50876490cbc | [] | no_license | adharacanis/swfdrawerplus | 510da7976f369c824e99479b3ab30f6563bcb83b | c256148207b139be65b6536929fd83b275a5ae44 | refs/heads/master | 2020-11-25T14:33:59.231157 | 2020-01-12T23:02:04 | 2020-01-12T23:02:04 | 228,718,758 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 710 | h | #pragma once
#include <utility>
#include <boost/shared_ptr.hpp>
#include "geom/Rectangle.h"
#include "texture/TextureID.h"
#include "DisplayObject.h"
class Shape : public DisplayObject
{
public:
Shape(const TextureID characterID, boost::shared_ptr<RectangleFloat> shapeBounds)
: m_characterId(characterID)
... | [
"gNikro@gmail.com"
] | gNikro@gmail.com |
3780806edc0508099b31daed3969ebc9e878ca6a | ed59dddb12e5bfd8af13590d9d42adba1062476d | /LaundryRoom.h | e4f7ed75673fea16b6a4f67dac71ee19cff349a5 | [] | no_license | aagunawan/AdventureRooms | 365339efdf6c1d9d9141b6575f11a46b8a39a963 | 48b3687c5ba5872f3578467c4ca4dc5aa622d262 | refs/heads/master | 2022-12-24T23:25:27.395383 | 2020-10-10T04:56:25 | 2020-10-10T04:56:25 | 302,817,653 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 767 | h | /*********************************************************************
** Author: Aloysius Gunawan
** Date: 03/11/2017
** Description: Final Project CS162 - AAG
This program contains laundryRoom Class Prototype
*********************************************************************/
#ifndef LAUNDRYROOM_H
#define LAUNDRY... | [
"aloysius.gunawan@gmail.com"
] | aloysius.gunawan@gmail.com |
29f5e0dbd0ef063e1a36aa88e8a102a8511be181 | 843dcccdeea461c4b6d51deb6a5118738b56426b | /src/MQTTClient.h | d8f478e5f1d3f4fdea52134b9b48e04b735a8d2e | [
"MIT"
] | permissive | kyuseok-oh/ArduinoThingsOfValueSDK | 5b0ec630833874d046b5cb7094b8d770d5c9a989 | a22e83ec0257447f2345eb66b8838c8a7624c828 | refs/heads/master | 2022-01-22T12:42:06.090855 | 2022-01-11T07:37:24 | 2022-01-11T07:37:24 | 142,814,880 | 2 | 0 | MIT | 2022-01-11T07:37:24 | 2018-07-30T02:29:39 | C | UTF-8 | C++ | false | false | 10,496 | h | #ifndef MQTT_CLIENT_H
#define MQTT_CLIENT_H
#include <Arduino.h>
#include <Client.h>
#include <Stream.h>
#include "system.h"
class MQTTClient;
typedef void (*MQTTClientCallbackSimple)(String &topic, String &payload);
typedef void (*MQTTClientCallbackAdvanced)(MQTTClient *client, char topic[], char bytes[], int leng... | [
"kyuseok-oh@lotte.net"
] | kyuseok-oh@lotte.net |
439b3cf4919f2a30caad27f625518f884cebd89d | 22a3479f2a4cc2ae489126561efb52fa28422dfc | /cube.cpp | 7e957036456ebd964f2056257e13fb3577c3a082 | [] | no_license | ssppkenny/osgrubikscube | 0c40d7a55704275ae5c6eaa9f0f04080052cc740 | 0da1c073c94d61c55144800b88682eb57812a0c5 | refs/heads/master | 2016-09-05T10:05:59.954044 | 2012-10-22T15:19:12 | 2012-10-22T15:19:12 | 42,390,674 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,372 | cpp | #include "mykeyboardhandler.hpp"
#include "cubecreator.hpp"
using namespace std;
void initGeode(osg::ref_ptr<osg::Geode> geode[3][3][3])
{
for (int i=0; i<3; i++)
{
for (int j=0; j<3; j++)
{
for (int k=0; k<3; k++)
{
geode[i][j][k] = new osg::Geode();
}
}... | [
"sergey.mikhno@gmail.com"
] | sergey.mikhno@gmail.com |
6573e9635e28b97818cafa13370497a1b750959c | 2f557f60fc609c03fbb42badf2c4f41ef2e60227 | /DataFormats/TestObjects/interface/OtherThing.h | 9688952ffad15ad898193268b860cf394b293309 | [
"Apache-2.0"
] | permissive | CMS-TMTT/cmssw | 91d70fc40a7110832a2ceb2dc08c15b5a299bd3b | 80cb3a25c0d63594fe6455b837f7c3cbe3cf42d7 | refs/heads/TMTT_1060 | 2020-03-24T07:49:39.440996 | 2020-03-04T17:21:36 | 2020-03-04T17:21:36 | 142,576,342 | 3 | 5 | Apache-2.0 | 2019-12-05T21:16:34 | 2018-07-27T12:48:13 | C++ | UTF-8 | C++ | false | false | 1,129 | h | #ifndef DataFormats_TestObjects_OtherThing_h
#define DataFormats_TestObjects_OtherThing_h
#include "DataFormats/Common/interface/Ref.h"
#include "DataFormats/Common/interface/RefVector.h"
#include "DataFormats/Common/interface/RefProd.h"
#include "DataFormats/Common/interface/RefToBaseProd.h"
#include "DataFormats/Com... | [
"giulio.eulisse@gmail.com"
] | giulio.eulisse@gmail.com |
f11db27d07fb5d54133693fe1d5e958e35a91271 | b53573e4845a18c0b8c7158c05855eb593174c9c | /ball.cpp | 6b6257a59f43ed66f0dbab68824fb16ea373f00c | [] | no_license | CG-UFMG/TP1 | ae927f328364ecf33ab8e19cb34debcba42af79b | a77eafe9d59407d1eef41d31f234b7c65c66d717 | refs/heads/master | 2020-12-31T07:20:00.440855 | 2016-05-10T02:39:22 | 2016-05-10T02:39:22 | 57,044,583 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,387 | cpp | #include "ball.h"
Ball::Ball() : RenderObject(), radius(10.0f), isStuck(true), isStick(false), isPassable(false) {
}
Ball::Ball(glm::vec2 pos, GLfloat radius, glm::vec2 velocity, Texture sprite)
: RenderObject(pos, glm::vec2(radius * 2, radius * 2), sprite, glm::vec3(1.0f), velocity), radius(radius), isStuck(true... | [
"hjhenriquesesi@gmail.com"
] | hjhenriquesesi@gmail.com |
c5485ff68a9d098fd236c35eba5ba8ba48950ec8 | ff4d4757d9c811510c8c755901ef4d4c361cd731 | /Tools/ADrender/Texture.cpp | 2e1d827572f9643f88a82459e3fc07c8b7c7a40b | [
"LicenseRef-scancode-public-domain"
] | permissive | ApocalypseDesign/ad_public | 4b6a623885808625b54b2888e79b7e2e1f834ac3 | 4c6a2759395a3ad36e072ffed79a7d9b48da219c | refs/heads/master | 2020-06-01T02:12:11.640297 | 2013-05-31T19:53:30 | 2013-05-31T19:53:30 | 9,555,519 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,387 | cpp | // Metodi della classe texture
// By [Turbo]
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <conio.h>
#include <math.h>
#include "ADrender.h"
#include "ADbase.h"
#include "jpeglib.h"
#include "png.h"
extern HWND hWindow;
texture::texture(void)
{
dimx=dimy=xbits=ybits=channelsize=channelsize2x=... | [
"r.gerosa@gmail.com"
] | r.gerosa@gmail.com |
f845d0c9f516c429e247e1bd495362286d8184c0 | 3e0181a666cc2373504b62285bbd095b495d3e30 | /test/menu.cpp | 237358be0cf81c936240ef75566f83f70cd2a925 | [] | no_license | wearethesame13/doAnTHOOP | 145ccf282cbb16f575826bcaf064ff1e8575f6e8 | ae500f32816fb3e2a3c5adb0db166492702b0b25 | refs/heads/master | 2020-09-20T21:18:30.069906 | 2019-11-28T07:14:37 | 2019-11-28T07:14:37 | 224,592,542 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,283 | cpp | #include "menu.h"
Menu::Menu()
{
if (!font.loadFromFile("resources/sansation.ttf"))
{
//handle error
}
menu[0].setFont(font);
menu[0].setCharacterSize(50);
menu[0].setPosition(sf::Vector2f(600 / 2, 600 / (MAX_NUMBER_OF_ITEMS + 1) * 1));
menu[0].setFillColor(sf::Color::Red);
menu[0].setString("1 PLAYER");
me... | [
"wearethesame13@gmail.com"
] | wearethesame13@gmail.com |
62b1ddd3880ea30349e063b40cf5bc17f4124234 | 37fece52e34ac15472fbfbb7d10b683d674e99a9 | /src/rotator/blob-detection/PositionController.cpp | 449942b4cef686adf73c6dffc8ade7f90f625777 | [] | no_license | bharathkeshavamurthy/Stormbreaker | 7aa8dcde48df66c15e56b66c29ae67b10a59250b | d28889c926de816f1e68f9a71c30467fbc4f63b9 | refs/heads/master | 2023-04-11T10:44:17.543345 | 2023-01-20T06:45:06 | 2023-01-20T06:45:06 | 480,673,653 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,155 | cpp | /*
A PositionController class for the laser test-bed prototype to perform Yaw AND Pitch rotation strategy testing using the SparkFun Blackboard Rev C, IMU BNO080,
and ServoCity continuous servos--along with IMU logging.
Author: Bharath Keshavamurthy (Adapted from GCTronic-Talos [Purdue ECE-IE] Shape Execution... | [
"bkeshav1@asu.edu"
] | bkeshav1@asu.edu |
25cd25d4a53c7419821714495648be4f8dac0785 | 1f2eb11daad03fba1487b137c732e9af1eff5780 | /headers/Parser.class.hpp | 518c7fa6d472c821d3a3508827341097aeaccbbf | [] | no_license | mklon/virtual_machine | 8fc0556cd300660a24b16229654afb0e0f01179b | 8f2c184c63b434a4e574744fc0a3c28763270281 | refs/heads/master | 2021-05-11T13:44:23.652121 | 2018-02-21T13:07:14 | 2018-02-21T13:07:14 | 117,687,814 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,017 | hpp | #ifndef PARSER_CLASS_HPP
# define PARSER_CLASS_HPP
#include "Factory.class.hpp"
#include "IOperand.class.hpp"
#include <map>
class Parser {
private:
std::list<const IOperand*> _stack;
std::list<lexeme> _lexemesList;
std::map<token, void (Parser::*)()> _command;
Factory ... | [
"mKlon9@gmail.com"
] | mKlon9@gmail.com |
b02ddb6005fb0a92a0859be039ba29bcd8477b68 | 9f520bcbde8a70e14d5870fd9a88c0989a8fcd61 | /pitzDaily/204/p | 209002e428eed92027ae039a70037c2b6cb12c44 | [] | no_license | asAmrita/adjoinShapOptimization | 6d47c89fb14d090941da706bd7c39004f515cfea | 079cbec87529be37f81cca3ea8b28c50b9ceb8c5 | refs/heads/master | 2020-08-06T21:32:45.429939 | 2019-10-06T09:58:20 | 2019-10-06T09:58:20 | 213,144,901 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 98,086 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1806 |
... | [
"as998@snu.edu.in"
] | as998@snu.edu.in | |
3c10a729d791a5df56536b40fd4a8703c3dac9b0 | 68f2fbd6d891e3930608e8086d61946ffe0971a9 | /A1050.cpp | b5506f2b99b2fdcfb98c9aa06d19ef1bea79e4f0 | [] | no_license | WEN1WE/PAT | dbb40932621138b0a33cc9f072d4217a54561061 | 696d77e751ac46fdd2d544a02db8604a1a2871bd | refs/heads/master | 2020-06-27T20:46:07.119790 | 2019-12-03T01:41:49 | 2019-12-03T01:41:49 | 200,045,004 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 365 | cpp | /*
* 1. 本题使用hash table简单
*/
#include <iostream>
using namespace std;
int main() {
bool hashTable[256] = {false};
string s1, s2;
getline(cin, s1);
getline(cin, s2);
for (auto e : s2) {
hashTable[e] = true;
}
for (auto e : s1) {
if (!hashTable[e]) {
cout << e;... | [
"noreply@github.com"
] | WEN1WE.noreply@github.com |
f16ef7ed66b42cde370213347378873087e0e441 | 928198c9e8696396f1447c7ec2a8e20e6efacec9 | /96A.cpp | de10c302e4b5df1fea5b453b36d6a58d17b460f1 | [] | no_license | Jeeukrishnan/codeforces_solution | 98f691b22f99bcc963a3fe99421ab923f8abab19 | f6755510ca737e8d2a0763933ed9fe5119027f6d | refs/heads/master | 2020-08-18T23:15:58.302842 | 2019-12-27T16:51:20 | 2019-12-27T16:51:20 | 215,846,534 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 155 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{ char s[101];
gets(s);
puts((strstr(s,"0000000") || strstr(s,"1111111"))?"YES" : "NO");
} | [
"noreply@github.com"
] | Jeeukrishnan.noreply@github.com |
50f5944976c466e880d47dbb9cbeb3f2e458703d | 607e69f9e4440ef3ab9c33b7b6e85e95b5e982fb | /deps/museum/5.0.0/external/libcxx/exception | 7214c1e0ccca8dff4dc50e05fd6b9962c18e0322 | [
"Apache-2.0"
] | permissive | simpleton/profilo | 8bda2ebf057036a55efd4dea1564b1f114229d1a | 91ef4ba1a8316bad2b3080210316dfef4761e180 | refs/heads/master | 2023-03-12T13:34:27.037783 | 2018-04-24T22:45:58 | 2018-04-24T22:45:58 | 125,419,173 | 0 | 0 | Apache-2.0 | 2018-03-15T19:54:00 | 2018-03-15T19:54:00 | null | UTF-8 | C++ | false | false | 7,936 | // -*- C++ -*-
//===-------------------------- exception ---------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===-------------------------... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com | |
db3941b24c5c17d60f9615372c047feb6b811abd | 6409650a23f65136afd961206c2a8870e1f78c7e | /ConceptEngine/ConceptEngine/ConceptEngineRenderer/Physics/PhysX/CEPhysX.h | d23714de64664e0b313b13914d789562c474a8bb | [
"MIT"
] | permissive | Ludaxord/ConceptEngine | 830486b52a72e1fe7a4b821b4f725443ff180afe | 16775bc9b518d4fd4c8bd32bb5f297223dfacbae | refs/heads/master | 2023-08-16T11:33:00.694333 | 2021-10-07T21:11:00 | 2021-10-07T21:11:00 | 293,779,912 | 6 | 0 | MIT | 2021-08-16T20:33:47 | 2020-09-08T10:42:33 | C++ | UTF-8 | C++ | false | false | 2,242 | h | #pragma once
#include <characterkinematic/PxControllerManager.h>
#include <characterkinematic/PxExtended.h>
#include <extensions/PxDefaultAllocator.h>
#include <extensions/PxDefaultCpuDispatcher.h>
#include <extensions/PxDefaultErrorCallback.h>
#include "../Physics/CEPhysics.h"
#include <foundation/PxVec3.h>
#include ... | [
"konrad.uciechowski@gmail.com"
] | konrad.uciechowski@gmail.com |
1288dc06854c50acae5f6c28a5bf0233d91416a2 | 753180979596856d320a63b921af566f29cd130f | /sumOfNNumbers.cpp | cb76791c04447f876a31ad5484c1f6a3990320d8 | [] | no_license | dienigma/100_days_of_code_CPP | fd7b8cc68990251d8176acf64898541976e4df3a | c059d1b2f9482ea1874df277d6ce5692af28d22e | refs/heads/main | 2023-05-08T17:25:22.171462 | 2021-05-25T04:23:28 | 2021-05-25T04:23:28 | 369,768,778 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 342 | cpp | #include <iostream>
using namespace std;
int SumOfN(int n)
{
int sum;
//Write formula here as sum=
sum = (float)(n * (n + 1)) / 2;
return sum;
}
int main()
{
int n;
cout << "Enter a the total natural numbers\n";
cin >> n;
float result = SumOfN(n);
cout << "Result: " << result << ... | [
"joshi.chinmay09@gmail.com"
] | joshi.chinmay09@gmail.com |
d3aee2d19728961c9ad70d998dc1139f9884146c | c27187f5aa1619afd89d5ed54633a50da97f0ae6 | /053_Prak 3 6 suku pertama.cpp | f9dd08857908e436557d61dbc85bcc586753f321 | [] | no_license | ImasDewi03/Imas-Dewi_053_Praktikum | 35918a46b586db88f8976c101bd1f2f883aa7b90 | b8b4d7afccd9880025591a2abf25ed7ffaaaef5d | refs/heads/main | 2023-08-19T20:22:03.181550 | 2021-10-22T05:41:02 | 2021-10-22T05:41:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 496 | cpp | #include<iostream>
#include<conio.h>
using namespace std;
int main(){
cout<<"||=========================================||"<<endl;
cout<<"|| Program Menghitung Jumlah 6 Suku Pertama||"<<endl;
cout<<"||=========================================||"<<endl<<endl;
int jmldr,i;
cout<<"Jumlah Deret Yang Di... | [
"noreply@github.com"
] | ImasDewi03.noreply@github.com |
6f2c3a55f140875aa0f1bfcc253f6cdb1a926298 | 542afd6b823b4adebf7631ed30261927fb290a48 | /A2/A2.cpp | b28f0eefacd7e72fcc96d6ee36d300dd821a11c8 | [] | no_license | SakibRabbany/Graphics | 74ca9bc6ce343c994eb730f0e88553a5eecb2622 | 928181617b38752361234777860d92b5322bd0bf | refs/heads/master | 2020-03-19T06:10:08.663426 | 2018-07-24T20:51:31 | 2018-07-24T20:51:31 | 135,996,460 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 33,962 | cpp | #include "A2.hpp"
#include "cs488-framework/GlErrorCheck.hpp"
#include <iostream>
using namespace std;
#include <imgui/imgui.h>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
#include <glm/gtx/io.hpp>
using namespace glm;
//------------------------------------------------------------------... | [
"srsrabbany@uwaterloo.ca"
] | srsrabbany@uwaterloo.ca |
e632d6ebed029e6eb04f60a770b918fd9669f973 | 909590ea1f915ee9f25751757772bc8e41619133 | /transport_catalogue/map_renderer.h | b17112d7ef165a3ee382f525d1739e59d369c59a | [] | no_license | MYamborisov/YandexPraktikum | 43fe591abce7d931bb3621661dd81a2d63b15e1e | 78fd45a436b6e3bfcf4426ba2db3658e6949fd1d | refs/heads/master | 2023-08-30T19:01:18.854312 | 2021-11-07T14:09:37 | 2021-11-07T14:09:37 | 293,508,805 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,811 | h | #pragma once
#include "svg.h"
#include "domain.h"
#include <cmath>
#include <algorithm>
#include <optional>
namespace renderer {
inline const double EPSILON = 1e-6;
bool IsZero(double value);
struct RenderSettings {
double width = 0;
double height = 0;
double padding = 0;
... | [
"yamborisov.ma@phystech.edu"
] | yamborisov.ma@phystech.edu |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.