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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f15ff3a5cbe27501a5a0f445c90a54e338044d62 | 27f18a2edb4db47af9de7875ea85be8caba2f161 | /backpack/backpackwidget.cpp | 9f9e78cda26562c4adc41ade90557adf33dc8412 | [
"Apache-2.0"
] | permissive | Qt-Widgets/Qt-Timeline-Widget | b8298e47abb04288e798dbb3352a2b325385d646 | cedc12f74243fb98bad16caba2bce0fa1c514373 | refs/heads/master | 2022-02-04T15:04:42.816401 | 2022-01-10T17:08:28 | 2022-01-10T17:08:28 | 247,776,852 | 5 | 1 | null | 2022-01-10T17:08:29 | 2020-03-16T17:26:27 | C++ | UTF-8 | C++ | false | false | 10,240 | cpp | backpackwidget.cpp | #include "backpackwidget.h"
BackpackWidget::BackpackWidget(QWidget *parent) : QWidget(parent)
{
initView();
}
void BackpackWidget::setTimeline(TimelineWidget *timeline)
{
this->timeline = timeline;
connect(timeline, SIGNAL(targetItemsChanged()), this, SLOT(autoRefreshTimeline()));
}
void BackpackWidget:... |
9fed6a4923b6d8a47c09d2de585857f0de738d1d | 157c466d9577b48400bd00bf4f3c4d7a48f71e20 | /Source/ProjectR/Table/InAppPurchaseTableInfo.h | c0ad89e93e934c93b25bb6d513c91c1ff962dae9 | [] | no_license | SeungyulOh/OverlordSource | 55015d357297393c7315c798f6813a9daba28b15 | 2e2339183bf847663d8f1722ed0f932fed6c7516 | refs/heads/master | 2020-04-19T16:00:25.346619 | 2019-01-30T06:41:12 | 2019-01-30T06:41:12 | 168,291,223 | 8 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,162 | h | InAppPurchaseTableInfo.h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "Network/PacketDataEnum.h"
#include "SharedConstants/GlobalConstants.h"
#include "InAppPurchaseTableInfo.generated.h"
/**
*
*/
USTRUCT(BlueprintType)
struct PROJECTR_API FInAppPurchaseTableInfo : public FTableRowBa... |
307e1670b774cc7dbe80efb8252e63dcfc3ad4a0 | ff3b513ffe0925bba25cf0af4c62ea846388339b | /VereEngine/GameObjectsProcess.h | 115d557471474219a2b6cd7aaf9ba79d889a8029 | [
"Zlib",
"MIT"
] | permissive | VereWolf/VereEngine | 9b311796fbd2c4919040c8ce93a1272a42713e80 | 6b5453554cef1ef5d5dbf58206806198a3beec35 | refs/heads/master | 2021-07-18T13:32:31.815101 | 2017-12-24T21:15:08 | 2017-12-24T21:15:08 | 94,897,016 | 4 | 1 | null | 2017-11-22T13:09:45 | 2017-06-20T13:55:34 | C++ | UTF-8 | C++ | false | false | 465 | h | GameObjectsProcess.h | #pragma once
#include "pch.h"
class GameObjectsProcess
{
public:
void GiveObject(int id) { m_queue.GiveElement(id); }
int TakeObject();
void NewFrame() { m_curentProcessObjects = 0; }
void SetMaxObjectsInFrame(int n) { m_maxProcessObjects = n; }
int GetMaxObjectsInFrame() { return m_maxProcessObjects;... |
af2d45ea784f943bb0d96571c30bf758de606960 | 7eeae9fa87b4738896d6da779a5550f85fda1f4c | /List/List.h | d392b9ad2aeb1a9edb503acd9f390bd3e87550c4 | [] | no_license | don2101/data_structure | 997b122bbb4ab4b0b57653bdf9674dce6c365ff4 | ab1bbc71c32a2145923afecf1253807d271e0696 | refs/heads/master | 2020-04-24T02:27:35.772166 | 2019-04-01T10:56:33 | 2019-04-01T10:56:33 | 171,637,256 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,136 | h | List.h | //
// Created by student on 2019-02-20.
//
#ifndef APS_ARRAYLIST_H
#define APS_ARRAYLIST_H
#include <cstdio>
#include "listNode.h"
#include "dListNode.h"
class ArrayList {
private :
int *arrayList;
int size;
int top;
public :
ArrayList(int size = 10);
~ArrayList();
void insert(int number);
... |
d8b673cdc6f0d901d8e333e7316742a26ad306c2 | a1f43e71a1c6c8f5978228187bed0f645757fca2 | /include/Defines.h | b8a5a05575cd9a103c8679fa8d0160eea0dc6ab9 | [] | no_license | aglobus/csgo-vtablehook | 4454b3ace3798dba3048f64abbead95412a398bd | ff2be51b8189fda2459677501c20237e261e4cd0 | refs/heads/master | 2021-04-12T10:55:53.299670 | 2018-03-25T21:40:26 | 2018-03-25T21:40:26 | 126,742,648 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 10,135 | h | Defines.h | #pragma once
#include <stdlib.h>
#include <unistd.h>
#include <dlfcn.h>
#include <string.h>
#include <inttypes.h>
#include <pthread.h>
#include <unordered_map>
#include <iostream>
#include "Vector.h"
#define LIBRARY_ADDRESS_BY_HANDLE(dlhandle) ((NULL == dlhandle) ? NULL : (void*)*(size_t const*)(dlhandle))
typedef ... |
b219fc7510557ade0be203a7480c7d3973637886 | 483255eebf46a12460a9349fdfb78a5e7d1c1048 | /developers/SobolevEvolutionProblem/mastersolution/sobolevevolutionproblem.h | fa26c225832ff846fd33be3680355d02245826be | [
"MIT"
] | permissive | erickschulz/NPDECODES | 5460331cb4c608ff922658c9beb1e31b4b6c9b2e | 47b4fe6d60640a10bfe0ed085d67a3ccdadac831 | refs/heads/master | 2023-05-03T09:46:22.047387 | 2023-05-01T07:27:10 | 2023-05-01T07:27:10 | 184,058,364 | 32 | 64 | MIT | 2023-04-28T14:58:23 | 2019-04-29T11:28:34 | C++ | UTF-8 | C++ | false | false | 7,722 | h | sobolevevolutionproblem.h | /**
* @ file
* @ brief NPDE homework about Sobolev evolution problems
* @ author Ralf Hiptmair
* @ date July 2021
* @ copyright Developed at SAM, ETH Zurich
*/
#include <lf/assemble/assemble.h>
#include <lf/base/base.h>
#include <lf/fe/fe.h>
#include <lf/geometry/geometry.h>
#include <lf/mesh/mesh.h>
#include <l... |
118fab17611d917a38f964b01060b4aae9ab9323 | 1833a52e816f9354b519cc0509ac2dcb71a76248 | /installer.cpp | d804e4b2b1534a5ec49380bab1e2d821c1091153 | [] | no_license | Blue-Shark9/smarttech | a784b0f060c17c9434804b7698eef6d0c3b7518c | ca00915b5a04eed0a5bec33fe68357187abda489 | refs/heads/master | 2020-05-05T05:57:35.216407 | 2019-04-06T00:12:00 | 2019-04-06T00:12:00 | 179,770,392 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 941 | cpp | installer.cpp | #include "installer.h"
#include "ui_installer.h"
#include "options.h"
#include <QScreen>
#include <QMessageBox>
Installer::Installer(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::Installer)
{
ui->setupUi(this);
}
Installer::~Installer()
{
delete ui;
}
void Installer::on_btnInstall_clicked()
{
... |
3c5425d14b46603d2c5a996707ba694814046e83 | 1c46dc08cf3d96e02bee0b0a41b4492aacebaf43 | /draw_map.cpp | 6cc50101a829d70ec1adc23528d0e57421df44de | [] | no_license | BurhanMuhyiddin/RRT_RRT_STAR_ALGORITHM_V2 | 53114e0fa6fbdcf5144ebacaf0710c66d12dd343 | 82a6d5036a24740ab93a23fafbeb3364e72a8f7d | refs/heads/master | 2022-11-06T05:29:51.139918 | 2020-06-17T07:11:16 | 2020-06-17T07:11:16 | 271,303,947 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,998 | cpp | draw_map.cpp | #include <iostream>
#include <vector>
#include <gl/glut.h>
#include <gl/GLU.h>
#include <gl/GL.h>
#include <string.h>
#include "draw_map.h"
#include "window_parameters.h"
#include "auxiliary_functions.h"
using namespace std;
extern bool isDrawMap;
extern vector < vector<int> > nodes;
unsigned int map[Y_MAX][X_MAX] =... |
1e7de09fa8b268d0517623886c77b53c1d3eb4e6 | 63a3882b75dd3d41b744d88b531a73b29c4349a6 | /doc/demos/YourEngine/src/main.cpp | 1a7f09782bbe7c8b129d40e51724c661cd2eb39c | [
"MIT"
] | permissive | fredericjoanis/Argorha-Pathfinding | e3b735b5fc5338cf5110badf2cee88bc055fecf9 | c4f9e6e19ceb9a18417893935838070e436d66c7 | refs/heads/master | 2020-05-19T07:43:26.012937 | 2014-11-08T13:19:16 | 2014-11-08T13:19:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,659 | cpp | main.cpp | #include "YourEnginePrePathfindingPhysic.h"
#include "YourEnginePathData.h"
#include "Pre/PathfindingPreCompute.h"
#include "PathfindingAStar.h"
#include "Path/PathfindingPathCardinalSpline.h"
int main()
{
// The zone where the pathfinding will be calculated
Pathfinding::Math::AxisAlignedBox zone( -1000, -100,... |
ad5621a3f06191c5298f444abe5f084f1c3dcefc | 9b2fa8edf2dc5a7e5cf74e4865619d086f6699ad | /WitFX.MT4.Wrapper/Stdafx.h | 6ccbb8d8a0f022751741e45cd6235632c2e7900e | [] | no_license | rebider/ArenaFManagerAPI | 4e8a9abe8148ba401ca26ac6e89be86b65057cd3 | f62e602c159313c39885c64d288d8c3c5b8219f6 | refs/heads/master | 2020-06-19T23:30:32.641140 | 2018-12-11T23:46:37 | 2018-12-11T23:46:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 692 | h | Stdafx.h | // stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently,
// but are changed infrequently
#pragma once
#define WINVER 0x0501
#define _WIN32_IE 0x0600
#include <Windows.h>
#pragma comment(lib,"ws2_32.lib")
#include "MT4ManagerAPI.h"
#incl... |
37e7f26c330d5e739e8c08ee4b8ecc6b266e51c2 | 5713b91dc763d497d2139e7467a9711df17dd98b | /source/vulkan/vulkan_impl_command_list_immediate.cpp | 8ec859b81b227dd3f5cc412ab1c8619c774031ce | [
"BSD-3-Clause",
"MIT"
] | permissive | crosire/reshade | f627a3323debef97ecd02b5d0eeec2a0e0dc32b9 | 9782cea39bcd0d8ae37a38798737f235ce680a5b | refs/heads/main | 2023-09-01T06:50:48.074855 | 2023-08-20T13:09:53 | 2023-08-20T13:09:53 | 61,246,596 | 3,611 | 694 | BSD-3-Clause | 2023-09-14T19:11:04 | 2016-06-15T23:02:16 | C++ | UTF-8 | C++ | false | false | 6,713 | cpp | vulkan_impl_command_list_immediate.cpp | /*
* Copyright (C) 2021 Patrick Mours
* SPDX-License-Identifier: BSD-3-Clause
*/
#include "dll_log.hpp"
#include "vulkan_impl_device.hpp"
#include "vulkan_impl_command_list_immediate.hpp"
#define vk _device_impl->_dispatch_table
reshade::vulkan::command_list_immediate_impl::command_list_immediate_impl(device_impl... |
d1fcfcfa8d03e75e4e2d3546ebe8f3bc3bebd09f | e8ed3c743980a74946a9b35ba3efa3f37b2d0d53 | /app/src/main/cpp/visualizer/window.cpp | 781cfc87b3a5f186e4b0dc38965d0b455be1541f | [] | no_license | pj567/FFmpegAndroid | df37b644ea576c1a22958067f5d03cc7ad1256c9 | 1a9f81ec2fef9d34f3b99424b969dcd4afe198c5 | refs/heads/master | 2023-03-15T14:52:15.616384 | 2022-10-25T09:59:18 | 2022-10-25T09:59:18 | 557,616,877 | 1 | 0 | null | 2022-10-26T01:49:11 | 2022-10-26T01:49:10 | null | UTF-8 | C++ | false | false | 6,880 | cpp | window.cpp | /*****************************************************************************
* window.c : Implementation of FFT window routines
*****************************************************************************
* Copyright (C) 2014 Ronald Wright
*
* Author: Ronald Wright <logiconcepts819@gmail.com>
*
* This program... |
c06bfca68e835878ac533c5bb9611c324f6e1da0 | c51248dd4272a9c2bb5e2eaa42016059c28486a1 | /JiuduOJ/JiuduOJ/题目1082:代理服务器.cpp | c79dd78f3000ce0a904d8921b3b88b99b7194933 | [] | no_license | hhyvs111/JiuduOJ | 700b14ae4d79eda316efb0bf11c6a143fbca861e | b0e4108f551d894e8f1618b5fdf387afba40bbfb | refs/heads/master | 2020-06-26T04:50:15.828664 | 2017-07-14T00:15:39 | 2017-07-14T00:15:39 | 97,003,076 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 682 | cpp | 题目1082:代理服务器.cpp | #include<cstdio>
#include<string>
using namespace std;
#define maxn 1000
int main()
{
int n,m;
char str1[maxn][maxn],str2[maxn][maxn];
while(scanf("%d",&n)==1)
{
for(int i = 0 ; i < n;i++)
scanf("%s",str1[i]);
scanf("%d",&m);
for(int i = 0 ; i < m;i++)
sca... |
82d721ddfba6b0e9e47fad4b21db8affd93e48d3 | bed3ac926beac0f4e0293303d7b2a6031ee476c9 | /Modules/Core/Common/src/itkNumericTraitsPointPixel.cxx | 537b88ffb9dfa70836e95a3b8c23dfeb33b4e1ba | [
"IJG",
"Zlib",
"LicenseRef-scancode-proprietary-license",
"SMLNJ",
"BSD-3-Clause",
"BSD-4.3TAHOE",
"LicenseRef-scancode-free-unknown",
"Spencer-86",
"LicenseRef-scancode-llnl",
"FSFUL",
"Libpng",
"libtiff",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-other-permissive",
... | permissive | InsightSoftwareConsortium/ITK | ed9dbbc5b8b3f7511f007c0fc0eebb3ad37b88eb | 3eb8fd7cdfbc5ac2d0c2e5e776848a4cbab3d7e1 | refs/heads/master | 2023-08-31T17:21:47.754304 | 2023-08-31T00:58:51 | 2023-08-31T14:12:21 | 800,928 | 1,229 | 656 | Apache-2.0 | 2023-09-14T17:54:00 | 2010-07-27T15:48:04 | C++ | UTF-8 | C++ | false | false | 1,806 | cxx | itkNumericTraitsPointPixel.cxx | /*=========================================================================
*
* Copyright NumFOCUS
*
* 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
*
* https://www.apache.o... |
35e7bdc81b0ceec52f6faefa23a022cb7dd08eb1 | effd78dfe4775d73c695dcd896d9369037eaaa7c | /src/resourcemodel.cpp | af4d46575d0ed6c1142863a8e7446a1b8e19f570 | [] | no_license | freeserf/fsstudio | 88961da7c55d6e14056c028c942b967c206f24ff | 61d7755f175feca41eab5a4cad42a17d5af4e8d4 | refs/heads/master | 2021-01-19T08:30:30.559968 | 2020-05-10T22:00:36 | 2020-05-10T22:00:36 | 87,639,712 | 2 | 2 | null | 2020-05-10T22:00:37 | 2017-04-08T14:28:51 | C++ | UTF-8 | C++ | false | false | 3,883 | cpp | resourcemodel.cpp | /*
* resourcemodel.cpp - FSSResourceModel implementation
*
* Copyright (C) 2016 Wicked_Digger <wicked_digger@mail.ru>
*
* This file is part of FSStudio.
*
* FSStudio 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 Softwa... |
c2f898d6f60faccb427f23451e68adaa133a895f | 89f1b76f21bff215377aac26077a8c38c01bda89 | /src/cpp/main.std.stl.NN.layers.vararg.cpp | 5bb4e188b9ce18a151fe241ba4b9d12ed7372d3d | [
"BSD-2-Clause"
] | permissive | rgr19/Boost_OpenMPI_GoogleTests_Examples | 5f26b8c1b2e9da1a3a2fdf2f90924ad7eb86db4d | 86613be270e433f25f6d5b9b8e6f3be4c2d0e889 | refs/heads/master | 2020-06-22T05:52:12.724754 | 2019-07-18T20:05:21 | 2019-07-18T20:05:21 | 197,649,652 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,358 | cpp | main.std.stl.NN.layers.vararg.cpp | #include <vector>
#include <iostream>
#include <map>
#include <cstring>
#include <list>
#include <memory>
#include <chrono>
#include <thread>
#include <cassert>
#include <csignal>
#include <cmath>
#include <variant>
#include <random>
#include <algorithm>
#include <numeric>
#include <iterator>
#include <fstream>
#includ... |
62a8cf4bde83a1884da7cacfae0e3e0273ccb2c8 | f0cc1d09a4b32487454dbfee55e275210907e64b | /StreetDesigner/VBORoadGraph.cpp | 14b9de8ee27a756448509a75b1da5f6ec8b5dc79 | [] | no_license | gnishida/StreetDesigner | ace8833d6c93f80a4b759fb6d5064ac9f78b6d8c | 16d7797bec38bcb2c9e0b8b02d9f6cae2744c5ca | refs/heads/master | 2021-01-21T07:54:07.224618 | 2014-05-11T23:47:33 | 2014-05-11T23:47:33 | 17,576,760 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,202 | cpp | VBORoadGraph.cpp | /************************************************************************************************
*
* @desc Class containing the road graph
* @author igarciad
*
************************************************************************************************/
#include "VBORoadGraph.h"
#include "VBORenderManager.h"
#... |
e94f3ca736aed023d99a13a441afb9b564e38159 | 3c1f6ad876191f4abba4fb1ffbdc3180e3647de8 | /pbase.h | 131345420dcebbd82b42a548da6ee7d3d850ee43 | [] | no_license | bigtit/ps3checker | 0add3ddc4ec41360edc5e409dbb298fe4f37b1f7 | 61e866330569274caae14aa8bbe5a6cd552cfd9c | refs/heads/master | 2020-03-29T14:25:11.548702 | 2015-06-23T13:01:08 | 2015-06-23T13:01:08 | 37,535,158 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 124 | h | pbase.h | #include <iostream>
#include <vector>
#include <algorithm>
namespace pbase{
bool swap_bytes(std::vector<char>& pdata);
}
|
bfe7e6db05e9a1f1ea4a8888fa86e1b75bce19fa | a7454b0d4dddec98a4fd41ca2b2dfda1401e3302 | /raspi/src/rotary_inc.cpp | a90281bbffc98f694138a59640c102138b6ff132 | [
"MIT"
] | permissive | robocon-akashi-bteam/basic_utility | 7049f106ceb670514749bc2c3dda4949df5369b6 | bb77a4014fbbb7c067431be6de92d2f900c69cc9 | refs/heads/master | 2020-07-08T04:23:31.430577 | 2019-09-03T15:54:35 | 2019-09-03T15:54:35 | 203,563,671 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,422 | cpp | rotary_inc.cpp | #include "../include/pigpiod.hpp"
#include "../include/rotary_inc.hpp"
#include <pigpiod_if2.h>
#include <ros/console.h>
using ros::Pigpiod;
using ros::RotaryInc;
RotaryInc::RotaryInc(int user_A, int user_B, int multiplier) {
pin_A_ = user_A;
pin_B_ = user_B;
gpio_handle_ = Pigpiod::gpio().checkHandle();
Pi... |
0bf92cad13e08df1b94cf123539826b6ce1c0d59 | f98bd6952f669f648d3d3f18c027f29e73ea192a | /leetcode-67.cpp | 6dafd933688226c987db53281840e09c52dd49fa | [] | no_license | breastcover/LeetCdoe | 5aa63f632b1e35c1e0e5c74c1f858e4f14a81c95 | 81e2b692dfa177044957cd8a0ab70363e5e5e2dc | refs/heads/master | 2021-06-17T16:56:56.450246 | 2020-11-01T13:56:06 | 2020-11-01T13:56:06 | 144,120,922 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 371 | cpp | leetcode-67.cpp | class Solution {
public:
string addBinary(string a, string b) {
int n=a.size()-1,m=b.size()-1;
int carry=0;
string s="";
while(n>=0||m>=0||carry==1)
{
carry+=n>=0?a[n--]-'0':0;
carry+=m>=0?b[m--]-'0':0;
s=to_string(carry%2)+s;
c... |
20adb3d539205fb5c0bb7140294a1efe57fd891b | 092dd56a1bf9357466c05d0f5aedf240cec1a27b | /libsrc/pylith/problems/Problem.cc | de1380ee376f87c242134e688fef66999f26dc17 | [
"MIT"
] | permissive | rwalkerlewis/pylith | cef02d5543e99a3e778a1c530967e6b5f1d5dcba | c5f872c6afff004a06311d36ac078133a30abd99 | refs/heads/main | 2023-08-24T18:27:30.877550 | 2023-06-21T22:03:01 | 2023-06-21T22:03:01 | 154,047,591 | 0 | 0 | MIT | 2018-10-21T20:05:59 | 2018-10-21T20:05:59 | null | UTF-8 | C++ | false | false | 25,272 | cc | Problem.cc | // -*- C++ -*-
//
// ======================================================================
//
// Brad T. Aagaard, U.S. Geological Survey
// Charles A. Williams, GNS Science
// Matthew G. Knepley, University at Buffalo
//
// This code was developed as part of the Computational Infrastructure
// for Geodynamics (http://... |
5e74ff3e561449c3d04615d0e641dfc943a7db97 | 5c6b490aed348659b40d23941d12fe705386ca84 | /AR furniture/iOS build/Classes/Native/Unity.XR.Interaction.Toolkit1.cpp | 90c42dd05f50db0d9156b9fa8f7628431bd4d0bf | [] | no_license | taekyunJason/05-2.AR_Furniture | ed075590345c9f096fee27046718cffaecbfefe8 | 29f667a646d2d8dbedb428162845947c35de86a7 | refs/heads/main | 2023-07-24T02:26:23.411033 | 2021-09-03T00:18:29 | 2021-09-03T00:18:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,319,056 | cpp | Unity.XR.Interaction.Toolkit1.cpp | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <limits>
#include <stdint.h>
struct VirtualActionInvoker0
{
typedef void (*Action)(void*, const RuntimeMethod*);
static inline void Invoke (Il2CppMethodSlot slot, RuntimeObject* obj)
{
const VirtualInvoke... |
40bd0de984c2d8f21a7ac8afcd8789daba6b5f37 | 6150f5bfbecf86305e1ff0bc18efc1cec3acff64 | /DESERT_Framework/DESERT/physical/uwahoimodem/ahoitypes.h | 6347887c178d20e22ef039abbdf21b7bde678604 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | obolo/DESERT_Underwater | 7938f5a9b195eb00104297525f3120ad864480d0 | 0a5ea70a61ad65e682f1340ba30bf9e36b782558 | refs/heads/master | 2023-02-08T12:31:47.466974 | 2023-01-22T22:57:29 | 2023-01-22T22:57:29 | 382,600,706 | 0 | 0 | BSD-3-Clause | 2021-12-17T00:12:59 | 2021-07-03T11:40:18 | null | UTF-8 | C++ | false | false | 6,865 | h | ahoitypes.h | //
// Copyright (c) 2019 Regents of the SIGNET lab, University of Padova.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
// 1. Redistributions of source code must retain the above copyrigh... |
5df3d34372e34e4c0d59ba02e05ec0e64487f31a | 3ae80dbc18ed3e89bedf846d098b2a98d8e4b776 | /src/Media/VideoFilter/UVOffsetFilter.cpp | 54d517976ca3dffad565ce757659b90981521615 | [] | no_license | sswroom/SClass | deee467349ca249a7401f5d3c177cdf763a253ca | 9a403ec67c6c4dfd2402f19d44c6573e25d4b347 | refs/heads/main | 2023-09-01T07:24:58.907606 | 2023-08-31T11:24:34 | 2023-08-31T11:24:34 | 329,970,172 | 10 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 2,762 | cpp | UVOffsetFilter.cpp | #include "Stdafx.h"
#include "MyMemory.h"
#include "Media/VideoFilter/UVOffsetFilter.h"
void Media::VideoFilter::UVOffsetFilter::ProcessVideoFrame(UInt32 frameTime, UInt32 frameNum, UInt8 **imgData, UOSInt dataSize, Media::IVideoSource::FrameStruct frameStruct, void *userData, Media::FrameType frameType, Media::IV... |
371cccbc5c5f981f8763b492e75bf80ca576cfe3 | 15abfc1e458635249d1c082a3ccba68bbfa5f89c | /src/glpp/utils/info.hpp | 973c591f7e31cbf92f042011310671a5b9557d2c | [
"MIT"
] | permissive | sque/glpp | 7e301e8ee57e3d91cc70b6823911b1670c938c7d | f2ffee025e4925d9986023bf3a9d1f21687890b8 | refs/heads/master | 2020-04-23T20:59:50.841865 | 2017-02-10T16:46:27 | 2017-02-10T16:46:27 | 8,701,998 | 11 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 2,687 | hpp | info.hpp | /**
* Copyright (c) 2012 Konstantinos Paliouras <squarious _ gmail _dot com>.
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the ... |
af599f58c757ac09d641ef46c2d948c44ab19c6b | b9404a88c13d723be44f7c247e1417689ce7981a | /SRC/Set/Manifold/Manifold.h | 3a9ebc51f3541789e83f8ce3458b59d8077ed9c0 | [
"BSD-2-Clause"
] | permissive | bxl295/m4extreme | c3d0607711e268d22d054a8c3d9e6d123bbf7d78 | 2a4a20ebb5b4e971698f7c981de140d31a5e550c | refs/heads/master | 2022-12-06T19:34:30.460935 | 2020-08-29T20:06:40 | 2020-08-29T20:06:40 | 291,333,994 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,213 | h | Manifold.h | // Manifold.h: interface for the Manifold class.
// Copyright (c) 2017-2018 Extreme Computation Technology and Solutions, LLC
// All rights reserved
// see file License.txt for license details
//////////////////////////////////////////////////////////////////////
#if !defined(SET_MANIFOLD_H__INCLUDED_)
#define S... |
23246a8f8502f09163c9c9f44bd46e2be44b20f0 | 379ab7d0e4b1539bfb2e0c7064da96a2727d2233 | /W03/myCheck03a.cpp | a8649b8e757bc2567d6f5ffe10b30de683a18ae5 | [] | no_license | RationalSolutions/cs165 | 89c314824446afad67cbbf2edce86a7f19d2a5fc | 3b243ad9d1acdad7e8470fd7e350c6ba133e2f33 | refs/heads/master | 2020-05-18T14:35:43.882036 | 2019-12-17T03:45:53 | 2019-12-17T03:45:53 | 184,476,795 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,504 | cpp | myCheck03a.cpp | /***********************************************************************
* Program:
* Checkpoint 03a, Exceptions
* Brother Alvey, CS165
* Author:
* Coby Jenkins
* Summary:
* Summaries are not necessary for checkpoint assignments.
* ***********************************************************************/
#i... |
a47ee7fcfcf9045cb1bb27af7196ded37c9b755f | b0cb567d6075a7e94617b922031bf62e00b08ba5 | /TremoloEffectNode/src/TremoloEffectNodeApp.cpp | 20a817d713a5cb4e285c6da03b864b564b5b4ee4 | [
"MIT"
] | permissive | jeremyfromearth/boing-boom-tschak | fe2e7aaf1dead0ea9a8dac6345fe0d70e744227f | 0bd9ab12ffe090f9f001efe8436f016e65a75e6d | refs/heads/master | 2021-06-12T18:23:49.586697 | 2017-04-25T05:11:39 | 2017-04-25T05:11:39 | 49,552,480 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,139 | cpp | TremoloEffectNodeApp.cpp | #include "cinder/app/App.h"
#include "cinder/app/RendererGl.h"
#include "cinder/gl/gl.h"
#include "cinder/audio/Context.h"
#include "cinder/audio/GainNode.h"
#include "cinder/audio/GenNode.h"
#include "cinder/audio/Node.h"
using namespace std;
using namespace ci;
using namespace ci::app;
using namespace cinder::audio... |
fa9e71d41e65764fb46c3184edcca9f2858a6c3c | 2277375bd4a554d23da334dddd091a36138f5cae | /Source/Primitives/Puppet.cpp | b62297d79928a106bc9e26c25461eed53276e30e | [] | no_license | kevinmore/Project-Nebula | 9a0553ccf8bdc1b4bb5e2588fc94516d9e3532bc | f6d284d4879ae1ea1bd30c5775ef8733cfafa71d | refs/heads/master | 2022-10-22T03:55:42.596618 | 2020-06-19T09:07:07 | 2020-06-19T09:07:07 | 25,372,691 | 6 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 1,245 | cpp | Puppet.cpp | #include "Puppet.h"
#include <QTimer>
Puppet::Puppet( GameObject* go, Variable val, const vec3& speed, float duration /*= 0.0f*/ )
: m_target(go),
m_variable(val),
m_speed(speed),
m_duration(duration),
m_updateRate(0.016f)
{
// if a duration is assigned, destroy the thread when timed out
if (duration > ... |
f4aa6b74c6bcab81d4d70d643a0a8ee670db1a85 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/rsync/gumtree/rsync_function_309.cpp | 259d138e85f0ae11818a21ddfea0b5e8e3dd865a | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 210 | cpp | rsync_function_309.cpp | static int match_file_name(char *fname,struct stat *st)
{
if (check_exclude(fname,local_exclude_list)) {
if (verbose > 2)
fprintf(FERROR,"excluding file %s\n",fname);
return 0;
}
return 1;
} |
9b71599012cdc84dd43f62bf90ff41b854b9c729 | 5475d17b3ed14195b33d483845831adaf8fa90f1 | /2dT.cpp | e57487564283cd897e1ae90ba34c8f1048b4d54e | [] | no_license | prinzz1208/acad-ComputerGraphics | 0ac16c37bab61a0580ad2b3752a9f6f279f12256 | 87a60add766cdab387fc89c59ba4425a53fd032f | refs/heads/master | 2022-11-10T16:08:29.062073 | 2020-06-25T13:37:30 | 2020-06-25T13:37:30 | 258,469,717 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,528 | cpp | 2dT.cpp | #include <iostream>
#include <math.h>
#include <GL/glut.h>
#define _USE_MATH_DEFINES
#define M 20
#define N 20
using namespace std;
float xPos=-5;
int inputM[M][N];
int outputM[M][N];
int n = 0;
void show(int n)
{
cout<<endl;
int x = 0,y = 0;
for (int i = 0; i < n; i++)
{
for (int j = 0; j < 3; j++)
switch (j... |
5a8f57225b3e60a0a7d6cf2008af6f8021b1267d | 105c8b984d29ec7949fca2fc15cd63831edbf537 | /CIS2013_Week09_Lab1.cpp | 34cc632896c1a461a9bdb707161fa81cd7e4db1c | [] | no_license | sonnyicks/CIS2013_Week09_Lab1 | 9de3ec36cb5897e66f13099f82eacb60f327128e | cf69fd12c374be561154b6d35c78eb6b5b47c996 | refs/heads/master | 2021-04-06T06:24:31.000666 | 2018-03-15T01:25:51 | 2018-03-15T01:25:51 | 125,293,879 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 442 | cpp | CIS2013_Week09_Lab1.cpp | #include <iostream>
#include <string>
using namespace std;
int main(){
string test = "Sonny";
cout << test << endl;
test = "Icks";
cout << test << endl;
cout << " The length of test is: " << test.length() << endl;
cout << " The 3rd char is: " << test[2] << endl;
for (int i=0; i<test.length(); i++){
cout << " You sp... |
1b5026836f10c0cacffecd70094ba38f0cd6d8ae | 2115644c20007f31b4efeb1ea309f33eec382621 | /src/graph/code/cpp/graph_view.cpp | d3f2a540e17f77bc6e56e475726e8d188fc349da | [] | no_license | ongbe/xchart | a433f76a2a5a37c35319e86b3152e805de24e91b | 612357b4dc6339bbcdba1eda72c9ef62260ec580 | refs/heads/master | 2020-12-25T17:44:37.122349 | 2013-01-31T02:24:07 | 2013-01-31T02:24:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,698 | cpp | graph_view.cpp | #include "graph_view.h"
#include "graph_renderer.h"
#include "igraph_interactive_renderer.h"
#include "graph_qt_renderer.h"
#include "graph_qt_interactive_renderer.h"
#include "graph_doc.h"
#include "graph_data.h"
#include "graph_handle.h"
#include "graph_object.h"
#ifdef GRAPH_PATH_RENDERER
//#include "graph_path_ren... |
18b28b807a824943582d429eb0614bf79aed9737 | 8438ba4a65b4b587271ee7d9a7cbe63ee594af0d | /Shader.hpp | eee366484f03c2e5e7da05513ea2a5f2b427152f | [] | no_license | LGriggles/3DGameEngine | 1531b74b6c0bdef511eed1498a8daf3c8d526391 | e98da894655bfb073f934d0c6619ef573db5713d | refs/heads/master | 2016-09-06T17:42:40.785926 | 2015-03-29T01:51:44 | 2015-03-29T01:51:44 | 30,948,327 | 2 | 5 | null | 2015-03-28T17:29:27 | 2015-02-18T02:09:27 | C++ | UTF-8 | C++ | false | false | 1,449 | hpp | Shader.hpp | #ifndef SHADER_HPP
#define SHADER_HPP
//C++
#include <cstdio>
#include <cstdlib>
#include <iostream>
#include <fstream>
#include <sstream>
#include <map>
#include <string>
using std::ifstream;
using std::string;
using std::map;
//GLM
#include <GL\glew.h>
#include <glm.hpp>
/*! Handles shader creation */
class Shader
... |
22f85e66bf6297fbcd63a0e04660c502242f0388 | 8ea3fac40c8c61bdd29c5546629a74ac69d4071c | /Proj1/Orange.cpp | fc11741eba422eb963f4f27817d4ffd664005d22 | [] | no_license | luisfsantos/CG-2015 | 17baa14546c5e913a40721de30a276adee0d5adf | 7b113fd5217967f7a2ff23be2ef4fb9c2d1ffa7f | refs/heads/master | 2020-05-28T11:50:01.532460 | 2015-11-23T18:32:16 | 2015-11-23T18:32:16 | 43,371,881 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,972 | cpp | Orange.cpp | //
// Orange.cpp
// Proj1
//
// Created by Luis Santos on 28/09/15.
// Copyright © 2015 Luis Santos. All rights reserved.
//
#include "Orange.hpp"
Orange::Orange() {
}
Orange::Orange(double x, double y, double z, double radius) {
_radius = radius;
_position.set(x, y, z);
setBoundingBox(_radius, _rad... |
156413ced53f9022ac130c896786aa3e8effe026 | 427c347634cd17e47b8f9d0b4493bbcf02df1632 | /MEIClient/AMTHIClient/Src/StartConfigurationExCommand.cpp | 57bc8285a1ddfd8145291dbd7984a95af1151244 | [
"Apache-2.0"
] | permissive | conceptslearningmachine-FEIN-85-1759293/lms | 8aa9e8ed61b65a89676106d2f73736a3e1733e48 | f90fa51f07514b7644cc57846c90e46b146b23ae | refs/heads/master | 2022-02-03T16:21:36.836695 | 2019-08-01T09:49:50 | 2019-08-05T05:52:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,228 | cpp | StartConfigurationExCommand.cpp | /* SPDX-License-Identifier: Apache-2.0 */
/*
* Copyright (C) 2010-2015 Intel Corporation
*/
/*++
@file: StartConfigurationExCommand.cpp
--*/
#include "StartConfigurationExCommand.h"
#include <string.h>
using namespace std;
using namespace Intel::MEI_Client::AMTHI_Client;
StartConfigurationExCommand::StartConfig... |
02134606880837c0483466311ec3ed409a09c4b7 | f6d5e525335ed4033775e72fb13652851ab3fed4 | /sqrt(x)/sqrt(x).cpp | b9310841330ab3c900435710a7c02ba3d84f61dd | [] | no_license | weekend27/leetcode | 51bf19efa677e785d16777ba1ffc6b647f1b3cd5 | c8fe5170cf2d0b5b5287833e47d49f8a97c0844a | refs/heads/master | 2020-04-06T15:00:35.701006 | 2016-09-15T09:40:55 | 2016-09-15T09:40:55 | 46,421,231 | 14 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 908 | cpp | sqrt(x).cpp | // Source : https://leetcode.com/problems/sqrtx/
// Author : weekend27
// Date : 2015-12-24
/**********************************************************************************
Implement int sqrt(int x).
Compute and return the square root of x.
**********************************************************************... |
344a4fbb20428e8592de379bdacfb5f80fbbc135 | 9435c95e85123c6004076ab2ef9ce357d676909e | /src/System/iScript.cpp | 9e29bfddadf8b65f33936f721cc8a1fba10e4818 | [] | no_license | bodusb/UI_Mestrado | 0420aab66cdbc585282083a1aed2e18c013b4a32 | 52ba0b00a5c9dad20ce15d613279df349afd7679 | refs/heads/master | 2021-01-21T10:46:33.692347 | 2017-02-28T22:50:10 | 2017-02-28T22:50:10 | 83,487,166 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 324 | cpp | iScript.cpp | ///////////////////////////////////////////////////////////
// iScript.cpp
// Implementation of the Class iScript
// Created on: 06-set-2013 14:20:12
// Original author: Christopher
///////////////////////////////////////////////////////////
#include "iScript.h"
iScript::iScript(){
}
iScript::~iScript()... |
c2f82a1dbed688b6038c7c5206e3524310d02a78 | 31e658bea4044cee0a07eff023106673521566ca | /Algo/bridge.cpp | eebc4581a97bb682affc4727aec137724d0ce719 | [] | no_license | HelloKuldeep/_temp-public | a256a03ba1c0ca33a29e57504a04a9139221f5a5 | 5bf485dccdeb250a2d0316ab85d9d1b3e6927c78 | refs/heads/master | 2020-04-07T09:43:15.544019 | 2018-11-19T16:32:32 | 2018-11-19T16:32:32 | 158,262,675 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,182 | cpp | bridge.cpp | // O(v+e)
#include<bits/stdc++.h>
using namespace std;
#define rep(i,a,b) for(int i = a; i < b; i++)
#define XL printf("\n")
#define S(x) scanf("%d",&x)
#define S2(x,y) scanf("%d%d",&x,&y)
#define P(x,y) printf("%d %d\n",x,y)
vector<int> visit,dist,parent,low; int V,e;
vector<pair<int,int> > bridge;
void trav... |
3d4197acb754472dddbf19e3ee7db3ea80a71a49 | be7a45fa11de12a6f61f3039151c7cf81bc359a6 | /bench/main.cpp | 9f480e4d7033ec2983af0c1d2c769135342c06dd | [
"MIT"
] | permissive | thedanschmidt/ximd | 155c7c6cfa6e0c564051a8e9719247dbc75c999f | 0e9b03bdc08aa540f22c0c263deeff27113b2ccf | refs/heads/main | 2023-01-03T15:48:01.003198 | 2020-10-26T05:24:44 | 2020-10-26T05:24:44 | 306,144,299 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,262 | cpp | main.cpp | #include <iostream>
#include <string>
#include <string.h>
#include <benchmark/benchmark.h>
#include "ximd_ascii.hpp"
using namespace ximd;
void gen_long_test_str(char* buff)
{
const char* test_str = "a (noT So) Carefully conStruCted test sTr";
size_t len = strlen(test_str);
for (size_t i=0; i < 4096 / len; ++... |
b22e144e0b564c544c3a363d8a5428ad84e30984 | e91b7432ac78b5aae4d9b47d1d23fbe71e39f08f | /contrib/yarsClient/YarsClientMainWidget.cpp | de11958dbd994a43120d5057e8e7a3498ea0f8e9 | [
"MIT"
] | permissive | kzahedi/YARS | 90818b69c3fee12b3812b52f722ac52b728f064b | 48d9fe4178d699fba38114d3b299a228da41293d | refs/heads/master | 2020-05-21T03:29:48.826895 | 2019-04-24T13:44:25 | 2019-04-24T13:44:25 | 64,328,589 | 4 | 1 | null | 2017-02-23T19:55:08 | 2016-07-27T17:30:54 | C++ | UTF-8 | C++ | false | false | 975 | cpp | YarsClientMainWidget.cpp | #include "YarsClientMainWidget.h"
#include "ControlWidget.h"
#include "YarsControlWidget.h"
#include "CanvasWidget.h"
#include "StatusBarControl.h"
#include "InputPanel.h"
#define __MAIN_WIDTH 440
#define __MAIN_HEIGHT 350
YarsClientMainWidget::YarsClientMainWidget()
:QMainWindow()
{
setWindowTitle(QString("YAR... |
24ba8bd2579d2b2ed3833d89eaff1ae4256ac7b3 | a77f6c76114b62bbc5cefed05476e7b7b093496e | /ultrasonic.h | 363e76a76209f9e9d20eb349a65fe64801dcf56e | [] | no_license | ThoriatedFlash/ARC | d6e64b69d15387565807dd34ea57e6f0c2e3f79d | 69411f5b7bb26ddd0ad2ed495bb4671e6cbe231f | refs/heads/master | 2023-01-23T15:41:46.362922 | 2020-11-25T01:26:58 | 2020-11-25T01:26:58 | 293,383,208 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,163 | h | ultrasonic.h | /* Easy Ultrasonic Reader
* Written by Isaiah Knorr
* 21 October, 2020
*
* For use with the HC-SR04 Ultrasonic module
*/
#ifndef ULTRASONIC_H
#define ULTRASONIC_H
class Ultrasonic {
private:
int triggerPin;
int echoPin;
public:
Ultrasonic();
Ultrasonic(int triggerPin,int... |
bbe0014af3ee30d405db4ebec68752fc5375bda0 | 4a0e4eee641fc1a9e554224f9758a2b975fabcbc | /Diferential Equations/Euler.cpp | aa81d5165f5b602174bb6d261b021bc7001f398a | [] | no_license | GeraJuarez/numerical-methods | 3566cbdb1f325968dcd4572b882732e6446b9692 | 8afab7cd8b757f06b36cf43dc98cceaa2d1d8e99 | refs/heads/master | 2021-06-16T13:31:00.557203 | 2017-05-07T00:43:34 | 2017-05-07T00:43:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 770 | cpp | Euler.cpp | #include <iostream>
#include <cmath>
using namespace std;
double df( double x ) {
return - ( 2* pow (x, 3 ) ) + ( 12 * pow( x, 2 ) ) - ( 20 * x ) + 8.5;
}
double euler( double x0, double y0, double xDeseada, double h ) {
double y1;
while ( x0 < xDeseada ) {
cout << "x:" << x0 << "\ty:" << y0 ... |
53d87cf6eef862f4b25b0b49fa578e02e0a4e0b9 | 748ae5463007deeeadb37a0cab797e251fc7b41f | /aadcUser/frAIburg_ObjectDetection/object_detection.cpp | 25f41d6c138df4fadb5041993985838598d9c239 | [
"BSD-3-Clause"
] | permissive | PhilJd/frAIburg | 30682c866728a6b64545b5194b753fad62674f18 | 7585999953486bceb945f1eb7a96cbe94ea72186 | refs/heads/master | 2021-04-25T12:47:24.859040 | 2019-03-23T10:29:02 | 2019-03-23T10:29:02 | 110,755,031 | 10 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 30,907 | cpp | object_detection.cpp | /**********************************************************************
Copyright (c) 2017, team frAIburg
Licensed under BSD-3.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistribution... |
5fed8be842d852ecd2d667d5dd567352d7ce293e | 19c7e0531498892328f5c6581de6f09175c6c1f7 | /src/fakesim.h | 30628ebd407e57275baefcfc17058d0049abc221 | [] | no_license | mls-m5/coppelia-simulator-api | e347f6adf9c11d9efa676293e17875af30d88e58 | b9ddeb21c457ef681f858a61901eeac4979ac6c4 | refs/heads/master | 2022-08-03T07:22:50.626868 | 2020-05-25T07:27:11 | 2020-05-25T07:27:11 | 263,713,323 | 0 | 0 | null | 2020-05-13T20:42:08 | 2020-05-13T18:34:59 | C++ | UTF-8 | C++ | false | false | 88 | h | fakesim.h |
#pragma once
#include "isimclient.h"
std::unique_ptr<ISimClient> createFakeClient();
|
a8ba28e07e939da67801e75ee95acf9d2c25cdcb | e45583762b5f2ae3166f0365df0c5edd98b82f6b | /NETWorker.h | bab53bdbe81175f49f3f25ee3ff91e07a611238c | [] | no_license | zadockmaloba/QtWeatherApp | 149d8cc02695667b90637c70e2acb5aa3b901e47 | 3fd2504c1efa87875cc8b832f4f7caa49658a2d9 | refs/heads/master | 2022-11-10T03:22:19.290076 | 2020-06-28T07:39:14 | 2020-06-28T07:39:14 | 275,129,074 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 806 | h | NETWorker.h | #pragma once
#include <qobject.h>
#include <curl/curl.h>
#include <curlpp/cURLpp.hpp>
#include <iostream>
#include <sstream>
#ifndef ERRLOG(x)
#define ERRLOG(x) std::cout<<"[ERROR] "<<x<<std::endl;
#endif // !LOG(x)
class NETWorker : public QObject
{
Q_OBJECT
private:
struct weatherInfo
{
std::string maxTemp, min... |
8169a803ab8e97ca332af4f9ad2df0888fd60ca4 | 002df2aecf110b3718c22aa99db1c74c8e66c0fe | /Problems/0547. Number of Provinces.cpp | 1c460e7d7f9ea8d69064002d91d7f006f6ba2339 | [
"MIT"
] | permissive | KrKush23/LeetCode | ddde2f95ac745ed3751486439b81873069706ed7 | 2a87420a65347a34fba333d46e1aa6224c629b7a | refs/heads/master | 2023-08-23T16:28:02.852347 | 2021-10-12T20:52:02 | 2021-10-12T20:52:02 | 234,703,492 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 676 | cpp | 0547. Number of Provinces.cpp | class Solution {
int n;
vector<bool> vis;
public:
int findCircleNum(vector<vector<int>>& isConnected) {
n = isConnected.size();
vis.resize(n);
int cc{0};
for(int i=0; i<n; i++){
if(!vis[i]){
dfs(i, isConnected);
cc++;
... |
af4a7e2628f2ee300b5c66f2a1b5bcd1444964d2 | 0cf94ba93e29f574a08f1c9b0d9dbf98e5984c6e | /VisionAgent/VisionAgentECSJobHistoryDlg.cpp | 512e4fc08a12b7f16d5b6e8f790d5a75da403603 | [] | no_license | jtendless/G8H_VisionAgent | aa1c41bcdb0e9f54471ef5f7cfa5b5720d2f32f2 | 07a613533cadf0741cfaa31b65f41c441e1267cc | refs/heads/main | 2023-08-21T14:03:50.921147 | 2021-09-24T00:42:35 | 2021-09-24T00:42:35 | 409,556,921 | 0 | 1 | null | 2023-07-21T07:59:10 | 2021-09-23T11:05:39 | C++ | UTF-8 | C++ | false | false | 9,829 | cpp | VisionAgentECSJobHistoryDlg.cpp | // VisionAgentECSJobHistoryDlg.cpp : ±¸Çö ÆÄÀÏÀÔ´Ï´Ù.
//
#include "stdafx.h"
#include "VisionAgent.h"
#include "VisionAgentECSJobHistoryDlg.h"
#include "VisionAgentDlg.h"
#include "afxdialogex.h"
// CVisionAgentECSJobHistoryDlg ´ëÈ »óÀÚÀÔ´Ï´Ù.
IMPLEMENT_DYNAMIC(CVisionAgentECSJobHistoryDlg, CDialogEx)
CVisionAgen... |
5d40be9b0b0634998763b2a5736376f4ae2d8553 | 3637cd5ce60a3ad00a7aed52e5d9e2cc878efd7a | /lab9/academiaserializer/main.cpp | e584696fc7dee4918796043de4f3e414a3bd7684 | [] | no_license | patrykofbat/JIMP2_lab | eab978f89fa6b423786bc825df01d76b1a2135af | 25f12bc2936272115af03de60a2b65840c3c5b7b | refs/heads/master | 2021-01-19T08:32:04.447383 | 2017-06-04T09:26:48 | 2017-06-04T09:26:48 | 83,600,812 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 296 | cpp | main.cpp | //
// Created by Patryk on 10.05.2017.
//
#include "Serialization.h"
int main() {
std::stringstream out;
academia::JsonSerializer serialize(&out);
academia::Room room {20,"h-24",academia::Room::Type::COMPUTER_LAB};
room.Serialize(&serialize);
std::cout;
return 0;
}
|
e33d986331ad6cb392bd807f43afe3a730eb34f7 | a1809f8abdb7d0d5bbf847b076df207400e7b08a | /Simpsons Hit&Run/game/libs/sim/simcollision/subcollisiondetector.cpp | 05addb3434c8e56512e6a6580c52e94f2336d428 | [] | no_license | RolphWoggom/shr.tar | 556cca3ff89fff3ff46a77b32a16bebca85acabf | 147796d55e69f490fb001f8cbdb9bf7de9e556ad | refs/heads/master | 2023-07-03T19:15:13.649803 | 2021-08-27T22:24:13 | 2021-08-27T22:24:13 | 400,380,551 | 8 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 95,073 | cpp | subcollisiondetector.cpp |
#include "simcollision/subcollisiondetector.hpp"
#include "simcollision/collision.hpp"
#include "simcommon/simmath.hpp"
using namespace RadicalMathLibrary;
namespace sim
{
// testing stuff
//#define TEST_VECTOR
//#define TEST_COLL
SubCollisionDetector::SubCollisionDetector()
:
mCollisi... |
2058fb8cbf258719a6f409f4ba2ed552f022fe7e | 2f9200469b14b83135dbe0cd5fb3e10b152e31d2 | /MFC/20160309(UI2及库)/库/CMyNumString5.1优化版/example1/RefCounts.h | 6203835ea4495d09c552fbf828f0f2859a93df84 | [] | no_license | Hi10086/CR22-2 | 9fb56e81dd1572deda740958efbad6d15eafffba | e7e53d76bd16d2ccaae930b017944a9b38783002 | refs/heads/master | 2016-09-12T22:00:43.833014 | 2016-04-17T08:49:56 | 2016-04-17T08:49:56 | 56,426,037 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 265 | h | RefCounts.h | #pragma once
#include <stdio.h>
#include "MyString.h"
class CRefCounts
{
public:
CRefCounts(CMyString *obj = NULL);
virtual ~CRefCounts();
virtual int AddRef();
virtual int Release();
friend class CSmartPtr;
private:
int m_ref_counts;
CMyString *m_obj;
};
|
914cdd15349b0eafc6878cc56d014400e1a72cf5 | 3170e69527e7426ad2930de5d16ff31f6ad08914 | /external/libcocos3dx/Nodes/CC3LocalContentNode.cpp | 28e58d2973111abf9edef09168702c94538469aa | [
"MIT"
] | permissive | isoundy000/cocosclient | e3818df70abfe81d25d53f80572ddd8ab7219cf8 | 477cde3ecd6c91d610e0d02fddf82e048fb604bd | refs/heads/master | 2021-01-25T14:22:35.694874 | 2016-05-30T09:39:45 | 2016-05-30T09:39:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,096 | cpp | CC3LocalContentNode.cpp | /*
* Cocos3D-X 1.0.0
* Author: Bill Hollings
* Copyright (c) 2010-2014 The Brenwill Workshop Ltd. All rights reserved.
* http://www.brenwill.com
*
* Copyright (c) 2014-2015 Jason Wong
* http://www.cocos3dx.org/
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software... |
b801c942ac10516c014bc65b94193d93623b43f5 | edf7a84bb2afc26c53dfeef2ebe1a5b16ce084ac | /include/graph.h | 17e198303b34ef61801e79fcdbae55142c9fe50c | [
"MIT"
] | permissive | shikhin/wormhole | 052902775c3202e55d756ed8f48268d5959ec225 | d39b436eac6ba20905e3d6b811d241186c29c518 | refs/heads/master | 2021-01-13T14:56:01.662489 | 2017-05-02T23:56:34 | 2017-05-02T23:56:34 | 76,665,446 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 908 | h | graph.h | #ifndef _GRAPH_H
#define _GRAPH_H
#include "gauss.h"
#include <set>
#include <unordered_set>
#include <vector>
#define MAX_CHORDS 13
// #define TEST_MENU
// #define TEST_MENU_LIST
// #define TEST_BRUTE
#define TEST_ANY_RETRACTION
typedef struct menu_t {
std::set<struct node_t*> menu;
#ifdef TEST_MENU_L... |
b750a89022ef23e0b5a672198cf047c4dd0216fe | 5dcc071d67795368ad9fd58e23b26056ab6f356f | /kgmGame/kgmActor.h | a95707b9c5d0145531718ce974febc435810d66f | [] | no_license | BlenderCN-Org/kgmEngine | 3d3c08b87fc95495017832303ca9d157f32283ee | 8ebaf6a7c840d93814e1481d6844b251e5e085d1 | refs/heads/master | 2020-05-30T08:26:55.392045 | 2019-05-31T10:40:23 | 2019-05-31T10:40:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,864 | h | kgmActor.h | #pragma once
#include "../kgmBase/kgmTab.h"
#include "../kgmBase/kgmTime.h"
#include "../kgmBase/kgmString.h"
#include "../kgmGraphics/kgmVisual.h"
#include "../kgmGraphics/kgmMesh.h"
#include "../kgmGraphics/kgmPolygon.h"
#include "../kgmGraphics/kgmTexture.h"
#include "../kgmGraphics/kgmShader.h"
#include ... |
c652b8a41009ffd4884b9f581d364025510deef3 | f2826a14f066705862454ef97bf2e6b51dc065f8 | /source/Vulkan/ImageManager.cpp | 64c5598a504215d71f8167f06cbe9008f7da7294 | [
"MIT"
] | permissive | awkr/Luz | 823a1adb453978fd2a2a8d57e7ac891f0d6dcf6b | 58651edcedd3c00753a4702fe36f435c8bc1f669 | refs/heads/main | 2023-08-30T13:34:36.689742 | 2021-11-04T04:36:39 | 2021-11-04T05:43:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,022 | cpp | ImageManager.cpp | #include "Luzpch.hpp"
#include "ImageManager.hpp"
#include "LogicalDevice.hpp"
#include "PhysicalDevice.hpp"
#include "Instance.hpp"
void ImageManager::Create(const ImageDesc& desc, ImageResource& res) {
auto device = LogicalDevice::GetVkDevice();
auto allocator = Instance::GetAllocator();
res.width = de... |
b0371acb5fd80fc00e57d731a4f81fe84a4c0f75 | 1b17cb868c571920dadeeab0295d60783a496fc8 | /HealthMods/SensorsMod/AurigaHL7/2.4/message/RSP_Z88.h | 59261cc1ecdea3cf4edaf5da43222eb225fbb9d3 | [] | no_license | afmartins85/olamed-modules-src | dc86e2dce4d5c54a450bca95c4775715167cecb9 | ec673ef154ef218f3b7c6593914212b125600ebd | refs/heads/master | 2023-01-07T16:25:29.437031 | 2020-11-05T22:30:07 | 2020-11-05T22:30:07 | 287,022,753 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,292 | h | RSP_Z88.h | /*
* This file is part of Auriga HL7 library.
*
* Auriga HL7 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 of the License, or
* (at your option) any later version.
*
* Auriga... |
b0f1c5957059102f61f3b36cb0d5b29bfe0dea08 | 4c23be1a0ca76f68e7146f7d098e26c2bbfb2650 | /elbow/44/phi | 66b1c616cf071434f3f1b95c4ee06342a55958f3 | [] | no_license | labsandy/OpenFOAM_workspace | a74b473903ddbd34b31dc93917e3719bc051e379 | 6e0193ad9dabd613acf40d6b3ec4c0536c90aed4 | refs/heads/master | 2022-02-25T02:36:04.164324 | 2019-08-23T02:27:16 | 2019-08-23T02:27:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,707 | phi | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*-------... | |
4e4fe20d3f6784c81884df8556f4c5a0b90e95d3 | af0ecafb5428bd556d49575da2a72f6f80d3d14b | /CodeJamCrawler/dataset/08_8827_30.cpp | 223a385f0fe9ee5579e08a060c2d80afd68048bf | [] | no_license | gbrlas/AVSP | 0a2a08be5661c1b4a2238e875b6cdc88b4ee0997 | e259090bf282694676b2568023745f9ffb6d73fd | refs/heads/master | 2021-06-16T22:25:41.585830 | 2017-06-09T06:32:01 | 2017-06-09T06:32:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,727 | cpp | 08_8827_30.cpp | #include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <algorithm>
enum TravelTypes
{
ArrivalA,
ArrivalB,
DepartureA,
DepartureB
};
struct Time
{
int hour;
int minute;
int whole;
TravelTypes travelType;
bool operator<(const Time& date)
{
i... |
de9015bc1db7368fc8170e953c641177c4a145de | dd19815187c9e1b1bcd3aac8ee75657077a7059e | /DataApi2/jni/Editor/Editor_DataFeatureGPSLine.cpp | 67c94f35acbebf1482fb1875e44e90c5b7e32f40 | [] | no_license | LeiFromNavinfo/GithubTest | 89b147c51a9f2ba7cef29b253e19e59f2d073242 | 5af73572860b4eaf5e658cb45d535b064df32728 | refs/heads/master | 2020-12-24T06:31:12.971257 | 2016-09-02T08:23:26 | 2016-09-02T08:23:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,010 | cpp | Editor_DataFeatureGPSLine.cpp | //
// DataFeatureGPSLine.cpp
// EditorSDK
//
// Created by lidejun on 15/11/4.
// Copyright (c) 2015骞� navinfo. All rights reserved.
//
#include <stdio.h>
#include "Editor.h"
#include "Editor_Data.h"
#include "DataTransfor.h"
#include "Logger.h"
namespace Editor
{
DataFeatureGPSLine::DataFeatureGPSLine()
... |
3b05b522d743d2c7c0360109dd890e9dc93d90e1 | 8b60aa56bf5b497db177cd1048bde0bdfb0e0e55 | /test.cpp | 1b36aa28e12f9d19955e88fc69841b4fef1f4144 | [] | no_license | wiilen/woj-pat-c | 5fdeae8be3da0bd6ba1919ce3f36da0d7220f7a1 | c811ec9471d5d93299fb68c46271fa3b83529f44 | refs/heads/master | 2021-01-25T08:59:55.783171 | 2015-03-25T13:00:51 | 2015-03-25T13:00:51 | 32,623,870 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 76 | cpp | test.cpp | #include<iostream>
using namespace std;
int main(){
cout<<('N'-'A'+10);
}
|
ee04a0b3a60bf18ac8725fb0a8b3dbd528cc1b5f | eae83a1d7ffe48d32fa75a9fc719fcd55417cbe4 | /Classes/AirPlaneConfig.cpp | 585eddca90ad2d314f7ff8da6530f256375c0122 | [] | no_license | doanhtdpl/game-ban-may-bay-2 | cbe78b7e3336b71ce2adc2f0d17118e62c292eb1 | af3ceafa640d01b2f50c38eb5d8dc659da487a4e | refs/heads/master | 2021-01-01T06:26:38.924442 | 2014-04-27T16:17:10 | 2014-04-27T16:17:10 | 40,473,779 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,372 | cpp | AirPlaneConfig.cpp | #include "AirPlaneConfig.h"
#include "cocos2d.h"
AirPlaneConfig::AirPlaneConfig()
{
}
AirPlaneConfig::~AirPlaneConfig()
{
}
bool AirPlaneConfig::insert( std::string bucket, std::string component )
{
if( strcmp( bucket.c_str(), "ID" ) == 0 )
{
id = new char[component.length()+1];
strcpy( id, c... |
1829afcbf732e5d4db260fd6aca9cddc561c2a04 | 46e3575e04c55b84c3c7bb5dc60fa6d34d5f4236 | /KaboomServer/src/components/JetpackComponent.h | 7dea36cd77979c1532c81f153b355e8381611908 | [] | no_license | blockspacer/Kaboom | ba269827bdc86cba890f48ee0cc0134f7bda8acc | 6b75e1a5ff08ef1ebdb73bbd07c4fe8214644e58 | refs/heads/master | 2021-03-03T19:16:26.676258 | 2017-04-20T04:58:37 | 2017-04-20T04:58:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,344 | h | JetpackComponent.h | #pragma once
#include <components/Component.h>
class JetpackComponent : public Component {
public:
JetpackComponent(
int fuel = 0,
int capacity = 0,
int refuelRate = 0,
int refuelTime = 0)
: fuel(fuel),
capacity(capacity),
ref... |
0dcd7a08fdc643580d8884404bc14c5e38931cbc | ea401c3e792a50364fe11f7cea0f35f99e8f4bde | /released_plugins/v3d_plugins/neurontracing_neutube/src_neutube/neurolabi/gui/test/zflyemsynaseannotationtest.h | 22bb2677f1a4e7ba1aca1f91efb9a7b37fd8d938 | [
"BSD-2-Clause",
"MIT",
"GPL-1.0-or-later",
"LicenseRef-scancode-unknown-license-reference",
"GPL-2.0-only"
] | permissive | Vaa3D/vaa3d_tools | edb696aa3b9b59acaf83d6d27c6ae0a14bf75fe9 | e6974d5223ae70474efaa85e1253f5df1814fae8 | refs/heads/master | 2023-08-03T06:12:01.013752 | 2023-08-02T07:26:01 | 2023-08-02T07:26:01 | 50,527,925 | 107 | 86 | MIT | 2023-05-22T23:43:48 | 2016-01-27T18:19:17 | C++ | UTF-8 | C++ | false | false | 1,970 | h | zflyemsynaseannotationtest.h | #ifndef ZFLYEMSYNASEANNOTATIONTEST_H
#define ZFLYEMSYNASEANNOTATIONTEST_H
#include "ztestheader.h"
#include "neutubeconfig.h"
#include "flyem/zsynapseannotationarray.h"
#include "flyem/zintcuboidarray.h"
#include "flyem/zflyemdatabundle.h"
#include "zgraph.h"
#ifdef _USE_GTEST_
TEST(ZFlyEmSyanpzeAnnotation, synapseC... |
62498087646f860371518153080077251387f0e3 | 91a8643a41a5617d5685215935fbf6fb283c2ffc | /Source/Objects/RNObjectInternals.h | c47767ffa4df9093f89a6dff6a5e8c5505ca21d1 | [
"MIT"
] | permissive | Unbeaten-East/Rayne | 3ed11f9aa1ded6283df68bf6c3eabb001ec51b01 | 252b78671799a03b159e6bd264ce65d438cfe0bf | refs/heads/master | 2023-04-19T21:49:37.681937 | 2021-01-17T12:31:03 | 2021-01-17T12:31:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 737 | h | RNObjectInternals.h | //
// RNObjectInternals.h
// Rayne
//
// Copyright 2015 by Überpixel. All rights reserved.
// Unauthorized use is punishable by torture, mutilation, and vivisection.
//
#ifndef __RAYNE_OBJECTINTERNALS_H__
#define __RAYNE_OBJECTINTERNALS_H__
#include "../Base/RNBase.h"
namespace RN
{
class Object;
RNAPI Object... |
fc9e20bcf9a20b7d6b536156075cf6212c3f3b58 | 5f370e807492e4bb4f55be5dc32c1ac849d41078 | /freewayhash/sip_hash_v2.h | d2b1b2dade53a0c32c69b4c5d75470d4dc9a68d7 | [
"Apache-2.0"
] | permissive | operamint/highwayhash | 4c7f859f7b210e84c345c9b8e8b4f7ab50c3bfbd | 1e5ca32f7947149a607dc8876773317e606bca95 | refs/heads/master | 2020-07-22T04:52:29.578980 | 2019-09-24T09:05:44 | 2019-09-24T09:05:44 | 207,079,690 | 0 | 0 | null | 2019-09-08T07:52:01 | 2019-09-08T07:52:00 | null | UTF-8 | C++ | false | false | 6,290 | h | sip_hash_v2.h | // Copyright 2019 operamint (github). 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 ap... |
1bb27c058790a51a95c206606eec7d9c2ffd9940 | 451ff5a40071578341ca195908276992bd5396fa | /UVa/10424.cpp | f18a2f6d89d739a5e10078684bfb795ff48c3dd6 | [] | no_license | Tanjim131/Problem-Solving | ba31d31601798ba585a3f284bb169d67794af6c0 | 6dc9c0023058655ead7da7da08eed11bf48a0dfa | refs/heads/master | 2023-05-02T06:38:34.014689 | 2021-05-14T18:26:15 | 2021-05-14T18:26:15 | 267,421,671 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,046 | cpp | 10424.cpp | #include<iostream>
#include<cstdio>
#include<string>
#include<algorithm>
using namespace std;
inline double solve(int a,int b){
int aa = max(a,b);
int bb = min(a,b);
return (bb * 1.0)/aa;
}
int main(){
string a,b;
while(getline(cin,a) && getline(cin,b)){
if(a.size() == 0 && b.size() == 0... |
343164eff7e282243ad9b6246040a034b99f76cb | 974d04d2ea27b1bba1c01015a98112d2afb78fe5 | /paddle/phi/backends/onednn/axpy_handler.h | f9c21187ddb91e6f6e3934c28bbe9b7e73164092 | [
"Apache-2.0"
] | permissive | PaddlePaddle/Paddle | b3d2583119082c8e4b74331dacc4d39ed4d7cff0 | 22a11a60e0e3d10a3cf610077a3d9942a6f964cb | refs/heads/develop | 2023-08-17T21:27:30.568889 | 2023-08-17T12:38:22 | 2023-08-17T12:38:22 | 65,711,522 | 20,414 | 5,891 | Apache-2.0 | 2023-09-14T19:20:51 | 2016-08-15T06:59:08 | C++ | UTF-8 | C++ | false | false | 2,000 | h | axpy_handler.h | // Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required... |
c4a09d8bba06146dce0f8b4aa896a09a716d33a7 | e35915921d3108c4551ff5bb5cd9c85209e1897e | /CGwork0218/Sharp.h | 2c4bd33852e12dc80be4bcf2063e4952e8264c95 | [] | no_license | hesitationer/CGwork0218 | c1dd77bdf5ff9b8d7930d338db73eacc4c7886ca | 2ba0cd06e80437f2fbffd806aa9a0ec8ddf1f055 | refs/heads/master | 2020-03-23T11:26:33.196900 | 2018-03-23T06:17:53 | 2018-03-23T06:17:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 691 | h | Sharp.h | #if !defined(AFX_SHARP_H__1EACE4B6_B622_4AC8_B3FB_1C13AF260D7B__INCLUDED_)
#define AFX_SHARP_H__1EACE4B6_B622_4AC8_B3FB_1C13AF260D7B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#include "afx.h"
#endif // _MSC_VER > 1000
#define pi 3.14
#include <math.h>
class CSharp : public CObject
{
public:
long m_lPenColor;
doub... |
8a148078599e0e4be856d699508c93f76b4ddf81 | 07c9257308a15aba0d9db532eabac7b4cc836829 | /CodeChef/Mock tests/Foundation/Many Chef.cpp | 22a8e6efe15dc72b091b8cc8c704cb9e27ac696d | [] | no_license | tadeeshaRoy/Practise | 9e19d4f273471df26a41a0585a125d9fcd7b6ba1 | cdab4c793e3474a0853977fa093a0c7371ef8257 | refs/heads/master | 2021-07-06T08:14:23.443912 | 2020-07-19T11:33:45 | 2020-07-19T11:33:45 | 142,449,324 | 0 | 0 | null | 2018-09-02T16:50:16 | 2018-07-26T14:04:36 | C++ | UTF-8 | C++ | false | false | 3,660 | cpp | Many Chef.cpp | /*
Chef Ciel wants to put a fancy neon signboard over the entrance of her restaurant. She has not enough money to buy the new one so she bought some old neon signboard through the internet. Ciel was quite disappointed when she received her order - some of its letters were broken. But she realized that this is even bett... |
1b05f9acdf293a9e83dba165e8c3cd8cb078c0cc | 91b66eaad3fa6821075abfe54b6fa89b73a89af7 | /branches/unreleased/sandbox/mrg/kmcl/lcm2ros/lcm2ros.cpp | 1267b4a8b65b8bc0c57e266085d6107ec31dab3b | [] | no_license | yutakage/mit-ros-pkg | 635acf0783763affbc3d1b7280d19f70d12c5b95 | 05508bb956819eeff71c26ac9ecf62d3d3aab5db | refs/heads/master | 2023-03-19T06:21:45.511617 | 2019-02-05T20:53:10 | 2019-02-05T20:53:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,792 | cpp | lcm2ros.cpp | #include <stdio.h>
#include <signal.h>
#include <sys/types.h>
#include <dirent.h>
#include <iostream>
#include <algorithm>
#include <math.h>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cmath>
#include <fstream>
// lcm and visualization:
#include <lcm/lcm.h>
#include <bot_core/rotations.h>
#inclu... |
f052c2558264807823d346e7af2b290f22f11fed | 8b157cd7ccc11f6169b01eaad028fdc318f0658a | /Last/colormodel.cpp | 6ee35e8a989c9e3b8d38519090499f4255e023cb | [] | no_license | czAksay/CppModelAndAnimations | 4390919ef3cfe168da6325506b497ee39c46bd32 | 22715c7626ed8531074403ab82a492fabb5a33c5 | refs/heads/master | 2020-03-24T02:32:24.344957 | 2018-07-30T12:39:05 | 2018-07-30T12:39:05 | 142,380,203 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,822 | cpp | colormodel.cpp | #include "colormodel.h"
#include <QDebug>
ColorModel::ColorModel(QObject *parent) : QAbstractListModel(parent)
{
add("Синий", QColor(0,0,255));
add("Красный", QColor(255,0,0));
add("Зеленый", QColor(0,255,0));
add("Желтый", QColor(255,255,0));
add("Фиолетовый", QColor(139,0,105));
add... |
8cea409d9722bdcc7325a082279407535346a9c9 | 7be4e3e8948bc60302dce910c70f8f5ad45274de | /Motors - Week 5/Exercise_12_Task_2.ino | 95198f019499edd71cdb13ce0f3236522275a363 | [] | no_license | DanielFrykman/ArduinoCrashCourse | 0546bb6d119919a9a0032ecde9d06fe879556fb1 | d6f28b6984ce438810b531111140eac8c44bd4a9 | refs/heads/master | 2021-07-16T05:56:20.019509 | 2021-02-15T09:07:17 | 2021-02-15T09:07:17 | 239,970,704 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,064 | ino | Exercise_12_Task_2.ino | // created by Daniel Lilja Frykman
#include <VarSpeedServo.h> // includes the new libary needed for this
// create servo objects
VarSpeedServo myservo; // creates a object called myservo
int SPEED = 20; // sets the starting speed to 20
void setup() {
myservo.attach(9); // sets the servo communication pin to pin 9
... |
5b3df20de01d33e7af6757f9b4b2b05bf66a4df2 | f8517de40106c2fc190f0a8c46128e8b67f7c169 | /AllJoyn/Samples/OICAdapter/iotivity-1.0.0/service/easy-setup/sdk/mediator/src/provisioning.cpp | 86bef530951a0c29dd150a104526ba33864ed6be | [
"MIT",
"BSD-3-Clause",
"GPL-2.0-only",
"Apache-2.0"
] | permissive | ferreiramarcelo/samples | eb77df10fe39567b7ebf72b75dc8800e2470108a | 4691f529dae5c440a5df71deda40c57976ee4928 | refs/heads/develop | 2023-06-21T00:31:52.939554 | 2021-01-23T16:26:59 | 2021-01-23T16:26:59 | 66,746,116 | 0 | 0 | MIT | 2023-06-19T20:52:43 | 2016-08-28T02:48:20 | C | UTF-8 | C++ | false | false | 16,709 | cpp | provisioning.cpp | //******************************************************************
//
// Copyright 2015 Samsung Electronics All Rights Reserved.
//
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance... |
e15e181443f3c4525d8ed2407e204b97ac7e1588 | 7f2782335e707ac44fdfffeb334b52793802fd2b | /TheGoonies/playScene.h | cd4a286bc25a83be4b758e0486e76832aa84d54f | [] | no_license | arnaulamiel/TheGooniesMSX | f240bf5f6574a95d966fd603f799e1925a3f65ab | d77fcd252f481de4c7d3d1d367b9662ece867d0e | refs/heads/master | 2023-03-31T17:46:09.766085 | 2021-04-06T21:24:34 | 2021-04-06T21:24:34 | 348,080,249 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,855 | h | playScene.h | #pragma once
#include "Game.h"
#include "Scene.h"
#include "Sprite.h"
#include <iostream>
#include "Calavera.h"
#include "Bat.h"
#include "Object.h"
#include "Texture.h"
/* @file playScene.h
*
* @brief This class represents the first scene the will be shown when booting the game.
*
* It is basically the scene where th... |
3c6aeb4ae0e61df3b97dbd74b4ab4eaff797a60f | 26fcc35ce24760bc86d89a77a1e43d0a0ac7e6e7 | /src/Invoker/Commands/KickCommand.hpp | 50032f1bdfaa6bbea0cded3ed453a42a72d27e7d | [] | no_license | fngoc/ft_irc | aebd377f741946b4571aa9357c34715e5b567782 | 9140a654f72917a5a8fdc4d578e9dcbc36fdb9b6 | refs/heads/master | 2023-09-05T12:11:11.622427 | 2021-11-20T11:51:59 | 2021-11-20T11:51:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 217 | hpp | KickCommand.hpp | #ifndef KickCommand_hpp
# define KickCommand_hpp
# include "../Command.hpp"
using namespace std;
class KickCommand: public Command {
public:
KickCommand();
virtual ~KickCommand();
void execute();
};
#endif
|
8e4ea72a382553d366216f85a0da786c156bc7fe | df32553eddce084d82c9daddc3e0de4685ba7e40 | /TMCore/CommandController.h | a96ea7b869331da31dd6ea2023403506baa1df41 | [] | no_license | gcdean/TournamentMaster | e15407069aefdf38646e4c0c1e2310b3df585fe2 | 772e6681563275b75bb11d91c15a8c19b3719f10 | refs/heads/master | 2021-01-10T11:16:53.729361 | 2017-10-22T06:25:25 | 2017-10-22T06:25:25 | 36,636,106 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 686 | h | CommandController.h | #pragma once
#include "commands/BaseUndoCommand.h"
#include <QSharedPointer>
#include <QStack>
class IDocument;
class TMCORE_DLLSPEC CommandController
{
public:
CommandController(QSharedPointer<IDocument> doc);
~CommandController();
public:
bool doCommand(QSharedPointer<BaseCommand> command);
bool u... |
a2e7fbd8e969ee2181ec123258e861d171000044 | f0574f26faa80b41be72cd555a34a80d33992ee2 | /libraries/test-utils/src/test-utils/FileDownloader.h | 5a618fcf45f5cb21eb2a161416169fce0ca6d594 | [
"LicenseRef-scancode-generic-cla",
"Apache-2.0"
] | permissive | humbletim/megaverse | 53943f2f19b51ae222a6743408a93750a39e3885 | 42d5a4983cf732411f262b98032baf72a93669ac | refs/heads/master | 2022-11-12T10:07:53.619639 | 2019-10-17T19:02:16 | 2019-10-17T19:02:16 | 261,794,028 | 2 | 0 | NOASSERTION | 2020-07-07T10:51:27 | 2020-05-06T15:02:52 | C++ | UTF-8 | C++ | false | false | 487 | h | FileDownloader.h | #pragma once
#include <QtCore/QObject>
#include <QtNetwork/QNetworkAccessManager>
class FileDownloader : public QObject {
Q_OBJECT
public:
using Handler = std::function<void(const QByteArray& data)>;
FileDownloader(QUrl url, const Handler& handler, QObject* parent = 0);
void waitForDownload();
pri... |
500873125b5612f6d6940e7b403ab4fc3a169e38 | da78b11972972645e0342cefaa5ab6047a2c8d72 | /src/chap-sponsor-apc.re | b0d71fabe4f74613e627e2404594ba189a16fb62 | [] | no_license | gishohaku/guidebook5 | 2d17460142b1997c5d4f5cdc887e09f713f2492b | 409a71c9e324db1318eb970e825594b302508f70 | refs/heads/main | 2023-05-15T02:35:10.822834 | 2021-06-14T02:54:05 | 2021-06-14T02:54:05 | 375,516,733 | 1 | 2 | null | 2021-06-13T01:24:28 | 2021-06-09T23:44:54 | TeX | UTF-8 | C++ | false | false | 12,807 | re | chap-sponsor-apc.re | = APCのエンジニアがつくったオンラインの「エンジニアが集まる場」
//flushright{
株式会社エーピーコミュニケーションズ
取締役副社長 永江耕治
//}
株式会社エーピーコミュニケーションズで取締役副社長をつとめている永江耕治(@Kooozii)です。当社は、お客様のことを真剣に考えられるエンジニアを育成し、熱狂できるキャリアパスを創出し、従来の慣例に捉われずに挑戦し続けるNeoSIerです。ITインフラ自動化のプロフェッショナルとして、お客様の課題解決のためにAzure Kubernetes ServiceやAnsibleなどを用いたクラウドネイティブ環境の内製化・自動化支援や、「エンジニアから時間を奪うものを... |
be857f3e030286160c9e993d6446ab4989097526 | 4616eaa264b617ad079d38c9b7d1cc114d224bc1 | /SD/Datalogger.ino | 7bc656de2bb6f11866d74a39d50699da73cba55a | [] | no_license | malaouar/AVR | c9a6c8e4eb9ecbe2aa95e434d8338c48fa65238a | ff079a0d56934ad0281a34c7a8231acfabe3dd95 | refs/heads/master | 2022-11-27T16:29:34.253052 | 2020-08-06T19:13:48 | 2020-08-06T19:13:48 | 285,650,661 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,456 | ino | Datalogger.ino |
// Arduino scetch to read the sensor output (connected to PC5) and write
// the result to a text file "datalog.txt" on the SD.
#include <SPI.h>
#include <SD.h>
const int chipSelect = 10; //uno
int n =0; // sample No
float voltage; // sample value
void setup(){
// Open serial communications and wait for port to ... |
014d91d23563c3c3fa4bf36eb7d20bf3d50255d7 | 5d16837aa859b7a3cacd117ae38d006610ac7c86 | /4.6_Check_givenTree_is_BST.cpp | 481dc66b42732ec878fbabedd9a64e3fc77667a3 | [] | no_license | RS-codes/DataStructures_Tree | 4bf38e8f1877ecf5ee93441856f5c095b3817be4 | 4d3ed4ae806ca4d48a6ab654bae64d5868e835c9 | refs/heads/master | 2020-12-24T02:14:02.767324 | 2020-02-04T06:55:53 | 2020-02-04T06:55:53 | 237,347,404 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,573 | cpp | 4.6_Check_givenTree_is_BST.cpp | // 4.6 Check if a given tree is BST
#include<iostream>
using namespace std;
struct Node
{
int data;
Node* left;
Node* right;
};
Node* GetNewNode(int x){
Node* temp=new Node;
temp->data=x;
temp->left=NULL;
temp->right=NULL;
return temp;
}
Node* Insert(Node* root,... |
ae078e8b9585fb51638384f5982f273a2b571434 | 72aa531d89acb617ef7b5c01cf0a6e4ea330fcc7 | /android/app/src/main/cpp/Nexus.androidframework/Headers/TAO/Ledger/types/state.h | 9c9563bc4540b3be369a1beafbd109c8d0e8530e | [
"MIT"
] | permissive | liuzhenLz/nexus-mobile | d4306a5e2f9b8f15a96b28d88007bb573dfb383b | e917e8da60a67383fd7b84848a15e3b3bbe1a055 | refs/heads/master | 2023-08-29T20:21:29.358115 | 2021-09-21T18:47:30 | 2021-09-21T18:47:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,200 | h | state.h | /*__________________________________________________________________________________________
(c) Hash(BEGIN(Satoshi[2010]), END(Sunny[2012])) == Videlicet[2014] ++
(c) Copyright The Nexus Developers 2014 - 2021
Distributed under the MIT software license, see the accompanying
... |
d786bc1fcc8e2399a7ba83a860b263a8d0b06eaa | 60552921a4216e77a4d2c4da19026a0978d72d5e | /sourcecode/include/controllers/RobotController.h | 417b779806eb1af416a23acb53a6f38f1d61f865 | [
"MIT"
] | permissive | corcoranp/senior-design | bc26cc6326dd2fa366bf94789e932325fe778a85 | 6dbc1521f406a6e080808383d88701c11344b78e | refs/heads/master | 2020-12-24T06:51:29.775902 | 2016-04-04T17:44:10 | 2016-04-04T17:45:46 | 38,047,166 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,933 | h | RobotController.h | /*
* RobotController.h
*
* By: Peter Corcoran
* Copyright: © 2015
*
* Jun 27, 2015 - Initial Coding
*
* This file is used as the main controller system of
* The responsibility of this class is to control system operations
*
* 1. System Check
* 2. Hardware Check
* 3. Sensor Check
* 4. Boot State Check
*
... |
504c95c3adbd872f9c857ffe606cf57e82eb9de5 | 651e05b346c03e22fb253a546c3ec6b2c05e44ae | /src/main.cpp | cec97c608ebf1baf5e65a0c7fae78fc253f47b71 | [
"BSD-3-Clause"
] | permissive | nornex/build-graph | 9974ad899c5911b284fe861a890685d5ea8b4688 | 5acc28daa7cbd9c5fa38f41a0e87fafb9ab6adaf | refs/heads/master | 2020-05-29T22:43:55.671369 | 2017-02-20T23:46:45 | 2017-02-20T23:46:45 | 82,613,789 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,260 | cpp | main.cpp | #include <iostream>
#include <memory>
#include "config/operation_node.hpp"
#include "config/io_node.hpp"
#include "config/graph.hpp"
int main()
{
using namespace node;
std::cout << "Hello, World!" << std::endl;
auto graph = node::Graph<OperationNode, IoNodeFile>{};
auto& src_file = graph.CreateNod... |
d9f77d99992b77d3670664d55d6e71e3f02325a8 | 2d31f77719475883107caaf75d550de78a9d618a | /template assembly/main.cpp | 8724d0ec794715c99120f6c5bd06c739da2c399c | [
"MIT"
] | permissive | wqx081/Template-Assembly | 3bce8d294bd832d31b5b6a22f418990463edd893 | 95e3166a5e65fedfef722cd9fe07e7d7ffc74df8 | refs/heads/master | 2021-01-22T16:26:27.797637 | 2015-09-24T00:03:37 | 2015-09-24T00:03:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,406 | cpp | main.cpp | #include <iostream>
#include <cassert>
#include "asm.h"
template <typename A, typename B>
void check_same(const char* msg, A x, B y) {
if (!(x == y))
std::cerr << msg << ": " << x << " != " << y << std::endl;
}
template <typename A, typename B>
void check_same(const char* msg, A* x, B* y) {
if (!(x ... |
9e79bbe2de8787f5b0b0446b37d1506d62a3f2f0 | 5d78e15f012711f703d5a935acc8e99325cc39c4 | /items/Item.cpp | cbcc81b7df26e01926e41606a3d5395cc249f803 | [] | no_license | rgrahamh/gladiator | 831e213937336a45aaab6b625f4d8ea8b63ee3b5 | 986d36e32467ee1cf744909a61d075f15fe770c8 | refs/heads/master | 2020-04-15T07:42:53.504644 | 2019-12-30T02:46:53 | 2019-12-30T02:46:53 | 164,499,906 | 1 | 0 | null | 2019-01-15T03:30:45 | 2019-01-07T21:35:15 | C++ | UTF-8 | C++ | false | false | 1,221 | cpp | Item.cpp | #include "Item.h"
/**
* @brief Parameterized constructor for Item
* @param n The name of the item
* @param w The weight of the item
* @param val The value of the item
* @param t The type of item (defaults to MISC.)
* @return An Item
*/
Item::Item(string n, double w, int val, int t = MISC) {
this->name = n;
... |
6b29ccf8b1e54fc93e3f13fa98d221682b388f8c | 60db84d8cb6a58bdb3fb8df8db954d9d66024137 | /android-cpp-sdk/platforms/android-7/android/text/TextWatcher.hpp | 227d9c024a69379d39c1568a3615891f3f0d81d1 | [
"BSL-1.0"
] | permissive | tpurtell/android-cpp-sdk | ba853335b3a5bd7e2b5c56dcb5a5be848da6550c | 8313bb88332c5476645d5850fe5fdee8998c2415 | refs/heads/master | 2021-01-10T20:46:37.322718 | 2012-07-17T22:06:16 | 2012-07-17T22:06:16 | 37,555,992 | 5 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 3,749 | hpp | TextWatcher.hpp | /*================================================================================
code generated by: java2cpp
author: Zoran Angelov, mailto://baldzar@gmail.com
class: android.text.TextWatcher
================================================================================*/
#ifndef J2CPP_INCLUDE_IMPLEME... |
c9a05399fbfbc4a7275d548ad829d80bae67a24f | 61f6072aa0f7d2363d870bbfb31c6a2c1966b633 | /TRABALHOFINALFUP.cpp | fec5043768d86f502ac9f1678339696c8628dac9 | [] | no_license | Mariaeduardals/Trabalho-final-de-fup | 8a29ec01418f3841424dba460618a1fc8be093dd | 56c73b5512e08cdd3bd5116804d6d3375369bf8a | refs/heads/master | 2022-11-26T20:37:19.934097 | 2020-08-04T16:11:10 | 2020-08-04T16:11:10 | 285,032,144 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,473 | cpp | TRABALHOFINALFUP.cpp | #include<stdio.h>
#include<stdlib.h>
#include<string.h>
#define MAX 100
typedef struct {
char nome[50];
int ano;
float premiacao;
}Titulo;
typedef struct{
char nome[50];
int idade;
int equipe;
char pais[50];
char jogo[50];
float salario;
int quantidadeTitulos;
Titulo titulos[100];
}Atle... |
936a3fcd07fd74c0508bcf978f76ac5e1f0d1f76 | 155929eb4979131ee0e95c1c5f1817f88a94d7f2 | /test/uri_comparison_test.cpp | 68ee68f6db62e0c7f2554004941f0730fa6210dd | [
"BSL-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | chrismanning/uri | ddd2a61a4901b0bb433f569f165248b328b5499d | dab4f874302f26864f1cf3000cc286770b1e84e1 | refs/heads/master | 2021-01-17T05:34:34.876310 | 2013-08-25T10:57:40 | 2013-08-25T10:57:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,809 | cpp | uri_comparison_test.cpp | // Copyright (c) Glyn Matthews 2012, 2013.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include <gtest/gtest.h>
#include <network/uri.hpp>
TEST(uri_comparison_test, equality_test) {
network::uri lhs("ht... |
b750d5347867a17ecdc62c610c925f55fb453d63 | 3074d1f7e94214ca397b7f39ade0ec501d5ccd9e | /Programming Fundamentals 2/lab 6 assignments/8.15 guessCapitals.cpp | 0336d89d29c3c657ff509ef67b27313deb625822 | [] | no_license | Escoozme/cpp-fundamentals-2 | 58f9fe4c93fe184d5db0653d4618a8046c7a6c9b | bdd2827c03c2f897b350ba1b9125e348a60a3d7b | refs/heads/master | 2022-12-13T13:08:52.818767 | 2020-09-14T21:28:32 | 2020-09-14T21:28:32 | 295,542,832 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,563 | cpp | 8.15 guessCapitals.cpp | #include <iostream>
#include <fstream>
#include <string>
using namespace std;
int main() {
ifstream fin;
string statesCapitals[50][2];
string answer;
int correctCount = 0;
bool nextUpper = false;
fin.open("States_and_Capitals.dat");
for(int r = 0; r < 50; ++r) {
f... |
3ed20d8e14d6f9e84f3365440b474f305387e610 | a4581562f891c53fb9a93b17e3ca6fd1091d5763 | /src/chainparams.cpp | 0c7e91e1b768d3e9b8528f7dd0f761ab10cb0bc1 | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | tjade273/zcash | 0a26926601d5d609dafb705a5f4933cadb20a775 | efe18f2e9bc90c18f20abc24b60a28874ff865f2 | refs/heads/master | 2021-01-11T07:17:06.144424 | 2016-10-03T21:36:59 | 2016-10-03T21:36:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25,033 | cpp | chainparams.cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "main.h"
#include "crypto/equihash.h"
#include "util.h"
#include "utilstrenc... |
5f2934977605712ff7177c7a72141596545fb072 | c2c32371df6d746cb98981a4b4a9e529b893c066 | /Codeforces/Contest/div3.cpp | d4a6e2ec49ad9f9e1d70af4f510693a497704edd | [] | no_license | shubh8617/Coding_problems | 0b1f3d9d542831d4b8d53775f877df6accfea7d0 | 847f02caf4c3225054f03f7f6bcf2330adacedc6 | refs/heads/main | 2023-04-09T02:27:27.259338 | 2021-04-22T14:53:54 | 2021-04-22T14:53:54 | 319,109,019 | 1 | 2 | null | 2020-12-07T08:19:30 | 2020-12-06T19:02:15 | C++ | UTF-8 | C++ | false | false | 285 | cpp | div3.cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
long long t;
cin>>t;
while(t--)
{
long long n,m,x;
cin>>n>>m>>x;
x=x-1;
if(x==0)
{
cout<<1<<"\n";
}
else
{
long long r= x%n,col=x/n;
cout<<(r*m)+col+1<<"\n";
}
}
}
|
eca5adae92ecc3227eace194f65051047ba95275 | 84fe9e4712444868428cb13de2c01bd13a1e390c | /srm_152_div1_250.cpp | 38d2159e97d229aeb69837c58581f5af28282147 | [] | no_license | kiwiwin/topcoder | 522e6a98ac1825558d017b29d35775be875e8e45 | 7f18d8035b5f96ce5baacf368ea7a4568c66afd3 | refs/heads/master | 2021-01-15T18:14:10.968602 | 2013-07-07T10:04:56 | 2013-07-07T10:04:56 | 4,166,126 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 805 | cpp | srm_152_div1_250.cpp | #include <vector>
#include <algorithm>
using namespace std;
class LeaguePicks {
public:
int friends, picks;
vector <int> halfPicks(int position) {
vector<int> res;
while(position <= picks) {
res.push_back(position); position += friends * 2;
}
return res;
}
vector <int> merge(vector<int> lhs, vector... |
498e3ee1f9fb9bb77c0eb344762d630e62a0e11d | 32a8a24599ad96b5594b8cd50a2f751dea1c4bf5 | /libraries/chain/include/graphene/chain/config.hpp | ef9a0c80e80d606ec65ddbfc94c3ca2f3def3215 | [
"MIT"
] | permissive | peerplays-network/peerplays | 06b0396acec5ccfad4de387630beb7687b886907 | 058937a3ee97cb0035cd91d317eb4592576c17e8 | refs/heads/master | 2023-08-16T07:45:48.378998 | 2022-11-04T11:38:30 | 2022-11-04T11:38:30 | 158,921,093 | 46 | 29 | MIT | 2023-06-16T09:52:23 | 2018-11-24T09:27:23 | C++ | UTF-8 | C++ | false | false | 15,577 | hpp | config.hpp | /*
* Copyright (c) 2015 Cryptonomex, Inc., and contributors.
*
* The MIT License
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the... |
b9637194e3daef39b8bf072b3e229e13771c9be7 | 2b1bff70fcce2359a158c2960994c539e1cc3057 | /src/Block.cpp | 271fb5d1bf2056d266e8c763aaf57549bc06b36c | [] | no_license | VictorLuc4/Boomberman | 39e3d40c63e0b8e219bf7910cee8230df1df0809 | 9f73ebad57f66e4361498118f1f7927fb6f5f986 | refs/heads/master | 2020-04-05T04:07:36.393193 | 2018-11-07T11:53:24 | 2018-11-07T11:53:24 | 156,538,442 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,776 | cpp | Block.cpp | /*
** EPITECH PROJECT, 2018
** Block.cpp
** File description:
** Block
*/
#include "Block.hpp"
Block::Block(TypeBlock type, std::string name, int x, int z) : _type(type), _name(name)
{
_pos.first = x;
_pos.second = z;
_meshPath = "media/mediaGame/file3D/map/" + name + ".obj";
_texturePath = "media/mediaGame/file3... |
0ecac0f2ce2c13a0de71f7c6048f7618a6e6603c | 9dc21dc52cba61932aafb5d422ed825aafce9e22 | /src/appleseed/foundation/resources/logo/appleseed-seeds-16.cpp | dc6897378daac428bdae8fc77ff5da8b92b457e7 | [
"MIT"
] | permissive | MarcelRaschke/appleseed | c8613a0e0c268d77e83367fef2d5f22f68568480 | 802dbf67bdf3a53c983bbb638e7f08a2c90323db | refs/heads/master | 2023-07-19T05:48:06.415165 | 2020-01-18T15:28:31 | 2020-01-19T11:52:15 | 236,110,136 | 2 | 0 | MIT | 2023-04-03T23:00:15 | 2020-01-25T01:12:57 | null | UTF-8 | C++ | false | false | 10,353 | cpp | appleseed-seeds-16.cpp |
//
// This source file is part of appleseed.
// Visit https://appleseedhq.net/ for additional information and resources.
//
// This software is released under the MIT license.
//
// Copyright (c) 2018 Francois Beaune, The appleseedhq Organization
//
// Permission is hereby granted, free of charge, to any person obtain... |
505d7c4bb04cdbc72d4733d1d452830f94a7bef5 | 87f6202531bf233c030ec9c8cfd32db212de9b4e | /libs/ph/test/src/product.cpp | a346c273c4ce4a02a29aa3a31fcb84830d89e981 | [
"MIT"
] | permissive | phiwen96/MyLibs | 0b7aeb39dc999c2a58ce78de814ffb74efa95e2a | 33b8b4db196040e91eb1c3596634ba73c72a494b | refs/heads/main | 2023-01-21T10:07:06.620399 | 2020-11-29T14:57:37 | 2020-11-29T14:57:37 | 309,114,668 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 29 | cpp | product.cpp | #include <test/product.hpp>
|
85d0de2c2bd7669bbf9c511894a96a62a5658d13 | 1825283527f5a479204708feeaf55f4ab6d1290b | /Cpp/Lear/factorial_test.cpp | 9963419b35a6ec4c8a4c9bf8666c27740d3caf68 | [] | no_license | frankieliu/problems | b82c61d3328ffcc1da2cbc95712563355f5d44b5 | 911c6622448a4be041834bcab25051dd0f9209b2 | refs/heads/master | 2023-01-06T14:41:58.044871 | 2019-11-24T03:47:22 | 2019-11-24T03:47:22 | 115,065,956 | 1 | 0 | null | 2023-01-04T07:25:52 | 2017-12-22T02:06:57 | HTML | UTF-8 | C++ | false | false | 53 | cpp | factorial_test.cpp | #include "factorial.h"
void factorial_test() {
}
|
bb6fd00817e44c34be090b471186fddb4a011fa1 | 618a14dd17be3c4eb3b0757e8e272d6d979d898e | /PaintShooting/PaintBulletManager.cpp | 1ba9bd839c82fb784b904e187a0ae49aa754c45e | [] | no_license | koutcha/PaintShooting | 562c30e14ee4edc64923345b9f2e5c64b8b33075 | 95910929043e8d73107a92ada6e49cf605490566 | refs/heads/master | 2020-04-16T22:10:46.766583 | 2019-01-16T02:07:45 | 2019-01-16T02:07:45 | 165,956,384 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,431 | cpp | PaintBulletManager.cpp | #include "PaintBulletManager.h"
#include "GraphicIBL.h"
#include "CharacterPhysics.h"
#include "StagePhysics.h"
#include "PaintColorSet.h"
#include "Particle3D.h"
#include "MaterialPBR.h"
#include "PaintBullet.h"
PaintBulletManager::PaintBulletManager(int maxBullets, std::shared_ptr<PaintColorSet>& color) :
particl... |
65029f031fa3a5a4d2a3b6090a5e68fb9b4ec126 | c4b544d9ff751fb6007f4a305a7c764c860f93b4 | /test/detail/wrap.cpp | 11712e39d85318662aa0e2a30c506435a7d1529d | [
"LicenseRef-scancode-unknown-license-reference",
"BSL-1.0"
] | permissive | rbock/hana | cc630ff26c9c78cebe5facaeb98635a4d5afcc50 | 2b76377f91a5ebe037dea444e4eaabba6498d3a8 | refs/heads/master | 2021-01-16T21:42:59.613464 | 2014-08-08T02:38:54 | 2014-08-08T02:38:54 | 23,278,630 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 818 | cpp | wrap.cpp | /*
@copyright Louis Dionne 2014
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
*/
#include <boost/hana/detail/wrap.hpp>
#include <boost/hana/core/datatype.hpp>
#include <boost/hana/detail/assert.hpp>
#include <type_traits>
us... |
630b771f761554df5125d413a052d7aeb92a455e | dc6287d15bc412512e34e50a61bb10dede894543 | /vkconfig/layer_manifest.cpp | 90d1f0c5329895002a4ad4bfb603a459644a79b1 | [
"Apache-2.0"
] | permissive | luopan007/VulkanTools | cac05bc61dceafade6f3d03bd4e4137c2a427732 | 76472f01602854164bf07b83875bd659307656db | refs/heads/master | 2022-11-14T12:24:00.510261 | 2020-07-08T08:38:24 | 2020-07-08T08:38:24 | 278,025,020 | 0 | 0 | NOASSERTION | 2020-07-08T07:48:18 | 2020-07-08T07:48:18 | null | UTF-8 | C++ | false | false | 15,082 | cpp | layer_manifest.cpp | /*
* Copyright (c) 2018 Valve Corporation
* Copyright (c) 2018 LunarG, Inc.
*
* 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
*
* Unl... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.