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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
177a8c1caf5be1d7c5d67be4fcda619d48db57ab | fba78ec1c0edffc3a4f3fa2604ff700d47dea954 | /DLL_Sources/CvPlotGroup.h | 0bd78f422ebaba390e90cf0adab80821e9eadf83 | [] | no_license | Nightinggale/Medieval_Tech | 3e0207b34368c49ac81c72abe8b8876064080407 | 20c945b0697134bb9d8ba9da255eb63c3bdc4b29 | refs/heads/master | 2016-09-06T11:34:52.396842 | 2014-04-29T01:12:31 | 2014-04-29T01:12:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,229 | h | CvPlotGroup.h | #pragma once
// plotGroup.h
#ifndef CIV4_PLOT_GROUP_H
#define CIV4_PLOT_GROUP_H
//#include "CvStructs.h"
#include "LinkedList.h"
class CvPlot;
class CvPlotGroup
{
public:
CvPlotGroup();
virtual ~CvPlotGroup();
void init(int iID, PlayerTypes eOwner, CvPlot* pPlot);
void uninit();
void reset(int iID = 0, Play... |
912311a37b690259796c89ed55774db24c1ceaec | 808a6d2a71645dfe6bda0fe61fe37b7f4acab095 | /src/search_2d_array.cpp | c9aa3bb6738789e29e72711d62c35c7c9b6141da | [] | no_license | ilija-s/algorithms | 4836bb48c5eea28b7a45b146ae40233fa485e56d | 2838c155f8939d11b1693939bcac013818e432e2 | refs/heads/main | 2023-06-02T09:29:22.515701 | 2021-06-21T20:01:02 | 2021-06-21T20:01:02 | 304,848,461 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 996 | cpp | search_2d_array.cpp | #include <iostream>
#include <vector>
using namespace std;
/*
* Time complexity O(rows + cols)
* Space complexity O(1)
*/
bool find_element(vector< vector<int>> matrix, int target) {
int rows = matrix.size();
int cols = matrix[0].size();
int start_row = 0;
int start_col = cols - 1;
while (star... |
ba2aec1ca15c61b19b1a95038ce69479d863b56c | c9bdac4dc757ce861c247baddca0011b48a7e7cd | /src/BufferPointRecord.cpp | 02915ec7dfb57e38380f9b6b6905b16c90a271aa | [
"BSD-2-Clause"
] | permissive | Ansarian83/epanet-rtx | d0a380b63b58da4103d928e9508ff0461ce815e9 | c2e78f030f644d3696a9313f24f3dc134db6af6b | refs/heads/master | 2020-07-17T18:33:46.935892 | 2014-07-10T14:54:53 | 2014-07-10T14:54:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,247 | cpp | BufferPointRecord.cpp | //
// BufferPointRecord.cpp
// epanet-rtx
//
// Created by the EPANET-RTX Development Team
// See README.md and license.txt for more information
//
#include "BufferPointRecord.h"
#include "boost/foreach.hpp"
using namespace RTX;
using namespace std;
//bool compareTimePointPair(const BufferPointRecord::TimePoint... |
066de6c35b6e384b8e04786b06b7c4625f3c2962 | 799f7938856a320423625c6a6a3881eacdd0e039 | /lldb/source/Plugins/Trace/intel-pt/TraceIntelPTSessionFileParser.h | 6a896de09d000e8f0027f11ffc80ddc286e84249 | [
"NCSA",
"Apache-2.0",
"LLVM-exception"
] | permissive | shabalind/llvm-project | 3b90d1d8f140efe1b4f32390f68218c02c95d474 | d06e94031bcdfa43512bf7b0cdfd4b4bad3ca4e1 | refs/heads/main | 2022-10-18T04:13:17.818838 | 2021-02-04T13:06:43 | 2021-02-04T14:23:33 | 237,532,515 | 0 | 0 | Apache-2.0 | 2020-01-31T23:17:24 | 2020-01-31T23:17:23 | null | UTF-8 | C++ | false | false | 2,636 | h | TraceIntelPTSessionFileParser.h | //===-- TraceIntelPTSessionFileParser.h -----------------------*- C++ //-*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... |
9d193be98fe284fad36ca97aa2eaf16be5dbdf23 | 2cc43d7b84767459c87878c500327802c08aff60 | /src/GraphUtils.cpp | a371b0a606ddcd22917a27125c192641aa154f93 | [] | no_license | tyler-lovelace1/rCausalMGM | 104cd8e1d5e351904dce495231619bc5afc6c249 | dfb7a3c99c1520c3cac83baeaba82a78431a3400 | refs/heads/master | 2023-02-14T18:58:45.992657 | 2023-02-03T20:45:52 | 2023-02-03T20:45:52 | 235,115,115 | 3 | 6 | null | 2021-04-13T16:35:13 | 2020-01-20T14:04:45 | C++ | UTF-8 | C++ | false | false | 14,869 | cpp | GraphUtils.cpp | // [[Rcpp::depends(BH)]]
#include "GraphUtils.hpp"
std::vector<std::string> GraphUtils::splitString(std::string s, const std::string& delim) {
std::vector<std::string> tokens;
std::size_t find;
while ((find = s.find(delim)) != std::string::npos) {
std::string token = s.substr(0, find);
... |
116a06e138070190c2eefd3f777160f7ffe74f4d | 9d364070c646239b2efad7abbab58f4ad602ef7b | /platform/external/chromium_org/chrome/browser/ui/app_list/app_list_shower_views.h | 355e1df6a0680b9b16b7043a51621884d8c90b38 | [
"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,575 | h | app_list_shower_views.h | // Copyright 2014 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_UI_APP_LIST_APP_LIST_SHOWER_VIEWS_H_
#define CHROME_BROWSER_UI_APP_LIST_APP_LIST_SHOWER_VIEWS_H_
#include "base/memory/scoped_ptr.... |
90f0fd064dac9138f47c0c6fe642158d835e252e | 911e3637b46b08bf82607fe46ff783f2cd9fe3a6 | /2020/Round-E/1-Longest-Arithmetic.cpp | f8c6713f0a70b756d0d1e1217a23f3d4feaec5df | [] | no_license | KHvic/Google-Kickstart-Solution | 10f26938d7b657a5ab250826bcddfbcd5f1f4e33 | a3adfd4b2dcc6261b36775af9e021347c4cbbf83 | refs/heads/master | 2021-07-17T20:45:31.691997 | 2021-03-21T15:48:44 | 2021-03-21T15:48:44 | 243,707,477 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 755 | cpp | 1-Longest-Arithmetic.cpp | #include <bits/stdc++.h>
using namespace std;
#define fastio ios_base::sync_with_stdio(false);cin.tie(NULL);
#define ll long long
int main(){
fastio
int tc,n;
cin >> tc;
for(int t=1;t<=tc;t++) {
cin >> n;
int res = 2;
vector<ll> vals(n);
for(int i=0;i<n;i++) cin >> vals[... |
982d1f08fd630efccba6d024ae2fff39ef027982 | 79ca1707e6b3e22262a9710d74e7de7368525792 | /Darkness of Planet/Darkness of Planet/Darkness of Planet/cMainGame.cpp | 1adf0cbf1a40673bf56a20e5b30fb45b183cc310 | [] | no_license | ggondols/TeamOfEalryAccess | 0645b419b649c075ed03881921bf5cefe754680d | 4219a2a0ae9644069e0d6743961a9987bfb17957 | refs/heads/master | 2021-01-21T12:16:30.626470 | 2017-10-15T08:52:09 | 2017-10-15T08:52:09 | 102,056,526 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 2,686 | cpp | cMainGame.cpp | #include "stdafx.h"
#include "cMainGame.h"
#include "cJustTestScene.h"
#include "TeicJustTestScene.h"
#include "LDYcJustTestScene.h"
#include "LJHcJustTestScene.h"
#include "HankcJustTestScene.h"
#include "cTestMain.h"
#include "LoadingScene.h"
#include "HankcDefferedRenderTest.h"
#include "DarknessofPlanetMainScene.h"... |
ac4b2a9c77544b6084ed82258c0ed839b112a36b | 2aa7856793719892acaea34138f26f11f5f6a1cd | /protocol/TeepAgentLib/TeepAgent.cpp | bf00f839f3b47bdbc0d5e85a652f019be71dfb1d | [
"MIT"
] | permissive | zcf1810/OTrP | 554153eb8bc522a204724e95ac3d7cd3e6be6c4e | 96e6dc21904470c764f3396fbcc366d8525311ef | refs/heads/master | 2023-01-30T07:40:34.540530 | 2023-01-20T04:49:52 | 2023-01-20T04:49:52 | 175,146,489 | 1 | 0 | null | 2019-03-12T06:09:48 | 2019-03-12T06:09:43 | C++ | UTF-8 | C++ | false | false | 39,465 | cpp | TeepAgent.cpp | // Copyright (c) TEEP contributors
// SPDX-License-Identifier: MIT
#include <dirent.h>
#include <sstream>
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
#include <string.h>
#include <string>
#include "TrustedComponent.h"
#include "teep_protocol.h"
#include "TeepAgentLib.h"
#include "op... |
e51a3174159bf471a7a7fffc3949ea2fb724e257 | fdb5bd8c4dec2dd4c300c1f3fe03c786f82355b1 | /DP/Number of paths in a matrix with k coins/program.cpp | 69e653637204d614f3500a2e4d45ef3917be75a0 | [] | no_license | vermakriti/GfG | cef8ab6be744eeba107cf1e4880ca215c897281d | 0e311bfd0f6056c7ace551a7fe346a64d7d3f2e9 | refs/heads/master | 2023-09-03T03:52:13.694106 | 2021-11-08T09:57:22 | 2021-11-08T09:57:22 | 389,953,342 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 601 | cpp | program.cpp | class Solution {
public:
long long dp[55][55][55];
long long fun(int i,int j,int n,int k,vector<vector<int>> &a){
if(i==n-1 && j==n-1){
return (k==a[i][j]);
}
if(i>=n || j>=n || k<0)
return 0;
if(dp[i][j][k]!=-1)
return dp[i][j][k];
... |
e32dbd105a91f1326b4154322e582974f39b3933 | c77555dcb039877e1e62899d6319f4a0b2e23091 | /test1/source/main.cpp | fb851e3aa28d712285e9fc6d21922b46098cc989 | [] | no_license | RoyalTux/BounceTravel | e5b43196b018ac641da1184da9ed9eb79a57dda4 | 953c9f31d9e74f5e014a464f4ab96705f64669c8 | refs/heads/master | 2020-04-26T09:29:11.537692 | 2019-03-02T14:18:25 | 2019-03-02T14:18:25 | 173,456,399 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 257 | cpp | main.cpp | #include "game.h"
int main()
{
ShowWindow(GetConsoleWindow(), SW_HIDE);
RenderWindow window(VideoMode(900, 480), "Bounce Travel");
window.setVerticalSyncEnabled(true);
menu(window);
auto numberLevel = 1;
gameRunning(window, numberLevel);
return 0;
} |
be015103b38d11e003005b3e7ac310cc833221b4 | 15d9395e396ff48ac9788fd4ad085ce807a4c477 | /MyGame.hpp | 59a376f70152eea9e5b446c1c1e93be264628ecd | [
"MIT"
] | permissive | legau1000/MyGameEngine | 2a8aae3a4dd4be73e999ab1c5db1ebe116d7a78f | 11457e4f8428b4ef4548dbe7fbe0cbce24171ad0 | refs/heads/master | 2023-02-23T00:01:57.007233 | 2021-01-29T14:47:52 | 2021-01-29T14:47:52 | 327,371,406 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 532 | hpp | MyGame.hpp | #pragma once
#include <utility>
#include <memory>
#include "GameEngine.hpp"
#include "Entity.hpp"
class MyGame
{
public:
MyGame(GameEngine*);
~MyGame();
void start();
private:
void createPlayer(std::string name);
void createBloc(std::string name, std::vector<int> pos, std::vector<float> scale);... |
438d209908efb98de149d867868d3c4dc7466041 | 51635684d03e47ebad12b8872ff469b83f36aa52 | /external/gcc-12.1.0/libstdc++-v3/testsuite/util/io/prog_bar.cc | 477180be3ec94fc487b3420d7b1a6b2c31d7c516 | [
"Zlib",
"LicenseRef-scancode-public-domain",
"LGPL-2.1-only",
"GPL-3.0-only",
"GCC-exception-3.1",
"GPL-2.0-only",
"LGPL-3.0-only",
"LGPL-2.0-or-later"
] | permissive | zhmu/ananas | 8fb48ddfe3582f85ff39184fc7a3c58725fe731a | 30850c1639f03bccbfb2f2b03361792cc8fae52e | refs/heads/master | 2022-06-25T10:44:46.256604 | 2022-06-12T17:04:40 | 2022-06-12T17:04:40 | 30,108,381 | 59 | 8 | Zlib | 2021-09-26T17:30:30 | 2015-01-31T09:44:33 | C | UTF-8 | C++ | false | false | 2,167 | cc | prog_bar.cc | // -*- C++ -*-
// Copyright (C) 2005-2022 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library 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 version 3... |
cbdc4824639ca70a0ca8223b6ab106cef1e09fd2 | c584cff5e148b9345347109e92c1727d59fec331 | /122PA7/122PA7/Simpletron.h | f9ef132ba6b2ada8426ffec2b98a724c3645b712 | [] | no_license | Stefy-M/SimpleTron- | 5dbd8a3cfd480775389391caa4ce6db7772f56f9 | 44d416048c33c3c605341cf4ee9517d80c656a13 | refs/heads/master | 2021-01-12T12:03:34.653417 | 2016-10-03T22:58:45 | 2016-10-03T22:58:45 | 69,917,795 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,313 | h | Simpletron.h | #pragma once
#include <iostream>
#include <string>
#include <fstream>
using std::cin;
using std::cout;
using std::endl;
using std::string;
using std::ostream;
using std::fstream;
using std::ofstream;
using std::ifstream;
using std::ios;
class Simpletron {
public:
Simpletron();
~Simpletron();
... |
d0366b80cc64875230ec4176a8b262b6546ff076 | b897bb9a48fc8afc951ed4e8efaa3fe24fa22564 | /Parser.h | 1faa885509bb52c042026762ea0734d46500f027 | [
"MIT"
] | permissive | waynelin567/Register_Clustering | abd27b1d8cb3e2808615cb03c6af5e24cdd13b3d | bad8f27056661cb63d55c41b54b79bfe9664dbc0 | refs/heads/master | 2021-02-10T06:49:39.670849 | 2020-05-23T06:45:06 | 2020-05-23T06:45:30 | 244,357,940 | 0 | 1 | MIT | 2020-05-10T02:31:53 | 2020-03-02T11:48:44 | C++ | UTF-8 | C++ | false | false | 397 | h | Parser.h | #ifndef _PARSER_H_
#define _PARSER_H_
#pragma GCC system_header
#include "def.h"
#include "boost/tokenizer.hpp"
namespace clustering
{
class Parser
{
public:
bool readInFile(const std::string& reg_file);
private:
void readArea(std::ifstream& infile);
void readRegisters(std::ifstream& infile);
int count... |
47f772235e1529dd40f41ef6b69abb0100f97d45 | 48b58fe10fcf51d8b093ff90db585172a9774dda | /C++/HappyGoLucky/Tester2/game_data.h | c7b4485173b24e68880a76fe92aa7b746a1e2f8f | [] | no_license | edoabraham/Portfolio | b4a6dceedb2e498f1996ee9e2a431136e1bd262a | bd9a028c26e207c575d06e99134a5eb4ac717d5e | refs/heads/master | 2021-01-01T16:34:11.732479 | 2013-09-01T07:35:02 | 2013-09-01T07:35:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,111 | h | game_data.h | #ifndef _H_GAME_DATA
#define _H_GAME_DATA
#define _SECURE_SCL 1
#include "graphics.h"
#include "scroll.h"
#include "characterOBJ.h"
#include "entity.h"
#include "dependencies.h"
extern const int MIN_CONST_LIST_SIZE;
class Game_Data {
public:
Game_Data();
~Game_Data();
// Root File that Contains ... |
772743f671a91a825f635107a8d4fc8e5f6e97a7 | 06aa3647ea9caf1e5fe6cd37c76651f6fece1a3b | /src/mxHidenPanel.h | 2b256b52b9c0de32b8b5013c8079b443f4cec86f | [] | no_license | SoftwareIDE/ZinjaI | 6731dc9a5a67a9f138f547f02f8c62a67d42f8d5 | a3d752bf5fa971a726fc4ba036d860edf6588b5f | refs/heads/master | 2020-12-24T19:46:21.098172 | 2016-05-04T20:45:52 | 2016-05-04T20:45:52 | 58,789,743 | 3 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,000 | h | mxHidenPanel.h | #ifndef MXHIDENPANEL_H
#define MXHIDENPANEL_H
#include <wx/panel.h>
#include <wx/timer.h>
enum hp_pos {HP_LEFT, HP_BOTTOM, HP_RIGHT};
class mxHidenPanel : public wxPanel {
private:
wxString label;
bool selected;
bool mouse_in;
bool showing;
bool forced_show;
hp_pos pos;
static int used_bottom, used_right,used_... |
6102fd269d2022846245766f7f4535c0ec47a00f | cde6405ebf729e43c3acc99f6cc827565e25964f | /GradiusVI/Helios/Include/Core/InputManager.h | 204d5e46be13642c719365b34f4ec0dfb4d29642 | [] | no_license | boschman32/Helios | bd071c5e54671a8f7f072b8634e9d850c9719ad6 | bdc31ef362038750e5dcde3caffa914c658369ac | refs/heads/main | 2023-03-10T21:28:25.138368 | 2021-02-27T12:27:45 | 2021-02-27T12:27:45 | 342,838,003 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,535 | h | InputManager.h | #pragma once
#include "Renderer/KeyCodes.h"
#include "Renderer/InputEvents.h"
using Key = KeyCode::Key;
namespace Helios
{
class Axis
{
void SetName(const std::string& a_name);
public:
float m_value = 0.0f;
std::string m_name;
};
class Button
{
std::vector<Key> m_keyboardKeys;
std::vector<unsigned in... |
511ac49861b2934dfcdfa3bd24d3f2745eed1f62 | 84ea17552c2fd77bc85af22f755ae04326486bb5 | /Ablaze-Core/src/Utils/Files/ImageFile.h | 023de9042ddc7ef8fb09a9131e55bc90415b660a | [] | no_license | Totomosic/Ablaze | 98159c0897b85b236cf18fc8362501c3873e49f4 | e2313602d80d8622c810d3d0d55074cda037d287 | refs/heads/master | 2020-06-25T20:58:29.377957 | 2017-08-18T07:42:20 | 2017-08-18T07:42:20 | 96,988,561 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 261 | h | ImageFile.h | #pragma once
#include "DataFile.h"
namespace Ablaze
{
class VFS;
class ImageFile : public DataFile
{
protected:
ImageFile(const String& physicalPath);
public:
byte* ReadImage(GLsizei* width, GLsizei* height, uint* bpp);
friend class VFS;
};
} |
efc49de7d07e4a8ae56290486a6c1eb53081988a | b9917f00c799c7c95f0a045359c18bf4f657d377 | /midterm-examination-mreece813/task-01/main.cpp | 91fed508a89367bab9281b5d516b329d5495a29b | [] | no_license | mreece813/CPP_Codes | 13b5d97f75142fcb00ca88cf34fa579c6140392d | c2920c902185758e61c86f0588b98c851bdd19bf | refs/heads/main | 2023-03-02T16:23:19.534670 | 2021-02-08T21:53:47 | 2021-02-08T21:53:47 | 337,216,587 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 615 | cpp | main.cpp | #include <iostream>
using namespace std;
int main()
{
// -------------------------------------------------------------------------
// Uncomment the line that is the correct answer!
//
// Which of the following properly prints all integers from 0 to 9?
// ---------------------------------------------... |
55d2406a6624e1beef40b9560aef5f14c88ad665 | 27e2dff8dcc7cbec15540070f1a99e79d369a991 | /hello/m_2.h | 327bbbe8a7e13476ee3d139f9c8a564c68b928c2 | [] | no_license | cxxclean/cxx-clean-include | 78e6cd97579f7f6839747731e0f789bce459fdcc | dc775133337ca277a3f40c425e6188ef762960d8 | refs/heads/master | 2022-06-04T00:02:49.239424 | 2022-04-27T16:28:57 | 2022-04-27T16:28:57 | 53,064,107 | 81 | 26 | null | null | null | null | UTF-8 | C++ | false | false | 113 | h | m_2.h | #ifndef _m_2_h_
#define _m_2_h_
#include "m_1.h"
using namespace ns_m0::ns_m1::ns_m2;
#endif // _m_2_h_ |
978b4509e1e8b545f6f94c77d0f52380fed22006 | 6063dbe18617be9188053986cf8d42ec98472e3a | /libraries/TILLAnalysis/TFipps/LinkDef.h | 330ce36919025a1ad9e8477509fa9725dd1fb9cd | [] | no_license | UoG-Nuclear-Physics-Group/ILLData | f48ca24a1155a16ddf7a1a3db6b42aaa10eec627 | 6f2f469f9d8da982748b2307b622a3382c5b3c6c | refs/heads/main | 2023-04-29T01:49:42.953884 | 2023-04-26T21:46:34 | 2023-04-26T21:46:34 | 146,425,659 | 0 | 3 | null | 2023-09-13T19:36:54 | 2018-08-28T09:43:54 | C++ | UTF-8 | C++ | false | false | 488 | h | LinkDef.h | //TFipps.h TFippsHit.h TFippsBgo.h TFippsBgoHit.h
#ifdef __CINT__
#pragma link off all globals;
#pragma link off all classes;
#pragma link off all functions;
#pragma link off nestedclasses;
//#pragma link C++ class std::vector<Short_t>+;
#pragma link C++ class TFippsHit+;
#pragma link C++ class std::vector<TFippsHit... |
8e45af672494eaf3b7b31f50b998513551c7dbff | 776f5892f1395bb8d30731a60466e4c756a44c8c | /contests/abc067/arc078_b/main.cc | 6a040079993ab9c52f602f4f3e6332171b0953b6 | [] | no_license | kkishi/atcoder | fae494af4b47a9f39f05e7536e93d5c4dd21555b | f21d22095699dbf064c0d084a5ce5a09a252dc6b | refs/heads/master | 2023-08-31T18:37:13.293499 | 2023-08-27T21:33:43 | 2023-08-27T21:33:43 | 264,760,383 | 0 | 0 | null | 2023-03-10T05:24:07 | 2020-05-17T21:30:14 | C++ | UTF-8 | C++ | false | false | 398 | cc | main.cc | #include <bits/stdc++.h>
#include "atcoder.h"
#include "dijkstra.h"
#include "graph.h"
void Main() {
ints(n);
WeightedGraph<int> g(n);
rep(n - 1) {
ints(a, b);
--a, --b;
g[a].eb(b, 1);
g[b].eb(a, 1);
}
V<optional<int>> df = Dijkstra(g, 0).dist, ds = Dijkstra(g, n - 1).dist;
int f = 0;
re... |
5eeb75cb4447409499fd92fe80ccee4c55a1249c | 90e46b80788f2e77eb68825011c682500cabc59c | /Codeforces/1141B.cpp | 193524d903e782f8c69d643f60cd23e9cbd0c951 | [] | no_license | yashsoni501/Competitive-Programming | 87a112e681ab0a134b345a6ceb7e817803bee483 | 3b228e8f9a64ef5f7a8df4af8c429ab17697133c | refs/heads/master | 2023-05-05T13:40:15.451558 | 2021-05-31T10:04:26 | 2021-05-31T10:04:26 | 298,651,663 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 360 | cpp | 1141B.cpp | #include<iostream>
using namespace std;
typedef long long int ll;
int main()
{
ll n;
cin>>n;
int arr[2*n];
for(int i=0;i<n;i++)
{
cin>>arr[i];
arr[n+i]=arr[i];
}
ll ma=0;
for(int i=0;i<2*n;i++)
{
ll cnt=0;
int j=i;
if(arr[i])
{
while(arr[j]==arr[i]&&i<2*n)
{
cnt++;
i++;
}
ma... |
9d721f61d018a01883343a7ce6d7817b958e4727 | 90ef88fa0e525b195983a445b0ce2781eb826f5d | /src/SettingsPages/AudioAndVideoPage.cpp | 5a5ba6a9ea4636aee1ca1d150e6a71b78ebfab10 | [] | no_license | wku/ViberDesktop | 22e0c2425e9d2e6c997754e5704a46ae2e89169f | d28970245e1d5157f788e4a365b20d1840a9ac54 | refs/heads/master | 2016-02-28T19:19:43.605885 | 2012-06-12T12:01:06 | 2012-06-12T12:01:06 | 6,839,020 | 4 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 7,405 | cpp | AudioAndVideoPage.cpp | #include "AudioAndVideoPage.h"
#include "ui_AudioAndVideoPage.h"
#include <globals>
#include "VolumeDefines.h"
namespace
{
const char msg_videoHwNotFound[] = QT_TRANSLATE_NOOP("AudioAndVideoPage", "Video hardware not found");
const char msg_audioInputHwNotFound[] = QT_TRANSLATE_NOOP("AudioAndVideoPage", "Audio inp... |
fe9e9e30a72a90aef61b298c212f62ca90c62b05 | c57b7d6240642f451148c8faa4460392915b6420 | /Lab 5: Inheritance/Lab 5: Inheritance/Person.cpp | 7c7540949e9ad7b2d12a5fe798c77632f4c89aa0 | [] | no_license | william86370/Capitol-Tech-CS-230 | 61742d3763686bafa5be8b638eb6eede37b1ee91 | fdd6592acb2a1452e40e27ec5203946568f08408 | refs/heads/master | 2021-08-14T07:54:54.407050 | 2017-11-15T01:28:33 | 2017-11-15T01:28:33 | 104,091,353 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,468 | cpp | Person.cpp | //Person.cpp
#include <iostream>
#include "Person.h"
#include "Faculty.h"
Person::Person()
{
fname = "";
lname = "";
id = "";
email = "";
dob = "";
date_hired = "";
termination_date = "";
title = "";
}
Person::Person(std::string pk)
{
fname = "";
lname = "... |
c34ab61b36cbffb5a232b34340955d991b1baf2f | 345b17ff2af20bcd0cda91bfdcbb15a84eaa32d9 | /custgview.cpp | aa0ccd9432da746f2673650f38e281537638a6ec | [] | no_license | sevaserg/QHexView | 77c17f886f3133b9cb38d873afa2e4e020ba6a88 | 497752cbbe033a40b3ac54accadf0b1026410b6c | refs/heads/main | 2023-02-27T14:18:20.665078 | 2021-02-04T11:13:46 | 2021-02-04T11:13:46 | 324,168,749 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,268 | cpp | custgview.cpp | #include "custgview.h"
#include <iostream>
using namespace std;
custGView::custGView()
{
isTextDisplayed_ = false;
for (int i = 0; i < 2; i++)
{
tab[i] = 0;
col[i] = 0;
col2[i] = 0;
}
}
void custGView::switchViews(bool val)
{
isTextDisplayed_ = val;
}
v... |
4b06a71f01083879adf87b462597e2fabef36b62 | 3cd3872acbc8b1a79a70b89b2fd58a171e7adc82 | /test/vp8_fragments_test.cc | 6e5baf229d2408abaae045f575c3685d3d6a0e97 | [] | permissive | webmproject/libvpx | 58ab97861063cb521ec0d00ef9cb222ca97873b1 | 6fd360c684736e351160b131827dfbb207841164 | refs/heads/main | 2023-04-09T15:32:34.688724 | 2023-04-07T22:19:18 | 2023-04-07T22:19:18 | 22,927,608 | 889 | 376 | BSD-3-Clause | 2023-03-24T13:37:34 | 2014-08-13T19:03:21 | C | UTF-8 | C++ | false | false | 1,152 | cc | vp8_fragments_test.cc | /*
* Copyright (c) 2014 The WebM project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributin... |
98417592bb70869b6203e1b9268b1d7bf871e0a8 | 6ef8c88ab5aed03a4e597b50da4704bd73782cd1 | /src/lexer.hpp | bbff2e03ebd48c1ee10124450772392b75d9afda | [
"MIT"
] | permissive | diamond-lang/diamond | 75e958d1f7c3931b997fd9d039db2468951f2112 | 7a05e7fc73b350c868488ee2e7f6d0d859c8cf79 | refs/heads/main | 2023-09-01T17:04:35.150133 | 2023-08-30T22:01:36 | 2023-08-30T22:01:36 | 334,794,638 | 4 | 1 | MIT | 2023-07-22T20:40:16 | 2021-02-01T01:10:53 | C++ | UTF-8 | C++ | false | false | 207 | hpp | lexer.hpp | #include <vector>
#include <filesystem>
#include "shared.hpp"
#include "errors.hpp"
#include "tokens.hpp"
namespace lexer {
Result<std::vector<token::Token>, Errors> lex(std::filesystem::path path);
}; |
6f06852de79b00f8d0743d0f2c80b3e47f94f6db | e6f967c7af649dd43925d10e469f2488ae645b8a | /雕刻时光酒店管理系统-田园/DazongTui.h | 6dd58cab03797d7f29e2856737ce9d5c460050c0 | [] | no_license | YvonneTian2016/HotelSystem | 862233a5ee08466bf17367c0ea43208a6d76cf31 | 3189d6471c7f7137f4a340cb7b3d3404f071abac | refs/heads/master | 2020-07-21T23:10:34.742959 | 2016-11-15T17:59:16 | 2016-11-15T17:59:16 | 73,838,958 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 511 | h | DazongTui.h | #pragma once
// DazongTui 对话框
class CHotel;
class DazongTui : public CDialog
{
DECLARE_DYNAMIC(DazongTui)
public:
DazongTui(CWnd* pParent = NULL); // 标准构造函数
virtual ~DazongTui();
// 对话框数据
enum { IDD = IDD_DAZONGTUI };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV... |
b45c417fe69983c3aa3dfbbe393aefa7e5c57f84 | 10d63c0b22fa42e4c990668e0edccbefc9f18c14 | /srchybrid/ATLServer/source/SProxy/WSDLBindingParser.h | 0c3ef016d6cf14f67bb1d94e2a296c5f5fa55499 | [
"MS-PL"
] | permissive | e1z0/sMule | ce0fdc8e3c876d24fc68be35ff3871f865ff190c | f303e8d1a667eeb975f31e589e69c20a4c246a4d | refs/heads/master | 2021-05-04T11:25:55.756394 | 2018-08-19T08:55:38 | 2018-08-19T08:55:38 | 55,499,230 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,834 | h | WSDLBindingParser.h | //
// WSDLBindingParser.h
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
#pragma once
#include "stdafx.h"
#include "Parser.h"
class CWSDLBinding;
class CWSDLBindingParser : public CParserBase
{
private:
CWSDLBinding *m_pBinding;
public:
inline CWSDLBindingParser(ISAXXMLReader *pReader, CPa... |
027d374a752fc28a5afac0cb6c96b6b475ccecc1 | 927aef49c7ad31827a5eedd64bd3649d3144af2f | /sample.cpp | 65fd7368ce29a1349be514211641fd541c5828a9 | [] | no_license | aryan5602/project2 | fdc4b0dd27d9719684633a5809a2a5351394a7b0 | 4133199de3fba0255ec49f7cb7f3ac7bb9067e78 | refs/heads/main | 2023-07-29T15:18:02.781594 | 2021-09-09T05:15:46 | 2021-09-09T05:15:46 | 404,594,475 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,257 | cpp | sample.cpp | #include <iostream>
#include <string.h>
#include <fstream>
using namespace std;
int main()
{
int a[10];
int s;
int n;
string tp[10], conv[10];
ifstream file("input.txt");
string str;
int i = 0;
while (getline(file, str))
{
string b = str.substr(0, 3);
... |
eb6a28b53c175982d5f4044e1381501d6722298c | 6ea2685ec9aa4be984ea0febb7eefc2f3bc544c9 | /NetGen.h | 687ba0e55eac0ef5976c72bf68172e2cf05f9d43 | [] | no_license | vpatrinica/pernute | f047445a373f79209f0e32c1bf810d90c3d6289f | e2c0bf4161ccb4e768e7b64ecd2a021e51319383 | refs/heads/master | 2021-01-02T22:31:07.174479 | 2010-05-13T21:13:34 | 2010-05-13T21:13:34 | 39,997,926 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,111 | h | NetGen.h | #pragma once
#if defined(_DEBUG) && !defined(AC_FULL_DEBUG)
#error _DEBUG should not be defined except in internal Adesk debug builds
#endif
#include "aced.h"
#include "dbsymtb.h"
#include "dbapserv.h"
#include "acgi.h"
#include "tchar.h"
#include <list>
#include <stdio.h>
#include <iostream>
#include... |
0e89ca7c5c1f1a17565c55864b4d151097048d97 | 7138b963e54e46d37ac89ed6c2cd748200f8eed7 | /PopulatingNextRightPointersInEachNodeII/PopulatingNextRightPointersInEachNode2/PopulatingNextRightPointersInEachNode2/PopulatingNextRightPointersInEachNode2.cpp | 5a4d8f1d93ca85087c3f82efdc20f0a716343bc1 | [] | no_license | zhumj13/LeetCode | 5c94b1db739f10d2cc3fe40233a8dd45dbe9759d | 4fe327f14e271c85d1b5e1c08721bac4f56ee5cc | refs/heads/master | 2020-05-26T07:13:26.888917 | 2014-11-22T04:49:24 | 2014-11-22T04:49:24 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,432 | cpp | PopulatingNextRightPointersInEachNode2.cpp | // PopulatingNextRightPointersInEachNode2.cpp : 定义控制台应用程序的入口点。
//
#include "stdafx.h"
#include <iostream>
#include <queue>
//解题思路:如果右孩子不为空 则next 为右孩子。
// 否则,找父亲的next(uncle) 有左孩子则找左孩子,没有左孩子则找右孩子,都没有则找下一个uncle .
// 因为少考虑了一种情况(和父亲相连的uncle可能是没有孩子的,应该加个while)导致一直没过
using namespace std;
struct TreeLinkNode
{... |
625a782f67e9586c75846e8ac7964fa9fb5ec9b1 | 63c71060f36866bca4ac27304cef6d5755fdc35c | /src/WebServerTorturer/WebCltReq.h | a98c5bf46988ec269dece7093b3e9daf2a6042e7 | [] | 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 | 819 | h | WebCltReq.h | ////////////////////////////////////////////////////////////////////////////
//
// 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 ... |
d2d682b2a9fd7ff12c2153706bc9c8a34bb6b91f | d4c71bc2797d54131b30a0f24af2d13b2f068927 | /POSD_ERDiagram/ER_GUIAddEntityState.h | 3b6066ed18e3e4d7054cd1cfdc2b82427f3adf2e | [] | no_license | candybaby/posd-project | ecf04459a6a3b62b9e8d5365d76ab6a02cd74a81 | afa3d39f9f8d9457ed462fd9a224687a150424d6 | refs/heads/master | 2020-05-29T16:35:25.637248 | 2013-12-29T13:30:43 | 2013-12-29T13:30:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 290 | h | ER_GUIAddEntityState.h | #pragma once
#ifndef _ER_GUIADDENTITYSTATE_
#define _ER_GUIADDENTITYSTATE_
#include "ER_GUIAddNodeState.h"
class ER_GUIAddEntityState : public ER_GUIAddNodeState
{
public:
ER_GUIAddEntityState(ER_DiagramScene*, QGraphicsItem*);
void mousePressEvent(QGraphicsSceneMouseEvent*);
};
#endif
|
7de5116cddd22600b1c888b5fbb86e0f1a26cdac | fd8a4a41873c63e656f9961d976edee282c9a97a | /auduino/auduino.ino | 48b52fdc9ba3c1b0290610e37052e7013f81e441 | [] | no_license | Maushimo/AirFlute_-PhysicalComputingFinal- | f51d635af01a5bf552d57146dd2dfe8780ec97d5 | b8e1d80bfa471954928899838f46017dfee47c8e | refs/heads/master | 2021-01-19T21:15:28.146681 | 2017-04-18T14:16:42 | 2017-04-18T14:16:42 | 88,632,336 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,847 | ino | auduino.ino | /* ====Set analog pins==== */
const int tempSensorPin = A0;
const int ldrPin1 = A1;
const int ldrPin2 = A2;
const int ldrPin3 = A3;
/* ====Calibration Variables==== */
/* Temp Sensor Values */
int tempSensorVal;
// variable to calibrate low value
int tempSensorLow = 1023;
// variable to calibrate high value
int tempS... |
b6c0828ceaa40fdf96dd1075aaa4c336a98b633e | 8bb4f45aaa8b5ab078edc42a881e2c2325b98227 | /368.cpp | 6df4906e968d1baaf9a12bc4c249f46f1e6d3e7e | [] | no_license | chinawch007/LeetCode | 7b6c219441da4d003111240622a92835720c1ac8 | 8fd6827a1252cffc71c53a0809728e3bd8fba139 | refs/heads/master | 2021-07-06T12:34:13.417269 | 2020-11-23T11:26:44 | 2020-11-23T11:26:44 | 208,131,573 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,113 | cpp | 368.cpp | //又快速筛出整除数的数吗
class Solution {
public:
vector<int> largestDivisibleSubset(vector<int>& nums) {
int sz = nums.size();
int* dp = new int[sz];
int* link = new int[sz];
int maxv = 0, maxi = 0;
sort(nums.begin(), nums.end());
for(int i = 0; i < s... |
bfaa21ee55237b3c6028b483c30300d5c1ec4c24 | cf4b30d6a41318674a997408413ca009d47ed1f7 | /Code/Dx11_2D/SquadEdditScene.cpp | 8d22e12815d90b5dfae6f35f8feb1dd8d3909054 | [] | no_license | FXfireKR/GFL_Project_DX11 | d6799f74e2c2820881090fefe42463bb43939531 | 2dd932f398f2f83472d8c57478c41674c71985ca | refs/heads/master | 2022-11-10T20:30:25.514786 | 2020-06-30T16:28:33 | 2020-06-30T16:28:33 | 217,483,471 | 1 | 0 | null | null | null | null | UHC | C++ | false | false | 17,179 | cpp | SquadEdditScene.cpp | #include "stdafx.h"
#include "SquadEdditScene.h"
SquadEdditScene::SquadEdditScene()
{
}
SquadEdditScene::~SquadEdditScene()
{
}
void SquadEdditScene::init()
{
LOAD->Add_LoadTray("Squad_1_Already", "Texture2D/Squad1Already.ab", LOADRESOURCE_TYPE::RESOURCE_IMAGE); // 1 제대 배치중
LOAD->Add_LoadTray("Squad_2_Already", "... |
818e7ff5d2411b81de538cfe1bcedcff765efc14 | a3bb5629105cb51fcbc995434fd4cc07127ea406 | /Aladdin/Aladdin/TileMap.cpp | 8c1002ea6dff4fc642492f3709554454ac194f67 | [] | no_license | bachsoda326/directxGame | 0aab196061ae9787e3033edaee0e06934564e226 | 769c237d1df5b6a515d1896d0813cdffa96a4e16 | refs/heads/master | 2022-03-21T04:47:19.256477 | 2019-12-27T17:43:27 | 2019-12-27T17:43:27 | 212,519,316 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,185 | cpp | TileMap.cpp | #include "TileMap.h"
TileMap::TileMap()
{
}
TileMap::~TileMap()
{
}
void TileMap::LoadTileMap(int id, LPCSTR texMapPath, string txtMapPath)
{
this->id = id;
// tạo texture map
Textures::GetInstance()->Add(id, texMapPath, D3DCOLOR_XRGB(255, 255, 255));
fstream fs;
fs.open(txtMapPath);
fs >> numXTiles;
fs ... |
a288b0d3f0b1c2b3c5e6c3153cee42a643888862 | d3755489a99929208831865a853f1df264f79ac4 | /pomelo-lua.h | 09a71d54708eab55d73ef5bb8367d736ef59120c | [
"MIT"
] | permissive | aimelo-io/lua | 04c328fe25dc561fb5592a51f4a486ff85343f43 | 33c98e2cbdd58eb01acf397a959d9810619eca4f | refs/heads/main | 2023-02-18T09:46:16.624329 | 2021-01-16T03:34:55 | 2021-01-16T03:34:55 | 329,841,374 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 562 | h | pomelo-lua.h | #include <napi.h>
#include <lua.hpp>
class PomeloLua: public Napi::ObjectWrap<PomeloLua> {
public:
static Napi::Object init(Napi::Env env, Napi::Object exports);
PomeloLua(const Napi::CallbackInfo &info);
~PomeloLua();
private:
static Napi::FunctionReference m_constructor;
lua_State* m_luaState;
... |
0bdac5e690b654373ec3d2bfdde0fa0ec12e4eca | 8771e88358923f0a2d1b92911644dfaf01017c69 | /c/largest_sum/largestsum.cpp | 7f438c22d15f42387f8b5bf9318c873fb70c52ba | [] | no_license | ggauravr/projects | 7272cfa47f76276018353ee35ef41254b8565fe7 | 749b2cef981dc3749c3f0ca84e3138c45cfd3c5d | refs/heads/master | 2020-06-04T15:19:28.563399 | 2015-04-07T02:30:53 | 2015-04-07T02:30:53 | 13,154,710 | 4 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 236 | cpp | largestsum.cpp | #include <iostream>
using namespace std;
int main(){
int input;
// take an array of numbers as input
cout << "Please enter an array of numbers, including some negatives .. " << endl;
while(cin >> input){
}
return 0;
} |
f290323fafc55815f787d3c4c44b740f357b807d | 45f0baa7793cffa1af5d30573c1c824f698bbe5d | /lib/runtime/main.cpp | 0b4efbd2d21379ec715de7f43115d06b5a638413 | [
"MIT"
] | permissive | rohitmaurya-png/Infinity-Programing-Langauge | 766baa7b4f9085fec845633615f4335236711e14 | 396dae993e174d190a2b58031eb0ec51fd10cc97 | refs/heads/main | 2023-03-19T05:30:21.883682 | 2021-03-18T19:45:25 | 2021-03-18T19:45:25 | 349,195,589 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,853 | cpp | main.cpp | //
//Created by Rohit Maurya 2/10/2020.
//
#include <cstring>
#include <cstdio>
#include "../../stdimports.h"
#include "../util/File.h"
#include "symbols/string.h"
#include "List.h"
#include "main.h"
#include "symbols/Object.h"
#include "VirtualMachine.h"
#include "Thread.h"
#include "Exe.h"
#include "register.h"
#incl... |
c70e58d81614b942e700d355cb86d2c8de15ba10 | f76bf9fe835800bf84a7fbde30b4fc3bfa40565f | /samples/pitchshifter_sample.cpp | 20d8e6b4396c215fb941b08d958b22db320bcd8a | [
"MIT"
] | permissive | shunsukeaihara/ssp | e4c12a7521568c30370a3ea9875cd16157482369 | ba562000c9c51109a68eb905ef01e5666ef9f484 | refs/heads/master | 2020-05-05T04:55:11.365019 | 2019-04-24T05:52:49 | 2019-04-24T05:52:49 | 179,730,102 | 8 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,945 | cpp | pitchshifter_sample.cpp | #include <unistd.h>
#include <biquad_filter.hpp>
#include <butterworth_filter.hpp>
#include <common.hpp>
#include <compressor.hpp>
#include <iostream>
#include <limitter.hpp>
#include <noisegate.hpp>
#include <pitchshifter.hpp>
using namespace ssp;
#define INSIZE 2048
#define OUTSIZE 2048
#define FS 48000.0
int main(... |
7c31ad719f9a0b03d9dea4f57d80584532646d76 | 792b76c112fce67165d6e80f18c1bd1945698da8 | /include/harps/compornent/normalize.hpp | 236df44364957d7d0aa30a6483c5e338ce047a4e | [
"BSD-2-Clause"
] | permissive | Fadis/harps | 8345a225fbec44c541bc5e7fd77f20ed0d025c08 | 4ba67125be310415f06fc528e6b48a6d858eb044 | refs/heads/master | 2021-01-10T19:51:44.817253 | 2011-08-25T18:09:09 | 2011-08-25T18:09:09 | 2,269,600 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,417 | hpp | normalize.hpp | /***************************************************************************
* Copyright (C) 2009 by Naomasa Matsubayashi *
* harps@quaternion.sakura.ne.jp *
* *
* All rights reserved. ... |
7efc81c84678de03312870a6904d63be9c588dfd | 7eb5c8149187c43fcd941db9fc53f7dc6f7d7a87 | /opdracht/headers/melody copy.hpp | 52914d8e41fdbd8ba8b93b7094b43aed0433445d | [
"MIT"
] | permissive | sanderBoot0/2A_TD | 941302e20c5afc8e0a5e281366d1fa4362d5dc9f | bde3e25ea86ec9d2601fadf501e991009b3d58b4 | refs/heads/master | 2020-08-02T08:37:18.274315 | 2019-11-06T14:07:27 | 2019-11-06T14:07:27 | 211,290,798 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 332 | hpp | melody copy.hpp | // /**
// * @file melody_copy.hpp
// * @brief This file has been taken from the v2cpse1 repository so that the beeper will work
// */
// #ifndef _MELODY_HPP
// #define _MELODY_HPP
// #include "note_player.hpp"
// // an abstract melody
// class melody {
// public:
// virtual void play( note_player & p );
// };... |
d5d49d8bdf12b989c9c0ea5f1b478f998c41a348 | dd14e6ad61309c493bed15e5cdc5855609139b94 | /d02/ex02/Fixed.class.hpp | 9fce1a4ebf209cb304b29b236492aaeb51bcac8f | [] | no_license | GlThibault/Piscine-CPP | be9da6458cff411ff21772ad90050c9b344bddd1 | 7295f94912a65e987998b1bdea44ee4656aeb01e | refs/heads/master | 2021-04-12T10:58:05.504981 | 2018-04-04T09:47:11 | 2018-04-04T09:47:11 | 126,483,098 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,487 | hpp | Fixed.class.hpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Fixed.class.hpp :+: :+: :+: ... |
51b32e91bf5cd69e31c791a2fec7efb1a8bf5cfd | 219b5cfb7ae924d52a92e15e642974b082e5a7f4 | /src/Map.h | a9ecfdee60358e079b2e835b6fedb78043a9e2bb | [] | no_license | iAndu/2D-RPG | b841904e63e4cf8c59aa259117264651d80ff537 | 085358ac1e1ec7c16901353f5e3bba62a677d7e0 | refs/heads/master | 2021-01-19T09:06:00.864279 | 2017-05-12T00:55:56 | 2017-05-12T00:55:56 | 87,723,202 | 0 | 2 | null | 2017-05-11T16:46:09 | 2017-04-09T16:39:46 | Makefile | UTF-8 | C++ | false | false | 897 | h | Map.h | #pragma once
#include "oxygine-framework.h"
DECLARE_SMART(Map, spMap);
class Map : public oxygine::Sprite
{
public:
Map(const std::string& tmx, const std::string& texture);
int GetWidth() const { return width; };
void SetWidth(const int _width) { width = _width; };
int GetHeight() const { return height; };
void... |
b2950aecabee2fe1e5f66b70a8be015c75697618 | e6872c0af906bbc87da114b6e0846002504f6ff3 | /Encryption/ui_mainwindow.h | a41a8bc8ebf0b93cac50f5705c77a37996c9d3dd | [] | no_license | davchrand/CyberSecurity | c690f76ffd011ef28af1cd8bf24167f86a65d0b4 | 893a67af1cafb57a6f897c5bb03071aaef0dd44e | refs/heads/master | 2021-01-10T22:44:34.624597 | 2016-12-01T03:39:40 | 2016-12-01T03:39:40 | 70,361,766 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,624 | h | ui_mainwindow.h | /********************************************************************************
** Form generated from reading UI file 'mainwindow.ui'
**
** Created by: Qt User Interface Compiler version 5.7.0
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
****************************************... |
19efa123d9bd81f86d3a8678c6ade4420435b3d0 | a70b968124d6686b11786ef255aaf58d5e46fbb9 | /A. Mashmokh and Numbers.cpp | 7abb91d4444abb8279b1582be1fdd9f7260d311d | [] | no_license | ashraf-pavel/Since-nov-20 | dc4f5cd23cf0bd76e4035e284adf8cff7ebc7695 | a95c4d5e405aaeb91f4a59fb6deb6ed5dc3e0b9c | refs/heads/main | 2023-01-18T19:10:25.053398 | 2020-11-23T17:38:30 | 2020-11-23T17:38:30 | 315,389,016 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,478 | cpp | A. Mashmokh and Numbers.cpp | #include<bits/stdc++.h>
#define pi acos(-1.0)
#define bsort(v) sort(v.begin(),v.end())
#define pb push_back
#define mp make_pair
#define FAST ios_base::sync_with_stdio(false);cin.tie(NULL);
#define MOD 1000000007
#define N 10000001
#define F first
#define S second
#define MAX 500050
#define ALL(v) v.begin(),... |
3be089b8902fe294bc9cc61709efe3d645a6a779 | a7d65cf5e43f94eb99a43c13607edd6c52ab06d2 | /Problems/zeroOneKnapsack.cpp | 46d5db522115afdf6d44257d62bea75e9fb6bf4c | [] | no_license | Kamil-Jan/CppAlgorithms | 530dd251a14dc71107b8facd8e39ea48b3321fe8 | f464ab031b763312a5833717bec1887b2c2ce24f | refs/heads/master | 2022-12-11T18:32:23.193118 | 2020-09-07T15:49:45 | 2020-09-07T15:49:45 | 293,079,191 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,393 | cpp | zeroOneKnapsack.cpp | #include <iostream>
#include <cmath>
using namespace std;
int max(int a, int b)
{
if (a > b) { return a; }
return b;
}
void printMatrix(int** V, size_t rows, size_t cols)
{
for (size_t i=0; i < rows; i++) {
for (size_t j=0; j < cols; j++) {
if (V[i][j] < 10) {
... |
b8b751457ca91592ebbd47c3949d3e12d221bc6d | fbd9436fcbdc22a413c5f85d375e7028aef6fd6e | /lanqiaobei/2WinterVocationHomework/16蓝桥OJ算法训练-结点选择.cpp | dac8cabff835cbecde896dec66e2828612377ed0 | [] | no_license | IoveSunny/ojproblems | 55c4daf224f1a201d7e0faf310c4129f64efa29a | 4b3599116a3aa94b321eb66560cd03593773a303 | refs/heads/master | 2021-01-01T20:41:35.554761 | 2014-02-26T09:13:47 | 2014-02-26T09:13:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,856 | cpp | 16蓝桥OJ算法训练-结点选择.cpp | /*
算法训练 结点选择
时间限制:1.0s 内存限制:256.0MB
问题描述
有一棵 n 个节点的树,树上每个节点都有一个正整数权值。如果一个点被选择了,那么在树上和它相邻的点都不能被选择。求选出的点的权值和最大是多少?
输入格式
第一行包含一个整数 n 。
接下来的一行包含 n 个正整数,第 i 个正整数代表点 i 的权值。
接下来一共 n-1 行,每行描述树上的一条边。
输出格式
输出一个整数,代表选出的点的权值和的最大值。
样例输入
5
1 2 3 4 5
1 2
1 3
2 4
... |
15ca6b96d81c6739bf589519f43ffebf73af2136 | bc17b47315bf09081b0aefcf46d5113c31f24a33 | /374.cpp | e7dbf57c0191cae93f12dcf19b9f32a18c69b1d1 | [] | no_license | IshanX111/UVA_Problem_Solution | ece9b4d45c56c613bd8b786424060d183946b7bf | 9f4e15e1210400d62192915e476c8741ecbce1da | refs/heads/master | 2023-05-12T08:27:34.384826 | 2023-05-01T18:28:25 | 2023-05-01T18:28:25 | 231,390,534 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 920 | cpp | 374.cpp | #include<bits/stdc++.h>
#define PI acos(-1.0)
#define rep1(i,n) for(i=1;i<n;i++)
#define rep0(i,n) for(i=0;i<n;i++)
#define rep(i,a,n) for(i=a;i<n;i++)
#define repe1(i,n) for(i=1;i<=n;i++)
#define repe0(i,n) for(i=0;i<=n;i++)
#define repe(i,a,n) for(i=a;i<=n;i++)
#define fr freopen("input.txt","r",stdin)
#defi... |
abaede97b69c565ff2e675f65d9162b7ec793c43 | c3077fa4fa7921196d0b603c9733caeae19ae9c8 | /datatag.h | 154e9cdc0e62bb4809f61f8bb7d97f0517ff0421 | [] | no_license | helioz2000/mbbridge | 73256c82b759fd4cf8b816964dc4f7628f63d68e | c27a3cf9dec95f5403c96df035c178f1ff386f6d | refs/heads/master | 2023-08-05T04:58:08.056356 | 2023-07-23T05:50:53 | 2023-07-23T05:50:53 | 228,374,578 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,939 | h | datatag.h | /**
* @file datatag.h
-----------------------------------------------------------------------------
Two classes provide encapsulation for typical use of a data tag in an
automation oriented user interface.
This implementation is targeted data which is based on the MQTT protocol
and stores the data access informat... |
336a70333c29e4df698f607454f1c075b45e7561 | 27ebc7adb261225341eaf995ae181e5530f311f9 | /Code/BZOJ/1106.cpp | ec8b112fb4f343712c53e0827f9c9cb4a05d5029 | [] | no_license | Hermera/OI | 9ecf1d5545701afeb3273d9be720cf3e16643c14 | d8a79de409065c790ca0ad3019ca1d2ea7550b34 | refs/heads/master | 2021-06-21T05:44:34.805477 | 2021-06-09T17:17:11 | 2021-06-09T17:17:11 | 93,643,345 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 750 | cpp | 1106.cpp | #include <cstdio>
#include <algorithm>
using namespace std;
inline int read()
{
char ch = getchar(); int sum = 0;
while(ch < '0' || ch > '9') ch = getchar();
while(ch >= '0' && ch <= '9') sum = sum*10+ch-'0', ch = getchar();
return sum;
}
const int maxn = 1e5+5;
int N, sum, a[maxn], tree[maxn], check[maxn];
void a... |
0b1bf222696f75e637431e75c8b06bb94f92b5c4 | e867728ca76653f87da789dd5f0a287ea37aafc0 | /wndproc.h | 7795264665d17f798c6b6b64d19e51e8bdb65da5 | [
"MIT"
] | permissive | bl222/win32-wrapper | 7a900aac9a7af0dd95f6f25fe9c2ad31bcd45728 | 90a055d9623375259d15f937bf12a1d2897c2e86 | refs/heads/master | 2021-01-19T14:04:27.677362 | 2017-08-20T19:18:44 | 2017-08-20T19:18:44 | 100,883,113 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,244 | h | wndproc.h | //---------------------------------------------------------------------------
// This file contains the predefined window procedure as well as
// some classes encapsulating parameters for some messages.
//---------------------------------------------------------------------------
#if !defined (WNDPROC_H)
#def... |
7af63471a4022611996a4515de5c7f89d0a837e5 | 6ab9a3229719f457e4883f8b9c5f1d4c7b349362 | /uva/Volume I/00191.cpp | fbb44a8c9ce4677c01058e7d99e0468c32c24de2 | [] | no_license | ajmarin/coding | 77c91ee760b3af34db7c45c64f90b23f6f5def16 | 8af901372ade9d3d913f69b1532df36fc9461603 | refs/heads/master | 2022-01-26T09:54:38.068385 | 2022-01-09T11:26:30 | 2022-01-09T11:26:30 | 2,166,262 | 33 | 15 | null | null | null | null | UTF-8 | C++ | false | false | 1,300 | cpp | 00191.cpp | #include <cstdio>
#define MIN(a,b) ((a)<(b)?(a):(b))
#define MAX(a,b) ((a)>(b)?(a):(b))
struct point {
int x, y;
point(int _x=0, int _y=0):x(_x),y(_y){}
point operator-(const point k){
return point(x - k.x, y - k.y);
}
int operator*(const point k){
return x * k.y - y * k.x;
}
} p[6];
int dx, dy, maxx, maxy... |
fcd2f1b5f59c629b819cf48c839500468fb6f5d4 | f2c3fcc3543b7f1120cd0599aa03844fabb936bf | /plugins/conditions/battery/batterycondition.cpp | 7209507e7c7a62626830b1cb6e1e6e704fdf9b69 | [
"Unlicense"
] | permissive | pastillilabs/situations-symbian | 2ed6397ef2d50e3e17de356bd7abb2776b7d4338 | 909da8a2067ad33ab8d290a6420a9e8f0abd96e6 | refs/heads/master | 2021-01-19T00:55:22.370919 | 2018-04-22T16:34:06 | 2018-04-22T16:34:06 | 60,176,343 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,707 | cpp | batterycondition.cpp | #include "batterycondition.h"
#include <identifiers.h>
static const char* KEY_LESS_THAN("lessThan");
BatteryCondition::BatteryCondition(QObject *parent)
: Condition(parent)
, mLessThan(true)
, mValue(50)
, mSystemDeviceInfo(0)
{
}
BatteryCondition::~BatteryCondition()
{
doStop();
}
bool BatteryC... |
7e3d22ef1de179a9450c270817ac74643b395f2a | c73d67bf5aa1adcb50dfc3c67540dc0ad34d62cd | /height of generic tree.cpp | 67c926baca112ab9eb4630b91eb7ed4c3eef3757 | [] | no_license | GiteshWadhwa/Data-Structures-with-CPP | 88a834a2e23137d6a67e709209c549784f2ad1ea | 16cb70669d55d531e7b5989337b4a8ddd9ec1bcc | refs/heads/master | 2020-04-01T22:59:53.730658 | 2019-04-04T12:47:00 | 2019-04-04T12:47:00 | 153,736,427 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,267 | cpp | height of generic tree.cpp | #include<queue>
#include<iostream>
using namespace std;
#include "Tree 04 maximum data node.h"
Tree<int>* input(){
int rootData;
cout<<"enter root node:";
cin>>rootData;
Tree<int>* root=new Tree<int>(rootData);
queue<Tree<int>*>pendingNode;
pendingNode.push(root);
while(pendingNode.size()!=0)
{
Tree<int>* fro... |
976a079e9dd06fcd52c207ccf8488aed8bb7b26a | 6e13da744ae9c809ff35e2a123d0c8650d3b3989 | /tests/log/test_log.cc | 912fd708eddf11efe6093422b8e281e752d9dff1 | [
"BSD-2-Clause",
"Apache-2.0"
] | permissive | ecmwf/eckit | 1e6026fa1791e7c4aaa51109afed010c4a5b1ed3 | de68dd7b5e8d4d06005b6856a648cceb5cf43827 | refs/heads/develop | 2023-08-16T16:48:14.426020 | 2023-08-03T06:48:36 | 2023-08-03T06:48:36 | 122,974,453 | 20 | 29 | Apache-2.0 | 2023-09-01T10:01:43 | 2018-02-26T13:33:38 | C++ | UTF-8 | C++ | false | false | 3,077 | cc | test_log.cc | /*
* (C) Copyright 1996- ECMWF.
*
* This software is licensed under the terms of the Apache Licence Version 2.0
* which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
* In applying this licence, ECMWF does not waive the privileges and immunities
* granted to it by virtue of its status as an interg... |
a9504893a76f3c06edb1b7ceda5b48f935a57be6 | fdf164b8336cb36c4b351bf6630cdc90c59111a5 | /include/sweater/RangeTree/BinaryRT.hpp | 8293cccb9f480b780ab0dd45744888ca21faeab3 | [] | no_license | sportdeath/Chainmail | 57da02d492ad08bccac475334f93ffcb57224008 | eeb1f784acdd07f1929d8442916bad87f6f0ca03 | refs/heads/master | 2021-01-12T08:14:36.949935 | 2018-10-29T02:08:13 | 2018-10-29T02:08:13 | 76,519,180 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 952 | hpp | BinaryRT.hpp | #ifndef BINARYRT_HPP
#define BINARYRT_HPP
#include "sweater/RangeTree/RT.hpp"
template <typename T, typename Node, typename Derived>
class BinaryRT : public RT<T, Derived> {
public:
typedef typename std::vector<T>::iterator iterator;
BinaryRT(){
leftChild = nullptr;
rightChild = nullptr;
... |
fcc506e8b9354cba0c18b75a2394837bbcb3a9e4 | 2cd5288a26b969775c59be81d71c2ae2ad995070 | /Compilation/TransactSQL/ChainSyntax.cpp | cddd67c8d26e6a5621c7c100e04837e73b516e26 | [] | no_license | ArcaneSoftware/Dominion.Lexyacc | 3f30cccf6f409e818d9cd1314c07d0999c8310c2 | 1f6035a03dfb28b3811997a3d33093af6c9f0700 | refs/heads/master | 2022-06-16T10:26:54.003065 | 2017-03-10T01:53:31 | 2017-03-10T01:53:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,367 | cpp | ChainSyntax.cpp | //*******************************************************************************************************************//
//ORGANIZATION:
//AUTHOR:
//SUMMARY:
//*******************************************************************************************************************//
#include "ChainAST.h"
using namespace Domi... |
1e7a4875d950910e618c93d10503c6f8c992bde1 | 6e001354cb76c94b4ce064487b5b3ba938d3a935 | /managers/visualiser/src/control/CRecognition.h | c0c019b3184d3a6a218465163aab05aade5d0f74 | [] | no_license | SilentButeo2/equids | 4f42f26bca432e9f799487c629a8b7d5cc127e30 | 5a001a7cc50091052aa21d81ddc79af3e142689a | refs/heads/master | 2021-05-26T23:13:23.419500 | 2013-10-01T09:46:30 | 2013-10-01T09:46:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,299 | h | CRecognition.h | /*
* File name: CRecognition.h
* Date: 2010
* Author: Tom Krajnik
*/
#ifndef __CRECOGNITION_H__
#define __CRECOGNITION_H__
#include "CRawImage.h"
#include "CTimer.h"
#include <math.h>
#define MAX_SEGMENTS 10000
#define COLOR_PRECISION 32
#define COLOR_STEP 8
typedef struct{
int x;
int y;
int size;
}SS... |
3c7982fa2636bad67a8e03119800f7c73bb0af85 | 5faa3860f404e8b86d0840cdfa118e2bd82af10b | /Advanced Level- Practice/1020. Tree Traversals (25).cpp | 3c360b4122afd4befd98d1b358ded7be3f66be74 | [] | no_license | Mrhuangyi/PAT-Solutions | d54a65bfe7ea9b1c9435e5a94c995111f3a63e5c | cf8faef8ca167a015708ec7ed6db1bfdad46b75b | refs/heads/master | 2021-04-15T10:18:46.323283 | 2018-09-04T10:17:55 | 2018-09-04T10:17:55 | 126,486,769 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,182 | cpp | 1020. Tree Traversals (25).cpp | #include<cstdio>
#include<cstring>
#include<queue>
#include<algorithm>
using namespace std;
const int maxn=50;
struct node{
int data;
node* lchild;
node* rchild;
};
int pre[maxn],in[maxn],post[maxn];
int n;
node* create(int postl,int postr,int inl,int inr){
if(postl>postr){
return NULL;
}
... |
b1d43c0f4e1a7280ed7238ff5d570e496e030048 | b35dbd265b93ea142f27e3a787436d4925430bfc | /ReadConsole/ProcessHandler.cpp | cd3df8726c07a8f9218e18cbd17162aedc1c995d | [] | no_license | flice/ReadConsole | f4dc22dab3c5e058bdbede90e8a15ca082d6d4b0 | 28761fd811bd2c76bbf9cc974fbfc4bda39d806b | refs/heads/master | 2021-05-29T22:57:23.150195 | 2015-11-20T12:59:15 | 2015-11-20T12:59:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 899 | cpp | ProcessHandler.cpp | #include "ProcessHandler.h"
CProcessHandler::CProcessHandler(QObject *parent)
: QObject(parent)
{
//QString program = "C:/Users/Fabian/Documents/Tests/ConsolePrinter/Win32/Debug/ConsolePrinter.exe";
myProcess = new QProcess(this);
//myProcess->setProcessChannelMode(QProcess::ForwardedChannels);
//connect(myPro... |
c9120e729be83ee9f08e53bd18cea5c839c74415 | c327c5704336723ab194a4c6d003d2bbf90241b8 | /2 Курс/Lab-1/Lab-1б/Lab-1б.cpp | 7d1832c729f49c93fe8d878135463c96fec5d3bb | [] | no_license | feest-y/Projects | edaa3cf522174bdbd0c26d0cf1881e07848ea9db | ff1f4aed5e3312dfda4db59fa5b8f4115a1f1cca | refs/heads/master | 2023-07-09T23:26:18.016514 | 2021-08-18T20:51:41 | 2021-08-18T20:51:41 | 304,871,056 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 709 | cpp | Lab-1б.cpp | #define _USE_MATH_DEFINES
#include <iostream>
#include <cmath>
class Figure
{
unsigned int A, B, C, R;
public:
Figure(unsigned int R) {
this->R = R;
A = B = C = 0;
};
Figure() {
A = B = C = R = 0;
};
Figure(unsigned int A, unsigned int B, unsigned int C, unsigned int R = 0) {
this->A = A;
this->B = ... |
265850110c401c3df33728c5a5291a8cdca52aea | da501178032375b6bde5559f83674a506908be86 | /source/GameLoop.cpp | 896c6c40ccf77005c7c1af7e762aba38fc2d4d46 | [] | no_license | banysk/term3_Roguelike | 98e7443420d246dc268261519815a946b5daac6b | e3000094f509c45a6e390ef0ef87d3f6d3e9dbde | refs/heads/main | 2023-02-22T23:56:11.789341 | 2021-01-24T13:01:46 | 2021-01-24T13:01:46 | 332,427,402 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,680 | cpp | GameLoop.cpp | #pragma once
#include "../Headers/GameLoop.h"
#include <curses.h>
#include <fstream>
#include <iostream>
#define LEFT 260
#define UP 259
#define RIGHT 261
#define DOWN 258
void GameLoop::parse_cfg() {
std::string file_line, parameter_name, parameter_argument;
int equals_sign_position;
std::ifstream cfg_in... |
9ffd050253828fada7f42b9ab273b66ac4e9996c | c3bfd0eb01cf69b4f35c3309de43ef9820e5f8d6 | /test/aoj_ALDS1_14_B_l61m1.test.cpp | 57b821acf993e1b35eefb0182407c23e127eb3c3 | [
"MIT"
] | permissive | kmyk/rsk0315-library | deae1609691e7651bafc5c9bb393a00ff552dd19 | 344f8f8c6c8c8951637154d6cb87cfb3dbc50376 | refs/heads/master | 2023-02-26T17:24:31.796182 | 2021-02-01T14:50:34 | 2021-02-01T14:50:34 | 292,615,801 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 931 | cpp | aoj_ALDS1_14_B_l61m1.test.cpp | #define PROBLEM "http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_14_B"
#include <cstdio>
#include <chrono>
#include <random>
#include <string>
#include "String/rolling_hash_l61m1.cpp"
int main() {
char buf[1048576];
scanf("%s", buf);
std::string t = buf;
scanf("%s", buf);
std::string p = buf... |
ebd8c8a9d35f1f2a94ac9f690d32842c1e95261f | e272a9c0b27f445a21c007723b821a262a43531a | /SimplePhotoViewer/Win2D/winrt/impl/Microsoft.Graphics.Canvas.Printing.1.h | b349f5fe04cb5fdef08b37acc0c9e0ab173103ec | [
"MIT"
] | permissive | Hearwindsaying/SimplePhotoViewer | 777facb3b6c18e0747da2f70b02fff6c481a2168 | 12d9cd383d379ebce6696263af58c93a2769073b | refs/heads/master | 2021-11-05T17:41:29.288860 | 2021-10-31T11:04:36 | 2021-10-31T11:04:36 | 176,699,093 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,771 | h | Microsoft.Graphics.Canvas.Printing.1.h | // WARNING: Please don't edit this file. It was generated by C++/WinRT v1.0.180821.2
#pragma once
#include "Microsoft.Graphics.Canvas.0.h"
#include "winrt/impl/Windows.Graphics.Printing.0.h"
#include "winrt/impl/Windows.Foundation.0.h"
#include "Microsoft.Graphics.Canvas.Printing.0.h"
WINRT_EXPORT namespace winrt::M... |
a710ca1de44d3f9ce735e16389e719560cbc4bc4 | a64300f3f43944c3f57053232ab1c8a9c9cfe356 | /Hzoj_Code/242-最大平均值.cpp | c41e29ad6553bf752d09ce98080d8bb064cef44e | [] | no_license | Remote0/Mynotes-1 | 5e84de95163b076c802e39b8a2a097dd9e61adb2 | 4314db4c3845d53f58e4fd0a2c2c90e355b21751 | refs/heads/master | 2022-11-26T19:47:20.441530 | 2020-08-06T18:05:06 | 2020-08-06T18:05:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,324 | cpp | 242-最大平均值.cpp | /*************************************************************************
> File Name: 242-最大平均值.cpp
> Author:fangsong
> Mail:
> Created Time: 2020年05月17日 星期日 15时56分28秒
************************************************************************/
#include<iostream>
#include<cstdio>
#include<cmath>
#include<cstring>... |
c016697aa090cecec1dbfede7dd2584d0a2398c8 | 454184c9d6bc7a80e2ee2c7a0515009199ecbaa8 | /main.cpp | d4c0d1b59102bf9221eb8f00a7eaf83d5d98d90a | [] | no_license | rinthel/rttr_sol_lua_test | 905a7286ce0149d0a0b5ce6876afcf1bbd32bd6d | d0d7b37afc9c60bfecf3cac335a65a9094f5f32a | refs/heads/master | 2020-04-10T00:22:00.411012 | 2018-12-07T14:14:20 | 2018-12-07T14:14:20 | 160,683,343 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,282 | cpp | main.cpp |
#include <sol.hpp>
#include <rttr/type>
#include <rttr/registration>
#include <rttr/visitor.h>
#include <spdlog/spdlog.h>
#include <spdlog/sinks/stdout_color_sinks.h>
#include "RttrSolBinder.h"
#include <iostream>
#include <math.h>
static auto console = spdlog::stdout_color_mt("console");
namespace test {
class... |
88b396664a97702d019de4dfb4d2606530995d00 | c7a4cde53c0cb8c34be8b66f57ebda0e68517750 | /seconds.cpp | a76677dfb6579981c8f41b525486dbba5a30faf6 | [] | no_license | Joshua-Salvador/cpp-primer | 58ad4ccf66b41764be440e9128c0469ed01e91c0 | df846ebc292bcc5a8b5b4feb0ee4533b4568e472 | refs/heads/main | 2023-04-08T09:14:48.490879 | 2021-04-15T08:06:33 | 2021-04-15T08:06:33 | 358,188,664 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 992 | cpp | seconds.cpp | // seconds.cpp -- get number of seconds to days, hours, minutes, seconds
#include <iostream>
int main()
{
using namespace std;
cout.setf(ios_base::fixed, ios_base::floatfield);
const double hours_day = 24.0;
const double minutes_hour = 60.0;
const double seconds_minute = 60.0;
long long seconds;
cout << "En... |
b20f637ceb6d12803a3c1fe34c51700f789f10ef | 8e3c901d5d15a7c437e26e04d86dd5ef5ae06b70 | /CastleVania/CastleVania/DoubleShotItem.h | 0e6cbed3ffd2372d32704630da705af27378672e | [] | no_license | hoangvinh121299/CastleVaina2 | f90f00801a03ab5fff86dee9d3fc29ce6c45f8db | 8c6a27fd2fadb52faf501daf59db9cbfc117d1bd | refs/heads/master | 2023-02-15T12:08:34.816487 | 2021-01-11T07:51:45 | 2021-01-11T07:51:45 | 289,404,037 | 1 | 0 | null | 2021-01-10T18:57:26 | 2020-08-22T02:25:16 | C++ | UTF-8 | C++ | false | false | 329 | h | DoubleShotItem.h | #pragma once
#ifndef __ITEMDOUBLESHOT_H__
#define __ITEMDOUBLESHOT_H__
#define ITEMDOUBLESHOT_GRAVITY 0.25f
#define ITEMDOUBLESHOT_TIMEDISPLAYMAX 5000
#define ITEMDOUBLESHOT_TIMEWAITMAX 300
#include "Item.h"
class DoubleShotItem :
public Item
{
public:
DoubleShotItem(float X, float Y);
virtual ~DoubleShotItem();
}... |
fd7fd06802540ad1400d485981d1d23e4c10ebde | 79a01ae53772070f422a9788e7307789bdafe24f | /mandelbrot.cpp | 40990d8785d400cbd7b904b40f6eadc39e3738d6 | [
"Unlicense"
] | permissive | ridespirals/mandelbrot | f574e6d97aa1fa4d7a4cf6e6ef826891cf4dc530 | 882c4cd26ec27a4586654e56815395f31b867b12 | refs/heads/master | 2021-01-25T14:04:29.245839 | 2019-03-06T04:08:08 | 2019-03-06T04:08:08 | 123,650,282 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,660 | cpp | mandelbrot.cpp | #include <SDL2/SDL.h>
#include <stdio.h>
const int SCREEN_WIDTH = 1200;
const int SCREEN_HEIGHT = 800;
const int W = 800;
const int H = 800;
long double min, max, factor;
int ITERATIONS;
long double start_min = -2.87;
long double start_max = 1.0;
long double start_factor = 1;
int start_iterations = 200;
void reset(... |
fbb270b0c53e3842b4e02a3d292f8117dd643f51 | c8dae092e52dc66a2efeb58692f4d1008d66dff2 | /CPSC 350/Assignment-5/Student.cpp | df2887e4aed9f8aa7460a905a59ecc426862affc | [] | no_license | tetsu100/Undergrad-Assignments | 378d5290c77915d96a5a216aec5d9e6ce7bcd7b7 | da2e80d48acc29bab8e8117d25c0ad3085bd449c | refs/heads/master | 2021-01-17T18:11:42.728137 | 2016-10-18T06:42:20 | 2016-10-18T06:42:20 | 71,215,558 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,081 | cpp | Student.cpp | #include "Student.h"
#include <iostream>
Student::~Student()
{}
Student::Student()
{
studentID = -1;
}
Student::Student(int id, string m_name, string m_year, string m_major, double gpa, int aid)
{
studentID = id;
name = m_name;
year = m_year;
major = m_major;
GPA = gpa;
advisorID = aid;
}
void Student::print... |
23356c823c791cf8948eabd8b616f105044517a8 | 97dba80026128e9296e575bb58b9cc7867bbc77f | /leetcode/MaximumProductOfThreeNumbers.cpp | e5c57643d50cca1d302e93ca4f5420c6e737af38 | [] | no_license | intfloat/AlgoSolutions | 5272be3dfd72485ff78888325a98c25b2623e3cb | 2f7b2f3c4c8a25eb46322e7f8894263ecd286248 | refs/heads/master | 2021-12-23T08:18:32.176193 | 2021-11-01T05:53:27 | 2021-11-01T05:53:27 | 9,474,989 | 18 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,225 | cpp | MaximumProductOfThreeNumbers.cpp | class Solution {
public:
int maximumProduct(vector<int>& nums) {
int sz = nums.size();
vector<vector<int> > dp_mx(sz, vector<int>(3));
vector<vector<int> > dp_mn(sz, vector<int>(3));
for (int i = 0; i < nums.size(); ++i) {
if (i == 0) {
dp_mx[i][0] = dp_mn... |
546e888519d3faf962bdf60f17f81b198151db76 | 164a38a1469029eccb7c3a796ae6aa608153bd1d | /boost/boost-unit-Test/str.h | 05fd2c03b073f10495a2669a084edaa408709211 | [] | no_license | dariuskylin/test | 09393efad398d5e5ba88a58da4d7401161e3dcd4 | 17b6884e3007aed35586e29187360eabb4b12cb1 | refs/heads/master | 2016-09-05T15:39:04.526373 | 2012-12-17T03:25:24 | 2012-12-17T03:25:24 | 5,806,685 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 828 | h | str.h | /*
* =====================================================================================
*
* Filename: str.h
*
* Description:
*
* Version: 1.0
* Created: 07/16/2012 11:06:01 PM
* Revision: none
* Compiler: gcc
*
* Author: dongyuchi (dongyuchi), dongyuchi@... |
7f1cd0f29c8703926aa733e5f10eedb611380af5 | 03cece0871cb07da0887ff2c0ff633b12bf9c251 | /A1/src/main.cpp | 8085134c1df1ad7a6d989ff5c77bcd7947e22620 | [] | no_license | FreakingBarbarians/DGPCompFab | 38f12eb39dc531c5d6665ca22b3cc59465964461 | 87a9b68b702e0058aa5909701375c9227e777444 | refs/heads/master | 2020-04-02T03:17:38.532220 | 2018-10-20T23:16:30 | 2018-10-20T23:16:30 | 153,956,419 | 1 | 0 | null | 2018-10-20T23:14:33 | 2018-10-20T23:14:33 | null | UTF-8 | C++ | false | false | 1,992 | cpp | main.cpp |
//#include "util/shapes.hpp"
#include <igl/opengl/glfw/Viewer.h>
#include <igl/opengl/glfw/imgui/ImGuiMenu.h>
#include <igl/opengl/glfw/imgui/ImGuiHelpers.h>
#include <imgui/imgui.h>
#include <igl/readDMAT.h>
//assignment files
#include <csgOps.h>
//Global variables for UI
igl::opengl::glfw::Viewer viewer;
Eigen::M... |
ffe606ddf14524a7d0c81def55445d25d7ff971e | 17e62b549499c33f19c6a6ca7b007c3e9ac4ecfa | /Engine/Src/InputManager.h | 589c9ff73dc844fc392fdd234416747df0b0e10c | [] | no_license | mathias234/3DGameCpp | 04f8daf0015d2394b0af5cf8a607201b1e5454b7 | 995492460918fda8cb184edb20aaa70abd634d06 | refs/heads/master | 2021-04-03T05:03:23.550926 | 2019-05-09T20:07:56 | 2019-05-09T20:07:56 | 124,404,300 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 696 | h | InputManager.h | #pragma once
#include <vector>
#include "GLFW\glfw3.h"
class InputManager
{
public:
static bool GetKeyDown(int GLFWKeyCode);
static bool GetKeyUp(int GLFWKeyCode);
static bool GetKey(int GLFWKeyCode);
static bool GetMouseDown(int GLFWKeyCode);
static bool GetMouseUp(int GLFWKeyCode);
static bool GetMouse(int G... |
ddf35dfbca5af817e739300230b3950e5eda179d | 4898f2f6988f67d832c515915a7898e476c54633 | /OpenGl_Sample/main/gameReseau/gameObject/gameBoard/gr_gameBoard.cpp | fb53c80642b8ed42f5d8c19228298ba77744b17c | [] | no_license | OlivierArgentieri/CPP_Fred | b31f00e1787ed15d498d0f36fcc2cdf46c038b58 | 84c4bc9bb6ea04907d44164dd4d18796a0d7c0c0 | refs/heads/master | 2022-04-08T01:23:54.314428 | 2020-03-10T12:25:17 | 2020-03-10T12:25:17 | 238,685,793 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,302 | cpp | gr_gameBoard.cpp | #include "gr_gameBoard.hpp"
#include "main/gameReseau/window/gr_window.hpp"
#include "plane/gr_planeGameBoard.hpp"
#include "topBorder/gr_topBorderGameBoard.hpp"
#define WALL_HEIGHT 10
#define WIDTH 100
#define HEIGHT 100
void gr_gameBoard::CreatePlane()
{
plane = new gr_planeGameBoard(glm::vec3(), glm::vec3(), gl... |
6f01b911e3d3f4c6d36f394790727e26c07b4aad | a3d6556180e74af7b555f8d47d3fea55b94bcbda | /components/sessions/core/session_id.cc | 27e68b601b6f3e3bd317d7556d01c7a1ee8bc0d2 | [
"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 | 483 | cc | session_id.cc | // Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/sessions/core/session_id.h"
#include <ostream>
#include "components/sessions/core/session_id_generator.h"
// static
SessionID SessionID::NewUnique() {
... |
4f9863ce41186685f0ec0720b288603f1bee4c04 | 9aae4b46b34488b024500b9294d09920aaaa851b | /plugin/AdminPlugin.cpp | 843148d6c26cd5361d8daa340bc88a141fb56165 | [] | no_license | jamesoff/bmotion-lib | f1d8f76464bb71dc778837c5a7e9a378d7be9e2f | 0bd3480e870edb7c17ff44c41f01e2ef683a125e | refs/heads/master | 2021-01-22T11:20:50.966355 | 2017-05-28T20:02:29 | 2017-05-28T20:02:29 | 92,683,981 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,440 | cpp | AdminPlugin.cpp | #include <AdminPlugin.h>
#include <bMotion.h>
#include <Output.h>
#include <DynamicLoader.h>
/*
* Constructor for Admin Plugin type.
* @param source Pointer to the library that contains the callback function
* required.
* @param name The name assigned to the plugin. Must be unique in the system.
* @param funcN... |
e2bfb91ff8205a9bd8e6e03afc2708213b9713ca | 989b34c46586ce2b769afc334e53ad310ccf4ed7 | /Vanity/VScene/VSceneItemComponentRotation.h | bcfd5a41acdfa91c395d838f3a6457f07a1f8fa1 | [
"Unlicense"
] | permissive | DavidCoenFish/ancient-code-1 | ed51ae1cc75cea7ed77db111d46846d36aac7975 | 8d76c810209b737bfc1ce996611807f62122fb41 | refs/heads/master | 2020-03-21T10:18:51.234695 | 2018-06-24T01:24:48 | 2018-06-24T01:24:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,218 | h | VSceneItemComponentRotation.h | //file: Vanity/VScene/VSceneItemComponentRotation.h
#ifndef _V_SCENE_ITEM_COMPONENT_ROTATION_H_
#define _V_SCENE_ITEM_COMPONENT_ROTATION_H_
#include< Hubris/HCommon/HCommon_Export.h >
namespace Vanity
{
///////////////////////////////////////////////////////
// forward declarations
/**/
/////////////////////////... |
eca592e43390be82b159ac55cdd6fbd4956bcc27 | 43b8cc4c6f6b8f9abf65bb9e35210f886f9399ec | /pandaapp/src/indexify/photo.h | 6c7486dd357a4047ace3dd227e66a69531b577d2 | [] | no_license | PlumpMath/panda3d-1 | 48f819c6a9cd7dd9b364e2f06e6f4d8e1c3cbd93 | c2bcbfcb567d9f72911c0cf030cc4ab6ccdbe85b | refs/heads/master | 2021-01-25T06:55:36.738522 | 2013-03-13T23:04:40 | 2013-03-13T23:04:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,646 | h | photo.h | // Filename: photo.h
// Created by: drose (03Apr02)
//
////////////////////////////////////////////////////////////////////
//
// PANDA 3D SOFTWARE
// Copyright (c) Carnegie Mellon University. All rights reserved.
//
// All use of this software is subject to the terms of the revised BSD
// license. You should have r... |
54809e31ce6697e4102e8f7c592b694158867a66 | 5bb0a22fc4046023700657230fa4f860803c9d45 | /locomotion_framework/point_handling/include/mwoibn/point_handling/force.h | 3cba5edd0344959ffe37412b8f24ff669beeb1bf | [
"Zlib"
] | permissive | mkamedula/Software-for-Robotic-Control | f953d0a9c3b22716db30f92c16f47fd21da61989 | fc3f7b344d56aa238d77c22c5804831941fcba24 | refs/heads/master | 2022-07-07T18:21:09.001800 | 2022-06-12T23:10:55 | 2022-06-12T23:10:55 | 306,434,538 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,982 | h | force.h | #ifndef __MWOIBN__POINT_HANDLING__FORCE_H
#define __MWOIBN__POINT_HANDLING__FORCE_H
#include "mwoibn/point_handling/state.h"
#include "mwoibn/point_handling/frame_plus.h"
namespace mwoibn
{
namespace point_handling
{
// Computes the actuation torques component to excert given force at the point
class Force: public ... |
aeaa5b26e2e9ea4c4c48e9934d57269b67969f4f | 19d961aa754ae0062cd259f971c365ae108f9c07 | /Simon/MorningStar.h | cbd50ee817a7e61e0a837eff2632a56f64532159 | [] | no_license | huyvu050596/CastleVania_14521189_NguyenAnhHuyVu | 0e782ca405620b530d0285f694b39b6a5dd38306 | 7a1f9f14203506d46c3bf0a27d315f3bf4e43d6a | refs/heads/master | 2020-04-14T23:41:18.776971 | 2019-01-05T12:14:26 | 2019-01-05T12:14:26 | 164,211,985 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 654 | h | MorningStar.h | #ifndef _MORNINGSTAR_H_
#define _MORNINGSTAR_H_
#include <d3dx9.h>
#include "GameSprite.h"
#include "Weapon.h"
#include "Global.h"
#define MORNINGSTAR_IMAGE "Resources/weapon/morningstar.png"
#define MORNINGSTAR_FRAME 70
class MorningStar : public Weapon
{
int TypeMorningStar;
public:
MorningStar();
~MorningStar... |
6e43d921d38113ec103183a4c0a232ee801392d0 | 31155acd49915b9d0ce0731670c2b2e86d087953 | /CameraControl/CameraAdjunct/Widgets/Move.cpp | 39ffc5cbc537ba95d31b228130b9c0ff073ad9f7 | [] | no_license | rudi-c/computational-photography-research | 2660d507ba2329d819f3eb5850b066d8b1f9c289 | 24ac27f6686afea7e1396f4caa5507ac59f42240 | refs/heads/master | 2020-04-28T21:28:28.273609 | 2014-11-11T07:35:42 | 2014-11-11T07:35:42 | 13,477,775 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,097 | cpp | Move.cpp | /*
* Widget for moving around in image by stepping zoom rectangle
* left, right, up, and down. Also centers zoom rectangle.
*/
#include <QtGui>
#include <QTimer>
#include "Move.h"
Move::Move( QWidget *parent )
: QWidget( parent )
{
quadrant = 0;
viewRect.setRect( 0, 0, 42, 42 );
w... |
89e6a4385e0263e2bb6c866b06f9dce320832326 | 64589428b06258be0b9b82a7e7c92c0b3f0778f1 | /Codeforces/Rounds/1027/F.cpp | c3709b03792ecee57b750ae53f8b596dc3671fdb | [] | no_license | splucs/Competitive-Programming | b6def1ec6be720c6fbf93f2618e926e1062fdc48 | 4f41a7fbc71aa6ab8cb943d80e82d9149de7c7d6 | refs/heads/master | 2023-08-31T05:10:09.573198 | 2023-08-31T00:40:32 | 2023-08-31T00:40:32 | 85,239,827 | 141 | 27 | null | 2023-01-08T20:31:49 | 2017-03-16T20:42:37 | C++ | UTF-8 | C++ | false | false | 26,015 | cpp | F.cpp | // `
// ... |
9c58c1b9caf37e8b7e840851f8dfb227d59906f2 | 60970683e8851b54ca0b8cf33459355b28ab0664 | /tests/CommentsTest.cpp | 5150a5c865201ebe0b208795d8d2ae5be1b263c0 | [] | no_license | kapilash/quarry | 2a7bdc26a2859a0c7890011b30892b8aaa5bbb07 | fa9679780cedf8adfc7af92e3f0c1b269d863518 | refs/heads/master | 2021-01-01T05:33:25.384923 | 2018-12-31T20:06:28 | 2018-12-31T20:06:28 | 7,463,970 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,696 | cpp | CommentsTest.cpp | #define BOOST_TEST_MODULE comments_test test
#include <boost/test/unit_test.hpp>
#define QUARRY_EXPORT
#include "QReader.h"
#include "QInternal.h"
#include <string>
#include <fstream>
#include <iostream>
#include <set>
#include <algorithm>
#include <cstdlib>
#include <locale>
static void createFile(const char *fileNam... |
690486e95e6bb9c9b556da504eecc2be0072bf00 | c2cfafab4b6ac9636ceed490669f27af537e2e17 | /openfpga/src/utils/rr_gsb_utils.cpp | 90b63bff41f4ef975966f47a383c93fe711b987e | [
"MIT"
] | permissive | stevecorey/OpenFPGA | 0dfe32d2816e2cf5acbc3b0704c7c63a0b5890bf | 20af542f32f0d8ab056c73d52978e76a7a1be1c4 | refs/heads/master | 2023-03-07T06:33:41.033989 | 2022-05-24T02:05:50 | 2022-05-24T02:05:50 | 139,053,155 | 0 | 0 | MIT | 2023-03-01T08:05:49 | 2018-06-28T18:12:18 | C | UTF-8 | C++ | false | false | 2,321 | cpp | rr_gsb_utils.cpp | /********************************************************************
* This file includes most utilized functions for data structure
* DeviceRRGSB
*******************************************************************/
/* Headers from vtrutil library */
#include "vtr_assert.h"
/* Headers from openfpgautil library */
... |
9152d726481b4c4319d1ee1ab3d3f9ad49f4b711 | 1b12e6096c47312b67fa6ff223216945d2efb70c | /apps/GenMAI/src/gmElement.cpp | 8b472baf712d469c16d45c2193d9792ef9384f54 | [
"Apache-2.0"
] | permissive | rboman/progs | 6e3535bc40f78d692f1f63b1a43193deb60d8d24 | 03eea35771e37d4b3111502c002e74014ec65dc3 | refs/heads/master | 2023-09-02T17:12:18.272518 | 2023-08-31T15:40:04 | 2023-08-31T15:40:04 | 32,989,349 | 5 | 2 | Apache-2.0 | 2022-06-22T10:58:38 | 2015-03-27T14:04:01 | MATLAB | UTF-8 | C++ | false | false | 988 | cpp | gmElement.cpp | // Copyright 2003-2019 Romain Boman
//
// 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... |
785d48512bbbd6289d7c4e6e6d6301004dcd6a27 | a3d6556180e74af7b555f8d47d3fea55b94bcbda | /chrome/test/chromedriver/chrome/devtools_http_client_unittest.cc | e0d9a9ab60c4ad18252457bb735e596448a502fa | [
"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 | 4,612 | cc | devtools_http_client_unittest.cc | // Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <string>
#include "chrome/test/chromedriver/chrome/devtools_http_client.h"
#include "chrome/test/chromedriver/chrome/status.h"
#include "testing/gtest/include/gtest/g... |
07f332ba617a37b3bd18961ba71ea4aca45ee6c3 | b74e96c9a0741fe8376123b7f604dea46c21a6a4 | /2-3.cpp | 2d0b5e94d01721e0a040d6662be0cb4c5015da7b | [] | no_license | ddt-sawa/meikai_mid_cpp_sawa | e7fc2c27618207213e3d7135196c9a789d001056 | b51e1c1ef7853c462d93bd6b1a7a6df4997c86f8 | refs/heads/master | 2020-03-24T20:57:57.929410 | 2018-09-13T11:33:15 | 2018-09-13T11:33:15 | 143,006,294 | 0 | 0 | null | 2018-09-20T09:28:05 | 2018-07-31T11:39:39 | C++ | UTF-8 | C++ | false | false | 5,735 | cpp | 2-3.cpp | /*演習2-3 符号なし整数xの第posビットを、1にした値を返す関数set、0にした値を返す関数set、反転した値を返す関数inverseを作成せよ。
unsigned set(unsigned x, int pos);
unsigned reset(unsigned x, int pos);
unsigned inverse(unsigned x, int pos);
*/
#include<iostream>
using namespace std;
//最下位ビットのみが1の符号なし整数
const unsigned int leastBit = 1;
//2進数における基数
const int binaryNum... |
0e9ca0dbb292ade0bf8153796450fe420827f4b0 | 1bf835479687802eb884da2a36ef780fddbd8717 | /manager.hpp | 500526ec52606246eb988488bab042a20b25ae48 | [] | no_license | damirbar/cpp_ex1 | 6694d0607ee4521eac877241a7c1ea3c9b6243b1 | 09bba0af3154dd4ae71113700b0a807dcb88f000 | refs/heads/master | 2021-05-07T18:14:12.661338 | 2017-10-30T18:09:58 | 2017-10-30T18:09:58 | 108,762,342 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 750 | hpp | manager.hpp | /*
* manager.hpp
*
* Created on: Oct 30, 2017
* Author: damir
*/
#ifndef MANAGER_HPP_
#define MANAGER_HPP_
#include <iostream>
#include <string>
#include <vector>
#include "worker.hpp"
using namespace std;
class Manager : public Worker {
//protected:
// vector<Worker> workerList;
public:
vector<Wor... |
b6b234e85192a86cc4a7ba5d3abb8fdd772bc550 | 2e6a65aa5065293e693eadd1f0e8918c0be69557 | /SLAM_Demo/Frontend/LASER_Projection/src/Spherical_View_Projection.cpp | f9dbf6981a58725c6fa7b386dbd7379ef29247b8 | [] | no_license | NLS-SP/SLAM_Basics | dece764f7a95862dab4747b0c6d2f3f89b1a959b | 23fb7417e75f955b640170a8cabeab4ed8d68b7a | refs/heads/master | 2022-11-17T00:34:37.168785 | 2021-03-21T13:55:08 | 2021-03-21T13:55:08 | 229,234,194 | 3 | 3 | null | 2022-11-04T07:42:26 | 2019-12-20T09:33:43 | C++ | UTF-8 | C++ | false | false | 3,072 | cpp | Spherical_View_Projection.cpp | //
// Created by Robotics_qi on 2020/7/16.
//
#include <math.h>
#include <pcl/io/pcd_io.h>
#include <pcl/point_cloud.h>
#include <pcl/point_types.h>
#include <Spherical_View_Projection.h>
#include <opencv2/core/mat.hpp>
#include <opencv/cv.hpp>
SphericalConversion::SphericalConversion(const Configuration& config):
... |
60558ea099ca7997b2018aa5ad6a143969d671e3 | 53949c99097623c2064662e7284eafd7584726cf | /10019 - Funny Encryption Method.cpp | 2aaacee41153439afff3fca960c8368a851435e4 | [] | no_license | jimmylin1017/UVA | f65ccb40042f631770b5796121e3908188f64786 | c8fdd5c64caff091a0ecb997794ffeb458ac0cad | refs/heads/master | 2021-01-06T20:42:08.121440 | 2015-12-22T16:23:11 | 2015-12-22T16:23:11 | 37,203,303 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 668 | cpp | 10019 - Funny Encryption Method.cpp | #include <iostream>
#include <cstdio>
#include <cstdlib>
using namespace std;
int dec(int n)
{
int count=0;
while(n!=0)
{
if(n%2 == 1)
count++;
n/=2;
}
return count;
}
int hex(int n)
{
int count=0;
while(n!=0)
{
int m = n%1... |
477e452825b7aa8206cfb4f43a02bae60df58a5b | a0c0806da43293cc516d7bec429714a279ddf2ec | /exercise3.cpp | 72864e2b5d1fb3a44dbe0ef8b0ff9ff4f9d8f61c | [] | no_license | marianastoiovici/AP-Module-C-Wednesday-Exercises | 8abb031f20c68c7b8a6a64b8f33432aee087256f | 7f001ce5846c28b90e283c558d1203fb6a8c968a | refs/heads/main | 2023-02-17T13:26:28.243823 | 2021-01-13T16:10:15 | 2021-01-13T16:10:15 | 329,306,834 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,334 | cpp | exercise3.cpp | // C++ program that takes a filename from the user and checks if it exists. If it exists it display and add a count to each line and display the total number of lines at the end; an appropriate indication should be given if the file specified does not exist.
// https://repl.it/@mstoiovici/FileReader#main.cpp
#include <... |
761e5093914a8f160710c3380d9052251f2b4c3d | 07a25efb5c0a978a26db6564c9dd26a26ec543df | /Classes/Views/Layout/Base/BaseLayoutParams.h | 3393e989e5154ac110e699196f621d9d1bfeb769 | [] | no_license | gorkem-oktay/cocosdroid | 3c41d77e3863f1f9ce1308358ab31f5f4ee68583 | 95c7d80f555136b9bf385897df304a5810f0d6da | refs/heads/master | 2020-06-03T01:30:52.304252 | 2019-06-13T19:27:36 | 2019-06-13T19:27:36 | 191,377,469 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 771 | h | BaseLayoutParams.h | //
// BaseLayoutParams.h
// Cocosdroid
//
// Created by Görkem Oktay on 5.06.2019.
//
#ifndef BaseLayoutParams_h
#define BaseLayoutParams_h
#include "cocos2d.h"
namespace cocosdroid {
namespace BaseLayout {
const float MATCH_PARENT = -1.f;
const float WRAP_CONTENT = 0.f;
... |
8561924504bc2528f6f82b2a29d722ff749d5575 | f2cb3ab01b3b8097e26d779737e876f6d7e3b226 | /src/SchedulerModule/service/SchedulerService.h | e47a99f1323893585eaa9b1318e5324014c69d85 | [] | no_license | ism-hub/WaterSystemBackend | f8b979815229e8299f85871c21254181d12a3202 | 7ef706f6709d718cd721a1815b62b4b11b5395d4 | refs/heads/master | 2020-07-18T21:19:51.734652 | 2019-09-11T15:33:25 | 2019-09-11T15:33:25 | 206,313,929 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,216 | h | SchedulerService.h | /*
* SchedulerService.h
*
* Created on: 6 ���� 2018
* Author: rina
*/
#ifndef SCHEDULERMODULE_SERVICE_SCHEDULERSERVICE_H_
#define SCHEDULERMODULE_SERVICE_SCHEDULERSERVICE_H_
#include <GardenModule/model/TimePattern.h>
#include <functional>
//************ task schedule stuff
#define _TASK_WDT_IDS
#define ... |
bedba7f77a4a394c9a63d07a5e763479fcd3bf96 | bec4ce7862948e5057b9573dd82a4aa0733ff485 | /src/ch2/ce_demo_01.cc | 91f01c0c3899f0df644f129db0d71436a5deeef1 | [
"MIT"
] | permissive | HerculesShek/cpp-practise | 27b850a9c446a6571a95629cb6045e18957e6071 | aa0cdc3101c831c1c677f0de46a2f85a4b407bc3 | refs/heads/master | 2016-09-06T13:05:04.184703 | 2014-09-23T01:41:38 | 2014-09-23T01:41:38 | 17,898,200 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 331 | cc | ce_demo_01.cc | #include <iostream>
using namespace std;
int main()
{
const int max_files = 20; //max_files is a constant expression
const int limit = max_files + 1; //limit is a constant expression
int staff_size = 27; //staff_size is not a constant expression
const int sz = get_size(); //sz is not a constant expression
r... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.