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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 |
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 |
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 |
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 |
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 |
06763a0115d93a36ce9babca4e2112d6e44ff34b | 1b0dffdec77c9d28ee304f93a39c63fe85fe0fe3 | /BlockClockProject/BC_test/BC_test.ino | bc8bb327b489cfd649603fb0eaae901abb453934 | [] | no_license | srosy/BlockClock | 6bdda34881c4a52ac4b28717f5ac91d2b97e855e | 1e570e4d0bb64b0d8c0563c1a5c5b57fa5daf7c1 | refs/heads/master | 2020-03-30T11:34:26.259081 | 2018-10-02T00:47:58 | 2018-10-02T00:47:58 | 151,180,962 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,881 | ino | /*
BLock Clock Test Program
March 31, 2018
*/
int potpin = 0; // analog pin used to connect the potentiometer
int val; // variable to read the value from the analog pin
#include "BC.h"
int Xdelay = 500;
int Ydelay = 500;
bool X = true; //
bool FWD = true;
#include <SPI.h>
#include <SparkFunDS3234RTC.h>
... | [
"noreply@github.com"
] | srosy.noreply@github.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 |
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 |
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 |
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 |
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 |
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 |
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 |
d22164f929db37287d624e1b729aa15747ab4323 | b496aaf23fef3507808aad224103f1bc43e638ef | /sesion3_1/src/Texture.cpp | 4baad551f6ca074d439a7a455f37a8faab53b5f8 | [] | no_license | hnjm/PracticaFinalIG | f7672c925a5286e1af9b25b32592a7393e1bf055 | 8e0140d69dc7974d9bf62b9514c4c4808b47835c | refs/heads/master | 2020-07-27T21:42:55.145834 | 2019-01-08T13:32:57 | 2019-01-08T13:32:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,804 | cpp | #include "Texture.h"
//------------------------
// Constructor dela clase
//------------------------
Texture::Texture(GLuint idTexture, const char* pathTexture) {
// Texture unit
this->idTexture = idTexture;
// Creamos la textura a configurar
glGenTextures(1,&texture);
glBindTexture(GL_TEXTURE... | [
"noreply@github.com"
] | hnjm.noreply@github.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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
4dd2afb655477a13465ae64633910ff36eafefaf | 7a93937f9faa2ef6175d430770d156bbb72cbe66 | /source_code.cpp | d1a3bdfd571a566fa573a355c3e775036683a54a | [] | no_license | ramsai-5A1/library_managemet_system | 6f6b2d962104a705bee88525bb968c236af04c08 | bfbba13652376a2a7cd924762eeb767d7d63ef45 | refs/heads/main | 2023-08-25T15:15:33.993095 | 2021-09-19T06:06:21 | 2021-09-19T06:06:21 | 408,046,246 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,392 | cpp | **************************
//HEADER FILES//
#include<iostream.h>
#include<fstream.h>
#include<process.h>
#include<stdio.h>
#include<dos.h>
#include<conio.h>
**************************
struct date1
{
int day;
int mon;
int year;
};
class STUDENT
{ int NOB, std;
int fine;
char sname[30];
date1 d1,d2;
protected:... | [
"noreply@github.com"
] | ramsai-5A1.noreply@github.com |
ed209b6ba2b8017b034ca404332d76bf15b51ce4 | d12dde7654b12f40ecd125343d3374672efcc2af | /src/b.LSH/headers/common.hpp | 54909d39d6cec6a87633a8dc904b5d8a65073256 | [] | no_license | Stefanosdl/Neural_Networks_and_clustering_of_images | 30a300289f4bf7fe488ff849548f33f6bd29bb38 | 7e0c9f66f3ea2d093a9ee03d9a43933fa52dc7f7 | refs/heads/main | 2023-02-18T20:33:47.761556 | 2021-01-09T14:36:53 | 2021-01-09T14:36:53 | 321,059,013 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 194 | hpp | // define default values
#define INPUT_FILE 0
#define QUERY_FILE 1
#define SUCCESS 0
#define ERROR 1
#define inf 4294967295
extern unsigned int w;
extern unsigned int M;
extern unsigned int m;
| [
"noreply@github.com"
] | Stefanosdl.noreply@github.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 |
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 |
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 |
9cabf73d8871360ef6c37907db51de4cf25b055d | 1e257f46d039238e5d13817c218afc7e24a91cc9 | /655267/2 刮刮樂.cpp | 2ef7637644aa9b153e66a3f6bf59f5fe16ff49bd | [] | no_license | firedragon0314/20200528-toi | 24bbd0d7efe593d53e94bcd5a7c5200057abc089 | 6852c598b4d68bc2c4281cdc0761dc83584c4ee5 | refs/heads/master | 2022-09-20T01:45:05.661881 | 2020-06-03T16:30:58 | 2020-06-03T16:30:58 | 269,138,649 | 0 | 0 | null | 2020-06-03T16:26:11 | 2020-06-03T16:26:10 | null | UTF-8 | C++ | false | false | 701 | cpp | #include <iostream>
using namespace std;
int main() {
int a[3],b[2][5],total = 0;
bool check = false;
for(int i = 0; i < 3; i++){
cin >> a[i];
}
for(int i = 0; i < 2; i++){
for(int y = 0; y < 5; y++){
cin >> b[i][y];
}
}
for(int i = 0; i < 3; i++){
... | [
"noreply@github.com"
] | firedragon0314.noreply@github.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 |
ee2cb507c1b5f24ffcd6d71f493443fbdabb4e34 | 923e7df48e06716797ba0010e07c6d49c87754cc | /internal/core/unittest/test_bf.cpp | 8863cf1473f19e829171444ebdde94868895c14b | [
"Apache-2.0"
] | permissive | xiaocai2333/milvus | b22269545f7b9f3f52a59a5f35422018c08fe8ff | 82edb4d2df25b289fb5b5fe364e693f50f9a170f | refs/heads/master | 2023-08-28T12:43:43.095519 | 2023-01-05T07:33:39 | 2023-01-05T07:33:39 | 219,463,625 | 1 | 0 | Apache-2.0 | 2019-11-04T09:28:29 | 2019-11-04T09:28:28 | null | UTF-8 | C++ | false | false | 4,593 | cpp | // Copyright (C) 2019-2020 Zilliz. 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 l... | [
"noreply@github.com"
] | xiaocai2333.noreply@github.com |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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) |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
bb28095d121679dfb7b353d73366532c2bfb4099 | 6e60700b3732a3c0e5d54cf7950d62fbbbec4d95 | /HW 1/source.cpp | 2be4f3b69667a191af8a00a022114c3c99998f35 | [] | no_license | mathpop09/ECS-178 | 735ca6370578d52523c41930b41fc08791a7e1f0 | 722f5b0629de814eec5cafb08ee8003d8d75c435 | refs/heads/master | 2020-05-15T09:19:53.997424 | 2019-06-06T20:24:19 | 2019-06-06T20:24:19 | 182,174,730 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,934 | cpp | #include <GL/glut.h>
#include <iostream>
#include <vector>
#include <algorithm>
#include "algo.h"
#include <chrono>
using namespace std;
vector<vector<dim>> curves;
vector<dim> coordinates;
//Store the Castlejau Curves and its t Values
vector<vector<dim>> CasteljauCurves;
vector<double> tValues;
//Store the Bernstei... | [
"noreply@github.com"
] | mathpop09.noreply@github.com |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
0805501118c68483fbfa623d65fd2e17251747c3 | 32ede53a77c76deb095cf4609f3a301550a2bf35 | /PrintDrawer.cpp | f5b8751fc6c2615f590c3fcef31e0d7aaf490e4b | [] | no_license | justtookoff/FlyingDuckChart | 9492fa2e1083139102f592ea887c78fa074370a7 | 8b551285e97b14cb6c959473c89ab6c2ab82ff50 | refs/heads/master | 2021-07-03T03:25:18.942558 | 2017-09-23T09:13:15 | 2017-09-23T09:13:15 | 104,552,351 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 9,871 | cpp | //PrintDrawer.cpp
#include "PrintDrawer.h"
#include "NSChartForm.h"
#include <iostream>
#include "Sequence.h"
#include "Selection.h"
#include "Iteration.h"
#include "Case.h"
#include "String.h"
#pragma warning(disable:4996)
PrintDrawer::PrintDrawer(){
}
PrintDrawer::PrintDrawer(const PrintDrawer& sour... | [
"noreply@github.com"
] | justtookoff.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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
4ad87aa1232082e9d147c2bfacebc0b2f964b894 | 3d4f69dba44f5e285c19c6762494073148011bbe | /solution/441. Arranging Coins/441_01.cpp | d75e56f28d0bc7cefc782222cae847d8fd95bf1d | [] | no_license | cmeslo/leetcode | a0fd9826aaf77380c6cfb6bd24f26024345077be | 9b304046c2727364a3c9e5c513cb312fabdc729e | refs/heads/master | 2023-08-31T02:34:56.962597 | 2023-08-30T17:06:07 | 2023-08-30T17:06:07 | 96,622,859 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 173 | cpp | class Solution {
public:
int arrangeCoins(int n) {
int coins = 0;
while (n-coins > coins) n -= coins++;
return coins;
}
};
| [
"noreply@github.com"
] | cmeslo.noreply@github.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 |
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 |
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 |
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 |
1128dd5a6f655c57c61ee4de6db2126f1c08418f | 8c5c24633f216d08c8a8e6c7d395d22f5a61076e | /Stacks/stack.h | 288ac6eb446bf97d42168681fa3fbd945fa75a3f | [] | no_license | williamchin999/Implementing-Stack-C | ba89f48d74d929671abdbe5b963be79ec6c78889 | e97350a0ce43818d198f16d3148deb44b7ecdffa | refs/heads/main | 2023-08-28T20:24:51.651575 | 2021-10-26T23:47:56 | 2021-10-26T23:47:56 | 421,616,536 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,087 | h | //Copyright 2021 William Chin
//Email: wchin1@sfsu.edu
//This file is apart of CSC340 -Assignment 3
#pragma once
#include <iostream>
#include "stackinterface.h"
#define SIZE 6
template<class ItemType>
class stack
{
ItemType * arr;
int top;
int capacity;
public:
stack(int size = SIZE)... | [
"noreply@github.com"
] | williamchin999.noreply@github.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 | |
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 |
976454f1f09baa171d6308c2152a1df1d235ecc6 | cc8a3923b471d5645d7d349d87b8bd44c3121737 | /T/T16/schmidtt,adejumool-csc236T16/smallclass.cpp | 51bff13e28e3657c8e40d57868d581fd3ff4a903 | [] | no_license | Tradd-Schmidt/CSC236-Data-Structures | 85c3b9c9b613ea8fbd5dfd6cb13a5c92e2be8879 | 4952163644ffe6dd91873a5aaea44b3f57e5496e | refs/heads/master | 2021-04-09T10:57:35.691220 | 2019-03-14T20:12:30 | 2019-03-14T20:12:30 | 125,456,245 | 1 | 0 | null | 2019-03-14T20:12:31 | 2018-03-16T03:05:32 | Python | UTF-8 | C++ | false | false | 866 | cpp | //small class called DayOfYear
#include <iostream>
#include "stdlib.h"
#include "smallclass.h"
using namespace std;
//Uses iostream:
void DayOfYear::input( )
{
cout << "Enter the month as a number: ";
cin >> month;
cout << "Enter the day of the month: ";
cin >> day;
check_date( );
}
... | [
"noreply@github.com"
] | Tradd-Schmidt.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 |
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 |
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 |
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 <... | [
""
] | |
8ad52db9984d49e517fed0a11e173ed94aa0f2f6 | c4537de39f9a35c5e96df6203aa8df4aca725235 | /PrintCommand.cpp | 31d0ea9648f31fdcf02be3e18cba94fa6bf85133 | [] | no_license | galsnir/Flight-Simulator-Part-1 | a625cd60952310f056bb928442a66a18e95518fb | 5dace7d017ac4ea0ad2d664f1141daeb5bc63e89 | refs/heads/master | 2020-04-14T00:44:52.306278 | 2018-12-29T21:14:26 | 2018-12-29T21:14:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 937 | cpp | //
// Created by anton on 12/21/18.
//
#include <iostream>
#include "PrintCommand.h"
/**
* Method reads argument to command. If argument if variable, it prints value of that variable. If argument
* is string, it takes off quotes, and prints contents of this string.
* @param it - pointer to argument
*/
void PrintC... | [
"noreply@github.com"
] | galsnir.noreply@github.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 |
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 |
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 |
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 |
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 |
cf27a0e5e839b5159ef0a950c74e6976e1bada74 | c3d6476e0e8e44a2e4a196f975457e8ef8327c39 | /Circular Linked List/Node.h | 201660e87190745314ea39814a7c96b921f2212b | [] | no_license | mukulsaluja18/Linked-List | c8aacc08d39229298e28276dd26537cc366e9090 | bf63b2a1ffd369599cf54d2c07ecc2f191dc54f9 | refs/heads/main | 2023-06-18T04:17:31.546437 | 2021-07-12T12:59:36 | 2021-07-12T12:59:36 | 385,247,692 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 178 | h | #include<iostream>
using namespace std;
class Node{
public:
int data;
Node* next;
Node(int data){
this->data=data;
next=NULL;
}
};
| [
"noreply@github.com"
] | mukulsaluja18.noreply@github.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 |
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 |
997bc4d8d54f9ca989d05152c46cd3782acf4ba9 | fb6b896efa29883cd25cfb449c906f430c45d6f2 | /MemoryDispatcher.cpp | 13770d64692bbee7d50784399ea202d17c21cf70 | [] | no_license | Savvato/MemoryDispatcher | 575d049c5e69985128599fb829b26e13c1c812ec | 011118a76add31f18790c9024b6881cf740f75f5 | refs/heads/master | 2021-04-27T00:49:45.580499 | 2018-02-23T19:15:27 | 2018-02-23T19:15:27 | 122,661,559 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,699 | cpp | #pragma once
#include "stdafx.h"
namespace MemoryDispatcher
{
const string INPUT_TEXT_FILE_NAME = "Karamzin_page.txt";
const string INPUT_DATA_FILE_NAME = "page1.dat";
const string OUTPUT_TEXT_FILE_NAME = "result.txt.";
const int PAGE_SIZE = 256;
const int VIRTUAL_PAGES_COUNT = 256;
... | [
"noreply@github.com"
] | Savvato.noreply@github.com |
f19e70a28eee10a62a132dae4d7de068280db398 | 2dd0661678a9f63948b7134934036de614c8e338 | /c++ code/factorial of any number.cpp | 950ce703723376eb3689ff4d62844f54bc300709 | [] | no_license | hariharan-devarakonda/PGJQP_hariharan | 5c8c46670c9b8ae05e4f30c389760c59da7e7b90 | a87417d0b7103444276639abbe8e62cbb4436506 | refs/heads/main | 2023-02-03T09:20:05.959015 | 2020-12-22T17:27:35 | 2020-12-22T17:27:35 | 311,329,834 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 351 | cpp | #include<iostream>
using namespace std;
class factorial
{
int i,fact=1,num;
public :void display()
{
cout<<"Enter any number:"<<endl;
cin>>num;
for(i=1;i<=num;i++)
{
fact=fact*i;
}
cout<<"Factorial of number is:"<<fact<<endl;
}
};
int main()
{
factor... | [
"noreply@github.com"
] | hariharan-devarakonda.noreply@github.com |
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 |
2d06c97be4ea22ef6e1f3c2f05d373378ab637d8 | e5aa28feb4461043db39238a717436476f34ed72 | /src/qtimespan.cpp | 09c84a543bf721cd4e9e81fd221fe813d5dec0f5 | [] | no_license | siquel/SotkuMuija-sailfish | 45fe1b34b8759695f4b38608db6f60f3ab5afc0e | 74dade95f8679049e6eab31f5f629e1ad3f8ff5a | refs/heads/master | 2021-01-10T19:51:54.509534 | 2014-02-22T21:21:47 | 2014-02-22T21:21:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 76,295 | cpp | /****************************************************************************
**
** Copyright (C) 2011 Andre Somers, Sean Harmer.
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the QtCore module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** No Commercial Usage... | [
"squual@kahvipaussi.net"
] | squual@kahvipaussi.net |
495c133809f1be0759d9d317921fdb258f849e89 | c37be0d1ddf85325c6bd02a0c57cb1dfe2df8c36 | /chrome/browser/media/router/mojo/extension_media_route_provider_proxy_unittest.cc | e324ddcdb4ddc7ff8e06880556332c8433687387 | [
"BSD-3-Clause"
] | permissive | idofilus/chromium | 0f78b085b1b4f59a5fc89d6fc0efef16beb63dcd | 47d58b9c7cb40c09a7bdcdaa0feead96ace95284 | refs/heads/master | 2023-03-04T18:08:14.105865 | 2017-11-14T18:26:28 | 2017-11-14T18:26:28 | 111,206,269 | 0 | 0 | null | 2017-11-18T13:06:33 | 2017-11-18T13:06:32 | null | UTF-8 | C++ | false | false | 11,392 | cc | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/media/router/mojo/extension_media_route_provider_proxy.h"
#include "base/macros.h"
#include "base/memory/ptr_util.h"
#include "b... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
30a02e5de3fa2d8f8b3c2cbd43ea7f6019403106 | 424601113e009bf6efecc9ef33b964eb89ad4cea | /mediadevice/qffmpegencoder.cpp | 1ad40910d4dc5befc1343068d6649abee67fa3fe | [] | no_license | robby31/multimedia | b34ad589559b2124c460e7bfb057f5ad8c74ecf5 | ba4c9c51cd0e347e703c3dcfeafc01f9aa770fdd | refs/heads/master | 2021-06-07T07:28:28.635996 | 2020-02-15T07:42:12 | 2020-02-15T07:42:12 | 96,641,230 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,351 | cpp | #include "qffmpegencoder.h"
QFfmpegEncoder::QFfmpegEncoder(QObject *parent):
QFfmpegCodec(parent)
{
}
QFfmpegEncoder::~QFfmpegEncoder()
{
_close();
}
void QFfmpegEncoder::close()
{
_close();
}
void QFfmpegEncoder::_close()
{
#if !defined(QT_NO_DEBUG_OUTPUT)
if (codecCtx() != Q_NULLPTR)
qDeb... | [
"guillaume.himbert@gmail.com"
] | guillaume.himbert@gmail.com |
ba1170d9c00eaf7450e27fbea157c8e4cb4fd402 | f5bfa81cf4a06d449bd1a7e33587ef84d6b1c9a3 | /source/DirectionalLight.cpp | f3d159b10862ee5d7f10aada7baaca59344260dc | [] | no_license | kevanvanderstichelen/Rasterizer | 8a23b6cb9ac50b3105ddca261447f0bdcb1ae5ff | 53a249abe25400c6c840e55b4bb37080f397733f | refs/heads/main | 2022-12-28T04:11:55.830748 | 2020-10-10T15:19:27 | 2020-10-10T15:19:27 | 302,929,640 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 576 | cpp | #include "DirectionalLight.h"
DirectionalLight::DirectionalLight(const FVector3& normal, const RGBColor& color, float intensity)
:m_Direction{ GetNormalized(normal) }
,m_Color{ color }
,m_Intensity{ intensity }
{
}
const RGBColor DirectionalLight::CalculateShading(const FVector3& normal, const RGBColor& diffuse) c... | [
"52068354+kevanvanderstichelen@users.noreply.github.com"
] | 52068354+kevanvanderstichelen@users.noreply.github.com |
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.