blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 26 | license_type stringclasses 2
values | repo_name stringlengths 7 95 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 57
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 197k 639M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 11
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 34
values | src_encoding stringclasses 18
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 11 9.86M | extension stringclasses 27
values | content stringlengths 11 9.86M | authors listlengths 1 1 | author stringlengths 0 70 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b7e6d80e44efe80ca447b1f0eff791f7872cbcd8 | bddb40149f9028297d9b4f3f6b77514cadac9bca | /Source/Prototypes/filemanagement/filemanagement/FileButton_ShellExecute.cpp | dbc7fabd2a8679e444025bbc9025346f9a5acbe0 | [] | no_license | JamesTerm/GremlinGames | 91d61a50d0926b8e95cad21053ba2cf6c3316003 | fd0366af007bff8cffe4941b4bb5bb16948a8c66 | refs/heads/master | 2021-10-20T21:15:53.121770 | 2019-03-01T15:45:58 | 2019-03-01T15:45:58 | 173,261,435 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,154 | cpp | #include "stdafx.h"
bool FileButton_ShellExecute::Interface_FileClick_Execute //! Return whether you succeeded
( HWND hWnd, //! The control of the (first) window clicked upon
char **FileName) //! The list of filenames that where clicked upon
{
if (ApplicationInstance_TriCaster()) return false... | [
"james@e2c3bcc0-b32a-0410-840c-db224dcf21cb"
] | james@e2c3bcc0-b32a-0410-840c-db224dcf21cb |
3e22a61c4bc4645cd12aa633e270d42cc0a54cd5 | 6c13991a694cd4ab5320c5bf79bab0e9d392e354 | /envoy/source/common/protobuf/utility.cc | f2c94278313fca82213637bd6e7b14b994780d50 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | bdecoste/upstream-envoy-openssl | 4cac1ac3df194f0896bb79db2813f0c8db14e8ca | f2bd116a9dd1f7da8ba00b6d473607190fdb0b2c | refs/heads/master | 2022-10-13T08:05:35.704119 | 2019-10-11T22:11:24 | 2019-10-11T22:11:24 | 208,906,237 | 0 | 0 | Apache-2.0 | 2022-09-23T22:28:25 | 2019-09-16T22:04:09 | C++ | UTF-8 | C++ | false | false | 17,618 | cc | #include "common/protobuf/utility.h"
#include <numeric>
#include "envoy/protobuf/message_validator.h"
#include "common/common/assert.h"
#include "common/common/fmt.h"
#include "common/json/json_loader.h"
#include "common/protobuf/message_validator_impl.h"
#include "common/protobuf/protobuf.h"
#include "absl/strings... | [
"bdecoste@gmail.com"
] | bdecoste@gmail.com |
92eb27a94c553af8a00cd7466823db317e7ac020 | b4b4e324cbc6159a02597aa66f52cb8e1bc43bc1 | /C++ code/HDU Online Judge/4605(2).cpp | de7a0b735e3e27b9cf016ee47a97d7c63762f084 | [] | no_license | fsps60312/old-C-code | 5d0ffa0796dde5ab04c839e1dc786267b67de902 | b4be562c873afe9eacb45ab14f61c15b7115fc07 | refs/heads/master | 2022-11-30T10:55:25.587197 | 2017-06-03T16:23:03 | 2017-06-03T16:23:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,639 | cpp | #include<cstdio>
#include<cassert>
#include<vector>
#include<set>
using namespace std;
const int INF=2147483647;
int Rand()
{
static unsigned int seed=20160221;
seed*=0xdefaced,seed+=115216;
return (seed+=seed>>20)&0x7fffffff;
}
static int Node_COUNTER=0;
struct Node
{
Node *ch[2];
const int x;
int sz;
int cnt7,... | [
"fsps60312@yahoo.com.tw"
] | fsps60312@yahoo.com.tw |
d0db69819e838d05939abc27e43e585b40b0a1c3 | c5f4724d927c12f236b9710355c170681d75ebd9 | /Homework/p0/main.cpp | c525393104de8a81cba8b515f3fb34a2b499c29d | [] | no_license | Vin129/Games101_hw | 8b5b5700f412ae4c5bd7319c27d3e0317ebf3ff7 | 0f732658a1537aedbbe6e67260c7e2226045e1f8 | refs/heads/main | 2023-02-09T18:00:57.132379 | 2021-01-02T11:10:21 | 2021-01-02T11:10:21 | 324,705,265 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,924 | cpp | #include<cmath>
#include<eigen3/Eigen/Core>
#include<eigen3/Eigen/Dense>
#include<iostream>
using namespace std;
#define PI acos(-1)
int main(){
// Basic Example of cpp
clog << "Hello World" << std::endl;
std::cout << "Example of cpp \n";
float a = 1.0, b = 2.0;
std::cout << a << std::endl;
... | [
"515019721@qq.com"
] | 515019721@qq.com |
4dadd57910714d41bb996d845225e7a9767e97e7 | d80ec9a928ff228cc99f8112254b6c9b449e097d | /Game/main.cpp | c47857b47e3d03c04bec06f7ff9c68d651de4e5b | [] | no_license | The-Team-7/The-KU-Journey | 47a371dca693d3ecae779864ce666a7b9ea5925d | b8a3aa5ad85f414c1363d3afa7c8d8445fc2e926 | refs/heads/master | 2020-03-20T21:43:56.470370 | 2018-07-04T02:21:12 | 2018-07-04T02:21:12 | 137,756,919 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 139 | cpp | #include<SFML/Graphics.hpp>
#include"Game.h"
#include "DEFINITIONS.h"
int main() {
sg::Game(1920, 1080, "The KU Journey");
return 0;
} | [
"sbijay777@gmail.com"
] | sbijay777@gmail.com |
5ac429ef741a94ec8dedb20012e6fe33018fcdcb | dd1e9e3796576da599f3981a7abaf2fcd9d6b89a | /BlitzSharp3D/gxruntime/graphics/bgfx/BGFXScene.cpp | f49c59ba1928b56c44fe146bab1a7dfa446995a4 | [
"Zlib",
"BSD-3-Clause"
] | permissive | blitzimagine/BlitzSharp3D | 4ae674cfdd2aba09f6844dce10ad44796c92aad0 | cbf25a5d4ad3e1081e819c0dfaeb3ce40cd57860 | refs/heads/master | 2023-04-13T08:50:40.440863 | 2022-06-08T13:41:12 | 2022-06-08T13:41:12 | 189,093,663 | 9 | 1 | NOASSERTION | 2021-09-04T22:52:21 | 2019-05-28T19:52:11 | C | UTF-8 | C++ | false | false | 13,348 | cpp | #include "BGFXScene.h"
#include <bgfx/bgfx.h>
#include <bx/math.h>
#include "BGFXBase.h"
#include "BGFXLight.h"
#include "BGFXGraphics.h"
#include "BGFXCanvas.h"
#include "BGFXShader.h"
#include "BGFXUtil.h"
static int tex_stages = 1;
static float BLACK[] = { 0,0,0 };
static float WHITE[] = { 1,1,1 };
static float G... | [
"39096122+HumanGamer@users.noreply.github.com"
] | 39096122+HumanGamer@users.noreply.github.com |
7ae165034429cebc15102d9059509c82988b4339 | 5f31b04cf297e03f8be4608d258f9fee46c063e8 | /ProjectTest/03_event_driven_programming/testhead.cpp | 0dbea5ce9fb50a03cb219a1522ed4d2dfaa32263 | [] | no_license | cybershuimo/SDL_Experiment | 0c93eaa0a67e359b9bf7e998a2bf4855e4473cb2 | c2684e8a1be0e82300ba52ac6611e16995f3ca2d | refs/heads/master | 2021-09-10T07:34:42.675641 | 2018-01-12T08:05:43 | 2018-01-12T08:05:43 | 114,712,687 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 146 | cpp |
#include <stdio.h>
#include "testhead.h"
int main(int argc, char const *argv[])
{
int a = 2;
change(a);
printf("a is %i\n", a);
return 0;
}
| [
"27873085+cybershuimo@users.noreply.github.com"
] | 27873085+cybershuimo@users.noreply.github.com |
2b8117e3aeb12ec2e43d6c66d3f4849f14a84343 | d98a957583e3d7e1ad822a74d24052c57ab3bbce | /test/compare/test_compare_uint64.cpp | 49306f64d8069d18eca9d89228538ce4b9f7e5c8 | [
"MIT"
] | permissive | VeloPayments/v-portable-runtime | c0cd8cca5f0d68e37783f1cac9d1f075d8e95034 | 0e19f718f40786d44517d8f8fbd341e05a92b649 | refs/heads/master | 2023-09-03T19:16:34.938669 | 2023-08-17T23:08:32 | 2023-08-17T23:08:32 | 249,749,371 | 0 | 1 | MIT | 2023-08-17T23:08:34 | 2020-03-24T15:45:48 | C | UTF-8 | C++ | false | false | 1,074 | cpp | /**
* \file test_compare_uint64.cpp
*
* Unit tests for compare_uint64.
*
* \copyright 2017-2023 Velo-Payments, Inc. All rights reserved.
*/
#include <vpr/compare.h>
#include <minunit/minunit.h>
#include <string.h>
TEST_SUITE(compare_uint64);
/**
* Test that comparing two uint64_t values that are equal result... | [
"nanolith@gmail.com"
] | nanolith@gmail.com |
217749098f0a598178341df24e6d4514c7d61f1e | 615a8bb951c9f8a6c125548730e00b01566eb384 | /Sandbox/src/Layers/CImguiLayer.h | be5e225ae29e3c4a70b08f9496c5d871fd597d39 | [
"Apache-2.0"
] | permissive | Krais1989/KraisEngine | c176c8e52baddaf3a318a437af3ba46746f99cd1 | b7f79a4cd38cd83c3f9c762fd4d93ebd713ca3cd | refs/heads/master | 2023-08-31T10:15:31.913994 | 2021-03-06T19:37:47 | 2021-03-06T19:37:47 | 283,689,588 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 353 | h | #pragma once
#include <ke_pch.h>
#include <KraisEngine.h>
class CImguiLayer : public KE::CLayer
{
public:
CImguiLayer();
virtual void OnAttach();
virtual void OnDetach();
virtual void OnUpdate(float dt);
virtual void OnEvent(KE::CEvent& ev);
virtual void OnRender();
protected:
bool m_ShowDemo = true... | [
"krais1989@gmail.com"
] | krais1989@gmail.com |
3668caf717d549c7f5ac6294f572325c009eaee3 | 35717ca2bb81d2c47d31e4cb9cc9fd8304aef09b | /CNN/layer.h | 2f94956885a354dacf43435c96f791988ea3cf5f | [] | no_license | advancer-debug/DECNN | 05d4164f6999274c25369ad43a0a3a1519e43667 | 491c9af3591285f901adb2479303dce4a93575d1 | refs/heads/master | 2021-06-01T17:51:03.430121 | 2016-01-29T14:30:33 | 2016-01-29T14:30:33 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 7,145 | h | /* FileName: layer.h */
#ifndef _LAYER_H_
#define _LAYER_H_
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include "util.h"
using namespace std;
enum layer_type {
INPUT = 0,
CONV ,
POOL ,
FULLI,
HIDDEN ,
OUTPUT ,
};
class FeatureMap {
public:
doubl... | [
"aron@aron-Precision-T1700.(none)"
] | aron@aron-Precision-T1700.(none) |
4e4c9c3fee8e3e6a349a8f96074733a8abb54b99 | 5d917e97f825ee26f1e133ea9ea374b277a837d9 | /frameworks/lua-bindings/bindings/auto/lua_cocos2dx_auto.hpp | 76e48d894e97366f97c14be01213e6fcba2b5f51 | [
"MIT"
] | permissive | xiangyuan/cocos2d-lua | fc233a7d64c6aa5a834cc8d45f434c0ca595edfc | 59934c329b58740486cb3dfe9125bfcdfe12d730 | refs/heads/master | 2020-12-26T02:39:16.478848 | 2014-03-03T08:43:39 | 2014-03-03T08:43:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,729 | hpp | #ifndef __cocos2dx_h__
#define __cocos2dx_h__
#ifdef __cplusplus
extern "C" {
#endif
#include "tolua++.h"
#ifdef __cplusplus
}
#endif
int register_all_cocos2dx(lua_State* tolua_S);
... | [
"jianhua.chen@cocos2d-x.org"
] | jianhua.chen@cocos2d-x.org |
5fd4d6c90dd589a29ee69c9a97fa18ea40be9ec0 | 9adfd7219b271002d0fb08cc7e7419b4960160c1 | /SRC/os.cpp | 7f31bbb6824ecefa9ccd7ad68027b166e466f925 | [
"MIT"
] | permissive | yejeelee94/ChatScript | 0deefec13edefb2638eebc6992805b57f944d9bb | 53337b6ed319403aea2303248e7e62c795085f54 | refs/heads/master | 2020-05-17T22:30:46.592138 | 2019-04-26T21:49:08 | 2019-04-26T21:49:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 73,329 | cpp | #include "common.h"
#ifdef SAFETIME // some time routines are not thread safe (not relevant with EVSERVER)
#include <mutex>
static std::mutex mtx;
#endif
int loglimit = 0;
int ide = 0;
bool idestop = false;
bool idekey = false;
bool inputAvailable = false;
static char encryptUser[200];
static char encryptLTM[200];
st... | [
"gowilcox@gmail.com"
] | gowilcox@gmail.com |
d60d11fe7f2b6ec30443ca1cd6dfd57e4d227e37 | 02b8e4498a2c3d0b07d5718ab06934c9c812cffc | /pset1/test028.cc | fee5ad3e4ac3eaaa0a9f5916becab5be20f9622d | [] | no_license | Ccolt/cs61 | cbedb856fdc745c167b81adb4b84cf46545dee38 | 8f2076364cb5ad965746d69e64d3b55836cb88c6 | refs/heads/master | 2020-05-16T15:59:24.215495 | 2019-04-24T05:02:59 | 2019-04-24T05:02:59 | 183,148,059 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 506 | cc | #include "m61.hh"
#include <stdio.h>
#include <assert.h>
#include <string.h>
// Memory leak report with no leaks.
struct node {
node* next;
};
int main() {
node* list = nullptr;
// create a list
for (int i = 0; i < 400; ++i) {
node* n = (node*) malloc(sizeof(node));
n->next = list;
... | [
"charlie.colt.simonds@gmail.com"
] | charlie.colt.simonds@gmail.com |
648326531ab4b2366b9b6227b713c5bb0a7b7ceb | 718ef298b4f5983ba5623753d3d63dc56c95ca66 | /iOS/Classes/Native/UnityClassRegistration.cpp | f9d3d0b5f7edb12737d5305229b5bf1fc65b94da | [] | no_license | aditya4812/ZIROInvasion | fab2116a4b46312146ba751fab8bdb171d1f936b | f10b7f8625c94d6640342d16c273c0345fd0761a | refs/heads/master | 2020-12-20T23:23:52.659556 | 2020-05-06T02:21:04 | 2020-05-06T02:21:04 | 236,237,117 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 130 | cpp | version https://git-lfs.github.com/spec/v1
oid sha256:953bf89a0206ba57d260e18ef86af892a1a6955c1fbe0ede4d0b59a475672e0e
size 16621
| [
"a7mehta@ucsd.edu"
] | a7mehta@ucsd.edu |
984382e159ff2793d84240485334c873adeda010 | 1e0be6beadcdd136b1ec714ee3df463a38c559fa | /HDU/2031.cpp | e004bc9e90585d97e8d9c03624921dd982c26ea1 | [] | no_license | yukinoxita/AC_CODE | 8172be6fc170acde67afd3f8101ef620ac4693ec | 36588308831571cb13b4f5b105f92c7a6ffd3a84 | refs/heads/master | 2021-07-25T20:34:45.066631 | 2020-10-09T11:53:33 | 2020-10-09T11:53:33 | 224,656,641 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 720 | cpp | #include <cstdio>
#include <iostream>
#include <cstring>
using namespace std;
int n,r;
int bit[100];
char alpha[6]={'A','B','C','D','E','F'};
int sit;
bool flag;
void print()
{
int i;
if(flag)printf("-");
for(i=sit;i>=1;i--)
{
if(bit[i]<10)printf("%d",bit[i]);
else printf("%c",alpha[bit[... | [
"m1091057545@163.com"
] | m1091057545@163.com |
be3700b7d87cecfe3d582d00f2a9f6314ab5435f | 52c56ac3090eb7bef0b1ae0e310db95bf05bce4d | /incl/domain/alliedcoalition.h | 3d028d282dcf99a04c42272d0d44764479094f6a | [
"Unlicense"
] | permissive | HexTools/one | ea6ce35d502728cdf6a2aa47ce2e6ddb2f73f7a2 | 87af3a4568bda72580accb4db9d4d12654df0293 | refs/heads/master | 2020-06-05T07:44:19.750921 | 2014-08-14T20:29:42 | 2014-08-14T20:29:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 231 | h | #ifndef ALLIEDCOALITION_H
#define ALLIEDCOALITION_H
class AlliedCoalition
{
public:
enum
{
OTHER = 0,
BRITISH, // 1
FRENCH, // 2
VICHY, // 3
SOVIET, // 4
USA, // 5
GREEKS, // 6
COUNT // 7
};
};
#endif
| [
"moondt@gmail.com"
] | moondt@gmail.com |
ea8b73956a85463edb3d4fcf1eb398ea8b7cc3da | 4354173cc824119dc4922ebc8157befe188b05e0 | /Cache.h | bb52a610bcd9ba38fdc3415f0a3ca9d4e6376bfd | [
"MIT"
] | permissive | Tarferi/youtubedownloader | 9d5c182179e26ee43a8a0339e714eeb39f013a33 | 70c46a33787b93265254f932cf1c73963716ec28 | refs/heads/master | 2020-09-10T05:17:46.804973 | 2019-11-14T15:09:10 | 2019-11-14T15:09:10 | 221,657,954 | 18 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 425 | h | #pragma once
#include "common.h"
class Cache {
public:
static const unsigned int CACHE_CHECKSUM_LEN = 48;
bool isValid = false;
Cache(char* path, size_t maxSize);
virtual ~Cache();
ReadBuffer* get(char* checksum);
bool put(char* checksum, char* data, unsigned int dataLength);
private:
... | [
"Tom@DESKTOP-OKDR18E"
] | Tom@DESKTOP-OKDR18E |
bc26e47505adec98492e9866813edb18b0f0f371 | c6389f9b11fd40ee9295f4e88a14a8057e294e4f | /components/asio/asio/asio/include/asio/detail/win_iocp_socket_accept_op.hpp | 0aa850fde3257b279f7f6c060ff8f1f504000233 | [
"MIT",
"BSL-1.0"
] | permissive | ghsecuritylab/N14 | 987ebb27cfbd7ebf84deadeb09a480aa51be34c7 | 76bc595e3face0903436e48165f31724e4d4532a | refs/heads/master | 2021-02-28T19:46:09.834253 | 2019-11-19T14:36:58 | 2019-11-19T14:36:58 | 245,728,464 | 0 | 0 | MIT | 2020-03-08T00:40:31 | 2020-03-08T00:40:30 | null | UTF-8 | C++ | false | false | 9,639 | hpp | //
// detail/win_iocp_socket_accept_op.hpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1... | [
"qitas@qitas.cn"
] | qitas@qitas.cn |
5729a8aa2d71f43fc1891c32b16998a700694d7e | bd18ae73e6a97f15929d2eeebfed34cb003e4742 | /Source/ImsvGraphVis/IGVLog.cpp | 999e0479b3940711704b60ce486ef139d0ddefb5 | [
"BSD-3-Clause"
] | permissive | kwonoh/ImsvGraphVis | d7faada6b63c40b20ce3962a46804d5f3e2673b8 | a97397818d7d8c6be4d8ea67882ac61093f52fc0 | refs/heads/master | 2022-05-26T23:34:27.332066 | 2022-03-24T02:46:39 | 2022-03-24T02:46:39 | 102,439,015 | 23 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 50 | cpp | #include "IGVLog.h"
DEFINE_LOG_CATEGORY(LogIGV);
| [
"kwonoh@me.com"
] | kwonoh@me.com |
43e25408894b875c8a8b0c2d59d44858fa9f971b | 51f4106e2a42bf3c9794b85ccb1f103870c4643a | /common/src/physics2/BoundingBox3D.h | 55d20ba707baffd30bb70fd0c21c21885180bac6 | [] | no_license | expokorea/korea | 7eaf84e62ef0dbe63cddd6a6c590e85d78633c24 | d88d3206e66845ee72eda91b72963f43e591045d | refs/heads/master | 2021-01-01T19:15:34.462778 | 2012-04-14T15:16:08 | 2012-04-14T15:16:08 | 3,376,639 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,998 | h | #pragma once
#include "ofMesh.h"
#include "ofGraphics.h"
//----------------------------------------
static void ofBox(ofVec3f size){
static ofMesh vertexData;
ofPushMatrix();
if(ofGetCoordHandedness() == OF_LEFT_HANDED){
ofScale(1, 1, -1);
}
float w = size.x * .5;
float h = size.y * .5;
float d = size.z *... | [
"arturo@openframeworks.cc"
] | arturo@openframeworks.cc |
cecb50e20ed04f9837a39102d3dc64a3cff03c81 | 960499569a1018c2a8817d21b13e79856ff344ba | /services/catalog/reader.cc | 3ae85d6ecc90831fb1ae034130a20d919c966f63 | [
"BSD-3-Clause"
] | permissive | ollie314/chromium | e0082d960bb3c0b19a38315f8d25dd7645129d04 | 533a1c2a90fe2a3bc74892f66f34d45aef3a8f98 | refs/heads/master | 2022-12-30T17:45:45.833312 | 2016-11-13T22:46:54 | 2016-11-13T22:46:53 | 49,952,784 | 0 | 0 | null | 2016-11-13T22:46:54 | 2016-01-19T12:58:33 | null | UTF-8 | C++ | false | false | 8,695 | cc | // Copyright 2016 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.
#include "services/catalog/reader.h"
#include "base/bind.h"
#include "base/files/file_enumerator.h"
#include "base/files/file_util.h"
#include "base/json... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
1665b06774a0a4fd88be778c3743372785fc1542 | f88777eea48fa72d26518325d99e2fa022895c70 | /aoj/grl-4-b_topological-sort.cpp | cda196ee30be3d6e190878b3466ed13471756a38 | [] | no_license | komukomo/competitive-programming | c0797e138c592121223676030f81e765b893f378 | 5c7e9462b0e5035c3a8a27007c4bcdfd55bf390c | refs/heads/master | 2021-01-18T15:37:07.313730 | 2017-03-30T05:22:37 | 2017-03-30T05:22:37 | 86,662,843 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 827 | cpp | #include <algorithm>
#include <iostream>
#include <queue>
#include <vector>
using namespace std;
static const int MAX = 10000;
vector<int> G[MAX];
int indegs[MAX];
bool visited[MAX];
void visit(int x) {
cout << x << endl;
visited[x] = true;
}
void bfs(int start) {
queue<int> q;
q.push(start);
while (!q.emp... | [
"komukomo@users.noreply.github.com"
] | komukomo@users.noreply.github.com |
7b9e31d8ed8333b04b8d8068bafa38127d014a25 | 8eafb73fdab3e422aa717bac9af338dcba5e3c1e | /bbp/src/irikura/greenscale/saitofilt.cpp | fef83968fbbe625f3dbff73783e7d3c0c9bdcab8 | [
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | LevyForchh/bbp | 6dae4ce3577a73f5cef9b9b5507753a1381ec870 | 3cc389fb956ea14ef827af0f437ce37e8291afac | refs/heads/master | 2020-06-03T05:10:35.751009 | 2019-06-11T21:38:18 | 2019-06-11T21:38:18 | 191,453,945 | 0 | 0 | null | 2019-06-11T21:38:16 | 2019-06-11T21:38:15 | null | UTF-8 | C++ | false | false | 8,092 | cpp | #define PI 3.141593
#define HP 1.570796
#include <math.h>
#include "saitofilt.h"
/*
+ BUTTERWORTH LOW PASS FILTER COEFFICIENT
+
+ ARGUMENTS
+ H : FILTER COEFFICIENTS
+ M : ORDER OF FILTER (M=(N+1)/2)
+ GN : GAIN FACTOR
+ N : ORDER OF BUTTERWORTH... | [
"fsilva@usc.edu"
] | fsilva@usc.edu |
16c47725873230e76d03568816cd054e1091f1c0 | 23e7a9c2c98302c0ec79cbf7ef4203106abc5de2 | /Weaver/src/Player.cpp | aa5eb3761a453a7520cfe3769f548577a5ab5c9d | [] | no_license | GeorgeJJCheng/PersonalProjects | 35979eee0ae0c1f0960a3de5a04039be76ccf8e9 | e90f06aa6001add8461b1c9ea9c5813944d51379 | refs/heads/master | 2021-01-20T04:50:31.185470 | 2017-04-28T20:15:39 | 2017-04-28T20:15:39 | 89,740,126 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 116 | cpp | #include "Player.h"
Player::Player()
{
//ctor
}
Player::~Player()
{
//dtor
}
void Player::checkExp()
{
}
| [
"jj5cheng@uwaterloo.ca"
] | jj5cheng@uwaterloo.ca |
2446d40670afeb2af92ccf150c6a8688b7658e7e | fe39e4d1bca62d7bff7b6713b8b596d88f8aa354 | /src/plugins/3rdparty/LLVM/tools/clang/lib/AST/VTTBuilder.cpp | 24c1455df0ec1df99af9dba93f2ef6398a41e9c9 | [] | no_license | panpanSun/opencor | a29a806475f43adb0f64047631d4dc044f05e030 | 71449e1ecaa988ea8b6cfea7875d9f3593a8dc26 | refs/heads/master | 2020-12-24T11:53:33.902565 | 2013-04-20T18:59:29 | 2013-04-20T18:59:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,519 | cpp | //===--- VTTBuilder.cpp - C++ VTT layout builder --------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"agarny@hellix.com"
] | agarny@hellix.com |
4a5f0352f38f1245c786415369af32dd6c4b608b | c140db9d127803a03199db78ff5507b503b316fb | /cpp/includes/cloud/asio_handler/asio_handler.cpp | 184bd9853dc2e44712a003447d9702ccaca437e5 | [
"Apache-2.0"
] | permissive | shangma/rapp-api | dedaf7ed140549568f1e83306b039ae81482a4ae | e842401e1a83754a51874b996646355e627a9b18 | refs/heads/master | 2021-01-23T08:11:23.688892 | 2016-07-01T12:29:01 | 2016-07-01T12:29:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,962 | cpp | #include "asio_handler.hpp"
namespace rapp {
namespace cloud {
void asio_handler::error_handler(const boost::system::error_code & error)
{
std::cerr << "error: " << error.message() << std::endl;
}
void asio_handler::invalid_request(const std::string message)
{
std::cerr << "invalid http request: " << messag... | [
"klpanagi@gmail.com"
] | klpanagi@gmail.com |
0da996a5d98940184e06351c5fff0c9965aa8367 | a8e8c56272c284b69f4e0204fa01da8fa7b33703 | /GarageControlSlave/GarageControlSlave.ino | ccf93c3641766b180b48ab8a18678f9e05dc0e6c | [] | no_license | stejsoftware/GarageControlFirmware | ef0c07e41ba3ed1f5c1da3e5b89305d8479f03da | 9469a6bfa1e8fcfd5491312209f8852c70098b73 | refs/heads/master | 2020-02-26T14:05:12.794254 | 2016-11-20T15:52:02 | 2016-11-20T15:52:02 | 19,815,982 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,575 | ino | #include <DHT.h>
#include <CmdMessenger.h>
#include <GarageControl.h>
#include <Timer.h>
#include <LED.h>
#include <Button.h>
#include <Relay.h>
// door status
Button door_open(11, false);
Button door_closed(10, false);
Timer door_timer;
DS door_status = DS_Unknown;
// relay variables
Relay relay(9);
// temp variabl... | [
"jon@stejsoftware.com"
] | jon@stejsoftware.com |
c0e8919457ec80760743a5beb7221e7c98dc5c66 | fe106df825705a090f321967a38f9901bf31a4a9 | /cpp/wejscie-wyjscie.cpp | 2c4a6ed8c5a073b13e3dbc520d97f7f22d445fac | [] | no_license | Piter98/gittest | 1388dcea43821b2e345d53175854e7f689c4a4fd | 61a561e73d5033226948a9ab763cee3179942013 | refs/heads/master | 2021-01-20T15:18:52.677693 | 2017-04-12T11:39:55 | 2017-04-12T11:39:55 | 82,804,716 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 545 | cpp | /*
* wejscie-wyjscie.cpp
*
* Copyright 2017 user <user@lap79>
*
*/
#include <iostream>
#include <iomanip>
#include <cstdio>
#include <math.h>
using namespace std;
int main(int argc, char **argv)
{
int lint = 0;
cout << "Podaj liczbę całkowitą: ";
cin >> lint;
cout.setf(ios_base::hex, ios_base:... | [
"piotr.pal98@gmail.com"
] | piotr.pal98@gmail.com |
f1484cd016c1c1d5222ecfa7bd700f4ce39f47ae | 44ab57520bb1a9b48045cb1ee9baee8816b44a5b | /Engine/Code/Mathematics/Intersection/Intersection2D/StaticFindIntersectorSegment2Arc2.cpp | 3e3028aa786c396ce154a22b51f3edb5a2f25e29 | [
"BSD-3-Clause"
] | permissive | WuyangPeng/Engine | d5d81fd4ec18795679ce99552ab9809f3b205409 | 738fde5660449e87ccd4f4878f7bf2a443ae9f1f | refs/heads/master | 2023-08-17T17:01:41.765963 | 2023-08-16T07:27:05 | 2023-08-16T07:27:05 | 246,266,843 | 10 | 0 | null | null | null | null | GB18030 | C++ | false | false | 942 | cpp | /// Copyright (c) 2010-2023
/// Threading Core Render Engine
///
/// 作者:彭武阳,彭晔恩,彭晔泽
/// 联系作者:94458936@qq.com
///
/// 标准:std:c++20
/// 引擎版本:0.9.0.11 (2023/06/08 19:23)
#include "Mathematics/MathematicsExport.h"
#ifdef MATHEMATICS_EXPORT_TEMPLATE
#ifndef MATHEMATICS_INCLUDED_STATIC_FIND_INTERSECTOR_SEGMENT2_ARC2_A... | [
"94458936@qq.com"
] | 94458936@qq.com |
084d16896b9ba955277be71e7a02f21e579bac07 | 04c45c420d6a0aae7214173b43c2bd637422929a | /Creational/singleton/di.hpp | e8d38c899cb8f31cb52ed0f1a9242a205036eb06 | [] | no_license | vikyslenator/cpp_design_patterns | cc2b713a6ce09e16afcd7fb3a30dec06280a6999 | 6c6f9ccb92f2246234f09e0c41914a60fb472941 | refs/heads/master | 2023-06-07T16:08:15.790427 | 2020-11-03T01:53:41 | 2020-11-03T01:53:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 145,693 | hpp | //
// Copyright (c) 2012-2020 Kris Jusiak (kris at jusiak dot net)
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
#pragma once
#if (__cplusplus < 201305L && _MSC_VER < 1900)
#error ... | [
"matias.pavez.b@gmail.com"
] | matias.pavez.b@gmail.com |
88efcf6033cddaf529613fd6665179e402d0ce7d | cae9a5e136cf191e3f71b48f70cae2d3f6a52bc8 | /GroupGameDevTeam5/GroupGameDevTeam5/ImGui/imgui_widgets.cpp | 1ace2ae85366c097533d40f694238ac8caa32f67 | [
"MIT"
] | permissive | DevDylans/GroupGameDevTeam5 | 2caf80415e3b8df1163b170b1e19fd197d9891ca | d11d3102e81e39ab41399dc90fbc93c7e8a8575e | refs/heads/master | 2022-10-21T17:08:46.022139 | 2020-06-12T16:37:19 | 2020-06-12T16:37:19 | 259,376,325 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 372,520 | cpp | // dear imgui, v1.77 WIP
// (widgets code)
/*
Index of this file:
// [SECTION] Forward Declarations
// [SECTION] Widgets: Text, etc.
// [SECTION] Widgets: Main (Button, Image, Checkbox, RadioButton, ProgressBar, Bullet, etc.)
// [SECTION] Widgets: Low-level Layout helpers (Spacing, Dummy, NewLine, Separator, etc.)
/... | [
"dylanHetherington97@gmail.com"
] | dylanHetherington97@gmail.com |
a84d354a42e585c6fa4dbc582da1963e4447fc2e | c18e3cba4f445613b2ed7503061cdfe088d46da5 | /docs/parallel/concrt/codesnippet/CPP/asynchronous-agents-library_1.cpp | e0b433c368b08532024cc43d4a608f225f0076cb | [
"CC-BY-4.0",
"MIT"
] | permissive | MicrosoftDocs/cpp-docs | dad03e548e13ca6a6e978df3ba84c4858c77d4bd | 87bacc85d5a1e9118a69122d84c43d70f6893f72 | refs/heads/main | 2023-09-01T00:19:22.423787 | 2023-08-28T17:27:40 | 2023-08-28T17:27:40 | 73,740,405 | 1,354 | 1,213 | CC-BY-4.0 | 2023-09-08T21:27:46 | 2016-11-14T19:38:32 | PowerShell | UTF-8 | C++ | false | false | 2,490 | cpp | // basic-agents.cpp
// compile with: /EHsc
#include <agents.h>
#include <string>
#include <iostream>
#include <sstream>
using namespace concurrency;
using namespace std;
// This agent writes a string to its target and reads an integer
// from its source.
class agent1 : public agent
{
public:
explicit agent1(ISour... | [
"v-zhecai@microsoft.com"
] | v-zhecai@microsoft.com |
6810cf7d9b64c4bb0149f1053302079ffcd858d4 | 9d2ddf5a04576102e51080fb90a239103eb7f93b | /codechief/SPALNUM1.cpp | 8fabd527af83252900b82bebb539c7c286dd0746 | [] | no_license | sharmayush/Competitive-programming | f02a7b5b8deab07d753d3318e6d30e3b3efda2ba | 466d24709d920dbce645f874ca78d22ee001d262 | refs/heads/master | 2020-03-27T14:05:09.326060 | 2018-08-29T19:40:21 | 2018-08-29T19:40:21 | 146,643,416 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 432 | cpp | #include<iostream>
using namespace std;
int main()
{
long long int t;
cin>>t;
while(t--)
{
long long int flag=0,temp,i,n,k;
cin>>n>>k;
for (i=n;i<k;i++)
{
long long int reverse = 0;
temp = i;
while(temp!=0)
{
reverse = reverse*10;
reverse = reverse+temp%10;
temp = t... | [
"noreply@github.com"
] | noreply@github.com |
3c1dacff7f13b110d6d57ff2e07b3686e4db4808 | f54054008a9ac3c1f7bf1c763f288f516b608f16 | /thidau_BCTHIDAU.cpp | c0065024f91f8bc42a92395481c5016207218df6 | [] | no_license | KhanhKitin/spoj_ptit | f5d1dc6aea83cbe19731024fcaa2dd75fed0c448 | 0b3971db3a2f88b0451482060f0415ceef911dc6 | refs/heads/master | 2022-04-21T04:08:42.266755 | 2020-04-20T16:30:01 | 2020-04-20T16:30:01 | 257,340,618 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 711 | cpp | #include<bits/stdc++.h>
using namespace std;
int main(){
string s;
int sobaiMax=-1;
int sodiemphatMin=0;
string nameMax;
int n;
cin>>n;
for(int i=1;i<=n;i++){
int s1,t1,s2,t2,s3,t3,s4,t4;
string k;
cin>>k;
cin>>s1>>t1>>s2>>t2>>s3>>t3>>s4>>t4;
int diem=0;
int d=0;
if(t1>0){
d++;
diem=diem+(s1-... | [
"kitinkhanh@gmail.com"
] | kitinkhanh@gmail.com |
5e39045dec424513a4a088a741734fe4fea1b6a0 | 7f72c463d8747c05cf964e0ea4f896890b4a8b6c | /out/Release/obj/gen/deps/v8/src/objects/js-array-buffer-tq-csa.h | 78fe041888fcca5ce010845fe20b0e1f4355c5e7 | [
"CC0-1.0",
"LicenseRef-scancode-openssl",
"NTP",
"BSD-3-Clause",
"Artistic-2.0",
"Zlib",
"ICU",
"NAIST-2003",
"LicenseRef-scancode-unicode",
"ISC",
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"MIT",
"LicenseRef-sca... | permissive | sdizdarevic/node-v14.15.4 | 5dc95efdd2dc83aa577930c0792755d2e25da238 | ab3716c46ad34da8680ca48c2498e71d77838dfd | refs/heads/master | 2023-03-09T00:46:54.316036 | 2021-02-21T10:19:33 | 2021-02-21T10:19:33 | 340,862,598 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,415 | h | #ifndef V8_GEN_TORQUE_GENERATED_______DEPS_V8_SRC_OBJECTS_JS_ARRAY_BUFFER_TQ_H_
#define V8_GEN_TORQUE_GENERATED_______DEPS_V8_SRC_OBJECTS_JS_ARRAY_BUFFER_TQ_H_
#include "src/builtins/builtins-promise.h"
#include "src/compiler/code-assembler.h"
#include "src/codegen/code-stub-assembler.h"
#include "src/utils/utils.h"
#... | [
"saudin.dizdarevic@gmail.com"
] | saudin.dizdarevic@gmail.com |
d7bb3a0718ca26cd73ae50633b1a3ae37d403ea8 | c6b483cc2d7bc9eb6dc5c08ae92aa55ff9b3a994 | /hazelcast/generated-sources/src/hazelcast/client/protocol/codec/TransactionalMapRemoveCodec.cpp | d95bb5f9372986a3f3c9e197485109b946f91c54 | [
"Apache-2.0"
] | permissive | oguzdemir/hazelcast-cpp-client | ebffc7137a3a14b9fc5d96e1a1b0eac8aac1e60f | 95c4687634a8ac4886d0a9b9b4c17622225261f0 | refs/heads/master | 2021-01-21T02:53:05.197319 | 2016-08-24T21:08:14 | 2016-08-24T21:08:14 | 63,674,978 | 0 | 0 | null | 2016-07-19T08:16:24 | 2016-07-19T08:16:23 | null | UTF-8 | C++ | false | false | 4,164 | cpp | /*
* Copyright (c) 2008-2015, Hazelcast, Inc. 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 ... | [
"ihsan@hazelcast.com"
] | ihsan@hazelcast.com |
bf0fe243336130c1f6633cc4a6aeb5057d993766 | 7f84adc638f0b43442ebcbfa562597fc24cad186 | /Graph/Connected_Components.cpp | 068be9262ea1e11eff5dd0c2365cc63ab5fc717f | [] | no_license | okoge-kaz/cpp-library | c122338e02e63346d83b4e689f8791b85ef9da64 | afdae5ee94b101e1f4b7793f8046652b2e1090e6 | refs/heads/main | 2023-08-24T09:52:15.789845 | 2021-09-18T09:02:00 | 2021-09-18T09:02:00 | 405,311,262 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,901 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
const long long INF = 1LL << 60;
const int inf = (1 << 30);
const ll mod = 998244353;
const ll MOD = 1000000007;
const ld PI = acos(-1.0L);
int dy[] = {1, 0, -1, 0}, dx[] = {0, -1, 0, 1};
int dy8[] = {1, 1, 0, -1, -1, -1, 0, 1},... | [
"kaz.tokyo.tech20@gmail.com"
] | kaz.tokyo.tech20@gmail.com |
cc468e556ee7fb210f07df74f7e62f764ac6b3b8 | 112752e08475599b53441d1f5c600e129b5932c7 | /modules/monitoring/src/cpu-addon/CPUInfo.cpp | 2b42dc4b3ae705889bb15a5b7788409508871664 | [
"Apache-2.0"
] | permissive | ServantJS/servantjs-agent | 4e017e76db7ed6818290b958c0ffb06b34050aa8 | ac5c56ada1bd49b75d919fe742642faec9000a4e | refs/heads/master | 2020-04-15T13:36:36.657360 | 2016-10-01T20:38:03 | 2016-10-01T20:38:03 | 57,215,579 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,446 | cpp | #include "CPUInfo.hpp"
#ifdef __linux__
#include <fstream>
#endif
#ifdef __APPLE__
#include <mach/mach_host.h>
#include <mach/processor_info.h>
#endif
int CPUInfo::update() {
#ifdef __APPLE__
unsigned int cpu_count;
processor_cpu_load_info_t cpu_load;
mach_msg_type_number_t cpu_msg_count;
int rc = hos... | [
"vitaliuorlov@gmail.com"
] | vitaliuorlov@gmail.com |
f3362d3c489e5dc898eb28008af9aa50ef5b2cd6 | 01f9500c4da16d32bf2e655faf4a634a498bcbd2 | /INZERNAL/menu/framework.cpp | fb83e84298089313f59d21da0562a07fff4d918c | [] | no_license | VerXWasTaken/HertZ-inzernal-modified | 63487457e65a7d7c9e0fee91f783a5b8c6508ce4 | 01874ca1509da5543269fe2605f5f8b0a26ef7fa | refs/heads/main | 2023-09-03T10:43:14.959489 | 2021-11-21T17:02:48 | 2021-11-21T17:02:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,454 | cpp | #pragma once
#include <menu/menu.h>
#include <sdk/sdk.h>
#include <proton\VariantDB.h>
void menu::framework_tab() {
imwrap::prep_columns(3);
auto client = sdk::GetClient();
auto logic = sdk::GetGameLogic();
auto local = logic->GetLocalPlayer();
auto world = logic->GetWorld();
auto tilemap = lo... | [
"noreply@github.com"
] | noreply@github.com |
e2e1c742a312e95035f852eab16a5fcf2e91dff4 | ad934eeba2ac2a3c1d49b02af864790ece137034 | /zufe/2058字符串加密.cpp | d0aa2495cdf67251a406466088233176074e8817 | [] | no_license | xiang578/acm-icpc | 19b3d8c7771b935293749f5ccad0591cde8fc896 | 6f2fdfc62bd689842c80b1caee2d4caf8162d72f | refs/heads/master | 2022-01-12T12:28:43.381927 | 2022-01-12T04:20:44 | 2022-01-12T04:20:44 | 39,777,634 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 478 | cpp | #include<stdio.h>
#include<string.h>
#include<stdlib.h>
#include<math.h>
int main()
{
char hu[28]={"VWXYZABCDEFGHIJKLMNOPQRSTU"};
char s[120];
int i,len;
while(gets(s))
{
if(strcmp(s,"ENDOFINPUT")==0) break;
gets(s);
len=strlen(s);
for(i=0;i<len;i++)
{
... | [
"xiang578@foxmail.com"
] | xiang578@foxmail.com |
fb77aeb8494d9f61f5486e3664617337a29b646e | 1a2577fc9cd16e2d0e9ffc26f0be2f4d6fe27339 | /detection/Main.cpp | e574de624e121ae6e99d978f3e72c2f78982183e | [] | no_license | fusion-research/SensorNetworkSimulator | 52235fe3fcfc8149a531ebccb41c6af37b6a081d | 4e66fc3a924d6a7de25ed740fa82dbb1325632a3 | refs/heads/master | 2021-09-09T11:37:22.821343 | 2018-03-15T18:50:12 | 2018-03-15T18:50:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,524 | cpp | ////////////////////////////////////////////////////////////////////////////////
// Main.cpp //
// //
// GLUI application to test ellipse-covering algorithm. ... | [
"apeforest@gmail.com"
] | apeforest@gmail.com |
8208a476cfd711417bf5208e534a87716532c1b6 | dcb75b10a352d9cfc0ae31f28679a2d56b10b875 | /Source/Mordhau/MordhauShield.cpp | 69a788ddb70422b80b66a5cc8e76f82a35ba4926 | [] | no_license | Net-Slayer/Mordhau_uSDK | df5a096c21eb43e910c9b90c69ece495384608e0 | c4ff76b5d7462fc6ccad176bd8f1db2efdd2c910 | refs/heads/master | 2023-04-28T02:48:14.072100 | 2021-12-15T16:35:08 | 2021-12-15T16:35:08 | 301,417,546 | 3 | 1 | null | 2021-08-23T13:23:29 | 2020-10-05T13:26:39 | C++ | UTF-8 | C++ | false | false | 111 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "MordhauShield.h"
| [
"talon_hq@outlook.com"
] | talon_hq@outlook.com |
9a05a0e0f6dae4b45145c6d9b0d7f84dbddbb2e7 | df8cbdbf75e4bf08ddda9fdcc3b2999e98dfc539 | /SU2016/C++/Play/LeetCodeQuestions/LeetCodeQuestions/MajorityElementII229.hpp | 5c0ffb254164fab419c39e3a70beac625cd49cbf | [] | no_license | SiyangJ/Courses | a1a0f3d24002d6f755db2d14a9eb4968e132e524 | b95588c80d25f34f43002af1bd9a3234f7f8bc9b | refs/heads/master | 2020-03-22T17:18:13.351510 | 2019-01-22T15:11:33 | 2019-01-22T15:11:33 | 140,386,976 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 945 | hpp | //
// MajorityElementII229.hpp
// LeetCodeQuestions
//
// Created by apple on 10/26/17.
// Copyright © 2017 UNC. All rights reserved.
//
#ifndef MajorityElementII229_hpp
#define MajorityElementII229_hpp
#include <stdio.h>
#include <vector>
using namespace std;
class MajorityElementII229 {
public:
// Li... | [
"siyangj@live.unc.edu"
] | siyangj@live.unc.edu |
88ccc47b7d060918ffae1682d5bb10a7e75b7616 | b4e9ff1b80ff022aaacdf2f863bc3a668898ce7f | /openfl/Bsvgpath/Export/macos/obj/src/lime/graphics/opengl/ext/QCOM_perfmon_global_mode.cpp | 072e9becd27530a69de26bdfc60f024d5d568d9c | [
"MIT"
] | permissive | TrilateralX/TrilateralSamples | c1aa206495cf6e1f4f249c87e49fa46d62544c24 | 9c9168c5c2fabed9222b47e738c67ec724b52aa6 | refs/heads/master | 2023-04-02T05:10:13.579952 | 2021-04-01T17:41:23 | 2021-04-01T17:41:23 | 272,706,707 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 3,818 | cpp | // Generated by Haxe 4.2.0-rc.1+7dc565e63
#include <hxcpp.h>
#ifndef INCLUDED_lime_graphics_opengl_ext_QCOM_perfmon_global_mode
#include <lime/graphics/opengl/ext/QCOM_perfmon_global_mode.h>
#endif
HX_DEFINE_STACK_FRAME(_hx_pos_8723c151069cfd66_6_new,"lime.graphics.opengl.ext.QCOM_perfmon_global_mode","new",0x76e5430... | [
"none"
] | none |
86914564f268885a76c49e045786638ed02c2807 | e89efedb81ee399b04d5266cef71fb02074f9008 | /spec/triangle_spec.cpp | e06ee3471d18e230ae3f2eda1a2e7afbaca65c25 | [] | no_license | ChrisLundquist/cs250 | 71cfb1fb57296aadcad66ab20b5103cbac489b59 | 52fe77c763dc2ec8e1e15802ce7120dbedefa71f | refs/heads/master | 2020-05-31T00:40:53.555633 | 2012-09-27T08:56:21 | 2012-09-27T08:56:21 | 5,775,294 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,127 | cpp | #include <gtest/gtest.h>
#include "../triangle.h"
static Color red() {
return Color(255, 0, 0);
}
static Color green() {
return Color(0, 255, 0);
}
static Color blue() {
return Color(0, 0, 255);
}
static Vertex vertex_a() {
return Vertex(Point(100, 0), red());
}
static Vertex vertex_b() {
retur... | [
"chris.lundquist@bluebox.net"
] | chris.lundquist@bluebox.net |
077c20d6d440e69a8e08e57d1e21becc00ea6926 | f6ab96101246c8764dc16073cbea72a188a0dc1a | /volume131/13194 - DPA Numbers II.cpp | 3de11837343867f5fc0d791c97afc178e8cceec0 | [] | no_license | nealwu/UVa | c87ddc8a0bf07a9bd9cadbf88b7389790bc321cb | 10ddd83a00271b0c9c259506aa17d03075850f60 | refs/heads/master | 2020-09-07T18:52:19.352699 | 2019-05-01T09:41:55 | 2019-05-01T09:41:55 | 220,883,015 | 3 | 2 | null | 2019-11-11T02:14:54 | 2019-11-11T02:14:54 | null | UTF-8 | C++ | false | false | 1,120 | cpp | #include <bits/stdc++.h>
using namespace std;
int P[100000], Pt = 0;
void sieve() {
#define MAXL (1000000>>5)+1
#define GET(x) (mark[x>>5]>>(x&31)&1)
#define SET(x) (mark[x>>5] |= 1<<(x&31))
static int mark[MAXL] = {};
SET(1);
int n = 1000000;
for (int i = 2; i <= n; i++) {
if (!GET(i)) {
... | [
"morris821028@gmail.com"
] | morris821028@gmail.com |
64e2822abb3ab9366a9067de3121eda2434cad43 | 1bf8b46afad5402fe6fa74293b464e1ca5ee5fd7 | /SDK/BPF_PlayerCameraBase_parameters.h | f0c65148796302b72c109c0c54d2174a68cf0b24 | [] | no_license | LemonHaze420/ShenmueIIISDK | a4857eebefc7e66dba9f667efa43301c5efcdb62 | 47a433b5e94f171bbf5256e3ff4471dcec2c7d7e | refs/heads/master | 2021-06-30T17:33:06.034662 | 2021-01-19T20:33:33 | 2021-01-19T20:33:33 | 214,824,713 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 864 | h | #pragma once
#include "../SDK.h"
// Name: Shenmue3SDK, Version: 1.4.1
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Parameters
//---------------------------------------------------------------------------
// Function... | [
"35783139+LemonHaze420@users.noreply.github.com"
] | 35783139+LemonHaze420@users.noreply.github.com |
37946f97778410d451ff07d10f6c44977bd54897 | 293279d940b97ad5a2b98f27d2fe8368f7a7f50c | /gammaee/super_hadrons/src/Trkman/Class/TMCurlerMissingThirds.cc | d8605be672a7ebc4bac1da13bb2102813abf21a4 | [] | no_license | jpivarski-talks/1999-2006_gradschool-1 | 51a59a9d262a34d4d613d84bd6a78a0e2675db06 | 11abf09e8dc3b901627e9a7349d9c98bea250647 | refs/heads/master | 2022-11-19T12:16:19.477335 | 2020-07-25T01:18:29 | 2020-07-25T01:18:29 | 282,235,487 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,480 | cc | // -*- C++ -*-
//
// Package: <package>
// Module: TMCurlerMissingThirds
//
// Description: <one line class summary>
//
// Implementation:
// <Notes on implementation>
//
// Author: Nadia Adam
// Created: Thu Sep 5 10:38:17 EDT 2002
// $Id: TMCurlerMissingThirds.cc,v 1.1 2002/11/04 18:31:30 nea9... | [
"jpivarski@gmail.com"
] | jpivarski@gmail.com |
971c663c34647dcf4ee659fbb6fde911ddeaf571 | a4cc0b972c7018a8453665254c7b67520788b34f | /include/NodoCapa.h | 5ef64068995c6702bcdd8e1cca1a8bdf322942c9 | [] | no_license | jeani-rodas97/EDD_2S2019_PY1_201404421 | c4de0da37f8a03e813229b91a98468ae06ece5c3 | 4ad086cd434f0541ea5a49ae0531c6ef09bb4a48 | refs/heads/master | 2022-02-19T02:12:41.091189 | 2019-09-21T02:00:52 | 2019-09-21T02:00:52 | 203,300,576 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 147 | h | #ifndef NODOCAPA_H
#define NODOCAPA_H
class NodoCapa
{
public:
NodoCapa();
protected:
private:
};
#endif // NODONUMCAPA_H
| [
"jenni1897@gmail.com"
] | jenni1897@gmail.com |
db430cd9166275ac900ae6ac2d9df72601a0d9af | 0d9076293349241af62d00eff4c4107e51426ea5 | /leetcode problems/260. Single Number III.cpp | 1d7925037b15e18366fa80f7972ac03c46d3d592 | [] | no_license | zonasse/Algorithm | f6445616d0cde04e5ef5f475e7f9c8ec68638dd0 | cda4ba606b66040a54c44d95db51220a2df47414 | refs/heads/master | 2020-03-23T12:12:00.525247 | 2019-08-10T03:42:53 | 2019-08-10T03:42:53 | 141,543,243 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 377 | cpp | class Solution {
public:
vector<int> singleNumber(vector<int>& nums) {
int eo = 0,eoHasOne = 0;
for(auto &a :nums){
eo ^= a;
}
int rightOne = eo & (~eo + 1);
for(auto &a : nums){
if((a & rightOne) != 0){
eoHasOne ^= a;
}
... | [
"992903713@qq.com"
] | 992903713@qq.com |
29ad458d5f4622f89ac1c256ee66f96b00350d11 | ad0f9b4a69984f2e2cb948e2ed51b9eebc66f34a | /include/RenderBoy/Material.hpp | 2ec75e9b2e06af4fb25fa30b1995d09c07299dc4 | [] | no_license | ukabuer/RenderBoy | 73dd2aa36ead626318016416d113ade55f04121c | d60170c896a630babc77ccb78daa6297fd0a4766 | refs/heads/master | 2022-06-17T23:03:45.647611 | 2020-05-11T07:25:18 | 2020-05-11T07:25:18 | 201,276,619 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 380 | hpp | #pragma once
#include <RenderBoy/Texture.hpp>
#include <array>
#include <memory>
namespace RB {
struct Material {
std::array<float, 4> base_color = {0.0f, 0.0f, 0.0f, 0.0f};
float AlphaCutoff = 1.0f;
float metallic = 1.0f;
float roughness = 1.0f;
std::array<float, 4> emissive = {1.0f, 1.0f, 1.0f, 1.0f};
... | [
"ukabuer@live.com"
] | ukabuer@live.com |
921b3742ca413151f1a3cfe802a0cc894dfcc198 | 783ab8af3c349b1bb5c4a8385e7045f4eb0d4157 | /src/qt/optionsdialog.cpp | 64d876f030814974e1a550a14bf485676fb68e02 | [
"MIT"
] | permissive | qwanmic/jipcoin | 62783fb2313f7d82192809723f87a47fd25274b4 | f8b9d20e292dda80fc735938692ca038ac225eda | refs/heads/master | 2020-03-21T05:43:04.414090 | 2018-06-22T08:56:40 | 2018-06-22T08:56:40 | 136,718,520 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,332 | cpp | // Copyright (c) 2011-2013 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "optionsdialog.h"
#include "ui_optionsdialog.h"
#include "bitcoinunits.h"
#include "monitoreddatamapper.h"
#include ... | [
"michael@ukm-alumni.org"
] | michael@ukm-alumni.org |
cd263e105405af307df13bb2eb7d49a65dd86ec9 | 49b878b65e9eb00232490243ccb9aea9760a4a6d | /components/sync/trusted_vault/standalone_trusted_vault_backend.h | dd2df4dc1c484d7178f102a20310bc6096c93637 | [
"BSD-3-Clause"
] | permissive | romanzes/chromium | 5a46f234a233b3e113891a5d643a79667eaf2ffb | 12893215d9efc3b0b4d427fc60f5369c6bf6b938 | refs/heads/master | 2022-12-28T00:20:03.524839 | 2020-10-08T21:01:52 | 2020-10-08T21:01:52 | 302,470,347 | 0 | 0 | BSD-3-Clause | 2020-10-08T22:10:22 | 2020-10-08T21:54:38 | null | UTF-8 | C++ | false | false | 5,838 | h | // Copyright 2020 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 COMPONENTS_SYNC_TRUSTED_VAULT_STANDALONE_TRUSTED_VAULT_BACKEND_H_
#define COMPONENTS_SYNC_TRUSTED_VAULT_STANDALONE_TRUSTED_VAULT_BACKEND_H_
#incl... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
9d6dcca6e5e48909b9bf1f0c6ad5afb0f97c7a7e | ec1a4e9bebee30769e871e99dce406f4b4bf23ea | /Opdracht_7/Opdracht_7.ino | 49f7849e3060709aec876c2c7e762a392b189122 | [] | no_license | SanderHeeren/ArduinoOpdrachten | d26b8df6b036bc649da93b578f882604ac4c936a | 2974fff9912a61db0552b400ff2e5a3697680674 | refs/heads/main | 2023-08-26T23:53:53.703454 | 2021-10-21T16:13:19 | 2021-10-21T16:13:19 | 419,792,894 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,472 | ino | #include<Servo.h> // Incluse Servo module
const int trigPin = 5; // Tringer pin ultrasone
const int echoPin = 4; // Echo pin ultrasone
float time;
float distance;
int position = 0;
Servo servo; // Aanmaken van de servo
void setup()
{
Serial.begin(9600); // Opstarten van de Serial monitor
pinMo... | [
"noreply@github.com"
] | noreply@github.com |
11e4eeed246dbd97d1460c67b83ad1f8c2993eae | ca7b94c3fc51f8db66ab41b32ee0b7a9ebd9c1ab | /grpc/include/grpc++/impl/server_initializer.h | 014b16077c4a7631e10714d3741085141e91956a | [] | no_license | blockspacer/TronWallet | 9235b933b67de92cd06ca917382de8c69f53ce5a | ffc60e550d1aff5f0f6f1153e0fcde212d37bdc6 | refs/heads/master | 2021-09-15T15:17:47.632925 | 2018-06-05T14:28:16 | 2018-06-05T14:28:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,408 | h | /*
*
* Copyright 2016 gRPC authors.
*
* 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 la... | [
"abce@live.cn"
] | abce@live.cn |
50a82443db367a5a23a899827716ce80feb95327 | 0dd9aaaf64ee65f2f8bec4484b1ca8f4517f54c4 | /trunk/ViewController/UIComponent/DummyComponent.h | 92749cb1735bf486c2812bceec0d1ebc9e0fd448 | [] | no_license | dumppool/mazerts | 53c186bcf8f85c5f618f25464a0067f0b23abeb4 | 7ff775fad18111de8c85552e7bd4c0435b0faba8 | refs/heads/master | 2020-09-14T16:57:56.936388 | 2012-07-08T16:36:08 | 2012-07-08T16:36:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,251 | h | /**
* Test-component
*
* $Revision$
* $Date$
* $Id$
*/
#ifndef __DUMMYCOMPONENT_H__
#define __DUMMYCOMPONENT_H__
#include "UIComponent.h"
#include "../App/ID3DApplication.h"
class DummyComponent : public UIComponent
{
public:
DummyComponent(const int posX, const int posY, const unsigned in... | [
"zemm@iki.fi"
] | zemm@iki.fi |
4d4e956df141f0e3a805c239b6d05fe4ebca5bfe | 4af341026c371c8e25d37780c3d2a85063ec60ea | /LeetCode Solution/Medium/Search in rotate array.cpp | 2c15531943e789f7c9ca8cac79260f0c22caeb96 | [] | no_license | i-am-arvinder-singh/CP | 46a32f9235a656e7d777a16ccbce980cb1eb1c63 | e4e79e4ffc636f078f16a25ce81a3095553fc060 | refs/heads/master | 2023-07-12T19:20:41.093734 | 2021-08-29T06:58:55 | 2021-08-29T06:58:55 | 266,883,239 | 1 | 1 | null | 2020-10-04T14:00:29 | 2020-05-25T21:25:39 | C++ | UTF-8 | C++ | false | false | 2,063 | cpp | class Solution {
public:
bool search(vector<int>& nums, int target) {
int n = nums.size();
if(n==0) return false;
int left = 0, right = n-1;
int mid;
while(left<right){
mid = left+(right-left)/2;
if(nums[mid]==target || nums[left]==target || n... | [
"arvinderavy@ymail.com"
] | arvinderavy@ymail.com |
d506c6c52a76577f7905a0257ad38e3c4fff240c | 597f8a01ba9e6bb53fd8c481a9adbe5f97e8414f | /Assignment3/Client/include/Keyboard.h | d2fe301b463c7b14f1bcc7f532b507091e004e34 | [] | no_license | segevngr/Systems_Programming | 20b6574b0c4fbf3ff7d9b06aa3a6721188705efa | fb54d2218a850538aebf83c7802529feeeebdf7a | refs/heads/master | 2022-11-25T05:51:37.969849 | 2020-08-06T14:31:52 | 2020-08-06T14:31:52 | 285,593,688 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 383 | h | #ifndef ASSIGNMENT3CLIENT_KEYBOARD_H
#define ASSIGNMENT3CLIENT_KEYBOARD_H
#include "connectionHandler.h"
using namespace std;
class Keyboard {
private:
ConnectionHandler* handler;
User *user;
bool* online;
bool waitForInput;
public:
Keyboard(ConnectionHandler *handler, User *user, bool *online)... | [
"segevngr@gmail.com"
] | segevngr@gmail.com |
59210229330476347b7628cfc9072cd2865e854c | 81f6419ea475836b1f1b24bcd2de77a316bc46a1 | /codeforces/Aston and Danik.cpp | d0339e7167c90190c7b29590cbf356740f3aa632 | [] | no_license | Pramodjais517/competitive-coding | f4e0f6f238d98c0a39f8a9c940265f886ce70cb3 | 2a8ad013246f2db72a4dd53771090d931ab406cb | refs/heads/master | 2023-02-25T12:09:47.382076 | 2021-01-28T06:57:26 | 2021-01-28T06:57:26 | 208,445,032 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 457 | cpp | #include<bits/stdc++.h>
using namespace std;
#define ll long long
#define rs reserve
#define pb push_back
#define mp make_pair
#define f(i,s,e,inc) for(auto i=s;i<e;i+=inc)
#define itr(i,ar) for(auto &i:ar)
int main()
{
ll n;
cin>>n;
string s;
cin>>s;
ll aston=0,danik=0;
for(int i=0;i<n;i++)
{
if(s[i]=='A')
aston++;... | [
"pramodjaiswal517@gmail.com"
] | pramodjaiswal517@gmail.com |
ab83d668c6c21cdcc74b547cf1ac60f8be05ed92 | 63ca73071cc8300708f5e1374b45646f8c9f206d | /arduino_app/archive/RangeSensor.h | 5e3242794c8c3679c89e84cd502a213cb5e87154 | [] | no_license | bartlettc22/desertviper | 427696b5dc437308cf5dcf93f19e1820eff37411 | a89dc185b2f971046501451931da01770082572f | refs/heads/master | 2021-01-21T04:55:10.722996 | 2015-07-09T02:50:58 | 2015-07-09T02:50:58 | 34,994,918 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 357 | h | #ifndef RangeSensor_h
#define RangeSensor_h
#include <Arduino.h>
class RSensor
{
public:
RSensor(){} ;
void init(unsigned char TRIG, unsigned char _ECHO);
void run();
long getRange();
unsigned long _duration;
double _distance;
private:
unsigned char _TRIG;
unsigned char _ECHO;
};
exter... | [
"bartlettc@gmail.com"
] | bartlettc@gmail.com |
25f6e46f6f1bcade8d6699bb9570fecd6997f89b | e65a4dbfbfb0e54e59787ba7741efee12f7687f3 | /net-im/gloox/files/patch-src_examples_privacylist__example.cpp | 83248b5e7bc7637eace1e53506b1bfc51c4f80ab | [
"BSD-2-Clause"
] | permissive | freebsd/freebsd-ports | 86f2e89d43913412c4f6b2be3e255bc0945eac12 | 605a2983f245ac63f5420e023e7dce56898ad801 | refs/heads/main | 2023-08-30T21:46:28.720924 | 2023-08-30T19:33:44 | 2023-08-30T19:33:44 | 1,803,961 | 916 | 918 | NOASSERTION | 2023-09-08T04:06:26 | 2011-05-26T11:15:35 | null | UTF-8 | C++ | false | false | 321 | cpp | --- src/examples/privacylist_example.cpp.orig 2017-08-04 16:26:10 UTC
+++ src/examples/privacylist_example.cpp
@@ -17,8 +17,8 @@
#include "../privacymanager.h"
using namespace gloox;
-#include <stdio.h>
-#include <locale.h>
+#include <ctime>
+#include <clocale>
#include <string>
#include <cstdio> // [s]print[f]... | [
"swills@FreeBSD.org"
] | swills@FreeBSD.org |
8b538f056415864233b288ceb2d7e478359361c6 | e03f5137033a218e476931f40cb3639d56adec70 | /noisysines.cpp | 3c17691e00f013708d140d3271b52f31e88fb480 | [] | no_license | smover/Prodigy | ff7780061908bb31af55bcbadf479e06d82bb49c | deee6f22c7dd9de1be7c38dcbf4332e4e507ebe2 | refs/heads/master | 2020-04-15T06:11:37.258311 | 2019-01-07T14:31:45 | 2019-01-07T14:31:45 | 164,451,840 | 0 | 0 | null | 2019-01-07T15:24:00 | 2019-01-07T15:24:00 | null | UTF-8 | C++ | false | false | 1,829 | cpp | #include <iostream>
#include <armadillo>
void GenerateNoisySines(arma::cube& data,
arma::mat& labels,
const size_t points,
const size_t sequences,
const double noise = 0.3)
{
arma::colvec x = arma::linspace<arma::colvec>... | [
"noreply@github.com"
] | noreply@github.com |
40cbd24c40515a955fcdf5a1bf9ef19090faa676 | 0aae835a7de983505f114b8e52c98765d7fe2cc2 | /common/win32_window.h | ba83c3dfc7f947b4e6c418bafd2a03958b6b0e9b | [
"MIT"
] | permissive | ousttrue/Skeletal | 92c54b3f75060e188a3707040e5f7fddee7e0803 | bfbed4ec87e06787d3c004050d65954d53d0abbd | refs/heads/master | 2023-06-11T06:55:07.037894 | 2019-07-21T15:20:52 | 2019-07-21T15:20:52 | 193,386,381 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 342 | h | #pragma once
#include "window_state.h"
///
/// Windows API Window
///
/// * window size
/// * mouse inputs
///
class Win32Window
{
class Win32WindowImpl *m_impl = nullptr;
public:
Win32Window();
~Win32Window();
void* Create(int w, int h, const wchar_t *title);
const WindowState *G... | [
"ousttrue@gmail.com"
] | ousttrue@gmail.com |
b8f86e153174431afaa4b5c1bd4cf7724c142caf | 37b27d8b23a5637f28aabf067ed578978a9c7b30 | /Point.cpp | f61692bf06adf225beda1717b0a25d801ecd096d | [] | no_license | joebentley/grid-pathfinder | 95ef24f807d44651789c0c81272c0f8d36785d12 | e63f88910bf83909354f2b7b5459fcb3109c57c3 | refs/heads/master | 2021-01-10T09:54:04.935914 | 2016-01-19T13:17:29 | 2016-01-19T13:17:29 | 49,953,798 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 912 | cpp |
#include <cstdlib>
#include <iostream>
#include "Point.h"
bool Point::operator<(const Point &p2) const {
return (x < p2.x) || (x == p2.x && y < p2.y);
}
int Point::getManhattanDistanceTo(const Point &p2) const {
return std::abs(this->x - p2.x) + std::abs(this->y - p2.y);
}
Point operator+(con... | [
"joebentley10@gmail.com"
] | joebentley10@gmail.com |
006146de7baabe328abe8a58b8a445e7259a486a | 30bdd8ab897e056f0fb2f9937dcf2f608c1fd06a | /contest/1542589207.cpp | 1ddbcb18d1c386a4c73f215cbfd08855ab4a6076 | [] | no_license | thegamer1907/Code_Analysis | 0a2bb97a9fb5faf01d983c223d9715eb419b7519 | 48079e399321b585efc8a2c6a84c25e2e7a22a61 | refs/heads/master | 2020-05-27T01:20:55.921937 | 2019-11-20T11:15:11 | 2019-11-20T11:15:11 | 188,403,594 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 856 | cpp | #include<iostream>
#include<cstdio>
#include<cstring>
#include<cstdlib>
#include<cmath>
#include<iomanip>
#include<algorithm>
#include<queue>
#include<stack>
#include<vector>
#define ri register int
#define ll long long
using namespace std;
char str[10],ch[105][10];
int n;
inline const int... | [
"harshitagar1907@gmail.com"
] | harshitagar1907@gmail.com |
13ae8710b2e818a8ff663b6485bbca8cbad44bf0 | b6ab5a3ff4402ed085557cd5ff354ab2ead6e6f8 | /GFG/distinctOccurences.cpp | 21be183b566eed698acb4befc74990223a4030bf | [] | no_license | sahiljajodia01/Competitive-Programming | e51587110640663aa32f220feddf6ab10f17c445 | 7ae9b45654aff513bceb0fc058a67ca49273a369 | refs/heads/master | 2021-07-17T08:23:24.143156 | 2020-06-05T11:34:14 | 2020-06-05T11:34:14 | 163,054,750 | 0 | 1 | null | 2019-10-31T05:36:35 | 2018-12-25T06:48:39 | C++ | UTF-8 | C++ | false | false | 862 | cpp | #include <bits/stdc++.h>
using namespace std;
int distinct_occurences(int x, int y, string a, string b) {
int sum = 0;
// if(y == 0 && (a[x] == b[y])) {
// return 1;
// }
// else if(x == 0 || (a[x] != b[y])) {
// return 0;
// }
if(y == 0 && x >= 0) {
if(a[x] == b[y]) {... | [
"sahil.jajodia@gmail.com"
] | sahil.jajodia@gmail.com |
752e87eeeb1ac4263dd0b57c49b3da9214e6370c | 2b3850a1b1c48202e5fe735649feabb7ed042cff | /src/vecteur3_test.cpp | 15f75e6d77c43cb1a46636116b06cb970af2d940 | [] | no_license | Petit-Chaperon-Rouge/C-_TP1 | bab66d68e2de27f3f6787aee01dc49d64e19ced2 | 307c6aa1627587aa6fd6c4f57d72b7bc279ebf6a | refs/heads/master | 2021-05-08T18:10:37.495679 | 2018-02-01T08:42:43 | 2018-02-01T08:42:43 | 119,504,493 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 494 | cpp | #include "vecteur3.hpp"
#include <CppUTest/CommandLineTestRunner.h>
TEST_GROUP(GroupVecteur3) { };
TEST(GroupVecteur3, test_norme) {
vecteur3 v {2, 3, 6};
CHECK_EQUAL(7, v.norme());
}
TEST(GroupVecteur3, test_addition) {
vecteur3 v {2, 3, 6};
vecteur3 res = addition(v, v);
CHECK_EQUAL(0, res.x);
CHECK_EQ... | [
"axel.lecoeuche@sfr.fr"
] | axel.lecoeuche@sfr.fr |
2510186fbf183f0c285b9a405c1f076ad0c23a44 | 039ea0943dc168cf2e291ea010088a9dde180943 | /chpter6demo/main.cpp | 784d7910a27e9b9dd0107521fc386fff41ba31dc | [] | no_license | dhdljd/ML_by_cpp | 41631e9bb5ca20bf4893f1a9c85d86f9dc116e8d | 04131869883d7584e0bda4a5cb2ce6db30885906 | refs/heads/master | 2021-02-04T18:02:18.994333 | 2020-03-03T02:34:54 | 2020-03-03T02:34:54 | 243,694,944 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 4,298 | cpp | #include <iostream>
#include "SavingsAccount.h"
//#include "Array.h"
#include <vector>
#include <algorithm>
#include <fstream>
#include <sstream>
#include <string>
using namespace std;
struct deleter {
template <class T> void operator () (T* p) { delete p; }
};
class Controller { //控制器,用来储存账户列表和处理命令
... | [
"noreply@github.com"
] | noreply@github.com |
69749b022ce6ddd59aec6e7d8b6a8ba82d19ef6e | 21b4347c5a25f1ddb11404e974c47f71e2f34b32 | /Hazel/src/Hazel/Renderer/RendererAPI.cpp | 0bbbab1de97ce9ef699201eabf306dfd1fab9115 | [] | no_license | nsho77/LetsMakeEngine | 40306ae1c867619f4758c96ad2c50651bacb2e52 | 622fde5bc4436455edf5d1d086b0fb999e72c850 | refs/heads/main | 2023-05-03T11:28:22.318568 | 2021-05-29T09:32:14 | 2021-05-29T09:32:14 | 304,617,685 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 532 | cpp | #include <hzpch.h>
#include "Hazel/Renderer/RendererAPI.h"
#include "Platform/OpenGL/OpenGLRendererAPI.h"
namespace Hazel {
RendererAPI::API RendererAPI::s_API = RendererAPI::API::OpenGL;
Scope<RendererAPI> RendererAPI::Create()
{
switch (s_API)
{
case RendererAPI::API::None: HZ_CORE_ASSERT(false, "Render... | [
"nsho77@naver.com"
] | nsho77@naver.com |
68c5f401179c5ab4234eac58c3b99dbba44cb03e | 2c2672b0ceb3bad925f05896d2c91a4aca1892d0 | /Ejercicio_14/main.cpp | d4c51015f92004b4de6a0ea6fa99be32f272a17c | [] | no_license | Klatu1494/Programacion-I | 6ed05eb93418d4dc15bda85c9dfdec929bfc8b58 | aeb7d106180fb110d0cffbeaf5b71734b8fd22d8 | refs/heads/master | 2021-01-21T08:33:15.771179 | 2017-05-18T00:33:52 | 2017-05-18T00:33:52 | 91,631,642 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 658 | cpp | #include <iostream>
using namespace std;
int main()
{
int i=0;
int numero=0;
int suma_menores=0;
float suma_mayores=0;
float cant_mayores=0;
for(; i<5; i++){
cout<<"Ingrese un entero: ";
cin>>numero;
if(numero<-10){
suma_menores=suma_menores+numero;
... | [
"klatu1494@gmail.com"
] | klatu1494@gmail.com |
f2c89781281c9f15a7a685dade6d676758d14107 | 7f86f33a60adf52f5e8519ade0df1e4bb9af7de5 | /TP2/TP2/AG.cpp | 3a9093764486d567dc311633d49eb91be043adca | [] | no_license | AsProgramming/C- | 1f1294338b1b7e20a8163fc90b82641ab272fa72 | 091573b328130181f36bc4aec766eb6adec6a5a2 | refs/heads/master | 2020-03-29T18:17:30.419863 | 2018-09-25T03:48:04 | 2018-09-25T03:48:04 | 150,203,515 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 3,400 | cpp | #include "AG.h"
#include "UtilES.h"
#include <iostream>
using namespace std;
typedef list<Noeud*>::iterator it;
AG::AG()
{
racine = new Noeud();
}
AG::~AG()
{
// Rien à faire ici
}
Noeud*& AG::getRacine()
{
return racine;
}
// Met un nouveau mot dans l'arbre
void AG::inserer(Noeud* n, string mot, string def, in... | [
"eddi3.as@gmail.com"
] | eddi3.as@gmail.com |
ec5156aec1a14bdb2c744be7dad6efce093eaa7f | 287fb8a8bf8bdc5ed6ec468f70ec7df498ea7cd3 | /PLandRI2/Tincan_hackathon/Library/Il2cppBuildCache/WebGL/il2cppOutput/mscorlib.cpp | 8528c62beb2e89aed94086700e9f79fc8c5d71d1 | [] | no_license | Spaceindie/PLandRI2 | bb78bbe73c7283b4d06823e1c4898c8fd514160a | 72652c03a9ea3ad235a91eb937de3dfe36105a6a | refs/heads/main | 2023-04-30T10:24:56.776934 | 2021-03-23T11:20:46 | 2021-03-23T11:20:46 | 345,279,632 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,244,663 | cpp | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <limits>
#include <stdint.h>
#include "icalls/mscorlib/System.Runtime.Remoting.Activation/ActivationServices.h"
#include "icalls/mscorlib/System/AppDomain.h"
#include "icalls/mscorlib/System/Array.h"
#include "i... | [
"77359595+Spaceindie@users.noreply.github.com"
] | 77359595+Spaceindie@users.noreply.github.com |
4aa6051983383dd30c982fe1375ebce813c03e49 | 1a8db3a0d145f9805ec169e57f9de326ba9d7f57 | /codar language/New Stuff/chessboard.cpp | 1124bd5cbc54660c7158ada43ca87ea1fed86450 | [] | no_license | LostSam423/Soviet-Republic | 4fe0ae4f3507d13856c1672ac517e96f9a6f3e2b | 52da03dbe4b5e6b07505bcdab51f53c0ba53756b | refs/heads/master | 2022-07-28T03:15:23.568876 | 2020-05-17T10:58:53 | 2020-05-17T10:58:53 | 249,247,696 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,445 | cpp |
#include <GL/glew.h>
#include <GLFW/glfw3.h>
#include <iostream>
#include <cmath>
#include "utility/shader.hpp"
#include "utility/readfile.hpp"
#include "Textures/texture.hpp"
void framebuffer_size_callback(GLFWwindow* window, int width, int height);
void processInput(GLFWwindow *window);
// settings
const uns... | [
"beherasambit423@gmail.com"
] | beherasambit423@gmail.com |
5643b18082b010cbbac0ee390e93fbcabd27929f | 1dbed0f84a670c787d2217d97ae3984401c7edb3 | /cf/27C.cpp | cac17b12833921b08e3df9ff15a593f88bfbb072 | [] | no_license | prprprpony/oj | 311d12a25f06e6c54b88bc2bcd38003f7b6696a9 | 84988be500c06cb62130585333fddd1a278f0aaa | refs/heads/master | 2021-07-13T16:03:54.398841 | 2021-03-27T14:19:52 | 2021-03-27T14:19:52 | 46,796,050 | 9 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 924 | cpp | #include<bits/stdc++.h>
using namespace std;
const int N = 1e5 + 87;
int a[N],pomn[N],pomx[N];
int main()
{
ios::sync_with_stdio(0);cin.tie(0);
int n;
cin >> n;
for (int i = 0; i < n; ++i)
cin >> a[i];
pomn[n-1] = pomx[n-1] = n-1;
for (int i = n-2; i >= 0; --i) {
pomn[i] = a[i] <... | [
"3254tg89@gmail.com"
] | 3254tg89@gmail.com |
7ed0a9e96ccbd3b0b6555700768028eaa4899e81 | 91a882547e393d4c4946a6c2c99186b5f72122dd | /Source/XPSP1/NT/base/screg/sc/client/scapi.cxx | 2512376a9b2ac0ecc918d919e50115ca2538796e | [] | no_license | IAmAnubhavSaini/cryptoAlgorithm-nt5src | 94f9b46f101b983954ac6e453d0cf8d02aa76fc7 | d9e1cdeec650b9d6d3ce63f9f0abe50dabfaf9e2 | refs/heads/master | 2023-09-02T10:14:14.795579 | 2021-11-20T13:47:06 | 2021-11-20T13:47:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 79,849 | cxx | /*++
Copyright (c) 1990-1992 Microsoft Corporation
Module Name:
scapi.c
Abstract:
Contains the Service-related API that are implemented solely in
DLL form. These include:
StartServiceCtrlDispatcherA
StartServiceCtrlDispatcherW
RegisterServiceCtrlHandlerW
RegisterServic... | [
"support@cryptoalgo.cf"
] | support@cryptoalgo.cf |
57182f263d848b2cb8ce77f04ad7856fa8cb0e15 | 121be011ecdd9901a4b0f35806a8b272297233cc | /common/iod_timer_handler.h | c401ecda674a8fd60c7c1ec76482f51bf4d2c247 | [] | no_license | chenan2005/caserver | a78824b720b6cb66b8023e246d4b9bd2eb954d4a | 7da5c71a67cb135833b06b84d2e8bf18772cd11f | refs/heads/master | 2021-01-10T13:36:59.363348 | 2015-06-03T10:25:04 | 2015-06-03T11:11:41 | 36,404,311 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 808 | h | #ifndef __IOD_TIMER_HANDLER_H__
#define __IOD_TIMER_HANDLER_H__
#include "iod_common.h"
class iod_timer_handler
{
public:
typedef void (iod_timer_handler:: *FNC_TIMER_CALLBACK)(void*);
struct timer_info
{
struct event* ev;
iod_timer_handler* handler;
FNC_TIMER_CALLBACK cb_fnc;
void* cb_fnc_arg;
bool re... | [
"chenan2005@gmail.com"
] | chenan2005@gmail.com |
6bea91290f358353be9f2708bbf198294b645008 | 7485a0245fc72e361a643347460787ec8680bb06 | /PMaildServerImap4.cpp | 4b513bd4a33111f3bba510811be2a62204d4e5e6 | [] | no_license | jmaitrehenry/pmaild | 67b54a97a2c33429e085d75eca9a3dd3eeafff99 | fd672f0fcce0d91ac939323dff099b0d8af4ab8f | refs/heads/master | 2021-01-17T18:54:49.475366 | 2012-07-01T01:17:03 | 2012-07-01T01:17:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 674 | cpp | #include "PMaildServerImap4.hpp"
#include "PMaildCore.hpp"
#include <QDateTime>
PMaildServerImap4::PMaildServerImap4(QSslSocket *_sock, PMaildCore *_core, PMaildServer *_server) :
PMaildServerBase(_sock, _core, _server)
{
}
void PMaildServerImap4::welcome() {
writeLine("* OK "+core->getHostName()+" IMAP4rev1 2001.3... | [
"mark@hell.ne.jp"
] | mark@hell.ne.jp |
ead4dbe6ae6ec00168fc98775b0b4b3ad9fe0887 | b80fb982d65a9e3fb0e05bcbd2d04caf2437f616 | /QtServer/GeneratedFiles/ui_QtServer.h | bcfd9a22d311a2b7f031b33355dedbac4b0d375e | [] | no_license | wuran-github/ADT-Socket | 7ecaeb53834c6eab2f5a1c18edaecdc3baa242d6 | b73255ffe80ca29e43427db7ae84494b6b5271d7 | refs/heads/master | 2020-04-04T05:19:52.403797 | 2018-11-07T08:56:22 | 2018-11-07T08:56:22 | 155,742,012 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,522 | h | /********************************************************************************
** Form generated from reading UI file 'QtServer.ui'
**
** Created by: Qt User Interface Compiler version 5.11.2
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
*****************************************... | [
"wuranvv@outlook.com"
] | wuranvv@outlook.com |
f191bd61579a6be981c3eaa825eef73bdd6438b6 | 5da61c393b65b5b06ec684242adb457d25f1f4a2 | /src/Utilities/graph.h | e1f7880aaf5f9005239cf9c0e42816a049cf2652 | [
"MIT"
] | permissive | MehmetMelihKosucu/EPANET_3-PMX | cb74d1480f61f42dd59dfa509e140dc098385c38 | e4674330225288c8ba29c23928ce8c82f38a7c9f | refs/heads/main | 2023-06-10T13:46:40.996311 | 2023-06-02T01:28:32 | 2023-06-02T01:28:32 | 581,764,129 | 1 | 0 | MIT | 2023-06-02T00:58:06 | 2022-12-24T08:34:48 | C++ | UTF-8 | C++ | false | false | 841 | h | /* EPANET 3.1.1 Pressure Management Extension
*
* Copyright (c) 2016 Open Water Analytics
* Licensed under the terms of the MIT License (see the LICENSE file for details).
*
*/
//! \file graph.h
//! \brief Describes the Graph class.
#ifndef GRAPH_H_
#define GRAPH_H_
//! \class Graph
//! \brief Contains graph th... | [
"kosucu@itu.edu.tr"
] | kosucu@itu.edu.tr |
533e5b42ad78ae80b9ef0ca1198cf2e338e4f9ea | 8a498a7fed84d4f2df885697d96a31b2bc326945 | /src/float3.cpp | 39a4ed628a187b55d74b81d8027463d767a9280b | [] | no_license | samkottler/OpenCl-Renderer | eebb4a4ebfbab01f77538cd258110f5986295b42 | 67d880092bd1a8201ac3d6e4fed288616cfbfdd5 | refs/heads/master | 2020-05-31T21:46:39.961648 | 2019-10-23T17:51:09 | 2019-10-23T17:51:09 | 190,506,432 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 357 | cpp | #include "float3.h"
float dot(float3 a, float3 b){
return a.x*b.x + a.y*b.y + a.z*b.z;
}
float3 cross(float3 a, float3 b){
return {a.y*b.z - a.z*b.y, a.z*b.x - a.x*b.z, a.x*b.y - a.y*b.x};
}
float3 operator*(float s, float3 v){
return {s*v.x, s*v.y, s*v.z};
}
float3 operator+(float3 a, float3 b){
re... | [
"samkottler@users.noreply.github.com"
] | samkottler@users.noreply.github.com |
06c333cc3322a865535741770d11a89274264a3e | 2dc4ca3fdad00e13f616325cf2a1d32bbd987591 | /HugeCTR/src/cpu/layers/reshape_layer_cpu.cpp | a3a0fa357c74e9e4d5fab46093a72e2377d72cf4 | [
"Apache-2.0"
] | permissive | TianhaoFu/HugeCTR | d86134da3bbf9f4388dcc432be707a53e54f6932 | 16587742a388d1d4442740ffcc8a9b52faf734cc | refs/heads/master | 2023-05-30T04:49:41.375224 | 2021-06-15T09:01:04 | 2021-06-15T09:01:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,779 | cpp | /*
* Copyright (c) 2020, NVIDIA CORPORATION.
*
* 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 ... | [
"zehuanw@nvidia.com"
] | zehuanw@nvidia.com |
daa82e4f01e0765c77b4c7afdb3936baa05d82b0 | 8ad491bda5b098edd019ba24a34300f123ddf2de | /RainbowSnake/State.h | 40424846f264e30e0c1de08fd6800e4024e9eee6 | [
"MIT"
] | permissive | pietrzakacper/RainbowSnake | cecef1576c8290091ac1116d3895fd3b0a9eca6b | 5068c73d3a4298dbcb510df0db5085118eb9a344 | refs/heads/master | 2021-01-21T04:51:03.599896 | 2017-09-03T09:11:15 | 2017-09-03T09:11:15 | 51,362,178 | 4 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 398 | h | #pragma once
#include <SFML\Graphics.hpp>
using namespace sf;
using namespace std;
class State
{
public:
State(int STATE_ID, RenderWindow&, Font& font);
virtual ~State();
virtual void init() = 0;
virtual void update() = 0;
virtual int handleEvents(Event&) = 0;
virtual void render() = 0;
int getSTATE_ID() const... | [
"kacpietrzak@gmail.com"
] | kacpietrzak@gmail.com |
baa39f71e223284215cd3809c6d6183b3deccc1c | a8923d2125b3be9ecc9d2d7669fe4c3938f3d432 | /SEMS/SEM2/linked_list/printing_elements.cpp | 9ed28bd34b9622811e2ebd71ce0987bfc57ba7f3 | [] | no_license | RavicharanN/Essentials-IIITA- | 8361a18be29fccf754da6b7a900997cb64c25ee5 | a67c3a0e2315f414baec43b57eba2079bc710afb | refs/heads/master | 2021-01-11T18:48:08.856260 | 2017-04-28T14:37:22 | 2017-04-28T14:37:22 | 79,629,289 | 0 | 2 | null | 2017-01-26T11:30:08 | 2017-01-21T06:48:13 | C | UTF-8 | C++ | false | false | 539 | cpp | struct Node{
int data;
struct Node* next;
};
void Print(struct Node* head) //Passing the head from the main function
{
struct Node* p;
if(head==NULL)
return;
p = head;
/*Note that head can't be iterated directly as it defines the
start of the linked list. So, it is a... | [
"ravicharan.vsp@gmail.com"
] | ravicharan.vsp@gmail.com |
869159d9114cef504859f7f377d90fd6154b1669 | 97d5fd283bffe0f6a030d300d5317c4936956f1d | /c++/listasEnlazadas.cpp | 02481e4c2ab20da8bc1ba75aeca6e319b84240c2 | [] | no_license | fjsaca2001/proyectosPersonales | 13efe4bede10a55e595ea16c2d7d17cff4075bc9 | a2cdb77611b5b4d4bba2b545a1359e4eb3a2634c | refs/heads/master | 2023-03-05T01:48:12.125686 | 2021-02-21T01:47:25 | 2021-02-21T01:47:25 | 254,977,450 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,910 | cpp | #include <iostream>
#include <stdlib.h>
using namespace std;
// Estructura de un nodo
struct Nodo
{
int dato;
Nodo *sig;
};
// Prototipo de funciones
void insertar(Nodo *&, int);
void mostrar(Nodo *);
void buscar(Nodo *&, int);
void eliminar(Nodo *&, int);
void vaciar(Nodo *&, int &);
int main()
{
int dato,... | [
"sacafrank2@gmail.com"
] | sacafrank2@gmail.com |
cf523520dbfa8cabae2126693252931c02fb89c8 | f0a26ec6b779e86a62deaf3f405b7a83868bc743 | /Engine/Source/Runtime/Slate/Public/SWrapBox.h | 43be27db91e47dfdcb6c654d16515efccb79bd56 | [] | no_license | Tigrouzen/UnrealEngine-4 | 0f15a56176439aef787b29d7c80e13bfe5c89237 | f81fe535e53ac69602bb62c5857bcdd6e9a245ed | refs/heads/master | 2021-01-15T13:29:57.883294 | 2014-03-20T15:12:46 | 2014-03-20T15:12:46 | 18,375,899 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,425 | h | // Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
#pragma once
/** A slot that support alignment of content and padding */
class SLATE_API FWrapSlot : public TSupportsOneChildMixin<SWidget, FWrapSlot>, public TSupportsContentAlignmentMixin<FWrapSlot>, public TSupportsContentPaddingMixin<FWrapSlot>
{
public... | [
"michaellam430@gmail.com"
] | michaellam430@gmail.com |
c899a41cf1110cb288699adde50ec9bc7e7835f3 | 24f47d5f74c15361a2e2d1cb839f6af55face138 | /ControLeo2/examples/ReflowWizard/Settings.ino | bba78b412d871273e9dea48745b823d8b20dd90c | [] | no_license | felixekman/ControLeo2 | 8dc2e557a9c202a08ac2342171082a18dbb1f34b | 6458a8ae54a6e96d6ac9f5906ca7ab0797e5a7a8 | refs/heads/master | 2021-01-17T22:50:07.086391 | 2016-03-30T01:56:00 | 2016-03-30T01:56:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,061 | ino | // The ATMEGA32U4 has 1024 bytes of EEPROM. We use some of it to store settings so that
// the oven doesn't need to be reconfigured every time it is turned on. Uninitialzed
// EEPROM is set to 0xFF (255). One of the first things done when powering up is to
// see if the EEPROM is uninitialized - and initialize it i... | [
"apple@Peters-Mac-mini.local"
] | apple@Peters-Mac-mini.local |
af6f38a1c18f63c5579e793379cf3e40098077a1 | 14c2c9c0a6f8bf706c30e282c0a79e11ccc40e55 | /2way ll.cpp | ac26b4d77d32a978b5e89fae2a5f23f77e450482 | [] | no_license | Nalinswarup123/ds | 92654f7f0dc1fa5d54111b3d0fae213a0edd9f60 | 518add8e1f2a51c3442157d5aee4883682fb9e2a | refs/heads/master | 2022-03-11T08:46:36.701536 | 2019-02-12T11:53:38 | 2019-02-12T11:53:38 | 170,308,518 | 0 | 1 | null | 2022-03-02T19:23:13 | 2019-02-12T11:43:58 | C++ | UTF-8 | C++ | false | false | 864 | cpp | #include<iostream>
using namespace std;
struct node
{
int info;
node *last;
node *next;
};
node *head,*ptr,*t,*p,*tail;
void create(int i)
{
p=new node;
p->info=i;
p->last=NULL;
p->next=NULL;
if(head==NULL)
{
head=p;
ptr=head;
}
else
{
ptr->next=p;
p->last=ptr;
ptr=... | [
"noreply@github.com"
] | noreply@github.com |
92809540f868a1395a2e58e8f99a9f20fd9e87be | 8a213f015fe67169e3e885ab12baf8c638d98b71 | /lab_hash/hashtable.h | 7b80e99004dee76eb5952dd0836ffe25f29bc8c8 | [] | no_license | mshah12/cs225-sp20 | bf749bd6d84a07bbb34432e56b0d4b9811d8c299 | 21a949eb61eadbfe7e89c8aeea63cf3fe6322907 | refs/heads/master | 2022-11-19T13:30:25.461014 | 2020-07-20T18:06:29 | 2020-07-20T18:06:29 | 267,644,695 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 6,545 | h | /**
* @file hashtable.h
* Definition of an abstract HashTable interface.
*/
#pragma once
#include <vector>
#include <cstddef>
#include <algorithm>
#include "hashes.h"
/**
* A templated class that implements the Dictionary ADT by using
* a hash table.
*/
template <class K, class V>
class HashTable
{
public:
... | [
"megh5000@gmail.com"
] | megh5000@gmail.com |
68f3a6d32d8e575c1b10aabc6d04356a841f96c6 | 044e4d45f197cfa5685f54d939df540f04ce2ac1 | /hw_02/include/BoardView.h | c1619b48c48487d16a21e08c9f606e2c9f0de4ce | [] | no_license | XamLua/CPP2016 | 65fe90f0f6b397bdf0f7d63c4138490258e66291 | 2163e1c3714ded8dcbeea970701ef2257052c746 | refs/heads/master | 2021-06-11T01:23:10.916050 | 2016-12-25T22:49:03 | 2016-12-25T22:49:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 309 | h | #pragma once
#include "Board.h"
class View {
private:
Board & b;
bool show; //Переменная, отвечающая за то, нужно ли выводить поле после каждого хода.
public:
View(Board& board);
void Show(bool f);
void showBoard();
void doGameCycle();
}; | [
"black.hornetnikita@gmail.com"
] | black.hornetnikita@gmail.com |
51ef0747800a5fc41ba7f1ef0ada9dd1cef11658 | e495c411f6186f481dd98ea9927fffcc72b8cb5c | /Lexical_Analyser/analyzer/src/SymbolTable.cpp | 829e8b4f7849d76c945bbd0b10ae1817ce136210 | [] | no_license | ramananurag/Compiler | 9020a092370661e4efdbd664543e83677d72b434 | 2ad27dac346594948cd096a36b92a0221417a08e | refs/heads/master | 2021-01-17T21:31:12.627098 | 2012-04-10T15:43:21 | 2012-04-10T15:43:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,317 | cpp | #include <SymbolTable.h>
#include <cctype>
SymbolTableElement::SymbolTableElement(string lexeme, string token, unsigned int row, unsigned int col)
{
this->lexeme = lexeme;
this->token = token;
this->addPosition (row, col);
}
void SymbolTableElement::addPosition (unsigned int row, unsigned int col)
{
Position tmp... | [
"raman@raman-Inspiron-N5010.(none)"
] | raman@raman-Inspiron-N5010.(none) |
2852fc1d663cf446bac5055f17689c3aba1c904e | c033d3980df311e33cb1577a13a66ae13d25b37a | /include/Expression/DivideExpression.hpp | ec560fa0f46af9b56fe6c2fdd09ff7f54007c41a | [] | no_license | Dgame/Ikarus | 67f109391317d922394d331687b5692b1fbf0d2a | fed0ddbaf0523e4c824034dca0a1de78e719c8c9 | refs/heads/master | 2021-01-10T17:06:56.483072 | 2016-04-10T20:53:20 | 2016-04-10T20:53:20 | 53,231,066 | 0 | 0 | null | 2016-03-16T21:41:58 | 2016-03-06T01:02:33 | C++ | UTF-8 | C++ | false | false | 479 | hpp | #ifndef IKARUS_DIV_EXPRESSION_HPP
#define IKARUS_DIV_EXPRESSION_HPP
#include "BinaryExpression.hpp"
class DivideExpression : public BinaryExpression {
public:
using BinaryExpression::BinaryExpression;
DivideExpression* clone() const override {
return new DivideExpression(this->getLeftExpression()->cl... | [
"rswhite4@googlemail.com"
] | rswhite4@googlemail.com |
bf44403637dae1e2ed91249bb12176d4b1256fd8 | 87028ddef5fed445997c116f1a9e521cf027f6ad | /sdk/c_game_event_manager.h | 187aae5e110b91ec66d52ee428e2b5324e9df0c6 | [] | no_license | Akatsyk/sequency-hvh | 41557a290f8013d6a4e797e8897c93ca1abeeb97 | e6ec9bd218e40612f262792dff79f8b4f64a64a3 | refs/heads/main | 2023-08-06T00:34:06.516525 | 2021-10-01T12:16:02 | 2021-10-01T12:16:02 | 412,454,180 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,563 | h | #pragma once
#include <cstdint>
#include "macros.h"
#include "c_client_state.h"
class c_game_event
{
public:
/*virtual ~c_game_event() = default;
virtual const char* get_name() const = 0;
virtual bool is_reliable() const = 0;
virtual bool is_local() const = 0;
virtual bool is_empty(const char* keyname = nullptr)... | [
"48151096+Akatsyk@users.noreply.github.com"
] | 48151096+Akatsyk@users.noreply.github.com |
3804baee94cc497f71a5bd2d4e1cb340dd503c54 | 55d128c0eceb566d4005971b4b540865dc79e25e | /Client/win-system/PipeClient.cpp | 166fb1528f20668f7e8daa4f9694bf12c2a28ab1 | [] | no_license | radtek/PandaRC | bed7f1fb68bbd0a40eea74de1bbf6bed712eef9e | c98b333ac77ac20aa536f203e4dc795754450f02 | refs/heads/master | 2021-02-17T03:35:36.074874 | 2019-06-05T05:57:37 | 2019-06-05T05:57:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,831 | cpp | //// Copyright (C) 2009,2010,2011,2012 GlavSoft LLC.
//// All rights reserved.
////
////-------------------------------------------------------------------------
//// This file is part of the TightVNC software. Please visit our Web site:
////
//// http://www.tightvnc.com/
////
//// This p... | [
"415893943@qq.com"
] | 415893943@qq.com |
3ac451ced6ae6ec953de5afaecb154d08350fd19 | 89a6e0eca52e0cb31915fa43d9b1ba3f0145b257 | /演算法題型分類/Stack/monotonic_stack/leetcode-738.cc | 8242f17c459b5724a2c7d93a5778f8eda50f340b | [] | no_license | rollfatcat/ProblemSet | 03a3a960ec324b831d3db422a52d623f2d04b6f0 | f9c76320e8812304b73ac348e8e34e8a55e08a10 | refs/heads/master | 2023-04-03T15:48:44.551030 | 2023-03-21T19:09:32 | 2023-03-21T19:09:32 | 191,777,230 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 923 | cc | /* Given a non-negative integer N,
* find the largest number that is less than or equal to N with monotone increasing digits.
* an integer has monotone increasing digits if and only if each pair of adjacent digits x and y satisfy x <= y.
* Input: N = 10 Output: 9
* Input: N = 1234 Output: 1234
* Input: N =... | [
"crhsieh1114@outlook.com"
] | crhsieh1114@outlook.com |
5280e1962910280cddf481e2b1f973cecff9deb3 | aa9c84037b54c1efec0ba79c84c60d82f3a9f0d9 | /TableViewController.h | a60d40a6fcf83c93fc18606710ca7677f2880004 | [] | no_license | mipt-proglang-2015/proglangs_bochkarev | e45b587658239463a671b26d176de4062a6a3a9e | 049a3b68ad78ebe80a18031f94106433ce1eee6e | refs/heads/master | 2018-12-28T00:24:29.432556 | 2015-12-14T17:46:17 | 2015-12-14T17:46:17 | 42,154,826 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 937 | h | #ifndef STANDARTMODELWRAPPER_H
#define STANDARTMODELWRAPPER_H
#include <QObject>
#include <QStandardItemModel>
#include <QtWidgets/QTableView>
#include <QItemSelectionModel>
#include "CellData.h"
const int RowsCount = 255;
const int ColsCount = 26;
class TableViewController : public QObject
{
Q_OBJECT
public:
... | [
"otnasa@gmail.com"
] | otnasa@gmail.com |
15e8f1c7bb08ef25ddbab7a1d98fc8ac5a901709 | 3871c5adec9880d6ef7e4d60c079d8f3f23fa8a2 | /VCECore/gpuz_info.cpp | 4767887153e409c6465fac1740c30816e071995b | [
"MIT",
"Zlib",
"BSD-2-Clause"
] | permissive | rigaya/VCEEnc | 5bc4878383a37c18a83c4aed1047a311e1c12c70 | 101a1b3dcd16e0bf951f2897187396ba64be3e09 | refs/heads/master | 2023-07-06T10:06:44.198622 | 2023-06-23T23:49:05 | 2023-06-23T23:50:41 | 79,711,619 | 192 | 31 | NOASSERTION | 2023-09-11T14:48:14 | 2017-01-22T10:45:01 | C++ | UTF-8 | C++ | false | false | 3,535 | cpp | // -----------------------------------------------------------------------------------------
// QSVEnc by rigaya
// -----------------------------------------------------------------------------------------
// The MIT License
//
// Copyright (c) 2011-2016 rigaya
//
// Permission is hereby granted, free of charge, to an... | [
"rigaya34589@live.jp"
] | rigaya34589@live.jp |
7f7b319933b1adb1c181be8bb1c75950576d79ce | 5cd670d08b7d2bcd6514405ed2f465b8289fd9b2 | /src/rpcnet.cpp | 3052eae3382bb4f5205c8657191ced06c6801a62 | [
"MIT"
] | permissive | ipsum-network/ips | 00511c0a58a4070b8efe0f62030bb397cf531e21 | fd4a6304bfae2e741654272fee9dcdf38cd83016 | refs/heads/master | 2020-03-16T11:57:02.273337 | 2018-07-09T01:53:14 | 2018-07-09T01:53:14 | 132,657,160 | 7 | 16 | MIT | 2018-07-09T01:53:15 | 2018-05-08T19:47:00 | C++ | UTF-8 | C++ | false | false | 17,231 | cpp | // Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2018 IPSUM Developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php... | [
"dev@home33.io"
] | dev@home33.io |
eb40dda9c6bb24670d9f82c2ebf1027ae7f95694 | 4e09dc649d946c5ed6bc32aafb87d49ed400eb06 | /rig/technique.cpp | 76a583275f2c6666d72e48971368ffda066a8a71 | [] | no_license | remibasaru/rigged-hand | ac8ecee6cf1c177ab0235fc11c2cf33639b70b3d | bf9ec88c6e9063c1c5b3e8309ce0e66fbe9703b1 | refs/heads/master | 2022-10-26T22:20:03.340391 | 2020-06-18T14:05:59 | 2020-06-18T14:05:59 | 273,246,438 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,473 | cpp |
#include <stdio.h>
#include <string.h>
#include "util.h"
#include "technique.h"
Technique::Technique()
{
m_shaderProg = 0;
}
Technique::~Technique()
{
// Delete the intermediate shader objects that have been added to the program
// The list will only contain something if shaders were compile... | [
"remi.basaru@aol.com"
] | remi.basaru@aol.com |
8aba7faa4370cda57c946a5f969a81fe13088510 | 4c9bfa229206cbdb0ec366023105b62400153b40 | /택배/main.cpp | 1147302e4a7c7682c634eb95e954cf18aed4929e | [] | no_license | lihokim/C | 5a1bc96bfa5ae7d6e6c190624b38578aefbcc632 | 1cac4b8bcb2e6cad2d0167796b2d63df03c3c3bf | refs/heads/main | 2023-02-20T22:58:29.272190 | 2021-01-20T01:31:18 | 2021-01-20T01:31:18 | 331,158,456 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 825 | cpp | #include <stdio.h>
#include <stdlib.h>
int main ()
{
int n,arr[1000],t,h,imsi=0,sum=0,min=999999;
scanf("%d",&n);
for(int i=0; i<n; i++){
scanf("%d",&arr[i]);
}
scanf("%d %d",&t,&h);
for(int i=0; i<n; i++){
imsi=arr[i]; //헬기로 갈 지점 정하기
sum=0;
for(int j=0; j<n; j+... | [
"lihokim2727@gmail.com"
] | lihokim2727@gmail.com |
cea47116b47861abdfbce713b22f3d3cc502974e | ba73558a3ef4d207382ad1d5811f5d9f7a3c5ff3 | /old/infoRiego.ino | f62cc9cdf3580e93af6e1e388f5b80454c6bedcd | [
"MIT"
] | permissive | josepedrodiaz/germinatorII | b6dbfd8f383acedbebd64c376367da59cdfb8978 | 34466b8087902d4f6eb82cfae5ff56356eefe23a | refs/heads/master | 2020-08-03T02:00:53.625715 | 2020-01-06T21:07:36 | 2020-01-06T21:07:36 | 211,590,787 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 718 | ino | /*
* De acuerdo a la lectura del sensor de humedad del suelo
* blink el led de aviso de riego
*/
bool infoRiego(int sensorHumedadSueloVal){
int guinios; // número de guinios que hará el led de info
//Las mediciones en la maceta arrojan resultados entre 70 y 556
// pero por debajo de 420 ya esta muy seca l... | [
"josepedrodiaz@gmail.com"
] | josepedrodiaz@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.