blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 247 | content_id stringlengths 40 40 | detected_licenses listlengths 0 57 | license_type stringclasses 2
values | repo_name stringlengths 4 111 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringlengths 4 58 | visit_date timestamp[ns]date 2015-07-25 18:16:41 2023-09-06 10:45:08 | revision_date timestamp[ns]date 1970-01-14 14:03:36 2023-09-06 06:22:19 | committer_date timestamp[ns]date 1970-01-14 14:03:36 2023-09-06 06:22:19 | github_id int64 3.89k 689M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 25
values | gha_event_created_at timestamp[ns]date 2012-06-07 00:51:45 2023-09-14 21:58:52 ⌀ | gha_created_at timestamp[ns]date 2008-03-27 23:40:48 2023-08-24 19:49:39 ⌀ | gha_language stringclasses 159
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 7 10.5M | extension stringclasses 111
values | filename stringlengths 1 195 | text stringlengths 7 10.5M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7ac8c763834c5ce3b061c4dd6c45bd8ec835429d | 9f48878caa37ac5f2ccf938fc476efa47c89c644 | /src/Domain/CoordinateMaps/TimeDependent/ShapeMapTransitionFunctions/SphereTransition.hpp | f61567c5a8fd5c52e7d8ebee6a8e938342bfbaf2 | [
"MIT"
] | permissive | sxs-collaboration/spectre | 34f7733ab4c75dbca2f432028145fed110c9ef24 | 96f573cf158201f712da2bfb3378edf497a35a0d | refs/heads/develop | 2023-08-19T11:18:18.465609 | 2023-08-19T04:24:25 | 2023-08-19T04:24:25 | 87,570,510 | 149 | 190 | NOASSERTION | 2023-09-14T20:10:35 | 2017-04-07T17:28:20 | C++ | UTF-8 | C++ | false | false | 2,578 | hpp | SphereTransition.hpp | // Distributed under the MIT License.
// See LICENSE.txt for details.
#pragma once
#include <array>
#include <optional>
#include <pup.h>
#include "DataStructures/DataVector.hpp"
#include "Domain/CoordinateMaps/TimeDependent/ShapeMapTransitionFunctions/ShapeMapTransitionFunction.hpp"
namespace domain::CoordinateMaps... |
4079453b99d87f57d37edb32d3efad577781eeb3 | 3c1d35ffab53397d95e74f9878eb14f11cd62baf | /src/PipeRTSP/ServerPipeRTSP.cpp | c0bb110724d434ebe00fac6ea3eb9644a37a0a28 | [
"MIT"
] | permissive | TUM-CAMP-NARVIS/nvenc_rtsp | cf4f3e49f25ccbda27e67776d6652b5c29887854 | 1168e253bf0bbf07b90e328e34d7408deabbd42a | refs/heads/master | 2020-06-03T23:06:59.340012 | 2019-11-28T14:49:29 | 2019-11-28T14:49:29 | 191,769,023 | 6 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 8,861 | cpp | ServerPipeRTSP.cpp | #include "nvenc_rtsp_common.h"
#include "nvenc_rtsp/ServerPipeRTSP.h"
/* **********************************************************************************
# #
# Copyright (c) 2019, ... |
c850bac9c1068f72c55d63853e1b08c6f1fb16de | e3070bc5a6b028c3ca017a9b7e5c2aef5312908b | /Countries/Countries/Countries/Project.cpp | c4a14e1232c71488b7f4dce3d07624303d899029 | [] | no_license | RostikGameStudio/Countries | 01ecc19d4917269282396a2970670365d46ec416 | 8dd3f2e05e9ebc0d06f8dd1fb37cbf279ab3d7b5 | refs/heads/master | 2020-03-22T14:38:33.017343 | 2018-07-09T19:06:49 | 2018-07-09T19:06:49 | 140,194,168 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 30 | cpp | Project.cpp | #include "Project.h"
|
7a8b8160cd5d5239277e539c6152be0e97f9618a | 81b60b253cc48d28c3f7a58894216ef09682c4d6 | /test/testboard.cpp | 5128e12ae65dcf670b9f48b998599c894b2a4d6d | [] | no_license | underkround/yazatrix | c22aff78975c63b38bc0a20de76ad65a751076d5 | 73de2aac6877106f6544aa1b7be627a0314b7ea5 | refs/heads/master | 2016-09-08T01:27:20.066374 | 2014-06-17T19:49:19 | 2014-06-17T19:49:19 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 4,826 | cpp | testboard.cpp | #define __DEBUG
#include "../TetrisBoard.h"
#include "../TetrominoFactory.h"
#include "../Tetromino.h"
#include "../Graphics.h"
#include "../BoardGraphics.h"
#include <stdio.h>
#include <iostream>
#include <string>
using namespace std;
// Boardin toiminnan testausta
//#define TEST1
// Palikoiden liikk... |
52b6a17577970ef7020cc41345a7304c17fa1c62 | 1aa185a6653722109b8b3e4be5e07bea4f1aa863 | /base/include/{project_name}/{project_name}.h | 642595f54a7390536506c62d238d6fc668c91274 | [] | no_license | GAVLab/templates | e6f61fdd5859d01366945936940eec492ad670c1 | 0f4535ea36ff4be433e98c54a3f6154988cc3d6b | refs/heads/master | 2020-06-08T20:34:40.507120 | 2012-07-27T18:19:22 | 2012-07-27T18:19:22 | 5,105,162 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 582 | h | {project_name}.h | /*!
* \file {this_file}
* \author {author} <{email}>
* \version 0.0
*
* \section LICENSE
*
{license_commented}
*
* \section DESCRIPTION
*
* Intial header for project {project_name}. REPLACE_ME with a description
* of the project and file.
*/
#ifndef {project_name_caps}_H
#define {project_name_caps}_H{head... |
c573373bf990c6f6b755cf44231402b7898a4a2b | c8bb4cd63e577fadd1dc0ac820be166810d1a148 | /Game/Game/Tilesets/Backgrounds/_Code/_code_Cloud.h | cbb56bb75fe682bf4c7c11d9008972a6d796a558 | [] | no_license | rodrigobmg/Cloudberry-Kingdom-Port | c2a0aac9c7cb387775f6f00b3b12aae109a7ea39 | 74cd72e29ff5dfd8757d93abc92ed7e48a945fc8 | refs/heads/master | 2021-06-01T06:19:25.283550 | 2016-08-10T01:35:16 | 2016-08-10T01:35:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 709 | h | _code_Cloud.h | #ifndef _CODE_CLOUD
#define _CODE_CLOUD
#include <small_header.h>
namespace CloudberryKingdom
{
struct Background_Cloud : public BackgroundTemplate
{
virtual ~Background_Cloud()
{
#ifdef BOOST_BIN
OnDestructor( "Background_Cloud" );
#endif
}
Background_Cloud( const std::wstring &Name );
virtual v... |
ffcb914058cad512b2e94bac7743f8d217ea3b3b | 6b217c91fb859d34e6492dd580705d93a34aac1d | /src/MayaBridge/PointCloudShape/PCEPointCloudData.h | f2fbb05e74d9ed9598134d5fe02e74efac1bc0b8 | [
"MIT"
] | permissive | hustztz/pointCloudEditor | 962ec79bb9ae144389f2a104d143bceeafee3cd2 | b2f30a6625bfe54f7d0025d52a0f7edc8cf419d7 | refs/heads/master | 2021-01-17T12:59:26.283943 | 2016-08-15T05:27:54 | 2016-08-15T05:27:54 | 65,616,703 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,543 | h | PCEPointCloudData.h |
///////////////////////////////////////////////////////////////////////////////
//
// Provides a data type for some arbitrary user geometry.
//
// A users geometry class can exist in the DAG by creating an
// MPxSurfaceShape (and UI) class for it and can also be passed through
// DG connections by creating an ... |
5ca66c85758fd40ebb8fd4a0420829ba6662f452 | c6e949cdf2ad2df22bf9552e2b6b62b04ba89109 | /customizers/TrampolineCustomizer.cpp | 8edeafcc7ba3ede4d7234cd132788c1172774dfc | [] | no_license | kyawawa/choreonoid_plugins | 376d884bf554d156c58a244307d4ec5adaf84474 | 71914282600a8b10a9ff05067080f68f17f9cf35 | refs/heads/master | 2020-04-02T20:22:30.726825 | 2019-01-31T19:06:18 | 2019-01-31T19:06:18 | 154,766,857 | 0 | 0 | null | 2019-01-13T10:00:54 | 2018-10-26T02:38:42 | C++ | UTF-8 | C++ | false | false | 3,413 | cpp | TrampolineCustomizer.cpp | // // -*- mode: C++; coding: utf-8-unix; -*-
// /**
// * @file Customizer.cpp
// * @brief Trampoline spring / damping simulation
// * @author Shin'ichiro Nakaoka
// * @editor Tatsuya Ishikawa
// */
#define CNOID_BODY_CUSTOMIZER
#ifdef CNOID_BODY_CUSTOMIZER
#include <cnoid/BodyCustomizerInterface>
#else
#inclu... |
4f781e5c180874b953b46794611934ecbbfc628c | 9ae074dc6bfb0b9d2c0bba28cd75f7b0b5b7f95f | /cvision-scratch/experimental/src/exerciseone/color-distance.cpp | 925fab7aef27eb2977cc2b23055e180da5471243 | [] | no_license | aldwinhermanudin/side-projects | 020a157d87c1c45ca56aab8ecfa920f8f0e249f7 | cad4dcd5b4aee2d05e98548a0a81cda364896646 | refs/heads/master | 2021-03-27T13:09:08.743247 | 2019-05-11T05:06:29 | 2019-05-11T05:06:29 | 39,756,918 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 566 | cpp | color-distance.cpp | #include <iostream>
#include <opencv2/opencv.hpp>
using namespace std;
typedef struct {
unsigned char r, g, b;
} RGB;
double ColourDistance(RGB e1, RGB e2)
{
long rmean = ( (long)e1.r + (long)e2.r ) / 2;
long r = (long)e1.r - (long)e2.r;
long g = (long)e1.g - (long)e2.g;
long b = (long)e1.b - (lo... |
3c84dd439fadd0b6945d4db16d92efad137b9407 | 024c74f395b4a749b26cf2719b1e4efecd5331fc | /Codeforces/60B.cpp | e89a30e38535c42aec3c93fca76e23ce1e2f3d85 | [] | no_license | thisisrajat/competitive-programming | 28ed70f77e2c3892ee1d005341ef7d37930caad9 | 422cc7fac78a9908ca7a95a7c6eae724ed4a0631 | refs/heads/master | 2021-01-01T18:12:10.693796 | 2017-01-01T17:42:53 | 2017-01-01T17:42:53 | 17,668,936 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,121 | cpp | 60B.cpp | #include <iostream>
#include <cstdio>
#include <algorithm>
#include <cstring>
#include <vector>
#include <string>
#include <map>
#include <set>
#include <sstream>
#include <utility>
#include <functional>
#include <numeric>
#include <stack>
#include <queue>
#include <cmath>
#include <cstdlib>
#include <ctime>
#include <... |
cf1d9aa3aa3d1cf8005501ed874e8e40dd96908e | 7bbe6e930494a2a5538f4febdd20e85e674f742e | /homework/vec3.h | 67392dab032f534b2bd5c5515d80e8c6d3366ad3 | [
"MIT"
] | permissive | migon25/GameDevelopment | 2d6eb4215dbf902520403556828dae353c21741c | 7198ffeb51ee9316ce201834fc82f0c4df05c75c | refs/heads/main | 2023-08-02T05:23:27.400813 | 2021-09-27T19:47:36 | 2021-09-27T19:47:36 | 410,627,239 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,714 | h | vec3.h | #pragma once
#include <iostream>
#include <cmath>
#include "vec3.h"
using namespace std;
template <class T>
class vec3
{
public:
T x, y, z;
// 3 constructors
vec3(float _x, float _y, float _z);
vec3(float value);
vec3();
// operators
vec3<T> operator+(const vec3<T>& vector) const;
vec... |
e5f9c6cb19c6766384072dc269f70ae5759d11ee | fcdf00e61f079cd00dbdfa3727d07cb58e2e0dfc | /eventQueue.cpp | 4edee36a1e4cbe1b32d10d6aee5cde45d777d800 | [] | no_license | ZhenyuLiu46/os-lab2 | 7ac999182566653864e6b43ebe7765bb934109a3 | 4680239a35d7372bda99e690d63f577cdccda703 | refs/heads/master | 2022-04-06T21:45:40.191174 | 2020-03-08T19:03:42 | 2020-03-08T19:03:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 827 | cpp | eventQueue.cpp | //
// eventQueue.cpp
// Lab2-working
//
// Created by Zhenyu Liu on 3/18/19.
// Copyright © 2019 Zhenyu Liu. All rights reserved.
//
#include <iostream>
#include "eventQueue.h"
void EventQueue::put_event(Event *e) {
int flag = 0;
list<Event*>::iterator it;
for(it = eventQue.begin(); it != eventQue.end... |
8e8e946d2dfd665c4eaab57bcfb4ca21f14c7242 | 4cbf5729bc1eb652347819e2bede978dae4841e1 | /src/frontend/sdl.h | 63fbdb8e897c58652d39fa2005be5e798f443205 | [
"BSD-3-Clause"
] | permissive | fengjixuchui/heliage | d208f27fc0e4d2d7fb814ce5df77f133759e8361 | b11af9949167b2663812c6dff5c4600d20091bfc | refs/heads/master | 2020-09-29T12:49:59.344630 | 2020-07-28T06:10:50 | 2020-07-28T06:10:50 | 227,041,520 | 0 | 0 | BSD-3-Clause | 2020-07-28T06:10:51 | 2019-12-10T06:06:24 | C++ | UTF-8 | C++ | false | false | 262 | h | sdl.h | #pragma once
#include "../gb.h"
#include "../ppu.h"
#include "../types.h"
void HandleEvents(Joypad* joypad);
u32 GetARGBColor(PPU::Color pixel);
void DrawFramebuffer(std::array<PPU::Color, 160 * 144>& framebuffer);
void Shutdown();
int main_SDL(char* argv[]);
|
5cd4e2d1d9a69b1c0c9a1ab99fe22946b69cf0f1 | fead2d2ea15e43f058ce5b76ccd7a42786a66ea9 | /7/res_x86/StdAfx.cpp | ec3901645bec361e361fb224e41f7ae27a489d18 | [] | no_license | jsg2021/Simply-Transparent | adba084caba5a6f4a0f7f95a7a3d29c93de54810 | bb875a8010d5c01e76a64e57dd3fe807d8f0fec0 | refs/heads/master | 2021-01-02T08:56:53.867936 | 2012-01-16T20:07:06 | 2012-01-16T20:07:06 | 2,200,338 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,364 | cpp | StdAfx.cpp | // stdafx.cpp : source file that includes just the standard includes
// res_x86.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
#include "resource.h"
///////////////////////////////////////////////////////////////////////////////
... |
a9255dd4015976ffb023ae291fe118ecd2265e9b | 6c996ca5146bd307a062f38819acec16d710656f | /workspace/iw8/code_source/src/bgame/asm/common_asm_util.cpp | ac28ee74483687a7ad1efa63a037cfae65cb72c8 | [] | no_license | Omn1z/OpenIW8 | d46f095d4d743d1d8657f7e396e6d3cf944aa562 | 6c01a9548e4d5f7e1185369a62846f2c6f8304ba | refs/heads/main | 2023-08-15T22:43:01.627895 | 2021-10-10T20:44:57 | 2021-10-10T20:44:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,255 | cpp | common_asm_util.cpp | /*
==============
Common_Asm::Utils::GetCurrentStateByAssetName
==============
*/
const ASM_State *__fastcall Common_Asm::Utils::GetCurrentStateByAssetName(const ASM_Instance *pInst, scr_string_t asmName)
{
return ?GetCurrentStateByAssetName@Utils@Common_Asm@@SAPEBUASM_State@@PEBUASM_Instance@@W4scr_string_t@@@Z(pIn... |
0a307fd2c73395e7e483f941eb77ae2bbffa4226 | 597fadca888b713cbe9eced88a3661901a908757 | /Classes/Snake_fwd.h | 270b752a12a204c87098a18212fd0736d3f889bb | [] | no_license | SLebedev777/CocoSnake | 70d831a19603df49ba566782abf68d13eb0656f8 | fc9ef8d5c7eabcbd4e34f9e0602e1ce243fe08d3 | refs/heads/main | 2023-04-17T02:54:20.719716 | 2021-05-12T08:54:00 | 2021-05-12T08:54:00 | 328,627,847 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 464 | h | Snake_fwd.h | #include <memory>
namespace NS_Snake
{
class DirectedSprite;
typedef std::unique_ptr<DirectedSprite> DirectedSpritePtr;
class Snake;
typedef std::unique_ptr<Snake> SnakePtr;
class GameGrid;
typedef std::shared_ptr<GameGrid> GameGridPtr;
class IFood;
typedef std::unique_ptr<IFood> IFoodPtr;
class IFoodFact... |
1d6d18894b04eac87a93d3dc2387870856502a0b | 98b1e51f55fe389379b0db00365402359309186a | /homework_3/case_2/60/p | 6c618fa54602980732a4c6d1e001ee70ecb93363 | [] | no_license | taddyb/597-009 | f14c0e75a03ae2fd741905c4c0bc92440d10adda | 5f67e7d3910e3ec115fb3f3dc89a21dcc9a1b927 | refs/heads/main | 2023-01-23T08:14:47.028429 | 2020-12-03T13:24:27 | 2020-12-03T13:24:27 | 311,713,551 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,666 | p | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 8
\\/ M anipulation |
\*-------... | |
6fe39b1a84f043a82affa4f45b38e0be9b1af1c9 | f84040cfa2477b5a09e17afde80eb19db43e84ec | /191 - Intersection.cpp | 40a859e9a92ee18841701c8287b271f094e12601 | [] | no_license | sbswarna/UVA | e2714047d5e4fa38a52c9ca33ff1c226079f8521 | 44dd179c1775dfc21c20fb6041cfc099dc34a0c2 | refs/heads/main | 2023-04-21T05:50:32.690008 | 2021-05-01T04:22:50 | 2021-05-01T04:22:50 | 347,542,297 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,451 | cpp | 191 - Intersection.cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
long long tst;
double x1,y1,a1,a2,b1,b2,p1,p2,p3,p4,q1,q2,q3,q4,x2,y2;
cin>>tst;
while(tst--)
{
cin>>x1>>y1>>x2>>y2>>a1>>b1>>a2>>b2;
double a,b,c,d;
if(a1>a2)
{
a=a2;
b=a1;
}
... |
926d4e463c788f30985e14d8c2058ef1c182e44e | 2765d0a19de9e401cc086e5cacebbb4b83ebdd41 | /src/gcli/xrc/DataGridDlg.cpp | 7265d9273bb7d248d8e02da0bda94b938491926c | [] | no_license | mcejp/602sql11 | d449eeda9194dc08422c0d544384f91fbcd83480 | 38915304dc33c818c8823d4f70d99ac729dca6c8 | refs/heads/master | 2020-03-30T03:40:45.755487 | 2008-08-06T07:28:57 | 2018-09-28T07:28:57 | 150,702,131 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,374 | cpp | DataGridDlg.cpp | /////////////////////////////////////////////////////////////////////////////
// Name: DataGridDlg.cpp
// Purpose:
// Author:
// Modified by:
// Created: 12/15/06 09:38:36
// RCS-ID:
// Copyright:
// Licence:
//////////////////////////////////////////////////////////////////////////... |
7e20bba61d5a76b36a7b3f4801ebb848c9e298b8 | 9f2e63f56c50aadabfebde6cb7d81c3e9d961651 | /baekjoon/1181_2.cpp | 40e954a898941a7ac2dfc9a285885e81bcb83ebb | [] | no_license | boomini/Algorithm | a797b3f0d34af7f7e830c1d971d7f463556c2de2 | 35a24200f57e6e3aeffa699133cd82ce9d5fde0d | refs/heads/master | 2021-03-25T15:35:54.273035 | 2020-07-26T12:29:02 | 2020-07-26T12:29:02 | 247,629,753 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 435 | cpp | 1181_2.cpp | #include <iostream>
#include <algorithm>
using namespace std;
string word[20001];
int n;
bool compare(string a, string b){
if(a.length()==b.length())
return a<b;
else
return a.length()<b.length();
}
int main(void){
cin >> n;
for(int i=0; i<n; i++){
cin >> word[i];
}
sort(word,word+n,compare);
for(int... |
b2d3d6343f545b788bc5ae0a4d663dd537d76364 | ae8ef15e88056158342007fc1795bdf187cb7eb3 | /Device/FanController.ino | a225382fdb999bc0f45e245798b75f017b933d08 | [] | no_license | zhoujh202020/InternetConnectedFan | 8719e87296e500aaa1117668a1bc29e46aea574d | b836561c70b17cf2899213860aa49f922dc6ff90 | refs/heads/master | 2020-09-23T18:22:48.343217 | 2019-02-05T20:02:26 | 2019-02-05T20:02:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,941 | ino | FanController.ino | #include "Arduino.h"
#include "AZ3166WiFi.h"
#include "DevKitMQTTClient.h"
#include "SystemVersion.h"
#include "Sensor.h"
#include "parson.h"
#include "PinNames.h"
static bool hasWifi = false;
static void initWifi()
{
Screen.print(2, "Connecting...");
if (WiFi.begin() == WL_CONNECTED)
{
IPAddress ip = WiFi... |
5be2a23a034ae54a61f2bb8b1d39c6edc20b4ff4 | 5812abcca9432a9e9135fd1bb84e1ab3214b98a5 | /export.cpp | 803be816d70c4b81e49bf08b95327bb063edc040 | [] | no_license | lintean/CClassSchedule | 0f61c005ac12e2b1cf63607057156343f8a8c651 | d0c50afc08bda26f3687b5d0d5326c91d7e8ea76 | refs/heads/master | 2020-03-18T14:37:37.854298 | 2018-06-05T14:35:26 | 2018-06-05T14:35:26 | 134,857,669 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,756 | cpp | export.cpp | #include "export.h"
#include<QString>
#include<QVector>
#include<QFile>
#include<QDir>
#include<QDebug>
#include<fstream>
Export::Export()
{
}
bool Export::copyFileToPath(QString sourceDir ,QString toDir, bool coverFileIfExist)
{
toDir.replace("\\","/");
//如果选择目录和当前目录相同
if (sourceDir... |
448d74783416c8fe735859eaea659070274dd1d1 | b5d4374a078069ea1330251d987b14a538721a6d | /Group.h | 47a68034039a336c9910738b5def1a60715450a5 | [] | no_license | sanjaydm/OOGSL | 3f198881456cd33202e4d6b66ca2786d4907b523 | 2bace4f73567b410a30a2afc14d2177c72f34028 | refs/heads/master | 2022-04-10T11:20:32.061434 | 2020-03-31T14:12:18 | 2020-03-31T14:12:18 | 171,889,319 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,744 | h | Group.h | #ifndef GROUP_H
#define GROUP_H
#include "Vector.h"
#include <vector>
#include "Matrix.h"
class Group{
public:
vector<Matrix> _g;
vector<Matrix> _gen;
Group();
void constructGroup(){;}
int order() {return _g.size();}
int numGenerators() {return _gen.size();}
void listElements();
};
class Cyclic: publi... |
240ab4eb9f158e3ad9419719e697082ee3fa35de | 92754bb891a128687f3fbc48a312aded752b6bcd | /Algorithms/C++/238-Product_of_Array_Except_Self.cpp | b3e9a484f98113df8a7864dfd4c422c5d543f5e1 | [] | no_license | daidai21/Leetcode | ddecaf0ffbc66604a464c3c9751f35f3abe5e7e5 | eb726b3411ed11e2bd00fee02dc41b77f35f2632 | refs/heads/master | 2023-03-24T21:13:31.128127 | 2023-03-08T16:11:43 | 2023-03-08T16:11:43 | 167,968,602 | 8 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 620 | cpp | 238-Product_of_Array_Except_Self.cpp | // Runtime: 40 ms, faster than 82.80% of C++ online submissions for Product of Array Except Self.
// Memory Usage: 12.4 MB, less than 98.48% of C++ online submissions for Product of Array Except Self.
class Solution {
public:
vector<int> productExceptSelf(vector<int>& nums) {
vector<int> res(nums.size(... |
df8d94e6aaf8693aa079b97efd4750542d0bf414 | 5d3832a7b1b4916fbbcb2d540ae0412cf41c4320 | /CG/HW5/HW5.cpp | 414f54da0490f3824d6cca626e024957a53a24fc | [] | no_license | hhyx/CG | e150d7966cc00118b90c66156ad3fd44cf031b68 | 90a166692ed682e6d8332b9659beb2723522953a | refs/heads/master | 2020-05-07T08:49:39.062857 | 2019-05-23T10:35:37 | 2019-05-23T10:35:37 | 180,348,119 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 9,239 | cpp | HW5.cpp | #include "HW5.h"
// 顶点着色器
const char *HW5vertexShaderSource =
"#version 330 core\n"
"layout (location = 0) in vec3 aPos;\n"
"layout (location = 1) in vec3 aColor;\n"
"out vec3 ourColor;\n"
"uniform mat4 model;"
"uniform mat4 view;"
"uniform mat4 projection; "
"void main()\n"
"{\n"
" gl_Position = projection * view * m... |
d48f04094d92250386966ede72c633a964633c2a | 9e1cb2701686a2951eab65709cf49685a8334c29 | /worker/threadpoolbase.cpp | d56ab3e7f967e08a078ac736fc8bac19ae2593d4 | [
"BSD-2-Clause"
] | permissive | snewell/bureaucracy | c435454ac4a57eb11bf0fcd5beec230a46361b11 | 4932b0093c29698715ddb04829c1adaa3dc2aa3c | refs/heads/master | 2020-05-22T06:44:58.596971 | 2018-10-20T05:54:00 | 2018-10-20T05:54:00 | 61,495,357 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,326 | cpp | threadpoolbase.cpp | #include <bureaucracy/threadpoolbase.hpp>
#include <algorithm>
#include <houseguest/synchronize.hpp>
using bureaucracy::ThreadpoolBase;
namespace
{
void threadWorker(bool & accepting, std::condition_variable & workReady,
std::mutex & mutex,
std::vector<bureaucracy::Wo... |
2e51273e9b8ca6e38de40b3daa7a6a36d7b52c29 | d22bc53f68eac70f97ef1e398dd7646df4d33813 | /effectivecpp/Chap04_DesignsDeclarations/Item25party2.cpp | 795ebaf7fd168f0494367ecd8d382aade0a6187f | [] | no_license | jadyan/effectivecpp | 082ff84ad4eaeb7d98a8f79fcc8144d5017712dc | 48a0d43bce7a4adf2f6f1a3e2d06b0779c844ed3 | refs/heads/main | 2023-05-01T01:48:37.690351 | 2021-05-12T14:06:26 | 2021-05-12T14:06:26 | 366,735,437 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,564 | cpp | Item25party2.cpp | #include <iostream>
#include <algorithm>
class WidgetImpl
{
public:
WidgetImpl(int x, int y, int z) :
a(x), b(y), c(z)
{
}
void show()
{
std::cout<<"a="<<a<<"b="<<b<<"c="<<c<<std::endl;
}
private:
int a, b, c;
};
class Widget
{
public:
Widget(WidgetImpl* wi) : pImpl(wi) {}
void swap(Widget& other)
{... |
3d976989da80268738362188340a8d46f77dd7af | a3d6556180e74af7b555f8d47d3fea55b94bcbda | /chromecast/media/cma/backend/proxy/buffer_id_manager_unittest.cc | 4399f95b376b41624b04263ab873bd84ce64832f | [
"BSD-3-Clause"
] | permissive | chromium/chromium | aaa9eda10115b50b0616d2f1aed5ef35d1d779d6 | a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c | refs/heads/main | 2023-08-24T00:35:12.585945 | 2023-08-23T22:01:11 | 2023-08-23T22:01:11 | 120,360,765 | 17,408 | 7,102 | BSD-3-Clause | 2023-09-10T23:44:27 | 2018-02-05T20:55:32 | null | UTF-8 | C++ | false | false | 9,656 | cc | buffer_id_manager_unittest.cc | // Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chromecast/media/cma/backend/proxy/buffer_id_manager.h"
#include <memory>
#include "base/memory/ptr_util.h"
#include "base/memory/scoped_refptr.h"
#include "chromec... |
a84bb01e90ff7ac42ee45e3aa721dc2fd13192bd | d1dc50f8b94d61d618b3803c048347fb94715335 | /C++/binaerySearch.cpp | f2d2c10328d4027c78f260300593b572ae34fa49 | [] | no_license | wafarifki/Hacktoberfest2021 | 5360e7f57d45e2bec2e0626fb8d49d1e511fb57b | 6c062feb71fb0d6225af64ed6b6df83f7924432d | refs/heads/main | 2023-08-23T20:04:52.179436 | 2021-10-01T06:58:30 | 2021-10-01T06:58:30 | 412,358,558 | 3 | 1 | null | 2021-10-01T06:44:27 | 2021-10-01T06:44:26 | null | UTF-8 | C++ | false | false | 475 | cpp | binaerySearch.cpp | #include <iostream>
using namespace std;
int binarySearch(int *input, int n, int val)
{
for(int i=0;i<n;i++)
{
if(input[i]==val)
return i;
}
return -1;
}
int main() {
int size;
cin >> size;
int *input = new int[size];
for(int i = 0; i < size; ++i)
{
cin >> input[... |
8e4d02c2796959d68899861b2cfcbec9157fed2b | 0f3905366a5ec88300f1134b084741785d540bda | /meas_croc/main.cpp | df203e9d6940998832d82eeae6681adac560ff35 | [] | no_license | cgurleyuk/meas_croc | b3f53ad05bb80a30c644e7523c5343342554e9f6 | e8b43105e26a8e5996e2c9c1160c89ebc84da28b | refs/heads/master | 2020-04-29T19:37:39.300651 | 2019-04-09T21:05:56 | 2019-04-09T21:05:56 | 176,361,350 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,279 | cpp | main.cpp | #include <string>
#include <sstream>
#include <iomanip>
#include <vector>
#include <iostream>
#include "interp.h"
#include "spi.h"
#include "test.h"
#include "meas.h"
spi mainSPI;
int main(int argc, char* argv []) {
interp interp;
interp.register_func("spi_w", &main_spi_write);
interp.register_func("spi_r", &ma... |
b040187c80f0f198bb1b7c24cc696a2ca8110ee3 | 125ae0adb562478b184bbb35d40f2c43b335415c | /MFDUI/Panels/Sonar/tSonarPanelHeroic.cpp | 583964e6b62863fa3d30f5739b4928e77afb0173 | [] | no_license | dulton/53_hero | ff49ce6096c379931d7649b654c5fa76de4630de | 48057fe05e75f57b500a395e6ff8ff9c06da6895 | refs/heads/master | 2020-02-25T04:19:18.632727 | 2016-05-20T03:44:44 | 2016-05-20T03:44:44 | 62,197,327 | 3 | 2 | null | 2016-06-29T05:11:41 | 2016-06-29T05:11:38 | null | WINDOWS-1252 | C++ | false | false | 29,230 | cpp | tSonarPanelHeroic.cpp | /*****************************************************/
// Copyright © 2007-2012 Navico
// Confidential and proprietary. All rights reserved.
/*****************************************************/
//-----------------------------------------------------------------------------
/*! \class tSonarPanelHeroic
\brie... |
d533ce8a1c25d2fdc836d5f9205ce935e5c77390 | ce545d7ab264b2bd71fc97b06b93d1140d7a6bf7 | /fdlibm1028/k_tanf.cstmt_p.cpp | 8ea5a22486df573d7567f865d0521b07325c9acd | [] | no_license | cigar1920/testprogram | b12685cf4bd6364588f55a580da84424642e6691 | c20cbd6a870dc492d9a834b444937305901fb50d | refs/heads/main | 2023-02-18T18:59:09.520606 | 2021-01-06T13:18:47 | 2021-01-06T13:18:47 | 327,315,745 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,815 | cpp | k_tanf.cstmt_p.cpp | #include "../ScDebug/scdebug.h"
/* k_tanf.c -- float version of k_tan.c
* Conversion to float by Ian Lance Taylor, Cygnus Support, ian@cygnus.com.
*/
/*
* ====================================================
* Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
*
* Developed at SunPro, a Sun Micros... |
43b208a92115f886de989c4936a60e15e2a7a228 | 3d506bd201cb738a788c140622595cfd819e6b2d | /netProject/EasyTcpServer/EasyTcpServer.h | cdba5e97d8b488dedf069ac46cbbedf48bc85eed | [] | no_license | hhaiz123/netProject | 651c4c7420ddf6248b15f04727ccb650e830d1e7 | 084d86787a38df0fbc0ce3d938499aa0cbe340b7 | refs/heads/master | 2022-10-01T15:28:09.633671 | 2020-06-09T09:55:40 | 2020-06-09T09:55:40 | 270,895,887 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,107 | h | EasyTcpServer.h | #pragma once
#ifndef _EasyTcpServer_h_
#define _EasyTcpServer_h_
#include<stdio.h>
#include<vector>
#include<atomic>
#include"EasyTcpMassage.h"
#include "CELLTimestamp.hpp"
#include"ClientSocket.hpp"
#include"CellServer.h"
#include"INetEvent.h"
class EasyTcpServer: public INetEvent {
public:
EasyTcpServer();
int In... |
7f1247323aa6f1d7e37b49dba8a38843004392c5 | 45f2d9ced227984422441452ac1e66b6f14de4ea | /codeforces122B.cpp | d7287fc9a710372e7ddc924aea502ab746bc7d00 | [] | no_license | NiladreeDatta/Ad-Hoc-problems | dfd73911ace2e15a8cec95163562197b3806f71c | 6df0475f292a245f3e3ae097d4f9eea0c79ef489 | refs/heads/master | 2020-12-14T09:24:16.856797 | 2020-06-09T14:28:33 | 2020-06-09T14:28:33 | 234,698,286 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 282 | cpp | codeforces122B.cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
string s;
cin >> s;
auto four = count(s.begin(),s.end(),'4');
auto seven = count(s.begin(),s.end(),'7');
cout << (four == 0 && seven == 0 ? -1: four >= seven ? 4 : 7 ) << endl;
return 0;
}
|
0354436977715eb298f281466de707cfddc3f71d | 6493ea59aec4f9dda75264671166dad966fbe848 | /Project/Project/Superpixels.h | 4767da03dc9537a38d8b0a853e5364b7ecb26399 | [] | no_license | TommyR22/OpenCv-Superpixel-based-Video-Object-Segmentation | f0a1b6e01be08a5cef69e6046afed33c4c213f67 | 11c7cf227b7b033e65ef403596b33bffbd7fa1a1 | refs/heads/master | 2021-01-13T11:32:36.209830 | 2019-04-03T08:07:11 | 2019-04-03T08:07:11 | 81,190,235 | 3 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,162 | h | Superpixels.h | //
// FgModeling.h
// Project
//
// Created by Tommaso Ruscica on 15/09/15.
// Copyright (c) 2015 Tommaso Ruscica. All rights reserved.
//
#ifndef __Project__FgModeling__
#define __Project__FgModeling__
#include <stdio.h>
#include <opencv2/opencv.hpp>
extern "C" {
#include "/Users/TommyR22/Desktop/vlfeat/vl/gener... |
dde5c3ea575f923d094abccec30e4a85b3d11c1a | d04827974bbfe5faa46a967af0b7e072ca9e1220 | /hss/hssperf/include/s6as6d_impl.h | 37ec3bb353cdf5cb26fdc130063a3a5a09e19f31 | [
"Apache-2.0"
] | permissive | krsna1729/c3po | b8640eeba51b10dd9873c15aefd952cfafc469c8 | df54425693014cfc0cbe10be897364df00f8523e | refs/heads/master | 2022-03-07T02:06:51.784244 | 2022-02-24T20:37:13 | 2022-02-24T20:37:13 | 172,896,481 | 0 | 0 | Apache-2.0 | 2022-02-25T02:02:39 | 2019-02-27T10:42:59 | C++ | UTF-8 | C++ | false | false | 4,465 | h | s6as6d_impl.h | /*
* Copyright 2019-present Open Networking Foundation
* Copyright (c) 2017 Sprint
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef __S6AS6D_IMPL_H
#define __S6AS6D_IMPL_H
#include "s6as6d.h"
class HSSPerformance;
class ULRTest;
class ULRTracker;
class ULRTestThread;
class AIRTracker;
class AIRTestThread;
class... |
0bfa6f05604a868833b561de5bf61c3db265ff03 | 240068625c0c5a23b134c85a2af170d474e46923 | /src/audiomodules/scaleosc.cpp | b1ad7dadc4ec59c2ffa33da9f65069977193a494 | [] | no_license | Xenakios/XenakiosModules | 3c225c687e0863cb6a0ce6975b0b1c6df74cd6a7 | 022e96c0223f3aec2700cccdbeed64fd64775db4 | refs/heads/master | 2023-01-07T08:54:11.435380 | 2021-11-25T19:09:08 | 2021-11-25T19:09:08 | 219,061,725 | 8 | 5 | null | 2020-07-15T18:51:46 | 2019-11-01T20:58:18 | C++ | UTF-8 | C++ | false | false | 32,676 | cpp | scaleosc.cpp | #include "../plugin.hpp"
#include "../helperwidgets.h"
#include "../wtosc.h"
#include <array>
#include "../jcdp_envelope.h"
inline simd::float_4 fmodex(simd::float_4 x)
{
x = simd::fmod(x,1.0f);
simd::float_4 a = 1.0f - (-1.0f * x);
simd::float_4 neg = x >= 0.0f;
return simd::ifelse(neg,x,a)... |
43160386750013d6ae9f787251231b5d5f2ff106 | 4ae49b6818fd593bc8c4724c63f774b4401dbc8f | /src/mcmc/MHVariable.cpp | 8ff0f775092afe971487b258f1effc2b83370f50 | [] | no_license | Chronomodel/chronomodel | c2de58f8da03471631fdbf63739b79617752eace | f3b6082c00e251836f7b40f5b54016e45edf6b2e | refs/heads/master | 2023-08-23T22:04:55.820153 | 2019-02-15T09:23:21 | 2019-02-15T09:23:21 | 29,787,037 | 14 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 10,120 | cpp | MHVariable.cpp | /* ---------------------------------------------------------------------
Copyright or © or Copr. CNRS 2014 - 2018
Authors :
Philippe LANOS
Helori LANOS
Philippe DUFRESNE
This software is a computer program whose purpose is to
create chronological models of archeological data using Bayesian statistics.
This soft... |
716e9f0a6d0fee90f21f747839e13d6274b55977 | ac9fa0fdfc2624f83e7c05eeeee92c50d4fc1596 | /c++/1.2 Polimorfismo de sobrecarga y sobre-escritura/1.2.2 Polimofrismo por sobrescritura/SeleccionV2/Futbolista.h | 466fb865d59a0bb56c03dc5f1e8066cf37d5b57c | [] | no_license | renecruz/prog_ii | 1a234c47b35dda1437e953a6f1fb27074b3a0c04 | 6db34154f379672036a45d4dd6418b6cca83b88d | refs/heads/master | 2021-07-05T21:01:37.144892 | 2021-05-12T16:06:47 | 2021-05-12T16:06:47 | 238,100,730 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 424 | h | Futbolista.h | #include <iostream>
using namespace std;
class Futbolista : public Deportista {
private:
string posicion;
public:
Futbolista(string nombre, int edad, float estatura, string posicion) : Deportista(nombre, edad, estatura) {
this->posicion = posicion;
}
string toString() {
return "... |
7584bcf1cc223c4bba796dc1ee385801fe10fbe6 | 5cc145f2ae438d267b9b40a0d3b91dbe9dba751f | /origin/render.cpp | 9b7d0af50a89b51f4a3916cdc57d102f793b534b | [] | no_license | matengli/imgRender | 3f9349f378633a30b7018a493fc6938e22845710 | 0e07c6c415daea2b7b1962a46e158dc413bd63b0 | refs/heads/master | 2020-12-01T11:09:54.443853 | 2020-01-20T06:18:57 | 2020-01-20T06:18:57 | 230,614,274 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,653 | cpp | render.cpp | //
// Created by someone on 2020/1/14.
//
#include "render.h"
const vec4f LIGHTDIR = vec4f(1,1,0,0).getNor();
const float LIGHT_INST = 10.0;
Model* model;
vec4f CENTER = vec4f(0,0,0,0);
vec4f EYE = vec4f(0,0.,1.0,0);
vec4f UP = vec4f(0.,1.,0,0);
int WIDTH;
int HEIGHT;
Matrix mat_mv;
Matrix mat_proj;
Matrix mat_mvp;... |
735840a0228731f93cc7cc0865f1e38a3f73830f | 43bca23381fd51b22d0d9b18d7da374b4f031978 | /ui_logindlg.h | cf5aaabb9c42a79405eb8ec86d85d2fbb066648c | [] | no_license | koestlerWang/Face-Check_in | 4661208be67814b1eec83b002a45747304d1dbe4 | 6bf96de7414417b612143736ae7b64bb3e29fb5f | refs/heads/master | 2020-04-27T13:21:09.755423 | 2019-03-08T01:20:19 | 2019-03-08T01:20:19 | 174,366,659 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,025 | h | ui_logindlg.h | /********************************************************************************
** Form generated from reading UI file 'logindlg.ui'
**
** Created by: Qt User Interface Compiler version 5.9.3
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
******************************************... |
5f1882b6b6db5ef11d762b4ea1762200b8e7c262 | e13d2229aaf4a771c2e1e4e1480cb871f7d92f7b | /tests/safeTests/src/PointerGuardTest.cpp | 914a006c1bae88876125119520d28c699a934cef | [
"MIT"
] | permissive | amironov73/PlusIrbis | 0a4c8f63f30f30fbbf03d193311909d9a96f5b58 | c2eeed50c067badb597864e831d3c7a75b02108c | refs/heads/master | 2022-10-26T16:23:55.991770 | 2022-10-03T08:24:41 | 2022-10-03T08:24:41 | 168,790,953 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 547 | cpp | PointerGuardTest.cpp | // This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
#include "catch.hpp"
#include "irbis.h"
#include "irbis_internal.h"
#include "safeTests.h"
#include "cstring"
// ReSharper disable StringLiteralTypo
TEST_CAS... |
edd11cd2a17ce3c12f45d809544468dcbdb5f20d | 78ee7815950f2936280281d0b909f88302eaa204 | /trajectory_opt/include/trajectory_opt/p_controller.h | 6cf451f4e75c202b6057a73bddc75c4fffc04749 | [] | no_license | Swarm-UST/MPC-CSLQ | 6a78179bdeb31c9c6c410eae5d91d0b123ae25a9 | 1f7974f882613ce60b6e3dac9e3824eafe46f257 | refs/heads/master | 2023-03-03T10:36:01.240435 | 2021-02-02T13:28:05 | 2021-02-02T13:28:05 | 325,942,483 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 203 | h | p_controller.h | #ifndef P_CONTROLLER_H
#define P_CONTROLLER_H
#include <Eigen/Dense>
#include <cmath>
#include <iostream>
Eigen::Vector2d p_controller(Eigen::Vector3d x,Eigen::Vector3d tar, double l,double r);
#endif |
5b12d60de8976e986f00abdf290c3e646e99a83c | b71cb3b46ed7b0ee65c06772edc76c69b1cb1fb9 | /Examples/include/asposecpplib/system/predicate.h | 98d9428c8eeebcf32e18d6ebf47dbc524c3f494b | [
"MIT"
] | permissive | min1129/Aspose.PDF-for-C | 9fb98a78ecd8963e78c52729c2bbdcbf563585f3 | 9360531493d4f4d379557e96747fc3e2c4836768 | refs/heads/master | 2020-03-29T18:26:15.431415 | 2018-03-06T11:31:33 | 2018-03-06T11:31:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 213 | h | predicate.h | #ifndef _aspose_system_predicate_h_
#define _aspose_system_predicate_h_
#include "system/multicast_delegate.h"
namespace System
{
template<class T>
using Predicate = MulticastDelegate<bool(T)>;
}
#endif |
bde9e121b0a7fb22e9625bc6e5d916331da585f5 | 2b7cd629d53d8e3b6009574e11f395301e156ca0 | /COMMON/SRC/SOC/ST710X_MS_V1/ATAPI/ST_SATA/st202t_sata_dma.cpp | 39e7fdca4f29e6505f68656ff5d2c3e7477f4848 | [] | no_license | zizilala/projects_etest | 8b6a5782b9e2f6c1c05e508356a7f835dce29d92 | 84fa95bd0017b06dfbf15b861c179d4d8da1a475 | refs/heads/master | 2020-12-30T11:14:52.899545 | 2014-03-13T09:54:27 | 2014-03-13T09:54:27 | 15,964,924 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,739 | cpp | st202t_sata_dma.cpp | //
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
// Use of this sample source code is subject to the terms of the Microsoft
// license agreement under which you licensed this sample source code. If
// you did not accept the terms of the license agreement, you are not
// authorized to use this samp... |
a18a76cb2f4f73ed093a87979867e162238ae4b4 | 06ddc1f8bfccbf198e1c90cc00bbb4a893bc8047 | /Angela/Classes/Player.h | 0da020509c234f2530c151e1b30e05aaaf7d4e3c | [] | no_license | lexshen/WarCastleChipmunk | 8cfb0d8aca768115d75e970eb1d832191f9bb113 | 331492c5cf5628e147aa0ad5732d0816508f0a71 | refs/heads/master | 2021-01-10T21:23:59.404795 | 2014-02-21T15:31:15 | 2014-02-21T15:31:15 | 14,174,254 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 239 | h | Player.h | #pragma once
#include "cocos2d.h"
#include "GameObject.h"
NS_CC_BEGIN
class Player:public GameObject
{
public:
//int people;
//int coins;
double lastCoinDrop;
bool create(CCString* spriteFrameName);
};
NS_CC_END |
63b86d2d1ad78ce39aa26a5f3b50d1ec2a0cc5eb | 9fba8a73fa7c870116c2cf99f646db3d16477b9c | /学生管理系统/学生管理系统/CAccountlist.h | e85da0a31372276df51eee9dad14db958f4872ee | [] | no_license | sghyj/student_second | 754cfa120ca440f39f130ddce3f4953acfd1dcbb | 8a88026ed447ca61aea63813ebb2dde7cd686da7 | refs/heads/master | 2021-01-10T04:15:06.273359 | 2013-03-03T16:08:50 | 2013-03-03T16:08:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 687 | h | CAccountlist.h | #ifndef Header_CAccountlist
#define Header_CAccountlist
#include"CStudent.h"
class CNode
{
public:
CStudent & stu;
CNode * next;
CNode(CStudent & a) : stu(a), next(NULL){}
bool operator == (const CNode & n) const
{
return this->stu.Get_iStudent_ID() == n.stu.Get_iStudent_ID();
}
};
class CAccountlist
{
... |
c5c0ffb285ec3b2ad5f9cb86deb9ef6ccc2fd9e1 | 30bdd8ab897e056f0fb2f9937dcf2f608c1fd06a | /contest/1542575667.cpp | bb8f65d7cfbf4ca4046676d43608d1ffe78eee71 | [] | no_license | thegamer1907/Code_Analysis | 0a2bb97a9fb5faf01d983c223d9715eb419b7519 | 48079e399321b585efc8a2c6a84c25e2e7a22a61 | refs/heads/master | 2020-05-27T01:20:55.921937 | 2019-11-20T11:15:11 | 2019-11-20T11:15:11 | 188,403,594 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,556 | cpp | 1542575667.cpp | #include <bits/stdc++.h>
using namespace std;
#define eps 1e-8
#define INF 0x3f3f3f3f
#define maxn 100005
#define LL long long
bool check(double l,double r,double k)
{
if(l<=k&&k<=r)
return 1;
if(l>r)
{
if(k<=r)
return 1;
}
return 0;
}
in... |
5d1945458c39b1df1f1de35db70008f84cc74d9c | e1de1cc63a9325519ac1e070250bead0f22823ea | /textmagic-rest-cpp-v2/model/UpdateListObject.h | 60f7274848f28450d103e23a837b711c0aad568c | [
"MIT"
] | permissive | WeilerWebServices/textmagic | 03abd875726a0d548f789aa06f6d1b392c1f4a2b | f7ad8cb2989bccb7afba9e30915f8575dd1b0b81 | refs/heads/master | 2023-01-28T03:55:52.739564 | 2020-12-14T04:17:59 | 2020-12-14T04:17:59 | 321,150,541 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,363 | h | UpdateListObject.h | /**
* TextMagic API
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 2
*
*
* NOTE: This class is auto generated by the swagger code generator 2.4.8.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class man... |
74bee906123a8944c2e034f6c2969d547a81f99d | d3ea014fac2128691b7e58449786dc07fe50e263 | /include/Personality.hpp | f1673dc279ff3ee79e4a961fc53903e81ae527f6 | [] | no_license | AngelPn/L5R-card_game | dec8e3f7725d598723f3dceeea39124fca684f46 | 7e4de283a83aed17c2db8c5fdea041d907f2b8a5 | refs/heads/master | 2022-04-20T13:11:46.030096 | 2020-03-12T14:48:56 | 2020-03-12T14:48:56 | 240,680,742 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,232 | hpp | Personality.hpp | //file:Personality.hpp
#ifndef _PERSONALITY_HPP_
#define _PERSONALITY_HPP_
#include "Card.hpp"
#include <string>
#include <list>
#include "Follower.hpp"
#include "Item.hpp"
class Personality : public BlackCard {
private:
bool isDead; //0 alive, 1 dead
unsigned int attack;
unsigned int defense;
un... |
aa2f084ab703f68c6eb024324bd016a204dab170 | a457b55ff90a57397b2ab5b6299495f2e9fdb4fa | /src/LoboFEM/Collision/CollisionDector/BVHCollisionDetector.cpp | 7a1fe8dd23b32c3c4442df5e64dbf1f99820f059 | [
"MIT"
] | permissive | lrquad/LoboFEM2 | 8b3e97f8ea18c68023fb4d9366000c599e550b97 | 4ac80bd7b6e347d5b1650f5241f7b7b53c9716f5 | refs/heads/master | 2022-08-15T15:53:09.424585 | 2020-05-17T21:14:34 | 2020-05-17T21:14:34 | 260,367,616 | 8 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,830 | cpp | BVHCollisionDetector.cpp | #include "BVHCollisionDetector.h"
#include "BVHTriModel.h"
#include "Functions/computeTriangle.h"
#include <iostream>
using namespace Eigen;
BVHCollisionDetector::BVHCollisionDetector(Lobo::LoboMesh* trimesh)
{
this->trimesh = trimesh;
setIsstatic(true);
setSelfCollisionTest(false);
initCollisionShape();
}
BVHCo... |
664709ff7846885f528ef54636819cba34bd06ad | d32e7f1fb931b4969afd963249ea3be453fd15db | /src/imageholder.h | f8ea1b2502ec6674defcc9b1bc47f1db8ba3fcea | [
"BSD-2-Clause"
] | permissive | brandonkim88/QtCV | 7b67a5ef7ceee25e16defe2020e32586c91e98a3 | 64fff05a390ef723ccbf97231418f3d899167283 | refs/heads/master | 2021-04-13T03:37:10.370195 | 2020-03-22T08:15:03 | 2020-03-22T08:15:03 | 249,133,640 | 1 | 0 | BSD-2-Clause | 2020-03-22T07:24:39 | 2020-03-22T07:24:38 | null | UTF-8 | C++ | false | false | 291 | h | imageholder.h | #ifndef IMAGEHOLDER_H
#define IMAGEHOLDER_H
#include <QWidget>
namespace Ui {
class ImageHolder;
}
class ImageHolder : public QWidget
{
Q_OBJECT
public:
explicit ImageHolder(QWidget *parent = 0);
~ImageHolder();
private:
Ui::ImageHolder *ui;
};
#endif // IMAGEHOLDER_H
|
e69f0713a251306d951ad888d08bf45bc9915f87 | 22f8ce70cc780eda7cb11f93803058831f43c7c5 | /Plugins/BlueprintTool/Source/BlueprintToolScript/Public/BTScript.h | 66828f3f247fca774eb8d5e4858a099d2481790b | [] | no_license | VegetableWithChicken/SomeTest | 4d26ebc44fbf8a387bec2ec9677d51485c7c9668 | 8659f9b99ec05f3e235ec9d7839671751c85cbf8 | refs/heads/dev | 2023-03-16T05:40:16.603350 | 2020-11-02T07:04:52 | 2020-11-02T07:04:52 | 508,117,547 | 1 | 0 | null | 2022-06-28T01:42:35 | 2022-06-28T01:42:34 | null | WINDOWS-1252 | C++ | false | false | 2,515 | h | BTScript.h | // Copyright 1998-2018 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
enum EVMCommand
{
VMC_Undefined = 0x03, // Undefined
VMC_LetBool = 0x14, // Let boolean variable.
VMC_IntConst = 0x1D, // Int constant.^
VMC_FloatConst = 0x1E, // Floating point constant.
VMC_StringConst... |
ae8b2e258dc2d5e53d50a50b58e226f4515c97f1 | f4023dbecb7278ea79e9c5fd20f90a96b158da0f | /CS3307_SFTWENG/CS3307Group/src/choosedata.cpp | 58dedcb5ba9edc80b2483fef941984b8e112e657 | [] | no_license | aclar48/projects | f31393ac745468f32e08cff687eb44dacfe4cbbe | afd55260b04201c0cee40c0470b7eee5644ba1c9 | refs/heads/master | 2020-12-24T13:44:00.500834 | 2014-01-05T17:16:01 | 2014-01-05T17:16:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,357 | cpp | choosedata.cpp | /**
* @file choosedata.cpp
* @author Melanie Imough, Alex Clarke, Jamie Finnigan
* @version 1.0
*
* @class ChooseData
* @brief This class makes a screen that enables the user to start filtering data.
*
* This class makes the screen that comes right after the "welcome" screen.
* The user must select the servi... |
c32e767c14e65537ed6366f1942abb26da83a56a | 58196ebb2e4a87cf11d8a0c48c3524c715403026 | /include/IDisplayModule.hpp | f215746308492de3f89d8fb43029f8b4ec83a10f | [] | no_license | achillelrc/ArcadeFramework | 2f7d8a7acb3d3ad7d6432ebbf624421742255a78 | 9ad09e2e19ab2469c63d5e22d9e03a3a71a16ad3 | refs/heads/master | 2022-08-24T12:26:40.807334 | 2019-11-12T17:15:19 | 2019-11-12T17:15:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,034 | hpp | IDisplayModule.hpp | //
// EPITECH PROJECT, 2018
// bootstrap-arcade
// File description:
// IDisplayModule.hpp
//
#ifndef IDISPLAYMODULE_HPP_
# define IDISPLAYMODULE_HPP_
#include <string>
#include <vector>
#include "ICoreProgram.hpp"
class IGameModule;
class IDisplayModule {
public:
virtual ~IDisplayModule() = default;
virtual void... |
f4e061d14276728ba7b9818faae7f982f83bf660 | f6ebac4643ef054b821af426db67a1b8e59d90aa | /src/Distances.cpp | 5e97993db250e58c94635a8b786a47740446baf8 | [] | no_license | bauerj4/Interaction_Networks | 4ec318eaa631d66896ee046427a354b2ef6c18d0 | d6591fe0536780727cc43a190a646476294f799d | refs/heads/master | 2016-09-14T09:14:56.825841 | 2016-04-29T18:07:41 | 2016-04-29T18:07:41 | 57,036,852 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,079 | cpp | Distances.cpp | #include "../include/Proto.h"
#include "../include/Node.h"
#include "../include/Graph.h"
#include "../include/Compile_Time_Options.h"
#include <iostream>
#include <vector>
#include <stdio.h>
#include <omp.h>
#ifdef COSMIC_WEB
void globalfns::Cosmic_GetAllPaths(Cosmic_Graph * graph)
{
unsigned int i,j;
int count;... |
897ea1ddabc30f982a8fcd292ff3131791609745 | 982ec419ec331493e397fca3767d3fcdbdefb300 | /Runtime/Collision/CCollisionEdge.cpp | fa3d14521f7136f00c8e06e49377f66dac36dad3 | [
"MIT"
] | permissive | vtsingaras/urde | 2dca712535b066262e05d200b33167971e0e84b1 | 86041281b24e698286b88f2576e4a8409462912b | refs/heads/master | 2020-12-31T01:23:13.464965 | 2016-12-13T02:57:08 | 2016-12-13T02:57:08 | 66,197,163 | 0 | 0 | null | 2016-08-21T12:14:45 | 2016-08-21T12:14:45 | null | UTF-8 | C++ | false | false | 313 | cpp | CCollisionEdge.cpp | #include "CCollisionEdge.hpp"
namespace urde
{
CCollisionEdge::CCollisionEdge(CInputStream& in)
{
x0_index1 = in.readUint16Big();
x2_index2 = in.readUint16Big();
}
u16 CCollisionEdge::GetVertIndex1() const
{
return x0_index1;
}
u16 CCollisionEdge::GetVertIndex2() const
{
return x2_index2;
}
}
|
62f4b2f2535a996e92384ed1bc9ebd83b4f7abae | 9195ae417f7e9c524636009dc9355c3720120d37 | /Damask/ast/node/operatornode.h | b49f67666149b431398cc7e518672f4b59bb8969 | [
"MIT"
] | permissive | imefGames/Damask | eda60dafc5620019adb7c5b6648274c6b660f7aa | 478a377517da93e8fd42cb5c68619f8840bf1561 | refs/heads/master | 2022-11-15T19:30:54.909999 | 2020-07-08T17:35:41 | 2020-07-08T17:35:41 | 273,797,264 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 630 | h | operatornode.h | #pragma once
#include <ast/node/node.h>
enum class EToken;
namespace AST
{
class OperatorNode : public Node
{
public:
OperatorNode();
inline EToken GetOperatorType() const { return m_OperatorType; }
inline Node* GetLHSNode() { return m_LHSNode; }
inline Node* GetRHSNode()... |
2a2a639a18fdfe1d02747f03007ce1bdb841d518 | 070e3909b8cda5c914002b2aa1ec8655107affaa | /Computer_player.h | cdb1b3c0a634815a79b864d1448e4d0123978e32 | [] | no_license | lkmlkm073/Othello | 64bb0639cc12697950caf34752bef9ddcba4e2dd | 12052ac2522709e726dcf2006e8f486f445ac4f5 | refs/heads/master | 2020-03-09T00:39:39.310526 | 2018-04-07T08:47:01 | 2018-04-07T08:47:01 | 128,493,756 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,782 | h | Computer_player.h | // Computer_player.h
/////////////////////////////////////////////////////////////////////////
//
// Student Info
// ------------
//
// Name : <Kevin Kyungmin Lee>
// St.# : <301271170>
// Email: <kla141@sfu.ca>
//
//
// Statement of Originality
// ------------------------
//
// All the code and comments below are my ... |
b6e7c706173cab14ab4146383e90866005555b1e | 88343b7efa89d20328df5be4961cf71c0a4ca15e | /Cpp/43. Multiply Strings.cpp | c27c419137a3de6b07b2ed57a309b2caca019aa4 | [] | no_license | tonycar12002/leetcode | 5396f4fb683edd4bad993968178e01621f4e656b | 7334c7056bdbd041efa63610f9a9d378620c1cd8 | refs/heads/master | 2021-07-21T19:09:15.373392 | 2021-07-05T13:20:20 | 2021-07-05T13:20:20 | 185,445,635 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,087 | cpp | 43. Multiply Strings.cpp | /*
Author: Tony Hsiao
Date: 2020/04/06
Topic: 43. Multiply Strings
Speed: 16 ms, 6.8 MB
Note:
*/
#include <iostream>
#include <vector>
#include <algorithm>
#include <queue>
#include <list>
#include <map>
using namespace std;
class Solution {
public:
string multiply(string num1, string num2) {
int size_1 = n... |
622561d1f04cf1111bf10fdc5fdf0dc578dcb898 | bc01d89e3b77b9b60afd6f5f8fcad5675b813f8e | /natplugins/natptraversalcontroller/tsrc/ut_NatTraversalController/src/ut_cnatbindingstunrefresher.cpp | 08a81eb628910b0b12070bfb0a0ad6403101d7e4 | [] | no_license | SymbianSource/oss.FCL.sf.mw.ipappsrv | fce862742655303fcfa05b9e77788734aa66724e | 65c20a5a6e85f048aa40eb91066941f2f508a4d2 | refs/heads/master | 2021-01-12T15:40:59.380107 | 2010-09-17T05:32:38 | 2010-09-17T05:32:38 | 71,849,396 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,171 | cpp | ut_cnatbindingstunrefresher.cpp | /*
* Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.h... |
1d80fd37ed966efdd69ae40f628b0cce8c119ee5 | aba99d1947e08cc171a67e544b5c825ce1c8bed8 | /GameScreenTest.cpp | 01c3ccebe658dd9d29a38833c701cb6512eacebb | [] | no_license | nicholasmirchandani/Stereotypical-Hacker | 92053a56d6525f66a0a96bfeff515c77320487d7 | 0850f392a6cb57104f9d2ca020dee5a20451a2b7 | refs/heads/master | 2021-04-10T03:47:49.860302 | 2020-05-13T05:55:20 | 2020-05-13T05:55:20 | 248,907,933 | 0 | 0 | null | 2020-05-05T17:43:24 | 2020-03-21T04:42:41 | null | UTF-8 | C++ | false | false | 1,437 | cpp | GameScreenTest.cpp | // Stereotypical-Hacker
// GameScreen.cpp
// Test for GameScreen class for typing mini-game.
// Logan Welsh
// 04/12/2020
#include "GameScreen.h"
#include <iostream>
#include <stdio.h>
using namespace std;
int main(int argc, char** argv) {
int phraseAmt = 3;
string phrases[phraseAmt] = {
"No, I ... |
3bf4b5a60a1cef2373e74cbb10386c6e006bab13 | 492976adfdf031252c85de91a185bfd625738a0c | /src/Game/AI/AI/aiKorokRailMove.h | 80232a52ce64c0c405f1a17eab962c948664fb94 | [] | no_license | zeldaret/botw | 50ccb72c6d3969c0b067168f6f9124665a7f7590 | fd527f92164b8efdb746cffcf23c4f033fbffa76 | refs/heads/master | 2023-07-21T13:12:24.107437 | 2023-07-01T20:29:40 | 2023-07-01T20:29:40 | 288,736,599 | 1,350 | 117 | null | 2023-09-03T14:45:38 | 2020-08-19T13:16:30 | C++ | UTF-8 | C++ | false | false | 786 | h | aiKorokRailMove.h | #pragma once
#include "KingSystem/ActorSystem/actAiAi.h"
namespace uking::ai {
class KorokRailMove : public ksys::act::ai::Ai {
SEAD_RTTI_OVERRIDE(KorokRailMove, ksys::act::ai::Ai)
public:
explicit KorokRailMove(const InitArg& arg);
~KorokRailMove() override;
bool init_(sead::Heap* heap) override;
... |
6afc0d5265085034db80292477540e3dfbb855bf | 66fc3d58e94e8340a0d825501776a1dea37c0198 | /tests/cpu/ops/exposurecontrast/ExposureContrastOp_tests.cpp | 4d69dd6aac78a2d7621e16a13f41e534387710a3 | [
"BSD-3-Clause",
"CC-BY-4.0"
] | permissive | AcademySoftwareFoundation/OpenColorIO | dad370b54be147ae94f18ed6414d53bd76e9ef74 | 96f528fdfb7f9fb24388e33f6a968d29a3909cf8 | refs/heads/main | 2023-08-29T08:51:45.625957 | 2023-08-29T01:42:37 | 2023-08-29T01:42:37 | 775,131 | 843 | 236 | BSD-3-Clause | 2023-09-14T02:56:01 | 2010-07-14T18:22:06 | C++ | UTF-8 | C++ | false | false | 5,580 | cpp | ExposureContrastOp_tests.cpp | // SPDX-License-Identifier: BSD-3-Clause
// Copyright Contributors to the OpenColorIO Project.
#include "ops/exposurecontrast/ExposureContrastOp.cpp"
#include "testutils/UnitTest.h"
namespace OCIO = OCIO_NAMESPACE;
OCIO_ADD_TEST(ExposureContrastOp, create)
{
OCIO::TransformDirection direction = OCIO::TRANSFOR... |
24ced701369620f604d71b25379574eacf45c69e | 9c56a1548ee24fa679b831bca5e796fa86dbb583 | /baekjoon/14927/source.cpp | 4e30206e8b88ab84ac209b3fa3af17b95f56b4da | [
"CC-BY-4.0",
"CC-BY-3.0"
] | permissive | qilip/ACMStudy | 1a006f759d52dc6afbb0cd4b6c2060a8bf5377d8 | da7361b09a4519b3c721d54cd6df6ff00337fa27 | refs/heads/master | 2023-04-21T17:50:52.806789 | 2023-04-10T17:39:57 | 2023-04-10T17:39:57 | 124,194,483 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 965 | cpp | source.cpp | #include <bits/stdc++.h>
using namespace std;
int n;
int b[22][22] = {0};
pair<int, int> xy[] = {{0, -1}, {-1, 0}, {0, 0}, {1, 0}, {0, 1}};
int test(int cnt){
for(int i=2;i<=n;i++){
for(int j=1;j<=n;j++){
if(b[i-1][j]){
cnt++;
for(auto[x, y]: xy){
b[i+x][j+y] ^= 1;
}
}
}
}
int ans = 1;... |
e8176f7ea5047fe4c62e38124114723be8709804 | 6486e74a34ef45761eae637e7ea0701aa40244b3 | /Parking/components/map/proto/created_map.pb.cc | bfa4e2bd8ec41b13d2ec79972a64429c4f76dfdb | [] | no_license | mr-d-self-driving/WorkCode | 2d3f85394c704bea33c58704ea64936857bb771e | 13e028a217f6f9186b1eda04992cb6c00f941d3d | refs/heads/master | 2022-12-13T19:17:58.641963 | 2020-09-17T12:13:22 | 2020-09-17T12:13:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 51,848 | cc | created_map.pb.cc | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: map/proto/created_map.proto
#include "map/proto/created_map.pb.h"
#include <algorithm>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/port.h>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/wire_f... |
c29d0cf76c41690c8f51ab08ce176b30b5f019c6 | f4cd5dfe8ededefc161442ae2fe4e9ea9db53adf | /Nspr/Src/Net/StatisticsConnection.cpp | 63de38c0f12ce03a92c39cda3a85c2587e4700f4 | [] | no_license | WillWellWill/nspr-psdinfo | e7079cedcf30ee8f57b44c9698a39db5b12dfc9d | ba0aed51b24c117847827eb90a18950e440ee959 | refs/heads/master | 2021-01-23T06:05:27.746544 | 2017-03-30T08:51:14 | 2017-03-30T08:51:14 | 86,335,501 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,496 | cpp | StatisticsConnection.cpp | #include "Nspr.h"
#include "StatisticsConnection.h"
namespace nspr
{
u_char StatisticsConnection::m_statistics[m_defaultMaxStatisticsLen];
int StatisticsConnection::m_statisticsLen = 0;
StatisticsConnection::StatisticsConnection(ngx_connection_t *c)
: MsgConnection(c)
{
NsprInfo("statistics connection creat... |
24a2e45216cd0e3453a58c34acf21cef2a02025e | 267194360fe91f3243ffd946ad92c7a5d84f974f | /korpo2/GPS_Jak_dojade .cpp | 1bd00cba2ad33c94c5834d5a4340b720c898a3b7 | [] | no_license | damianpuci/ProjektIO | ef0286f34c3ede784511cb8ac2e91fee52d6a4f3 | 2293e7c575936dd6205a14103fc546f892d4a34b | refs/heads/master | 2020-05-29T11:04:14.244452 | 2016-01-14T00:26:38 | 2016-01-14T00:26:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 170 | cpp | GPS_Jak_dojade .cpp | #include "GPS_Jak_dojade .h"
void GPS_Jak_dojade_::pokaz_zadnie_na_mapie() {
// TODO - implement GPS_Jak_dojade ::pokaz zadnie na mapie
throw "Not yet implemented";
}
|
864bb05adaa83f7ece43b9febba9921b27e0cb14 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5670465267826688_1/C++/ivancastel94/3.cpp | 5fdf197b56c2cc16c35bedb76d2d906d9f8dec30 | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,854 | cpp | 3.cpp | #include<bits/stdc++.h>
using namespace std;
int main(){
freopen("c.in","r",stdin);
freopen("c.out","w",stdout);
int i,cases,c1;
long long pi,pk,l,x;
string s;
int cuaternios[8][8] = {
{0,1,2,3,4,5,6,7},
{1,4,3,6,5,0,7,2},
{2,7,4,1,6,3,0,5},
{3,2,5,4,7,6,1,0},
... |
465f472e3d7f2ab556a0e47f5ebf6240060f713e | e49460d8d70b7179e6b1f5ea27a5129dfe51b895 | /Ejercicio 6.cpp | 56fde47498be871a209688521bf580677be14682 | [] | no_license | carlos-shimabukuro/progra1-carlos_shimabukuro-simulacro--hoja1--estructuras-selectivas | 198bd9931c9cf31a65928793cb2376f822d9363f | 4e22e358c3d8c955a042e0d053a5e997ac0d39e4 | refs/heads/master | 2020-05-16T01:08:41.170484 | 2019-04-22T00:26:17 | 2019-04-22T00:26:17 | 182,595,661 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 922 | cpp | Ejercicio 6.cpp | // ConsoleApplication61.cpp : Este archivo contiene la función "main". La ejecución del programa comienza y termina ahí.
//
#include "pch.h"
#include <iostream>
#include <math.h>
using namespace std;
/*
test
*/
int main()
{
// variables
int a, b, c, d, x;
double raizA, raizB;
// datos de entr... |
e6068a0e50746559211e54b484df5f18fbcfe333 | f547772702fea7a806f2a8d9bb55ab1b20f048af | /src/geo_pos.cpp | 91602551c39f3acffe879f7790b7656f00459387 | [
"BSD-3-Clause"
] | permissive | kit-algo/InertialFlowCutter | 862129d23aef69118135d63113c37858e79e7874 | f3730a164dfd2731914a51a5be791a22e8265f72 | refs/heads/master | 2023-05-04T17:57:17.586530 | 2023-04-18T17:21:30 | 2023-04-18T17:21:30 | 194,085,091 | 16 | 11 | BSD-3-Clause | 2022-06-02T13:25:08 | 2019-06-27T11:45:26 | C++ | UTF-8 | C++ | false | false | 5,502 | cpp | geo_pos.cpp | #include "geo_pos.h"
#include "io_helper.h"
#include "tiny_id_func.h"
#include "union_find.h"
#include <string>
#include <sstream>
#include <cmath>
std::vector<GeoPos> order_geo_positions_along_line(const std::vector<GeoPos>&pos){
int point_count = pos.size();
if(point_count <= 1)
return pos;
struct P{
int ... |
af4f898e6f5242ed961e002a7335eb6188afe7e4 | d27caec2706796684d22666c7b7bd44439a2337b | /Circle.h | cf0f02c8310a28ec94484c9c590379d8f104fc2a | [] | no_license | gallium-arsenide/messageProcessor | d22ceb10443d0f3eb04c1289684588870a9cb630 | 010ce3d64cc6aadbb4eb30e3bd665bcbdcce76f6 | refs/heads/master | 2022-01-19T17:11:16.467975 | 2019-07-21T00:12:44 | 2019-07-21T00:12:44 | 197,992,883 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 129 | h | Circle.h | #pragma once
#include "ProcessableMessage.h"
class Circle : public ProcessableMessage<Circle>
{
public:
double radius;
};
|
8d657cd4e6cc3b6417d3d4acce3ae92b404f5bd4 | 69b1f61d5a7f3264ed8157504816ffe28333cf7a | /HCI/HW4/src/search.h | 890c4ff4cd35418909d1a453422153601053f7fd | [] | no_license | bheads/papers | 70ae7ba4dd37d9e575bb99dfc07779155ed8a4f3 | 713086b711f6efdb79aacd4a0c6da3b7c327bbe7 | refs/heads/master | 2020-12-24T17:25:55.848217 | 2012-01-29T21:56:16 | 2012-01-29T21:56:16 | 2,048,243 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,622 | h | search.h | ///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version Dec 21 2009)
// http://www.wxformbuilder.org/
//
// PLEASE DO "NOT" EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////
#ifndef __search__
#define __sear... |
b6f081c976e32a594484d9d6bfcec99b1e9448cc | 7ff1f31385f3ad711ebedc471fbc4590be96e178 | /solutions/AtCoder/abc117/C.cpp | f82a8617a28f1ee1346bff21dc05a069608bfbc7 | [
"Unlicense"
] | permissive | yumeno-ukihashi/competitive-programming | 6bf303daa6ea0edfc333731ed8295802f0136978 | 5cc3a7938b62133d8dc71a179cb11dfe985315d3 | refs/heads/master | 2020-05-19T06:53:53.650508 | 2019-06-13T03:00:44 | 2019-06-13T03:00:44 | 184,885,681 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 504 | cpp | C.cpp | #include<bits/stdc++.h>
#define REP(x,y,z) for(int x=y;x<=z;x++)
#define MSET(x,y) memset(x,y,sizeof(x))
#define M 100005
using namespace std;
int n,m,in[M];
int main()
{
while (~scanf("%d %d", &n, &m)) {
REP(i,1,m) scanf("%d", &in[i]);
sort(in+1, in+m+1);
REP(i,1,m-1) in[i] = in[i+1]-in[i]... |
d68d83d9b4e752f3acff2e2328734a9f9f10304e | 0c46b58f1154eb9f6c13b855e02172a93ef7f411 | /twoclasses.cpp | fa513e476387bfea8ed78f88cb22133697ef5dc8 | [] | no_license | Anu00parajuli/Miniprojects-on-Object-Oriented-Programming | b41dbb4917a8f2f376d95605be2711489f07c6a1 | 9b7873050f236bc917b6a2341219cb6152b3bb1e | refs/heads/master | 2020-06-29T07:56:06.586527 | 2019-10-21T15:55:20 | 2019-10-21T15:55:20 | 200,479,598 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 661 | cpp | twoclasses.cpp | #include<iostream>
#include<math.h>
using namespace std;
class XYZ;
class ABC{
int num1;
public:
void fun1()
{
cout<<"Enter first number"<<endl;
cin>>num1;
}
friend void max(ABC obj1,XYZ obj2);
};
class XYZ{
int num2;
public:
void fun2()
{
cout<<"Enter second number"<<endl;
c... |
c4f5a83020507dd8a4680536b3f9cd4016fe89b8 | 96cfaaa771c2d83fc0729d8c65c4d4707235531a | /EgammaAnalysis/EgammaEfficiencyAlgos/src/GeorgiosTagProbeAlgo.cc | 90e930889439c96124be542b69cdfb0f381d6257 | [] | no_license | khotilov/cmssw | a22a160023c7ce0e4d59d15ef1f1532d7227a586 | 7636f72278ee0796d0203ac113b492b39da33528 | refs/heads/master | 2021-01-15T18:51:30.061124 | 2013-04-20T17:18:07 | 2013-04-20T17:18:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,440 | cc | GeorgiosTagProbeAlgo.cc |
#include "EgammaAnalysis/EgammaEfficiencyAlgos/interface/GeorgiosTagProbeAlgo.h"
// framework includes
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "DataFormats/HLTReco/interface/HLTFilterObject.h"
// root includes
#include "Math/GenVector/VectorUtil.h"
void GeorgiosTagProbeAlgo::initialise(co... |
dc4737c9fdadf75a4449d0e7e71f541100736be0 | a4adda6fde2f71f1c0fa230f90fc0faba0eee6dc | /tutorial_004_STL_algorithms/smooth_algo.hh | 5843f8a45459d841651d042a0cff9ae6e3693242 | [] | no_license | Nitta-K-git/OpenMesh_samples | 88667aad8b39955545448a4896e8129e86672b70 | 41276c826a0c5a18251cb1c48888c230793359ad | refs/heads/master | 2020-06-25T16:35:18.190031 | 2019-09-13T09:55:34 | 2019-09-13T09:55:34 | 199,367,145 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,320 | hh | smooth_algo.hh | #include <OpenMesh/Core/Utils/Property.hh>
#include <algorithm>
#ifndef DOXY_IGNORE_THIS
template <class Mesh>
class SmootherT {
public:
typedef typename Mesh::Point cog_t;
typedef OpenMesh::VPropHandleT<cog_t> Property_cog;
public:
// construct with a given mesh
explicit SmootherT(Mesh ... |
34f2e3a7038d1d5b2f5a42057175d7e048c0332d | 5c2e6de7f70111817af3040af8e1dc8ddacde038 | /cf327/a.cpp | ccd94301e481e458f1f435b3e2c3f270e536fa88 | [] | no_license | HiYellowC/ACM | 0bb3c8dcc1e5136302893efd367cd52d2a82d738 | c6b7d934f9cb42e6cbe36b74894beb811061c756 | refs/heads/master | 2021-01-18T22:41:17.623752 | 2016-09-07T14:26:02 | 2016-09-07T14:26:02 | 45,155,861 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 250 | cpp | a.cpp | #include <iostream>
#include <cstdio>
#include <cstring>
#include <algorithm>
using namespace std;
int main() {
int l;
scanf("%d", &l);
int q, p;
scanf("%d%d", &q, &p);
printf("%lf\n", (double)(l) * (double)(q) / (double)(q + p));
return 0;
}
|
684951554e3adeba510d3ae6c2aa326790b7a0a4 | 464f4190b7f5071527c066353b5365cf58aa42f8 | /MineSweeper/MFC_FinV2/Mine.h | 9d04136047505e909a050fff6feb9765bebb12e5 | [] | no_license | chinghsuanwei/MFC | f84b846212e508820ea07b2081ce857827021b7e | 0be54182698af44035641ce1194c2246fd7ee38c | refs/heads/master | 2020-07-30T08:37:28.924573 | 2019-09-24T02:29:42 | 2019-09-24T02:29:42 | 210,158,235 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 622 | h | Mine.h | #pragma once
// CMine
class CMine : public CButton
{
DECLARE_DYNAMIC(CMine)
public:
CMine();
virtual ~CMine();
void SetDownColor(COLORREF color);
void SetUpColor(COLORREF color);
bool IsFlag();
bool IsQuetion();
void CleanData();
enum {NONE, FLAG, QUETION}rightState;
int bombNum;
bool isbomb;
bool isSel... |
a0e79a5ab1a0c56d95a8f0ee3624c54b386d5a69 | beaf49f9870143f3491b12cc3a5f2a8286d42ccc | /iectransreceiver.cpp | f3f691df141029db9e391726ec154abb4b87151c | [] | no_license | nistvan86/ar1541 | dc296af486780238c9c449cb51ece587fcc4c40d | 0b2556e86700250ec592ccdc207ddc897b36a5a4 | refs/heads/master | 2021-01-11T05:26:53.238109 | 2020-06-19T11:25:50 | 2020-06-19T11:25:50 | 4,627,683 | 9 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 11,062 | cpp | iectransreceiver.cpp | #include "iectransreceiver.h"
// Idle states
#define TRANSRECEIVER_STATE_RESET -1
#define TRANSRECEIVER_STATE_IDLE 0
// Listener states
#define TRANSRECEIVER_STATE_WAIT_FOR_TALKER 1
#define TRANSRECEIVER_STATE_READY_FOR_DATA 2
#define TRANSRECEIVER_STATE_DATA_RECEIVED 3
// Talker states
#define TRANSRECEIVER_STATE_BEC... |
058cc41d4166f0a779f7e2957cc2ef0918c7b21c | 79df31e52d5561595256fbe3a1a42c6dddcf2349 | /src/App/App.h | ac7f7397bea5ad38478125327cb831aef99a1ce1 | [] | no_license | gitcommit/geologist | ab2e4c0a1f21d99f827d96ff670c9d82e2f490cf | 0cff4697cff6899b6263af712a86b9701e994f57 | refs/heads/master | 2021-01-01T06:32:47.007872 | 2010-12-17T10:16:23 | 2010-12-17T10:16:23 | 1,123,829 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,642 | h | App.h | #ifndef App_H
#define App_H
#include <QtGui/QApplication>
#include <QtCore/QString>
#include <Lib/DBModel/DBModel.h>
#include <Lib/DB/ConnectionData.h>
#include <Lib/DB/QueryThread.h>
#include <Lib/Model/Core/SIPrefix.h>
class DataManager;
class Session;
class App : public QApplication {
Q_OBJECT;
public:
... |
f71c10b48cbdcf2a82a0bca02846a106814aa82d | c3d85921c68a147b0ea2f337a635c3e82b3983e5 | /task1001/src/Date.cpp | f5bdabe6a9427688e78f14555e32c1ab41328211 | [] | no_license | AlexBrence/cpp_oop | b1a1580c870fd577af4c43df9768eedb35a35b97 | 28458aaebe4a3ab915218953fa3c786c90164541 | refs/heads/main | 2023-03-12T08:32:31.718690 | 2021-03-01T09:25:57 | 2021-03-01T09:25:57 | 314,003,385 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,957 | cpp | Date.cpp | #include "Date.h"
#include "UnparseableDateException.h"
#include <sstream>
#include <cctype>
Date::Date() : day(0), month(0), year(0) {}
Date::Date(int day, int month, int year) : day(day), month(month), year(year) {}
Date::Date(const Date& d) : day(d.day), month(d.month), year(d.year) {}
Date::~Date() {}
int Date... |
a4b5ee6e406a5e8a4e31b8d7a5309863c9a0642a | 418211f8b27352110acd9cd4ef86219af9667740 | /overview/4-C++-templates/4c/main.cpp | 12fb3de78ab08f9a16404d4a9fb2bd4baec2000f | [] | no_license | douglascraigschmidt/CPlusPlus | 4592f09dc6a57a3b00a01fa7d25e02c31105877a | 4b67965f3a41bd99fbad8e8405be3d998fbbe1a2 | refs/heads/master | 2022-08-28T01:28:58.719964 | 2022-07-21T11:50:49 | 2022-07-21T11:50:49 | 251,707,132 | 130 | 81 | null | 2021-05-26T14:35:00 | 2020-03-31T19:16:16 | C++ | UTF-8 | C++ | false | false | 1,696 | cpp | main.cpp | #include <iostream>
#include <algorithm>
#include "stack.h"
#include "throw_exception.h"
using namespace std;
int main() {
try {
// Multiple stacks that are created automatically.
stack<throw_exception> s1(3), s2(10);
cout << "begin copy constructor" << endl;
stack<throw_exce... |
480198bed93163bec22bb52c8460eb361510dc73 | 4adf1af00b34d5b9aa633f89d8405970e5f078bb | /Tic-Tac-Toe/tictactoe.cpp | 20aeff5c5f93f8ce0fe982f53151166710beb243 | [] | no_license | brettonw/Archive | b849ae7f2f5a8a4bae249a798d54b3bdfa088797 | 3e54ece5261b4eff5947848392da9d36db9254d5 | refs/heads/master | 2021-09-16T10:51:32.395809 | 2018-06-19T19:05:20 | 2018-06-19T19:05:20 | 12,793,011 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,636 | cpp | tictactoe.cpp | // hiq.cpp : Defines the entry point for the application.
//
#include "stdafx.h"
#include <vector>
#include "tictactoe.h"
#include "assert.h"
#include "debug.h"
#include "free_list.h"
#define MAX_LOADSTRING 100
//-----------------------------------------------------------------------------
typedef unsigned char uchar... |
810d957f792bf890a97d2818d8f82ee66bfcc2b5 | 595705d4b79ba5c53f936b8e541df2d19221083b | /include/picotorrent/core/is_valid_torrent_file.hpp | 00b2c3aae212f27388f61c0ef237b8e191b8e366 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | lakeoftears/picotorrent | 82908360ca25b85bd04205e37d336ae954299e56 | e728c8f82663b6a175b525178a679fe00ccb3d82 | refs/heads/develop | 2021-01-15T00:45:12.205491 | 2015-11-09T21:50:39 | 2015-11-09T21:50:39 | 46,092,022 | 1 | 0 | null | 2015-11-13T01:31:46 | 2015-11-13T01:31:46 | null | UTF-8 | C++ | false | false | 162 | hpp | is_valid_torrent_file.hpp | #pragma once
namespace picotorrent
{
namespace filesystem
{
class path;
}
namespace core
{
bool is_valid_torrent_file(const filesystem::path& path);
}
}
|
f8d274d0616e19a3f854c1ecc5d423aee02e9951 | 2fea27dc201d0e36ad4c2ba77c0e905fbdc42f5c | /Arrays/ArrDelsorted.cpp | 101fc3b16b4ccdd2ba0385f758045d9f4427e711 | [] | no_license | Srutip04/DSA | 37eb62a4473e7cfa005d32b7fef36e5f21aab0ed | 57b9035449d4173ee04b3c3100751b423b88ce3e | refs/heads/master | 2023-08-10T15:57:36.709501 | 2021-10-06T20:11:04 | 2021-10-06T20:11:04 | 397,841,687 | 2 | 0 | null | 2021-10-06T20:11:05 | 2021-08-19T06:34:28 | C++ | UTF-8 | C++ | false | false | 1,157 | cpp | ArrDelsorted.cpp | // C++ program to implement delete operation in a
// sorted array
#include <iostream>
using namespace std;
// To search a ley to be deleted
int binarySearch(int arr[], int low, int high, int key);
/* Function to delete an element */
int deleteElement(int arr[], int n, int key)
{
// Find position of element to be del... |
d2fcbb912e7d7587a5d1c0c5868d40c0974cfc95 | a157e1617e83305f36fb8197164f766711de9b71 | /LinkedLists/App.cpp | 248f65cddabb71c5bbf495c339517002c6166db2 | [] | no_license | flippingtables/cpplibs | d2f54c77463d121ab6b5669f0f2b0431ecfedb6a | a39c0dff6f51af371b2e7a1dc5a1beb33e0569ec | refs/heads/master | 2020-05-04T16:32:51.946830 | 2019-04-11T17:21:47 | 2019-04-11T17:21:47 | 179,280,858 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 540 | cpp | App.cpp | // LinkedLists.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <iostream>
#include "LinkedList.h"
int main() {
try
{
LinkedList<int> ll;
ll.remove(0);
/*int veryLarge = 1;
for (int i = 0; i < veryLarge; i++) {
ll.insert(i);
}
ll.remo... |
4e5ffc60bf8c3a953fa82a7ebb72e8a1aebdd3e6 | 95c8c1fd503c3d39fb311fe07da395393535c0d7 | /examples/example_performance.cpp | f7b16f1644582797e836127665a432a37a66ebdd | [
"MIT"
] | permissive | deephealthproject/ecvl | ec72cf95095165de97377150f93347c99403800e | f15a9114e1287f96bba505c8661fc5a135400dc1 | refs/heads/master | 2022-04-30T09:21:46.581335 | 2022-04-29T10:38:42 | 2022-04-29T10:38:42 | 252,753,850 | 13 | 2 | MIT | 2022-03-16T10:24:19 | 2020-04-03T14:21:37 | C++ | IBM852 | C++ | false | false | 4,039 | cpp | example_performance.cpp | /*
* ECVL - European Computer Vision Library
* Version: 1.0.3
* copyright (c) 2021, UniversitÓ degli Studi di Modena e Reggio Emilia (UNIMORE), AImageLab
* Authors:
* Costantino Grana (costantino.grana@unimore.it)
* Federico Bolelli (federico.bolelli@unimore.it)
* Michele Cancilla (michele.cancilla@unimore.it)... |
3e8ff06925f34d9bde23db526cb13601e1a58b1e | c87095bd13b9080224324b3a6dd4fd538912d97e | /OpenGL/MD2 Animation/Main.cpp | 5815adb938530188a54305b35979661f00d7b647 | [
"MIT"
] | permissive | Agrelimos/tutorials | 6a0a8ef6652a44bd5a35b59bf192326c831367ff | 7d2953b8fbb5c56a921a17e7e3cac3d1f4fbb41b | refs/heads/master | 2020-04-01T05:26:56.560609 | 2018-10-13T18:45:56 | 2018-10-13T18:45:56 | 152,903,588 | 0 | 0 | MIT | 2018-10-13T18:44:42 | 2018-10-13T18:44:42 | null | WINDOWS-1252 | C++ | false | false | 25,700 | cpp | Main.cpp | //***********************************************************************//
// //
// - "Talk to me like I'm a 3 year old!" Programming Lessons - //
// //
// $Author: DigiBen digiben@gametutorials.com //
// ... |
33e978313875a1a18293c5c14235bb076d671cce | 2e270080c794b1caf52a1669cdea14704ef5842a | /DFS와 BFS/[구름 IDE] 비타알고 시즌2 졸업(★3).cpp | c1ba883871f97481bf9a16b1f57b6e51a954f816 | [] | no_license | SnowFleur/Coding-Test-Collection | 0db54cc8a2395f1ac21442f07093623cba64c45b | 2a7fea8aa1231f142d91b8fdea91182b85c4cae9 | refs/heads/master | 2021-07-25T05:56:07.897399 | 2021-05-05T08:21:32 | 2021-05-05T08:21:32 | 249,441,381 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 962 | cpp | [구름 IDE] 비타알고 시즌2 졸업(★3).cpp | #include<iostream>
#include<vector>
#include<algorithm>
#include<stack>
using NODE = std::vector<std::vector<int>>;
std::vector<bool> g_visited;
void DFS(NODE& n,int S) {
int weight=1;
std::stack<int> s;
s.emplace(S);
while (s.empty() == false) {
auto topVaule = s.top();
s.pop();
... |
7adf9301f706fc503991c834fd7ba86ecdc63e65 | af119118a67e43b360fa24a385c6e97ff7165add | /cplusplus/zaluan/file.cpp | 3506ba98bfb8bffa3d90531d344b31b251b953ab | [] | no_license | txgcwm/code_study | e03da3a29c3341c9c9ab53ea4a26928bf7a928ba | fe6313879df60bfa5ecc4fe8d995b1a7cb4607ef | refs/heads/master | 2021-01-20T20:10:56.942126 | 2019-11-27T17:10:27 | 2019-11-27T17:10:27 | 64,046,593 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,450 | cpp | file.cpp | #include <string.h>
#include <stdio.h>
#include <string>
int writeFile(std::string filename, const char* text, int size)
{
int ret = -1;
int len = -1;
FILE* file = NULL;
file = fopen(filename.c_str(), "wb");
if(file == NULL) {
printf("open file(%s) fail!\n", filename.c_str());
ret... |
b87517686b650f892b3d0783b9901d5ea740ae2e | d9bb656bd11f85e6419ebd786aec6fe3f917cb73 | /modules/variants/assemble_testutil.cpp | 4e2df106a448e43578cba74df531f3cc46d27ce7 | [
"BSD-2-Clause"
] | permissive | spiralgenetics/biograph | 55a91703a70429568107209ce20e71f6b96577df | 5f40198e95b0626ae143e021ec97884de634e61d | refs/heads/main | 2023-08-30T18:04:55.636103 | 2021-10-31T00:50:48 | 2021-10-31T00:51:08 | 386,059,959 | 21 | 10 | NOASSERTION | 2021-07-22T23:28:45 | 2021-07-14T19:52:15 | HTML | UTF-8 | C++ | false | false | 2,713 | cpp | assemble_testutil.cpp | #include "modules/variants/assemble_testutil.h"
namespace variants {
void PrintTo(const assembly& as, std::ostream* os) {
*os << "\n";
as.output_offsets(*os);
as.output_other_info(*os);
*os << ": ";
aoffset_t left_anchor_len = as.left_anchor_len;
aoffset_t right_anchor_len = as.right_anchor_len;
if (le... |
fd73bf5169fbd23f7c515f614abb16bab4d7eff0 | b4d2c11218f4dee2856fb60b208143133ba2e0b2 | /Qt_frontend/DLLPinCode/pindialog.cpp | d1c324f28d33c58bdedb869b8aa9f5c39c075337 | [] | no_license | Akllu/BankSimul | 92e13cf34ad45dcf0c54c352a3c076e4e41b0861 | 87e140f7955f1eadc1c5f6700a0d6722105fb9d8 | refs/heads/main | 2023-04-15T04:58:55.115916 | 2021-04-28T09:31:24 | 2021-04-28T09:31:24 | 352,922,685 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,740 | cpp | pindialog.cpp | #include "pindialog.h"
#include "ui_pindialog.h"
PinDialog::PinDialog(QWidget *parent) :
QDialog(parent),
ui(new Ui::PinDialog) {
ui->setupUi(this);
diaTimer = new QTimer(this); //Luodaan diaTimer-niminen ajastin
diaTimer->setInterval(10000); ... |
91708f7a955686381eca22ae08519941c678982c | 909010085dc065fd9683438e4e55aa3bf9adad49 | /s32v234_vsdk_avnet_1.2.0/kernels/apu/sample_filtering_kernels/src/gauss_3x1_acf.cpp | 2db16d8aa1c71014c845cc6af03331c5cfbd0440 | [] | no_license | Avnet/S32V | 2103f60a0a90a928d858b32905b4b80b62b8f992 | 758c8494e5b2db00ecfe6e64386b106c9ae9f056 | refs/heads/master | 2020-07-31T00:00:16.061738 | 2019-10-11T08:46:40 | 2019-10-11T08:58:17 | 210,406,182 | 3 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 3,017 | cpp | gauss_3x1_acf.cpp | /*****************************************************************************
*
* Freescale Confidential Proprietary
*
* Copyright (c) 2013 Freescale Semiconductor;
* Copyright (c) 2017 NXP
*
* All Rights Reserved
*
*****************************************************************************
*
* THIS SOFTWAR... |
6827d3159cc820ede182bb0d9dd969c3b877b74f | 247304942e48ddc4302d21dc93653a2337faca79 | /Autocomplete.cpp | df5e689f3c41207974b024ae8b9a8444cbe2e6cc | [] | no_license | victor-ludorum/CodeForces | 288576bfcbb3af487ac89ce2aa6e3a24dfa648e3 | 9f742af8124bb87eb0c8e536667bad1d2cea4e69 | refs/heads/master | 2020-03-26T22:32:49.729176 | 2018-08-20T20:52:50 | 2018-08-20T20:52:50 | 145,467,571 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 553 | cpp | Autocomplete.cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
string a; cin>>a;
int n; cin>>n;
string s[n];
for(int i=0;i<n;++i)
{
cin>>s[i];
}
sort(s,s+n);
int l = a.length();
string r;
bool flag = false;
for(int i=0;i<n&&flag == false;++i)
{
char p = s[i][0];
if(p==a[0])
{
... |
e3b81de0d8e06ed1df845cacf12fadbea6c591cf | 4bcc9806152542ab43fc2cf47c499424f200896c | /tensorflow/core/kernels/data/parallel_interleave_dataset_op.cc | aa24c0122ad463bae1a481f3886ab3d629446c8d | [
"Apache-2.0",
"LicenseRef-scancode-generic-cla",
"BSD-2-Clause"
] | permissive | tensorflow/tensorflow | 906276dbafcc70a941026aa5dc50425ef71ee282 | a7f3934a67900720af3d3b15389551483bee50b8 | refs/heads/master | 2023-08-25T04:24:41.611870 | 2023-08-25T04:06:24 | 2023-08-25T04:14:08 | 45,717,250 | 208,740 | 109,943 | Apache-2.0 | 2023-09-14T20:55:50 | 2015-11-07T01:19:20 | C++ | UTF-8 | C++ | false | false | 75,580 | cc | parallel_interleave_dataset_op.cc | /* Copyright 2017 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... |
dc59e44fe5936dbac2d8071c0f4319f429a3f76d | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/windows/advcore/gdiplus/engine/entry/stringformat.hpp | e9022286491be64122056bc96fb5fb36a50eedcf | [] | no_license | jjzhang166/WinNT5_src_20201004 | 712894fcf94fb82c49e5cd09d719da00740e0436 | b2db264153b80fbb91ef5fc9f57b387e223dbfc2 | refs/heads/Win2K3 | 2023-08-12T01:31:59.670176 | 2021-10-14T15:14:37 | 2021-10-14T15:14:37 | 586,134,273 | 1 | 0 | null | 2023-01-07T03:47:45 | 2023-01-07T03:47:44 | null | UTF-8 | C++ | false | false | 19,208 | hpp | stringformat.hpp | /**************************************************************************\
*
* Copyright (c) 1998 Microsoft Corporation
*
* Module Name:
*
* stringFormat.hpp
*
* Abstract:
*
* String and text format definition
*
* Revision History:
*
* 08/05/1999 dbrown
* Created it.
*
\*****************... |
18864ebbcfb2b35f2c72f8f86de559967838ba5b | bea2095dd7b4a9baa7c7ad1aa2c70d6a4add5229 | /CMPS_385/prj_9/cmps385_prj_9_1.cpp | 862d303ea4845aa7d3cd6d5c71c0112c57ff3dde | [] | no_license | fbrenyah/OOP_Projects | 0c9181650859662f8955cc2528a449f176aa9419 | a650a218b9dc0e50ad9599aee9c602da9f6df3c3 | refs/heads/master | 2021-01-18T21:43:23.157486 | 2016-04-15T22:16:51 | 2016-04-15T22:16:51 | 17,191,278 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,147 | cpp | cmps385_prj_9_1.cpp | /*-----------------------------------------------------------------------------------------
Name Frank Brenyah
Course CMPS-385
Project No.9 part 1
Date Nov. 19th, 2012
Professor Ray Ahmandnia
Purpose: Provide a system to view and interact with accounts and balances.
------F.O. Brenyah Bank LLC------
A... |
fffd89b5e3a782a5bfa35a3aec51089685c25646 | 964743cc9072f09d3d60a88ddd90971e48e8a956 | /NewGeneUI/NewGene/Infrastructure/Settings/Base/inputprojectsettingsworkqueue_base.cpp | aa9c4557e915108620fc17af0f5a21272af32dab | [] | no_license | daniel347x/newgene | f6a7abae718bc4b3813c6adf2c2f991dca535954 | dc0b5ddaeea441d905d627a4145d7a3e2eda78b5 | refs/heads/master | 2022-06-27T17:19:42.205690 | 2022-06-21T21:52:07 | 2022-06-21T21:52:07 | 9,526,888 | 0 | 2 | null | 2022-06-21T21:52:08 | 2013-04-18T16:55:22 | C | UTF-8 | C++ | false | false | 48 | cpp | inputprojectsettingsworkqueue_base.cpp | #include "inputprojectsettingsworkqueue_base.h"
|
13f476c6e7d62192b0b54dd51df7242401e35117 | dbbdcc830eb1cc6d85c82dbf95b0a8ca0ff1fdd1 | /opengl/engine/Mesh.cpp | 0e800bc71b0b14953569930d2418fa83941f6842 | [] | no_license | VladislavKhudziakov/obj_viewer | 042108453c7dc6b44d6ef25a72fb50c50b68f0ab | b7ed06259e3ce09b88025db64fa3c10854766156 | refs/heads/master | 2020-06-02T02:23:29.804323 | 2019-06-29T21:26:43 | 2019-06-29T21:26:43 | 191,004,420 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,089 | cpp | Mesh.cpp | //
// Mesh.cpp
// opengl
//
// Created by Vladislav Khudiakov on 6/12/19.
// Copyright © 2019 Vladislav Khudiakov. All rights reserved.
//
#include "Mesh.hpp"
namespace Engine
{
Mesh::Mesh(const aiMesh* mesh, const aiScene* scene)
: IDrawable(), textures()
{
std::vector<float> positions;
std::ve... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.