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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6b2a921d169355a8f3bacc3a13e4c5388117f99e | f4203d8e67946851abf8af2f80c77d180df34b62 | /src/gbxsmartbatteryacfr/oceanserver.h | 62baa76e034fb4b5bb0d654136a8edffe36d2e46 | [] | no_license | naderman/gearbox | 997547c6e6cb0f7830d2c8d9c30dfa999f8f86ff | a92ff328944502ed8ad0cc879a86bc177c5aa335 | refs/heads/master | 2016-09-05T10:06:36.371732 | 2010-02-23T23:20:33 | 2010-02-23T23:20:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,530 | h | oceanserver.h | /*
* GearBox Project: Peer-Reviewed Open-Source Libraries for Robotics
* http://gearbox.sf.net/
* Copyright (c) 2004-2008 Tobias Kaupp
*
* This distribution is licensed to you under the terms described in
* the LICENSE file included in this distribution.
*
*/
#ifndef GBX_OCEANSERVER_H
#define GBX... |
4c32020d6aad7dd4e31f7ef6ce27e8006548d47c | cda554194a958513e37411c4dc2ad4fd01496266 | /Bazaar/ini.cpp | d6a18802729d37607169233a06c3a860092d4675 | [] | no_license | Hesaraih/Mappu | a5613d8238174c7dd413ee14eb1f9fe1bfbd7010 | b2efaa195c01148fab1eeca37ed74ae2a46bb04e | refs/heads/master | 2022-06-04T04:10:53.019914 | 2022-05-16T05:42:24 | 2022-05-16T05:42:24 | 121,482,419 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 14,551 | cpp | ini.cpp | #if(_MSC_VER >= 1400)
#define _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES 1
#define _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_COUNT 1
#define _CRT_NON_CONFORMING_SWPRINTFS 1
#define _CRT_SECURE_NO_WARNINGS 1
#endif
//ユニコードでコンパイル
#ifndef UNICODE
#define UNICODE
#endif
#ifndef _UNICODE
#define _UNICODE
#endif
#include <windo... |
6ee872c70a9cc484cd70aa11797183b2174c766c | fe8ab46707583c25a3fec68d786375f3034ce2cd | /Record.h | 32391030303f437e24edb4fd1e17a99ac77cd1ca | [] | no_license | dilnuryuldashev/oop_records | 9f35204cd2da5233e48dba26f6e0186086c0e740 | 28e37f9b63ad38951cd7b451ae8a38fc44e4073a | refs/heads/master | 2022-05-15T09:26:39.352075 | 2016-10-05T05:12:54 | 2016-10-05T05:12:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,719 | h | Record.h | //
// Record.h
// LinkedListRecordProjectFreelancer
//
// Created by Dilnur Yuldashev on 10/1/16.
// Copyright © 2016 Dilnur Yuldashev. All rights reserved.
/*
I looked at the attached starter code, and it does not comply with Object-Oriented Programming rules at
all. Class Record cannot be a list. Record is an ... |
77f4ff584b7eb2e0fc99d4fbf500536dc894ec43 | 157fd7fe5e541c8ef7559b212078eb7a6dbf51c6 | /TRiAS/TRiAS/TRiAS/Obsolete (Win16 etc.)/IRISEVTS.CXX | 42688e8f3a0da95d46b3c3ebd430e6c0eded29d7 | [] | no_license | 15831944/TRiAS | d2bab6fd129a86fc2f06f2103d8bcd08237c49af | 840946b85dcefb34efc219446240e21f51d2c60d | refs/heads/master | 2020-09-05T05:56:39.624150 | 2012-11-11T02:24:49 | 2012-11-11T02:24:49 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 36,416 | cxx | IRISEVTS.CXX | // IRIS - Version fuer Windows 3.1 -- EventVerarbeitung -----------------------
// File: IRISEVTS.CXX
#include "triaspre.hxx"
#include "triasres.h"
#include <xtensnxx.h>
#include <rect.hxx>
#if defined(OLD_TOOLBOX)
#include "tools.hxx" // ToolBoxKonstanten
#endif // OLD_TOOLBOX
#include "coords.hxx"... |
71c44eff0076bacee6c3a7e39247a573da5ca496 | faf8537eaa86668dba566fa27c4930b5fc5583a1 | /Algorithms 1/QuickSort With Comparison Count from file (Course Way)/QuickSort (1st Element Pivot) With Comparison Count from file.cpp | fe011940e8a1761bac7a65db0466276a34bf2aa8 | [] | no_license | agnostic-apollo/Coursera-Algorithms-1-and-2 | 58b48004f1ace54f8b1ced43fae45c0ea6414190 | 195ac518e9f20e4ba7765237b1b406237f11a4d4 | refs/heads/master | 2020-03-19T05:23:32.294841 | 2018-06-04T17:33:37 | 2018-06-04T17:33:37 | 135,926,014 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,221 | cpp | QuickSort (1st Element Pivot) With Comparison Count from file.cpp | #include <iostream>
#include<fstream>
#include <stdlib.h>
using namespace std;
int partitioner(int [],int ,int );
void quicksort(int [],int ,int );
long long int comparisons=0;
int main()
{
ifstream input;
input.open("QuickSort.txt");
if(input.fail())
{
cout<<"Error opening file\n";
e... |
8ec6ea366db72b5c08e6cd0249f8a7fdda0239fa | 72e44ac6fcf22e124dc9ad755e9d7fab120ab442 | /cs160_series/cplusplus/bowling2.cpp | caf76df5f46b28665c32dbae3103ec94ed7ee6d8 | [] | no_license | jeffdeng1314/CS16x | 2a550ee48d3d750b0fd8c2b349ab6620a4fef6f6 | 24204e4d87844c957b5c7a027b9c7a788527655d | refs/heads/master | 2020-05-15T00:37:17.298336 | 2019-04-18T04:46:46 | 2019-04-18T04:46:46 | 182,014,947 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,019 | cpp | bowling2.cpp | /*********************************************************************
* ** Program Filename: Bowling2
* ** Author:Jeff Deng
* ** Date:4th March 2017
* ** Description: A program that allows the players to bowl and compete with friends
* ** Input: Number of players, the names for the players, and "en... |
9f1ed27bfcacac7341b5f8f84430dab0c5bd648f | ea8aa77c861afdbf2c9b3268ba1ae3f9bfd152fe | /cf758B.cpp | 1b70ff063c491e61a1445e4b1dba371e6b8b422f | [] | no_license | lonelam/SolveSet | 987a01e72d92f975703f715e6a7588d097f7f2e5 | 66a9a984d7270ff03b9c2dfa229d99b922907d57 | refs/heads/master | 2021-04-03T02:02:03.108669 | 2018-07-21T14:25:53 | 2018-07-21T14:25:53 | 62,948,874 | 9 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 597 | cpp | cf758B.cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
const int inf = 0x3f3f3f3f;
const int maxn = 100000;
int main()
{
map<int, int> cnt;
map<char, int> cl;
string line;
while(cin >> line)
{
for (int i = 0; i < line.length(); i++)
{
... |
a0d4a8d3401a084510932e4e27f789e2f652082e | 2e66fc50589d666a0cd8b2938bf74178813dbdf9 | /testC++++/110_平衡二叉树.cpp | 2489645e2db52b570488c29efee04f2bbad21077 | [] | no_license | kevinMkY/CPP_ALGO | dfae7e15d9ce75245b90ca1e6fe1e00ca13bee13 | 9bddfc60a9698e261aced5a4d6e4f90b3cc78865 | refs/heads/master | 2023-03-15T23:06:44.238375 | 2021-03-07T18:41:01 | 2021-03-07T18:41:01 | 294,155,521 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,220 | cpp | 110_平衡二叉树.cpp | //
// 110_平衡二叉树.cpp
// testC++++
//
// Created by yekaihua on 2020/12/26.
//
#import "110_平衡二叉树.hpp"
#import "common.h"
//给定一个二叉树,判断它是否是高度平衡的二叉树。
//
//本题中,一棵高度平衡二叉树定义为:
//
//一个二叉树每个节点 的左右两个子树的高度差的绝对值不超过 1 。
//
//
//
//示例 1:
//
//
//输入:root = [3,9,20,null,null,15,7]
//输出:true
//示例 2:
//
//
//输入:root = [1,2,2,3,3,nu... |
da40f50aa8a578fcb07e13242ee6199e9725740b | 1fc8763ffed1079b656f76a5e5a90decb87df110 | /server/capturer/capturer.h | f6b42d8125416924682bac43acd7211d7c443c3f | [] | no_license | KunTjz/netpop | 9f96b5c771762acb869f452b713491d2cc942b38 | bc304a632c7c4a6817f5e4167bcb06818044be42 | refs/heads/master | 2021-05-27T16:38:50.949771 | 2013-11-07T13:34:09 | 2013-11-07T13:34:09 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 487 | h | capturer.h | #ifndef __CAPTURE_H__
#define __CAPTURE_H__
#include "filter/filter.h"
#include "../util/utilFunc.h"
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netinet/if_ether.h>
typedef void (*callBack)(u_char *useless,const struct pcap_pkthdr* pkthdr,const u_char* packet);
class capturer {... |
adbdb674901814ea21baf0551557cc8d4bed8f85 | 92754bb891a128687f3fbc48a312aded752b6bcd | /Algorithms/C++/509-Fibonacci_Number.cpp | e1da9ecddaff56c16728058f63457986ff9547ee | [] | no_license | daidai21/Leetcode | ddecaf0ffbc66604a464c3c9751f35f3abe5e7e5 | eb726b3411ed11e2bd00fee02dc41b77f35f2632 | refs/heads/master | 2023-03-24T21:13:31.128127 | 2023-03-08T16:11:43 | 2023-03-08T16:11:43 | 167,968,602 | 8 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 292 | cpp | 509-Fibonacci_Number.cpp | // Runtime: 16 ms, faster than 15.35% of C++ online submissions for Fibonacci Number.
// Memory Usage: 8.2 MB, less than 100.00% of C++ online submissions for Fibonacci Number.
class Solution {
public:
int fib(int N) {
return N < 2 ? N : fib(N - 1) + fib(N - 2);
}
};
|
bdb8b41a734432479b57545c89227ace5aad4ce7 | ca32d531ff2596425ce5218a8e2b732a6744faa0 | /asterisk-cpp/asteriskcpp/manager/actions/QueueRemoveAction.h | dbf9e0d8b3a12046c16e74926e7476a2968773a9 | [
"Apache-2.0"
] | permissive | augcampos/asterisk-cpp | a8a115a164194db6e9712c676111af164a8526fb | 921423e0d1b6042d0ce2be6d7b9d98af4feb7460 | refs/heads/master | 2022-07-06T00:37:41.907214 | 2022-07-01T03:51:25 | 2022-07-01T03:51:25 | 2,310,863 | 22 | 15 | null | 2017-09-26T00:10:45 | 2011-09-01T23:05:30 | C++ | UTF-8 | C++ | false | false | 1,754 | h | QueueRemoveAction.h | /*
* QueueRemoveAction.h
*
* Created on: Jun 27, 2013
* Author: augcampos
*/
#ifndef QUEUEREMOVEACTION_H_
#define QUEUEREMOVEACTION_H_
#include "AbstractManagerAction.h"
namespace asteriskcpp {
/**
* The QueueRemoveAction removes a member from a queue.<p>
* It is implemented in <code>apps/a... |
e1edeb3b1983327520ad364020275ffda7478719 | b3c47795e8b6d95ae5521dcbbb920ab71851a92f | /Codeforces/Codeforces Beta Round #86 (Div. 2)/e.cc | b18c1b2f4954846d4909b287c1f0c421da65a09c | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | Wizmann/ACM-ICPC | 6afecd0fd09918c53a2a84c4d22c244de0065710 | 7c30454c49485a794dcc4d1c09daf2f755f9ecc1 | refs/heads/master | 2023-07-15T02:46:21.372860 | 2023-07-09T15:30:27 | 2023-07-09T15:30:27 | 3,009,276 | 51 | 23 | null | null | null | null | UTF-8 | C++ | false | false | 487 | cc | e.cc | #include <cstdio>
#include <cstdlib>
#include <cstring>
#include <bitset>
#include <algorithm>
#include <iostream>
const int SIZE=300000005;
using namespace std;
bitset<SIZE> prim;
int main()
{
//freopen("e.txt","r",stdin);
int l,r;
scanf("%d%d",&l,&r);
prim.set();
for(int i=3;i*i<=r;i+=2)
{
if(prim[i]) for... |
32dd6754540d74532e359001d891a019ec71af31 | d4a72aff278e752ef04ce4a24f774d9d91128b6a | /PricingLib2/RandomNumber.h | 6dc179c872d711eb335f9c880bae145681ab370c | [] | no_license | shiraishitaka/pricinglibrary | 0a0939afa2b2b0f283f42d9c1619ec0c6e71c844 | b4b2e5389132d9a774681ad80918b428beefde35 | refs/heads/master | 2021-05-17T10:40:56.666338 | 2020-04-14T07:53:30 | 2020-04-14T07:53:30 | 250,741,493 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 287 | h | RandomNumber.h | #pragma once
#include "LibObject.h"
namespace Lib {
namespace Random {
struct RandomParameter {
int separate_per_year;
int years;
int iteration_num;
double dt;
};
std::vector<std::vector<double>> createPath(std::shared_ptr<RandomParameter> random_parameter);
}
} |
15aff4eef83e42b223da0120d83194fcab719742 | 11dcefc3768cc67f6563f7e0e4713bae740cad63 | /hyeyoo/3주차_DP_2/가장_긴_바이토닉_부분수열.cpp | 546a259005d056253690f70d0195041ce4dd6fc2 | [] | no_license | 42somoim/42somoim1 | dac54edee33aadf1a17f60768446e5faf07ed952 | 039e00085290d048a7345bcec7db797e4c7330d2 | refs/heads/master | 2023-05-06T13:07:01.242428 | 2021-05-28T12:07:45 | 2021-05-28T12:07:45 | 280,406,020 | 2 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,609 | cpp | 가장_긴_바이토닉_부분수열.cpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* 가장_긴_바이토닉_부분수열.cpp :+: :+: :+: */
/* ... |
8c787ea3529a07a0d36c23fa947da02c9fd1e230 | a93d6cc34f2f205a82292443c56e4b408a9b2b2d | /test_vk/vk/vk_framebuffer.h | ea128b8d8fa6467a42d32413a69c044f12a23d1f | [] | no_license | teealal/test_vk2 | d2e425dcf46a58641fd3ddf97894a42773bc9d51 | 712fdd5e7f9acd65374a781f73388c096209eaf0 | refs/heads/master | 2021-01-10T02:58:34.002587 | 2016-03-10T07:45:05 | 2016-03-10T07:45:05 | 53,284,290 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 314 | h | vk_framebuffer.h | #pragma once
namespace vk
{
class Framebuffer
{
public:
Framebuffer();
virtual ~Framebuffer();
VkResult create(
uint32_t width,
uint32_t height,
VkRenderPass renderPass,
uint32_t attachmentCount,
const VkImageView* pAttachments);
void destroy();
VkFramebuffer m_framebuffer;
};
}
|
be64cd9ebd26c7fa10e2b970b95595a21fdf37be | e57b6a64143b43e1c13cd86a8c4c3ee02726cad1 | /Tetrominoes/zblock.h | 3d7739be93ddb116986181c2d12bf2270f12e2b8 | [] | no_license | s1seo/Quadris | 8fac4ab4d802653e2233623ae39254c1bcc4a631 | ea6c83030e25bef786e53240411e8b0025aef2ca | refs/heads/master | 2023-04-08T07:08:41.485884 | 2018-05-22T01:27:28 | 2018-05-22T01:27:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 347 | h | zblock.h | #ifndef ZBLOCK_H
#define ZBLOCK_H
#include "tetromino.h"
class ZBlock final: public Tetromino {
ZBlock(const ZBlock *t);
public:
ZBlock(int level);
ZBlock *left() const override;
ZBlock *right() const override;
ZBlock *down() const override;
ZBlock *clockwise() const override;
ZBlock *counterclockwise() ... |
c98885d2ba4176eb0d7818231b39e0cacd69cd5a | 04dc7cc05f9b33585228e649706dcb2fc1eb797b | /SPELLBOOK/src/hld.cpp | ec6c52feea3e32d511885ff414a51314883cb6a9 | [
"Apache-2.0"
] | permissive | henviso/contests | 4fc34cc86a42a3ff15e23e457a21bba10913f419 | aa8a5ce9ed4524e6c3130ee73af7640e5a86954c | refs/heads/master | 2016-09-14T19:14:29.266088 | 2016-05-12T00:02:59 | 2016-05-12T00:02:59 | 58,590,566 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,723 | cpp | hld.cpp | #define MAX_NODES 30100
#define LOG2_MAX_NODES 15
int chainNo=0,chainHead[MAX_NODES],chainPos[MAX_NODES],chainInd[MAX_NODES],chainSize[MAX_NODES],chainAc[MAX_NODES];
int subsize[MAX_NODES];
int p[MAX_NODES], l[MAX_NODES];
int ac[MAX_NODES][LOG2_MAX_NODES];
void hld(int cur) {
if(chainHead[chainNo] == -1){
chainHea... |
3a2e3afa39f0ad006e28bb3f081aec5a7ced743b | a46d51fddcdfe642f92e39f0404c2d983a0c2e08 | /src/dao/mysql_dao_support.cc | 3668b1b0b026ea6a06dba140d7e5c2536ee43372 | [] | no_license | binsu8/CalculatedAd | 6b766806e671c89b2645d1c6da340a7d03fe0af5 | 9554eb5be0b9d35d0337c8c8ecb03ca5d81234fd | refs/heads/master | 2021-01-01T20:10:36.242335 | 2014-03-26T10:47:47 | 2014-03-26T10:47:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,543 | cc | mysql_dao_support.cc | #include "utils/logger.h"
#include "utils/time_util.h"
#include "utils/configure.h"
#include "utils/string_util.h"
#include "utils/textconfig.h"
#include "mysql_dao_support.h"
#include <vector>
#include <string>
using std::vector;
static CLogger & g_logger_mysql = CLogger::GetIntance("mysql");
int32_t MysqlProxy::In... |
f52c8fd27a7a536b94864cfb66a08261bb52eacc | 8688f265e46102c30f01f094d20dc767df1af182 | /header/friedrichdb/old/abstract_database.hpp | b527785a82ebbfb7e25523cbef2dfcbcaabb0021 | [
"BSD-3-Clause"
] | permissive | cyberduckninja/friedrichdb | 2398a4c82222be9fdf7cb975c63a538909c3e9ec | 313180fee8f230b2a406000b948210c77c4253a3 | refs/heads/master | 2023-05-25T03:15:41.236942 | 2020-03-09T11:25:03 | 2020-03-09T11:25:03 | 94,206,993 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 622 | hpp | abstract_database.hpp | #pragma once
#include <unordered_map>
#include <cstdint>
#include <condition_variable>
#include <mutex>
#include <friedrichdb/query.hpp>
namespace friedrichdb {
enum class storage_type : uint8_t {
memory = 0x00,
disk
};
struct abstract_database {
abstract_database(storage_type)... |
cbf93d629a609dbefee1c075e8a27ed9efe02c2b | 3845c459700053560244d0062c8eb65e3013b59e | /main.cpp | fcc159d8502b9487eb2ea700f177b0cc1c5d0cac | [] | no_license | rudnevr/gcpp | 195e543ae78ddabec9bd1c2903fc90ce07a128b4 | 52a8ec556972b2a6762c845ece6dd68dd7fcc685 | refs/heads/master | 2022-03-12T04:11:42.327242 | 2017-12-03T04:09:58 | 2017-12-03T04:09:58 | 112,105,008 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,007 | cpp | main.cpp | #include <iostream>
#include "Customer.h"
#include "PState.h"
#include <windows.h>
#include <string>
#include <iostream>
#include <regex>
#include <list>
using namespace std;
extern "C" {
#include "foo.h" //a C header, so wrap it in extern "C"
}
HWND current;
HHOOK KeyboardHook;
BOOL shift = FALSE;
BOOL ctrl = F... |
0b54f92c51de0cc09420aa34be8173c4de278245 | 11ef4bbb8086ba3b9678a2037d0c28baaf8c010e | /Source Code/server/binaries/chromium/gen/chrome/common/search.mojom-params-data.h | 4fecad0a73758e1898c9522238b31c3abda38bec | [] | no_license | lineCode/wasmview.github.io | 8f845ec6ba8a1ec85272d734efc80d2416a6e15b | eac4c69ea1cf0e9af9da5a500219236470541f9b | refs/heads/master | 2020-09-22T21:05:53.766548 | 2019-08-24T05:34:04 | 2019-08-24T05:34:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 90,905 | h | search.mojom-params-data.h | // Copyright 2019 The Chromium 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 CHROME_COMMON_SEARCH_MOJOM_PARAMS_DATA_H_
#define CHROME_COMMON_SEARCH_MOJOM_PARAMS_DATA_H_
#include "base/logging.h"
#include "base/macros.h"
#i... |
4c1f3da598f73de97086e7bb4d27cbe1a7bf573b | df4af7d6295cfbabf16351cfc4fdeab95c137d9b | /src/gui/GameGUI.cpp | a52ad57de24661046932bb152f13f1595eb526cb | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | O-Boll/geotrainer | 7ff1c09ef8e71d77e588e31f280a6ddb4b418724 | a8112f3614cf93de181fc4dfc950093429bac3d2 | refs/heads/master | 2021-04-15T17:36:30.067279 | 2018-03-29T03:13:42 | 2018-03-29T03:13:42 | 126,738,823 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 18,991 | cpp | GameGUI.cpp | /*----------------------------------------------------------------------------
This file is part of GeoTrainer.
MIT License
Copyright (c) 2018 Olle Eriksson
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to de... |
66d0353eab9291b530954df02f7df232a3b5687d | 5674ce7101033cdefbe64112455a5c902a3ad2f2 | /DataManage/CVaoVboManager.h | 8d0505571432644c8844310aec4fc6880368a711 | [] | no_license | ElectronicsWorks/oscilloscopeQtMVC | 97011798d076bc988e162c6b6145cbfe85ea4959 | cf7a29bb187f63ad034f26a35cb8f15e48d1d050 | refs/heads/master | 2021-05-12T07:24:46.342775 | 2018-01-10T09:17:58 | 2018-01-10T09:17:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 662 | h | CVaoVboManager.h | #ifndef CVAOVBOMANAGE_H
#define CVAOVBOMANAGE_H
#include <QGLWidget>
#include <map>
#include <vector>
#include <QOpenGLFunctions_4_3_Core>
using std::vector;
using std::map;
class CVaoVboManager : protected QOpenGLFunctions_4_3_Core
{
public:
CVaoVboManager();
~CVaoVboManager();
void prepare();
GLuint a... |
0529ac1bfde43cb6a2caf8c753d0d60b165e6398 | 3aa684df8c6c4ef8e777a42426fda0c72dd4df6e | /src/graphics/render_graph/colour_node.cpp | 9f6e77394c9e95822c362782e9806d7108235738 | [
"MIT",
"BSD-3-Clause",
"Zlib",
"BSL-1.0",
"Unlicense"
] | permissive | ojas0419/iris | 02f9f053e30bd179e02a2d7badd4da933e20966f | cbc2f571bd8d485cdd04f903dcb867e699314682 | refs/heads/main | 2023-08-21T16:11:10.480107 | 2021-10-16T06:20:25 | 2021-10-16T06:20:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 770 | cpp | colour_node.cpp | ////////////////////////////////////////////////////////////////////////////////
// Distributed under the Boost Software License, Version 1.0. //
// (See accompanying file LICENSE or copy at //
// https://www.boost.org/LICENSE_1_0.txt) ... |
54d2b5147859e09e66d83da44b35a5b080a20bbb | f3456fc75243defc162de2544ecdaa44e43e22c0 | /Exceptions.h | 99bb78fc01ddc204b08fa87127a3b303df923704 | [] | no_license | trefatim/DZ | c4e499b10e6220927f54a3b9597ef2b30f216e50 | 42e0b8d613a74c146096ad35307321da10912d22 | refs/heads/master | 2020-05-17T11:25:16.201170 | 2015-04-21T15:45:32 | 2015-04-21T15:45:32 | 33,079,420 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,474 | h | Exceptions.h | // Copyright 2015 <Anton Sidorov>
#pragma once
#include <iostream>
#include <exception>
#include <string>
using std::cout;
using std::cin;
using std::exception;
using std::string;
class NoAnyGroup : public exception {
public:
const char* what() const;
};
class GroupNotFound : public exception {
string group... |
a2a9b4cf6a8674ed9af4e067494a7efb7f2f04e4 | 1beaf6796a6bafc6000586c315a8a7b1f9eaa9e0 | /Octree/octreenode.cpp | 429e7393e3d3dd09f7e483975119e821b00ddc7b | [] | no_license | AlexPrime2018/TestProjectWithRayTracing | 7a7aec436f60c268a6eb8b694825c98a3afb8646 | b011a1b07b2c1fa3840e172ad790ae1e5a56f449 | refs/heads/master | 2022-02-13T13:59:21.280706 | 2019-08-05T13:40:11 | 2019-08-05T13:40:11 | 198,026,593 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,897 | cpp | octreenode.cpp | #include "octreenode.h"
#include <QDebug>
#include "triangle3d.h"
unsigned int OctreeNode::LEVEL_MAX = 4;
unsigned int OctreeNode::LIMIT_MAX = 10;
OctreeNode::OctreeNode(const QVector3D ¢er, const QVector3D &size, const unsigned int& level, OctreeNode* parent) :
m_center(center), m_size(size), m_level(level),... |
2185ccb5bdd28747a975dcf085205e718a9f3252 | e105335bd8f40dcd5f8fabc365ae43d9c1eb26fe | /算法练习/Algorithm/Algorithm/main.cpp | 1f289ac455780aaf10a11c88d681e7857ca0a180 | [
"MIT"
] | permissive | faterap/blogs | 7b7203602d6de0b413df3d332c1641e1944c28d3 | 971bd46c26bd6eabdb18608d15930f196154d790 | refs/heads/master | 2023-06-11T19:44:30.355664 | 2021-07-03T14:53:30 | 2021-07-03T14:53:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 363 | cpp | main.cpp | //
// main.cpp
// Algorithm
//
// Created by chenzebin on 2020/4/23.
// Copyright © 2020 chenzebin. All rights reserved.
//
#include <iostream>
#include "HexConvert.cpp"
int main(int argc, const char * argv[]) {
// insert code here...
std::cout << "Hello, World!\n";
return 0;
}
void HexConvert()
{
... |
e3a9d704092ccfa575f27431d72cc57cad7687a8 | 837bb07334c264fc1cd83fd454ba059b442f8f86 | /MediaDatabase/media.cpp | b8f324d334641d0f18ad0b122e09676b651ea865 | [] | no_license | tejaprakki/C-Projects | 65ccaa098e59c3b8ba412dbbfcb594176e4a1b1f | 61624a4277e07e2a3ca86d02f25f063de95dd0d2 | refs/heads/master | 2020-07-19T02:12:36.417560 | 2020-04-10T18:23:08 | 2020-04-10T18:23:08 | 206,357,548 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 272 | cpp | media.cpp | //Media File
#include <iostream>
#include <cstring>
#include "media.h"
using namespace std;
Media::Media() {
title = new char[100];
year = 0;
}
int Media::getType() {
return 0;
}
int Media::getYear() {
return year;
}
char* Media::getTitle() {
return title;
}
|
7a1caf5b3600593f3299f1b7492acab2d17664c2 | ac1c9fbc1f1019efb19d0a8f3a088e8889f1e83c | /out/release/gen/third_party/blink/public/mojom/frame/find_in_page.mojom-forward.h | e28d3023e0847f9b46b068edee23c7ca6e32fd8e | [
"BSD-3-Clause"
] | permissive | xueqiya/chromium_src | 5d20b4d3a2a0251c063a7fb9952195cda6d29e34 | d4aa7a8f0e07cfaa448fcad8c12b29242a615103 | refs/heads/main | 2022-07-30T03:15:14.818330 | 2021-01-16T16:47:22 | 2021-01-16T16:47:22 | 330,115,551 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,377 | h | find_in_page.mojom-forward.h | // third_party/blink/public/mojom/frame/find_in_page.mojom-forward.h is auto generated by mojom_bindings_generator.py, do not edit
// Copyright 2019 The Chromium 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 THIRD_PARTY_BL... |
78894be7032c142cd8cede35933934f32284e806 | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/shell/osshell/cpls/usb/usbpopup.cpp | e8be40f9074996e5e58abbd5e70ee87aea6caa2d | [] | no_license | jjzhang166/WinNT5_src_20201004 | 712894fcf94fb82c49e5cd09d719da00740e0436 | b2db264153b80fbb91ef5fc9f57b387e223dbfc2 | refs/heads/Win2K3 | 2023-08-12T01:31:59.670176 | 2021-10-14T15:14:37 | 2021-10-14T15:14:37 | 586,134,273 | 1 | 0 | null | 2023-01-07T03:47:45 | 2023-01-07T03:47:44 | null | UTF-8 | C++ | false | false | 19,573 | cpp | usbpopup.cpp | /*******************************************************************************
*
* (C) COPYRIGHT MICROSOFT CORP., 1993-1995
* TITLE: USBPOPUP.CPP
* VERSION: 1.0
* AUTHOR: jsenior
* DATE: 10/28/1998
*
********************************************************************************
*... |
f41543ebdf98c6b134e317f9f8a23086eb1fd648 | 58017319ededd71d2c8ec051a11a7aad096f53b1 | /AvecSynth.h | f7bad197d5b839dead36e2db73e524329a8c66ce | [] | no_license | t-nelson/AvecSynth | ebc2aac80a97d871e2703f89eafa914983709dae | dd167717d9e4fa283ab6e99217467aa02c9fd97b | refs/heads/master | 2021-01-17T05:40:51.359294 | 2012-01-06T02:44:52 | 2012-01-06T02:44:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 568 | h | AvecSynth.h |
#ifndef AVECSYNTH_H__
#define AVECSYNTH_H__
#include <../MIDI/MIDI.h>
#include <stdlib.h>
struct avec_sample
{
unsigned long delay_ms;
kMIDIType type;
byte channel;
byte data1;
byte data2;
};
class CAvecSynth
{
public:
CAvecSynth();
virtual ~CAvecSynth();
void be... |
60d83d11145d29c7ed81fb03bc2d1873c75ff634 | 6322afe42dd32f0cc72cfe637c109f042ec4af39 | /include/lvr2/algorithm/raycasting/CLRaycaster.hpp | 815a5b570860677b92c444b8066fe0ae8f6a37a4 | [] | permissive | uos/lvr2 | 3c94d640f3e315e23fd194d85c2bd8e6877cd674 | 9bb03a30441b027c39db967318877e03725112d5 | refs/heads/develop | 2023-06-22T11:49:52.100143 | 2021-10-08T15:58:07 | 2021-10-08T15:58:07 | 173,213,176 | 66 | 16 | BSD-3-Clause | 2023-05-28T19:10:14 | 2019-03-01T01:18:58 | C++ | UTF-8 | C++ | false | false | 6,587 | hpp | CLRaycaster.hpp | /**
* Copyright (c) 2018, University Osnabrück
* 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 li... |
79b7ab6625fdf98f743dfe83ab4de4751de33346 | 9af6753b03f7857a0f5583ee477e84d893ba578d | /Project Linked List/LinkedList.cpp | 9acb7d79d5b8eea1b66a93a82e98ab266509f417 | [] | no_license | WittySkates/COP3503-Programming-2 | 3033e370018ab4cf7b7a86c6544ccde28bb45041 | 193dcb129ef09cbb21597cf9fa6cf29284eaabc4 | refs/heads/master | 2022-12-04T07:25:58.110234 | 2020-08-31T23:26:45 | 2020-08-31T23:26:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 46 | cpp | LinkedList.cpp | #include "LinkedList.h"
#include <iostream>
|
09d907f5786ccfd07a3af4855d73f333fb0c4c37 | 1b3959b25ca0b5053c45f2df5b0427102e5862ed | /CGJProject/CGJProject/src/Shader/ShaderProgram.cpp | 2884f45ffcdb43cbde30ef3a289b24c1566b2e95 | [
"MIT"
] | permissive | goncasmage1/OpenGL | c97cfdb1d0c88bab9e31edcdfa763e3529a230a2 | 3eaeb94d4a6d41d48e7d84af74bbef9ee083bd84 | refs/heads/master | 2021-06-27T10:02:32.537045 | 2020-10-13T11:47:44 | 2020-10-13T11:47:44 | 150,716,612 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,310 | cpp | ShaderProgram.cpp | #include "ShaderProgram.h"
#include "Shader.h"
#define VERTICES 0
#define COLORS 1
///////////////////////
// ShaderAttribute
///////////////////////
ShaderAttribute::ShaderAttribute(int newIndex, const GLchar * newName) :
index(newIndex), name(newName)
{
}
///////////////////////
// ShaderProgram
///////////////... |
1866c30e562f61470d6182f9c3a0826ba79bb368 | 96fcd26ec8852682e2ffa7b78a92e430df81bb1e | /programmers/42577.cc | 65bd59663c0f37a0112a1a741bf4ba47862bc464 | [] | no_license | harang90/algorithm | c3a945f097c842d575cfe2058df04005b895e1da | 4088893550d2b80387457ab8bcffd42ff3e581e5 | refs/heads/master | 2020-09-13T04:41:43.189385 | 2020-04-20T12:30:39 | 2020-04-20T12:30:39 | 222,657,186 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 869 | cc | 42577.cc | #include <iostream>
// 전화번호 목록
// 접두어
#include <string>
#include <vector>
#include <algorithm>
using namespace std;
// if first should come before second return true
bool compare(const string& a, const string& b) {
auto iterA = a.begin();
auto iterB = b.begin();
do {
if (*iterA > *iterB) return false;
else... |
77576eacae94552545677ec42170f78de00d5968 | 0e280a7139d175aa6bf7c910cbb0e2e011943975 | /helloworld/Classes/Heroscene.cpp | fcbf77dd2fa0cd85b85cef0b307b04ecfaf5efdb | [] | no_license | yc111348/- | 848f0834cbe39f25d29943246283929a3ec3bc1a | 286e77dafd7476b32637751afc8aba34b870de5a | refs/heads/master | 2020-05-25T03:48:16.380904 | 2019-06-17T16:00:12 | 2019-06-17T16:00:12 | 187,612,313 | 2 | 1 | null | 2023-03-13T01:30:04 | 2019-05-20T09:43:18 | C++ | UTF-8 | C++ | false | false | 86,170 | cpp | Heroscene.cpp | //
// hero.cpp
// yc
//
// Created by mac on 2019/6/10.
//
#include "Heroscene.hpp"
#include "SimpleAudioEngine.h"
#include "EndGameScene.hpp"
USING_NS_CC;
bool Hero::isKeyPressed(EventKeyboard::KeyCode keyCode)
{
if(keys[keyCode]) {
return true;
} else {
return false;
}
}
static void ... |
06942639f71edf21e263a99be0a8c13cc20f6367 | 33cf18fe652ce3cd697bf27aa4ddffe6f4e71e1c | /main.cpp | 73327d39215256ccf08729a1748ea0d26526e551 | [] | no_license | ievau99/CppLietuviskai | a390682861ee8bbcba85eb68c3dbdaa04196ef79 | f0eab98151e3a9154514efa2223f9800de095e74 | refs/heads/master | 2023-03-22T19:09:40.853289 | 2021-03-23T14:13:59 | 2021-03-23T14:13:59 | 349,104,555 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 751 | cpp | main.cpp | //Studentas ruošiasi įsigyti naują kompiuterį. Apie kompiuterio kainą jis samprotauja taip:
//
//- jeigu kompiuteris pigesnis nei 1000 Eur, tai jis pernelyg pigus;
//- jeigu kompiuteris brangesnis nei 2500 Eur, tai jis pernelyg brangus;
//- jeigu kompiuterio kaina nuo 1000 iki 2500 Eur, tai jis yra toks, kokį pirkčiau.... |
dca34dc0d1f524a2ccfa79787c745a336ae1d4a4 | 7175b03f72d69577f7945793315242d04ba1765c | /dinput8/config.cpp | 4727dc39697c3cce9355754fcddb9ea9265761c4 | [
"WTFPL"
] | permissive | Stunext/LANVP | 6ee9f345423379fa44fcfc32e32e1c68235a5aff | cecabc5cae7048411935a657f0ef72d878fc21a3 | refs/heads/master | 2023-07-27T12:53:17.711376 | 2021-09-11T20:14:20 | 2021-09-11T20:14:20 | null | 0 | 0 | null | null | null | null | ISO-8859-3 | C++ | false | false | 11,243 | cpp | config.cpp | //-----------------------------------------------------------------------------
// config.cpp
//
// Releases:
// 1.0 - Initial release
// 1.1 - "FPS Unlock" & "Aspect Correction" improvements, "Launcher Check",
// "Skip Logo&Legals" & "FPS Lock" added, "Force Resolution" bugfix.
// 1.1a - Adde... |
bfbaf9e5d801895090f137f47d547be028ead63f | 033107c05feff81c17f9f39d984e08f5884863f4 | /BarProject/implementations/src/InterpolateEntityPositionAction.h | f997945ff5c43e0c7152e0f36b9e4a3bd36e079b | [] | no_license | ravaliB/SYMA2 | 7def2f665591a9777f5ca486d23dfafe4e2c1fb6 | 168118e1426ccc8cc652a55f39883eb93a742375 | refs/heads/master | 2016-09-05T16:52:00.930854 | 2014-12-19T13:23:14 | 2014-12-19T13:23:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,583 | h | InterpolateEntityPositionAction.h | #ifndef BARMAN_IMPL_LIB_INTERPOLATEENTITYPOSITIONACTION_H
#define BARMAN_IMPL_LIB_INTERPOLATEENTITYPOSITIONACTION_H
#include <mlv/behavior/AbstractTypedAction.h>
namespace barman
{
namespace impl_lib
{
class InterpolateEntityPositionInput : public mlv::utils::StaticObject
{
MLV_DEF... |
c7611fbd23ebe399371166864955f1e4f935ea9d | efdeb174bc211ce20f5806063d73d6ff7e5610fc | /libs/NotesCApi508/notesapi/samples/basic/capierr/capierrd.h | 32328a37ece2f0c31e4ddc7e40c6287ce9be3ec1 | [] | no_license | eviskum/MFAQS-notes | c14af2475f1126d9864018d8652e8da654045cd3 | 9669614b3769fd6b30ed9d60a55ca1dffd9c9bce | refs/heads/master | 2023-04-20T07:01:18.887868 | 2021-05-12T15:49:49 | 2021-05-12T15:49:49 | 366,767,342 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 970 | h | capierrd.h | // CapiErrD.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CCapiErrD dialog
#define LINEOTEXT 256
class CCapiErrD : public CDialog
{
// Construction
public:
CCapiErrD(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CCapiErrD)
enum ... |
42459bfa4887954254f54492962b99d7ed862d0b | 8c39f17ab30d3b65d73136048679c2029446f665 | /render2.cpp | 3f0c58e5d4b84604a776b956b4aa64ebf7adb589 | [] | no_license | giuliomoro/keyfeature | d2d890ca9011ba4d5374da1d175ba270713f37c5 | 8d35113feb1de64f6dac04371284a4458c9202eb | refs/heads/master | 2020-04-18T14:36:10.870062 | 2019-02-04T20:22:16 | 2019-02-04T20:26:31 | 167,593,064 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,482 | cpp | render2.cpp | #include <Bela.h>
#include <Keys.h>
#include <algorithm>
#include <cmath>
#include <math_neon.h>
#include "KeyboardState.h"
extern float gKey;
extern float gPos;
extern float gGate;
extern float gPerc;
extern float gAux;
#define SCOPE
#define SCANNER
#define KEYPOSITIONTRACKER
#ifdef SCOPE
#include <Scope.h>
Scope sc... |
5fa0e4392ecfedece6a8718c9396f06451c3d7e1 | 895e3e10d0669af7d935c89f9f6322e8071bb4b5 | /core/pp/core/pp/pp_first_arg.hpp | f2f6cd57c01f313b109b9c9d91834dbef86a65e3 | [] | no_license | SlyrisOrg/core-v2 | cfece79d1baa392d10d667d3a46974c8126ed9bc | c2c3b13d7bfdb6c65a32b7ada1a75c3dd48b5f1e | refs/heads/master | 2021-03-27T13:05:53.803959 | 2018-04-11T19:52:31 | 2018-04-11T20:02:22 | 120,018,498 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 338 | hpp | pp_first_arg.hpp | //
// Created by doom on 03/10/17.
//
#ifndef CORE_PP_FIRST_ARG_HPP
#define CORE_PP_FIRST_ARG_HPP
#ifdef _MSC_VER
#define __FIRST_ARG_(f, ...) f
#define __FIRST_ARG(args) __FIRST_ARG_ args
#define pp_first_arg(...) __FIRST_ARG((__VA_ARGS__))
#else
#define pp_first_arg(f, ...) f
#endif
#endif //CORE... |
d7acf3ff959879d50ad68568659ea17dc62a9094 | b9c4a6bd1788c40f10eeda32bff73b60825a983c | /Linked_Lists_C++/delete_node.cpp | bc8820db0bd8361c4465a7869b6a95313bd9c67d | [] | no_license | Lakshit-Chiranjiv/hacktoberfest2021-4 | 008c5bfe36906a8f7e3938df8645e7e9c4e42682 | 8ee733884bc6b172e9242bc90f4c65279df40435 | refs/heads/main | 2023-08-23T02:06:39.712540 | 2021-10-19T05:03:29 | 2021-10-19T05:03:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,380 | cpp | delete_node.cpp | #include<bits/stdc++.h>
using namespace std;
typedef long long ll;
struct Linkedlist{
ll data;
struct Linkedlist *next;
};
typedef struct Linkedlist *node;
int main()
{
ll n,i,x,pos;
cin>>n;
node head,temp,p;
head=NULL; //assigning nothing to head node
head=(node)malloc(sizeof(struct Linkedlist));
temp=head... |
f796ba5635123eb59ba9c54075ab0825ef9d5dd4 | c1f4fbdebc8b8ef075d4b34a161b2404d1f5d59d | /Hodograf/Hodograf/Simulation.h | 264428faaf5f883d4452d6be4b450a36c5d4b74a | [] | no_license | McThrok/Hodograf | 4e20fd9f44ae5506bdb43253e2f352d8cd15e6d8 | a002362a2785d1d7d977c30d7ece50e7908f4e2d | refs/heads/master | 2022-04-03T07:37:32.164507 | 2020-01-18T16:44:09 | 2020-01-18T16:44:09 | 233,443,790 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 758 | h | Simulation.h | #pragma once
#include <d3d11.h>
#include <vector>
#include <math.h>
#include <DirectXMath.h>
#include <SimpleMath.h>
#include "Graphics/Vertex.h"
#include <random>
#include "Graphics/MyImGui.h"
using namespace std;
using namespace DirectX;
using namespace DirectX::SimpleMath;
class Simulation
{
public:
float delta... |
77051ae38b93aec280a3222162aad147e4ba05c2 | 3db48713c39b90d5967615e3d1c874d88055ba70 | /tests/std/tests/P0896R4_views_drop_while_death/test.cpp | 9cce078838daea873cfff1e72b92942506967969 | [
"Apache-2.0",
"LLVM-exception",
"LicenseRef-scancode-object-form-exception-to-mit",
"LicenseRef-scancode-unicode",
"MIT",
"LicenseRef-scancode-mit-old-style",
"LicenseRef-scancode-other-permissive",
"CC0-1.0",
"BSL-1.0",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-generic-cla",
"... | permissive | microsoft/STL | 4b1a6a625402e04b857e8dfc3c22efd9bc798f01 | 6c69a73911b33892919ec628c0ea5bbf0caf8a6a | refs/heads/main | 2023-09-04T08:50:17.559497 | 2023-08-31T16:49:43 | 2023-08-31T16:49:43 | 204,593,825 | 9,862 | 1,629 | NOASSERTION | 2023-09-14T21:57:47 | 2019-08-27T01:31:18 | C++ | UTF-8 | C++ | false | false | 1,326 | cpp | test.cpp | // Copyright (c) Microsoft Corporation.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#define _CONTAINER_DEBUG_LEVEL 1
#include <cassert>
#include <cstddef>
#include <ranges>
#include <span>
#include <test_death.hpp>
using namespace std;
struct test_predicate {
struct tag {};
t... |
729d94e9fe3d814f0e2fe80a884bb60957896e5f | 9a56773118def963a564512cd6964feb0417d7e3 | /core/source/core/fonts/font_builder.hpp | 22cc5e37b9f59f95869643e8eac886c7d6958473 | [
"MIT"
] | permissive | Karlashenko/engine-2d | b5a0a8120d02352e72840bfd3ad1aacef68cf9d0 | 842c67fb6a7f19eaf16550b441ec7b79af2a0b7a | refs/heads/main | 2023-04-05T23:22:47.524527 | 2021-04-20T11:40:14 | 2021-04-20T11:40:14 | 359,793,252 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 631 | hpp | font_builder.hpp | #pragma once
#include <stb_truetype.h>
#include "glyph.hpp"
#include "character_range.hpp"
#include "../io/file_system.hpp"
class FontBuilder final
{
public:
FontBuilder() = delete;
FontBuilder(U32 p_texture_width, U32 p_texture_height, U32 p_glyph_height);
void add_glyphs(List<U8> p_font_data, const Lis... |
b4b45afbcb76d20d8f69a218fd66fac22a29e555 | 1bd347f71c78374ba3ef7f449a7f79a3b5078998 | /Computer-Graphics-Lab/10. Practice/mid point circle.cpp | 21c841cfb2059e2c19d57b1352b723f899aeede0 | [] | no_license | Ruman-Hossain/Computer-Graphics-Lab | 17e5dde1c37f84525d64ba10aa92062926590c62 | f0a1fe15e138ce48ff57f9bdd47e51a02fbe853e | refs/heads/master | 2021-01-27T04:04:51.509246 | 2020-02-27T08:51:13 | 2020-02-27T08:51:13 | 243,472,522 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 982 | cpp | mid point circle.cpp | #include<bits/stdc++.h>
#include<graphics.h>
using namespace std;
void circleDrawing(int xc,int yc,int x,int y){
putpixel(xc+x,yc+y,WHITE);
putpixel(xc-x,yc+y,WHITE);
putpixel(xc+x,yc-y,WHITE);
putpixel(xc-x,yc-y,WHITE);
putpixel(xc+y,yc+x,WHITE);
putpixel(xc-y,yc+x,WHITE);
putpixel(xc+y,yc... |
a5404be9a0f597c108ad7a34b62ecc4fa3d09bf9 | 911146e6de655c73df43e2675da970c65a2eb66c | /Classes/GameOverState.h | b1d9321bc0349d9285d06224c7ef8f4fac3c20dc | [] | no_license | kosomoN/top-down-shooter | e6061900678b2dc4d17dc3f867933a60a1be4b18 | eafc50f286301509381bdcd1254b7b2c94dc9db6 | refs/heads/master | 2021-01-18T01:26:50.310183 | 2015-03-07T16:14:05 | 2015-03-07T16:20:08 | 30,365,697 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 237 | h | GameOverState.h | #ifndef GAME_OVER_STATE_H
#define GAME_OVER_STATE_H
#include "cocos2d.h"
using namespace cocos2d;
class GameOverState : public Layer
{
public:
static Scene* createScene();
virtual bool init();
CREATE_FUNC(GameOverState)
}
#endif
|
fbfd9c7ab262e9450ef78caa2e1eb741a35d5f5d | 6a0eff35f0cde76f92575d6397946af72cbd1f09 | /Implementasi Stack(tumpukan2)25nov2019.cpp | 7fb7c6934e28da4341846d0ef8d18a2b02c5c619 | [
"MIT"
] | permissive | saddam18/struktur-data-praktek | 2578b569100c3dd1579566ff0c3b9ce25da50296 | 8a1b6e037530fbadeef63ada6bf1d8147f01779a | refs/heads/master | 2020-08-13T14:57:17.139723 | 2020-01-18T03:33:32 | 2020-01-18T03:33:32 | 214,988,194 | 0 | 0 | MIT | 2019-11-12T16:51:37 | 2019-10-14T08:24:59 | null | UTF-8 | C++ | false | false | 1,109 | cpp | Implementasi Stack(tumpukan2)25nov2019.cpp | #include <iostream>
#include <stdio.h>
#include <conio.h>
#include <stdlib.h>
struct stack
{
int data[5];
int atas;
};
stack tumpuk;
int main()
{
system("CLS");
int pilihan, baru, i;
tumpuk.atas=-1;
do
{
system("CLS");
printf("1. PUSH DATA\n");
printf("2. POP DATA\n");
printf("3. PRINT DATA\n");
... |
5e3d76d8fbb835b504253aa3b8c91b9e37306723 | 35f8cbb3b196b07c597d54d9beb4d8013f1607e0 | /FlappyBird/Pillar.h | 93e281ec86e6aed471fcc404b7141314d3397967 | [] | no_license | Cookiezby/Cocos2dx-stuff | d903558ac2a76408187ed4d3cf7f8331ccaf5f8a | 4b5e959048f32b7bc99dad9ad0f8391ccff619de | refs/heads/master | 2020-04-26T03:38:26.306755 | 2015-06-27T14:53:45 | 2015-06-27T14:53:45 | 38,163,401 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 233 | h | Pillar.h | #ifndef __PILLAR_H__
#define __PILLAR_H__
class Pillar
{
public:
Pillar(void);
~Pillar(void);
void SetX(float x);
int GetX();
void SetBY(float y);
int GetBY();
public:
float m_x;
float m_blanky;
};
#endif
|
94b129e574567f9673314ea9be054155d08c6036 | a1f8e6dd0bf47e46083206bf1084d48aa4d7802e | /ImageReaderLibraries/src/DecoderTIFF.cpp | 8425e69d2eb117e83780fbebe327fb112c07685c | [] | no_license | aliakbarRashidi/ImageReader | b0b5782d87ceeb09eba500298a332e63d45d4238 | 32325fa10a4100f210941b92651502a1753179ae | refs/heads/master | 2020-06-19T10:21:54.047170 | 2018-03-19T12:58:23 | 2018-03-19T12:58:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,264 | cpp | DecoderTIFF.cpp | // This is an open source non-commercial project. Dear PVS-Studio, please check
// it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
#include "Decoder.hpp"
#include <tiffio.h>
#include <tiffio.hxx>
#include <boost/interprocess/streams/bufferstream.hpp>
using bufferstream = boost::interp... |
6e6cdcac4c5397a611d7913e8c8b30e51b4c0d4c | cb2fe0a9a10a7418bc683df6eedb238c657f4c8a | /Basics of C++/tutorial_2_calculator.cpp | 2002dca9ea4f529a12cd6cc3b76e0713eedab753 | [] | no_license | withoutwaxaryan/programming-basics | bf33c32545e89deba13c6ab33a1568e69f40c693 | 93c0c57bf36acd1190f65ec3f2b6d316d59eaaf0 | refs/heads/master | 2023-03-07T04:58:37.451151 | 2021-02-20T12:26:14 | 2021-02-20T12:26:14 | 181,515,433 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,039 | cpp | tutorial_2_calculator.cpp | #include <iostream>
using namespace std;
void printSomething(); // prototyping a function- letting the compiler know that this function exists and will be defined later
void printNumber(int);
int addNumbers(int, int);
int main()
{
int a, b, sum, subtract, product, quotient, remainder;
// arithmetic operator... |
b49b16e9b055e2b186d311dc8584862a901d5482 | 00bc388bb8db90703f03b06ba64adbc8814eb755 | /part1/saurabh_shuklaClasses and Object/stlpair.cpp | 928cd3cf9a4f6f344052efed5f6b8a8cfda51850 | [] | no_license | Sahilnegi-code/Have_practised_Dsa | 43e6f103a02be14c78331f8bead4de9871db9aa8 | 554a67df9660a333024fa3eb201d6333e16ed4f8 | refs/heads/master | 2023-06-27T04:26:04.229673 | 2021-07-31T04:21:32 | 2021-07-31T04:21:32 | 391,246,076 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 652 | cpp | stlpair.cpp | #include<bits/stdc++.h>
// #include<pair>
using namespace std;
class student{
string name;
int age;
public:
void set(string s ,int a){
name=s;
age = a;
}
void show(){
cout<<"name:"<<name<<endl;
cout<<"age :"<<age<<endl;
}
};
int main(){
pair <string,int>p1;
pair <string ,string>p2;
pair<string , float... |
22df07df5cd20ada76362662c860143275564067 | edbef8de66535c982f590075a25a67d9adf2f3f5 | /orthopol.cpp | 2b26b8f46f4b0402d6d915774bbc4f2a7dfac4d4 | [] | no_license | andresgit/WignerDist | 32151ce3861e80cad92f3d4b60d42ea01effde2c | cd613f461a30d44ed5094d7ea012ce6ec30e9940 | refs/heads/master | 2020-04-26T20:46:36.582534 | 2019-03-04T22:15:49 | 2019-03-04T22:15:49 | 173,821,203 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,954 | cpp | orthopol.cpp | #include "orthopol.h"
#include "orthogonalChebyshev.h"
#include <iostream> // standard I/O routines, prefix with "std::"
#include <vector>
#include "ap.h"
#include "integration.h"
#include "orthogonalLaguerre.h"
using namespace std; // [STYLE] this is common practice, although sometimes discouraged
const dou... |
c73ec29f39a118f943caadf445cb6e062aa75650 | 0aa596fc3c2e1e4f542e49170111a86054b11762 | /test/unittests/execute_call_test.cpp | a29945110190e16fbdbb65903e375a3068f9459c | [
"Apache-2.0"
] | permissive | hugo-dc/fizzy | 6c46f550d9983f9d18239e285c7766baa21a26bb | 5aa6926930772d16a9def4e90e19fa97e7d950e8 | refs/heads/master | 2021-01-16T14:49:39.978039 | 2020-02-25T21:17:48 | 2020-02-25T21:17:48 | 243,157,981 | 0 | 0 | Apache-2.0 | 2020-02-26T03:18:43 | 2020-02-26T03:18:42 | null | UTF-8 | C++ | false | false | 9,747 | cpp | execute_call_test.cpp | #include "execute.hpp"
#include "limits.hpp"
#include "parser.hpp"
#include <gtest/gtest.h>
#include <test/utils/asserts.hpp>
#include <test/utils/hex.hpp>
using namespace fizzy;
TEST(execute_call, call)
{
Module module;
module.typesec.emplace_back(FuncType{{}, {ValType::i32}});
module.funcsec.emplace_bac... |
c992eee08b86b0b65df9769e092ca943701cc116 | 6ce50678b68d595f57d0edda7b454d158c7c691a | /src/MPD/Statistics.cc | 1c9ebe57be18fb6c6f63b5992a3415f208d7eaa7 | [] | no_license | studentkittens/Freya | 6832931bc1af0c929c79dbfc0bd63b148d1ad7a8 | 95dd03a65b83086bfee834ce28a4a9bd99c7e3de | refs/heads/master | 2021-01-23T06:59:00.143643 | 2012-07-17T13:20:19 | 2012-07-17T13:20:19 | 2,526,052 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,246 | cc | Statistics.cc | /***********************************************************
* This file is part of Freya
* - A free MPD Gtk3 MPD Client -
*
* Authors: Christopher Pahl, Christoph Piechula,
* Eduard Schneider
*
* Copyright (C) [2011-2012]
* Hosted at: https://github.com/studentkittens/Freya
*
* __..--''``---...._... |
f4fdc8e2c0744f3e45e001d5dfaa09a4ce612887 | 88c68b614dbb46f2020fb233e4a06998d8758c52 | /Practica1/Examen/fuma_ex.cpp | f3a0a1729fd5aee76896f96acd4c03946c52a43c | [] | no_license | juanAFernandez/SistemasConcurrentesyDistribuidos | 4ee3c94dd071d4111254d12c377af0c224db9918 | 21acb5250872d62107ea08b59a9025c03935ce3a | refs/heads/master | 2020-06-04T02:16:06.015799 | 2015-01-21T15:53:51 | 2015-01-21T15:53:51 | 24,674,157 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,300 | cpp | fuma_ex.cpp | /*
## Problema fumadores de EXAMEN ##
@brief En este caso habrá 6 hebras fumadoras. Cada vez que el estanquero coloque un ingrediente en la mesa despierta
a uno de los dos fumadores que necesitan ese ingrediente (da igual cual). El estanquero podrá colocar dos ingredientes
en el mostrador (de forma aleatoria), entonce... |
0abab621e4860f61fd5ddb1c152ccaaca37fd724 | 389b851790b9f7277d7e3b689a0e96a8a35c316e | /GameServer/ServerStarter/const.h | cb07934a2b562a865f75a4927c698c3bc429cbe8 | [] | no_license | micyril/AIWars | 2eeab9f15ee26d429269fe73ae798783c02a863a | e978dffe6e11832854e04e506bb5cc461cf2db40 | refs/heads/master | 2021-01-20T12:04:59.850468 | 2013-12-19T13:12:45 | 2013-12-19T13:12:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 87 | h | const.h | #include <string>
const std::string ack = "ACK\r\n";
const std::string eog = "EOG\r\n"; |
6148da6d87de465dbd713e085db10b32e9eaa255 | 472e20731939b9f4ad721976db0f2ab167d07c26 | /TestSoftware/arduino/audio/player_objif/player_objif.ino | d29a2f4ca9d1ab3c32da5c21173633d9b5d9e266 | [] | no_license | XinghuaXHu/spresense-test-structure-change | 504ad68698581cf473de83d1ab9b466d592a7419 | 25e71da1716aa1e9f7b358baf5f23a3021529646 | refs/heads/master | 2021-01-15T05:35:00.742393 | 2020-03-02T08:17:35 | 2020-03-02T08:17:35 | 242,887,626 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,016 | ino | player_objif.ino | /*
* player_ObjIf.ino - Object I/F based sound player example application
* Copyright 2018 Sony Semiconductor Solutions Corporation
*
* This library 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 Founda... |
f8a867810349f2f96600d221ef94a4b3a61564e2 | 79b77f974365870bd6966e45496b5ce0524e1acb | /Sources/robotController/Client/BBException.hpp | b02a5032589e482bb65914f9f975d6d453d50ee0 | [] | no_license | cintiaf/LittleThumb | 7d82c44e14477d7b865808430ccbfcbc0321ae23 | 16f707376633688064f555e37a38e2d62d3d921e | refs/heads/master | 2016-09-14T19:19:19.263328 | 2016-04-21T07:29:13 | 2016-04-21T07:29:13 | 55,951,140 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 366 | hpp | BBException.hpp | #pragma once
#include <iostream>
#include <sstream>
#include <vector>
#include <exception>
class BBException : public std::exception
{
public:
BBException(const std::string &message) throw();
BBException(const std::string &message, int line) throw();
virtual ~BBException() throw ();
const char * what() const t... |
59e8bcb64577d7f43c05f85e888d3486a5398e47 | dc5fd9e482bd87d72695b14b9e0fd383b2ee9dcf | /src/main/train_ner.cc | 2b496425a3648ac9e573bcab8d075d75bdb85f2b | [] | no_license | Ambier/crf | 34dbe42e0c1468480a1222d64f46cf04cb451196 | 4cb7c8c3ef0537fe519d27a778e5a6272545069f | refs/heads/master | 2020-05-25T16:39:44.036071 | 2013-04-16T08:39:19 | 2013-04-16T08:39:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 183 | cc | train_ner.cc | #include "base.h"
#include "crf.h"
#include "crf/main.h"
#include "main.h"
int run(int argc, char *argv[]) {
return NLP::CRF::run_train<NLP::CRF::NER>(argc, argv, "", "lbfgs");
}
|
958c5f9145fe5113e3a617393b08717ed34f047c | 60e284d357878ec65ca4527c182d95defac18d13 | /io/FileInputStream.cpp | d1758007c94a299d1b8e9f6163388e48ee6395f0 | [] | no_license | keyguansz/Obotcha | ee2198bc403e6d7ae76dbb5f0c758f35f0a4d0ad | c0cc39294d90abc9d7b92f79970bf4de573f70c8 | refs/heads/master | 2020-05-13T03:28:25.797363 | 2019-04-09T14:25:30 | 2019-04-09T14:25:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 784 | cpp | FileInputStream.cpp | #include "FileInputStream.hpp"
namespace obotcha {
_FileInputStream::_FileInputStream(File f) {
mPath = createString(f->getAbsolutePath());
}
_FileInputStream::_FileInputStream(String path) {
mPath = createString(path);
}
int _FileInputStream::read() {
//TODO
}
int _FileInputStream::read(ByteAr... |
8fd4c541449c1e4117462ac13230feb33d1a955c | b2ee7279be8680b597a52953cb83ba035e169693 | /WinGUI/NewGUI/AMSEdit.h | a406f6efd2d7afe7431577f8810e0123259d8c3f | [] | no_license | xt9852/KeePassXT | 6ce8b9ec4de7987086790abea9fed48dad9be2a3 | ca2f7e56078310f50e33a704334461de893ff262 | refs/heads/master | 2021-01-20T19:56:39.351759 | 2017-12-25T08:52:47 | 2017-12-25T08:52:47 | 61,785,904 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 31,620 | h | AMSEdit.h | #if !defined(AFX_AMS_EDIT_H__AC5ACB94_4363_11D3_9123_00105A6E5DE4__INCLUDED_)
#define AFX_AMS_EDIT_H__AC5ACB94_4363_11D3_9123_00105A6E5DE4__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// Edit.h : header file
// Created by: Alvaro Mendez - 07/17/2000
// Modified by: Dominik Reichl - 2... |
c196b11b9e3d7182b83db657b673a87770045a2d | 8967fc8b81710a463d54350144bd672c2b6c4f6f | /Graph Algorithms/FlightRoutesCheck.cpp | b71e2d97d0ba6d3538348fed4ca93f8b544b23e3 | [] | no_license | shuba400/CSES_Problem_Set | 98623cae3eb33ba2867259b14c9cff2a9e8fb478 | 428fd4a2592d4ab1a3537eb85a7378bf3d8f2ef4 | refs/heads/main | 2023-04-27T04:31:42.883658 | 2021-05-16T10:52:22 | 2021-05-16T10:52:22 | 306,539,577 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,856 | cpp | FlightRoutesCheck.cpp | /*
This is a standard application of Strongly Connected Components(SCC) in graph.For solving this question all you need to know is what exactly is Strongly Connected Component.
Since this is simple application I have linked down some resources to understand SCC
https://cp-algorithms.com/graph/strongly-connected-compon... |
cdd75a42630e2e47ae1997cb5da800c7fd552571 | 5c54ecf35c8706e44b9942bc4376333b17e15fa2 | /NEETGameMaker/WindowSceneUpdater.cpp | 0d0dd3c5fa861aa6f432c91a920efaf59f18db11 | [] | no_license | Nekokino/NEET01 | 643789065e008f04ea2164acfbaefdc2e4a18681 | 9c2d85c85dce14e04e865a3a33ab27549852d40c | refs/heads/master | 2020-03-25T19:28:16.355256 | 2018-09-03T02:37:40 | 2018-09-03T02:37:40 | 144,084,620 | 0 | 0 | null | 2018-08-09T01:19:01 | 2018-08-09T01:10:31 | C++ | UTF-8 | C++ | false | false | 461 | cpp | WindowSceneUpdater.cpp | #include "WindowSceneUpdater.h"
#include "GameSystem.h"
#include "NTPieceWindow.h"
#include <InputSystem.h>
#include <NTWinShortCut.h>
WindowSceneUpdater::WindowSceneUpdater()
{
}
WindowSceneUpdater::~WindowSceneUpdater()
{
}
void WindowSceneUpdater::SceneUpdate()
{
GameSystem::TimeUpdate();
if (InputSystem::I... |
fe9daf49e7bace40a9f992467295354870485045 | bdf817af2b2d1dbf114b96a72da8012041dd591e | /src/lib/pdata.cpp | aa5ceb8b2d4af36b719d87b7c190ceae6afd43cd | [] | no_license | IBirdSoft/openfpm_pdata_3.0.0 | 8f64fc90ba656009879325adea9020cdb452f1e4 | 3c7c35f66f2b244b48f7968941240f19f099bddc | refs/heads/master | 2022-12-30T10:24:11.648481 | 2020-10-18T00:47:26 | 2020-10-18T00:47:26 | 272,805,498 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,663 | cpp | pdata.cpp | /*
* pdata.cpp
*
* Created on: Feb 5, 2016
* Author: Pietro Incardona
*/
#include "pdata.hpp"
#include "SubdomainGraphNodes.hpp"
#include "memory/CudaMemory.cuh"
template<> const std::string nm_v<10>::attributes::name[] = {"x","migration","computation","global_id","id","sub_id","proc_id","id","fake_v"};
tem... |
e89119f807225d03a92ea7b8bfaab0ebd6b9a726 | ddfc7ca35daa03bbee886422af9d6175a328161e | /deck.h | d70b077b1446c57e42f92056f65cbfd745108b0b | [] | no_license | lucaspalmer8/Hearts | 04377b6955aa3fcddfa2d0546c5d8158b83e668b | c6c6378040d16c47b03d97521895c3ac7c1bddbe | refs/heads/master | 2021-01-13T02:26:51.749962 | 2016-01-15T04:55:07 | 2016-01-15T04:55:07 | 35,779,243 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 360 | h | deck.h | #ifndef __deck__h
#define __deck__h
#include<vector>
#include"card.h"
#include<iostream>
class Deck {
public:
static int instance;
static int isDeck();
Deck();
~Deck();
void Shuffle();
static void addinstance();
static void subinstance();
std::vector<Card*> deckofcards;
};
std::ostream& operator<<(std... |
7e03575564de6f672e23dce02516e753bdaa734a | f9dcd8bbcd2038c5fd5a014ee395aaa71dbf3a05 | /util.cpp | 000cd2c14bcaa224e8a5a4337899165c036a0b53 | [] | no_license | locchuong/autocomplete | 2de982ac2810d20595eb1d18e40e04c86d99b7ff | fa2cef8b3fdccecc74de4fb03b4272633289d73e | refs/heads/master | 2022-12-06T12:42:45.790329 | 2020-08-24T22:27:45 | 2020-08-24T22:27:45 | 289,876,018 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,558 | cpp | util.cpp | #include <iostream>
#include <sstream>
#include "util.hpp"
using std::istream;
using std::endl;
using std::cout;
using std::istringstream;
using std::string;
using std::vector;
/**
* Starts the timer. Saves the current time.
*/
void Timer::begin_timer()
{
start = std::chrono::high_resolution_clock::now();
... |
79027efc9aa2febd648c3a6892b5eae05fe80c88 | c52af50c82e70fb00e1c64c17d76b9a289876293 | /regularized_decomposition/src/q5.cpp | c139da17369dae8f2a38e3a1fa184c251b0f4a1b | [] | no_license | davidlove/omrp | 7686c7968c8941b3e66dfc2e5c599c3ccba82623 | 829ddcfd0f18542f7f8feea049bdc1663044cafa | refs/heads/master | 2016-09-06T09:50:52.658757 | 2014-07-14T00:50:27 | 2014-07-14T00:50:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,650 | cpp | q5.cpp | /*------------------------------------------------------------------------------
FILE Q5
Routines for advanced matrix operations
Q5ADRW - PLANE REFLECTIONS TO ADD A ROW,
Q5DLCO - PLANE REFLECTIONS TO DELETE A COLUMN,
Q5DLRW - PLANE REFLECTIONS TO DELETE A ROW,
Q5GVNS -... |
3706aa7ea9b0a1dfd87b4a1303f4a4f3b42b72f2 | 4d36e47f8f02ce5b7135f866803b2f3ea7c4891d | /common/events/camerareplacedevent.cpp | 3ffcecb22cf40770bf881a0b7cdc5b52ae829c9d | [] | no_license | bshkola/StreetSimulator | bb426c999e223aed40ab6595763106fdbabdc87b | 1c0afbf0dc5fb83c9a9bc309f49ebc2152c648f4 | refs/heads/master | 2016-09-16T09:47:11.755240 | 2015-01-25T23:03:49 | 2015-01-25T23:03:49 | 25,729,779 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 479 | cpp | camerareplacedevent.cpp | //Author: Bogdan Shkola
//Implementation of CameraReplacedEvent class
#include "../../common/events/camerareplacedevent.h"
CameraReplacedEvent::CameraReplacedEvent(int id, Coordinates new_coordinates) : IEvent(), id_(id), new_coordinates_(new_coordinates) {
}
std::string CameraReplacedEvent::getName() {
return "C... |
eae0a9f47d0531dc8f06383399657a775f21755a | 46f9f7f2595768ec48f8636e9b70ada23c6304ab | /4.1.class and object/main.cpp | 5f29fcce71e2550aabc740145967173a3be5a480 | [] | no_license | ChaselWu/CPP-Learning | 66acd173f427c468a3de8612f93e7dfd083b93f3 | e54bf403f35b78ec58385d23c074c32b8aa0c36c | refs/heads/master | 2023-04-02T01:02:39.976446 | 2021-04-10T10:09:48 | 2021-04-10T10:09:48 | 340,542,261 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 602 | cpp | main.cpp | #include <iostream>
using std::cout;
using std::endl;
class rectangle {
public:
double wid, len;
rectangle() {
wid = 1.0;
len = 1.0;
}
rectangle(double w) {
wid = w;
len = w;
}
rectangle(double w, double l) {
len = l;
wid = w;
}
double getArea() {
return (len * wid);
}
... |
ae49b2e61b453204d8268af6feef214af6ea615d | c6fa53212eb03017f9e72fad36dbf705b27cc797 | /FastSimulation/TrackingRecHitProducer/src/FastStripCPE.h | 15dc4820dbd9baa55f1ec3ee96c10a5b9c2fd4c4 | [] | no_license | gem-sw/cmssw | a31fc4ef2233b2157e1e7cbe9a0d9e6c2795b608 | 5893ef29c12b2718b3c1385e821170f91afb5446 | refs/heads/CMSSW_6_2_X_SLHC | 2022-04-29T04:43:51.786496 | 2015-12-16T16:09:31 | 2015-12-16T16:09:31 | 12,892,177 | 2 | 4 | null | 2018-11-22T13:40:31 | 2013-09-17T10:10:26 | C++ | UTF-8 | C++ | false | false | 1,315 | h | FastStripCPE.h | #ifndef FastSimulation_TrackingRecHitProducer_FastStripCPE_H
#define FastSimulation_TrackingRecHitProducer_FastStripCPE_H
#include "DataFormats/GeometryVector/interface/LocalPoint.h"
#include "DataFormats/GeometrySurface/interface/LocalError.h"
#include "RecoLocalTracker/ClusterParameterEstimator/interface/StripCluste... |
5f2e612e2654c24e300f7e39b353c45327477058 | 652d0577d5f9716423cf7f1aae116a7bfd190c6f | /WaterBox/firmware/library/ArduinoJson/test/JsonBuffer/parse.cpp | 70e57918c41cff8df18b236933ad1ed6416e4462 | [
"MIT"
] | permissive | LinkItONEDevGroup/LASS | 714cf74a07840161ce6a3cd9a9ac525a3d5d88d3 | f06bd202f37f2a8fafe932feabcb119a292f016e | refs/heads/master | 2023-04-30T09:03:36.609950 | 2023-04-27T00:03:26 | 2023-04-27T00:03:26 | 38,099,296 | 174 | 108 | MIT | 2021-02-05T10:09:21 | 2015-06-26T08:14:22 | C | UTF-8 | C++ | false | false | 2,051 | cpp | parse.cpp | // ArduinoJson - arduinojson.org
// Copyright Benoit Blanchon 2014-2018
// MIT License
#include <ArduinoJson.h>
#include <catch.hpp>
using namespace Catch::Matchers;
TEST_CASE("JsonBuffer::parse()") {
DynamicJsonBuffer jb;
SECTION("EmptyObject") {
JsonVariant variant = jb.parse("{}");
REQUIRE(variant.su... |
1ff128a2f6d921dd230090cbe45dd14b947d8106 | 6278ebc0117fb866e30d7488cfac8a14152bbafa | /tests/SimCore/BattlefieldGraphicsActorTests.cpp | 4c2ae7f3ad499432fdb181a27f5f04b91183e12b | [] | no_license | delta3d/SimulationCore | 4970bc5de3baf2a466eef42a668cebc31b152d8a | 631291491d17746f7a3dbe0efe665f42309fe882 | refs/heads/master | 2021-01-11T03:30:08.328507 | 2016-02-26T18:43:12 | 2016-02-26T18:43:12 | 71,003,826 | 6 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 5,536 | cpp | BattlefieldGraphicsActorTests.cpp | /* -*-c++-*-
* Simulation Core - BattlefieldGraphicsActorTests.cpp - Using 'The MIT License'
* Copyright 2011, Alion Science and Technology
*
* This library 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 Foun... |
7f4260cbb49ba3e6a182c62f9e84d270ac996f6f | fde0bdee8fbdbfc7a528bb01178110e698b87e20 | /filter.cpp | e001308f2ceceb2f81c207a691d2a7a82769789a | [] | no_license | gromakovski/Homework_2 | afeb58f716a07267d1c29eede9c65642648f6a9f | b6e0e0e55b133047c11caff18dce5aa1fea9af4e | refs/heads/master | 2020-04-17T18:17:59.832484 | 2019-06-16T14:09:34 | 2019-06-16T14:09:34 | 166,820,334 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,058 | cpp | filter.cpp | #include "filter.h"
#include "define.h"
std::vector<std::string> ip::set_subs (const std::string &str, const char end_subs)
{
std::vector<std::string> ip_adress;
std::string::size_type start = 0;
std::string::size_type stop = str.find_first_of(end_subs);
while(stop != std::string::npos)
{
... |
bdfb4ec9bdff320f623ba0b3b70d4936b3ff134c | 2250008ba0cbe0cd56a2cc2ef8516e748fe49750 | /Executive/Executive.h | a3a29b00a6d679a2d288f7be6df5e2873bb77a20 | [] | no_license | RohithEngu/Remote-File-ManagementSystem | 3aade558ff5b13fc5b7926a86e4e504280dbdd2d | 078a0656a0a6399645876774c6712722bc10bf78 | refs/heads/master | 2021-01-17T17:35:34.215555 | 2016-08-12T05:20:43 | 2016-08-12T05:20:43 | 65,524,734 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,869 | h | Executive.h | #ifndef EXECUTIVE_H
#define EXECUTIVE_H
/**************************************************************************************************
*FileName : Exectuive.h - Header file for Executing file Catalog.
*Author : Rohith Engu, SUID : 678923180, CE Fall'14, Syracuse University
* roengu@syr... |
975120ecf93f21d095f15baed80ea1817803d285 | 954ac366e5fe2052f771a312437ebba0c79568d5 | /include/hpp/core/nearest-neighbor.hh | 31bd4e82df609f75d70de4fc8c0f001c3a11b75e | [
"BSD-2-Clause"
] | permissive | nim65s/hpp-core | 040ef4da4d73171482ed938e3ecd4bc52f478f4e | e0363c599865bddc7150f0a984f1f0974e43d729 | refs/heads/master | 2023-01-23T14:18:33.820811 | 2023-01-18T14:54:18 | 2023-01-18T14:54:18 | 86,066,682 | 0 | 0 | null | 2017-03-24T12:40:19 | 2017-03-24T12:40:19 | null | UTF-8 | C++ | false | false | 4,197 | hh | nearest-neighbor.hh | //
// Copyright (c) 2014 CNRS
// Authors: Florent Lamiraux
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// 1. Redistributions of source code must retain the above copyright
// notice, this list of condit... |
1725237a3ce28ed25eeea944936023024b2787d7 | 857e12986cccde20e5b736a8b9bc46de1de89c14 | /ORDE/include/extraction/action.hpp | 452bab9897d2e80815e6177ee9e98f4ebbb2583d | [
"MIT"
] | permissive | zeFresk/osu-anticheat | 157a9bf4335b0132826f2097784a7d1870725ad5 | e6c9cc751cd17cf852897e6a6be60365d6c10cbe | refs/heads/master | 2021-01-12T11:47:26.743359 | 2016-10-08T17:16:50 | 2016-10-08T17:16:50 | 69,744,775 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 269 | hpp | action.hpp | /*
action struct
*/
#pragma once
#include "types.hpp"
namespace orde {
struct Action {
using w_t = Long;
using x_t = Float;
using y_t = Float;
using z_t = Integer;
Long time_since_last_action;
Float x_coord;
Float y_coord;
Integer pressed;
};
} |
48b157c25187a11e3bfa369208dfb0e0e39eef1a | e016b0b04a6db80b0218a4f095e6aa4ea6fcd01c | /Classes/Native/Mapbox_Json_Mapbox_Json_Linq_JTokenWriter2104426008.h | a2ff55e509e6330a2a59294f082698479fb3e62e | [
"MIT"
] | permissive | rockarts/MountainTopo3D | 5a39905c66da87db42f1d94afa0ec20576ea68de | 2994b28dabb4e4f61189274a030b0710075306ea | refs/heads/master | 2021-01-13T06:03:01.054404 | 2017-06-22T01:12:52 | 2017-06-22T01:12:52 | 95,056,244 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,891 | h | Mapbox_Json_Mapbox_Json_Linq_JTokenWriter2104426008.h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "Mapbox_Json_Mapbox_Json_JsonWriter1886137423.h"
// Mapbox.Json.Linq.JContainer
struct JContainer_t1655356485;
// Mapbox.Json.Linq.JValue
struct JValue_t987754451;
// Mapbox... |
ab539c6a219cb47b94362fbae3c46a84c1d63c74 | 60e7a2a198c6e42ab4288dfd2f596d04b5341f1f | /src/Jet.cxx | ce016bc70acc2cd87511c921188ecbed953cb1fe | [] | no_license | dguest/tagging-performance | 2a53c07d57dc96d8e09b2894b8f8d5d577aaba66 | 505b4d1b5eceea8c503803fb77611158a8f2e4f4 | refs/heads/master | 2021-01-01T17:28:29.300501 | 2015-11-20T14:11:08 | 2015-11-20T14:11:08 | 15,324,783 | 0 | 0 | null | 2014-01-11T16:39:05 | 2013-12-19T22:49:03 | Python | UTF-8 | C++ | false | false | 1,862 | cxx | Jet.cxx | #include "Jet.hh"
#include "TreeBuffer.hh"
#include "PetersBuffer.hh"
#include <cassert>
TagTriple::TagTriple() : pu(-999), pc(-999), pb(-999)
{
}
TagTriple::TagTriple(const TagVectors& buff, int index):
pu(buff.pu->at(index)),
pc(buff.pc->at(index)),
pb(buff.pb->at(index))
{
}
TagTriple::TagTriple(const TagA... |
f9625bffe7c593ea0924d917bc639d19a22bbfa9 | afec3b619926d18d7c5748c84a7873e82cbb8418 | /widget.cpp | 73a00347cba7ede0f3cd54b438fd02b3d8b4afe6 | [] | no_license | lianghuashow/FFmpegPlayerWithQt | 41aa5fd75cc4553c09b02d1a12ba09d2b347813a | b81c62eaccfe65755155cc32d4e6dc860fa5697b | refs/heads/master | 2023-02-08T05:32:59.930464 | 2020-12-31T01:47:53 | 2020-12-31T01:47:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 732 | cpp | widget.cpp | #include "widget.h"
#include "ui_widget.h"
#include <QTextCodec>
#include <QFileDialog>
#include <chrono>
#include <thread>
#include <string>
#include <stdio.h>
Widget::Widget(QWidget *parent)
: QWidget(parent)
, ui(new Ui::Widget)
,m_player(new MediaPlayer)
{
ui->setupUi(this);
}
Widget::~Widget()
{... |
1d745cd4ccd210bbf4524ccccd2051c2ffaa9fbe | 0e83634cde0fccede67f58640e6d94a3d0baf19e | /Source/GameRoomVR/GameRoomVR.cpp | 0ab617cb27015f2e10d1dc2839e857ae13dcff5b | [] | no_license | chadyo/GameRoomVR | 27821775943649643271e4513b351daca4cf1d49 | f02ce7d1b6d79e0309ec0460ad8c62e01cb5554f | refs/heads/master | 2021-01-01T15:59:51.870618 | 2014-06-07T15:17:50 | 2014-06-07T15:17:50 | 20,311,325 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 147 | cpp | GameRoomVR.cpp |
#include "GameRoomVR.h"
#include "GameRoomVR.generated.inl"
IMPLEMENT_PRIMARY_GAME_MODULE( FDefaultGameModuleImpl, GameRoomVR, "GameRoomVR" );
|
94fb931c9f49b623b3278f072562e90592e7761a | e088bf8de2dcc1205e999bb06074c9985ca32383 | /Chapter13/13.28.h | 951b0ec8d22fa9a56d3490051b872e47d1e66877 | [] | no_license | YsingYang/CPP-Primer-Practice | cc257b599d6f94d80eed71ada5dd4ac23c4f32c9 | 2d8e223e3c80ac12ec549a6e49a25d3e28789207 | refs/heads/master | 2021-06-13T09:30:36.515915 | 2017-04-17T12:59:46 | 2017-04-17T12:59:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 765 | h | 13.28.h | #include<stdio.h>
#include<iostream>
class TreeNode{
public:
/**
构造函数
*/
TreeNode():value(string()),count(0),left(nullptr),right(nullptr){}
TreeNode(TreeNode &rtn){
value = rtn.value;
count = rtn.count;
left = rtn.left;
right = rtn.right;
}
/**
... |
85a5b1dd8d6629246302666a7b285d0b3cde331f | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/CMake/CMake-gumtree/Kitware_CMake_repos_basic_block_block_1559.cpp | 55a8fdee9e690ee12755ea6c3943db5a497c7e0d | [] | 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 | 57 | cpp | Kitware_CMake_repos_basic_block_block_1559.cpp | (chain == 0) // Loop ran zero times.
regnode(NOTHING) |
4d178f57a7cfed1a801273d171cd65431c5b9c60 | ee9dff0e88086d32f1997006ec001b95afd84de5 | /Programowanie Obiektowe Laboratorium Nr 2 - 2/PoLab2-2/PoLab2-2.cpp | 8ef0197e2723cbc7fcf161b9a7b076c6b4e4e577 | [] | no_license | Kontekst/SemestII-Laboratoria-Projekty | df823268348b887631823d0f3622a7108f3db7fc | a8781950dba6109b7f9329f5e13c46071a289c6c | refs/heads/master | 2021-01-19T09:55:47.940869 | 2017-04-10T11:04:53 | 2017-04-10T11:04:53 | 87,800,206 | 0 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 2,060 | cpp | PoLab2-2.cpp | #include <iostream>
#include <fstream>
#include "stdafx.h"
#include "Biblioteka.h"
#include "KsiazkaC.h"
#include "KsiazkaCpp.h"
using namespace std;
int main()
{
ifstream wejscie("we.txt");
ofstream wyjscie("wy.txt");
if (!wyjscie) {
cout << "Blad otwierania pliku!!!!!!!!!" << endl;
}
if (!w... |
145f137d7bf4808622299105a4764653123d53ca | 4c1023e196133e0b7d4312bbc7e430796a35b6b1 | /Alte concursuri/ciclueulerian/main.cpp | 746cdc1260fc57e03289108fd6baa90f6ed48bfb | [] | no_license | PetreCatalin/Concursuri-Programare-Competitiva | 0551bd141b071b1224c1e5e81516cd2ec23b90ce | 58e355f73cb52f078e22284350c8ba197fe6fbca | refs/heads/master | 2021-01-23T00:39:48.827093 | 2017-05-31T10:56:21 | 2017-05-31T10:56:21 | 92,826,697 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 716 | cpp | main.cpp | #include <fstream>
#include <vector>
using namespace std;
vector <long int> v[1000];
long int n,m,i,x,y,nr,a[1000];
inline void df(long int x)
{
long int i,poz,j;
for (i=0;i<v[x].size();i++) {
v[x].erase(v[x].begin()+i);
for (j=0;j<v[v[x][i]].size();j++)
if (v[v[x][i]][j]==x) {poz=j;b... |
20a11d299ea94319afbde272bff45f39831fefc0 | 52ae9752c3c705afca3bf8ff2156d587a597503a | /GrottoEscape/GrottoEscape/GrottoEscape.cpp | 9c3eaff17f7caaca7bc23eb9edc786ea3b990500 | [] | no_license | madnotdead/GrottoEscape | be73f12c155240f7b2eed2d2ca59b4db2c215066 | 9cbf8a3a2268d43fd83959e2229967fdea99c9a0 | refs/heads/master | 2021-01-01T15:19:08.547807 | 2015-07-03T13:27:36 | 2015-07-03T13:27:36 | 33,523,124 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 176 | cpp | GrottoEscape.cpp | #include "stdafx.h"
#include "windows.h"
int main()
{
ShowWindow(GetConsoleWindow(), SW_HIDE);
Game* _game = new Game(800, 600);
_game->MainLoop();
return EXIT_SUCCESS;
} |
dd9efdcec07d7159fbebc61427ae56cc397bf4ba | 29cfe0006032574437bc0133eadf9637bfebc0f1 | /Spotlight/src/Spotlight/Core/Input.h | 0271e2369cfea4b675eacf8e06f6593bcfc53304 | [
"MIT"
] | permissive | JustARegularPlayer/Spotlight | 3b4be0a99944f1498a6d1b842307ffcf1ba6b0f6 | 248b1fd75a518ea5506a0929402afe9c8addd2dd | refs/heads/main | 2023-09-02T18:46:20.844135 | 2021-10-21T07:17:00 | 2021-10-21T07:17:00 | 394,851,107 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 856 | h | Input.h | #pragma once
#include "splpch.h"
namespace Spotlight
{
class Input
{
public:
inline static bool IsKeyPressed(int keycode) { return sm_Instance->IsKeyPressedImpl(keycode); }
inline static bool IsMouseButtonPressed(int button) { return sm_Instance->IsMouseButtonPressedImpl(button); }
inline static std::pair<... |
ec1405ae3f2ba415b8d80340d5a027077177746f | 1afd48f0afb2940c1512cccb9f1377a96384587e | /model.hpp | df915f01dfdd0217ed5901ea624ec2c16d20bb91 | [] | no_license | Walter0697/Imitator | b069cce18a299b3eda072e02e3590cb8e33bbb5a | 675e6794037e8811554a21e7060fc1fe72326ef2 | refs/heads/master | 2022-01-14T20:46:54.474407 | 2019-08-03T06:20:31 | 2019-08-03T06:20:31 | 100,320,379 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,508 | hpp | model.hpp | #pragma once
#include "updateable.hpp"
#include "player.hpp"
#include "bulletSet.hpp"
#include "enemyset.hpp"
#include "toolSet.hpp"
#include "Tools/shield.hpp"
#include "Tools/radShield.hpp"
#include "Mode/story.hpp"
#include "Mode/dropRate.hpp"
#include "Mode/record.hpp"
#include "collision.hpp"
class Model
{
pu... |
ec17ff3e90f81044e366117fcef3b818d5f0adad | 8dcf1a5808ac13a3c3e95d3dfc7299eee814e5e3 | /TD/TD/LightInfantry.cpp | 820e2f2c2fa41c72ca36acb21ee6e405a7e83337 | [] | no_license | SlaykSD/OOP_NEW | 5c49d06bfcb0a8b2e29519196dcd039063f32834 | 9d224e12cd5707c37fcce2bd3810acdb9882e1e0 | refs/heads/master | 2023-04-12T08:09:40.244641 | 2021-04-29T19:11:20 | 2021-04-29T19:11:20 | 299,862,256 | 0 | 0 | null | 2020-11-13T16:17:55 | 2020-09-30T08:53:53 | C++ | WINDOWS-1251 | C++ | false | false | 678 | cpp | LightInfantry.cpp | #include "LightInfantry.h"
LightInfantry::LightInfantry(std::list<sf::Vector2i> l) :Enemy(l,EnemyType::Light_Infantry)
{
sf::Rect <int> rect(0, 0, 64, 64);
sf::Image widget; //создаем объект Image (изображение)
widget.loadFromFile("data/light_infantry.png");//загружаем в него файл
widget.createMaskFromColor(sf::C... |
72f111ba352c2879fb0630bbcbfee4fbc55ad411 | 6e0c03a6b5fc05cf346eb392c48c48dfa1b280c7 | /Qt/VIsualHearingAid/DeviceDirection.h | 081e4e765e20684f551859af5d6ce60cec37c6b0 | [] | no_license | degeable/bachelor-thesis | 7ce40fee54c45a39b5c9f789af0e9510398fc31b | 570140186a82ca583bbd72aa0f5946d3c6ec0c7d | refs/heads/master | 2022-12-19T03:30:45.568097 | 2020-09-21T09:52:11 | 2020-09-21T09:52:11 | 297,292,885 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,275 | h | DeviceDirection.h | #ifndef DEVICEDIRECTION_H
#define DEVICEDIRECTION_H
#include <QObject>
#include <QDebug>
#include <iostream>
#include <QtSensors/QCompassFilter>
using std::cout;
using std::endl;
/**
* The CompassSensor class uses the QCompass class from the QtSensors
* module to retrieve the current azimuth values from the com... |
e52043c1c3554cf01ab0752a602832e2670c7f92 | 57f949c24d3ad70a35e5c4e10fb8a0962cef0fc9 | /Strings/RomanToInteger.cpp | c4155f07334e807e2806bbcd3c3c989522ce81c8 | [] | no_license | harshitmuhal/InterviewBit | 98eae44cb2eaa5484a30e2f5141873d8d82a7b5a | c1be2b214de85b64c3cea43024bfacdd1f7f7e11 | refs/heads/master | 2022-12-23T19:56:08.913716 | 2020-10-01T07:26:50 | 2020-10-01T07:26:50 | 265,763,901 | 0 | 1 | null | 2020-05-21T05:37:06 | 2020-05-21T05:37:05 | null | UTF-8 | C++ | false | false | 989 | cpp | RomanToInteger.cpp | /*
Given a roman numeral, convert it to an integer.
Input is guaranteed to be within the range from 1 to 3999.
Read more details about roman numerals at Roman Numeric System
Example :
Input : "XIV"
Return : 14
Input : "XX"
Output : 20
LINK: https://www.interviewbit.com/problems/roman-to-integer/
*/
int val(char c... |
38335f3dfc50333929de83a3bcf8fdebb7fc6e88 | c036e62d11520ad869994e6547aec40758e2f518 | /src/marsupial_node.cpp | 571ac25c5d5f36fb9fc4a428613a4db84d7f7387 | [] | no_license | wuyou33/marsupial_optimizer | 798f319f4dcc783c5a97fe568dc885754b9fafa9 | bc74480d9800fdea3982fa15f5e38039725fb5f5 | refs/heads/g2o | 2023-07-30T22:48:48.769160 | 2021-03-03T07:33:46 | 2021-03-03T07:33:46 | 411,654,734 | 1 | 0 | null | 2021-09-29T11:56:40 | 2021-09-29T11:56:39 | null | UTF-8 | C++ | false | false | 1,196 | cpp | marsupial_node.cpp | #include "marsupial.hpp"
#include "ros/ros.h"
#include <dynamic_reconfigure/server.h>
#include "marsupial_optimizer/OptimizationParamsConfig.h"
// ============= Global Variables ================
// =========== Function declarations =============
void dynamicReconfigureCallback(marsupial_optimizer::OptimizationPara... |
71bc6907da9278eb139439f3f80b551fd4b14f5e | a6589aad075014bca394c8f5385ba948443eada6 | /source/pepper/freelook_camera_controller.cpp | e855801428231f18caadb48f91a2fa75c8cef152 | [
"MIT"
] | permissive | omnigoat/shiny | ee6dbec6dd318297c0e57663a4ceee7b28859fc9 | e5ecaeaca7fdacf660939b2bb21de6e9f97b9463 | refs/heads/master | 2021-01-24T06:13:40.900853 | 2018-09-09T06:13:18 | 2018-09-09T06:13:18 | 7,682,780 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,246 | cpp | freelook_camera_controller.cpp | #include <pepper/freelook_camera_controller.hpp>
#include <fooey/events/mouse.hpp>
#include <fooey/keys.hpp>
using namespace pepper;
using pepper::freelook_camera_controller_t;
#pragma warning(disable: 4351)
freelook_camera_controller_t::freelook_camera_controller_t(fooey::window_ptr const& window)
: wind... |
9663f8325d330f12947e63170b991d3797a2c204 | ce451e155d7fca644780a7adacefc239c52fa7a3 | /lib/spd_nogit/shortest_path_decomposition/include/GraphWrapper.hpp | 69d0f038dd03465d2c363d336548c1ec5631e73f | [] | no_license | mooori/ba | 25f9d4215734f25a62128283ec0dd2e9ace95381 | 237cae137e584d97624830235e8b328c5c2c8911 | refs/heads/master | 2021-08-16T09:49:15.009723 | 2017-11-19T14:43:49 | 2017-11-19T14:43:49 | 110,585,651 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,394 | hpp | GraphWrapper.hpp | #pragma once
#include <stdlib.h>
#include <iostream>
#include <iterator>
#include <utility>
#include <string>
#include <queue>
#include <stack>
#include "Common.h"
#include "Path.hpp"
class GraphWrapper
{
public:
GraphWrapper(Vertex_Descr const vert_array[], const int sizeV, Edge const edge_array[], const int si... |
0d11bfd179902b203a559156259987bc22d6f854 | f90415d84bcc2789b518d5c95802bbc5a3dc8ce4 | /src/PSBase/PS3DMath.h | b55e2c98bcb14d7733eb40936cad7b925811dbfd | [] | no_license | Realitian/PowerSystem3D | 8df733a3efe8fdf9dd9d6cba4f8ad755dd7aaae5 | 248624b8d002f925c861bcbd62859aff198411cc | refs/heads/master | 2023-04-30T05:08:11.749659 | 2008-11-10T19:12:23 | 2008-11-10T19:12:23 | 367,035,341 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,540 | h | PS3DMath.h | #ifndef _PS_3DMATH_H_
#define _PS_3DMATH_H_
#include <assert.h>
#include <math.h>
#ifdef _WIN32
#include <limits>
#else
#include <limits.h>
#endif
#include <memory.h>
#include <stdlib.h>
#include <float.h>
typedef float ps_scalar;
#define ps_zero ps_scalar(0)
#define ps_zero_5 ps_scalar(0.5)
#d... |
6beb76a44a03a73d3fe987607a8318844afb06ce | 3b64a90159b5cce61226c96ae45c30126fb9a4ec | /source/Rectangular.cpp | 9f68f5b7678d910f38bb2b08776258fef5a7de76 | [] | no_license | xHeler/zad5_3-RafalSzyinski1 | 38616dda18df9c31c29a9635c2b9f99e634531bd | 9d7d7d8d9f31a40595f0a7e89f04d0afe7a91c50 | refs/heads/main | 2023-05-29T12:22:22.158305 | 2021-06-13T13:12:10 | 2021-06-13T13:12:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,067 | cpp | Rectangular.cpp | /**
* @file Rectangular.cpp
* Definition of Rectangular class
*/
#include "Rectangular.h"
#include <sstream>
#include <utility>
/// Single class constructor.
Rectangular::Rectangular(std::vector<double> _x, std::vector<double> _y, std::vector<double> _z, std::vector<double> _startPoint, std::string _color)
... |
ea82d93a27f048bd7ec21d38d6ba902139469f3b | 1d552838d392fbe3bf767e75d1a79685708c4641 | /app/src/main/cpp/soft/ljsdl_audio.cpp | ce56273b0337171b60ab2f7cee38c89fcdb1a838 | [] | no_license | MisterrWu/Splayer | 44aa3e54c98cc84123e424b551c642705b569173 | e4908011e3a71a4bce1bce865c47d5343e2a2d3b | refs/heads/master | 2020-08-15T10:34:08.532396 | 2019-10-25T07:02:23 | 2019-10-25T07:02:23 | 215,326,121 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,563 | cpp | ljsdl_audio.cpp | //
// Created by wh on 2018/1/16.
//
#include "ljsdl_audio.h"
int SDL_OpenAudio(SDL_Aout* aout,SDL_AudioSpec* wanted_spec, SDL_AudioSpec* spec){
int res;
spec->channels = 1; ///Number of channels: 1 mono, 2 stereo
spec->freq = 16000;
spec->format = SDL_AUDIO_S16; ///Audio data format
sp... |
fc3d95f42fd84829cde3cca47d4f4c6d5a8a8a03 | fdab372bdcea4b7c2da145648480667647e9d5ef | /artificialSweetner.cpp | bf503ffc6edf61f633903e89bb00c37d905f8969 | [] | no_license | AlissonRoss/CPP | 728abf95052395efb058de1199363848ab0e64ba | 509f828d889b964c6c949150f60bc69e77cc11bc | refs/heads/master | 2020-07-07T23:19:51.927892 | 2019-08-21T04:03:59 | 2019-08-21T04:03:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,882 | cpp | artificialSweetner.cpp | /*Alisson Ross
8/20/19
Artificial Sweetner problem to practice variables*/
//include a library for input/output
#include <iostream>
//standard namespace
using namespace std;
int main() {
//Declaring variables- Doubles are for decimal; integers are for whole numbers
int mouseDosage, mouseMass, canDeath;
d... |
dbc869d52c25354113d6d3e4e7427c7cd216b905 | 0be8bd65e0d9fd5ea4bf7be3419bd05be2d57d36 | /branches/SmartGis.1.1.vs08/src/SmtGeoCore/geo_geometry.cpp | e11638eecca51b895d66924b57742c25e15832cc | [] | no_license | jsccl1988/smartgis | d6b8018b115f43c6542c3156b63f187995a7920c | 6c5cbdbd3d939012eebb8bd19964815b60215bb4 | refs/heads/master | 2022-12-14T09:45:54.540512 | 2022-12-07T08:43:12 | 2022-12-07T08:43:12 | 55,857,404 | 4 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 2,579 | cpp | geo_geometry.cpp | #include "geo_geometry.h"
using namespace Smt_Core;
namespace Smt_Geo
{
SmtGeometry::SmtGeometry()
{
m_nCoordDimension = 2;
}
SmtGeometry::~SmtGeometry()
{
}
void SmtGeometry::SetCoordinateDimension( int nNewDimension )
{
m_nCoordDimension = nNewDimension;
}
int SmtGeometry::GetCoordinateD... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.