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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2ca4eb0e1da4d0a84d444a89599fd630dabcde3b | a2206795a05877f83ac561e482e7b41772b22da8 | /Source/PV/build/VTK/Wrapping/Python/vtkGeneralTransformPython.cxx | 14e09b5c91f697f4355ffbeee76c8c46c9cf532b | [] | no_license | supreethms1809/mpas-insitu | 5578d465602feb4d6b239a22912c33918c7bb1c3 | 701644bcdae771e6878736cb6f49ccd2eb38b36e | refs/heads/master | 2020-03-25T16:47:29.316814 | 2018-08-08T02:00:13 | 2018-08-08T02:00:13 | 143,947,446 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 34,407 | cxx | vtkGeneralTransformPython.cxx | // python wrapper for vtkGeneralTransform
//
#define VTK_WRAPPING_CXX
#define VTK_STREAMS_FWD_ONLY
#include "vtkPythonArgs.h"
#include "vtkPythonOverload.h"
#include "vtkConfigure.h"
#include <vtksys/ios/sstream>
#include "vtkIndent.h"
#include "vtkGeneralTransform.h"
#if defined(VTK_BUILD_SHARED_LIBS)
# define VTK_PY... |
f0b7b4cfcae78e5a02c69d8f7c20c40a3f6d9a2e | 5ee0eb940cfad30f7a3b41762eb4abd9cd052f38 | /Case_save/case5/1100/PMV | 2b86e16350681a5e591ae00e4b001e589a934245 | [] | no_license | mamitsu2/aircond5_play4 | 052d2ff593661912b53379e74af1f7cee20bf24d | c5800df67e4eba5415c0e877bdeff06154d51ba6 | refs/heads/master | 2020-05-25T02:11:13.406899 | 2019-05-20T04:56:10 | 2019-05-20T04:56:10 | 187,570,146 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,454 | PMV | /*--------------------------------*- C++ -*----------------------------------*========= |
\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\ / O peration | Website: https://openfoam.org
\ / A nd | Version: 6
\/ M anipulation |
\*---------------... | |
90e38deffa089d6cc51e0168adf399c4f641d4b3 | c6259f4f2dcbb400daf554a72ce0452221b0b55f | /inventario.h | ecf312b3ede662d6115dcf65530afe32a57a3e73 | [] | no_license | kevinPinzon/Proyecto-Super_Mercado | 761bfd4fb0e54e003b8f3a175336572ebe4ceb0e | 7b35cc406dc426f93223486e7249d674678ee503 | refs/heads/master | 2020-12-25T16:49:41.680304 | 2015-03-26T18:46:41 | 2015-03-26T18:46:41 | 32,841,055 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 633 | h | inventario.h | #ifndef INVENTARIO_H
#define INVENTARIO_H
#include "usuario.h"
#include "productos.h"
#include <vector>
#include <QDialog>
using std::vector;
namespace Ui {
class Inventario;
}
class Inventario : public QDialog
{
Q_OBJECT
public:
explicit Inventario(vector<Productos*>*,vector<usuario>* = 0,QWidget *parent ... |
d0a3db9f26566d51c5fb40d344a4aad8e1ec5fd3 | 51338769852ba8f28e57d0cde0c50a758fce1d4e | /DataHub-Vivado/DataHub-Vivado.sdk/DataHub/src/Messages.cpp | 13cac1d9888d4bff95dbbd4c179aea48eb6bb9e7 | [] | no_license | brentru/568_WiFi | ebf81d9417d99d885ece04a12f1d8b50b63f993d | a576cb8c674fc3380334d290f780775c309452e0 | refs/heads/master | 2021-04-15T07:46:10.558308 | 2018-03-29T16:08:02 | 2018-03-29T16:08:02 | 126,885,082 | 1 | 0 | null | 2018-03-26T20:18:50 | 2018-03-26T20:18:43 | null | UTF-8 | C++ | false | false | 725 | cpp | Messages.cpp | #include "Messages.h"
#include <string.h>
bool CreateConnReqMsg(Message* msg, uint8_t nodeId)
{
//msg = new Message();
msg->header.sourceId = nodeId;
msg->header.msgType = (uint8_t)CONNECTION_REQ;
return true;
}
bool CreateSysHealthMsg(Message* msg, uint8_t* payload, uint8_t nodeId)
{
//msg = new ... |
a44507fbc42b1aa7a41bef10bc5ada5737a06ddb | b871d7cb6751064cfa0b73b7d1478029252d3ac3 | /src/fs/allocationtask.cpp | 714413b993db0b4195a506dabf4206982b92c662 | [] | no_license | nathan-osman/twistload | d64a7a4c8b64deaa542689a851cca90109bdd7b1 | dc9f552f566f371322850cb781c53413250107a0 | refs/heads/master | 2021-01-18T09:51:12.616609 | 2017-07-21T19:02:24 | 2017-07-21T19:02:24 | 19,922,717 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,969 | cpp | allocationtask.cpp | /*
* The MIT License (MIT)
*
* Copyright (c) 2017 Nathan Osman
*
* 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,... |
5842f2366ef8f3ddad0b6dcc811843f55f9a2c58 | 406d18198867dfec984a0e8fd64cd29f00e3f542 | /11399_ATM.cpp | d1086a2e70ecc85a771c47c3e95c6a4e5e4cb4fd | [] | no_license | CodingTestStudy/everyday_ps | 8e09411fe46cdc5177b312404253efe3170c09ee | 9115d567bb9b45f568ff79082dd67e1b2f01ae8e | refs/heads/master | 2023-02-23T23:12:42.817775 | 2021-01-23T13:31:25 | 2021-01-23T13:31:25 | 323,349,217 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 322 | cpp | 11399_ATM.cpp | #include <iostream>
#include <algorithm>
#include <vector>
using namespace std;
vector<int>v;
int main() {
int a; cin >> a;
v.resize(a);
for (int i = 0; i < a; i++)cin >> v[i];
sort(v.begin(), v.end());
int sum = 0;
int ans = 0;
for (int i = 0; i < v.size(); i++) {
sum += v[i];
ans += sum;
}
cout << ans;
... |
befd59f274d517ddf25b6dad640370b6399977e6 | ecd09f15445be45e6278335de23ac7803d21e7e3 | /sharpenyourself/effective_c++/clause6_be_aware_compiler_generated_function.cpp | bc9579d09c3a8b723f7f798f61a28a492bbe8ac7 | [] | no_license | zhu-liang/sharpen | 0d1d928b39a8d16a5f32b8ad35010474d991f3ae | 783eafe03452ba3ce6928e847bb1217e376997fe | refs/heads/master | 2021-01-12T08:25:01.165056 | 2017-01-01T09:14:56 | 2017-01-01T09:14:56 | 76,571,458 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,816 | cpp | clause6_be_aware_compiler_generated_function.cpp | /* This is to help understand effective C++ from
* Scott Meyers
* as named sharpen yourself
*/
/*
1. compiler will add silienty for us
with copy constructor
copy assignment
copy constructor
if they are used in the code, for example, shown as follows
*/
class Foo {
int iVal;
st... |
507a342306d246834dfac60a609197ae8b4fc77c | bf1f45e565451d514e2ec698a2ae5eb835ebe056 | /GameStart.h | 8bb0aaf998563cfa3454e83a093dd1aac6ea8f7e | [] | no_license | MrHause/sdl_snake | fa3a0225103a60cec12bc26fedc0051b36bbd86c | d2746ae0865173cf7b9ef6f1657bb5d04f915f59 | refs/heads/master | 2023-06-23T23:20:48.074576 | 2021-07-18T11:02:53 | 2021-07-18T11:02:53 | 371,417,155 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,099 | h | GameStart.h | #pragma once
#pragma once
#include "SDL.h"
#include "GameStates.h"
#include "TextureMenager.h"
class GameStart : public GameStates {
private:
SDL_Texture* texture;
SDL_Rect srcRect, dstRect;
public:
GameStart(const char* path) {
texture = TextureMenager::loadTexture(path);
srcRect.x = 0;
srcRect.y = 0;
sr... |
360dc9d01d9fc9f23a6247d1ceeb018bbd8d3c35 | b7fb0d2648b49af647f583d06ad492745a1ecbde | /src/graph_io/src/readPythonGraphFile.h | 0a183ca36dcdb7216919de9ac9f1907a51be5f12 | [] | no_license | oscar-raig/rebuild-graph | d262e1eb0b30fbfba8aed7302e37be3730d20e06 | 38cbe0766a308ae73e6411b3f026855172fed464 | refs/heads/master | 2021-01-22T23:26:21.936952 | 2015-10-09T21:51:12 | 2015-10-09T21:51:12 | 42,291,951 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 526 | h | readPythonGraphFile.h | //
// readPythonGraphFile.h
// rebuild_graph
//
// Created by Oscar Raig Colon on 20/7/15.
// Copyright (c) 2015 Oscar Raig Colon. All rights reserved.
//
#ifndef __rebuild_graph__readPythonGraphFile__
#define __rebuild_graph__readPythonGraphFile__
#include <stdio.h>
#include "gslGraph.hpp"
#ifndef STRING_LENGTH... |
7ae13af7cb052de19c463d9e34c3b777df1acbf2 | 5ce3aff51c41a54b1456b4eea9551c5238365eba | /RRT_star/src/splined-RRT-star2/Line_Angle.cpp | 3090608daeddcc8612784b80549d031b3b99f0bc | [] | no_license | baihongzeng/F1_10_car | cf9c5cc94cb6e527a7db48cb63c7e0bdd8393d5e | 1a2bc1a471aef29454c9d57515c0e4947274c4f1 | refs/heads/master | 2020-08-01T07:25:31.877455 | 2019-12-02T01:57:40 | 2019-12-02T01:57:40 | 210,911,824 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,422 | cpp | Line_Angle.cpp | #include <tuple>
#include "NodeClass.h"
#include <array>
#include "constants.h"
#include "Line_Angle.h"
//Purpose: get gradient k and interceptor b of the line between p1 and p2
//input: line starts from p1 to p2
//output : k : gradient of the line; b : intercept of the line
get_k_b_output Get_k_b(COORD p1, C... |
970ed775e933c3ad34059c2be59fbc0ffc46b552 | a47717514cc9f5e7d76b9bfd1d38d11775249ae6 | /Atividades/Renan Henrique/Revisão/Lista 4/Exercicio 2/src/Filmes.cpp | fc8091bcdd9b243192a56452175003bb1784c64c | [] | no_license | professorlineu/PRCE2-2019-2 | ccfbb43654069e5db529bca5bb8038212f44e9b6 | 3c20eef4af268e7d8b1527a5351722a4e1ccc45d | refs/heads/master | 2020-06-26T03:13:13.294654 | 2019-12-10T01:14:33 | 2019-12-10T01:14:33 | 199,508,327 | 7 | 3 | null | 2019-09-12T00:30:35 | 2019-07-29T18:41:42 | C++ | ISO-8859-1 | C++ | false | false | 929 | cpp | Filmes.cpp | #include "Filmes.h"
Filmes::Filmes()
{
//ctor
ID = 0;
Ano = 0;
sNome = "-";
}
Filmes::~Filmes()
{
//dtor
}
void Filmes::setNome()
{
string x;
cout << "Inserir nome do filme: ";
getline (cin, x);
sNome = x;
}
void Filmes::setID()
{
int y;
cout << ... |
07084fbbc934032f97c532daec01cc6d18524bad | 998ab7c44e7ac838aed0978d12952224767375e5 | /Programming in C and C++/a7/two.h | 9d21c34b325b978a1b5e8451e25726300bc120d2 | [] | no_license | SubigyaPaudel/Jacobs_Coursework | ac04c40b79dccea0a0e6803726a0540fe0f355d1 | 1f0af156774a24a80310572d65851f284b0e9d86 | refs/heads/main | 2023-05-14T06:50:30.740309 | 2021-06-13T15:21:39 | 2021-06-13T15:21:39 | 337,528,656 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,448 | h | two.h | #include <cstring>
#include <iostream>
class one{
protected:
std::string name;
int age;
public:
one();
one(std::string, int);
one(const one&);
std::string getname() const{return name;}
void setname(std::string name){this->name = name;}
int getage(... |
df069a0c9ac1c2de8a48be2945fffc67913f729b | 154fda133653215a16fc6a9a164e2b58302a3bc9 | /Notas de Clase/clase04/overflow.cpp | edbefbf591acddface31bfee7606508a6fb0348e | [] | no_license | cgaravitoc/Herramientas-Computacionales | 77061bbbec104177d337f0d0a910cd91775e7a5b | 05e4b88db643699217e548a7c2b5447e8212550e | refs/heads/master | 2021-03-27T19:12:30.736350 | 2017-10-20T16:57:14 | 2017-10-20T16:57:14 | 99,986,033 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 853 | cpp | overflow.cpp | #include<iostream>
int main(){
std::cout<< "*********int***********" << "\n";
int intunder =1000;
int intover =1000;
int N=10000;
for(int i=1;i<=N;i++){
intunder=intunder+1;
intover=intover-1;
std::cout << i << "\t" << intunder << "\t" << intover << "\n" ;
}
std::cout<< "*********double****... |
4ea85d604b6d20b00b63f03f1373153fe680ff1c | fcf03ead74f6dc103ec3b07ffe3bce81c820660d | /AppProts/InetProtUtil/ExampleInetProtUtil.cpp | 11a15753dfe54496fe34bd030739230bf7ac8862 | [] | no_license | huellif/symbian-example | 72097c9aec6d45d555a79a30d576dddc04a65a16 | 56f6c5e67a3d37961408fc51188d46d49bddcfdc | refs/heads/master | 2016-09-06T12:49:32.021854 | 2010-10-14T06:31:20 | 2010-10-14T06:31:20 | 38,062,421 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,806 | cpp | ExampleInetProtUtil.cpp | // ExampleInetProtUtil.CPP
//
// Copyright (c) Symbian Software Ltd 2005. All rights reserved.
//
/**
ExampleInetProtUtil is a sample code for understanding the applicability of InetProtUtil.
It is intended as an example and introduction to the INETPROTUTIL API's.
Users should have a brief unders... |
ce33a681dfdd491f8a13f21c927d212458919eea | e26c75947a218bca70989cbe0a0b2f3d4e782e8b | /src/storage/ButtonMap.cpp | de24144ad3f40f204a0c1e4892e726063ee9e6c4 | [] | no_license | acmiyaguchi/peripheral.joystick | c5014b773be44c02399b300c267cf37f69d8c8c1 | d9c85400f9da8f41c7f15065a8c5800ea77eddf8 | refs/heads/master | 2021-01-14T08:54:53.445751 | 2015-07-06T19:39:44 | 2015-07-06T19:41:49 | 37,966,226 | 0 | 0 | null | 2015-06-24T06:18:18 | 2015-06-24T06:18:18 | null | UTF-8 | C++ | false | false | 10,667 | cpp | ButtonMap.cpp | /*
* Copyright (C) 2014-2015 Garrett Brown
* Copyright (C) 2014-2015 Team XBMC
*
* This Program 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 2, or (at your option)
* any ... |
c7a347f0ef5f768a72bab7262320d8c76a3563ad | cc4ebc7907c46626179e6a9f1b98c349f9fadf89 | /include/FixPointReciprocal.h | 332b08ec8ea689b4f6d8c4d77b22b465b1d880a7 | [] | no_license | kameier/GDecimal | 0793dabac17fd88b296d303d280418ed8918348f | e43787cde86cec04be8eedfb6ba057bc4469ecce | refs/heads/master | 2020-08-28T15:17:34.872677 | 2019-11-10T11:42:52 | 2019-11-10T11:42:52 | 217,737,198 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,397 | h | FixPointReciprocal.h | #ifndef FixPointReciprocal_H
#define FixPointReciprocal_H
namespace FixPointOperator
{
template <typename UINT_T, int MAX_LEN> inline int DoWithDivZero(FixPointData<UINT_T, MAX_LEN>& A)
{
for(int i = 0; i < MAX_LEN; ++i) {
A[i] = ~((UINT_T)0);
}
return -1;
}
template <int MAX_LEN> inline UINT16 r... |
11927cd74995c7eeeadaa2b1deb86765a76ed7f8 | 3fbf7bd76a502c13b29d54cd19d8467a7d013899 | /mmoserver/src/Registry.cpp | 5d561f21cf60fadebfa0af2c2a1ae0f44942bab1 | [] | no_license | kspine/mmoserver-1 | d96605e357f157c29c04d2efdc9185f696b18dc7 | c77a4a2635758d2a6f29ab331b136e905107dc27 | refs/heads/master | 2021-05-06T08:01:26.860134 | 2014-11-07T01:44:46 | 2014-11-07T01:44:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 235 | cpp | Registry.cpp | /*
* Registry.cpp
*
* Created on: 11 Jun 2014
* Author: dilan
*/
#include "Registry.h"
Registry::Registry() {
// TODO Auto-generated constructor stub
}
Registry::~Registry() {
// TODO Auto-generated destructor stub
}
|
c09fb99b9f626c1b3e9b93931aa8cb18a7ab26b2 | 666a5d909f19701c6fc5ddca3919b06829adfcce | /AppManager.cpp | dc2a65cabd99822401ca097dbefe527a7bd26aa5 | [] | no_license | joydeveloper/CartoonLife | dbfd52392eeb78814308df8a095706e744477d4b | f87148f3d2a4ababaefcf9e69f7bc6d57f2ff64d | refs/heads/master | 2021-01-24T08:18:34.580256 | 2017-06-05T08:12:36 | 2017-06-05T08:12:36 | 93,379,450 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 2,965 | cpp | AppManager.cpp | #include "stdafx.h"
#include "AppManager.h"
int AppManager::SubSystemOptionGet(int value)
{
return options.apptype;
}
void AppManager::SubSystemOptionSet(Data::AppType at)
{
options.apptype = at;
}
void AppManager::ShowTitle()
{
BaseInterface::ConsoleInterface::ShowMessage(" _____... |
268145e8ae16eab0ebd03cb469269f20d221c52c | 233766c3228b98ae42371ab4a70d559429ad74f5 | /lab25/src/Backpack.h | 072e94003edabd669bdc9fc708d78a05009a7a3b | [] | no_license | Vlad-Makarenko/Programing-repo | 5d4e9769ac0257079d21885489c7bb183661a075 | 8c1d1bbee825fde2da571f418f813948a090a4cc | refs/heads/main | 2023-05-09T12:12:20.583174 | 2021-06-01T21:19:15 | 2021-06-01T21:19:15 | 303,690,931 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,950 | h | Backpack.h | //
// Created by Vlad on 20.04.2021.
//
#ifndef LAB23_BACKPACK_H
#define LAB23_BACKPACK_H
#include <string>
#include <sstream>
#include <cstring>
#include <iostream>
#include <fstream>
#include <regex>
using std::string;
using std::cin;
using std::cout;
using std::endl;
using std::stringstream;
using std::ifstream;
u... |
bfb4c241d038fc85150c43f9c2b4d871075809d2 | 1027c6b4501df19d5fdd543d510860c8e7ef1544 | /source/glannotations/source/Utility/BSpline2D.cpp | be5abd4b3fd605af5fa5e87ca75da456d33e0fb0 | [
"MIT"
] | permissive | dgimb89/glannotations | ee13a9fd0d40bb0fb14a1e4b312b2ddf02a7a6db | df687dbae1906cdb08c7b10cb006c025c4ba6406 | refs/heads/master | 2020-06-14T21:51:35.092964 | 2016-12-02T15:57:35 | 2016-12-02T15:57:35 | 75,408,576 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,525 | cpp | BSpline2D.cpp | #include <glannotations/Utility/BSpline2D.h>
#include <glm/gtx/vector_angle.hpp>
#include <glm/gtx/rotate_vector.hpp>
#include <iostream>
#include <math.h>
glannotations::BSpline2D::BSpline2D(std::vector<glm::vec2> ctrlPoints, std::vector<float> knotValues)
: BSpline(knotValues) {
assert(ctrlPoints.size() > 0);
... |
07e77a81f94a073c42845a6bc4c444131804835c | fb51c1a4907a3f727fd144d06e0d74b0e4917747 | /Algo/Chaos/Thanos sort/main.cpp | 3b7b5f64d6ecaa03ba954e93f2e2645e0c9efafe | [] | no_license | lawrence910426/practice | 181aab797d613b9b847d86744b4bec5d0aeeb42f | 890a41b910805de6eec70882a4dfdb261d13e601 | refs/heads/master | 2023-03-17T04:09:44.291078 | 2022-03-11T16:23:24 | 2022-03-11T16:23:24 | 186,070,762 | 3 | 1 | null | 2023-03-06T10:44:16 | 2019-05-11T00:39:00 | C++ | UTF-8 | C++ | false | false | 452 | cpp | main.cpp | #include <iostream>
using namespace std;
int data[1000];
int ans(int l ,int r) {
if(r - l == 1) return 1;
bool AC = true;
for(int i = l;i < r - 1;i++)
AC &= data[i] <= data[i + 1];
if(AC) return r - l;
else {
int left = ans(l ,(l + r) / 2);
int right = ans((l + r) / 2 ,r);
return (left > right ? left : r... |
9bf1caa1ac95d623ba91bfbc52c4132fd3781a21 | b6523b473b0162fab07a1284d22bb7e7a9f6d516 | /coroAsio/Result.h | 6570b939fd3dac1f7f3b5bafe33b1a3839001069 | [] | no_license | ladnir/coroAsio | 4feb9eb2c617192adedde4bee0f6dd4f4a0de124 | 2263d7b8dd3741ffccac755400360bf7b404d251 | refs/heads/master | 2021-05-17T17:46:04.805700 | 2020-03-31T19:20:31 | 2020-03-31T19:20:31 | 250,902,700 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,879 | h | Result.h | #pragma once
#include <experimental/coroutine>
#include <variant>
#include <optional>
#include <system_error>
#include <tuple>
#include <iostream>
#include <string>
#include "cppcoro/task.hpp"
#define INLINE_VARIANT
#define VERBOSE(x)
//#define VERBOSE(x) x
namespace ncoro
{
using u64 = unsigned long long;
... |
fadfcb699d7d9f2ee0c570a74b51604c83d86815 | ee92057a8ebc91ba90d8055a9bece25d24211499 | /codeforces/766div2/notsitting/notsitting.cpp | 914cfd12a56e5771702d846997d5cfd374faa74f | [] | no_license | KendrickAng/competitive-programming | ce0a4f44f592f295c2f8cd7e854139f18fb8853a | f9768a2020f801b8e4787cc853398b8258a0bf09 | refs/heads/master | 2022-05-29T07:21:32.607089 | 2022-04-24T16:35:14 | 2022-04-24T16:35:14 | 254,402,307 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 183 | cpp | notsitting.cpp | #include <bits/stdc++.h>
using namespace std;
void solve() {
int rows, cols; cin >> rows >> cols;
}
int main() {
int t; cin >> t;
while (t--) {
solve();
}
} |
2e06b842a6c42997f88947109f9626be2b6dd591 | 569ccc9399a56d8172a4b12fbd042eac29d84042 | /src/ast/FunctionGroupImport.cpp | f4091e16b7fa148c852d0ad1f910cc8dba7f3388 | [
"MIT",
"BSL-1.0"
] | permissive | denisw/soyac | 4c2dd735c74c9d0df6841f245a3ce81cceb54595 | 2531e16e8dfbfa966931b774f9d79af528d16ff9 | refs/heads/master | 2020-12-30T23:33:19.346245 | 2020-07-02T20:23:39 | 2020-07-02T20:23:39 | 36,035,646 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 676 | cpp | FunctionGroupImport.cpp | /*
* soyac - Soya Programming Language compiler
* Copyright (c) 2009 Denis Washington <dwashington@gmx.net>
*
* This file is distributed under the terms of the MIT license.
* See LICENSE.txt for details.
*/
#include "FunctionGroupImport.hpp"
#include "UnknownType.hpp"
#include "Visitor.hpp"
namespace soyac {
na... |
7f4a0d9e6ec3b050bd97932766020eb49d6f4762 | fb49cc52097f825bf2e40303e2d16cfb754d5220 | /PRAC16.CPP | cade7a1bfca760a056b864a1b9718ac530ee97fc | [] | no_license | Prashant1099/Cpp-Program | cbf5a6cc41dad45ff4fa64df22dbb75fbf456ecd | a790d68bfeb48dbc980c746cb1352e1803277ee5 | refs/heads/master | 2022-04-21T20:58:40.045972 | 2020-04-24T09:52:58 | 2020-04-24T09:52:58 | 258,469,659 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 551 | cpp | PRAC16.CPP | /* A program which takes any year as i/p and prints input year is either Leap
year or not with switch case*/
#include<conio.h>
#include<stdio.h>
#include<iostream.h>
void main()
{
int y;
clrscr();
cout<<"\n Enter any Year = ";
cin>>y;
switch(y%4)
{
case 0:
cout<<"\n "<<y<<" is Leap Ye... |
08d68fa4491eb4f48d78ff1f1e8cfe82e30ce16c | a5a99f646e371b45974a6fb6ccc06b0a674818f2 | /SimG4Core/PhysicsLists/interface/CMSEmStandardPhysicsTrackingManager.h | eb4247d6a010df5be6daeb3de35f71ba4c65e86d | [
"Apache-2.0"
] | permissive | cms-sw/cmssw | 4ecd2c1105d59c66d385551230542c6615b9ab58 | 19c178740257eb48367778593da55dcad08b7a4f | refs/heads/master | 2023-08-23T21:57:42.491143 | 2023-08-22T20:22:40 | 2023-08-22T20:22:40 | 10,969,551 | 1,006 | 3,696 | Apache-2.0 | 2023-09-14T19:14:28 | 2013-06-26T14:09:07 | C++ | UTF-8 | C++ | false | false | 1,666 | h | CMSEmStandardPhysicsTrackingManager.h | #ifndef SimG4Core_PhysicsLists_CMSEmStandardPhysicsTrackingManager_h
#define SimG4Core_PhysicsLists_CMSEmStandardPhysicsTrackingManager_h
#include "G4VTrackingManager.hh"
#include "globals.hh"
#include "G4MscStepLimitType.hh"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
class G4eMultipleScattering;
class ... |
bd07dd6471aeb25147be3d961a77891a1a9c877a | bbb0143e92d774455972a85a6b780bfc2e2d7dfe | /src/Platformer/Components/gocPhysicsSimple.cpp | 9665bab101f9a4524a7c6cc2bac011ca26a4f810 | [] | no_license | StarlitGhost/Time-Travel-Platformer | 1ca9bafad265e2c3bb2962ee29692ad9b6df4075 | 9a61ecb4118ba79146b637d0b6fed1996a19e71a | refs/heads/master | 2021-05-28T11:54:26.312009 | 2012-02-17T17:26:32 | 2012-02-17T17:26:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,045 | cpp | gocPhysicsSimple.cpp | #include "gocPhysicsSimple.h"
#include "FlatWorld/ComponentSystem/GameObject.h"
#include "FlatWorld/Utilities/MathsUtilities.h"
FlatWorld::Vector2f Direction(float angle)
{
angle = MathsUtilities::degToRad(angle);
return FlatWorld::Vector2f(cos(angle), sin(angle));
}
void gocPhysicsSimple::ReceiveMessage(std::str... |
aeb6e41635779eb17670f14989d8dfcfd4e96bae | 14766dbe14ffbf2df7a69783ca1718ae8e2c32b0 | /cam/test.cpp | 3232d6fd09175b90007cbfeb53822ca09654ae73 | [] | no_license | RobinchowUPC/DigitsRecognizeMechineLearning | 611cc69981bfd420072d1c0caa496b04eb007b97 | bd1ef20e9dc9bf93438de5462ce1be5fabe0610b | refs/heads/master | 2021-01-22T05:50:42.918479 | 2017-02-12T09:31:06 | 2017-02-12T09:36:41 | 81,713,451 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,516 | cpp | test.cpp | #include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/core/core.hpp>
#include <stdio.h>
#include <iostream>
#include <string>
#include <ml.h>
#include "train.h"
using namespace cv;
using namespace std;
Point2f vertex[4];
Rect rect;
struct RectInfo{
int value;
int cen_... |
8439024253f04b8d2e43c6beb8d1d04de89c79b3 | b4a3355ec84d211c8f4f2f831e61e943e9ac8bba | /ZooidEngine/ZooidEngine/Resources/Mesh.h | 1efd9c83bcef2816e2d47750125235e615cb42c3 | [
"MIT"
] | permissive | azon04/ZooidEngine | 91d061ee6bf3d5da6bc6f6e4db8537ac5d667edd | d5fb00edd5d3097976c5d110d3a70820d5d1a46c | refs/heads/master | 2021-06-07T08:01:45.359432 | 2018-05-28T18:40:10 | 2018-05-28T18:40:10 | 82,997,896 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 505 | h | Mesh.h | #ifndef __ZE_MESH_H__
#define __ZE_MESH_H__
#include "GameObjectModel/Object.h"
#include "Memory/Handle.h"
namespace ZE
{
class IGPUBufferArray;
class IGPUBufferData;
class GameContext;
class Material;
class Mesh : public Object
{
DEFINE_CLASS(Mesh)
public:
Mesh() :
m_doubleSided(false)
{}
IGPUB... |
ed6272c8e1b834d3901539948622560cccde5526 | b5feb6b786a98937331214d1a6d3832e3c625b6d | /pathtracer/src/tools/Tools.hh | 01cb10e9b7b4a853ad8f84b1bfb37f85c079ef11 | [
"MIT"
] | permissive | bjorn-grape/bidirectional-pathtracer | e62f23a0d2b665c00c203386d012e62c9511f6bb | 6fbbf5fc6cee39f595533494d779726658d646e1 | refs/heads/master | 2020-04-23T21:56:38.105844 | 2019-07-25T16:40:55 | 2019-07-25T16:40:55 | 171,485,298 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,148 | hh | Tools.hh | #pragma once
#include "SplitAxis.hh"
#include "Vector3D.hh"
#include "Polygon.hh"
#include "Ray.hh"
template<typename T>
class Tools {
public:
typedef std::function<bool(Vector3D<T>, Vector3D<T>)> funcVecTor3sqToBool;
typedef std::unordered_map<Polygon::compFactor, funcVecTor3sqToBool> mapAxis;
inline st... |
5d44e192909e089be7ed5f2bf97e59cfd1c729d2 | bcf82a607c757ba0ead2997a760eabf1c2e491ee | /test/unit/limits_test.cpp | 0d62affbaa209d0f11f250e5eda67d5e3796a4c7 | [
"LicenseRef-scancode-stlport-4.5",
"LicenseRef-scancode-mit-old-style",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | LiveMirror/stlport | f338a945e2adbcb3d174258073a16a9053924b02 | f30e7a8c331eb6ef154c0e1936c2bd0617811356 | refs/heads/master | 2021-09-05T14:48:59.167863 | 2012-12-29T18:45:45 | 2012-12-29T18:45:45 | 119,320,101 | 7 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 8,030 | cpp | limits_test.cpp | /* boost limits_test.cpp test your <limits> file for important
*
* Copyright Jens Maurer 2000
* Permission to use, copy, modify, sell, and distribute this software
* is hereby granted without fee provided that the above copyright notice
* appears in all copies and that both that copyright notice and this
* perm... |
d2db57935150d8f1f166c4e2b6121b49aca91c69 | a5a99f646e371b45974a6fb6ccc06b0a674818f2 | /FWCore/Utilities/interface/Span.h | 9d4f16b2b17e8fceb38e4f6e299333e6cd69d240 | [
"Apache-2.0"
] | permissive | cms-sw/cmssw | 4ecd2c1105d59c66d385551230542c6615b9ab58 | 19c178740257eb48367778593da55dcad08b7a4f | refs/heads/master | 2023-08-23T21:57:42.491143 | 2023-08-22T20:22:40 | 2023-08-22T20:22:40 | 10,969,551 | 1,006 | 3,696 | Apache-2.0 | 2023-09-14T19:14:28 | 2013-06-26T14:09:07 | C++ | UTF-8 | C++ | false | false | 935 | h | Span.h | #ifndef FWCore_Utilities_Span_h
#define FWCore_Utilities_Span_h
#include <cstddef>
namespace edm {
/*
*An edm::Span wraps begin() and end() iterators to a contiguous sequence
of objects with the first element of the sequence at position zero,
In other words the iterators should refer to random-acc... |
41f179846adbac2b72e210df11c4ab357086c5ce | 9f520bcbde8a70e14d5870fd9a88c0989a8fcd61 | /pitzDaily/618/U | 85b015e3eb26a592dda04f726e5bc797a195df4b | [] | no_license | asAmrita/adjoinShapOptimization | 6d47c89fb14d090941da706bd7c39004f515cfea | 079cbec87529be37f81cca3ea8b28c50b9ceb8c5 | refs/heads/master | 2020-08-06T21:32:45.429939 | 2019-10-06T09:58:20 | 2019-10-06T09:58:20 | 213,144,901 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 251,583 | U | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1806 |
... | |
52d1391ce0460ed046b008e73bfc08e6f8876104 | f78bfa30ec1c4edac74b06f38637c5ea9a069a81 | /week01/Even Pairs/even_pairs.cpp | 472d91d196819f9dc34b6488e53ccfdf216eb74b | [] | no_license | PatrikOkanovic/ETH-AlgoLab-2020 | 09de6ac11493ed7daad945213bcc73fa3002b25d | 02d656bacfa3e559dd9b7d8b8758be246d8411f6 | refs/heads/main | 2023-03-08T04:36:57.508493 | 2021-02-25T15:32:47 | 2021-02-25T15:32:47 | 342,080,113 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 491 | cpp | even_pairs.cpp | #include <iostream>
using namespace std;
void test_case() {
int n; cin >> n;
int even = 0, odd = 0, sum = 0;
for (int i = 0; i < n; i++) {
int xi; cin >> xi;
sum += xi;
if (sum % 2 == 0) even++;
else odd ++;
}
cout << even * (even - 1) / 2 + odd * (odd - 1) / 2 + e... |
03e9ca55e187ecfb597c0137ceae0d66a2aec0c4 | e8f94f7e43490b3867fa98726e510f59ab6b8328 | /mesero_menu.h | ce1f75a0a0747bdfb77df1ebf264981fdfea42df | [] | no_license | DanielPerMon/proyectoSaboreno | 07127d756e5b1c6f37f5aeeb914ad4102576be38 | 798fb6ab29b1c4b4da34da76f8c85a068813356e | refs/heads/master | 2023-03-24T03:50:56.273771 | 2021-03-19T13:00:33 | 2021-03-19T13:00:33 | 333,259,706 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,518 | h | mesero_menu.h | #ifndef MESERO_MENU_H
#define MESERO_MENU_H
#include <QDialog>
#include <QtSql/QtSql>
#include <QtSql/QSqlDatabase>
#include <QtSql/QSqlQuery>
#include <QDebug>
#include <QMessageBox>
#include <QWidget>
namespace Ui {
class mesero_menu;
}
class mesero_menu : public QDialog
{
Q_OBJECT
public:
explicit mesero... |
83569dbb948b986d1904f844c098ffdde0625b03 | e8a3c0b3722cacdb99e15693bff0a4333b7ccf16 | /Uva Oj/I love pizza..12626.cpp | 0af2088f08fe75d9756e3caf6d6ee26772e4cdf6 | [] | no_license | piyush1146115/Competitive-Programming | 690f57acd374892791b16a08e14a686a225f73fa | 66c975e0433f30539d826a4c2aa92970570b87bf | refs/heads/master | 2023-08-18T03:04:24.680817 | 2023-08-12T19:15:51 | 2023-08-12T19:15:51 | 211,923,913 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 803 | cpp | I love pizza..12626.cpp | #include<iostream>
#include<cstdio>
#include<algorithm>
#include<cstring>
using namespace std;
int main()
{
int a, b, c, i, j, k, l, n;
char str[650];
int ara[30], ara2[6];
scanf("%d",&n);
getchar();
for(a = 1; a <= n; a++){
for(c = 0; c < 30; c++)
a... |
a02da836fdebc6067e526e5e33d43c8c840906f7 | 53bc5676710f6fd4e3c8b02a532065f6bc518063 | /object/Plane.h | 94ec3cfb1b8766c898c7a8ad92b276cf9f3de309 | [] | no_license | kevinandrianliu/IF-3260-UAS-Grafkom | e8c9aeba35902a48e48c0f72d4f1e1dd9e3fcb89 | 9a997a48deffab48da4c75474edc2fc5c33a1106 | refs/heads/master | 2023-03-02T21:50:05.793499 | 2019-02-27T00:29:18 | 2019-02-27T00:29:18 | 338,602,821 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 929 | h | Plane.h | #ifndef __PLANE_HPP__
#define __PLANE_HPP__
#include "../util/class_util.h"
#include "../util/func_util.h"
using namespace std;
class Plane : public Renderable {
public:
Plane(int x, int y, int offset_x, int offset_y);
virtual ~Plane();
int getOffsetX();
void setOffsetX(int offset... |
d794718c0f68b3e0c43e80bcba042b1eac7b1b01 | bec2cfc742596ad8f71e4fc8ca55d88fbb76860c | /ECPPT/system-security/3_Buffer_Overflow/helper.cpp | 34516b8d71e045586485cfb541ba00c23dbf99f6 | [] | no_license | zer0byte/ecppt-notes | f8cc3e095104fdfb4adea3a88c08d08565073916 | 1592af3aff67aca169dd564d1b987a06cf56c941 | refs/heads/master | 2020-05-01T07:34:43.673723 | 2018-12-22T16:46:21 | 2018-12-22T16:46:21 | 177,354,511 | 22 | 12 | null | 2019-03-24T00:35:40 | 2019-03-24T00:35:40 | null | UTF-8 | C++ | false | false | 604 | cpp | helper.cpp | #include <iostream>
#include <cstring>
int main(int argc, char *argv[])
{
char command[256];
char parameter[128];
memset(parameter,0x41,22); // fill the parameter with 'A' character
// now modify the location which overwrites the EIP
parameter[22]= 0x48;
parameter[23]= 0x15;
parameter[24]= 0x40;
... |
fc4bf32e1603793b9315890d96515d312907ec45 | 1ec6f38d64dc665e615f0bdc54a14f32f1e372e3 | /tmp/Examples.cpp | e5ae2b9b4217467117a932f848099f9509d50a1d | [] | no_license | victor-axelsson/ID2204 | 960c314cb784c6259b2d5d3f6c8b5de33f94af58 | 25b2a6a8a04df44f6e014cb46482b348e354a513 | refs/heads/master | 2021-01-18T23:13:51.168251 | 2017-05-26T13:55:02 | 2017-05-26T13:55:02 | 87,098,989 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 740 | cpp | Examples.cpp | // Created by Victor Axelsson on 2017-04-03.
// Copyright © 2017 simple_solutions. All rights reserved.
//
#include <stdio.h>
#include <string>
using namespace std;
static int fabric_examples[][2] = {
{10, 20},
{22, 20},
{100, 100},
{120, 100},
{50, 20},
{44, 101},
{5, 5},
{100, 68}... |
9d0c88e105f7eaa1005dd58b20611ddf3de067a4 | 2a83b4a5b6c48ddf685057a9c2c5e7f2040ba705 | /client/Source/Map.cpp | bcb32688c547ec3d365605e64ac848fb2e0c932c | [] | no_license | roneiberlezi/one-real | 6c7dee2cd30b531dfc4480a63db6785592258863 | e4e7ef17fac4ef858ddf68ee568b01bd6247017d | refs/heads/master | 2021-05-08T03:49:51.391577 | 2017-10-26T23:09:25 | 2017-10-26T23:09:25 | 108,337,982 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,147 | cpp | Map.cpp | //
// Map.cpp
// GP
//
// Created by Ronei Berlezi on 07/10/14.
// Copyright (c) 2014 Ronei Berlezi. All rights reserved.
//
#include "Map.h"
Map::Map(const char* fileName, int tileWidth, int tileHeight, int screenWidth, int screenHeight)
{
this->screenWidth = screenWidth;
this->screenHeight = screenHei... |
fa662e88dc9b065af26c7f036f4647da1490ad3f | c20b459468fa359a6f4c545db72a211d38298909 | /source/bits/toBinary.cpp | 4508a8de64647c65adefc04b61b8ac1dd3da00ea | [] | no_license | mycppfeed/Leetmap | e0340c6ecb85901c9555900a871e159a16940028 | f1f31085de60adce9dabe5eb2e5c4d66a5ba1572 | refs/heads/master | 2021-11-04T00:13:19.882064 | 2019-04-26T21:18:30 | 2019-04-26T21:18:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 919 | cpp | toBinary.cpp | #include<iostream>
#include<cstring>
int my_atoi(char* str) {
int len = 0;
char* temp = str;
while(*temp != '\0') {
len ++;
temp ++;
}
int res =0;
int p =1;
for(int i = len - 1 ; i >=0 ; i -- ) {
int C = str[i] - '0';
res = res + p*C;
p = p*10;
}
return res;
}
void toBinary(i... |
20e90221eec4d5e689cd507f7fec5fc306668357 | a1f90d6981651cfcd2f69424a6a92247f9cadd37 | /Chapter 13/Die.cpp | 4a51f04010bfc7aa000d3d778e4f635a2acb171d | [] | no_license | zanariah8/Programming_Assignments | 0f96002511bfea1ccf05f079188e5f78ca6cf197 | a3c3014d5a7e6e4f99b355789576b58233518611 | refs/heads/master | 2020-04-23T20:38:26.299353 | 2018-03-07T01:20:07 | 2018-03-07T01:20:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 690 | cpp | Die.cpp | #include <iostream>
#include "Die.h"
using namespace std;
int main(int argc, char *argv[])
{
const int DIE1_SIDES = 6;
const int DIE2_SIDES = 12;
const int MAX_ROLLS = 5;
Die die1(DIE1_SIDES);
Die die2(DIE2_SIDES);
cout << "This simulates the rolling of a " << die1.getSides() << " sided die and a ";
cout <... |
4c94e7f08887e96be2ef649c4d482d5a8e1ca5fe | 0a4ea172e919dccd24c82bb4d79750858d18951f | /include/QPVector.hpp | 32e996307d741ad2364d336ff434f3d739c15d2f | [
"BSD-3-Clause"
] | permissive | Isaac-Kwon/qupid | 5aa94f87fce58957ea660b2816d590af76674e0e | 5fead0708a546c2da8a0f7fccf70183d91c9237b | refs/heads/master | 2023-04-18T06:51:41.969544 | 2022-09-07T01:33:25 | 2022-09-07T01:33:25 | 337,677,732 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,534 | hpp | QPVector.hpp | #ifndef __QPVECTOR__
#define __QPVECTOR__ 1
#include "string"
#include "iostream"
class QPVector{
public:
QPVector();
QPVector(double x, double y);
QPVector(double x, double y, double z);
QPVector(const QPVector& other);
//Get
double X();
double Y();
double Z();
void ... |
c7193deaac384ee3f6b64795d87d9a9fc65028ef | 09ae288c5dc5cc92b2e69ec54f9d01c107eeefc5 | /src/displays/DisplayDriver.h | 7ada06179cf23a9c7391c7d9fef40fdd70d67d14 | [] | no_license | TheJeterLP/CarDisplay | 074c54a18334f77e09d5d4e1ff1812cba7c06a4e | edb87d5f18c222843dff79ef6dc0ec9610dcadae | refs/heads/master | 2023-06-08T08:58:06.245761 | 2021-06-22T17:41:24 | 2021-06-22T17:41:24 | 324,166,140 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 215 | h | DisplayDriver.h | #ifndef DISPLAY_DRIVER
#define DISPLAY_DRIVER
class DisplayDriver
{
public:
virtual void setupDisplay() = 0;
virtual void loopDisplay() = 0;
virtual void onTouch() = 0;
private:
protected:
};
#endif
|
c43ea3ce37a99cca90c45796f9f170eedb546d62 | 2bae07914bcd383fefe415194ffb63e2b007aff2 | /engine/modules/runtime/graphics_resources/include/tiki/graphics/shader_set.hpp | 7ca04a283b061bb782d4bfe1e74d05fb2eaeceee | [] | no_license | TikiTek/mechanica | ec4972b541bfb7dc685b0b7918785c5ca99622d2 | d151a818a279f1969b977ff7a935148b18ab9546 | refs/heads/master | 2021-10-09T07:27:23.308704 | 2021-10-08T07:42:04 | 2021-10-08T07:42:04 | 71,704,579 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 986 | hpp | shader_set.hpp | #pragma once
#include "tiki/base/types.hpp"
#include "tiki/container/sorted_sized_map.hpp"
#include "tiki/graphics/shader_type.hpp"
#include "tiki/resource/resource.hpp"
namespace tiki
{
class GraphicsSystem;
class Shader;
class ShaderSet : public Resource
{
TIKI_DEFINE_RESOURCE( ShaderSet, TIKI_FOURCC( 'T', '... |
5961d2032a9c976ad029a2b99b5b22689e507d9e | 7be8e3636bf08ebdc6662879dc5afec548705537 | /ios/Pods/Flipper-RSocket/rsocket/benchmarks/Latch.h | fc5422169ded104a5031c3f5e4c4425f05bb5d1e | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0",
"MIT"
] | permissive | rdhox/react-native-smooth-picker | 3c7384f1fed0e37f076361cce96071d01b70e209 | ae9316c49512f7ed9824c5a3ad50cdf5e80fffa9 | refs/heads/master | 2023-01-08T16:59:40.709147 | 2021-07-03T14:13:21 | 2021-07-03T14:13:21 | 160,224,312 | 230 | 31 | MIT | 2023-01-06T01:46:04 | 2018-12-03T16:54:10 | TypeScript | UTF-8 | C++ | false | false | 1,173 | h | Latch.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 applicabl... |
412b4ad9ac63c04c51bf25662401f68a284ab212 | 30cb51da30f3b070c2433b2a411ca26d63e5a8f6 | /source/jobs/JobEngine.h | 40eec84035141508cea986a4486428f3ee462450 | [
"Apache-2.0",
"LicenseRef-scancode-free-unknown"
] | permissive | doronbl/aws-iot-device-client | b8a5e70895a373b367b11ab5c6707554ae049b10 | 620aec60f5a625d00194e4f3f770b6fcc59c98f3 | refs/heads/main | 2023-05-01T02:16:10.385485 | 2021-04-27T18:56:41 | 2021-04-27T18:56:41 | 357,313,157 | 0 | 0 | Apache-2.0 | 2021-04-12T19:20:54 | 2021-04-12T19:20:53 | null | UTF-8 | C++ | false | false | 5,684 | h | JobEngine.h | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
#ifndef DEVICE_CLIENT_JOBENGINE_H
#define DEVICE_CLIENT_JOBENGINE_H
#include <atomic>
#include <condition_variable>
#include <memory>
#include <sstream>
#include <string>
#include <vector>
#include "LimitedSt... |
9c257cc4a4f8fc11e5e84edf305374886f90cea5 | 59ea9c316c6de13926067952e7ded03b5f81205f | /generator/riichi/rchmcevent.hpp | 1081f86c138ba59ffa20c7e149553cf1944afe9e | [] | no_license | federicotyx/mcmahjong | 7a9ee34f870b866d3048de3269824cb73dd4a8ed | c606f2255719ed217f6084039825a90fd6653d18 | refs/heads/master | 2021-01-10T12:13:39.036994 | 2015-10-13T03:57:57 | 2015-10-13T03:57:57 | 43,807,335 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 723 | hpp | rchmcevent.hpp | #ifndef MCMJ_RCHMC_RCHMCEVENT_HPP
#define MCMJ_RCHMC_RCHMCEVENT_HPP 11
#include <vector>
#include <cstdint>
#include <iostream>
#include "ps.hpp"
class rchmcevent
{
public:
rchmcevent();
void init(ps& aps);
void draw(ps& aps);
void remove(int8_t a);
int8_t* sp() { return _sp; }
const int8_t* sp() const { retu... |
831bec1dc4a3a2e8ab773e490e9c824ff335b42a | c793485c320996688d726e1e4d67dca9b47dca17 | /src/Utils.h | 6512aacf791fed51536ac9d42c71e1206e96caee | [] | no_license | HAWinther/AST5220-Cosmology | c49ae257331e6b5b866f52eb98ddbdb640f845e4 | a6b9bd6e4df1b57143237d3b05d76d080857a300 | refs/heads/master | 2023-02-16T04:11:10.458712 | 2023-02-11T21:59:05 | 2023-02-11T21:59:05 | 237,037,709 | 8 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 5,462 | h | Utils.h | #ifndef _UTILS_HEADER
#define _UTILS_HEADER
#include <vector>
#include <cmath>
#include <iostream>
#include <algorithm>
#include <chrono>
#include <map>
#include <gsl/gsl_sf_bessel.h>
#ifdef _COMPLEX_BESSEL
#include <complex_bessel.h>
#endif
#include "Spline.h"
#include "ODESolver.h"
// The constants used in this code... |
215bd2d8921af9431cbbb71e51a73e0a4a34c914 | 0ef4f71c8ff2f233945ee4effdba893fed3b8fad | /misc_microsoft_gamedev_source_code/misc_microsoft_gamedev_source_code/xcore/threading/CriticalSection.h | e7535c068137e0e4c27f247b32ebb59d2ffb1eaa | [] | no_license | sgzwiz/misc_microsoft_gamedev_source_code | 1f482b2259f413241392832effcbc64c4c3d79ca | 39c200a1642102b484736b51892033cc575b341a | refs/heads/master | 2022-12-22T11:03:53.930024 | 2020-09-28T20:39:56 | 2020-09-28T20:39:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,708 | h | CriticalSection.h | //============================================================================
//
// CriticalSection.h
//
// Copyright (c) 1999-2006, Ensemble Studios
//
//============================================================================
#pragma once
#ifndef XBOX
#if (_WIN32_WINNT < 0x0403)
#error Pl... |
cad1a7454bc324f518b47baf23dd0f3348f018fe | e779b32244baf17871f1404674740ccb773ffbb3 | /mainwindow.cpp | acba6528d148158334638ce6f8ea30315181b47e | [] | no_license | BillSnook/PiWorld | a12e0cccaf8bce7cea8de59297bccdaf1fe04dc4 | 17c793e3222ddc3f013fc044054bd540c0a22759 | refs/heads/master | 2021-09-11T14:25:46.996027 | 2018-04-08T23:20:57 | 2018-04-08T23:20:57 | 110,402,973 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,940 | cpp | mainwindow.cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
#include "commpi.h"
#include "hardware.h"
#include "filer.h"
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow) {
ui->setupUi(this);
setFixedSize(600, 500);
#ifdef ON_PI
fprintf(stderr,"ON_PI is defined");
#... |
fe79943473f96f1b70b4c392a9a37fe40d9889da | 47c5c5b194dff3fb8a95721effc599591e90519a | /solved/4892.cpp | 08ea8720fe15a1267c17bf069c10286f50e40ac6 | [] | no_license | LEECHHE/acmicpc | 75ba56e3cd7a2d8d9c43f83e151632a58823840f | 8717bc33b53ac44037d9f58ee1d0b58014084648 | refs/heads/master | 2020-04-06T06:57:07.679362 | 2018-12-10T09:12:06 | 2018-12-10T09:12:06 | 65,816,339 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 645 | cpp | 4892.cpp | #include <cstdio>
#include <algorithm>
using namespace std;
void solve(int k, int n){
switch (k) {
case 0:
solve(1, 3*n);
break;
case 1:
n%2 ? printf("odd ") : printf("even ");
solve(2, (n+n%2)/2);
break;
case 2:
solve(3... |
fedd6968b8458ddc7e74317e44c6f0efdfa804cf | 74030bc8c1fb673eb3f2b960e09f4f631f52c83c | /bfs.cpp | 1cf1da069b504756da50388f9f11aa885e892f41 | [] | no_license | jasfin/CPP-Programming | 607df9501581459c6f3e93e61ed2e1d1df6dd9e1 | 1930ddcb3b097af4bf2bfe1a470f598776e5e407 | refs/heads/master | 2020-06-08T17:17:37.706236 | 2019-06-22T19:31:09 | 2019-06-22T19:31:09 | 193,271,009 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,410 | cpp | bfs.cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int n,a,b;
cout<<"enter number of elements in the graph";
cin>>n;
int arr[n][n];
for(int i=0;i<n;i++)
for(int j=0;j<n;j++)
arr[i][j]=0;
int ch=1;
while(ch==1)
{
cout<<"enter relationship elements";
cin>>a>>b;
arr[a-... |
1f4e73c74aa1363d15bfbdc054144627af2c4147 | 1c47514b5eaf82cac46cb3ec1d756bbde6c8292a | /include/pet/animal.hpp | 17b078f5c5d1ff74f45222eb167864f46f61f395 | [
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla"
] | permissive | olned/vscode-try-pybind11 | d9e75a0f6b4cb38ac7ae98a82e0faa570cc54685 | 34cb425309246493fcf7dd42be97825ae0b6f2b0 | refs/heads/master | 2022-10-17T00:27:46.896720 | 2020-06-13T13:57:30 | 2020-06-13T13:57:30 | 271,533,279 | 0 | 0 | NOASSERTION | 2020-06-13T13:57:32 | 2020-06-11T11:51:55 | C++ | UTF-8 | C++ | false | false | 258 | hpp | animal.hpp | #pragma once
#include <string>
class Animal {
public:
virtual ~Animal() { }
virtual std::string name() { return "unknown"; }
virtual std::string go(int n_times) = 0;
};
std::string call_go(Animal *animal);
std::string get_name(Animal *animal);
|
8a5eb1dacaf225488d687f0f0f2954969bb43266 | 1de331d068456cedbd2a5b4d4a6b16145646f97d | /src/libv/ui/generate_name.hpp | 14f1fd266a475c30fc0557c18be7de4d9d0b5d28 | [
"Zlib"
] | permissive | sheerluck/libv | ed37015aeeb49ea8504d7b3aa48a69bde754708f | 293e382f459f0acbc540de8ef6283782b38d2e63 | refs/heads/master | 2023-05-26T01:18:50.817268 | 2021-04-18T01:06:51 | 2021-04-27T03:20:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 457 | hpp | generate_name.hpp | // Project: libv.ui, File: src/libv/ui/generate_name.hpp, Author: Császár Mátyás [Vader]
#pragma once
namespace libv {
namespace ui {
// -------------------------------------------------------------------------------------------------
struct GenerateName_t {};
static constexpr GenerateName_t GenerateName;
// ----... |
5f77bcc9afcd5425e0cc4ce230d7be76f8ab20f5 | f6786f5f51c0a71a09213e2f729766d1a04dffa2 | /명품_C++/08CHAPTER/08_Print_Laser_Inkjet.cpp | e51c9cc9c2e78bf0e8f23edfe5ac31150d4ee112 | [] | no_license | SuperstarterJaeeun/Learn-Programming-Book | 4f075fdec386a0449da8d0d08bb8f1b6d6b2f304 | f768acfffcb20b9fc97946ca491f6ffb20671896 | refs/heads/master | 2023-07-24T07:13:24.374240 | 2021-09-06T14:56:02 | 2021-09-06T14:56:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,462 | cpp | 08_Print_Laser_Inkjet.cpp | #include <iostream>
#include <string>
using namespace std;
class Printer {
string model; //Model name
string manufacturer; //Manufacturer
int printedCount; //print buying
int availableCount; //print paper residues
public:
Printer(string model, string manufacturer, int availableCount);
void print(int pages);
voi... |
0dd6086c7a61a330bfd38b676ecf1d7dd2361757 | 4d7c76bdb8a2579937533fae4b766814f93da4e4 | /src/oglml/vec/storagepolicies/staticswizzler.hpp | b8b8bf2dec0a4bb9e9fbd229d789892eae4fa99f | [] | no_license | hpohl/oglml | 3d64c55a9752d740cc8c7dceb34c94afa856b902 | f36f97af11803111b0e122c525e2299a9c71a4b3 | refs/heads/master | 2021-01-20T00:56:46.355057 | 2011-12-21T21:20:35 | 2011-12-21T21:20:35 | 2,643,682 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,549 | hpp | staticswizzler.hpp | #ifndef OGLML_VEC_STORAGEPOLICIES_STATICSWIZZLER_HPP
#define OGLML_VEC_STORAGEPOLICIES_STATICSWIZZLER_HPP
#include <vector>
#include <algorithm>
#include <cstddef>
#include <cassert>
#include <oglml/helpers/errors.hpp>
#include <oglml/helpers/indextools.hpp>
#include <oglml/helpers/operations.hpp>
namespace oglml {... |
9d8f66b9723dffb24522add1a032472b735698eb | 525eddcc24018a9cd24b06c19cd9d6332b9492bc | /A6/A6.cpp | 20530dc9040089fad56d832adb9013fc5038e5da | [] | no_license | iAmeeth/CL1-Codes-Elective-Data-Mining | b7b8b0d6852c81a246655373e5e0034eb8effa32 | 4d312486f44992a5bd80ed22672175453a829c46 | refs/heads/master | 2021-01-11T04:05:00.228519 | 2016-10-18T13:23:48 | 2016-10-18T13:23:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,299 | cpp | A6.cpp | #include<iostream>
#include<vector>
#include<math.h>
#include<fstream>
#include <sstream>
using namespace std;
int main()
{
ifstream inData("ip.csv");
char delim;
ofstream out;
cout<<"KMEANS\n";
int n,k;
cout<<"Enter total number of coordinates\n";
cin>>n;
double x[n];
double y[n];
for(int i=0;i<n;i++)
{
inData>>x[i]... |
bde98ee458b3e62298ec736e47585bde44474adc | ed4485942e9e92785ead30181d1fb76a794054be | /fable_build/string_array_fem.cpp | 36a4e014d92b2b9e7baa84303aa29eb860b47681 | [] | no_license | ctessum/fable-go | 4f2491edba2718b8d70245a0ad2aa603d54c532a | 656e3c1c974e8988ac42be0022d739f143af05b9 | refs/heads/master | 2016-09-05T13:54:23.197073 | 2014-12-27T20:50:51 | 2014-12-27T20:50:51 | 28,546,046 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 735 | cpp | string_array_fem.cpp | #include <fem.hpp> // Fortran EMulation library of fable module
namespace placeholder_please_replace {
using namespace fem::major_types;
using fem::common;
void
sub(
common& cmn,
str_arr_cref<> strings)
{
strings(dimension(star));
common_write write(cmn);
int i = fem::int0;
FEM_DO_SAFE(i, 1, 2) {
wr... |
b8bced93b216010eaa3aa6fec32a3fcb289fc565 | cb366b5201a772d311d1a358cd488626e12a833f | /loanApplication/loanApplication/Source.cpp | c2a933594a673d3ea2e51473211c6587eb08a917 | [] | no_license | tjwmagic/loanApplication | 0278d69aaebb2560f00e4ddd865ba69579b59c7a | a01b1d3d52f6eab9aeb3987800386e24037305fd | refs/heads/master | 2021-01-01T06:25:40.487199 | 2017-07-24T01:57:15 | 2017-07-24T01:57:15 | 97,425,303 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,931 | cpp | Source.cpp | #include <iostream>
#include <iomanip>
#include <string>
#include <cmath>
#include <math.h>
#include <stdio.h>
using namespace std;
void main() {
int mainMenu = 0;
double presentValue = 0;
double interestRate = 0;
double numberOfPeriods = 0;
double payment = 0;
double mathLoanPaymentTop = 0;
double mathLoanPaym... |
4b317ec50717a72cfe1589eb41722de6c3646ac8 | 1d4204c6766449214544a6511e138782712c0806 | /Src/Simulation/ODESimulation/SimulationCore/Controller/DirectView.h | 251363b97f097be28e8c9cc61929ff62d7f5d59a | [] | no_license | spyfree/tjNaoBackup | 2d0291a83f8473346546567ae7856634f6c5a292 | 0c7dd47f65e23be6e9d82a31f15ef69a3ce386cb | refs/heads/master | 2016-09-06T08:20:52.068351 | 2014-01-31T03:33:19 | 2014-01-31T03:33:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,414 | h | DirectView.h | /**
* @file Controller/DirectView.h
*
* Declaration of class DirectView
*
* @author Colin Graf
*/
#ifndef __DIRECTVIEW_H__
#define __DIRECTVIEW_H__
#include "../Controller/View.h"
class QWidget;
/**
* The class is the base class for direct views, i.e. views that have their own widget.
*/
class Dir... |
7d01add92aab275f7bc17f7d9bcf07348d64777f | 50fa9cfbd4d4d5efa56bfeaf7bef6a6d2d384606 | /201401145_Assignment3/Classes.cpp | 44da44ddea58d4eaca64991cb04765d6a9048921 | [
"MIT"
] | permissive | hkveeranki/Compilers | 96fecb8be03e4581c272eb33ccdf0b6af195461e | 97e1b26bdea4b31f7bdfbee209dce72e50de7e0b | refs/heads/master | 2021-06-07T11:39:31.454351 | 2016-10-13T05:49:19 | 2016-10-13T05:49:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,973 | cpp | Classes.cpp | #include <bits/stdc++.h>
#include "ClassDefs.h"
using namespace std;
ofstream out("XML_vistor.txt");
int tabs_needed = 0;
const int tab_width = 4;
#define TBS printTabs()
/* Usefull Functions */
string getOperation(string opr){
if(opr.compare("+") == 0){
return string("Addition");
}
else if (opr.compare("-") ==... |
daff9db684a9d90444fa533ecc90675f27c8624b | 9c76fc54e0a5d45ef96f117b618392c6c1ca9245 | /main.cpp | 4feb3a03ca76e9ecfd025c5c1abb74ebb0e4fd1f | [] | no_license | domacikolaci/textAdventure | 175d4ee918fe582a9d3d344f24b4817cd4606e60 | 7daee8fb17fec962c182876de2a5e9c774f354b8 | refs/heads/master | 2021-01-10T12:17:08.435279 | 2015-11-26T03:01:42 | 2015-11-26T03:01:42 | 45,451,343 | 0 | 1 | null | 2015-11-25T05:07:25 | 2015-11-03T08:12:32 | C++ | UTF-8 | C++ | false | false | 525 | cpp | main.cpp | #include <iostream>
#include "player.h"
#include "enemyGoblin.h"
#include "level1.h"
/*
TODO:
-Make level 1
-Make basic enemy
-Make combat system
-Make player stats
--Make HP
--Make Damage system
--Make classes
*/
using namespace std;
int main()
{
string answerGameStart;
cout << "Hello Are you ready to set o... |
b76d551f94db0f835f47bf95b249499d3247809e | f1afafe4bffbe72836bd11f8eef16795ecf89d31 | /src/headers/point.h | da1e9cdb62aa99c9d15c335543ce24b812da98ad | [
"Apache-2.0",
"LGPL-2.0-or-later",
"LGPL-2.1-or-later",
"GPL-3.0-only",
"LicenseRef-scancode-other-copyleft"
] | permissive | ahmed-debbech/snaykie | d27909af72a2e282f801c64cdc2dd84ab424eb36 | 40beb335b63c6e51bc256fe8f063fc674dbd367d | refs/heads/master | 2020-08-08T04:59:02.248599 | 2020-01-17T10:52:48 | 2020-01-17T10:52:48 | 213,722,472 | 2 | 0 | Apache-2.0 | 2019-12-22T15:02:08 | 2019-10-08T18:36:08 | C++ | UTF-8 | C++ | false | false | 455 | h | point.h | #ifndef POINT_H
#define POINT_H
#include <iostream>
#include "SDL/SDL_image.h"
#include "SDL/SDL.h"
#include "SDL/SDL_mixer.h"
#include "SDL/SDL_ttf.h"
#include "board.h"
using namespace std;
class point{
int num_point_on_board;
SDL_Surface * pointImg;
SDL_Rect pointPos;
public:
point(board &);
int getPoint... |
f7b1ace62622a0caae2f720e1aeb4aa9eed5175a | 791074b3de80286e3581c0f2a68852e5725e274e | /Digit_Programes/6.1.cpp | d09cf0b2c5505ca1e7e0dba2b1d547737f5e6ee1 | [] | no_license | PhuleArti/CPP | 3ac760f59a39439b2150f97040e473aafc24267e | b9cbf57c9f9890189d3cd29c3642a49a0d7378af | refs/heads/main | 2023-08-14T12:06:01.906115 | 2021-09-25T08:18:44 | 2021-09-25T08:18:44 | 385,575,534 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 910 | cpp | 6.1.cpp | /*
problem statement:Write a program which accept number from user and display its digits in reverse
order.
*/
using namespace std;
#include<iostream>
class Display
{
public:
int no1;
public:
int RevDigit(int no1)
{
int Digit=0;
int Rev=0;
... |
88abcb65b88a9cccbc38d6d2283776e2b1a0fe5b | 8f84b0a8c966465769e39e215819de93ca47658e | /codeforces.com/problemset/problem/1038/B/code.cpp | 9ac6e3b6ba614b983e92fc577c673a2c1b92527e | [] | no_license | Louhc/code | bc04c2d67b3401db36bd750ac902e0497fe2f12f | 3903212ed33936be8cf9d6e3f685bb32b3ea8cf2 | refs/heads/master | 2020-09-01T08:11:02.525687 | 2020-06-17T09:03:14 | 2020-06-17T09:03:14 | 218,916,443 | 0 | 1 | null | 2019-11-01T05:03:39 | 2019-11-01T05:03:39 | null | UTF-8 | C++ | false | false | 791 | cpp | code.cpp | #include<bits/stdc++.h>
using namespace std;
inline bool cmin( int &x, int y ){ return x > y ? x = y, 1 : 0; }
inline bool cmax( int &x, int y ){ return x < y ? x = y, 1 : 0; }
#define fp( i, b, e ) for ( int i(b), I(e); i <= I; ++i )
#define fd( i, b, e ) for ( int i(b), I(e); i >= I; --i )
#define go( i, b ) for ( in... |
035b252604c09db8b381e7933edc4ffecc6159e7 | 4b87c954527d46c63524aa16ddfb498d435c97f4 | /cfd/src/main.cpp | a309272313fa431d0074fbc6ae4061706053d6b3 | [] | no_license | tectronics/ps3hacking | a317ed1131b003b694e81b128dbbc8861ec7c96b | 9500b05c5c21265f40f96b594fa911678e985caa | refs/heads/master | 2018-01-11T15:02:34.290227 | 2009-07-18T14:35:17 | 2009-07-18T14:35:17 | 46,858,056 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,411 | cpp | main.cpp | #include <stdio.h>
#include <vector>
#include <malloc.h>
#include <cmath>
#include <rapidmind/platform.hpp>
#include <rapidmind/shortcuts.hpp>
using namespace rapidmind;
using namespace std;
class No{
public:
double x,y,phi,delta,velocidade;
No(double x, double y){
this->x = x;
this->y = y;
}
};
enum Met... |
cd29696adc1eb79c7aa009d38117e374331d8e18 | 1901bdbaf57584e7c5ec21643db340f9d98d6807 | /training/src/compiler/training/base/layers/basic/ClampLayer.h | 3aa2dd205c74fce650428db2cd7ad2852c3fb303 | [
"MIT"
] | permissive | huawei-noah/bolt | 2a4febe5f5cce64e3589c2782c489d59975eb6a3 | cf4ca8f8646a8e30ddf91c29a18743d75ac1c172 | refs/heads/master | 2023-08-28T13:36:34.815244 | 2023-06-12T01:24:41 | 2023-06-12T01:24:41 | 225,365,905 | 889 | 168 | MIT | 2023-06-12T01:24:42 | 2019-12-02T12:06:12 | C++ | UTF-8 | C++ | false | false | 1,940 | h | ClampLayer.h | // Copyright (C) 2022. Huawei Technologies Co., Ltd. All rights reserved.
// 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,... |
921729cf71c84801c3261ce1cd4ab246b743008a | bc4910ecec94749697dbce5e7cf5093275411125 | /src/generator/config/vgu/v1.1/vg_hooks_symbian.cpp | e8eed2450e9cb975d4e79f0df7110ca2a30d3240 | [
"MIT"
] | permissive | se210/tracy | 7e73a6f0d64f355842b9a11035c3720b4d40fde5 | 232a42ce1aefcffa1f8544c89d60a16ebd897033 | refs/heads/master | 2021-01-09T20:55:03.241111 | 2013-12-15T23:34:36 | 2013-12-15T23:34:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 70 | cpp | vg_hooks_symbian.cpp | /*
* Common Symbian hooks for the OpenVG tracer and player
*/
|
d613606b7c8170b3497321903504cb2e18c4ae77 | 6c151ef158af32b80f32d35c7e6abd7b190655bd | /source/AHCAL_BIF/BIF/FindOffset/FindOffset.cc | 7933655026e7768ac3ae41ff260d7ccd5e8b085e | [] | no_license | AHCALMonitoring/DQM4ILC | a1d42768cfb464e7449fe6a69746d53289487237 | e3f1e79319f77d27a1db38c69c3c6fffe44103f7 | refs/heads/master | 2021-01-24T03:18:25.362733 | 2018-10-12T20:14:55 | 2018-10-12T20:14:55 | 54,559,612 | 0 | 3 | null | 2018-10-12T20:14:56 | 2016-03-23T12:53:57 | C++ | UTF-8 | C++ | false | false | 13,864 | cc | FindOffset.cc | /// \file FindOffset.cc
/*
*-------------------------------------------------------------
* AHCALRawModule.cc source template automatically modified from
* CaloHitModule generated by a class generator
* by A. Irles, DESY, 23 March 2016
*--------------------------------------------------------------
* This file ... |
2c29a3e0742b87a3c86787ce2c8b082c5087d1c0 | 8f1acbd9344700e2c041503f0938cd14a8d48ab8 | /Luac/benchmark/main.cpp | 5f604086f1d646388158ab3370960ff03404a448 | [] | no_license | KORYUOH/Luac | 13a89294a3550e4db70f3c73838fb5e7b2ca59da | ae5288a033eb542f7f56b3ab7e8e3189503d3494 | refs/heads/master | 2018-12-29T21:07:15.805226 | 2015-04-04T08:04:25 | 2015-04-04T08:04:25 | 33,398,532 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 738 | cpp | main.cpp | #include <Lua/Luac.h>
#include <Luabin/Luabin.h>
#include <ClockTimer/ClockTimer.h>
#include <iostream>
#include <memory>
#include <cstdlib>
#ifdef _DEBUG
#pragma comment(linker,"/NODEFAULTLIB:libcmt.lib")
#endif
int main(int argc,char* argv[]){
std::unique_ptr<ClockTimer> timer(new ClockTimer());
Luabin binary("tara... |
9dec09e0de60ab9e96d00a65a83248988d38c508 | 785df77400157c058a934069298568e47950e40b | /TnbSectPx/TnbLib/SectPx/FieldFun/nonParameter/readY/SectPx_FieldFun_readY.cxx | 7970ce22dd1a65f2d57f2de711993d17551fa444 | [] | no_license | amir5200fx/Tonb | cb108de09bf59c5c7e139435e0be008a888d99d5 | ed679923dc4b2e69b12ffe621fc5a6c8e3652465 | refs/heads/master | 2023-08-31T08:59:00.366903 | 2023-08-31T07:42:24 | 2023-08-31T07:42:24 | 230,028,961 | 9 | 3 | null | 2023-07-20T16:53:31 | 2019-12-25T02:29:32 | C++ | UTF-8 | C++ | false | false | 974 | cxx | SectPx_FieldFun_readY.cxx | #include <SectPx_FieldFun_readY.hxx>
#include <SectPx_Coord.hxx>
#include <TnbError.hxx>
#include <OSstream.hxx>
const char* tnbLib::sectPxLib::FieldFun_readY::typeName_ = "fieldFun_readY";
tnbLib::sectPxLib::FieldFun_readY::FieldFun_readY
(
const std::shared_ptr<SectPx_Coord>& theCoord
)
: theCoord_(theCoord)
{
}... |
911bd39a8b6b54ea237ac8b604cf088e4f0d9631 | 83d0499301fd280c9f9ff47d5f6ad6779ada5557 | /Module03/ex04/SuperTrap.hpp | 80b154bb3b15383ead84788a2f0060bbe28ea47d | [] | no_license | Croco-byte/PiscineCPP | 5d9a7ce8229eb4c24331a817549bbdc6678d7440 | 85752bf624d5a89784f61fbe1a317e35956ec545 | refs/heads/master | 2023-04-15T05:31:46.674909 | 2021-04-23T12:13:14 | 2021-04-23T12:13:14 | 355,561,800 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,330 | hpp | SuperTrap.hpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* SuperTrap.hpp :+: :+: :+: ... |
a2e3d12b2667da2f25abf2429447b211b94ec5dc | dea9fad61c6de96c1db48981c7800437f917858e | /interp/memory.h | c3f6ac13fefed36ba6ac91c68faf13492af9e61d | [] | no_license | Hypersonic/CyberTronix64k | c6c10510743fe5eb05ed7fb2af6584ebedeabf01 | f294fe9617fb8e420a09a04ace65961e3657f53a | refs/heads/master | 2021-05-01T18:31:29.931502 | 2017-03-04T18:20:24 | 2017-03-04T18:20:27 | 70,862,715 | 12 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 789 | h | memory.h | #pragma once
#include <cstdio>
#include <atomic>
typedef uint16_t mem_t;
#define PUTC_LOC 0x200
#define GETC_LOC 0x201
class memory {
public:
memory() : mem{0} {};
// access methods
mem_t& operator[](size_t idx) {
if (idx == PUTC_LOC) {
must_print = true;
... |
488e576d07ac4bc30a0286a6617e9f70d97c7d9e | 4bd06834c624ea3c5ec061cb3f95bfbba89b7f07 | /src/BSTree.h | a4e7c9983c55151fd562516bb8a0f56befdb3240 | [] | no_license | phatv/Banking | eb1580a508f6478c89cb80b11648aed4b1d7a4b8 | e6ede3e1c67ddd36809aa55012bd68f0c9b7cfad | refs/heads/master | 2021-01-10T05:36:33.928478 | 2016-01-15T23:17:58 | 2016-01-15T23:17:58 | 49,750,225 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 632 | h | BSTree.h | #pragma once
#include "Account.h"
class BSTree
{
public:
BSTree();
~BSTree();
bool Insert(Account *);
// retrieve object, first parameter is the ID of the account
// second parameter holds pointer to found object, NULL if not found
bool Retrieve(const int &, Account * &) const;
// displays the contents of a tre... |
bf0d0b1cc7844f070fdc4b9da8289587f1d64b8b | e3b67db8b0ea9af2ba890dc4e119ff22876a2232 | /extensions/systemd/libwrapper/LibWrapper.h | d7e7b7c26711f919255a44513a137f587e4a01b6 | [
"MPL-2.0",
"Apache-2.0",
"BSD-3-Clause",
"curl",
"OpenSSL",
"libtiff",
"bzip2-1.0.6",
"MIT",
"LicenseRef-scancode-public-domain-disclaimer",
"MIT-0",
"Beerware",
"Zlib",
"NCSA",
"ISC",
"CC0-1.0",
"LicenseRef-scancode-object-form-exception-to-mit",
"BSL-1.0",
"LicenseRef-scancode-pu... | permissive | apache/nifi-minifi-cpp | 90919e880bf7ac1ce51b8ad0f173cc4e3aded7fe | 9b55dc0c0f17a190f3e9ade87070a28faf542c25 | refs/heads/main | 2023-08-29T22:29:02.420503 | 2023-08-25T17:21:53 | 2023-08-25T17:21:53 | 56,750,161 | 131 | 114 | Apache-2.0 | 2023-09-14T05:53:30 | 2016-04-21T07:00:06 | C++ | UTF-8 | C++ | false | false | 1,802 | h | LibWrapper.h | /**
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you ... |
1d2628ade49a8554d9ccc85064808240ca705f0f | 08b72b29c59e2c11a03d4f7d3f698d1adb5b7e13 | /GeometryEngine/Shared/Rectangle.cpp | 8ac55c334976ca201ebda3f9bdb722f0fe2f2cd9 | [] | no_license | DavidAHazra/A-Level-CS-Project | 762bb13f44e111dd85f7b900cd23a8c3430e7660 | d030fe09988103df53717d943d15b73b5cb84af5 | refs/heads/master | 2020-03-12T10:39:24.991974 | 2018-04-22T15:26:54 | 2018-04-22T15:26:54 | 130,578,165 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,434 | cpp | Rectangle.cpp | #include "Rectangle.hpp"
#include "ResourceHandler.hpp"
Rect::Rect(const float& width, const float& height) : Shape(), width(width), height(height) {
const float half_width = width / 2.0f;
const float half_height = height / 2.0f;
vertices = {
// This variable is local to this function becaus... |
decde36d5f8d99351040cb45e8c54c987049cbde | c4b5b6ccc7ffec535cf3f8fcb275dc09f9b75d53 | /TP 3/TP3 Merge Sort/main.cpp | 0c657c0b23be043a444a1a37dd9672c5c22936b0 | [] | no_license | Hsmarques/Data-Structures-and-Algorithms | f1976dabf68103a9dbd9b7a85269bccb3424b23e | 634a5bb1b26300e4ee08a8c4fd03673a46b6d37b | refs/heads/master | 2021-03-12T20:46:33.546036 | 2015-07-29T15:24:30 | 2015-07-29T15:24:30 | 39,900,696 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,671 | cpp | main.cpp | /*
* Author: Hugo
*/
#include <stdlib.h>
#include <stdio.h>
#include <iostream>
#include <string.h>
#include <vector>
#include <map>
#include <algorithm>
#include <time.h>
#define BILLION 1000000000L
using namespace std;
struct palavra
{
int count;
string palavra;
};
vector<palavra> merge(vector<palavra> vect... |
1de02ede5c5cb8d950c9f743e4e1e8e24a78afbe | c2cb468c75d37228e78752f4c5d7d222c47f6e18 | /build-DYN_APP-Android_for_armeabi_v7a_arm64_v8a_x86_x86_64_Clang_Qt_5_14_1_for_Android-Debug/armeabi-v7a/qrc_qml.cpp | 19b3f06d1ca70ba83e62010ac393b26ba5e915b0 | [] | no_license | MelonsArePeopleToo/DYN_APP-D | 011386f9663c75d3acbd08f47e8f6064e596ab2b | c3c48d767790679c65527541ba63ed7864f90b00 | refs/heads/main | 2023-01-18T18:50:54.984947 | 2020-11-23T16:10:58 | 2020-11-23T16:10:58 | 315,028,445 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,400 | cpp | qrc_qml.cpp | /****************************************************************************
** Resource object code
**
** Created by: The Resource Compiler for Qt version 5.14.1
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
static const unsi... |
e2218ea326a0b4531485c94970f3d5dca93abc93 | 29d6dc33d088ffb50c196be9bad805197406e844 | /rtspServer/Main.cpp | 16a62513c05efa2e50934f067d5b07b6b5b1d374 | [] | no_license | Fsing/MuiscPlayer | cb4320b93fdcafe474a576793437a5d1e4907666 | 18608feea0e415c15e40ee80417f49f6f037924f | refs/heads/master | 2020-04-09T08:01:21.806910 | 2019-05-11T03:15:54 | 2019-05-11T03:15:54 | 160,179,636 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 554 | cpp | Main.cpp | #include "Server/rtspsvr.h"
#include "printlog.h"
#include <pthread.h>
//#include <signal.h>
#include <exception>
#include <iostream>
int main( void )
{
CRtspSvr rtsp_svr;
try{
rtsp_svr.Start( 8554 );
}catch(std::exception &e){
std::cout << e.what() << std::endl;
}
//打开服务器,并进行监听。
... |
e889e08f196362611ce6d13a65686f0e3c592bbd | fc056b2e63f559087240fed1a77461eb72b2bf8e | /src/server/loginserver/GameServerGroupInfoManager.cpp | 5b30e2595f2c402f327ec62af0772e8f799d25a5 | [] | no_license | opendarkeden/server | 0bd3c59b837b1bd6e8c52c32ed6199ceb9fbee38 | 3c2054f5d9e16196fc32db70b237141d4a9738d1 | refs/heads/master | 2023-02-18T20:21:30.398896 | 2023-02-15T16:42:07 | 2023-02-15T16:42:07 | 42,562,951 | 48 | 37 | null | 2023-02-15T16:42:10 | 2015-09-16T03:42:35 | C++ | UHC | C++ | false | false | 7,456 | cpp | GameServerGroupInfoManager.cpp | //----------------------------------------------------------------------
//
// Filename : GameServerGroupInfoManager.cpp
// Written By : Reiot
// Description :
//
//----------------------------------------------------------------------
// include files
#include "GameServerGroupInfoManager.h"
#include "database/Da... |
8bdf3e4af10523d6bf3894343ad8958545346e80 | 6dac5e8d4101b44e74ee1b458bf29e8f33e3612d | /src/clone.cpp | fd7dc0a1a466f2536bd884cf85327bd0a1342e0a | [] | no_license | jnulzl/efficient_quadtree | 64507fa6578e8080ec36c5ea3286b9044b2cec03 | 13f51fb3a9127305f5ef90bf334c1b38c8c4c78a | refs/heads/master | 2022-11-13T07:57:23.865325 | 2020-07-05T03:38:03 | 2020-07-05T03:38:03 | 277,222,335 | 0 | 0 | null | 2020-07-05T03:11:58 | 2020-07-05T03:11:57 | null | UTF-8 | C++ | false | false | 7,503 | cpp | clone.cpp | #include "clone.h"
#include "poisson_solver.h"
#include <opencv2/imgproc.hpp>
bool findOverlap(cv::InputArray background,
cv::InputArray foreground,
int offsetX, int offsetY,
cv::Rect &rBackground,
cv::Rect &rForeground)
{
cv::Mat bg = background... |
239e8bf9206e2fdd9b04b7b125e9de6ba2e6ceda | 1dcfe3eeea910baba7387a8784bf08e651616c8a | /src/qsshpush.cpp | f7534709f1fbf87bbd8800c3d3310247ddf9ee95 | [] | no_license | smurfomen/QSsh | db29709ccb5bb720afdba60ff748aff391e1d69a | a807a5c2836bf4b3fa428c0ce47e0d665d130382 | refs/heads/master | 2023-04-05T08:22:39.775774 | 2021-04-06T12:28:02 | 2021-04-06T12:28:02 | 353,711,206 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,980 | cpp | qsshpush.cpp | #include "qsshpush.h"
#include <sys/stat.h>
#include <QFile>
QSshPush::QSshPush(const QString& from_localPath, const QString& to_remotePath, ssh_session s)
: m_session(s), localPath(from_localPath), remotePath(to_remotePath)
{
}
bool QSshPush::handle()
{
bool ok = false;
// attempt to create new scp from ... |
77a964333d20c20794df53ed6fc4c6cddb0d6e5a | 9f0f9eb2936152f85e065d3bf41f6c1cdedb2e27 | /UVA10048.cpp | e7c21549d9d0cb5187ba3afea5aadb8f7717500a | [
"MIT"
] | permissive | MaSteve/UVA-problems | f613f783d32c04578fb6f59666f1e35dfc37d0a7 | 3a240fcca02e24a9c850b7e86062f8581df6f95f | refs/heads/master | 2020-04-04T07:16:22.582629 | 2018-01-11T17:24:07 | 2018-01-11T17:24:07 | 47,360,461 | 19 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 2,230 | cpp | UVA10048.cpp | #include <iostream>
#include <string>
#include <vector>
#include <queue>
#include <unordered_map>
#include <utility>
using namespace std;
typedef pair<int, int> ii;
typedef pair<int, ii> street;
typedef vector<int> vi;
struct ufds {
vi p, r; int numSets;
ufds(int N) {
p.assign(N, 0); r.assign(N, 0); n... |
c90b89e1a75df28cd74ed35edaf572c6874b8238 | 107390cabe9c466c7c68a90554763b5a1699b395 | /CppModule04/ex03/MateriaSource.hpp | bd3305a99e9bd452210261494274aa34d99aa66b | [] | no_license | europaplus/CPP_modules | 756d4700f99f0a16d814c637088e94b75f4370d2 | 6d7794bc70f89f8c4e5aa2f82aed78a7c40563df | refs/heads/master | 2023-05-10T07:30:02.911933 | 2021-06-13T16:13:26 | 2021-06-13T16:13:26 | 376,586,094 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,248 | hpp | MateriaSource.hpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* MateriaSource.hpp :+: :+: :+: ... |
6c7f0286402dc1f0c5321ebc9005ab8d46124fe6 | e845f9d00689489e28e1bcd80044307d2839b816 | /classes/Ability.cpp | a262b34befaccdeb582b5a8f9c3ddc042337362e | [] | no_license | georgreichert/ascendiiSampleGame | d562f201a2999820b16bb0104f0775a561722409 | 7063a522c0f3bff42279c2b0b9c5885b0ccd1e70 | refs/heads/main | 2023-03-31T08:11:50.199219 | 2021-04-06T18:20:27 | 2021-04-06T18:20:27 | 352,204,849 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 450 | cpp | Ability.cpp | #include "../headers/fightclub.h"
Ability::Ability(std::string name, float power, float defense, float random) {
this->power = power;
this->defense = defense;
this->random = random;
this->name = name;
}
float Ability::getPower() {
return this->power;
}
float Ability::getDefense() {
return thi... |
8790450a740575115e38da9fe788e0ea41e90365 | a756eed9030c5afa645436412d777a1774357c70 | /dsa/Trees/extra.cpp | b079896a827e6921f3034900fcdad271e3fcb81d | [] | no_license | jainsourav43/DSA | fc92faa7f8e95151c8f0af4c69228d4db7e1e5ce | deb46f70a1968b44bb28389d01b35cb571a8c293 | refs/heads/master | 2021-05-25T09:13:42.418930 | 2020-06-30T07:36:56 | 2020-06-30T07:36:56 | 126,943,860 | 0 | 1 | null | 2020-06-30T07:36:57 | 2018-03-27T07:07:51 | C++ | UTF-8 | C++ | false | false | 884 | cpp | extra.cpp | //bptr search_par(bptr t,bptr par)
//{
// static int ch=0;
// if(t->key[0]>k)
// {
// par=t;
// search_par(t->ptr[0],par);
// }
// else if(t->key[0]<k)
// {
// for(i=0;i<=t->count;i++)
// {
// if(t->key[i]<k)
// {
// continue;
// }
// else if(t->key[i]>k)
// {
// check=1;
// ch++;
/... |
41edc4c25a5f638a57f97224ba668d6d86b89b6c | bc8e83e8f447e84cd5bb03e9872347e8893e1ead | /olympiads school/2020 Winter Break Practice/bobs-splitting-a-sequence.cpp | 9aec0a7aa99631484e8e5773b939f09114fd689f | [] | no_license | plasmatic1/other-judge-solutions | c04861f843f9122b7b69f1bc00fd4a5a839c8473 | 4702e0ddaa9243acd71a1ac241fe8dd3e72ce06a | refs/heads/master | 2022-09-30T08:39:54.284860 | 2022-08-29T03:41:32 | 2022-08-29T03:41:32 | 214,307,016 | 1 | 1 | null | 2021-04-06T16:56:43 | 2019-10-11T00:00:25 | C++ | UTF-8 | C++ | false | false | 2,385 | cpp | bobs-splitting-a-sequence.cpp | // ./bobs-splitting-a-sequence.yml
#include "bits/stdc++.h"
using namespace std;
// Defines
#define fs first
#define sn second
#define pb push_back
#define eb emplace_back
#define mpr make_pair
#define mtp make_tuple
#define all(x) (x).begin(), (x).end()
// Basic type definitions
using ll = long long; using ull = unsi... |
7f04cfd6cd6edae089b1e78aae77119c6ab4d43e | e1de41ce287bbd0181b92f4746290233c4bb7755 | /client/Classes/View/MailListTile.h | 02269076e06fd3f939e5f1b96d38c2b187f6d175 | [] | no_license | yf0994/game-DarkWar | c7572cb80eced4356a0faadbd1a4b97d1b90f2ce | ba39e4b57c381e9a4e969b2ed58990bc1cfd94a9 | refs/heads/master | 2021-05-29T15:47:01.214082 | 2015-08-29T03:28:06 | 2015-08-29T03:28:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,807 | h | MailListTile.h | #ifndef __MailListTile__
#define __MailListTile__
#include <iostream>
#include "cocos2d.h"
#include <string.h>
#include "ListMenu.h"
#include "MailTanChuLayer.h"
#include "EmailManager.h"
USING_NS_CC;
using namespace std;
class MailListTile:public CCLayer
{
public:
CREATE_FUNC(MailListTile);
MailListTile();
~MailL... |
8d4953503198dce4c84ee5525ae42d76f426fdd9 | f7ce06262eb4c9d0e1a9abcfbfdf3b7c20d8a015 | /Horario.cpp | 5712a4e61d169a48efa8ecb13e75eb81f7ebe992 | [] | no_license | CT-junior/Porta | 2ac6437a78c8a062eaae2d4004d390f5166bdcb0 | 8fe5ef7d21da2d77469a818a2b29db0aae3135fb | refs/heads/master | 2022-06-30T19:26:03.658805 | 2020-01-10T23:32:59 | 2020-01-10T23:32:59 | 226,109,231 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 354 | cpp | Horario.cpp | #include "Horario.h"
Horario::Horario(String hora, String saida){
entrada = hora;
saida = saida;
}
String Horario::get_entrada(){
return entrada;
}
String Horario::get_saida(){
return saida;
}
void Horario::set_entrada(String hora){
entrada = hora;
}
void Horario::set_saida(S... |
c02886c881a58e0a59db8ea6bee79d6bd3d61c23 | 97378cf1b76fb0711d3c04b283dbcb3a14921937 | /String/1255 - Substring Frequency/1255 - Substring Frequency.cpp | 4169e8641ddc5ab153e256d6836a5b22ebd5808d | [] | no_license | ashrafulDUET/lightoj | af3b189f0f8cd385826f63548881c501bcaba906 | 7b1780afed695c479dee7f34277e0c3a3b839534 | refs/heads/master | 2021-09-27T16:10:19.983784 | 2018-11-09T13:06:07 | 2018-11-09T13:06:07 | 109,361,693 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 573 | cpp | 1255 - Substring Frequency.cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
// freopen("in","r",stdin);
// freopen("out","w",stdout);
long long int a,b,n,m,i,j,ck=0,ln,ln2;
string FirstStr,subStr;
cin>>n;
for(i=1; i<=n; i++){
cin>>FirstStr;
ln = FirstStr.length();
cin>>subStr;
ln2 ... |
fd2f84b67c133d5bc3297b6fcf61b2ec64de8367 | 8dfe4bef840a00972ebe18634bbf28636dec9949 | /FKCWLib/FKCW_TMX/Include/FKCW_TMX_Layer.h | 2795b78f8d703f9e5157d01e645570828e3a67ed | [] | no_license | pingfanJerry/FKCocos2dxWrapper_2.x | ba644308746557e99f8fa201a832aafa7e806927 | 2ff906f10a030d7a2dbe968ba9d17798e2537a37 | refs/heads/master | 2020-03-10T16:58:40.391923 | 2017-03-16T06:43:05 | 2017-03-16T06:43:05 | 129,487,589 | 1 | 0 | null | 2018-04-14T06:12:13 | 2018-04-14T06:12:13 | null | GB18030 | C++ | false | false | 5,506 | h | FKCW_TMX_Layer.h | //*************************************************************************
// 创建日期: 2014-12-29
// 文件名称: FKCW_TMX_Layer.h
// 创 建 人: 王宏张 FreeKnight
// 版权所有: MIT
// 说 明:
//*************************************************************************
#pragma once
//-----------------------------------------... |
c2149c88e88ab4e5ad81215bd63726b3abe4781a | 948a6bbb8ef60a97c4350bf1fbccbc972bbfcb4f | /thirdparty/Indy10/C18/Win32/Release/IdTimeUDP.hpp | 22f1cf53967b457d2592822e6c62dd1293a15272 | [] | no_license | hotsoft/components | 504c6935b892c74796a8cbec91736185507ed149 | 2d41768ff68c0c6535a1ee40f3e8abc90cb19c9b | refs/heads/master | 2023-09-03T22:46:13.153273 | 2023-08-18T13:16:19 | 2023-08-18T13:16:19 | 14,142,719 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,970 | hpp | IdTimeUDP.hpp | // CodeGear C++Builder
// Copyright (c) 1995, 2013 by Embarcadero Technologies, Inc.
// All rights reserved
// (DO NOT EDIT: machine generated header) 'IdTimeUDP.pas' rev: 25.00 (Windows)
#ifndef IdtimeudpHPP
#define IdtimeudpHPP
#pragma delphiheader begin
#pragma option push
#pragma option -w- // All warnings ... |
b1a1aa87a111776b086ff48467620c0fcbe5330b | 47fb53066a178fecee386fb8ca0ab942392c34b7 | /src/mg/mgcurve2.cpp | 62e7ac573a03adbdacd5078ab5d413e258bc159d | [] | no_license | zephyrer/mgcl | 9eae7017ca728c6c565a74d16229146fa5e877f3 | c63b24d5c5f0423acffe84bd4a2208ab2629d2f8 | refs/heads/master | 2020-05-20T04:17:24.355869 | 2018-08-18T08:35:42 | 2018-08-18T08:35:42 | 40,066,710 | 1 | 1 | null | null | null | null | SHIFT_JIS | C++ | false | false | 18,073 | cpp | mgcurve2.cpp | /********************************************************************/
/* Copyright (c) 2011 DG Technologies Inc. and Yuzi Mizuno */
/* All rights reserved. */
/* Granted under the MIT license (see mg/MGCL.h for detail) */
/***********************************... |
79c565b2a90c224b7a712da934b1277cbbb722e0 | cd7079decffadfd71f419917ae953ffaa544bc76 | /stringUtils.cpp | 62f7aae8960ee82ebdb96589d7673acef60bcbde | [
"MIT"
] | permissive | EricosEagle/GCalc | 00ee131f3212d0ca6fb9b78b00da3ebfe0a935b7 | b18aff193810968234af8bfc81619eb3f219a445 | refs/heads/master | 2022-11-28T07:46:02.753566 | 2020-08-10T20:21:05 | 2020-08-10T20:21:05 | 284,902,179 | 0 | 0 | null | 2020-08-04T06:59:34 | 2020-08-04T06:57:57 | C++ | UTF-8 | C++ | false | false | 1,814 | cpp | stringUtils.cpp | #include "stringUtils.h"
#include <algorithm>
#include <cctype>
#include <regex>
std::vector<string> stringUtils::split(string str, const string& delim) {
std::vector<string> out;
size_t pos;
do {
pos = str.find(delim);
out.push_back(str.substr(0, pos));
str.erase(0, pos + delim.len... |
f5a01efee14bc14e50098008f21294e0fdb613b4 | ba5d1d776888be6ae9688d850f0445d80973ee8f | /game/server/env_tonemap_controller.cpp | 807e39ac7ba3bfad5053081b401a21bff35c28f2 | [
"MIT"
] | permissive | BerntA/tfo-code | eb127b86111dce2b6f66e98c9476adc9ddbbd267 | b82efd940246af8fe90cb76fa6a96bba42c277b7 | refs/heads/master | 2023-08-17T06:57:13.107323 | 2023-08-09T18:37:54 | 2023-08-09T18:37:54 | 41,260,457 | 16 | 5 | MIT | 2023-05-29T23:35:33 | 2015-08-23T17:52:50 | C++ | UTF-8 | C++ | false | false | 10,269 | cpp | env_tonemap_controller.cpp | //========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=============================================================================
#include "cbase.h"
#include "baseentity.h"
#include "entityoutput.h"
#include "convar.h"
// memdbgon must be the last include file in a .cpp fi... |
29862991d70b60e99500669eef2d40853861ba89 | 8a7abfecc0767b2a106327566d794646e131c30f | /blas/unit_test/Test_Blas1_rot.hpp | 7fe079d1aade34ec8793685efc99b11109639bb9 | [
"Apache-2.0",
"LLVM-exception",
"BSD-3-Clause"
] | permissive | kokkos/kokkos-kernels | 27d7b409bbe54a8df05cfdabf8bddfbc4ad14ba2 | 25a31f8812330cec6e8ac5d8ea99bb9a2045cbab | refs/heads/master | 2023-08-31T14:39:42.908966 | 2023-06-28T17:48:23 | 2023-06-28T17:48:23 | 78,572,774 | 237 | 92 | NOASSERTION | 2023-09-08T22:48:35 | 2017-01-10T20:49:21 | C++ | UTF-8 | C++ | false | false | 3,636 | hpp | Test_Blas1_rot.hpp | //@HEADER
// ************************************************************************
//
// Kokkos v. 4.0
// Copyright (2022) National Technology & Engineering
// Solutions of Sandia, LLC (NTESS).
//
// Under the terms of Contract DE-NA0003525 with NTESS,
// the U.S. Governmen... |
949b9e932b8184c428c12c706c423f0244d78777 | 779f22185dbd6f56371fc375f55e8eff6f70eb40 | /algorithms/vidalib.h | a5830d41e107932d5ab586012fa826bba8d84a75 | [] | no_license | kuk0/vida | acf871bc9769b88c312aca1f408378915b58c120 | 9faa8f0df81b17c932b0ff8d4ef77b71e65be7a2 | refs/heads/master | 2021-01-16T00:23:25.446377 | 2013-04-15T20:19:55 | 2013-04-15T20:19:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,756 | h | vidalib.h | //Fruit of Light
//FoL lib
//Apple Strawberry
#include<cstdio>
#include<iostream>
#include<cstring>
#include<algorithm>
#include<vector>
#include <map>
using namespace std;
#define For(i, n) for(int i = 0; i<(n); ++i)
#define ForEach(it, i) for(typeof i.begin() it = i.begin(); it!=i.end(); ++it)
#define pass
typed... |
7873fa5caddee94ec22dedd0e00107536c508b6a | 188fb8ded33ad7a2f52f69975006bb38917437ef | /Fluid/processor4/0.54/polyMesh/points | ee8447edc5dbbabcf9a33e2b0e3f8ae629318394 | [] | no_license | abarcaortega/Tuto_2 | 34a4721f14725c20471ff2dc8d22b52638b8a2b3 | 4a84c22efbb9cd2eaeda92883343b6910e0941e2 | refs/heads/master | 2020-08-05T16:11:57.674940 | 2019-10-04T09:56:09 | 2019-10-04T09:56:09 | 212,573,883 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,946 | points | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
... | |
b3f0fa66e762ba01d615e3a0faf276a059b24f42 | 0b4749108f92f838d2677c1cde469e0654aee15b | /shadersLoaders.hpp | cf5eda6123fbbe1a3540ac7c52aced4acefcaeaa | [] | no_license | wemstar/ProjektGrafika3D | b0b0a48ce06e4b0323c26961d43438c80787541d | 77f2f51c9a5c15898af0573e028e8f0ff0c3bce1 | refs/heads/master | 2020-05-20T12:17:42.585989 | 2014-12-09T23:02:54 | 2014-12-09T23:02:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 212 | hpp | shadersLoaders.hpp | #pragma once
#include "glew.h"
#include <GL/freeglut.h>
#include <vector>
#include "SOIL.h"
extern GLuint v,f,p,w,pv,pf;
void setShaders();
void check_error(GLuint shader);
GLuint loadBMP(const char * filename); |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.