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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
cc80e9d3511f73375cb2c4bda2dfd7f7e66eb8d5 | 6b78e5377558d715386382064bdb77cc71cb8025 | /Tree_Expr.cpp | f5e08ce906e9aa5c0462452157911f314f40c79b | [] | no_license | nkahile/Tree-Based-Evaluator | 1034f5780a2d677be62257e2a698968d76d8ef5f | 4077d5088e8b399735887031d9fe56f5f8c5e894 | refs/heads/main | 2023-05-04T13:23:43.016533 | 2021-05-24T19:04:57 | 2021-05-24T19:04:57 | 365,877,865 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 572 | cpp | Tree_Expr.cpp | //
// Tree_Expr
//
#include "Tree_Expr.h"
//
// Tree_Expr
//
Tree_Expr::Tree_Expr(Expr_Node* root)
: root_(root)
{
}
//
// ~Tree_Expr
//
Tree_Expr::~Tree_Expr(void)
{
}
//
// Eval
//
int Tree_Expr::eval(void)
{
if (nullptr == this->root_)
throw std::runtime_error("There is no expres... |
2a77e884070a119524c3d1c43e0b9c9f7f094ced | 944f417bcc13e95191b48a62177e4cdab89f675e | /Floor.h | 12545d25af5a99973e8dbdd6229dd24e18ab0bd0 | [] | no_license | LeonAbi/PAD2 | 604022c9f16e0c59720416f8f996e6ae38be9ddd | 621a9e4d339c4129d79e171cf058098e889335d0 | refs/heads/master | 2021-01-25T11:39:43.932949 | 2017-06-28T09:17:25 | 2017-06-28T09:17:25 | 93,938,773 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 893 | h | Floor.h | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/*
* File: Floor.h
* Author: stud
*
* Created on 14. Mai 2017, 17:00
*/
#include "Tile.h"
#include "Item.h"
#include "Active.... |
802438198a68e1ad781504135209caecafeb70eb | 3097f84736cb3f9ee2b7038ead75d258056efcfb | /Engine/engine.cpp | a3291881612852560635fb6ac1a7556f90dc20af | [
"MIT"
] | permissive | patrickvanreck/BAS | b72cef9ac0de961dffd2399829a3f5a9c8d75ccf | 2f00806c912e1633f27b6fec3ad0a55b84f1896c | refs/heads/master | 2021-05-01T23:43:36.695001 | 2021-02-12T13:27:25 | 2021-02-12T13:27:25 | 77,854,198 | 0 | 0 | MIT | 2021-02-12T13:27:26 | 2017-01-02T18:41:24 | C++ | UTF-8 | C++ | false | false | 67 | cpp | engine.cpp | #include "engine.h"
#include "every_cpp.h"
Engine::Engine()
{
}
|
5f36af1594d6f352eaa8533b82d9209653295408 | 5a1c6608e13a4df5c28007be8a21f4de48f42b92 | /MP2/SolarSystem/Code/Game/Game.hpp | 07f5ae32f070fca5b6f7400adcea902281c7975d | [] | no_license | RollerSimmer/Guildhall-Projects | 8bcf52ceb23a0a7f05b06f0613201dcb89c80708 | 79f59a4d16726cf415eac214d3b4ff280facba08 | refs/heads/master | 2021-01-19T12:35:03.010982 | 2017-02-17T23:34:22 | 2017-02-17T23:34:22 | 82,342,157 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,936 | hpp | Game.hpp | #pragma once
#include "Engine/Renderer/Camera3D.hpp"
#include "Engine/Renderer/SpriteSheet.hpp"
#include "Game/SceneGraph.hpp"
#include "Game/CelestialNode.hpp"
const int CURRENT_GAME_VERSION = 0;
const float SCREEN_SHAKE_AMOUNT=10.f;
const float SCREEN_SHAKE_TIME_SPAN = 0.5f;
const float ISOMETRIC_BLOC... |
8aead6c7604f7d5163bd96b3b02c377a89d75731 | eae9f2549574159366947210ddcaf8d049712cb5 | /Source/Engine/Render/VertexType.h | 7537d109f4ea5a10bcb96b487773de92dd1fce38 | [] | no_license | terryjsmith/eternity | 899ba87796eb30e12e554a1b62bf38274c221317 | cc03ccbcabf574ee3ff9f938b825858f03c7915d | refs/heads/master | 2021-01-09T20:18:47.255013 | 2018-09-11T00:56:47 | 2018-09-11T00:56:47 | 124,821,773 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,263 | h | VertexType.h |
#ifndef vertextype_h
#define vertextype_h
#include <eternity.h>
enum GIGA_API {
VERTEXTYPE_ATTRIB_POSITION = 1,
VERTEXTYPE_ATTRIB_COLOR = 1 << 1,
VERTEXTYPE_ATTRIB_NORMAL = 1 << 2,
VERTEXTYPE_ATTRIB_TEXCOORD0 = 1 << 3,
VERTEXTYPE_ATTRIB_TEXCOORD1 = 1 << 4,
VERTEXTYPE_ATT... |
590a941beacb6eae5d53ec4b2fa68a6e7540735e | 90749adb2756d8ba2fb914cc3acc06b1ac6fa50b | /Auction.cpp | 5458c1377a9427b3d991e3b236d5bdba4c2f4d00 | [] | no_license | mzhao98/SOCA_code | 1dd60c81d939b1e70bdc7dfe8b3cea867f2dd79e | dc6346449d07fb6bd1e069267d8e6ceb3a05f42b | refs/heads/master | 2021-07-12T22:04:21.488077 | 2017-10-19T17:39:26 | 2017-10-19T17:39:26 | 107,577,894 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,018 | cpp | Auction.cpp | #include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <iostream>
#include <cmath>
using namespace std;
struct AA_param_struct{
double N;
double R_comm;
double max_comm_iter;
};
int getEuclideanNorm(int input[], int size){
int sum = 0;
int i;
for (i = 0; i < size; i++){
sum += (input[i] * input[i])... |
b859f1b93b5b5d22a8ee45f0bdfd5a27271ee58e | bd3c003756e4122bf677f3550a6ddb4888828550 | /programs/2_3Tree/Node.h | 5dbaed4acd01bdf7e416e8d27e4aa1cbef46bc20 | [] | no_license | flacopaco/CS014-Introduction-to-Data-Structures-and-Algorithms | ff5ae0f3730c354bfd211c0142a8fee75b38cf14 | badde76d4ba78bad2ad7c54039780bdba5fc8729 | refs/heads/master | 2022-07-01T11:15:31.447788 | 2020-05-13T10:01:12 | 2020-05-13T10:01:12 | 263,590,875 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 856 | h | Node.h | #ifndef __NODE_H
#define __NODE_H
#include <string>
using namespace std;
class Node {
friend class Tree;
private:
string small;
string large;
int counter;
Node *left;
Node *middle;
Node *right;
Node *parent;
public:
Node();
Node(string, Node *);
Node(string, string, Node *);
bool isFull(... |
505962feb2a05d877a674888547e1319980daf27 | 6cf018e10e98a675651b3d2688618ed137483155 | /woj/woj1288.cpp | c3ded0080dab6790468bbc64bfec5cd43d4f3c73 | [] | no_license | GonewithGt/woj | 41e29837fe755b6da0bfdcc67017b49f8eb85fce | e955371ab5b5ba5b7a938ae4895d84bc13926a10 | refs/heads/master | 2021-01-10T16:42:33.656851 | 2017-03-17T14:22:40 | 2017-03-17T14:22:40 | 52,983,297 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 599 | cpp | woj1288.cpp | #include<iostream>
#include<algorithm>
#include<cstdlib>
using namespace std;
int main(){
int gt=0,j=0;
cin >> gt;
for(j=0;j<gt;j++)
{
string a,b;
int k;
cin >> a >> b >> k;
int l = a.length();
int s[l];
long int res = 0;
for (int i=0;... |
9a14010cc3b5effd47a62effa09807472391a902 | 71c4bb0b40c5e2366e4291073189858e8bc4f979 | /relasi.cpp | b86584c04b8996176927a3e5609c9521729c6a33 | [] | no_license | Bagasarfiansyah007/Tugas-Besar-Struktur-Data | 79ce3c306c2473f5db31ea859be505afdbcd9dc5 | 8b3fef294930c411f84fd74941ddd390628147b9 | refs/heads/master | 2021-05-19T17:22:00.534178 | 2017-04-14T11:43:28 | 2017-04-14T11:43:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,283 | cpp | relasi.cpp | #include "relasi.h"
void createList_relasi(List_relasi &L){
first_relasi(L)=NULL;
}
address_relasi alokasi_relasi(address_maba PM, address_jurusan PJ){
address_relasi P = new elmList_relasi;
kejurusan(P)= PJ;
kemaba(P)=PM;
next_relasi(P)= NULL;
return P;
}
void dealokasi_relasi(address_relasi... |
2fb84e77f868497de39c6472bdbe53d4d4b6af12 | 09980c070c09f633dde5d2c681b978ac1ac42b45 | /addIntToStartOfList.cpp | 624862f8d909ffe86652be65a4b62de3df2390ba | [] | no_license | adiltruong/lab06_adiltruong_syang1297 | 2ef2731584b5e39cc215c5bac3da438a88aa41e2 | dad9e1c5dc15f7820c5ae3a1f86d6994ce033e43 | refs/heads/master | 2021-01-21T09:07:03.374177 | 2017-02-23T01:44:38 | 2017-02-23T01:44:38 | 82,865,115 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 410 | cpp | addIntToStartOfList.cpp | //addIntToEndOfList.cpp
//Date: February 22, 2017
//Authors: A Truong & S Yang
//addIntToEndOfList.cpp takes an integer and adds it to the end of a linked list
#include "linkedListFuncs.h"
#include "tddFuncs.h"
#include <iostream>
using namespace std;
int main () {
struct Node {
int data;
Node *next;
};
Node n1... |
b8bded46a5bf4bee35cc3b9e1bd50fd4dcf62a8b | d33b232ae41dcca316c590f35d59209176ab185d | /Sources/Internal/Platform/TemplateAndroid/JniExtensions.cpp | 5689aa06acb587ba81a7520e546e7a30f64803d8 | [] | no_license | dominik111/dava.framework | fd10e75cb76090301dd765de3885fe7f62570e75 | 3650cb7541bad8188d0ac043a804f3eea99b972b | refs/heads/master | 2021-01-17T22:59:46.358803 | 2013-10-11T14:20:14 | 2013-10-11T14:20:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,601 | cpp | JniExtensions.cpp | /*==================================================================================
Copyright (c) 2008, DAVA, INC
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 sou... |
02323f2cad277d2614d3b562f90d29f21b4afcbb | aa0a6e0c4c4a12ee2bf19b96207f5ae83f91bdd1 | /tools/tiling_test/tiling_test.cc | 430edee6b1af27a89fedcbf3c8ed3f1c8fad8203 | [
"MIT"
] | permissive | nicuveo/MML | 9ba661db25753d93fe45e47317daee1dba803fbf | b877a65abb61ea2fe6d8407b50f44fd170fb748d | refs/heads/master | 2021-01-10T19:32:42.725957 | 2015-10-04T07:48:08 | 2015-10-04T07:48:08 | 3,950,730 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,978 | cc | tiling_test.cc | //
// Copyright Antoine Leblanc 2010 - 2015
// Distributed under the MIT license.
//
// http://nauths.fr
// http://github.com/nicuveo
// mailto://antoine.jp.leblanc@gmail.com
//
//HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH
// Includes
#include <fstream>
#include <iomanip>
#include <iostrea... |
de7d136c0be887b9f785bd9cb0a5f7f2b8b87aeb | 76ce016fb54e0947885304ecee05eaa6d2f95356 | /ProjectNope/ProjectNope/LinkContainer.h | a8e0141944101839f394a697b0f4dc3cacb4f358 | [] | no_license | raysloks/ProjectRPG | d8cdfd7e40744597cc14efa83f40e4f4add78e76 | 035f700889ce4e60978d072a7eb395fad2fd2359 | refs/heads/master | 2021-03-22T02:15:12.456332 | 2019-07-08T12:48:20 | 2019-07-08T12:48:20 | 69,451,090 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 325 | h | LinkContainer.h | #ifndef LINK_CONTAINER_H
#define LINK_CONTAINER_H
#include <vector>
#include <stack>
class LinkContainer
{
public:
LinkContainer(void);
~LinkContainer(void);
size_t add(const std::pair<size_t, size_t>& ref);
void remove(size_t lid);
std::vector<std::pair<size_t, size_t>> oref;
std::stack<size_t> alloc;
};
#... |
4308f7502e2c133995b73ded8c059e939d31640b | 8a50b610a76c02642c9357245c6f17a1d99be39a | /pigbank.cpp | da18c48b0d413fa9571015e98f4e613092a64b0b | [] | no_license | sheeraznarejo/SPOJ | d3ec9ba31337beb578b49441aaa7881795b1c257 | 9e715c0f7b9fa8e89ec01febf98da0bfed59aa54 | refs/heads/master | 2021-01-25T03:19:59.485646 | 2015-04-16T21:31:59 | 2015-04-16T21:31:59 | 34,078,815 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,417 | cpp | pigbank.cpp | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <limits.h>
#include <fstream>
#include <iostream>
using namespace std;
int P[505];
int W[505];
int dp[505][10005];
int min(int a, int b)
{
return (a < b) ? a : b;
}
int main()
{
int T;
scanf("%d", &T);
while(T--)
{
ofstream myfile;
... |
cf280234626085ad9baabab7706eeacf767e31b1 | 506cca8bfdb50d588b03c1ac41ac680f8998e7e7 | /myOldSchoolProjects/C/COUN_L_D.CPP | efac4d568980925a8f1adc9580838e08f291fee7 | [] | no_license | merimsoi/merimsoi.github.io | 8ae63d77182b99e0b70a17aaa49df433c0c54fbb | 3906d90ff11f35b80b95236ac75b1ba7d55f4ee0 | refs/heads/master | 2023-01-13T19:56:41.581763 | 2021-01-28T04:08:47 | 2021-01-28T04:08:47 | 70,628,194 | 0 | 0 | null | 2023-01-05T20:54:41 | 2016-10-11T19:30:04 | C++ | UTF-8 | C++ | false | false | 514 | cpp | COUN_L_D.CPP | #include<stdio.h>
#include<string.h>
main()
{
char str[256];
int a[26];
int b[9];
int i,k;
for(i=0;i<=26;i++) a[i]=0;
for(i=0;i<=9;i++) b[i]=0;
printf("\nenter a string ");
gets(str);
for(i=0;i<=(strlen(str));i++)
if ((str[i]>='0' && str[i]<='9')?1:0) { k=str[i]-'0';
b[k]++;}
else if ((str[i]>='a' &... |
daeaf413ce49d2310d29e6cb2f4f2305c7b69883 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/CMake/CMake-gumtree/Kitware_CMake_old_new_old_log_579.cpp | b83862675fc71f17babb4936e5e6cae727c3e79d | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 66 | cpp | Kitware_CMake_old_new_old_log_579.cpp | snprintf(ftpc->newhost, NEWHOST_BUFSIZE, "%s", conn->ip_addr_str); |
32511d303466969b21ed563c98c339ff4da88476 | f28782d02a8fa301be9e08496c7341762462bc2c | /DataStruct/栈与队列/杨辉三角(队列实现).cpp | 09666bd29b0977d8662b8da98c5eb5470a8ffa97 | [] | no_license | BUCTdarkness/JiyiShen-s-Coding | 4dcd265c9e65d6c7dee21d87bb76420f39ace3b2 | 9957c10e222f15686459e5a7c909404e7e7ff536 | refs/heads/master | 2016-09-06T16:50:31.586323 | 2015-03-22T01:44:56 | 2015-03-22T01:44:56 | 32,655,388 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,026 | cpp | 杨辉三角(队列实现).cpp | #include<iostream>
#include<conio.h>
#define MAX_LEN 100
using namespace std;
template <class T>
class queue
{
private:
T data[MAX_LEN];
int head;
int rear;
public:
queue()
{
head=0;
rear=0;
}
void push(T t)
{
data[rear++]=t;
}
T front()
{
return data[head];
}
void pop()
{
h... |
8a1ec3e90fa1b1f3b1fb6b8df2f11300ae198e29 | 6d4ed4934c4758c6e0a573336031f4f95e7bcf28 | /SP1Framework/game.cpp | e705d81b16dc0711c74eeb9688bde0d2001ab877 | [] | no_license | namkz/sp1-group19 | de3ef84b39d454de53427bfd27d7e16cf408439e | 4beeace3284949ac0c7910d5a9b0ff98c1995cff | refs/heads/master | 2020-03-25T09:28:07.021785 | 2018-08-30T13:57:41 | 2018-08-30T13:57:41 | 143,672,262 | 0 | 0 | null | 2018-08-29T01:56:05 | 2018-08-06T03:34:09 | C++ | UTF-8 | C++ | false | false | 41,702 | cpp | game.cpp | // This is the main file for the game logic and function
//
//
#include "game.h"
#include "spell.h"
#include "Framework\console.h"
#include "effect.h"
#include <iostream>
#include <iomanip>
#include <sstream>
#include <fstream>
double g_dElapsedTime;
double g_dDeltaTime;
double g_dNextRegen = 0;
bool g_abKeyPres... |
0b5a08fe6e45e8e15da2f3121078e64b7b551ff5 | 934e9946d94f584da218798ae4e386d4ffcd68fc | /main_memory.h | 666bfd6873cce1809d76f85e0bc43e0593e56664 | [] | no_license | rh16238/arch | 2f7671ec1e81f5d6b4c78e064eca227e9b6a3646 | 42cf94b7819a0527c7ec53bfc591d4251f41f0bf | refs/heads/master | 2020-09-30T23:10:05.509957 | 2020-01-24T08:37:29 | 2020-01-24T08:37:29 | 227,396,433 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 457 | h | main_memory.h | #pragma once
#include "math_utils.h"
class main_memory
{
public:
const static int time_cost = 20;
main_memory(const std::vector<int64_t>& memory_bank);
main_memory();
int64_t access_location(int64_t memory_location);
void set_location(int64_t memory_location, int64_t value);
void clock_tick();
const... |
96feea8e9516a21a5cc9d9d58da9b25755f1b849 | 792f2ee67210556f224daf88ef0b9785becadc9b | /atcoder/Other/CF2017A-B.cpp | 3ab32552955c168046ba450c621002499cc17e9c | [] | no_license | firiexp/contest_log | e5b345286e7d69ebf2a599d4a81bdb19243ca18d | 6474a7127d3a2fed768ebb62031d5ff30eeeef86 | refs/heads/master | 2021-07-20T01:16:47.869936 | 2020-04-30T03:27:51 | 2020-04-30T03:27:51 | 150,196,219 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 532 | cpp | CF2017A-B.cpp | #include <iostream>
#include <algorithm>
#include <vector>
#include <iomanip>
#include <map>
#include <queue>
static const int INF = 1000000007;
using ll = long long;
using u32 = unsigned;
using namespace std;
int main() {
int n, m, k;
cin >> n >> m >> k;
for (int i = 0; i <= n; ++i) {
... |
3919e5f40421b190fdc3772d402f1779eee31288 | 38b15ffd75dc2b44c644c72e7012bbd240533775 | /tests/spotty_network_failure_test.cpp | d3468bad4e3cbed9b11804b85a5e46a5590e15e2 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | brettdh/libcmm | 8ef3bb1302badb28622fc0b18a4b6de33d3a4c0c | 66745da7ff64261713dda7de7e6d3d3eae4a98d9 | refs/heads/master | 2021-01-19T20:15:55.702155 | 2015-09-16T18:01:09 | 2015-09-16T18:01:09 | 25,616,631 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 8,860 | cpp | spotty_network_failure_test.cpp | #include <cppunit/extensions/HelperMacros.h>
#include "spotty_network_failure_test.h"
#include <errno.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <limits.h>
#include <fcntl.h>
#include <sys/wait.h>
#include <sys/socket.h>
#include <netdb.h>
#include <netinet/in.h>
#i... |
2a6471a9f8d880917bd6390a1dcb908da6865816 | c460942da15f6c487041623300372302f09cff09 | /VirtualLCD.cpp | 67e59d9413c6cd6dfc8cbdd6ccd0d15c75a828ed | [] | no_license | MajenkoLibraries/VirtualLCD | c3c2935a93ef6e467ec8f5420df339e0523daa5b | 57742a2e01a5e2b1ecb36f13f1f8f21192c4ac2d | refs/heads/master | 2020-12-25T18:18:57.041760 | 2020-04-25T19:38:08 | 2020-04-25T19:38:08 | 28,677,200 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,082 | cpp | VirtualLCD.cpp | #include <VirtualLCD.h>
static const uint8_t CMD_PUSH = 129;
static const uint8_t CMD_SET_DIM = 130;
static const uint8_t CMD_SET_BG = 131;
static const uint8_t CMD_SET_FG = 132;
static const uint8_t CMD_SET_PIX = 133;
static const uint8_t CMD_CLR_PIX = 134;
static const uint8_t CMD_SET_LINE = 135;
static const uint8_... |
e3843c3bbd5ea5ac45e2e74107948927d042d3d8 | 54bfb2e571688b860fb3e84efd3ac50d20e86878 | /dia6/1524_cafeteria_uri.cpp | 951323049132fc6031df287ad67715eda1f164e1 | [] | no_license | msclar/tc-chaco-2016 | 4252c4001ef44c096d06c2dee9334c5a758f99eb | aa3d28f518f30734afa4b875f140f590b9d875df | refs/heads/master | 2021-01-20T19:27:15.072343 | 2016-07-29T18:00:38 | 2016-07-29T18:00:38 | 64,238,343 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 391 | cpp | 1524_cafeteria_uri.cpp | #include <iostream>
#include <algorithm>
using namespace std;
int main () {
int dif[1001], pos[1001], n, k, res;
while (cin >> n >> k) {
pos[0] = 0;
for (int i = 1; i < n; i++) {
cin >> pos[i];
dif[i-1] = - pos[i] + pos[i-1];
}
sort(dif, dif+n-1);
res = pos[n-1] - pos[0];
for (int i = 0; i < k-... |
27ee96b367ebdffa2eb3f66f7f66e813f8072360 | 440fe9bc55a3d9fc44410d1748f47fbc74e30506 | /anycloud39ev300/SDK/component/NetCamera/IPCamera_ViewTool/Anyka IP CameraDlg.h | 05ac5e6a25cb95656324d299864c36302d3ba396 | [] | no_license | haihoang1219931/qiwen | 5def7764f48e70a8c4fbb9692f5fd0714dcb5a20 | 6c86facd09a5c2efe5314a669f653fa90acbc999 | refs/heads/main | 2023-07-10T17:37:18.512888 | 2021-08-22T07:01:43 | 2021-08-22T07:01:43 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 7,979 | h | Anyka IP CameraDlg.h | // Anyka IP CameraDlg.h : 头文件
//
#pragma once
#include "NetTalk.h"
#include "ImageToolBar.h"
#include "afxcmn.h"
#include "PreviewDialog.h"
#include "Aimer39RTSPClient.h"
#include "FfmpegEnvoy.h"
#include "VideoRender.h"
#include "ServerSearch.h"
#include "afxwin.h"
#include "PrivacyDialog.h"
#include ... |
ba4c1f36db0ef23a6d0610ff70958a6b1ff23039 | 554868ca307bc4bd42bd1cc7675c95acfb525a69 | /trunk/src/gui/mi/stateterminate.cpp | 4a46a3ea1d83a8d7cc235863c311d35f20d58499 | [] | no_license | Lins5682/program | 9f38ad9a2ce0fba6f8ceb7351f36270ff1041d50 | 342dad28f9c99e9e7a5517e186cdf01d85a7a364 | refs/heads/master | 2021-07-23T08:33:44.166981 | 2017-11-01T06:17:22 | 2017-11-01T06:17:22 | 109,094,895 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 294 | cpp | stateterminate.cpp | #include "state.h"
TerminateState::TerminateState(QWidget *w,QObject *parent)
{
terminate = new Terminate(w);
currPage = terminate;
}
TerminateState::~TerminateState()
{
DELETE(terminate);
}
void TerminateState::entered()
{
terminate->show();
terminate->showWaiting();
}
|
e304df45fe96c6e815dcdd8d489a0ed6c4d64ea0 | 58f884716c972f360a2abbadd7bc614dffab5b85 | /TimeBubblePrototypes/TimeBubbleLib/SoundManager.h | 35d771e25fbca21f13653801ed42aeefac49b1f8 | [] | no_license | janoldsen/Time-Bubble | 6dbe4732121f4fec9d1c62d23ab6a8a47c9ed05e | 536e3700a5d61590cfa5d4ceaf79e52f375a9c41 | refs/heads/master | 2016-09-05T10:32:26.420330 | 2015-07-19T20:29:11 | 2015-07-19T20:29:11 | 39,346,712 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 505 | h | SoundManager.h | #ifndef SOUND_MANAGER_H
#define SOUND_MANAGER_H
#include <SFML\Audio.hpp>
#include <map>
class SoundManager
{
public:
sf::SoundBuffer& getSound(std::string fileName);
void load(std::string fileName);
void unLoad(std::string fileName);
static SoundManager* getInstance();
private:
static SoundManager instance;... |
b1637cd4a79c06a60bcd12e5e7b0e98fc51d32b5 | 6bcdb9e8836cd60e972be865beb50fbfefdfa650 | /libs/options/include/fcppt/options/detail/concrete_decl.hpp | a08a8ea3d854df1c5ad6f730a93648f5dc33ccb7 | [
"BSL-1.0"
] | permissive | pmiddend/fcppt | 4dbba03f7386c1e0d35c21aa0e88e96ed824957f | 9f437acbb10258e6df6982a550213a05815eb2be | refs/heads/master | 2020-09-22T08:54:49.438518 | 2019-11-30T14:14:04 | 2019-11-30T14:14:04 | 225,129,546 | 0 | 0 | BSL-1.0 | 2019-12-01T08:31:12 | 2019-12-01T08:31:11 | null | UTF-8 | C++ | false | false | 1,437 | hpp | concrete_decl.hpp | // Copyright Carl Philipp Reh 2009 - 2018.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef FCPPT_OPTIONS_DETAIL_CONCRETE_DECL_HPP_INCLUDED
#define FCPPT_OPTIONS_DETAIL_CONCRETE_DECL... |
efaef483e7448b9003cf66d1e905943c679ff316 | 60aa54a3969a506a275ac033471f3d15b8c4ae68 | /database/table/TableStaticAnalyzer.cpp | 1424ac9d2bdcff421b58cb441a6e8665413d10f0 | [] | no_license | IRETD/TestSystemServer | 5e9cf9bb7a3d6825523dfe52d435fca3d8876cdb | 78ec19579c363d99dae9ecd36f01483d05335fcc | refs/heads/master | 2021-09-10T02:36:31.703918 | 2018-03-20T18:47:24 | 2018-03-20T18:47:24 | 126,066,409 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,560 | cpp | TableStaticAnalyzer.cpp | #include "TableStaticAnalyzer.h"
quint32 TableStaticAnalyzer::insert( quint32 idAboutHistory,
TestResult idResult,
OurQueryInfo &queryInfo ) {
m_Db.startTransaction();
QSqlQuery query( QSqlDatabase::database( m_Db.getConnectionName() ... |
36fe0cb3ebc49e288d9979d8262180067948e6a2 | a33aac97878b2cb15677be26e308cbc46e2862d2 | /program_data/PKU_raw/31/234.c | 03940491e1099911eb3cf4e8e95e4a68d87976a0 | [] | no_license | GabeOchieng/ggnn.tensorflow | f5d7d0bca52258336fc12c9de6ae38223f28f786 | 7c62c0e8427bea6c8bec2cebf157b6f1ea70a213 | refs/heads/master | 2022-05-30T11:17:42.278048 | 2020-05-02T11:33:31 | 2020-05-02T11:33:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 667 | c | 234.c | struct student
{
char num[15];
char name[20];
char sex;
int age;
char score[10];
char add[30];
struct student *next;
};
int main()
{
int n,i;
struct student *head,*p1,*p2;
n=0;
p1=p2=(struct student *)malloc(LEN);
p1->next=NULL;
scanf("%s ",p1->num);
while(strcmp(p1->num,"end")!=0)
{
... |
2d5668fe3332ee9fb1fef6febf5416efa70fbe5c | ddd22d154509a39ec61bf660a264a4f6e6fbeee9 | /Trabalho3/curso.h | 6e12d985b68de7f082bc019a3cfdda11c7376aeb | [] | no_license | areamluersen/univali | e2b91d697b56976aaa22d24874c3560b3286090a | 2f22f6adcc2dcc2c573270c23c8296f82dbe46f1 | refs/heads/master | 2020-06-16T07:29:16.167326 | 2017-03-23T22:08:59 | 2017-03-23T22:08:59 | 75,233,880 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 507 | h | curso.h | #ifndef CURSO_H
#define CURSO_H
#include <string>
#include <iostream>
#include "windows.h"
#include "tela.h"
using namespace std;
class Curso
{
int codigo;
string descricao,coordenador;
static int contC;
public:
Curso();
virtual ~Curso();
void cadastrar ();
... |
dee4334e1c728e514441fbc97e08b5e11b84d268 | 3b92fb0292ab80c822fcbfdd3485770f96e7a59e | /CPE_301L/lab6/arduinoPiano/arduinoPiano.ino | 56c25ebe44169e0d84f68e20328fbdaad9c4f682 | [] | no_license | frankolson/classWork | e6433cd535de6587d22ae46900f04462a26f0579 | e2f71ee3fbf427e6986045fb1097055c44451fe9 | refs/heads/master | 2021-01-10T00:53:16.286095 | 2015-04-16T03:16:10 | 2015-04-16T03:16:10 | 24,739,426 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,489 | ino | arduinoPiano.ino | /*
Arduino Piano
Frank Olson
V.1
10 March 2014
Arduino Mega 2560 R3
Last Update: 11 March 2014
Simple Serial ECHO script : Written by ScottC 03/07/2012
This program is for lab 6. Using the new delay function created and the simple
serial connection code cited above create a program that takes computer input
and outpu... |
1e179ead8b216369b95256ced000b75fcd35c46d | a3d6556180e74af7b555f8d47d3fea55b94bcbda | /device/fido/u2f_register_operation_unittest.cc | 92229561521f5868a5a13f6b5950492b050c46fc | [
"BSD-3-Clause"
] | permissive | chromium/chromium | aaa9eda10115b50b0616d2f1aed5ef35d1d779d6 | a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c | refs/heads/main | 2023-08-24T00:35:12.585945 | 2023-08-23T22:01:11 | 2023-08-23T22:01:11 | 120,360,765 | 17,408 | 7,102 | BSD-3-Clause | 2023-09-10T23:44:27 | 2018-02-05T20:55:32 | null | UTF-8 | C++ | false | false | 11,488 | cc | u2f_register_operation_unittest.cc | // Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "device/fido/u2f_register_operation.h"
#include <memory>
#include <utility>
#include "base/test/task_environment.h"
#include "device/fido/authenticator_make_credenti... |
71062327065c5ac3ad3c8243b7ccc747bb1198fd | 03d0ce8a4bd34de35f654a568b6004aa321d3ab8 | /DemoDirectX/PlayScence.cpp | 997077c03a199c7e1c58be3339098c96bff9af5e | [] | no_license | minhnhatkool123/CASTLENEW | 7a202a3a4e3eb14dd9d7e6c2e347f8f69535b165 | c7de8dc774678f3a3b3503b43fb2113463ab472b | refs/heads/master | 2022-11-24T12:40:28.200321 | 2020-07-28T11:59:30 | 2020-07-28T11:59:30 | 257,939,088 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 50,815 | cpp | PlayScence.cpp | #include <iostream>
#include <fstream>
#include "PlayScence.h"
#include "Utils.h"
#include "Textures.h"
#include "Sprites.h"
#define map1 1
#define map2 2
#define map3 3
#define map4 4
#define map5 5
#define map6 6
#define SCENE_SECTION_UNKNOWN -1
#define SCENE_SECTION_TEXTURES 2
#define SCENE_SECTION_SPRITES 3
#de... |
07c2b0989d8c23b6be33788d0472f897901e2b16 | f053ab13816b888c7661b82e4dc226f618b8d01c | /DMOJ/04/J1/solution1.cpp | ca4b51fe43c24eb181bc0d8969b5040a775e8bba | [] | no_license | rowanzaitlin/CCC-DMOJ_Solutions | e223884b04be6b71d8423e05beb3f8afc1ec3ae5 | da04ae4ed1f1385f70f8ec22054e90953b04a5f0 | refs/heads/master | 2020-12-23T09:26:19.738180 | 2020-01-29T23:37:55 | 2020-01-29T23:37:55 | 237,111,637 | 0 | 0 | null | 2020-01-30T00:42:25 | 2020-01-30T00:42:24 | null | UTF-8 | C++ | false | false | 191 | cpp | solution1.cpp | #include <iostream>
#include <math.h>
using namespace std;
int input;
int main()
{
cin >> input;
cout << "The largest square has side length " << floor(sqrt(input)) << ".";
return 0;
}
|
b63e4532615d909828b96604dce54068b7039a74 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_2749486_0/C++/GauravKatoch007/CodeJam2013.cpp | 3de2a836c2acec15689c3bcae90557dfd810491f | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,367 | cpp | CodeJam2013.cpp | //============================================================================
// Name : CodeJam2013.cpp
// Author : Gaurav
// Version :
// Copyright : Your copyright notice
// Description : Hello World in C++, Ansi-style
//============================================================================
... |
6e03b5d4759c499fb8ef5432170419eb3cab15fe | fe5f86faaec82f7f7706623d7c309a8d0820e387 | /f00ale-cpp/p05.cpp | 821b856d5f07649725e06922a8ac5beef7ab6dcf | [] | no_license | Dyr-El/advent_of_code_2017 | 01dac99cff9339d92360e89882aa5f1081e11c4f | 6f09b1c15cc1070a4b3cca951dcb50b33ee5361b | refs/heads/master | 2021-12-24T05:23:19.892898 | 2021-12-22T21:19:33 | 2021-12-22T21:19:33 | 112,791,062 | 1 | 0 | null | 2018-11-13T08:04:23 | 2017-12-01T22:00:31 | C++ | UTF-8 | C++ | false | false | 627 | cpp | p05.cpp | #include <iostream>
#include <vector>
int main() {
std::vector<int> v;
while(1) {
int tmp = 0;
std::cin >> tmp;
if(!std::cin.good()) break;
v.push_back(tmp);
}
auto v2 = v;
size_t i = 0;
int ans1 = 0;
while(i < v.size()) {
auto ni = i + v[i];
... |
8b35d7da9a37d1b04d5139fc4bb65c22a999bcae | 36ce5430f26f11e7ebee67eda20853427479d0f5 | /bake/WiEngineDemosNative/jni/Demos/Box2D/PulleysTest.inl | 3d15ded693cecaba5a5d884a6aeef2adb4915020 | [] | no_license | widerules/droidloft | 7c23d25fb49742971849c16cd44ff9bd66de7a6f | 0b8148fcdd6adc2920e68cb8da1aa542372df1f7 | refs/heads/master | 2020-07-25T15:06:49.335162 | 2012-01-09T05:02:33 | 2012-01-09T05:02:33 | 41,132,530 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,353 | inl | PulleysTest.inl | class wyPulleysTestLayer : public wyBox2DTestLayer {
private:
b2PulleyJoint* m_joint1;
public:
wyPulleysTestLayer() {
// get world
b2World* world = m_box2d->getWorld();
// set gravity
world->SetGravity(b2Vec2(0, -10));
// place box2d to center of bottom edge
m_box2d->setPosition(wyDevice::winWidth / 2,... |
03961391892eebd20d7fd76b8bc92d931559b9c9 | 8897f70beba2d947cd877e4ea19c6fd893479b82 | /compy/representations/extractors/clang_ast/clang_extractor.h | dcf52b05783d1a76cef8e9833075a3f7e073dae9 | [
"Apache-2.0"
] | permissive | OOiiOOiiOO/compy-learn | 2b135c8006a67a5e64157e67227d3cb060f0efc1 | 36cd360522538b0a7eac1f14c9d7ccaf15bde77c | refs/heads/master | 2023-05-09T15:10:31.952873 | 2021-05-21T09:33:01 | 2021-05-21T09:33:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,369 | h | clang_extractor.h | #pragma once
#include <memory>
#include <string>
#include <tuple>
#include <vector>
#include "common/clang_driver.h"
#include "common/visitor.h"
namespace compy {
namespace clang {
namespace seq {
struct FunctionInfo;
using FunctionInfoPtr = std::shared_ptr<FunctionInfo>;
struct ExtractionInfo;
using ExtractionInf... |
262941d9e5039fabd3785f22d9ceedcbb7937c98 | 115334b5bdd95c0ea2b22181d3d14337ce002141 | /tests/knewpassworddialogtest.cpp | 6aeea4d3d5a9f7e173d333ecaa21ca9593f0072d | [] | no_license | KDE/kwidgetsaddons | c7134d2c36b46a27407947329975d517e984dc9c | f7eaee841f3e6fec49ced791c705b35fec0a7252 | refs/heads/master | 2023-08-17T03:14:43.626475 | 2023-08-17T02:14:32 | 2023-08-17T02:14:32 | 42,730,074 | 26 | 9 | null | 2023-06-07T12:27:26 | 2015-09-18T15:20:02 | C++ | UTF-8 | C++ | false | false | 690 | cpp | knewpassworddialogtest.cpp | /*
This file is part of the KDE libraries
SPDX-FileCopyrightText: 2007 Olivier Goffart <ogoffart at kde.org>
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#include <iostream>
#include <knewpassworddialog.h>
#include <qapplication.h>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
... |
537d72cc6aa78e1e24a1b30a3d2f40fabbbce4e6 | 7733fc43f6afd7f647408ceeff40f3480c13a6e4 | /enemy.h | d96c0cb0e80124ac4aac430a2475a182ff316c86 | [] | no_license | Guraxis/42towels | ece2f40ab0be1f087d32da5a5be8ef3c795af03a | 9d6171a6194d1df499e64e72b7e7cbeb3ee35db2 | refs/heads/master | 2020-05-17T00:51:54.680721 | 2015-01-05T21:22:35 | 2015-01-05T21:22:35 | 27,391,849 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 312 | h | enemy.h | #ifndef ENEMY_H
#define ENEMY_H
#include "character.h"
class Enemy : public Character
{
public:
double tempangle;
bool die;
int spawnrate;
Enemy();
};
class EnemyBasic : public Enemy
{
public:
EnemyBasic();
};
class EnemyTank : public Enemy
{
public:
Rectangle body;
EnemyTank();
};
#endif // ENEMY_H
|
d425d5eec4f9a43d0e68e8a6e4ccd22268b7c7c5 | a378123f71ccb6ee769cf36dd514f3ccfbb6756d | /HipMoveController.h | 8d40a2b9243111d44035d02c87538b64f689bcfd | [
"MIT"
] | permissive | collabsoft/owo-track-driver | 6027aa9365b471ddafdb7cdc354e2485f01d7ef2 | d0f7560f2473a97d5d26428d16b98d8ad713dffb | refs/heads/main | 2023-07-13T07:19:22.437988 | 2021-08-23T09:39:10 | 2021-08-23T09:39:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,268 | h | HipMoveController.h | #pragma once
#include <openvr_driver.h>
#include "AbstractDevice.h"
#include "vector3.h"
class RemoteTracker;
class HipMoveController : public AbstractDevice {
private:
RemoteTracker* tgt_tracker;
vr::VRInputComponentHandle_t joystick_click_component = 0;
vr::VRInputComponentHandle_t joystick_touch_component... |
e1b8fdc52cbe24774dd99d9bc937be412a926c0c | a080ee76d1f1f70b006dc71e7510a1b6c0e869cf | /main.cpp | 52ecfd057f834a9f0e8db69f6dc5fbf2cc7fc917 | [] | no_license | 99002540/new | b5373aa10b3ab4370501edb7b4a389441d5e9d1e | ee6af726478b083a3e88c13076c1b3fd9166704e | refs/heads/master | 2022-12-23T05:28:07.897978 | 2020-09-19T01:46:30 | 2020-09-19T01:46:30 | 296,681,660 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 143 | cpp | main.cpp |
#include<iostream>
#include "sum.h"
int main()
{
int my_sum = sum(10, 20);
printf("Sum = %d", my_sum);
return 0;
}
|
f38c50c3397397e82b15d7f5357080c7e3b216b8 | de5b28c7d6be37b33e7140835b290ebd74055a63 | /include/ilang/target-itsy/interface.h | 766725d94080791f3765d909487b76a1ade72b90 | [
"MIT",
"BSD-3-Clause",
"LicenseRef-scancode-free-unknown"
] | permissive | zhanghongce/ILA-Tools | bf2797595d9283476852c05ee7eb0a067b22088a | 5ec5ff4c7c26101232a7e22bd6510a0f34bd8467 | refs/heads/master | 2023-04-13T21:14:38.283818 | 2020-10-23T02:54:25 | 2020-10-23T02:54:25 | 161,229,920 | 2 | 1 | MIT | 2018-12-10T20:03:39 | 2018-12-10T20:03:39 | null | UTF-8 | C++ | false | false | 1,305 | h | interface.h | /// \file
/// Elevated interface for the synthesis engine.
#ifndef ILANG_TARGET_ITSY_INTERFACE_H__
#define ILANG_TARGET_ITSY_INTERFACE_H__
#include <string>
#include <ilang/ila/instr_lvl_abs.h>
/// \namespace ilang
namespace ilang {
/// \brief Import from file the abstraction from the synthesis engine and
/// conv... |
b2b7273c0859ee3f3f413a18e50b80cf525ae1f6 | 30364e2f7edb157cbf9f73205dfbd5128e6218d7 | /DataTeamInterface/src/captor/odo.cpp | 199ecbff3832ad19fc90fa8eff1f411c5816aab1 | [] | no_license | Aranud/Projet_Indu3A | 332f09af4f6d7ff3d2ae158f089db8b10e891a35 | e80a3af14971c213151a4e0c1aecd65ed9443c7e | refs/heads/master | 2016-09-06T11:41:19.645138 | 2015-05-30T11:59:35 | 2015-05-30T11:59:35 | 30,911,932 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,118 | cpp | odo.cpp | #include "odo.h"
/**
* @brief Odo::Odo
*/
Odo::Odo(Protocole *p_pProtocole)
{
m_pProtocole = p_pProtocole;
m_eIDCommand = eIDCommmandOdo;
m_bFrontRight = 0;
m_bRearRight = 0;
m_bRearLeft = 0;
m_bFrontLeft = 0;
}
/**
* @brief Odo::~Odo
*/
Odo::~Odo()
{
}
/********************************... |
d067ffdca6ce9dd723c77f9257e161ee0f2eaa40 | 8483830175b98ba2915d7bf90bed728bb6a4ed75 | /Examples/include/asposecpplib/net/secure_protocols/negotiate_enum_types.h | 7c4ee7df1564a9059f20b846d042121ff3c6649a | [
"MIT"
] | permissive | kashifiqb/Aspose.PDF-for-C | 83393e3173e2d74540f7ec7904eb91fb23b13550 | 13d49bba591c5704685820185741e64a462a5bdc | refs/heads/master | 2020-08-08T11:15:23.173738 | 2019-10-09T04:41:03 | 2019-10-09T04:41:03 | 213,819,800 | 0 | 0 | MIT | 2019-10-09T04:20:06 | 2019-10-09T04:20:06 | null | UTF-8 | C++ | false | false | 263 | h | negotiate_enum_types.h | #pragma once
namespace System {
namespace Net {
namespace Security {
// WebRequest-specific authentication flags
enum class AuthenticationLevel
{
None = 0,
MutualAuthRequested = 1,
MutualAuthRequired = 2
};
}}} // namespace System::Net::Security
|
998a04848c7440933abc04122528c3d575737e18 | a15430224ec58dc5a77b24961f39ecf064bcc84f | /Beakjoon/11051.cpp | 9a7ea52485c404c9e8401222a3365f59994c406a | [] | no_license | sun-pyo/algorithm | a91834d44cc2ef549f8b155946cd6840dd6d7175 | 3e623f8d012b2df86f2f46e6e6860e4d54d81ac0 | refs/heads/main | 2023-09-06T07:21:17.250972 | 2021-11-11T14:42:18 | 2021-11-11T14:42:18 | 325,583,431 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 439 | cpp | 11051.cpp | #include <iostream>
#include <vector>
using namespace std;
int DP[1001][1001];
int main(){
ios::sync_with_stdio(false);
cin.tie(NULL);
int N,K;
cin>>N>>K;
for(int n=1;n<=N;n++){
for(int k=0;k<=K;k++){
if(k==0 || k==n){
DP[n][k] = 1;
}
... |
3fcdfaf583ad0b685bd74e51e0550c73c3519530 | 7a1ec2e273331932bdfe6db8c1025371969f5ea3 | /srcs/methods.cpp | 3f331c88142c7c1058b60e02b3f4de7476bf3400 | [] | no_license | Xsergserg/webserv | c3a417657e8fbb23faa4ac12fc4b08d2d33e34f2 | 9ed1517e7765c25987e2fe8b1b3a05c8d7969bda | refs/heads/master | 2023-06-17T01:13:22.944212 | 2021-07-18T13:03:27 | 2021-07-18T13:03:27 | 387,176,883 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,519 | cpp | methods.cpp | //
// Created by Karyn Cedra on 4/5/21.
//
#include "methods.h"
void *returnError(RequestHeaders request, int statusC, std::string reason, ConnectionClass &connection) {
ResponseHeaders response;
std::stringstream strstream;
std::fstream fin;
std::string body;
std::string statusCode;
std::stri... |
c0e96cecf747f4c14ccbc6f163328a3a2314c0ff | 49045130a658ed0fa67771817a0d160201e472fb | /Beautiful/YY/login/login.cpp | 079b6a543c3f3de4a7840089d6ef86eb82009a73 | [
"MIT"
] | permissive | martinkro/tutorial-qt | 5108fedd409100260e93c8544c3aeac9b07770c6 | 8685434520c6ab61691722aa06ca075f8ddbeacf | refs/heads/master | 2021-01-21T09:38:20.795623 | 2018-01-25T07:46:36 | 2018-01-25T07:46:36 | 91,661,126 | 3 | 0 | null | null | null | null | GB18030 | C++ | false | false | 10,691 | cpp | login.cpp | /****************************************************************************
**
** Copyright (C) 2013 HaiHan.
** All rights reserved.
** Contact: yanhubin@163.com
** Please keep the author contact information.
** 2013-10-30
**
****************************************************************************/
#incl... |
ec8e61457682ca2e3c3732908d1055a6cc79236d | 65e3391b6afbef10ec9429ca4b43a26b5cf480af | /TEvtGen/EvtGen/EvtGenModels/EvtSVVCP.cpp | 6d2ebf787fa4a39ad4cf018da6eeefb0494f6f19 | [] | permissive | alisw/AliRoot | c0976f7105ae1e3d107dfe93578f819473b2b83f | d3f86386afbaac9f8b8658da6710eed2bdee977f | refs/heads/master | 2023-08-03T11:15:54.211198 | 2023-07-28T12:39:57 | 2023-07-28T12:39:57 | 53,312,169 | 61 | 299 | BSD-3-Clause | 2023-07-28T13:19:50 | 2016-03-07T09:20:12 | C++ | UTF-8 | C++ | false | false | 3,652 | cpp | EvtSVVCP.cpp | //--------------------------------------------------------------------------
//
// Environment:
// This software is part of the EvtGen package developed jointly
// for the BaBar and CLEO collaborations. If you use all or part
// of it, please give an appropriate acknowledgement.
//
// Copyright Informat... |
f84c75c1a6d0d287d01c500429cdb51971d17997 | e9ee7be9bbddab7231461b09c6de7c4ccae7da60 | /pch.cpp | 725c9a5f13924434087862940d4953c22ed835aa | [] | no_license | HungryAnteater/file_tools | c87fac7b3a39582558a33b4e737a4fa28b435c6a | bc0266237d18fc245f22486c9eb9182454d08614 | refs/heads/master | 2021-04-24T01:11:34.349732 | 2020-03-29T06:45:48 | 2020-03-29T06:45:48 | 250,051,120 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 247 | cpp | pch.cpp | //-----------------------------------------------------------------------------
// Copyright (C) Doppelgamer LLC, 2020
// All rights reserved.
//-----------------------------------------------------------------------------
#include "pch.h"
|
8a16d29b25ebf0df725092636b43423f466b3d11 | 2ae0b8d95d439ccfd55ea7933ad4a2994ad0f6c5 | /src/core/shape_inference/include/assign_shape_inference.hpp | 307e71b87743535107a68c4f7dc221a55e26af5d | [
"Apache-2.0"
] | permissive | openvinotoolkit/openvino | 38ea745a247887a4e14580dbc9fc68005e2149f9 | e4bed7a31c9f00d8afbfcabee3f64f55496ae56a | refs/heads/master | 2023-08-18T03:47:44.572979 | 2023-08-17T21:24:59 | 2023-08-17T21:24:59 | 153,097,643 | 3,953 | 1,492 | Apache-2.0 | 2023-09-14T21:42:24 | 2018-10-15T10:54:40 | C++ | UTF-8 | C++ | false | false | 1,322 | hpp | assign_shape_inference.hpp | // Copyright (C) 2018-2023 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#pragma once
#include <openvino/core/graph_util.hpp>
#include <openvino/op/assign.hpp>
#include "copy_shape_inference.hpp"
#include "utils.hpp"
namespace ov {
namespace op {
namespace v3 {
template <class TShape, class TRShape = re... |
9b14795f66395ab5a53f4534a34214256e1e4df3 | 0a3da5a64d396e3a2f27bfdbe75feea759b579ef | /focus_controller_ws/src/focus_control/src/old_files/path_planner.cpp | e81a685bd13f64808d228c2121bb7753962d4505 | [
"BSD-2-Clause"
] | permissive | gurumurthy0308/EVAutomation | 8cc3eb8be2598e74f95532080874d4c2b574976a | a9e27e8916fd6dfc060dac1496a3b2f327ef6322 | refs/heads/master | 2020-09-03T09:47:04.425368 | 2017-03-03T01:46:08 | 2017-03-03T01:46:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,831 | cpp | path_planner.cpp | #include "ros/ros.h"
#include "nav_msgs/Odometry.h"
#include "std_msgs/Bool.h"
#include <sstream>
#include <fstream>
//GLOBAL VARIABLES
//GLOBAL VARIABLES
float desired_speed = 0;
float current_speed = 0;
float desired_heading = 0;
float desired_anglep2p = 0;
float current_heading = 0;
float current_angle = 0;
float c... |
4be5e1cf72b0a6a08e4435b2c3dd7a98b52bb7e0 | f6c0270b00ae78607c91a1b393510144f0f595b3 | /TestAppMK66F+KSZ8794/main.cpp | 41203d890e9f9fc2796e1615c3e32fd3f13b566c | [
"Apache-2.0"
] | permissive | yacoub-automation/mstp-lib | 3d9bea7d93308aa9e7a80b427a8a7ccb6d4a1ab5 | 57089f9b7826a65fdd8d391a31d0598476c3488c | refs/heads/master | 2023-04-26T05:28:04.951248 | 2021-05-04T08:30:24 | 2021-05-04T08:30:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,871 | cpp | main.cpp |
#include "drivers/clock.h"
#include "drivers/gpio.h"
#include "drivers/pit.h"
#include "drivers/ethernet.h"
#include "drivers/event_queue.h"
#include "drivers/scheduler.h"
#include "drivers/serial_console.h"
#include "switch.h"
#include "stp.h"
#include <CMSIS/MK66F18.h>
#include <debugio.h>
#include <assert.h>
#inclu... |
c55e68cfd676838ff70eb91caffbc17fa77c8273 | d43fabc5149c3446f2200033c604d1296297f26b | /include/Player.h | 1445b8386f133b4c2c414a279a4e7f2a80470b5e | [] | no_license | pasolano/gamedes | 23d49bda8928f0cf6c103f2f62ef9003873acbce | ae43f60352b17c2e076661e098c9e99cfd74dc18 | refs/heads/main | 2023-04-19T22:54:58.764081 | 2021-05-14T08:04:11 | 2021-05-14T08:04:11 | 339,482,384 | 2 | 2 | null | 2021-05-04T01:53:52 | 2021-02-16T17:50:54 | C++ | UTF-8 | C++ | false | false | 340 | h | Player.h | //Edited by Yixuan Xu on 02/28
#include <SpriteActor.h>
#ifndef _PLAYER_H_
#define _PLAYER_H_
class Player : public SpriteActor {
public:
Player();
Player(/*Weapon w*/float x, float y, float v); //x,y position and speed
void movePlayer(float, float); //trigger move event (global x and y)
};
#en... |
5b1e5f059df87726738866af6bebfa0c4034bf87 | 223dd6cdf14a826fead3aba84fbb310e2757c448 | /Volume 10000/Volume 104/10474 - Where is the Marble.cpp | bcea93b86c7999f37f82d3abc9d9fc817a588f60 | [] | no_license | badstyle319/UVA | dad2972fcdd0dc219e90328607547a3524b8b047 | 28c27e8dfe766d7d83969a0f5b7dbc9a6b9282c6 | refs/heads/master | 2022-11-29T07:07:35.957202 | 2020-08-03T06:46:40 | 2020-08-03T06:46:40 | 284,227,832 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,519 | cpp | 10474 - Where is the Marble.cpp | #include <bits/stdc++.h>
#define LL long long
#define ULL unsigned long long
#define VI vector<int>
#define VS vector<string>
using namespace std;
template<typename T>
void PV(vector<T> &v)
{
for(auto it:v)
cout<<it<<" ";
cout<<endl;
};
// static int dx[] = {-1,-1,-1,0,0,1,1,1};
//... |
4e6b21c30ed2caed944c3ecb1474cbab8da5eaa8 | 9cb58b81dcf7aa2e82fe66bde01d27f723fc9e93 | /cpp/revolve/gazebo/plugin/_SoundSensorPlugin.h | b47e39649214f58eabcadef17ccd2d430e35c375 | [] | no_license | egdman/revolve | 88de935a425dce5d37eb3004bd163ac249548315 | 5f4ffe7d932c7941fb5054ba58202f9724457920 | refs/heads/master | 2020-04-01T22:48:13.716943 | 2018-05-24T16:13:15 | 2018-05-24T16:13:15 | 46,378,128 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 803 | h | _SoundSensorPlugin.h | #ifndef REVOLVE_SOUND_SENSOR_PLUGIN
#define REVOLVE_SOUND_SENSOR_PLUGIN
#include <revolve/gazebo/Types.h>
#include <revolve/gazebo/sensors/SoundSensor.h>
#include <gazebo/gazebo.hh>
#include <gazebo/common/common.hh>
#include "gazebo/common/Plugin.hh"
#include "gazebo/sensors/sensors.hh"
namespace revolve{
namespace... |
ab0ecdb191324132c76108a56971c55ac01c3f68 | 36b9c44c6f2702036beb7e0ffc1c2ef7ca5b1420 | /MyPaint/CMyPaintWidthDialog.cpp | fef4ee317dc0da510d3241a76a447918402ec69d | [] | no_license | lexfor/MyPaint | bf15eeada287429abf17fd470bddae550e28ae96 | 8c8df7a1a1879e83c3aaa40295808ffb1ab897ad | refs/heads/master | 2021-07-12T22:10:40.046034 | 2021-02-24T18:23:53 | 2021-02-24T18:23:53 | 236,993,913 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,618 | cpp | CMyPaintWidthDialog.cpp | // CMyPaintWidthDialog.cpp: файл реализации
//
#include "pch.h"
#include "MyPaint.h"
#include "CMyPaintWidthDialog.h"
#include "afxdialogex.h"
#define DEFAULTWIDTH 1
// Диалоговое окно CMyPaintWidthDialog
IMPLEMENT_DYNAMIC(CMyPaintWidthDialog, CDialogEx)
CMyPaintWidthDialog::CMyPaintWidthDialog(CWnd* pParent /*=n... |
b9696d40ea619a1c137ddb197625fca718161c31 | fcb5a47663e7647fb7999066ac831a01e4672e17 | /Test/Test1.cpp | ebb1cadb95b5a8d2cf9f1d7b211c2a1893a8528b | [] | no_license | renren123/ProcessInjection | fca809733ee1e38dc96d68a36945e04e929570e5 | 807f355683c335034c04ac8b9715a994a36a65c3 | refs/heads/master | 2021-06-21T12:38:56.525936 | 2021-05-13T10:02:42 | 2021-05-13T10:02:42 | 217,478,818 | 4 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,161 | cpp | Test1.cpp | #include "pch.h"
#include "Test1.h"
#include <iostream>
#include <stdio.h>
#include <Windows.h>
typedef int(WINAPI* pfMessageBoxA)(HWND, LPCSTR, LPCSTR, UINT);
pfMessageBoxA OldMessageBoxA = NULL;
int WINAPI MyMessageBoxA(HWND hWnd, LPCSTR lpText, LPCSTR lpCaption, UINT uType)
{
return OldMessageBoxA(hWnd, "hello l... |
4cafc4958e3f58420bb7c7e5dc2cb6119233429a | 725d6c3f192941b14740f082ae0cce4cc392914f | /game/Map.cpp | 248209e6de194edfb75c74493b20fab54fb42b87 | [] | no_license | Rrpe/C-C- | 812f68eaa1238b4f95234374700620b0516fc464 | a345d4869d86e35fbb2a9a2fe4558cf048ed6738 | refs/heads/main | 2023-03-06T17:23:01.097687 | 2021-02-22T04:13:15 | 2021-02-22T04:13:15 | 341,075,525 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 101 | cpp | Map.cpp | #include "Map.h"
void loadMap()
{
}
void freeMap()
{
}
void drawMap(float dt)
{
}
|
a8b9780420f3fedfdfcba2d3040798f5cc4180e1 | 87a0a9c5edd5c94e1aa79421132b668af9f629ee | /Codeforces/Codeforces/SWEA_2477.cpp | e5272fdddfdedae431041f6487ede38aea2cf992 | [] | no_license | dhrdlxl/Codeforces | c3b37d92819a9787091f7faf6a0548abcbc3a713 | 80c674f6115ee2047b45afb809058137d663f646 | refs/heads/master | 2021-04-18T21:57:33.356455 | 2018-04-30T13:34:43 | 2018-04-30T13:34:43 | 126,686,717 | 1 | 0 | null | null | null | null | UHC | C++ | false | false | 3,609 | cpp | SWEA_2477.cpp | #include <iostream>
#include <vector>//vector
#include <utility>//make_pair, pair
#include <queue>
using namespace std;
int main()
{
int T;//
cin >> T;
for (int x = 1; x < T+1; x++)
{
int N, M, K, A, B;
cin >> N >> M >> K >> A >> B;
int a_tick[10] = { 0, };//첫 번째 창구 이용시간 저장할 배열
int b_tick[10] = { 0, };//두 ... |
d797caf1dc6b93bd37bf13890d930820b76d1057 | e4cdc8e266c3963e45cbd1afd5ae8db3ae5dd14a | /PCB.h | 52706de71ce702bfdfdcb0dff848df163f1161fa | [] | no_license | isabellab3/OS-Simulation | 8ca7672f1c8e19aadb430db5170bb28786facb52 | aa61d190e565a9eaad722bfcd66bcd3764fc8adf | refs/heads/master | 2022-02-23T05:58:54.561312 | 2019-10-06T01:44:58 | 2019-10-06T01:44:58 | 197,069,812 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,337 | h | PCB.h | #ifndef PCB_H
#define PCB_H
#include <vector>
class PCB {
public:
PCB(int & pid_) : pid(pid_), child_processes(0), parent_process(0), process_is_zombie(0), waiting(0) {}
~PCB() {
for (auto child : child_processes) {
delete child;
}
... |
16675c5b75607b6da714fc441cf03ae659417727 | 3844b2976c4aad44bdc951472cb786498aeb947c | /Project 3/Child.h | 21d30329dd712704cd4d7fb3e3c6018f6e7396e8 | [] | no_license | mBeh95/Data-Structure-and-Algorithms-I | 010acfd3d387151ff7464cbbf65dd4178cf5e068 | 8c01e153ae19b82033b36a4da597aa316ef6a323 | refs/heads/master | 2020-04-05T14:46:07.780794 | 2018-11-10T03:15:47 | 2018-11-10T03:15:47 | 156,940,076 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 485 | h | Child.h | #pragma once
#include <iostream>
#include <fstream>
#include <string>
#include "List342.h"
using namespace std;
class Child
{
public:
Child();
Child(string lName, string fName, int age);
~Child();
string getLastName() const;
bool operator==(const Child &rhs) const;
bool operator!=(const Child &rhs) const;
bool ... |
a96dba9a75413ad9a841b90807a45781e61c761e | 0a9b5dce7cb7e265fe17e80caf8939ccd140be60 | /ImageCluster/bin/cluster_tmp.cxx | 617e71b81165a9c186263fb35d92663b90291a7f | [] | no_license | richa2710/LArOpenCV | 7ddc1a45c1d72512ba17132ccbcacfc3ec8e5a36 | 522bf1d873a8133ff203a198a191d5e8042f943f | refs/heads/master | 2023-07-18T00:20:34.021055 | 2016-08-03T14:58:38 | 2016-08-03T14:58:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 340 | cxx | cluster_tmp.cxx | #ifndef __CLASSNAME_CXX__
#define __CLASSNAME_CXX__
#include "ClassName.h"
namespace larcv{
void ClassName::_Configure_(const ::fcllite::PSet &pset)
{}
Cluster2DArray_t ClassName::_Process_(const larcv::Cluster2DArray_t& clusters,
const ::cv::Mat& img,
larcv::ImageMeta& meta)
{ return Cluster2DArr... |
fd7b0d7a8e4450b76909bad55fd6da73f2e71a18 | 34f65375b05dc9dfd7789a93d2f53fa2c6fa307f | /src/engine/common.h | 995a398c767529d19b7cc93068b403ea4140e791 | [] | no_license | LoneBoco/2drp | e71644a3dd7a63c8e3fd81d49254330c6002c44a | 432faeceeddd1f962b4aebcad27fa0d92eefdf5a | refs/heads/main | 2023-03-06T00:48:10.431247 | 2023-02-28T08:39:05 | 2023-02-28T08:39:05 | 156,314,823 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,378 | h | common.h | #pragma once
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif
#ifndef NOMINMAX
#define NOMINMAX
#endif
#include <cstdint>
#include <cstddef>
#include <locale>
#include <memory>
#include <string>
#include <vector>
#include <map>
#include <functional>
#include <algorithm>
#include <numeric>
#include <ato... |
970c42e80b566cd24caa42a4ac360bc53a209ac6 | a1d02891040347a071814e94478be20eefbe470b | /Tests/svngui/SVNDialogCommit.cpp | 012b15df599d963910cb5de5307da57aaa2c9f5f | [] | no_license | lefevre-fraser/GME | 3edee4f2c8668a9b03ab41bff13ceb03eec26295 | 123e9f96782fb6b5931d01c40aa22d2d55e4d81c | refs/heads/master | 2020-09-19T20:28:12.598585 | 2019-09-26T18:26:13 | 2019-09-26T18:26:13 | 224,279,886 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 912 | cpp | SVNDialogCommit.cpp | // SVNDialogCommit.cpp : implementation file
//
#include "stdafx.h"
#include "svngui.h"
#include "SVNDialogCommit.h"
#include "afxdialogex.h"
// CSVNDialogCommit dialog
IMPLEMENT_DYNAMIC(CSVNDialogCommit, CDialogEx)
CSVNDialogCommit::CSVNDialogCommit(CWnd* pParent /*=NULL*/)
: CDialogEx(CSVNDialogCo... |
7dea9d8044964eb7d48ca22f8f5001187132a202 | 8d882a6676b0e68ca054ecbec445d983be59e91e | /src/ExposurePrep2.cpp | 58811c13feb32ea1e0f135e5dc3720157943bf0b | [] | no_license | gbernstein/orbitspp | 2eda08c55ac6046a7a3d1492632797affb823d57 | a2d979678be2034a28b92becbf212c62a72cebef | refs/heads/master | 2023-06-22T13:23:04.992330 | 2023-06-13T19:56:19 | 2023-06-13T19:56:19 | 121,978,905 | 5 | 0 | null | 2022-07-05T18:25:20 | 2018-02-18T18:35:27 | C++ | UTF-8 | C++ | false | false | 4,183 | cpp | ExposurePrep2.cpp | // Add a second extension to exposure table containing
// time and pointing info for exposures not in the first table.
#include <vector>
#include <iostream>
#include "Std.h"
#include "StringStuff.h"
#include "FitsTable.h"
#include "Astrometry.h"
#include "Ephemeris.h"
using namespace std;
/** New output table will ... |
fbf79eb2880c1d834028ccab147160738f0387ea | ef187313537d520739b4918e0ef4c0b0041bf4e7 | /C25_GlobalPosition/src/C25_Node.cpp | 5165bfc1476769b062e7c027b1adab72aa1e41b9 | [] | no_license | robotil/robil | e4a0a4eb92c0758101ecc1963d77142d51ed4c9c | 257cd66266f299fd5f696cd4b5e92fa195237e47 | refs/heads/master | 2021-05-30T13:34:35.303549 | 2013-11-20T06:46:25 | 2013-11-20T06:46:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,709 | cpp | C25_Node.cpp | /**************************************************************************************
* This is a template for the C25_GlobalPosition module for the robil project
* The C25_GlobalPosition module goal is to provide UTM global positioning according to the data
* Received from GPS and camera sensors. data is relative... |
b68798cbc15f6eff20a73a113d56737f139299ae | 7a14b95faad3f002bffec51854f4932578ef3877 | /dragonhoard.cc | 42212d7b430df5494690c0d683e3dc3201316ffa | [] | no_license | AndreasRicci/CC3k | fbae07a65d64688ec77e1bea8f6a5c6fd02eac37 | 3082c4f63ef99c9147d08247a912ed3a3a508341 | refs/heads/master | 2021-01-20T07:42:09.887071 | 2015-08-09T04:34:54 | 2015-08-09T04:34:54 | 40,425,346 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,075 | cc | dragonhoard.cc | #include <sstream>
#include <string>
#include "dragonhoard.h"
#include "constants.h"
#include "cell.h"
#include "language.h"
#include "baseplayer.h"
using namespace std;
DragonHoard::DragonHoard(Game * game, Dragon * keeper): Treasure(TREASURES[DRAGON_HOARD][VALUE], game), keeper(keeper) {}
DragonHoard::~DragonHoard... |
e3e112eade40be02fd2d7fb8b02683df3e013113 | e6df7c4a0e955ac7ed2068efabd35a740ccd8895 | /keypoints/UniformKeypoints.h | 678278ed5ec4bb11c19f50bec9d671d2f8c2c5ce | [] | no_license | dvallin/pclref | 3bbb77e2d8e822b9fd7a00251f23a99e469b8cac | 5b7ddf45fba7c5caa99fdf5a31c5cf33bb251131 | refs/heads/master | 2020-12-02T22:08:20.150424 | 2017-07-03T08:17:06 | 2017-07-03T08:17:06 | 96,087,163 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,324 | h | UniformKeypoints.h | /**
*
* \author $Author: schuler $
*
* \version $Revision: 0.1 $
*
* \date $Date: 2012/07/24 $
*
* Contact: schuler.maximilian@gmail.com
*
* Created on: September 5 2014
*
*/
#ifndef UNIFORM_KEYPOINTS_H_
#define UNIFORM_KEYPOINTS_H_
#include <PclRefLIB.h>
#include <ProcessingStep.h>
namespace pclref
{
... |
a6e83dfee94f22a5706adf0b6029edb38f582b1d | de80b91a12b10bd962b59a89b2badbb83a0193da | /ClientProject/Mof/RatchetNClankCopy/RatchetApplication/Actor/Character/Queen.cpp | 0eae4605250ee2f3f42f2f0b91ea4009941db423 | [
"MIT"
] | permissive | OIC-Shinchaemin/RatchetNclank-PrivateCopy | 8845eea799b3346646c8c93435c0149e842dede8 | e2e646e89ef3c29d474a503f5ca80405c4c676c9 | refs/heads/main | 2023-08-15T06:36:05.244293 | 2021-10-08T00:34:48 | 2021-10-08T00:34:48 | 350,923,064 | 0 | 0 | MIT | 2021-10-06T11:05:03 | 2021-03-24T02:35:36 | C++ | UTF-8 | C++ | false | false | 3,053 | cpp | Queen.cpp | #include "Queen.h"
#include "../../Factory/FactoryManager.h"
#include "../../Component/VelocityComponent.h"
#include "../../Event/EventManager.h"
#include "../../Event/EventReferenceTable.h"
#include "../../Event/BridgeEvent.h"
#include "../../Light/LightManager.h"
#include "../../Component/BillboardComponent.h"
rat... |
15547f9b0091d06b9b1bd87a49d6745a00a249e8 | 42ac9b9a5cb115a07d138f5307bf4af486e83571 | /OpenGl barebone/src/cpp/main.cpp | b4f81fbe218ea64c659505f2df35913005e0d0e8 | [
"Apache-2.0"
] | permissive | Alexandre-1Briere/OpenGlWrapper | 24fd0b46f6a14bde9dc26918e8019cb20d2cdfd7 | 46ede9ad9744efcf8e0af21244672a672241653f | refs/heads/master | 2022-12-04T10:28:41.432351 | 2020-08-26T20:34:24 | 2020-08-26T20:34:24 | 290,358,831 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 754 | cpp | main.cpp | #include <window.h>
#include <iostream>
int main(void)
{
window windowController;
GLFWwindow* window;
if (!glfwInit())
return -1;
window = glfwCreateWindow(WINDOW_WIDTH, WINDOW_HEIGHT, WINDOW_NAME, NULL, NULL);
if (!window)
{
glfwTerminate();
return -1;
}
g... |
6ad40864bb14d82d545ed6dc39c5b9d12ad31907 | ec0aed816cd18ac00c1bffe5fa594f9f0ffeabb6 | /两个栈实现一个队列.cpp | 0a9cdc9c1baec71156d3465f4ac223c7a398f0ea | [] | no_license | YangShiXiong/learn | f132284845bc3072c5e17e6ed021656950089739 | 708176f72325e9fd65c62e66874bdc0c3b70f4b7 | refs/heads/master | 2020-06-22T22:26:15.370421 | 2019-07-25T09:08:57 | 2019-07-25T09:08:57 | 198,416,337 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 708 | cpp | 两个栈实现一个队列.cpp | #include<iostream>
#include<stack>
using namespace std;
class Solution{
public:
//两次反转等于不反转
int Achieve(stack<int>& s1,stack<int>& s2){
//初始化元素2,1
s1.push(1);
s1.push(2);//插入s1栈中,反转一次
if(s2.empty()){
while(!s1.empty()){
s2.push(s1.top());//... |
a427e42973313414eb1984f1563b155d44369581 | 7b0bf562eca9f4bbccf2aedaa7788d4787888cb8 | /assignment08/huffman_backup.cpp | f85e77db3f37764e254b2b2714bf16fa9ab06b66 | [] | no_license | Sirrine-Jonathan/Data-Structures | aea18afddfe097b78815cf6971fb45b8644f4f05 | c1e50f4adc01ac78b6ce1493904913c5a512c3a8 | refs/heads/master | 2020-03-11T04:21:55.455139 | 2018-04-16T16:39:22 | 2018-04-16T16:39:22 | 129,774,660 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,802 | cpp | huffman_backup.cpp | #include "huffman.h"
#include <string>
#include "pair.h"
#include "bnode.h"
#include "node.h"
using namespace std;
void huffman(string fileName)
{
ifstream inputFile(fileName.c_str());
//BNode <custom::pair <string, float> > * nHead;
Node <custom::pair <float, string> > * hNodePtr = NULL;
// put pairs fro... |
20a542dbeac7af1883f8e5f86c14bbba72a87017 | c130fc29c48af4b36bc0c51ea9135e1660e9c318 | /API_GAME/my_lib/19_0_EffectC.cpp | 1c5c6e84eb2df3f5e6361593132cbf4a480bb3e9 | [] | no_license | kimisaak0/indi_project | 74ba40bb08317a910c8595efa6901120ee31eeca | 24a5adf6ad4eca30fc8ff5aec85813a089af3831 | refs/heads/master | 2020-03-25T17:24:50.839546 | 2018-10-25T14:07:46 | 2018-10-25T14:07:46 | 143,976,532 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 454 | cpp | 19_0_EffectC.cpp | #include "19_0_EffectC.h"
void EffectC::PlayPos(double x, double y)
{
m_ptPosition.x = x;
m_ptPosition.y = y;
m_ptDrawPosition.x = m_ptPosition.x + (m_rtDraw.right / 2);
m_ptDrawPosition.y = m_ptPosition.y + (m_rtDraw.bottom / 2);
}
bool EffectC::Init()
{
return true;
}
bool EffectC::Frame()
{
return true;
}
... |
9c29aa7a0a98c98e957822e35411d77b7c25e36d | 8700fa500c760a8049c65df590632783cd64940a | /bookopencv/ch3_ex3_19.cpp | b1384b0b23eab669980c2dcbf4d2828dc93c6e4e | [
"MIT"
] | permissive | SrikanthParsha14/test | 8ebac746f31d450b39eca1001525961497d962ba | 8cee69e09c8557d53d8d30382cec8ea5c1f82f6e | refs/heads/master | 2020-06-05T06:54:36.274446 | 2017-08-03T08:39:43 | 2017-08-03T08:39:43 | 192,351,172 | 1 | 0 | MIT | 2019-06-17T13:20:39 | 2019-06-17T13:20:38 | null | UTF-8 | C++ | false | false | 1,624 | cpp | ch3_ex3_19.cpp | /* License:
Oct. 3, 2008
Right to use this code in any way you want without warrenty, support or any guarentee of it working.
BOOK: It would be nice if you cited it:
Learning OpenCV: Computer Vision with the OpenCV Library
by Gary Bradski and Adrian Kaehler
Published by O'Reilly Media, October 3, 2008
AVAILAB... |
a4440f346379b4ea65e2213e1c974f7b69d473f5 | 9d52500bc05ddf70a26d183c3a8aba2ad2d3d05b | /gridWorld/src/rl/q_learning.hpp | bfd8cf66da51f3fa794638548ad655179a8ac2b6 | [
"MIT"
] | permissive | corno93/self-balancing-robot-using-RL | b04c05297a786f84e6b61ff3f068f7b9d57c3240 | 24a52e141f20aee0279a4c0a47a4ca738612cc08 | refs/heads/master | 2021-03-27T15:10:11.265617 | 2019-02-05T03:19:25 | 2019-02-05T03:19:25 | 96,851,488 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 424 | hpp | q_learning.hpp | /**
Q-Learning class declaration
@author Alex Cornelio
*/
#ifndef Q_LEARNING_H
#define Q_LEARNING_H
#include "rl.hpp"
#include <iostream>
#include <stdlib.h>
#include <cmath>
class q_learning : public reinforcement_learning
{
public:
q_learning();//float ep);
~q_learning();
char choose_action(float ep... |
b769d2ccdf269c5cc562bdc6acceebdf56f244ef | 9777c2fc0b3f1032f2fb367eda5bf3c2bb49e109 | /GradientDomainBlending/PoissonSolver.h | dce31db75378ddd2a05b8b0dfa32b7b6a22d9d4b | [] | no_license | SingleZombie/Gradient-Domain-Image-Processing-Cpp | 6725b82d24564a1199d696e7e30c781c37f9ed48 | 80eaa0fd8511946fae41036ddef55f971b205b80 | refs/heads/master | 2023-05-08T01:22:28.221698 | 2021-06-02T10:15:40 | 2021-06-02T10:15:40 | 356,269,829 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 622 | h | PoissonSolver.h | #ifndef POISSON_SOLVER_H
#define POISSON_SOLVER_H
#include <Eigen/Core>
#include <Eigen/Sparse>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/core/core.hpp>
#include "ImageUtil.h"
class PoissonSolver
{
public:
static void getFactorMatrixAndEdgeTerm(
// Input
const ImageRegion& region,
int dstLeft, ... |
e2d396ec9d06363ea8accf8a879719dbda16880f | 5dfa881776b02b0158f3413ec6d06d95c6bb2dee | /1075链表元素分类/main.cpp | 9e9bd8df85efa83b708996e0ca050e2103dbbad5 | [] | no_license | Esrappelt/PAT-BasicLevel | 17880f041e852c1e664a77b432ce50f332055e21 | 91cc087f8ab46784da99ab4d638100088a99610d | refs/heads/master | 2020-04-05T11:26:40.354587 | 2019-03-14T02:44:15 | 2019-03-14T02:44:15 | 156,835,017 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,800 | cpp | main.cpp | #include <cstdio>
#include <cmath>
#include <iostream>
#include <algorithm>
#include <queue>
#include <stack>
#include <list>
#include <vector>
#include <malloc.h>
#include <memory.h>
using namespace std;
struct element{
int address;
int data;
int nextaddress;
};
int main()
{
int N... |
e42ec6956d70618f9d6be918eaa9db1ec3b7e894 | 37cca16f12e7b1d4d01d6f234da6d568c318abee | /src/rice/environment/params/simple/ParamsNotPresentException.cpp | 140f454cc2859207135131f123860ea4060de020 | [] | no_license | subhash1-0/thirstyCrow | e48155ce68fc886f2ee8e7802567c1149bc54206 | 78b7e4e3d2b9a9530ad7d66b44eacfe73ceea582 | refs/heads/master | 2016-09-06T21:25:54.075724 | 2015-09-21T17:21:15 | 2015-09-21T17:21:15 | 42,881,521 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,942 | cpp | ParamsNotPresentException.cpp | // Generated from /pastry-2.1/src/rice/environment/params/simple/ParamsNotPresentException.java
#include <rice/environment/params/simple/ParamsNotPresentException.hpp>
#include <java/lang/Exception.hpp>
#include <java/lang/NullPointerException.hpp>
template<typename T>
static T* npc(T* t)
{
if(!t) throw new ::jav... |
f4da0692480458d85963b627871ea045a15f88a1 | 4bea57e631734f8cb1c230f521fd523a63c1ff23 | /projects/openfoam/rarefied-flows/impingment/sims/templates/compressible/rhoCentralFoam/wedge15Ma5/0.08/U | 16fe8b82510bd0dc0a45a48bb4491fdacd133dbf | [] | no_license | andytorrestb/cfal | 76217f77dd43474f6b0a7eb430887e8775b78d7f | 730fb66a3070ccb3e0c52c03417e3b09140f3605 | refs/heads/master | 2023-07-04T01:22:01.990628 | 2021-08-01T15:36:17 | 2021-08-01T15:36:17 | 294,183,829 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 179,151 | U | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1912 |
... | |
e7b242b4b9bcb9f8449af15d1b41691c2f7355da | f658b1b79782726539d06373e259111e9de88c3b | /第三次上机/T2.cpp | 4a304030470085c57daee6d41e63ed6eb4eaee49 | [] | no_license | Maydaytyh/OOP-Experiment | b67d3b80334cef4afea4a6ea69f0a24a1dd5f227 | 3fa59b6492541a3167806d3c72a84a4ba7693df9 | refs/heads/master | 2020-05-04T04:50:28.644446 | 2019-04-04T05:52:07 | 2019-04-04T05:52:07 | 178,975,105 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,826 | cpp | T2.cpp | /*
* @Author: CucumicsMelon
* @Date: 2019-03-25 10:24:26
* @Last Modified by: CucumicsMelon
* @Last Modified time: 2019-03-25 11:40:37
*/
/*思路:
用一个指针保存唯一的实例,无法在外部直接新建实例,只能使用外部接口(函数),函数中会判断是否已经存在实例。
*/
#include <bits/stdc++.h>
using namespace std;
#define maxn 100000
#define rep(i, m, n) for (int i =... |
c01d1ebeb6ae641b827e1a22cc15ac77b04d3a2d | eb4ba6bf51880eb8af06bcceddd96936cd5d409a | /libraries/entities/src/ZoneEntityItem.h | 0744abf475ad41f2dba6063daeb485e3ccc68d12 | [
"Apache-2.0"
] | permissive | adamrwoodbury/hifi | 1526e8badca81d15bcf81b57361f2c69a36eba54 | d7cc76e48bf6fec7ae4312176abf9397b6507561 | refs/heads/master | 2021-01-18T13:57:59.539942 | 2015-05-02T07:35:49 | 2015-05-02T07:35:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,493 | h | ZoneEntityItem.h | //
// ZoneEntityItem.h
// libraries/entities/src
//
// Created by Brad Hefta-Gaub on 12/4/13.
// Copyright 2013 High Fidelity, Inc.
//
// Distributed under the Apache License, Version 2.0.
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
//
#ifndef hifi_ZoneEntityItem_h
#de... |
f2a11dcb7bf6b37f095eb41d0a95e6573197696e | 6bac07ceda232029b6a9ea0144ad261311348699 | /plugin_vc/game_vc/meta/meta.CTimer.h | ea9e0e924603c949a87408565c90edd621a562e0 | [
"Zlib"
] | permissive | DK22Pac/plugin-sdk | ced6dc734846f33113e3596045b58febb7eb083c | b0ebc6e4f44c2d5f768b36c6a7a2a688e7e2b9d3 | refs/heads/master | 2023-08-17T06:36:25.363361 | 2023-08-10T05:19:16 | 2023-08-10T05:19:20 | 17,803,683 | 445 | 221 | Zlib | 2023-08-13T04:34:28 | 2014-03-16T16:40:08 | C++ | UTF-8 | C++ | false | false | 18,760 | h | meta.CTimer.h | /*
Plugin-SDK (Grand Theft Auto Vice City) header file
Authors: GTA Community. See more here
https://github.com/DK22Pac/plugin-sdk
Do not delete this comment block. Respect others' work!
*/
#include "PluginBase.h"
namespace plugin {
META_BEGIN(CTimer::EndUserPause)
static int address;
static i... |
d875e4c94a55de44cfc4b64029e2b81738d3eecc | be1c1f921c8245d0af8c32f329ac773a75e248cc | /include/lbann/layers/layer.hpp | a19a8185ca921542458d85fcaddc7d76878956e9 | [
"Apache-2.0"
] | permissive | trb413/lbann | cac341013dccb16698bdd02429b0d4a14e2ccde8 | c8aa1c948f09b1b52e71f64ad4b6a2f25a49a0db | refs/heads/develop | 2020-03-17T08:22:42.848312 | 2018-05-14T22:44:32 | 2018-05-14T22:44:32 | 96,580,344 | 0 | 0 | null | 2017-07-07T22:13:39 | 2017-07-07T22:13:39 | null | UTF-8 | C++ | false | false | 21,565 | hpp | layer.hpp | ////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2014-2016, Lawrence Livermore National Security, LLC.
// Produced at the Lawrence Livermore National Laboratory.
// Written by the LBANN Research Team (B. Van Essen, et al.) listed in
// the CONTRIBUTORS file. <lbann-dev@l... |
a851a5a8fe7d68b9f58efe07dbdd67d788d69917 | 587aee470280d68ea04e6dc97ac5a852783100c8 | /proj2/BASIC/running.h | aee5992f7db5766fd8484e0db901bd416f609b9f | [] | no_license | YuichanNoKareshi/sophomore-1st-semester | 0137cd273f68347a31090b1fa21a71075083e7b5 | 7d49ae1fa548cdcb46d2aaca176d8afbfb4f7c77 | refs/heads/master | 2023-03-23T02:07:58.258033 | 2021-03-12T16:22:27 | 2021-03-12T16:22:27 | 347,116,499 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,244 | h | running.h | #ifndef RUNNING_H
#define RUNNING_H
#include <QMainWindow>
#include <QObject>
#include <QWidget>
#include <QMap>
#include <QEventLoop>
#include <list>
#include <iostream>
#include "expression.h"
using namespace std;
struct numnode
{
numnode* left;
numnode* right;
int x;
char s;
numnode (int x=0,... |
3d2c78f6e4db37c5f72f328d5b9808f0c879103d | c8fcc1acf73585045a5c7213cfb9f90e4c1e809e | /CodeForces/439C.cpp | 5daf4cdeb8c4ba4a365c58d11ea878dba2d69075 | [] | no_license | Jonariguez/ACM_Code | 6db4396b20d0b0aeef30e4d47b51fb5e3ec48e03 | 465a11746d577197772f64aa11209eebd5bfcdd3 | refs/heads/master | 2020-03-24T07:09:53.482953 | 2018-11-19T09:21:33 | 2018-11-19T09:21:33 | 142,554,816 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,698 | cpp | 439C.cpp | /****************
*PID:439c div2
*Auth:Jonariguez
*****************
*/
#define lson k*2,l,m
#define rson k*2+1,m+1,r
#define rep(i,s,e) for(i=(s);i<=(e);i++)
#define For(j,s,e) For(j=(s);j<(e);j++)
#define sc(x) scanf("%d",&x)
#define In(x) scanf("%I64d",&x)
#define pf(x) printf("%d",x)
#define pfn(x) printf("%d\n",(x)... |
d7a90ed184eb29fd2bc0ce19ff8f77381b5283f6 | 4d9464be3945a1ebc327ac6acba75fe51c532411 | /tests/VlcStreamGrabberTestData.h | 38f0ff7cee20aecabc7934478d19346d70a7daa3 | [
"MIT"
] | permissive | qiqihuang/libvlc-stream-grabber | afa79df357d9c705917c73690f725b222eadbaaf | 1671c00746fbe43992c825e354100ca15d4a148c | refs/heads/master | 2021-03-14T20:08:48.592292 | 2018-02-06T13:54:30 | 2018-02-06T13:54:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 346 | h | VlcStreamGrabberTestData.h | #ifndef _VLC_STREAM_GRABBER_TEST_DATA_H_
#define _VLC_STREAM_GRABBER_TEST_DATA_H_
#include <string>
using namespace std;
namespace Data {
const string SampleVideoPath = "../../data/SampleVideo_1280x720_1mb.mp4";
const string SampleAudioPath = "../../data/Vivaldi - Spring from Four Seasons.mp3";
}
#endif // _VLC_S... |
7105c2236e63e063df5b9864a2d6b429eab7bbe9 | 9987fded6026ace187753eaa3e520d0bb72047a0 | /isis/src/kaguya/objs/KaguyaMiCamera/KaguyaMiCamera.cpp | de4ba37cf95b97b9a773504f27d829088a58985a | [
"CC0-1.0",
"LicenseRef-scancode-public-domain"
] | permissive | kberryUSGS/ISIS3 | 1345e6727746e2ebc348058ff3ec47c252928604 | b6aba8c38db54d84b1eb5807a08d12190bf8634e | refs/heads/dev | 2021-07-17T16:53:37.490510 | 2021-03-13T00:09:53 | 2021-03-13T00:09:53 | 118,936,778 | 0 | 1 | Unlicense | 2020-03-31T19:44:30 | 2018-01-25T16:17:20 | C++ | UTF-8 | C++ | false | false | 3,931 | cpp | KaguyaMiCamera.cpp | /** This is free and unencumbered software released into the public domain.
The authors of ISIS do not claim copyright on the contents of this file.
For more details about the LICENSE terms and the AUTHORS, you will
find files of those names at the top level of this repository. **/
/* SPDX-License-Identifier: CC0-1.0... |
671617b96a2648ca24844cf9a954901a4d08c4f2 | b88af9122415060c3a6bd71e6cfad098373127df | /test/tiles/tile_node_test.cpp | db403174016067b8a49ee8163f240057fe0d7a5e | [
"MIT"
] | permissive | shunjilin/SlidingTilesPuzzle | 014d95a42d197e8ee046f81971493c586abca4d4 | cff6e75b58ee41c379f97b20c89d50d8d4d8c416 | refs/heads/master | 2020-03-20T14:16:17.963410 | 2019-06-23T14:19:14 | 2019-06-23T14:19:14 | 137,481,039 | 5 | 1 | MIT | 2018-11-21T00:38:57 | 2018-06-15T11:43:30 | C++ | UTF-8 | C++ | false | false | 6,328 | cpp | tile_node_test.cpp | #include "tile_node.hpp"
#include <string>
#include <sstream>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
using namespace Tiles;
class FifteenPuzzleNode: public testing::Test {
public:
static int const WIDTH = 4;
static int const HEIGHT = 4;
static int const N_TILES = WIDTH*HEIGHT;
std::a... |
1c15239e36749caae0fa961732983269fb7f3339 | d0a039c4df11b50e2781fcc0fc9b4bc301d8e67a | /Codeforces/977A Wrong Subtraction.cpp | ac6825e67c1022280269db2b8f902b15a6fc4995 | [] | no_license | Somrat-Hossen/Problem-Solution | 0574165710d329864567efdb5be2a823ce41152b | d20db61222d0eed5bc2b054de331d65f0391f400 | refs/heads/master | 2021-05-12T17:43:48.145286 | 2020-01-01T13:14:01 | 2020-01-01T13:14:01 | 117,053,427 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 291 | cpp | 977A Wrong Subtraction.cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int n,i,m;
cin>>n>>m;
while(m--)
{
if(n%10==0)
{
n/=10;
}
else
{
n--;
}
}
cout<<n<<endl;
return 0;
}
|
f73f7455795ac7fa9e0e52970daa8cb4ffa1c41b | 24c2bc00cb802a8d3bfa2cd759165a3a441e71a8 | /src/GRworkbench/atlas.hpp | bdbc70f8697816b0eac7a8f819b6aa6767a2f29c | [] | no_license | grmath/grworkbench | 0b6ba5afa62ba673cffd661974352f712a3c8681 | bc1bbb83378ba2fb61f3b58a5c371a4276756fa1 | refs/heads/master | 2023-06-23T06:34:47.684603 | 2013-04-29T03:06:04 | 2013-04-29T03:06:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,034 | hpp | atlas.hpp | #pragma once
#include <map>
#include <set>
#include <boost/function.hpp>
#include <boost/optional.hpp>
#include <memory>
#include <lift/differential.hpp>
#include "nvector.hpp"
namespace grwb
{
using std::map;
using std::pair;
using std::set;
using boost::function;
using boost::optional;
using std::shared... |
c50629eb0f4126557aea80fed778b036c3d0de86 | 8af09dbc2c8b5e774e821eafb4d78f9264dbd655 | /setInital.cpp | 1016cdc1868be9c4f8129b27c862d3d7a660e026 | [] | no_license | kalasxel/jetCylMHD | db1367caa5691e31e6c074dd567de38dd77955d4 | 076ee642d9aa48e17d8dc0056c252be6fff786c1 | refs/heads/master | 2020-04-06T07:03:25.945421 | 2016-08-10T12:30:22 | 2016-08-10T12:30:22 | 64,547,633 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,796 | cpp | setInital.cpp | #include <iostream>
#include <cmath>
#include "Param.h"
#include "CFullVec.h"
#include "CHlld.h"
double setGridR(double gR[NR+2])
{{
for(int n=0; n<NR+2; n++)
{
gR[n] = (n-1)*DR;
}
}}
double setGridZ(double gZ[NZ+2])
{{
for(int m=0; m<NZ+2; m++)
{
gZ[m] = (m-1)*DZ;
}
}}
int NfromR(double R)
{{
return s... |
2473feb7f1ee322d0b3245245d375a061516420a | f2efb1161e629d2c769c7adc296c595d2e04f51a | /Algorithms/Two Pointers/container-with-most-water.cpp | 0653df0cf6295acd1394b849bd83a7da08088840 | [] | no_license | singhashish-26/Leetcode | 8ee7a2319a6720e70e0b448acaaad86f0bfb7115 | 401b80de47796d25f5f69cb1d69c4783680e11ba | refs/heads/master | 2021-05-26T16:21:27.607763 | 2020-08-13T12:12:03 | 2020-08-13T12:12:03 | 254,135,088 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 730 | cpp | container-with-most-water.cpp | #https://leetcode.com/problems/container-with-most-water/
class Solution {
public:
int maxArea(vector<int>& height) {
int i=0, j=height.size()-1;
int mx=-1,cap;
while(i<j)
{
cap= min(height[i],height[j])*(j-i);
mx= max(mx,cap);
if(height[i]<height... |
7772c9423b97eb7a20f33c41455824b584f42000 | 15c30fa139c24b698e3395ec4ad161a280f08d04 | /WS_Atmega328p/WS_Atmega328p.ino | 91f3af107006433acf37a87f1520d744ee9f4811 | [] | no_license | plasticChair/Arduino | 11e247e7f987f5a9bdabb24b8e3d9cee8a216ad6 | 703b8e82caa60ab0ffa8994386729313a2c1c52a | refs/heads/master | 2020-03-27T08:29:28.851366 | 2019-04-28T08:13:57 | 2019-04-28T08:13:57 | 146,260,028 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 9,861 | ino | WS_Atmega328p.ino | // Visual Micro is in vMicro>General>Tutorial Mode
//
/*
Name: WS_Attiny.ino
Created: 1/27/2019 8:13:08 PM
Author: Scott
*/
#include "WS_Atmega328p.h"
//#include "Adafruit_FRAM_I2C.h"
extern void RTC_SetAlarm_AneInterval();
extern void RTC_SetAlarm_MeasInterval();
int BuffFull = 0;
volatile bool led2Cntr... |
9b9d4b62d5fe95ff4e82e48448e317c0ba006859 | 02f2f3a5460f9c068bcb1a77a6de80f618f6c0b0 | /CG/src/Labels.hpp | 241bb6e126a93dcb6cd7e078e3a61a9fffeb9b90 | [] | no_license | lquatrin/CGT3-3D_Camera_Orto_Perspec | 2e669d0622394187932b781f3a6166da461db217 | 225287c54f15b8fc06845dbbc5456e6a4a46e02d | refs/heads/master | 2021-03-12T20:32:10.188371 | 2012-10-07T22:28:20 | 2012-10-07T22:28:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,720 | hpp | Labels.hpp | #ifndef __LABELS__CG___
#define __LABELS__CG___
#include <SCV/Label.h>
class LabelsCam : public scv::Label {
public:
LabelsCam() : scv::Label(scv::Point(30, 100), "Coordinates of the camera:") {
}
~LabelsCam() {}
protected:
private:
};
class LabelXCam : public scv::Label {
public:
... |
3579f78dfe4b57fac1aef7b76768c067d605ee72 | 88136cff99ea0e1b66756e11ae881be4d2a8abfa | /src/hamiltonian_msckf.h | 36a78b5999274fb992c4aab1bf79e8784363f531 | [
"BSD-3-Clause"
] | permissive | chengwei920412/right_msckf | 2ba76763feec156d0e526e9948c73a3c6ff3a78b | 65dca839c4a709aca03e06a083415206d5646403 | refs/heads/master | 2022-03-31T02:25:56.638788 | 2019-12-22T05:29:48 | 2019-12-22T05:29:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,880 | h | hamiltonian_msckf.h |
#pragma once
#include <Eigen/Geometry>
#include <unordered_map>
#include <unordered_set>
#include <vector>
#include <list>
#include <deque>
#include "core.h"
namespace msckf {
struct IMUMeas {
Vec3d acc;
Vec3d gyro;
};
struct Feature2D {
int64_t id = 0;
Vec2d norm_coord; //img coordinates in normalized ... |
708ffe4164e1053150300d33e6b8c4bf231f2d0b | 59df5d1c3e43dd19ffac8e28575042d910843ef2 | /Module_01/ex04/ex04.cpp | 6d8d4ac59d52342814eaf86a1179b8790ba57240 | [] | no_license | ctycho/Introduction_to_Cpp | 00114a1378e62f4bf86e6e11eff6bd78394d02ed | 29eb4924219c6fee75148f196435f539252b6d9e | refs/heads/master | 2023-05-31T13:28:03.908246 | 2021-06-28T12:43:24 | 2021-06-28T12:43:24 | 376,754,167 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,133 | cpp | ex04.cpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ex04.cpp :+: :+: :+: ... |
29c238d24903cc12f863ce15b8cba5c2210baf2d | 69e2ba977ee203ffeb14cf23d0cba9725bbf73a9 | /Optimization_Interface/main.cpp | c265bb66f95b0dea40f7a5f14474fff01769fff8 | [] | no_license | mceowen/optgui | 70599b8702b2c712a6807ec65ca465f287f38b78 | 73650c5427c5b3d0a1ffa5c62422c61a04a42be3 | refs/heads/master | 2020-07-08T13:02:21.359429 | 2019-09-11T17:40:42 | 2019-09-11T17:40:42 | 203,681,058 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 497 | cpp | main.cpp | // TITLE: Optimization_Interface/main.cpp
// AUTHORS: Daniel Sullivan, Miki Szmuk
// LAB: Autonomous Controls Lab (ACL)
// LICENSE: Copyright 2018, All Rights Reserved
// Runs main event loop
#include <QApplication>
#include "main_window.h"
using interface::MainWindow;
int main(int argc, char *argv[]) {
... |
d1caa6a2e754a59a692ffaf486817acd64eebf0f | d7c94f4a713aaf0fbb3dbb9b56c9f6945e0479c1 | /URI Online Judge/uri2703.cpp | 52cfc5cc55704a2cec57836192a39ac4765c64f1 | [] | no_license | fonte-nele/Competitive-Programming | 2dabb4aab6ce2e6dc552885464fefdd485f9218c | faf0c6077ae0115f121968f7b70f4d68f9ce922b | refs/heads/master | 2021-06-28T09:24:07.708562 | 2020-12-27T14:45:15 | 2020-12-27T14:45:15 | 193,268,717 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,141 | cpp | uri2703.cpp | #include <bits/stdc++.h>
#define f(inicio, fim) for(int i = inicio; i < fim; i++)
#define fr(inicio, fim) for(int j = inicio; j < fim; j++)
using namespace std;
#define mp make_pair
#define pb push_back
#define db(x) cerr << #x << " == " << x << endl;
#define _ << " " <<
typedef long long ll;
typedef vector<int> vi;
t... |
a40e59d34e32c8705ea4b6a717c76838f465bade | c13c121d96fdd8682982854f43e50be011863aa1 | /Code/Engine/core/ReflectionLoader.cpp | 50cf9543536415ac82672f25e14dbbcc9378c09d | [] | no_license | paksas/Tamy | 14fe8e2ff5633ced9b24c855c6e06776bf221c10 | 6e4bd2f14d54cc718ed12734a3ae0ad52337cf40 | refs/heads/master | 2020-06-03T08:06:09.511028 | 2015-03-21T20:37:03 | 2015-03-21T20:37:03 | 25,319,755 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 9,160 | cpp | ReflectionLoader.cpp | #include "core/ReflectionLoader.h"
#include "core/InStream.h"
#include "core/InArrayStream.h"
#include "core/InRawArrayStream.h"
#include "core/ReflectionType.h"
#include "core/ReflectionObject.h"
#include "core/ReflectionObjectsTracker.h"
#include "core/ResourcesManager.h"
#include "core/ReflectionSerializationMacros.... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.