blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f3a4ea2e29217d5e1971eaf83f4cb86b8f37a596 | c1e73f3dcd104570ecf363f6a86d843d2b5050e5 | /AnimationComponents.h | 0fd3da4109e5b34fc8932ebdbfd45bdeeee416ba | [] | no_license | Kol9n9/SimpleGame | 46904e95a55e869c21f2f5d20ce3d174fc5ee15f | bcdb0d5879f3aafe3496dd4d7df3bb6350de5905 | refs/heads/master | 2020-08-28T12:10:47.386022 | 2019-11-10T17:07:34 | 2019-11-10T17:07:34 | 217,696,215 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,148 | h | #pragma once
#ifndef ANIMATIONCOMPONENTS_H
#define ANIMATIONCOMPONENTS_H
#include <iostream>
#include <map>
#include <SFML/Audio.hpp>
#include <SFML/Graphics.hpp>
#include <SFML/Network.hpp>
#include <SFML/System.hpp>
#include <SFML/Window.hpp>
class AnimationComponents
{
private:
class Animation {
public:
sf::Tex... | [
"slezenkonikolay@mail.ru"
] | slezenkonikolay@mail.ru |
b4e1ed7293aadfee796e885c8849da09913d34be | 9433cf978aa6b010903c134d77c74719f22efdeb | /src/svl/Mat.cpp | 7ad818ded478cf117e5f7ab58ec65a95a5986625 | [] | no_license | brandonagr/gpstracktime | 4666575cb913db2c9b3b8aa6b40a3ba1a3defb2f | 842bfd9698ec48debb6756a9acb2f40fd6041f9c | refs/heads/master | 2021-01-20T07:10:58.579764 | 2008-09-24T05:44:56 | 2008-09-24T05:44:56 | 32,090,265 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,309 | cpp | /*
File: Mat.cpp
Function: Implements Mat.h
Author(s): Andrew Willmott
Copyright: (c) 1995-2001, Andrew Willmott
*/
#include "svl/Mat.h"
#include <cctype>
#include <cstring>
#include <cstdarg>
#include <iomanip>
// --- Mat Constructors & Destructors -... | [
"BrandonAGr@0fd8bb18-9850-0410-888e-21b4c4172e3e"
] | BrandonAGr@0fd8bb18-9850-0410-888e-21b4c4172e3e |
06b25adb694a7848655128fb2faeefd5e39e462a | 983424bb42cdbef82975287229652d490dd8f521 | /Sorting 12.cpp | 33c5e158ad907cfa9d93c4d2d72d5a9df02c4817 | [] | no_license | namnguyen215/Thuc_hanh_tin | d6802641b73576fdda951f38bb6b5ab31d7d5d7f | c6958a8f9a1ca4a3fc578054cfc289fd9e935bae | refs/heads/main | 2023-07-17T07:32:51.408534 | 2021-08-06T14:29:34 | 2021-08-06T14:29:34 | 305,582,293 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 269 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int t;
cin>>t;
while(t--){
long n,m;
cin>>n>>m;
long long a[n+1],b[m+1];
for(long i=0;i<n;i++) cin>>a[i];
for(long i=0;i<m;i++) cin>>b[i];
sort(a,a+n);sort(b,b+n);
cout<<a[n-1]*b[0]<<endl;
}
}
| [
"namnguyenphuong215@gmail.com"
] | namnguyenphuong215@gmail.com |
08e62cc4c7758481e0654341a25b23ebd593dd1a | 7e85951f968dbb36dd8149df26f70ee5ac0f5083 | /main.cpp | 0e82329feb88062ac8cb4bd339cf009ce83a18e3 | [] | no_license | helga1507/coursera_white | ee14de20ad963a196a2da31a926be3f152f3d524 | d4db300cadc4f97e0e1b70e99adfd702cc2fe07e | refs/heads/master | 2022-12-13T14:53:14.165926 | 2020-09-07T20:06:12 | 2020-09-07T20:06:12 | 283,464,911 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,627 | cpp | #include <iostream>
#include <iomanip>
#include <sstream>
#include <vector>
#include <set>
#include <map>
using namespace std;
const char SEPARATOR_DATE = '-';
const string COMMAND_ADD = "Add";
const string COMMAND_DEL = "Del";
const string COMMAND_FIND = "Find";
const string COMMAND_PRINT = "Print";
class Date {
pu... | [
"lashkul@skytracking.ru"
] | lashkul@skytracking.ru |
a5b7e8f4e94f435fa62ae71f834958aff72ac9c9 | 5dd2ec8717248d25c502a7e73182be11dd249fb3 | /chrome/browser/share/share_features.cc | 51472e6ddebaf4ce87fe3338ea497789ccc731a3 | [
"BSD-3-Clause"
] | permissive | sunnyps/chromium | 32491c4799a2802fe6ece0c05fb23e00d88020e6 | 9550e527d46350377a6e84cd6e09e1b32bf2d936 | refs/heads/main | 2023-08-30T10:34:39.941312 | 2021-10-09T20:13:18 | 2021-10-09T20:13:18 | 217,597,965 | 0 | 0 | BSD-3-Clause | 2021-09-28T18:16:02 | 2019-10-25T19:01:58 | null | UTF-8 | C++ | false | false | 522 | cc | // Copyright 2021 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/share/share_features.h"
namespace share {
const base::Feature kUpcomingSharingFeatures{"UpcomingSharingFeatures",
... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
d2f140350b7e5dfa6d636ba07c0fe9795e987040 | f32a24e4cacb917617c017c1da1d1f70024fba65 | /cpc/src/chg050.cxx | c688d4b5241297d38e99eed71a46a7faadfdbcab | [] | no_license | yamasdais/iroha-nihoheto | 61629750c8028d3f9836e4c5f1793aaf7fb2ae57 | 033f69bd400d586b0297c8ff97846d01f42ffc55 | refs/heads/master | 2022-09-24T13:44:34.189177 | 2022-09-16T12:59:56 | 2022-09-16T12:59:56 | 116,883,187 | 0 | 0 | null | 2022-09-12T16:52:47 | 2018-01-09T23:36:23 | C++ | UTF-8 | C++ | false | false | 1,017 | cxx | #include <regex>
#include <algorithm>
#include <concepts>
#include <ranges>
#include "challenge.h"
#include "coro_util.h"
template <std::ranges::forward_range Range>
requires std::convertible_to<std::iter_value_t<Range>, std::string>
cpc::generator<std::string, false>
filter_dial_country(Range const& range, std::... | [
"yamasdais@gmail.com"
] | yamasdais@gmail.com |
83699bad7b2e08261bbdac52e55a9488d93922a5 | 701d19cedb341099cafd5602314a0a48ca3e7a50 | /RSEngine/RSObjVS.h | 56c72deb0e322b6b35c8b4542213b2b51411b99e | [] | no_license | denghc/danmugame | 9ab9da54f96b12484689154c2588de7263d775c2 | 12ec3147a95585709d97eae51f82aa1074a56b91 | refs/heads/master | 2021-01-01T18:21:54.764551 | 2012-06-11T06:55:54 | 2012-06-11T06:55:54 | 4,621,859 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 759 | h | #pragma once
#include "vertexshaderclass.h"
#include "Structures.h"
class RSObjVS :
public VertexShaderClass
{
public:
RSObjVS(string tag);
RSObjVS(void);
~RSObjVS(void);
virtual bool Initialize(ID3D11Device*, HWND, WCHAR*, CHAR*);
virtual bool InitializeShader(ID3D11Device* device, HWND hwnd, WCHAR* vsFilename, ... | [
"denghc09@gmail.com"
] | denghc09@gmail.com |
b58111b00f0b94eab61982eba3290cadad01b3d9 | b85aad75aa5984fb6f276feaad21d9e07040b380 | /source/main.cpp | 09cd58ebda1efe2671ef6a370d379bbaadbb7ed8 | [] | no_license | jason0597/Seedminer-CPP | 9e4397d85f47735185f7c6d667adbbe71bab0588 | 728e02d7e6620ef4132fb4a261ec079f848a4b66 | refs/heads/master | 2020-03-07T06:47:49.294984 | 2018-04-04T23:28:18 | 2018-04-04T23:28:18 | 127,331,793 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,081 | cpp | #include <iostream>
#include <string>
#include "common.hpp"
#include "data_nodes.hpp"
#include "file_handling.hpp"
#include "launcher.hpp"
int32_t getMsed3Error(uint32_t num, std::vector<std::vector<int32_t>> nodes) {
std::vector<int32_t> LFCSes = nodes[0];
std::vector<int32_t> msed3s = nodes[1];
int di... | [
"jason099080@hotmail.com"
] | jason099080@hotmail.com |
17fd91a123850b2707faf2bcf468493856e81bed | 034de645cc99598e357862fe8f379173edca7021 | /RenderSystems/GL3Plus/include/OgreGL3PlusHardwareBuffer.h | 135d3c2b38744fb65bc31cdb4b6ce2e57cfb9abb | [
"MIT"
] | permissive | leggedrobotics/ogre | 1c0efe89a6fe55fe2e505ce55abdcf18603153a1 | fe47104b65ffbbf3f4166cc2b11a93109c799537 | refs/heads/raisimOgre | 2021-07-08T18:46:32.251172 | 2020-10-05T13:21:09 | 2020-10-05T13:21:09 | 195,427,004 | 2 | 9 | MIT | 2020-10-05T13:21:10 | 2019-07-05T14:56:13 | C++ | UTF-8 | C++ | false | false | 2,506 | 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-2014 Torus Knot Software Ltd
Permission is hereby granted, free of charge, to any person obta... | [
"rojtberg@gmail.com"
] | rojtberg@gmail.com |
ce418e0b0839d701f9cdb2b443b48c8223c868c1 | 08d1ed39609beac9ca2604ece44aa10741330e37 | /server/main/utils/MD5Util.hpp | ead16a77c5815c9066838114b7bee4d4f567bf50 | [] | no_license | wenyiyi/user | e1a310c47b9e526722c0f469054f20a10d12323e | 860a1cda51b1024ad21b6f4271f7d613c849b1c6 | refs/heads/master | 2022-11-10T22:04:34.923705 | 2020-07-01T05:17:48 | 2020-07-01T05:17:48 | 276,225,400 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 210 | hpp | //
// MD5Util.hpp
// user
//
// Created by Vincent on 2020/6/26.
// Copyright © 2020 Vincent. All rights reserved.
//
#ifndef MD5Util_hpp
#define MD5Util_hpp
#include <stdio.h>
#endif /* MD5Util_hpp */
| [
"1217047025@qq.com"
] | 1217047025@qq.com |
d13d46b1241c1fd11c0c52d2d422bf444a860037 | 5908c584b22d8f152deeb4082ff6003d841deaa9 | /Physics_RT/Havok/Source/Physics2012/Dynamics/World/Simulation/Multithreaded/Spu/hkpSpuConfig.h | d05a37af44b8e52e68c345c3660ac015e6d4cb10 | [] | no_license | imengyu/Physics_RT | 1e7b71912e54b14679e799e7327b7d65531811f5 | b8411b4bc483d6ce5c240ae4c004f3872c64d073 | refs/heads/main | 2023-07-17T20:55:39.303641 | 2021-08-28T18:25:01 | 2021-08-28T18:25:01 | 399,414,182 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 9,448 | h | /*
*
* Confidential Information of Telekinesys Research Limited (t/a Havok). Not for disclosure or distribution without Havok's
* prior written consent. This software contains code, techniques and know-how which is confidential and proprietary to Havok.
* Product and Trade Secret source code contains trade secrets ... | [
"1501076885@qq.com"
] | 1501076885@qq.com |
efdd64ea054270ff7d902a7fd5d3549bb20c704a | 600df3590cce1fe49b9a96e9ca5b5242884a2a70 | /chrome/browser/ui/views/omnibox/omnibox_result_view_unittest.cc | bc514d77aa398f8df2e08141eba44c3b82c47362 | [
"BSD-3-Clause"
] | permissive | metux/chromium-suckless | efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a | 72a05af97787001756bae2511b7985e61498c965 | refs/heads/orig | 2022-12-04T23:53:58.681218 | 2017-04-30T10:59:06 | 2017-04-30T23:35:58 | 89,884,931 | 5 | 3 | BSD-3-Clause | 2022-11-23T20:52:53 | 2017-05-01T00:09:08 | null | UTF-8 | C++ | false | false | 3,215 | cc | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ui/views/omnibox/omnibox_result_view.h"
#include "testing/gtest/include/gtest/gtest.h"
TEST(OmniboxResultViewTest, CheckComputeM... | [
"enrico.weigelt@gr13.net"
] | enrico.weigelt@gr13.net |
6c57c994f37499bf6b67238436e589da7aed452d | 20aab3ff4cdf44f9976686a2f161b3a76038e782 | /lua/ProjectST/龍神録/project/22章/mydat/source/char.cpp | be176c7a8125a1666f0da320d2a3b1938c34daab | [
"MIT"
] | permissive | amenoyoya/old-project | 6eee1e3e27ea402c267fc505b80f31fa89a2116e | 640ec696af5d18267d86629098f41451857f8103 | refs/heads/master | 2020-06-12T20:06:25.828454 | 2019-07-12T04:09:30 | 2019-07-12T04:09:30 | 194,408,956 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 2,571 | cpp | #include "../include/GV.h"
void calc_ch(){
if(ch.cnt==0 && ch.flag==2){//今の瞬間死んだら
ch.x=FIELD_MAX_X/2;//座標セット
ch.y=FIELD_MAX_Y+30;
ch.mutekicnt++;//無敵状態へ
}
if(ch.flag==2){//死んで浮上中なら
unsigned int push=CheckStatePad(configpad.left)+CheckStatePad(configpad.right)
+CheckStatePad(configpad.up)+CheckS... | [
"mtyswe3@gmail.com"
] | mtyswe3@gmail.com |
1cbc670dece0f67dbe4908d846cb54bac703d13c | a14bce89ac64eb13ddb80c670624fbc6b0768d8b | /Kaltag/citypath.cpp | 24015bb1f952975768ffb2f6d34d783d09d5a199 | [] | no_license | tylercchase/cs202 | e15ac38d1cdc096d9ba11954af3e42f8402d1d15 | ce6d3fe71d52114b3bc4728d009646d933f0a2da | refs/heads/master | 2020-12-11T17:48:21.305867 | 2020-05-01T01:43:03 | 2020-05-01T01:43:03 | 233,916,293 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 426 | cpp | #include "cityPath.hpp"
#include <math.h>
void CityPath::addCity(CityNode &city){
connections.push_back(city);
}
int CityPath::totalDistance(){
int total = 0;
for(int i = 0; i < connections.size() - 1; i++){
total += sqrt(pow((connections[i+1].getLatitude() - connections[i].getLatitude() ),2... | [
"tylercchase@gmail.com"
] | tylercchase@gmail.com |
36a1bc3e5057f9d5b91b56593e679c5e6f187741 | 497295beab134b883f9b1eb835117aadada06a84 | /AI.cpp | 08d49e318da3271e54ae692b7cac2dbcf692367d | [] | no_license | Curtainf2f/Gomoku | e51178460362571d348e101f163e4434e46ca084 | 795cfdc76dde146a6329fce1ec2a8b15abdfef13 | refs/heads/master | 2020-05-24T00:25:38.761981 | 2019-05-16T11:53:40 | 2019-05-16T11:53:40 | 187,016,376 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 14,680 | cpp | #include "graphics.h"
#include "art.h"
#include "mystruct.h"
#include "AI.h"
#include <stack>
#include <queue>
#include <cstring>
#include "rule.h"
#include <algorithm>
#include <iostream>
#include <cstdio>
#include <map>
#include <set>
#include <string>
#include <ctime>
using namespace std;
//#define DEBUG
clock_t st... | [
"835074923@qq.com"
] | 835074923@qq.com |
af73160f7a8b2e8f75da9a7c40a059bed1a5158a | 515d4cea84eb2dd70b67b1b1bfc64de14fdd0d3d | /arduino/arduino_onboard/arduino.ino | b91f66ad7a6fdcf9ab03d6d79434547ab0d48a3d | [] | no_license | Pigaco/hosts | cc618566dcedca9442850ce0aeb18286d2b5decb | 64a872aeeb179ce38513d553a015c7165956b73e | refs/heads/master | 2021-01-22T03:13:58.418832 | 2016-11-14T12:41:57 | 2016-11-14T12:41:57 | 38,927,975 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,614 | ino | #include "serial_connector.h"
#include "button.h"
#include "led.h"
//If you change the baud rate here, you also have
//to change it in the makefile.
SerialConnector serialConnector(9600);
//Workaround for an arduino compiler bug
void* __dso_handle;
void* __cxa_atexit;
//LEDs
LED *leds[6];
//Buttons
Button *buttons... | [
"mail@maximaximal.com"
] | mail@maximaximal.com |
24fd8e4ae252079b83a771d1fdf742b566e2fb66 | c6881dbb2cb0aea8ac39c809aa5d339c9e15ac09 | /Blockchain/txdb.cpp | 7beceb3bd01ebb780c277a8af9aa5a2d2c3b2ce9 | [] | no_license | HungMingWu/blockchain-demo | d62afbe6caf41f07b7896f312fd9a2a7e27280c7 | ebe6e079606fe2fe7bf03783d66300df7a94d5be | refs/heads/master | 2020-03-21T22:33:38.664567 | 2018-10-01T10:12:40 | 2018-10-01T10:12:40 | 139,134,108 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,523 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "txdb.h"
#include "chain.h"
#include "chainparams.h"
#include "hash.h"
... | [
"u9089000@gmail.com"
] | u9089000@gmail.com |
d7f035e71582d668881cb61dc4cf243cb15a37f3 | 75d5e91750db9da92b76b1cf133f1321e5408555 | /GRA/Draw.h | 2e72dd2a82518cf4c0f65772237da9e62f92f9dd | [] | no_license | piotr4321/grafika | 33337eeebe74602caf57bbe3af26116d4d95734d | 7cddda25552bec1efa6c4c2061f7c49cd8f2035e | refs/heads/master | 2021-01-10T05:34:34.080673 | 2016-01-22T17:50:25 | 2016-01-22T17:50:25 | 50,146,695 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 570 | h |
#pragma once
#include <cstdlib>
#include "quickcg.h"
//klasa reprezentujaca operacje rysowania
class Draw {
public:
//funkcja inicjalizująca okno gry
static void initScreen(int width, int height, bool fullscreen, const std::string& text);
//funkcja rysująca nową klatkę
static void updateScreen();
//funkcja c... | [
"wefwfwae@gmail.com"
] | wefwfwae@gmail.com |
005b56d107a73510760afe9e5140a6be2ba31dee | 0a570a49cac8a807d8feceb78663355212b080cb | /Arduino/jarvis/SerialController.hpp | 856acc795267d33675151fc3597a9217e64db72b | [
"MIT"
] | permissive | davide-dv/IoTProject | 7405c21f2ca611eaf21ea0d691a4e5fdd90795e4 | eba3fe2e9bb103f1db971d35a3dd9dc4cd8c5255 | refs/heads/master | 2021-01-19T00:31:48.384386 | 2017-05-04T15:10:22 | 2017-05-04T15:10:22 | 76,870,978 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 538 | hpp | #ifndef __SERIALCONTROLLER_HPP__
#define __SERIALCONTROLLER_HPP__
#include "Task.hpp"
#include "JarvisHW.hpp"
#include "MessageService.hpp"
#include <SoftwareSerial.h>
#include "PinConfig.hpp"
class SerialController : public Task
{
public:
SerialController(JarvisHW* js);
~SerialController();
void init(int perio... | [
"antoniotagliente@aol.com"
] | antoniotagliente@aol.com |
b60d3203764edb1e0783a1d32860419726c350e9 | 0dde4e977c748fe1dfa5458d9bf790e38ae5b3be | /trunk/analysis/ClasTool/MapTools/TFloatBuffer.h | 99c6dfcc362dd9705c9b3daae2af4b059c8a4ea7 | [] | no_license | jasonbono/CLAS | e27a48f96b753e11a97803bbe4c782319c4f8534 | c899062b8740cdb6ef04916d74f22cebc5d2c5f8 | refs/heads/master | 2020-05-24T03:56:12.542417 | 2019-05-16T17:50:31 | 2019-05-16T17:50:31 | 187,074,934 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 702 | h |
#ifndef __TFLOATBUFFER__
#define __TFLOATBUFFER__
#include <iostream>
#include <cstdlib>
#include <unistd.h>
#include <iomanip>
using std::cout;
using std::endl;
// ROOT includes
#include "TROOT.h"
#include "TObject.h"
#include "TString.h"
class TFloatBuffer{
private:
Float_t *lBuffer;
Int_t lBuffLength;
pu... | [
"jason.s.bono@gmail.com"
] | jason.s.bono@gmail.com |
65561c1c62f688f1c3cb74a90dca3e84e4a108b0 | 42cb7febe9698c1075f42c61eb8c8f40e082f7b9 | /UIRenderingConcepts/UIGraphicsDemo/source/UiDemoApp.cpp | ee3438621190b62fb79b10c318875f99be42f281 | [] | no_license | VulkanWorks/QtVulkanSceneGraphUiRenderingConcepts | fb60006e71a7c1c91a3e0238cfee66f83d19cf73 | 99dc0b744dcd13dd58172b5477d5a728450a1964 | refs/heads/master | 2020-07-03T22:53:30.406434 | 2019-07-27T05:52:34 | 2019-07-27T05:52:34 | 202,078,122 | 1 | 0 | null | 2019-08-13T06:21:58 | 2019-08-13T06:21:58 | null | UTF-8 | C++ | false | false | 12,925 | cpp | #include "UIDemoApp.h"
#include "UIDemo.h"
#include "UiMetalPaintEngine.h"
#include "Circle/Circle.h"
#include "Rectangle/Rect.h"
#include "../common/SceneGraph/Window.h"
#include <QApplication>
int main(int argc, char **argv)
{
QApplication qtApp(argc, argv);
UIDemoApp* app = new UIDemoApp();
app->Enabl... | [
"engineer.parminder@gmail.com"
] | engineer.parminder@gmail.com |
5e47aecb530c8df13b47b4bf197cca0016f9a74e | 3438e8c139a5833836a91140af412311aebf9e86 | /third_party/WebKit/Source/core/workers/WorkletBackingThreadHolder.h | 2f47c61734dda64b74139cabff3bdf08246560a3 | [
"BSD-3-Clause",
"LGPL-2.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-1.0-or-later",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"MIT",
"Apache-2.0"
] | permissive | Exstream-OpenSource/Chromium | 345b4336b2fbc1d5609ac5a67dbf361812b84f54 | 718ca933938a85c6d5548c5fad97ea7ca1128751 | refs/heads/master | 2022-12-21T20:07:40.786370 | 2016-10-18T04:53:43 | 2016-10-18T04:53:43 | 71,210,435 | 0 | 2 | BSD-3-Clause | 2022-12-18T12:14:22 | 2016-10-18T04:58:13 | null | UTF-8 | C++ | false | false | 816 | h | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef WorkletBackingThreadHolder_h
#define WorkletBackingThreadHolder_h
#include "core/CoreExport.h"
#include "wtf/PtrUtil.h"
namespace blink {
class... | [
"support@opentext.com"
] | support@opentext.com |
b1c6ab4e38fe64bd221c5fc95d236d3617a29ffd | bd697660a48a179aab653ecbc21fdbf4a1c29c80 | /BattleTank/Source/BattleTank/TankPlayerController.cpp | 1a25fcd5d367289b3360f60af1c3c852718f486c | [] | no_license | celioreyes/UC_Section04_BattleTank | c4c9c99565358420bc1ad7106193a39afa7c9a81 | e0640a04db374c597987916c3878384ed9f704cd | refs/heads/master | 2020-04-14T19:28:00.377665 | 2019-02-17T20:59:50 | 2019-02-17T20:59:50 | 164,058,590 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 231 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "TankPlayerController.h"
#include "BattleTank.h"
ATank* ATankPlayerController::GetControlledTank() const {
return Cast<ATank>(GetPawn());
} | [
"celioreyesrr@gmail.com"
] | celioreyesrr@gmail.com |
4370de3bfcdc63995690dda85b8b4e74b1109305 | 8840469d03c5451f589c0e26b72193156c4ee56e | /examples/qntzr/qntzr.ino | a7657b285dfbff1c4c37f03719d2bfaef3567cea | [
"BSD-3-Clause"
] | permissive | saluber/du-ino | f175c8d3b6f8e7820cbf8410ef6c475e55187372 | 36163e917da9ace7a5b4b131b1fd6086cf7a672d | refs/heads/master | 2020-03-26T16:26:47.892257 | 2018-08-16T22:10:54 | 2018-08-16T22:10:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,109 | ino | /*
* #### ####
* #### ####
* #### #### ##
* #### #### ####
* #### ############ ############ #### ########## #### ... | [
"mavrinac@gmail.com"
] | mavrinac@gmail.com |
f8a2f9878b920864f2f7959eca45175e2601c073 | 69b650b9d8a72975d0347941977be30e251624d4 | /SouraEngine/Platform/Windows/WindowsWindow.h | 3ac063e1f12c5b1e2059e5051e05f4af61873cd2 | [] | no_license | mohammadkamal/SouraEngine | 829b3ec535fc52775523f6c8145fa7389da56fb3 | da207e63e66ce004ae44bb61cc896fc472917553 | refs/heads/master | 2023-06-04T14:04:43.730150 | 2021-06-29T12:48:31 | 2021-06-29T12:48:31 | 271,069,273 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 828 | h | #pragma once
#include "Core/Window.h"
#include <memory>
#include <glad/glad.h>
#include <GLFW/glfw3.h>
namespace SouraEngine
{
class WindowsWindow :public Window
{
public:
WindowsWindow(const WindowProperties& props);
virtual ~WindowsWindow();
virtual void OnUpdate() override;
virtual uint32_t GetWidth() c... | [
"mohammadkamalshady@gmail.com"
] | mohammadkamalshady@gmail.com |
befbc79acc3a9c1f491c77672618342456efeebe | a714d23380e2f75a100c3c98b71e9a878a7c9465 | /comp_prog/ioi_archive/2011/ricehub/grader.cpp | 00f754fdf17f0f0441dc12f1f0a5f901d456a21d | [] | no_license | harta01/kaizen | 61ba6f5b461d2124d6366561c78d535756a1da75 | 235662e12497ee1eb58bf4f2e37c99746de1f415 | refs/heads/master | 2020-04-12T22:38:25.934735 | 2016-10-03T03:04:43 | 2016-10-03T03:04:43 | 68,275,745 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 599 | cpp | #include "grader.h"
#include <stdio.h>
#include <stdlib.h>
#define MAX_R 1000000
static int R, L;
static long long B;
static int X[MAX_R];
static int solution;
inline
void my_assert(int e) {if (!e) abort();}
static void read_input()
{
int i;
my_assert(3==scanf("%d %d %lld",&R,&L,&B));
for(i=0; i<R; i++)
... | [
"wijayaha@garena.com"
] | wijayaha@garena.com |
c9720145685fd4b975aa66f0483e660dc5a01bb5 | 67354b590965aef0cfccaf524951e8d799c5dbbf | /gui/ImageStackView.h | f01c35e2bdabbc8c25fecd4c0e79d9204cc191c1 | [] | no_license | unidesigner/imageprocessing | 31643dcc46ed82f57c1398dc25c74a384dfa35a1 | 2878a56fff5d59930fe73a8f99200b1ea8fc0607 | refs/heads/master | 2021-01-15T21:48:56.122674 | 2013-02-27T11:26:42 | 2013-02-27T11:26:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 869 | h | #ifndef IMAGEPROCESSING_GUI_IMAGE_STACK_VIEW_H__
#define IMAGEPROCESSING_GUI_IMAGE_STACK_VIEW_H__
#include <pipeline/all.h>
#include <imageprocessing/ImageStack.h>
#include <gui/Keys.h>
#include <gui/Signals.h>
#include "ImageStackPainter.h"
class ImageStackView : public pipeline::SimpleProcessNode<> {
public:
Ima... | [
"funke@ini.ch"
] | funke@ini.ch |
56df4e03d1a5923c15de1988c8431d446c6468ff | 5bbeacb6613fdaa184a5bda4bdb54b16dc8654e1 | /zMuSource/GameServer/MonsterBag.cpp | 09f253ca68ce783ea490345dc4864c6cdf122ae9 | [] | no_license | yiyilookduy/IGCN-SS12 | 0e4b6c655c2f15e561ad150e1dd0f047a72ef23b | 6a3f8592f4fa9260e56c1d5fee7a62277dc3691d | refs/heads/master | 2020-04-04T09:03:13.134134 | 2018-11-02T03:02:29 | 2018-11-02T03:02:29 | 155,804,847 | 0 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 3,415 | cpp | ////////////////////////////////////////////////////////////////////////////////
// MonsterBag.cpp
#include "stdafx.h"
#include "MonsterBag.h"
#include "TLog.h"
#include "user.h"
#include "LuaBag.h"
#include "MapClass.h"
#include "GameMain.h"
CMonsterBag::CMonsterBag()
{
}
CMonsterBag::~CMonsterBag()
{
}
void CMonst... | [
"duypnse63523@fpt.edu.vn"
] | duypnse63523@fpt.edu.vn |
2c9cbb5833abc8bc50a4fbe00343aa7d35ac0a5c | be332b45dc5875246336b3f340f5ccbaa4f299f8 | /Conch/source/common/imageLib/JCGifImg.h | adb8cbf4e0af9e60e9788a22322dadc381a24537 | [] | no_license | chen1234219/LayaNative2.0 | cd1c7cb9f8f8236721a1b0fcfd733565b1d80053 | 2a210f0a4b988fc3efc824d88cea1ccc54cd0e17 | refs/heads/main | 2023-08-13T17:44:19.282053 | 2021-10-11T07:03:50 | 2021-10-11T07:03:50 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 8,989 | h | /**
@file JCGifImg.h
@brief
@author James
@version 1.0
@date 2016_7_13
*/
#ifndef __JCGifImg_H__
#define __JCGifImg_H__
#include <fstream>
#include <iostream>
using namespace std;
namespace laya
{
/*
* 图像扩展参数
*/
typedef struct
{
bool active; //本结构中的其它参数是否可用
unsigned i... | [
"775331175@qq.com"
] | 775331175@qq.com |
f50c7aecf63e55745f352c46306b0a19098e4874 | fe91ffa11707887e4cdddde8f386a8c8e724aa58 | /services/tracing/public/cpp/stack_sampling/tracing_sampler_profiler.cc | 945fdcb6ee22706a15da7a82f4ddc77f5ee525c8 | [
"BSD-3-Clause"
] | permissive | akshaymarch7/chromium | 78baac2b45526031846ccbaeca96c639d1d60ace | d273c844a313b1e527dec0d59ce70c95fd2bd458 | refs/heads/master | 2023-02-26T23:48:03.686055 | 2020-04-15T01:20:07 | 2020-04-15T01:20:07 | 255,778,651 | 2 | 1 | BSD-3-Clause | 2020-04-15T02:04:56 | 2020-04-15T02:04:55 | null | UTF-8 | C++ | false | false | 22,393 | cc | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "services/tracing/public/cpp/stack_sampling/tracing_sampler_profiler.h"
#include <limits>
#include <set>
#include "base/bind_helpers.h"
#includ... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
3f7bba1662824a937b68e636515ca0c606b2d437 | 46d4712c82816290417d611a75b604d51b046ecc | /Samples/Win7Samples/multimedia/audio/DuckingCaptureSample/WasapiChat.Cpp | 93e269d3755c1808ec1fd55f0ac995ecda52908e | [
"MIT"
] | permissive | ennoherr/Windows-classic-samples | 00edd65e4808c21ca73def0a9bb2af9fa78b4f77 | a26f029a1385c7bea1c500b7f182d41fb6bcf571 | refs/heads/master | 2022-12-09T20:11:56.456977 | 2022-12-04T16:46:55 | 2022-12-04T16:46:55 | 156,835,248 | 1 | 0 | NOASSERTION | 2022-12-04T16:46:55 | 2018-11-09T08:50:41 | null | UTF-8 | C++ | false | false | 9,810 | cpp | // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//
// Copyright (c) Microsoft Corporation. All rights reserved
//
//
// A very simple "Cha... | [
"chrisg@microsoft.com"
] | chrisg@microsoft.com |
bb1e5e0ad7d3c14a859e3e886aa34e15d40558d9 | ea727ced064f305a844d54343ee0534e00571e24 | /Graph/PrintAdjList/PrintAdjList.h | 05f9ff9e0eb826bd1c71b90005e4c30ab2a321fb | [] | no_license | iukjgo/practice_easy | dce60754329dd63f15dfdf9ee7a77fea7229fee0 | dfd19e7c28b8f967d4079f6d6870492723cdfefa | refs/heads/master | 2020-04-06T08:03:09.227027 | 2018-11-21T03:11:54 | 2018-11-21T03:11:54 | 157,293,395 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 591 | h | #ifndef PrintAdjList_h
#define PrintAdjList_h
#include <iostream>
#include <vector>
class Graph {
public:
Graph(int vertices, int edges) : mVertices(vertices), mEdges(edges), mAdj(vertices) {
};
void addEdge(int u, int v);
const std::vector<int>* getAdjList(int u) const;
const int getVe... | [
"iukjgo@gmail.com"
] | iukjgo@gmail.com |
e06aa2ce7e88d706576ff9d6ff2ee2585f29a3b9 | 9ef5662fa65ca9793577d5151fcf4a7b82ef300f | /P5/SDLProject/Entity.h | d3861a3eaa62f8d6920c4ab2a0703d7f5f2a1539 | [] | no_license | lsemenuk/CS3113 | ab9a5261b7f2f261350b170fa0d8b576d65d2de8 | ef46502117638622bb96957ccf9994a4010f70ba | refs/heads/master | 2022-12-02T23:15:14.105027 | 2020-08-14T21:31:37 | 2020-08-14T21:31:37 | 267,184,503 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,113 | h | #pragma once
#define GL_SILENCE_DEPRECATION
#ifdef _WINDOWS
#include <GL/glew.h>
#endif
#define GL_GLEXT_PROTOTYPES 1
#include <SDL.h>
#include <SDL_opengl.h>
#include "glm/mat4x4.hpp"
#include "glm/gtc/matrix_transform.hpp"
#include "ShaderProgram.h"
#include "Map.h"
enum EntityType {
PLAYER,
PLATFORM,
... | [
"ls4508@nyu.edu"
] | ls4508@nyu.edu |
744c48380fbc321db608409ae435136b82cc90b6 | 4d7ae3ca4674267c72385fa1ba67496e3abd55ff | /libRayTracing/RayTracing/aabb.h | f52df8b074fa8ed181af90015358b6fd35c6187c | [
"MIT"
] | permissive | tanganke/RayTracing | 1e5c1e066b74f26ef215f1075e43cd8db8eb7259 | 876180439cbc2a6241735d18de6e0eb9e2f11e96 | refs/heads/master | 2023-08-25T02:56:58.126412 | 2021-10-13T11:52:07 | 2021-10-13T11:52:07 | 404,777,544 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,421 | h | #pragma once
#include "ray.h"
#include "float.h"
#include <iostream>
namespace ray_tracing
{
class aabb
{
public:
vec3 lower_bound, higher_bound;
public:
aabb() : lower_bound{FLT_MAX, FLT_MAX, FLT_MAX}, higher_bound{FLT_MIN, FLT_MIN, FLT_MIN} {};
aabb(const vec3 &lower_bound_, ... | [
"tang.anke@foxmail.com"
] | tang.anke@foxmail.com |
4854448793f4dbf22a51e067b83293ffee1db3d0 | fef58dcd0c1434724a0a0a82e4c84ae906200289 | /usages/0x7033EEFD9B28088E.cpp | 7437a3e5ec31d297b26c583585689f28aff74211 | [] | no_license | DottieDot/gta5-additional-nativedb-data | a8945d29a60c04dc202f180e947cbdb3e0842ace | aea92b8b66833f063f391cb86cbcf4d58e1d7da3 | refs/heads/main | 2023-06-14T08:09:24.230253 | 2021-07-11T20:43:48 | 2021-07-11T20:43:48 | 380,364,689 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 879 | cpp | // freemode.ysc @ L146260
void func_1667(int iParam0, bool bParam1)
{
struct<14> Var0;
struct<13> Var1;
if (NETWORK::NETWORK_IS_GAME_IN_PROGRESS())
{
if (!func_1669())
{
if (iParam0 != -1)
{
if (NETWORK::NETWORK_IS_PLAYER_ACTIVE(iParam0))
{
NETWORK::_0xA7C511FA1C... | [
"tvangroenigen@outlook.com"
] | tvangroenigen@outlook.com |
d3efa762dbb898e39d13bd12646aca5d867154d3 | ae0dbf9739042461b1b55dd79aad3beff25ba3b0 | /bfs2.cpp | 68a8f66dea2ec611bfe9e4a6df431a2b77f96d38 | [] | no_license | saquib77/Code | b058d587438c5e029a1b422b2facb80924c69f91 | 006faa69f35d3cbfd9aca261ed696cab78ff7fb0 | refs/heads/main | 2023-07-14T01:05:22.466452 | 2021-08-20T06:55:13 | 2021-08-20T06:55:13 | 341,225,695 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 718 | cpp | #include<bits/stdc++.h>
using namespace std;
queue<int>q;
bool visited[7];
int dist[7];
vector<pair<int,int>>gp[7];
void bfs(int n){
visited[n]=true;
dist[n]=0;
q.push(n);
while(!q.empty()){
int s=q.front();
q.pop();
cout<<s<<" ";
for(auto v:gp[s]){
if(visited[v.first]) continue;
visited[v.first]=tru... | [
"chand567khan@gmail.com"
] | chand567khan@gmail.com |
39a5c59db82d2e73c7893bcc582794792e2fa6c0 | 3ff1fe3888e34cd3576d91319bf0f08ca955940f | /cdc/include/tencentcloud/cdc/v20201214/model/ModifyDedicatedClusterInfoResponse.h | e5f1ce5239fd2e4ed8cde99b4cdd799f2b453acf | [
"Apache-2.0"
] | permissive | TencentCloud/tencentcloud-sdk-cpp | 9f5df8220eaaf72f7eaee07b2ede94f89313651f | 42a76b812b81d1b52ec6a217fafc8faa135e06ca | refs/heads/master | 2023-08-30T03:22:45.269556 | 2023-08-30T00:45:39 | 2023-08-30T00:45:39 | 188,991,963 | 55 | 37 | Apache-2.0 | 2023-08-17T03:13:20 | 2019-05-28T08:56:08 | C++ | UTF-8 | C++ | false | false | 1,686 | h | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
... | [
"tencentcloudapi@tencent.com"
] | tencentcloudapi@tencent.com |
129b28ea2e4c5cf8f36aaac73632c2560d45192b | 785df77400157c058a934069298568e47950e40b | /TnbMesh/TnbLib/SizeMapControl/3d/Mesh3d_SizeMapControlFwd.hxx | 1969f93adb96a6c04dcbef044688aefd24d1edbd | [] | 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 | 343 | hxx | #pragma once
#ifndef _Mesh3d_SizeMapControlFwd_Header
#define _Mesh3d_SizeMapControlFwd_Header
namespace tnbLib
{
// Forward Declarations [6/22/2022 Amir]
class Cad_TModel;
template<class GeomType> class Mesh_SizeMapControl;
typedef Mesh_SizeMapControl<Cad_TModel> Mesh3d_SizeMapControl;
}
#endif // !_Mesh3d_Si... | [
"aasoleimani86@gmail.com"
] | aasoleimani86@gmail.com |
109c6cf5b2f8d28dd9b9255d055de409901993b4 | fb72a39f5da510ba346db3073d33c6387760fb93 | /ficha.h | ecb6eead10ccdf8555e8b80c3c80000089c9cd76 | [
"MIT"
] | permissive | jion/tetrabrick | bcd724e572c907f7fc8c4fb7219ea4decc7e88c7 | 0946c2528a1e8b13ad7c1835b93934138404c025 | refs/heads/master | 2021-01-17T12:15:42.512451 | 2020-03-10T14:35:29 | 2020-03-10T14:35:29 | 33,821,988 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 706 | h | #ifndef ficha_h
#define ficha_h
#include <SDL/SDL.h>
#include <string>
#include <iostream>
#include <fstream>
#include <vector>
using namespace std;
class Ficha
{
public:
int valor;
int posicion;
bool data[4][4][4];
Ficha( class Galeria *galeria );
~Ficha();
voi... | [
"el.manu@gmail.com"
] | el.manu@gmail.com |
89df47c8a1ee872b4f921051dc543be6aece782d | 08278b638a0c44e7a3951f2a5f5d72d33f610682 | /MummyDiner/state/LevelScreen.h | aa03e238494085e8311f86f3b5a5cd9d6aa99ca6 | [] | no_license | muhdmirzamz/MummyDiner | f486446c74290c959fd3bae8dbaeed96f0a475df | ce55023acc138638dc1cb3fc8360e4fad9b7bc18 | refs/heads/master | 2021-01-01T16:00:25.059462 | 2015-12-15T12:04:07 | 2015-12-15T12:04:07 | 31,579,910 | 1 | 0 | null | 2015-04-25T12:05:44 | 2015-03-03T04:48:03 | C++ | UTF-8 | C++ | false | false | 1,405 | h | //
// LevelScreen.h
// MummyDiner
//
// Created by Muhd Mirza on 5/1/15.
// Copyright (c) 2015 Muhd Mirza. All rights reserved.
//
#ifndef __MummyDiner__LevelScreen__
#define __MummyDiner__LevelScreen__
#include "GameState.h"
#include "GameOverScreen.h"
class LevelScreen: public GameState {
public:
static boo... | [
"muhdmirzamz@gmail.com"
] | muhdmirzamz@gmail.com |
71ab6c9395fd926ab847a0d3c2f50e7518ed573f | 6dedc5c204ac18abee11159ffe0bcc300be61c5a | /signalAndSlot/student.cpp | 75264368d46f11cb6d0083d9eff7e58b8321e503 | [] | no_license | MrDalili/qtStudy | ad364cd8b91212a8bb7f3916b1abf7653888d5c0 | febd2cfbbb04f0b99038ccac78a48c4247ea5451 | refs/heads/master | 2020-08-04T04:32:13.014803 | 2019-11-17T04:09:15 | 2019-11-17T04:09:15 | 212,006,597 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 255 | cpp | #include "student.h"
#include <QDebug>
Student::Student(QObject *parent) : QObject(parent)
{
}
void Student::treat(){
qDebug() << "请老师吃饭";
}
void Student::treat(QString food){
qDebug() << "请老师吃饭" << food.toUtf8().data();
}
| [
"275482839@qq.com"
] | 275482839@qq.com |
61aa9de08c5ecf8ca4bb8c8e2806be2d1f89a0f1 | 888ff1ff4f76c61e0a2cff281f3fae2c9a4dcb7b | /C/C200/C230/C236/1.cpp | 5fd04a813965d37db35728ca035a9cee196df843 | [] | no_license | sanjusss/leetcode-cpp | 59e243fa41cd5a1e59fc1f0c6ec13161fae9a85b | 8bdf45a26f343b221caaf5be9d052c9819f29258 | refs/heads/master | 2023-08-18T01:02:47.798498 | 2023-08-15T00:30:51 | 2023-08-15T00:30:51 | 179,413,256 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 476 | cpp | /*
* @Author: sanjusss
* @Date: 2021-04-11 10:31:51
* @LastEditors: sanjusss
* @LastEditTime: 2021-04-11 10:33:19
* @FilePath: \C\C200\C230\C236\1.cpp
*/
#include "leetcode.h"
class Solution {
public:
int arraySign(vector<int>& nums) {
int sign = 1;
for (int i : nums) {
if (i == 0... | [
"sanjusss@qq.com"
] | sanjusss@qq.com |
7b659d4b8492dfd26232988ddfd5359a133d6c45 | 77a091c62781f6aefeebdfd6efd4bab9caa51465 | /Done/main/mon.cpp | abd7c73ba2761e597109d329fe43eff048d1ec2a | [] | no_license | breno-helf/Maratona | 55ab11264f115592e1bcfd6056779a3cf27e44dc | c6970bc554621746cdb9ce53815b8276a4571bb3 | refs/heads/master | 2021-01-23T21:31:05.267974 | 2020-05-05T23:25:23 | 2020-05-05T23:25:23 | 57,412,343 | 1 | 2 | null | 2017-01-25T14:58:46 | 2016-04-29T20:54:08 | C++ | UTF-8 | C++ | false | false | 702 | cpp | #include <bits/stdc++.h>
using namespace std;
#define debug(args...) fprintf(stderr,args)
#define pb push_back
#define mp make_pair
typedef long long ll;
typedef pair<int,int> pii;
typedef pair<ll,ll> pll;
const int MAX = 1e6 + 2;
const int INF = 0x3f3f3f3f;
const ll MOD = 1000000007;
int n, k;
char s[MAX];
map<ll... | [
"breno.moura@hotmail.com"
] | breno.moura@hotmail.com |
bddec873c29a08479271504dab4d0c1b692050ae | e46b909cdf0361f6c336f532507573c2f592cdf4 | /contrib/libs/protobuf/util/internal/protostream_objectsource.h | 66ea5bc4884533a8c3176e3cbc75bdf2fa084cf9 | [
"Apache-2.0"
] | permissive | exprmntr/test | d25b50881089640e8d94bc6817e9194fda452e85 | 170138c9ab62756f75882d59fb87447fc8b0f524 | refs/heads/master | 2022-11-01T16:47:25.276943 | 2018-03-31T20:56:25 | 2018-03-31T20:56:25 | 95,452,782 | 0 | 3 | Apache-2.0 | 2022-10-30T22:45:27 | 2017-06-26T14:04:21 | C++ | UTF-8 | C++ | false | false | 13,643 | h | // Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... | [
"exprmntr@yandex-team.ru"
] | exprmntr@yandex-team.ru |
24ff7f5b273714ec781324349f641ea696872520 | 19531eb1f498ad7273bcec961b34e9de79fd9381 | /cservan/MWERalign-master/src/Evaluator_unsegmentedWER.hh | 2e7b79bf6dee8e6248cca65a64a9aa8a2b76367a | [] | no_license | Trialp/Ressources_GETALP | 106e8616cef17510037bfd8af5a15511779842f7 | e728f4ece5ac344ad57c1cc7eddc8bf9cfa4bcd2 | refs/heads/master | 2020-03-07T05:16:01.590588 | 2018-04-04T14:18:47 | 2018-04-04T14:18:47 | 127,291,077 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,124 | hh | /*--------------------------------------------------------------
Copyright 2006 (c) by RWTH Aachen - Lehrstuhl fuer Informatik 6
Richard Zens, Evgeny Matusov, Gregor Leusch
---------------------------------------------------------------
This header file is part of the MwerAlign C++ Library.
This program is ... | [
"initial@athena5.imag.fr"
] | initial@athena5.imag.fr |
b1dc38d0e606b4c9bdd5d24af987982ff86e1862 | aa4b90e539ab43c64b54b9f2516a3446c9380a01 | /main.cpp | dcc32d9c3a57150ee91fa8d3759ef8f4aa26755c | [] | no_license | eggplanty/CPPAlgorithmLearning | 27197a0fbf7bdb124b77d443d34326ae875bf4fd | 1870fef242631f26d1bb0922084fb49f66439e76 | refs/heads/master | 2022-12-06T00:36:18.244126 | 2020-08-28T03:07:33 | 2020-08-28T03:07:33 | 272,315,654 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 458 | cpp | #include <iostream>
#include <vector>
#include <cstring>
using namespace std;
class Solution {
public:
string reverseLeftWords(string s, int n) {
auto reverse = [] (string &str, int i , int j) {
while(i < j) swap(str[i++], str[j--]);
};
reverse(s, 0, n-1);
reverse(s, n... | [
"794261358@qq.com"
] | 794261358@qq.com |
4461b5f1ac1074311ee33a16e2d870117977669c | 9b9b0fd49be3d29b1367e7882c4b69ca4e3118ed | /Source/System/Math/Primitive/Others/Ray.cpp | e622ba288e2fec28980a8f2e64def04fb7612c70 | [
"MIT",
"LicenseRef-scancode-public-domain"
] | permissive | arian153/Physics-Project | 01e949bc4edf2a5ea3436fe2e85c20c566eae923 | 4571eab70d0a079358905db8c33230545ffb66b9 | refs/heads/main | 2023-04-22T13:13:12.557697 | 2021-04-30T11:48:39 | 2021-04-30T11:48:39 | 320,809,601 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,285 | cpp | #include "Ray.hpp"
#include "../../Utility/Utility.hpp"
#include "Line.hpp"
namespace PhysicsProject
{
Ray::Ray(const Vector3& position, const Vector3& direction)
: position(position), direction(direction)
{
}
Ray::Ray(const Ray& rhs)
: position(rhs.position), direction(rhs.direction)
... | [
"p084111@gmail.com"
] | p084111@gmail.com |
935b7906fa0d013ab04fbad50b0109663462b879 | 3dca688178c70e5f1469763682f344d2aa2a3a89 | /HihoCoder/1014.cpp | cad32503b43cb85f0a5b058e50560b20037c5d78 | [] | no_license | Jokeren/OnlineJudge | cbfa422dd62c18f29c7f240c7936891a5ba8c8de | 6759791b2cff3872b8dbefc064d543ed18df8296 | refs/heads/master | 2020-05-20T13:48:45.245018 | 2015-04-19T05:44:34 | 2015-04-19T05:44:34 | 32,642,030 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,561 | cpp | #define _USE_MATH_DEFINES
#ifdef ONLINE_JUDGE
#define FINPUT(file) 0
#define FOUTPUT(file) 0
#else
#define FINPUT(file) freopen(file,"r",stdin)
#define FOUTPUT(file) freopen(file,"w",stdout)
#endif
#include <iostream>
#include <cstdio>
#include <cstring>
#include <cstdlib>
#include <cmath>
#include <ctime>
#include <... | [
"KerenZhou@outlook.com"
] | KerenZhou@outlook.com |
458deacd30242136f570046f24a40c96a781eec5 | 5e3d71944ea698f673276eb9ccd5cf099f3d422c | /src/libIterativeRobot/abstractBaseClasses/PositionTracker.cpp | 2a67d5ec06d69b25e2ba30127ba6c09163470cce | [] | no_license | 1138programming/2018-2019-VEX-1138C-Redemption | 7e1533d1f5fb0cf394d734d6e8b3f0f0f551a0e8 | bea4f343786092472031a79ffc03b784eef7fc2a | refs/heads/master | 2020-04-06T21:11:45.215021 | 2019-02-24T18:50:58 | 2019-02-24T18:50:58 | 157,795,757 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,009 | cpp | #include "abstractBaseClasses/PositionTracker.h"
PositionTracker::PositionTracker(Motor* leftMotor, Motor* rightMotor, pros::ADIEncoder* backEncoder, float leftDist, float rightDist, float backDist, float wheelRadius, int ticksPerRev) {
this->leftMotor = leftMotor;
this->rightMotor = rightMotor;
this->backEncode... | [
"CDCheek22@chaminet.org"
] | CDCheek22@chaminet.org |
ffeb1e40bda9195a71b9e93f296a6f8ade9c312a | d6b742de2c20c67e2afcb36fa8f4b0b5deb78c77 | /plotscript.cpp | 07d8365e01863697400e3164ecc3803d802bfa1b | [] | no_license | hqt286/Plot-Script | a58e4a97261d903bddbdd6577599111c24b75200 | cb8babc0f644bb1b3e17163e5cd14fd1991918de | refs/heads/master | 2020-04-12T04:48:54.427447 | 2018-12-18T16:22:22 | 2018-12-18T16:22:22 | 162,306,552 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,251 | cpp | #include <string>
#include <sstream>
#include <iostream>
#include <fstream>
#include <thread>
#include "startup_config.hpp"
#include "interpreter.hpp"
#include "semantic_error.hpp"
#include "cntlc_tracer.hpp"
typedef message_queue<std::string> MessageQueueStr;
void repl(Interpreter interp);
void prompt() {
std::cout ... | [
"hqt286@vt.edu"
] | hqt286@vt.edu |
31e6f12a2149c21297c193403f899b0ad7472938 | e56923b83be1f888f1a36877c904efc5e92341d6 | /BreathDetectionSystem/src/forandroid/CommBase/jni/include/TCPConnector.h | c1acc506618e636e40c05d11344d8f6522c398fc | [] | no_license | IFrestart/Breath | 12671279452d2c69298b5f8682013424b5a6f9ae | d93701f1caf228fe39a1c53651ee59705390736f | refs/heads/master | 2020-06-19T23:36:43.916392 | 2019-07-16T02:01:17 | 2019-07-16T02:01:17 | 196,914,017 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 5,962 | h | /**
* Copyright (c) 2004, HangZhou Webcon Corporation.
* 被动TCP类,提供被动TCP的建立,关闭,发送数据等操作
* @file TCPConnector.h
* @short 被动TCP类
* @author zhoujj <zhoujj@webcon.com.cn>
* @class CTCPConnector
* @short 被动TCP类
**/
#ifndef __TCPCONNECTOR_H__
#define __TCPCONNECTOR_H__
#include "Timer.h"
#include "BaseACObject.h"... | [
"782117205@qq.com"
] | 782117205@qq.com |
511df78768ddfc0863ff29e00ad0c5763f02fc74 | 942e6d29b3e6193c8541b31140ea9aef5554379b | /Sources/Inputs/ButtonMouse.cpp | ad84f4e0b33bf9bda0750a06d9f7db20f00de37e | [
"MIT"
] | permissive | hhYanGG/Acid | e7da2457bdd5820f7cba38b1602762f426dbd849 | f5543e9290aee5e25c6ecdafe8a3051054b203c0 | refs/heads/master | 2020-03-27T13:11:56.488574 | 2018-08-28T17:47:35 | 2018-08-28T18:10:46 | 146,595,670 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 571 | cpp | #include "ButtonMouse.hpp"
namespace acid
{
ButtonMouse::ButtonMouse(const std::vector<MouseButton> &buttons) :
IButton(),
m_buttons(buttons),
m_wasDown(false)
{
}
ButtonMouse::~ButtonMouse()
{
}
bool ButtonMouse::IsDown() const
{
if (Mouse::Get() == nullptr)
{
return false;
}
for (auto &bu... | [
"mattparks5855@gmail.com"
] | mattparks5855@gmail.com |
094d0f0a877564aeac36fa8e32505a80f4934f43 | b6790e0d113b82bf0064220d0b469cfe77d21d78 | /Source/tasks/VideoUpdate.cpp | 85fb6afbb45068532025ed169d3ba71835f765bd | [] | no_license | spykedood/Oh-My-Buddha | e2c2a4d0ae5a39958cca8e3f0de2b31438b5c2e7 | 20c632c55afda0482267c7d4528f88c387c2098d | refs/heads/master | 2021-01-17T12:19:23.311953 | 2012-10-17T20:16:14 | 2012-10-17T20:16:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,610 | cpp | #include <SDL.h>
#include <SDL_ttf.h>
#include <GL/glew.h>
#include "VideoUpdate.h"
#include "../game.h"
#include "../utilities/VarManager.h"
#include "../utilities/xml.h"
#include "../utilities/types.h"
int VideoUpdate::scrWidth;
int VideoUpdate::scrHeight;
int VideoUpdate::scrBPP;
int VideoUpdate::fullScrn;
bool ... | [
"msleith@cngames.co.uk"
] | msleith@cngames.co.uk |
19fe69fae6ecd207e5804b903b11d656270b8135 | 4ed0e03a070b86faa1b031ff88ad488f032dd91e | /dart_microtask_queue.h | bcb0427af8d37ef34d0679f9d059c237e8069734 | [
"BSD-3-Clause"
] | permissive | canluhuang/tonic | a83df0666225e66b01501e454b6db8d65a32c821 | 7bdb116b60aebc4200823147d6986037faab43f0 | refs/heads/main | 2023-03-16T16:53:04.455969 | 2021-03-03T13:03:46 | 2021-03-03T13:03:46 | 344,128,393 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 992 | h | // Copyright 2016 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef LIB_TONIC_DART_MICROTASK_QUEUE_H_
#define LIB_TONIC_DART_MICROTASK_QUEUE_H_
#include <vector>
#include "third_party/dart/runtime/include/dart_api... | [
"lukehuang@tencent.com"
] | lukehuang@tencent.com |
239d1e454cf30f5a03d73cc40ff71e8dc4c85353 | 2dfbb17960cc1ad86163abdba8ab380554ca635a | /src/utiltime.h | eded248c4af480eb228d19dcccabe9d4c7f28f00 | [
"MIT"
] | permissive | liray-unendlich/ZENZO-Core | 1bdba73696f63ccec16d04bf4189f55b07c9de78 | b6d449447a675e1307f0c02e36daaf5c1afb67ae | refs/heads/master | 2020-04-13T16:08:23.460161 | 2018-10-13T19:25:07 | 2018-10-13T19:25:07 | 163,313,550 | 0 | 0 | MIT | 2018-12-27T16:08:07 | 2018-12-27T16:08:07 | null | UTF-8 | C++ | false | false | 705 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2016-2017 The PIVX developers
// Copyright (c) 2017 The Zenzo developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.ph... | [
"info@zenzo.io"
] | info@zenzo.io |
f83556b84f13c6a8e889a825d49e472a39d8b749 | 987fa85ca5b7db9806e698f6947714de6be9f7a6 | /Personal/backup4/gameBackup/src/ShaderProgram.cpp | 6f5e84b0823843534b5f4b148fa5a79442fb22be | [] | no_license | mynameisjohn/code | 89a711c554766a354f7268d714ddbda183e9dd6c | 14f0fd704e13939e71d2bdd17862573eff32ef9d | refs/heads/master | 2021-01-15T12:19:10.912281 | 2014-09-02T23:10:55 | 2014-09-02T23:10:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,395 | cpp | //also ripped off of lazy foo
#include "ShaderProgram.h"
ShaderProgram::ShaderProgram(){
mProgramID = (GLuint)NULL;
}
ShaderProgram::~ShaderProgram(){
freeProgram();
}
void ShaderProgram::freeProgram(){
glDeleteProgram(mProgramID);
}
bool ShaderProgram::bind(){
glUseProgram(mProgramID);
GLenum err = glGetErro... | [
"mynameisjohnj@gmail.com"
] | mynameisjohnj@gmail.com |
2509fdbb377a57a44bcac8d0922f53bd8b612f32 | 96730d79a4f1e874944869458cf76c38d5926bbf | /src/qt/miningpage.cpp | c1d9c02b0689134dff80d0594f9c50098df3cf9f | [
"MIT"
] | permissive | HorseCoinProject/Horsecoin | ae40225796570af2211da20d4af07adab101f46f | 057bdf236c1d71d5986be469e1f197f345d3bc0c | refs/heads/master | 2016-08-06T16:58:33.284292 | 2014-03-08T14:57:55 | 2014-03-08T14:57:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,679 | cpp | #include "miningpage.h"
#include "ui_miningpage.h"
MiningPage::MiningPage(QWidget *parent) :
QWidget(parent),
ui(new Ui::MiningPage)
{
ui->setupUi(this);
setFixedSize(400, 420);
minerActive = false;
minerProcess = new QProcess(this);
minerProcess->setProcessChannelMode(QProcess::MergedCh... | [
"jack@jack-desktop.(none)"
] | jack@jack-desktop.(none) |
c00565dd227c6261c032f7218e7ebc2856af1143 | 1da7dac0da7bbfab25ffd47b6ef898e42365af25 | /src/fpLineSpectrum.h | 669fd58e58b6361b41a82fe98411f13a5d7b82fc | [
"Apache-2.0"
] | permissive | pixlise/piquant | a32e9a6dab8115bc6a601bac4b6efa4bebe2395a | a534d67ee84734fff746e6bdce0df8a1c3f72926 | refs/heads/main | 2023-04-13T21:21:07.518073 | 2023-03-24T11:02:43 | 2023-03-24T11:02:43 | 520,582,671 | 3 | 0 | Apache-2.0 | 2023-03-24T11:02:45 | 2022-08-02T17:04:14 | C | UTF-8 | C++ | false | false | 2,647 | h | // Copyright (c) 2018-2022 California Institute of Technology (“Caltech”) and
// University of Washington. U.S. Government sponsorship acknowledged.
// All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// ... | [
"tom@spicule.co.uk"
] | tom@spicule.co.uk |
e945f13a1afce69eeb7b9a12bbb573c0ebb22739 | df3e1338171befbad80267a24c6866e97bd5f378 | /Dfslab.cpp | bb12b231b0cc6ab5f4e41f810e15b381fd6a9f90 | [] | no_license | Shaykat/Algorithms | 1e6cf3ab7421478d7c293c340438917fa6064eb9 | 66960a9cc1aab35cf703ea220f9b0706e9e32afb | refs/heads/master | 2021-08-20T01:02:53.538420 | 2017-11-27T21:54:29 | 2017-11-27T21:54:29 | 107,311,887 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,576 | cpp | #include<iostream>
#include<cstdlib>
#include<vector>
#include<cstring>
using namespace std;
int matrix[100][100];
vector<int>graph[100];
int time[2][100],color[100];
int node,edge;
int t=0;
void dfs(int u)
{
color[u] = 1;
time[0][u] = ++t;
for(int i=0;i<node;i++)
{
if(matrix[u][i] == 1 && colo... | [
"shaykat2057@gmail.com"
] | shaykat2057@gmail.com |
48e85d3fcc55a6709568cd82a8079d00b1441f80 | 503a8aac2364361325a9adcdbb7d27c2982c8624 | /Drinks/Wine.cpp | a9cb92ecfd59b6f0ad23ef6110a72e91df2a74a6 | [] | no_license | GuyOded/Driniking_Bar | 19a4769c82fc1a5447b48d9501bfb24a13f6f0b4 | 8c778156c90126691c03c8cb25f47633c76d58e0 | refs/heads/master | 2021-01-10T17:44:15.265995 | 2016-03-01T18:19:02 | 2016-03-01T18:19:02 | 52,898,836 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,043 | cpp | /*
* Wine.cpp
*
* Created on: Feb 12, 2016
* Author: guy
*/
#include "Wine.h"
#include <sstream>
/**
*
* @param name-the name of the wine
* @param temp-the temperature
* @param year-the year the wine was made in(or aged since I think)
*/
Wine::Wine(std::string name, int temp, int year)
:Drink(name), ... | [
"itayoded1@gmail.com"
] | itayoded1@gmail.com |
c7f7d149ec86bbd6623b4d4dedc8ba476590d403 | 9c98ce485432ed36171800011fcdce2b5ca8a04d | /employee.h | c3e2e76e81c293910c6f20eb5fca4b2d613d3839 | [
"Apache-2.0"
] | permissive | MasterMaxLi/EmployeeManager | 621560baadf333d3d985c5550177962543933998 | a6121a53012086691de393f939853a0119e509db | refs/heads/main | 2023-04-06T10:24:46.027062 | 2021-04-16T13:11:30 | 2021-04-16T13:11:30 | 357,537,511 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 238 | h | #pragma once
#include<iostream>
#include"worker.h"
using namespace std;
class Employee :public Worker
{
public:
//¹¹Ô캯Êý
Employee(int id, string name, int dId);
virtual void showInfo();
virtual string getDeptName();
};
| [
"riwinkids@gmail.com"
] | riwinkids@gmail.com |
fdeadfd0a2b861f2b996166eefc29efb6adf203e | 6a6e8dbc2b200b730cbafbee4b075384a9fb5a11 | /source/test/intltest/textfile.cpp | 4bb6965ab58a9f0eaae1e23922c59511525525c2 | [
"BSD-3-Clause",
"ICU",
"LicenseRef-scancode-unicode",
"NAIST-2003",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause"
] | permissive | njlr/icu4c-2 | 74fc360be3c75663e6e0e2dc1fc5ddbd13d0efe2 | caef63a217fd526bdcf221de949374b4c1b275cc | refs/heads/master | 2021-01-20T11:09:30.606859 | 2017-03-30T17:26:53 | 2017-03-30T17:26:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,231 | cpp | // Copyright (C) 2016 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
/*
**********************************************************************
* Copyright (c) 2004,2011 International Business Machines
* Corporation and others. All Rights Reserved.
**********... | [
"njlr@users.noreply.github.com"
] | njlr@users.noreply.github.com |
2cf42f2729cbc21d310cfcd6ee5ee3444c4b946b | e276303d11773362c146c4a6adbdc92d6dee9b3f | /Classes/Native/mscorlib_System_Collections_Generic_GenericEqualit1636656366.h | c6a4f79bb3713f3072861a65887c4f0f8f3b077f | [
"Apache-2.0"
] | permissive | AkishinoShiame/Virtual-Elderly-Chatbot-IOS-Project-IOS-12 | 45d1358bfc7c8b5c5b107b9d50a90b3357dedfe1 | a834966bdb705a2e71db67f9d6db55e7e60065aa | refs/heads/master | 2020-06-14T02:22:06.622907 | 2019-07-02T13:45:08 | 2019-07-02T13:45:08 | 194,865,711 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 642 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "mscorlib_System_Collections_Generic_EqualityCompar1226409501.h"
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Winval... | [
"akishinoshiame@icloud.com"
] | akishinoshiame@icloud.com |
5603a11b546db76f172f6d86aae3f835e9f8f62d | 584ca4da32b0e70a2702b5b16222d3d9475cd63a | /src/test/bswap_tests.cpp | 5d903859a8146c8d16e92fcb9fd60c2c7d9ac045 | [
"MIT"
] | permissive | IluminumProject/iluminum | d87e14cbeb0873fc7b1e42968cb039ecf2b4e03d | 9685edf64161c66205c89ee72d711b0144733735 | refs/heads/master | 2020-03-10T08:55:36.095447 | 2018-04-21T15:56:18 | 2018-04-21T15:56:18 | 128,815,453 | 0 | 0 | MIT | 2018-04-12T07:00:53 | 2018-04-09T18:19:59 | C++ | UTF-8 | C++ | false | false | 737 | cpp | // Copyright (c) 2016 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "compat/byteswap.h"
#include "test/test_iluminum.h"
#include <boost/test/unit_test.hpp>
BOOST_FIXTURE_TEST_SUITE(bswap_... | [
"4mindsmine@gmail.com"
] | 4mindsmine@gmail.com |
cb985a48458f063a4d6edc8fd94768ae1155d1af | fcffc4a91dcc4c2ec3ed814f6a949e9d7e8a83fa | /SDL_OpenGL_app.cpp | 1a65e950683effc77cda4868336911840b8bd1f5 | [] | no_license | IAmCorbin/SDL_OpenGL_app | 721394445563083d0559eb3848f82c8d8729416e | 7b289b7695fb0df1604e402e0ca0c3587ea401e9 | refs/heads/master | 2020-05-19T09:05:38.145314 | 2010-02-23T09:26:44 | 2010-02-23T09:26:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,234 | cpp | // SDL_OpenGL_app.cpp
// Class for creating a new SDL and OpenGL Application
#include "SDL_OpenGL_app.h"
//::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::://
//:::::::::::::SDL_OpenGL_app CLASS METHODS:::::::::::::::::://
SDL_OpenGL_app::SDL_OpenGL_app() : fov(45.0f), zNear(0.1f)... | [
"Corbin@IAmCorbin.net"
] | Corbin@IAmCorbin.net |
7770d97190d004aab3d589728c5316574fafe963 | dc4e28a8f33435c15271211049dff3cbcf65a4e3 | /RA6963/RA6963.ino | fc920659177ea16e396da00ed83d0971b35ddb1a | [] | no_license | Hrastovc/RA6963-LCD-driver | 3d466d4f8bed007882d6a1ef066da0a98cac19fc | cadc5db6c35e638516baa707e5f92232c6607f23 | refs/heads/master | 2022-06-27T06:35:16.026490 | 2020-05-09T18:18:17 | 2020-05-09T18:18:17 | 262,631,849 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,417 | ino | #include "pinsDef.h"
#include "RA6963defines.h"
#define FALSE (0)
#define TRUE (1)
#define DATA (0)
#define AUTO (0)
#define CMD (1)
#define STATUS (1)
#define READ (0)
#define WRITE (1)
#define FILL (0)
#define BITMAP (1)
void setup()
{
/* set output pins */
WR_DDR |= (1 << WR);
RD_DDR |=... | [
"luka.hrastovec@gmail.com"
] | luka.hrastovec@gmail.com |
5f8413f6dee2c381bdb9f9b2410d359d34a28fa2 | ff3f093552bd4bd4a1ce172afc18c5e473844b02 | /xwa_hook_d3dinfos_textures/hook_d3dinfos_textures/d3dinfos.cpp | 5377f4b1317b6c80fcb69e0ba9080a036919f4d6 | [] | no_license | hixio-mh/xwa_hooks | d31172d2249c60bf12aaff60301d8814fe9f3ec7 | c97e4634c0e084665d007f7bc053b69ca7370522 | refs/heads/master | 2022-11-18T19:28:56.170099 | 2020-07-23T16:20:50 | 2020-07-23T16:20:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,295 | cpp | #include "targetver.h"
#include "d3dinfos.h"
#include "config.h"
#pragma pack(push, 1)
struct XwaD3DInfo
{
char m00[0x53];
XwaD3DInfo* pNext;
XwaD3DInfo* pPrevious;
};
static_assert(sizeof(XwaD3DInfo) == 91, "size of XwaD3DInfo must be 91");
#pragma pack(pop)
class D3DInfoArray
{
public:
D3DInfoArray()
{
au... | [
"JeremyAnsel@users.noreply.github.com"
] | JeremyAnsel@users.noreply.github.com |
586642535890a4705ad4cd65de24dd23fe6a281f | db04ecf258aef8a187823b8e47f4a1ae908e5897 | /Cplus/FlattenBinaryTreetoLinkedList.cpp | 812f1e994941e6615964e6dd3fe4f4f7a055f2b7 | [
"MIT"
] | permissive | JumHorn/leetcode | 9612a26e531ceae7f25e2a749600632da6882075 | abf145686dcfac860b0f6b26a04e3edd133b238c | refs/heads/master | 2023-08-03T21:12:13.945602 | 2023-07-30T07:00:50 | 2023-07-30T07:00:50 | 74,735,489 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 670 | cpp |
//Definition for a binary tree node.
struct TreeNode
{
int val;
TreeNode *left;
TreeNode *right;
TreeNode() : val(0), left(nullptr), right(nullptr) {}
TreeNode(int x) : val(x), left(nullptr), right(nullptr) {}
TreeNode(int x, TreeNode *left, TreeNode *right) : val(x), left(left), right(right) {}
};
class Soluti... | [
"JumHorn@gmail.com"
] | JumHorn@gmail.com |
22c41bf05ed2bbad30e2e0d479443c56a31a6266 | cac6b164b1946be1f64fe47f50239dd4e61392ae | /src/qt/optionsdialog.cpp | 12fcd1b82f59ca464be925c639dd662149238488 | [
"MIT"
] | permissive | shacker6868/signatumclassicd | ccddbf0213613ec7b5eccb6d4eade9a3a88c3aa6 | fb2d969a7853a140088396687beb56153e2b6abd | refs/heads/master | 2021-01-19T12:51:08.591971 | 2017-08-25T04:32:25 | 2017-08-25T04:32:25 | 100,336,108 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,792 | cpp | #include "optionsdialog.h"
#include "ui_optionsdialog.h"
#include "bitcoinunits.h"
#include "monitoreddatamapper.h"
#include "netbase.h"
#include "optionsmodel.h"
#include <QDir>
#include <QIntValidator>
#include <QLocale>
#include <QMessageBox>
OptionsDialog::OptionsDialog(QWidget *parent) :
QDialog(parent),
... | [
"signatum-classic@protonmail.com"
] | signatum-classic@protonmail.com |
97585d88601930cd6102b5085f3d50c721b9def5 | 57d123a5f68b1e8095d5239eb7c3af28784e0799 | /OJ——work/work_three/一元多项式相加.cpp | df415b93e16c492ba3cc22d768b2d525f6f52eba | [] | no_license | Floweryu/DataStructuresAlgorithms | dda159afe3b8327deecfa3a8f72a62cf16d1d538 | e61a424dcca1913c0e5ef4fae15b5945dbd04d9b | refs/heads/master | 2022-03-26T04:22:07.849883 | 2019-12-18T07:52:11 | 2019-12-18T07:52:11 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,926 | cpp | #include<stdio.h>
#include<stdlib.h>
#include<string.h>
typedef struct term{
int cof;
int inx;
struct term *next;
}term,*LinkList;
typedef LinkList polynomial;
//初始化链表
int InitList(LinkList &L)
{
L=(LinkList)malloc(sizeof(term));
if(!L)
return 0;
L->next=NULL;
return 1;
}
... | [
"869830837@qq.com"
] | 869830837@qq.com |
be58a95473b63f9443359e39de7994e4e349ec9c | 72251ba180a723f3e653231b265efaedf6f31f8f | /tests/src/helper_func.cpp | 64d68fd5e2d8cfb3c007583cb043fc238e8daf6e | [
"MIT"
] | permissive | fundies/Crash2D | b9e6bc1fe55d1957ea1f1320a7019e797ea0a322 | 40b14d4259d7cedeea27d46f7206b80a07a3327c | refs/heads/master | 2023-03-30T02:01:19.942794 | 2017-09-11T10:50:33 | 2017-09-11T10:50:33 | 63,020,131 | 1 | 4 | MIT | 2021-04-02T08:00:21 | 2016-07-10T21:59:32 | C++ | UTF-8 | C++ | false | false | 897 | cpp | #include "helper.hpp"
#include <gtest/gtest.h>
Segment mSegment(Segment s, Vector2 displacement)
{
return Segment(s.GetPoint(0) + displacement, s.GetPoint(1) + displacement);
}
Circle mCircle(Circle c, Vector2 displacement)
{
return Circle(c.GetCenter() + displacement, c.GetRadius());
}
Polygon mPolygon(Polygon ... | [
"cheeseboy16@gmail.com"
] | cheeseboy16@gmail.com |
ad107d784307f66de034af1e20db2eed41149780 | f14626611951a4f11a84cd71f5a2161cd144a53a | /武侠世界/代码/客户端/SceneEdit/src/AddLightObjectPlugin.cpp | c1d589aa2de8e9f485e5222c642335db4d3eff35 | [] | no_license | Deadmanovi4/mmo-resourse | 045616f9be76f3b9cd4a39605accd2afa8099297 | 1c310e15147ae775a59626aa5b5587c6895014de | refs/heads/master | 2021-05-29T06:14:28.650762 | 2015-06-18T01:16:43 | 2015-06-18T01:16:43 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 12,230 | cpp | #include "AddLightObjectPlugin.h"
#include "SceneManipulator.h"
#include "Core/WXLightObject.h"
#include "Core/WXObjectProxy.h"
#include "Core/WXSceneInfo.h"
#include "Core/TerrainData.h"
#include <OgreEntity.h>
#include <OgreSceneNode.h>
#include <OgreSceneManager.h>
#include <OgreCamera.h>
namespace W... | [
"ichenq@gmail.com"
] | ichenq@gmail.com |
7b9a585fa86ad340d46ca2614e14fae8621b6a44 | b06d2b7a619db62dafbd1b5df065d961994cd008 | /ip.cpp | 6401be0268d4d49179d658eda557152d745477b3 | [] | no_license | ehddud758/arp_spoofing | ca6db7654175f24a59d0d358801fd07fe4244e3f | c955f7974057cfa3d92958269756400be31b1e52 | refs/heads/master | 2020-03-26T06:04:11.734667 | 2018-08-13T16:00:40 | 2018-08-13T16:00:40 | 144,588,010 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,920 | cpp | #ifndef __IPV4_ADDR_CPP__
#define __IPV4_ADDR_CPP__
#include "ip.h"
#include <arpa/inet.h>
#include <iostream>
#include <string>
#include <cstdio>
#include <cstring>
using namespace std;
IPv4_addr& IPv4_addr::operator = (const char* rhs)
{
int ret = inet_pton(AF_INET, rhs, &_ip);
switch(ret)
{
case 0:
cout... | [
"aaa7663@naver.com"
] | aaa7663@naver.com |
5fca83dadbcbc189da9c3e40178a9113c7772fc1 | 5f9b26a41102c38da28b8f757a5586f9bc7cf71a | /crates/zig_build_bin_windows_x86_64/zig-windows-x86_64-0.5.0+80ff549e2/lib/zig/libcxx/include/compare | 48564c8ef860a0164c34767202ceccc931766a43 | [
"MIT",
"NCSA",
"LLVM-exception",
"Apache-2.0"
] | permissive | jeremyBanks/zig_with_cargo | f8e65f14adf17ed8d477f0856257422c2158c63f | f8ee46b891bbcdca7ff20f5cad64aa94c5a1d2d1 | refs/heads/master | 2021-02-06T10:26:17.614138 | 2020-03-09T04:46:26 | 2020-03-09T04:46:26 | 243,905,553 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 27,204 | // -*- C++ -*-
//===-------------------------- compare -----------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===-----... | [
"_@jeremy.ca"
] | _@jeremy.ca | |
e69f41719effeae0e6a8e6ffbc59dfc75ebd7662 | bad4cb7ec18961d4cedcf827f687198886bd744e | /500-599/547-friend-circles.cpp | c4330a566b41da04dec8a20eeeec44c35b54bf30 | [] | no_license | lamborghini1993/LeetCode | 505fb3fef734deb9a04e342058f4cedc6ffdc8d2 | 818833ca87e8dbf964c0743d8381408964d37c71 | refs/heads/master | 2021-12-26T19:54:09.451175 | 2021-08-15T15:27:20 | 2021-08-15T15:27:20 | 160,816,839 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 951 | cpp | #include <iostream>
#include <cstdio>
#include <cmath>
#include <cstdlib>
#include <cstring>
#include <string>
#include <queue>
#include <climits>
#include <algorithm>
#include <unordered_map>
using namespace std;
class Solution
{
public:
int row, col;
int findCircleNum(vector<vector<int>> &M)
{
... | [
"1323242382@qq.com"
] | 1323242382@qq.com |
1bda00844dd3dc2c4af66df38867da60c7e71481 | 89db00ac521f82738df606dff95403ae0cf9a52f | /SDL_Demo/Source files/GameWindow.cpp | d98d55d8cf4614cde6f3e274a6dccef6ae07950e | [] | no_license | n1yazbek/Helicopter-Game-final-project- | 6f6cc85fb3d3704414085df32f775abb31145833 | dc578b99b1e5a226bf0eea7ee5674aadde122aec | refs/heads/master | 2023-04-29T08:08:22.033610 | 2021-05-12T22:22:40 | 2021-05-12T22:22:40 | 353,833,169 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,934 | cpp | #include "GameWindow.h"
GameWindow::GameWindow(const char* title)
:window(NULL), renderer(NULL){
window = SDL_CreateWindow(title, SDL_WINDOWPOS_UNDEFINED,
SDL_WINDOWPOS_UNDEFINED, GetWidth(), GetHeight(), SDL_WINDOW_SHOWN);
if (window == NULL) {
cerr << "There was an error while creating the window" << endl
... | [
"niiazbek.mamasaliev@edu.bme.hu"
] | niiazbek.mamasaliev@edu.bme.hu |
8c00a5ed93401e7ae58ad9eeb4dd4e9fe3fc883c | 90517ce1375e290f539748716fb8ef02aa60823b | /solved/f-h/hotel-booking/hotel.cpp | 336470bc837871c3046f543eb00e62693fd3978c | [
"Unlicense",
"LicenseRef-scancode-public-domain"
] | permissive | Code4fun4ever/pc-code | 23e4b677cffa57c758deeb655fd4f71b36807281 | 77ce51d692acf6edcb9e47aeb7b7f06bf56e4e90 | refs/heads/master | 2021-01-15T08:15:00.681534 | 2014-09-08T05:28:39 | 2014-09-08T05:28:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,637 | cpp | #include <cstdio>
#include <cstring>
#include <list>
#include <set>
#include <vector>
using namespace std;
#define MAXN 10000
const int INF = 600 * 100000 + 10;
#define Zero(v) memset(v, 0, sizeof(v))
#define cFor(t,v,c) for(t::const_iterator v=c.begin(); v != c.end(); ++v)
typedef vector<int> IV;
typedef vector<I... | [
"leonardo@diptongonante.com"
] | leonardo@diptongonante.com |
cf0528f61aeeefef1a010ce692318643ae80ea68 | a3d61b8e29f489cba3c2ff2393af488d5c3df40b | /DeformableObject.hpp | fc8fd13168daa19b4e723276f125c925849eb976 | [] | no_license | PeterZhouSZ/adaptiveDeformables | 343208e4269bfd1dc1e7a60388cf6c7762f27b07 | 652599d10c1fae4062c6e001c4751b7ab24baa35 | refs/heads/master | 2021-09-18T20:46:40.541413 | 2018-07-19T21:34:21 | 2018-07-19T21:34:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,124 | hpp | #pragma once
#include <vector>
#include <iostream>
#include <json/json.h>
#include "Particle.hpp"
struct DeformableObject{
DeformableObject(const Json::Value& jv);
void dump(const std::string& filename) const;
void dumpWithColor(const std::string& filename) const;
//void writeHierarchy(const std::string... | [
"ben.james.jones@gmail.com"
] | ben.james.jones@gmail.com |
0fa5d9f11a60f90ff00db7bc4392de83cf57565a | d4433d8c51e9dc6e0c2904def0a524c9125555de | /hero/HeroExpItem.h | 1afe92fef3c1facd8bb025b64abfd18eb82459cf | [] | no_license | 54993306/Classes | 3458d9e86d1f0e2caa791cde87aff383b2a228bb | d4d1ec5ca100162bd64156deba3748ce1410151d | refs/heads/master | 2020-04-12T06:23:49.273040 | 2016-11-17T04:00:19 | 2016-11-17T04:00:19 | 58,427,218 | 1 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 825 | h |
#ifndef __HEROEXPITEM_
#define __HEROEXPITEM_
#include "AppUI.h"
#include "scene/layer/LayerManager.h"
#include "mainCity/CityData.h"
#include "hero/HeroData.h"
class CHeroExpItem: public BaseLayer
{
public:
CREATE_LAYER(CHeroExpItem);
virtual bool init();
void onEnter();
void onEvolveBtn(CCObject* pSe... | [
"54993306@qq.com"
] | 54993306@qq.com |
2fedd3cbdf4915ca3749281e325f34633495e4b7 | 21ab8235a1deadbd3914c15645226ca45978b1ad | /simmigoogle1.cpp | 1785b66a76e766bb9ef4286809c37072fb6781be | [] | no_license | surarijit/DSA_ALGO | 8a9079c71444928f88995679d16dafb50df8be5b | 1e1a1e189c9cd11b222150df2aa89952cb15de8d | refs/heads/master | 2023-01-29T04:36:49.892183 | 2020-12-07T07:01:47 | 2020-12-07T07:01:47 | 281,638,964 | 0 | 4 | null | 2021-10-01T10:58:11 | 2020-07-22T09:50:53 | C++ | UTF-8 | C++ | false | false | 1,407 | cpp | /*
ARIJIT SUR
@duke_knight
@surcode
@comeback
IIT ISM
*/
#include<bits/stdc++.h>
#define SIZE 200
#define mod (ll)(1e9+7)
#define INF 0x3f3f3f3f
#define max(a,b) (a>b?a:b)
#define min(a,b) (a<b?a:b)
#define abs(a) (a>0?a:-a)
#define all(a) a.begin(),a.end()
#define maxelem(a) *max_element(all(a))
#define min... | [
"arijit.sur1998@gmail.com"
] | arijit.sur1998@gmail.com |
950a9f6167ab15c462bd28748effa1cd092d6849 | cec0ca2a70535e17488b3bb6b23d678d7e2dadbb | /BirdGame/CGridNums.h | 94e8c4ed86d57517d1b669a28892a81cd8e7f16e | [] | no_license | hb2008hahaha/NumberRecognitionGame | 0327938624c43f1cd6ca6995f83a3c9f54010135 | 4d6193f94e53476a20d58e2d596a0134525e3f5a | refs/heads/master | 2021-01-22T14:39:48.517902 | 2014-08-29T02:41:19 | 2014-08-29T02:41:19 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,013 | h | #ifndef CGRIDNUMS_H
#define CGRIDNUMS_H
////网格数字
#define BlockNums 10 //不超过32
#define ColNum 5 //每列5个方块
#include "global.h"
class CGridNums{
public:
CGridNums()
{
#ifdef QImage
ImgBlock.load("://res/pig.png");
#endif
}
int Nums;
char BlockFlag[BlockNums];
void InitGame()
{
int... | [
"hb2008hahaha@163.com"
] | hb2008hahaha@163.com |
a974103cf067e446aa86e3db1dcef1e8e394a06d | 8b9b1249163ca61a43f4175873594be79d0a9c03 | /deps/boost_1_66_0/libs/test/test/writing-test-ts/assertion-construction-test.cpp | 303e6c157564327fe8f6f0dfa463da739b1d6e88 | [
"BSL-1.0",
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | maugf214/LiquidCore | f6632537dfb4686f4302e871d997992e6289eb65 | 80a9cce27ceaeeb3c8002c17ce638ed45410d3e6 | refs/heads/master | 2022-12-02T01:18:26.132951 | 2020-08-17T10:27:36 | 2020-08-17T10:27:36 | 288,151,167 | 0 | 1 | MIT | 2020-08-17T10:32:05 | 2020-08-17T10:32:04 | null | UTF-8 | C++ | false | false | 21,624 | cpp | // (C) Copyright Gennadiy Rozental 2011-2015.
// 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)
// See http://www.boost.org/libs/test for the library home page.
//
// File : $RCSfile$
//
// Version ... | [
"eric@flicket.tv"
] | eric@flicket.tv |
0ba27240f97b9236796448232c12bc11ec7747a2 | 23d096a2c207eff63f0c604825d4b2ea1a5474d9 | /CRUZET/DataTest/plugins/deltaR.h | 9ac3b1690876b52509002c816f1bbafb3475c7f9 | [] | no_license | martinamalberti/BicoccaUserCode | 40d8272c31dfb4ecd5a5d7ba1b1d4baf90cc8939 | 35a89ba88412fb05f31996bd269d44b1c6dd42d3 | refs/heads/master | 2021-01-18T09:15:13.790891 | 2013-08-07T17:08:48 | 2013-08-07T17:08:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,197 | h | // -*- C++ -*-
//
// Package: deltaR
// Class: deltaR
//
/**\class deltaR deltaR.h
Description: <one line class summary>
Implementation:
<Notes on implementation>
*/
// $Id: deltaR.h,v 1.3 2008/11/13 17:33:37 govoni Exp $
//
// system include files
#include <memory>
#include <vector>
#include <map>
#include <... | [
""
] | |
9ef92fbe19b376a1dba70fdcd3367368348df6b0 | 3f5fbaeaaf62da1e4f9bfb7b349cf7a3a6e4efcb | /DSA/Linked List/mid of LL (2 methods).cpp | e303c5bdc8890fdb5a003895263dcbba8f306ea3 | [] | no_license | dipesh-m/Data-Structures-and-Algorithms | f91cd3e3a71c46dc6ffe22dac6be22d454d01ec3 | f3dfd6f1e0f9c0124d589ecdb60e7e0e26eb28fc | refs/heads/master | 2023-05-26T05:14:19.258994 | 2021-05-26T16:41:11 | 2021-05-26T16:41:11 | 276,396,488 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,536 | cpp | #include<iostream>
using namespace std;
#include "class Node.h"
#include "taking input and printing LL.h"
void printAt(Node* head, int i)
{
int j=0;
while(j<i && head!=NULL)
{
head=head->next;
j++;
}
if(head!=NULL)
{
cout<<head->data<<endl;
}
}
int sizeIteratively(... | [
"62656237+dipesh-m@users.noreply.github.com"
] | 62656237+dipesh-m@users.noreply.github.com |
ad8f5239146d53b7968fc59f16e00ae1e0ff200e | 3606ebb854d102a67ab65f5f37ad981244a2f9e1 | /cpp/design_patterns/singleton.cpp | 1d3bcf8e6c92f959e60f97e073f47d032817d720 | [] | no_license | pashnidgunde/Code | ebbe0d8fac65bc840a00baf281cf0d6bfcdfd1db | 418e68406738ba10b25433b5c4173dc28e2e037a | refs/heads/master | 2023-02-25T03:08:50.252370 | 2022-08-21T20:59:16 | 2022-08-21T20:59:16 | 56,103,688 | 1 | 0 | null | 2022-08-13T10:28:22 | 2016-04-12T22:59:30 | C++ | UTF-8 | C++ | false | false | 578 | cpp | #include <cassert>
#include <iostream>
#include <mutex>
#include <thread>
class Singleton {
private:
Singleton() = default;
~Singleton() = default;
static Singleton *instance;
std::mutex _m;
public:
static Singleton *getInstance() {
if (nullptr == instance) {
std::lock_guard<mutex>(m);
if (... | [
"pashnidgunde@gmail.com"
] | pashnidgunde@gmail.com |
38a4707f7a24d9fd1c0ce72c15c2bc7149a2bff9 | 3b3b9e16fbc253d599783e1e36c7509bb7ceb273 | /lg/도로건설3_다익스트라.cpp | d06c381c4afe39c931e659e08dcebd6f0e805734 | [] | no_license | ttt977/algorithm | 91e7357d4972a10b0b9af9a895249d8952a9d869 | 828a96b7d3ea6bf99830957d2626f2cd2c8722e0 | refs/heads/master | 2021-09-11T09:03:51.193340 | 2021-09-06T09:07:06 | 2021-09-06T09:07:06 | 191,852,243 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,696 | cpp | //다익스트라 알고리즘 활용 최단비용계산
#include <iostream>
#include <queue>
#include <algorithm>
using namespace std;
typedef pair<int,pair<int,int> > pii; //현재까지 거리,x,y 위치 저장
int N;//지도 크기
char map[110][110];//지도 정보
int visited[110][110];//방문여부체크
void Input_Data(){
cin >> N;
for (int i = 0; i < N; i++){
cin >> map[i];
}
}... | [
"hslim@lginnotek.com"
] | hslim@lginnotek.com |
a2d68aa98db6f4b9fa2b72255547dcbe84c0764c | 63ae3dbfae3e4273e9d6d98d945341512a4b2177 | /Andrew_Sandbox/Version_14/Resources.h | 2922155b8f7d0a462119a00d60514b134368d15b | [] | no_license | akm0012/Comp5360_Project1 | a89686ee5f56ab00227334363869323a4940245c | 3c1fe98c3455d3673276cf80ae71caf8b6470cd1 | refs/heads/master | 2020-05-17T19:42:58.042454 | 2015-04-12T19:50:32 | 2015-04-12T19:50:32 | 31,297,604 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,492 | h | /*
* Comp5360: Project 1
*
* File: Resources.h
* Created by Andrew K. Marshall on 2/23/15
* Refactored by Evan Hall on 3/12/15
* Repatterened by Andrew Marshall on 3/13/15
* Due Date: 3/18/15
* Version: 1.0
* Version Notes: Final Version.
*/
#ifndef RESOURCES_H
#define RESOURCES_H
#define MAX_MESSAGE_LEN ... | [
"akm0012@auburn.edu"
] | akm0012@auburn.edu |
673715f129f87fad8ffe4db256a34fedfb7bd541 | a5909aaec6e4aab8a779ca8bacc4af8f6c1295f3 | /samples/12_InitFrameBuffers/12_InitFrameBuffers.cpp | 2340e042797046893db3ed9fb3599b9b5d06dbd4 | [
"Apache-2.0"
] | permissive | cdotstout/Vulkan-Hpp | 538e97e209d18fee139f7482093095ed90644797 | eaf09ee61e6cb964cf72e0023cd30777f8e3f9fe | refs/heads/master | 2020-07-02T00:00:41.267108 | 2019-07-25T12:26:03 | 2019-07-25T12:26:03 | 201,353,822 | 0 | 1 | Apache-2.0 | 2020-01-11T00:44:33 | 2019-08-08T23:44:48 | C++ | UTF-8 | C++ | false | false | 3,434 | cpp | // Copyright(c) 2019, NVIDIA CORPORATION. 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 b... | [
"mtavenrath@users.noreply.github.com"
] | mtavenrath@users.noreply.github.com |
d5bd7de2d25a51669dc06f714bb96c608d0bd850 | 6a310ae5f8e5fb460a3869ea0fcab25b133dea3e | /src/defin.cpp | b40db238ef913bbf752d73899f5003b146c0112f | [] | no_license | NZT48/nztKernel | 4ef0c2a6be12007d0b749efa5795eae64e8fe35b | e043ba48ad0045b7db76df8e7711ec6438faf4a7 | refs/heads/master | 2022-04-09T22:59:32.391207 | 2020-03-15T17:14:59 | 2020-03-15T17:14:59 | 187,092,514 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 52 | cpp | #include "defin.h"
unsigned volatile lockFlag = 0;
| [
"nikolaztodorovic26@gmail.com"
] | nikolaztodorovic26@gmail.com |
9e7fd22557f5dc3b3e3d2dfd39481b4fc121be5c | 46d7d80c1315a8c3f3f242445559b1b29f7ce782 | /Gladiator/main.cpp | 2c753923a645cb62297f822b0b7ae1280b663669 | [] | no_license | lafferc/Gladiator | eb78943d21350a2fff9b58dea3532c35b004c516 | 0e5957d8f94ba8a92e87f0b18c88693ae36f8740 | refs/heads/master | 2022-11-08T09:49:40.246535 | 2020-06-16T22:52:50 | 2020-06-16T22:52:50 | 272,063,353 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,938 | cpp | #include<iostream>
#include"gladiator.h"
#include<string>
#include<ctime>
#include<Windows.h>
using namespace std;
void level1(Gladiator& player);
void main()
{
srand((unsigned)time(0));
string name = "";
Gladiator player;
SetConsoleTitle(L"Gladiator v0.0.2");
cout << "What is your name ?...";
... | [
"lafferc@tcd.ie"
] | lafferc@tcd.ie |
b37fb86311fbee709cb703096f8fe047728cda12 | df6481f4023d47cfcbfa87318ceae38d870d14a6 | /heimdall/source/FlashAction.h | b4e1b6baa070f6e41b931667ce4cf72ac927bbd0 | [
"MIT"
] | permissive | nka11/Heimdall | 152bd30e8bd9faef5f7a4136cddf5888056a8dea | efedda846db56b6ba9c0b8e337210843f084345a | refs/heads/master | 2021-01-17T22:56:34.881802 | 2013-01-18T17:26:57 | 2013-01-18T17:26:57 | 6,088,699 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,276 | h | /* Copyright (c) 2010-2012 Benjamin Dobell, Glass Echidna
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, me... | [
"benjamin.dobell+git@glassechidna.com.au"
] | benjamin.dobell+git@glassechidna.com.au |
a4b38bbb324c72b52723a2918eaf2480ef910dec | bb287b07de411c95595ec364bebbaf44eaca4fc6 | /src/work/test/WorkTests.cpp | a38e36e432512d0cc61f9a505ee1050656e2e9c6 | [
"BSD-3-Clause",
"BSL-1.0",
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"MIT",
"BSD-2-Clause"
] | permissive | viichain/vii-core | 09eb613344630bc80fee60aeac434bfb62eab46e | 2e5b794fb71e1385a2b5bc96920b5a69d4d8560f | refs/heads/master | 2020-06-28T06:33:58.908981 | 2019-08-14T02:02:13 | 2019-08-14T02:02:13 | 200,164,931 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,806 | cpp |
#include "lib/catch.hpp"
#include "lib/util/format.h"
#include "main/Application.h"
#include "main/Config.h"
#include "process/ProcessManager.h"
#include "test/TestUtils.h"
#include "test/test.h"
#include "work/WorkScheduler.h"
#include "historywork/RunCommandWork.h"
#include "work/BatchWork.h"
#include <cstdio>
#inc... | [
"viichain"
] | viichain |
d27fcb69ef8452171f1fb4e3912465e111142484 | 276bf5f1534176d7ecdd28f49b5167fc141d7e33 | /systemc-tutorial-examples/tlm/buffer/main.cpp | 5d727b32c4e4dba4b26e9d45c977622f62d0c4c5 | [] | no_license | vj-sananda/systemc | dfa56b8e1131e86ac1322be885fad3528fc24e74 | 492fa6effb304e18ec66918dd10f17b1fe86b4d8 | refs/heads/master | 2021-01-05T01:15:41.328636 | 2020-02-16T03:41:26 | 2020-02-16T03:41:26 | 240,826,440 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 570 | cpp |
#include "systemc.h"
#include "flatbuffer.cpp"
#include "complexbuffer.cpp"
#include "bufwriter.cpp"
/* simulation main function */
int sc_main(int argc, char *argv[]) {
// instantiate a FlatBuffer and a Bufwriter
FlatBuffer buf1("Buffer1");
Bufwriter writer("BufWriter1");
/* alternative: instantiat... | [
"vsananda@macbook-pro-9.lan"
] | vsananda@macbook-pro-9.lan |
b4cbdf6bdcd0b97e3471e6ff9fd34a260efc9a8e | 2efbd55f9c7f39bddc1348f3a9d38a8f05d0644a | /plugins/eeui/WeexSDK/ios/weex_core/Source/include/wtf/dtoa.h | 83f092bb214f6216d118c222b2ff6114bf1232d4 | [
"MIT"
] | permissive | bonniesl/yktapp | 23b05cc53214269bf1d792dcf41993b425bfe470 | 3f96b7aad945e9aa110f0643d9a57e28d0645ab6 | refs/heads/master | 2023-03-27T04:27:14.921221 | 2021-03-25T06:29:16 | 2021-03-25T06:33:12 | 351,330,677 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,704 | h | /*
* Copyright (C) 2003, 2008, 2012 Apple Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your opti... | [
"1336429771@qq.com"
] | 1336429771@qq.com |
12ad3191dc3e63ddff4a944b9700f009a7a79028 | 762d0c7c44687373bf643624c8ac616cb08cd227 | /Espresso Shot/src/Espresso/main.cpp | 56050ded678e29d7e6daa7fe8b711b9ddc9e7e7f | [
"MIT"
] | permissive | Promethaes/Espresso-Shot-Engine | eba955c95cbbce03cb22051bd055ae89a499d984 | 6dffcbd5e69708af2f8251b701b7052207162e9b | refs/heads/master | 2020-07-17T03:27:23.751072 | 2019-09-10T02:56:06 | 2019-09-10T02:56:06 | 205,931,611 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,235 | cpp | #include <glad/glad.h>
#include <GLFW/glfw3.h>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
#include <Fmod/fmod.h>
#include <Fmod/fmod_common.h>
#include <Fmod/fmod.hpp>
#include <Fmod/fmod_errors.h>
#include <iostream>
#include <vector>
#include <time.h>
... | [
"anth19800@hotmail.com"
] | anth19800@hotmail.com |
9a0f0484baf335c54b14c235ec39e910a255c40b | d32424b20ae663a143464a9277f8090bd017a7f6 | /arsenal/datastructure/BinaryTree/Traversal.cpp | 13b2ccf10e67bc8c895ab158b41e8b11b1a02f1e | [] | no_license | Vesion/Misirlou | a8df716c17a3072e5cf84b5e279c06e2eac9e6a7 | 95274c8ccb3b457d5e884bf26948b03967b40b32 | refs/heads/master | 2023-05-01T10:05:40.709033 | 2023-04-22T18:41:29 | 2023-04-22T18:43:05 | 51,061,447 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,296 | cpp | #include <iostream>
#include <algorithm>
#include <vector>
#include <string>
#include <stack>
#include <queue>
using namespace std;
struct TreeNode {
int val;
TreeNode *left, *right;
TreeNode(int v) : val(v), left(NULL), right(NULL) {}
};
// preorder / inorder / postorder / level order
// recursively + i... | [
"xuxiang19930924@126.com"
] | xuxiang19930924@126.com |
16f6f4bced0c50a79add47dbaf3e582d5479c6e2 | f8517de40106c2fc190f0a8c46128e8b67f7c169 | /AllJoyn/Samples/OICAdapter/iotivity-1.0.0/resource/oc_logger/include/oc_logger.hpp | 2d0df21448b4f239ccd3ffe1de0233fc8b1825cb | [
"MIT",
"BSD-3-Clause",
"GPL-2.0-only",
"Apache-2.0"
] | permissive | ferreiramarcelo/samples | eb77df10fe39567b7ebf72b75dc8800e2470108a | 4691f529dae5c440a5df71deda40c57976ee4928 | refs/heads/develop | 2023-06-21T00:31:52.939554 | 2021-01-23T16:26:59 | 2021-01-23T16:26:59 | 66,746,116 | 0 | 0 | MIT | 2023-06-19T20:52:43 | 2016-08-28T02:48:20 | C | UTF-8 | C++ | false | false | 1,046 | hpp | //******************************************************************
//
// Copyright 2014 Intel Mobile Communications GmbH All Rights Reserved.
//
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except ... | [
"artemz@microsoft.com"
] | artemz@microsoft.com |
1928bc5ac7bac74d0c2e35cfe70584ef08d51768 | acd990e4b571c6be0508bc8e5a6b54efaf656bde | /src/caffe/layers/coral_loss_layer.cpp | 9116e7daca53467cbeb19498a653c350ef159bca | [
"LicenseRef-scancode-generic-cla",
"BSD-2-Clause",
"BSD-3-Clause",
"LicenseRef-scancode-public-domain"
] | permissive | baochens/Caffe-Deep_CORAL | f119c60d71282600c4d4f98641bb906a28dfede4 | c0921c1131227a2d1d48adea7c0727a6aae62dfc | refs/heads/master | 2021-01-13T07:51:19.778102 | 2017-06-20T20:33:54 | 2017-06-20T20:33:54 | 94,930,877 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,611 | cpp | #include <vector>
#include "caffe/layers/coral_loss_layer.hpp"
#include "caffe/util/math_functions.hpp"
#include <algorithm>
namespace caffe {
template <typename Dtype>
void CORALLossLayer<Dtype>::Reshape(
const vector<Blob<Dtype>*>& bottom, const vector<Blob<Dtype>*>& top) {
LossLayer<Dtype>::Reshape(bottom, to... | [
"baochens@gmail.com"
] | baochens@gmail.com |
c582935ddb500b1c672fe3d0ad22dd3b33fac7c9 | 208650de138a6b05b8b8e7e4ca6df9dc72290402 | /Contests/LT/2.cpp | 420328deba7462ff448ab5cfa78a75c8458fe0c1 | [] | no_license | cs15b047/CF | 9fcf83c5fd09124b6eaebbd4ecd67d19a1302582 | d220d73a2d8739bbb10f4ed71437c06625870490 | refs/heads/master | 2021-08-20T06:21:24.577260 | 2021-06-09T04:56:47 | 2021-06-09T04:57:29 | 177,541,957 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 768 | cpp | #include<bits/stdc++.h>
using namespace std;
typedef long long int ll;
int main(int argc, char const *argv[])
{
ll t;scanf("%lld",&t);
for(int i=0;i<t;i++){
ll n,m;scanf("%lld%lld",&n,&m);
vector<string>grid;grid.clear();grid.resize(n);
for(int j=0;j<n;j++)cin >> grid[j];
bool flag = true;
if((n<=1) || (m<=... | [
"cs15b047@smail.iitm.ac.in"
] | cs15b047@smail.iitm.ac.in |
14af0182179b5958c7a3eac6f57110e0b10d1896 | 598e1b350648db9fc0b3ce8a5a75b4a7d2382b65 | /JsonApp_Andrusenko_2020/JsonLibrary/KeyValuePair.cpp | b0196441f34882ec50241cb9067b2e0b8b699346 | [] | no_license | Maureus/CPP_Andrusenko | d629e39d192434c3fd465a417e1c7fbb3ef56395 | ad69042e8f0d21868344d8f046efbd12d9c8f2a4 | refs/heads/main | 2023-02-11T06:25:59.207782 | 2021-01-05T17:28:35 | 2021-01-05T17:28:35 | 300,827,284 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 440 | cpp | #include "pch.h"
#include "api.h"
KeyValuePair::KeyValuePair() = default;
KeyValuePair::KeyValuePair(std::string key, Value * value)
{
if (key.empty() || value == nullptr)
{
throw invalid_argument("String is empry or value is nullptr");
}
this->key = key;
this->value = value;
}
KeyValuePair::~KeyValuePair()
... | [
"andriiandrusenko@gmail.com"
] | andriiandrusenko@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.