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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5137c63d05c5452bfebf7d1bbbb5298f8e9aed57 | d446c72ce3d4b477267e91f9fc93399a84077ec7 | /CourseWork/CourseWork/SystemOfLinearEquations.h | 6e91c1c7c11794cfd80bf09fbddad7af16f24e92 | [] | no_license | DjPetuhe/CourseWork | 87df58c31212d8ca91acc98ef5c1ae594e06f224 | b7e76ca49ea7be2679f3727f81569e8725e38f97 | refs/heads/main | 2023-05-05T21:06:29.039106 | 2021-05-21T22:26:28 | 2021-05-21T22:26:28 | 369,580,370 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 483 | h | SystemOfLinearEquations.h | #pragma once
#include <vector>
/*--------------------------------------------------------
Базовий клас для всіх інших методів ровз'язання СЛАР
--------------------------------------------------------*/
class SystemOfLinearEquations
{
protected:
std::vector<std::vector<double> > matrix;
std::vector<double> freeEl... |
57c07b0948db0dfd8c9d1b3e126db411a6c19f70 | 07faffad8639d6f0e162f2b9326c40b480d68f80 | /src/P2P/P2P_Impl.cpp | 913cee719c1e3287bef2f7c3e19bf8349968340e | [] | no_license | glomon/Node-Torrent | 5f558eeccf51beb4502938eb5ded3b8f4687f5d6 | 6d36a77eab426f8aadd1c45f8dbd359380c35d66 | refs/heads/master | 2023-07-15T15:48:40.271776 | 2021-09-03T11:50:32 | 2021-09-03T11:50:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,949 | cpp | P2P_Impl.cpp | #include "P2P_Impl.h"
#include "check.h"
#include "parallel_for.h"
#include "BlockedQueue.h"
#include "Thread.h"
#include "log.h"
#include "curlWrapper.h"
#include "ReferenceWrapper.h"
using namespace common;
namespace torrent_node_lib {
std::vector<Segment> P2P_Impl::makeSegments(size_t countSegments, size_... |
9bdc0be87c2d3c35019c19579083b278856ea76e | 7dd377461afe9badb9ea555783f84ae99e1fbc7a | /NC078_Reverse_Linkedlist.cpp | 5985949d371c12dabd3a4d3bfe034ea8d3638ecb | [] | no_license | nowacoder/cpp-nowcoder | 8ef049862e5c3d4b2088b1b5ca15affc8468f11c | 060ca07d4808c3311134181ec075586d93d5ae59 | refs/heads/main | 2023-02-01T10:09:33.186739 | 2020-12-20T15:45:30 | 2020-12-20T15:45:30 | 310,353,029 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 958 | cpp | NC078_Reverse_Linkedlist.cpp |
#include <iostream>
using namespace std;
struct ListNode {
int val;
struct ListNode *next;
ListNode(int x) :
val(x), next(NULL) {
}
};
class Solution {
public:
ListNode* ReverseList(ListNode* pHead) {
if (pHead==NULL) return pHead;
if (pHead->next==NULL) return pHead;
else {
... |
0483454fea316f73e15e22462a31400f738d74d7 | 46bdced06890f17f795c165b207f2b8f8b9fef5d | /src/plugins/gles1.1/include/GLRenderSystem.h | fec4e04b4ae2208aa4e76cd4cd974f482e27a998 | [] | no_license | zgpxgame/iEngine | 5a74faf5704f199166af538ffc8f1da6b353f0a0 | 25be7ca619dc750cc418e3faa7de88883d5cda6f | refs/heads/master | 2020-06-01T15:39:17.985636 | 2015-09-18T13:20:26 | 2015-09-18T13:20:26 | 4,594,111 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 9,160 | h | GLRenderSystem.h | /*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://ogre.sourceforge.net/
Copyright (c)2000-2002 The OGRE Team
Also see acknowledgements in Readme.html
This program is free sof... |
5ff093fabca7c80bb6324ee59590eeae3620710d | 910897c14199417383945bb6d593d73d38025ba1 | /src/pattern.hpp | ea9f5db663ad3f852ec332f420830b4e21029df7 | [
"MIT"
] | permissive | shevisj/cellular-automata | 963ad285835a283c598b0dbe481b920bc720acdd | 4a7c06d170bd230a7a1d84a4caee009909cbd123 | refs/heads/master | 2023-06-01T09:29:41.052256 | 2021-07-05T12:29:22 | 2021-07-05T12:29:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 228 | hpp | pattern.hpp | #ifndef PATTERN_HPP_
#define PATTERN_HPP_
#include "config.hpp"
#include "grid.hpp"
#include "types.hpp"
void load_pattern(const std::string filename);
void fill_grid(const uint row, const uint col, const uint length);
#endif |
41877ff3d7ac49758faad35acfba5a91f7a7bdc6 | fa40988fb899eadab8dac8946a1261d18d14dbe4 | /include/waflz/rqst_ctx.h | 7c3344da0eee2a172bb2b5c23dc117e59edd6c70 | [
"Apache-2.0"
] | permissive | umarfarook882/waflz | f0a0d864b553e8e3e4010e976c98bd13ee0e64ed | 7726597bdcca0db13dadb0c2fd557eff276d4813 | refs/heads/master | 2020-03-23T11:58:09.529417 | 2018-07-18T22:03:24 | 2018-07-18T22:03:24 | 141,528,996 | 1 | 1 | Apache-2.0 | 2018-07-19T05:34:56 | 2018-07-19T05:34:55 | null | UTF-8 | C++ | false | false | 6,880 | h | rqst_ctx.h | //: ----------------------------------------------------------------------------
//: Copyright (C) 2015 Verizon. All Rights Reserved.
//: All Rights Reserved
//:
//: \file: rqst_ctx.h
//: \details: TODO
//: \author: Reed P. Morrison
//: \date: 01/19/2018
//:
//: Licensed under the Apache License, Version 2.0 ... |
eb2c756c62c7d28b73674aff7a9766180c751855 | 2b9b51af42a5e594ca766e9dd27f48dc8d9de719 | /ec_ops.h | 3b07cb27582e52be9169729c1fc4ac5a2637304e | [] | no_license | xyaoinum/Elliptic_Curve_Cryptosystem | 6456423238ab110e32b7f9f2b63e2f979957ad5d | 5628b87a53bff13e5e18ba49cb49b84ca72fd18d | refs/heads/master | 2021-01-12T16:17:44.240905 | 2016-10-05T07:49:40 | 2016-10-05T07:49:40 | 70,040,017 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,034 | h | ec_ops.h | #ifndef ZP_H
#define ZP_H
#include <iostream>
#include <utility>
#include <gmpxx.h>
using namespace std;
/*
* Parameters for EC and transform into constants
*/
#define PRIME_STR "6277101735386680763835789423207666416083908700390324961279"
#define ORDER_STR "62771017353866807638357894231760590137671947731828422840... |
003e5836786c2ab24bcd0b403cf9e06afff8d86d | 0ce69de361c56ffd82a213a782ad0604ca787141 | /CSE329 Prelude to competitive coding/CSE329/10-Sept-2018/Prog1.cpp | 6b308b476b1c6ff71545ddc09f613b111795a792 | [] | no_license | Sandipghosh98/My_Programs | 842ac20134d1d0e6e9adb7d1613f8c82d0daa72a | a1a5041628b7d1a47223832c103c83c2a864af34 | refs/heads/master | 2020-06-13T02:33:18.381343 | 2019-06-30T10:26:16 | 2019-06-30T10:26:16 | 194,502,828 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,500 | cpp | Prog1.cpp | // Priority Queue using Linked LIst.
#include<iostream>
using namespace std;
#include<bits/stdc++.h>
struct Node
{
int data,priority;
Node *next;
};
Node *front = NULL;
Node *rear = NULL;
void enqueue(int data, int priority)
{
Node *temp = new Node;
temp->data = data;
temp->priority = priority;
... |
613bd1dfc1ef3da317393d8a14c7786ebb71048b | 50c906757f4f1da97db9dc08aa7577e7d192f0ae | /cf/568A.cpp | 2fbbdba1422427c93c9f9973227bcbd3e290046a | [] | no_license | dhruvkhattar/Algorithmic-Codes | 2f9d54521f552cf4f4c801a1524ab23f1c7904d4 | 0291832742a62865a8d74bb1a3401353fe1f70b2 | refs/heads/master | 2021-06-05T17:48:57.608905 | 2016-09-13T08:26:13 | 2016-09-13T08:26:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,936 | cpp | 568A.cpp | ///////////////////////////////////////
// Author : Dhruv Khattar //
/////////////////////////////////////
#include<bits/stdc++.h>
#define mod 1000000007
#define rep(i,j,N) for( int i=j ; i<N ; i++ )
#define rrep(i,N,j) for( int i=N-1 ; i>=j ; i-- )
#define si(i) scanf("%d",&i)
#define sl(i) scanf("%lld",&i... |
bd90f9042d699a95aa71fc681baff2d715318aa6 | 15058b243a352f2ff96e40b7e86803d7791cf94b | /lab_03_01_02/CCar.cpp | cd85ef2d8fdb10d6b451a59b64bef199f95bee59 | [] | no_license | arina-kaa/OOP | 5ffd24fefcfaf2fcfabc25fa5bb1135249b5e7c6 | 9b6ebfec0694b4c2490aeeba5d7733d6c85369e7 | refs/heads/master | 2021-01-04T01:40:22.394044 | 2020-10-03T20:42:38 | 2020-10-03T20:42:38 | 240,325,421 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,529 | cpp | CCar.cpp | #include "CCar.h"
bool CCar::TurnOnEngine()
{
if (m_isEngineOn)
{
return false;
}
else
{
m_isEngineOn = true;
return true;
}
}
bool CCar::TurnOffEngine()
{
if (m_isEngineOn && m_gear == 0 && m_speed == 0)
{
m_isEngineOn = false;
return true;
}
else
{
return false;
}
}
bool CCar::SetGear(int g... |
74024cf76481b2f2371525183751fecb4c5288da | c0916f15daa9b79fcd54414b13975d264f7bd546 | /trunk/datamodel/Node.hpp | f2a6aa450307cb440e19a8eb8d35e316a4ba3392 | [] | no_license | AlexeyMz/vehicle | 39fcdfa7e2a42084db3b38fda5c4f729ed7b9377 | ac5dd6ccdce09f9fa25d131430976d47d8e8f3ff | refs/heads/master | 2016-09-05T18:08:38.251858 | 2015-05-18T01:10:14 | 2015-05-18T01:10:14 | 34,189,997 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,948 | hpp | Node.hpp | #pragma once
#include <assert.h>
#include <iostream>
#include <vector>
namespace vehicle {
namespace core {
/**
* Тип узла И-ИЛИ дерева.
*/
enum class NodeKind { AND, OR, NONE };
template <typename Key, typename Value>
class AndOrTree;
/**
* Узел И-ИЛИ ... |
7e4b59cce49041d524df8c3881a5dd2b5b6b2114 | 8dce965557cd343e6dc942224fabb882ec6b2c10 | /src/core/TreeNode.h | 7de90b8741710a0882a6b26d5b81d496f2ecadf1 | [] | no_license | kishori82/LuitPad | b4e80da93a1780e98f9e219879c0e440a17e0c1e | c03238c50e5777131885ef57a8df4b2d8f18b1f4 | refs/heads/master | 2023-01-23T16:35:47.934210 | 2023-01-19T21:15:08 | 2023-01-19T21:15:08 | 130,424,080 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,811 | h | TreeNode.h | /*************************************************************************
# MIT License
Copyright (c) 2020 Kishori M. Konwar
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restri... |
1bae6828962e6bdcc762cee017f5d583feddd2a4 | 71599d9781f65a725e450208944c069a5b062358 | /poj/poj-2378.cpp | fa2f29083a71830c79a8e7afb846267a57bca837 | [] | no_license | shuangde/ACM-ICPC-Record | 74babe24f5fe13ea5b9d33b29de5af138eef54cc | 1f450d543e7c434af84c0dcaf9de752956aef94f | refs/heads/master | 2021-01-17T12:07:19.159554 | 2014-08-16T08:04:02 | 2014-08-16T08:04:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,182 | cpp | poj-2378.cpp | /**=====================================================
* This is a solution for ACM/ICPC problem
*
* @source : poj-2378 Tree Cutting
* @description : 树形dp
* @author : shuangde
* @blog : blog.csdn.net/shuangde800
* @email : zengshuangde@gmail.com
* Copyright (C) 2013/08/31 ... |
6f4a2b54159d699b04a35f2da850eb5adda4b7c2 | 07f74b6b77104ff521a18c646d11a2e5925272eb | /src/ImagePacker.h | 786c0af1c8885754b7d65c0c02330d98fc9304f2 | [
"MIT"
] | permissive | TheJare/imgp | 1e7930367fd32346adaebdd3c29723f68470d142 | 20f3c338374eb33051dd075b137d2c4cfde6ec00 | refs/heads/master | 2020-05-17T18:01:23.144968 | 2018-02-27T10:00:31 | 2018-02-27T10:00:31 | 13,546,002 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,066 | h | ImagePacker.h | /*
* Copyright (c) 2013, Javier Arevalo
* https://github.com/TheJare/imgp.git
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation ... |
124fb93ea2d64223d8c7b5bba37e11b33be8496a | 43ae1c7d5079fe327cf2921fd66ae6c07b235dee | /AssetLoaders/Sprites/SpriteLoader.cpp | 49e5938b2d849b17b30c5fc59ca2c19226892b0a | [] | no_license | WatcherWhale/SpaceInvaders | cbaba219f51a5418884b23fca316cea46544f821 | 1db1d9fe529f0841a819ea360956e03adc28d81f | refs/heads/master | 2022-11-06T07:04:16.979197 | 2020-06-22T08:28:17 | 2020-06-22T08:28:17 | 246,054,969 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 346 | cpp | SpriteLoader.cpp | #include "SpriteLoader.h"
using namespace SpaceInvaders::Assets::Sprites;
std::map<std::string, Sprite*>* SpriteLoader::getSpriteMap()
{
return &this->sprites;
}
Sprite* SpriteLoader::loadSprite(std::string path, bool optimize)
{
if(this->sprites[path] != nullptr)
{
return this->sprites[path];
... |
e14429f14bdc0f69a01de7d68508700a1ba7c36d | 0a255d0ed416a462bc52f906e9e5e17edfd4b54c | /simpleRosPublishSubscribe/include/header/globalConstants.h | 86c306d5c46c26b42bf56409bad79b4c7e1a6647 | [] | no_license | sameernegi17/simpleRosPublishSubscribe | 9e9452f3406c33564573eaf50110e0dc1d5b5d47 | ea1d0265184cfdd52d85d5ea5864c19e7ef72f5d | refs/heads/master | 2020-04-22T23:15:36.668918 | 2019-02-14T18:15:05 | 2019-02-14T18:15:05 | 170,735,026 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 200 | h | globalConstants.h | namespace velocity
{
const int max__linear_Velocity = 3;
const int min__linear_Velocity = -3;
const int max__angular_Velocity = 2;
const int min__angular_Velocity = -2;
}
const int queueSize = 1000; |
cdb8972d306b9c743e574513dee2a06b4ca91a30 | 4824f935b96721ac8747203cefbf6aedcb5258b7 | /src/Material.cpp | 7f6c11a0883ad5d8e20d896224f6cc8ef392d7ce | [] | no_license | renneSampaio/3DScene | 39fe834aa262439da4c78b2ac06d8c9e705f584a | 1bc391200db2bec0bb22096045bf11552e72ba33 | refs/heads/master | 2020-03-21T23:14:21.981914 | 2018-08-27T18:05:38 | 2018-08-27T18:05:38 | 139,174,956 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 980 | cpp | Material.cpp | #include "Material.hpp"
#include <GL/freeglut.h>
void Material::Apply()
{
glMaterialfv(GL_FRONT, GL_AMBIENT, &ambientColor.r);
glMaterialfv(GL_FRONT, GL_DIFFUSE, &diffuseColor.r);
glMaterialfv(GL_FRONT, GL_SPECULAR, &specularColor.r);
glMaterialf(GL_FRONT, GL_SHININESS, shininess * 128.0);
}
glm::vec... |
dcc77ae46a29343f5051ae716bbd2cfb1f9385de | 91abb7c16f79d82860646d8e433889fca52e1871 | /Compilers/Lex.cpp | c010e294815ee338768a65cc39553cd0768214cb | [] | no_license | utkarsht/Linux-Programs | 3fdcdb1e7554d2f333574ccd112969ac650093b2 | 64e81a8427faaa119a77d33375e3244c78fa48b4 | refs/heads/master | 2021-01-15T15:42:46.515697 | 2016-10-21T03:12:40 | 2016-10-21T03:12:40 | 51,085,507 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,088 | cpp | Lex.cpp | /*
9
if a + (b - c) *d;
if (i == 0) i++; else i--;
abc >>> cd;
bd // de
ab*=cd
ab;def-=gh
a f c + - * eg
df *9 ld !! ds
if else a -= c; d <>
*/
// add input above in one line and increment the count of test case
#include <bits/stdc++.h>
using namespace std;
vector<pair<string, string> > result;
... |
ab9830a77912615868abef3c374c4b103426287d | 16796ae29d632bc9ae517f611075751f3c320b2b | /class 11p/SourceXI083/Unit4/U4Chap05/U4ch5_31.CPP | 2a06998536a3dbe0dd5e905b8e5be7e859ab312a | [] | no_license | dsajwan98/C | 3006cd90bdcf22613c70c66abe79684494d2c211 | a1628c8d8686fd39282e014a95c002530f50ce3d | refs/heads/master | 2020-06-04T16:33:13.661744 | 2019-06-15T17:23:36 | 2019-06-15T17:23:36 | 192,105,260 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,343 | cpp | U4ch5_31.CPP | // Filename: \\SourceXI083\Unit4\U4Chap05\U4ch5_30.CPP
// This function search an element in an array using binary search
#include <iostream.h>
#include <conio.h>
int binary(float P[100], float data, int n)
{
int i, flag = 0, first = 0, last, pos = 1, mid;
last = n - 1;
while ((first <= last) && (flag == 0))
... |
9b5a892353b21093c4d10e5b8b55c1ba2420d271 | fb888025d44b5a799b57800861fcebc1fa8aa6d0 | /arduino/KandyBar/KandyBar.ino | 174f0ff85f1ef1b13f3a93fe69dbe1d58fa0c8ee | [
"MIT"
] | permissive | natjdyck/Kandy2 | 507f7013991931133fb4a0098c0b99c70ef1faa5 | 370e4870bccef425b580bc93328f0e3bcdb68207 | refs/heads/master | 2021-09-06T09:38:43.732026 | 2018-02-05T02:41:44 | 2018-02-05T02:41:44 | 119,678,333 | 0 | 0 | null | 2018-01-31T11:27:32 | 2018-01-31T11:27:32 | null | UTF-8 | C++ | false | false | 7,294 | ino | KandyBar.ino | #include "events.h"
#include "VeloKey.h"
#include "kandy_commands.h"
uint8_t mode = 0;
const uint8_t CLOCK_MODE = 0;
const uint8_t STANDBY_MODE = 1;
const uint8_t RACE_MODE = 2;
const uint8_t WAVE_MODE = 3;
const uint8_t N_MODE = 4;
// const uint32_t TIMEOUT_us = 10000; // timeout time in milisecs?
const uint32_t TIME... |
2bc8bc45507ffa7e257bccbef10e7890d240704a | 7c4b0cba70f5ae296e8bce61b586b396e59bcb8c | /protobuf/test1/build/test.pb.h | 2bb8f64560fe8428ce8a976eb44656b4677a42cd | [] | no_license | septicmk/experiment | ed83504dbd0b84d6635c78395ca29f64bd53b5e7 | 300b5740221053778e471383a05c48b10fba9650 | refs/heads/master | 2021-12-23T07:36:37.737002 | 2021-12-05T15:56:41 | 2021-12-05T15:56:41 | 70,545,989 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 33,422 | h | test.pb.h | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: test.proto
#ifndef GOOGLE_PROTOBUF_INCLUDED_test_2eproto
#define GOOGLE_PROTOBUF_INCLUDED_test_2eproto
#include <limits>
#include <string>
#include <google/protobuf/port_def.inc>
#if PROTOBUF_VERSION < 3018000
#error This file was generated by a ... |
8d47d2709290ddc09ba37d1f267ac86fbc48b596 | 4b2671bbf64246ad3739350aabfd97e58c8c917c | /Shade/src/Graphics/buffers/Vertex.h | 761ec965731b10078d03a7543f7d0335c42d5ec9 | [] | no_license | Przemog1/Shade | c78af744d22b55c99e42cf38948e4bcab7469653 | 03452ea7d26b76d218fcf5cd62a0eca3a508fdab | refs/heads/master | 2021-07-19T22:58:50.747956 | 2020-06-11T17:57:39 | 2020-06-11T17:57:39 | 175,986,528 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 179 | h | Vertex.h | #pragma once
struct Vertex
{
public:
float position_x;
float position_y;
float position_z;
float tex_u;
float tex_v;
float normal_x;
float normal_y;
float normal_z;
};
|
380ccb5530ffe59a56479257ebc316dbdc6a8279 | 66bfa5827cee4f00e3b17fb1b595382893fe8542 | /venus.cs.qc.cuny.edu/~alayev/cs211/code/lecture14/SquareRoot.h | 779f48f78700a11df59263b5f9ddbdb499862d5f | [] | no_license | brushstrokes/cs211 | 4059f3bd743cf0368fa590fd0852c43201e81c75 | 560d489b994d8403ffa42dda1609580072fa8fae | refs/heads/master | 2020-06-29T02:30:42.932237 | 2019-08-04T01:31:05 | 2019-08-04T01:31:05 | 200,412,361 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 441 | h | SquareRoot.h | // SquareRoot.h
// Demonstration of class SquareRoot, subclass example done in class
#ifndef SQUAREROOT_H
#define SQUAREROOT_H
#include "Number.h"
#include "IllegalNumber.h"
namespace Donath {
class SquareRoot : public Number
{
public:
SquareRoot();
SquareRoot(int, int) ... |
40c9a1f87fe004e3707b93688d84f89b6d92cb31 | 3058de21ed33db262d3cf611fc1281457b601528 | /test/t_network_alioss.cpp | 3a4a5014d728d207da0712c2ccc33f01dce5892f | [] | no_license | Armterla/GAIA | 6a24f1f421d5cdb84c7c9f3938bc70240bf92f02 | 7e2e78b0f33f3e209a7a1019bb2d810ca491ebbc | refs/heads/master | 2021-01-19T11:39:56.389573 | 2017-09-27T12:08:52 | 2017-09-27T12:08:52 | 82,270,136 | 2 | 5 | null | 2017-09-27T12:08:53 | 2017-02-17T07:33:26 | C | UTF-8 | C++ | false | false | 4,889 | cpp | t_network_alioss.cpp | #include "preheader.h"
#include "t_common.h"
namespace TEST
{
extern GAIA::GVOID t_network_alioss(GAIA::LOG::Log& logobj)
{
GAIA::NETWORK::Http http;
GAIA::NETWORK::HttpDesc descHttp;
descHttp.reset();
http.Create(descHttp);
http.Begin();
{
// Initialize aoa.
GAIA::NETWORK::AliOSSAccess aoa;... |
719a35077b1ce4a191b07fb011ce5c9b0c133177 | efc9c5d2ceaf102c7bf3b07645d58929c3444071 | /MatrixEngine/Matrix/Core/IO/DeviceListener/MouseEventListener.cpp | 21bf164dac10869d9580f34213e5cf5ec7895873 | [] | no_license | carloalbertobarbano/Matrix | b9db5d8f2bca497cc5069f7efc8dbdc71135d21e | cefed2ff82fdbf1496cee24ad2129127fa8c48b4 | refs/heads/master | 2021-01-21T04:42:58.087993 | 2021-01-13T10:25:03 | 2021-01-13T10:25:03 | 48,075,127 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 406 | cpp | MouseEventListener.cpp | #include "MouseEventListener.h"
void DeviceListener::MouseEventListener::OnMouseMove(glm::vec2 pos)
{
}
void DeviceListener::MouseEventListener::OnKeyPressed(int button, int x, int y)
{
Log::WriteOnStream("MouseEventListener::OnKeyPressed(): warning, using non implemented method in virtual class\n", Log::log_stream... |
0f01a686a0017bcd2b50ff0cdeed74d72c350a8e | 114777d8cc1ddf6f3905179e861ecd223b29779c | /whatsappServer.cpp | 35174d03790938ad0bcfd799a6b19b76c0659166 | [] | no_license | gabrielbh/whatsapp-implementation | 25b7d6e9e403e5845f75922fef6e103df6937a64 | d476a41c6b2bcacfe8319a7e054ab6e23fbbed72 | refs/heads/master | 2021-08-06T19:23:29.538190 | 2020-07-07T16:03:13 | 2020-07-07T16:03:13 | 197,423,795 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,303 | cpp | whatsappServer.cpp | /* A simple server in the internet domain using TCP
The port number is passed as an argument */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netinet/in.h>
#include <cstring>
//#include <zconf.h>
#includ... |
743c6b98cd290781d6271a2c8e68bb70b8a46fd9 | b08b7e3160ae9947b6046123acad8f59152375c3 | /Programming Language Detection/Experiment-2/Dataset/Train/C++/loop-over-multiple-arrays-simultaneously-3.cpp | 621e7118574cbdc033f4ca48a91faac3c30ac15f | [] | no_license | dlaststark/machine-learning-projects | efb0a28c664419275e87eb612c89054164fe1eb0 | eaa0c96d4d1c15934d63035b837636a6d11736e3 | refs/heads/master | 2022-12-06T08:36:09.867677 | 2022-11-20T13:17:25 | 2022-11-20T13:17:25 | 246,379,103 | 9 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 518 | cpp | loop-over-multiple-arrays-simultaneously-3.cpp | #include <iostream>
#include <vector>
int main(int argc, char* argv[])
{
auto lowers = std::vector<char>({'a', 'b', 'c'});
auto uppers = std::vector<char>({'A', 'B', 'C'});
auto nums = std::vector<int>({1, 2, 3});
auto ilow = lowers.cbegin();
auto iup = uppers.cbegin();
auto inum = nums.cbegin... |
6a764cd14876c4402323d8df6451fee5d49bddcc | a303aef39ce672a7d450ea7fba3f7eb618b40024 | /src/x86generator.cpp | d83d7e61b2a6d4b39a843378c7c19382e07264a5 | [] | no_license | kng-lang/compiler | 9585ed69eeaca1bedc9d9151a2c4442dbdb4c3ee | f87494d99a2fc19e6d76fcf65be9dd9bd6b9310e | refs/heads/master | 2023-02-22T20:11:19.213016 | 2021-01-27T13:32:36 | 2021-01-27T13:32:36 | 320,788,647 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,228 | cpp | x86generator.cpp | #include "x86generator.h"
void x86Generator::generate() {}
void* x86Generator::visit_program(ProgramAST* program_ast) { return NULL; }
void* x86Generator::visit_stmt_block(StmtBlockAST* stmt_block_ast) { return NULL; }
void* x86Generator::visit_stmt_expression(StmtExpressionAST* stmt_expression_ast) { return NULL; }
v... |
fc46a4ebafa560e8c97301a56b4097c3b744d05e | d37294afac67bdeef3956e7da6f276a9c8ee23de | /lqiolib/src/headers/lqio/dom_entry.h | 4cd22456657d29272b60f13d1de34900a63eea85 | [] | no_license | layeredqueuing/V5 | 62c1eef57ba1f15ebd2a15f29abff6beea4f56f6 | 93dac0b75fd4da2dfa8d3cd64eb0b76dda3cf249 | refs/heads/master | 2023-08-31T15:38:49.476637 | 2023-08-22T11:42:01 | 2023-08-22T11:42:01 | 35,963,769 | 15 | 8 | null | null | null | null | UTF-8 | C++ | false | false | 16,812 | h | dom_entry.h | /* -*- c++ -*-
* $Id: dom_entry.h 16771 2023-07-05 20:35:46Z greg $
*
* Created by Martin Mroz on 24/02/09.
* Copyright 2009 __MyCompanyName__. All rights reserved.
*
*/
#ifndef __LQIO_DOM_ENTRY__
#define __LQIO_DOM_ENTRY__
#include <map>
#include "dom_object.h"
#include "dom_entity.h"
#include "dom_call.h"
... |
0e7c8cf7206164f8f1335ccd074f22ad0146a8a8 | a2c77d72b739e82aeb91e49e7d9b61b520a46eb2 | /04_display_by_i2c_lcd1602/04_display_by_i2c_lcd1602.ino | 9b70fa7d4de3be6448d06bcd1a5a44a9c3973a50 | [] | no_license | m18618368603/arduino-example-code | 8485a70b5c468f277611a91e6161b16f40b08f17 | a0efa5b82a337750601e81943bd6310d06b9d883 | refs/heads/master | 2021-09-02T04:05:22.193644 | 2017-12-30T06:41:06 | 2017-12-30T06:41:06 | 115,504,680 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 868 | ino | 04_display_by_i2c_lcd1602.ino | /**
测试样例:LCD1602+IIC 芯片显示测试程序
说 明:IIC芯片控制LCD1602显示器,非Arduino直接控制
版 本 号:1.0
作 者:田辛
日 期:2017年12月30日
*/
/* 引用库 */
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
/* 接脚定义 */
/* 全局设定 */
/* 声明LCD的初始化端口及行列 */
LiquidCrystal_I2C lcd(0x3F,16,2);
/* 初期化 */
void setup()
{
/* 初期化LCD */
lcd.init()... |
4acc2d4ec6eb927e6ca82eb1f0b50f81075614fc | d514c0a04d495962e760f2e2e0a7902c7ffda6a3 | /分治法解决格雷码/分治法解决格雷码/源.cpp | 28ed2d3c2dda3a381f73ef84037b885d7cff5548 | [] | no_license | anothu/c-plus | a487a5e003b9eafeafc56ff977abd7b96a80d320 | e4e13f88767bb7828acca18eb8e9fcce3c826bee | refs/heads/master | 2020-07-05T05:45:38.382171 | 2019-08-15T14:23:14 | 2019-08-15T14:23:14 | 202,542,223 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 818 | cpp | 源.cpp | #include<iostream>
#include<fstream>
#include<math.h>
using namespace std;
int arr[1024][1024];
void gray(int a, int b)
{
if (b == 1)
{
arr[0][0] = 0;
arr[1][0] = 1;
return;
}
for (int i = 0; i<a / 2; i++)
{
arr[i][b - 1] = 0;
arr[a - i - 1][b - 1] = 1;
}
gray(a / 2, b - 1);
... |
fa8eb35285320ddea3e9e76404e5f0dfa7a4fed4 | cb8c337a790b62905ad3b30f7891a4dff0ae7b6d | /st-ericsson/multimedia/video/components/jpegdec/arm_nmf/parser_dual/inc/parser_dual.hpp | 5a026f886953eb0083e9dcbfae86539478a0210a | [] | no_license | CustomROMs/android_vendor | 67a2a096bfaa805d47e7d72b0c7a0d7e4830fa31 | 295e660547846f90ac7ebe42a952e613dbe1b2c3 | refs/heads/master | 2020-04-27T15:01:52.612258 | 2019-03-11T13:26:23 | 2019-03-12T11:23:02 | 174,429,381 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,064 | hpp | parser_dual.hpp | /*
* Copyright (C) ST-Ericsson SA 2010. All rights reserved.
* This code is ST-Ericsson proprietary and confidential.
* Any use of the code for whatever purpose is subject to
* specific written permission of ST-Ericsson SA.
*/
#ifndef PARSER_DUAL_HPP_
#define PARSER_DUAL_HPP_
#include "JPEGDec_ARMNMF_Parser.h"... |
5cc3b14e26b375af51afb2f7cb62da40ce18edaf | 60168140501a586512c64b6336492a59a40a19fe | /1035 - Robot Motion/p1035.cpp | 1758e84ecccb37da3ee9e548b732c378dd3cfb1d | [] | no_license | thnkndblv/HDU-Online-Judge | 347a3ff7d4f39bfa0223f4c3fa4d1fb9eda3d7b5 | 83b7b0005f081b8cebdd1e5e45229e100c4565ad | refs/heads/master | 2020-06-29T01:38:17.624544 | 2012-08-14T01:52:30 | 2012-08-14T01:52:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,208 | cpp | p1035.cpp | #include <stdio.h>
#include <memory.h>
char grid[ 15 ][ 15 ];
int step[ 15 ][ 15 ];
int mov[][2] = {{-1,0},{1,0},{0,1},{0,-1}};
int dir(char d)
{
if ( d == 'N' ) return 0;
if ( d == 'S' ) return 1;
if ( d == 'E' ) return 2;
if ( d == 'W' ) return 3;
return 0;
}
int main()
{
int R, C, Ci;
... |
bd987dc5f44df7efd6ab2e073efc5512d72197b6 | a9aa781323fea9d91d08385e172690186d609dd7 | /mkFit/SteeringParams.h | 8897e2510d5e0b2d8c79b52244d97625b6f345b3 | [] | no_license | tresreid/mkFit | 3a5df7e5af35e07eaae65f2264da6a7810e71744 | fcea07f1507a3c2a96a46876ce4bc9c1bec06361 | refs/heads/devel | 2020-07-15T00:07:57.635288 | 2020-02-20T00:28:44 | 2020-02-20T00:28:44 | 199,905,572 | 1 | 0 | null | 2019-08-19T15:57:49 | 2019-07-31T18:03:25 | C++ | UTF-8 | C++ | false | false | 3,153 | h | SteeringParams.h | #ifndef SteeringParams_h
#define SteeringParams_h
#include "Matrix.h"
namespace mkfit {
class LayerInfo;
class CandCloner;
class MkBase;
class MkFitter;
class MkFinder;
#define COMPUTE_CHI2_ARGS const MPlexLS &, const MPlexLV &, const MPlexQI &, \
const MPlexHS &, const MPlexHV &, \
... |
73269c79b6f2015c8f0bd2b012e5f4b0f812cb33 | b24394e315d617e5fb116feb08f8cc25dddf23de | /cpp/semc-cpp-sample/libs/Generic/Pointer/Jump.cpp | 6abd788e1e3844cc83b09aa5900faeea4d80d7a4 | [] | no_license | alphazygma/semc-sample | 88af205e860e488b5a36b91d7a22592e52176ec1 | d779ff6130b7dbdb60146d14b2a62860fa2348de | refs/heads/master | 2021-01-16T18:18:17.707538 | 2017-08-13T05:52:56 | 2017-08-13T05:52:56 | 100,059,079 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,259 | cpp | Jump.cpp | #include <iostream>
#include <cstdio>
#include "Jump.hpp"
using namespace std;
using namespace Generic::Pointer;
// ---------------------------------------------------------------------------
// Implementing private methods
void Jump::_printPrompt() {
puts("---------------------------------------");
puts("C... |
43e4375c0fa9cff0e621ae11521c5c9ba5b4acee | f7045b57763ebc5a664ff5d5e9fa046d59c2c224 | /sdk/DockletSDK.cpp | b3364248cd333a6f4f3bceb70a78374e8bd035b9 | [
"BSD-2-Clause"
] | permissive | zephyrer/rxmdocklet | e48987aca25a91f952c97e10075cfdc75de7b434 | 56833ae154c10c057c8038bc08ff484c9188f690 | refs/heads/master | 2020-03-30T23:07:07.103979 | 2017-09-23T22:47:37 | 2017-09-23T22:47:37 | 151,691,081 | 1 | 0 | BSD-2-Clause | 2018-10-05T08:20:56 | 2018-10-05T08:20:55 | null | UTF-8 | C++ | false | false | 7,043 | cpp | DockletSDK.cpp | #include <windows.h>
#include "DockletSDK.h"
BOOL DockletIsVisible(HWND hwndDocklet)
{
typedef BOOL(__stdcall *DUMMY_TYPEDEF)(HWND hwndDocklet);
DUMMY_TYPEDEF HostDockletIsVisible = (DUMMY_TYPEDEF) GetProcAddress(GetModuleHandle(NULL), "DockletIsVisible");
if(!HostDockletIsVisible)
return FALSE;
return HostDoc... |
d2a9b01ec42e43f0085aeb04d4d9a9a91be3a24c | 4d249366f34d123ff4ef51fabfc409989999046c | /src/QuadTreeNode.h | d605429f065f825529def671f4eada8190be8ef7 | [] | no_license | Nuos/Terrain-Renderer | d89e12071db5c5cdd9b1797b9146ea077efc2c7e | 433f036ea926d5a945435453397859735265742d | refs/heads/master | 2020-12-31T05:24:40.920549 | 2015-09-23T03:25:38 | 2015-09-23T03:25:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 700 | h | QuadTreeNode.h | #ifndef QuadTreeNode_h
#define QuadTreeNode_h
#define HEIGHTMAP_SIZE 32
class QuadTreeNode {
public:
QuadTreeNode();
int heightmap[HEIGHTMAP_SIZE][HEIGHTMAP_SIZE];
QuadTreeNode *tlNode;
QuadTreeNode *trNode;
QuadTreeNode *blNode;
QuadTreeNode *brNode;
QuadTr... |
fdb6d0da7b2e365f570f2d496d3cf7de5733db81 | 2351c922fbee24a3856d885fc70263dae58a9eb0 | /src/princekin/thread/replay/replaycontroller.cpp | 7307856bb233e7dfe1fe4ba5f09e83d2ec2a3132 | [] | no_license | waitMonster/android | dc4298c9e4827389e24782a9dfa33c7dab84eae1 | 6f9b223ba330ff3bb22e048348df1309930c31b0 | refs/heads/master | 2021-08-16T15:42:39.163958 | 2017-11-17T10:47:20 | 2017-11-17T10:47:20 | 111,359,369 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,950 | cpp | replaycontroller.cpp | #include "replaycontroller.h"
namespace ReplayController
{
Controller::Controller()
{
}
void Controller::setDeviceId(const QString &arg_text)
{
qDeviceId=arg_text;
}
void Controller::setFirstLevelDirName(const QString &arg_text)
{
qFirstLevelDirName=arg_text;
}
void Controller::setSecondLevelDirName(const... |
7a5c8eba272ca98083b1b54e2362b6d81f535fba | 6a480dda377698b9b05c3c9005d43e29ac820d75 | /Modulo-Consultorio.cpp | a1961e9500cc91c02b6f0ddb41e1c86de31018ce | [] | no_license | BeluMartinez/Veterinaria | 402b72e0f7f7e8109d67b53dfbae13dacea37fbc | 2071552cfe60eba2059164ba9e0fc9ffdc836756 | refs/heads/main | 2023-03-08T13:02:05.133014 | 2021-02-16T00:36:29 | 2021-02-16T00:36:29 | 320,703,439 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,672 | cpp | Modulo-Consultorio.cpp | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "Lib-Struct.h"
typedef char cadena[45];
FILE *usuario;
//FILE *ArchVet;
FILE *mascotas;
FILE *turnos;
/*struct Usuarios
{
cadena usuario;
cadena contrasenea;
char ApellidoyNombre[60];
};
struct Veterinario
{
char Ap... |
1c376445f97401bf599493177b086c8a6c737115 | fcf92f562434a3dda58e40e78b610f3385eef7f2 | /dir16/1605/1605.cpp | 64a6acb99152ca848e478d68b9cefbe9746076a3 | [] | no_license | TestGoing/CPP | 4bc1d2ece492d7a7d480f7e33d524ead0bca74e5 | 001a99bfe574813f81ec71c1d9104a25ac85bbf6 | refs/heads/master | 2020-03-27T02:32:51.814844 | 2019-01-08T09:25:04 | 2019-01-08T09:25:04 | 145,797,589 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,348 | cpp | 1605.cpp | #include <iostream>
#include <algorithm>
#include <numeric> //accumulate is defined here
#include <array>
#include <iterator>
using namespace std;
bool greater9(int); //predicate function prototype
void outputSquare(int);
int calculateCube(int);
int main()
{
const size_t SIZE = 10;
array<int, SIZE> a1 = {1, 2,... |
954704aea24a2379c0ecd4c82dabce257eb9bf33 | d5f2f1fd8e5ab1d57364d01ca413ad1dc966d359 | /EX4_CPP/exceptions.h | 80095d2457095f48603dd655264ab3d8ef41a125 | [] | no_license | oshrinuri/Introduction-to-Systems-Programming-234122 | 83c5fb82ccdd071296c069f9339aff75ab647119 | 1755e491d04a0ffcc74f6fab319405fcbfa34e19 | refs/heads/master | 2020-04-20T01:07:49.446350 | 2019-01-31T14:22:33 | 2019-01-31T14:22:33 | 168,537,145 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,886 | h | exceptions.h | #ifndef EXCEPTIONS_H
#define EXCEPTIONS_H
namespace mtm {
class MtmException {};
class KGraphExcpetion : public MtmException {};
class KGraphKeyNotFoundException : public KGraphExcpetion {};
class KGraphKeyAlreadyExistsExpection : public KGraphExcpetion {};
class KGraphIteratorReachedEnd : public KGraphExcpetio... |
f044772ce6e87e89418fcbf5521c8fc69a445be8 | f40a9ea8fcc5cf34e132181aed9076978161dc45 | /mba/cpp/src/realtime_api/posix/livapi_rt_debug.cpp | 2bb0a2239edb3227edbe09c2bebb66ca72868281 | [] | no_license | azeroman/Livingstone-2 | 7cb7373e58457ab09f979a966eed2ae043285dee | c422a8264900860ff6255c676e254004766486ec | refs/heads/master | 2022-04-12T20:35:36.050943 | 2020-04-08T14:58:50 | 2020-04-08T14:58:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,881 | cpp | livapi_rt_debug.cpp | /***
*** See the file "mba/disclaimers-and-notices-L2.txt" for
*** information on usage and redistribution of this file,
*** and for a DISCLAIMER OF ALL WARRANTIES.
***/
// livapi_rt_debug.cpp
#include <realtime_api/posix/livapi_rt_debug.h>
#include <time.h>
#include <unistd.h>
extern unsigned int get_command_ti... |
a9b3287a84a3011da76eb642e397f5cdaab8e6f5 | c693952fcdd5553cfdc83cd9405ebf62b8b6e3d6 | /USACO/Greedy Gift Givers.cpp | d89b381e895f5d4ba4ea53298d4d7c4f26094aa0 | [] | no_license | evonloch/Competitive-Programming | a4a472c830bdcc5a8e96fd4845efd8c77bb3ba10 | 7ce89f2f14c2a71f4d4774fa9de9d9aa35c181be | refs/heads/master | 2021-01-11T01:47:39.936778 | 2017-07-21T15:32:02 | 2017-07-21T15:32:02 | 70,666,077 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,016 | cpp | Greedy Gift Givers.cpp | /*
ID: evonloc1
LANG: C++11
PROB: gift1
*/
#include <bits/stdc++.h>
using namespace std;
int main()
{
freopen("gift1.in","r",stdin);
freopen("gift1.out","w",stdout);
string s1,s2;
int np, giv , n,x = 0;
map<string,int> mp;
vector <string> st;
cin>>np;
for(int i=0;i<np;i++)
{
cin>>s1;
... |
6bddf9dbb8ca7f4079128cf6e689a1c600a80a1d | c1b03b59b3974058e3dc4e3aa7a46a7ab9cc3b29 | /src/module-wx.new/generated/Class_wx_RichTextBox.cpp | c9bcd68462455968c877e2a47226655e494b5d89 | [] | no_license | gura-lang/gura | 972725895c93c22e0ec87c17166df4d15bdbe338 | 03aff5e2b7fe4f761a16400ae7cc6fa7fec73a47 | refs/heads/master | 2021-01-25T08:04:38.269289 | 2020-05-09T12:42:23 | 2020-05-09T12:42:23 | 7,141,465 | 25 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,774 | cpp | Class_wx_RichTextBox.cpp | //----------------------------------------------------------------------------
// wxRichTextBox
//----------------------------------------------------------------------------
#include "stdafx.h"
Gura_BeginModuleScope(wx)
//----------------------------------------------------------------------------
// Gura interfaces... |
41f407d81bbdd808b30736afea7de2c6183824f2 | a30a020298a5e9e571e83c8af6503c5ac69abd19 | /include/falcon/core/FalconGrip.h | cbf876a2b3a3d56b1b2d49be008348314e473626 | [] | no_license | vsanchez/libnifalcon | 69d3adf89ce245846233115f1339a6fca4658f7b | dbdb8e3ff9cb7fa00389fd4ed83fe409e8e5bc9c | refs/heads/master | 2021-01-16T19:54:30.051937 | 2009-04-17T22:04:46 | 2009-04-17T22:04:46 | 177,636 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,266 | h | FalconGrip.h | /***
* @file FalconGrip.h
* @brief Base class for grip definition classes
* @author Kyle Machulis (kyle@nonpolynomial.com)
* @version $Id$
* @copyright (c) 2007-2008 Nonpolynomial Labs/Kyle Machulis
* @license BSD License
*
* $HeadURL$
*
* Project info at http://libnifalcon.sourceforge.net/
*
*/
#ifndef F... |
b7e7630af813a4dfb178a1e1f659d359063769e1 | 6e6bb97cf23994c0d00b9ebd4b70190e44304772 | /Ex4_1/Ex4_1View.cpp | 3c3e0e28b5b791c62f3ea63860cb658f5d62bf68 | [] | no_license | niu925/Ex4_1 | 64542952b06c67d6fd83c958323d15f670b70c97 | ca9400c75d159b95f4befaab8a93fabb9795ec4d | refs/heads/master | 2021-03-12T23:56:38.404438 | 2014-11-19T10:24:54 | 2014-11-19T10:24:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,445 | cpp | Ex4_1View.cpp | // Ex4_1View.cpp : implementation of the CEx4_1View class
//
#include "stdafx.h"
#include "Ex4_1.h"
#include "Ex4_1Doc.h"
#include "Ex4_1View.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
///////////////////////////////////////////////////////////////////////////... |
c59922bee1a27ccdfb90788a81a61ed17bed35ac | e225dcff73ffe7d430b1520cc800c06ca16f41e0 | /Example/10.LED_RGB_PWM/LED_RGB_PWM/LED_RGB_PWM.ino | d3d8b2f0a89db4a42dcefdccd71dc626e86e5b23 | [] | no_license | makersenses/SensesWeizen | 0e5505931ba3eeddee5e15b82cf7b5d4ce692e54 | c440d9a65f67a709ca48a30611a878b2d14a51cd | refs/heads/master | 2020-12-23T16:46:48.081431 | 2020-08-31T01:46:38 | 2020-08-31T01:46:38 | 237,208,043 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,006 | ino | LED_RGB_PWM.ino | const int greenPin = 32;
const int redPin = 26;
const int bluePin = 13;
// setting PWM properties
const int freq = 5000;
const int ledChannel = 0;
const int resolution = 8;
void setup(){
// configure LED PWM functionalitites
ledcSetup(ledChannel, freq, resolution);
// attach the channel to the GP... |
2f00860f998b175631024b5bd1971d2f24c935d8 | e29cb9298418c4eb1f64aaf0e78c8a2c6b6e73fc | /Classes/Trigger.cpp | 9c2f304c1099b4d17df5162723fe4e7167531b32 | [] | no_license | dlakwwkd/WeaponCook | d751d11f8f5e0395682b3a67b40a95d455e8e983 | 5c9eb2bec005c2328fed314f389247553f256cee | refs/heads/master | 2020-06-05T18:36:36.517494 | 2015-06-15T05:28:19 | 2015-06-15T05:28:19 | 37,359,021 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,191 | cpp | Trigger.cpp | #include "Trigger.h"
#include "GameManager.h"
#include "Player.h"
#include "UILayer.h"
#include "Unit.h"
#include "GameOverScene.h"
#include "SimpleAudioEngine.h"
USING_NS_CC;
Trigger* Trigger::s_Trigger = nullptr;
Trigger::Trigger()
{
}
bool Trigger::init()
{
return true;
}
Trigger::~Trigger()
{
}
Trigger* ... |
5b6c75c8f562013d77bc4a193a6000c8517a8f2d | 530bd5dea8b31b1a72fd98b24e29cb8895a7a48e | /Arduino/codigo_radar_definitivo.ino | 8e08a654c4d2ca22ef61123f28ef7eb89d4b2c86 | [
"MIT"
] | permissive | thiagoamicis/rcs_lidar | 274f73986d8c8fdd99d2360de069fe36a2d3da4a | 73339d698a6f296f7dfb75c9759a59975e815ce3 | refs/heads/master | 2022-12-04T20:54:45.978224 | 2020-08-27T14:00:06 | 2020-08-27T14:00:06 | 290,643,303 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,211 | ino | codigo_radar_definitivo.ino | /* Codigo para o funcionamento do radar com os motores de passo
NEMA 17 e um sensor LIDAR.
O fuso utilizado eh um TR-8, com avanço de 0.04mm/passo
O passo do motor eh de 1.8 grau (200passos = 1 volta completa)
Para o funcionamento, posicione o objeto a ser analisado em um
apoio sobre a mesa e posicione o radar mi... |
569d2061a55a79fde544e4bfd0264ea3e6288edb | 0545944a2c3472ed2ced44c4321a500565531539 | /include/plate_detectors.h | d56013a89456ac5846c1c1e3aed58cef6670ae7f | [] | no_license | jia0511/mobile-lpr | 31ebb902db17a96229b66e6daf07d4078ee272da | a61f7d5bf3f3dfc7c1e4a73d50c6436234936495 | refs/heads/master | 2023-03-10T02:07:20.244185 | 2021-02-24T11:31:56 | 2021-02-24T11:31:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,785 | h | plate_detectors.h | /**
* @author damone (xiang.wei.zeng@qq.com)
* @brief
* @version 0.1
*
* @copyright Copyright (c) 2020
*
*/
#ifndef PLATE_PLATE_DETECTORS_H
#define PLATE_PLATE_DETECTORS_H
#include "detector_creator.h"
namespace pr{
static AlignPlateDetectorConfig float_align = {
"det3.param",
"det3... |
5d68d5e312c279aad529f1b73aaa7399cfa3d700 | 30e8e631f9eac055f6ae69648fd824b438264921 | /DelqaTrack/blocks/PretzelGUI/src/pretzel/PretzelGlobal.cpp | f538e7e7d32bb2f804a4a701d9fcb8cb44a7c2a7 | [
"MIT"
] | permissive | cwhitney/DelqaTools | 686a3ed2f9635ac74e3c7526ec2464c67c2ab569 | 23c67dd10bbf18fe865c27df407007e3b14dd839 | refs/heads/master | 2021-01-02T09:33:03.933196 | 2018-11-05T17:43:26 | 2018-11-05T17:43:26 | 40,666,048 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 11,869 | cpp | PretzelGlobal.cpp | //
// PretzelGlobal.cpp
// BasicSample
//
// Created by Charlie Whitney on 2/21/14.
//
//
#include "PretzelGlobal.h"
using namespace ci;
using namespace ci::app;
using namespace std;
#if defined( CINDER_MAC )
#import <AppKit/AppKit.h>
#endif
namespace Pretzel {
PretzelGlobal* PretzelGlobal::mInstance = NULL;
... |
c6120e0ed1c7c9a24d6cdc20ec71b5575d433ce8 | d7015a9aca438731e58b24cd5ec5cee974b75271 | /fleet.h | f9894946bed8d8d859aeef25296982d70820f873 | [] | no_license | zvold/planetwars-bot-cpp | 22faec56e665e7f23ab9ced1856cfa18185ac87b | 58e9a8041a6cf2bd47d966f5adc26e979e9f5cdb | refs/heads/master | 2020-03-31T00:31:16.099579 | 2010-12-04T10:36:47 | 2010-12-04T10:36:47 | 1,137,650 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 447 | h | fleet.h | #ifndef FLEET_H
#define FLEET_H
#include "utils.h"
#include "race.h"
class Fleet {
private:
Race _owner;
ships_t _ships;
plid_t _to;
turn_t _eta;
public:
Fleet(Race owner, ships_t ships, plid_t to, turn_t eta);
turn_t eta() const {return _eta;}
Race owner() co... |
6009f69bc09e527d8b93f351c66e3608404b5ce5 | 245092e11e5964fd305f88ad9f241fb52554ff11 | /duplicates.cpp | b93dbe98771c686f7860ba2b83a85c0e73d0377a | [] | no_license | harshika09/Cp1_CipherSchool | 7a2b26266576e9408ba6a426ff5df52c58044634 | 0bb74de0858c1410e63a774a37ceba54cd16e407 | refs/heads/master | 2022-12-07T19:11:54.235927 | 2020-08-30T18:24:16 | 2020-08-30T18:24:16 | 288,794,039 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 250 | cpp | duplicates.cpp | class Solution {
public:
bool containsDuplicate(vector<int>& nums)
{
unordered_set<int>s;
for(int i=0;i<nums.size();i++)
{
s.insert(nums[i]);
}
return (s.size()!=nums.size());
}
};
|
08c1d694fc7c2ee75c3490569a75196a2c9f4655 | 8ddb5d4da6432af765bebe63e3621826310f0115 | /utils.h | df7d2977f1a2fe3bf0f9369f3950b5c912a0203f | [
"Zlib",
"MIT",
"Unlicense",
"LicenseRef-scancode-public-domain"
] | permissive | richgel999/bc7enc_rdo_devel | 38328989eef463261952ee1d1b7174e4b446a49e | d6425dc0a5557bab67e2d845e9e462ef39bc4c7b | refs/heads/master | 2023-02-28T11:42:50.124202 | 2021-02-08T19:55:23 | 2021-02-08T19:55:23 | 336,997,890 | 9 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 20,960 | h | utils.h | // File: utils.h
#pragma once
#ifdef _MSC_VER
#pragma warning (push)
#pragma warning (disable:4127) // conditional expression is constant
#endif
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <algorithm>
#include <assert.h>
#include <time.h>
#include <vector>
#include <string>
#i... |
0fd02643f7513b953c72c32d6158b6356545df7e | aa20a48f857356fc54ae0d1eb09ad04be1433b9a | /TreeSort/treesort.h | be8f7c92d79037325e3c0deb439e800ca44396b2 | [] | no_license | collosic/Sorting | 5258f9ddbaad5ad26502407fd5fad40b8b5fa90b | fd3baba9e075d2ef1c158aaf0cae7d905d50ebd1 | refs/heads/master | 2020-12-24T13:28:46.836074 | 2014-10-06T16:49:53 | 2014-10-06T16:49:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,337 | h | treesort.h | // Classes for treesort.cpp
#ifndef TREESORT_H
#define TREESORT_H
#include <algorithm>
class Node {
// Private variables
int entry, height, dup_count;
Node *LeftNodePtr, *RightNodePtr;
Node *HigherNodePtr;
bool higher_node_direction;
public:
// Constructors
Node();
Node(int);
... |
36252bab95b18592be93b8c170b5505d28d88c1e | fef58dcd0c1434724a0a0a82e4c84ae906200289 | /usages/0x45BBCBA77C29A841.cpp | e94eabb96926ee38ac33868a543105864e5e6f78 | [] | no_license | DottieDot/gta5-additional-nativedb-data | a8945d29a60c04dc202f180e947cbdb3e0842ace | aea92b8b66833f063f391cb86cbcf4d58e1d7da3 | refs/heads/main | 2023-06-14T08:09:24.230253 | 2021-07-11T20:43:48 | 2021-07-11T20:43:48 | 380,364,689 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 852 | cpp | 0x45BBCBA77C29A841.cpp | // extreme2.ysc @ L107773
void func_626(vector3 vParam0)
{
vector3 vVar0;
vector3 vVar1;
iLocal_98 = MISC::GET_GAME_TIMER();
if (func_851(PLAYER::PLAYER_PED_ID()) && func_444(PLAYER::PLAYER_PED_ID(), vParam0, 4f))
{
if (PED::IS_PED_IN_ANY_VEHICLE(PLAYER::PLAYER_PED_ID(), 0))
{
PED::KNOCK_PED_... |
6a6018e68d9e784fcf185a2e866460b84ed8a81c | 240511f33bbd9c9ce91242db2efd7605335a2ce0 | /app/src/app/main.cpp | 684855fdf2fa739309d94a61030fa8226c4e23af | [
"MIT"
] | permissive | fros1y/antimony | 6f92355e78a4bed608011be8718edff0aa689d77 | dcbf50d80fa0eb40e2c50dd0b5bddf2f6b313693 | refs/heads/develop | 2021-01-18T01:37:00.413657 | 2016-03-14T14:12:07 | 2016-03-14T14:12:07 | 35,767,617 | 2 | 0 | null | 2015-05-17T13:42:41 | 2015-05-17T13:42:40 | null | UTF-8 | C++ | false | false | 2,689 | cpp | main.cpp | #include <Python.h>
#include <QApplication>
#include <QDebug>
#include <QMessageBox>
#include <QSurfaceFormat>
#include <QTextCodec>
#include <iostream>
#include <clocale>
#include "app/app.h"
#include "fab/fab.h"
#include "graph/graph.h"
#include "graph/hooks/hooks.h"
int main(int argc, char *argv[])
{
// Use ... |
370b6596a8eb74f6057cb7ead324b7928b563ac5 | 722154ad6170ca33c29d32b299eadbdbbae98c44 | /UVa10672/UVa10672.cpp | 0f696f615eebccbba568b0093d852942aa2531c9 | [
"MIT"
] | permissive | Demi871023/UVa-Problem | 43d695e007421c4ec9dd728b6eb0074592d1f06b | a87a85fb2ad0a5540969ed39f79c48465b669f35 | refs/heads/master | 2021-07-19T13:05:52.790153 | 2020-05-31T13:43:58 | 2020-05-31T13:43:58 | 173,319,816 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,276 | cpp | UVa10672.cpp | //UVa 10672 Marbles on a tree
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <queue>
using namespace std;
#define MAX 10005
int parent[MAX];
int children[MAX];
int ball[MAX];
void construct(int node_total_number)
{
memset(parent, 0, sizeof(parent));
memset(children, 0, sizeof(children));
mems... |
b18f3a8acb9c6471cdc33e65f309dbdced6f98b6 | 54ec043196277a20b093ee549697c76e5220ba1d | /Game/States/State_Idle.h | 56c49f11fd0790728bd629044f66530a63caa461 | [] | no_license | jannix/RTS | e2dc1d4f6030454775a5ac4bc1597335c75afaca | af40585932e0bcdac8660a2c6eb8bae9e9a54819 | refs/heads/master | 2021-01-13T01:50:45.251474 | 2012-09-12T16:02:51 | 2012-09-12T16:02:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 248 | h | State_Idle.h | #ifndef __STATE_IDLE_H__
#define __STATE_IDLE_H__
#include "State.h"
class State_Idle : public State
{
public:
State_Idle();
~State_Idle();
virtual void Update(void);
virtual void OnEnter(void);
virtual void OnLeave(void);
};
#endif
|
1fae82baa19dc2db6c6235bd7ebc4f34f4fc501f | 1bd10bc5837b958c589f90228d36bbe48186a4a4 | /src/models/trainingmodel.h | 552ef838f121e7b0e591d90420026e38e73e3cd8 | [] | no_license | mige/Floco | f22b9bfb0266f63d67cdea85265112ac46b44f8a | 95cb10cd40b4cc3e036f61ecc820c5548076421b | refs/heads/master | 2016-09-06T04:57:40.521186 | 2012-06-18T11:01:00 | 2012-06-18T11:01:00 | 1,543,433 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 532 | h | trainingmodel.h | #ifndef TRAININGMODEL_H
#define TRAININGMODEL_H
#include <QSqlTableModel>
/**
* @brief The TrainingModel class provides the training model from the database.
*/
class TrainingModel : public QSqlTableModel
{
Q_OBJECT
public:
explicit TrainingModel(QObject *parent = 0);
QVariant data(const QModelIndex &in... |
6c9834c10b9d8be61924025d3f75730c99c4d595 | db666b5c6b5381c55c716f95818a7ecc241d59c7 | /C++/224-basicCalculator.cpp | ed44af182742f63d3da5f943b98ad3f2a24ca1ff | [] | no_license | SaberDa/LeetCode | ed5ea145ff5baaf28ed104bb08046ff9d5275129 | 7dc681a2124fb9e2190d0ab37bf0965736bb52db | refs/heads/master | 2023-06-25T09:16:14.521110 | 2021-07-26T21:58:33 | 2021-07-26T21:58:33 | 234,479,225 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 830 | cpp | 224-basicCalculator.cpp | #include <iostream>
#include <stack>
using namespace std;
int calculate(string s) {
stack<int> nums, op;
int res = 0, sign = 1;
for (int i = 0; i < s.size(); i++) {
char c = s[i];
if (isdigit(c)) {
int num = c - '0';
while (i + 1 < s.size() && isdigit(s[i + 1])) {
... |
363b985c470f5a764d5ab1d793d4bfbdaf1f1c05 | f1c132a596bb464dff1a99b0dbe347ca89c6bb7c | /component/config.h | 535c8e755e2ff0284bc4063e0f01128ebaa0d6cd | [
"MIT"
] | permissive | Fuzzier/nsfx | 669e36333b5d31bac3634df3564098f1bacf389b | 452c317d6cf69c00f1bbd9c94e10eac6f1535ba1 | refs/heads/master | 2021-01-24T17:48:06.439782 | 2020-07-15T08:46:50 | 2020-07-15T08:46:50 | 128,712,401 | 8 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 38,540 | h | config.h | /**
* @file
*
* @brief Component support for Network Simulation Frameworks.
*
* @version 1.0
* @author Wei Tang <gauchyler@uestc.edu.cn>
* @date 2017-12-13
*
* @copyright Copyright (c) 2017.
* National Key Laboratory of Science and Technology on Communications,
* University of Electronic Science and ... |
bdb64dad23de6924a3bf9c15235fcb38bd40dd28 | f012e9403cc502086609c31291ab68a3b0691ad6 | /Serial/SerialAddinHelper.cpp | 4704b513d0f8bd71ecca582b380c6c349cf5ac6f | [
"MIT"
] | permissive | junghwanPark/Serial | eeb80fdf3f327960b212e50531927957baf1181e | adbd65f9c1ee3ee3b90041eaf4051d7b4fd48c9c | refs/heads/master | 2022-11-11T19:02:57.458524 | 2020-07-01T12:16:29 | 2020-07-01T12:16:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,425 | cpp | SerialAddinHelper.cpp | #include "stdafx.h"
#include "SerialAddinHelper.h"
#include "SerialAddinBase.h"
#include "SerialPort.h"
SerialAddinHelper::SerialAddinHelper(SerialAddinBase* addin)
: addin(addin)
{
}
SerialAddinHelper::~SerialAddinHelper()
{
}
void SerialAddinHelper::execute()
{
for (auto& serialPort : serialPorts)
{
serialP... |
27b2297bad3e40eac5f5d69b5ac61890055b1c89 | 9cfe68b04d21958f788ba2f4693682864af20b3b | /include/ffigen/generate/generator.hpp | 547dc33b0b468db1519a879e20854bdc0b725aa3 | [
"MIT"
] | permissive | diosmosis/node-ffi-generator | 36046f9580f1e29b69124757eec5752d8e16a6db | fc8589ef8ebc5bbeeda003a0238114c6feb8f077 | refs/heads/master | 2016-09-06T01:43:45.668701 | 2015-01-04T04:41:24 | 2015-01-04T04:41:24 | 26,632,651 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,105 | hpp | generator.hpp | #if !defined(NODE_FFI_GENERATOR_GENERATE_GENERATOR_HPP)
#define NODE_FFI_GENERATOR_GENERATE_GENERATOR_HPP
#include <functional>
#include <iosfwd>
namespace ffigen
{
struct generator_factory;
struct symbol;
namespace impl
{
struct generator_base
{
generator_base(generator_f... |
3cd50f82a71fa2a76cea4d3d027e7e19f6c0ed59 | 2f250c8031394f145aef82556634b4559a63c02a | /oomact/include/aslam/calibration/tools/MeasurementContainerTools.h | 107c78a419ca8191c4d65df4a689a6208f03f3da | [
"BSD-2-Clause",
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | ethz-asl/oomact | 2defc0fec7b0f8dbe4bed2b9cd5a765e88f1d033 | cf8eade334cd6b35c9041b9ba1661e4a6bb85e02 | refs/heads/master | 2023-05-31T13:19:58.347201 | 2019-04-24T15:09:24 | 2019-04-24T15:09:24 | 79,255,946 | 22 | 12 | NOASSERTION | 2019-04-02T16:16:48 | 2017-01-17T18:04:34 | C++ | UTF-8 | C++ | false | false | 1,015 | h | MeasurementContainerTools.h | #ifndef H786129C5_656D_4519_AC5E_FCC314B1BC7F
#define H786129C5_656D_4519_AC5E_FCC314B1BC7F
#include <aslam/calibration/data/MeasurementsContainer.h>
#include <aslam/calibration/data/PoseMeasurement.h>
#include <aslam/calibration/Timestamp.h>
namespace aslam {
namespace calibration {
template <typename MsgT>
Measure... |
e167a01d03cdf5c896ebe4b108aa7c4556a6c202 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/git/gumtree/git_repos_function_5112_last_repos.cpp | 94d5f973fd648d5ab3a8e74ab8f2b2a1a628d123 | [] | 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 | 211 | cpp | git_repos_function_5112_last_repos.cpp | static void sanity_check_on_fail(struct blame_scoreboard *sb, int baa)
{
int opt = OUTPUT_SHOW_SCORE | OUTPUT_SHOW_NUMBER | OUTPUT_SHOW_NAME;
find_alignment(sb, &opt);
output(sb, opt);
die("Baa %d!", baa);
} |
a8cd885a56576ac497daf10f4f242783178927df | c189fa5d5cdf4e10a8ddcd67d0de66fc4ffe08d9 | /7.0in/_800x480/Resistive/FT_App_Graph/Project/Arduino/FT_App_Graph/FT_App_Graph.ino | 2938bb2e090427ff7d201750680245f556801570 | [] | no_license | jrj12591/EVE2-TFT-Modules | ddcfbb587b8a0a97f9cbf0b44d7076ee2ad08bec | 43d34aeb1d248ed62213bb2551cef8623c2eab18 | refs/heads/master | 2021-05-24T15:20:53.732915 | 2019-12-02T15:58:50 | 2019-12-02T15:58:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,474 | ino | FT_App_Graph.ino | /*
* Copyright (c) Future Technology Devices International 2015
THIS SOFTWARE IS PROVIDED BY FUTURE TECHNOLOGY DEVICES INTERNATIONAL LIMITED "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN N... |
d7fcd608e0e3dc0398841983255a945ca9fcbe19 | 323d9b61419ac2800676a6d21b575e9608dd45c0 | /queries/q1.h | b13f913770b284f3cb342d71deb1659f73633d1b | [] | no_license | bala219/Volcano-Processing-Prototype | 78c61eb6badfb0abb83dac58cf458a89a5a26fb2 | 2dbef655b8b3bfa8b3aa45476b63b6b6f0b73e3d | refs/heads/master | 2020-05-17T23:31:08.330126 | 2020-04-20T22:38:03 | 2020-04-20T22:38:03 | 184,035,212 | 4 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,434 | h | q1.h | //
// Created by gurumurt on 4/12/19.
//
#ifndef DB2_PROGRAMMING_PROJECT_Q1_H
#define DB2_PROGRAMMING_PROJECT_Q1_H
#endif //DB2_PROGRAMMING_PROJECT_Q1_H
#include <string>
#include <core/global_definitions.hpp>
#include <core/base_column.hpp>
#include <core/column_base_typed.hpp>
#include <core/column.hpp>
#include <... |
a564fff183217add8f6afc067be6f11329cd48a5 | 33691b2ab18cc010ade5cafbafd94eeb14a9076a | /q1.cpp | c6c877f853c2f3237d14d44439a2cc80d99adabf | [] | no_license | sohamm7/Mycodes | bdd9c8c5665dbbae0203c176d2d8c6a49d8716d6 | 37007fdf3ba174bd704d88ca69502934e218509e | refs/heads/main | 2023-06-27T10:41:39.305115 | 2021-08-01T16:16:15 | 2021-08-01T16:16:15 | 388,694,602 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 564 | cpp | q1.cpp | #include<iostream>
using namespace std;
void swap(int *x,int *y)
{
int temp;
temp=*x;
*x=*y;
*y=temp;
}
void reverse(int arr[],int start,int end)
{
while (start<end)
{
swap(&arr[start],&arr[end]);
start++;
end--;
}
}
int main()
{
int n,i;
... |
ff9e233831022989486d377e3f4b52bb4ad72978 | 428cbc0660a86eb51e06bfa8b24d0092df92a314 | /encryptionChecker/App/EncryptionChecker.cpp | 52d827b8f0d8ebb040c070a03f4ab7ed9033fb29 | [] | no_license | AsierRF/SecureJS | 4d792f0cda072f48efe5b0ffc8eeccb7bf15c990 | 74b1d2de355d0b381d3cb20a698f02119de32e2b | refs/heads/master | 2021-08-07T14:29:55.830351 | 2021-07-22T14:18:04 | 2021-07-22T14:18:04 | 96,901,342 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,127 | cpp | EncryptionChecker.cpp | #include "Enclave_u.h"
#include "sgx_urts.h"
#include <stdio.h>
#include <stdlib.h>
#include <stddef.h>
#include <time.h>
#include <string.h>
#include <string>
#include <vector>
#include <sstream>
#include "sgx_tcrypto.h"
#define DEBUG_ENCLAVE 1
#define USAGE "fileOutput(0=use stdout[default],1=use file as output) da... |
303de08e063e608d6f2c5aec5b81bec751286626 | 806410cc83acebed719e5804232821bc83a87f01 | /source/library/gpu/private/d3d11_backend/d3d11_texture.cpp | 6fbf64885ec1883462dc3b3e3bce9e30609f8e98 | [
"MIT"
] | permissive | blockspacer/potato | e4d37969b791f434826114721455d8dbb642d361 | a52f9712e5251412e14406c54927ab9984ec6f0e | refs/heads/master | 2020-07-05T19:02:41.665477 | 2019-07-19T03:15:09 | 2019-07-19T03:15:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,597 | cpp | d3d11_texture.cpp | // Copyright (C) 2018 Sean Middleditch, all rights reserverd.
#include "d3d11_texture.h"
#include "d3d11_platform.h"
#include "potato/gpu/com_ptr.h"
#include "potato/foundation/out_ptr.h"
#include <potato/runtime/assertion.h>
up::d3d11::TextureD3D11::TextureD3D11(com_ptr<ID3D11Resource> texture) : _texture(std::move(... |
6c486cecd028e6ed00850a5cc3738dd264d28d02 | 93aebc3ab31facf5fb3f465d3768cb166266011c | /Codeforces/Codeforces Round #425 (Div. 2)/B.cpp | 8c8694dbbae8f95662d45ad27276cb5923be4d14 | [] | no_license | deSigntheClutch/competitive-programming-code-repository | 901b77a2f07c91e56ae432c678dfa2fec4d26e62 | ee9c49e594c00bad8321a0554ce5d9b0b2257be0 | refs/heads/master | 2023-04-06T03:56:55.236256 | 2021-04-10T07:23:32 | 2021-04-10T07:23:32 | 257,667,861 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,610 | cpp | B.cpp | #include <bits/stdc++.h>
using namespace std;
#define fi first
#define se second
#define pb push_back
#define mp make_pair
#define mid ((left + right) >> 1)
#define lson rt << 1, left, mid
#define rson rt << 1 | 1, mid + 1, right
typedef long double ld;
typedef long long ll;
typedef unsigned long long ... |
b5f0bcd57ccd61446f33c032818e8d38be99f15b | 131e6d79fa73a09ca06e121177b56df51a66ae5c | /mflib/MFSolver.hpp | 7b06499b9500137a4bd8f533dd4ce2f32c2497a0 | [
"BSL-1.0"
] | permissive | hcorrada/methylFlow | bd3777c3193545fea43bc5d1747c343d89449323 | 7b4cf94250f1eabbb683aebd95ae76783eac2b78 | refs/heads/master | 2020-04-15T19:34:07.609847 | 2020-02-27T13:16:04 | 2020-02-27T13:16:04 | 17,600,244 | 1 | 6 | null | 2016-10-27T00:56:34 | 2014-03-10T16:48:40 | C++ | UTF-8 | C++ | false | false | 1,717 | hpp | MFSolver.hpp | #include "MFGraph.hpp"
using namespace lemon;
#ifndef MFSOLVER_H
#define MFSOLVER_H
#define CONSISTENCY_FACTOR 0
namespace methylFlow {
class MFSolver {
public:
MFSolver(MFGraph *mfobj);
~MFSolver();
// does everything
int solve(const float lambda, const float length_mult, const float epsi... |
f02b6371e6191401662075d19c65c95b084e677b | 0b4a14a6585808398dd8eb16f6e4f58439c97975 | /Data_Structures-master/Stack Manipulation - Postfix -/src/Lab 7 Stack.cpp | b5d433a008cc8e025d416a37f95a0069a28928af | [] | no_license | s3nu/anahit-cmpe | 73940be57523dab8bc029b826207e842aab9cd5e | 7cc5623ab005843f7bcf8658a593924ad1f9a0f4 | refs/heads/master | 2021-01-20T07:42:54.412940 | 2019-10-28T09:42:23 | 2019-10-28T09:42:23 | 26,895,479 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,755 | cpp | Lab 7 Stack.cpp | //============================================================================
// Name : Lab.cpp
// Author :
// Version :
// Copyright : Your copyright notice
// Description : Hello World in C++, Ansi-style
//============================================================================
#include <iost... |
baac3445a5cc08ebe2224535843ce24f8f889a0e | 94dc0ef7a309a5132e26e0c76bf0a5fb980262d7 | /src/math/public/aeon/math/impl/vector2_impl.h | 292a0799fdfbf69db7e2eeb1cb09780085eb028a | [
"BSD-2-Clause"
] | permissive | aeon-engine/libaeon | d5b49abaf22d6db5553f3c7a2c47deafcc091e4e | 3b8117492e8f5a24c7ab8422d25057cff1bf0401 | refs/heads/master | 2023-07-07T01:13:34.486642 | 2023-06-27T13:18:34 | 2023-06-27T13:18:34 | 82,469,236 | 8 | 3 | BSD-2-Clause | 2021-02-19T17:15:24 | 2017-02-19T15:35:22 | C++ | UTF-8 | C++ | false | false | 10,580 | h | vector2_impl.h | // Distributed under the BSD 2-Clause License - Copyright 2012-2023 Robin Degen
#pragma once
#include <aeon/math/math.h>
#include <aeon/common/assert.h>
#include <cmath>
#include <array>
namespace aeon::math
{
template <common::concepts::arithmetic_convertible T>
inline constexpr vector2<T>::vector2() noexcept
... |
70c246c317ca5ff3723be94d9c0651754b6fc929 | 97e1d5b0caa42a5e5baa69229d4f34dd332454ed | /Escape-the-Dawn/Systems/SoundsSystem.cpp | 864bff55720639f9807219d3c2335e163e3d9967 | [] | no_license | Stiffly/Escape-the-Dawn | f629ef71e0a7945d5fcc6bc0d0ad1c7fdab5f7a9 | 982fce4a72b84dd323c325fc094d4fa6a04950f5 | refs/heads/master | 2020-12-29T01:11:55.691537 | 2014-03-14T03:35:13 | 2014-03-14T03:35:13 | 18,331,733 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,793 | cpp | SoundsSystem.cpp | #include "SoundSystem.h"
#include "World.h"
Systems::SoundSystem::SoundSystem(World* world)
: System(world)
{
//initialize OpenAL
ALCdevice* Device = alcOpenDevice(NULL);
ALCcontext* context;
if(Device)
{
context = alcCreateContext(Device, NULL);
alcMakeContextCurrent(context);
}
else
{
LOG_ERROR("OMG ... |
92288a2747d13d13c8a571f954b06b9d5ac35f5f | 8b0dfd5844fd4b014c4e92af9b9f2484d5c30382 | /Casa/Origem.cpp | 3657dfaf38c2732400ff6c6b83aca4cf9d876b6f | [] | no_license | GabriellBP/computer-graphics | 49d5f2b1d3ad1c964cc12d10421aad2bfaec42fe | 9be0278b0f5e76b05823f47c83249a923290c88a | refs/heads/master | 2020-04-25T08:11:13.209063 | 2019-03-18T13:42:37 | 2019-03-18T13:42:37 | 172,638,733 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,820 | cpp | Origem.cpp | #include <GL/glut.h>
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
void init(void);
void display(void);
void keyboard(unsigned char key, int x, int y);
void reshape(int w, int h);
#define AZUL 0.0, 0.0, 1.0
#define VERMELHO 1.0, 0.0, 0.0
#define AMARELO 1.0, 1.0, 0.0
#define VERDE 0.0, 1.0, 0.0
#de... |
581f22b9b6f89385a726f9efac528d91477c18b0 | 4bcc9806152542ab43fc2cf47c499424f200896c | /tensorflow/lite/kernels/internal/reference/add_n.h | b6b5882d8d431e98e13e1662393f9e981ecc9484 | [
"Apache-2.0",
"LicenseRef-scancode-generic-cla",
"BSD-2-Clause"
] | permissive | tensorflow/tensorflow | 906276dbafcc70a941026aa5dc50425ef71ee282 | a7f3934a67900720af3d3b15389551483bee50b8 | refs/heads/master | 2023-08-25T04:24:41.611870 | 2023-08-25T04:06:24 | 2023-08-25T04:14:08 | 45,717,250 | 208,740 | 109,943 | Apache-2.0 | 2023-09-14T20:55:50 | 2015-11-07T01:19:20 | C++ | UTF-8 | C++ | false | false | 3,508 | h | add_n.h | /* Copyright 2020 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... |
8cd17c0ebae3745e934a015cac464cb67c3e4c52 | 0ab8cf41e979f30c1fbfe8f5a843c236b949e259 | /ifeel_task/task5.cpp | 95af148c761504b884acfc6dca5d6af7676db6cc | [] | no_license | 1Risha1/ifeel_task | 1d28fe923ff157ec951ad2d826e529e30d38e3ef | ecf8e1c9140e1b4e01a79272cd5bd1e0a0850c45 | refs/heads/master | 2021-01-13T00:36:52.031312 | 2016-02-29T21:54:22 | 2016-02-29T21:54:22 | 52,826,349 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 9,626 | cpp | task5.cpp | #include <map>
#include <unordered_map>
#include <iostream>
#include <string>
#include <vector>
#include <fstream>
#include <istream>
#include <sstream>
#include <chrono>
#include <thread>
#include <mutex>
#include <atomic>
#include <memory>
#include <boost\atomic\atomic.hpp>
using namespace std;
#define EPSILON 4*10e... |
91a4438fc685ad7be35ff132e193295bb0929079 | 43b287bc98339955d461db4322df95613595f7cb | /eos/maths/szego-polynomial.hh | be3d5fa20867e89a851e005985d8f9a9985debbc | [] | no_license | cBobeth/eos | ab6d0bd0ed3f72a52ffed29ef74fec59b3d214db | db6284746acb59ff193fd61dde4d4cfa185d6d25 | refs/heads/master | 2021-12-14T19:02:46.254994 | 2021-12-10T15:24:27 | 2021-12-11T09:40:02 | 179,509,190 | 0 | 0 | null | 2019-04-04T14:03:41 | 2019-04-04T14:03:41 | null | UTF-8 | C++ | false | false | 5,004 | hh | szego-polynomial.hh | /*
* Copyright (c) 2021 Danny van Dyk
*
* This file is part of the EOS project. EOS is free software;
* you can redistribute it and/or modify it under the terms of the GNU General
* Public License version 2, as published by the Free Software Foundation.
*
* EOS is distributed in the hope that it will be useful, ... |
dd3e9f0ddc9f334ff8ac4ac52fdbf3e41fb8a681 | 7d100f8706311994172975f6e86b614d4bfcf4b5 | /dnn/src/Edge.cpp | 6e34b193ea0dae0728138976aa26bdd28a0752a4 | [
"MIT"
] | permissive | georgephilipp/cppgstd_legacy | 2d502a481b52f57edcd46b40908139ac31ad57e1 | e130860da7700aae42b915bc36a7efa4cae06d56 | refs/heads/master | 2020-03-29T14:28:26.203999 | 2018-09-29T23:19:33 | 2018-09-29T23:19:33 | 150,019,516 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,703 | cpp | Edge.cpp | #include "stdafx.h"
#include "Edge.h"
#include "Vertex.h"
#include "Blob2DFDBasic.h"
#include "VertexEmpty.h"
namespace msii810161816
{
namespace dnn
{
Edge* Edge::construct()
{
return new Edge;
}
void Edge::copy(Edge* target, std::string copyMode)
{
gstd::Base::copy(target);
gstd::chec... |
eccd6247fe54ed5d5182af045dd490d087d573c3 | 183a51173499f61441a6f8e633971fb0850c3659 | /Binary Trees/HeightOfTree.cpp | 46676bf45671caf556d3cc47204eed610352e10d | [] | no_license | Arhan13/Babbar-450qs | f81107ef99f5ba74969cfa7c5773d69ae579f0c2 | 5cdc707c05f52818910ce384554ba00b39a0753e | refs/heads/main | 2023-06-15T01:04:25.173436 | 2021-07-04T11:00:19 | 2021-07-04T11:00:19 | 341,929,408 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 638 | cpp | HeightOfTree.cpp | //User function template for C++
struct Node
{
int data;
struct Node *left;
struct Node *right;
Node(int x)
{
data = x;
left = right = NULL;
}
};
class Solution
{
public:
int height(struct Node *node)
{
// code here
if (node == NULL)
{
... |
5f3d145e30f3f4841c3b201a78fa5b00e9d39851 | 0792333011527efc467071ad6737e464ce55e2e6 | /HaGame/Physics/Collisions.h | dbc6576de48500a3ff5e0abb60921d16b948feaa | [] | no_license | henrywalters/HaGame | 7ceb06262e29ed59bc681424a5a8c4ffe8366ec7 | ef08c54b18b1d67029e697a31a2162aaf0d40b7a | refs/heads/master | 2022-09-06T08:11:31.319021 | 2022-02-06T01:24:57 | 2022-02-06T01:24:57 | 122,703,595 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,216 | h | Collisions.h | #ifndef COLLISIONS
#define COLLISIONS
#include "../Utils/Aliases.h"
#include "../Core/Game.h"
#include "../Utils/SpatialMap.h"
#include "../Core/ECS/Entity.h"
#include "../Core/ECS/EntityManager.h"
#include "../Math/AABB.h"
#include "../Math/Ray.h"
#include "../Math/Plane.h"
#include "../Math/Collisions.h"
#... |
467636127a7ec8f995ceac4c944c3fc30106531d | 65a038dc6adab239c54b6744811c7ab58c4eeb55 | /SmithStevenHW#1.cpp | 619ba19442f2c05fff2da8719ada72e8fc52ff1f | [] | no_license | vestiment-sh/BMI-Calculator | b9a25ef1cf633f7613e1fc840e00b07fad9fcec9 | 25bab0e3bb2d9ff9853a424f5daa7839180c597f | refs/heads/master | 2023-01-07T07:28:38.379555 | 2020-11-11T02:34:57 | 2020-11-11T02:34:57 | 273,409,770 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 855 | cpp | SmithStevenHW#1.cpp | // BMI Calculator
#include <iostream>
using namespace std;
int main() {
string name; // Declaration of Variables
double x;
int y, z;
cout << "Enter your Hero's name: ";
cin >> name;
cout << "Enter his/her weight in pounds: ";
cin >> x;
... |
da96629b53e444936b743eaf2e58ca2d0af5b9e9 | 4519e44d81ac49546de826d0e6d25288d7c5ddbd | /2019/2019-04-16 [Gabriel Aubut-Lussier] Automatisation de tests asynchrones/exemples/AsyncSystem/executors-impl-master/examples/inline/inline_1.cpp | e19ca9f0e48eb0896ffffc0ec026be84d4adb69d | [] | no_license | CppMtl/Meetups | cfec35e25fd2e2fb58534cd89f44a5c61b2d0ead | 9a3fc491f4f2b79f6199cf1b781fb12687dc2b08 | refs/heads/master | 2023-01-24T22:14:01.799443 | 2023-01-10T21:45:24 | 2023-01-10T21:45:24 | 91,147,384 | 27 | 9 | null | 2023-01-10T21:45:26 | 2017-05-13T03:46:54 | C++ | UTF-8 | C++ | false | false | 908 | cpp | inline_1.cpp | #include <execution>
#include <iostream>
namespace execution = std::execution;
class inline_executor
{
public:
static constexpr auto query(execution::executor_concept_t) { return execution::oneway; }
friend bool operator==(const inline_executor&, const inline_executor&) noexcept
{
return true;
}
frien... |
7293b103098833079128aa385ea0667bc576e285 | 0f36cd291b7674d88e841e5f6b6d4badd9c2b0b6 | /src/libservant/EndpointInfo.cpp | 772d7e02a84908723f50df4fadff2c57568fcdbf | [] | no_license | fengmm521/taf | b75164e2d7f9501aa0786f50261f046d25eaced3 | 42e48f68b230d91c95533b35c856ef1e14f95d34 | refs/heads/master | 2020-03-22T20:04:50.436752 | 2018-08-08T17:50:18 | 2018-08-08T17:50:18 | 140,571,475 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,570 | cpp | EndpointInfo.cpp | #include "servant/EndpointInfo.h"
#include "log/taf_logger.h"
namespace taf
{
EndpointInfo::EndpointInfo()
: _host("0.0.0.0")
, _port(0)
, _grid(0)
, _type(TCP)
{
}
EndpointInfo::EndpointInfo(const string& host, uint16_t port, EndpointInfo::EType type, int32_t grid)
: _host(host)
, _port(port)
, _grid(grid)
, _type(ty... |
2e026f97f6fd892ee30dcf674df60df6a6007df6 | 634120df190b6262fccf699ac02538360fd9012d | /Develop/Server/MasterServer/unittest/TestFieldManager.cpp | b273bb4939b259c1e1f69c2b8e1ff3de3955e2c6 | [] | no_license | ktj007/Raiderz_Public | c906830cca5c644be384e68da205ee8abeb31369 | a71421614ef5711740d154c961cbb3ba2a03f266 | refs/heads/master | 2021-06-08T03:37:10.065320 | 2016-11-28T07:50:57 | 2016-11-28T07:50:57 | 74,959,309 | 6 | 4 | null | 2016-11-28T09:53:49 | 2016-11-28T09:53:49 | null | UHC | C++ | false | false | 17,987 | cpp | TestFieldManager.cpp | #include "stdafx.h"
#include "ZFieldManager.h"
#include "ZSharedField.h"
#include "ZDynamicField.h"
#include "ZDynamicFieldMaster.h"
#include "ZFieldInfoManager.h"
#include "ZGameServerFieldMap.h"
#include "SChecksum.h"
#include "ZFixtureHelper.h"
#include "ZCommandTable.h"
#include "ZPlayerLogic.h"
#include "STransDat... |
c10f7294d3910f365969d0f0d298ef14c7926536 | b224e152ee70bbc9ea8284f19b21f0797de943e9 | /647/solution1.cpp | 21d4111cdcdd0b84deda3a281d50bdb15ec44158 | [] | no_license | sourabh2k15/leetcode-solve | 1a16e96f9dcc7d7e320deb6a67a1eea2c229f5a5 | ab663578107e90640187dff1f5a8808665a90f48 | refs/heads/master | 2021-01-22T01:18:06.046834 | 2017-09-03T00:38:23 | 2017-09-03T00:38:23 | 102,215,548 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 730 | cpp | solution1.cpp | class Solution {
public:
int countSubstrings(string s) {
int result = 0;
int n = s.length();
string sub_s = "";
for(int i = 0; i < n; i++){
for(int j = i; j < n; j++){
sub_s = "";
for(int k = i; k <= j; k++){
sub_s += s[k]; ... |
a4758ff9f9afc5a4d6b084a37b9a49c9eb574035 | a31e04e907e1d6a8b24d84274d4dd753b40876d0 | /MortTools/Types/MapMortStringToString.h | cf95090d6750a958f52233b829f742eb2c313197 | [] | no_license | RushSolutions/jscripts | 23c7d6a82046dafbba3c4e060ebe3663821b3722 | 869cc681f88e1b858942161d9d35f4fbfedcfd6d | refs/heads/master | 2021-01-10T15:31:24.018830 | 2010-02-26T07:41:17 | 2010-02-26T07:41:17 | 47,889,373 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 477 | h | MapMortStringToString.h | #ifndef MORTSTRINGTOSTRING_H
#define MORTSTRINGTOSTRING_H
#include "mortString.h"
#include "mortStringArray.h"
class CMapStrToString
{
protected:
CStrArray Keys;
CStrArray Values;
public:
CMapStrToString();
void SetAt( LPCTSTR key, LPCTSTR value );
BOOL Lookup( LPCTSTR key, CStr &value );
v... |
cc20eac5ddb9cf865f4bf062f2cae3fc12154d94 | c9518f034ee56db7a0c97fc881c4e31712e912a9 | /Paint/CGraphClipboardControl.cpp | fe7f85ad828cee94f2014104c18344bfcb136301 | [
"BSD-3-Clause",
"BSD-2-Clause-Views"
] | permissive | linhongyi/Paint | 0994156cfdc1a599e30bbfa2f3e0dbdc001bb69f | 65c9e6f8a4cec6dca12ddfec760460b34d0b1608 | refs/heads/master | 2021-01-16T00:27:49.371830 | 2013-02-08T02:06:15 | 2013-02-08T02:06:15 | null | 0 | 0 | null | null | null | null | BIG5 | C++ | false | false | 3,579 | cpp | CGraphClipboardControl.cpp | #include "StdAfx.h"
#include "CGraphClipboardControl.h"
#include "CommonVar.h"
#include "PaintInfo.h"
#include "ToolKits.h"
#include "MyListController.h"
#include <assert.h>
extern MyListController gMyList;
CGraphClipboardControl::CGraphClipboardControl(void)
{
}
CGraphClipboardControl::~CGraphClipboardControl(voi... |
ff0f050b9c796789ba4acd030f87ed945650b252 | 5ea21725bd5958fbfbb9434d8aad3e4b70f47f10 | /src/Hexagon/CodeSelectionBoxRenderer.cpp | 4eaa8f0899746abdfe5d20548109e3d678b95b46 | [] | no_license | MarkOates/hexagon | 38610a11bee4c57afb36690d3174da47d093d2bb | f103d717848c903dc24f1e6564fdad36d4fc1e23 | refs/heads/master | 2023-08-31T18:00:28.302024 | 2023-08-28T10:35:00 | 2023-08-28T10:35:00 | 147,267,150 | 0 | 0 | null | 2022-08-30T22:44:12 | 2018-09-04T00:36:30 | C++ | UTF-8 | C++ | false | false | 5,326 | cpp | CodeSelectionBoxRenderer.cpp |
#include <Hexagon/CodeSelectionBoxRenderer.hpp>
#include <allegro5/allegro_color.h>
#include <allegro5/allegro_primitives.h>
#include <iostream>
#include <sstream>
#include <stdexcept>
namespace Hexagon
{
CodeSelectionBoxRenderer::CodeSelectionBoxRenderer(std::vector<std::string>* lines, CodeRange* code_range, i... |
b8e03dcdb240497d450b7a1c6156d9c9ac90432a | 3d80d68564da1f1d650988a1fafe221d749cdc31 | /lib/Core/OOMTimer.cpp | da923babb80bb58715e89eb7ff8971de69caf311 | [
"NCSA"
] | permissive | heyitsanthony/klee-mc | ede73456fa0e928e67529ae19ae4723d483acfd3 | 184a809930c4f7823526a11474b1446dd7d92afb | refs/heads/master | 2020-05-30T03:18:24.188711 | 2016-05-29T09:16:42 | 2016-05-29T09:16:42 | 189,500,579 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,716 | cpp | OOMTimer.cpp | #include <llvm/Support/CommandLine.h>
#include <algorithm>
#include <malloc.h>
#include "klee/Common.h"
#include "ExeStateManager.h"
#include "MemUsage.h"
#include "Forks.h"
#include "CoreStats.h"
#include "OOMTimer.h"
llvm::cl::opt<bool>
UsePID("use-pid", llvm::cl::desc("Use proportional state control"));
llvm::cl::... |
68efa24f6347248a28215a072b62303e4fd153af | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5709773144064000_1/C++/Saad94/two.cpp | cf9d8d0ef1c29e5194cb6fe8d5cac52e8613c172 | [] | 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 | 438 | cpp | two.cpp | #include <iostream>
#include <iomanip>
using namespace std;
int main() {
int num;
double C, F, X;
cin >> num;
cout << fixed;
for (int i = 0; i < num; i++) {
double ans = 0, rate = 2;
cin >> C >> F >> X;
while (X / rate > X / (rate + F) + (C / rate)) {
ans += C / rate;
rate += F;
}... |
be3c1291de2ab172eb1a6e445e23c693711234d4 | 32fa3c04da8783567cdf40c88605a6708bb1a707 | /final_train/read_csv.h | f7e1d91bca2f7b3d3614791de417da3540e808f2 | [] | no_license | zhl95/rbf_train | e53a2245631b5bc7269fad1956e06de343555bfb | 886bc71778e5abfeafa8af66a19e20b7c372558d | refs/heads/master | 2021-01-15T22:18:52.590878 | 2017-08-11T01:11:39 | 2017-08-11T01:11:39 | 99,895,632 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 260 | h | read_csv.h | #ifndef READ_CSV_H
#define READ_CSV_H
#include <string>
#include <sstream>
#include <iostream>
#include <vector>
#include <fstream>
using namespace std;
// array of values for one line only
vector< vector<string> > read_csv(string );
#endif |
127ce4e8045c1d3abd7d4ff4ffab188d7e4c647e | 9ac30ba5cea08225ebb0cbd03fd47c1d3163b668 | /pika_port_3/master_conn.cc | 4e236d7c476ab3999658837c6c1c898f0dd7316e | [] | no_license | kukey/pika-tools | 339ae91242cba38c15aebea6a079f43df51ff581 | 6c68a1fffe333d680528ed3471f428ea3ba0f804 | refs/heads/master | 2022-07-09T11:12:27.831655 | 2020-08-03T11:02:42 | 2020-08-03T11:02:42 | 284,665,798 | 1 | 1 | null | 2020-08-03T10:04:10 | 2020-08-03T10:04:10 | null | UTF-8 | C++ | false | false | 6,628 | cc | master_conn.cc | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#include <iostream>
#inc... |
e7c5421b66c28862996127f2e2094f1cc687cb0b | 1eff3bf12f0913fd220096a78b9f06d2f81d69cf | /Pancakes/IOrder.h | ecddb207c4226623d6d0f0c4582a4fb737817201 | [] | no_license | bugslayer312/TeachExamples | 0165c5553ebf3d9a1fba49e41c7e625380d50370 | 6da3e841daed61db582b9fc8eba2501773586e18 | refs/heads/master | 2021-01-19T18:43:34.519259 | 2017-07-15T16:39:54 | 2017-07-15T16:39:54 | 88,377,098 | 2 | 5 | null | 2017-06-11T21:03:02 | 2017-04-15T22:16:35 | C++ | UTF-8 | C++ | false | false | 264 | h | IOrder.h | #pragma once
#include <string>
// базовый класс - заказ
class IOrder
{
public:
virtual ~IOrder() = default;
virtual double GetCost() const = 0; // стоимость
virtual std::string GetName() const = 0;// название
}; |
c1e992c316cfca5c168a50bd1c877da379694de6 | 914a83057719d6b9276b1a0ec4f9c66fea064276 | /test/performance-regression/full-apps/qmcpack/src/QMCWaveFunctions/Jastrow/Experimental/JAAPBCBuilder.h | b09272eee7050a63406526b0f5d0d566382d6de5 | [
"NCSA",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-free-unknown",
"GPL-1.0-or-later",
"BSD-2-Clause"
] | permissive | jjwilke/hclib | e8970675bf49f89c1e5e2120b06387d0b14b6645 | 5c57408ac009386702e9b96ec2401da0e8369dbe | refs/heads/master | 2020-03-31T19:38:28.239603 | 2018-12-21T20:29:44 | 2018-12-21T20:29:44 | 152,505,070 | 0 | 0 | Apache-2.0 | 2018-10-11T00:02:52 | 2018-10-11T00:02:51 | null | UTF-8 | C++ | false | false | 1,757 | h | JAAPBCBuilder.h | //////////////////////////////////////////////////////////////////
// (c) Copyright 2003- by Jeongnim Kim
//////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////
// National Center for Supercomputing Applications &
// Materials Computati... |
34f2f6907bb8f01ed3689894ea5efe0877846fce | 17dbb5247eb8b29898e84b775cc67a351a8d5728 | /src/terminal.cpp | 3ff74ccb12f3e264342a58d805be599fa7ccd508 | [
"Apache-2.0"
] | permissive | kthielen/ww | 8fe923b89513b025539672a410f67bc268dceb0c | 6b3e1ed875c636fe8eae71574ccf43d1b1144872 | refs/heads/master | 2022-02-18T16:58:02.860271 | 2022-02-15T22:04:55 | 2022-02-15T22:04:55 | 13,346,915 | 7 | 2 | null | 2022-02-15T22:04:56 | 2013-10-05T14:59:11 | C++ | UTF-8 | C++ | false | false | 1,069 | cpp | terminal.cpp |
#include <ww/terminal.hpp>
namespace ww {
// characters
character::character(char x) : x(x) { }
char character::value() const { return this->x; }
void character::value(char c) { this->x = c; }
terminal* character::token() { return this; }
void character::show(std::ostream& out) const {
out << this->x;
}
// symbol... |
530b489aacf0607db817c2bf79032fd787c05ba0 | 70418d8faa76b41715c707c54a8b0cddfb393fb3 | /1475.cpp | 8a7d255d98438d62e5dc5112639d2c287741f7cd | [] | no_license | evandrix/UVa | ca79c25c8bf28e9e05cae8414f52236dc5ac1c68 | 17a902ece2457c8cb0ee70c320bf0583c0f9a4ce | refs/heads/master | 2021-06-05T01:44:17.908960 | 2017-10-22T18:59:42 | 2017-10-22T18:59:42 | 107,893,680 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,290 | cpp | 1475.cpp | #include <bits/stdc++.h>
using namespace std;
//精度æ§å¶
const double eps = 1e-10;
int dcmp(double x)
{
if (fabs(x) < eps)
{
return 0;
}
return x < 0 ? -1 : 1;
}
//ç¹
struct Point
{
double x, y;
Point() {}
Point(double x, double y) : x(x), y(y) {}
};
//åé
typedef Point Vector;
//ç¹-ç¹==åé
V... |
dc9b2649c9380f0627dbe87b8a1ddf1d2775fb1d | 1c205ca00380969bf3655db6c44b50264b39dfaf | /src/WorkingDir/WorkingDir.cpp | 064032b78de80a076cb2a292a7c1fd50f54c6468 | [] | no_license | sshklifov/svcs | a4598155a25d18deb3262c4c618dc343ca1f5fed | f56b517715c31d7021744dd0c3c3534e29a4716a | refs/heads/master | 2020-03-17T07:02:53.494192 | 2018-05-15T10:18:05 | 2018-05-15T10:18:05 | 133,380,599 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,994 | cpp | WorkingDir.cpp | #include "WorkingDir.h"
#include <CommitLog.h>
#include <FileArchiver.h>
#include <FilesystemFunctions.h>
#include <stdexcept>
#include <cassert>
using Singleton = WorkingDir::Singleton;
Singleton& WorkingDir::GetInstance ()
{
static Singleton instance;
return instance;
}
void Singleton::FirstTimeInitializ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.