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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0811c6f01f5f0f826efda9c0039d4404689fedde | 943c074238dfd09df6da5207e3bd9e3019b0bbe8 | /src/itktools/itkGaussianEnhancementImageFilter.h | 9eaf551de1a91bfe811853a23384b6afeeeefbde | [] | no_license | fgrelard/MyDGtalContrib | 452af03d5756477ab9f72abbf9e43a65e8747415 | 6fa32f4453672f411f54c67cfe28a146a2cc4312 | refs/heads/master | 2021-07-05T21:20:39.382846 | 2020-06-03T12:37:49 | 2020-06-03T12:37:49 | 74,741,006 | 1 | 0 | null | 2017-04-24T09:53:25 | 2016-11-25T08:48:25 | C++ | UTF-8 | C++ | false | false | 7,626 | h | itkGaussianEnhancementImageFilter.h | /*=========================================================================
*
* Copyright Marius Staring, Stefan Klein, David Doria. 2011.
*
* 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
*
* ... |
c06e47d02ad0fb6b511f54e6d4a239e8aaa9ebf8 | 877fff5bb313ccd23d1d01bf23b1e1f2b13bb85a | /app/src/main/cpp/dir7941/dir7942/dir8062/dir8063/dir12613/file12624.cpp | 8c3426c09563765fcadf779ded3cb9aab9bb7a15 | [] | no_license | tgeng/HugeProject | 829c3bdfb7cbaf57727c41263212d4a67e3eb93d | 4488d3b765e8827636ce5e878baacdf388710ef2 | refs/heads/master | 2022-08-21T16:58:54.161627 | 2020-05-28T01:54:03 | 2020-05-28T01:54:03 | 267,468,475 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 115 | cpp | file12624.cpp | #ifndef file12624
#error "macro file12624 must be defined"
#endif
static const char* file12624String = "file12624"; |
03f07d8eb488e726e4d8de1e27200984083ff296 | 1a29e3fc23318be40f27339a749bbc3bdc59c0c3 | /ICPC-Taipei-2019/real_time/pH.cpp | afa1e3e7c584a38ec16110444fd9eed5245acb6f | [] | no_license | wdzeng/cp-solutions | 6c2ac554f6d291774929bc6ad612c4c2e3966c9f | 8d39fcbda812a1db7e03988654cd20042cf4f854 | refs/heads/master | 2023-03-23T17:23:08.809526 | 2020-12-05T00:29:21 | 2020-12-05T00:29:21 | 177,706,525 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 724 | cpp | pH.cpp | #pragma GCC optimize("O3","unroll-loops")
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<ll, ll> pii;
pii minuss(const pii& a, const pii& b) {
return pii(a.first*b.second-b.first*a.second ,a.second*b.second);
}
ll solve(int n) {
pii nn(1, n);
ll ret = 0;
for(int i=n;i<=2*n;i++) {... |
b54cc352200abce26084588e9eeb71ede16c6ed6 | d40df19f6818e00a006fd8601c1e640fd7b0206f | /embedded/IoTaLibEmbedded/IoTaLibEmbedded/IoTaFuncBase.h | 3137320e7dceafbc72a50ba2f56b7521bfed51de | [
"MIT"
] | permissive | AlistairSymonds/IoTa | f9321e00fd5fd64e63d7bae7221bf6b2f994fb32 | 1925423332c9477b6498336656bd5108b0aa7e59 | refs/heads/master | 2021-01-19T10:02:50.128857 | 2019-05-11T03:23:05 | 2019-05-11T03:23:05 | 87,819,364 | 2 | 1 | null | 2017-10-15T14:13:43 | 2017-04-10T14:17:31 | Java | UTF-8 | C++ | false | false | 459 | h | IoTaFuncBase.h | #pragma once
#ifndef _IoTaFuncBase_h
#define _IoTaFuncBase_h
#include <stdint.h>
#include "DataCapsule.h"
class IoTaFuncBase
{
public:
//get the funcId
virtual short getFuncId() = 0;
virtual void processCommand(DataCapsule *capsule) = 0;
virtual void tick() = 0;
virtual int getReponsesRemaining() = 0;
virt... |
02e89f9e580c34eb2e12a6bbf57dc889c3a8a7ad | 5eb6dbceda5e7a4dd9c483930288ae60b2aff3ab | /quickunionunionfind.h | 1e1638dd09fbe07a6c7e6b227d6b7848aa42afc6 | [] | no_license | vancha/HexMinimax | e46be06332a04dbcc77d17f22b657362b328e235 | cbbd24915e3a23f5de2a0c5eca8fec8790bf2459 | refs/heads/master | 2021-01-11T21:06:55.659402 | 2017-01-20T19:04:02 | 2017-01-20T19:04:02 | 79,245,711 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 520 | h | quickunionunionfind.h | #ifndef QUICKUNIONUNIONFIND_H
#define QUICKUNIONUNIONFIND_H
#include <vector>
using namespace std;
class QuickUnionUnionFind
{
private:
vector<int> id;//array of indexes
vector<int> sz;//only used to count number of elements in tree(prevent tall trees)
int Qroot(int i);
public:
bool Qconnected(int p, i... |
32c0b14fc5535db249ea27cba04180b125766866 | cfeac52f970e8901871bd02d9acb7de66b9fb6b4 | /generated/src/aws-cpp-sdk-personalize/source/model/BatchSegmentJobOutput.cpp | 1f8295ac401de6ab25040e3b0636a949dc839bfa | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | aws/aws-sdk-cpp | aff116ddf9ca2b41e45c47dba1c2b7754935c585 | 9a7606a6c98e13c759032c2e920c7c64a6a35264 | refs/heads/main | 2023-08-25T11:16:55.982089 | 2023-08-24T18:14:53 | 2023-08-24T18:14:53 | 35,440,404 | 1,681 | 1,133 | Apache-2.0 | 2023-09-12T15:59:33 | 2015-05-11T17:57:32 | null | UTF-8 | C++ | false | false | 1,150 | cpp | BatchSegmentJobOutput.cpp | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/personalize/model/BatchSegmentJobOutput.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::Utils::Json;
using namespace Aws::Utils;
namespace A... |
b61c76371330618c8d50fb7b55b5728f9c9a775a | 12402531451f5a1a12137f77d5da3359c8756c5c | /src/ibnet/sys/SystemInfo.h | f1d49cb7f5e5f7e55ecfb4b7887828ca5c42ac82 | [] | no_license | hhu-bsinfo/ibdxnet | 22e4feee99d217b9941f0035531821cb5712147c | 42135e54033d355d745790fc968186f6a2427e90 | refs/heads/master | 2020-09-09T13:06:47.278715 | 2018-11-27T08:02:16 | 2018-11-27T08:02:16 | 98,164,848 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,844 | h | SystemInfo.h | /*
* Copyright (C) 2018 Heinrich-Heine-Universitaet Duesseldorf,
* Institute of Computer Science, Department Operating Systems
*
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation, either vers... |
4edb14fab5b818ba8dd3306c6d3bf438368c5d26 | bbca7896be248fe7c4982d2941c430eb9224c57a | /Components/HealthComponent.h | 223636c39e12b7fe39560795219d45f38b165c62 | [] | no_license | giomatfois62/ECSatan | d13b81ec0e8e10ccea81a53537408ca3b9ae452e | e71de414f1e4ae9ca5d00f978afbd7485aaf50b8 | refs/heads/master | 2020-04-17T15:14:41.478980 | 2019-01-20T17:54:12 | 2019-01-20T17:54:12 | 166,690,891 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 271 | h | HealthComponent.h | #ifndef HEALTHCOMPONENT_H
#define HEALTHCOMPONENT_H
#include "ECS.h"
class HealthComponent : public Component<HealthComponent>
{
public:
HealthComponent(size_t id = 0, float h = 0.0f) : Component(id), health(h) {}
float health;
};
#endif // HEALTHCOMPONENT_H
|
a7199533e95d6b44eb61fb16ced13dc6bfbe9f6f | 30c9bc941820b755aab8aefd8291e59106e8c7e5 | /algolab/25. hammingCode.cpp | 1701ea4dd26db1dc33585ea53ed216313ab55be2 | [] | no_license | LeeBumSeok/Cpp-Programing | 7dce123cb8faf4dde3ba21ad91ce2f920208f940 | cf141f41e03678a07458724c8a6bc8e533f3938b | refs/heads/master | 2022-10-23T02:05:45.769169 | 2020-06-17T21:25:37 | 2020-06-17T21:25:37 | 261,103,211 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,125 | cpp | 25. hammingCode.cpp | #include <iostream>
#include <bitset>
#include <string>
#include <algorithm>
using namespace std;
string decimalToBinary(unsigned int num, string binaryNum)
{
int temp;
binaryNum = bitset<31>(num).to_string();
reverse(binaryNum.begin(), binaryNum.end());
return binaryNum;
}
unsigned int binaryToDecima... |
05be67c8d232dc7d6d51596a6287a5067d264ed6 | 4ff0ab0544e12372e09fa4180037fee044df0fe1 | /point.cpp | f820b310f6f033fb4efd46142c03f7fb21fbde6c | [
"MIT"
] | permissive | tangyan02/ego-gomoku-c | c718055f64189c07a8bac5dc000053959be1eed6 | 662048650a412b2d06ebd03231728fb0d9e109dd | refs/heads/master | 2022-03-16T22:14:56.513401 | 2022-02-08T09:41:10 | 2022-02-08T09:41:10 | 106,382,241 | 29 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 246 | cpp | point.cpp | #include "stdafx.h"
#include "point.h"
point::point()
{
x = -1;
y = -1;
}
point::point(int x, int y)
{
this->x = x;
this->y = y;
}
bool point::isNull()
{
if (x == -1 && y == -1) {
return true;
}
return false;
}
point::~point()
{
}
|
f3fa493c32919616b4cbfef70604a488650eadb1 | 1d2019b34139809dacb1c5e9974af2904ea6c62f | /src/insertAtEveryKthNode.cpp | adfa073ef48633b2ea01c2470bc20041d4bc7810 | [] | no_license | Divya37/MissionRnD-C-LinkedLists2-Worksheet | a058d8b3fea06425e81280debfb804b58f125993 | 409e10973a94c86a704e5205dd0941f4d704fc67 | refs/heads/master | 2021-01-10T18:03:35.538419 | 2016-01-14T14:08:28 | 2016-01-14T14:08:28 | 49,520,356 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,114 | cpp | insertAtEveryKthNode.cpp | /*
OVERVIEW: Given a single linked list insert a new node at every Kth node with value K.
E.g.: 1->2->3->4->5, k = 2, 1->2->2->3->4->2->5
INPUTS: A linked list and Value of K.
OUTPUT: Insert a new node at every Kth node with value K.
ERROR CASES: Return NULL for error cases.
NOTES:
*/
#include <stdio.h>
#include <... |
c3c4c3f6247335e53d563170b79dd6f336fdba8c | 1692b68f25b8e6abe7f46e6b5d0ae60de3c081fc | /sensor_board/sensor_board/sensor_board.ino | c82d6bebb339a49a767b8f42d1d6ce93776fa4e2 | [] | no_license | shasan247/LPG-MONITOR | 9a953f919b04be0bf9db2445aaf49515b4517f69 | 6efa00bf5833100880d610244f16990176b3a277 | refs/heads/master | 2021-03-25T16:18:07.226896 | 2020-03-16T07:14:24 | 2020-03-16T07:14:24 | 247,632,529 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,142 | ino | sensor_board.ino | #include <ESP8266WiFi.h>
#include <WiFiManager.h>
#include <DNSServer.h>
#include <PubSubClient.h>
#include <SparkFunCCS811.h>
#include <ArduinoJson.h>
#include <ClosedCube_HDC1080.h>
#include <Ticker.h>
#include <RCSwitch.h>
Ticker secondTick;
Ticker thirdTick;
#define CCS811_ADDR 0x5A //Alternate I2C Address
C... |
032ca77b629d15f5579d2333947cf529a7b63a62 | 08f46721c96f0c93ed2b1a95dbb7f434fb8d50ee | /ojgl/examples/demos/Edison2021.cpp | 8bae7343d1ecb3eccfb7301e1dcac8dc11ceb88d | [
"MIT"
] | permissive | nordstroem/OJGL | aa601f7ccb1dbf0f2d267ccef357691d73897ead | cf6fb358d13219dadd0758398845fcd0d2e8724b | refs/heads/master | 2022-08-01T01:51:49.950109 | 2022-07-23T22:25:59 | 2022-07-23T22:25:59 | 98,086,607 | 0 | 1 | MIT | 2022-07-23T22:25:59 | 2017-07-23T09:08:12 | GLSL | UTF-8 | C++ | false | false | 8,549 | cpp | Edison2021.cpp | #include "Edison2021.h"
#include "FreeCameraController.h"
#include "TextRenderer.hpp"
#include "music/Music.h"
using namespace ojgl;
Edison2021::Edison2021()
{
}
ojstd::string Edison2021::getTitle() const
{
return "OJ - Enigma";
}
static const unsigned char song[] = {
#include "songs/edison_2021_song.inc"
};
c... |
808d882c0a0b9a378e4fb6d9e887ef4a277f879b | a3d6556180e74af7b555f8d47d3fea55b94bcbda | /media/gpu/mac/video_toolbox_h264_accelerator_unittest.cc | a922bcbe8e571e18b14720d2a7b9a8b89b4cbc81 | [
"BSD-3-Clause"
] | permissive | chromium/chromium | aaa9eda10115b50b0616d2f1aed5ef35d1d779d6 | a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c | refs/heads/main | 2023-08-24T00:35:12.585945 | 2023-08-23T22:01:11 | 2023-08-23T22:01:11 | 120,360,765 | 17,408 | 7,102 | BSD-3-Clause | 2023-09-10T23:44:27 | 2018-02-05T20:55:32 | null | UTF-8 | C++ | false | false | 9,084 | cc | video_toolbox_h264_accelerator_unittest.cc | // Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <memory>
#include "base/containers/span.h"
#include "media/base/media_util.h"
#include "media/gpu/codec_picture.h"
#include "media/gpu/mac/video_toolbox_h264_accelera... |
7bf374492838b67125d179888e384f33aa528610 | c50305f59c7b4759c63118cb5fab754f3e94cfb9 | /source/cXml.h | 289fe163e0c652e7a9ed05208132916b40deccb9 | [
"MIT"
] | permissive | JohnGu9/cXml | ce97c8c90c888be2d54095656ceb158b18e12244 | 673c3d78846927ff49543718347f6ea379c13ae8 | refs/heads/master | 2021-05-18T00:21:38.919669 | 2020-05-24T14:46:28 | 2020-05-24T14:46:28 | 251,021,251 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,551 | h | cXml.h | #pragma once
#include <atomic>
#include <fstream>
#include <iostream>
#include <iterator>
#include <list>
#include <map>
#include <memory>
#include <string>
#include <assert.h>
#include <codecvt>
#include <fcntl.h>
#ifdef _WIN32
#include <io.h>
#else // UNIX
#include <sys/io.h>
#endif
#ifdef _XML_DLL
#ifdef WIN32 ... |
ea675e015784726cac63ff62b2970afaf4f51818 | 76b1d960ff35412f82d06186aaefde3311dcf247 | /cpp/meta.hpp | 52f7499e36c0f43231fa1c02de4f86d897be3ac1 | [] | no_license | mBr001/my-util | 33a184ee539efd9d44dbb1a572e79b8c93a43bff | b823b8ba900113be0ecd4351ef282f80fba185bc | refs/heads/master | 2020-12-15T20:44:14.304167 | 2016-12-17T03:32:58 | 2016-12-17T03:32:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,064 | hpp | meta.hpp | #ifndef META_UTILS_HPP
#define META_UTILS_HPP
/**
* Empty structure
**/
struct Empty {};
/**
* ::type is T if b is true, else F
**/
template<bool b, typename T, typename F>
struct Choose {
typedef T type;
};
template<typename T, typename F>
struct Choose<false, T, F> {
typedef F type;
};
/**
* Pick the first ty... |
06c3ed2d5a2e69ea2c55ff69a64efc4308c72da6 | 25a08bdeb17a0dc032ddf6c11b71693ca4c1a6cd | /include/gtirb/Addr.hpp | e87a77fab9c6c6a22810437e062e7c7c0d0701e2 | [
"MIT"
] | permissive | GrammaTech/gtirb | 20b05dc6170d93af8cc29fd65f7094bd59a9fb4d | f4301401a0d98a783e3b6f40e390fe9b1b1d386d | refs/heads/master | 2023-08-18T12:17:45.797733 | 2023-08-14T23:28:22 | 2023-08-15T12:02:48 | 136,977,182 | 277 | 40 | MIT | 2019-01-08T01:43:01 | 2018-06-11T20:25:41 | C++ | UTF-8 | C++ | false | false | 11,840 | hpp | Addr.hpp | //===- Addr.hpp -------------------------------------------------*- C++ -*-===//
//
// Copyright (C) 2020 GrammaTech, Inc.
//
// This code is licensed under the MIT license. See the LICENSE file in the
// project root for license terms.
//
// This project is sponsored by the Office of Naval Research, One Liberty
//... |
f817c531f68d599d74a82c425ce7929f88daacc4 | 54f352a242a8ad6ff5516703e91da61e08d9a9e6 | /Source Codes/AtCoder/abc110/A/4572630.cpp | 70b3b4631f07ec74a3fba41b6cf727f775a01a63 | [] | no_license | Kawser-nerd/CLCDSA | 5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb | aee32551795763b54acb26856ab239370cac4e75 | refs/heads/master | 2022-02-09T11:08:56.588303 | 2022-01-26T18:53:40 | 2022-01-26T18:53:40 | 211,783,197 | 23 | 9 | null | null | null | null | UTF-8 | C++ | false | false | 323 | cpp | 4572630.cpp | #include <iostream>
#include <vector>
using namespace std;
int main() {
int A = 0;
int B = 0;
int C = 0;
std::cin >> A >> B >> C;
std::vector<int> Num(3, 0);
Num[0] = A;
Num[1] = B;
Num[2] = C;
std::sort(Num.begin(), Num.end());
std::cout << Num[2] * 10 + Num[1] + Num[0] << std::endl;... |
c9cac4f8acc7fd0f56e8e2c97b46f22db0d42f04 | b39247332f6bd12a87da96184bd1c35a8a3922bd | /cpp_revisit_ws/src/practice/src/demo_topic_publisher.cpp | b9dc2d6224b54fdbf7abfc69bafb72346badd2d3 | [] | no_license | Interns21/ros-practice-Dheenadhayalan-R | 0e974af0116dc8c05d03919a2d77ef571e1a4c8b | 90eac65d718be1249082bc12bd04282bb3ae02db | refs/heads/main | 2023-07-06T14:25:20.769980 | 2021-08-04T05:42:22 | 2021-08-04T05:42:22 | 380,939,563 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 544 | cpp | demo_topic_publisher.cpp | #include "ros/ros.h"
#include "std_msgs/Int32.h"
int main(int argc, char** argv){
ros::init(argc, argv, "demo_topic_publisher");
ros::NodeHandle n;
ros::Publisher num_publish = n.advertise<std_msgs::Int32>("numbers", 10);
int count=1;
ros::Rate loop_rate(10);
std_msgs::Int32 msg;
while(ros::ok){
msg... |
3852f404a3fba8ba61e923d3259b81ab2b00d966 | 410c08751c46a382ae33854468256f047c806500 | /include/model.hpp | be36207ba881a7e260ab42109fca9e1696eb25e4 | [] | no_license | mcl53/openGL-tutorial | 8368865b2b9f2192781baf6e23dd5e68d6087ff9 | a8df673b6bdd10c1d629dea2fbef3ae6b5a3fb3c | refs/heads/master | 2023-06-22T10:40:19.375058 | 2021-07-02T18:58:10 | 2021-07-02T18:58:10 | 299,092,697 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 719 | hpp | model.hpp | #ifndef MODEL_HPP
#define MODEL_HPP
#include <iostream>
#include <vector>
#include <assimp/scene.h>
#include "mesh.hpp"
#include "texture_structs.hpp"
#include "shader.hpp"
class Model {
private:
void loadModel(std::string const &path);
void processNode(aiNode *node, const aiScene *scene);
Mesh processM... |
b938089073d066bd220ee52ec8373f2bc0afe559 | 63c71060f36866bca4ac27304cef6d5755fdc35c | /src/SmartObj/ValueMap/SobjValueMapClient.cpp | 569c7c217757b5c9b798af058b0aa01847018ec9 | [] | no_license | 15831944/barry_dev | bc8441cbfbd4b62fbb42bee3dcb79ff7f5fcaf8a | d4a83421458aa28ca293caa7a5567433e9358596 | refs/heads/master | 2022-03-24T07:00:26.810732 | 2015-12-22T07:19:58 | 2015-12-22T07:19:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,348 | cpp | SobjValueMapClient.cpp | ////////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2005
// Packet Engineering, Inc. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification is not permitted unless authorized in writing by a duly
// appointed officer of ... |
fd80e1355abce759bee27379aa6956297f9e6f54 | 9d364070c646239b2efad7abbab58f4ad602ef7b | /platform/external/chromium_org/chrome/browser/autocomplete/bookmark_provider.h | 46f23583bc8814bb014f40d9c228a1b55aac940a | [
"BSD-3-Clause"
] | permissive | denix123/a32_ul | 4ffe304b13c1266b6c7409d790979eb8e3b0379c | b2fd25640704f37d5248da9cc147ed267d4771c2 | refs/heads/master | 2021-01-17T20:21:17.196296 | 2016-08-16T04:30:53 | 2016-08-16T04:30:53 | 65,786,970 | 0 | 2 | null | 2020-03-06T22:00:52 | 2016-08-16T04:15:54 | null | UTF-8 | C++ | false | false | 1,629 | h | bookmark_provider.h | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_AUTOCOMPLETE_BOOKMARK_PROVIDER_H_
#define CHROME_BROWSER_AUTOCOMPLETE_BOOKMARK_PROVIDER_H_
#include <string>
#include "compon... |
0e72fbbd8dc66cf13a25ce74dadc9c40bceb230c | d008bbc6caed65b6d101c049eac32def267cb72f | /0426_convert_bst_to_sorted_doubly_list.cpp | 823a99a9fba85698ec77d4330d41072b962fd840 | [] | no_license | ShiboYao/Leetcode_cpp | 1e4cfd2aa8c672369dd39ee2489cc5f547f65e93 | 4005921f4b3bbf6d14db81cde244c8fdc1ab227f | refs/heads/master | 2020-06-05T06:12:11.706970 | 2020-01-31T01:39:32 | 2020-01-31T01:39:32 | 192,341,616 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,243 | cpp | 0426_convert_bst_to_sorted_doubly_list.cpp | #include <iostream>
#include <vector>
using namespace std;
class Node {
public:
int val;
Node* left;
Node* right;
Node() {}
Node(int _val, Node* _left, Node* _right) {
val = _val;
left = _left;
right = _right;
}
};
/*
class Solution {
public:
vector<Node*> util(N... |
97b7a6d4afd263c20c1857c163b0e704a68d2a6e | 0b4791b01181ed5acd9907dd7fff7886dea14ca6 | /chap1/circle.cc | bb638ac9a7206833be78d3d7f669f9a597699778 | [] | no_license | zhitang/datastructure | 411e41d0037b712a1d2b146705a98644e6d7e1c0 | 3e7e4cb545cc48f156a4ade3bf47df7d7fa65638 | refs/heads/master | 2021-01-16T18:06:28.988553 | 2013-08-23T21:53:45 | 2013-08-23T21:53:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 885 | cc | circle.cc | #include <iostream>
using namespace std;
const float PI = 3.14159;
class Circle {
private:
float radius;
public:
Circle() { radius = 1.0; }
Circle(float rad) : radius(rad) {}
~Circle() {}
float circumference() const;
float area() const;
};
float Circle::circumference() const {
return 2.0 * PI * radius... |
0595634edd53f4a4b9d41845a0942015a988acc2 | 7023fd80e531763c37e50e8002a570325f983b46 | /Source/Objects/Hardware/Vme/VMEcpu/VME_Readout_Code/ORDataGenReadout.hh | 52cca17686e57422913185e31eb773c5e26c385c | [] | no_license | snoplus/orca | 8e2145e4b63da45a6d921a42d5589d7446dfc039 | ba68bb1eb7a3e56ff42e2be1c554442c1d3db5dc | refs/heads/master | 2021-08-08T09:33:31.422292 | 2019-11-06T13:34:57 | 2019-11-06T13:34:57 | 34,396,033 | 2 | 14 | null | 2021-07-08T00:38:36 | 2015-04-22T14:43:51 | Objective-C | UTF-8 | C++ | false | false | 409 | hh | ORDataGenReadout.hh | #ifndef _ORDataGenReadout_hh_
#define _ORDataGenReadout_hh_
#include "ORVVmeCard.hh"
#include <iostream>
class ORDataGenReadout : public ORVVmeCard
{
public:
ORDataGenReadout(SBC_card_info* ci) : ORVVmeCard(ci) {}
virtual ~ORDataGenReadout() {}
virtual bool Start();
virtual bool Readout(SBC_LAM_Data*)... |
f2c7f614525ad3a27835fb78783bb139c54b61b3 | cdaa74cb4a0808f0a16cc3a1ea671d65dc065e65 | /Modules/OBJMeshLoader/All/MtlLoader.h | c5267a255e3158202d6084c15e8d5f8b9a6716ca | [] | no_license | AtlantisCorp/Clean | 4e9f8ba897510fd978bc532c231ece0c7fb0c501 | 9dd24f8ca083dc65f8e4db88f61116b4ecbed08d | refs/heads/master | 2020-03-27T14:34:29.883473 | 2018-12-05T20:02:57 | 2018-12-05T20:02:57 | 146,670,383 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,768 | h | MtlLoader.h | /*! ================================================
* \file OBJMeshLoader/MtlLoader.h
* \date 10/17/2018
* \author luk2010
**/
#ifndef OBJMESHLOADER_MTLLOADER_H
#define OBJMESHLOADER_MTLLOADER_H
#include <Clean/FileLoader.h>
#include <Clean/Material.h>
/** @brief Mtl file loader for Clean::Material.
*
* Th... |
c1d2800655e024e91e949321f36656ea298eee0d | d6141f83b2a59e1542b2cdf7e7995c11940d385f | /Templatetest/TestTree.cpp | 96f89cf0f0e0a0ae173fd86ebc81573ecb980c16 | [] | no_license | skywalker-wt/google-template | 86e6a965586b0866feb403a1b4ed067e59f34c4e | 2d5d72bedb5da4fe4cefed37cf63b5e62bbbc5e9 | refs/heads/master | 2020-05-17T16:39:35.203706 | 2013-09-19T02:36:27 | 2013-09-19T02:36:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,347 | cpp | TestTree.cpp | #include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <list>
#include <set>
#include <map>
using namespace std;
//-------------------------------------------------------------------
static string IFile = "D:\\result\\input.txt";
static string OFile = "D:\\result\\result.txt";
ifstream in... |
e88f4dd20db59d6c2cb08a5efb45eb4160baf36c | a055c41211c4143e1a9c3ec93d5ffe701272a349 | /gui/convoi_info_t.cc | 3db20a8556b59bcc17ba6864c9214a7b715018c4 | [
"Artistic-1.0"
] | permissive | teamhimeh/simutrans | 7ed04e4218f727831191b7e2420b19b2c9849650 | ff35971ca4bdfe6007ac71de63fcff6d1276e166 | refs/heads/OTRP | 2023-09-02T23:05:44.165750 | 2021-10-06T13:17:58 | 2021-10-06T13:17:58 | 82,244,298 | 27 | 20 | NOASSERTION | 2022-11-24T13:42:32 | 2017-02-17T01:37:33 | C++ | UTF-8 | C++ | false | false | 15,563 | cc | convoi_info_t.cc | /*
* This file is part of the Simutrans project under the Artistic License.
* (see LICENSE.txt)
*/
#include <stdio.h>
#include "convoi_info_t.h"
#include "../vehicle/simvehicle.h"
#include "../simcolor.h"
#include "../display/viewport.h"
#include "../simworld.h"
#include "../simmenu.h"
#include "simwin.h"
#inclu... |
0329df3bce330644f46ffc7ddefc2b915d3163e0 | a280aa9ac69d3834dc00219e9a4ba07996dfb4dd | /regularexpress/home/weilaidb/software/zeromq-4.1.5/tests/test_ctx_destroy.cpp | caaa11bd30e36e500abbc596718f0d9963a33250 | [] | no_license | weilaidb/PythonExample | b2cc6c514816a0e1bfb7c0cbd5045cf87bd28466 | 798bf1bdfdf7594f528788c4df02f79f0f7827ce | refs/heads/master | 2021-01-12T13:56:19.346041 | 2017-07-22T16:30:33 | 2017-07-22T16:30:33 | 68,925,741 | 4 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 101 | cpp | test_ctx_destroy.cpp | static void receiver (void *socket)
void test_ctx_destroy()
void test_ctx_shutdown()
int main (void)
|
7d0e4e393a5d7762e47d296c524577254f459adf | cb74f5a5433c9aa1c402243d4e9642f623f65e67 | /pat/pat1112.cpp | 55fcba521da8590e8b0b18c707c4a37c11d46962 | [
"MIT"
] | permissive | zofvbeaf/algorithm-practices | 290d6279046b7a8d67b2b66be69153095518b926 | 9772808fdf1b73ac55887291d9fb680e90b60958 | refs/heads/master | 2020-04-19T01:45:45.420591 | 2019-09-10T06:24:04 | 2019-09-10T06:24:04 | 167,881,506 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 727 | cpp | pat1112.cpp | #include<cstdio>
#include<iostream>
#include<algorithm>
#include<string>
#include<cstring>
#include<string.h>
#include<vector>
#include<stack>
#include<map>
#include<queue>
#include<math.h>
#include<functional>
using namespace std;
typedef long long LL;
const int INF = 1<<30;
const int maxn = 1e3 + 50;
... |
65867568e536d99390ac9d24b089cefe28f6fb3e | 4ecb7575a8110037ea00774040250b2e9d8abe56 | /Old_Version/map_8.3.0(피격추가)/Base_3D/HeightMap.h | caf4bb4c004d52f5f0e860fe2d5eaec070ff41e4 | [] | no_license | naknaknak/3D_Game_Portfolio | 1e46c5dca1637749f26986193b0b620b1fdb3390 | 12f4f8a9346e9199be55b0e1ad3549c44752a514 | refs/heads/master | 2020-05-21T17:47:38.252543 | 2017-02-20T00:16:14 | 2017-02-20T00:16:14 | 63,951,817 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 2,031 | h | HeightMap.h | #pragma once
#include "QuadTree.h"
class HeightMap
{
public:
HeightMap();
~HeightMap();
void Initialize(char* mapFileName, char* textureFileName);
void RawFileRead_Position(const char * fileName, std::vector<D3DXVECTOR3>& pos);
void Destroy();
void DebuggingKey( );
void Render();
void Debuging( );
// 지정된... |
e4524c7d7361ee95c82ebb5c79b58f05ca74b65e | 1d01fe2f2b30ef3403ef18dde3d7dcfee105dd27 | /lib/Python/ExposeType.cpp | addf7e14189295cdc94d5bc75e291a7d6b935cd0 | [] | no_license | Joejiong/declarative-mlir-compiler | 84527354d30becc40d60ff80055fc177c2ec3adb | 949777aff86955f4963866dbaf71b91e776783f8 | refs/heads/master | 2023-01-01T21:36:37.666805 | 2020-09-22T15:05:52 | 2020-09-22T15:05:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,208 | cpp | ExposeType.cpp | #include "Type.h"
#include "Context.h"
#include "Expose.h"
#include "Utility.h"
#include "dmc/Dynamic/DynamicType.h"
#include <mlir/IR/Dialect.h>
#include <mlir/IR/StandardTypes.h>
#include <mlir/Dialect/LLVMIR/LLVMDialect.h>
#include <pybind11/pybind11.h>
#include <pybind11/operators.h>
using namespace pybind11;
us... |
ce959a11180bee7c04175d3da68eeed41138b3f5 | 98dc6f0f7c85dbfae6d40df288dde6f392311f43 | /src/ai/gg/AlphabetStorage_MySQL.cpp | b8adc9f43ae9d9ca91f7940f01ae6ddeda891e19 | [] | no_license | Atom9j/GrammarEngine | 056cba6652a78e961cee6e9420f8b606563a3d77 | 7966a36b10d35cf6ba1c801701fa49d3c2c6add2 | refs/heads/master | 2021-04-27T00:10:28.165368 | 2018-03-03T12:19:37 | 2018-03-03T12:19:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,165 | cpp | AlphabetStorage_MySQL.cpp | #if defined SOL_MYSQL_DICTIONARY_STORAGE
#include <lem/Ucs4ToWideString.h>
#include <lem/oformatter.h>
#include <lem/unicode.h>
#include <lem/conversions.h>
#include <lem/mysql_helpers.h>
#include <lem/solarix/coordinate.h>
#include <lem/solarix/gram_class.h>
#include <lem/solarix/LS_ResultSet_MySQL.h>
#incl... |
d10e86cb5501f5472930da6e1d02fa3d2d88a486 | 42d5cc15b7dd334904f84716d856f91a81e3c35c | /SS_Coefficient_GF/SS_Coefficient_GF/ss_coefficient.cpp | b7a9880eb5b9131d9981ca279ee7ab6013388c4e | [] | no_license | annekehdyt/secret-sharing | d0e91909247a5e236926484ee9c9e98cb59ad1e9 | 6b8746a4731d8bebcdaa313af0b54c3199f59f83 | refs/heads/master | 2021-01-20T07:54:13.844993 | 2018-02-28T22:23:05 | 2018-02-28T22:23:05 | 90,063,745 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,580 | cpp | ss_coefficient.cpp | #include <iostream>
#include <fstream>
#include <array>
#include <stdio.h>
#include <math.h>
#include <stdlib.h>
#include "GFheader.h"
#define T_VALUE 2
#define PRIME 50000
using namespace std;
void polynomial(int secret[], int t, int n, int *shares);
void reconstruction(int t_share, int shares[][2], i... |
44a32fa3f69902471110d10827c187e96a0ac554 | ffd607509571f392a4796703735aa25b0158af6e | /Maps&Multimaps/program_2.cpp | 12fbb32a8080780b681045246a67d1779273e3cf | [] | no_license | bhavya278/CPP_STL | 282b1bfaa83db6b341ac1b4e6af297300dba186d | fdcac3b4260bdb241ede941b50c8d5560b29988e | refs/heads/main | 2023-02-07T05:31:39.369026 | 2020-12-31T06:11:04 | 2020-12-31T06:11:04 | 302,834,462 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 866 | cpp | program_2.cpp | // in multimap we are able to insert multiple different value of a same key like-:
// a->apple
// a->arvind
// Time complexity of insert(),find(),erase() is log(n) becoz of self balancing BST
#include<iostream>
#include<map>
#include<string>
using namespace std;
int main()
{
multimap<char,string> m;
int n;
... |
df4da66a61d4c6bc3aaf5935dc84270621765f6b | 8c35c227196168c43ae11bb3ba88780314bac0a7 | /osquery/tables/system/linux/system_info.cpp | c88ec1b934b15ed7803329ca0765fac8407c8a0f | [
"GPL-2.0-only",
"LicenseRef-scancode-generic-cla",
"Apache-2.0"
] | permissive | theopolis/osquery | e17571b7566ff512c8367e8560dc582d18a796df | 1d5bbbcecaea35051146a192861bc0bc6ed89f12 | refs/heads/master | 2022-01-14T14:31:06.200814 | 2019-10-26T14:59:01 | 2019-10-26T14:59:01 | 26,103,098 | 3 | 2 | BSD-3-Clause | 2017-12-21T20:00:03 | 2014-11-03T03:56:14 | C++ | UTF-8 | C++ | false | false | 3,438 | cpp | system_info.cpp | /**
* Copyright (c) 2014-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed in accordance with the terms specified in
* the LICENSE file found in the root directory of this source tree.
*/
#include <thread>
#include <sys/utsname.h>
#include <boost/algorithm/string.hpp>
#include... |
760c3ef799173fde333b97e762e59d2b599ba415 | 1faa2601f5c5d05a8dfa851c06a0fc07317386e5 | /cvmfs/session_context.cc | 7dab6044d2e79c95a34e089d77743266e580928c | [] | permissive | cvmfs/cvmfs | 216aecc8921ac7fcd5cec5a8baf37870cdc42d0f | bb69086badd32d8f9566ed5dcedff1fd1b0ccc5e | refs/heads/devel | 2023-08-24T09:17:29.248662 | 2023-08-15T09:08:27 | 2023-08-15T09:08:27 | 3,784,908 | 231 | 118 | BSD-3-Clause | 2023-09-13T10:50:09 | 2012-03-21T09:10:41 | C++ | UTF-8 | C++ | false | false | 13,079 | cc | session_context.cc | /**
* This file is part of the CernVM File System.
*/
#include "session_context.h"
#include <algorithm>
#include <limits>
#include "curl/curl.h"
#include "cvmfs_config.h"
#include "gateway_util.h"
#include "json_document.h"
#include "json_document_write.h"
#include "swissknife_lease_curl.h"
#include "util/exceptio... |
009e7433e5e10525ce0df6c80aa82e7b46ade6b4 | c9a56654744b48b83ad052b86d811094044b3c69 | /MvsServer/source/HDIPCamera.cpp | bb5fcfe24e13ff8cd0abd9b27a09a1afa2e59a86 | [] | no_license | zhuhaijun753/bocomSrc | 6c1f3a9ffefb6bf605b4c30bba184bb2719d98a7 | 5ea248f2da29e7932d2c8b8034d9ed08499ea513 | refs/heads/master | 2022-04-28T09:35:27.320694 | 2020-04-27T04:32:56 | 2020-04-27T04:32:56 | 259,205,543 | 0 | 0 | null | 2020-04-27T04:32:14 | 2020-04-27T04:32:13 | null | UTF-8 | C++ | false | false | 28,923 | cpp | HDIPCamera.cpp | // 博康智能视频检测识别软件 V2.0
// Bocom Intelligent Video Detection & Recognition Software V2.0
// 版权所有 2008-2009 上海博康智能信息技术有限公司
// Copyright 2008-2009 Shanghai Bocom Intelligent Information Technologies Ltd
// 博康智能公司秘密 Bocom Intelligent Information Technologies Ltd Confidential Proprietary
//
#ifdef HDIPCAMERA
#include "trdef... |
792893aa3116cc75a1929e71ebd21af7a25edd21 | 1ac3f7213b2c4cda9872275d5c735dee27333825 | /codes/data_structures/stack/cpp/cstack.h | 8a6765288dd9e82ff02de0a978b5f3eb2193dada | [
"MIT"
] | permissive | basu0001/first-pr-Hacktoberfest--2019 | b13a805590bd80f955a158a841dc657c6439dfd9 | 479553e67728fa8409dbceed7cb3d7554127c946 | refs/heads/master | 2021-06-28T10:24:15.910424 | 2021-02-02T07:38:31 | 2021-02-02T07:38:31 | 212,898,561 | 8 | 55 | MIT | 2021-02-01T18:11:35 | 2019-10-04T20:37:04 | Java | UTF-8 | C++ | false | false | 456 | h | cstack.h |
#ifndef CSTACK_H
#define CSTACK_H
#include "celement.h"
// Header File
class CStack
{
public:
CStack(const CStack&) = delete; //Forbid usage of Copy Constructor because we use raw pointers
CStack& operator=(const CStack&) = delete; //Forbid usage of copy assignment for the same reason
CSta... |
29e9708a2abd98bbb97fb6e7f3803b12dad4c0f3 | 621155ab5cf397b0da17e07f03830fd0698525d9 | /DataStructure/programa7.cpp | c23c1ac940af0f4830e3c4eaf8f138063103974c | [] | no_license | miguelmorais7/Data-Structure | 884dfbdefa33af7ed19177b468d59162e7139e97 | f11065e82748fd1d33441c5b1dedd73190ee2e92 | refs/heads/main | 2023-01-06T09:39:19.805600 | 2020-11-04T02:42:31 | 2020-11-04T02:42:31 | 309,860,238 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 527 | cpp | programa7.cpp | #include <stdio.h>
#include <stdlib.h>
#include "pilha.h"
int contaMenores10 (Pilha *p){
Pilha *aux=pilha_cria();
float v;
int soma = 0;
while(!pilha_vazia(p)){
pilha_push(aux,pilha_pop(p));
}
while(!pilha_vazia(aux)){
v = pilha_pop(aux);
pilha_push(p,v);
if(v<10) soma += (int) v;
}
pilha_libera(... |
d71c16ee375ceffad7d7ecde2485c931c06e2f3f | 3d8a7d05252309283523e1a55d56907fec85519c | /3Demo/LeftDockWnd.h | cb95ae40dbbb458e5069ca1f99721f22944cc10b | [] | no_license | savagehf/3Demo | 239fa2bc58844b37f9bc0da6155948890eb31d08 | edfcc6c1fe9e9c344b4ac3f4dc858a6c0a419b5d | refs/heads/master | 2021-01-21T12:23:37.355358 | 2014-12-26T07:14:15 | 2014-12-26T07:14:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 618 | h | LeftDockWnd.h | #pragma once
#include "resource.h"
#include "afxcmn.h"
class CLeftDockWnd : public CDialog
{
DECLARE_DYNAMIC(CLeftDockWnd)
public:
CLeftDockWnd(CWnd* pParent = NULL); // standard constructor
virtual ~CLeftDockWnd();
// Dialog Data
enum { IDD = IDD_DIALOG_LEFT_DOCK };
protected:
virtual void DoDataExchange... |
8151ae4e9da1dc697ef92d1d23e8849e456b84f9 | af84d79b8d162ac2c6e3c0311fa5f8acab996070 | /毕业设计程序/GridSet.cpp | 00160e7019dbd6302060f76450156d6e30ce5be6 | [] | no_license | XuJin1992/The-Research-And-Implementation-Of-Data-Mining-For-Geological-Data | edf41cf43a4accee9a2c9db114d389b474bc77b7 | c1fdca512771c72ba96762ac3a50681d9a5313b3 | refs/heads/master | 2021-01-10T14:35:25.503119 | 2015-12-27T02:25:29 | 2015-12-27T02:25:29 | 48,313,846 | 12 | 1 | null | null | null | null | MacCentralEurope | C++ | false | false | 4,609 | cpp | GridSet.cpp | /**
* Created by xujin on 2014/12/1.
All Rights Reserved£¨but you can use this program.
*/
#include"GridSet.h"
#include<list>
#include<algorithm>
CGridSet::CGridSet()
{
m_veCGrid.clear();
}
int CGridSet::getSize()
{
return m_veCGrid.size();
}
void CGridSet::addGrid(CGrid tGrid)
{
m_veCGrid.push_back(tGrid);... |
2171cb38d863b3827eaef23d6a2374883af42e48 | 230884a3af09c4668982423b4fba78da5fa8f23e | /CPP/Dataset File manipulation/main.cpp | b0fbbba14f244a063c2e5a088519a1c9762e08e2 | [] | no_license | lukeaugusto/University-work | 9997386771729f15cb28d774fcb8b50fd910541d | e345492cb824250955a5b6849f29a085088d512c | refs/heads/master | 2021-01-01T05:02:02.855927 | 2016-04-22T15:45:08 | 2016-04-22T15:45:08 | 56,176,299 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,353 | cpp | main.cpp | #include <iostream>
#include <vector>
#include <fstream>
#include <string>
#include <sstream>
#define size 12
using namespace std;
// Convert the string in vector
static vector<string> strSplit(string str, char delimiter)
{
vector<string> vec;
stringstream stream(str);
string token;
// Get each l... |
5ec5d25daa2056066453b60684aa27c56f2ff749 | 707d98241e5f5f5ccda7652302b8811b98f29395 | /source/gameManager.cpp | 1e2935272ccc5bd3d46f2e6d79b668b784e8d2bd | [] | no_license | djunior/tactics | 57de71746659f0bf18c99fb55020f0078ea530b5 | 743745eeff59585a318902d7679622ad2b9be89f | refs/heads/master | 2020-05-17T15:33:12.073754 | 2014-05-30T04:24:09 | 2014-05-30T04:24:09 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 20,026 | cpp | gameManager.cpp | /*
* GameManager.cpp
*
* Created on: Feb 15, 2014
* Author: djunior
*/
#include "gameManager.h"
#include <typeinfo>
#include "unit_class/knight.h"
#include "unit_class/wizard.h"
GameManager::GameManager(Board* newBoard, SDL_Renderer *r, SDL_Window *w){
turn = GAMEMANAGER_INITIAL_TURN;
board = newBoard;
... |
cb70235d6d0e29e4b1e4772b55e8ffa0b19d949a | f23e6027b98ce89ccdf946bbc0aaa8d90ac54ce5 | /src/erhe/renderer/erhe_renderer/pipeline_renderpass.cpp | d64f8e1b934c1a3b74333233194b88f063cd21d3 | [
"MIT",
"Zlib",
"Apache-2.0",
"LicenseRef-scancode-public-domain"
] | permissive | tksuoran/erhe | 8476cba96d73d4636aad2a40daaa707fd00b112f | d8a3393113aac273fe2446894f287d9a7889e0a7 | refs/heads/main | 2023-09-04T11:06:39.665543 | 2023-09-02T16:15:32 | 2023-09-02T16:15:32 | 363,416,834 | 412 | 45 | NOASSERTION | 2023-07-15T11:06:09 | 2021-05-01T13:29:16 | C++ | UTF-8 | C++ | false | false | 535 | cpp | pipeline_renderpass.cpp | #include "erhe_renderer/pipeline_renderpass.hpp"
namespace erhe::renderer
{
Pipeline_renderpass::Pipeline_renderpass(
erhe::graphics::Pipeline&& pipeline
)
: pipeline{pipeline}
{
}
Pipeline_renderpass::Pipeline_renderpass(
erhe::graphics::Pipeline&& pipeline,
std::function<void()> begin,
std... |
ad70348be152189a222de904ae102557da3fe1fb | b4951b1a93acc28da071a5bdf82d939eeb68d5a8 | /leetCode/MoveZeros.cpp | 4f400732f3d48d0003c01b5c3e21353a71284089 | [
"Apache-2.0"
] | permissive | ChairInkitchenAmer/study | 9a02e551b67d00b176f48ad5ee452abd330ed02a | 56650ccb1c9879f22cbd692883db7f26f5a8c54b | refs/heads/master | 2020-12-05T01:33:05.493087 | 2020-01-13T01:58:14 | 2020-01-13T01:58:14 | 231,967,824 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 592 | cpp | MoveZeros.cpp | #include <vector>
using namespace std;
class Solution {
public:
void moveZeroes(vector<int>& nums) {
int index = 0;
for (int i = 0; i < nums.size(); i++) {
if (nums[i] != 0) {
nums[index++] = nums[i];
}
}
for (int i =index; i < nums.size(); i++) {
nums[i] = 0;
}
}
};
///ALSO SEEMS LIKE MOV... |
fd334ad6826caf50a4f0871aaabb466e594d4795 | b94b06531584ef08d861608c78282add608b779c | /Robot_arm/my_code/x_Arm_Arduino_v3.ino | 2358d5cca7f27af868779d9f82271bf74ac1573a | [] | no_license | ydsumith/Robotics_course | 91f5843efa09f05366cc313adf262122d866a9d7 | 87fc439b2c021d11815d930e5c8fec40fe95b803 | refs/heads/master | 2021-11-07T01:09:38.847341 | 2021-10-31T18:08:04 | 2021-10-31T18:08:04 | 243,818,760 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,303 | ino | x_Arm_Arduino_v3.ino | // Originally written by Dr. Sumith Yesudasan
// Other contributors: Ms. Emily Westerman
#include <LobotServoController.h>
LobotServoController myse(Serial);
#define GET_LOW_BYTE(A) (uint8_t)((A))
#define GET_HIGH_BYTE(A) (uint8_t)((A) >> 8)
#define FRAME_HEADER 0x55
#define CMD_SERVO_MOVE 0x03
#define CMD_MULT_SERV... |
c1a688c5c5cd1850197b8979f0bc09573ebd5281 | 44645298367e944e74fe66ae95c3c66a4d3748ac | /ant.hpp | fb92aeece44a7709fb8f4a7ee6eca28ff9db37a4 | [] | no_license | NickMarozick/langtonsAnt | d1f80394d7a6055b00525a5e279f695dfa7cedfa | 51fd7accf638dfb59b390c1be3102b708379a2c6 | refs/heads/main | 2023-02-12T02:56:27.457765 | 2021-01-09T20:51:13 | 2021-01-09T20:51:13 | 328,234,773 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,260 | hpp | ant.hpp | /*******************************************
* Author: Nick Marozick
* Date: 10/3/17
* Description: Ant Header File
* *******************************************/
#ifndef ANT.HPP
#define ANT.HPP
#include <string>
#include <iostream>
#include <cstdlib>
#include <sstream>
class Ant
{
private:
int boardSteps;... |
fbaaca1d9324d4efa99ead84cd44587f66ebb5e6 | 4613c0fd08530adf61cbae5e425b9f9e1d302588 | /src/utils/math.cpp | 763cb1891a7d2d118d6660589bd53c53e1b4866f | [] | no_license | xchrdw/voxellancer | b0e39a883cc7d9a6607985e72267c205aae23b20 | 9d468a79c0c96a12170061958a4f06a8f8a9b197 | refs/heads/master | 2021-04-29T17:55:47.628442 | 2014-08-24T21:14:02 | 2014-08-24T21:14:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 182 | cpp | math.cpp | #include "math.h"
uint32_t Math::nextPowerOf2(uint32_t v) {
v--;
v |= v >> 1;
v |= v >> 2;
v |= v >> 4;
v |= v >> 8;
v |= v >> 16;
v++;
return v;
}
|
a89d8277ccb5308dbea66ab3c008045ea41510bd | 5ee0eb940cfad30f7a3b41762eb4abd9cd052f38 | /Case_save/case4/3000/phi | 20c57d3431fcce37e34ac5e37c5b31e706910413 | [] | no_license | mamitsu2/aircond5_play4 | 052d2ff593661912b53379e74af1f7cee20bf24d | c5800df67e4eba5415c0e877bdeff06154d51ba6 | refs/heads/master | 2020-05-25T02:11:13.406899 | 2019-05-20T04:56:10 | 2019-05-20T04:56:10 | 187,570,146 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,656 | phi | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*-------... | |
917af841115f946f7e27a575b48078c19bcefb3e | 0c016bd07764a449fe39a47e547469352b05b2de | /lullaby/contrib/fpl_mesh/fpl_mesh_system.h | 5b89b10c5a405eb18a8c18c05af5aae5820de1da | [
"Apache-2.0"
] | permissive | honggui/lullaby | dbf3ef2a5dbe6497cfe40b3400d2e00df5bb7c49 | 18d76bee62014057d5f5547d7e87f9508a90bcb9 | refs/heads/master | 2023-05-09T00:15:20.266137 | 2022-11-28T22:12:58 | 2022-11-28T22:22:17 | 253,730,368 | 0 | 0 | null | 2020-04-07T08:17:55 | 2020-04-07T08:17:54 | null | UTF-8 | C++ | false | false | 1,389 | h | fpl_mesh_system.h | /*
Copyright 2017-2019 Google 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 by applicable law or agreed t... |
a8b2ea42510297ff22bf801a6011a62106d44f82 | 7ef426c3f55f20a93f3753947b93eb3f79889a31 | /Evergreen/src/Environment/EverCloud.h | 95cf4c1d4425a57b157efcc9e37414e4759ed9d2 | [] | no_license | mjdease/Evergreen | 47b051a03a478b7b62e5e1acca86d5379a7953b4 | 7fe2bbb90a7ab4028a6c0a9731660ef5e73b55fb | refs/heads/master | 2021-05-26T13:10:57.296124 | 2013-05-01T00:24:31 | 2013-05-01T00:24:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 294 | h | EverCloud.h | #pragma once
#include "../Draw/EverTexture.h"
class EverCloud
{
public:
EverTexture* cloud;
float speed;
float posy;
float posx;
float sizePercent;
void update();
void draw();
void setOpacity(float alpha);
EverCloud(void);
~EverCloud(void);
private:
float width, height;
};
|
106a448d6d904b6efbbafa8b6ebae62ea736e113 | 3fc8bf21a7f3c661d96b9804a7cf58472d685ccd | /Final Project/SlingWarrior.h | 4a14e3947f33cb9a30ecd3686f3b64577aa6888b | [] | no_license | Beto-VG/Ventura_Roberto_CSC17A_Spring2019 | 5eeaf99426ec91fcb1e43aa08bf2d37a23a864bb | 962f42e21dac2f540a4aea2495779d712f573171 | refs/heads/master | 2020-05-15T01:08:06.696114 | 2019-05-22T03:13:41 | 2019-05-22T03:13:41 | 182,022,883 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 201 | h | SlingWarrior.h | #ifndef SLINGWARRIOR_H
#define SLINGWARRIOR_H
#include "Warrior.h"
class SlingWarrior:public Warrior
{
protected:
public:
SlingWarrior();
};
#endif /* SLINGWARRIOR_H */
|
ffdfe0faaaa685adcf1ce98c254c298bbdd3b662 | 8bf76115cea5382445426e6a51ba4499f728cc3c | /DMOJ/Chances_of_Winning.cpp | 20a1564c7b26fd85baa388bc575a83b1ab4b6215 | [] | no_license | allenapplehead/Competitive_Programming_Solutions | e3aaee0121eb012ccf0e7b4a508472e7de1bc2fe | 3693892e1e4d06744ce260524b357e89a01c48cb | refs/heads/master | 2021-04-14T20:52:52.550120 | 2020-05-11T21:35:33 | 2020-05-11T21:35:33 | 249,265,809 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,183 | cpp | Chances_of_Winning.cpp | #include <bits/stdc++.h>
using namespace std;
// games are 1-2 1-3 1-4 2-3 2-4 3-4
pair<int, int> poss[6] = {{0, 1}, {0, 2}, {0, 3}, {1, 2}, {1, 3}, {2, 3}};
int ans = 0, tgt;
void solve(int gp, int games[]) {
if (gp == 6) {
int scores[4];
memset(scores, 0, sizeof(scores));
for (int i = 0;... |
b32a48d7e6a688b248edcff6456a173e445f5ea6 | 7bef213325ad7fd5f7361240c4fbf6c5a2a7998c | /boj_1476_2nd.cpp | 1fa2afd4265da3120863faea7014ddedc8f912c8 | [] | no_license | oht1221/problemSolvingCpp | ec65fc6583db822a0e482be5abb2fac1699b8723 | 6a56338ed76e8c602f6b55f02894cda5a468d83d | refs/heads/master | 2023-01-30T08:07:29.566733 | 2020-12-11T13:53:27 | 2020-12-11T13:53:27 | 288,689,386 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 286 | cpp | boj_1476_2nd.cpp | #include<iostream>
using namespace std;
int main() {
int e;
int s;
int m;
cin >> e >> s >> m;
int year = 1;
while (1) {
if ((year - 1) % 15 + 1 == e && (year - 1) % 28 + 1 == s && (year - 1) % 19 + 1 == m) {
break;
}
else year++;
}
cout << year << endl;
return 0;
}
|
a835f075a49a2d15a08bd8a3206f69e1b9641657 | 22655075ae724b6d06c8d5ac0306151988ff2124 | /src/main.cpp | 5b128d38ff65d45a414a8e02a8ee5c30af3e6590 | [] | no_license | cogaiwibu/hello-cross-platform | d7b71d287a40e0b04fa4a3e37ab774269a329520 | 871166053f72aa5df53c4b3aa5312a5b6f52df34 | refs/heads/master | 2023-03-23T20:03:58.889951 | 2021-03-18T08:14:09 | 2021-03-18T08:14:09 | 255,058,089 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 285 | cpp | main.cpp | //
// Created by Huynh Tan Ngan on 4/12/20.
//
#include <iostream>
#include "time_repository.h"
int main() {
TimeRepository time_repository;
auto current_time = time_repository.GetCurrentTime();
std::cout << "Current time: " << current_time << std::endl;
return 0;
}
|
401d026b87076746996cf9f0fe95baaff73e919b | dcfac32ada3bc556b82017036bf3ebab2372530e | /CodeC4/Tran Dang Duy-Chuong4-Bai1.cpp | fb4e209dbb4824565d4153f52fa4fe8a55275ad7 | [] | no_license | hieu-ln/IT82-02 | a2c0d1a9f3ca0266ea7d5fa5a9179d36d4813e2b | de7a0ec9a3c66062917ba5d8e060a185e35cb458 | refs/heads/master | 2020-06-11T06:44:04.873294 | 2019-08-19T21:39:00 | 2019-08-19T21:39:00 | 193,880,236 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,791 | cpp | Tran Dang Duy-Chuong4-Bai1.cpp | #include <stdio.h>
#include <iostream>
using namespace std;
#define COUNT 10
//1.1
struct Node {
int info;
Node *left;
Node *right;
};
Node *root;
//1.2
void Init()
{
root=NULL;
}
//1.3
void InsertNode(Node *&p, int x)
{
if (p==NULL)
{
p=new Node;
p->info=x;
p->left=NULL;
p->right=NULL;
}
else
{
if ... |
fd591aa89fc7eac8a82e9f82a3883a82907a5693 | 6a33b43685f5f171de808af2340640558fd2ed0d | /2315406.cpp | be55f4a92286c49cf64f838851c6046adae2c2ba | [] | no_license | batuhankaray/ikincidosya | d8db93602a69c23f7178bb3e54f86d8fd0e432f5 | a2fce5481b6e3b706ed7bf1d012aa02d6100addc | refs/heads/main | 2023-06-26T15:47:34.456455 | 2021-08-01T23:22:02 | 2021-08-01T23:22:02 | 391,758,032 | 0 | 0 | null | 2021-08-01T23:22:03 | 2021-08-01T22:59:52 | C++ | WINDOWS-1252 | C++ | false | false | 847 | cpp | 2315406.cpp | /* Batuhan Karay – 2315406
I read and accept the submission rules and the extra rules specified in each question. This is my
own work that is done by myself only. */
// Yorum eklendi 3.
#include <iostream>
#include<cstring>
#include "EuroleagueTeamFanclub.h"
using std::cout;
using std::cin;
int main()
{
Eur... |
43be5d3c751ff97dd1092fab91ebf4f9703ad570 | 4aff5a49d635ecfab5cac986b1ddc1809189e8f8 | /LeetCode/Find duplicate number/Find duplicate number.cpp | 1716e5d821ca9715014f0f460737e9051d0b4d16 | [] | no_license | shreyrai99/CP-DSA-Questions | 1221f595391643f5967a77efeb790352536ab9ff | 5a5bfdaee6bf0253661259cae7780b8859108dbd | refs/heads/main | 2023-09-04T06:38:59.114238 | 2021-10-22T09:46:59 | 2021-10-22T09:46:59 | 413,551,990 | 1 | 0 | null | 2021-10-04T19:10:04 | 2021-10-04T19:10:04 | null | UTF-8 | C++ | false | false | 647 | cpp | Find duplicate number.cpp | int findDuplicate(vector<int>& nums) {
// This solution can also be solved using floyd's method without changing vector.
// This is CYCLIC SORT.
int n = nums.size(), ans;
// For better understanding of this loop, dry run the code on paper.
for(int i = 0; i < n; ) {
... |
99126d1ee2567c60aec2da2f378c12b9709cb4fe | 8d38a84edc263dd708dd8ad3041b54d49b333cb5 | /Basics of Recursion/Number of digits.cpp | cea34b9a9d735a9c40365c3814cd6d45d7e3c874 | [] | no_license | kishankunal/100DaysOfCode | 04571f94bdbf9e5386be80207ef1dc9c9d61bb43 | 814641dfbca7fb2a34458df0aaa0cf7304c5285a | refs/heads/master | 2020-08-04T01:05:24.543691 | 2019-10-15T09:09:12 | 2019-10-15T09:09:12 | 211,946,809 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 88 | cpp | Number of digits.cpp | int count(int n){
if(n/10 == 0){
return 1;
}
return count(n/10) + 1;
}
|
9fd4a51b2222774fed1ac38ac82148aace66049d | 25add5016f4a5fe14144e27fed7a42f4710e4c95 | /grpc/include/service.h | 1ed2c149d5278bb816830f387a953f6824b088ed | [] | no_license | YujiroTakahashi/fastText-grpc | 4c919e3f585aafe7895c884a59e436b635ab339b | 5270ce503d22953862a518fd814c08c4b6fffe98 | refs/heads/master | 2020-12-06T00:04:05.273862 | 2020-01-08T11:31:02 | 2020-01-08T11:31:02 | 232,283,095 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,269 | h | service.h | #pragma once
#include <string>
#include <grpcpp/grpcpp.h>
#include "cfasttext.h"
#include "ftext.pb.h"
#include "ftext.grpc.pb.h"
namespace croco {
/**
* fTextServiceImpl
*
* @package fText-server
* @author Yujiro Takahashi <yujiro@cro-co.co.jp>
*/
class fTextServiceImpl final : public croco::fText::S... |
51877c86bf8384edb911b9295ad51edececfe70b | 8b1809076e9ac393b5c971f0a319e41caaed0704 | /嵌入式图形界面开发_即时通讯/lastlast/mytest/register.cpp | 947061015a215336def744dbce460e5f76f46f2c | [] | no_license | 1402010210/project | 8271e3c1f1a05b1a4754b4d53341b9c9b6709a49 | 1634c71593ad0f691ecdf5d0b8de50ab13b98bf2 | refs/heads/master | 2021-08-23T06:37:54.086209 | 2017-12-03T16:08:16 | 2017-12-03T16:08:16 | 111,341,309 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,210 | cpp | register.cpp | #include "register.h"
#include "ui_register.h"
#include <QSqlDatabase>
#include <QDebug>
#include <QSqlQuery>
Register::Register(QWidget *parent) :
QDialog(parent),
ui(new Ui::Register)
{
ui->setupUi(this);
this->setStyleSheet("background-image:url(:/myImage/image/chatback.jpg)");
}
Register::~Register(... |
c3f28ad0ef499c7e7f3bde5d605fd703c3dcdc55 | eb232e1fa2f25e44a4d496f074cf8e25c0e4b9e1 | /ui_hcalcolo_costi.h | 7d142c657233174c1b33f1b3943343599bd4299a | [] | no_license | fblabs/hamlet-mod-sancon | ab2488c40ff1df9ef09e13b592e0a3b5071e2989 | d742634ad95da2dfc06c47cb3f53c147b84f6b77 | refs/heads/master | 2023-08-18T18:33:51.165920 | 2023-08-06T12:23:40 | 2023-08-06T12:23:40 | 44,262,964 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,660 | h | ui_hcalcolo_costi.h | /********************************************************************************
** Form generated from reading UI file 'hcalcolo_costi.ui'
**
** Created by: Qt User Interface Compiler version 5.15.2
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
***********************************... |
55a33ed67b8823d55635781dffb0d074f64483af | 1a4715a8aaced750f2496e364bbbb24361e60571 | /src/sha2/sha2.cpp | 17976744cc18b6300fe0d630bee34368eabe73cc | [
"MIT"
] | permissive | Pytness/PHA | a7ed7abb2733b93f5f4609243bb381797f8bff3f | 8983374be669a9107a35fabe01dabe0ce498f52f | refs/heads/master | 2022-03-08T05:42:54.849401 | 2020-08-27T19:57:16 | 2020-08-27T19:57:16 | 168,880,802 | 0 | 0 | MIT | 2020-07-21T14:57:04 | 2019-02-02T21:34:59 | C++ | UTF-8 | C++ | false | false | 4,141 | cpp | sha2.cpp | #include <stdio.h>
#include <string.h>
#include <stdint.h>
#include <byteswap.h>
#include "sha2.hpp"
#define SHFR(x, n) (x >> n)
#define ROTR(x, n) ((x >> n) | (x << ((sizeof(x) << 3) - n)))
#define CH(x, y, z) ((x & y) ^ (~x & z))
#define MAJ(x, y, z) ((x & y) ^ (x & z) ^ (y & z))
#define SHA256_F1(x) (ROTR(x,... |
b0d2c9321e0b5f9e2192ae02959ec803b6105139 | fd43a733d95374ab37a748343732b7f32b878f34 | /CabinetManage/misc/config.cpp | f63ee449afafdb9b373797d356213b99647f0c8c | [] | no_license | Taikoto/CabinetManage | fe200b4bfda998e674c6f62b2d49acb71aaf75be | b1f0bcd5029093e5399ea386c72fb4bc5a43f1be | refs/heads/master | 2020-04-11T18:00:22.254205 | 2018-12-16T08:44:05 | 2018-12-16T08:44:05 | 161,982,572 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,340 | cpp | config.cpp | #include "config.h"
#include <QCoreApplication>
#define CONFIG_FILE QCoreApplication::applicationDirPath() + "/config.ini"
#define SERVER_IP "http://127.0.0.1:8080"
#define QSERVER_IP "http://127.0.0.1:8080"
#define QPOST 8080
#define IS_QSERVER ... |
b4030a9b7bafc4e9452d6a7167d03f2d0dea7785 | 8e2dcf51dc9e95e5714498dde03adb741a041e43 | /BattleTank/Source/BattleTank/Public/TankAIController.h | 767c5efbc4000ff9ca5d27686e298bfb6041d6ea | [] | no_license | GreatMor/04_BattleTank | 3450479c7608717ddfffe8caddaee5817265ccaf | a06455123bf4bfd6b37fb5bd0ca14859accafdff | refs/heads/master | 2020-05-25T07:24:52.822791 | 2019-06-13T12:29:07 | 2019-06-13T12:29:07 | 187,684,649 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 602 | h | TankAIController.h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Tank.h"
#include "AIController.h"
#include "Engine/World.h"
#include "TankPlayerController.h"
#include "GameFramework/PlayerController.h"
#include "TankAIController.generated.h"
/**
*
*/
U... |
f709aa391304f25b5f0ad4cfdc9b0fc7b39fe1bf | c80cdddb66c32832a2419de347ca169ac5583cdd | /Day 2(25.01.16)/1070 Six odd Numbers/main.cpp | e56d019c724680254e9ad3ecc8c71f5866ca7703 | [] | no_license | sumimim33/URIOJ | 4fe9346d929b57089568f03803d6efd019dde18b | 0fd0734c02a8f63fda68c03de731b5623b8da1a4 | refs/heads/master | 2021-01-13T10:45:48.081645 | 2016-09-30T07:05:30 | 2016-09-30T07:05:30 | 69,310,962 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 204 | cpp | main.cpp | #include <iostream>
using namespace std;
int main()
{
int n,i;
cin>>n;
if(n%2==0)
i=n+1;
else
i=n;
for(int j=i; j<i+11; j+=2)
cout<<j<<endl;
return 0;
}
|
aa100474757d8968a94010f4f3a2e09d272b9658 | 6af4dea4e472f221605946bc8b5e71dabc9c08a6 | /Source/CoopGame/Private/Interactables/Containers/SAmmoCrate.cpp | 64be1a0bd297694ee1917d3f098460a16d56aa24 | [] | no_license | berkbid/CoopGame | 05446ba86a6a5b7aabfb3d87da6a6a275fd73e31 | 3350931a72de8a579ffe644b9b1a46afe9223790 | refs/heads/master | 2021-07-16T21:43:36.750988 | 2020-07-30T17:59:58 | 2020-07-30T17:59:58 | 194,171,480 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 319 | cpp | SAmmoCrate.cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "SAmmoCrate.h"
ASAmmoCrate::ASAmmoCrate()
{
}
void ASAmmoCrate::Interact(class APlayerController* InteractedPC)
{
Super::Interact(InteractedPC);
}
void ASAmmoCrate::OnRep_OpenContainer()
{
Super::OnRep_OpenContainer();
} |
8faeae7b1bc11e072d3473cacce037f6e6328ec7 | 5bc47dcf9ab0843b9d06bc25012bcb2f78874216 | /1150C.cpp | dac28cc500f1a8ff6bf7c7b6e28fb7bc7bbd47cf | [] | no_license | MijaTola/Codeforce | 428f466248a4e9d42ac457aa971f681320dc5018 | 9e85803464ed192c6c643bd0f920f345503ac967 | refs/heads/master | 2021-01-10T16:27:12.479907 | 2020-10-14T15:00:14 | 2020-10-14T15:00:14 | 45,284,776 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 918 | cpp | 1150C.cpp | #include <bits/stdc++.h>
using namespace std;
int n, x;
int v[3];
bool is[500010];
vector<int> prime;
void criba() {
for (int i = 2; i * i < 500010; ++i) {
if(is[i]) continue;
for (int j = i + i; j < 500010; j +=i)
is[j] = 1;
}
for (int i = 2; i < 200010; ++i)
if(!is[... |
6120831ff9c3f7135eccb7e34fb25b69c9e5d92c | f3802bd2f9f53c9835c219c0df1a4beafb206ad2 | /AudioController/sc/StraightLine.h | 0cb91bb0d28994d1f5a07929c217469e1d9a63f6 | [] | no_license | google-code/algorithmic-composition-utility | 3868b70f33d936cdcfa33ecb0f3ef8b38e1a9cd8 | f1d89d6eec202554ec107b4ed56f7fdb0fd38d2e | refs/heads/master | 2018-01-09T09:13:57.742415 | 2015-03-14T13:31:41 | 2015-03-14T13:31:41 | 32,213,335 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 760 | h | StraightLine.h | /*
* StraightLine.h
* SoundController0002
*
* Created by jiro on 10/06/28.
* Copyright 2010 jiro music. All rights reserved.
*
*/
#pragma once
#include "Line.h"
namespace sc
{
class StraightLine : public Line
{
private:
double slope;
double intercept;
public:
StraightLine( double star... |
cfc567128f57671e511211f44f2c19b07d2b21b3 | 6c471cc9944ab1375d602dbe1cf59936a58b2c90 | /rhombus.h | 8c85137c7f595b384870a219973ac1684a013d58 | [] | no_license | Anton-Boldyrev/oop_exercise_08 | 1cf19b966e3aa3282df5dd864fd8be4833b14125 | fbc8669c03a6e06b098c00439b775503a5b4113f | refs/heads/master | 2021-07-06T16:53:46.054787 | 2021-04-11T16:32:59 | 2021-04-11T16:32:59 | 233,116,419 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 389 | h | rhombus.h | #ifndef RHOMBUS_H
#define RHOMBUS_H
#include "figure.h"
#include <iostream>
class TRhombus : public TFigure{
private:
TPoint a, b, c, d;
public:
double Square() const override;
TPoint Center() const override;
void Print(std::ostream&) const override;
TRhombus();
TRhombus(const TPoint p1, const TPoint p2, const ... |
f02657c323980841eff2d0d3ffaa6a180995bb92 | 6ec209c1f6f3ca8017a5373ba2e85da38dfda90c | /greedy/870.cc | 170ce043fa6541888be96230b94b5b0f74fe6601 | [
"Apache-2.0"
] | permissive | MingfeiPan/leetcode | a70192233f7112ce39cc7b09d782bdcc52d29d06 | 057d9f014cf207ab4e50e14e5a9e015724de1386 | refs/heads/master | 2022-05-09T01:40:39.599374 | 2022-04-10T15:03:07 | 2022-04-10T15:03:07 | 60,593,146 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 396 | cc | 870.cc | class Solution {
public:
vector<int> advantageCount(vector<int>& A, vector<int>& B) {
std::multiset<int> s(A.begin(), A.end());
for (size_t i = 0; i < A.size(); ++i) {
auto it = s.upper_bound(B[i]);
if (it == s.end()) {
it = s.begin();
}
... |
a29cc89e9ea0da64034e1660af3b3d9842ad6b98 | c3ac67f632d7d811b9d7c437e7e190e7499604d2 | /leetcode/Sort_List.cpp | 16e4bb57c2f2147fd066d0970a431cb1051e66df | [
"MIT"
] | permissive | John-Shaw/leetcode-solutions | 3188426fa167cd328de6a9969521195182970713 | d08e17c319f290c2255dd1707a2cfd238584a87c | refs/heads/master | 2021-01-25T05:22:25.482589 | 2015-08-25T09:51:03 | 2015-08-25T09:51:03 | 34,388,254 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,468 | cpp | Sort_List.cpp | //
// Sort_List.cpp
// leetcode
//
// Created by 邵建勇 on 15/4/24.
// Copyright (c) 2015年 John Shaw. All rights reserved.
//
#include <stdio.h>
#include <limits.h>
struct ListNode {
int val;
ListNode *next;
ListNode(int x) : val(x), next(NULL) {}
};
class Solution {
public:
// Merge Two Sorted List... |
74f42c1922486f2c8269a84368e8c691c2fd375c | 3781f8bbf2ad116c6292a9732b8253530d1ffbc7 | /audioManager.h | 22c30b8edbd90844eb40e2a02d275fd1cb435914 | [] | no_license | CosminApo/SlimeSlayer | 49e784cd1534d0d4a41f5a383da4582b492d6dfe | f827f1ffe32952b5caa54dfa8d42c5176cd44b5a | refs/heads/master | 2022-08-09T21:55:10.941877 | 2019-10-23T16:07:59 | 2019-10-23T16:07:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 381 | h | audioManager.h | #ifndef _AUDIO_MANAGER_H
#define _AUDIO_MANAGER_H
#include "SDL_mixer.h"
#include <string>
#include <iostream>
class audioManager
{
Mix_Music* bgm;
Mix_Chunk* sfx;
public:
void setBgm(std::string _path);
void setSfx(std::string _path);
void play();
void stopMusic();
void resumeMusic();
audioMan... |
9917c6d5ceb897afcf8f7350e6977555afd91e3f | ddb25914fa1e27dd986f021b2b3f1f62834b5797 | /excel-sheet-column-number.cpp | 737e21b91dc128f02f75cb13ab7a84e5d7087f10 | [] | no_license | ankush953/leetcode-solutions | 31c24d6c82c2975351a6befc0af5dbf8fd3e9b65 | 1604dbf353aec6e8be52e9466335f8d482816c5e | refs/heads/master | 2022-12-15T15:40:35.621015 | 2020-09-03T04:46:15 | 2020-09-03T04:46:15 | 281,345,835 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 350 | cpp | excel-sheet-column-number.cpp | // https://leetcode.com/problems/excel-sheet-column-number/
// space O(1)
// time O(s.length())
class Solution {
public:
int titleToNumber(string s) {
int power = 0;
int ans = 0;
for (int i = s.length()-1;i>-1;i--) {
ans += pow(26, power)*(s[i]-64);
power++;
... |
d3724f7b02e455f3dc76cd6d2f3d21aab4f8647b | cba674f10550c6a65cf73cc71f7bbdc27d7e5e34 | /Source/Player/CacheRouter.cpp | 518e448c07509c3deafcd058e0e589740abca81e | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | elix22/Urho3D-1 | 1641fea4c855b599b2efa36cae9c249e1c507fc8 | 955ea6212defd1f0515c1bffa89a4114b63af3cd | refs/heads/master | 2021-06-25T00:57:28.436933 | 2020-11-25T13:53:52 | 2020-11-25T13:53:52 | 148,736,020 | 0 | 2 | MIT | 2020-11-25T13:53:53 | 2018-09-14T04:32:49 | C++ | UTF-8 | C++ | false | false | 2,498 | cpp | CacheRouter.cpp | //
// Copyright (c) 2017-2020 the rbfx project.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, mer... |
49eda266f02415c9922c1d5706aa53593816aa8d | 4339f1bdf5da017442940acf5da666954d11da8b | /Lab 10.cpp | 8e2a9199c300c1652727afff9da078844b47e23b | [] | no_license | NoelGuzman/COSC-1436 | f1f97d186f018a24bb5119d2983d4eabcd76144e | 12197d9020a32e5c3b5ef1b0ad775fa7eaef5a03 | refs/heads/master | 2020-04-05T17:12:58.385405 | 2018-11-11T05:14:19 | 2018-11-11T05:14:19 | 157,048,550 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,269 | cpp | Lab 10.cpp | //Noel Guzman
//Lab#10
#include "stdafx.h"
#include <iostream>
#include <fstream>
#include <cstdlib>
#include <string>
using namespace std;
void get_input(fstream& in_file, ofstream& out_file);
// Get entry file and output file out and ready for calculations.
void calculate(fstream& in_file, ofstream&... |
9290852c9236b464e2d64d29918f2b213916c565 | 8ff7e23c484505c5afd325a07461fef2cd6294a7 | /d04/ex00/Sorcerer.cpp | fb465a60c503c3cbd664dc10116def0a923ea388 | [] | no_license | grumbach/Piscine_CPP | e9eeda2a1e0eb55852e4ef256573b4496bb28b3c | d7319882410165cc398929c0e137cb4420980b5e | refs/heads/master | 2021-09-11T09:55:51.720844 | 2018-04-06T16:19:24 | 2018-04-06T16:19:24 | 125,096,522 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,994 | cpp | Sorcerer.cpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Sorcerer.cpp :+: :+: :+: ... |
08a7735fee62e5db3494885de40d3cd1a86a431c | 822b01cf255a4216a960b37678498eece8a65d74 | /src/game.cc | 9781591d41d473f9e467aa5ac0226bb0bfccfc1e | [] | no_license | thesmileynoob/tesselator | 33f901c004a53516ad5f9976bcf55ba349a7c225 | 78c96c0c9ecf75adff62b34ecaea4c916f04df18 | refs/heads/master | 2020-12-21T07:30:41.220422 | 2020-02-11T11:42:56 | 2020-02-11T11:42:56 | 236,358,318 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,768 | cc | game.cc | #include "game.h"
#include "breakout.h"
#include "particles.h"
#include "ui.h"
// game global variables
namespace game
{
bool debug_mode = true;
/// level (aka playable area) dimensions in abs px
int level_left = FRAME_WIDTH;
int level_right = SCR_WIDTH - FRAME_WIDTH;
int level_top = FRAME_WIDTH;
int level_bot... |
bee424b4da3f1626c4f41300e9f4740650a5a433 | 85c8f7194e1591ccf1652f789d393479e5efc543 | /src/Date.cpp | 3ab15bd608d89464c0bc48f91a2fe016cedef830 | [] | no_license | RajatBachhawat/Railway-Booking-System | ee793408999abf50a91b84cf820b706b87d6fd11 | 7bc2f4edaad38aa0cc9d34262f70d72dc917d568 | refs/heads/main | 2023-05-06T07:46:45.242882 | 2021-05-27T14:58:18 | 2021-05-27T14:58:18 | 370,363,431 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,553 | cpp | Date.cpp |
//Rajat Bachhawat
//Roll No: 19CS10073
#include "Date.h"
#include "Exceptions.h"
#include <vector>
#include <ctime>
const char Date::sMonthNames[][4] = {"Jan", "Feb", "Mar", "Apr", "May", "Jun",
"Jul", "Aug", "Sep", "Oct", "Nov", "Dec"};
Date::Date(UINT d, UINT m, UINT y) : date_... |
d94a49377f774ff8aa5e49142cebf6faf6451e18 | 9474e37748ad7612b3ecf54adc41c2388fb2be79 | /src/nqueens/n_queens.h | ed930a6d1b05678f2fc7fb4e6e213ca282731384 | [] | no_license | KaiLangen/exact_cover | 10ed18ad38d4d96bf311838bfb688c237ec9d40c | 8aefb6a73ae79e0939badb9cda1fda3a055aadab | refs/heads/master | 2021-01-10T16:44:18.383852 | 2016-05-04T18:23:46 | 2016-05-04T18:23:46 | 50,792,991 | 0 | 0 | null | 2016-05-04T18:23:46 | 2016-01-31T20:14:50 | C++ | UTF-8 | C++ | false | false | 678 | h | n_queens.h | #ifndef n_queens_h
#define n_queens_h
#include <iostream>
#include <vector>
class board {
typedef std::pair<int,int> pos;
private:
std::vector<std::vector<bool> > positions_;
std::vector<pos> moves_;
int size_;
public:
board(int n);
bool is_valid(int row, int col);
bool create_queens_recursive(int current_c... |
765ceae979534467fa706fc612e0dc2430830b3c | b688648a5fca3d64b168a5175fab0a96857baede | /dbswzsk/WzskMSession.cpp | a4b7cb592df638b7652ca417d7041434837e9b0f | [
"MIT"
] | permissive | mpsitech/wzsk-Whiznium-StarterKit | e4d6f61408d42de86c3055c2156af74eda35c308 | ce594838ceaaf15a8bd08569f64c15bdcfc3efaa | refs/heads/master | 2022-10-08T23:01:09.686373 | 2022-09-12T20:52:32 | 2022-09-12T20:52:32 | 282,704,920 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,509 | cpp | WzskMSession.cpp | /**
* \file WzskMSession.cpp
* database access for table TblWzskMSession (implementation)
* \copyright (C) 2016-2020 MPSI Technologies GmbH
* \author Emily Johnson (auto-generation)
* \date created: 5 Dec 2020
*/
// IP header --- ABOVE
#include "WzskMSession.h"
using namespace std;
using namespace Sbecore;
/*... |
ff20024ee32f7e17db340f610b88fb2b9a8deab4 | 5ec06dab1409d790496ce082dacb321392b32fe9 | /clients/cpp-pistache-server/generated/model/ComAdobeCqScreensMqActivemqImplArtemisJMSProviderProperties.h | 2c5e61ada141248651f11d5c3564f53f956f070f | [
"Apache-2.0"
] | permissive | shinesolutions/swagger-aem-osgi | e9d2385f44bee70e5bbdc0d577e99a9f2525266f | c2f6e076971d2592c1cbd3f70695c679e807396b | refs/heads/master | 2022-10-29T13:07:40.422092 | 2021-04-09T07:46:03 | 2021-04-09T07:46:03 | 190,217,155 | 3 | 3 | Apache-2.0 | 2022-10-05T03:26:20 | 2019-06-04T14:23:28 | null | UTF-8 | C++ | false | false | 13,890 | h | ComAdobeCqScreensMqActivemqImplArtemisJMSProviderProperties.h | /**
* Adobe Experience Manager OSGI config (AEM) API
* Swagger AEM OSGI is an OpenAPI specification for Adobe Experience Manager (AEM) OSGI Configurations API
*
* OpenAPI spec version: 1.0.0-pre.0
* Contact: opensource@shinesolutions.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-gener... |
ce6c746cd7ab824b42b20001761a30d31fb73b5b | 1e4030295a923b0a20146e434244b0cd94fc5dc5 | /crankNicolson.cpp | bed76949335c551acdf1f39d2ee1bd003bb60760 | [] | no_license | jschueths/Differential-Equation-Solution-Methods | 8c19ce9ca6479b0b869116b8f1a2f477d217a8c7 | 036804a8449762c12da615b6df95be3cc88526ac | refs/heads/master | 2016-09-10T01:14:15.662425 | 2012-01-09T20:22:12 | 2012-01-09T20:22:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,174 | cpp | crankNicolson.cpp |
// Author: Joshua McCarville-Schueths
// Class: Math 303
// File: crankNicolson.cpp
#include "crankNicolson.h"
crankNicolson::crankNicolson(const int n, const double delta)
{
m_y = new double[n+1];
m_t = new double[n+1];
m_n = n;
m_delta_t = delta;
}
crankNicolson::~crankNicolson()
{
delete [] m_y;
d... |
54b85b0798ee570b3b095e901802f7b9189b91c1 | 6f873d7393f198b4382c67b52e1b2bd085af064a | /include/DLLoader.hpp | 68ebd949cfb8d441f3068ce5d61bf21fd1cad0f3 | [] | no_license | DorianG-Epitech/OOP_arcade_2019 | f577f241fc494045fcb68dab2ff174621c0be5db | 29250f45736841046349e1700dc5b439f1a4833f | refs/heads/master | 2022-08-07T11:50:39.232717 | 2020-05-23T15:24:48 | 2020-05-23T15:24:48 | 266,363,097 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 646 | hpp | DLLoader.hpp | /*
** EPITECH PROJECT, 2020
** Arcade Bootstrap
** File description:
** DLLoader
*/
#ifndef DLLOADER_HPP_
#define DLLOADER_HPP_
#include <dlfcn.h>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <dirent.h>
#include <iostream>
#include <string>
#include "IDisplayModule.hpp"
#include "IGameModule.hpp"... |
36b66a3138e1245ce74e496bb42c7529727853eb | e022b73cde1e0d373dd7a2c469a0f88409829605 | /problem014.cpp | c0bcc7fbac1acd80249424eae132375c21d05501 | [] | no_license | yfksm/project-euler-myans | b0e279f6e377a438b57351fe25fe2c20298ac6c6 | 5fceb9d6405a592c488a29e0feb23351789f71ae | refs/heads/master | 2022-10-25T14:56:05.223387 | 2022-09-30T20:28:54 | 2022-09-30T20:28:54 | 228,564,217 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,225 | cpp | problem014.cpp | /*
The following iterative sequence is defined for the set of positive integers:
n → n/2 (n is even)
n → 3n + 1 (n is odd)
Using the rule above and starting with 13, we generate the following sequence:
13 → 40 → 20 → 10 → 5 → 16 → 8 → 4 → 2 → 1
It can be seen that this sequence (starting at 13 and finishing at 1) co... |
b7d9d11c7aea0f6a298118d57832a3626e8b386c | 3c6e9e69f38a26d601b11f4c6654c8d936a6d25d | /projects/platform/sources/scene/base/scene_manager.h | 5fba550cfb8a1a779b0d5eda8617fb5f039c5c9b | [] | no_license | H409/program | b64913735255177406b80b37e4ce796d6a8b95a3 | 8eb62d6079d0d0c54eb90878222e8d1e9bd0ff6c | refs/heads/master | 2021-01-10T17:43:48.027484 | 2016-01-19T02:59:16 | 2016-01-19T02:59:16 | 43,337,598 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 2,580 | h | scene_manager.h | //*****************************************************************************
//
// scene_manager.h
//
// Author : Masahiro Yamaguchi
//
//*****************************************************************************
//*****************************************************************************
// include guard
//... |
f6e3eb2e32538ca110541f482447edc8765cc065 | db6472f1fb7f91aabf3dbc070ca102cd62819232 | /P87/07.cpp | 24d2273ba7ddc1df7f147fd9097e50960bc10804 | [] | no_license | Jiwangreal/learn_cpp_with_me | 4d73c6948ab661a25e679fb28aa2fe23846a021b | 2aaf71899fbd1e1ea4bdc472133f7df41e8ab63b | refs/heads/main | 2023-05-05T22:46:13.528739 | 2021-05-30T10:49:31 | 2021-05-30T10:49:31 | 311,383,491 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,336 | cpp | 07.cpp | #include <boost/shared_ptr.hpp>
#include <iostream>
using namespace std;
class Parent;
class Child;
typedef boost::shared_ptr<Parent> parent_ptr;
typedef boost::shared_ptr<Child> child_ptr;
class Child
{
public:
Child()
{
cout << "Child ..." << endl;
}
... |
fa8e0f41bac4ad0d74bccb96756e7973a6e74bd2 | 1c79259f124cbd81cb67b9aac1217cfdf47af1e2 | /lib/finder.cpp | 8393f3c14671d5a471dab49107e24225eb16937e | [] | no_license | vovunku/1C-initiation-trial | ed3951b1d27d56a2c9a311317ad1cba0e1a1161f | 2f7e19a56d43253678b7b7633060b679812492dc | refs/heads/main | 2023-04-04T23:57:33.943421 | 2021-04-14T20:00:58 | 2021-04-14T20:00:58 | 357,960,521 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,020 | cpp | finder.cpp | #include "finder.h"
#include <string>
#include <algorithm>
Finder::Finder(size_t block_size, size_t file_size) : block_size_(block_size), file_size_(file_size) {
}
void Finder::generate_difference(std::istream &previous, std::istream &updated, std::ostream &result) {
std::string buffer;
size_t offset = 0;
... |
08dbd2ee60df80331cf634127e75645be6c1d132 | f933510c49a49bd8ebc821269f8fca178f1128b4 | /partition.h | 57357e0e2d5720b6e05f70cfde2af9256caa164f | [] | no_license | FedeMangiaterra/Taller-de-Programacion-I-tp2 | f63aac6af695c5e45ed7bb719c2ac1e549ecc90c | 6ce5bbf1798f708d542469cb18361771a30231f8 | refs/heads/main | 2023-08-21T13:47:52.382633 | 2021-10-22T04:16:59 | 2021-10-22T04:16:59 | 415,041,708 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,330 | h | partition.h | #ifndef PARTITION_H
#define PARTITION_H
#include <stdio.h>
#include <stdlib.h>
#include <vector>
class Partition {
private:
int rows;
int columns;
int starting_row;
size_t size;
std::vector<u_int16_t> data;
public:
Partition(int rows, int columns, int starting_row,
size_t... |
ac639dd5bd3014abe039ef88601efdb1a52be1f9 | 5c7571e92a07fbd3ddfe97f0f8baeb3cdee1961c | /layer/batch_normalization.h | f90e58dd0628bbe1a37e01e27f41852350a370d6 | [] | no_license | smiler96/CUDANet | 601d7d07a5ad9f6565b295837250e1bd506a0069 | 7c1982f2de267cd4b58ce8e9f83fa7778e8c2aa6 | refs/heads/master | 2022-11-13T16:58:53.860585 | 2020-06-24T03:00:37 | 2020-06-24T03:00:37 | 273,739,828 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,169 | h | batch_normalization.h | /*
class BatchNorm inherits from Layer
for conv spatial batch normalization
20191219
created by wanqian
*/
#ifndef _BATCH_NORMALIZATION_H_
#define _BATCH_NORMALIZATION_H_
#include "layer.h"
#include "../utils/global.h"
using namespace global;
namespace layer
{
class BatchNorm : public Layer
{
public:
BatchNor... |
dee0870b338dff8fd293eea56c803f99aed01cd6 | 2cb67d5a993f550f8792e0750f6f9d6358134dc2 | /main.cpp | 558d8704fe00a866a97c03b6a4e769ab2d40cb9c | [] | no_license | Dongpaca/Snakegame | 7596d5773bb54f8f93e1d65738dfabbf4c801fd2 | 9ca97a6341f505038c3dd664f8441c5a9c2fc97c | refs/heads/main | 2023-06-29T01:22:27.662298 | 2021-08-08T16:02:41 | 2021-08-08T16:02:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,385 | cpp | main.cpp | #include <iostream>
#include <fstream>
#include <string>
#include <cstdlib>
#include <ncurses.h>
#include <stdio.h>
#include <unistd.h>//sleep함수를 위해 추가
#include "snake.h"
#include "board.h"
#define STAGE_NUM 4
using namespace std;
// 작성자: 배정민(20133079) - 기본 ncurses 동작 및 그래픽 요소, stage, mission, score board 구현, gate 출현... |
8e4a8e439b259a4d420c1d0fc92de5e3cd0b9908 | 181ee610721d8f1d7f1d4bcc9449a6c0098dd7c4 | /shoot_oop/main.cpp | 51eb0c7fc07dbad0ece81f86e098fca4b506c564 | [] | no_license | michaelknz/old_shoot | f800beffd970ed98e473f2ade886dca3d1a2f127 | e3d4c4e5d6246eecdb43f7ce34f35f24862333c3 | refs/heads/main | 2023-01-19T00:05:16.170966 | 2020-11-28T07:15:30 | 2020-11-28T07:15:30 | 316,677,400 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,618 | cpp | main.cpp | #include "display.h"
#include "shader.h"
#include "mesh.h"
#include "mesh_polygon.h"
#include "mesh_point.h"
#include "shader_without_gs.h"
#include "shader_with_gs.h"
#include "Parser.h"
#include "matrixes.h"
#include "event_handler.h"
#include "Textures.h"
#include "decals_maker.h"
int main(int argc, char** argv) {
... |
8e289099b488ec1068c0f08c1cd09b04d931a3dc | 9bb7c36e4c6d5000c6a229696b9a210941b06e43 | /libraries/mclab/data_model/implementation/src/headers/Model/Constant.h | d671bee154f84e1e969701e5eded779e04e95e05 | [] | no_license | Nikpick/MBSN | 81fa479e346e9688f3d97d69454000cb93d191e3 | dfc5455efdbb8f321e437dfe22a2e360d7b7509c | refs/heads/master | 2023-02-23T17:46:03.065685 | 2020-12-29T20:05:51 | 2020-12-29T20:05:51 | 273,060,886 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 528 | h | Constant.h | //
// Created by Simone on 2019-08-18.
//
#ifndef SRC_CONSTANT_H
#define SRC_CONSTANT_H
#include <string>
#include "Expression.h"
namespace Modeling {
class Type;
class Constant : public Expression {
private:
std::string name;
public:
Constant(std::shared_ptr<Type> type, std::string name);
std::string g... |
8c61f8d94e0287dd5e0cb9032a33f1bafe01b5fa | d16bb43cfb7175ccc5a9afb70693396dc7edab0f | /Circle/Utilities.h | e348b4a27da5e64b52cfdada5d2c2157903ebc8e | [] | no_license | niqqq25/Balls-and-Magnets | 4254ec8ab9e93508056556290720da28044b5689 | e08b1de4ed82238c09b603d7074711b5cf16330e | refs/heads/master | 2020-05-24T16:20:53.584995 | 2019-05-18T12:33:38 | 2019-05-18T12:33:38 | 187,355,379 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 770 | h | Utilities.h | #pragma once
#include <stdlib.h>
#include <time.h>
#include <math.h>
#define BALL_SIZE 10
#define ATTRACTOR_SIZE 20
#define ATTRACTOR_POWER 1
#define ATTRACTOR_RANGE 200
#define WINDOW_POS_X 100
#define WINDOW_POS_Y 100
#define WINDOW_WIDTH 800
#define WINDOW_HEIGHT 600
struct Vector2D {
float x;
float y;
};
na... |
32a447478e359b769d4fd20493c8c3dcd420e324 | 26a3dbc5c9367e8cc9ea770f34c8864503fef09b | /src/include/Renderer.h | 1ecd8ce260e6960a71317dbea20cfbbc0ace2183 | [
"MIT"
] | permissive | edwardchaos/cgalabc | 6a95669414fb9408bed3640edcd7668e6e036b9d | 0403e1694f8371467981a7e9bde6a3571a6890a0 | refs/heads/main | 2023-02-09T22:41:56.247927 | 2021-01-06T21:44:15 | 2021-01-06T21:44:15 | 320,071,896 | 0 | 0 | MIT | 2021-01-06T21:44:16 | 2020-12-09T20:30:05 | C++ | UTF-8 | C++ | false | false | 3,778 | h | Renderer.h | #pragma once
#include "olcPixelGameEngine.h"
#include "Mesh.h"
#include "Camera.h"
#include "Light.h"
#include "type.h"
namespace cg{
// Inherit from PGEX so drawing functions can be called from here
class Renderer : public olc::PGEX{
public:
explicit Renderer(olc::PixelGameEngine* pge);
/*
* Clear screen
... |
1d829d8a09df169c310584a186b89f1644ee14cf | e1522f45a46820f6ddbfcc699379821e7eb660af | /codeforces.com/Codeforces Ladder 1700-1799 (extra)/0288C.cpp | f0eeacf3025cbb691ef978dc14c8fa78913c775b | [] | no_license | dmkz/competitive-programming | 1b8afa76eefbdfd9d5766d5347e99b1bfc50761b | 8d02a5db78301cf34f5fdffd3fdf399c062961cb | refs/heads/master | 2023-08-21T00:09:21.754596 | 2023-08-13T13:21:48 | 2023-08-13T13:21:48 | 130,999,150 | 21 | 12 | null | 2023-02-16T17:43:53 | 2018-04-25T11:54:48 | C++ | UTF-8 | C++ | false | false | 1,099 | cpp | 0288C.cpp | /*
Problem: 288C. Polo the Penguin and XOR operation
Solution: greedy, math, xor, constructive, O(n)
Author: Dmitry Kozyrev, github: dmkz, e-mail: dmkozyrev@rambler.ru
*/
#include <iostream>
#include <algorithm>
#include <vector>
#include <cassert>
void solve(std::vector<int>& arr, int end, int6... |
403f4e88897051b38d89d3e39742b43354653581 | bc714f7845256de96687ae90160a0a50dceced31 | /src/filter.h | 2c14457d5137b98f207d20e8c2f5b0896d4c3311 | [] | no_license | frousset/Filter | c6c1fb4bf42cdf6b677e2417faadd8b06ef2bda6 | d7347bc0cdaf159afd4eebfd787368e64a9b2acd | refs/heads/master | 2021-01-19T14:12:35.286737 | 2012-07-12T23:07:15 | 2012-07-12T23:07:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,791 | h | filter.h | #ifndef filters_h_
#include <itkImage.h>
#include <itkImageFileReader.h>
#include <itkImageFileWriter.h>
#include <itkGradientMagnitudeImageFilter.h>
#include <itkMeanImageFilter.h>
#include <itkMedianImageFilter.h>
#include <itkBinaryThresholdImageFilter.h>
#include <itkBinaryBallStructuringElement.h>
#include <itkBi... |
fd87468b647d655557f49b569c5ebc2b40bdad03 | bcf138c82fcba9acc7d7ce4d3a92618b06ebe7c7 | /gta5/0xBC4C9EA5391ECC0D.cpp | dd2e6baa64273ffc8a7d85116df2b2aeed3b9e73 | [] | no_license | DeepWolf413/additional-native-data | aded47e042f0feb30057e753910e0884c44121a0 | e015b2500b52065252ffbe3c53865fe3cdd3e06c | refs/heads/main | 2023-07-10T00:19:54.416083 | 2021-08-12T16:00:12 | 2021-08-12T16:00:12 | 395,340,507 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 558 | cpp | 0xBC4C9EA5391ECC0D.cpp | // am_mp_arena_garage.ysc @ L320219
void func_5117(var uParam0)
{
if (!MISC::IS_STRING_NULL_OR_EMPTY(uParam0->f_2) || HUD::IS_HUD_COMPONENT_ACTIVE(19))
{
if (MISC::ARE_STRINGS_EQUAL(uParam0->f_2, "MP_HTRUCK_T_1e"))
{
if (func_5124())
{
HUD::CLEAR_HELP(true);
}
}
else if (MI... |
a885600cbd347ad2259ea45dcbfcdf756c97ef86 | 4ef69f0044f45be4fbce54f7b7c0319e4c5ec53d | /include/cv/core/cmd/out/claqsy.inl | 82e3c4135ad6edf0f0317be0694191942e7d6240 | [] | no_license | 15831944/cstd | c6c3996103953ceda7c06625ee1045127bf79ee8 | 53b7e5ba73cbdc9b5bbc61094a09bf3d5957f373 | refs/heads/master | 2021-09-15T13:44:37.937208 | 2018-06-02T10:14:16 | 2018-06-02T10:14:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 79 | inl | claqsy.inl | #ifndef __claqsy__
#define __claqsy__
#include "claqsy.c"
#endif // __claqsy__
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.