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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1a83f46ec37eaebae55709b1b5975fa991ac133e | 63ff0f9fa5be9a410b87ea189ea3be9cbc61d3ef | /code/lec13/Matrix.h | a77bb1754e0b858b2133e1277458fc2dff06f93c | [] | no_license | ammarhakim/apc523-2020 | 7b2bc0ef73ea1557a0d34393ce3a6aebe9610037 | fb60c9e10a6ba906c1570ce7082737cd7f19f261 | refs/heads/master | 2021-04-13T23:52:00.580490 | 2020-03-31T18:36:18 | 2020-03-31T18:36:18 | 249,195,893 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 804 | h | Matrix.h | #pragma once
#include <vector>
#include <random>
#include <cmath>
#include <cfloat>
class Matrix {
public:
Matrix(unsigned N, unsigned M) : N(N), M(M), m(N*M) { }
inline const double operator()(unsigned i, unsigned j) const { return m[i*N+j]; }
inline double& operator()(unsigned i, unsigned j) { return... |
ada899894a4f97e4b86dfb5f62eab70d5552d938 | 5158a68a6858200fcdffdac58d483e036bb5f979 | /PAT Advanced Level/A1085/A1085.cpp | 5c94a11b81f79996adf69579036477d79e9913cc | [] | no_license | ChangeZ24/PAT | 85b122d4c37ec2012fe400db9b914da805db19ac | b237687aa12bf5425b276c089d52bd2b6f4cf2d2 | refs/heads/master | 2021-01-19T22:37:07.117406 | 2017-09-07T17:11:30 | 2017-09-07T17:11:30 | 88,832,389 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 502 | cpp | A1085.cpp | #include<cstdio>
#include<cstdlib>
#include<string>
#include<map>
#include<iostream>
#include<algorithm>
#define MAX 100004
#define MINF 1000000000;
using namespace std;
int main() {
int n, p;
int a[MAX];
int distence = 1;
cin >> n >> p;
for (int i = 0;i < n;i++)
cin >> a[i];
sort(a, a + n);
for (int i = 0;... |
37d00a52e5ffba1c1ae2acf7964ffbb3b0863cbe | 341844c7caa8cdb2d75d3be3731c898f9c45b09d | /Introduction-To-Programming/HWs-2017/CroppingAnImage/Bitmap.cpp | a44ac1ac91d20e65cc53eabeb8358696aa8f942f | [] | no_license | tenrieta/Programming | 7fbf0c0eb67cea4e69adbbe3830bf8cbdbc56f88 | e9285e7a1a5173086dd3fa0c4ea02fec2213fb6e | refs/heads/master | 2020-05-19T06:49:09.097460 | 2019-06-07T11:08:42 | 2019-06-07T11:08:42 | 184,882,745 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,273 | cpp | Bitmap.cpp |
#include "Bitmap.h"
#include <iostream>
unsigned int* resizeImage(unsigned int* image, unsigned int& width, unsigned int& height,unsigned int* image2, unsigned int& len)
{
unsigned long cntWhite = 0;
unsigned long balanceLeft = 0, balanceRight = 0, balanceTop = 0, balanceBottom = 0;
bool flag = true;
... |
b17727a4d3254c543df9f4465e0fbb01d712722a | 6cd6cb5dd07730ea6061fbc4abae0292d1e36e29 | /48. 旋转图像.cpp | a61fae987ee83dc606697ac4b4eb7755d3112ffe | [] | no_license | juniorny/leetcode | 879ac3a22b4db6f76edfd8d6f7c0539c3be931b4 | 61992e6cb17f955cf90a133f19ed0b3f4f8f4b92 | refs/heads/master | 2021-08-18T01:26:29.092468 | 2020-07-19T03:29:46 | 2020-07-19T03:29:46 | 205,508,212 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 693 | cpp | 48. 旋转图像.cpp | class Solution {
public:
void rotate(vector<vector<int>>& matrix) {
int n = matrix[0].size();
for (int i = 0; i < n / 2; i++)
{
for (int j = i; j < n - i - 1; j++)
{
int tmp = matrix[i][j];
matrix... |
3061ec2aae306301a5a92167279952babc386ccb | 48c180d7b46a09fe21cfd68f9cdc72a64c19a64e | /arduino_focus_stack.ino | 57d463430c3035f132a29e7dcb129751156a8c15 | [] | no_license | JohnB33/arduino-macro-control | 363040e7e7ad0248369b3ed4c5c453b798e58e9e | 9783bb607032b149e330e15606023657bf345c44 | refs/heads/master | 2021-01-23T06:20:04.595925 | 2017-06-02T17:52:18 | 2017-06-02T17:52:18 | 93,018,479 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,051 | ino | arduino_focus_stack.ino | #include <uStepper.h>
#define MAXACCELERATION 20000 //Max acceleration = 20000 Steps/s^2
#define MAXVELOCITY 4000 //Max velocity = 4000 steps/s
uStepper stepper(MAXACCELERATION, MAXVELOCITY);
int a;
int D;
int cmd = 0;
int d;
int n;
int moving;
int pinState = LOW;
int trigger_period = 500; // hold c... |
7bfb17d5c3d717fc0f21c1a7eaec3154c76ec6d9 | a0b0eb383ecfeaeed3d2b0271657a0c32472bf8e | /51nod/1555.cpp | 8c4af9075fb094353f97e32c510055941088e5fc | [
"Apache-2.0"
] | permissive | tangjz/acm-icpc | 45764d717611d545976309f10bebf79c81182b57 | f1f3f15f7ed12c0ece39ad0dd044bfe35df9136d | refs/heads/master | 2023-04-07T10:23:07.075717 | 2022-12-24T15:30:19 | 2022-12-26T06:22:53 | 13,367,317 | 53 | 20 | Apache-2.0 | 2022-12-26T06:22:54 | 2013-10-06T18:57:09 | C++ | UTF-8 | C++ | false | false | 2,267 | cpp | 1555.cpp | #include <stdio.h>
#include <algorithm>
#include <functional>
const int maxn = 300001;
int n, a[maxn], b[maxn];
long long ans;
struct Segment {
int cnt, val, tag;
} seg[(maxn - 1) << 1 | 1];
inline int seg_idx(int L, int R)
{
return (L + R) | (L < R);
}
inline void seg_up(int rt, int lch, int rch)
{
if(seg[lch].val ... |
25dc048703bab48a7064440a735ada1d7b6a38ba | 79e9a2ecb1b2900b00fdbafc68b5ac654d3e2263 | /kdasm_visualizer.cpp | 124f15f93fd728d462b2917d9e93ab7533084ce4 | [] | no_license | whatchamacallem/kdasm | 5d377e27f84ad97be7e39a6754eb884b1e62ae32 | d67e312c23d109c112c2a16937d363aa8aec2d95 | refs/heads/master | 2020-08-29T20:23:39.523055 | 2019-11-26T23:19:58 | 2019-11-26T23:19:58 | 218,165,103 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,570 | cpp | kdasm_visualizer.cpp | // Copyright (c) 2012 Adrian Johnston. All rights reserved.
// See Copyright Notice in kdasm.h
// Project Homepage: http://code.google.com/p/kdasm/
#include <algorithm>
#include <map>
#include "kdasm_visualizer.h"
KdasmVisualizer::KdasmVisualizer( void )
{
m_pageAddressMask = 0;
m_encodingRoot = N... |
5c6dcd92c274717e526b2f35e6ca3aa62be60974 | 663bd40d1e72daef5b5ebec01b696efbf2485e23 | /MobileGame/Private/PhotoActor.cpp | c74ff740652fe18ee5032ff27b975d431b2c76c8 | [] | no_license | noviceprogrammer1986/MyCode | 2093f3c46e2a29a1be6f8b8e088a575fdf53e0b2 | 9ada57b5348447e1ab72bd70fddc5aed0c79befc | refs/heads/master | 2020-04-23T06:07:36.680771 | 2019-02-27T07:20:08 | 2019-02-27T07:20:08 | 170,962,865 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,984 | cpp | PhotoActor.cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "PhotoActor.h"
#include "MediaPlayer.h"
#include "MediaPlayerFacade.h"
#include "MediaCaptureSupport.h"
#include "TimerManager.h"
#if PLATFORM_ANDROID
#include "AndroidCamera/Private/Player/AndroidCameraPlayer.h"
#endif
... |
58b590c99118ea8438ce4336942bf67cf112d8bb | d0fb46aecc3b69983e7f6244331a81dff42d9595 | /emr/src/model/CreateFlowCategoryRequest.cc | 7a64d5877c24ed03f2ec8921dd3b04f92b0a1ed0 | [
"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 | 2,075 | cc | CreateFlowCategoryRequest.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... |
4d1c91a6c3f2dcfb9d5014ec3c8ebb6b77c86da3 | c774ccfd604caf197c411e45a81b73fb472cb10e | /src/variables/call.cpp | a186e036811a15a65dbc31911a04bf869d3c6825 | [] | no_license | data-niklas/trac | 2e9ea9363d1f2e848a0ed89aacd33b6ca67a0c39 | 6d7992e60a3165023add5c5fa50e6ad03d85cda8 | refs/heads/main | 2023-03-30T17:55:42.970948 | 2023-03-18T19:34:39 | 2023-03-18T19:34:39 | 348,401,685 | 0 | 1 | null | 2021-03-21T16:54:28 | 2021-03-16T15:37:33 | C++ | UTF-8 | C++ | false | false | 906 | cpp | call.cpp | #include "./call.h"
#include "../registry.h"
#include "../logger.h"
Call::Call(string name, vector<shared_ptr<Variable>> variables){
Registry* registry = Registry::getInstance();
if (registry->eFunction(name))this->function = registry->gFunction(name);
else {
this->function = registry->gFuncti... |
900770e427231904154c7a1fb241c05eb1461409 | 80caed5d8753a6c9d0481c249654c79cb040b8be | /libai/game.h | 37c44ccd1ad64db9e889bda96745c1021ffe7627 | [] | no_license | yuizumi/icfpc2015 | 53b95cc3d4203dc380180cfb54e2c1b9b549d54e | d67c03bc5b5068d29e1b001420cb62ae92b87f35 | refs/heads/master | 2020-04-16T12:30:26.004408 | 2015-08-10T12:19:32 | 2015-08-10T12:19:32 | 40,359,937 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,770 | h | game.h | #ifndef GAME_H_
#define GAME_H_
#include <string>
#include <unordered_set>
#include <vector>
#include "basic.h"
#include "board.h"
#include "macros.h"
#include "unit.h"
class GameState {
public:
GameState(const std::vector<UnitSpec>& units,
std::unique_ptr<Board> board,
uint32_t seed, ... |
ade2772d83a61e60d005ca5cdf5c2d35cde2cdc1 | 55b7081975ad711037dd0ba5997320e8f48f6c11 | /src/graph/euler_lca.hpp | 986ad2c10d7849274cb20a494b80440c392159e8 | [] | no_license | thallium/acm-algorithm-template | ff91dfd727ca42ff49b93ccd410be9fc8bc7a1b7 | 6a6710cb8708f54dce4352473a814287d496197f | refs/heads/master | 2023-07-06T05:09:30.876579 | 2023-07-04T02:06:04 | 2023-07-04T02:06:04 | 217,172,689 | 4 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 889 | hpp | euler_lca.hpp | #pragma once
#include <vector>
#include "data_structure/sparse-table.hpp"
#include "misc/util.hpp"
struct EulerLCA {
int n;
std::vector<int> pos, seq, dep;
SparseTable<int> st;
EulerLCA(const std::vector<std::vector<int>>& g, int root) : n((int)g.size()), pos(n), dep(n) {
seq.reserve(2 * n);
... |
e5351a77de710893370318194fe0d3caf35caba9 | f0bd42c8ae869dee511f6d41b1bc255cb32887d5 | /Codeforces/1332A. Exercising Walk.cpp | 0b05431f4b880fa4e3f2e40f18ea76e567d1674c | [] | no_license | osamahatem/CompetitiveProgramming | 3c68218a181d4637c09f31a7097c62f20977ffcd | a5b54ae8cab47b2720a64c68832a9c07668c5ffb | refs/heads/master | 2021-06-10T10:21:13.879053 | 2020-07-07T14:59:44 | 2020-07-07T14:59:44 | 113,673,720 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,603 | cpp | 1332A. Exercising Walk.cpp | ////////////////////////////////////////////////////////////////////////////////
//
// Solution Name: 1332A. Exercising Walk.cpp
// Problem Source: Codeforces Round #630 (Div. 2)
//
// Author: Osama Hatem Sharafeldin
// Date: 31/03/2020
//
///////////////////////////////////////////////////////////////////////////////... |
cd20b14558ac1ca1b69fde3028c727802f18cc3d | a5392bca8a2728980b7d2c42b846da1508c05634 | /algorithm/c++/dijkstra.cpp | ccc35c29d907228260a76c5c6fc914e60f313e5a | [] | no_license | shin0park/Algorithm-Problems | 7d3a79054d4a10eadf38ef45910720eb14044689 | b8d9364e0ef5c8dc8bd197fd272f08e07b375225 | refs/heads/master | 2022-12-30T12:46:29.701349 | 2020-10-15T09:34:09 | 2020-10-15T09:34:09 | 288,099,317 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,729 | cpp | dijkstra.cpp | //다익스트라 알고리즘
// t[i] : 정점 i 에 도달하는데 걸리는 최단거리
//for i = 0~N
//1. T[i] 중 최솟값을 정한다. 단, 지금까지 최솟값으로 뽑히지 않았던 값들 중.
//2.index로 부터 뻗어나간다. t[index] + cost
#include <iostream>
#include <cstdio>
#include <vector>
#include <algorithm>
using namespace std;
const int MAX = 100;
vector<int> graph[MAX];
vector<int> cost[MAX];
int n,... |
5dbe61038e53564ac8e1900774499d0945eaa584 | 7516ff2500b3b1a7afd498404ca01185d33298d9 | /DirectProgramming/C++SYCL_FPGA/ReferenceDesigns/anr/src/column_stencil.hpp | 4d102a3b92e20ca017326deaa3faed8c4104cd5d | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | oneapi-src/oneAPI-samples | 658add2c573ef2770ea260f39a20aa9aecc941a1 | 6901f7203b549a651911fec694ffefad82ed0b35 | refs/heads/master | 2023-09-01T20:14:50.113049 | 2023-08-07T23:44:18 | 2023-08-07T23:44:18 | 267,223,745 | 675 | 728 | MIT | 2023-09-14T12:39:11 | 2020-05-27T04:52:05 | HTML | UTF-8 | C++ | false | false | 9,476 | hpp | column_stencil.hpp | #ifndef __COLUMN_STENCIL_HPP__
#define __COLUMN_STENCIL_HPP__
#include <sycl/sycl.hpp>
#include <sycl/ext/intel/fpga_extensions.hpp>
#include "data_bundle.hpp"
#include "shift_reg.hpp"
// Included from DirectProgramming/C++SYCL_FPGA/include/
#include "constexpr_math.hpp"
#include "unrolled_loop.hpp"
us... |
422bfaebcbe8c6da88f77fb165327d9bfe6ce45b | f3c01e5ebacea1751e993a6575bde896064b9c0e | /TouchGFX/generated/images/include/BitmapDatabase.hpp | e51b49937ae7b679a6c1addc34fb70e547ee3e70 | [] | no_license | ThanhTrungqn/test-screen-led | a6e682fd9b15e2b7c71f6b2bc2c87d6cf2a8ed25 | 3c62453a2fbeaeae9900ba73634e9dc92bef13e6 | refs/heads/master | 2021-03-18T11:14:02.101644 | 2020-08-26T11:23:56 | 2020-08-26T11:23:56 | 247,070,138 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,357 | hpp | BitmapDatabase.hpp | // Generated by imageconverter. Please, do not edit!
#ifndef BITMAPDATABASE_HPP
#define BITMAPDATABASE_HPP
#include <touchgfx/hal/Types.hpp>
#include <touchgfx/lcd/LCD.hpp>
#include <touchgfx/Bitmap.hpp>
const uint16_t BITMAP_APPSTORE_LABEL_ID = 0;
const uint16_t BITMAP_BATTERY_100_ID = 1;
const uint16_t BITMAP_BATT... |
0760567af2aece34ab865e00a2fd2b65638699a1 | 3da0b0276bc8c3d7d1bcdbabfb0e763a38d3a24c | /zju.finished/1985.cpp | 9408dee91462999f144c3df59b4ba9e2a8eabaaf | [] | no_license | usherfu/zoj | 4af6de9798bcb0ffa9dbb7f773b903f630e06617 | 8bb41d209b54292d6f596c5be55babd781610a52 | refs/heads/master | 2021-05-28T11:21:55.965737 | 2009-12-15T07:58:33 | 2009-12-15T07:58:33 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,171 | cpp | 1985.cpp | #include<cstdio>
using namespace std;
//利用Bar形图的特点,在O(N)的时间内求出N个点的左右界限
enum {
Size = 100004,
};
struct Node {
int h;
int l,r;
};
int testcase, num;
Node tree[Size];
int sum[Size],top;
void fun(){
int i,t;
tree[0].h = tree[num + 1].h = -1;
//求左边的界限位置
top = 0;
sum[top] = 0;
for(i=1;i<=num;i+... |
b683e7a026c8d5d8f43b591f3f301bb87d5e3f7f | 987b43cb95103fe3af35e8756c29aee7f3c7a07c | /include/SKSE/RegistrationMapUnique.h | 515f8391fc5aee7b7fb1ad4f7f354ab54b3a30ad | [
"MIT"
] | permissive | powerof3/CommonLibSSE | 29e6017c8bae90665db4d30318ee66fd19e6c139 | ff2afeaf5d6f6cac4c5b7cb1caaa2e0d89713393 | refs/heads/dev | 2023-08-31T05:15:02.732037 | 2023-08-21T09:52:55 | 2023-08-21T09:52:55 | 374,565,412 | 38 | 26 | MIT | 2023-09-10T13:09:57 | 2021-06-07T06:55:35 | C++ | UTF-8 | C++ | false | false | 21,221 | h | RegistrationMapUnique.h | #pragma once
#include "RE/A/ActiveEffect.h"
#include "RE/B/BGSRefAlias.h"
#include "RE/B/BSFixedString.h"
#include "RE/F/FunctionArguments.h"
#include "RE/I/IObjectHandlePolicy.h"
#include "RE/T/TESForm.h"
#include "RE/T/TESObjectREFR.h"
#include "RE/T/TypeTraits.h"
#include "RE/V/VirtualMachine.h"
#include "SKSE/API... |
9d787fa4d884acc38762eb87886a367b924a456c | 2b54c9e8e3704e41725aa19b42d97fb4bd7ff194 | /MIDI4CV.ino | 0de619dc8d37c03fffb5564fe99f30cb4ac6f3ee | [] | no_license | drkzrg/MIDI4CV-Module | dc1d1e887a757d84ce50af665accfec13eb56c19 | 689670da78a185fa66cae821fd7f51fc99b28c16 | refs/heads/main | 2023-09-04T18:08:24.187539 | 2021-11-20T11:15:42 | 2021-11-20T11:15:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,732 | ino | MIDI4CV.ino | /*
* MIDI4CV - arduino MIDI-to-4xCV for VCO pitch control
*
* It used Francois Best's MIDI library and Benoit Shillings's MCP4728 library
* https://github.com/FortySevenEffects/arduino_midi_library
* https://github.com/BenoitSchillings/mcp4728
*
* Translates MIDI note-on/off messages... |
2649053529cb71be47fbf11f410be27a0fb93bdf | 1856dc6a0fb9f4c79d4fedfebbcd1a9cf713a85d | /opm/porsol/twophase2/OPMIRISCode/SFCapPress.cpp | 9abc585249f705b0e61ec7ddff3868cf2109744c | [] | no_license | totto82/opm-porsol | 27c92486d61293ee09fc80b86c3edcb5763b6cf3 | 75ee48781fabf138ad34d6dab14f4a77efb86f55 | refs/heads/master | 2021-01-17T10:18:34.852479 | 2013-02-05T15:24:50 | 2013-02-05T15:24:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,613 | cpp | SFCapPress.cpp | /*
Copyright 2011 IRIS - International Research Institute of Stavanger.
This file is part of the Open Porous Media project (OPM).
OPM 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... |
8cd63377999aa216a329ffd3169097e097a2885b | 5b226427f40c35b8bf6eb6d5c9bc51ed751fe657 | /manipStr.cpp | e8ab86916bad5eac09450f800052f1de2e984f5d | [] | no_license | swiddiws/Assig0 | d018be90c118b78f5b33ea2662f05e4e07445b82 | 71d1f51ae768ef0feae15f6dad95b41edc5153e8 | refs/heads/master | 2022-03-30T09:43:29.951945 | 2020-01-30T06:29:58 | 2020-01-30T06:29:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,302 | cpp | manipStr.cpp | /*
* Class: CS 3305 Section 05
* Term: Spring 2020
* Name: Justin Swiderski
* Instructor: Pablo Ordonez
* Assignment: One
*/
#include <stdio.h>
#include <iostream>
#include <string>
#include <sstream>
#include <bits/stdc++.h>
bool palindrome(const std::string& theStr);
void wordPlay(std::string, int& x);
void letterMa... |
fed09614689da3c958723542584ca65641d86118 | 0fbf280f97f4e49eed94ab44a652c9b864d2f93c | /0.9.5/Source/main.cpp | c9e4efe8bcb51d0aea796352e730cfd42281650c | [] | no_license | PaulStovell/stovell-web-server | bd3ccdb68067c6e961e41bdcecc7f79188b39e7c | be9e2867f72d316e71a4f88d5f3a7f5e4e3a3702 | refs/heads/master | 2020-05-21T13:09:30.048393 | 2009-02-13T06:26:18 | 2009-02-13T06:26:18 | 128,103 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 18,059 | cpp | main.cpp | //---------------------------------------------------------------------------------------------
// Includes
//---------------------------------------------------------------------------------------------
#include <windows.h>
#include <winsock.h>
#include <string>
#include <iostream>
#include "options.hpp"
#include "c... |
0a5dcb2bb147aeb5496e832de195d6337c4a53af | 53f63e10ddec17c52155a2f278ac9d409b613bfa | /Assignment2/guessingGame/src/player1.cc | 99d4b8940a92660a907b94933ea8790f97fdf44a | [] | no_license | mhomran/networking-assignments-term1 | 7ebda31f5d71a2bcecfa1a6ba06dc2b99b822b35 | ccf075b07c4be3595cc2d03e7e464f6cacee00c5 | refs/heads/master | 2023-08-24T01:33:13.179257 | 2021-10-30T14:29:27 | 2021-10-30T14:29:27 | 420,444,426 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,567 | cc | player1.cc | //
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it wil... |
4de57a3dc3cbbe9848e25ac45fb3ce60c1660714 | 929d471bc048fe9ebe33838625e29b04678b70aa | /advil/arms.cpp | 124b70fb7a7b3df1c73961780a0f030a9412860d | [] | no_license | scouratier/advil | 77f936eab638e9cef0a90ab4dd62a727cf2b302a | b3667ac38f1ec597940aa59079d43c2d88487b9d | refs/heads/master | 2021-04-09T17:16:20.847729 | 2014-11-09T23:45:51 | 2014-11-09T23:45:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,236 | cpp | arms.cpp | #include "common.h"
Arms::Arms()
{
this->Charge= 0x31; // {r = 1 , g = 0 , b = 0}
this->MortalStrike= 0x32; // {r = 2 , g = 0 , b = 0}
this->Whirlwind= 0x33; // {r = 4 , g = 0 , b = 0}
this->Rend= 0x34; // {r = 8 , g = 0 , b = 0}
... |
4007f962a8734de4f5490c24493eb1b1163e5779 | e4d0bd0d6799d9592099571eddc30032c6a96b22 | /Population.h | 465783f05795b9f4e7ef396ada75a5be55563baf | [] | no_license | NickJordan289/SmartRockets | 56f7a90f068f26c4076e05be1c4eb983bb739b4c | e21f6fa9f366d60e4adca0bcdf7679f22507c66e | refs/heads/master | 2020-03-25T17:45:36.497894 | 2018-08-09T15:13:49 | 2018-08-09T15:13:49 | 143,994,264 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,743 | h | Population.h | // C++ SFML Smart Rockets Genetic Algorithm
// This is a C++ port of code from Daniel Shiffman's SmartRockets video
// https://www.youtube.com/watch?v=bGz7mv2vD6g
// https://github.com/CodingTrain/website/tree/9f0f94dd0495840ab037ac172c4575dba9dafd62/CodingChallenges/CC_029_SmartRockets
#pragma once
#include <SF... |
f910271e84f67ffaffced2ca1db5ea547ff40a35 | 04b3b8cc9ea56e8b55c5a36b0d2cec66161791fa | /content/files_mapper.h | 6f7ab59c6bb796753ef51cf5a83ce29c237d1591 | [
"BSD-2-Clause"
] | permissive | SSBMTonberry/emu-jukebox | 79f73bf7d850c7055e1be69433626a653efaa925 | dde3bacdd5132ad4a4c078aacb1624a16d93c127 | refs/heads/master | 2023-01-22T14:25:51.849005 | 2023-01-08T18:31:12 | 2023-01-08T18:31:12 | 164,926,707 | 13 | 3 | BSD-2-Clause | 2023-01-08T11:23:53 | 2019-01-09T19:43:29 | C++ | UTF-8 | C++ | false | false | 90,551 | h | files_mapper.h | #ifndef ASSET_GENERATOR_FILES_FILE_MAPPER
#define ASSET_GENERATOR_FILES_FILE_MAPPER
#include "files.h"
namespace files_mapper
{
namespace test_files
{
static const unsigned char * _TEST_AY = files::test_files::_TEST_AY;
static const size_t _TEST_AY_SIZE = files::test_files::_TEST_AY_SIZE;
static const unsigned... |
9514b5fee0dbe6ed4d4406776a14174e22cf101c | 009684d94a99d9b996322858424a6c9031caf770 | /include/cudnn_backend_base.h | b07b336a57bad2aeb56bb2f80a6e8b25065be3bc | [
"MIT"
] | permissive | kerrmudgeon/cudnn-frontend | 141ba3455779aac054a596a8ce219903935aed86 | 360d6e7164dfb7c802493fd1c0464f0d815b852a | refs/heads/main | 2023-02-22T17:33:30.214298 | 2021-01-28T23:59:31 | 2021-01-28T23:59:31 | 335,717,108 | 0 | 1 | MIT | 2021-02-03T18:25:14 | 2021-02-03T18:25:13 | null | UTF-8 | C++ | false | false | 5,570 | h | cudnn_backend_base.h | /*
* Copyright (c) 2021, NVIDIA CORPORATION. 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... |
07a34490eb7a014a622c0fb20685fb130a2ba614 | 793245b00fbc57960e1a808272bbb799fa9f998c | /Part 1/Chapter 8/src/8-3.cpp | 53473d265b267365c2d7f8e799437dc030ab7a78 | [] | no_license | glucu/JoshLospinoso-CPlusPlusAFPI | 478116afd5cedbac0ca2572fdb6b721bbc40e251 | 2a0da069eae9f200ee7e9648d21da1813ddeb20f | refs/heads/master | 2023-05-11T02:30:35.267067 | 2023-05-10T23:03:42 | 2023-05-10T23:03:42 | 286,272,287 | 8 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 577 | cpp | 8-3.cpp | #include "FibonacciIterator.h"
#include "PrimeNumberRange.h"
#include <iostream>
/* Integrate PrimeNumberRange into Listing 8-27, adding another loop that
* generates all prime numbers less than 5,000.
*/
int main() {
std::cout << "Fibonacci: ";
for (const auto &i : FibonacciRange{ 5000 }) {
std::cout <<... |
a0c88563d82aa0b8a3938dd57bad3ed035ddec9b | 5ab7032615235c10c68d738fa57aabd5bc46ea59 | /reversed.cpp | 030ec73765d7ebf87c96cf8a1581ff6983d47c6e | [] | no_license | g-akash/spoj_codes | 12866cd8da795febb672b74a565e41932abf6871 | a2bf08ecd8a20f896537b6fbf96a2542b8ecf5c0 | refs/heads/master | 2021-09-07T21:07:17.267517 | 2018-03-01T05:41:12 | 2018-03-01T05:41:12 | 66,132,917 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 340 | cpp | reversed.cpp | #include<iostream>
#include<algorithm>
using namespace std;
#define ull unsigned long long int
ull revese(ull a)
{
ull ans=0;
while(a!=0)
{
ans=ans*10+a%10;
a/=10;
}
return ans;
}
int main()
{
int t;
cin>>t;
for(int i=0;i<t;i++)
{
ull a,b;
cin>>a>>b;
a=revese(a);
b=revese(b);
a+=b;
cout<<rev... |
38a2059084ef0cb1bfad0146181167f69e7ad1f6 | a9d366e27d2a7ac064d2e2106e5ff18cf79ba5f4 | /src/MFCFrontEnd/MainFrm.h | 1c1851136b70fcd0d0bb1a6f91b6ff9794cb57ad | [] | no_license | Penguinang/fileManager | b9d33067ede145feba2895bdd0fed4cd4f48a0c4 | 5bae280a82c2e224fe25ad6b6359c66f3fb40be3 | refs/heads/master | 2020-05-24T17:11:42.115429 | 2019-05-25T04:23:23 | 2019-05-25T04:23:23 | 187,378,244 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,134 | h | MainFrm.h |
// MainFrm.h : interface of the CMainFrame class
//
#pragma once
class CManagerGUIView;
class CLeftView;
class CRightView;
class CMainFrame : public CFrameWnd
{
protected: // create from serialization only
CMainFrame() noexcept;
DECLARE_DYNCREATE(CMainFrame)
// Attributes
protected:
CSplitterWnd m_wndSplitter;... |
c9cd6bf0056344848fa6dbaf08a92825c66c619a | e46bd22112c15d9558ad9531deef183849636d62 | /LeetCode/978 - Longest Turbulent Subarray.cpp | a31f936a96d663ab1def262812940ad76f9bd5cb | [] | no_license | jariasf/Online-Judges-Solutions | 9082b89cc6d572477dbfb89ddd42f81ecdb2859a | 81745281bd0099b8d215754022e1818244407721 | refs/heads/master | 2023-04-29T20:56:32.925487 | 2023-04-21T04:59:27 | 2023-04-21T04:59:27 | 11,259,169 | 34 | 43 | null | 2020-10-01T01:41:21 | 2013-07-08T16:23:08 | C++ | UTF-8 | C++ | false | false | 1,263 | cpp | 978 - Longest Turbulent Subarray.cpp | /*******************************************
***Problema: Longest Turbulent Subarray
***ID: 978
***Juez: LeetCode
***Tipo: Sliding Window
***Autor: Jhosimar George Arias Figueroa
*******************************************/
class Solution {
public:
int maxTurbulenceSize(vector<int>& A) {
int n = A.si... |
2629aaf13329c4bdabe6751f41bea7d7f7a940a7 | 4508566a6dc2af865b2cdb25f0ae093422586c76 | /base/options.h | d68c961e67db20bc79a2dd7da24624c4a2cda768 | [
"BSD-3-Clause"
] | permissive | dzeromsk/goma | 687239094e7a5bbbc4d131eb1b63446f791eb11b | 350f67319eb985013515b533f03f2f95570c37d3 | refs/heads/master | 2020-03-27T06:43:57.094414 | 2019-03-18T04:49:09 | 2019-03-19T13:26:11 | 146,130,866 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,197 | h | options.h | // Copyright 2018 The Goma Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
#ifndef DEVTOOLS_GOMA_BASE_OPTIONS_H_
#define DEVTOOLS_GOMA_BASE_OPTIONS_H_
#include <sys/types.h>
#include "absl/strings/string_view.h"
#include "config... |
37d2cca1806e2b0305b6db8a3fc65707f368bf53 | 3019cc02f3738fafb71dc53e1764401501ea8475 | /dev/test/so_5/messages/user_type_msgs/simple_svc/main.cpp | c0fcf75c59a60b91cc97bc8fe5193afd47bc3b11 | [
"BSD-3-Clause",
"BSL-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | eao197/so-5-5 | a341ac895298e08479f01ac42be15b14ad11af6b | fa0c31c84d2637dce04e13a155040150d505fbbd | refs/heads/master | 2021-06-11T03:38:26.141983 | 2020-07-04T08:39:56 | 2020-07-04T08:39:56 | 32,193,560 | 78 | 21 | NOASSERTION | 2018-10-15T05:38:09 | 2015-03-14T03:11:06 | C++ | UTF-8 | C++ | false | false | 2,035 | cpp | main.cpp | /*
* A simple test for service requests of user types.
*/
#include <so_5/all.hpp>
#include <various_helpers_1/time_limited_execution.hpp>
struct msg
{
std::string m_a;
std::string m_b;
};
class a_service_t : public so_5::agent_t
{
public :
a_service_t( context_t ctx )
: so_5::agent_t( ctx )
{}
virtual voi... |
2081dac69c36a035c0ee01e0e5b39800305b7be9 | 18b8c69addf3559c2ff636a04fa81dce961599d4 | /UpdateThread.h | 4377eaa9d3944f2526ee4f882df8245d0df3927d | [] | no_license | wyrover/AutoUpdate | 9ec28e19991acf17e0c0f0053b75007aed2aaf57 | a8fe3bd4ef4b3b4cef8010bec4fc25a663a5a95e | refs/heads/master | 2021-01-21T00:07:52.283604 | 2013-04-02T16:30:38 | 2013-04-02T16:30:38 | 30,515,689 | 1 | 0 | null | 2015-02-09T02:53:31 | 2015-02-09T02:53:29 | null | UTF-8 | C++ | false | false | 2,252 | h | UpdateThread.h | //------------------------------------------------------------------------------
// 文件名称:UpdateThread.h
// 文件版本:v1.0
// 创建日期:2006-05-04 14:25
// 作 者:Richard Ree
// 文件描述:自动升级线程类
//------------------------------------------------------------------------------
#if !defined(AFX_UPDATETHREAD_H__194A514F_A0D7_4A... |
d0221690d90e7b9c416e7dc9e201532e2e61bba0 | acb5e83c2d0f74263c349e7194c129bf6dd658e4 | /GS_AC/GS_Exit.cpp | ae1e6c42f1428a4745930ab97e347d96f0a1b725 | [] | no_license | xmduke/GameShield | b1497a5f86e8c459f1c6994769cc03a6e96e7a05 | 47aec01f695f30d5c5f659f89c5422a946c32783 | refs/heads/master | 2022-12-12T05:18:14.238057 | 2020-09-12T14:24:58 | 2020-09-12T14:24:58 | 298,513,959 | 3 | 0 | null | 2020-09-25T08:28:40 | 2020-09-25T08:28:39 | null | UTF-8 | C++ | false | false | 2,765 | cpp | GS_Exit.cpp | /*
//GameShield Anti Cheat developed by MrSn0w
Purpoose:
Triggered by the protection method.
On trigger the anti cheat will ensure the games gets terminated.
*/
#include "Includes.h"
GS_Exit::GS_Exit()
{
GSData::Func::myExitProcess = reinterpret_cast<GSData::Func::tExitProcess>(GetProcAddress(GetModuleH... |
d6f4ec931d1a8c008c19ac8e5e1ea10f5abb1855 | c222fc4955ef9b71df8d4156b547fdc2b519b6c2 | /micro/third_pipe.h | 184b2c141ffb990f80695e608f0f5e990353be54 | [
"MIT"
] | permissive | luisccode/micro-arq | f2c84ea1888d6f41d93e62e36b70eb787db70810 | b6cf5dcf6ecd7866097c21e6e804b528968a7212 | refs/heads/master | 2022-12-15T04:53:21.225252 | 2020-03-07T14:20:32 | 2020-03-07T14:20:32 | 242,578,329 | 1 | 0 | MIT | 2022-12-12T04:30:59 | 2020-02-23T19:33:28 | C++ | UTF-8 | C++ | false | false | 1,501 | h | third_pipe.h | #ifndef SECOND_PIPE
#define SECOND_PIPE
#include <iostream>
#include <string>
#include <iomanip>
#include <fstream>
#include "macros.h"
#define Register_file "Register_file.txt"
SC_MODULE(Third_pipe){
sc_in <bool> clk;
sc_in < sc_uint < INSTRUCTION > > res_address, res;
ifstream RF;
void write_b... |
2fd8e106bcdbbab35637e9950c8c233e1e51d955 | b4382d6624e51613e4241559f52fb31a056bbf79 | /include/movement/AsyncAction.hpp | 313102d8f3ebd471a62bd29a260651ccb9fb1aef | [] | no_license | the7dorks/2020-annotated-robot-code | 698a15c252324e580bdbfe150112f0afb3e39313 | 226d86fb05adc9fcce9322d7766b178cf691df67 | refs/heads/main | 2023-01-02T16:37:59.553577 | 2020-10-29T02:05:11 | 2020-10-29T02:05:11 | 307,797,117 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 750 | hpp | AsyncAction.hpp | /**
* AsyncAction.hpp
*
* This file contains the definition of the AsyncAction struct.
* AsyncActions are objects that have an action (maction) and
* a certain error where the action should be executed (merror).
* It is used by motions in the Drivetrain class to run asynchronus
* actions at a certain distance fr... |
6e961e4daae80a56816fac177cc00d4627590d0f | fe103cd6f3fb81e74ec3e1108cb51a269b6c3c6c | /foundation/utility/fundamental.hpp | 0418909805ca71e19c7c65ff3d6d1777881e031a | [] | no_license | abdulla/ooe | c08ba08972526717fcae7e5726f5eb79659d1d07 | ef0aecd09329a845178c78db519a0bd4a6eecacf | refs/heads/master | 2021-05-01T01:09:13.266563 | 2012-12-29T06:28:59 | 2012-12-29T06:28:59 | 2,449,985 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,451 | hpp | fundamental.hpp | /* Copyright (C) 2012 Abdulla Kamar. All rights reserved. */
#ifndef OOE_FOUNDATION_UTILITY_FUNDAMENTAL_HPP
#define OOE_FOUNDATION_UTILITY_FUNDAMENTAL_HPP
#include <boost/mpl/find_if.hpp>
#include <boost/mpl/pop_back.hpp>
#include <boost/mpl/reverse.hpp>
#include <boost/mpl/sizeof.hpp>
#include <boost/mpl/vector.hpp>... |
d713437e4b1d6bea8868c03b0218ae3125a7a720 | 58f94e68a6b41cf01413858933c1c3bc791991e7 | /ShellApp16/Plugins/PlaybackCtrl/Source/PlaybackCtrl/Public/PlaybackCtrlComponent.h | 517db8d701596c28d585a0c9171a567438b52560 | [] | no_license | kellyckj/shellapp | 69be570d19cd64b7c6b2df3b35bb266d9b4e29bb | 468d41aee0f587542b09b97f6b813cbe00488f1f | refs/heads/master | 2022-04-24T10:01:30.666194 | 2020-04-28T22:05:57 | 2020-04-28T22:36:21 | 255,726,869 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,992 | h | PlaybackCtrlComponent.h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Components/ActorComponent.h"
#include "PlaybackCtrlInterface.h"
#include "OscDataElemStruct.h"
#include "PlaybackCtrlComponent.generated.h"
// declare the OnOscReceived event type
//DECLAR... |
2fdd565c11322605d500ea802f6ad8e4b87eb706 | 8947812c9c0be1f0bb6c30d1bb225d4d6aafb488 | /02_Library/Include/XMCocos2D-v3/3d/AttachNode.h | 0056c2cbdaa8ed82431468ee1471c58cf09364b6 | [
"MIT"
] | permissive | alissastanderwick/OpenKODE-Framework | cbb298974e7464d736a21b760c22721281b9c7ec | d4382d781da7f488a0e7667362a89e8e389468dd | refs/heads/master | 2021-10-25T01:33:37.821493 | 2016-07-12T01:29:35 | 2016-07-12T01:29:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 575 | h | AttachNode.h | #ifndef ATTACHNODE_H_
#define ATTACHNODE_H_
#include <vector>
namespace cocos3d
{
class C3DNode;
class C3DSprite;
/**
*Defines a logic attach point.one
*/
class AttachNode
{
public:
friend class C3DRenderNode;
AttachNode( C3DNode* pNode, C3DNode* pOwner );
~AttachNode();
C3DNode* node() ... |
d6aefbadbe2ed9600cec954267b8206b5ed3af7f | ec7cb44c93c6c5eecd96f823d30c85817b6fea4c | /src/scoop.h | c183a81c723a9e3077784cca33a8f1b8b721e054 | [] | no_license | chrisjakins/ice-cream | 99bc33203548e491dfc9a47133c9274840f62538 | 1aceb80bc8c13ec915105565646ab065730e4a30 | refs/heads/master | 2021-08-22T15:00:04.939607 | 2017-11-16T05:00:28 | 2017-11-16T05:00:28 | 107,576,057 | 0 | 0 | null | 2017-11-16T05:00:28 | 2017-10-19T17:10:10 | C++ | UTF-8 | C++ | false | false | 362 | h | scoop.h | #ifndef _SCOOP_H
#define _SCOOP_H
#include <string>
#include "item.h"
class Scoop : public Item {
public:
// Scoop(std::string, std::string, double, double, int, Gtk::Image);
/* for testing purposes before we are ready to work with images */
Scoop(std::string, std::string, double, double, int);
... |
b635ebf2c750aedb1eefa76cb08bdd3f97ae2141 | f713bb3150fe164dbac3e94e2278d0ff2e7c2f24 | /ESP32/RidesTracker/components/ble/bluetooth.hpp | 843f7ff694745c240023b2de44457aa806d8aab1 | [] | no_license | lkubecka/IoT | 3fcb37bcb511614ac75af9b597dd8c493ef8a584 | 3fc66258bf19ac60a77626a104c4c94ab59f7c3f | refs/heads/master | 2020-12-24T12:01:35.084240 | 2018-06-22T20:11:43 | 2018-06-22T20:11:43 | 73,098,586 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,443 | hpp | bluetooth.hpp | #ifndef BLE_H
#define BLE_H
#include "BLECharacteristic.h"
#include "BLEDescriptor.h"
#include "BLEServer.h"
namespace kalfy
{
class BLE
{
public:
static constexpr char TAG[] = "BLE";
static constexpr char SERVICE_UUID[] = "2e88c63b-bbf5-4312-a35c-8fc7f91c7d82";
static constexpr char CHARACTERISTIC... |
84a681ede5393c267acd77bc12687cc46875d9f0 | f9737f0ba5e053fa3d4df949bed290574fe55d33 | /Checkers-JPearl/Checkers-JPearl/src/connection.h | 9829f440e033628e0741f876fbdcd79c6da5ec81 | [
"MIT"
] | permissive | JonECG/Checkers | 1b846768fc89cca6e4b5fe93617c6493dc1bc6de | 376f61f5a14d8f7d85825187d1a1548c0ae9ae29 | refs/heads/master | 2021-01-13T15:09:57.428963 | 2017-01-12T06:09:14 | 2017-01-14T05:50:19 | 78,910,683 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,466 | h | connection.h | #pragma once
#ifndef CONNECTION_H
#define CONNECTION_H
#include <string>
#include <mutex>
#ifdef DEBUG
#include <iostream>
#define printSockError( message ) { char error[256]; const char * customMessage = nullptr; int code = checkers::Connection::getLastError(error, 256, &customMessage);std::cout << message << " "... |
88c9cebdf81c7fd5296d576f325504bb4877e91c | 3728db88d8f8268ded2af24c4240eec9f9dc9068 | /mln/value/hsl.hh | 09019041b2f35f1a8b87bbd449c85953cf0b4f0f | [] | no_license | KDE/kolena | ca01613a49b7d37f0f74953916a49aceb162daf8 | 0e0eff22f44e3834e8ebaf2c226eaba602b1ebf6 | refs/heads/master | 2021-01-19T06:40:53.365100 | 2011-03-29T11:53:16 | 2011-03-29T11:53:16 | 42,732,429 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,884 | hh | hsl.hh | // Copyright (C) 2008, 2009 EPITA Research and Development Laboratory (LRDE)
//
// This file is part of Olena.
//
// Olena 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, version 2 of the License.
//
// Olen... |
9e16283267de042242cdf648edb5c933c5838944 | 804a1a6b44fe3a013352d04eaf47ea6ad89f9522 | /dbms/src/Access/AccessControlManager.cpp | 249dc54fb0944d3f06815553ee35e37cdbbf6049 | [
"Apache-2.0"
] | permissive | kssenii/ClickHouse | 680f533c3372094b92f407d49fe14692dde0b33b | 7c300d098d409772bdfb26f25c7d0fe750adf69f | refs/heads/master | 2023-08-05T03:42:09.498378 | 2020-02-13T17:49:51 | 2020-02-13T17:49:51 | 232,254,869 | 10 | 3 | Apache-2.0 | 2021-06-15T11:34:08 | 2020-01-07T06:07:06 | C++ | UTF-8 | C++ | false | false | 1,741 | cpp | AccessControlManager.cpp | #include <Access/AccessControlManager.h>
#include <Access/MultipleAccessStorage.h>
#include <Access/MemoryAccessStorage.h>
#include <Access/UsersConfigAccessStorage.h>
#include <Access/QuotaContextFactory.h>
#include <Access/RowPolicyContextFactory.h>
namespace DB
{
namespace
{
std::vector<std::unique_ptr<IAccess... |
5a118a6debd764d391ace664b6bebed543f2b270 | 5e10d73d10025af779d798ac94b9a84ebe9a97be | /src/include/BaseFilter.h | e141e7740ed0f62b61424e30443a248177f833a4 | [
"MIT"
] | permissive | PlutoniumHeart/BloodVesselEnhance | 6b736d728df919a149320e8e8d48580ae2cf5b78 | b7619edcc8a6881e5c382749134cf8f267c53685 | refs/heads/master | 2021-01-10T18:45:25.286185 | 2013-11-21T06:49:24 | 2013-11-21T06:49:24 | 14,169,779 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 555 | h | BaseFilter.h | #ifndef BASEFILTER_H
#define BASEFILTER_H
#include "BaseImage.h"
#include "BaseImageSeries.h"
enum Direction
{
XDirection=1,
YDirection=2,
ZDirection=4,
Undefined,
};
enum class DataType
{
Short,
UChar,
Undefined,
};
class BaseFilter
{
public:
... |
5d55e9b0a4d6cbd2f87e6719fa8a03a944472927 | 6749264be647b516996967b02ab48572ca0dbd1d | /syn.cpp | eefda4b38b7d21f2382851168b310d8b986bc648 | [] | no_license | linghuazaii/syn-flood-implement | b8deef9ca8b92065043b6d6448b5c85136325ed3 | 986f413ef943568e48495aedaf3195bf3cda819e | refs/heads/master | 2020-06-14T15:31:37.713627 | 2017-07-14T02:31:41 | 2017-07-14T02:31:41 | 75,165,426 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 9,882 | cpp | syn.cpp | #include "syn.h"
#include <net/if.h>
#include <arpa/inet.h>
int check_syn_config(global_config_t &config) {
if (strlen(config.host) == 0 || config.remote_port == 0) {
SF_SYSLOG("host or port is not specified.");
return -1;
}
return 0;
}
int init_syn_packet(syn_header_t &syn_header, global... |
151402bf787ee7b6b236d7f76e6433eea28ba43d | fe84f08061fc9ed602295a086b0b9c4e92943855 | /StanfordAlgorithm/Inversion.h | c11c2722cb2a5043c193767f073241b02b35e8bc | [] | no_license | tkhubert/Stanford-Algorithm | b9d6b234ce66a986da2602fe7908b9cf65262638 | 2b98bb87b10afada9eae6600767ebb773e707d6f | refs/heads/master | 2021-01-19T08:26:25.763180 | 2015-03-30T18:26:14 | 2015-03-30T18:26:14 | 30,153,074 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 831 | h | Inversion.h | //
// Inversion.h
// AlgorithmsStanford
//
// Created by Thomas Hubert on 24/01/2015.
// Copyright (c) 2015 Thomas Hubert. All rights reserved.
//
#ifndef __AlgorithmsStanford__Inversion__
#define __AlgorithmsStanford__Inversion__
#include <iostream>
#include <stdio.h>
#include <vector>
#include <string>
#include... |
514deb69083793fe0ee04d010d590b502f2ecfb3 | d96ebf4dac46404a46253afba5ba5fc985d5f6fc | /third_party/libwebrtc/modules/video_capture/video_capture_options.cc | e80872d26caf46010b090b0283c03cdd40447f02 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | marco-c/gecko-dev-wordified-and-comments-removed | f9de100d716661bd67a3e7e3d4578df48c87733d | 74cb3d31740be3ea5aba5cb7b3f91244977ea350 | refs/heads/master | 2023-08-04T23:19:13.836981 | 2023-08-01T00:33:54 | 2023-08-01T00:33:54 | 211,297,165 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,359 | cc | video_capture_options.cc | #
include
"
modules
/
video_capture
/
video_capture_options
.
h
"
#
if
defined
(
WEBRTC_USE_PIPEWIRE
)
#
include
"
modules
/
video_capture
/
linux
/
pipewire_session
.
h
"
#
endif
namespace
webrtc
{
VideoCaptureOptions
:
:
VideoCaptureOptions
(
)
{
}
VideoCaptureOptions
:
:
VideoCaptureOptions
(
const
VideoCaptureOptio... |
1830b27587fefcd470c16a375d413db1bd088673 | b2691a86cf9e54b3ad31399e1c1f14ecf7b3f24c | /Qt/QT_RS/subsetimage.cpp | 44e6b1f2ce922d336ba7375b3e1eff3666331072 | [] | no_license | chenziyu2016/dev | 41671058c84d22ea520a72a7d3ee054700510486 | a60a522649c08f0ac0dde4271ea3e437556115a6 | refs/heads/master | 2021-09-24T22:00:41.502712 | 2018-10-15T12:26:10 | 2018-10-15T12:26:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,211 | cpp | subsetimage.cpp | #include "subsetimage.h"
#include "ui_subsetimage.h"
/*SubsetImage::SubsetImage(QWidget *parent=0):
ShowImageBase2(parent),
ui(new Ui::SubsetImage)
{
ui->setupUi(this);
}
*/
SubsetImage::SubsetImage(QWidget *parent,GDALDataset *p_Dataset):
ShowImageBase2(parent,p_Dataset),
ui(new Ui::SubsetImage)
{
ui->set... |
37fd562d11181affd08266eada69da7e72589d99 | c49f39fad5551829682284f29b746d2932c56983 | /3-graph-algorithms/vertex_matrix.cpp | 4eef8b7489863d114ba803e067918e773c7a561b | [
"MIT"
] | permissive | zuzg/algorithms-data-structures | b091420d98b73de7c61a83ce942004041fa13611 | 02abc68123a2a9ed56a6195203f83f61dc84892b | refs/heads/main | 2023-07-05T21:46:29.576211 | 2021-08-05T11:13:48 | 2021-08-05T11:13:48 | 391,713,783 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,096 | cpp | vertex_matrix.cpp | #include <iostream>
#include <vector>
#include <fstream>
#include <time.h>
#include <string>
using namespace std;
int N[] = {10, 20, 30 , 40, 50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 1000};
class Graph {
private:
// number of vertices
int v;
// adjacency matrix
vector< vector<int> > matrix;
... |
056d6d306b7afe37733c5877abbae2dda1e3e35b | 054d51d90fc6abb0a6153f5fcf18ecbdacd18407 | /interview_Code/Code/Tree-62-LeetCode144-前序遍历.cpp | 6254a51005efb0cd45277f5227ed009afcaa91e1 | [] | no_license | Stephenhua/CPP | c40c4c69bffc37546ed00f16289e0b24293c59f9 | bbaa84aabf17cf8e9c1eccaa73ba150c8ca20ec4 | refs/heads/master | 2020-12-30T03:42:44.502470 | 2020-09-18T14:56:38 | 2020-09-18T14:56:38 | 238,844,457 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 924 | cpp | Tree-62-LeetCode144-前序遍历.cpp | #include <iostream>
#include <vector>
#include <map>
#include "TreeNode.h"
#include <stack>
#include <algorithm>
#include <cmath>
#include <fstream>
#include <queue>
#include <map>
#include <unordered_map>
using namespace std;
vector<int> preOrder(TreeNode* root ){
vector<int> res;
if( root == nullptr ){
... |
565f99bec509fbe08a5233d76f7156119766d26e | 3e592282346b70a80f24eac1a8f139ffb83d3a7f | /1118.cpp | 139b6714179a899d1c0b7ab17e6925ec5ded135a | [] | no_license | dtdsouza/URI | 1e1a603931fe0b3b2544ec088058f096fbe9ed3f | 0f8b16db7ebc69988974641ca52d95ebefa3412b | refs/heads/master | 2021-04-26T22:28:46.477401 | 2019-05-03T00:44:54 | 2019-05-03T00:44:54 | 124,098,335 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 659 | cpp | 1118.cpp | #include <iostream>
#include <locale>
#include <iomanip>
#include <math.h>
using namespace std;
int main()
{
setlocale(LC_ALL,"Portuguese");
float verifica,x,y,media;
do
{
cin>>x;
while ((x < 0)|| (x > 10))
{
cout<<"nota invalida"<<endl;
cin>>x;
}
cin>>y;
while ((y <... |
9f1525ade518473c4d6710f8b0960ea91b1f0d33 | 576089ff35b6daa768b8a5d0d40578d2df4dc7a1 | /AutoCodeSignal/Answer/C/pepEight2.C++ | 9879506fdd0c4e46d5ebe18c81204603b51376ca | [] | no_license | noat13/FRIST_DEMO | 5426668a08f404ca7defc4230a576086de5098a9 | b8969b27624c2ceb618e53c73b8e3503ae9de576 | refs/heads/master | 2020-04-26T03:50:36.556507 | 2019-09-07T10:22:34 | 2019-09-07T10:22:34 | 173,281,081 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 67 | pepEight2.C++ | bool pepEight2(std::string line) {
return line.size() <= 79;
}
| |
c130a1d63ccbf4e652b2d6ee8198d7feb3ae668d | d971297d358dba6cd37589a3ae8f1761c6b33849 | /src/Node.h | c456981ef800d3cc0fc7d39d8e208fd7cb00b789 | [] | no_license | swipswaps/Sliding-Brick-Puzzle | a7bbed1b08cb694246e737f3c184d503df71af51 | a8329c2100ae8fc0d82985f0799bc2feff848c5e | refs/heads/master | 2022-11-17T10:27:14.012823 | 2020-07-08T17:53:47 | 2020-07-08T17:53:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 719 | h | Node.h | #pragma once
#include <memory>
#include "Matrix.h"
class Node {
public:
//Node() {};
// root node..
Node(const Matrix&);
// ..all other nodes
Node(const Matrix& m, Node* parent, std::pair<int, Moves> transition);
// cpy constructor
Node(const Node&);
// empty destructor
~Node() {};
// Matrix (current sta... |
22d328f5bbf61ba0a3d0f387076e038ea1732098 | 9748bbefcac3195d8b3d08768a70e046e99f0a95 | /DiscBurner/.svn/text-base/ProfilePane.cpp.svn-base | cad90137a09e41aa8e387f1934fef36ad94bebb0 | [] | no_license | 15831944/vc-moviemaker | 911a897a3abac994a3e57595be2d4179c741b558 | 718fe3fd888ba39b928c00008d1c477d03a27dc1 | refs/heads/master | 2021-12-12T10:31:01.709621 | 2016-12-31T06:13:27 | 2016-12-31T06:13:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,489 | ProfilePane.cpp.svn-base | // ProfilePane.cpp : implementation file
//
#include "stdafx.h"
#include "Converter.h"
#include "ProfilePane.h"
#include "DeferWindowPos.h"
#include "ProfileManager.h"
#include "DlgSaveProfile.h"
#include "DlgDeleteProfiles.h"
#include "FileList.h"
// CProfilePane
const UINT ID_PROFILE_TOOLBAR = 1001... | |
60d73690ec3b9cd289f20de0b3e28507026aa3f4 | d597d23737d50af82a53c393f58dc4ada7c2077a | /src/Cello/charm_MsgInitial.cpp | 69c0641661e05e9b6044b0019a554c2eb759e70b | [
"BSD-3-Clause",
"NCSA",
"BSD-2-Clause"
] | permissive | enzo-project/enzo-e | 23c1464c3efe434e19bbf0e7bd9cb3a70a63b79d | 69526e8179b2fb4d3f43eca0a7f85df18af16795 | refs/heads/main | 2023-08-15T05:31:44.031734 | 2023-08-14T19:30:48 | 2023-08-14T19:30:48 | 170,394,544 | 33 | 34 | NOASSERTION | 2023-09-08T01:03:40 | 2019-02-12T21:31:47 | C++ | UTF-8 | C++ | false | false | 8,295 | cpp | charm_MsgInitial.cpp | // See LICENSE_CELLO file for license and copyright information
/// @file charm_MsgInitial.cpp
/// @author James Bordner (jobordner@ucsd.edu)
/// @date 2021-05-31
/// @brief [\ref Charm] Declaration of the MsgInitial Charm++ message
#include "data.hpp"
#include "charm.hpp"
#include "charm_simulation.hpp"... |
cb8e45672f1a02edfcab8a112e348a2601f6b685 | 694d43c0d41d7da77aa7c28dfc4371bb02cde549 | /MAPIL/Code/Src/Graphics/Shader.cpp | 84060efb820de232174226af16665a3751e2524f | [] | no_license | nutti/MAPIL | 3774e1e9b83f7437cd0ebe7d264893ac48f37531 | b0cc4b0ca4f3c437c41ab6c4794447c5b217ebb6 | refs/heads/master | 2020-06-04T10:22:15.596841 | 2013-12-19T11:46:59 | 2013-12-19T11:46:59 | 3,541,815 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 691 | cpp | Shader.cpp | /**
* @file Shader.cpp
* @brief Implementation of Shader.h.
* @date 2012.10.6 (Sat) 22:24
*/
//-------------------------------------------------------------------
// Includes.
//-------------------------------------------------------------------
#include "../../Include/MAPIL/CrossPlatform.h"
#include "../../Include/... |
31f3c5a1934459f9ae6a51e8308f6d995dee98fe | c7f44aafc118d92c27cb64a2215763acca386917 | /main.cpp | b6d6b05ca369243280eb326b10731f328be8b29a | [] | no_license | lexeylk/Date | 6ff7ece5d75e09718afd5684684d1654490022fa | 38168c754627e6077ef336ce726cc06926a00d12 | refs/heads/master | 2021-01-10T21:20:12.315916 | 2015-03-16T11:27:42 | 2015-03-16T11:27:42 | 32,320,362 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 708 | cpp | main.cpp | #include <stdio.h>
#include <iostream>
class Data{
public:
int d, m, y;
Data(int day, int month, int year);
bool check();
void print();
int return_days();
};
Data::Data(int day, int month, int year){
d = day;
m = month;
y = year;
}
void Data::print(){
std::cout << Data::d << "." << Data::m << "." << Data... |
44344b05160c1478bc0fa4e1e0bc5f1972d327d3 | 30bdd8ab897e056f0fb2f9937dcf2f608c1fd06a | /DP/2020.cpp | b8999808dd0152b59c81a7cc75aab8effc4fe415 | [] | no_license | thegamer1907/Code_Analysis | 0a2bb97a9fb5faf01d983c223d9715eb419b7519 | 48079e399321b585efc8a2c6a84c25e2e7a22a61 | refs/heads/master | 2020-05-27T01:20:55.921937 | 2019-11-20T11:15:11 | 2019-11-20T11:15:11 | 188,403,594 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 566 | cpp | 2020.cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
int n, m;
cin >> n >> m;
int a[n];
for (int i = 0; i < n; i++) cin >> a[i];
set<int> c;
int cnt = 0;
int r[n] = {0};
for (int i = n - 1; i >= 0; i--)
{
if (c.find(a[i]) == c.end())
... |
e9c2c52b84d9895b7ddf7493cc7f8509e70c6b01 | dd79ea8df482e868c2cbbf9a3ee6c2867965d581 | /hw_5/unit_tests.cc | 7a7de1c65515a5cb8a31b04db2e71ece2c48a2d1 | [] | no_license | Chuckhu18/520-Assignments | 9e55cc2089441476e3ffb9a6d3ca144c66345039 | 0314e51dcb2e3a63d2848cc1caf71fa064b69ce7 | refs/heads/master | 2022-04-09T10:29:54.842479 | 2020-03-12T01:26:53 | 2020-03-12T01:26:53 | 232,954,010 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,575 | cc | unit_tests.cc | #include "gtest/gtest.h"
#include <iostream>
#include <vector>
#include <cctype>
#include <numeric> // std::accumulate
#include "example.h"
#include "db.h"
namespace {
using namespace std;
TEST(Example,Sort){
double mya[] = {3,-2,1};
vector<double> myvector (mya, mya+3);
sort_by_magnitude(myvect... |
40ad0be1df87af53cf8798ed34e70a29ddf5fb5d | ab4e78006f4cf7ac10ebfeb5f5976f8329ea7a08 | /src/ParseParamsBody.cpp | 722e3215795aa4c67ff9d9a875b18ed3d7ddd599 | [] | no_license | mstefferson/HardRod | e4902407c896b1a3399653928bfa6ca27005afab | 6c524d9c1968b162b9dd197932f429a174f73f47 | refs/heads/master | 2021-03-25T14:22:03.726349 | 2016-04-06T18:56:06 | 2016-04-06T18:56:06 | 46,453,606 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,897 | cpp | ParseParamsBody.cpp | if( param_name.compare( "seed" ) == 0 ) {
params.seed = atoi( param_value.c_str() );
std::cout << " seed = " << param_value << std::endl;
}
if( param_name.compare( "trial" ) == 0 ) {
params.trial = atoi( param_value.c_str() );
std::cout << " trial = " << param_value << std::endl;
}
if( param_name.compare( "... |
e07fa9627a3469b49ae9538b43c8af7e92c5b97c | df90ed23a49dba79f61e5a28366424f0ecec60de | /src/color_configuration.cpp | 6dc2c6fb7dabea832b7627d69e1e68f3ab7f78e8 | [
"BSD-2-Clause"
] | permissive | Damdoshi/LibLapin | 306e8ae8be70be9e4de93db60913c4f092a714a7 | 41491d3d3926b8e42e3aec8d1621340501841aae | refs/heads/master | 2023-09-03T10:11:06.743172 | 2023-08-25T08:03:33 | 2023-08-25T08:03:33 | 64,509,332 | 39 | 12 | NOASSERTION | 2021-02-03T17:18:22 | 2016-07-29T20:43:25 | C++ | UTF-8 | C++ | false | false | 2,907 | cpp | color_configuration.cpp | // Jason Brillante "Damdoshi"
// Hanged Bunny Studio 2014-2018
//
// Bibliothèque Lapin
#include "lapin_private.h"
t_bunny_decision bunny_color_configuration(const char *field,
t_bunny_color *col,
t_bunny_configuration *cnf)
{
t_bunny_configuration *nod;
const char *str;
char *end;
in... |
37eab654b6bcf6bcf5259a25e8ffbaf67dd4b4c0 | d35efbf99375ff689c69a6ee1ca1f33e7b0a7427 | /Sorting.cpp | 33d2a2f4cdbfb1f08ed56aeb784cbb8df5fc3996 | [
"MIT"
] | permissive | laya-2002/Merge-Sort | baa0bf574fad0ec9a35d82361aa53915041b4e90 | ae6c2f597a72c36d5d736356c94047a2c38ca43b | refs/heads/main | 2023-09-05T14:27:14.867034 | 2021-11-05T09:32:04 | 2021-11-05T09:32:04 | 370,320,292 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,930 | cpp | Sorting.cpp | #include<iostream>
using namespace std;
void merge(int arr[],int l,int m,int r){
// Function used to sort and merge the two parts.
// Declaring the first array.
int L[m-l+1];
// Declaring the second array.
int R[r-m];
// Initializing the first array.
... |
17a4340875d9e51a74026fcef59da30629fc14dc | f36d78ab17b114775248e00afead5de56d9de8f4 | /22/22_main.cpp | afc957ff58fef3923fe36d8ef098731938539fa7 | [] | no_license | tonyplotnikov/Labs_PSTU | 879abafc63da4c3dce9c3944de29727ace58489f | e8c38a2d4b31e3a6291f1c1c921b1ecdfd4c44c4 | refs/heads/master | 2022-11-06T09:06:00.634992 | 2020-06-17T22:59:25 | 2020-06-17T22:59:25 | 256,130,980 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,199 | cpp | 22_main.cpp | // Плотников Антон, лабораторная работа № 22. Перегрузка операций.
// 1. Операции сравнения (<, >).
// 2. Операция ++, которая работает следующим образом : если форма операции префиксная, то увеличивается первое число, если форма операции постфиксная, то увеличивается второе число.
#include "Pair.h"
#include <iost... |
c85383373c0710b6fff68176b037dc527f4a7fd4 | b7a7725af9cdb9229898d1277c40d95051393eb8 | /hacker_graph.cpp | 05ced404651991eb34adf7f27beed39579263bdc | [] | no_license | siddharthkhabia/c-file | 1647cc83b713ac85f9b26acecd599acddeca2269 | 19d83e971a77baeda7b971ef851c662645ea4703 | refs/heads/master | 2021-01-10T03:49:36.513462 | 2015-12-11T06:38:48 | 2015-12-11T06:38:48 | 45,008,590 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,737 | cpp | hacker_graph.cpp | #include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <limits.h>
#include <algorithm>
#include <vector>
#include <string>
using namespace std;
int dfs_1(int a,std::vector<std::vector<int> > &v)
{
if (a==1)
{
return 1;
}
else
... |
815be33976524befaa0a01a5acee3e501c1cd411 | 49731835b7fbc75caaf8739394d1ee3ff9121daf | /PokerSphere/TournamentTemplateManagement.h | 8d240515d2bbdba073ea67270fd660e67c065e3e | [] | no_license | Bwaim/Pokersphere | e974a88fe90a4cd7ab1fb5c085dc01f4eca76563 | bc8dc084b8f9575cb645ba2be1c03f8cfff6e67f | refs/heads/master | 2021-07-07T01:14:03.099653 | 2017-09-27T12:03:51 | 2017-09-27T12:03:51 | 105,008,499 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,193 | h | TournamentTemplateManagement.h | #ifndef TOURNAMENTTEMPLATEMANAGEMENT_H
#define TOURNAMENTTEMPLATEMANAGEMENT_H
#include <QWidget>
#include "ui_TournamentTemplateManagement.h"
#include "CreateTournamentTemplate.h"
#include "TournamentTemplateManager.h"
#include "TournamentTemplate.h"
class TournamentTemplateManagement : public QWidget
{
Q_OBJECT
... |
52a71d151d32bc43f8c14ad72bb94c30c40c5b52 | 932aec8283dea0a6971a917dcb270f780738a964 | /template/main.cpp | f1d50ffbace5d510321b66c20c6c2163035b22dc | [
"MIT"
] | permissive | mahilab/Syntacts | 34689a71ae32c3b170ba60dda941dbf29806112a | 0056e5005c4a5d6e321d00efc6dd7f42c68a759b | refs/heads/master | 2022-11-01T02:34:44.536964 | 2022-04-15T00:46:03 | 2022-04-15T00:46:03 | 170,136,338 | 63 | 8 | MIT | 2021-08-02T20:11:47 | 2019-02-11T13:48:37 | C++ | UTF-8 | C++ | false | false | 169 | cpp | main.cpp | #include <syntacts>
using namespace tact;
int main(int argc, char const *argv[])
{
Session s;
s.open();
s.playAll(Sine(440));
sleep(2);
return 0;
} |
8172455bbb0fbf11084322ff04a73be38262f5bc | ee341e1d20848438c2b130c7d0654af864074fa6 | /SampleProject/Plugins/SimpleUPNP/Source/SimpleUPNP/Classes/GetPortListCallbackProxy.cpp | 48793b13668174f6d48cd98dae3c00784807667e | [] | no_license | woodsshin/UPNPSample | c74379e24741b814ddf790a5a2f96ed7fc746a24 | 5bed850952e3d4bfb2625101128e28a9967a7d7b | refs/heads/master | 2023-06-22T14:29:03.384469 | 2023-06-09T08:52:19 | 2023-06-09T08:52:19 | 90,494,467 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 4,042 | cpp | GetPortListCallbackProxy.cpp | // Copyright 2017-present WoodsShin, Inc. All Rights Reserved.
#include "GetPortListCallbackProxy.h"
#include "Engine/Engine.h"
#include "Engine/World.h"
#include "TimerManager.h"
#include "UPNPModule.h"
//////////////////////////////////////////////////////////////////////////
// UGetPortListCallbackProxy
UGetPortL... |
ce1d743cf7cfaed67fa791c9a3a3144c10066b31 | 5778fbaf6b21ee283a1079564290c13eff6ecff3 | /redis-desktop-manager/include/models/items/ItemWithNaturalSort.h | da5e51d8e0f4df5897a06001fe61e3fe1a1aaa0c | [
"MIT"
] | permissive | dolfly/RedisDesktopManager | 99b69541a89bf10b414a59aea58951753917456d | f63f5beb42c2fd0f40b85e1251d2d888ec76a900 | refs/heads/master | 2021-01-18T15:19:48.866237 | 2013-12-26T09:42:37 | 2013-12-26T09:42:37 | 15,457,389 | 0 | 0 | MIT | 2020-06-16T05:30:13 | 2013-12-26T17:43:14 | C++ | UTF-8 | C++ | false | false | 342 | h | ItemWithNaturalSort.h | #pragma once
#include <QStandardItem>
class ItemWithNaturalSort : public QStandardItem
{
public:
ItemWithNaturalSort();
ItemWithNaturalSort(const QIcon & icon, const QString & text);
bool operator<(const QStandardItem & second) const;
static bool lessThan(const QString &s1, const... |
7476cfbc6d7fea5d84d13c67edd76ab69a92e6d6 | 0bcfca13028126a2924e67d25ba541d746f002ec | /Tema_2/T_2_7/main.cpp | db5a5257230df590c43fc05e6116fec5ad9c2bc0 | [] | no_license | POOUJA/teoria | 1be824afb326302605dec45cec0a2ff8e0f9a1d8 | 7cf89985981f523328cf0338ba1963fa1570da6a | refs/heads/master | 2023-03-30T12:41:52.859593 | 2023-03-21T10:12:37 | 2023-03-21T10:12:37 | 42,666,840 | 7 | 24 | null | 2019-02-27T16:55:31 | 2015-09-17T16:12:09 | C++ | UTF-8 | C++ | false | false | 4,988 | cpp | main.cpp | /**
* @brief Ejemplo T_2_7 de teoría: Operadores con Entrada de Facebook
* @file main.cpp
* @author Victor M. Rivas Santos <vrivas@ujaen.es>
* @date 27 de septiembre de 2015, 11:00
*/
#include <iostream>
#include <cstdlib>
#include "EntradaEnFacebook.h"
/**
* @brief Función principal
* @argc Número de argumen... |
8e650eb930f8cd2d62f514e04e4f9c4112a3352d | 9d017d6cd49418592dd27ed51e392b66e50a057e | /a2 online judge/bfs,dfs,djikstra/26aug/igorandhisway(tle).cpp | 992a3cdc798d3fe474ad6d39e46cdbfbdfc82a5d | [] | no_license | rv404674/CPcodes | 753113cc539f8582581a7bef8381367b82eac4ee | 0c5c1a7c6d5ce09261e69dc3f56dc47b19617863 | refs/heads/master | 2021-08-08T14:25:03.747945 | 2017-11-10T14:16:59 | 2017-11-10T14:16:59 | 110,252,715 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,791 | cpp | igorandhisway(tle).cpp |
#include<iostream>
#include<iomanip>
#include<sstream>
#include<cstdio>
#include<cmath>
#include<cstring>
#include<string>
#include<vector>
#include<list>
#include<set>
#include<map>
#include<queue>
#include<stack>
#include<utility>
#include<limits.h>
#include<functional>
#include<algorithm>
using namespace std;
in... |
c0cb21812671c42db7159660fd13ec040ffebb0f | e66b0410f33411c487abff27ffe613257b334253 | /Project1/Project1/Deck.h | c5d42f4045f5c79768986ac0f543a9d602038ac4 | [] | no_license | EnriqueVillavisencio/CIS-17C | d20354192f362010f2801db4a055bd215e46073d | f30ddfc799d81f4580e3de7fe86806020f1d4e47 | refs/heads/master | 2022-05-31T19:42:45.403138 | 2020-04-30T06:55:47 | 2020-04-30T06:55:47 | 260,135,990 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,466 | h | Deck.h | /*
* File: Deck.h
* Author: Enrique Villavisencio
*
* Created on April 29, 2020, 6:32 PM
*/
#ifndef DECK_H
#define DECK_H
#include "Card.h"
using namespace std;
class Deck
{
private:
const string RANK[13] = { "A", "2", "3", "4", "5", "6", "7", "8", "9", "10", "J", "Q", "K" };
const char SUIT[4] = { 'S', '... |
60a67e599c87e55f3f6cb6fd0ff710f51d9b2706 | eb2b68c93ea54665d2638e1525e661a02fd3baca | /Interview Preparation/Interview Preparation/Stack.h | 09a9061887a37625bce47e7e0fd853ec211af078 | [] | no_license | osama-afifi/InterviewPrep | e93a4b6f477c57e59deb2eeeac06021c7a803259 | b6adde8310d9938036b8ae086ae788c423cc8da9 | refs/heads/master | 2021-06-07T07:31:18.608492 | 2017-10-25T09:33:40 | 2017-10-25T09:33:40 | 21,326,176 | 2 | 1 | null | 2017-10-25T09:33:41 | 2014-06-29T15:32:03 | C++ | UTF-8 | C++ | false | false | 683 | h | Stack.h | #include "All.h"
template<class T>
class Stack
{
private:
template<class T>
class Node
{
public:
Node* next;
T data;
Node(T vv)
{
data= vv;
}
Node()
{
}
};
Node<T> * top;
int size;
public:
Stack()
{
top = NULL;
size = 0;
}
void push( T val)
{
Node<T>* NewNode = new Node<T>(val);
... |
003cae09eb219e4d93beade951b7d4ca8f667a81 | 5bfcd97eea9e599d42bec4201d08cd073ee3c140 | /nonlinearFit.h | cd2c2a9629da64540db9d31f77ec33c646eb69e4 | [
"MIT"
] | permissive | synergy-twinning/ekgsim | 678c92d5c34b55a4d33aa80422ee78b1b4918a30 | 2d21a91dfd4a3847129de9cb76c94729808dca46 | refs/heads/master | 2021-01-22T19:04:39.390125 | 2018-11-30T09:36:40 | 2018-11-30T09:36:40 | 85,158,288 | 5 | 0 | null | 2017-03-17T06:38:01 | 2017-03-16T05:58:23 | C++ | UTF-8 | C++ | false | false | 6,299 | h | nonlinearFit.h | /*
Copyright (c) 2017 Institute Jožef Stefan, Jamova cesta 39, SI-1000, Ljubljana, Slovenija
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 withou... |
05ad53717263c312d6a6d65dbdf69e94e95aefb3 | 4b5a631af6e3215424a26764b7b6c9d5366b68d5 | /UI/singleplayer.cpp | c70ba5d11472ab5fffa168dfa85a66afa2eddc0e | [] | no_license | adidvar/Chess-app | a02370428c121c99d124593ef9b37f6e838a8425 | e136ed2edbdb5226b34b99875d9d18d6e306ef87 | refs/heads/master | 2023-08-08T19:29:24.320021 | 2023-08-01T12:21:08 | 2023-08-01T12:21:08 | 208,478,893 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 714 | cpp | singleplayer.cpp | #include "singleplayer.h"
#include "ui_singleplayer.h"
SinglePlayer::SinglePlayer(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::SinglePlayer),
computer_(match,Color::kBlack)
{
ui->setupUi(this);
ui->board->SetMode(BoardWidget::kPlayerWhite);
connect(ui->board,&BoardWidget::EnteredTurn,this... |
3904efed0d301ca6a81657089ba9732a6b5b8c0e | 04e145dd58bf6140d2785b19c14bf8b219f11c20 | /Server/src/base/ManagerModuleManager.cpp | 7b8b3f4fc74549d94fc2b10b128dbd88c1f05a0f | [] | no_license | esinple/MyFrame | 017f88eda602e2ffaa7d77e50932885e15032052 | 4d06a46adb129689cbbbceb2ed03768bd78d169e | refs/heads/master | 2021-08-30T20:18:54.970212 | 2017-12-19T09:10:45 | 2017-12-19T09:10:45 | 111,551,357 | 1 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 3,152 | cpp | ManagerModuleManager.cpp | #include "ManagerModuleManager.h"
#include "MPLogger.h"
#include "MPTimeTester.h"
#include "MPModuleFactory.h"
#define GET_MODULE_NAME(i) MPModuleFactory::GetInstance()->GetName(m_nFactoryType,i).data()
ManagerModuleManager::ManagerModuleManager(uint32_t nFactoryType, uint32_t nModuleNum)
: m_vModules(),m_nFactoryTy... |
e7a2393b991bd76ebedfb60668282642efd28c5d | 5c157919e97cf85c962562cba6f14052df416cd7 | /fboss/agent/hw/bcm/oss/BcmAclStat.cpp | 6e111a34c7633c61430acede0771073f5e63c5fb | [
"BSD-3-Clause"
] | permissive | dhtech/fboss | b460865d21f8dd9ea91c7b5bc28f5bce62b58334 | f8c87a0d2855acdcf92e358bc900200cfa1a31bf | refs/heads/dhtech | 2020-03-30T02:17:28.583720 | 2018-10-07T16:10:40 | 2018-10-08T20:11:09 | 150,623,620 | 1 | 0 | NOASSERTION | 2018-10-08T20:14:42 | 2018-09-27T17:26:37 | C++ | UTF-8 | C++ | false | false | 517 | cpp | BcmAclStat.cpp | /*
* Copyright (c) 2004-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
#in... |
8b1776d903f1c12bd0b6ae75992b1f849dc5a8c1 | 9901c83e118a03b387c8efcccaf9ee7202307bf8 | /include/Teisko/Algorithm/StandardDeviation.hpp | f2e233d32c945dac12dfa375a8339da2c899bf1a | [
"MPL-2.0",
"BSD-3-Clause"
] | permissive | intel/image-quality-and-characterization-utilities | 64d1a586191d1e676ba64de976e1eee7e699821f | be86fe5972bc0e2cfd246de9d5948d5f514dd511 | refs/heads/master | 2023-05-27T14:33:10.118714 | 2023-01-07T00:05:30 | 2023-01-07T00:05:30 | 179,585,412 | 10 | 6 | BSD-3-Clause | 2019-08-12T13:53:34 | 2019-04-04T22:19:48 | C++ | UTF-8 | C++ | false | false | 3,337 | hpp | StandardDeviation.hpp | /*
* Copyright (c) 2019, Intel Corporation
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of condi... |
7dcbb7e17c923bc27b57664640ed3f60cffec549 | 244b932604735ad0e00c7bccaf231476b992e4a3 | /quant/OxBuildings/compute_ap.cpp | c837ba5971bca6fd5c59cf2100480af3709b3701 | [] | no_license | rohitgirdhar-cmu-experimental/DiscoverPatches | d9dcc668769030063458ecd688cee20f65ada80a | 6ff8cffc0d5ed4992ce9b0b8c745d81cba6d82e6 | refs/heads/master | 2021-01-18T13:46:07.970229 | 2015-11-18T17:45:05 | 2015-11-18T17:45:05 | 30,480,745 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,637 | cpp | compute_ap.cpp | #include <fstream>
#include <iostream>
#include <set>
#include <string>
#include <vector>
#include <map>
#include <sstream>
using namespace std;
vector<string>
load_list(const string& fname)
{
vector<string> ret;
ifstream fobj(fname.c_str());
if (!fobj.good()) { cerr << "File " << fname << " not found!\n"; exit... |
f1f28c703f7f4422b44eaacd4dd1796c1bfda31a | 9c7e3b76a2f64ad2bc1dad15a6cc7c11d0df2faa | /src/Math/LinearAlgebra/old/Printable.hpp | a6c3179ad7bc30899d9636f98b7f412ce9f3b231 | [] | no_license | jmnel/ArcMath | 2b447e7729ee22237fdb9e0824b05184b8a28f15 | 0c25c2e5415fe9b50c8e41709b00623c0ea2c4b6 | refs/heads/master | 2020-08-01T20:13:08.240315 | 2019-10-07T10:50:45 | 2019-10-07T10:50:45 | 211,101,425 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,597 | hpp | Printable.hpp | #include <type_traits>
#pragma once
#include <iostream>
#include <sstream>
#include <string>
#include "Common.hpp"
#include "Traits.hpp"
using std::endl;
namespace jmnel::matrix::detail {
template <typename Derived>
class Printable {
private:
public:
std::string toString() const {
... |
d50bfff2bc15bfa3d1fd8cda00eae37909a1d33d | 79c3e31bc9aaa453c65a26c1649886569a0659cc | /src/PostTreatment/Bloom.cpp | 0b04885a52f7c5ffa0120a975d92fcf1c479c41f | [] | no_license | piellardj/post-treatment-gpu | 9cef6890d5fc034885e5a1ad571a983ecaf33c8f | 705886f3d7d1b1300812f5f1413e40eead244976 | refs/heads/master | 2021-01-12T11:07:28.909709 | 2016-11-28T19:07:16 | 2016-11-28T19:07:16 | 72,833,016 | 10 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,149 | cpp | Bloom.cpp | #include "PostTreatment/Bloom.hpp"
#include <SFML/Graphics/Sprite.hpp>
#include <SFML/Graphics/RectangleShape.hpp>
#include <cmath>
#include <stdexcept>
#include <sstream>
/* sizeFactor: defines if the image should be shrinked, blurred, then upscaled */
Bloom::Bloom (sf::Vector2u bufferSize, float threshold, float f... |
8c384388a813d32acff5c591c90aeb9804512eb1 | c208689db533cb1f30b9ffd767be24583c59f80f | /viewer/plugins/glowing/glowing.cpp | 4642682a14aab34d00b7cf4464c2c96f749e8c31 | [] | no_license | elCrespo16/g | 92b4553bd05d2989f9becaf37457071ad0b8d594 | cfa0467cb58ba673852cf6f41a81f1168dd6183a | refs/heads/master | 2023-02-04T18:08:31.507231 | 2020-12-14T17:46:53 | 2020-12-14T17:46:53 | 299,537,183 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,098 | cpp | glowing.cpp | // GLarena, a plugin based platform to teach OpenGL programming
// © Copyright 2012-2018, ViRVIG Research Group, UPC, https://www.virvig.eu
//
// This file is part of GLarena
//
// GLarena is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published... |
1492e23d4bc02ce5e5ecf8c1181141507fae0349 | 1a390314e2dc92575dbf2541e2990bf1269b06e6 | /Baekjoon/1477.cpp | db8207af786b50f1f8ea9fe3ee421f73e211dd85 | [
"MIT"
] | permissive | Twinparadox/AlgorithmProblem | c27ca6b48cdaf256ef25bc7b2fd6c233b2da4df1 | 0190d17555306600cfd439ad5d02a77e663c9a4e | refs/heads/master | 2021-01-11T06:33:47.760303 | 2020-11-08T00:43:24 | 2020-11-08T00:43:24 | 69,226,206 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 636 | cpp | 1477.cpp | #include <algorithm>
#include <iostream>
#include <vector>
using namespace std;
int main(void)
{
cin.tie(0);
ios_base::sync_with_stdio(false);
int N, M, L;
cin >> N >> M >> L;
vector<int> arr(N + 2);
arr[0] = 0, arr[N + 1] = L;
for (int i = 1; i <= N; i++)
cin >> arr[i];
sort(arr.begin(), arr.end());
int r... |
382ceefcd8648363e528de1da853ae625cce17c6 | e1522f45a46820f6ddbfcc699379821e7eb660af | /codeforces.com/Codeforces Ladder 1600-1699/0344A.cpp | df552ec5e24e859b52abf5d1ccd38a49b0f84832 | [] | no_license | dmkz/competitive-programming | 1b8afa76eefbdfd9d5766d5347e99b1bfc50761b | 8d02a5db78301cf34f5fdffd3fdf399c062961cb | refs/heads/master | 2023-08-21T00:09:21.754596 | 2023-08-13T13:21:48 | 2023-08-13T13:21:48 | 130,999,150 | 21 | 12 | null | 2023-02-16T17:43:53 | 2018-04-25T11:54:48 | C++ | UTF-8 | C++ | false | false | 520 | cpp | 0344A.cpp | /*
Problem: 344A. Magnets
Solution: strings, implementation, O(n)
Author: Dmitry Kozyrev, github: dmkz, e-mail: dmkozyrev@rambler.ru
*/
#include <iostream>
#include <string>
int main() {
int n;
while (std::cin >> n) {
int answ = 0;
std::string group = "";
while (n--) {
std::string s; std::cin >> s;
... |
0991a0e0b20fd362e54a38bcef45581ffc6c65cc | 21b9c1a8c4dd39a3dc35f4e68cf2ae88ec91ee81 | /miplib/gurobi/var.hpp | 64979fd3f7a1fc34f0934a249a383e7707899710 | [
"Apache-2.0"
] | permissive | vaporyorg/miplib | 68c40a1a8765f793fc6e0add273a64860b47b6f6 | be1f628111dd624ae23c1de8298f6b18a564d7ed | refs/heads/main | 2023-05-08T13:05:48.526240 | 2021-05-25T10:09:07 | 2021-05-25T10:09:07 | 371,079,319 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 587 | hpp | var.hpp | #pragma once
#include <miplib/gurobi/solver.hpp>
#include <miplib/var.hpp>
namespace miplib {
struct GurobiVar : detail::IVar
{
GurobiVar(Solver const& solver, GRBVar const& v);
void update_solver_if_pending() const;
double value() const;
Var::Type type() const;
std::optional<std::string> name() const;... |
493cdb1b362db8d33c55ef6af487cd285280e900 | 09ddd2df75bce4df9e413d3c8fdfddb7c69032b4 | /include/LXML/DOMLocator.h | 28bf8cce38a15ea8a5b261c80c7d5e4ca2fdb1c8 | [] | no_license | sigurdle/FirstProject2 | be22e4824da8cd2cb5047762478050a04a4ac63b | dee78c62a1b95e55fcdf3bf2a9bc79c69705bf94 | refs/heads/master | 2021-01-16T18:45:41.042140 | 2020-08-18T16:57:13 | 2020-08-18T16:57:13 | 3,554,336 | 6 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 735 | h | DOMLocator.h | #ifndef __DOMLOCATOR_H__
#define __DOMLOCATOR_H__
namespace System
{
namespace Web
{
class DOMLocator :
public Object,
public IDOMLocator
{
public:
CTOR DOMLocator()
{
m_columnNumber = -1;
m_lineNumber = -1;
m_offset = -1;
m_uri = nullptr;
}
// STDMETHOD(setOffset)(/*[in]*/ long newVal);
long get_offse... |
5496ac24c22d6fe2388e94a04616c20b5f3c0457 | aa152fafb78fc4cf39ebe808a1c5a791585d690b | /Week_03/46.全排列.cpp | 80f39bfde691945a9552d4fe8594144af056232b | [] | no_license | wjl-simon/algorithm021 | 697542700382ea75c1424d3455da7207b2989a6f | b9ab3bb2b194a8f0444325a103a56d6a86c5786a | refs/heads/main | 2023-02-25T18:59:48.213747 | 2021-01-24T15:36:10 | 2021-01-24T15:36:10 | 318,683,115 | 0 | 0 | null | 2020-12-05T02:21:57 | 2020-12-05T02:21:57 | null | UTF-8 | C++ | false | false | 582 | cpp | 46.全排列.cpp | /*
* @lc app=leetcode.cn id=46 lang=cpp
*
* [46] 全排列
*/
// @lc code=start
class Solution {
vector<vector<int>> ans;
void helper(int cur, vector<int>& a){
if(cur == a.size()){
ans.push_back(a);
return;
}
int const LEN = a.size();
for(int i = cur; i < ... |
ef3112f86a287de1691f2c2946b7f6b2e009d4c2 | 0a96045a7a2a3a04ac7bd217967a56f39da868bf | /WikiAdventure/Source/Project/GameObject.cpp | 5d294152d9096ea5fbf8c87a47fcfa2b34cd0df9 | [
"LicenseRef-scancode-public-domain"
] | permissive | Happy-Ferret/WikiAdventure | 532b4687884c4029be30aef88e4d3ae53843ae3f | 54fc76583f0779352d876038b5f1fb1dd67b82d0 | refs/heads/master | 2020-05-22T03:24:31.444239 | 2012-06-06T21:40:17 | 2012-06-06T21:40:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,485 | cpp | GameObject.cpp |
#include "GameObject.h"
#include <assert.h>
CGameObject::CGameObject()
{
DebugInfo( TypeCreate, "Creating game." );
m_pImageHandler = 0;
m_pFontHandler = 0;
m_pLocationHandler = 0;
}
CGameObject::~CGameObject()
{
DebugInfo( TypeDelete, "Unloading game, clearing allocated resources." );
if ( m_pLocationHan... |
51878aeb44fcf57f891d1af8c7630103712510e7 | 692078004842e951f1fa49208ed256a132687dd3 | /test/CodeGenCXX/cilkplus-exceptions.cpp | 5d4b7c8a2deaa2f312f9c14a7103d9c801cc68bb | [
"NCSA"
] | permissive | project-asap/swan_clang | e5adbaa3911e4e9e5dc1c103a08e4b7594f2abff | cfef81e856533eb791f04d0c89a56796a02aa86e | refs/heads/devel | 2020-12-11T03:28:27.214328 | 2016-02-08T15:32:35 | 2016-02-08T15:32:35 | 56,128,933 | 0 | 0 | null | 2016-04-13T07:03:32 | 2016-04-13T07:03:32 | null | UTF-8 | C++ | false | false | 12,167 | cpp | cilkplus-exceptions.cpp | // RUN: %clang_cc1 -std=c++11 -fcxx-exceptions -fexceptions -fcilkplus -emit-llvm %s -o %t
// RUN: FileCheck -check-prefix=CHECK_PARENT --input-file=%t %s
// RUN: FileCheck -check-prefix=CHECK_HELPER_F1 --input-file=%t %s
// RUN: FileCheck -check-prefix=CHECK_HELPER_F2 --input-file=%t %s
// RUN: %clang_cc1 -disable-llv... |
00f08df165caadb0cd9cec9e5185593213777805 | 199e50aaa8c5b606260532bf85bc38c1608921c6 | /Pong/Game.h | 9ac420221c6939a13d120b5a518e6bf9a9e0aa70 | [] | no_license | JINWOO-0715/NGP_TeamProject | 6e76e815ed7caf4c5ba9478789208347e074e542 | 41434623224d513340ad92eef26dee2380b8e8ee | refs/heads/master | 2023-09-02T23:04:10.625155 | 2021-11-08T06:44:19 | 2021-11-08T06:44:19 | 422,215,348 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 674 | h | Game.h | #pragma once
class Entity;
class Game
{
friend class Entity;
public:
Game();
virtual ~Game() = default;
virtual bool Init();
virtual void Shutdown();
virtual void Run() = 0;
Entity* CreateEntity();
Entity* CreatePaddle();
Entity* CreateBall();
protected:
bool mIsRunning;
entt::registry mRegistry;
c... |
24fb88f882e0edd85353068b4df3dbae7f4af213 | 189f52bf5454e724d5acc97a2fa000ea54d0e102 | /pimpleDyMFoam/mixerVesselAMI2D/1.7/meshPhi | 399382972e83c23d7083fbf35bc89c73899fd0b0 | [] | no_license | pyotr777/openfoam_samples | 5399721dd2ef57545ffce68215d09c49ebfe749d | 79c70ac5795decff086dd16637d2d063fde6ed0d | refs/heads/master | 2021-01-12T16:52:18.126648 | 2016-11-05T08:30:29 | 2016-11-05T08:30:29 | 71,456,654 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 47,597 | meshPhi | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1606+ |
... | |
22db236501f7376d13ea7f702df18cdebf5f0fa1 | 14f085fe9db8179dd44c18f00c1184881dcfe21a | /src/meshing/GmshLoader.cc | 6d0ec95834d4d17cc35572d484a015b86694ca65 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-warranty-disclaimer",
"BSD-3-Clause-Open-MPI",
"LGPL-2.1-or-later",
"LicenseRef-scancode-other-permissive",
"Python-2.0",
"BSL-1.0",
"BSD-2-Clause",
"MPL-2.0"
] | permissive | devsim/devsim | 7ba495952239d4e9c0170c0a5a89905aa9eb3e1e | 3d979d6a98685b2e51c15eebd20afdc1e643fc3a | refs/heads/main | 2023-08-31T10:40:41.346966 | 2023-08-30T16:42:56 | 2023-08-30T16:42:56 | 8,838,727 | 158 | 69 | Apache-2.0 | 2023-07-15T03:21:34 | 2013-03-17T18:01:17 | C++ | UTF-8 | C++ | false | false | 26,690 | cc | GmshLoader.cc | /***
DEVSIM
Copyright 2013 DEVSIM LLC
SPDX-License-Identifier: Apache-2.0
***/
#include "GmshLoader.hh"
#include "OutputStream.hh"
#include "Region.hh"
#include "GlobalData.hh"
#include "Device.hh"
#include "Coordinate.hh"
#include "Contact.hh"
#include "Interface.hh"
#include "dsAssert.hh"
#include "Node.hh"
#includ... |
8625c5070b19bcd9b5cf86513b48b2a0d19b7b57 | c478fe3d4f580660521f471921a87d876fd4dd09 | /crackingTheCodingInterview/leftRotation.cpp | 960534daa3c975ec526d754f2aa12781f0837513 | [] | no_license | paulngouchet/CrackingTheCodingInterviewHackerRank | 8b2202927d70ebfd09bdd06c36d4fbf5fa7a03ec | 0c10926857c7a1a5e1023c6ce19e99dfb3bb9d99 | refs/heads/master | 2021-06-26T15:34:57.600981 | 2020-08-02T15:00:38 | 2020-08-02T15:00:38 | 102,414,312 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,315 | cpp | leftRotation.cpp | #include <map>
#include <set>
#include <list>
#include <cmath>
#include <ctime>
#include <deque>
#include <queue>
#include <stack>
#include <string>
#include <bitset>
#include <cstdio>
#include <limits>
#include <vector>
#include <climits>
#include <cstring>
#include <cstdlib>
#include <fstream>
#include <numeric>
#inc... |
eff150c0047e8040a91039f0c68f485c7f3c0f41 | acf278fed5ffeb49d9913c543bb8f575bea7f7a3 | /include/engine/x12/icorerender.h | c4c3f547b92a17f15d15f053e58697b92d843d23 | [] | no_license | k-payl/X12Lib | abd80cb13077187299bd0c0bc4ad3d1e1cf8aaf4 | 12e9f86e21e8a991510adc7728f85ccc28ba81eb | refs/heads/master | 2022-05-18T04:46:54.434564 | 2022-04-22T13:18:30 | 2022-04-22T13:18:30 | 229,587,612 | 9 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,189 | h | icorerender.h | #pragma once
#include "common.h"
#include "intrusiveptr.h"
namespace x12
{
inline constexpr unsigned MaxResourcesPerShader = 8;
enum class TEXTURE_FORMAT;
enum class TEXTURE_CREATE_FLAGS : uint32_t;
enum class TEXTURE_TYPE;
enum class VERTEX_BUFFER_FORMAT;
enum class VERTEX_BUFFER_FORMAT;
enum class INDEX_BUFF... |
1f29cc729ba07aa535f865ac2c650eb566ce6eef | 948b8bea3eeb6633816c71ab3e794a7e452694ae | /Compil/Compiler/Compiler.cpp | e95bb664bb9efa4d5d7204b2ee22fe8401c52feb | [] | no_license | YazZz1k/Language | 0f4e8fdc5c5ebbb5ecf2683ca91e6db8e4c29ea9 | 419e5acec0eed548efc3a25d8a22f9a7bb94f13c | refs/heads/master | 2020-03-08T05:57:11.137070 | 2018-05-02T22:37:41 | 2018-05-02T22:37:41 | 127,959,956 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,023 | cpp | Compiler.cpp | #include"Compiler.hpp"
Compiler::Compiler(ifstream* _input_file, ofstream* _output_file)
{
assert(_input_file);
assert(_output_file);
output_file = _output_file;
input_file = _input_file;
error = true;
}
Compiler::~Compiler()
{
}
bool Compiler::errors()
{
return error;
}
void Compiler... |
fa31abb0301adae474c9684c73d0b537580bb827 | 19d0e5f887127918e4f55b06f05cbb9de1cd77c6 | /c언어/16여름방학/소켓실습/BroadcateSender/BroadcateSender/BroadcateSender.cpp | 2399cc3a7400ad926e68613893d7ad6251957fa7 | [] | no_license | jung123/programing_practice | be4bcd9abf51a617f2ef2dd51013888b4e76c2fe | ff464b742c195a321c9009b5f0d61cecac61cac5 | refs/heads/master | 2021-04-26T22:27:01.113803 | 2018-03-06T16:33:52 | 2018-03-06T16:33:52 | 89,998,868 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 869 | cpp | BroadcateSender.cpp | // BroadcateSender.cpp : 콘솔 응용 프로그램에 대한 진입점을 정의합니다.
//
#include "stdafx.h"
#define REMOTEIP "255.255.255.255"
#define REMOTEPORT 9000
#define BUFSIZE 512
void error_quit(TCHAR *msg)
{
LPVOID lpMsgBuf;
FormatMessage(
FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM,
NULL,
WSAGetLastError(),
MAKEL... |
6b81c7f9a9476d3c9c42aa9fd6035d80f4c56a20 | 69c83245ca510bcb90f6804c72132f3d14898064 | /Transformation/mainwindow.h | 2a9cd002a498b0557f3e113d0fb81de17a8b27db | [] | no_license | zjjyh96/game-technical-section | 5ac38c9f8273282c9a7efa0eab9d1d23d515f0bf | 760dce5220ed09c35cad32a86804f3086b1cb689 | refs/heads/master | 2021-01-25T11:03:18.793372 | 2017-07-07T20:34:13 | 2017-07-07T20:34:13 | 93,910,457 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,097 | h | mainwindow.h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include "wwindow.h"
#include <QGridLayout>
#include <QVBoxLayout>
#include <QWidget>
#include <QLineEdit>
#include <QLabel>
#include <QPushButton>
#include <QSlider>
class QHBoxLayout;
class QVBoxLayout;
class mainwindow : public QWidget
{
Q_OBJECT
... |
f62543e5060a4ca0fda4d335625d7da57c567369 | 118078ff60fa16d7af72381e21490d99dc87ff5f | /Plugins/FlytekVoiceSDK/Source/FlytekVoiceSDK/Private/FlytekVoiceSDK.cpp | aa6d365e54c26812c003c638a3fd3f5c7b54c5e4 | [] | no_license | ii999/VoiceSDK | 6b5bf2853ec7565e302e1049016f2f36cd149f9e | 62b926b010e31f4774d012c42eb406d5a53e45cb | refs/heads/master | 2021-01-13T06:16:51.352701 | 2017-04-18T12:40:42 | 2017-04-18T12:40:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,193 | cpp | FlytekVoiceSDK.cpp | // Copyright 2016 Gamemakin LLC. All Rights Reserved.
#include "FlytekVoiceSDK.h"
#include "Paths.h"
#include "ThreadClass.h"
#include "IPluginManager.h"
#include "WindowsPlatformProcess.h"
#include "MessageDialog.h"
#include "SpeechRecognizer.h"
//#include "speech_recognizer.h"
const FString LoginParams = TEXT("... |
ce4943148e3469b8a845cf8f943600c38b67ba54 | 011ea6881985e84f0ad2c95c6b89f171936bd72f | /seminars/04/examples/unique_lock.cpp | 13f2e364ec31b8256a8378afcc4542b58c4c8914 | [] | no_license | dbeliakov/mipt-algo-2016 | 73916296c01d2632cd0fd76dc6ba71d5662ed7ea | c24eab4c41596a284f8aa6dcf3270b2b54bc1db9 | refs/heads/master | 2021-03-24T12:11:23.216948 | 2019-01-09T11:13:05 | 2019-01-09T11:13:05 | 66,865,468 | 23 | 14 | null | 2016-12-16T18:44:17 | 2016-08-29T17:36:22 | JavaScript | UTF-8 | C++ | false | false | 291 | cpp | unique_lock.cpp | #include <iostream>
#include <mutex>
#include <chrono>
int main()
{
std::timed_mutex m;
// Try lock for 2 seconds
std::unique_lock<std::timed_mutex> lock(m, std::chrono::seconds(2));
// if owns mutex, unlock it
if (!!lock) {
lock.unlock();
}
return 0;
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.