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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
75796ba8f976fa7123db5a5f0c42f3673b287a57 | 800965a478f1c8d68c25d0837d1a3ffab75b50e9 | /Week-02/day-3/06.cpp | 4588e991003371d34c5b96273c87f7e8c764ded7 | [] | no_license | greenfox-zerda-sparta/Ak0s | 8ed1eea5a63249cabb58f5de8620884aea7a8503 | 2f37db6512f6aa7057048ed189ed2259e3ee48ba | refs/heads/master | 2021-01-12T18:15:08.523009 | 2017-02-13T18:06:12 | 2017-02-13T18:06:12 | 71,350,507 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 734 | cpp | //============================================================================
// Name : 06.cpp
// Author : Ak0s
//============================================================================
// The "other_high_number_pointer" should point to the same memory address
// without using the "&" operator.
#inc... | [
"modis1akos@msn.com"
] | modis1akos@msn.com |
2951fbe7781342ec20383953b4dd3f34445bc2ff | 01b602a4a4d02d94aef887c2ba6951e42926655e | /dblLinkList.hpp | 9b35654353646c836f107de1067a22d0a54bdab3 | [] | no_license | klu428/fantasy-combat-tournament | 118ac7c3d3de042e5ddc34bc2272703cd9ca5528 | 452fe7df7d16b8e81f9fa628203eaa365e709463 | refs/heads/master | 2020-03-09T14:46:42.977787 | 2018-04-10T02:19:55 | 2018-04-10T02:19:55 | 128,842,920 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,175 | hpp | /********************
** Author: Kelvin Lu
** Date: 10/31/2017
** Description: This is the specification file for the dblLinkList class, which contains the methods used to construct a double linked list.
********************/
#ifndef DBLLINKLIST_HPP
#define DBLLINKLIST_HPP
#include "Node.hpp"
#include <iost... | [
"noreply@github.com"
] | klu428.noreply@github.com |
46b67172f0aae0a66f4e197b8064bc5f8aded725 | 290b0be682afdd4388a520b0e26d286e64a56e88 | /winwizsrc/der_libs/statbar.h | 827e92b7af0075bef72efb28b3ba1c57f16c5b2c | [] | no_license | gondur/The-Wizard-s-Castle | abb0f35e6387b78c8ef92df79a73dfe20b29e5df | a3d38f01952328b89f7bc16b0497b719979d6afd | refs/heads/master | 2020-12-24T20:52:20.292730 | 2016-04-16T17:33:07 | 2016-04-16T17:33:07 | 56,396,735 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,915 | h | //*****************************************************************************
// Copyright (c) 2012-2013 Daniel D Miller
// Converting original statbar.cpp utility to a status-bar class
//
// This module, which has been entirely compiled from public-domain sources,
// is itself declared in the public domain.
//... | [
"hhhh@hotmail.com"
] | hhhh@hotmail.com |
fe5d64d28e87896db91ba7ac0a640f4e90ff3814 | 0b79f0a0ddadee7ef45755e8d74693e2cc609c52 | /main/src/jumpnrun/mover/bullet/Ball.cpp | 85fd1a70cb35c46464bcabc89900a58f339f3956 | [
"MIT"
] | permissive | wonderhorn/mkfj | ec98fdf82766d376d99f55659b413ad423608a90 | 18d2dd290811662d87abefe2fe2e338ba9caf8a5 | refs/heads/master | 2022-11-24T18:34:23.665540 | 2020-07-26T10:58:31 | 2020-07-26T10:58:31 | 276,013,519 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,299 | cpp | #include"jumpnrun/mover/bullet/Bubble.h"
#include"jumpnrun/mover/effect/Effect.h"
#include"jumpnrun/mover/effect/Circle.h"
#include"jumpnrun/mover/Barrier.h"
#include"jumpnrun/mover/bullet/Bullet.h"
#include"jumpnrun/system/Parmanent.h"
#include"jumpnrun/spell/Spell.h"
#include"jumpnrun/GRAPHICS.h"
using namespace jnr;... | [
"https://twitter.com/Wonder_Horn"
] | https://twitter.com/Wonder_Horn |
99298b3126d1077bf6d3e09b2ec4bc153f761cec | 4b028d901bbb1bf5b4839d664176a03111c8c763 | /Multi-Level Inheritance.cpp | ecebe9e8d563a44dbdc222de2b2efa1bd2dad8e6 | [] | no_license | imsushant12/Inheritance-in-Cplusplus | 987e231e1397fb87c14fd53f12f8adb14d0793cb | d92bfa9092c2da5d539be966a180c8ffd7c1ff61 | refs/heads/main | 2023-01-08T09:06:20.542053 | 2020-11-04T03:12:36 | 2020-11-04T03:12:36 | 302,095,401 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,159 | cpp | #include<bits/stdc++.h>
#include<iostream>
using namespace std;
class student
{
private: //can be protected as well
int id;
char name[20];
public:
void getstudent()
{
cout<<"\nEnter name : ";cin>>name;
cout<<"\nEn... | [
"noreply@github.com"
] | imsushant12.noreply@github.com |
7a16a09d297f6cef3c446ce23e83017124880220 | f400eaf8cb1b4772a8c1555d605c248e62bf9d12 | /2579 계단오르기/2579 계단오르기/main.cpp | c687cb8ab167d20dbfc56c5fda8e1ef15d74c5a6 | [] | no_license | dlrgy22/boj | cc7042a1ab3f3e127a12c0d35c92a194cd13ba89 | 7a58aaf15b9cd2deea5a0e450acd2e4ef638553f | refs/heads/master | 2020-12-09T18:58:02.149775 | 2020-03-17T06:12:25 | 2020-03-17T06:12:25 | 233,389,390 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 362 | cpp | #include<iostream>
#include<algorithm>
using namespace std;
int main(){
int num;
cin>>num;
int stair[301],dp[301],i;
for(i=1;i<=num;i++){
cin>>stair[i];
}
dp[0]=0;
dp[1]=stair[1];
dp[2]=stair[2]+stair[1];
for(i=3;i<=num;i++){
dp[i]=max(stair[i]+dp[i-2],stair[i]+stair[... | [
"jeong-ighyo@jeong-ighyoui-iMac.local"
] | jeong-ighyo@jeong-ighyoui-iMac.local |
3b208223498a05b3989a1a9248757559359e45ab | f0fed75abcf38c92193362b36d1fbf3aa30f0e73 | /android/frameworks/av/cmds/stagefright/ms12v1_3/ms12_user.cpp | f7dfb960c0d7a245f9e8786394da16699319fda9 | [
"LicenseRef-scancode-unicode",
"Apache-2.0"
] | permissive | jannson/BPI-1296-Android7 | b8229d0e7fa0da6e7cafd5bfe3ba18f5ec3c7867 | d377aa6e73ed42f125603961da0f009604c0754e | refs/heads/master | 2023-04-28T08:46:02.016267 | 2020-07-27T11:47:47 | 2020-07-27T11:47:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 67,329 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include "ms12_cmd.h"
#include "ms12_err.h"
#include "ms12_usage.h"
#define MS_EXTPCM_IN_SAMPLES 1536
#define MS_MAX_STR_LEN 1024
#define MS_MAJOR_VERSION "1"
#define MS_MINOR_VERSION "3"
#define MS_UPDATE_VERSION ... | [
"mingxin.android@gmail.com"
] | mingxin.android@gmail.com |
6e8b3a0f3aacecd144a3962a349498c1332d0075 | 82621767a8fffb6f5c1e0323879d4f2f7555e3b0 | /MicroAllocator/MicroAllocator.h | 338969c6aa35b499e91c9685f33349593ed9db2c | [
"Zlib"
] | permissive | abelianwang/malloc-survey | 40b46b1507ec8c5666157b53326d4a23e31ac88e | 6da5aca6aa2720d64bff709c111a5d8a5fa7a1be | refs/heads/master | 2023-03-18T09:16:13.401077 | 2016-07-06T15:11:27 | 2016-07-06T15:11:27 | 534,266,709 | 1 | 0 | Zlib | 2022-09-08T15:06:26 | 2022-09-08T15:06:26 | null | UTF-8 | C++ | false | false | 4,703 | h | #ifndef MICRO_ALLOCATOR_H
#define MICRO_ALLOCATOR_H
/*!
**
** Copyright (c) 2009 by John W. Ratcliff mailto:jratcliffscarab@gmail.com
**
** If you find this code useful or you are feeling particularily generous I would
** ask that you please go to http://www.amillionpixels.us and make a donation
** to Troy DeMolay.
**... | [
"rlyeh.nospam@gmail.com"
] | rlyeh.nospam@gmail.com |
8ca2f33793d778ae0599cfcd332376cfdea601f2 | 5e25ec6fcddb07eb7de490a353e92e14a7d357f2 | /inc/Resources/STB_Image_Loader.h | 730fe9bf929b500a9ed37d845ea3b8781b732ffe | [] | no_license | retrodump/vapor_engine | 13aaf8e763a2ef775922e11860579e619402baef | 1d462d4cfa33af057f3bea0ec87d07eb91daa168 | refs/heads/master | 2021-09-03T06:57:51.782716 | 2012-06-07T00:53:16 | 2012-06-07T00:53:16 | 116,496,920 | 1 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 1,183 | h | /************************************************************************
*
* vapor3D Engine © (2008-2010)
*
* <http://www.vapor3d.org>
*
************************************************************************/
#pragma once
#ifdef ENABLE_IMAGE_STB
#include "Resources/ResourceLoader.h"
#include "Resourc... | [
"triton@e0e46c49-be69-4f5a-ad62-21024a331aea"
] | triton@e0e46c49-be69-4f5a-ad62-21024a331aea |
82ce01c6c37b00a7d2c4b2380df864ad3e4db518 | c456402dcc0a87a7a65c1efe4084638d9e0b3d96 | /lib/edd-dbg/src/windows/dbghelp.hpp | d2bed3dec8f8947b71146dbe7a775f24e6e2a8d5 | [
"MIT"
] | permissive | Try/OpenGothic | 059be5c346235f94942309e7ac07b80e8392e3cc | e70d3865887f316b458d33065fa428edf72c496e | refs/heads/master | 2023-08-29T19:04:30.564135 | 2023-08-21T22:19:42 | 2023-08-21T22:19:42 | 165,291,205 | 910 | 102 | MIT | 2023-09-08T14:16:46 | 2019-01-11T18:32:20 | C++ | UTF-8 | C++ | false | false | 4,296 | hpp | // Copyright Edd Dawson 2012
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef DBGHELP_HPP_0123_28082012
#define DBGHELP_HPP_0123_28082012
#include <windows.h>
extern "C"
{
// Some Windows types and ... | [
"try9998@gmail.com"
] | try9998@gmail.com |
d13e85550ab17612c475f1297d2e3da08c899d9e | 97568959be7a920a86f75947f9ab661b20da300f | /samples/offscreenRendering/simpleWindow.h | c4dd918d9598f8d6c0f22ee37bf55281d2848812 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | kunitsyn/saiga | 73ae6db6bc37582076691e6ffd5af048ba77da2d | 0fa540f026007f7627b764e5bf2d5e1a33d4a5e1 | refs/heads/master | 2021-01-20T22:05:20.375569 | 2017-09-10T14:42:42 | 2017-09-10T14:42:42 | 101,798,210 | 0 | 0 | null | 2017-08-29T19:21:08 | 2017-08-29T19:21:07 | null | UTF-8 | C++ | false | false | 1,085 | h | /**
* Copyright (c) 2017 Darius Rückert
* Licensed under the MIT License.
* See LICENSE file for more information.
*/
#pragma once
#include "saiga/rendering/renderer.h"
#include "saiga/world/proceduralSkybox.h"
#include "saiga/assets/all.h"
#include "saiga/assets/objAssetLoader.h"
#include "saiga/sdl/sdl_event... | [
"darius.rueckert@fau.de"
] | darius.rueckert@fau.de |
6815dee25443f7cc663fe1c2f4ec7f034bb13fd5 | 2a2ab6381e0825574fcb93e1ed6748de12498ee8 | /include/tools/AssimpImporter.h | a87cc73b289f49d3df1057f5b07ad8375d91d827 | [
"MIT"
] | permissive | Ray1184/HPMSExtra | 9a88c1c8e2adb65b50d51918d3f32fda23579cf8 | 8e3d5415b6c6370b40e0dcd49a101fac3d8a8248 | refs/heads/master | 2023-01-20T09:08:36.576298 | 2020-11-30T19:06:48 | 2020-11-30T19:06:48 | 296,121,415 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,700 | h | /*!
* File AssimpImporter.h
*/
#pragma once
#include <string>
#include <sstream>
#include <assimp/scene.h>
#include <glm/glm.hpp>
#include <glm/ext.hpp>
#include <iostream>
#include <core/StdModelItem.h>
#include <core/AdvModelItem.h>
#include <core/Material.h>
#include <core/Mesh.h>
#include <common/Utils.h>
#def... | [
"nickgreppi1184@gmail.com"
] | nickgreppi1184@gmail.com |
ac7761e65f791a9a0b6caec29b1c1469c3ea7964 | b18866e54d98b191a2c8af91e2e356533afce223 | /b5.cpp | 4503d14aed50546af217eca2c3e3dc5cf837f7b8 | [] | no_license | trongthanht3/baitapkithuatlaptrinhMTA | 49ab4e7fe1b23be62676e02dad13d7bb3b722ef9 | e2c9a825195d1c425a71e0aee58252fa1eb4d574 | refs/heads/master | 2020-07-14T04:15:06.258469 | 2019-12-31T15:00:28 | 2019-12-31T15:00:28 | 205,235,649 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 469 | cpp | #include <iostream>
#include <conio.h>
using namespace std;
void kt_doixung(int a)
{
int goc = a;
int doi = 0;
while(goc > 0) {
doi = doi*10 + goc%10;
goc = goc/10;
}
if (doi == a)
cout << "doi xung" << endl;
else
cout << "khong doi" << endl;
}
int main()
{
int a;
char chk;
d... | [
"noreply@github.com"
] | trongthanht3.noreply@github.com |
0b1efcd293d3c5ecb2501f4be32995c4e9375e2d | 9b1b0c6d0543c46a9af4446bb73567452529adbb | /src/Serialize/test/LexerTest.cpp | b9ab9c4844fc42329fd968ff278bcebd8613047f | [
"MIT"
] | permissive | Loki-Astari/ThorsSerializer | cdc6a995e063b08de40685d164c25e177e1c7701 | 98b1495022c3961b34d558f7cec2cc295dde1ef9 | refs/heads/master | 2023-08-19T04:23:43.814659 | 2023-08-08T20:59:25 | 2023-08-08T20:59:25 | 4,123,363 | 298 | 78 | MIT | 2023-07-04T22:57:18 | 2012-04-24T10:10:30 | C++ | UTF-8 | C++ | false | false | 1,355 | cpp | #include "SerializeConfig.h"
#include "gtest/gtest.h"
#include "JsonManualLexer.h"
#include "JsonLexemes.h"
using ThorsAnvil::Serialize::JsonManualLexer;
TEST(LexerTest, JsonArrayTokens)
{
std::stringstream stream("[],");
JsonManualLexer lexer(stream);
EXPECT_EQ('[', lexer.yylex());
EXPECT_EQ... | [
"Loki.Astari@gmail.com"
] | Loki.Astari@gmail.com |
e242a122cb52ec74aab147b580eed69ffe045e61 | 02a06f0ff931cd59dda969130f61d7f75fca7ff1 | /ESC Controller/ESC_Controller_CAN/ESC_Controller_CAN/ESC_Controller_CAN.ino | f62656a8d2e6140623d4381abd5b14b0c232534d | [] | no_license | UAlberta-EcoCar/MotorController_Firmware | 7657972870a6936a687539d56ecdde6a7be5c927 | 078715ac91d073945dd072018eb01a9fe74135c6 | refs/heads/master | 2020-04-15T15:22:46.501582 | 2016-05-14T21:06:11 | 2016-05-14T21:06:11 | 51,389,115 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,838 | ino | #include "esc_can.h"
#include "esc.h"
#include "sensors.h"
#include "hardware.h"
//Create objects for classes
Servo motor;
Can myCan;
Sensors mySensors;
Esc myEsc;
uint16_t curr_val = 0; // Translates voltage to current
uint16_t velocity; // Translates encoder values to speed
int enc1_val = 0; // Initiate variables t... | [
"bardwell@ualberta.ca"
] | bardwell@ualberta.ca |
591312caf06f382acda4c49ed292139b36d006cb | 53693584fcbddba5b348f993397aee66c2bfcea5 | /MustDo GFG/prefixSum.cpp | d42be0323e94130116a023a15f6994758ee041b9 | [] | no_license | dcesahil20/DSA-Cracker-Sahil | 34a83d8c9cbcd8e512c316301ec6a4652fd3445a | e86b19f1d26150f146bfd008eb82a9ee8b6d6c34 | refs/heads/main | 2023-04-13T23:38:44.837335 | 2021-05-04T15:53:01 | 2021-05-04T15:53:01 | 353,414,051 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 757 | cpp | // prefixSumLeft[i] = prefixSumLeft[i-1] + arr[i]
// prefixSumRight[i] = prefixSumRight[i+1] + arr[i]
#include <iostream>
using namespace std;
void printArr(int arr[], int n){
for(int i=0; i<n; i++){
cout << arr[i] << " ";
}
}
int main(){
int input[] = {1,3,6,10,2,1,2,3,2};
int arrsize = s... | [
"sahil@innowatts.com"
] | sahil@innowatts.com |
9ae8b85355f2e7836511b5081e341dfdd831e6b4 | d23a545857f4cbf5a89bf1dd74aa885c0eee8630 | /src/google/protobuf/testing/zcgzip.cc | 5204cf5413799377678696d9a3cc3a9960e409d9 | [
"LicenseRef-scancode-protobuf"
] | permissive | chrisvana/protobuf_copy | be316d19535db57e82bb8ac03eb0027693e5d4d6 | 8888cdc45485deee2367ac112af22d77a085a24b | refs/heads/master | 2021-01-25T06:36:55.786139 | 2015-01-06T00:53:17 | 2015-01-06T00:53:17 | 13,333,902 | 0 | 0 | null | 2014-02-11T20:39:00 | 2013-10-04T20:22:32 | C++ | UTF-8 | C++ | false | false | 2,812 | cc | // Protocol Buffers - Google's data interchange format
// Copyright 2009 Google Inc. All rights reserved.
// http://code.google.com/p/protobuf/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistri... | [
"chris.vana@gmail.com"
] | chris.vana@gmail.com |
b0ba598ab42e7b455578d7cc5f216cb1f1839a6d | ddbebb14b892bb7baccacdb61035941dd3bf0d75 | /Labs/Lab11/priority_queue.h | caca1d104a49bf5f1a67fb7e12b60c3240b498df | [] | no_license | samuelbmarks/CSCI-1200 | 04d416943ec26611184bce8ea9069a7e6faf3b22 | b177a23a1eb7678557b0032e110073c55adc6206 | refs/heads/master | 2023-02-04T19:22:14.867935 | 2020-12-28T23:31:03 | 2020-12-28T23:31:03 | 312,116,135 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,703 | h | #ifndef priority_queue_h_
#define priority_queue_h_
#include <iostream>
#include <vector>
#include <cassert>
#include <algorithm>
using namespace std;
template <class T>
class priority_queue {
private:
std::vector<T> m_heap;
public:
priority_queue() {}
priority_queue( std::vector<T> const& values )
{
m... | [
"59059975+thesammarks@users.noreply.github.com"
] | 59059975+thesammarks@users.noreply.github.com |
1f3d7f5c2babe1fe9ffce6d4fc993e15d149c98c | 85e098156370fdb3d513f20edfa8a514fe55175f | /higan/audio/stream.cpp | dc39be220111cfc34c237a84b0fbcc8a50dbb06b | [] | no_license | jeapostrophe/higan | 65efcbf70bd43ccb48cd3f8dddb7264bbef1b132 | c6fc15f8d26080b9d08e7bc029532c2f59a902ba | refs/heads/master | 2021-01-09T20:42:11.304359 | 2016-09-14T11:55:53 | 2016-09-14T11:55:53 | 62,882,832 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,102 | cpp | auto Stream::reset(uint channels_, double inputFrequency, double outputFrequency) -> void {
channels.reset();
channels.resize(channels_);
for(auto& channel : channels) {
if(outputFrequency / inputFrequency <= 0.5) {
channel.iir.resize(order / 2);
for(auto phase : range(order / 2)) {
doubl... | [
"screwtape@froup.com"
] | screwtape@froup.com |
826833005d2c7bd318b69386641630ea7f70dd39 | a3a8c5d5a600904d217d7db4e1f3994d785fbfd0 | /myknob.cpp | 6250e5202146687625fdfc01e9c363fcb55c01b1 | [] | no_license | lyhopq/test | d2b4bc2aa8f069b4dd1fd74e55232528f1dac987 | 16baa87db9b85920333d6b7848868eeb7f3973b1 | refs/heads/master | 2021-01-13T02:08:03.659300 | 2010-06-22T14:37:05 | 2010-06-22T14:37:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,562 | cpp | #include <QPainter>
#include <QFontMetrics>
#include <QRect>
#include <QMouseEvent>
#include "myknob.h"
MyKnob::MyKnob(QString _l1, QString _l2, QWidget *parent)
: QFrame(parent), l1(_l1), l2(_l2)
{
angle = 135.0;
//resize(100, 100);
isMouseOn = false;
setMinimumHeight(60);
setMouseTracking(... | [
"lyhopq@gmail.com"
] | lyhopq@gmail.com |
3b1512a1ec37591d2a24ea0ea47cce4d6a1875ad | 8c4a5cc8b283baa300bc7def50488dd9b82a692e | /item.cpp | 0a9273e80418d387b6be1c6682c3a05d92de1f7d | [] | no_license | tsubaki4242/Witch | 425e73b3efb3bc9ccd59f0dc883c937a8f65f6bf | 8895fefaa7ff82e37e104eef3a9d2f2dcf6a2abf | refs/heads/main | 2023-08-11T16:18:32.566174 | 2021-09-29T03:49:44 | 2021-09-29T03:49:44 | 411,521,181 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 10,351 | cpp | #include "stdafx.h"
#include "item.h"
HRESULT item::init(int itemMAX, float range)
{
_bulletMax = itemMAX;
_range = range;
return S_OK;
}
void item::release()
{
}
void item::update()
{
}
void item::render()
{
for (_viitem = _vitem.begin(); _viitem != _vitem.end(); ++_viitem)
{
_viitem->itemImage->frameRen... | [
"rlaals9509@daum.net"
] | rlaals9509@daum.net |
6b5b924c3e2d0f8f9a9c076daab8a6759962bb99 | 4e8a5ecca87b92545e95b761f8a8441987ee9997 | /src/qt/coincontroldialog.cpp | 64a249ae7683329c8aebd381c68a178cdfe2ac3d | [
"MIT"
] | permissive | bitbaba/stakecoin | a26dd59f1c7ce6e8072e6ae72d45e3da1b57756d | eba741d33373ba270ca83761fe4c6747122cff09 | refs/heads/master | 2021-05-12T00:19:32.215196 | 2018-04-17T04:03:44 | 2018-04-17T04:03:44 | 117,529,340 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 33,245 | cpp | #include "coincontroldialog.h"
#include "ui_coincontroldialog.h"
#include "init.h"
#include "bitcoinunits.h"
#include "walletmodel.h"
#include "addresstablemodel.h"
#include "optionsmodel.h"
#include "coincontrol.h"
#include <QApplication>
#include <QCheckBox>
#include <QClipboard>
#include <QColor>
#include <QCursor... | [
"imzhhwu@gmail.com"
] | imzhhwu@gmail.com |
8fcd3fc99cb64ac968009ced5ceaede7298a0314 | 7249f67bfb1b1c7deb1a254e608494d9a970a4af | /CAR_01/motor_ctlr.ino | ed4ef4f76631a7866ab4125106a742e6fccf8eea | [] | no_license | twinsyiu/tst_clone_3 | 592916861e1fdc2e23e0496ba9025136a0232266 | 8215247043c18c72340172ecf0bdc40870ba1b3f | refs/heads/master | 2021-01-20T22:24:14.177755 | 2017-12-03T10:05:31 | 2017-12-03T10:05:31 | 101,819,779 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,303 | ino | #include "motor_ctlr.h"
// TY: This section of definition of motor is finely trimmed and projected
// please do not change any of the motor orientation, motor connection, and i/o ports for the L298 H-bridge in1..in4
// without discuss with me
#define MOTOR_L 1
#define MOTOR_R 0
#define DIR_FWD 0
#define DIR_REV 1
#de... | [
"kendotwins@gmail.com"
] | kendotwins@gmail.com |
7b1ddefc4e2ddf955f634c498df100268dbe418e | aac8ec3f561d156f3425064843e545cdd84f4b3f | /09-array-2.0/18-string-tokenizer-implementation.cpp | b917b08fc35f57d31d4faa9a91241205a731c8ce | [] | no_license | okmd/codingblocks | 5106f9c606140e24f3a7eb2c4e393b3e13f126f1 | 07c8805dbe5d455ed1ebb1984949690840342447 | refs/heads/master | 2022-03-04T03:10:19.102060 | 2022-02-05T10:02:00 | 2022-02-05T10:02:00 | 192,055,010 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,044 | cpp | #include<iostream>
#include <cstring>
using namespace std;
char *mystrtok(char str[], char delim){
static char * input = NULL;
int i;
if(str!=NULL){
input = str; // point to str
}
if(input==NULL){
return input;
}
char *output = new char[strlen(input)+1]; // dynamic memory, will not destroy on its own
// ... | [
"md.softdeveloper@gmail.com"
] | md.softdeveloper@gmail.com |
4b807e13b379fa36c43278f103a2f8c0b0401c6a | 7be73f15f0ae1ce568b5cec160914e220673c8e0 | /Sorting_and_Searching/Distinct_Nums.cpp | 04fc861ccf87995bc798fe983dcc8d5975ab44ee | [] | no_license | ShrutiAggarwal99/CSES-Problems | aa22aba8885738fe15d40dbfed62a8a6fb6ebf8f | 33ba5587c2bfffb23bf0ca2138bb1372fbcf1a1a | refs/heads/master | 2022-08-07T09:11:10.091667 | 2020-05-25T18:52:12 | 2020-05-25T18:52:12 | 266,134,098 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 323 | cpp | #include<bits/stdc++.h>
using namespace std;
int main(){
int n,x;
cin>>n;
set<int> s; // not using unordered_set because that is giving TLE (maybe worst case scenario of O(n) reaching for some large input)
for(int i=0;i<n;i++){
cin>>x;
s.insert(x);
}
cout<<s.size();
return 0... | [
"aggshruti.99@gmail.com"
] | aggshruti.99@gmail.com |
a8e6630b193777f1397ff4f57e43fb6c5be6f385 | 1e715f84b7cba41444a624bf470579dce446255d | /BOJ/1107/1107.cpp | eb0f042dd7c1986397b6b931bd60d181adfd0606 | [] | no_license | KimYeonJun/ProblemSolving | bb82467db21fa4c5d83d0c971ed2b370ebcb934c | adeb46d8fe549f40375383862963f7cac6beae4a | refs/heads/master | 2020-11-28T08:42:29.290211 | 2020-11-18T07:08:29 | 2020-11-18T07:08:29 | 229,759,191 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,949 | cpp | /*
BOJ 1107 : 리모컨
Step1. 0~1000000 의 채널을 완전탐색한다.(N의 최대값이 500000이지만, 499999의 경우 9,8와 0이 고장났으면 477777에서 +버튼을 누르는 것(22222)보다 511111에서 -버튼을 누르는게(11111) 빠르기 때문
Step2. 각 채널에 대해서 해당 번호로 바로 이동 가능하다면 번호를 눌러서 이동한 횟수와, 100에서 +-를 눌러서 이동한 횟수를 비교하여 min값을 구한다.
Step3. 해당 채널에서 목표채널까지 차이를 Step2의 결과와 더한다.
Step4. 완전탐색을 하면서 최소값이 정답!
*/
... | [
"duswns1783@naver.com"
] | duswns1783@naver.com |
b7500750b97ba6eedaaf0582d043378e64105c4e | 3daf1a9015332acf1217b944bc7f9c763a3c3ff8 | /src/application/dialogs/register/RegisterDialog.cpp | 69e9860e7584ae502e8985054245548b606b85c0 | [
"MIT"
] | permissive | dreamplayerzhang/capture3 | d0d558205e53e8622256b895b6bffdcbe17bacfa | e4fe57d0c14e4deecddf9f1a9d19824076a49a03 | refs/heads/master | 2023-01-24T07:49:59.151413 | 2020-11-01T10:20:04 | 2020-11-01T10:20:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 177 | cpp | #include "RegisterDialog.h"
namespace Capture3
{
RegisterDialog::RegisterDialog() :
QWidget()
{
//
}
RegisterDialog::~RegisterDialog()
{
//
}
} | [
"info@madebyferdi.com"
] | info@madebyferdi.com |
cf325edcdb37a72bbea928b25f8cce5f7e9ca086 | dcf1003859d337aee88e6cc743a6f57b34338c3d | /src/main.cpp | 8171817278d7cf7076c1cb841b5206b1f223ffb9 | [] | no_license | dixx/nodemcu-rc | 5e3fc5f21d281275a81ccea140c16e24388cdec0 | f1bb829f059e4b69a4652cb4116addca9db0a56f | refs/heads/master | 2020-08-06T12:59:10.814914 | 2019-10-17T10:57:05 | 2019-10-17T10:57:05 | 212,984,436 | 0 | 0 | null | 2019-10-17T10:51:39 | 2019-10-05T10:56:50 | C++ | UTF-8 | C++ | false | false | 2,833 | cpp | #include <stdint.h>
#include "Arduino.h"
#include "Ticker.h"
#include "ESP8266WiFi.h"
#include "ESP8266HTTPClient.h"
#include "core.h"
#include "analog_input.h"
#include "digital_input.h"
#include "my_secrets.h" // <-- here goes RC_SSID and RC_WLAN_PASSWORD
DigitalInput BUTTON_1(D1);
DigitalInput BUTTON_2(D2);
AnalogI... | [
"jenzdixx@googlemail.com"
] | jenzdixx@googlemail.com |
2422ab41672ae70a40f8ba495e6b3f14c838b34f | a9c12a1da0794eaf9a1d1f37ab5c404e3b95e4ec | /pricingengine/OptionParams.cpp | 1641b5362f3c80ddd81d7570d0de8223586517b1 | [] | no_license | shzdtech/FutureXPlatform | 37d395511d603a9e92191f55b8f8a6d60e4095d6 | 734cfc3c3d2026d60361874001fc20f00e8bb038 | refs/heads/master | 2021-03-30T17:49:22.010954 | 2018-06-19T13:21:53 | 2018-06-19T13:21:53 | 56,828,437 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 154 | cpp | #include "OptionParams.h"
const std::string OptionParams::riskFreeRate_name("risk_free_rate");
const std::string OptionParams::dividend_name("dividend"); | [
"rainmilk@gmail.com"
] | rainmilk@gmail.com |
7d99e2faf9007961cc17d718929e51e426be588d | 81b9b8ae0e9cc6cf320a95cf373594599d81fe12 | /Tools/Delta/Common/Include/DeltaUnparsedCallsInStmt.h | 69c3cdcbb80165f8a091bccb30d21b18fdc62ed8 | [] | no_license | mouchtaris/delta-linux | 1041b9dcc549bda2858dcedbc61087bb73817415 | cca8bd3c1646957cb3203191bb03e80d52f30631 | HEAD | 2016-09-01T19:28:43.257785 | 2014-09-02T05:00:54 | 2014-09-02T05:00:54 | 23,297,561 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,822 | h | // DeltaUnparsedCallsInStmt.h
// Part of program debug information.
// Information for all function calls of a sttmt in unparsed form.
// Defined mainly to support selective step-in.
// ScriptFighter Project.
// A. Savidis, September 2008.
//
#ifndef DELTAUNPARSEDCALLSINSTMT_H
#define DELTAUNPARSEDCALLSINSTMT... | [
"lilis@09f5c9fd-6ff0-f344-b9e4-4de1b5e69ea1"
] | lilis@09f5c9fd-6ff0-f344-b9e4-4de1b5e69ea1 |
cc1a272a828a302ada317245060e14843dfde520 | f50da5dfb1d27cf737825705ce5e286bde578820 | /Temp/il2cppOutput/il2cppOutput/System_Xml_System_Xml_XmlTextWriter_StringUtil420425683.h | 59e13a9abd80380521d2e17473dacca9da7894eb | [] | no_license | magonicolas/OXpecker | 03f0ea81d0dedd030d892bfa2afa4e787e855f70 | f08475118dc8f29fc9c89aafea5628ab20c173f7 | refs/heads/master | 2020-07-05T11:07:21.694986 | 2016-09-12T16:20:33 | 2016-09-12T16:20:33 | 67,150,904 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,780 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
// System.Globalization.CultureInfo
struct CultureInfo_t3603717042;
// System.Globalization.CompareInfo
struct CompareInfo_t4023832425;
#include "mscorlib_System_Object837106420.h"
... | [
"magonicolas@gmail.com"
] | magonicolas@gmail.com |
5f189039fe80a00bf295258053e7a20f100d2149 | 58f46a28fc1b58f9cd4904c591b415c29ab2842f | /chromium-courgette-redacted-29.0.1547.57/chrome/browser/chromeos/external_metrics.cc | 16b4963efc4664e98a34be23a18349947e2ae1fb | [
"BSD-3-Clause"
] | permissive | bbmjja8123/chromium-1 | e739ef69d176c636d461e44d54ec66d11ed48f96 | 2a46d8855c48acd51dafc475be7a56420a716477 | refs/heads/master | 2021-01-16T17:50:45.184775 | 2015-03-20T18:38:11 | 2015-03-20T18:42:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,176 | 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/chromeos/external_metrics.h"
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/fil... | [
"Khilan.Gudka@cl.cam.ac.uk"
] | Khilan.Gudka@cl.cam.ac.uk |
77ddf0d4bd94d1f2745db56b129667a10b2513fd | 2fff83d018d0b022bab9797c7fb13711b1d9accf | /libtensor/expr/dag/node_scale.h | 359a0ed2ce1a9de80be05cbd0016215c0c12d571 | [
"BSL-1.0"
] | permissive | epifanovsky/libtensor | cd0ace467cf77ae8762df078d09116dd9ceaeb61 | 0e82b4f07adf0eb1d6a617d93e9deb6f43d24ede | refs/heads/master | 2023-05-31T14:33:24.385530 | 2021-02-24T20:12:47 | 2021-02-24T20:12:47 | 51,388,786 | 35 | 14 | BSL-1.0 | 2023-04-27T12:24:44 | 2016-02-09T18:30:03 | C | UTF-8 | C++ | false | false | 940 | h | #ifndef LIBTENSOR_EXPR_NODE_SCALE_H
#define LIBTENSOR_EXPR_NODE_SCALE_H
#include "node.h"
namespace libtensor {
namespace expr {
/** \brief Tensor expression node: scaling
Scaling multiplies the left-hand-side (first argument, node_ident)
by a constant factor (second argument, node_const_scalar).
\sa ... | [
"epif@q-chem.com"
] | epif@q-chem.com |
428be699e509005b799187fdd736b4b16f635102 | 895e2a73a0e7f9a4380cde464b1907654ae43b3c | /arquivos_exemplo/17-estrutuda_de_dados-listas_encadeadas/53-ListaEncadeada.cpp | 66e5b37d9380902de3ccabcfff055ca28e3f6c96 | [] | no_license | brcabral/curso_c_cpp | 94747f1a78d1a9be98bda2cca0e890f31382c970 | 6c7418b66a4f1859da9fe2b705fc3e074356857c | refs/heads/master | 2021-07-01T07:44:45.322449 | 2020-08-19T02:38:42 | 2020-08-19T02:38:42 | 133,731,843 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,630 | cpp | #include <stdlib.h>
#include <new>
#include <string>
#include <iostream>
using namespace std;
struct Pessoa {
int rg;
string nome;
struct Pessoa *proximo;
};
void limparTela() {
system("clear");
}
int retornaTamanhoLista(Pessoa *ponteiroEncadeado) {
int tamanho = 0;
Pessoa *p = ponteiroEncad... | [
"brcabral@gmail.com"
] | brcabral@gmail.com |
dfbc01142871da1a4efddc5d64256c3b60375065 | b36f676c9cd93a431febf7ef6a8ceee9b453e565 | /subarraysumm.cpp | c5d515a36f2bdf5b20ef3a7330689064db7e1e0f | [] | no_license | HarshitShukla25/leetcode-solutions | 48c6b8b3deab5f51b3d932c2b17d5dc52113659e | 7c107c1c7b3358cd3d1f56445f624bf84714b33c | refs/heads/master | 2022-12-07T10:01:21.701966 | 2020-08-26T16:53:59 | 2020-08-26T16:53:59 | 268,213,509 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 679 | cpp |
Subset Sum (Not subarray)
1. Backtracking
isSS(set,n,sum) = isSS(set,n-1,sum) || isSS(set,n-1,sum-set[n-1])
2. DP
ek side no. of elements doosre side sum
int dp[n+1][sum+1];
for(int i=0;i<n;i++)
dp[i][0]=true // zero sum hai to always true hoga
dp[0][i]= false;
but dp[0][0] =true;
dp[i][j] = dp[i-1][j] || dp[i-... | [
"harshitshukla.eee18@itbhu.ac.in"
] | harshitshukla.eee18@itbhu.ac.in |
6b248a671befe309aee7ba7e90633f8579d7af4d | a39b242d3a07b4611c8ca2b050f9ddd51496d2c8 | /My Carrots.cpp | 887ae4fcab14c3ade20951827bd4cc374e69ff7e | [] | no_license | abdullahalrifat/contest | 28b14c92894d5f388fe7182426980a5dc84795a8 | 063fda623cb9f5f020cc1ac7195e63344497e33f | refs/heads/master | 2020-12-20T16:41:16.049119 | 2019-06-26T11:51:12 | 2019-06-26T11:51:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 397 | cpp | #include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;
int main() {
int x1,y1,x2,y2;
cin >> x1 >> y1 >> x2 >> y2;
int ans;
if(x1==y1 && x2==y2){
ans=abs(x1-y2)-1;
}else if(x1==x2){
ans=abs(y1-y2)-1;
}else if(y1==y2){
ans=abs(... | [
"mimtiaze@gmail.com"
] | mimtiaze@gmail.com |
75d0092970cd535111a8400a4e6220c3203bd680 | b0dd7779c225971e71ae12c1093dc75ed9889921 | /libs/thread/test/test_barrier.cpp | 0d4d9fe704ac1f3a720b1d4068c30dcb1c56a30e | [
"LicenseRef-scancode-warranty-disclaimer",
"BSL-1.0"
] | permissive | blackberry/Boost | 6e653cd91a7806855a162347a5aeebd2a8c055a2 | fc90c3fde129c62565c023f091eddc4a7ed9902b | refs/heads/1_48_0-gnu | 2021-01-15T14:31:33.706351 | 2013-06-25T16:02:41 | 2013-06-25T16:02:41 | 2,599,411 | 244 | 154 | BSL-1.0 | 2018-10-13T18:35:09 | 2011-10-18T14:25:18 | C++ | UTF-8 | C++ | false | false | 1,970 | cpp | // Copyright (C) 2001-2003
// William E. Kempf
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#include <boost/thread/detail/config.hpp>
#include <boost/thread/thread.hpp>
#include <boost/thread/barr... | [
"tvaneerd@rim.com"
] | tvaneerd@rim.com |
ce1ff1cb6e12111a109a90fe944748be96bb35cc | 7aa5b7134c72245d67654930f9f773c14d542bb2 | /luis/WaterRecognition/backup files/main-BETA-54.cpp | 27d088e5465cfccfbb429bfa15dab4af6272bfb3 | [
"BSD-3-Clause"
] | permissive | shantanu-vyas/crw-cmu | 2b226552e39db0906e231e85c8a086ebcb380255 | db2fe823665dbd53f25e78fa12bc49f57d4b63aa | refs/heads/master | 2021-01-19T18:07:29.549792 | 2013-08-12T19:26:16 | 2013-08-12T19:26:16 | 11,484,469 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 25,920 | cpp | /*
* File: main.cpp
* Author: pototo
*
* Created on June 3, 2011, 10:28 AM
*
* This program recognizes the water in front of the boat by using ground
* plane detection techniques already available. This will look for the pixels
* from the boat, and go up the image until it finds the vector plane the repre-... | [
"shantanusvyas@gmail.com"
] | shantanusvyas@gmail.com |
6a9442538583adbb7a86d4feaabae2b288e95dee | 409c250027c33b8c5fe755bb7e74b7acd441508a | /src/data_object.hpp | 633c39826a96d95869c0c5ad0b1dca4d16f921d5 | [
"MIT"
] | permissive | jshuffak/A-LITTLE-Compiler | 5327e514af1334be37b8b5eb5543bb95bb524550 | 409aaafc57fe0bb396a06ca89ea2ced2bf020d07 | refs/heads/master | 2021-06-08T23:22:01.374175 | 2016-12-09T23:42:31 | 2016-12-09T23:42:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,513 | hpp | #ifndef _DATA_OBJECT_H_
#define _DATA_OBJECT_H_
#include "symbol.hpp"
#include "operand.hpp"
#include "iri.hpp"
#define half_expr_t std::pair<int ,DataObject*>
#define half_expr_is_valid(half) \
((half).second !=0 )
class LittleParser;
// This class is a dataobject. It is meant to represent the type and name of ... | [
"coltere@purdue.edu"
] | coltere@purdue.edu |
1aa9baa68278526eef81a6e6625adc3fd037882d | 297f48301c84586dd162ed31e3e4ce6ce0b5f47c | /adc_tlm_model/barrera@linda.rhrk.uni-kl.de/tb/offset_gain_tb.cpp | 12662f5a0a68272169baef25740d5c38bb91aee8 | [] | no_license | sebslee/virtual_prototyping | e85639d1482b89ba00d3afb5447cee0e8563c82e | d77cca0def1b51bd7f4979400f4a3481762a16ea | refs/heads/master | 2021-01-23T07:43:51.035792 | 2017-10-26T20:34:06 | 2017-10-26T20:34:06 | 102,514,297 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,552 | cpp | //Created by Sebastian Lee
// Simple test bench for offset and gain modules..
#include "systemc-ams.h"
#include "../../exercise_2/src/wave_sine.cpp"
#include "../src/gain_stage.cpp"
#include "../src/offset.cpp"
class dummy : public sca_tdf::sca_module{
public :
sca_tdf::sca_out<double> offset_out;
sca_tdf::sca_o... | [
"sbslee@gmail.com"
] | sbslee@gmail.com |
316b8fb19024cdf94eeb7ae2544b41445b16f801 | 53c90fcd687b7698617177b170287a73366f5153 | /irohad/ametsuchi/impl/postgres_specific_query_executor.cpp | 55ede6f044fd695163360eaf1515d2c88bc68860 | [
"CC-BY-4.0",
"Apache-2.0"
] | permissive | schannamallu/iroha | dbe677a29c7ac639505318836c047bf4c0d02c92 | bd0dd42b817af3cd71f45bfb0fd47499f9170367 | refs/heads/master | 2020-06-30T01:05:48.916066 | 2019-08-05T11:34:06 | 2019-08-05T11:35:32 | 200,674,915 | 0 | 0 | null | 2019-08-05T14:47:52 | 2019-08-05T14:47:52 | null | UTF-8 | C++ | false | false | 56,323 | cpp | /**
* Copyright Soramitsu Co., Ltd. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
#include "ametsuchi/impl/postgres_specific_query_executor.hpp"
#include <boost/algorithm/string/classification.hpp>
#include <boost/algorithm/string/split.hpp>
#include <boost/format.hpp>
#include <boost/range/adaptor... | [
"lebdron@gmail.com"
] | lebdron@gmail.com |
48b921f27a019f4c142213b12d785d7edde4c350 | 97790b82f556c639173a54ad6aab498f5db62017 | /list_h.h | f1df38732fa9a09e25189053df717281e350aa7a | [] | no_license | Fedya1998/libs | 5274a2cdfa42de403e7fdc243e9ac99369c08ade | 55ee038eb09fe2a9a45bc5d2616a6fd2b55f2f53 | refs/heads/master | 2021-01-01T17:30:46.160651 | 2017-08-30T10:40:52 | 2017-08-30T10:40:52 | 98,092,840 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 180 | h | //
// Created by fedya on 23.07.17.
//
#ifndef GAME_LIST_H_H
#define GAME_LIST_H_H
#endif //GAME_LIST_H_H
template<typename T>
class List_Elem;
template<typename T>
class List; | [
"fedor.chuprakov@mail.ru"
] | fedor.chuprakov@mail.ru |
8060c19534e2867057159c2c0c48b539ceac1ede | 3a7adfdcf7a5048045c8e95a93369a1796cfd532 | /nixio/test/xcompat/readblocks.cpp | 4890fefe104c4e285de801b4e91b7e299183ae41 | [
"BSD-3-Clause"
] | permissive | theGreenJedi/nixpy | e06025077d5d224a7d051532ebfbd48845339c58 | 40b5ecdaa9b074c7bf73137d1a94cb84fcbae5be | refs/heads/master | 2022-02-01T15:14:22.133157 | 2019-06-03T09:10:57 | 2019-06-03T09:10:57 | 197,896,640 | 1 | 0 | null | 2019-07-20T07:37:03 | 2019-07-20T07:37:02 | null | UTF-8 | C++ | false | false | 736 | cpp | #include "testutil.hpp"
#include <nix.hpp>
int main(int argc, char* argv[]) {
if (argc != 2) {
std::cerr << "Please specify a nix file (and nothing else)" << std::endl;
return 1;
}
std::string fname = argv[1];
nix::File nf = nix::File::open(fname, nix::FileMode::ReadOnly);
int idx ... | [
"achilleas.k@gmail.com"
] | achilleas.k@gmail.com |
ef84978204f34c7bd3ac7bcc847efdc05a4813fa | 944079085751d03a9013d75060515c04aed9fff9 | /src/BlockList.h | 56ab8d4e3512e52313801976b6ac8aec511c3a26 | [] | no_license | EnterCheery/RCCT-1 | fee4485c26f8415aee22a94307909a05230cec06 | 147cc05ba3ba4454c86f9b429f09df6c3bde5c0c | refs/heads/main | 2023-02-25T22:53:35.016194 | 2021-01-29T05:10:50 | 2021-01-29T05:10:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 550 | h | #pragma once
#include <vector>
#include "Block.h"
using namespace std;
class BlockList
{
public:
vector<Block> FuncBlockList; //store all the blocks in one function model;
public:
void insert(Block block); //insert one block to the list
int find(string block_name); //return the block according to its name
Blo... | [
"leibo@hust.edu.cn"
] | leibo@hust.edu.cn |
30a9b1433660094ad5d3f095186f359832b2cb95 | 0379dd91363f38d8637ff242c1ce5d3595c9b549 | /windows_10_shared_source_kit/windows_10_shared_source_kit/10_1_14354_1000/Source/Tests/Graphics/Graphics/DirectX/d3d/conf/Viewports/ScissorPosition.cpp | 1d4b21d5e2ab5a41fedd764307398ef935babf50 | [] | no_license | zhanglGitHub/windows_10_shared_source_kit | 14f25e6fff898733892d0b5cc23b2b88b04458d9 | 6784379b0023185027894efe6b97afee24ca77e0 | refs/heads/master | 2023-03-21T05:04:08.653859 | 2020-09-28T16:44:54 | 2020-09-28T16:44:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,225 | cpp | #include "ScissorPosition.h"
BEGIN_NAMED_VALUES( ScissorPositions )
NAMED_VALUE( _T( "LARGER_THAN_TARGET" ), LARGER_THAN_TARGET )
NAMED_VALUE( _T( "OFF_TARGET" ), OFF_TARGET )
END_NAMED_VALUES( ScissorPositions )
void ScissorPosition::InitTestParameters()
{
m_bUseIndex = true;
testfactor::RFact... | [
"benjamin.barratt@icloud.com"
] | benjamin.barratt@icloud.com |
9956e3ec2fb81d7ef26e5f9c35b1f6f021e64b7c | 484e5e138dcd7d362cd045a73fee8bedd69d5cb1 | /ElectronTCPandOTATest.cpp | 147ce66d3077980655e18e0ee5f54e60896b6e69 | [
"MIT"
] | permissive | rickkas7/ElectronTCPandOTATest | 55a841ada4ace74e07403288ac6ec2ed2f023430 | efe9757b8c8140ea1a445d34c93c78c3c8b11cd6 | refs/heads/master | 2020-03-07T01:53:17.135016 | 2018-03-29T10:29:33 | 2018-03-29T10:29:33 | 127,195,554 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 505 | cpp | #include "Particle.h"
#include "TCPTester.h"
// ALL_LEVEL, DEBUG_LEVEL
SerialDebugOutput debugOutput(9600, ALL_LEVEL);
SYSTEM_THREAD(ENABLED);
TCPTester tcpTester(IPAddress(65, 19, 178, 42), 7123);
const unsigned long CHECK_PERIOD_MS = 1000;
unsigned long lastCheck = 0;
void setup() {
Serial.begin(9600);
tcpTest... | [
"rickk@rickk.com"
] | rickk@rickk.com |
1ef6b0155affadf40fe2ee80ca1204131e797260 | 18a784a631b0a54676e9d1d82af6aeb9622ac573 | /test/test_c_timer_framework.cpp | 47aa0aa9476ee146108650b6936cef867dd22b8c | [
"MIT"
] | permissive | apmorton/etl | 792d472d577a419daaf01f3d66ca9ff7d76761b2 | 08a52159f41f6295f4375b2a56152e4fa32690a1 | refs/heads/master | 2021-09-23T07:20:55.143370 | 2018-04-14T12:27:48 | 2018-04-14T12:27:48 | 116,849,571 | 0 | 0 | null | 2018-01-09T17:42:19 | 2018-01-09T17:42:19 | null | UTF-8 | C++ | false | false | 20,313 | cpp | /******************************************************************************
The MIT License(MIT)
Embedded Template Library.
https://github.com/ETLCPP/etl
https://www.etlcpp.com
Copyright(c) 2017 jwellbelove
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associat... | [
"github@wellbelove.co.uk"
] | github@wellbelove.co.uk |
0c6c300f319e1b08282a34c73de67284af64ca15 | 0453c761e303ebecdcde78ddf8903982f75b4c8f | /Fibers/FiberScheduler.cpp | 2c756ed972d9c0911ef99ab5069c253661f4da6f | [] | no_license | tumbris/Fibers | b46cb86bd26ef132bc291182af1d4e4a0b95f3b1 | 67e70267dd2900e874c3c8025a9d7a3a5c9c62b8 | refs/heads/master | 2020-11-24T16:40:13.533393 | 2019-12-15T21:47:58 | 2019-12-15T21:47:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 761 | cpp | #include "FiberScheduler.h"
#include "Fiber.h"
#include <algorithm>
#include <cassert>
namespace fibers
{
FiberScheduler::FiberScheduler()
: m_fiberToDelete(nullptr)
{
}
Fiber* FiberScheduler::getNext()
{
Fiber* thisFiber = this_fiber::getThisFiber();
auto it = std::find_if... | [
"sergsy.gerashenko@gmail.com"
] | sergsy.gerashenko@gmail.com |
e3aa7934181b1577aa3c11298cd458a0b3b56b86 | 5baf591dfd275e396684e03e90be27bd8955752d | /C++/SquareOfAstrisks.cpp | d976ae17704026bb7fe86e96d1858df208e4f271 | [] | no_license | sydturn/UniversityAssignments | f6ed56ec44230ce91736836643588a2e89b109b8 | 247417f11fab701ea81b8a8b48949a97a92244df | refs/heads/master | 2021-01-09T20:22:47.533687 | 2017-02-08T03:15:52 | 2017-02-08T03:15:52 | 81,281,831 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 473 | cpp | /*
Sydney Turnbull
Assignment 1 Question 4.26
*/
#include <iostream>
using namespace std;
int main() {
int size{0};
cout << "Enter the size of the sides of the square: ";
cin >> size;
for (int i = 0; i < size; i++) {
for (int j = 0; j < size; j++) {
if (i > 0 && i < size - 1 && j !=... | [
"turnbull.sydney@gmail.com"
] | turnbull.sydney@gmail.com |
80a279b4d323055dccafe9866826f7dfbc89d109 | fac52aacf1a7145d46f420bb2991528676e3be3f | /SDK/Cal_50BMG_5pcs_classes.h | 056b8d53468027f2da236d2c53dc85adcb593579 | [] | 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 | 626 | h | #pragma once
// Name: SCUM, Version: 4.20.3
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Classes
//---------------------------------------------------------------------------
// BlueprintGeneratedClass Cal_50BMG_5pcs... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
d7f621a4d19c7fe83dd36e33742fc0371639ee27 | ba5a03c4b1a47203f2e3fd339a7deaeb21a28877 | /integration/RKC/actual_integrator.H | 9ac7a05db62b80372f0cc863191c541d1d3484ac | [
"BSD-3-Clause"
] | permissive | maxpkatz/Microphysics | f65ec154e4e846046273dd779c7887fd65b9e4da | bcf06921ae6144e0f1d24ceb8181af43357e9f84 | refs/heads/master | 2023-08-30T13:51:38.678408 | 2023-06-01T12:00:11 | 2023-06-01T12:00:11 | 160,952,852 | 1 | 0 | NOASSERTION | 2022-03-12T16:24:44 | 2018-12-08T15:36:24 | Jupyter Notebook | UTF-8 | C++ | false | false | 4,417 | h | #ifndef actual_integrator_H
#define actual_integrator_H
#include <iomanip>
#include <network.H>
#include <burn_type.H>
#include <eos_type.H>
#include <eos.H>
#include <extern_parameters.H>
#include <rkc_type.H>
#include <rkc.H>
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE
void actual_integrator (burn_t& state, Real dt)
... | [
"noreply@github.com"
] | maxpkatz.noreply@github.com |
5b8d273eb7cb278c9f73aa7cc532b09d3fbb2662 | 5df66b7c0cf0241831ea7d8345aa4102f77eba03 | /Carberp Botnet/source - absource/pro/all source/Locker/src/privileges.h | 8025949b43b0082153a8ecef7d7fad4a2979eb4b | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | bengalm/fireroothacker | e8f20ae69f4246fc4fe8c48bbb107318f7a79265 | ceb71ba972caca198524fe91a45d1e53b80401f6 | refs/heads/main | 2023-04-02T03:00:41.437494 | 2021-04-06T00:26:28 | 2021-04-06T00:26:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 233 | h | #ifndef UUID_67CC7598B46343D4B3E09E57633401CB
#define UUID_67CC7598B46343D4B3E09E57633401CB
struct ScopedDebugPrivilege
{
ScopedDebugPrivilege();
~ScopedDebugPrivilege();
bool Enabled();
private:
bool m_enabled;
};
#endif | [
"ludi@ps.ac.cn"
] | ludi@ps.ac.cn |
a22f3d0162a2e9833274b51a44288b1216e41b4a | 3c167ba443a26340be24560ff55a01ab14408103 | /Source/ALSV4_CPP/Public/Character/Animation/BMCharacterAnimInstance.h | 911fd41ea76594183d6337437de7b8d5b8dea54b | [
"MIT"
] | permissive | razor950/ALSV4_CPP | 97613ad652eb84bc646adbeef3cdef75a1f68b81 | a7372d4d821ed5c4d71b927ebe6ab8cf50c04bae | refs/heads/master | 2022-07-02T07:59:19.745089 | 2020-05-07T19:50:04 | 2020-05-07T19:50:04 | 263,211,445 | 2 | 0 | NOASSERTION | 2020-05-12T02:26:43 | 2020-05-12T02:26:43 | null | UTF-8 | C++ | false | false | 24,042 | h | // Copyright (C) 2020, Doga Can Yanikoglu
#pragma once
#include "CoreMinimal.h"
#include "Animation/AnimInstance.h"
#include "Library/BMCharacterEnumLibrary.h"
#include "BMCharacterAnimInstance.generated.h"
class ABMBaseCharacter;
class UCurveFloat;
class UAnimSequence;
class UCurveVector;
USTRUCT(BlueprintType)
s... | [
"dcyanikoglu@gmail.com"
] | dcyanikoglu@gmail.com |
7c2752332a776af1f72ac22a8df152c28da18ae0 | 774ceaeaaf31df44b3a0429c815d63c7aba015ae | /MiniGolfProject/Project1/src/ResourceManager.h | 96b0180e7f47431e984aeefa09204bcfc720f80d | [] | no_license | hamencheez/CMPS164_Engine | 11bf12e2335058067ea5a5236f5e049461d4e817 | f837117a814ecc8472cf1bd9460ee42d9656f4fa | refs/heads/master | 2021-01-01T19:42:49.996529 | 2013-06-10T23:59:51 | 2013-06-10T23:59:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,270 | h | //ResourceManger.h
#pragma once
#include <iostream>
#include <fstream>
#include <vector>
#include <string>
#include <map>
#include "Tee.h"
#include "Cup.h"
#include "Ball.h"
#include "Physics.h"
#include "Vector3.h"
using namespace std;
class ResourceManager {
private:
vector<Tile> tiles;
... | [
"jbarrica@ucsc.edu"
] | jbarrica@ucsc.edu |
9994b1363d4c8e0664d3b3b88ba30b8a1b3b1658 | 41a0fa3b6fa55f2c278e06718a04ad38e645dfa0 | /codechef/PROBDIFF.cpp | e968d38d8ffab09ca0978e9bd8c102a787468dda | [] | no_license | sharmarajdaksh/cp | d3a42bca8349fd958f2a3f19a173980d4aa94e44 | c0f900e14a4f502c647b0f40c2b00871e2fd43de | refs/heads/master | 2023-07-28T22:04:02.357209 | 2021-09-13T14:59:50 | 2021-09-13T14:59:50 | 277,243,723 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 505 | cpp | #include<bits/stdc++.h>
using namespace std;
int main() {
int t;
cin >> t;
while (t--) {
unordered_set<int> questions;
int tmp;
vector<int> freq(10, 0);
int max_freq = 0;
for (int i = 0; i < 4; i++) {
cin >> tmp;
freq[tmp - 1]++;
max_freq = max(max_freq, freq[tmp - 1]);
}
int ans;
if (ma... | [
"sharmarajdaksh@gmail.com"
] | sharmarajdaksh@gmail.com |
a1e9d6fa7ed3d736c269108a29a1d806f259b4b7 | 20fdb0563cc5401b9608966b8b0bd695710c053b | /SignalsPs/SignalsPs.h | fe42ed735fb79bf4aced63b1ec53a286759afd14 | [] | no_license | Kuznetsov-Mikhail/Information_Technology | df1b025cf6558b3fd1936fc07c76d6cea5ccab3a | 481fdbb39b40c49b7ea64cd85bf1db85e802ebf1 | refs/heads/master | 2023-02-01T23:46:56.326072 | 2020-12-22T22:58:56 | 2020-12-22T22:58:56 | 298,621,410 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 622 | h |
// SignalsPs.h: главный файл заголовка для приложения PROJECT_NAME
//
#pragma once
#ifndef __AFXWIN_H__
#error "включить pch.h до включения этого файла в PCH"
#endif
#include "resource.h" // основные символы
// CSignalsPsApp:
// Сведения о реализации этого класса: SignalsPs.cpp
//
class CSignalsPsApp : public... | [
"Freddy152@ya.ru"
] | Freddy152@ya.ru |
585cdde1daa2bc2f24f80cf906b5bf696ce59056 | 735a3a4b486b6f925471006ea00a75c40a24bbb5 | /src/detection.cc | 77237cbb73edd7e19dfad893cc697076d5504394 | [
"MIT"
] | permissive | juandez87/ELMA-Rasp-detection | 3c7e7d3d53817a825c47d6073455e3798b220a1b | 8789d2e762e9e53955ebcc9a2393d13560f9f4ab | refs/heads/master | 2020-04-28T01:57:22.105345 | 2019-03-26T13:34:46 | 2019-03-26T13:34:46 | 174,879,765 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,340 | cc | #include <chrono>
#include <vector>
#include "detection.h"
#include <wiringPi.h>
#include <softPwm.h>
// Pins definition
#define TRIG 7
#define ECHO 0
#define RED 1
#define BLUE 3
#define GREEN 2
#define PWM 4
//#include "user_interface.h"
using namespace std::chrono;
using namespace elma;
using namespace stopwatc... | [
"juandez87@gmail.com"
] | juandez87@gmail.com |
3abc71f9c695b732ea34f70fe1d11b2183438fc5 | fd931b240b10e9753d9eee9a699dcab5226e8061 | /build/build.cpp | 8ee82807d367955e24e44219876729fcbadcc501 | [] | no_license | CGCL-codes/DGraph | 1418808c57f867649503b32be526f9a7c8150fef | 685f8ae1811127db7f8b2a7a93252dd3cbb6c250 | refs/heads/master | 2021-01-22T07:22:26.539454 | 2017-02-13T00:54:19 | 2017-02-13T00:54:19 | 81,809,539 | 11 | 8 | null | null | null | null | UTF-8 | C++ | false | false | 17,573 | cpp | #include "build.h"
#include "pathgraph.h"
using namespace std;
ID N = 0; // maxid
/*
* Build scc
*/
//build scc output
vector<Vtx*> vtxs;
vector<SCC_Vtx*> scc_vtxs;
vector<SCC_Vtx*> vtx_to_scc;
//tarjan global parameter
stack<Vtx*> scc_stk, scc_buff;
//QuickStack<Vtx*> scc_stk, scc_buff;
vector<ID> dfn, low;
ve... | [
"jimmyshi@tencent.com"
] | jimmyshi@tencent.com |
d40a27b7bf882301cfff28533b60a88a4b54f534 | 0b203dfcb7e1328756b13f2aad1dd229b3d5f91c | /cameraview.h | 48fc26f5c558ea95dbe904dae2759b4d64a11327 | [] | no_license | milan-vahala/MyQtOpenGL | 334c67e122c5e7a3f642cd815399e277aa43789e | b0b7b4b9bf230871f59087692d194158d6f9d275 | refs/heads/master | 2020-05-07T19:13:49.862133 | 2019-04-15T10:55:29 | 2019-04-15T10:55:29 | 180,803,740 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 646 | h | #ifndef CAMERAVIEW_H
#define CAMERAVIEW_H
#include <QVector2D>
#include "position.h"
class CameraView
{
public:
CameraView(QVector<Triangle>* aFloor);
float getVerticalAngle() const;
void turnVerticaly(float turnAngle);
bool step(float stepSize);
void turnHorizontaly(float turnAngle);
floa... | [
"milan.vahala@gmail.com"
] | milan.vahala@gmail.com |
3356da6856764440e3cb81f506547171f8d2dd23 | 90a72f0f05ff5b2ec722a29660e64b6469de4852 | /tensorflow/core/kernels/mkl_identity_op.cc | e138cc2e959550cc3aaf4092e48f7289c670a32f | [
"Apache-2.0"
] | permissive | wodesuck/tensorflow | 179a28103f15a7cfc2ef9a6f0f09034bda1f4713 | a610b34f806ee0e0f33e4f94ee512d7affd44de6 | refs/heads/master | 2021-01-20T15:17:50.576377 | 2017-05-09T12:11:19 | 2017-05-09T12:11:19 | 90,740,794 | 1 | 0 | null | 2017-05-09T12:11:20 | 2017-05-09T12:01:01 | C++ | UTF-8 | C++ | false | false | 2,409 | cc | /* Copyright 2015 The TensorFlow 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 by applicable law or a... | [
"vrv@google.com"
] | vrv@google.com |
92a121544859ad8f2f80d77f3f7f665af826fc03 | 7b21fed18a6d518aab1ca380fd9ba30a93c1b6aa | /Projects/Reflectpp/include/details/custom/sequence_container_vector.h | 908259bc37e238aff7aff47c0372b7c677f38c72 | [
"BSD-3-Clause"
] | permissive | Nohzmi/Reflectpp | a16b00e15e30df7fdc84c3f5559d92a9458bb06a | 35a340f277ef374c9f9aeef89849918fdf7c2848 | refs/heads/master | 2023-03-05T09:16:08.481317 | 2021-02-16T22:43:02 | 2021-02-16T22:57:44 | 270,348,458 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 592 | h | // Copyright (c) 2020, Nohzmi. All rights reserved.
/**
* @file sequence_container_vector.h
* @author Nohzmi
* @version 1.0
*/
#pragma once
#include <vector>
#include "details/custom/sequence_container.h"
namespace reflectpp
{
namespace details
{
template<typename T>
struct sequence_containe... | [
"parant.maxime.contact@gmail.com"
] | parant.maxime.contact@gmail.com |
63af5507595f7ef0887f4e49be19132e6029d6c4 | c0c7460629dfcba09f1bebf0bb919d3371a97f7f | /3/31.cpp | fa074eb4dca9db96ff6558dee0641844187e62ed | [] | no_license | Warasar/c01begin | fa9c57213b587d73b61a6dbad45462c5559f8af6 | a3bcde8d758ee0862ba5ab2503c2165b58f93603 | refs/heads/master | 2022-09-09T12:50:24.637860 | 2020-05-19T07:45:11 | 2020-05-19T07:45:11 | 262,260,565 | 0 | 0 | null | 2020-05-08T07:50:07 | 2020-05-08T07:50:06 | null | UTF-8 | C++ | false | false | 355 | cpp | #define _USE_MATH_DEFINES
#include <iostream>
#include <cmath>
using namespace std;
int main() {
double s, s1, s2, s3, r;
cin >> r;
s = (r + r) * (r + r); //площадь квадрата
s1 = M_PI * r * r; //площадь круга
s2 = (s - s1) / 4; //верхний угол
s3 = r * r; //нижний угол
cout << s2 + s3 << endl;
} | [
"noreply@github.com"
] | Warasar.noreply@github.com |
8d418f286fe665b28953280a2d778c99ab8dfaab | f81b774e5306ac01d2c6c1289d9e01b5264aae70 | /ash/home_screen/drag_window_from_shelf_controller_unittest.cc | 0c9e56179fbe5c85818b4f3487c8ff2b48f1816d | [
"BSD-3-Clause"
] | permissive | waaberi/chromium | a4015160d8460233b33fe1304e8fd9960a3650a9 | 6549065bd785179608f7b8828da403f3ca5f7aab | refs/heads/master | 2022-12-13T03:09:16.887475 | 2020-09-05T20:29:36 | 2020-09-05T20:29:36 | 293,153,821 | 1 | 1 | BSD-3-Clause | 2020-09-05T21:02:50 | 2020-09-05T21:02:49 | null | UTF-8 | C++ | false | false | 55,796 | cc | // Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ash/home_screen/drag_window_from_shelf_controller.h"
#include "ash/app_list/test/app_list_test_helper.h"
#include "ash/app_list/views/app_list_... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
26b716953b0255b0a7863a9e3d6d3088c69509c0 | 45274690d003df4477bc88d77355276d9b8bb9b0 | /geeks_for_geeks/strings/brackets.cpp | 5b82209a79a7daf0b800ee10916862df9ee753e5 | [] | no_license | Sunil2120/Coding_questions | cecd589d829fb7483ad62b01c06251cb8978227d | 6a42c66154b0936a579345b70ddd32d500197a74 | refs/heads/master | 2023-06-23T14:47:40.045264 | 2021-07-23T03:18:10 | 2021-07-23T03:18:10 | 388,649,698 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 708 | cpp | #include<bits/stdc++.h>
using namespace std;
bool solve(string input)
{
int n = input.size();
vector<char> stack;
for(int i=0;i<n;i++)
{
if(input[i]=='(' || input[i]=='[' || input[i]=='{')
{
stack.push_back(input[i]);
}
else
{
if(stack.size()==0)
{
return false;
}
char cur = stack.back... | [
"sunilms2120@gmail.com"
] | sunilms2120@gmail.com |
eb8ac08e0796669c0fb2b5611d9b18793a9476d8 | 134fca5b62ca6bac59ba1af5a5ebd271d9b53281 | /build/stx/libdb/nosql/mongoDB/tests/libInit.cc | dca6715a52f58b3d99267c73d5410487eb77b885 | [
"MIT"
] | permissive | GunterMueller/ST_STX_Fork | 3ba5fb5482d9827f32526e3c32a8791c7434bb6b | d891b139f3c016b81feeb5bf749e60585575bff7 | refs/heads/master | 2020-03-28T03:03:46.770962 | 2018-09-06T04:19:31 | 2018-09-06T04:19:31 | 147,616,821 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,282 | cc | /*
* $Header: /cvs/stx/stx/libdb/nosql/mongoDB/tests/libInit.cc,v 1.4 2013-04-25 09:36:00 mb Exp $
*
* DO NOT EDIT
* automagically generated from the projectDefinition: stx_libdb_nosql_mongoDB_tests.
*/
#define __INDIRECTVMINITCALLS__
#include <stc.h>
#ifdef WIN32
# pragma codeseg INITCODE "INITCODE"
#endif
#if ... | [
"gunter.mueller@gmail.com"
] | gunter.mueller@gmail.com |
7b299b652916380e0bbf740bab3b20fdf1f93472 | 88ae8695987ada722184307301e221e1ba3cc2fa | /chrome/updater/test/http_request.cc | ede63c37d101f3c90c35ebe10caa9669c8679ab5 | [
"BSD-3-Clause"
] | permissive | iridium-browser/iridium-browser | 71d9c5ff76e014e6900b825f67389ab0ccd01329 | 5ee297f53dc7f8e70183031cff62f37b0f19d25f | refs/heads/master | 2023-08-03T16:44:16.844552 | 2023-07-20T15:17:00 | 2023-07-23T16:09:30 | 220,016,632 | 341 | 40 | BSD-3-Clause | 2021-08-13T13:54:45 | 2019-11-06T14:32:31 | null | UTF-8 | C++ | false | false | 2,498 | cc | // Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/updater/test/http_request.h"
#include <algorithm>
#include <cctype>
#include <iterator>
#include <string>
#include "base/logging.h"
#include "base/ranges/alg... | [
"jengelh@inai.de"
] | jengelh@inai.de |
82ea8ab9185916178f0762e341859ab4a6974b79 | 6a615cbb5ec1ade197e0c8a0699446b46d80cecf | /src/main.cpp | d3b3d75ab5ea12a621ce7aec353c5c4ec4934603 | [] | no_license | pajamity/gstreamer-rs-qt-player | ede69c847ab97da42470aef9e3dd94be365a0d50 | 484726e220799325eb1fe1b2af8e2fb08c71f847 | refs/heads/master | 2022-09-17T11:12:46.763361 | 2020-06-03T08:27:34 | 2020-06-03T08:27:34 | 269,026,085 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,759 | cpp | #include "Bindings.h"
#include <QtCore/QFile>
#include <QtGui/QGuiApplication>
#include <QtQml/QQmlApplicationEngine>
#include <QtQuick/QQuickItem>
#include <QtQuick/QQuickWindow>
#include <QtQml/qqml.h>
#include <iostream>
#include <glib-object.h>
// #include <gst/gst.h>
// exported functions
extern "C" {
// fu... | [
"pajamity@tutanota.com"
] | pajamity@tutanota.com |
b7eabfca23d9bfe158a784f668217f24020a3cb5 | 3342fca48f194851a2c9050a19ebc1d546c9d864 | /mareklib/core/mareklib.cpp | d5332233ce40e6648ce6632ba1555ecf977b8e11 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | iVideo/ofxmarek | 12a279d0d3ecedac4aeb802a0fe12856594a6eb1 | e8d299c147e131595b3f964e60436f4f39f2b7bd | refs/heads/master | 2021-01-16T21:02:46.652724 | 2012-02-09T12:34:43 | 2012-02-09T12:34:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,676 | cpp | #include "ofMain.h"
#include "mareklib.h"
void mareklib::drawFramerate(int color) {
ofSetHexColor(color);
ofDrawBitmapString(ofToString(ofGetFrameRate()), 10, ofGetHeight()-20);
}
void mareklib::setDataPathRootToAppContents() {
char path[512];
getcwd(path, 512);
string dataRoot = path;
dataRoot += "/../data/";
o... | [
"bereza@gmail.com"
] | bereza@gmail.com |
ef98d61df856e61ce5aef1fa952c227caad9c8a3 | 54c67306d63bb69a5cf381d12108d3dc98ae0f5d | /third-party/xdelta3/xdelta3/cpp-btree/btree_test.cc | 6b1837d33465ca8c212e346a1a1b7e45836c31e1 | [
"Apache-2.0",
"ISC",
"LicenseRef-scancode-unknown-license-reference",
"GPL-1.0-or-later"
] | permissive | open-goal/jak-project | adf30a3459c24afda5b180e3abe1583c93458a37 | d96dce27149fbf58586160cfecb634614f055943 | refs/heads/master | 2023-09-01T21:51:16.736237 | 2023-09-01T16:10:59 | 2023-09-01T16:10:59 | 289,585,720 | 1,826 | 131 | ISC | 2023-09-14T13:27:47 | 2020-08-22T23:55:21 | Common Lisp | UTF-8 | C++ | false | false | 10,140 | cc | // Copyright 2013 Google Inc. 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 by applicable... | [
"noreply@github.com"
] | open-goal.noreply@github.com |
b4b30f72ce339ff45881e7616a69737f0d41bd81 | 87b61b564f285858fcda8b50b892c2183bd23d51 | /client/third_party/google_gadgets_for_linux/ggadget/mac/quartz_graphics.h | 438b9b49653030ae4ff182d3064ff895cc0de16c | [
"Apache-2.0",
"FSFUL"
] | permissive | randyli/google-input-tools | e1da92fed47c23cf7b8e2ff63aee90c89e1f0347 | daa9806724dc6dc3915dbd9d6e3daad4e579bf72 | refs/heads/master | 2021-05-18T13:00:21.892514 | 2020-04-11T13:26:33 | 2020-04-11T13:26:33 | 251,252,155 | 0 | 0 | Apache-2.0 | 2020-03-30T08:58:26 | 2020-03-30T08:58:26 | null | UTF-8 | C++ | false | false | 2,050 | h | /*
Copyright 2012 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,... | [
"synch@google.com"
] | synch@google.com |
bdba9ba80098a88af8cf17c33d3e4897e634eeb2 | b5e157fc30e0fc770632c3879a5e416a872a59e1 | /OpenGL/translate.h | bc3d8c3094a933a2198f1236fe7ec0150fbc6f03 | [] | no_license | lcbasu/Xcode | 53df7ae402ef4678ebd77a8747ec293a3dcda0af | a46983ba4faaa18f62c22d43bc930871d5171dd3 | refs/heads/master | 2021-05-28T13:30:50.301714 | 2015-02-17T03:59:35 | 2015-02-17T03:59:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,844 | h | //
// translate.h
// OpenGL
//
// Created by Lokesh Basu on 16/08/14.
// Copyright (c) 2014 Samsung. All rights reserved.
//
#ifndef OpenGL_translate_h
#define OpenGL_translate_h
#include <GLUT/glut.h>
#include <OpenGL/gl.h>
#include <OpenGL/glu.h>
#include <stdlib.h>
#include <iostream>
using namespace std;
vo... | [
"lokesh.basu@gmail.com"
] | lokesh.basu@gmail.com |
656ae4dca290619db49b4a2c8e3d02230a960860 | cfcde6061bfd4fd957dd667309579b3035fe0984 | /include/kinect_common/memory.h | c0eac65dd58a0c6296f2f046b3f001cfd82ee9d8 | [] | no_license | sdebnathusc/kinect_bridge_ubuntu | dddf4dff841f255e84ed4277a6b1bc01f84036d1 | f5d1650f9250d703fa99b2f9ea74aeb30a7b9148 | refs/heads/master | 2021-01-17T17:08:26.598637 | 2017-03-07T01:11:41 | 2017-03-07T01:11:41 | 84,127,788 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,373 | h | #ifndef _KINECTCOMMON_MEMORY_H_
#define _KINECTCOMMON_MEMORY_H_
#include <memory>
#include <iostream>
// Safe release for interfaces
template<class __Interface>
inline void SafeRelease( __Interface *& pInterfaceToRelease )
{
if( pInterfaceToRelease != NULL )
{
pInterfaceToRelease->Release();
p... | [
"sdebnath@usc.edu"
] | sdebnath@usc.edu |
d5305592e93548b390b05f655e9a50c1f240ff9e | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/httpd/gumtree/httpd_old_hunk_1917.cpp | 0333d10bff135297491a54178d2075e103176a1d | [] | 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 | 336 | cpp | */
if (!file_req) {
if ((access_status = ap_location_walk(r))) {
return access_status;
}
if ((access_status = ap_run_translate_name(r))) {
return decl_die(access_status, "translate", r);
}
}
/* Reset to the server default config prior to running... | [
"993273596@qq.com"
] | 993273596@qq.com |
5298ae0c5abbada3ddcc46d9294c5538ab0b58c7 | 1b8d6ac932cfefe9405051db9632b65f54db3af9 | /src/refl/Meta.cpp | 0e5186c6aacac8ebe75c11bdd893cec40b16b85c | [
"Zlib"
] | permissive | rjpearsoniv/mud | c66235d489c600e9f6474b4f37f1f4c9340231de | 182ba242565c479406eca5cd0f08cabb66c9e86a | refs/heads/master | 2020-03-25T16:41:07.334332 | 2018-08-07T20:28:30 | 2018-08-07T20:28:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,685 | cpp | // Copyright (c) 2018 Hugo Amiard hugo.amiard@laposte.net
// This software is provided 'as-is' under the zlib License, see the LICENSE.txt file.
// This notice and the license may not be removed or altered from any source distribution.
#include <infra/Cpp20.h>
#ifdef MUD_MODULES
module mud.refl;
#else
#include <re... | [
"hugo.amiard@laposte.net"
] | hugo.amiard@laposte.net |
f379ad59e9ec578bd8a7b46e8a7cf1a2d533bd6a | 9be0baa3d53e460fb9088280b2f38d6352a4097e | /doc/nml_ex1_n_codegen_protos.hh | 73f980b222bce3f722487268a89266f5492605bf | [
"LicenseRef-scancode-public-domain"
] | permissive | usnistgov/rcslib | 480cd9f97b9abe83c23dcddc1dd4db253084ff13 | f26d07fd14e068a1a5bfb97b0dc6ba5afefea0a1 | refs/heads/master | 2023-04-06T13:35:53.884499 | 2023-04-03T20:01:08 | 2023-04-03T20:01:08 | 32,079,125 | 35 | 22 | NOASSERTION | 2020-10-12T22:03:48 | 2015-03-12T13:43:52 | Java | UTF-8 | C++ | false | false | 1,295 | hh | /*
* New C++ Header File starts here.
* This file should be named nml_ex1_n_codegen_protos.hh
* Automatically generated by NML CodeGen Java Applet.
* with command line arguments : HHFile=nml_ex1.hh -o /tmp/nml_ex1.cc
* RCS_VERSION=@(#) RCS_LIBRARY_VERSION: 2009.06.05_1506:1507 Compiled on Mon Jun 8 09:24:56 EDT 2009... | [
"william.shackleford@nist.gov"
] | william.shackleford@nist.gov |
dd862dcb6723921f96ee086298074f402a2a8de1 | c1c70168fe5ed0c9c81e08915a647961200d1766 | /TOJ/已註解,整碼/toj249.cpp | c73c79a1e79178f4208cab39b1afa3de96642f6a | [] | no_license | cies96035/CPP_programs | 046fa81e1d7d6e5594daee671772dbfdbdfb2870 | 9877fb44c0cd6927c7bfe591bd595886b1531501 | refs/heads/master | 2023-08-30T15:53:57.064865 | 2023-08-27T10:01:12 | 2023-08-27T10:01:12 | 250,568,619 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 569 | cpp | #include<iostream>
using namespace std;
int main()
{
cin.tie(0);
ios_base::sync_with_stdio(0);
int n,num;
cin>>n>>num;
n--;
long long sum=num,ans=num;
//預設ans及sum為第一個數而非0
//避免全負數而答案為0的狀況(題目至少要取一個)
while(n--)
{
cin>>num;
sum+=num;
if(sum>ans)ans=sum;
//紀錄連續總和最大值... | [
"cies9001005@gmail.com"
] | cies9001005@gmail.com |
6aa329dcce79aa52410b448c551458e17b9446ca | 830934ba65b11c21aa9051546eac0aa03893b210 | /libs/libfbxsdk_2020.3.1/include/fbxsdk/scene/geometry/fbxcamera.h | 42d0db19460ed8adcbe5214a07a2b7a24ec8d8e6 | [
"MIT"
] | permissive | NickHardeman/ofxFBX | e9cca47c232a10ef4b89c12672fc2df68d9ecbc4 | f032fd43a78a740e7ab4b4f497a61a1654ef9a59 | refs/heads/master | 2023-09-03T19:21:22.013743 | 2023-08-30T14:51:34 | 2023-08-30T14:51:34 | 32,026,580 | 117 | 43 | MIT | 2022-11-22T15:13:13 | 2015-03-11T15:53:23 | C++ | UTF-8 | C++ | false | false | 79,521 | h | /****************************************************************************************
Copyright (C) 2015 Autodesk, Inc.
All rights reserved.
Use of this software is subject to the terms of the Autodesk license agreement
provided at the time of installation or download, or which otherwise accompanies... | [
"nickhardeman@gmail.com"
] | nickhardeman@gmail.com |
f4841f6812e48e8ba6c036ef33a0da68ccf3aba8 | 8352635a95c36f77f6abbcb101caa26ce8f5507d | /bdsg/include/bdsg/graph_proxy.hpp | 0691e729ee5896f821d101f85b9511ae6dd029be | [
"MIT"
] | permissive | vgteam/libbdsg | 868524ed7d8a2f31a3a32a6daf68082ad31813c6 | 8e47864fbf6513d54810b1d16df38b1b4cffcdfe | refs/heads/master | 2023-08-14T01:37:27.676687 | 2023-06-15T22:35:17 | 2023-06-15T22:35:17 | 186,671,820 | 25 | 7 | MIT | 2023-06-15T22:35:18 | 2019-05-14T17:44:56 | C++ | UTF-8 | C++ | false | false | 3,628 | hpp | #ifndef BDSG_GRAPH_PROXY_HPP_INCLUDED
#define BDSG_GRAPH_PROXY_HPP_INCLUDED
/**
* \file graph_proxy.hpp
* Defines a mechanism for implementing a handle graph by using a contained
* object that actually does the work.
*/
#include <handlegraph/mutable_path_deletable_handle_graph.hpp>
#include <handlegraph/serializ... | [
"anovak@soe.ucsc.edu"
] | anovak@soe.ucsc.edu |
b800e6fecc5bd90f79aedbb3aee6c1eb6eab45df | f9c231a866ef7138c033f301becbf24c8bdca633 | /Test8/LamLai/6c2.cpp | 20bbbabcab91419cadd005c38cc53e1b6bb14286 | [] | no_license | cuongnh28/DSAFall2019 | 3eef8f5e0e1cbe008bd304c847dd9abaa4ad144f | 2729d834b3c4a3560bf63aa6d1dcfc7457385246 | refs/heads/main | 2023-02-02T14:41:39.353309 | 2020-12-23T16:20:02 | 2020-12-23T16:20:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 351 | cpp | #include<bits/stdc++.h>
using namespace std;
void Solve(){
int n; cin>>n;
long long tmp;
queue<long long> q;
q.push(9);
do{
tmp=q.front(); q.pop();
q.push(tmp*10);
q.push(tmp*10+9);
}while(tmp%n!=0);
cout<<tmp<<endl;
}
int main()
{
int t; cin>>t;
while(t--)
... | [
"hongcuongcl98@gmail.com"
] | hongcuongcl98@gmail.com |
3be3f1cb936babb200dffe46bf701a27260cda6c | b22588340d7925b614a735bbbde1b351ad657ffc | /athena/Database/APR/StorageSvc/StorageSvc/DbObjectSet.h | 4f2127b9afb24348ff094cb90f80d9cb4c5dd0b6 | [] | no_license | rushioda/PIXELVALID_athena | 90befe12042c1249cbb3655dde1428bb9b9a42ce | 22df23187ef85e9c3120122c8375ea0e7d8ea440 | refs/heads/master | 2020-12-14T22:01:15.365949 | 2020-01-19T03:59:35 | 2020-01-19T03:59:35 | 234,836,993 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,508 | h | /*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
// $Id: DbObjectSet.h 458019 2011-09-09 10:11:57Z mnowak $
//====================================================================
// DbDomainObj object definition
//--------------------------------------------------------------------
//
/... | [
"rushioda@lxplus754.cern.ch"
] | rushioda@lxplus754.cern.ch |
0ba562fd8902b537d2632c9ba5b6de7af73b91b2 | a5f1ce9455a0e3f3f29563ac792ad4acfb4302f7 | /SK하이닉스_면접대비/4_ans.cpp | 0cbbc92ce7af9596743a9ee615732045cb4c736e | [] | no_license | hohyunjun/Algorithm | ad426aa8efdc6db6ef8675d183b5da4ca634c4ff | 364811d90ad09d04240482f7e092a77cf9076482 | refs/heads/master | 2021-07-24T13:50:13.692339 | 2020-04-15T14:12:13 | 2020-04-15T14:12:13 | 139,689,351 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,332 | cpp | #include <iostream>
#include <vector>
#define MAX 8
using namespace std;
/*
4번.
최대 8자리의 숫자 배열이 주어지고, K라는 값이 주어진다.
숫자 배열의 각 원소를 1대 1로 swap하여 최소 횟수의 swap으로 모든 인접 원소 간 차이값이 K이하가 되도록 할 때,
최소 횟수 answer를 구하라.
K이하로 만드는 것이 불가능할 경우, answer는 -1을 반환한다.
*/
/*
1. 숫자 배열에 대한 순열 조합을 모두 구해보고, 그 중에서 조건을 만족... | [
"jhh5154@naver.com"
] | jhh5154@naver.com |
b673e3d04adf090133f68bc0d460eed2845b73ba | 1d9e9d4f416607453e7c91c9dc45205bd7cb9e14 | /iqc5/instrument/SerialPortDecode/Electrolyte/zsdec_psd/main.cpp | 61fa337ed1ec6d41b4fd153e1e7f046398530221 | [] | no_license | allan1234569/iqc5 | 5542f2efe3e6eae0a59110ec2863d9beeef8c1cf | 8a026564db0128005f90d3f7ca56787a7bcbbad3 | refs/heads/master | 2020-03-29T09:17:13.715443 | 2018-09-21T10:56:01 | 2018-09-21T10:56:01 | 149,750,494 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 462 | cpp | #include "w_psd.h"
#include <QApplication>
#include "common.h"
#include "single_application.h"
int main(int argc, char *argv[])
{
SingleApplication a(argc, argv,"Electrolyte_PSD");
QTextCodec::setCodecForLocale(QTextCodec::codecForName("utf8"));
if (a.isRunning())
{
f_log("一个解码程序已经运行");
... | [
"allan1234569@163.com"
] | allan1234569@163.com |
711a79edfdee176a227c6b63cc71e7bae497cf83 | b2988e7451589fe559d398a082b96901bcf9bd27 | /Merge_Sort.cpp | 0ab7a477ca0290a0365af300dad97fbab48120f3 | [] | no_license | Md-Shaquib/Data-Structure-Algorithm | 01d5754c35ad8e547f43e7240891d6976d60b9a4 | ac596826c7e95be61e08003d0dc4154eb172b567 | refs/heads/main | 2023-03-12T12:39:49.448035 | 2021-02-25T05:47:03 | 2021-02-25T05:47:03 | 336,694,158 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,806 | cpp | #include<bits/stdc++.h>
using namespace std;
// Merges two subarrays of arr[].
// First subarray is arr[l..m]
// Second subarray is arr[m+1..r]
void merge(int arr[], int l, int m, int r)
{
int n1 = m - l + 1;
int n2 = r - m;
// Create temp arrays
int L[n1], R[n2];
// Copy data to temp arrays L[] a... | [
"noreply@github.com"
] | Md-Shaquib.noreply@github.com |
61e866c6bae934be7c946eca2484b0dd6cab3552 | fd2ddfccadbd932452faf9ac47fb11938260660e | /Codeforces/408_div2/D.cpp | 969a5f3664571f41c7319b0e88b3d3948452072f | [] | no_license | cqj8660/Code_Record | 450c827bf9a98ac8860abafc8fb811b6ee8c221a | 6d148810ce3b0c7b545a4d3061dbe8780626bd9d | refs/heads/master | 2021-12-22T08:37:01.621325 | 2021-11-19T08:09:26 | 2021-11-19T08:09:26 | 149,244,038 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,125 | cpp | #include <bits/stdc++.h>
#define pii pair<int, int>
using namespace std;
const int maxn = 3e5 + 10;
vector<pii> g[maxn];
bool vis[maxn], vis_edge[maxn];
vector<int> ans;
queue<pii> T;
int main()
{
ios::sync_with_stdio(false);
cin.tie(0);
int n, k, d, i;
cin >> n >> k >> d;
for(int j = 0; j < k; j++)... | [
"cqj8660@163.com"
] | cqj8660@163.com |
d8116be2d0adceca57669425e51f5689b2ef8dca | 65e3391b6afbef10ec9429ca4b43a26b5cf480af | /HLT/trigger/AliHLTEmcalElectronMonitor.h | 561da2850ee8e8cab6d2141bb764411c2b334fc5 | [
"GPL-1.0-or-later"
] | permissive | alisw/AliRoot | c0976f7105ae1e3d107dfe93578f819473b2b83f | d3f86386afbaac9f8b8658da6710eed2bdee977f | refs/heads/master | 2023-08-03T11:15:54.211198 | 2023-07-28T12:39:57 | 2023-07-28T12:39:57 | 53,312,169 | 61 | 299 | BSD-3-Clause | 2023-07-28T13:19:50 | 2016-03-07T09:20:12 | C++ | UTF-8 | C++ | false | false | 817 | h | #ifndef ALIHLTEMCALELECTRONMONITOR_H
#define ALIHLTEMCALELECTRONMONITOR_H
#include "TH1F.h"
#include "TObjArray.h"
#include "TString.h"
#include "AliHLTScalars.h"
class AliHLTEmcalElectronMonitor : public TObject
{
public:
// constructor
AliHLTEmcalElectronMonitor();
// destructor
virtual ~AliHLTEmcalElect... | [
"fronchet@f7af4fe6-9843-0410-8265-dc069ae4e863"
] | fronchet@f7af4fe6-9843-0410-8265-dc069ae4e863 |
a6dcf1ca632c1ea2dbcd63f545bb847819d6670a | 59d024ebb50697c773524e43cc47d071305de52d | /Motor2D/p2Defs.h | 14048f73716f5ebaee972a3c160240f2f805c6d5 | [] | no_license | traguill/Starcraft-Commandos | 1e4a358ce57af580e63725feca53c25d612db4d0 | 9c481b7a36b5e65888bb4ffc03f1dbc053531bc1 | refs/heads/master | 2021-01-17T18:58:41.055022 | 2016-05-30T21:32:34 | 2016-05-30T21:32:34 | 52,960,704 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,822 | h | #ifndef __P2DEFS_H__
#define __P2DEFS_H__
#include <stdio.h>
#include <algorithm>
// NULL just in case ----------------------
#ifdef NULL
#undef NULL
#endif
#define NULL 0
// Deletes a buffer
#define RELEASE( x ) \
{ \
if( x != NULL ) \
{ \
dele... | [
"traguill1@gmail.com"
] | traguill1@gmail.com |
f728deefc5f5e5f837fc1780d262eb7a9c5a9006 | 757b3ca08ff7884ac026dbf65deb5f1422330e7f | /Util.cpp | d9cdff769957a9925977ccd7443d1cc533f66504 | [] | no_license | jasondevans/ck2 | 00995c198c48021f9d30cba03d6787d673de964c | 7b3678b2c6a964b89000489d4b8e2cfed3162eec | refs/heads/master | 2021-01-09T06:08:37.882765 | 2017-07-09T19:40:30 | 2017-07-09T19:40:30 | 80,924,623 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 34,642 | cpp | #include "ck_common_includes.h"
#include "Util.h"
#include "UtilException.h"
// #include "Crypto.h"
#include <iterator>
// #include <boost/tokenizer.hpp>
// #include <boost/regex.hpp>
// #include <boost/algorithm/string/replace.hpp>
// #include <boost/filesystem.hpp>
using namespace CipherKick;
Util::Util()
{
... | [
"jason@emotionistic.com"
] | jason@emotionistic.com |
febcd25f69a7e2487cfdc3d1540a29b55a57e364 | 606c34e2ceae24de9f8331ba8964c493e9d8565d | /CogEye/Engine/src/Memory/SharedPointer.h | 38b8dec55bbeefce9e07d639ed573b856f7637b0 | [
"Apache-2.0"
] | permissive | Bounty556/CogEye_GameJam_Old | b584e6a8e7dd0fe3c09ba4e1489e0ee2d9f4a416 | c4f678cad9542f7d595510849779ffb46f26e016 | refs/heads/main | 2023-06-03T10:22:56.119433 | 2021-06-13T17:51:42 | 2021-06-13T17:51:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,077 | h | #pragma once
#include <Defines.h>
#include <Memory/MemoryManager.h>
#include <Memory/ReferenceCounter.h>
// TODO: SharedPointer should be able to be initialized with no values, as well as be able to be reassigned to new values and behave accordingly. Fo SharedPointers, it should decrease the reference counter pointin... | [
"jacobmayday@gmail.com"
] | jacobmayday@gmail.com |
e3eee8b1cdf191675d49f219832d02856789420b | 1f595fff623f14511bed58b339789150b00d131d | /incs/gui/model/Model.hpp | bfe173e6c4aa93ae77ebd4c5de326463f12d6878 | [] | no_license | q-litzler/gomoku | da4cdddaa99e62299276df31bca8dda01c7375eb | 7a3a8fb18f3c873c4e8ca09186672807e96c9385 | refs/heads/master | 2021-01-21T13:29:55.516473 | 2016-05-03T20:34:56 | 2016-05-03T20:34:56 | 49,002,286 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,526 | hpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Model.hpp :+: :+: :+: ... | [
"qlitzler@gmail.com"
] | qlitzler@gmail.com |
755cad18f61e08d089d538bf93908a9a037b107c | 17bd9472d0b405c5d95084f60c656c2ccb1e4e2c | /font.h | 986b12816a0e64e85c3b8edfcd0e56a1ba29890e | [] | no_license | jeromelebel/BeagleBone-HD44780-SPI | 34b7ffc628833f3e18c4c5f94ed7026d97cdeab3 | 7bbc1bb670fbe9e9bdde61dba607ff97ea3ca296 | refs/heads/master | 2021-01-10T09:06:19.957943 | 2013-03-17T18:44:12 | 2013-03-17T18:44:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 651 | h | #include "graphic.h"
#ifndef FONT_H
#define FONT_H
class Font
{
private:
unsigned char _width;
unsigned char _height;
const unsigned char *_buffer;
unsigned int _charCount;
public:
Font(PixelCoordonate width, PixelCoordonate height, const unsigned char *buffer, int bufferSize);
unsigned ... | [
"lebel.jerome@gmail.com"
] | lebel.jerome@gmail.com |
03eec93388898c64d38c8ce61c391f9d99f1cf82 | e3d0e8163acf2f12cb9e7acc0b43056d0d2c9aa7 | /class/HelloTexas/HelloTexas.ino | 9eaa62e5fd3d49f0f7b4cf4b59ae47bd761eff4d | [] | no_license | lajthabalazs/arduino | 637909cf2c505c967ac2610364101290562449ce | 839422874795728cb922a862ed2554f075530a67 | refs/heads/master | 2021-01-23T08:04:40.846171 | 2016-03-05T12:57:10 | 2016-03-05T12:57:10 | 14,390,745 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 252 | ino | #include <OneWire.h>
#include <DallasTemperature.h>
OneWire oneWire(2);
DallasTemperature sensors(&oneWire);
void setup(void)
{
sensors.begin();
}
void loop(void)
{
sensors.requestTemperatures();
int temp = (int)sensors.getTempCByIndex(0);
}
| [
"lajthabalazs@yahoo.com"
] | lajthabalazs@yahoo.com |
3da2e962760d762da0ba569a5b5c243bea2c4d98 | 1289ea27918fafac4a52ad229ab6d5de71e64a8d | /UnixNetwork/进程间通信/使用mmap映射实现匿名共享存储/mmap-shm.cpp | c2036a01572c21f990617a7b0dac2c32bd6fc377 | [] | no_license | VVZzzz/NetworkProg | 8d8ed4c01f8a374fd8dcd35cc0bed57bdf0f5589 | fe05c4e9da27d1d7d79562b2f50ff76fbf538487 | refs/heads/master | 2021-08-10T12:51:56.148807 | 2020-06-15T16:05:26 | 2020-06-15T16:05:26 | 192,701,385 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,386 | cpp | /*
使用/dev/zero存储映射(mmap)实现共享存储
但这种mmap只能用于相关联的进程之间
读/dev/zero这个设备时,它是一个0字节的无限资源
写/dev/zero时,它忽略写向它的数据
*/
#include <errno.h>
#include <fcntl.h>
#include <setjmp.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/mman.h>
#include <sys/sem.h>
#include <sys/shm.h>
#include <sys/types.h>
#include <... | [
"vvzz_run@outlook.com"
] | vvzz_run@outlook.com |
7135f73a8dca4508401974c7e8188249899a2231 | 0f0cbe5c3c4e7803f6b91b49f4dbb3fe674aea40 | /ABC/021/A/cpp/test.cpp | 1051c7b880cc63986067699e43614a56063c6884 | [] | no_license | camisoul/atcoder | 855d17266c75de058b1a59c0350b42fdcd0f7dcb | 06ab197f8089f55b91d4439b5e9c4e8420ca6baa | refs/heads/master | 2020-03-18T05:08:15.065063 | 2018-07-20T08:21:09 | 2018-07-20T08:21:09 | 134,326,533 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 192 | cpp | #include <iostream>
using namespace std;
int main()
{
size_t n;
cin >> n;
cout << n << endl;
for (auto i = 0u; i < n; ++i) {
cout << 1 << endl;
}
return 0;
}
| [
"camisoulmax@gmail.com"
] | camisoulmax@gmail.com |
8ed1e8eb39a2eae3311fc29788384a49f63cfefd | 18452fb77d8d3b9edc52c8a2dcaa4b5938c48d67 | /packml_sm/src/state_machine.cpp | 55125b0833ef13fcb564ded4a05edf92e5cb8651 | [
"Apache-2.0"
] | permissive | dejaniraai/packml_ros2 | 46b3779ff86491012d0f899a9a9054a2c6361672 | 917aad70e05a63863118f172fbd29e4861f58b92 | refs/heads/master | 2020-12-23T12:24:18.913895 | 2020-03-17T05:42:34 | 2020-03-17T05:42:34 | 237,150,707 | 2 | 3 | Apache-2.0 | 2020-01-30T06:10:17 | 2020-01-30T06:10:17 | null | UTF-8 | C++ | false | false | 15,193 | cpp | /**
* @license Software License Agreement (Apache License)
*
* @copyright Copyright (c) 2016 Shaun Edwards
* @copyright Copyright (c) 2019 Dejanira Araiza Illan, ROS-Industrial Asia Pacific
* Modified for ROS2.0 compatibility -> ros::Time, *_STREAM and *_INFO displays
*
* Licensed under the Apache License, Vers... | [
"dejanira.araiza.i@gmail.com"
] | dejanira.araiza.i@gmail.com |
d11f5f49587dad0028d973c9b9dbe28202ae5ef0 | ce69fb18d8b54c4adcebd3bc2a0399ab475a1da5 | /speedup_dev_src/includes/xtensor/xbuilder.hpp | 113f05796eb579e5159776be99149a4a06faa2ad | [] | no_license | JoachimKoenigslieb/pyhpc-fpga | 1f48a9b2892e942f401c2f91613e5c092bfc3025 | 355df6dd78c4793bc049034362d1c5e6acbc3c4b | refs/heads/master | 2023-04-22T15:23:50.938411 | 2021-05-18T01:55:39 | 2021-05-18T01:55:39 | 310,040,568 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 42,148 | hpp | /***************************************************************************
* Copyright (c) Johan Mabille, Sylvain Corlay and Wolf Vollprecht *
* Copyright (c) QuantStack *
* *
* Distribute... | [
"joachim.koenigslieb@gmail.com"
] | joachim.koenigslieb@gmail.com |
4bb2d4b05d633e060484e6b8271c2ca5ed04a7b6 | 61cd8c253bff2ea1c236980a15cc5ce228469f6c | /src/test/test_errors.cxx | 0beb4d143cc983ca1ea834a920bbffffba33c4d7 | [
"BSD-3-Clause"
] | permissive | fermi-lat/rdbModel | 9be1e4bf89c7caeba74cd2780b050071577458ac | b7d0846a2736ff2fb202f4c0c6c50c4f4467ded9 | refs/heads/master | 2022-02-13T23:49:49.594918 | 2019-08-27T17:30:17 | 2019-08-27T17:30:17 | 103,187,059 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,348 | cxx | // $Header: /nfs/slac/g/glast/ground/cvs/GlastRelease-scons/rdbModel/src/test/test_errors.cxx,v 1.6 2008/12/04 20:23:10 jrb Exp $
// Test program for rdbModel primitive buiding blocks
#include <iostream>
#include <string>
#include <cstdlib>
#include "rdbModel/Rdb.h"
#include "rdbModel/RdbException.h"
#include "rdbMode... | [
""
] | |
b6253b5c60e1747799291a33974bd04b15791a50 | cb7ac15343e3b38303334f060cf658e87946c951 | /source/runtime/SlateCore/Public/Widgets/SWidget.h | c3c9d021b39bfb03516497a1e9702add06acf8ac | [] | no_license | 523793658/Air2.0 | ac07e33273454442936ce2174010ecd287888757 | 9e04d3729a9ce1ee214b58c2296188ec8bf69057 | refs/heads/master | 2021-11-10T16:08:51.077092 | 2021-11-04T13:11:59 | 2021-11-04T13:11:59 | 178,317,006 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 68,074 | h | // Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Misc/Attribute.h"
#include "Misc/FrameValue.h"
#include "Stats/Stats.h"
#include "Styling/SlateColor.h"
#include "Layout/SlateRect.h"
#include "Layout/Visibility.h"
#include "Layout/Clipping.h"
#include "Layout/Geometry... | [
"523793658@qq.com"
] | 523793658@qq.com |
2aaf01f0c803ad28d1f5bbd96cb2819ef0d26523 | cf15dac0951eaa82c67a7ddecdb84d7e96a9b2a7 | /lib/ratrac/ArgParse.cpp | cb16aea50f981fdc7646c8a6845f34213cf01445 | [
"Apache-2.0"
] | permissive | Arnaud-de-Grandmaison/ratrac | d269a1c08818c7cbc16528264ac5e673769de5af | 5c6df1593d1594867a3883de8068c723e20c176c | refs/heads/main | 2023-06-30T09:22:38.338041 | 2023-06-15T07:05:47 | 2023-06-15T07:05:47 | 278,571,870 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,049 | cpp | #include "ratrac/ArgParse.h"
#include <cassert>
#include <cstdlib>
#include <iostream>
#include <sstream>
using std::cerr;
using std::clog;
using std::ostringstream;
using std::string;
using std::vector;
namespace ratrac {
ArgParse::ArgParse(const string &programName, const string &description)
: m_shortOptions(... | [
"arnaud.adegm@gmail.com"
] | arnaud.adegm@gmail.com |
12e6c0105befc754efccb57322eab86cf5884c66 | 470642a337ee3b3f120720d23d715aff62fe3ab9 | /worm_demo/main.cpp | 31b88fff77e683a697c93e3d8f332b16b4d5503f | [] | no_license | huqinwei/windows_service_daemon | 177eb4da279eb309c414e0f12849b51bba26a0c9 | c7a6e7baf58fffa58e5ec48068d18cf321c032e8 | refs/heads/main | 2023-04-25T07:28:56.864959 | 2021-05-20T14:04:02 | 2021-05-20T14:04:02 | 369,117,594 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,815 | cpp | #pragma warning(disable:4996)
#include "CHttp.h"
#include <urlmon.h>
#pragma comment(lib, "urlmon.lib")
queue<string> q;//url队列
queue<string> p;//图片url队列
void StartCatch(string url);
int main()
{
//创建一个文件夹,点表示当前目录
CreateDirectory("./image", NULL);
string url;//cin>>url;
//下载地址,但是是zip:https://codel... | [
"huqinwei@airlook.com"
] | huqinwei@airlook.com |
2b54855710ea70dad548dd2ebdb5445af58a819f | 239091e0ea1412e76e29c43acdfb969bc6a5f1dc | /OpenPass_Source_Code/openPASS_GUI/openPASS-System/Models/SystemComponentInputMapModel.h | 8b486154d456cea3358d43416af65fd6ea0b111d | [] | no_license | hlrs-vis/openpass | 080a2625d6427ffff835bdc122954df8d022f382 | 7375cb9cd5bd77c8aad5094766169ddb225c7f13 | refs/heads/master | 2021-05-15T14:00:49.331352 | 2019-11-05T14:20:55 | 2019-11-05T14:20:55 | 107,249,522 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,658 | h | /******************************************************************************
* Copyright (c) 2017 Volkswagen Group of America.
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
* ... | [
"dmitri.fix@itk-engineering.de"
] | dmitri.fix@itk-engineering.de |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.