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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
29f60a9cda5c00aabf4a5f90c88b8018c1c030d4 | f13e5bf7cbb3ebaf59090df33d87a082398136e9 | /Chapter3/STACK.h | b9273a6ccd114f8a8ce516ee69e1c66770a06de1 | [] | no_license | LGHigh/DSAAC | 0f45499f55094ce243a5b5d73bb0bd359ac1808f | 6cd0a21ca7cc90f06c91656d4d35dba9955baf87 | refs/heads/master | 2021-07-12T06:20:16.510653 | 2017-10-12T08:48:36 | 2017-10-12T08:48:36 | 105,109,292 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 515 | h | STACK.h | /*Dedication to public interests, Acquisition of all-round capability, Aspiration for progress with each passing day.*/
/*using List*/
#ifndef _Stack_h
#define _Stack_h
class Stack;
typedef class Stack* PStack;
typedef int ElementType;
class Stack{
public:
Stack();
bool IsEmpty(PStack S);
void DisposeStack(PS... |
93add5d9d5badfdde3284d449b61a28efdbd985d | 01de08ef090cbb633f36389a815c0ff101b72fc1 | /HEEPeScale/highMassRes.h | 7ba4510db356d155dfb5080fd8a61f1a21171baf | [] | no_license | thomreis/myCmsCode | 9cb2a961c081c08434716670842dcdb915fafb0b | b987e3c01207047131ccbf0037c6a4280f65437f | refs/heads/master | 2021-01-10T21:07:29.832064 | 2015-02-09T14:52:06 | 2015-02-09T14:52:06 | 11,369,806 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 22,287 | h | highMassRes.h | //===============================================================
// RooFit Macro to perform unbinned likelihood fit
//================================================================
#ifndef HighMassRes_h
#define HighMassRes_h
#include <sstream>
#include <iostream>
#include <utility>
#include <vector>
#include "Roo... |
9442b3fb7008421cfc992bcaf4f816626bc08ac5 | 5ecb9e70525969cea8862ab666592c8316afee86 | /obj/virtural2.cpp | 68257b95c12d37301eb0c6bf060f3a0c4a606df1 | [
"MIT"
] | permissive | fengpf/loveCplusplus | c4e5d6f57641fb61faa005d8d0298c8ed978fe8b | 44d95727df75dbe770c96fda1f512e1dd9157b89 | refs/heads/master | 2020-09-24T13:55:14.532489 | 2019-12-04T11:55:18 | 2019-12-04T11:55:18 | 225,773,862 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 619 | cpp | virtural2.cpp | //
// Created by fpf on 2019-12-04.
//
//class 类名{//类体
// //virtual 返回类型 函数名(形参列表)// 虚函数
// ...
//};
#include <iostream>
using namespace std;
class Base{
public:virtual void print(){
cout<<"Base"<<endl;
}
};
class Derived:public Base{
public:void print(){
cout<<"Derived"<<endl;
... |
c74e77680f06e3a6f3fc460c3607daf51d3ac16b | b8eb357354eeef47b1675031a0b350dd297a81ef | /1249. Minimum Remove to Make Valid Parentheses - Medium - LowPass/cpp2.cpp | 7543a8136db98b3c97cac02bc82578efb6ef5979 | [] | no_license | wsyzxxxx/LeetcodeGOGOGO | 3e9dd70f01db220048683688f71e7b88d3921d08 | 48418ce917baf05390f1bc8df35aba9e0516f97b | refs/heads/master | 2021-11-26T17:29:23.065653 | 2021-10-29T18:23:32 | 2021-10-29T18:23:32 | 195,494,436 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 872 | cpp | cpp2.cpp | class Solution {
public:
string minRemoveToMakeValid(string s) {
std::string tmp;
int count = 0;
for (int i = 0; i < s.size(); i++) {
if (s[i] == ')' && count == 0) {
continue;
} else if (s[i] == '(') {
count++;
} else if (s... |
d280de46a1851a1766742aa52242eacf767b3df5 | 772a44ecf4bbea6c6d25c568844b94fd9b4509ce | /util.h | 76e3e70535c5b50fb431d45b8f8733691780fa03 | [] | no_license | DreadWingKnight/cwsa | 6887fb98f03d10b38c59d840bd957dd3e6769e36 | 9cffc3a9090374e0132cc064926126df00212111 | refs/heads/master | 2016-08-06T12:22:08.336766 | 2006-02-08T20:10:37 | 2006-02-08T20:10:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 456 | h | util.h | #ifndef UTIL_H
#define UTIL_H
#include <stdio.h>
#include <time.h>
#include <map>
#include <string>
#include <vector>
#include <utility>
using namespace std;
#ifdef WIN32
typedef __int64 int64;
typedef unsigned __int64 uint64;
#else
typedef long long int64;
typedef unsigned long long uint64;
#en... |
486688a1e1206bee23fe5adebe66628b90cde742 | fc2d01d1afa08ffc46c23901163c37e679c3beaf | /Renderer/MaterialAnimationFactory.h | e47ac7a70450b95bea29aac8ce70c8f2e74a9aab | [] | no_license | seblef/ShadowEngine | a9428607b49cdd41eb22dcbd8504555454e26a0c | fba95e910c63269bfe0a05ab639dc78b6c16ab8b | refs/heads/master | 2023-02-14T19:08:25.878492 | 2021-01-08T16:16:44 | 2021-01-08T16:16:44 | 113,681,956 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 440 | h | MaterialAnimationFactory.h |
#ifndef _MATERIALANIMATIONFACTORY_H_
#define _MATERIALANIMATIONFACTORY_H_
#include "MaterialAnimation.h"
class MaterialAnimationFactory
{
public:
MaterialAnimationFactory() {}
static MaterialAnimation* createAnimation(const string& animName, Material *m);
static MaterialAnimation* parseAnimat... |
c2663e67db45356ab0e54cc02126fc7850f95d65 | efa2f7b6749c915f970c749adf0be4334d2a917f | /UIElement.cpp | b74e0d6dec6b9f3d20897be95515f718d35b92c7 | [] | no_license | ChaytonMoore/2DSpaceGame | e7ef38555528f9d7724b5c66a5123e920e974981 | 576b1930fdb02236091dd704c1550b70d5cf42fa | refs/heads/master | 2023-08-19T09:58:00.618312 | 2021-10-24T21:35:10 | 2021-10-24T21:35:10 | 395,780,968 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 393 | cpp | UIElement.cpp | #include "UIElement.h"
#include <iostream>
int UIElement::ClickedOn()
{
std::cout << "a";
return 0;
}
bool UIElement::IsClicked(sf::Vector2i MouseLoc)
{
float Distance = sqrt(abs(MouseLoc.x - (LocalPosition.x+UISize/2)) + abs(MouseLoc.y - (LocalPosition.y+UISize/2)));
return (Distance < Clic... |
5bd33429a0009439efc2e0e25c110005cec7f508 | d802032cd60cc583210df0f77d3858a39ec1baf0 | /0052.cpp | a987bab72092c77a1cf905faf0a31f0a45ab5298 | [
"CC0-1.0"
] | permissive | excript/curso_cpp | 840c4154cec064816f483d74f61eb768df00c5a7 | 070d0bd1163c1252b7bf736fedb3370208c30811 | refs/heads/master | 2021-01-22T19:18:05.464431 | 2015-07-11T07:49:04 | 2015-07-11T07:49:04 | 38,587,664 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 475 | cpp | 0052.cpp | #include <iostream>
/*====================================
* eXcript.com
* fb.com/eXcript
* ====================================*/
using namespace std;
int main(){
int nums[3];
nums[0] = 900;
nums[1] = 1000;
nums[2] = 1100;
int nums2[] = {1, 3, 5, 7, 11, 13, 17};
cout <<... |
3e1a94ee8731c945a9d4c943c553d2687a826204 | d4d4e9c9b22bdbc7af03e79af3559e6effe4f63e | /HackerRank/GraphTheory/RoadsAndLibraries.cpp | 421dae1a9d2d2a252f9c3e0b2350a395d73eb679 | [] | no_license | deeepeshthakur/CodeFiles | ea8d9c4a2b7a21c853ba8fc953c532e74576a791 | 3c9f08770a2628fa6eaef28fff212bfa1db96d16 | refs/heads/master | 2021-07-09T20:08:30.258607 | 2020-07-06T03:50:57 | 2020-07-06T03:50:57 | 160,020,105 | 2 | 1 | null | 2020-07-06T03:44:02 | 2018-12-02T06:26:50 | C++ | UTF-8 | C++ | false | false | 1,721 | cpp | RoadsAndLibraries.cpp | #include <bits/stdc++.h>
using namespace std;
void modified_dfs_call( int city, std::vector<bool> &dfsCheck, std::vector < std::vector <int> > &cityRoads, long& temp_ans){
temp_ans++;
dfsCheck[city] = true;
int roads_from_curr_city = cityRoads[city].size();
for(int index = 0; index < roads_from_curr_city; inde... |
e4e801fe4d289a6fb133bad80ec13e871cd16b45 | 0a233295302a4a0160963ae835aad6fc3f1ac683 | /Dp/303.cpp | 3199617fa22d3fc0e0fa5b8191d51b7a8ff04714 | [] | no_license | MregXN/Leetcode | 90e4851699d1275416c21ce53623cfcba43d1a32 | fa570fb744d7b97d600e3254ba17121deecee959 | refs/heads/master | 2023-01-13T01:22:40.835827 | 2020-10-30T11:53:17 | 2020-10-30T11:53:17 | 267,321,023 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 715 | cpp | 303.cpp | // 给定一个整数数组 nums,求出数组从索引 i 到 j (i ≤ j) 范围内元素的总和,包含 i, j 两点。
// 示例:
// 给定 nums = [-2, 0, 3, -5, 2, -1],求和函数为 sumRange()
// sumRange(0, 2) -> 1
// sumRange(2, 5) -> -1
// sumRange(0, 5) -> -3
// 说明:
// 你可以假设数组不可变。
// 会多次调用 sumRange 方法。
class NumArray {
private:
vector<int> _nums;
public:
... |
ae6f9935eeeeeddde5e48562ddd3e32be9a75e4b | dc25b23f8132469fd95cee14189672cebc06aa56 | /vendor/mediatek/proprietary/hardware/mtkcam/legacy/platform/mt6795/core/camnode/FeaturePipe/FeaturePipe.Nodes.cpp | ebba24cb2e0d69ef5f5c9a30de2aa55ff4879d1f | [] | no_license | nofearnohappy/alps_mm | b407d3ab2ea9fa0a36d09333a2af480b42cfe65c | 9907611f8c2298fe4a45767df91276ec3118dd27 | refs/heads/master | 2020-04-23T08:46:58.421689 | 2019-03-28T21:19:33 | 2019-03-28T21:19:33 | 171,048,255 | 1 | 5 | null | 2020-03-08T03:49:37 | 2019-02-16T20:25:00 | Java | UTF-8 | C++ | false | false | 177,485 | cpp | FeaturePipe.Nodes.cpp | /* Copyright Statement:
*
* This software/firmware and related documentation ("MediaTek Software") are
* protected under relevant copyright laws. The information contained herein is
* confidential and proprietary to MediaTek Inc. and/or its licensors. Without
* the prior written permission of MediaTek inc. and/or ... |
bd29f06b1178581a9241f3e8e0423b6a93b2ef60 | f81124e4a52878ceeb3e4b85afca44431ce68af2 | /re20_2/processor39/15/U | 79669700d0a99f6a05fa2b92a7f711d20270bda7 | [] | no_license | chaseguy15/coe-of2 | 7f47a72987638e60fd7491ee1310ee6a153a5c10 | dc09e8d5f172489eaa32610e08e1ee7fc665068c | refs/heads/master | 2023-03-29T16:59:14.421456 | 2021-04-06T23:26:52 | 2021-04-06T23:26:52 | 355,040,336 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 20,939 | U | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*-------... | |
ebca6c58bd1c31d4abf5575d1e9e2a00ab15cdd7 | b029d4bbe5b67365ac2b66f3d854b8c49141905f | /Parcial II/Parcial 2 - 2018-3/Problema 2/Genero.h | 9bf901533f30c69ae140125f51cec536c881bd83 | [] | no_license | chjesus/Estructura-de-Datos | 5ea4e0f5d2ecb3a3013d6b9cd437c747fdf50ebf | e8b865b442e8a5b7f03da4de0d0f7a7ddcebbbd0 | refs/heads/master | 2020-03-28T20:07:28.211502 | 2018-12-01T04:10:33 | 2018-12-01T04:10:33 | 149,041,372 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,371 | h | Genero.h | #ifndef GENERO_H
#define GENERO_H
#include "ListaDinSimple.h"
#include "Canciones.h"
using namespace std;
class Genero{
char genero[30];
ListDinSimple<Canciones> *lista;
public:
Genero(){}
Genero(char *gen){
strcpy(this->genero,gen);
lista = new ListDinSimple<Canciones>();
}
int agregarCancion(Cancio... |
085ffec35480d972c6245cb29eed0acaf26013f6 | 64cb3c5443ba6fbf79343916dc8ac5dc920d48fb | /34. Find First and Last Position of Element in Sorted Array.cpp | 0239880b9a9af09ea8461ad614758c3427d3f034 | [] | no_license | JianHangChen/LeetCode | ec905e903049de4021ecd83de9b8cfeb6e900114 | 0183704dcf7208e274d5eea6e41e4caad7ed6954 | refs/heads/master | 2022-08-16T12:12:13.142517 | 2022-07-24T05:36:55 | 2022-07-24T05:36:55 | 170,805,203 | 2 | 1 | null | 2019-06-08T03:16:17 | 2019-02-15T05:09:32 | Python | UTF-8 | C++ | false | false | 7,202 | cpp | 34. Find First and Last Position of Element in Sorted Array.cpp | //!!!! sol2.1 new template
class Solution {
public:
vector<int> searchRange(vector<int>& nums, int target) {
if(nums.size() == 0) return {-1, -1};// !!! check
int l = 0, r = nums.size() - 1;
vector<int> res;
while(l < r - 1){
int mid = l + (r - l) / 2;
... |
eeaecb1c830856dc8d26ff17b547ce11366781a4 | 674330d2c23115e7d4f364a6636fe3147a445840 | /my_scpi_dll/handle_multi_cmd.h | 6bc5fd70693e4c5377d28a646336854500849ef0 | [] | no_license | NumbLucas/scpi-parser | 58cf9bd25a34eebdf267d4379b5230e487d323e5 | 708c5260c8f8c2e9becc216d478ff138741456a2 | refs/heads/master | 2020-11-25T15:12:04.718304 | 2019-12-21T02:32:53 | 2019-12-21T02:32:53 | 228,733,914 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 270 | h | handle_multi_cmd.h | #include <string>
#include <vector>
using namespace std;
int handleMultiCmd(char *);
void splitStr(const string& str, const char& separator, vector<string>& rst);
void splitCmdAndParm(const string& str,string& cmd, string& param);
void removeHeadTailSpace(string& str); |
35b418cef57bbcada99acde2e82efd23f3da67de | 66330f7a1ff0b8447b4245474ab4de48727fd1c5 | /libs/blueprint/include/nil/crypto3/zk/components/algebra/curves/weierstrass/element_g1.hpp | 12c445c854a00e0f8b3c0a2da2e312d91b9501ee | [
"MIT"
] | permissive | everscalecodes/knapsack-snark | fd3cc6155125ae6ff0fc56aa979f84ba6a8c49c7 | 633515a13906407338a81b9874d964869ddec624 | refs/heads/main | 2023-07-18T06:05:22.319230 | 2021-08-31T16:10:16 | 2021-08-31T16:10:16 | 447,180,824 | 0 | 1 | MIT | 2022-01-12T10:53:21 | 2022-01-12T10:53:20 | null | UTF-8 | C++ | false | false | 13,219 | hpp | element_g1.hpp | //---------------------------------------------------------------------------//
// Copyright (c) 2018-2021 Mikhail Komarov <nemo@nil.foundation>
// Copyright (c) 2020-2021 Nikita Kaskov <nbering@nil.foundation>
//
// MIT License
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of th... |
097c3fd7f70f08fc5feec8698d46b266e8a0c074 | 3879d1ca43c573c209f962182cd1e7f7fe978fbf | /leetcode/1275. Find Winner on a Tic Tac Toe Game/1275.cpp | 5bbbfc2e9184c66afb167469ef01c49901cbe0d3 | [] | no_license | DoctorLai/ACM | 34a5600a5adf22660c5d81b2d8b7a358be537ecf | aefa170f74c55c1230eb6f352770512b1e3f469e | refs/heads/master | 2023-09-01T02:13:01.604508 | 2023-08-31T15:42:07 | 2023-08-31T15:42:07 | 146,173,024 | 62 | 18 | null | 2020-10-11T13:19:57 | 2018-08-26T11:00:36 | C++ | UTF-8 | C++ | false | false | 1,491 | cpp | 1275.cpp | // https://helloacm.com/algorithm-to-find-the-winner-on-a-tic-tac-toe-game/
// https://leetcode.com/problems/find-winner-on-a-tic-tac-toe-game/
// EASY, BRUTEFORCE, GAME
class Solution {
public:
string tictactoe(vector<vector<int>>& moves) {
char board[3][3] = {};
//std::fill(&board[0][0], &board[0... |
45b3a61d832fc71a58ba0f6a8266165c49cff807 | 8d539ced39960119c418907075b631cec18ca399 | /ProjectEuler/148-PE12-HighlyDivisibleTriangularNumber.cpp | 251c82588087daba956dbec1160531abd2f88a9d | [
"MIT"
] | permissive | lucastarche/aotd | d27eed7414c11ce1a0a18c2459b800e9cdf91eef | e501a1f27fc48508d24eac461308aaa2e56a23cf | refs/heads/master | 2023-07-19T03:56:06.845259 | 2021-09-12T12:14:56 | 2021-09-12T12:14:56 | 294,989,043 | 3 | 1 | null | 2020-12-16T13:58:42 | 2020-09-12T17:06:06 | C++ | UTF-8 | C++ | false | false | 1,021 | cpp | 148-PE12-HighlyDivisibleTriangularNumber.cpp | //PE 12: Highly Divisible Triangular Number
//Problem: Find the smallest triangular number (Tn = 1 + 2 + ... + n) with more than 500 divisors.
//Solution: We can represent Tn as n * (n + 1) / 2.
//Then we precalculate the amount of divisors of every integer up to a certain point (100000 in this case),
//and we can get ... |
1bc87d1a45a5da67b0b3ae6ac8974b942f7c7055 | 82c55fcfa9f3b7bd5d845cd961cbcfea8fd29bcd | /src/base/unix_task_runner.cc | 422947fd84ae2d76370053ce4f86053dcd031b02 | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | LineageOS/android_external_perfetto | 18fe7db30911cd164c6a95f418d5534945f8a911 | 37e41206db9bc9c8f86b09d88436b0e9a7b3f5d3 | refs/heads/lineage-18.1 | 2022-10-24T23:28:16.450303 | 2021-06-08T13:18:57 | 2021-06-08T13:18:57 | 144,285,906 | 3 | 17 | Apache-2.0 | 2022-10-02T20:13:21 | 2018-08-10T12:54:13 | C++ | UTF-8 | C++ | false | false | 6,573 | cc | unix_task_runner.cc | /*
* Copyright (C) 2017 The Android Open Source Project
*
* 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 app... |
7b6c32b3a194aad6ef9def76d956f9391101fddd | 4512a24742a8e860b6a482dcb57201ebc782e81c | /Hmwk/HelloWorld/main.cpp | 3a246a15b2dab2451bc59f6a2f0c171e0bb36813 | [] | no_license | yehaolan/CSC-5 | 1e99c85a342700cb80749d59ba5d8298fa0c1a48 | a24da1ae8e2de9a6690870fb85274c579dc4486d | refs/heads/master | 2021-05-29T04:24:41.417318 | 2015-02-12T16:57:07 | 2015-02-12T16:57:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 409 | cpp | main.cpp | /*
* File: main.cpp
* Author: Haolan Ye(Benjamin)
* Created on January 7, 2015, 7:28 AM
* Purpose: set up homework
*/
//System Libraries
#include <iostream>
using namespace std;
//User Libraries
//Global Constants
//Function Prototypes
//Execution begins here
int main(int argc, char** argv) {
//Output ... |
51b386ed2ef88c475f58419ada8c03a560a18187 | 618734c07c3cd262c67bd54d7f10e70c32545ad7 | /Source/SphereCollider.hpp | 1114cfd4fbc075068003d51cc676ea94328cd550 | [] | no_license | Caspila/GUInity | c9e97ed2e0ad4c9c9a9afb3b036cdef2ac4ad204 | 0fe75e767fd0913ebb00f76afd3d181caa215efd | refs/heads/master | 2021-01-22T07:32:47.297635 | 2015-07-13T07:46:38 | 2015-07-13T07:46:38 | 28,250,903 | 2 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,612 | hpp | SphereCollider.hpp | #pragma once
#include "Collider.hpp"
/** SphereCollider uses a sphere as the volume collider. Can either be real physics simulated or trigger only. */
class SphereCollider :
public Collider
#ifdef GUINITY_DEBUG
, public StaticCounter<SphereCollider>
#endif
{
private:
/** The radius of the Sphere */
float radius;
... |
7b129f7acff7214e8e6f9fb85775be4a0e4d7cde | 2359c13c2b34b91518cceb23dc340dcfdbe4018c | /Source/FirstProjcet/MyGameMode.cpp | 26333547511a42b2cfd67653443636181a45924b | [] | no_license | 3Hoo/G_UnrealEngine_FirstC--BasedGameProject | d87a0252e34aa4254ad7fe70cb347cf59643851c | 905e6224ca30785d359d44683d16a1fe878953e6 | refs/heads/master | 2023-09-03T00:09:12.041009 | 2021-11-18T07:26:27 | 2021-11-18T07:26:27 | 429,303,761 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 365 | cpp | MyGameMode.cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "MyGameMode.h"
#include "Main.h"
#include "MainPlayerController.h"
bool AMyGameMode::GetIsFirst()
{
UE_LOG(LogTemp, Warning, TEXT("GetIsFirst()"));
return bIsFirst;
}
void AMyGameMode::SetIsFirst(bool B)
{
UE_LOG(LogTemp, War... |
4304945352942aa6096588eed7e7ac91e2866cb8 | 0d22d93a5876608c173d550c75808c7208f99072 | /Physics.cpp | fbb0742980d27b732958d5888233688d71e57d3e | [] | no_license | Percevase/Rampage | b43a8503add12983dffd325f9269eea16a17f4e0 | df31dda55e7ea0bf900777b0fd510c678f17b31d | refs/heads/master | 2020-03-14T08:58:36.334412 | 2018-05-04T20:35:44 | 2018-05-04T20:35:44 | 131,536,318 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 288 | cpp | Physics.cpp | #include <ctime>
#include <cmath>
#include "Physics.h"
using namespace std;
using namespace nsGamePhysics;
double nsGamePhysics::freeFallEquation(const double &speed0) {
const double t0 = time(NULL);
double t = difftime(t0, time(NULL));
return (-0.5) * g * pow(t, 2) + speed0 * t;
}
|
51fc161d70c00775b7c370a02decf2d861ca9112 | ba86aa615a1455fd79ac3732b77d07f935a04ae3 | /c++程序/MP.cpp | 8010703672667d878a3b8ac6488b32297a0a3c40 | [] | no_license | 300I/jjj | ce0c64bd3a535e593ec38f8b498b77e5ec71e334 | 942c708fc5994ae75cf96e254dac00ba00b94e88 | refs/heads/master | 2020-07-10T01:20:30.600985 | 2019-09-16T12:50:09 | 2019-09-16T12:50:09 | 204,130,261 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 362 | cpp | MP.cpp | #include<iostream>
#include<cstdio>
#include<iomanip>
#include<cstring>
#include<cmath>
using namespace std;
const int n=10;
int a[n+1];
int main()
{
for(int i=1;i<=n;i++)cin>>a[i];
for(int i=1;i<=n-1;++i)
for(int j=1;j<=n-i;++j)
if(a[j]<a[j+1])swap(a[j],a[j+1]);
for(int i=1;i<=n;++i)cout<<" "<<a[i... |
6acb19b93b3d9f1e428ce2846d60d130b49a9b2a | 6b1b0a8aa3db4558327e3e07abc4e72faab35634 | /inc/ralloc.hpp | 4798c7264e429aca0a3f635f28b0f553cd260e4f | [] | no_license | nmosier/zc | 70952dbad5c1699a99d0d327332e34345e4f1381 | 42605341dec6a88343269557aaac6d1fa21b8e24 | refs/heads/master | 2020-11-27T14:26:07.553541 | 2020-02-10T12:45:11 | 2020-02-10T12:45:11 | 229,485,843 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,729 | hpp | ralloc.hpp | #ifndef __RALLOC_HPP
#define __RALLOC_HPP
#include <unordered_map>
#include <unordered_set>
#include <list>
#include <ostream>
#include <iterator>
#include "asm.hpp"
namespace zc::z80 {
struct RallocInterval;
}
namespace std {
}
namespace zc::z80 {
/**
* Check whether iterator comes before another iter... |
3ce4e8c4c64c7e017933701495387b96306e6e56 | a5a99f646e371b45974a6fb6ccc06b0a674818f2 | /EventFilter/CSCRawToDigi/src/CSCTMBTrailer.cc | 187a8f8d95aa62b73960fd251eb1fd61edc8bf44 | [
"Apache-2.0"
] | permissive | cms-sw/cmssw | 4ecd2c1105d59c66d385551230542c6615b9ab58 | 19c178740257eb48367778593da55dcad08b7a4f | refs/heads/master | 2023-08-23T21:57:42.491143 | 2023-08-22T20:22:40 | 2023-08-22T20:22:40 | 10,969,551 | 1,006 | 3,696 | Apache-2.0 | 2023-09-14T19:14:28 | 2013-06-26T14:09:07 | C++ | UTF-8 | C++ | false | false | 2,368 | cc | CSCTMBTrailer.cc | #include "EventFilter/CSCRawToDigi/interface/CSCTMBTrailer.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include <iostream>
#include <cassert>
CSCTMBTrailer::CSCTMBTrailer(int wordCount, int firmwareVersion) : theFirmwareVersion(firmwareVersion) {
//FIXME do firmware version
theData[0] = 0x6e0c;
... |
40274bd30271fd66da2b8d42b351cd721f631586 | d9756b2d68edd109f1ea0a7535f1865769f4994a | /src/streamrenderwin.h | d29a73143bd6ce9b5fae7345fe9f5519537f5bca | [] | no_license | somaproject/streams | 509362c9d88d608e429de225b785937a34984e87 | 9fed8ddb3b519a00fd8761a2382e11023ccf5186 | refs/heads/master | 2021-01-11T11:16:27.971865 | 2009-11-30T02:51:33 | 2009-11-30T02:51:33 | 100,223 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,423 | h | streamrenderwin.h | #ifndef STREAMRENDERWIN_H
#define STREAMRENDERWIN_H
#include <iostream>
#include <cstdlib>
#include <cmath>
#include <assert.h>
#include <stdlib.h>
#include <gtkmm.h>
#define GL_GLEXT_PROTOTYPES
#include <gtkglmm.h>
#include <GL/gl.h>
#include <GL/glu.h>
#include <GL/glext.h>
#include "glconfig.h"
#include "glspi... |
11d460f95ea45c8fcbfeb750283993f82ccebd06 | c0864b9e6ed699d173c268ee1ad50f59e61c69f1 | /bus.cpp | 3b522604d4e3a81913d9fec935729ea208527b35 | [] | no_license | palelile/AsistenciaBus | e3718f7447e06670663d476840244e77d8dd7d01 | 341ab7b4dfd7ae0bf399379101f1f94ac8d7ebc2 | refs/heads/master | 2021-10-09T12:48:47.906322 | 2013-04-15T21:40:29 | 2013-04-15T21:40:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,521 | cpp | bus.cpp | #include "bus.h"
#include "ui_bus.h"
Bus::Bus(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::Bus)
{
QTextCodec::setCodecForCStrings(QTextCodec::codecForName("utf8"));
ui->setupUi(this);
connect(ui->toolBox, SIGNAL(currentChanged(int)), this, SLOT(cambioDePagina(int)));
connect(ui->bot_imp_txt, SIGNAL(pre... |
c30480a43d33f62e2bdfaba19b15e5cf7e3ff5cb | 7346bdce9499f829df6a012a3a0ae1812fce1439 | /SpreadsheetsWithUnreal/Source/SpreadsheetsWithUnreal/Private/SpreadsheetsHttp.cpp | 9bf77fbf5a1a94558235c23f64a201998e02275b | [
"MIT"
] | permissive | jenspetter/SpreadsheetsWithUnreal | 4119f6a08bdfdd3f5165676c0e48b0106005b3d5 | 9c6c0fcce46811ec541fd1aca52353995778dd18 | refs/heads/main | 2023-05-14T21:44:17.019206 | 2021-06-06T09:59:49 | 2021-06-06T09:59:49 | 319,257,158 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,265 | cpp | SpreadsheetsHttp.cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "SpreadsheetsHttp.h"
#include "Http.h"
#include "HttpModule.h"
#include "Interfaces/IPluginManager.h"
#include "SpreadsheetsWithUnrealBPLibrary.h"
void FSpreadsheetsHttp::SendRequest(const FSpreadsheetCrendentials Credentials, ... |
a520d2cdff9390c24fa5d716385d9964fe55f9dc | 1be562353c54fe742b0b18337e5801fcbbcd576e | /ComputerAssisted Instruction/Functions.cpp | 8ed7f1ebdd7d099f6565234e669e2f2d82155ed1 | [] | no_license | aahmedramy1/Computer-Assisted-Instruction | cfb28dcae0d75638ed915d5fe204b2ce81ba0955 | efff1ab0e99a47a1036ba178a276c66a09545a6d | refs/heads/main | 2023-01-10T01:46:04.629051 | 2020-10-30T15:36:23 | 2020-10-30T15:36:23 | 308,672,366 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,934 | cpp | Functions.cpp | //
// Functions.cpp
// Computer-Assisted Instruction
//
// Created by Ahmed Ramy on 3/27/20.
// Copyright © 2020 Ahmed Ramy. All rights reserved.
//
#include <iostream>
#include <time.h>
#include <iomanip>
#include "Functions.hpp"
using namespace std;
int randomNumber(int level)
{
long srand(time(0));
sw... |
39720e9de23dd8470e1a605ba973275971fadd08 | ffa2014a838b6c34ca6a79c975c280d17616b3d2 | /Graphs/flows/mincost__maximum_bipartite matching.cpp | 3a58ad73b49a71c7ac841fbcbb9f994184e2dcd4 | [] | no_license | TarunSinghania/Prewritten-code | ada2b9d71b3bd452b5b0583e38c6c1d656529a18 | fcb3b951fdf82fa88abeeb7133564515232bfff0 | refs/heads/master | 2020-12-31T08:46:57.394606 | 2020-12-26T17:47:52 | 2020-12-26T17:47:52 | 238,958,293 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,716 | cpp | mincost__maximum_bipartite matching.cpp | #include <bits/stdc++.h>
using namespace std;
#define fr(i,a,b) for(int i=a;i<b;i++)
#define pb push_back
#define speed ios::sync_with_stdio(false), cin.tie(0) , cout.tie(0)
#define fillm(m,r,c,k) fr(i,0,r)fr(j,0,c)m[i][j]=k;
#define prm(m,r,c) fr(i,0,r){fr(j,0,c){cout<<m[i][j]<<" "; }cout<<endl;}
#define pr(a,n)fr(... |
5c4eff6c996d2722c7586ab1880ad3b860a3c910 | 65ab52bbdaffd39544a6cffe2a4f296e5cf2186c | /App.h | 0258139dfe4b55566ddd3c5e39bcdadee3e9a716 | [] | no_license | Naiztu/proveedora | f589ae20f4acc4a43900c2d6826a134df19abd87 | 356802be837b562a813171753e2374c1ce098474 | refs/heads/main | 2023-05-08T22:52:18.223144 | 2021-06-04T13:05:27 | 2021-06-04T13:05:27 | 366,752,747 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,116 | h | App.h | #ifndef APP_H
#define APP_H
//
//
// Proyecto Proveedora main
//
// José Ángel Rico Mendieta
//
// A01707404
//
// 27/05/2021
//
// Clase App, tendra todas las funcionalidades para que el programa
// sea ejecutada desde el main
//
//
#include "Personal.h"
#include "Proveedor.h"
#include "Cliente.h"
#include "Cajero.... |
a9e1b72aa4f9aacd8348345c7f0be24df0bdb7ac | 88bd5acc20e1446147d3a5fb22a51ab74b76037b | /OculusCam/Rendering/OculusRenderer.cpp | 05ee8f520d9e13cbf3b7abfb31b901266d9f4f5d | [] | no_license | ethanli83/OculusCam | 55b961479eea859a901165a42d0e2b581d5bb9c5 | b6d03c9af625c86db714f5a78421ac1c057dd02c | refs/heads/master | 2021-01-10T18:39:02.093606 | 2014-04-26T15:23:08 | 2014-04-26T15:23:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,163 | cpp | OculusRenderer.cpp | //
// Created by Ethan Li on 26/04/2014.
// Copyright (c) 2014 Ethan.Li. All rights reserved.
//
#include <type_ptr.hpp>
#include <matrix_transform.hpp>
#include "OculusRenderer.h"
const glm::vec3 UpVec(0.0f, 1.0f, 0.0f);
const glm::vec3 ForwardVec(0.0f, 0.0f, -1.0f);
const float YawInitial = 3.141592f;
static const... |
238a4a0467542b4573693784dfe9c9fb5087a103 | 7a0fd4dbc026b21813169d8ec505fabf31603b11 | /Gammiriovanie.cpp | 8b027db56fc8066922a433808e8bcd6b3b149d36 | [] | no_license | sapvelich0906/Homework1 | eb7ea5765616d9b6a9624f18ebff6095b9efb670 | 3b78592297064a4eb9dede6e48ff570d42f265a4 | refs/heads/master | 2020-01-23T21:57:44.950692 | 2016-11-25T04:03:36 | 2016-11-25T04:03:36 | 74,724,465 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,312 | cpp | Gammiriovanie.cpp | // Gammiriovanie.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <math.h>
#include<time.h>
#include <iostream>
using namespace std;
int per2_10(int a)
{
int a1=0, k=1;
while (a > 0)
{
a1 = a1 + k * (a % 2);
a = int(a / 2);
k *= 10;
}
return... |
2e94b48be4ba671c7ddcc0c45fec903d9f0f0cac | 8a0458d96da032528319422f5ced046621efc3da | /networktables/include/networktables2/util/EOFException.h | 4a8ccd16cd756f62a34269d1159334cbd362682e | [
"MIT"
] | permissive | warrenlp/2015VisionCode | c44a1bba9f4432553a2900f16b13b16b6c9453ec | 38a46724e2fbdc57baeeb7bf196327a106437f11 | refs/heads/master | 2021-01-18T02:19:24.809552 | 2015-12-30T02:10:05 | 2015-12-30T02:10:05 | 46,771,955 | 1 | 1 | null | 2015-12-30T02:10:05 | 2015-11-24T06:31:57 | C++ | UTF-8 | C++ | false | false | 605 | h | EOFException.h | /*
* EOFException.h
*
* Created on: Oct 1, 2012
* Author: Mitchell Wills
*/
#ifndef EOFEXCEPTION_H_
#define EOFEXCEPTION_H_
#include "networktables2/util/IOException.h"
/**
* Indicates that an EOF was encountered during an I/O operation,
* and therefore the operation could not be complet... |
6ecda3b6e71f3390c0ac155fe26797ddeb93fea1 | 87c94d04f7b34e04df6456450a2a4ef09f2d81a4 | /Doggo/src/usb_serial.cpp | dd534aab0b706ced2e07a24cffa74c3186ba5a53 | [
"MIT"
] | permissive | jamestiotio/SUTDoggo | 7d1f7deb3fd29947bfa136ac84ec8e8632d6be2a | f8aa493acd06046a9a0fc580687bc6445463ded8 | refs/heads/master | 2023-04-08T07:47:30.120342 | 2021-06-02T14:58:41 | 2021-06-02T14:58:41 | 237,259,172 | 5 | 1 | MIT | 2023-04-03T23:45:10 | 2020-01-30T16:51:24 | C | UTF-8 | C++ | false | false | 5,160 | cpp | usb_serial.cpp | #include "usb_serial.h"
#include "ChRt.h"
#include "Arduino.h"
#include "globals.h"
#include "config.h"
#include "jump.h"
#include "backflip.h"
#include "position_control.h"
THD_WORKING_AREA(waUSBSerialThread, 2048);
THD_FUNCTION(USBSerialThread, arg) {
(void)arg;
int MAX_COMMAND_LENGTH = 32;
char cmd[MA... |
0da65a341937dcbab0602948de2d92db4cbb9bb9 | 29e9a31e0039fcb18ffea8b96b7918a15d5b2e7a | /Hw5/Document.cpp | 5827fffdbee2b973f2569f25d1246a149b6c6bcf | [] | no_license | tommyduncan/POSD-homework | c6c3ab3438ed7f099213fcbc468d88c0f53feaf3 | 1e28a869b0b6249021f8a6c38e24ec8e115e2182 | refs/heads/master | 2021-05-02T18:45:47.867112 | 2017-01-04T13:29:25 | 2017-01-04T13:29:25 | 69,227,347 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 588 | cpp | Document.cpp | #include "Document.h"
string Document::openDocument(const string name){
if(!canOpenDocument(name))
throw std::string("file is not existed.");
openFile(name);
return readFile();
}
/* Class "MyDocument" which is the subclass of "Document" */
void MyDocument::openFile(const string name){
fin.... |
33ac31ebbbd7b840efc38067b90825ecbe00ce0c | b669094d27d471ab82bd25220ee22fc0867465cb | /lib/core/src/togo/core/math/vector/1_type.hpp | dee8c773d6495e62afabc5f0437b41001456e831 | [
"MIT"
] | permissive | komiga/togo | 9f26af22f3cc4dc535d30d886deb294ebf717ba9 | 7a366fc02e87c8480f008aa110516e4b04f8d73b | refs/heads/master | 2021-01-23T21:18:15.402108 | 2020-11-07T06:35:14 | 2020-11-07T06:35:14 | 21,193,515 | 27 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,981 | hpp | 1_type.hpp | #line 2 "togo/core/math/vector/1_type.hpp"
/**
@copyright MIT license; see @ref index or the accompanying LICENSE file.
@file
@brief 1-dimensional vector.
@ingroup lib_core_types
@ingroup lib_core_math
@ingroup lib_core_math_vector
@ingroup lib_core_math_vector_1d
@defgroup lib_core_math_vector_1d 1-dimensional vecto... |
7033ad84b21666ee2ba726523013da17fa183b2d | 95a631b48aa2975a34d673d6c2900fe66c7442f9 | /src/diar/segment.h | 93261a54a25aa541f48b75e14531eeecc2fc8179 | [] | no_license | cyu0913/CRSS-SpkrDiar | 243f650778fe5c684c9c551bd82db4a24c946e8f | 8a1d6be0ca4ae3854c5214dbdeec2e389795ed2a | refs/heads/master | 2021-06-16T13:00:36.053452 | 2017-05-12T18:05:14 | 2017-05-12T18:05:14 | 55,802,632 | 9 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 2,777 | h | segment.h | #ifndef KALDI_SRC_DIAR_SEGMENTS_H_
#define KALDI_SRC_DIAR_SEGMENTS_H_
#include <vector>
#include <string>
#include <iostream>
#include <fstream>
#include <sstream>
#include <map>
#include "util/common-utils.h"
#include "matrix/matrix-lib.h"
#include "hmm/posterior.h"
#include "gmm/am-diag-gmm.h"
#include "ivector/ivec... |
96e470040bce4231c5545ed7bfb61aabe2ec5bbe | fae5dd24fa7c3736e1cacb80ec5a3de87c66e3e8 | /2016-17년 겨울방학/study15/study15/2839.cpp | 6a799ba686c95583a3ce3063e8e162ee89553136 | [] | no_license | syshim77/FirstTouch | a83fd0e8d8879d8d7305eb020fa19ab1fcbb68d1 | 3dfaa3bb23e2b37676997598b7970709d0557bd1 | refs/heads/master | 2020-04-27T20:28:36.858279 | 2019-03-09T06:55:23 | 2019-03-09T06:55:23 | 174,659,434 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 314 | cpp | 2839.cpp | #include <iostream>
using namespace std;
int main()
{
int sugar;
int cnt = 0;
cin >> sugar;
cnt = sugar / 5;
if ((sugar % 5) % 3 == 0)
cnt += (sugar % 5) / 3;
else
{
if (sugar % 3 == 0)
cnt = sugar / 3;
else
{
cout << "-1" << endl;
return 0;
}
}
cout << cnt << endl;
return 0;
} |
ed0cb8bd8b65b730841cace92e3d71d7dc9cb338 | 90d39aa2f36783b89a17e0687980b1139b6c71ce | /HackerRank/101MAR/3.cpp | 2e91eb3978a517ec1e903716341f796c9c3caece | [] | no_license | nims11/coding | 634983b21ad98694ef9badf56ec8dfc950f33539 | 390d64aff1f0149e740629c64e1d00cd5fb59042 | refs/heads/master | 2021-03-22T08:15:29.770903 | 2018-05-28T23:27:37 | 2018-05-28T23:27:37 | 247,346,971 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,378 | cpp | 3.cpp | /*
Nimesh Ghelani (nims11)
*/
#include <bits/stdc++.h>
#define in_T int t;for(scanf("%d",&t);t--;)
#define in_I(a) scanf("%d",&a)
#define in_F(a) scanf("%lf",&a)
#define in_L(a) scanf("%lld",&a)
#define in_S(a) scanf("%s",a)
#define newline printf("\n")
#define BE(a) a.begin(), a.end()
using namespace std;
const i... |
fe4f3b3c8e00885938bb7572d9a54bf3a58bcb91 | a2ee7bdda1ec77faf3f68b158da3523de425987e | /tp-entrega-01/cliente1942/src/MainCliente.cpp | 8f7e49a7e8b830555d4caa95fea219ca046f4925 | [] | no_license | MauroToscano/Taller-de-Programacion-I-Grupo-8 | e495cbc27b76533619e0fc36c9826fe8a51e1645 | 1b5e6c6e3eda8eb1c11ab905fa75e75a571234a5 | refs/heads/master | 2022-07-20T04:00:08.267771 | 2020-02-25T23:44:10 | 2020-02-25T23:44:10 | null | 0 | 0 | null | null | null | null | ISO-8859-3 | C++ | false | false | 10,476 | cpp | MainCliente.cpp | #include "MainCliente.h"
MainCliente::MainCliente(){
dirXML.assign("");
conex = 0;
len = 0;
conectado = false;
// aca deberia de obtener el ip, port y cargar los mensajes en el map
ip = "";
port = -1;
// si usan el principal comentar inicializar()
parserx = new ParserXml();
}
MainCliente::~... |
591d5e4c628bee6c59e44e3af5391003b8743db1 | d14bc4c582954e78a5462627fc335fb7e045601a | /src/CornrowsX.cpp | 8f23a606a8067073c16307c57fee6935613eda8d | [
"MIT"
] | permissive | flyingLowSounds/Southpole | 8a49d0036ceb1009279dd9b88af928cba91d51a8 | 511d1d5bd667c2725ad8261d8d0b84075a05eab7 | refs/heads/v2 | 2023-08-19T11:55:33.302274 | 2021-10-02T15:04:31 | 2021-10-02T15:04:31 | 412,817,135 | 0 | 2 | NOASSERTION | 2021-10-02T14:59:37 | 2021-10-02T14:18:18 | C++ | UTF-8 | C++ | false | false | 21,381 | cpp | CornrowsX.cpp | //
// CornrowsX Mutable Instruments Braids
// copied from VCV Audible Instruments
//
//
#include <string.h>
#include "CornrowsSettings.h"
#include "Southpole.hpp"
#include "braids/macro_oscillator.h"
#include "braids/signature_waveshaper.h"
#include "braids/vco_jitter_source.h"
#include "braids/envelope.h"
#include... |
0314ab76270485b6adb684c7b36b9fec4a2f21e3 | e4ed9407640709a207a2ed51c31d7c3ebd347927 | /example/reducer.cpp | 55bfabb8b79939f935e0503b0135f5e5211bb1ab | [] | no_license | ra1u/tubez | 34618f85c2bd1670ed7b38dd559891f0249193c4 | 29da96653f261968afcc0ffdf00020dd9adb9c3d | refs/heads/master | 2021-05-06T14:23:33.926225 | 2017-09-24T11:06:39 | 2017-12-10T14:39:01 | 113,358,393 | 13 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 728 | cpp | reducer.cpp | #include "../src/tubez.hpp"
#include "main_common.hpp"
static auto sum() {
return tubez::reducer(uint64_t(0), [](uint64_t &a, const uint64_t b) -> void
{ a += b; });
}
static auto sum2(){
return tubez::reducer(uint64_t(0), [](uint64_t& a,const uint64_t val){
a += val;
});
}
auto reducer_tube(ui... |
8d028eaaa8fabcd9466eea8b6e429d5324a1df9e | e571f8dbe2e3459c82ae50cecfb9405ae7c8acce | /src/onnx/parse_softmax.cpp | 635871339af7e3dc7230440cafcc07d16f6d3b96 | [
"MIT"
] | permissive | barathum000/AMDMIGraphX | 423b7f9fb8d959c7b4117ec286e44ba66ba044bf | fb39e5e4ae4170f6fb4a366315a6cd53008dfccc | refs/heads/master | 2023-09-05T16:12:28.778972 | 2021-11-09T13:25:59 | 2021-11-09T13:25:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,198 | cpp | parse_softmax.cpp | #include <migraphx/onnx/op_parser.hpp>
#include <migraphx/ranges.hpp>
#include <migraphx/make_op.hpp>
#include <migraphx/onnx/checks.hpp>
#include <migraphx/instruction.hpp>
namespace migraphx {
inline namespace MIGRAPHX_INLINE_NS {
namespace onnx {
struct parse_softmax : op_parser<parse_softmax>
{
std::vector<op... |
573d3f38d87976a82423e75582ed4bcc3acc9e77 | 7bb3f6028fe9ba1b04e005ed9dc20eabb30e5dda | /NumberSet.cpp | e8bcacffaa510ac8204d07efabbc5822db0bc2b8 | [] | no_license | HWeldon/VectorProject | 3197f2d3468ce2e6934b966673df79f623974892 | b5d2cd5601ff40b1835f496a7a90068b627bb5ed | refs/heads/master | 2021-01-19T13:33:30.475422 | 2015-03-03T08:11:04 | 2015-03-03T08:11:04 | 31,528,414 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,857 | cpp | NumberSet.cpp | #include <iostream>
#include <algorithm>
#include <vector>
#include "NumberSet.h"
using namespace std;
NumberSet :: NumberSet()
{
}
void NumberSet :: add(int A)
{
// Check to see if user input is already in the set
// warn user if found
if (find(v_set.begin(), v_set.end(), A) != v_set.end())
{
cout <... |
317523ded73800c557ba8e3d50fa01947ba660d5 | 6ee200c9dba87a5d622c2bd525b50680e92b8dab | /Walkyrie Dx9/Valkyrie/Moteur/Polygonlist.cpp | 77df4ac2151cd66a414d0861fa042b33d8bb9bdd | [] | no_license | Ishoa/bizon | 4dbcbbe94d1b380f213115251e1caac5e3139f4d | d7820563ab6831d19e973a9ded259d9649e20e27 | refs/heads/master | 2016-09-05T11:44:00.831438 | 2010-03-10T23:14:22 | 2010-03-10T23:14:22 | 32,632,823 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 16,082 | cpp | Polygonlist.cpp | #include "Polygonlist.h"
// ************************ Classe CPolygonContainer *************************
// Cette classe, qui représente un noeud de la liste, permet de contenir un
// polygone, ou une adresse vers un polygone si la liste est une copie d'une
// autre liste.
// Constructeur de la classe E_Polygon... |
93ae4201e10ac0da6981043ebf359c66ad8cec39 | 4fcc010579218a20d2ff59bcb9f2c688a354c05b | /MeKaSlug/State_LeonaDeb.cpp | c62d7a95ac97d693a285b144c8b78b99503f3931 | [] | no_license | hki2345/MetalSlug | ef6bdc646800d2f14e242cd7370e44cb6d18145c | ecf3c220e78452288abab5e5b4eee86d93b27343 | refs/heads/master | 2020-03-30T03:30:22.479081 | 2019-04-01T10:40:11 | 2019-04-01T10:40:11 | 150,691,841 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 3,265 | cpp | State_LeonaDeb.cpp | #include "stdafx.h"
#include "State_LeonaDeb.h"
#include "ResourceManager.h"
#include "Player_Leona.h"
#include "Enemy_Walker.h"
#include "Enemy_Bomb.h"
#include "Enemy_Sarubian.h"
#include "Enemy_MachineGun.h"
#include "Enemy_Cannon.h"
#include "Enemy_Tank.h"
#include "Enemy_Bradley.h"
#include "Item_Heavy.h"
#incl... |
6460af2d5268c4de8d97813b397a4bde2f933e9d | e8244e5a28d8a2b01d938a6eb00e4d71583a9047 | /TempSensorTest/TempSensorTest.ino | 5dfe1eaf183b78f26536903eda0f1a53a2025041 | [] | no_license | carlosgj/Temperature-Monitor | e6fd0f0fdd266556ecea8e083ebbe13eec64e645 | 12303c2d9d6a5787ab30c5e769e783c2e1ed3664 | refs/heads/master | 2022-01-21T18:50:50.143196 | 2021-12-23T06:17:51 | 2021-12-23T06:17:51 | 160,013,142 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 926 | ino | TempSensorTest.ino | #include <OneWire.h>
OneWire myWire(11);
#define SERIAL_ENABLE
uint8_t addr[8];
void setup() {
Serial.begin(115200);
while (!Serial) {
}
for(uint8_t i=0; i<8; i++){
addr[i] = 0;
}
myWire.reset_search();
myWire.search(addr);
Serial.print("Found address: ");
for(uint8_t i=0; i<8; i++){
Seri... |
e0df05d77bec341ed4b7361541ec596d36b4c444 | d81d794c77d759e0e14f9bd787fe2cfa82764e8d | /eYRC-AB#6338_Code/Arduino/task-4-main/rgb_test.ino | ad032b8a23cab52e75a3ca65072c2570e1d4c911 | [] | no_license | ArshGoyal25/Eyantra | 8f70efaf2698e92b27d02bad6f1afb5b376efffa | d2938d42ff3f3467d91513d3ba3ea101e382130c | refs/heads/main | 2023-03-27T09:53:43.310642 | 2021-03-28T08:00:22 | 2021-03-28T08:00:22 | 352,268,774 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,845 | ino | rgb_test.ino | /*
* Team Id: #6338
* Author List: Arnav Agarwal, Arsh Gayal, Sujith K
* Filename: rgb_test.ino
* Theme: Ant Bot
* Functions: rgb, setColor
* Global Variables: All global variables are declared in the header file line.h
*/
/*
* Function Name: rgb
* Input: a character
* Output: none
* Logic: This functi... |
89fca634ba2febdcd9855ea1ec0d755b1948dbcb | 904c714fb778276ec4a75c9987099bfea8eafe3a | /day04/day04_1.cpp | 2d0111ac1407e61e8645e030a228c1cb8af16ff3 | [] | no_license | chriswpark00/C_Algorithm | c77ce9386e902dad88409ed34c030aa9ce3501be | fce5ecc5859f84563018450c911c2e537c6835fa | refs/heads/master | 2022-11-13T21:18:38.172486 | 2020-07-11T14:24:27 | 2020-07-11T14:24:27 | 273,645,941 | 0 | 0 | null | 2020-06-30T05:05:52 | 2020-06-20T05:39:54 | C++ | UHC | C++ | false | false | 562 | cpp | day04_1.cpp | /*
모듈화 프로그래밍.
헤더파일 분리
- 함수와 구조체를 분리
*/
#include "day04_01_header.h"
/*
인원수 입력받고
이름 과 성적을 입력받고
출력:
이름: -- 점
*/
int main() {
int n = 0;
S *s;
printf("인원수: ");
scanf("%d", &n);
s = (S *) calloc(n, sizeof(S));
for(int i = 0; i < n; i++){
printf("이름: ");
scanf("%s",... |
625aa8b101a2a3ef65fb09bee3ce1c5560d0eb37 | 69b4f7c49f18fc193f49275a2d32ffbcbe70471d | /Codeforces/E. Blood Cousins.cpp | f238e943a63f7a693fa7573d1c25cdabe27327a9 | [] | no_license | TD2106/Competitive-Programming | 05f322a14f1e7a1d62633b713f1416ab0c547b3b | 2905c9d5f36909330fc3637f5461aaba8928a154 | refs/heads/master | 2020-04-03T12:59:49.790124 | 2019-09-21T14:51:08 | 2019-09-21T14:51:08 | 155,270,877 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,580 | cpp | E. Blood Cousins.cpp | #include <bits/stdc++.h>
#define bug(x) cout << #x << " = " << x << endl
#define fr(x) freopen(x,"r",stdin)
#define fw(x) freopen(x,"w",stdout)
#define F first
#define S second
#define mp make_pair
using namespace std;
typedef long long int ll;
typedef pair<int,int> pii;
typedef vector<int> vi;
int parent[100005][20]={... |
65582fab6e442366d056aebe86b3a9d65e3e5657 | 8f0c19443475e22472e9b6b78eeb14d58523b0d9 | /keithley1/keithley1/keithley1Dlg.cpp | 3d5c0f3d7a5d8131f138632b81b70cfc870986ce | [] | no_license | asdfhhh/visualstudio-projects-ihep | a27993d9ae568b9ec53ab8998ef54c65565ff655 | 8e1d936f7db31c3f3b8c182dc2f327c54d471d13 | refs/heads/master | 2021-01-10T14:10:46.650519 | 2019-08-12T02:57:32 | 2019-08-12T02:57:32 | 46,844,293 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 17,879 | cpp | keithley1Dlg.cpp | // keithley1Dlg.cpp : 实现文件
//
#include "stdafx.h"
#include "keithley1.h"
#include "keithley1Dlg.h"
#include "DlgProxy.h"
#include "IEEE-C.H"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// 用于应用程序“关于”菜单项的 CAboutDlg 对话框
class CAboutDlg : public CDialog
{
public:
CAboutDlg();
// 对话框数据
enum { IDD = IDD_ABOUTBOX };
p... |
d92e6d5d208e39063186ea0b55fdd447da426a8c | d28312bf87d6f4e4aa2a921d54c00ff5384eb508 | /test2.cpp | ab965e2c50e785cf9c629d2b5bd02b399352a312 | [] | no_license | abhayjain09/repo2 | 10c3e03159a3691128f7d48bd467cb6fd4d7ab81 | 8064fe71b111e8a2aff51f0b1a02bd7e8e25aaf6 | refs/heads/master | 2020-05-04T21:28:19.996322 | 2019-04-04T10:18:08 | 2019-04-04T10:18:08 | 179,477,415 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25 | cpp | test2.cpp | Abhay wants to meet MSD.
|
6667a19ac02053df015c6152ceac64cff655d3b2 | ec07a78ff899c8fd24e9a41e5305e41643756cdd | /abc161_b.cpp | 2cc5cd0089445c37c268029e20c12ab9108fe341 | [] | no_license | jasonhuh/AtCoder-Solutions | 90a72692f6b08126dbb869f70ca70829c2840863 | ff0abe29215a3fb5b3e2229583878e6c7b1b564d | refs/heads/master | 2022-12-22T16:42:28.190905 | 2020-10-05T13:39:52 | 2020-10-05T13:39:52 | 286,298,448 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 677 | cpp | abc161_b.cpp | #include <bits/stdc++.h>
using namespace std;
#define reps(i,s,n) for(int (i) = (s); (i) < (n); (i)++)
#define rep(i,n) reps(i,0,n)
typedef long long ll;
typedef vector<int> vi;
ll mod = 1e9+7;
string solve() {
int n, m, a; cin >> n >> m;
vi nums;
rep(i, n) {
cin >> a;
nums.push_back(a)... |
e5f1046f946f04ce6a1d7b9c861f84464b116bce | f1a2325795dcd90f940e45a3535ac3a0cb765616 | /development/TelecomServices/Monitoring/MON_Region.h | 2f638ac775dd827e0091f02c80e3eb1f33ab7dab | [] | no_license | MoonStart/Frame | 45c15d1e6febd7eb390b74b891bc5c40646db5de | e3a3574e5c243d9282778382509858514585ae03 | refs/heads/master | 2021-01-01T19:09:58.670794 | 2015-12-02T07:52:55 | 2015-12-02T07:52:55 | 31,520,344 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 727 | h | MON_Region.h | //Copyright(c) Tellabs Transport Group. All rights reserved
#ifndef MON_REGION_H
#define MON_REGION_H
#include <TelCommon/TEL_BbRegionBase.h>
#include "MON_Object.h"
//This class is a MON_Object container. This is a
//generic region.
//##ModelId=3C0FE66E03B7
class MON_Region : public TEL_BbRegionBase
{
public:
/... |
05a1197757492242aa032c206527ce4a9a389412 | 232bdf11e6d48d54876842f76e9e28d622590e83 | /source/view/quploadfilewidget.cpp | ca109ee69e1ca48cf2b5be438f7890545a510815 | [
"Apache-2.0"
] | permissive | c6supper/json_serialize_deserialize_qt | 22a1c24a4d967a2ca9a8e9c8e6485f4ee581c62a | c70e89056900835221309f7c54dcca2e9fefe498 | refs/heads/master | 2023-05-27T06:13:39.867301 | 2021-06-15T01:47:49 | 2021-06-15T01:47:49 | 377,003,767 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,184 | cpp | quploadfilewidget.cpp | #include "quploadfilewidget.h"
#include "qgenericcommand.h"
#include "quploadprofilemodel.h"
#include "qrservermessagebox.h"
#include "qrserverstrtable.h"
#include "quploadstatus.h"
using namespace QRserver;
QUploadFileWidget::QUploadFileWidget(QWidget *parent,
const QSt... |
3ed907d0914673e7f10b2ae448cf24a40f318f98 | 3ff1fe3888e34cd3576d91319bf0f08ca955940f | /tiia/include/tencentcloud/tiia/v20190529/model/AttributesForBody.h | 281358e65dd4b6f875982cd62bb8e4e269734408 | [
"Apache-2.0"
] | permissive | TencentCloud/tencentcloud-sdk-cpp | 9f5df8220eaaf72f7eaee07b2ede94f89313651f | 42a76b812b81d1b52ec6a217fafc8faa135e06ca | refs/heads/master | 2023-08-30T03:22:45.269556 | 2023-08-30T00:45:39 | 2023-08-30T00:45:39 | 188,991,963 | 55 | 37 | Apache-2.0 | 2023-08-17T03:13:20 | 2019-05-28T08:56:08 | C++ | UTF-8 | C++ | false | false | 6,295 | h | AttributesForBody.h | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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
... |
e08a07382edef9486cf1ed4222a1acfa990c01bc | 5cdb4b5af1a62e018186ab834f72ad1bf3e8db13 | /jni/nitroFrame/Render/DAOInsert.h | 89e7945ea41d50ae3668dc458a4b690fe14c477c | [] | no_license | Opheliasong/ndkProj | 2e13a115fbbfa0ccfe90752c7dcf4cf73b37fd0f | b3ef64e7381e92ef73732a3c12746e75aa58e070 | refs/heads/master | 2023-04-24T16:58:21.936501 | 2021-05-13T04:27:53 | 2021-05-13T04:27:53 | 366,552,445 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,101 | h | DAOInsert.h | /*
* DAOInsert.h
*
* Created on: 2012. 10. 23.
* Author: Ophelia
*/
#ifndef DAOINSERT_H_
#define DAOINSERT_H_
//#include "../NitroFrame.h"
#include "TextureAtlas.h"
#include "ScreenplayStore.h"
#include "TextureRawPacket.h"
#include "npRenderTypedef.h"
class npInsertDAO{
protected:
cl... |
b1382f19a97fea306546a63338f1421864d08d33 | 26c3e3c441c021dd0138afef886ef802b451fced | /xt_session_server/XTRtsp.h | 1301e63361816a189d628461d6d1dc1267276751 | [] | no_license | chxj1980/firstproject | 1b25543db4e4b3d1ba636a03d2f3d9d8c8fef69f | effadd90087a0894a84e5a90924935c6d492eada | refs/heads/master | 2021-09-15T20:24:09.870832 | 2018-06-10T11:17:18 | 2018-06-10T11:17:18 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,909 | h | XTRtsp.h | #ifdef _USE_XT_RTSP_SESSION_SERVER
#ifdef _OS_WINDOWS
#pragma once
#endif
#ifndef _XTRTSP_H__
#define _XTRTSP_H__
#include <string>
#include "h_xtsessionserver.h"
using namespace std;
class XTRtsp
{
private:
XTRtsp(void);
~XTRtsp(void);
static XTRtsp self;
public:
static XTRtsp* instance(){return &self;}
// ... |
59457e2257631c4466fc98e76be2364ed42f2812 | cc16d9f71b69e10b35a16e4693a13eb9f5e09da9 | /lib/Threads/SystemSlaveThreadFactory.h | 7e9e1c623aff1c77347e93be84636657e1be001a | [] | no_license | dadarek/HTTP-Server | 5b15b5e2a205e6d8b9a31e70c7302617238a0b28 | 179e96d0e99d20e953b97824588ce24a246149d6 | refs/heads/master | 2021-01-02T09:08:17.184727 | 2012-05-03T19:44:24 | 2012-05-03T19:44:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 358 | h | SystemSlaveThreadFactory.h | #ifndef SYSTEM_SLAVE_THREAD_FACTORY
#define SYSTEM_SLAVE_THREAD_FACTORY
#include "SlaveThreadFactory.h"
class ThreadApi;
class SystemSlaveThreadFactory
: public SlaveThreadFactory
{
private:
ThreadApi& api_;
public:
SystemSlaveThreadFactory( ThreadApi& api );
virtual ~SystemSlaveThreadFactory();
... |
3ab1d9d5a315f8b5b11fa94d1d6e2f0fc3a5810d | 62510fa67d0ca78082109a861b6948206252c885 | /hihope_neptune-oh_hid/00_src/v0.1/foundation/multimedia/camera_lite/frameworks/camera_device.cpp | f0a12632f8a63822a6cae5fb9909104161b036f3 | [
"Apache-2.0"
] | permissive | dawmlight/vendor_oh_fun | a869e7efb761e54a62f509b25921e019e237219b | bc9fb50920f06cd4c27399f60076f5793043c77d | refs/heads/master | 2023-08-05T09:25:33.485332 | 2021-09-10T10:57:48 | 2021-09-10T10:57:48 | 406,236,565 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,694 | cpp | camera_device.cpp | /*
* Copyright (c) 2020-2021 Huawei Device Co., Ltd.
* 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 ap... |
c0fabda9d504a19d6837553101029897cd1359ed | 48b0f9a92320b5b94ba9e441cb7a5c7cee6a0132 | /MarsRover/Microcontroller/Minibot-Microcontroller/MergedSystem/IMU.ino | 4f70fa3e2ca5a115f2a10465379d32b9379082cf | [
"MIT"
] | permissive | jpadillak/Concordia_Capstone2013-14 | 318735c49b9efc861ceed049afd8cbeb19869374 | 0fcdec6b757a2e3b32eeda37824c7351e288f674 | refs/heads/master | 2021-01-10T20:20:41.363996 | 2014-03-31T15:20:40 | 2014-03-31T15:20:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,735 | ino | IMU.ino |
void read_sensors() {
Read_Gyro(); // Read gyroscope
Read_Accel(); // Read accelerometer
Read_Magn(); // Read magnetometer
}
// Read every sensor and record a time stamp
// Init DCM with unfiltered orientation
// TODO re-init global vars?
void reset_sensor_fusion() {
float temp1[3];
float temp2[3];
float ... |
6c1526c4d68642a5d953a9a9ad94eebefe12610c | 2473fa1f15f7ee116b008e3ba9faef1af65230e1 | /fuse_optimizers/test/test_variable_stamp_index.cpp | 5003d3646f0fef5e9396d85d8de8d9392949d225 | [
"BSD-3-Clause"
] | permissive | locusrobotics/fuse | c08ab905fb9368ec310812fe49e93bc180b8be21 | 6814698a3a850ec37bf0535240e0c0eb5dd64bdf | refs/heads/devel | 2023-08-17T04:03:38.390980 | 2023-08-16T22:07:48 | 2023-08-16T22:07:48 | 139,344,157 | 524 | 91 | NOASSERTION | 2023-08-16T22:07:49 | 2018-07-01T16:21:44 | C++ | UTF-8 | C++ | false | false | 11,986 | cpp | test_variable_stamp_index.cpp | /*
* Software License Agreement (BSD License)
*
* Copyright (c) 2019, Locus Robotics
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must re... |
a7d3fd9dd8321e2f443838f9d091addc158fc62b | c3cd9698a481eccf47b7c00d7447d339d3da4af9 | /cpp11/main.cpp | ce890e35f21701cf48cd3987a570adeafa8bc1df | [] | no_license | willwsxu/cppPerf | b89f44c2705ff53514027b58bb482900d6f62672 | fcf37bc7b7ff7678feba001696e5abde099955b2 | refs/heads/master | 2021-01-09T06:02:42.511366 | 2020-04-23T01:07:48 | 2020-04-23T01:07:48 | 80,876,503 | 0 | 0 | null | 2020-04-23T01:07:50 | 2017-02-03T22:55:49 | C++ | UTF-8 | C++ | false | false | 8,348 | cpp | main.cpp |
#include <iostream>
#include <vector>
#include <deque>
#include <list>
#include <random>
#include <set>
#include <iterator>
#include <string>
#include "ConsoleLogger.h"
#include "dynBuffer.h"
#include "DynMsg.h"
#include "matrix2D.h"
#include "myalgo.h"
using namespace std;
typedef Matrix2D<int, vector> MatrixVii;... |
6248aa436460535b1ec299db6392807df4efce79 | 0761707f0b1f038c1ee7ee6f96e419a108a61acc | /[kuangbin带你飞]专题十一 网络流/POJ1459.cpp | 6204d35ce3cb7f74c2cea7fa7864408fbb6812c9 | [
"MIT"
] | permissive | HardLearning/ACM_Solution | c27cc8ef655a50e799073ae3b41a1d825a7802d5 | 2495211017db828876d49910461f404ae0476261 | refs/heads/master | 2021-05-09T02:47:17.443012 | 2018-04-13T09:35:34 | 2018-04-13T09:35:34 | 119,221,299 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,644 | cpp | POJ1459.cpp | #include <cstdio>
#include <cstring>
#include <algorithm>
#include <vector>
#include <queue>
using namespace std;
const int INF = 1e9;
const int maxn = 100+10;
struct Edge{
int from,to,cap,flow;
};
struct Dinic{
int m,s,t;
vector<Edge>edges;
vector<int>G[maxn];
bool vis[maxn];
in... |
b13f0f42019f3395bfc3c376320f03e804bc2b35 | 356a3ced7502c34b510bcd786f565bdf2a4c9492 | /ACM-ICPC/hdu 4266.cpp | ae20ea75411c1df9ea31f8ce9fd0889380f75f59 | [] | no_license | philokey/Algorithm-Problems | bb1872b50a0d9ef4bc27fd40e5775ffb872eb858 | 774d515661647748372a1a1b6850063e04d37c03 | refs/heads/master | 2020-12-24T14:09:50.828232 | 2015-06-30T13:29:54 | 2015-06-30T13:29:54 | 38,310,200 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,459 | cpp | hdu 4266.cpp | #pragma comment(linker, "/STACK:1024000000,1024000000")
#include <cstdio>
#include <cstring>
#include <algorithm>
#include <cmath>
#include <iostream>
#include <queue>
#define FI first
#define SE second
using namespace std;
const double EPS = 1e-8;
const int MAXN = 1005;
const double INF = 1e50;
inline double sqr(doubl... |
9d07f0aefc6a95637138091a7d8676691d34ab92 | 2fb6e3860be751132d26502325a0c4559a794217 | /cpac/chef/chficrm.cpp | 39d2a7e3425c31522c1d429b9414851f7e2763cd | [
"MIT"
] | permissive | 00mjk/Allcodes_codeWar | 8af56bf4c74cbdef577fc34d991d6ec88d24c67f | 0dfc3367ecc1df58f502f20ff3d732c49c62f140 | refs/heads/master | 2023-04-18T11:23:41.844829 | 2021-05-09T13:32:40 | 2021-05-09T13:32:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 496 | cpp | chficrm.cpp | #include<bits/stdc++.h>
using namespace std;
#define abhinav ios_base::sync_with_stdio(false); cin.tie(nullptr); cout.tie(nullptr);
#define endl "\n"
#define ll long long int
int main()
{
abhinav;
int t;
cin>>t;
while(t--)
{
int n,i;
cin>>n;
int change=0, val;
string all="YES";
for(i=0;i<n;i++)
{
... |
d40298a5ffb5d8d2f863e96987190df547be22ae | 1db694c43ba7044acf28e4883d0d35213bad3311 | /Cchart/Plot/Extended/ContourLinePlot/ContourLinePlot.h | 93dd3ea6e7883322b9a9361a6acae106a67d2332 | [] | no_license | shanrenshushu/monitor | 0e6af131f41a211006dfd7a88a0f4c41edeb9661 | 7982228bc9d8e9c06ba343cb47c91cfd114a2f96 | refs/heads/master | 2021-06-23T12:09:47.493441 | 2020-10-22T08:31:11 | 2020-10-22T08:31:11 | 130,328,989 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,566 | h | ContourLinePlot.h | /*============================================================================*/
/* */
/* C O P Y R I G H T */
/* ... |
f529623e2abf1279cdc03103967fc6d441115dfa | c5ad8aa67e8f0490e2aa050c92413282b33eb541 | /Item.h | 882e61d1490579b8303531e396e7eba57e48ae00 | [] | no_license | JeffLuoo/CC3K | 2cf2c62782dbbc75022bb1d4e16d385cc42d481f | 84f383cfbeeb7f2bb3a3d5a8cae687805b0c3da8 | refs/heads/master | 2020-03-24T15:31:07.858241 | 2018-07-29T20:40:29 | 2018-07-29T20:40:29 | 142,792,641 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 225 | h | Item.h | #ifndef _ITEM_H
#define _ITEM_H
#include "GameObject.h"
#include <string>
#include <iostream>
class Item : public GameObject {
private:
public:
Item(); // 'P' or 'G' potion or gold
~Item();
};
#endif
|
f4a16781e5a531ef012248ac870eff5d818f43a2 | 5b6f7818038c2c05e16fe7222703af54ac6cac25 | /ACSE5/ACSE5-CW/CSRMatrix.h | f202d7868f299f1a8a6f558107304757efb98301 | [] | no_license | acse-jsy-2020/IC-ACSE | 792a21774a714893433903d48b5248c3bcbd24e0 | 7b9f356e7c29470652bd0bb31a7150a28477cd93 | refs/heads/master | 2023-01-09T12:22:37.119402 | 2020-11-03T06:22:43 | 2020-11-03T06:22:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,411 | h | CSRMatrix.h | #ifndef CSRMatrix_h
#define CSRMatrix_h
#include "Matrix.h"
template <class T>
class CSRMatrix: public Matrix<T>
{
public:
// Explicitly using the C++11 nullptr here
int *row_position = nullptr;
int *col_index = nullptr;
// How many non-zero entries we have in the matrix
int nnzs=-1;
// cons... |
a515c1b492b076b452d82619e6196fb939daf254 | 7a44204672c44e103aad47f3afd18952fbd9afd0 | /src/SupportClasses/FIR_RingBuffer.h | 755adebcc92c767cc2007ba18ff20fa17bcd6e77 | [
"MIT"
] | permissive | AuditoryBiophysicsLab/EarLab | 202acdb79489ea903c20e45239a9a3ba820caeba | bc5ccc39076ee0419078e9ff5147e98f28fac3c9 | refs/heads/master | 2020-04-15T20:45:36.062819 | 2019-07-10T11:54:27 | 2019-07-10T11:54:27 | 27,502,131 | 3 | 1 | null | 2017-06-28T01:53:57 | 2014-12-03T18:47:42 | C++ | UTF-8 | C++ | false | false | 375 | h | FIR_RingBuffer.h | #ifndef __FIR_RING_BUFFER_H_INCLUDED
#define __FIR_RING_BUFFER_H_INCLUDED
class FIR_RingBuffer
{
public:
FIR_RingBuffer(int BufferLength);
~FIR_RingBuffer();
void AddSample(float NewSample);
float &operator[](unsigned int index);
float &operator[](int index);
private:
unsigned int StartIndex, E... |
c85bd79327d0e69ed36c472e0fb60cd8940c050e | 0f4c8d1c6235facbee0614d20a17e97b0caec71b | /Group_the_People_Given_the_Group_Size_They_Belong_To.cpp | ff82afbef2fd9c178423d87b87054a0e7d607e43 | [] | no_license | JerryTheUser/Leetcode | 4875151e17093bbdd315f5e0f2a2184f51eea2ec | b06cbd09113f9d606f50a8c58fd28ad7a80b3414 | refs/heads/master | 2021-06-20T03:20:29.181276 | 2020-12-19T13:03:30 | 2020-12-19T13:03:30 | 141,655,430 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 845 | cpp | Group_the_People_Given_the_Group_Size_They_Belong_To.cpp | #include <iostream>
#include <vector>
#include <unordered_map>
using namespace std;
class Solution {
public:
vector<vector<int>> groupThePeople(vector<int>& groupSizes) {
vector<vector<int>> ret;
unordered_map<int, vector<int>> table;
for(int i=0 ; i<groupSizes.size() ; ++i){
ta... |
bcae8b1baae8ddef94070fc610993fbfd338c730 | 681c697d7b8d757c5f83b71e052636b75d498c03 | /EventRegister.cpp | a331b4826f63d042abaaf88b80ac38df22b069d8 | [] | no_license | OpenGL-Scene-Graph/Mocha-focused-on-geographical-map-displays | 28d346e5f3effd1b3e92bf33ca8436ff5b6b2df7 | 15860ead100c9d175da7c400d0881d0d4ab7fdc5 | refs/heads/master | 2020-09-23T10:02:42.163493 | 2013-01-24T04:46:19 | 2013-01-24T04:46:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,401 | cpp | EventRegister.cpp | #include <EventRegister.h>
namespace Mocha
{
/***************************************/
CEventRegister::CEventRegister()
/***************************************/
{
ClearEventMask();
ClearSelectionMask();
}
/***************************************/
CEventRegister::~CEventRegister()
/***********... |
3e8e0fae3182144ee28bdf6df286bcf47c05ed65 | a1928b1382d8ced1b6e70e42c5b6bc977b7fb487 | /allocore/allocore/math/al_Spherical.hpp | 2671fa4695cce1c968fc495c3e66e774f5bdc6a4 | [
"BSD-3-Clause"
] | permissive | AlloSphere-Research-Group/AlloSystem | 59391f5b1be5e07f3d263875f80b9fe884d420a6 | d559231048e91c51f7f8adf6b1e2ba5a6385bb1e | refs/heads/devel | 2023-09-04T10:55:05.177183 | 2022-02-13T08:36:34 | 2022-02-13T08:36:34 | 3,911,722 | 52 | 24 | null | 2016-12-16T05:58:35 | 2012-04-02T21:16:12 | C++ | UTF-8 | C++ | false | false | 8,403 | hpp | al_Spherical.hpp | #ifndef INCLUDE_AL_SPHERICAL_HPP
#define INCLUDE_AL_SPHERICAL_HPP
/* Allocore --
Multimedia / virtual environment application class library
Copyright (C) 2009. AlloSphere Research Group, Media Arts & Technology, UCSB.
Copyright (C) 2012. The Regents of the University of California.
All rights reserved.
Redistri... |
fcecc85f910905535bf8a8ba101e8842256c28c4 | 603af95665a7432245bc4ced8a00cdc7b009876e | /Menu.h | f23ac1ff418002e78355d1fa6f669994fe4a2a93 | [] | no_license | npbtien1100/DoAn_CTDL | 591b77d219239539c1db74dc02ce27251cadd0ae | 618073f4b1db45e05e45bf1c2492a434a8bf305a | refs/heads/master | 2020-09-06T00:42:40.445715 | 2019-11-07T15:29:17 | 2019-11-07T15:29:17 | 220,261,740 | 0 | 0 | null | 2019-11-07T15:26:11 | 2019-11-07T14:56:56 | C++ | WINDOWS-1252 | C++ | false | false | 346 | h | Menu.h | //
// Menu.h
// Matrix1
//
// Created by Admin on 11/1/19.
// Copyright © 2019 tvt3. All rights reserved.
//
#ifndef Menu_h
#define Menu_h
#include<iostream>
#include"Matrix.h"
#include<vector>
#include"Vector.h"
#include"TEST.h"
#include<Windows.h>
using namespace std;
int ChooseMenu();
void Men... |
c2b1799b849098e36905fccca125cb8ca37b29c3 | dacf17dcc45b8d8a4a8aa9301582ae5e16ea7036 | /psdaq/psdaq/eb/EbLfClient.cc | d440ced0108c4223750e9010772f9cd75cd434b0 | [
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | elliottslaughter/lcls2 | 779a2ec542508f058f1a7e32e29ba429903f1da5 | faecf0387c1fd3a41cf29cb66de702b7b651a60d | refs/heads/master | 2021-06-11T11:26:09.157609 | 2018-10-16T21:57:53 | 2018-10-16T21:58:08 | 113,411,348 | 0 | 0 | null | 2017-12-07T06:21:26 | 2017-12-07T06:21:26 | null | UTF-8 | C++ | false | false | 3,328 | cc | EbLfClient.cc | #include "EbLfClient.hh"
#include "EbLfLink.hh"
#include "Endpoint.hh"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h> // For sleep()...
#include <assert.h>
#include <chrono>
using namespace Pds;
using namespace Pds::Fabrics;
using namespace Pds::Eb;
using ms_t = s... |
ed90c7cfe71c638c56c9e3ff008539780e20e459 | bed05496e526a2716d6aa2ca7904c1b89c9058f3 | /SPOJ/fibonaccisum.cpp | bff9b71faa53b4bd7743d17cc0858f58daac6d85 | [] | no_license | dushyant7917/Competitive-Programming | 2e5b6141e87f42bb5dbb61db3b6bcb383c559c16 | d25bbb12235bdaf42435342e4865b5b0b6b37a31 | refs/heads/master | 2020-06-28T12:05:58.959849 | 2019-08-02T12:24:15 | 2019-08-02T12:24:15 | 200,230,019 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,084 | cpp | fibonaccisum.cpp | #include<bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef double dbl;
#define fr(x,a,b) for(ll x=a;x<b;x++)
#define PB push_back
#define MP make_pair
#define mod 1000000007
#define gmax LLONG_MAX
#define gmin LLONG_MIN
#define INF 2e9
#define N 1000000001
#define MAX(a,b,c) max(max(a,b),c)
#define MI... |
db7a71009e77f34857e99852bc677e95226ccc70 | c4dd387d1a2339c2910370671d4ec04246c402d2 | /SmartPoint/SmartPoint/MainCharacter.h | 84be5726a4b702366faf4c0f17cec864252a8c45 | [] | no_license | liuqiangNetease/SmartPoint | 341c33a83502b27ffc464219352b1ba87d7caf4c | 74b981e1c56992b83ec9f6c25fc144d3c468a12c | refs/heads/master | 2020-03-18T18:55:10.988885 | 2018-10-26T08:10:38 | 2018-10-26T08:10:38 | 135,122,607 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 930 | h | MainCharacter.h | //
// MainCharacter.h
// SmartPoint
//
// Created by liuqiang on 2018/9/12.
// Copyright © 2018年 liuqiang. All rights reserved.
//
#ifndef MainCharacter_h
#define MainCharacter_h
#include <iostream>
#include <memory>
#include <vector>
#include "FollowObject.h"
class MainCharacter
{
public:
MainCharacter()
... |
1a1d4248e9c151f71c7f3bb765d9a17c31f53b8b | 8f50c262f89d3dc4f15f2f67eb76e686b8f808f5 | /Simulation/G4SimCnv/G4SimTPCnv/test/TrackRecordCnv_p1_test.cxx | 349dbe6a1fadfdd1885eed0a1d69dd87d5756620 | [
"Apache-2.0"
] | permissive | strigazi/athena | 2d099e6aab4a94ab8b636ae681736da4e13ac5c9 | 354f92551294f7be678aebcd7b9d67d2c4448176 | refs/heads/master | 2022-12-09T02:05:30.632208 | 2020-09-03T14:03:18 | 2020-09-03T14:03:18 | 292,587,480 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,788 | cxx | TrackRecordCnv_p1_test.cxx | /*
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
*/
/**
* @file G4SimTPCnv/test/TrackRecordCnv_p1_test.cxx
* @author scott snyder <snyder@bnl.gov>
* @date Dec, 2019
* @brief Tests for TrackRecordCnv_p1.
*/
#undef NDEBUG
#include "G4SimTPCnv/TrackRecordCnv_p1.h"
#include "G4SimTPCnv/Tr... |
31ad5ae23d133d6bcd9422c6a56db75498126a80 | 3bca6aed70e802f4ab5410e29ab522456ec5360f | /source/include/ExPROM/EEPROM_Header.cpp | 17234694d01f02c7e58a5c4c071aa3a22c34662b | [] | no_license | mat-cab/ESP8266-Daikin-Remote | f2837b9bb1b0901c9d1fca605d2e1fa775591d4e | efe8189b4a429d7fff5bfab573a21741c595352e | refs/heads/master | 2022-04-26T17:25:26.491659 | 2022-04-23T02:00:33 | 2022-04-23T02:13:53 | 96,718,863 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,297 | cpp | EEPROM_Header.cpp | #include "EEPROM_Header.h"
EEPROM_Header::EEPROM_Header() {
this->reset();
}
void EEPROM_Header::reset() {
// Reset the indexes
this->resetActionIndex();
this->resetMeasurementIndex();
}
void EEPROM_Header::resetActionIndex() {
this->setActionIndex(0);
}
void EEPROM_Header::resetMeasurementIndex() {
thi... |
bf079449975e5ecca590315d0a376e860db9e7e8 | 5e76744b541add1c8c0b1d3b5f071733d75ede74 | /opsin_image.cc | d7305f4eefcee00433e99b5a219d0495b114030b | [
"Apache-2.0"
] | permissive | TiKevin83/pik | 2ea3dfb5e097e95cc57714066b0fe838236cd572 | 56e644f3b7530ea9faeaa32f315329cc98604c2b | refs/heads/master | 2020-03-20T05:35:58.132378 | 2018-07-11T13:08:30 | 2018-07-11T13:08:30 | 137,219,978 | 0 | 0 | Apache-2.0 | 2018-07-11T13:08:32 | 2018-06-13T13:33:02 | C++ | UTF-8 | C++ | false | false | 3,865 | cc | opsin_image.cc | // Copyright 2017 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... |
c3b376cd2c7dd548a320362fae3128522b0fbd07 | b643c0422cc9b5da1c86232928575289473765a1 | /c++/dp/maxTurbulenceSize.cc | 834ca32b5e49ded4f0b83e77e5b1082ce44591c0 | [] | no_license | sjc2870/LeetCode | c63b93db422f680a3d3c3ee138769444e1b64a84 | 752ff83a69ad233651e3c73ae9864a8bcc4a8a9a | refs/heads/master | 2023-05-13T07:30:41.945834 | 2023-05-04T09:00:57 | 2023-05-04T09:01:58 | 274,354,613 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,196 | cc | maxTurbulenceSize.cc | #include <vector>
#include <string.h>
#include <stdio.h>
#include <algorithm>
using namespace std;
/* 算法思想:用一个数组dp来存放当前连续湍流子数组的长度
* dp[i]的默认值为1或者2
* 当计算dp[i]时,我们已知道dp[i-1]的值,如果当前序列可以与上一个数字组成湍流数组,则取一个较大值
* 否则就为默认值
*/
class Solution {
public:
int maxTurbulenceSize(vector<int>& arr) {
int len = arr.size()... |
7e926b102e1a91368e69ed690ed5a682a0b0e95c | 8db57a3f0db771c2924bc10455361c142680d36f | /Workout/test/test.ino | 26b469d1a284b155c6cc8651f12e570061cbc8c6 | [] | no_license | nawavit0/arduino-code | d658df9fb896ae5afb5de3c7e9a58342d3c6af9e | a73452cb519208a7e835946c6d489f4d91facf77 | refs/heads/master | 2020-04-09T05:05:17.209273 | 2018-12-02T14:24:19 | 2018-12-02T14:24:19 | 160,050,612 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 317 | ino | test.ino | #define RX 1
#define TX 3
#include "SoftwareSerial.h"
SoftwareSerial myESP(RX,TX);
void setup() {
Serial.begin(9600);
myESP.begin(9600);
}
void loop() {
if (Serial.available()) {
myESP.write("Tª4100500000MC9--");
while(myESP.available() > 0) {
Serial.println(myESP.read());
}
}
}
|
2e114549beba91b5217c14ef76ff5c502af027ba | f8ca5b99e780f390081b8afd285239326ba589e8 | /src/libsalt/Link.cpp | 25a09af4acb247add687ead237d1e9ee0e03bb7f | [
"Apache-2.0"
] | permissive | ksh1006/traffic-simulator | 4ef36ffbc217d3517fdf051f87572d8620d326c3 | a0f05c6b75d91d6405cbcb60a5d6fadb731f6785 | refs/heads/master | 2023-01-14T07:38:15.837212 | 2020-11-16T01:36:41 | 2020-11-16T01:36:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,331 | cpp | Link.cpp | /****************************************************************************/
// C++ libsalt.link API implementation
/****************************************************************************/
#include <algorithm>
#include <json/json.h>
#include <Object/NetworkManager.h>
#include <utils/ParserSALT.h>
#include <li... |
f4630c6ed83feca3c55a3db514190f09fdac70cc | 39dafc6053082f1b24decda6cb67caa1a65b8463 | /JNIBridgeGenerator/src/main/cpp/com/tecnyse/integration/defines.h | b2e2db7a58e403cae110551492cc3d62c1b5ca63 | [
"Apache-2.0"
] | permissive | geertcl/JNIBridgeGenerator | 86f853a99ab67ea0e62497dabfdbf74a2cdf59c1 | 453693a5ed1d6ecb4c5d6bdf9a7e5171aeec31f5 | refs/heads/master | 2021-04-12T04:28:01.166898 | 2015-06-05T09:25:46 | 2015-06-05T09:25:46 | 35,766,743 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,335 | h | defines.h | /*
* Copyright 2015 Geert Claeys
*
* 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 ... |
543a4af39084a10ff8f5bbbc541c7d8d4e968f38 | 6229b84c47856cc48ff6307448e10b9ac12bde45 | /Contest/MEX Foundation Contest/D.cpp | 1b93028baaabb6952019db6fb055f11bac25cb1d | [] | no_license | ltf0501/NoName | d7498adfbc3b37ebc4408ee9480b2746e250784b | ee2f9d303892cbb3a1d47c89dda47f86dd41a986 | refs/heads/master | 2021-06-29T23:02:15.509131 | 2020-11-06T06:48:13 | 2020-11-06T06:48:13 | 187,497,633 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,744 | cpp | D.cpp | #include <bits/stdc++.h>
using namespace std;
constexpr int kN = 120010, kBlk = 256, kBs = 2 * (kN / kBlk + 5);
struct Block {
int l, r, mn, mx, has_left_mn, has_right_mx;
bool complete, dirty;
vector<int> vals, vals_sorted;
};
void RebuildBlock(Block &blk, bool resort = true) {
static int pref_mn[kBlk], suff_mx... |
9dedfce0cbc176ee93574f77a8446c03fd0fe4ca | 9de7a07060e89bc9c9d57cf62abd77e19b596861 | /Plugins/org.mitk.gui.qt.diffusionimaging.controls/src/internal/QmitkControlVisualizationPropertiesView.cpp | dba1c61daf8b47bbf5be7ae163f779df8cca374d | [] | no_license | MIC-DKFZ/MITK-Diffusion | c2f07bcb14dca635b918cc847b9dc5007f5b748c | 32d7d08ab99b40625e0673628acaa39a75be2ff8 | refs/heads/master | 2023-07-08T21:08:39.592144 | 2023-06-27T10:12:35 | 2023-06-27T10:12:35 | 195,387,051 | 53 | 14 | null | null | null | null | UTF-8 | C++ | false | false | 46,190 | cpp | QmitkControlVisualizationPropertiesView.cpp | /*===================================================================
The Medical Imaging Interaction Toolkit (MITK)
Copyright (c) German Cancer Research Center.
All rights reserved.
This software is distributed WITHOUT ANY WARRANTY; without
even the implied warranty of MERCHANTABILITY or FITNESS FOR
A PARTICULAR P... |
1f851b2a034b60537a734eb4cdf447ef97dc55ad | 393d9799bf6ad23cc5918cd79e9653da7bfc7e86 | /Source/GameMain/MainMenuState.cpp | 47ac7d503a4cc052c43e5ea811b9e1b034777ad9 | [] | no_license | guydunton/asteroids-redux | c8a6d8c34c74491debaad04ad696691cfa2201c6 | 8df333cedb7798b9abcfc995e76ecd339fa2832a | refs/heads/master | 2020-03-22T05:57:16.454810 | 2019-02-17T08:30:20 | 2019-02-17T08:30:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,711 | cpp | MainMenuState.cpp | //-----------------------------------------------------------
// File: MainMenuState.cpp
//-----------------------------------------------------------
#include "MainMenuState.h"
#include "../Graphics/GraphicsDeviceManager.h"
#include "GameStateManager.h"
#include "GameLogic.h"
#include "LevelStartState.h"
#include "C... |
f70fb6023ce646a77eda93da7ecfa7a9c243ec5b | 128a9f1b0a15b39cc5ecb0505255bcad4e4ac216 | /RetoUF4/RetoUF4/Generator.h | dcc040e97cd3b0e8b75f9a4c55df656b726cd444 | [] | no_license | GitRomera/primeroUF4AccesoADAtos | 19ac2984e6e79fd698b7e07f8299417922dc42e1 | c67bfde1f848268d27999c26b7322a060991bb5f | refs/heads/master | 2020-03-20T02:12:30.827213 | 2018-06-12T17:08:11 | 2018-06-12T17:08:11 | 137,103,637 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,076 | h | Generator.h | #pragma once
#include <string>
struct Question
{
int order;
int amountOfAnswers;
std::string text;
};
struct Answer
{
int order;
int relatedQuestion;
int points;
std::string text;
};
struct AnswerPoints
{
int pointsGained;
int relatedQuestion;
};
class Generator
{
public:
Genera... |
17a4f1641b6aebb2f7c8632ba1af98411230a848 | 6f54a292bb4b7251210766096742c24a6a4633a1 | /picoquicfirst/picoquicclientxia.cpp | 479e530e7853d8d962bfc7b307a870fddefcc2b1 | [
"MIT"
] | permissive | XIA-Project/picoquic | df9ee1332b1457d4d15261727ca0390ed2037ae8 | 947fb56d9f8a73ce96507de2fb51121bb4d76051 | refs/heads/master | 2022-05-07T06:18:57.627651 | 2020-06-18T06:02:59 | 2020-06-18T06:02:59 | 170,539,329 | 0 | 2 | MIT | 2020-06-18T06:03:02 | 2019-02-13T16:20:47 | C | UTF-8 | C++ | false | false | 13,706 | cpp | picoquicclientxia.cpp | #include "localconfig.hpp"
// XIA support
#include "xiaapi.hpp"
#include "dagaddr.hpp"
// C++ includes
#include <iostream>
// C includes
#include <string.h> // memset
#include <stdio.h>
#include <pthread.h>
extern "C" {
#include "picoquic.h" // picoquic_create, states, err, pkt types, contexts
//#include "picoquic_... |
34cfe9827a93fa2d0cac6501f81a8a65bb6da84d | faabc45380c3860e3447dc6622f32cfc69f60398 | /1027C.cpp | 080e086636e744e640cd31cc963d52b5bcd28bdd | [] | no_license | salmandotexe/Codeforces | ce2cd4e087911cc4703c1e2a0b2d964fbea3a7b8 | fb71cda1a63751fb1ba78dca80e01903bdc4529e | refs/heads/master | 2021-04-15T04:45:08.212196 | 2021-01-08T17:43:20 | 2021-01-08T17:43:20 | 126,494,526 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19 | cpp | 1027C.cpp |
//WA on Test 4
//
|
f66a118c1aa06a08920b395fe4cc5c3598df5647 | 77ab48a43cfc334904d1d9b059b1a94adfee89b6 | /phase.h | e7cdb523b0a862a3003d887075b5236a04522acd | [] | no_license | wakaba-c/GraduationPresentation | 51bb296344054411d82d31079dbddd3549593cc6 | 0105b580154c026b794c35a698a8c0e9da3ac055 | refs/heads/master | 2023-02-21T20:54:15.829624 | 2021-01-25T15:15:06 | 2021-01-25T15:15:06 | 303,548,547 | 0 | 5 | null | 2021-01-22T06:09:47 | 2020-10-13T00:47:54 | C++ | SHIFT_JIS | C++ | false | false | 1,805 | h | phase.h | //=============================================================================
//
// フェーズ数表示処理 [phase.h]
// Author : masayasu wakita
//
//=============================================================================
#ifndef _PHASE_H_
#define _PHASE_H_
//================================================================... |
fba5f1710a5e95060e5f9b08b8244be3246ef1a9 | 651576d3efdc0852fadc27df033388857b7e58f9 | /teamwork(1)/change_password.h | 13447c81d0adcdbaeed974b72f3897615be5bdeb | [] | no_license | wsx676/919106840138 | d8dc959561c211fce796fa65b13f4c8e0f716c4f | 28d7f93abe825ff1d965e7ab4d79a185d869ef32 | refs/heads/master | 2022-12-20T18:04:25.738676 | 2020-09-26T11:00:42 | 2020-09-26T11:00:42 | 294,738,259 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 474 | h | change_password.h | #ifndef CHANGE_PASSWORD_H
#define CHANGE_PASSWORD_H
#include <QWidget>
namespace Ui {
class change_password;
}
class change_password : public QWidget
{
Q_OBJECT
public:
explicit change_password(QWidget *parent = nullptr);
~change_password();
signals:
void Mysignal();
priv... |
9def16696c29aa03e3d0ef4f79f1854771d4d429 | 5279fdde651ecb50ee7e178a6351156437b7f069 | /BAPSPresenter/BAPSPresenterMainReactions_database.cpp | febc5fe62aa90e9a02926e75c043a6d0ae73ce0b | [
"BSD-3-Clause"
] | permissive | UniversityRadioYork/BAPS2 | 587bb8ed6864e719eca406e31d2c2eda38d0e36a | af80b66cdd7a980cf34714bef7b5260167714ca5 | refs/heads/master | 2022-03-07T16:35:51.735951 | 2019-05-26T19:19:19 | 2019-05-26T19:19:19 | 80,321,106 | 4 | 1 | BSD-3-Clause | 2019-05-26T19:19:20 | 2017-01-29T00:45:05 | C | UTF-8 | C++ | false | false | 2,935 | cpp | BAPSPresenterMainReactions_database.cpp | #include "stdafx.h"
#include "BAPSPresenterMain.h"
using namespace BAPSPresenter;
/** Just pass all the data through to the child form (if present) **/
void BAPSPresenterMain::addLibraryResult(u32int index, int dirtyStatus, System::String^ result)
{
if (recordLibrarySearch != nullptr)
{
MethodInvokerObjObjStr^ m... |
d02d712d7bf77fbcb8c7de6cd4ed7d26fd70a47d | 0fb4a3b4dcbbb5a618ffb255044882025922582f | /src/Frame.hpp | 400e4b50f2ed092cedd996e39936c075ddc86a07 | [
"Apache-2.0"
] | permissive | otaGran/ios-minicap | 678bfb6f96adb95fd17550c1e42831346e4e6a13 | bcd654fb35b756120803ac3f6e6566ee603cf286 | refs/heads/master | 2023-01-24T15:24:54.044094 | 2019-06-11T07:14:57 | 2019-06-11T07:14:57 | 191,316,200 | 1 | 0 | NOASSERTION | 2023-01-11T01:16:37 | 2019-06-11T07:20:42 | C++ | UTF-8 | C++ | false | false | 383 | hpp | Frame.hpp | //
// Created by pavlov on 16/11/16.
//
#ifndef IOS_MINICAP_FRAME_HPP
#define IOS_MINICAP_FRAME_HPP
#include <cstdlib>
enum Format {
FORMAT_BGRA_8888 = 0x01,
FORMAT_UNKNOWN = 0x00,
};
struct Frame {
void const* data;
Format format;
uint32_t width;
uint32_t height;
uint32_t by... |
36282cbb49c4755a6c53914e0cab4cb81d921f08 | 8cfed62f9103b8a5c41a01ca60144f99896b275d | /bspline_isti.cpp | 59bbf6147ee9c33f15b5faffde288e37c457b601 | [] | no_license | liiniix/CG | f402fa30ff3d80dbbfbb5c284cf711332e0773e1 | cbeb73c4328f2e0f72d3f74f0ddccea95a5e168b | refs/heads/master | 2022-12-26T14:23:37.886500 | 2020-09-28T05:47:46 | 2020-09-28T05:47:46 | 234,679,077 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,258 | cpp | bspline_isti.cpp | #if 0
Skip to content
Using University of Dhaka Mail with screen readers
Meet
New meeting
My meetingsNew
Hangouts
2 of 4
Program for drawing rainbow colored B-splines
Inbox
x
Ishtiaque Zahid <ruko97@gmail.com>
Attachments
12:54 PM (1 hour ago)
to Haider
Attachments area
#endif // 0
#include <st... |
90116cb37cf96bddd432ccc482623b2e07198bbc | 6f17641edd2f55f4ebc2352231d91276f7158ca7 | /exercise-02.cpp | 9001a0fcf2f4eb1c9787b5cea4ad6a8d1dfa28b4 | [] | no_license | nadhifalR/strukdat-02 | a213911261e3a22041ccaf56a5c24cc83001da1d | 0a381eeeff3eb509f70c55f42773097080eb064f | refs/heads/master | 2020-04-27T07:01:20.049196 | 2019-03-06T10:39:26 | 2019-03-06T10:39:26 | 174,124,764 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 449 | cpp | exercise-02.cpp | /*
* Author : Nadhifal
* NPM : 140810180048
* Deskripsi :
* Tahun : 2019
*/
#include <iostream>
#include <string.h>
using namespace std;
struct Theater{
int room;
char seat[3];
char movieTitle[30];
};
main(){
Theater theater;
theater.room=7;
strcpy(theater.seat, "J9");
strcpy(theater... |
d38567172854deb351a286b0eb1c37078d113893 | 79e9131a98cee0ffe42774479f5ace379a577738 | /src/Exception.cpp | 8b9206061bedb5ff1827a269bd91b52112530474 | [] | no_license | tangyibo/libcppes | cd7272589fb16500b6471b3fb2d93ffa8c43001b | b9e529bc6baf89ce13e972c36f20797bd2c85aca | refs/heads/master | 2020-03-27T19:47:08.255116 | 2018-09-03T09:02:22 | 2018-09-03T09:02:22 | 147,011,174 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,152 | cpp | Exception.cpp | // Copyright tang. All rights reserved.
// https://github.com/tangyibo/libcppes
//
// Use of this source code is governed by a BSD-style license
//
// Author: tang (inrgihc@126.com)
// Data : 2018/8/2
// Location: beijing , china
/////////////////////////////////////////////////////////////
#include "Exceptio... |
0008ebdd9879db2bfc3698d65cac29ed0aacaae7 | cb21eebdc39d3bcc46e72bd1f1e2a420df12e2b7 | /project-02/mainrun.cpp | 2d9a1ba6962ee16d3de343efe708f543fd86f1a3 | [] | no_license | trigggggy/tie-02206-basic-course-on-programming_s2017 | b2ff56d41c1d4672d6b8d873bd489c8d5e3bb277 | c6649cfc92ae7d8174668e3057810d2b3653dfae | refs/heads/master | 2021-02-11T08:48:46.922005 | 2020-03-02T21:03:56 | 2020-03-02T21:03:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,372 | cpp | mainrun.cpp | //hung.nguyen@student.tut.fi - student id: 272585
//sanghun.2.lee@student.tut.fi - student id: 272571
#include <iostream>
#include "market.hh"
#include "mainrun.hh"
#include "splitter.hh"
void mainRun(market m){
while(1){
string line;
cout<<"product search> ";
getline(cin,line);
i... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.