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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
81dd80b4a861922b757251d95eb423f8e54d9bb1 | b0faaa0c8d217edd3bde3b7d51b7fb7ee2022995 | /游戏最新成果——第四关/frame/src/游戏中机关/CaskFragment.cpp | 4cb66e766e1a6b8e66747697631a9200243e3dfe | [] | no_license | mingweili/aworldinchaos | 620a98f6485fd12cf7bcd7cde491f6c34fe33a2d | 33d59c26e969ca478c6f0d3b9d01d25790cb10e9 | refs/heads/master | 2021-01-02T23:07:49.138335 | 2014-01-02T23:10:46 | 2014-01-02T23:10:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,413 | cpp | #include "..\\..\\include\\游戏中机关\\CaskFragment.h"
int CaskFragment :: quantity = 0;
CaskFragment :: CaskFragment(float _x, float _y)
{
x = _x;
y = _y;
height = CASK_FRAGMENT_HEIGHT;
width = CASK_FRAGMENT_WIDTH;
dy = 0;
DoohickeyState = ACTIVE;
sprite = ResourceManager :: getSpritePtr("CaskFragment");
sprite... | [
"chandler.mingweili@gmail.com"
] | chandler.mingweili@gmail.com |
1a1f0e13e2cc468fc7122c5eda6f7509fefd474b | 5486c8a5695a885152a6ff0278f64bc32bbf64b9 | /UVa/11530 - SMS Typing.cpp | 82b9fb3b42aaef7cd79bd80ba339c649151718d3 | [] | no_license | emrul-chy/Competitive-Programming | 3a3c5fd8fb41320d924c309873868a6d81585bf4 | b22fddadaec2c40c1ffebaf594ded94434443662 | refs/heads/master | 2021-01-10T23:37:36.250883 | 2018-01-18T16:39:09 | 2018-01-18T16:39:09 | 70,418,520 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 837 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
char c[110];
int i, j, t, s, a[200];
a['a'] = 1;
a['b'] = 2;
a['c'] = 3;
a['d'] = 1;
a['e'] = 2;
a['f'] = 3;
a['g'] = 1;
a['h'] = 2;
a['i'] = 3;
a['j'] = 1;
a['k'] = 2;
a['l'] = 3;
a[... | [
"noreply@github.com"
] | emrul-chy.noreply@github.com |
d80e4343ac8f36a9e5d7e3dd394f75ef65f6a6fb | 9600ed748c8abff4a2c875d24c25b2782bbdc571 | /继承---学生与教师的信息输入输出/继承---学生与教师的信息输入输出/CTeacher.h | e138be6f0a15e8129f66cfd669179cd2f4c37f63 | [] | no_license | Skjz/15P | 6ff7efde56b3c947515aac2606764d947d5d8fe5 | 62d359611e0fe51a4cbeda33a384dbb8b9b07b18 | refs/heads/master | 2023-07-15T06:42:37.824622 | 2021-08-05T01:59:40 | 2021-08-05T01:59:40 | 373,373,131 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 264 | h | #pragma once
#include "CPerson.h"
class CTeacher :
public CPerson
{
private:
char szTitle[20];
char szDepartment[20];
public:
CTeacher();
void SetTitle();
void GetTitle();
void SetDepartment();
void GetDepartment();
};
| [
"942074847@qq.com"
] | 942074847@qq.com |
56ed5618a2b370fb1ad2fa217d5befa554dc2ad8 | c770cfede12e68dd562a2f65ca0627257fde3a84 | /プログラム/Parameter.h | dc42e08b610e6be609c2a4beb2733eb81157b771 | [] | no_license | rimaogames/One_Hour_Hero | f14c32bf0d65f235a13befa38bec055d4e8fa44d | 31f45a23cf7255434448969b69a5ea513284899a | refs/heads/main | 2023-04-20T11:25:16.332522 | 2021-05-04T08:04:44 | 2021-05-04T08:04:44 | 363,037,230 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 393 | h | #pragma once
#include "define.h"
//パラメータの表示クラス
class Parameter
{
//変数
private:
int parameter; //パラメータのグラフィックハンドル
int number2[10]; //数字のグラフィックハンドル
//関数
private:
void draw(p_status status); //描画
public:
Parameter();
void All(p_status status); //ループで行うAll関数
};
| [
"noreply@github.com"
] | rimaogames.noreply@github.com |
129e7a8618d86340bc0feab5028efc15a531b1cd | bddb40149f9028297d9b4f3f6b77514cadac9bca | /Source/FRC_Source/SmartDashboard/NetworkTables/cpp/Win32/src/main/native/networktables2/thread/DefaultThreadManager.cpp | 53aea1703ab8433e633ee3f6f2f352645a30fd0e | [] | no_license | JamesTerm/GremlinGames | 91d61a50d0926b8e95cad21053ba2cf6c3316003 | fd0366af007bff8cffe4941b4bb5bb16948a8c66 | refs/heads/master | 2021-10-20T21:15:53.121770 | 2019-03-01T15:45:58 | 2019-03-01T15:45:58 | 173,261,435 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,311 | cpp | /*
* DefaultThreadManger.cpp
*
* Created on: Sep 21, 2012
* Author: Mitchell Wills
*/
#include "../../../../../../../../stdafx.h"
#include "networktables2/thread/DefaultThreadManager.h"
#include <stdio.h>
PeriodicNTThread::PeriodicNTThread(PeriodicRunnable* _r, const char* _name) :
name(_na... | [
"james@e2c3bcc0-b32a-0410-840c-db224dcf21cb"
] | james@e2c3bcc0-b32a-0410-840c-db224dcf21cb |
9c20d680b30ba288131d81edf1dc4a11b1cdd48c | d0fb46aecc3b69983e7f6244331a81dff42d9595 | /avatar/src/model/SendMessageResult.cc | 8cf15b7d05907f26741b59636e2430d27a0b8b51 | [
"Apache-2.0"
] | permissive | aliyun/aliyun-openapi-cpp-sdk | 3d8d051d44ad00753a429817dd03957614c0c66a | e862bd03c844bcb7ccaa90571bceaa2802c7f135 | refs/heads/master | 2023-08-29T11:54:00.525102 | 2023-08-29T03:32:48 | 2023-08-29T03:32:48 | 115,379,460 | 104 | 82 | NOASSERTION | 2023-09-14T06:13:33 | 2017-12-26T02:53:27 | C++ | UTF-8 | C++ | false | false | 1,906 | cc | /*
* Copyright 2009-2017 Alibaba Cloud 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... | [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
d0a43299ed51669c6244ca59d162083722551ccf | 3f65629b442436d158663b4e82deac919244254f | /LoadObj.h | b858fd81586de241fc5ae904888e0ac658d0c6a1 | [] | no_license | chenxingshenSecond/Visulization_CG | 153be5ae10a6a913b0fcd7ab0a382273c4e42f0b | ee48192232343f77452de1362358cfcecceea7c3 | refs/heads/master | 2021-09-25T05:58:42.075939 | 2018-10-19T00:33:35 | 2018-10-19T00:33:35 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 9,406 | h |
#ifndef _LOADOBJ_H_
#define _LOADOBJ_H_
#include "stdafx.h"
#include <math.h>
#include <iostream>
#include <fstream>
#include <string>
#include <vector>
using namespace std;
#define dot(u,v) ((u).x * (v).x + (u).y * (v).y + (u).z*(v).z)
#define norm2(v) dot(v,v) // norm2 = squared length ... | [
"noreply@github.com"
] | chenxingshenSecond.noreply@github.com |
99c5d7f1769c06662ca8a69a6a9cead81d6313f4 | 71501709864eff17c873abbb97ffabbeba4cb5e3 | /llvm11.1.0/mlir/test/lib/Transforms/TestBufferPlacement.cpp | 2fbdfe989d05080c83b7e990c1801b5c425bd49e | [
"LLVM-exception",
"Apache-2.0"
] | permissive | LEA0317/LLVM-VideoCore4 | d08ba6e6f26f7893709d3285bdbd67442b3e1651 | 7ae2304339760685e8b5556aacc7e9eee91de05c | refs/heads/master | 2022-06-22T15:15:52.112867 | 2022-06-09T08:45:24 | 2022-06-09T08:45:24 | 189,765,789 | 1 | 0 | NOASSERTION | 2019-06-01T18:31:29 | 2019-06-01T18:31:29 | null | UTF-8 | C++ | false | false | 7,424 | cpp | //===- TestBufferPlacement.cpp - Test for buffer placement ------*- C++ -*-===//
//
// 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
//
//===---------------------------... | [
"kontoshi0317@gmail.com"
] | kontoshi0317@gmail.com |
1bceb51866a99f2c19da542a8978d09539f9b307 | 01786419525e12daafe10ab87ef36d9cdb993b13 | /rtp_netplay/rtpdatamanager.h | 9a9f1f962dc37c1f40eb2be24f6fe18fa07d4644 | [] | no_license | xuttao/camera_demo | ae58edd87260bd1eda8df54b572e58364f38ff53 | 9f61adc3cb4f09e27b29f288b9d370f1a5d477e2 | refs/heads/main | 2023-04-20T22:19:54.913057 | 2021-05-10T05:46:03 | 2021-05-10T05:46:03 | 365,930,915 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,123 | h | /*
* @Author: xtt
* @Date: 2020-12-24 13:45:29
* @Description: ...
* @LastEditTime: 2021-05-05 20:59:08
*/
#pragma once
#include "byteArray.h"
#include "rtpmodel.h"
#include <cstring>
#include <deque>
#include <queue>
#include <stdint.h>
#include <vector>
#ifndef _UNIX
#include <WinSock2.h>
#else
#include <netine... | [
"noreply@github.com"
] | xuttao.noreply@github.com |
02d92459d8e5fb796c9145c14f3bc1dfe6f376c2 | 12b6697be2c42838886f6c3bbeeda102529f0d62 | /HolographicApp1/HolographicApp1Main.h | 03ad47e0773e7dca62c2d9ed01d7d15fca41bb8a | [] | no_license | jrugis/HolographicApp1 | eb1e439dc91d0c2542d9a76a44103a7a068de187 | d8c1af14185087feca10decd8e68af67e60061dc | refs/heads/master | 2020-03-23T17:59:06.625282 | 2018-07-24T08:08:14 | 2018-07-24T08:08:14 | 141,105,383 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,114 | h | #pragma once
#include "Common\DeviceResources.h"
#include "Common\StepTimer.h"
#include "Content\SpinningCubeRenderer.h"
#include "Content\SpatialInputHandler.h"
#include "Audio/OmnidirectionalSound.h"
// Updates, renders, and presents holographic content using Direct3D.
namespace HolographicApp1
{
class Holograp... | [
"jrugis@gmail.com"
] | jrugis@gmail.com |
046d416ad10f9fef8bf70aaddfc48dbd9ec41a38 | 22d814f31033d9f0fa5aee6fee4a352bd94340e7 | /session11b/Composition/CAnimo.h | c21a02422ea53760718037a570ea9b24637f4177 | [] | no_license | utec-cs1102-2019-2/ec1-Jatzumi | e3464971d246a0b438d0df9233e8ebc5f59ea07d | 2775354a1e23fa06989522af4aac51c2b965bb6a | refs/heads/master | 2020-07-24T11:41:29.031671 | 2019-11-27T20:42:28 | 2019-11-27T20:42:28 | 207,911,192 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 226 | h | #ifndef TIME_H
#define TIME_H
#include "Tipos.h"
class CAnimo
{
private:
TipoString nombre;
public:
CAnimo();
virtual ~CAnimo();
void setAnimo(TipoEntero puntos);
void printAnimo(ostream &os);
};
#endif | [
"54951222+Jatzumi@users.noreply.github.com"
] | 54951222+Jatzumi@users.noreply.github.com |
a6f3b5870be473125b39a42de90849349769b149 | d7c3f53b6479c30c7592ccf65e95b3191d80efd5 | /Main.cpp | 884a4efa63e19e1ced108729c395f7c77320a14f | [] | no_license | peter-pogorelov/Small-Assembler | cbf2ce0095b6c6ca47b22a1b36ccb279e487769e | 747f79930fa7ddc2cffa687ede0fe48efdd04985 | refs/heads/master | 2018-12-29T02:25:57.275525 | 2014-03-12T16:26:12 | 2014-03-12T16:26:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 401 | cpp | #include <iostream>
#include "Compiler.h"
void main()
{
auto text = SmallAssembler::Helpers::LoadFromFile("local.txt");
SmallAssembler::Compiler a(text.c_str());
if (!a.Compile())
{
std::cout << a.GetLastError();
}
else
{
std::cout << "Successful compilation (" << a.BinarySize() << " bytes).";
SmallAssem... | [
"peter.pogorelov@gmail.com"
] | peter.pogorelov@gmail.com |
ab552699dbe717cb6ada2edf3f49ecd20a0d5f9c | f904984e0988a62b050c80a34b5105d608ea1b5d | /clearmem/txtr.h | c946be43e9891aefb89b57bb538c6876579a771b | [] | no_license | tamaratskimanauri/clearmem | 26a92157bd954e382b1e152d61a4ad95fceb9ca2 | b762447cdcfc700bda1afcda3bfe74fcc90f6f58 | refs/heads/master | 2023-06-04T18:28:18.105955 | 2021-06-19T02:58:35 | 2021-06-19T02:58:35 | 378,112,146 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 1,910 | h | #pragma once
#include <iostream>
#include <SFML/Graphics.hpp>
using namespace sf;
extern int lenght; /// <param name="lenght"> - длина окна </param>
extern int width; /// <param name="width"> - ширина окна </param>
extern int f_lenght; /// <param name="f_lenght"> - количество рамочек в длине </param>
extern int f_widt... | [
"78784488+tamaratskimanauri@users.noreply.github.com"
] | 78784488+tamaratskimanauri@users.noreply.github.com |
db2d6bf4a1ec8d8040db21d774b4b1e134958df7 | 18792688ba6715c48a0215bbf6d96e9226945165 | /SDLFPSReg.cpp | 4f02683d92dd9541429818d5a170a7b16f201ad6 | [] | no_license | Elapo/FroggerSDL | 995b3af9a73fb80e1d149edec94c8c0a6463a974 | a175742d9723f24a498d0aaf120197393f707f60 | refs/heads/master | 2020-05-23T08:11:47.876373 | 2016-10-07T19:31:39 | 2016-10-07T19:31:39 | 70,276,944 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 556 | cpp | //
// Created by Frederik on 2/05/2016.
//
#include <SDL2/SDL_timer.h>
#include <cstdio>
#include "SDLFPSReg.h"
namespace game_SDL {
SDLFPSReg::SDLFPSReg(int cap) : FPSReg(cap) {
ticksPerFrame = 1000 / cap;
}
void SDLFPSReg::cap() {
int frameticks = SDL_GetTicks() - startTicks;
//p... | [
"Frederik.vanh@gmail.com"
] | Frederik.vanh@gmail.com |
78ab0ac3353d3c215de4101f40c86570fc3e1a2b | 00210492fbbf00cac2c17dc8fd58799defafe9ff | /Source/SoulVision/SoulVisionFunctionLibrary.cpp | b1dbc76e89c75678fc660750786e1e287d87df8e | [] | no_license | b2220333/SoulVision | 55c025965e1b679744fb5f1fd6b4a39cb9c897d4 | 21cdc052ad3eefa8ae73b119f5457668de67b09c | refs/heads/master | 2022-03-30T10:25:14.910005 | 2020-01-20T21:03:00 | 2020-01-20T21:03:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,719 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "SoulVision.h"
#include "DataGeneratorWorker.h"
#include "SoulVisionFunctionLibrary.h"
bool USoulVisionFunctionLibrary::SaveStringTextToFile(
FString SaveDirectory,
FString FileName,
FString TextToSave,
bool AllowOverWriting)
... | [
"vritvijkadam@gmail.com"
] | vritvijkadam@gmail.com |
ffe5ec73e49f30e4b81ed4cbd61dc831e8e541e2 | 634b0de85f71d9df2fa39afd1874ba0672863e8e | /CPP_alexia/Terrain.hpp | 7f9c3aa26f6f2857f0345e3d516c8fee45376462 | [] | no_license | AlexiaKuntz/cpp | b7b2e9bcc9ce42ee08619bcf0e12d88f557e8021 | a7482b2354d8324854d623162a059adc7c518bd5 | refs/heads/master | 2020-05-14T20:18:01.327025 | 2019-04-23T09:09:52 | 2019-04-23T09:09:52 | 181,942,214 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 390 | hpp | #ifndef TERRAIN_HPP
#define TERRAIN_HPP
#include <iostream>
#include "Biens.hpp"
using namespace std;
class Terrain : public Biens {
private:
bool constructible;
public:
Terrain();
Terrain(int prixx, std::string adress, int ref, int numm);
Terrain(bool constructible);
void save_terrain();
v... | [
"noreply@github.com"
] | AlexiaKuntz.noreply@github.com |
bba59b8ccb50ae030d96317f37c03b606400f0a3 | 989b93b4ddf70cbcbe9fc040d1eb54ce7d57dd4e | /StackLose.cpp | bd6a48ea24d71c0ad831394b9001fa89d2128dd3 | [] | no_license | cacarrilloc/Fantasy-Combat-Game-Tournament | a5b6fb4b244c86b902deb1b0fa1b772245b39093 | 94b7d333d48c62716a08cf3853c1b175d1fa9305 | refs/heads/master | 2021-10-23T15:27:32.012382 | 2015-12-24T23:08:18 | 2015-12-24T23:08:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,716 | cpp | /***********************************************************************
** Program Filename: StackLose.cpp
** Author: Carlos Carrillo
** Date: 11/18/2015
** Description: StackLose class methods for a StackLose of strings.
***********************************************************************/
#include <iostream... | [
"carrilca@oregonstate.edu"
] | carrilca@oregonstate.edu |
291978010c19f629b7466c2c45eedfbf79e2c1c5 | 082fa6b3970bc27d7e349dcc56e209f33a997442 | /code/game/NL/Classes/v88/NLScorePanelCellV88.cpp | a7e2977a719023a82c95ac79ec8d5ec51aef6ace | [] | no_license | Crasader/C-_Project | e0627276e9305b661c82706f635cf0bdfa009897 | 106d2c8fd9561730a59d36af12f11677e54f8772 | refs/heads/master | 2021-10-27T05:48:05.937651 | 2019-04-16T07:30:35 | 2019-04-16T07:30:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,803 | cpp | //
// NLScorePanelCellV88.cpp
// MixProject
//
// Created by 黄百超 on 11/03/2017.
//
//
#include "NLScorePanelCellV88.h"
#include "cocostudio/CocoStudio.h"
#include "cocostudio/ActionTimeline/CSLoader.h"
#include "../LibHNUI/Tool/Tools.h"
#include "HNCommon/HNConverCode.h"
#include "NLCommonDef.h"
namespace NL {
... | [
"732328380@qq.com"
] | 732328380@qq.com |
56ecdeb2859d294fd779762e74f0abbc0d98b497 | c5459f80ea769a1f35014717ee27cd6a40e48ba9 | /2439.cpp | 4610cbba0b2ca33ddf1af49c2d3b1f583a69d8c7 | [] | no_license | Thugday/BOJ | da495ce9d112085ace55ffec0487e01f5eda4f72 | 20530c6a8daf02e9514219798873c557ca535d48 | refs/heads/master | 2022-12-05T10:14:45.029635 | 2020-08-28T08:49:44 | 2020-08-28T08:49:44 | 275,761,787 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 411 | cpp | #include <iostream>
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(nullptr);
int n;
cin >> n;
for (int i = 1; i <= n; i++) {
for (int j = 1; j <= n; j++) {
if (j <= n - i) {
cout << " "; // 공백을 끝에서 n - i자리 만큼 남기고 출력
}
else {
cout << "*"; // 남은 n - i의 자리만 별 출력.
... | [
"anais41721@naver.com"
] | anais41721@naver.com |
ef74693fd70feb73b995ef8f1e63215908cb0a13 | 80fd9493d9f2b0df745c333f2b36e19c8db098a8 | /Marda/msvc/Solution/Marda_Windows/stdafx.cpp | 7c7b4e7f9fb6f51bbbf0bca04f4a4544c7a22cd6 | [] | no_license | erio-nk/MyCxxProgram2011 | 12c6f96e4b7a4f2cf61bd367cfa9a7143ee3d024 | be1192e34fa6d7c863b0e50c43441245493c84a4 | refs/heads/master | 2021-01-01T16:56:17.535209 | 2012-06-12T14:48:20 | 2012-06-12T14:48:20 | 4,638,409 | 1 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 380 | cpp | // stdafx.cpp : 標準インクルード Marda_Windows.pch のみを
// 含むソース ファイルは、プリコンパイル済みヘッダーになります。
// stdafx.obj にはプリコンパイル済み型情報が含まれます。
#include "stdafx.h"
// TODO: このファイルではなく、STDAFX.H で必要な
// 追加ヘッダーを参照してください。
| [
"yamadila@gmail.com"
] | yamadila@gmail.com |
21e6cd2e72fa92e6f19c291bd6220497c4b0b2bc | eaedcdd824544bfeac688f6a703b64a542b0a3c8 | /project with MFC/concretesearch.h | d885784e50adb96aa83be441ac4ac27e3ad8abff | [] | no_license | crystal285/WordSearch | 70f0285ebd0a957faf90dad8dc91286d66de3b0b | 4cc45a638fad609db792f07ae455d47a4a2c1b49 | refs/heads/master | 2021-01-13T02:06:56.532021 | 2013-12-09T04:30:39 | 2013-12-09T04:30:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 440 | h | #ifndef CONCRETESEARCH_H
#define CONCRETESEARCH_H
#include "abstractsearch.h"
#include "searchWordAlgorithm.h"
class ConcreteSearch : public AbstractSearch{
private:
SearchWordAlgorithm* sw;
public:
ConcreteSearch(SearchWordAlgorithm*);
~ConcreteSearch();
void setSearchWordAlgorithm(SearchWordAlgorith... | [
"jing.meng278@gmail.com"
] | jing.meng278@gmail.com |
bc61867516b85dc0b15f90972bb6600c721d7b94 | 38b9daafe39f937b39eefc30501939fd47f7e668 | /tutorials/waveFoam/firstSuccessfullTest/19.8/alpha.water | 52836e5a2395f922f7a1ec3df449abda8420e0af | [] | no_license | rubynuaa/2-way-coupling | 3a292840d9f56255f38c5e31c6b30fcb52d9e1cf | a820b57dd2cac1170b937f8411bc861392d8fbaa | refs/heads/master | 2020-04-08T18:49:53.047796 | 2018-08-29T14:22:18 | 2018-08-29T14:22:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 151,897 | water | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 3.0.1 |
... | [
"abenaz15@etudiant.mines-nantes.fr"
] | abenaz15@etudiant.mines-nantes.fr |
fdcd592001a8dc2b4b127524b29080838aa39390 | 57b6fa831fe532cf0739135c77946f0061e3fbf5 | /NWNXLib/API/Mac/API/CVirtualMachineDebuggingContext.cpp | c87a29293e25eeda852de8ef86742217f289525f | [
"MIT"
] | permissive | presscad/nwnee | dfcb90767258522f2b23afd9437d3dcad74f936d | 0f36b281524e0b7e9796bcf30f924792bf9b8a38 | refs/heads/master | 2020-08-22T05:26:11.221042 | 2018-11-24T16:45:45 | 2018-11-24T16:45:45 | 216,326,718 | 1 | 0 | MIT | 2019-10-20T07:54:45 | 2019-10-20T07:54:45 | null | UTF-8 | C++ | false | false | 197 | cpp | #include "CVirtualMachineDebuggingContext.hpp"
#include "API/Functions.hpp"
#include "Platform/ASLR.hpp"
#include "CVirtualMachineDebuggerInstance.hpp"
namespace NWNXLib {
namespace API {
}
}
| [
"liarethnwn@gmail.com"
] | liarethnwn@gmail.com |
78d9f2440b85a5eab8a08fff0feef873ae4ee5ec | faad84e6f8077ed4df902fbde4fb8993a0075512 | /memory/builtins/classes/defaultMethods/InitDefault.h | 4e7d725d3253915cd16e64ab76a7f9d8bbab02e4 | [
"Apache-2.0"
] | permissive | Savioor/NotPython | d5512fc7da8f3263db28f78ee5f00ae93206712f | 4f50fcf162b1d12323605dff47714ca90386b7e6 | refs/heads/master | 2022-11-22T01:07:10.959554 | 2022-11-20T17:21:46 | 2022-11-20T17:21:46 | 222,126,247 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 508 | h | //
// Created by alexey on 11/20/22.
//
#ifndef BASICPYTHONINTERPRETER_MEMORY_BUILTINS_CLASSES_DEFAULTMETHODS_INITDEFAULT_H
#define BASICPYTHONINTERPRETER_MEMORY_BUILTINS_CLASSES_DEFAULTMETHODS_INITDEFAULT_H
#include "../../functions/PyInternalFunction.h"
class InitDefault : public PyInternalFunction
{
public:
Init... | [
"alexei.shapovalov.42@gmail.com"
] | alexei.shapovalov.42@gmail.com |
4aa4bf062f582dd6ba9d6aa9a0dc1542526f9bb5 | 7e240f8caa97618c12d96ba0107d3d05b2eb20f0 | /Unique Paths /main.cpp | 4edf9d5ca2eed679c6a4dd0acc262a2207fa2f94 | [] | no_license | mrzw/my_leetcode | 11341c43c3dab43c777126bca76cef52daf9f5c4 | c6481807743a40746cce990c38262f96206b1fbd | refs/heads/master | 2021-01-24T01:29:00.829051 | 2018-05-03T04:28:40 | 2018-05-03T04:28:40 | 122,810,064 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 545 | cpp | #include <iostream>
#include <vector>
using namespace std;
class Solution {
public:
int uniquePaths(int m, int n) {
vector<vector<int>> a(m, vector<int>(n, 0));
for(int i=0; i<m; i++) {
for(int j=0; j<n; j++) {
if(i==0 || j==0) {
a[i][j] = 1;
}else {
... | [
"2463846947@qq.com"
] | 2463846947@qq.com |
46678d8431f0df946bbc83398e39665537f20a80 | ee1958284ea7ce96651e8debf4036cd41be20c57 | /src/tcp_recv_buffer.cpp | 6d724650f43edda12e5dc816f2f7c73ec27a96fe | [] | no_license | yanrk/boost_net | 70edc02ff11cca2f0519c237589304dfc085ee1c | e32ebb4988991144d575469061a0e90c8c0964f1 | refs/heads/master | 2023-06-25T16:53:19.043073 | 2023-06-19T10:17:00 | 2023-06-19T10:17:00 | 116,765,028 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 945 | cpp | /********************************************************
* Description : tcp recv buffer
* Data : 2018-01-07 16:06:00
* Author : yanrk
* Email : yanrkchina@163.com
* Blog : blog.csdn.net/cxxmaker
* Version : 2.0
* Copyright(C): 2018 - 2020
******************************************... | [
"yanrkchina@163.com"
] | yanrkchina@163.com |
6a61eaea3e00d2c4abea2dad14b85946d493d8bf | 616511265d42d4a9705caa88d649441ad608d365 | /soci/soci/src/core/session.cpp | ee20c71ba108d4b1f62132434cf5c478c4b7a213 | [
"BSL-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | jcline/VideoCrumb | 2f66c4c53ae4a670697d1505921be96a61944d73 | 0d7bc970d52039c2e6b746b31fc4c6651a71b296 | refs/heads/master | 2020-06-06T02:12:31.554314 | 2013-03-24T16:02:00 | 2013-03-24T16:02:00 | 2,127,058 | 1 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 7,814 | cpp | //
// Copyright (C) 2004-2008 Maciej Sobczak, Stephen Hutton
// 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)
//
#define SOCI_SOURCE
#include "session.h"
#include "connection-pool.h"
#include "soci-backend.h"
#in... | [
"james.cline@gatech.edu"
] | james.cline@gatech.edu |
24e9d823f97bd6c882e00bd33e33a685dc93ccf5 | 0873fb770a0df8062225edaebbae2c5bd7f1f96e | /Source/FirstProject/EnemyAnimInstance.cpp | fd1128af2cf75f44ea97f02c2e6d8d5ea76d256c | [] | no_license | AbishNeel/BladeWarrior | bdb6b80f736cc356e35c43b1fc681472c84a838f | 762cdf480965a255a5ab5be2c61c65826a9bc033 | refs/heads/main | 2023-05-31T22:21:43.746404 | 2021-06-15T06:51:07 | 2021-06-15T06:51:07 | 376,845,462 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 626 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "EnemyAnimInstance.h"
#include "Enemy.h"
void UEnemyAnimInstance::NativeInitializeAnimation()
{
if (Pawn == nullptr)
{
Pawn = TryGetPawnOwner();
if (Pawn)
{
Enemy = Cast<AEnemy>(Pawn);
}
}
}
void UEnemyAnimInstance... | [
"abish.neel1103@gmail.com"
] | abish.neel1103@gmail.com |
a021fb41345b20b30c5c38ff2d269f0c63018e31 | 54f352a242a8ad6ff5516703e91da61e08d9a9e6 | /Source Codes/CodeJamData/11/51/5.c | aad4fe8d13c4c6734af4c30d1e279cb5ab84e3d3 | [] | no_license | Kawser-nerd/CLCDSA | 5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb | aee32551795763b54acb26856ab239370cac4e75 | refs/heads/master | 2022-02-09T11:08:56.588303 | 2022-01-26T18:53:40 | 2022-01-26T18:53:40 | 211,783,197 | 23 | 9 | null | null | null | null | UTF-8 | C++ | false | false | 2,093 | c | #include <stdio.h>
#include <math.h>
typedef struct
{
int x;
double d;
} bound;
bound up[100], low[100];
bound cake[200];
int cak;
double boo(double min, double max, double eat)
{
while(max - min > 1e-7)
{
double cur = (max + min)/2;
double val = 0;
int i;
for (i=1; i<cak ... | [
"kwnafi@yahoo.com"
] | kwnafi@yahoo.com |
f2968b96759c8666a7ea61af3b4ba51fb5d6d137 | e6062564a0f0b2bca8d2aca24dc9d5c9071adcac | /Leetcode-Contests/weekly-244/1886.cpp | d62b37b78aaca1b1d340200868c2df5613c7e72a | [] | no_license | iShubhamRana/DSA-Prep | 22e29b85a8ee7dc278c0d89c62dcb33f29b99699 | 611d1a3fb824cce2fab051194bd5f7d0eee83f05 | refs/heads/main | 2023-06-25T06:59:45.599109 | 2021-07-27T18:30:18 | 2021-07-27T18:30:18 | 418,046,414 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,680 | cpp | // In place checking, O(n^2) but way faster
// eliminating invalid rotations
// https://leetcode.com/problems/determine-whether-matrix-can-be-obtained-by-rotation/discuss/1254089/c-straightforward-solution-comparing-in-place/964028
class Solution
{
public:
bool findRotation(vector<vector<int>> &mat, vector<vector<i... | [
"sakshamkapoor1729@gmail.com"
] | sakshamkapoor1729@gmail.com |
dc966649a3ea58e45fb2c8e3fe2023eb8741b667 | 445787acf11477bdf83f987f7667a50e632b890d | /main.cpp | 2220eda563f09f437c683bbb30fa28164b2eac03 | [] | no_license | shiva49814/NumericalIntegration | 828c6c9f8d87456e5d8ee2f283763e7570a5f26a | 912b681475fa02643888fa86832ead17907ae704 | refs/heads/master | 2021-04-06T08:33:49.766043 | 2018-03-14T23:12:43 | 2018-03-14T23:12:43 | 125,280,366 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 408 | cpp | #include <iostream>
#ifdef __cplusplus
extern "C" {
#endif
float f1(float x, int intensity);
float f2(float x, int intensity);
float f3(float x, int intensity);
float f4(float x, int intensity);
#ifdef __cplusplus
}
#endif
int main (int argc, char* argv[]) {
if (argc < 6) {
std::cerr<<"usage: "<<argv[0]<<... | [
"shivareddy8.nitdelhi@gmail.com"
] | shivareddy8.nitdelhi@gmail.com |
f92d00f28d66b1cd03eb40cfd1b016f29ca78ca2 | 4d0560af0722e3341f79eb13cf404c56e69ccf7a | /test2.3.cpp | d3fcd4504194fe4738d40802b4bef34ec84b3c17 | [] | no_license | Androidsuiyue/DataStructureTest | b85be3f8730d957047c9e4e2de3e503878bc657a | 525eab72c7def471f87a2430db5a88fe6363e4fe | refs/heads/master | 2020-06-15T05:29:20.619359 | 2020-05-19T08:57:31 | 2020-05-19T08:57:31 | 195,215,065 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 41 | cpp | #inclube<stdio.h>
#inclube<stdlib.h>
| [
"noreply@github.com"
] | Androidsuiyue.noreply@github.com |
312301275e766415f13ad8520ac647123afa63c3 | e21cfe19d7fb3fe3f34314b5a6b2ae36245fb133 | /source/vikings_village_test1/DiseaseEvent.cpp | 4e79585bece7aca9bfe18a1e60617cb5d1c377d1 | [] | no_license | KCherkasov/Vikings_village | 8ee95b239378cdc12a9df7e5e9308a586c48a940 | 84e0b34b5d0ddfe9df9106720ed2a24640cac20b | refs/heads/master | 2020-04-12T08:52:24.155199 | 2016-09-26T23:04:44 | 2016-09-26T23:04:44 | 62,754,353 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 719 | cpp | #include "DiseaseEvent.h"
size_t DiseaseEvent::success() {
const size_t CASUALTIES = 0;
for (size_t i = 0; i < CASUALTIES; ++i) {
kill_random_human();
}
return EO_SUCCESS;
}
size_t DiseaseEvent::normal() {
const size_t CASUALTIES = 1;
for (size_t i = 0; i < CASUALTIES; ++i) {
kill_random_human();
... | [
"kvcherk@live.ru"
] | kvcherk@live.ru |
62bf6eb3d06cfbf1e6db55f5b05d1bde27e9dcff | ebe78c550d63138acb028cae1581dd5968c353ce | /src/uint256.h | ff90aa473014e8c55f9fe71f9b8b97d88119f216 | [
"MIT"
] | permissive | blocknodetech/blocknode | d8bccf05b2737a01d2a59f9ad0f9ac5da8ad4699 | 5cdda801056b968c4f940c68fc6b3566b108a5cd | refs/heads/master | 2020-03-21T09:21:41.222445 | 2019-03-02T18:37:41 | 2019-03-02T18:37:41 | 138,395,789 | 9 | 10 | MIT | 2018-11-26T17:14:49 | 2018-06-23T11:28:15 | C++ | UTF-8 | C++ | false | false | 11,477 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2018 The Blocknode developers
// Distributed under the MIT software license, see the accompanying
// file COPYING o... | [
"contact@blocknode.tech"
] | contact@blocknode.tech |
b9facb070ae04e026e32225897d613532956c6cf | d8effd075768aecbf0a590804e6c94127954d01c | /noz/src/noz/Animation/AnimationController.cpp | ca7b4ccb39a1e2fb886be0bbd3e7075c46898955 | [] | no_license | nozgames/noz-cpp | 55c88e0ea92408433ca34399f31007418d46a063 | 0466c938f54edf846c01dd195ce870b366821e99 | refs/heads/master | 2022-11-24T04:20:51.348835 | 2020-07-30T21:42:48 | 2020-07-30T21:42:48 | 283,881,452 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 627 | cpp | ///////////////////////////////////////////////////////////////////////////////
// NoZ Engine Framework
// Copyright (C) 2015 NoZ Games, LLC
// http://www.nozgames.com
///////////////////////////////////////////////////////////////////////////////
#include <noz.pch.h>
#include "AnimationController.h"
using namespace ... | [
"bryan.dube@resultstack.com"
] | bryan.dube@resultstack.com |
0f2a2127c2e32ff8e977316bbf584129cafaf704 | bad44a92fb338260f9c077689d7fa5472526c3fe | /src/nnfusion/core/operators/op_define/log.cpp | bb9f9dfa97cefeb828dbd72f14487e6d07ffc016 | [
"LicenseRef-scancode-generic-cla",
"MIT"
] | permissive | microsoft/nnfusion | ebc4c06331b8e93dbf5e176e5ecd3382e322ff21 | bd4f6feed217a43c9ee9be16f02fa8529953579a | refs/heads/main | 2023-08-25T17:41:37.517769 | 2022-09-16T05:59:01 | 2022-09-16T05:59:01 | 252,069,995 | 872 | 157 | MIT | 2023-07-19T03:06:21 | 2020-04-01T04:15:38 | C++ | UTF-8 | C++ | false | false | 898 | cpp | //*****************************************************************************
// Copyright 2017-2020 Intel Corporation
//
// 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://w... | [
"Wenxiang.Hu@microsoft.com"
] | Wenxiang.Hu@microsoft.com |
a57e4f71a8b6071284f74ab2c9ce3e9f93099399 | daaae674686c99f57f0e3819ec133e5f8fc64d24 | /certain/utils/Time.h | e0e3b544a98e565befecea1853b3fd6999defbe7 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference",
"BSD-2-Clause"
] | permissive | shiyezheng/paxosstore | 0fc52dd21836395940be889ad05439b0eda6be49 | efac99253d06aed4b6c95ed6598513f73199ef92 | refs/heads/master | 2021-06-24T04:19:45.253880 | 2017-09-09T08:08:22 | 2017-09-09T11:47:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,902 | h | #ifndef CERTAIN_UTILS_TIME_H_
#define CERTAIN_UTILS_TIME_H_
#include "utils/Logger.h"
#include "utils/FooHook.h"
namespace Certain
{
inline uint64_t GetCurrTimeUS()
{
struct timeval tv;
gettimeofday(&tv, NULL);
return (uint64_t)tv.tv_sec * 1000000 + tv.tv_usec;
}
inline uint64_t GetCurrTimeMS()
{
struct timev... | [
"dengoswei@gmail.com"
] | dengoswei@gmail.com |
31b7c08dab1871357fb6fa2893e56ee456cb478a | 1b5802806cdf2c3b6f57a7b826c3e064aac51d98 | /tensorrt-basic-1.10-3rd-plugin/TensorRT-main/plugin/bertQKVToContextPlugin/zeroPadding2d.h | 995cdb909f4483e2a108e419affdae389ceb735e | [
"LicenseRef-scancode-unknown-license-reference",
"MIT",
"BSD-3-Clause",
"Apache-2.0",
"ISC",
"BSD-2-Clause"
] | permissive | jinmin527/learning-cuda-trt | def70b3b1b23b421ab7844237ce39ca1f176b297 | 81438d602344c977ef3cab71bd04995c1834e51c | refs/heads/main | 2023-05-23T08:56:09.205628 | 2022-07-24T02:48:24 | 2022-07-24T02:48:24 | 517,213,903 | 36 | 18 | null | 2022-07-24T03:05:05 | 2022-07-24T03:05:05 | null | UTF-8 | C++ | false | false | 2,006 | h | /*
* Copyright (c) 2021, 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 requi... | [
"dujw@deepblueai.com"
] | dujw@deepblueai.com |
4b6e5b9aae2a846061e77554eb5085f836b569b7 | 95ffa66fc463877df1148ef18bece322161227c7 | /algorithm based/segment tree/6. Range Query Up_date (Minimum) bitwise.cpp | 4ff637cb1ffe3774906593c1b623a16bb45bb76f | [] | no_license | redwanh25/cpp | 3e23a6325eb27486bd5c1543f7b7cc1ec20798e9 | 836ac15b4e0d5c39e56921db4a7cf347dcfcc4b8 | refs/heads/master | 2021-04-18T22:12:33.039515 | 2018-07-20T21:25:25 | 2018-07-20T21:25:25 | 126,901,628 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,000 | cpp | #include <iostream>
using namespace std;
int index[10000], segment[(10000 << 2) + 5];
void tree_build(int low, int high, int pos)
{
if(high == low){
segment[pos] = index[low];
return;
}
int mid = low + (high - low) / 2;
tree_build(low, mid, (pos << 1) + 1);
tree_build(... | [
"noreply@github.com"
] | redwanh25.noreply@github.com |
d0db537550c4e99e413c704991d9f5364e1313f3 | c953691af6e32770468390bfdd992d4716aaaa9f | /word2vec/src/include/fasttext.h | d0f5cd5018965edeabb6280ff2493820175f2977 | [
"Apache-2.0"
] | permissive | dalinvip/cw2vec | 6fb467e7e444b4eba62fd73eb032dad3b5a7b57a | 0f0dfb56d9fa8b38df9f210eeb588a8b68e05dc1 | refs/heads/master | 2023-04-06T12:48:46.579401 | 2023-03-20T02:57:13 | 2023-03-20T02:57:13 | 131,955,509 | 11 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 11,205 | h | /**
* @Author: bamtercelboo
* @Date: 2018/03/15
* @File: fasttext.h
* @Contact: bamtercelboo@{gmail.com, 163.com}
* @Function: None
*/
#pragma once
#include<time.h>
#include<iostream>
#include<vector>
#include<string>
#include<memory>
#include<atomic>
#include<iomanip>
#include <thread>
#include "args.h"
#include ... | [
"bamtercelboo@163.com"
] | bamtercelboo@163.com |
47e0a5759dc04ecd1e066925a34051d29099dc51 | 58db4e28d3a4a001de1d7aedb6b35c0bde20c18e | /Remote_Yell_XC/Remote Yell/Engine_Includes/Utils/JsonUtils.h | d23843d9428d1438ad59f76cd67e1a82e8acb196 | [] | no_license | antaires/RemoteYell | b6268cf99a18da625d5df1d8e21ab3db9ea6e5e3 | 2ee80e419bdd274e88b1378c2ce82fef448249ca | refs/heads/master | 2022-04-25T17:04:00.366653 | 2020-05-01T13:55:46 | 2020-05-01T13:55:46 | 260,471,240 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 303 | h | #pragma once
#include <json.hpp>
namespace Platformer
{
namespace Utils
{
struct JsonUtils
{
using json = nlohmann::json;
using JsonParseFn = std::function<void(json)>;
static void parseFile(const std::string& fileName, JsonParseFn parseFn);
};
} // Utils
} // Platformer
| [
"11vdlo@gmail.com"
] | 11vdlo@gmail.com |
17ad3c4ff6fcac0e72855388a47427fe4b82d6e1 | 74c4c5a3b3dea170a30d87c5ad50ddd89d07797f | /cs_methods/cs1440-hw3/Area.cpp | a2b7fbcd6a3ff653c65d456f7673727b2751d5b7 | [] | no_license | connor-prinster/c-programs | 4cba982bb4b26db42a7482ec2e9f542c8729c157 | 50b565582692db09722228cbc9794aa94e1cdb10 | refs/heads/master | 2020-03-19T00:34:03.751528 | 2020-03-14T22:54:41 | 2020-03-14T22:54:41 | 135,490,179 | 0 | 0 | null | 2020-03-14T22:53:26 | 2018-05-30T19:47:11 | C++ | UTF-8 | C++ | false | false | 378 | cpp | /*
* WARNING!
*
* You do not need to edit this file
*/
#include <iostream>
#include "Area.hpp"
Area::Area( std::string _area_fips,
std::string _area_title
) {
this->area_fips = _area_fips;
this->area_title = _area_title;
}
std::ostream& operator<<(std::ostream& os, const Area& a) {
os << "[" << a.area_... | [
"ConnorPrinster@ldschurch.org"
] | ConnorPrinster@ldschurch.org |
381416834a18c8c5f3a090c9ff069afc8db07709 | 9ae93d33fb5d16c0b610b2954f6f6d0e04194dc8 | /fem/fem_3d_tetrahedra_types.hpp | 086d04b8eaac0808eb1e2079cef19e367f117003 | [] | no_license | uboot/imaging2 | 2bc6ca439debccab762d1193b001d93950f39a51 | a75d006f5fe5ea6af36ef26b345d6baf6e2b9918 | refs/heads/master | 2020-06-02T15:51:31.694319 | 2015-10-27T08:55:38 | 2015-10-27T08:55:38 | 6,080,913 | 1 | 1 | null | 2015-10-27T08:55:39 | 2012-10-04T19:43:05 | C | UTF-8 | C++ | false | false | 1,816 | hpp | /*
* Copyright 2009 University of Innsbruck, Infmath Imaging
*
* This file is part of imaging2.
*
* Imaging2 is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at you... | [
"matz.fuchs@gmx.at"
] | matz.fuchs@gmx.at |
0abd5ab51fbb428760794750e62a5a00555a1591 | b5a407c9497e8730ce53a78f780f7edb035cbe8b | /hotels.h | 246d2ca1ccbe66e0c4fe0b47a150a2792a8b8de6 | [] | no_license | whiteyunjie/hotelreserve | b38f6a1423ca029f041fadbc36e8af2232cea331 | 503b3378878c3485862f7846a981a40f33ab7fc6 | refs/heads/master | 2021-05-18T23:49:30.733950 | 2020-03-31T07:06:24 | 2020-03-31T07:06:24 | 251,483,007 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,575 | h | #ifndef HOTELS_H
#define HOTELS_H
#include "guestroom.h"
#include <QObject>
#include <QVector>
class hotels
{
private: //客房和酒店是松耦合关系,如果作为酒店成员无法实现动态添加客房类型
QString address;
QString city; //酒店所在城市,以便顾客在界面上搜索
QString hotelname;
QString telephone;
Q... | [
"noreply@github.com"
] | whiteyunjie.noreply@github.com |
8b92cc19ed2d76ae96d7f09fb79b0b6fc0c05917 | 570ed202f092076dccb571a280671e8d95c675d7 | /3_8.cpp | 813280ba36f0aaa659f2c9186a088e653f56eaf4 | [] | no_license | buaadf/learncpp | 144f155bed231bd20d0c0ffeab3cd7cf485eb750 | 8c5b541058285235882bbd75176dc446605c9e97 | refs/heads/master | 2021-01-13T10:00:00.862537 | 2016-12-22T17:17:04 | 2016-12-22T17:17:04 | 72,169,514 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 453 | cpp | #include<iostream>
int main()
{
using namespace std;
cout.setf(ios_base::fixed, ios_base::floatfield);
float tub = 10.0 / 3.0;
double mint = 10.0 / 3.0;
const float million = 1.0e6;
cout << "tub = " << tub;
cout << ", a million tubs = " << million * tub;
cout << ",\nand ten million tubs = " << 10 * million * t... | [
"buaadf@live.com"
] | buaadf@live.com |
135b54ad5c001ce46f996fdb5612fc28b4f9e64c | 03ea87048afbe68331907a75e2cebd14b9777147 | /src/implantation.h | fb1fe285ceec7a1ac9bdd6286fc0555b7a007aca | [] | no_license | midodo1/Heroes | 05c43fc92dc7c1642bd2c741c8198c24c0ffd801 | e37ec78c85d9bdfbc14165cf14ffdb02edcb194a | refs/heads/master | 2016-09-06T14:10:37.389010 | 2016-01-14T16:28:52 | 2016-01-14T16:28:52 | 42,917,322 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 573 | h | #ifndef IMPLANTATION__H
#define IMPLANTATION__H
#include "render.h"
namespace implantation {
/// class Map -
class Map : public render::Surface {
// Attributes
public:
sf::VertexArray vertices;
sf::Texture tileset;
// Operations
public:
void clear ();
void loadTexture (const char* ti... | [
"mehdi.nacer@ensea.fr"
] | mehdi.nacer@ensea.fr |
32309910a14a82835ce1e21acf8bae6966b6935e | 09c6562385eaa860b42e86d4d076659a0f0e27f4 | /ClassObjectMember.cpp | cb7071f517aea6efff7ea39b3c02601509627764 | [] | no_license | akrai37/Cpp_Programs-part-2 | fe23b078e689bfd0f130177a7fa720fbb08f99c6 | ed3f18fe5570574689aeb5fe85052a56fb90a0dd | refs/heads/master | 2020-05-19T22:14:46.601699 | 2019-06-23T18:14:57 | 2019-06-23T18:14:57 | 185,242,874 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 540 | cpp | #include<iostream>
#include<cstdlib>
#include<string>
using namespace std;
class Human{
public:
string name;
int space(){
cout<<"this is class function"<<endl;
}
};
int main(){
Human john; //it is the object of class.This is used to access members and variables in the main fn or any other fn... | [
"noreply@github.com"
] | akrai37.noreply@github.com |
f299c8970167c4d815f1b1fb481b105929ab742a | 54adc4d554dce2769103a50d0af5aa20f8200aeb | /UVA Solutions/UVA/UVA 11450.cpp | a11976c4ea6b159239bcd5dca82e38c37e90de21 | [] | no_license | MoustafaHussien/UVA | d75ac2b5231edde18c493919b4c50122ab247139 | 13fddf04901a536fc4a5ed6fac9eb0541e0085cf | refs/heads/master | 2020-07-03T19:48:34.518417 | 2016-11-19T21:23:04 | 2016-11-19T21:23:04 | 74,235,468 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,182 | cpp | //============================================================================
// Name : UVA.cpp
// Author : moustafa
// Version :
// Copyright : Your copyright notice
// Description : Hello World in C++, Ansi-style
//============================================================================
... | [
"moustafa.elmasry2013@gmail.com"
] | moustafa.elmasry2013@gmail.com |
40eb0b3e54ea1f542da0c3a01a1f0a2fb5f61cea | bea441996c69aa307c5b09660668649977415dfb | /3. STL/vector.cpp | ae1efc98aa0215236fe6b5f62b6d581ac1efdc34 | [] | no_license | yashlakhotiya/LearnCplusplus | 22be5f03a50fbcef9bbd8b5f9a54987044fdec09 | 82cd45a51bdd412c5d1284c8ae012bea326fa958 | refs/heads/master | 2022-11-24T08:00:56.659917 | 2020-07-29T06:07:08 | 2020-07-29T06:07:08 | 205,706,918 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 395 | cpp | #include<iostream>
#include<vector>
using namespace std;
int main(){
vector<string> strings(5);
strings.push_back("one");
strings.push_back("two");
strings.push_back("three");
strings[3] = "dog";
for(int i = 0;i < strings.size(); i++){
cout<<strings[i]<<endl;
}
for(vector<string>::iterator i... | [
"lakhotiyayash@gmail.com"
] | lakhotiyayash@gmail.com |
703cc6207309dbfcdc031fcea688772f45189655 | 9a613e830486f6d8751cca0df6a16170b0d32dfa | /PsyqueRulesPlugin/Source/PsyqueRulesPlugin/Classes/Psyque/RulesEngine/StatusOperation.h | cda95945e323c78104f74eb176c787d1cc9740ca | [] | no_license | psychi/fragments | 9e1f7ed8d9569cbd132520c692bd8b6d4cb16999 | 649b6d218963d44fba0808a475b354e98d9af1f0 | refs/heads/master | 2021-01-21T04:41:41.816319 | 2016-07-10T13:55:02 | 2016-07-10T13:55:02 | 3,233,167 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,694 | h | // Copyright (c) 2016, Hillco Psychi, All rights reserved.
/// @file
/// @brief @copybrief Psyque::RulesEngine::_private::TStatusOperation
/// @author Hillco Psychi (https://twitter.com/psychi)
#pragma once
/// @cond
namespace Psyque
{
namespace RulesEngine
{
namespace _private
{
template<typename, typename,... | [
"psychicphysical+github.com@googlemail.com"
] | psychicphysical+github.com@googlemail.com |
a24ced54fbfa9f1c6a4123a892c5a3446d7cfaa8 | 09ed831aeec406e86a992f13ae7de7ea7d20b4c9 | /HydroxUtilities/include/Utilities/Math/Matrix3.hpp | 9f4fec9babb0fa251e87a77b5c3b27a9e7225174 | [] | no_license | HyDr0x/Hydrox_Engine | 77a7e0beef0b9f757fb739a09c7d786c76334cb6 | 563c17523dc0a2ce4490387a2c9188d423a408e2 | refs/heads/master | 2021-05-31T02:13:42.040613 | 2014-05-06T10:25:29 | 2014-05-06T10:25:29 | 14,363,292 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,778 | hpp | #ifndef MATRIX3_H_
#define MATRIX3_H_
#include "Vector.h"
namespace he
{
namespace util
{
template<typename Type> class Matrix<Type, 3>
{
public:
Matrix()
{}
Matrix(const Matrix<Type, 3>& M)
{
m[0] = M.m[0];
m[1] = M.m[1];
m[2] = M.m[2];
}
... | [
"christoph.laemmerhirt@st.ovgu.de"
] | christoph.laemmerhirt@st.ovgu.de |
f45c8e5c5a6de1e0428fe8ace472d861b74690dd | 6c100784a1a1f43ee1714fb8bacbf6d695a8902c | /src/libzerocoin/AccumulatorProofOfKnowledge.cpp | 4988983026e24b6abec7da342fcd767b8d9296d4 | [
"MIT"
] | permissive | BITCREXCOIN/BitcrexCoin-Core | 54645084675c12fcac928ed1c59c30e805a1ac5e | 4b51f09b8f999ff7c176524dfc2e6364111bc536 | refs/heads/main | 2023-03-25T04:52:39.603419 | 2021-03-24T04:16:14 | 2021-03-24T04:16:14 | 347,030,863 | 0 | 4 | MIT | 2021-03-22T14:33:04 | 2021-03-12T10:42:17 | C++ | UTF-8 | C++ | false | false | 9,118 | cpp | /**
* @file AccumulatorProofOfKnowledge.cpp
*
* @brief AccumulatorProofOfKnowledge class for the Zerocoin library.
*
* @author Ian Miers, Christina Garman and Matthew Green
* @date June 2013
*
* @copyright Copyright 2013 Ian Miers, Christina Garman and Matthew Green
* @license This pro... | [
"alonewolf2ksk@gmail.com"
] | alonewolf2ksk@gmail.com |
db9eeb7744b6e3fd632b7ca009576431f21de023 | fab936e808ebf522e27d2985931d390da9de76de | /src/libmath/CVector3.cpp | a4b7ae9b2e63134d3d87bea715c8779ccfc83cc1 | [] | no_license | saleemayman/cavityflow_cuda | ea307dd60b384a9a89e93a0d1b4ed2f1b1980373 | 002a4a5b669bf0881af1a2c21d11f23a4f95b29d | refs/heads/master | 2021-01-17T12:21:12.446636 | 2016-06-13T12:10:27 | 2016-06-13T12:10:27 | 35,512,554 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,333 | cpp | /*
* Copyright
* 2010 Martin Schreiber
* 2013 Arash Bakhtiari
* 2016 Christoph Riesinger, Ayman Saleem
*
* 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/li... | [
"riesinge@in.tum.de"
] | riesinge@in.tum.de |
b5517f3807ea518983b2f66ad1210e2c51bfff06 | cbba4843ce29e263bb6a4b371547cdc7b1cde095 | /DISCONTINUED/includes-aj/runtime/NumberPrototype.h | 4b91eb895bf4b4e29f14de754045686718ab8f7d | [
"Apache-2.0"
] | permissive | openaphid/Runtime | e5c15adbec0c8d64a3cee4f0e707ff4127387b5f | f2d779b45632bba438e2a9a655166f4963274425 | refs/heads/master | 2021-06-20T08:45:50.765804 | 2021-03-10T09:10:26 | 2021-03-10T09:10:26 | 4,126,273 | 56 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 1,757 | h |
/*
Copyright 2012 Aphid Mobile
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
d... | [
"openaphid@gmail.com"
] | openaphid@gmail.com |
305eaf374d60f0f20e5536f2367131cd0c4be263 | 415adc368d855cc21cc3ba0130403a5daa8033e5 | /POJ/3006.cpp | 2145524eb038ebccea7f5a15c4d095eaf331d1c8 | [] | no_license | theJinFei/AlgorithmTest | 8ae6051832001b5b0d87709803b6df8b0d224fad | 83616b5baad7abff1a3f09e0ebf317615bb8c7a5 | refs/heads/master | 2022-03-08T02:41:17.253049 | 2019-12-16T03:15:24 | 2019-12-16T03:15:24 | 114,447,954 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 396 | cpp | #include <iostream>
#include <cmath>
using namespace std;
int main()
{
int a,d,n;
while(1) {
scanf("%d %d %d",&a,&d,&n);
if(a==0&&d==0&&n==0) break;
int t = 0;
int i;
int sum = a;
if(a==1) sum += d;
while(t!=n) {
int k;
k = (int)sqrt((double)sum);
for(i=2; i<=k; i++)
if(sum%i==0)break;
... | [
"luojinfei_study@163.com"
] | luojinfei_study@163.com |
88a6f2aa90a09920bbc59672ceb9dc535c74bb5a | e9c02bb0df7ad3a928cf7c97b8294451eaa8dbc8 | /graph-source-code/416-E/6384307.cpp | 2127381aeacf14b2ff934a83cc9cf3a0cde56676 | [
"MIT"
] | permissive | AmrARaouf/algorithm-detection | b157a534545fa8920bbe94e7307d4b937a74aa60 | 59f3028d2298804870b32729415d71eec6116557 | refs/heads/master | 2021-01-13T14:37:04.074339 | 2015-12-06T21:14:31 | 2015-12-06T21:14:31 | 45,905,817 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,949 | cpp | //Language: GNU C++
#include<cstdio>
#include<cstring>
#include<queue>
#include<bitset>
#define N 510
using namespace std;
int len[N][N]={0};
int ori[N][N]={0};
int ans[N][N]={0};
bool used[N]={0};
int main(){
int n,m,i,j,k,x,y,l,a[N],b[N];
bitset<N> reach[N];
scanf("%d%d",&n,&m);
wh... | [
"amr.abdelraouf93@gmail.com"
] | amr.abdelraouf93@gmail.com |
368e9165aa4724c46dcee9a16076eb6ec0f6e89d | 5dd5967ba07c3ba31c4ca7404ee587da3fe243af | /MoteurPhysique/MoteurPhysique/Triangle.h | 7c1907a6d30c20b1ec7213476db45288d30e212e | [] | no_license | Beescott/3D_engine | 8b6aeae726d1908ec7216e857ec1984b9b79f2fe | 82493aaa1bdc9c885afc885ef77084f0aa1d9ecc | refs/heads/master | 2020-05-29T15:48:53.661729 | 2019-05-29T13:39:28 | 2019-05-29T13:39:28 | 189,231,495 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 715 | h | #pragma once
#include "Vertex.h"
#include "Object.h"
#include <vector>
class Triangle : public Object
{
public:
Triangle(Vertex* v1, Vertex* v2, Vertex* v3, Vector3 nor, Vector3 const& pos = Vector3(0.0f, 0.0f, 0.0f), Material const& mat = Material());
~Triangle();
float rayHit(Vector3 const& rayPos, Vector3 c... | [
"nguyenalex@eisti.eu"
] | nguyenalex@eisti.eu |
25384b9eac2cd3a726a31733b43fc3a59b44b9d2 | 8f81de504adaddaf6c45f0c2198a06ac1a796636 | /torch/csrc/jit/tensorexpr/cuda_codegen.cpp | a0e4cfd290beb5445ff732b6295a16ff93991433 | [
"BSD-2-Clause",
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla",
"BSL-1.0",
"Apache-2.0"
] | permissive | seemethere/pytorch | ac64f1410142eed319cd2c3d0876bb5748916487 | b428096680b804dfd3336e80efb5d9e6661236c1 | refs/heads/master | 2023-03-18T04:19:35.604440 | 2022-01-11T20:01:12 | 2022-01-11T20:01:12 | 227,252,129 | 1 | 0 | NOASSERTION | 2019-12-11T01:47:36 | 2019-12-11T01:47:36 | null | UTF-8 | C++ | false | false | 42,554 | cpp | #include <torch/csrc/jit/tensorexpr/cuda_codegen.h>
#include <torch/csrc/jit/tensorexpr/half_support.h>
#include <ATen/cuda/CUDAGeneratorImpl.h>
#include <c10/cuda/CUDAFunctions.h>
#include <c10/util/irange.h>
#include <torch/csrc/jit/codegen/cuda/executor_utils.h>
#include <torch/csrc/jit/codegen/fuser/cuda/fused_ker... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
759a0f1565ce0e3e59a6d916190b0af1220bf3ad | 169e75df163bb311198562d286d37aad14677101 | /tensorflow/compiler/xla/service/gpu/cudnn_convolution_algorithm_picker.cc | d6b457a91b9e9edec222b9e25f5105d43b97aae8 | [
"Apache-2.0"
] | permissive | zylo117/tensorflow-gpu-macosx | e553d17b769c67dfda0440df8ac1314405e4a10a | 181bc2b37aa8a3eeb11a942d8f330b04abc804b3 | refs/heads/master | 2022-10-19T21:35:18.148271 | 2020-10-15T02:33:20 | 2020-10-15T02:33:20 | 134,240,831 | 116 | 26 | Apache-2.0 | 2022-10-04T23:36:22 | 2018-05-21T08:29:12 | C++ | UTF-8 | C++ | false | false | 15,844 | cc | /* Copyright 2018 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... | [
"zylo117@hotmail.com"
] | zylo117@hotmail.com |
2e3a164c4436471133123e6dbd5a024bbdbdac1c | d7b8b183e1173cd95af0799e00747a2cbc4e0eb3 | /AE_Server/lib_Common/AEString.h | 4633d9973d0727930df03bbf7e7a588672c1519f | [] | no_license | fghj1/POPTalk-Prototype | 53b028d48813aa343c1ca3afa3935fd8d293b842 | 4f9340c808355e9493509581da237da5a26a82a1 | refs/heads/master | 2021-01-10T19:43:25.610726 | 2015-09-28T10:44:45 | 2015-09-28T10:44:45 | 41,249,503 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,136 | h |
#ifndef __IRR_STRING_H_INCLUDED__
#define __IRR_STRING_H_INCLUDED__
#include <stdio.h>
#include <String.h>
#include <stdlib.h>
#include <windows.h>
#include "./AEType.h"
#include "./TAllocator.h"
#include "./TAutoPtr.h"
#include "./vformat.h"
using namespace frmt;
template <typename T, typename TAlloc = TAlloca... | [
"fghj8022@gmail.com"
] | fghj8022@gmail.com |
fe896826464f07eaaec17892235ac9839e5172fc | bae5c86e27958032919cb0d3118f2b738b2e6047 | /staticscanitemmodel.cpp | 45b06cedf877bebc78da4c0424ed0153e30224cc | [
"MIT"
] | permissive | iCodeIN/StaticScan | bb0bfd326e3c959e0483ab3977b3a5aa0c3cb0f5 | b37cf941a0b6372d6a0fe5db1d0727a9ce98a046 | refs/heads/master | 2023-08-07T22:50:39.221501 | 2021-09-13T20:53:07 | 2021-09-13T20:53:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,439 | cpp | // copyright (c) 2017-2021 hors<horsicq@gmail.com>
//
// 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, mod... | [
"horsicq@gmail.com"
] | horsicq@gmail.com |
84086ecfde0223bad484d29edadbb2ee49854dbf | 711e5c8b643dd2a93fbcbada982d7ad489fb0169 | /XPSP1/NT/admin/wmi/wbem/sdk/locstudioparser/inc/locutil/logfile.h | e8f0998f98e99251ab686af6effa1617dbf2b773 | [] | no_license | aurantst/windows-XP-SP1 | 629a7763c082fd04d3b881e0d32a1cfbd523b5ce | d521b6360fcff4294ae6c5651c539f1b9a6cbb49 | refs/heads/master | 2023-03-21T01:08:39.870106 | 2020-09-28T08:10:11 | 2020-09-28T08:10:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 900 | h | //-----------------------------------------------------------------------------
//
// File: logfile.h
// Copyright (c) 1994-2001 Microsoft Corporation, All Rights Reserved
// All rights reserved.
//
//
//
//-----------------------------------------------------------------------------
#ifnde... | [
"112426112@qq.com"
] | 112426112@qq.com |
e0b829d08b7e971057f05e578bdc2ca641076c6e | 9122ebde963d46db3ace3d62cc5cc759e3feff88 | /Seminar/ExtraTasks/task4.cpp | 02400ed62df244b44af60b4382fcff16a627196a | [] | no_license | lacho55/Data-Structures-FMI | ef6aedfafbf1fab50ca6b1788c828d5cc2bf398d | 70bee8bba59bedbd69918d52d77f49b481b30883 | refs/heads/master | 2023-02-25T07:16:48.074646 | 2021-01-23T15:12:10 | 2021-01-23T15:12:10 | 301,393,050 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,645 | cpp | #include <iostream>
#include <vector>
#include <assert.h>
template<class T>
struct Node{
int data;
Node<T>* left;
Node<T>* right;
};
template<typename T>
void palindromeTreesHelper(Node<T>* current, size_t level, std::vector<T>& nodes)
{
if(current == nullptr)
{
return;
}
if(level ... | [
"noreply@github.com"
] | lacho55.noreply@github.com |
fbb273b65defd4a3d630f71ae52382a5a19fd7ac | 05acc513a5c97568485879021f6e907a79d97a92 | /C++DesignPattern/C++DesignPattern/装饰模式/ConcreteDecoratorA.h | 00468ec06a8fd4b946d53aa1fc67181db3704afb | [
"MIT"
] | permissive | Varygod/CPP_Study | 238a683f67df6524696d9ed4ac0368366a8d454b | 6de7db73fe4511ec638fa85654f3674f217070c0 | refs/heads/master | 2020-06-22T14:07:39.444227 | 2019-07-29T16:41:44 | 2019-07-29T16:41:44 | 197,726,979 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 572 | h | /*************************************************
// Copyright (C), 2012-2019, CS&S. Co., Ltd.
// File name: ConcreteDecoratorA.h
// Author: pengsh
// Version: 1.0
// Date: 2019/07/29
// Description: 向组件添加职责。
// Others:
// History:
// <author> pengsh
// <time> 2019/07/29
// <version> 1.0
// <desc> build this moud... | [
"pshenghua2006@163.com"
] | pshenghua2006@163.com |
e99e6acc843a712767d4f396ca3a431e9cff990f | 5d5a8fe2b00d748d2ea40839953f648a818ba44e | /CodeSource_1/ch06/for1.cpp | fe8f19e73afbad38eb799f0e8583803decc0e9ca | [] | no_license | YBTayeb/Cpp | e5a75b105549475c74f9b0acae111580e6acbd78 | 860e1f84e2273fdafb171f5f3f6bfacdbeba62d7 | refs/heads/master | 2019-03-21T04:23:59.276269 | 2018-04-09T22:45:36 | 2018-04-09T22:45:36 | 124,126,567 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 168 | cpp | #include <iostream>
using namespace std ;
int main ()
{ int i ;
for ( i=1 ; i<=5 ; i++ )
{ cout << "bonjour " ;
cout << i << " fois\n" ;
}
}
| [
"y.belhajt@hotmail.com"
] | y.belhajt@hotmail.com |
b90728849484661f58c636ddae15bfa61115f9a0 | decbd4630f44b444484315dbee4a58336a997922 | /folly/experimental/SingleWriterFixedHashMap.h | 4828136cf0ae89bff6f5926bfa5a30ef3fb8a3e1 | [
"MIT",
"Apache-2.0"
] | permissive | beauby/folly | a6b39ed797864095e665ea068e1643c108115acb | 2f7890eca20981f1f013c59eb6c9516c7df90b45 | refs/heads/master | 2022-11-11T20:04:11.424610 | 2020-06-21T17:17:49 | 2020-06-21T17:19:18 | 274,021,549 | 1 | 0 | Apache-2.0 | 2020-06-22T02:26:50 | 2020-06-22T02:26:49 | null | UTF-8 | C++ | false | false | 8,518 | h | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* 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 applic... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
4f2bc4a963500663a5eea54921778e2c87be74b7 | f464eb458d02ba34ed5d36601f8e742239973b34 | /5107COMP-DSAG/src/game/GameManager.cpp | 7d159c2fec2d093aea3ad7777451bc4027ae5d8f | [] | no_license | Charlotte-Gerrard/Space_Shoot-em-up | 4a3e4d13c3c931170455eb3d1498468ffc4651d4 | c3d644ab78407e4b30497d6f94b74e9c29aee31b | refs/heads/main | 2023-03-06T07:30:32.373487 | 2021-02-22T13:43:50 | 2021-02-22T13:43:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,320 | cpp | #include "GameManager.h"
using sf::LJMUSettings;
//--------------------CONSTRUCTORS/DESTRUCTORS-----------------------------------------------------
/////////////////////////////////////////////
// Constructor for our Game State Class.
/////////////////////////////////////////////
LJMU::LJMUGameManager::LJM... | [
"noreply@github.com"
] | Charlotte-Gerrard.noreply@github.com |
c98589ecba48f65dac43ff1bfc80c58ad8298173 | 994b5f6d1b09e3afc4b183464a8dfe59527a4db0 | /src/MPU6050_calibration2.cpp | 67580da675cdcc6a98e98916c2f366d4aed9345e | [] | no_license | alchebits/arduino-utils | a00074e4558c750b576916cfede7e7202f1226ac | cdefc263ef55531f113fa72db756433711115abd | refs/heads/master | 2022-06-13T14:38:49.583127 | 2017-06-09T19:06:55 | 2017-06-09T19:06:55 | 261,527,689 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,463 | cpp | // // Arduino sketch that returns calibration offsets for MPU6050 // Version 1.1 (31th January 2014)
// // Done by Luis Ródenas <luisrodenaslorda@gmail.com>
// // Based on the I2Cdev library and previous work by Jeff Rowberg <jeff@rowberg.net>
// // Updates (of the library) should (hopefully) always be available at ... | [
"darek645@gmail.com"
] | darek645@gmail.com |
f6b695a529cbc129bfbc96b557e15a3fc10a622f | 76692e36a35b5b13d745ae8fc5777e6d2391b977 | /03-stub-opengl.cpp | 19032ec738f725eee763815d6cbdeef235ab9df1 | [] | no_license | JOHAE96/EinfBildInf | 397bae13cda892f2e38a52ebcfcba4adfdff774b | d310c8ba4fcef4c3126f569c030366323e9f002d | refs/heads/master | 2020-03-20T09:41:08.401558 | 2015-06-29T17:18:15 | 2015-06-29T17:18:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,650 | cpp |
// standard includes
#include <cstdlib>
#define OPENGL_MODE
#include <cstdio>
#include <vector>
#include <math.h>
// OpenGL includes
#include <GL/gl.h>
#include <GL/glu.h>
#include <GL/glut.h>
float rotX = 0.0;
float rotY = 0.0;
float rotZ = 0.0;
float zoom = 30.0;
float azimuth = 0.0;
float height = 0.0;
#inclu... | [
"ka42juf@minet.uni-jena.de"
] | ka42juf@minet.uni-jena.de |
84a8cee260230158e712fb6ea6e79483a00b0f64 | 93dbfc2f7ac0bb5e9082a1b15fd8f8ec26720de4 | /종민/DP/9461.cpp | 9e1d334b1e6620733ef49d64543b2d407a74e7e9 | [] | no_license | showppark12/forcodingtest | 06013d5ac09652891e3dbd1c4b4fe752ea7ef356 | e19d5d3e0e4e16c475921c31e6d48df7edcc462f | refs/heads/master | 2023-02-12T02:26:48.618030 | 2021-01-13T07:07:55 | 2021-01-13T07:07:55 | 313,500,394 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 517 | cpp | #include <iostream>
#include <cstring>
using namespace std;
long long dp[200];
int main(){
int N;
cin>>N;
dp[0]=0;
dp[1]=1;
dp[2]=1;
for(int i = 0; i<N; i++){
int a;
cin>>a;
if(a==1){
cout<<1<<endl;
continue;
}else if(a==2){
co... | [
"showppark12@naver.com"
] | showppark12@naver.com |
0ec614df3baa60955ebc0022240e19b1cbf3b4ce | ec84758716b19257a898d962fe1ff24db619b0c5 | /CryptoFBC/src/idea.h | c0ecd5c281ddd7d4ba0a8976e1483e3ff5acc12e | [] | no_license | cryptofbc/cryptofbc | fa3bfb0ec53f2169135c2a541f68883cdaee09f2 | 6f735a084abbaa286cf26034546fad27e0365c60 | refs/heads/master | 2023-02-03T11:29:16.613108 | 2023-01-23T14:46:38 | 2023-01-23T14:46:38 | 32,198,252 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,269 | h | #ifndef CryptoFBC_IDEA_H
#define CryptoFBC_IDEA_H
#include "cfbconfig.h"
#include "cipherbase.h"
#include "baseroutine.h"
NAMESPACE_BEGIN(CryptoFBC)
class IDEA
{
public:
static const int BLOCKSIZE;
static const int DEFAULT_KEYLENGTH;
static const int ROUNDS;
/* Assume the length of userkey is... | [
"cnbragon@gmail.com@f296d2d8-7def-11de-9693-657164a66812"
] | cnbragon@gmail.com@f296d2d8-7def-11de-9693-657164a66812 |
79ab29e4e12da0b194b83c67480a0ed36d529af5 | c611b35a08d0abbce62c8a3e80ab747967460e4a | /tags/open64-0.14/osprey1.0/be/com/mfmc_solve.cxx | 56b9918e76ebc3b3eee64dc2c498c1958b9e0148 | [] | no_license | svn2github/open64 | 301f132bdcb602d4e677fc23881ce602f3961969 | 88431de7e6860ed692c0c160724620e798de428a | refs/heads/master | 2021-01-20T06:59:43.507059 | 2014-12-31T18:38:48 | 2014-12-31T18:38:48 | 24,089,237 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 13,997 | cxx | /*
Copyright (C) 2000, 2001 Silicon Graphics, Inc. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it
under the terms of version 2 of the GNU General Public License as
published by the Free Software Foundation.
This program is distributed in the hope that it would... | [
"marcel@ead328b1-e903-0410-a19d-eacee4b031f6"
] | marcel@ead328b1-e903-0410-a19d-eacee4b031f6 |
94659e3474aee9699a84aa0a719d733bb15616b3 | 623e9ba3e79c18b7f5bcb90d880f3cbcc0473f29 | /redbase/SM_Manager.cpp | 6966e9e857ea6562697b1cfaba0eeae5d3ecf552 | [] | no_license | lgylym/seeqr | e8f1683a52973675f20e88c6e0379042d2226ebd | c48371f4d610502578074565902cb2be6d89be9d | refs/heads/master | 2016-08-03T19:08:11.575263 | 2011-09-30T17:35:00 | 2011-09-30T17:35:00 | 2,489,464 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25,021 | cpp | #include "SM_Manager.h"
SM_Manager::SM_Manager (RM_Manager &rmManager) : rmm(rmManager) {
bOpen = false;
}
SM_Manager::~SM_Manager () {
}
RC SM_Manager::CreateDb (const char *dbName) {
int ret;
/* Store the current work directory */
getcwd (cwd, 80);
/* Create a directory for the database */
ret = mkdir ... | [
"lgylym@lgylym-VirtualBox.(none)"
] | lgylym@lgylym-VirtualBox.(none) |
71777016e3456de29407cf1ff70dde5448c8bb6d | bbcda48854d6890ad029d5973e011d4784d248d2 | /trunk/win/Source/BT_Authorization.h | f947cdcf0f6a98cb40a3044faf699bd87e0f60b4 | [
"Apache-2.0",
"MIT",
"curl",
"LGPL-2.1-or-later",
"BSD-3-Clause",
"BSL-1.0",
"LicenseRef-scancode-public-domain",
"LGPL-2.1-only",
"Zlib",
"LicenseRef-scancode-unknown",
"LicenseRef-scancode-unknown-license-reference",
"MS-LPL"
] | permissive | dyzmapl/BumpTop | 9c396f876e6a9ace1099b3b32e45612a388943ff | 1329ea41411c7368516b942d19add694af3d602f | refs/heads/master | 2020-12-20T22:42:55.100473 | 2020-01-25T21:00:08 | 2020-01-25T21:00:08 | 236,229,087 | 0 | 0 | Apache-2.0 | 2020-01-25T20:58:59 | 2020-01-25T20:58:58 | null | UTF-8 | C++ | false | false | 1,931 | h | // Copyright 2012 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by ap... | [
"anandx@google.com"
] | anandx@google.com |
74adada90029d532c6b37da158bc8939bce27818 | 6899fdc47a1470ff3bea43768fde4640260b7741 | /src/Atom_Unbound_Virt.hpp | ea9dc4b3bcc4f615aab5610615c246d90bcec5e5 | [] | no_license | Leph/SMA | 084ad60ae9a142068f5159fe77ca1e3d87764d79 | fc0eca4c6d0c5ebbb90778e97c785c46abcb2a1f | refs/heads/master | 2016-09-06T08:03:02.741306 | 2012-12-12T20:54:39 | 2012-12-12T20:54:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 417 | hpp | #ifndef ATOM_UNBOUND_VIRT_HPP
#define ATOM_UNBOUND_VIRT_HPP
#include <Ogre.h>
#include "Atoms.hpp"
/**
* Atom_Unbound_Virt
* Représente l'atome de type Apply_Unbound_Virt
*/
class Atom_Unbound_Virt : public Atom
{
public:
Atom_Unbound_Virt(const Ogre::Vector3& position);
virtual bool ... | [
"quentin.rouxel@enseirb-matmeca.fr"
] | quentin.rouxel@enseirb-matmeca.fr |
bde8b5a000162c94851e7a768cffbf0f516c784b | 23739b4ccfce57445f1a26e8111e650165e06711 | /memeLampNetwork/memeLampNetwork.ino | 49c1c8f436994e5f5db68a6b9422838760c86e3c | [] | no_license | benwinding/Meme-Bot-LED-Counter-Display | e3b0c01b0c62f7e223b5f9b97f972d2955c676b8 | b80221a477127133e61642c29151482f9d8f7d9a | refs/heads/master | 2021-01-01T16:27:49.115694 | 2018-04-29T14:11:33 | 2018-04-29T14:11:33 | 97,837,881 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,767 | ino | /*
Library Dependencies:
-ArduinoJson
-WiFiEsp
-StandardCplusplus (Arduino)
-Queuer (Part of LEDMatrix64)
*/
#include "Network.h"
#include <Wire.h>
#include <ArduinoJson.h>
Network network;
const char* ssid = "The LANnisters 2.4";
const char* pwd = "huskyvalley292";
char const* ssidBackup = "Ben's iPhone";... | [
"ben.winding@gmail.com"
] | ben.winding@gmail.com |
93223646379b6b392a9de3d6fb49ecdb1efc6c11 | c76f0563a583e7a186baafb4ef46630487e18d05 | /10. Sub-Arrays/max_subarray_sum ( Cumulative sum approach).cpp | b98d311c157af8565b9a95d40d4b12a3d38a62a3 | [] | no_license | ParvezAhmed111/Data-Structure-and-Algorithms-with-cpp | e7772c2571b5d937e5957769de9c88c236175051 | ee6ad8f3259e8a3b2b1a5f270fee955da9222a72 | refs/heads/main | 2023-08-13T14:20:24.603031 | 2021-09-29T18:21:21 | 2021-09-29T18:21:21 | 411,760,782 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 621 | cpp | //Approach 2
//Time complexity= O(n^2)
#include<iostream>
#include<climits>
using namespace std;
int main(){
int n;
cout<<"Enter the size of array: ";
cin>>n;
int a[n];
for(int i =0; i<n; i++){
cin>>a[i];
}
//prefix sum of an array
int pre[n+1]; //size is n+!
pre[0]=0; //0th index element is 0
... | [
"parvezahmed.0947@gmail.com"
] | parvezahmed.0947@gmail.com |
a6fbc06b1164f69034a866423067a3b301eef15f | 0d0e78c6262417fb1dff53901c6087b29fe260a0 | /dayu/src/v20180709/model/DescribleRegionCountResponse.cpp | 1d4a842b69ce221785b33d51f4ada961fd5b0226 | [
"Apache-2.0"
] | permissive | li5ch/tencentcloud-sdk-cpp | ae35ffb0c36773fd28e1b1a58d11755682ade2ee | 12ebfd75a399ee2791f6ac1220a79ce8a9faf7c4 | refs/heads/master | 2022-12-04T15:33:08.729850 | 2020-07-20T00:52:24 | 2020-07-20T00:52:24 | 281,135,686 | 1 | 0 | Apache-2.0 | 2020-07-20T14:14:47 | 2020-07-20T14:14:46 | null | UTF-8 | C++ | false | false | 3,436 | cpp | /*
* 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
... | [
"zhiqiangfan@tencent.com"
] | zhiqiangfan@tencent.com |
4f18c9bed3c53ccf458f8b0834b6fb53dcbad0aa | 663f25816bac61647fd0ba9e4f55fe4eb6a9b292 | /source/code/programs/examples/gmp/add2/main.cpp | f65c2bf7c3c7d5bed6bc161f39c5c97eafd03701 | [
"MIT"
] | permissive | luxe/unilang | a318e327cc642fabdcd08f3238aac47e4e65929f | 832f4bb1dc078e1f5ab5838b8e0c4bb98ba0e022 | refs/heads/main | 2023-07-25T06:32:18.993934 | 2023-07-13T02:22:06 | 2023-07-13T02:22:06 | 40,274,795 | 42 | 8 | MIT | 2023-07-19T10:36:56 | 2015-08-06T00:02:56 | Fancy | UTF-8 | C++ | false | false | 559 | cpp | #include <stdio.h> /* for printf */
#include <gmp.h>
int main(int argc, char *argv[])
{
mpz_t a, b; /* working numbers */
if (argc<3)
{ /* not enough words */
printf("Please supply two numbers to add.\n");
return 1;
}
mpz_init_set_str (a, argv[1], 1... | [
"thickey@uber.com"
] | thickey@uber.com |
4da0dc57810eeb5c1ff4f31bf705a996d2d5712c | e65a4dbfbfb0e54e59787ba7741efee12f7687f3 | /www/qt5-webengine/files/patch-src_3rdparty_chromium_third__party_perfetto_src_base_thread__task__runner.cc | 322e6aeb3be9b309982037a268ee1efb8866aac0 | [
"BSD-2-Clause"
] | permissive | freebsd/freebsd-ports | 86f2e89d43913412c4f6b2be3e255bc0945eac12 | 605a2983f245ac63f5420e023e7dce56898ad801 | refs/heads/main | 2023-08-30T21:46:28.720924 | 2023-08-30T19:33:44 | 2023-08-30T19:33:44 | 1,803,961 | 916 | 918 | NOASSERTION | 2023-09-08T04:06:26 | 2011-05-26T11:15:35 | null | UTF-8 | C++ | false | false | 518 | cc | --- src/3rdparty/chromium/third_party/perfetto/src/base/thread_task_runner.cc.orig 2021-12-15 16:12:54 UTC
+++ src/3rdparty/chromium/third_party/perfetto/src/base/thread_task_runner.cc
@@ -28,7 +28,7 @@
#include "perfetto/ext/base/thread_utils.h"
#include "perfetto/ext/base/unix_task_runner.h"
-#if PERFETTO_BUILDFL... | [
"kai@FreeBSD.org"
] | kai@FreeBSD.org |
6d4c2b25f775f4ac5afaca1b99058cf87ca72f90 | fad6e1b4bf51cde6ede7097f6166df7e8001fe7a | /TrieTree/TicTacNode.h | 3380f8c48f9fc6fca9005d7b2ed45e718ec8ecc2 | [] | no_license | NGoynes/Projects | e97f9b1fc6f1430f4106451439a6f814170e780e | 491d49bcb11ce1948a3ca94451c53c17fa44cacd | refs/heads/master | 2022-11-27T04:27:53.916973 | 2020-07-31T22:59:15 | 2020-07-31T22:59:15 | 205,005,405 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,376 | h | /****************************************
** File: TicTacNode.h
** Project: CSCE 221 Project 2, Spring 2019
** Author: Nathan Goynes
** Date: 3/13/19
** E-mail: ngoynes@tamu.edu
**
** This file is header file of the TicTacTrie class.
** This class holds information about the current state of the game board.
**
*******... | [
"nate.goynes@gmail.com"
] | nate.goynes@gmail.com |
7917216e318f27c2db4a70747326ac4296e542a9 | e5486b48e9b0a167a22efd59f0fa5e8f4512e2cf | /BAEKJOON/15653.cpp | 9c3ab277ab568145ddef8e946e86dd2f79f204a5 | [] | no_license | Jihunn-Kim/Coding-Test-Practice | a7ec7cb8f186168fa39026527bb8369599389674 | c2fd1c2f6871dc0b3d1614b0dc9e8f9fcdbe3a91 | refs/heads/master | 2023-04-23T00:48:23.833705 | 2021-05-07T13:48:47 | 2021-05-07T13:48:47 | 112,074,131 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 2,688 | cpp | #include <iostream>
#include <string>
#include <map>
#include <unordered_map>
#include <set>
#include <algorithm>
#include <cstring>
#include <climits>
#include <stack>
#include <queue>
#include <vector>
#include <utility>
using namespace std;
int n, m;
char arr[11][11];
bool check[11][11][11][11];
int dx[] = {0, 1, ... | [
"sonic2010@naver.com"
] | sonic2010@naver.com |
ff36b27e93bb0e66d8bccb744fa1ad82a4d61ed3 | a0239111f1365833a8d3f0ce99ba0a15590b2371 | /Samples/Viewer/ViewerDoc.h | 6100f89395698d2febc4f70a936811a44631ac16 | [] | no_license | SuperMap/OGDC | 71c9f629e3e6ccde604446f1504d07a809ee82ae | c4e3fe509dd8772794d144fe0d906cfd123e5f66 | refs/heads/master | 2023-09-06T08:44:59.595550 | 2022-03-15T08:23:59 | 2022-03-15T08:23:59 | 6,771,763 | 30 | 15 | null | null | null | null | UTF-8 | C++ | false | false | 2,058 | h | //////////////////////////////////////////////////////////////////////////
// ____ ____ ____ ____
// Project / _ \ / ___) | _ \ / ___)
// | | | | | | __ | | \ | | |
// | |_| | ... | [
"heqian@supermap.com"
] | heqian@supermap.com |
402cb3ed65eb197d1577f318c1d21765a6066179 | 959976cd9ff10d87b296d57c418702a1f17a2d82 | /src/core/lib/event_engine/utils.h | 04068d1d21524684b35f2b56a4c019a2a9cf4cf1 | [
"BSD-3-Clause",
"MPL-2.0",
"Apache-2.0"
] | permissive | vjpai/grpc | 9d5152340ce4b0812feb4016d8248f3e8e10dc3c | dafcb3b6e69a85142a784b3d5fbfedaaf2fcd66b | refs/heads/master | 2023-01-22T20:03:52.484538 | 2023-01-20T20:18:53 | 2023-01-20T20:18:53 | 43,449,564 | 2 | 1 | Apache-2.0 | 2018-03-03T00:16:05 | 2015-09-30T17:59:22 | C++ | UTF-8 | C++ | false | false | 1,408 | h | // Copyright 2022 gRPC authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to i... | [
"noreply@github.com"
] | vjpai.noreply@github.com |
4949bb2fb316bbe5c1a661d4c12f71a7dac7ca78 | 65d1bd123fe11cce161359c78e16b00792a376d2 | /DSU/128.cpp | 1e065e8b7ee18a8282d69c41714fdc66d79a9ec4 | [] | no_license | en-jai-neer/Leetcode_Solutions | d62c33110712287114f8723b1eb16ea3f5818311 | aba47073d43b2d27f50d3c00c90cfb3ceebf58ad | refs/heads/master | 2022-10-23T08:37:12.375215 | 2020-06-16T10:18:54 | 2020-06-16T10:18:54 | 265,836,597 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,240 | cpp | class Solution {
public:
unordered_map<int, int> parent, sz;
int longestConsecutive(vector<int>& nums) {
for(int i: nums)
{
parent[i] = i;
sz[i] = 1;
}
for(int i: nums)
{
if(parent.count(i-1))
{
unify(i, i-1)... | [
"noreply@github.com"
] | en-jai-neer.noreply@github.com |
a8d33306d921593ba12854b96ec08acfbf7597f5 | 78d019106ebc151efcb8e27e3b900877aeb4c1fc | /Codechef-2020/JULY20B/CHEFSTR1.cpp | 8f24a96cfe25dc2fe7760ce0975b1789ce23d433 | [] | no_license | rishitc/Codechef_Hacktoberfest-2021 | 435d587e75b7a1dc7a5255f4b06db2ce2a3d2436 | 62eb81b3dea7f4186c076d60050c6a240d1bbd47 | refs/heads/master | 2023-08-21T19:24:08.593246 | 2021-10-01T18:50:49 | 2021-10-01T18:50:49 | 412,622,428 | 1 | 0 | null | 2021-10-01T21:32:48 | 2021-10-01T21:32:47 | null | UTF-8 | C++ | false | false | 402 | cpp | //Link to solution https://www.codechef.com/viewsolution/34958672
#include<bits/stdc++.h>
using namespace std;
int main(){
int t;
cin>>t;
while(t--){
int i,n;
cin>>n;
long long int count=0, s[n];
cin>>s[0];
for(i=1;i<n;i++){
cin>>s[i];
count+=... | [
"manasakashyap28@gmail.com"
] | manasakashyap28@gmail.com |
2d29a49d99fa56a662673141fed81cd227019aaa | d0c44dd3da2ef8c0ff835982a437946cbf4d2940 | /cmake-build-debug/programs_tiling/function13739/function13739_schedule_13/function13739_schedule_13_wrapper.cpp | b6f252c33eadc927972297bb2efdd153756fc4b0 | [] | no_license | IsraMekki/tiramisu_code_generator | 8b3f1d63cff62ba9f5242c019058d5a3119184a3 | 5a259d8e244af452e5301126683fa4320c2047a3 | refs/heads/master | 2020-04-29T17:27:57.987172 | 2019-04-23T16:50:32 | 2019-04-23T16:50:32 | 176,297,755 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,192 | cpp | #include "Halide.h"
#include "function13739_schedule_13_wrapper.h"
#include "tiramisu/utils.h"
#include <cstdlib>
#include <iostream>
#include <time.h>
#include <fstream>
#include <chrono>
#define MAX_RAND 200
int main(int, char **){
Halide::Buffer<int32_t> buf00(128);
Halide::Buffer<int32_t> buf01(512)... | [
"ei_mekki@esi.dz"
] | ei_mekki@esi.dz |
a98c303272ebfe6e22a819856dd72f0a8f9d0f11 | 514dfc19da0d9712eceb2d2ad65abc6a9b81fd34 | /ch1/q3.cpp | 437b0287ab0afa1cda4009fcd3668eda04e06565 | [] | no_license | luizalbertocviana/cracking-coding-problems | a2c55a0893fbc4fb2252d081b1fdb9b08f2b9352 | ce7924894a8fec9973ea900a2f2ed444737d7404 | refs/heads/master | 2022-12-07T21:12:18.047079 | 2020-08-28T10:09:13 | 2020-08-28T10:09:13 | 268,706,068 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,034 | cpp | #include <iostream>
// replace all occurrences of " " with "%20"
// replaces all occurrences of from in target with to
void replace(std::string& target, const std::string& from, const std::string& to){
// position where suffix we are going to do a search in begins
auto suffix_start {0};
// first search for from... | [
"luizalbertocviana@gmail.com"
] | luizalbertocviana@gmail.com |
5556dd42a1c0c6ec92adf9798a230df4cd809588 | a1a8b69b2a24fd86e4d260c8c5d4a039b7c06286 | /build/iOS/Release/include/Fuse.Controls.AutoCapitalizationHint.h | c3a8dc94f8e3a5d8fb0e02a960f79e13f7e31712 | [] | no_license | epireve/hikr-tute | df0af11d1cfbdf6e874372b019d30ab0541c09b7 | 545501fba7044b4cc927baea2edec0674769e22c | refs/heads/master | 2021-09-02T13:54:05.359975 | 2018-01-03T01:21:31 | 2018-01-03T01:21:31 | 115,536,756 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 374 | h | // This file was generated based on /usr/local/share/uno/Packages/Fuse.Controls.Native/1.4.2/TextEnums.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.Int.h>
namespace g{
namespace Fuse{
namespace Controls{
// public enum AutoCapitalizationHint :50
uEnumType* AutoCap... | [
"i@firdaus.my"
] | i@firdaus.my |
03a08515f668f7b783225951412320c2cbe9b6f5 | 23745dcb560ba69708ea04127012b69380bbe9c1 | /libs/ncurses_lib/libncurses.cpp | da7555f9e196ed7ce8379f7f07916457df86e790 | [
"Apache-2.0"
] | permissive | elivet/Nibbler | 530826413b66d6167b2591943b2a5f94419a2dae | 9e2e07d9e3fa3dc86a8e25a6db419359fa0e0e8a | refs/heads/master | 2016-08-11T08:10:14.722793 | 2015-09-28T11:01:48 | 2015-09-28T11:01:48 | 43,294,807 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 992 | cpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* libncurses.cpp :+: :+: :+: ... | [
"elivet@e2r4p18.42.fr"
] | elivet@e2r4p18.42.fr |
033c33c15a0212b8efb9e788caa539fa6e7860a7 | 5b0145441280c76037e716a7b020700703adc567 | /src/ConsoleApplication6/main.cpp | 9fdf88f5b63a0986cd63e6113d19680daac2efe1 | [] | no_license | byshen/Smart_car | 47cbdd2f9eeb426b1543ee046df58842d467429d | 7d1bf2df380bb28ebd29b36438700cc8bf2d29a0 | refs/heads/master | 2021-01-11T02:53:55.312255 | 2016-10-14T07:43:33 | 2016-10-14T07:43:33 | 70,885,214 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 7,416 | cpp | #include "SerialPort.h"
#include <iostream>
#include "highgui.h"
#include "cv.h"
#include "car.h"
#include "function.h"
#include "target.h"
using namespace std;
using namespace cv;
#define CAMWIDTH 640
#define CAMHEIGHT 480
int main()
{
IplImage *img = cvCreateImage(cvSize(CAMWIDTH,CAMHEIGHT),IPL_DE... | [
"ahshenbingyu@163.com"
] | ahshenbingyu@163.com |
66c4e05f656fdbde60a9dff61cfe627407012846 | 4e16ee8411f14d4b4b25ba0e30788107f77c9f16 | /TransferKitty/TransferKitty Shared/EASTL/tk_eastl_allocator.cpp | ef06dce267b120da9570fffb58cce56a5f43d9a4 | [] | no_license | VladSerhiienko/TransferKitty | 23ccdd4c0908988dedd8cb3ac554d569becf6fb0 | 9d9420d0ddb1a28e5dc2816dfec9baf2be494365 | refs/heads/master | 2022-04-03T05:47:37.313589 | 2020-02-02T22:36:22 | 2020-02-02T22:36:22 | 215,072,568 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,902 | cpp | //#include <EzriOS.h>
#include <EABase/eabase.h>
#include <new>
#ifdef _WIN32
#include <Windows.h>
#endif
#include <time.h>
//#define MSPACES 1
//#define USE_DL_PREFIX 1
//#define ONLY_MSPACES 1
//#define MALLOC_ALIGNMENT (apemode::kDefaultAlignment)
//#include "malloc.c.h"
//static thread_local mspace tlms = create... | [
"vlad.serhiienko@gmail.com"
] | vlad.serhiienko@gmail.com |
74f2a69adc8c6286eaf90f94e9df140da3f61ef2 | 6fcb5f9b860f6fc05f4021a65a3d59d8619c7900 | /exp-5.cpp | 29bf0b005f518039f2a5f0f32bccdd055ac6a4de | [] | no_license | Bhartisharma28/OOPS | 72d42d8beb922feb6f6d6a8cfb42d2ecad792e0a | d324dd51021d8ff4939eb729ffcdf87406077bb6 | refs/heads/master | 2020-04-08T09:04:14.525153 | 2018-11-26T17:21:19 | 2018-11-26T17:21:19 | 159,206,560 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 525 | cpp | #include<iostream>
#include<math.h>
using namespace std;
class complex
{
int real,imag;
public:
void read()
{
cout<<"enter real no = ";
cin>>real;
cout<<"enter img no = ";
cin>>imag;
}
void show()
{
cout<<real;
if(imag<0)
cout<<"-i";
else
cout<<"+i";
cout<<abs(imag);
}
void... | [
"bhartisharma.bs796@gmail.com"
] | bhartisharma.bs796@gmail.com |
f131abbe1e00e0578b2a683850514eb0ba1b4593 | 379883bdfa84528741a56a2f02a946989b539c65 | /CPP_Deep/has_typedef_foobar.cpp | 3600fb64fbca452eea8373bfc8eb1da9409cb846 | [
"Unlicense"
] | permissive | DGolgovsky/Courses | 3bcaac3dc32d8ee84b02e1aafad0709ae4a6bd41 | 01e2dedc06f677bcdb1cbfd02ccc08a89cc932a0 | refs/heads/master | 2022-12-31T14:27:10.668181 | 2020-10-26T08:10:19 | 2020-10-26T08:10:19 | 111,097,533 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 466 | cpp | template <typename T> struct has_typedef_foobar {
typedef char yes[1]; // sizeof(yes) == 1
typedef char no [2]; // sizeof(no) == 2
template <typename C>
static yes& test(typename C::foobar*);
template <typename> static no& test(...);
static const bool value =
sizeof(test<T>(0)... | [
"d.westcoast@aol.com"
] | d.westcoast@aol.com |
329a88e35a0de29388cb462abfbbfad63ff10ec4 | bf5deee0ff685ae6e73273b4b21d5c8df6501d69 | /LiquidCoreiOS/LiquidCore/node-8.9.3/V82JSC/Context.cpp | a9c9b70c0fa2efda498d952bfe1c1a9eea40a90e | [
"MIT"
] | permissive | stristr/LiquidCore | f9b2fde1ece2678e9d19e900aee5b2c7841d6207 | f99e7ef46072a11b3bd3cc5fa3e0643f1c35b229 | refs/heads/master | 2020-04-22T12:17:42.810286 | 2019-02-11T19:37:37 | 2019-02-11T19:37:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 43,263 | cpp | /*
* Copyright (c) 2018 Eric Lange
*
* Distributed under the MIT License. See LICENSE.md at
* https://github.com/LiquidPlayer/LiquidCore for terms and conditions.
*/
#include "V82JSC.h"
#include "JSContextRefPrivate.h"
#include "JSObjectRefPrivate.h"
extern "C" unsigned char promise_polyfill_js[];
extern "C" uns... | [
"eric@flicket.tv"
] | eric@flicket.tv |
806bdf5993aa1d99c524022a5787cdc143de3641 | 8f9eb42e1d3fe030049de02a58ddc8c69ca36ae4 | /swig-4.0.0/Source/Modules/allegrocl.cxx | f32d349764afe0d7c28ef6ae58691850f418a1ed | [
"LicenseRef-scancode-swig",
"GPL-3.0-or-later",
"GPL-3.0-only",
"LicenseRef-scancode-unknown-license-reference",
"BSD-2-Clause"
] | permissive | goelshivam1210/human_robot_interaction | 556639d91e04e4b4a156bb32c8146a62bab37dbf | b5ace6afdb68c577bc059080705f7157d8765f9f | refs/heads/master | 2023-07-22T02:35:49.674723 | 2020-02-16T23:05:16 | 2020-02-16T23:05:16 | 207,960,013 | 0 | 2 | BSD-2-Clause | 2023-07-06T21:08:30 | 2019-09-12T03:49:25 | HTML | UTF-8 | C++ | false | false | 92,227 | cxx | /* -----------------------------------------------------------------------------
* This file is part of SWIG, which is licensed as a whole under version 3
* (or any later version) of the GNU General Public License. Some additional
* terms also apply to certain portions of SWIG. The full details of the SWIG
* lice... | [
"goelshivam1210@gmail.com"
] | goelshivam1210@gmail.com |
acec717f65b1238f7d1ecf71777e7159fc445a2f | 0bb5d96d6b9e844b4ce33efdc791ac2800a267a6 | /accurate lee.cpp | 1b809c80cb24ef63dd0292fa9a21eb474a96c759 | [] | no_license | labhmanmohan25/Classical-Codes | c701fa9086015aa38b898b05524344e88bd57146 | a127e362f8bec8f4b6635d6882ae4d40f5058492 | refs/heads/master | 2022-11-20T20:25:46.643457 | 2020-07-28T14:34:05 | 2020-07-28T14:34:05 | 283,234,467 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,182 | cpp | #include <bits/stdc++.h>
#include <vector>
#include <string>
#include <stdio.h>
#include <math.h>
#include <cstdlib>
#include <iostream>
#include <cstdlib>
#include <cmath>
#include <algorithm>
using namespace std;
const int INF = 1e9 + 5;
const int MOD = 1000000007;
const int MAX = 10000005;
const double... | [
"noreply@github.com"
] | labhmanmohan25.noreply@github.com |
f8640ad8064ae718b528e52923431a8eb509b261 | f653411ee44157853775f7fb13ed316b9fb99fc3 | /Renderer.h | 479d178ba28814f8c1336b44debf05d178dde2d3 | [] | no_license | matsumoto36/DirectX11Lesson | 020edaf1ed5e8cfe59e39729a90ea0e3c090445d | e2f7c960d373275e24a424f960994eb7f93785e6 | refs/heads/master | 2020-04-03T01:07:28.889057 | 2019-01-14T22:42:18 | 2019-01-14T22:42:18 | 154,919,875 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 3,170 | h | #pragma once
#include <d3d11.h> //DirectX11
#include <DirectXColors.h> //DirectX::Colorsを利用するために必要
#include <d3dcompiler.h>
#include <iostream>
#include <vector>
#include "Mesh.h"
#include "Shader.h"
#include "Material.h"
#pragma comment(lib, "d3d11.lib") //リンクするために必要
#pragma comment(lib, "d3dCompiler.lib")
... | [
"nkc.ryo.matsumoto@gmail.com"
] | nkc.ryo.matsumoto@gmail.com |
474cf23c53503f33f19eb64b7d6c3415aa9aaba0 | 3d63f36f54a2e2d8d24285736131cd24631052ac | /include/cilantro/3rd_party/Spectra/LinAlg/UpperHessenbergEigen.h | 4e099f5667fbf089b92312fa8630b9918b276064 | [
"MIT"
] | permissive | xiaohulugo/cilantro | 08deff73b3841711783fa4f5cd105d2cab7df85f | 6da4fc8a3b7dbebf97043372fd32070faf4486b2 | refs/heads/master | 2020-07-19T02:19:35.546556 | 2019-07-17T16:12:30 | 2019-07-17T16:12:30 | 206,358,444 | 2 | 1 | MIT | 2019-09-04T15:59:23 | 2019-09-04T15:59:23 | null | UTF-8 | C++ | false | false | 12,309 | h | // The code was adapted from Eigen/src/Eigenvaleus/EigenSolver.h
//
// Copyright (C) 2008 Gael Guennebaud <gael.guennebaud@inria.fr>
// Copyright (C) 2010,2012 Jitse Niesen <jitse@maths.leeds.ac.uk>
// Copyright (C) 2016-2019 Yixuan Qiu <yixuan.qiu@cos.name>
//
// This Source Code Form is subject to the terms of the Mo... | [
"kzampog@gmail.com"
] | kzampog@gmail.com |
5ee49ce7cdc0e0a6c02842997d642f263e42c938 | 595cc97ac5162a77d89b1c27f787904a0f1e3f9a | /2016_10/ANT_P021_dash/main.cpp | eb37b030ab627d4b9900a4072c358486e3d6792a | [] | no_license | TonyMooori/studying | 4eb3cf05fbd2b4449a701ed223068ab7f87eb802 | c7470b1eed9177b95f678d01d072fcacbacd229f | refs/heads/master | 2020-09-25T07:50:11.325972 | 2019-12-27T17:01:23 | 2019-12-27T17:01:23 | 66,943,322 | 2 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 596 | cpp | #include <bits/stdc++.h>
using namespace std;
#define N_PRIME 1000000007
#define ll int64_t
int main(void){
int n;
vector<int> a;
cin >> n;
for(int i = 0 ; i < n ; i++ ){
int temp = 0;
cin >> temp;
a.push_back(temp);
}
sort(a.begin() , a.end() );
reverse(a... | [
"tony.mooori@gmail.com"
] | tony.mooori@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.