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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
dc3eb56ada6e73b12bdcd91da9d970092d111d04 | db6f254a1bea4faa695457f2996984f8189b75fb | /leecode/array/Rotate_Image.cpp | 88750af661814b63bba702687b59edec9bd470f8 | [] | no_license | cumtmiao/Algrithm | d567ba71da8b843c316625966c639bff33e2af04 | ce7c0219328a115a443d08444784987cc092d729 | refs/heads/master | 2020-03-10T06:36:05.381383 | 2018-06-12T09:45:01 | 2018-06-12T09:45:01 | 129,243,293 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 650 | cpp | Rotate_Image.cpp | /*
You are given an n x n 2D matrix representing an image.
Rotate the image by 90 degrees (clockwise).
Follow up:
Could you do this in-place?
*/
#include<iostream>
#include<vector>
using namespace std;
//第i行的值赋给第n-i-1列;第j列的值赋给第j行。
void rotate(vector<vector<int>>& matrix) {
int n=matrix.size();
vector<vector<int>> r... |
f2b46254c489b4fa7ca0f5aff52cb022c77dc107 | bcb73f1916a35143ca55cc7ed82c40299778c0fa | /utils/primitives/Sqrt.h | f064083892b5e8c7ccf14647b39dfc50ab6060dc | [] | no_license | Josipmrden/ImplicitFunctionGPAlgorithm | 858657698589425e67d21390ba5f91213300a248 | ba88377d695649bab8202be788404e85c84fe3be | refs/heads/master | 2022-12-26T00:23:26.414596 | 2020-09-26T08:23:20 | 2020-09-26T08:23:20 | 235,418,067 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 426 | h | Sqrt.h | #include <cmath>
class Sqrt : public Tree::Primitives::Primitive
{
public:
Sqrt()
{
nArguments_ = 1;
name_ = "sqrt";
}
void execute(void* evalOp, Tree::Tree& tree)
{
double& arg = *(double*)evalOp;
getNextArgument(&arg, tree);
if (arg > 0)
{
... |
21ffa8957e232d8bd1f232bbadcb0c8bd149b270 | 2a7adf011cd60554bc54016bbb4fd054dac0dcc3 | /src/raider.cpp | 02150cdcfeff1e838798553fcd9b21f4700686f6 | [] | no_license | synkova-public/temple_fall | 23f47dc21e569f7c66c2ddd6c82cf20a4cefca77 | 284604c15472bfd2a9c4048f9a8668b45f64087e | refs/heads/master | 2020-12-20T16:57:32.696349 | 2020-01-25T10:20:00 | 2020-01-25T10:20:00 | 236,145,428 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,545 | cpp | raider.cpp | // Header
#include "raider.hpp"
#include "world.hpp"
// internal
#include "platform.hpp"
// stlib
#include <string>
#include <algorithm>
Texture Raider::raider_right_texture;
Texture Raider::raider_left_texture;
bool Raider::init() {
m_vertices.clear();
m_indices.clear();
candown = true;
canup = t... |
f7440618303a317779adf05ec5cf8dc80a6287b3 | 549bd1dbd200d5e360bb487189303eaf364c6070 | /Engine/src/Platform/OpenGL/OpenGLBuffer.cpp | df1781a14150a711b4c6ae65fcd0d4af50e38610 | [
"CC-BY-4.0"
] | permissive | Mazi-S/cgue21-ArcaneArts | ad2b052d75aa9a5a6a1f2bbb57617553fd91dc34 | 30391a9b3b8979798020fb9f82231a80b2de655c | refs/heads/main | 2023-05-29T16:16:37.898875 | 2021-06-16T15:24:48 | 2021-06-16T15:24:48 | 305,511,887 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,160 | cpp | OpenGLBuffer.cpp | #include "egpch.h"
#include "OpenGLBuffer.h"
#include <glad/glad.h>
#include "Platform/OpenGL/OpenGLAPI.h"
namespace Engine::OpenGL {
//////////////////////////////////////////////////////////////////////////////////////////////////
// VertexBuffer //////////////////////////////////////////////////////////////////... |
63344349e7d0e3a29c8f96cfce6ee30da2150f1c | 35b681f64af39fb20ef162a041b446a2d4ebbb54 | /DFA/State.cpp | 5e24a3c1692adc89ff1a1d15b31c6365a7e3f60c | [] | no_license | HridinDmitriy/RegExp | 7de002091b56a27bee9a00c7fee8003b851b342e | 357e210d3996c5ca91b91fea4da159011c6bd957 | refs/heads/master | 2023-03-21T09:39:53.972694 | 2021-03-12T15:52:20 | 2021-03-12T15:52:20 | 347,110,566 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 627 | cpp | State.cpp | #include "State.h"
State::State(std::string _name, bool _init, bool _fin)
: name(_name), is_init(_init), is_final(_fin)
{ }
void State::set_name(std::string _name)
{
name = _name;
}
void State::set_init(bool er)
{
is_init = er;
}
void State::set_final(bool fin)
{
is_final = fin;
}
std::string State::get_name... |
301c8f8f3724bd99c51eb00e42450d14e073c3d0 | 7d2a1f2639a24ff7c26ebebd959eef28a15f33b3 | /Algorithms/zak/utils/gen_basic.cpp | 69b613ab6ec8560cf33c43ea7e377f59cc58a870 | [] | no_license | Johny7013/MyAlgorithmicTasks | 7271f4f02eb2e169f6de575ab1a220e0e44efc68 | cf0518772a2e444843fb1b364965080670cd53de | refs/heads/master | 2020-04-28T18:15:07.786765 | 2019-03-13T18:11:14 | 2019-03-13T18:11:14 | 175,472,827 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 355 | cpp | gen_basic.cpp | /* Prosta przykladowa generatorka, ktora nic nie wypisuje. _Koniecznie trzeba_
* zastapic ten tekst jakims swoim opisem generatorki. (I nie pominac opisu
* argumentow.)
* Argumenty:
* 1) seed - ziarno generowania liczb pseudolosowych
*/
#include<sowa/gen.h>
int seed;
int main()
{
mscanf("%d",&seed);
... |
6d4ae6f70862979e43f998d47b7a495aa0608169 | 4174dc73c4507fb780e32b01a30fb164d2e9ca9f | /src/core/Compositor.hpp | 150d75bdcca65fe6a4527088a25166f32d574510 | [
"MIT"
] | permissive | ShamylZakariya/KesslerSyndrome | c4708c81ff24a27bec1e3ea9da3c9619cc50ed35 | dce00108304fe2c1b528515dafc29c15011d4679 | refs/heads/master | 2020-03-11T06:18:45.099541 | 2018-08-03T00:58:53 | 2018-08-03T00:58:53 | 129,826,865 | 0 | 0 | MIT | 2018-07-15T17:06:49 | 2018-04-17T01:19:11 | C++ | UTF-8 | C++ | false | false | 2,705 | hpp | Compositor.hpp | //
// Compositor.hpp
// KesslerSyndrome
//
// Created by Shamyl Zakariya on 4/18/18.
// Copyright © 2018 Shamyl Zakariya. All rights reserved.
//
#ifndef Compositor_hpp
#define Compositor_hpp
#include <cinder/Area.h>
#include <cinder/gl/scoped.h>
#include <cinder/gl/Fbo.h>
#include <cinder/gl/GlslProg.h>
#include... |
02314f47e127aa8d80d666a8735af9f5759dccd2 | 49aef59a754ded1be83520c78a2d55b58bf57336 | /Common/window_tool/MenuAPI.cpp | 6553f86c13f81b1a4ac971ff157ef43f97f65b42 | [] | no_license | andreyV512/Coating | 048fe1764e6d0beb91e3d4832fb660f058f97b6b | 2d98bed2ff91faeb8561d99e6253bcd39123e829 | refs/heads/master | 2023-04-14T20:25:14.481248 | 2021-04-27T10:34:04 | 2021-04-27T10:34:04 | 347,822,035 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,009 | cpp | MenuAPI.cpp | #pragma once
#include "MenuAPI.h"
#include <CommCtrl.h>
//---------------------------------------------------------------------------
void EventDo(TCommand &m)
{
if(m.hControl)
{
if(m.id)
{
TBBUTTONINFO button_info = {};
button_info.cbSize = sizeof(button_info);
button_info.dwMask = TBIF_LPARAM;
SendM... |
e0c84ed3e35505612fb513f4911f6275b3ae0aa7 | 3841f7991232e02c850b7e2ff6e02712e9128b17 | /小浪底泥沙三维/EV_Xld/jni/src/EV_Graphic_CSharp/wrapper/particleemitterfactory_wrapper.cpp | 9ac88a8f2c22c34096ea0fa35292967afcdb39d2 | [] | no_license | 15831944/BeijingEVProjects | 62bf734f1cb0a8be6fed42cf6b207f9dbdf99e71 | 3b5fa4c4889557008529958fc7cb51927259f66e | refs/heads/master | 2021-07-22T14:12:15.106616 | 2017-10-15T11:33:06 | 2017-10-15T11:33:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,765 | cpp | particleemitterfactory_wrapper.cpp | /* This file is produced by the P/Invoke AutoWrapper Utility
Copyright (c) 2012 by EarthView Image Inc */
#include "stableheaders.h"
#include "graphic/particleemitterfactory.h"
namespace EarthView
{
namespace World
{
namespace Graphic
{
typedef char* ( _stdcall EarthView_World_Graphic_CParticleEmitterFactor... |
d9c433f20b8a9a1c1beab0be0135d55f747a4553 | d243de775185ee0cd313c64f3f206a69ff2d112f | /src/JgLoadSurface.cpp | f87aa639177639b884daee7d1bfb984a597e559c | [
"MIT"
] | permissive | Qwertycrackers/JagGame | ff38c3bd93820f2577cb5745a1ab38c071b72a5c | 4fa80114b2501e4a792943e565bd2050602eef39 | refs/heads/master | 2021-09-07T06:49:51.556659 | 2018-01-18T01:23:27 | 2018-01-18T01:23:27 | 114,596,069 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 365 | cpp | JgLoadSurface.cpp | #include "JgLoadSurface.h"
SDL_Surface* JagGame::LoadSurface(std::string path, Uint32 format) {
SDL_Surface* loadedSurface = IMG_Load(path.c_str());
//if( loadedSurface == NULL )
//throw some exception in here
SDL_Surface* optimizedSurface = SDL_ConvertSurfaceFormat(loadedSurface,format,0);
SDL_FreeSurface( loa... |
fe93bfc2be971731e15995a5193ced3ab515d770 | 5e6e9db9ed585c78fa8493685cdf853aa3a22d37 | /src/Extract_Summaries/facts_summary_builder.cpp | 581b6750949a10009b62e2b9b80d535fd996e647 | [] | no_license | karineek/latticeref | 4453d46bd68ff5f89cc430fa290ac4c4db03fdc9 | ecc09397ecb153a8cd579e588b794eac9bd5fdac | refs/heads/master | 2020-04-08T20:37:54.580702 | 2020-01-15T12:13:19 | 2020-01-15T12:13:19 | 159,707,565 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,494 | cpp | facts_summary_builder.cpp | #include "facts_summary_builder.h"
#include "facts.h"
#include "../../funfrog/hifrog.h"
#include <iostream>
#include <fstream>
using namespace std;
void facts_summary_buildert::write_summary_facts(std::string file_name, std::set<std::string> headers) {
ofstream summary;
summary.open (file_name);
// ... |
ca42dd04eb52432575dd2d12c7986c718d9338a9 | 273a7e487cb5138062a8a86906177ad32d19465a | /checker/tracking/src/MCEvent.cpp | f25babf287ab5665293db0f6a1452cf62c87bc56 | [] | no_license | Qwicen/cuda_hlt | bf9b248ed313090a7518a58adcc7d28ffe74a8dc | 6a91403707f2e986d00f5fae8df1ca726c0fab45 | refs/heads/master | 2020-03-27T11:08:48.432795 | 2019-04-02T07:39:26 | 2019-04-02T07:39:26 | 146,467,938 | 1 | 3 | null | 2019-03-27T19:27:23 | 2018-08-28T15:25:25 | C++ | UTF-8 | C++ | false | false | 4,933 | cpp | MCEvent.cpp | /** @file velopix-input-reader.cpp
*
* @brief reader of velopix input files
*
* @author Rainer Schwemmer
* @author Daniel Campora
* @author Manuel Schiller
* @date 2018-02-08
*
* 2018-07 Dorothea vom Bruch: updated to run over different track types,
* take input from Renato Quagliani's TrackerDumper
*/
#inc... |
8c2cbfc0b3cbee0ec450fa541ea02f0c6d866820 | 57a2ca3f5ae74290258e3bb654be88ad95e7a107 | /Menus/Custom Widgets/VariableEditor.cpp | 58713c81c9bad94b07eff81ee2f83e983aeaff6f | [
"MIT"
] | permissive | JARVIS-AI/HiveWE | 943568f26de550badee275e77837bf1c7d32abad | c0a2a2e863d3fb901497e8038d689e30b411df40 | refs/heads/master | 2022-12-01T03:29:32.762470 | 2020-08-05T13:47:31 | 2020-08-05T13:47:31 | 286,821,773 | 0 | 0 | MIT | 2020-08-11T18:55:53 | 2020-08-11T18:40:57 | null | UTF-8 | C++ | false | false | 525 | cpp | VariableEditor.cpp | #include "VariableEditor.h"
VariableEditor::VariableEditor(TriggerVariable& variable) : QWidget() {
ui.setupUi(this);
ui.name->setText(QString::fromStdString(variable.name));
ui.type->setText(QString::fromStdString(variable.type));
ui.array->setChecked(variable.is_array);
ui.array_size->setEnabled(variable.is_arr... |
13eaaed60bd48d22c5bfdc85e350eede06565ffb | d0fc99d03921364e09f5034474b07b3ab5f9e2a2 | /Solution/Project/Library/Camera.h | 3c381337d85804018010a5c6a3615bc00913f261 | [] | no_license | bullfrognz/PikPok | ad29515fdfbdb6f25aea2613ba420e418c7cc41f | e37b432aff5795b2898371d833768f63e880fa35 | refs/heads/master | 2020-03-29T16:23:31.552691 | 2014-08-08T04:13:06 | 2014-08-08T04:13:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,485 | h | Camera.h |
//
// File Name : Camera.h
//
// Author : Bryce Booth
// Mail : brycebooth@hotmail.com
//
#pragma once
#ifndef __Camera_H__
#define __Camera_H__
// Dependent Includes
#include "Library/Entity.h"
// Local Includes
#include "Library/ViewMatrix.h"
#include "Library/ProjectionMatrix.h"
#include ... |
8ad1fe0357569c90a58929d3fa2f05239aea43ec | b1a0774f566e92641e942131d5261d776fc85a68 | /include/pal_locomotion_actions_slmc/csv_walking_action_prev.h | a7789cdf9e53d637ca9782a909f56d2c16f9661f | [] | no_license | ggory15/pal_locomotion_actions_slmc | aaf47f562f2c2c38ba290f86d7ae86727c63d566 | a808121f4df255a11fd060d948be8c9b1204ef81 | refs/heads/master | 2023-02-26T22:48:37.842550 | 2021-02-05T14:40:39 | 2021-02-05T14:40:39 | 299,536,845 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,146 | h | csv_walking_action_prev.h |
#ifndef _CSV_WALKING_ACTION_PREV_
#define _CSV_WALKING_ACTION_PREV_
#include <pal_locomotion/state_machine/walking_action_base.h>
#include <pal_ros_utils/reference/pose/pose_reference_minjerk.h>
#include <pal_ros_utils/reference/pose/pose_reference_minjerk_topic.h>
//#include <pal_locomotion_actions_slmc/csv_utils.h>... |
0b1698cd4d5923f9689dc898776977acdbc7d3c0 | c1c95b3eeff25a82864906006801414f6811dc05 | /ph_PWMngr/EncryptKeyGen.cpp | b267685a1a474d66b4d830ff7749be141fe0e34a | [] | no_license | wzp85/myprotect | ef16d2e3ac4ee9f854481882f6df92edcdb3eb10 | 5473deb6c0ebf74bfc89e9a4d7a679537b25b593 | refs/heads/master | 2020-04-02T05:23:42.476955 | 2016-06-02T08:22:02 | 2016-06-02T08:22:02 | 60,246,490 | 0 | 1 | null | null | null | null | GB18030 | C++ | false | false | 7,342 | cpp | EncryptKeyGen.cpp | // EncryptKeyGen.cpp : 实现文件
//
#include "stdafx.h"
#include "ph_PWMngr.h"
#include "EncryptKeyGen.h"
#include "afxdialogex.h"
#include "ph_km.h"
#define EK_UPDATA 888
// CEncryptKeyGen 对话框
IMPLEMENT_DYNAMIC(CEncryptKeyGen, CDialogEx)
CEncryptKeyGen::CEncryptKeyGen(void *handle,CWnd* pParent /*=NULL*/)
: CDialogEx(... |
8ce2e7a6b107f1df122d3d0d766ae0aa2a108edf | 13739586a566a82b47b88f06a9ba7da61d9f167e | /LeetCode/942. DI String Match.cpp | 3e45019096d7e8fbc1417c9909cfea49d1a8a82a | [] | no_license | sajalagrawal/BugFreeCodes | d712e5a46fa62319b66b00977a157e4c1758273f | c1930a68bdc50619daefea7f7088b506dd921e4c | refs/heads/master | 2023-01-20T19:13:08.736719 | 2023-01-15T14:38:27 | 2023-01-15T14:38:27 | 56,171,988 | 5 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 747 | cpp | 942. DI String Match.cpp | //https://leetcode.com/problems/di-string-match/description/
class Solution {
public:
vector<int> diStringMatch(string s) {
int level = 0;
//map<level, list of indexes at that level>
map<int, vector<int>> mp;
mp[0].push_back(0);
for(int idx=0;idx<s.size();idx++){
... |
1a71a4f9f489b8f20c97bae6fc8f1f2b0a71c48c | 1372416701108721cb2ca3dc02985acebe2b2396 | /Classes/HelloWorldScene.cpp | 215af1c7a4158c7ff84f5b3f2eba09f2bd187e93 | [
"ICU"
] | permissive | enhhh/cocos2dx-MFC | 763301e9606cd99b64583698c999eabb20a7b903 | 3be7646d40f0257a123bc5a1258968745f2c8813 | refs/heads/master | 2021-05-16T10:20:04.057884 | 2019-04-01T06:10:38 | 2019-04-01T06:10:38 | 39,494,959 | 3 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 690 | cpp | HelloWorldScene.cpp | #include "HelloWorldScene.h"
static TestInstance * s_pTestInstance = nullptr;
TestInstance * TestInstance::getInstance()
{
if (!s_pTestInstance)
s_pTestInstance = new TestInstance();
return s_pTestInstance;
}
TestInstance::TestInstance()
{
}
void TestInstance::setCurrentSelectClassName(const std::string &str)
... |
958dd8425e63ca87301b140201a3ceb0ad3fc26d | 6e1d041e81d3239b20d1a585a593b9a7f7045bb1 | /mock-esp/src/model/InOutRule.cpp | d1f0fc4aaa77347e001d5994abb9b6875bba4325 | [
"MIT"
] | permissive | sebsalva/MockGen | 1ac2efb10fe090380660e95aec347b26f62e78b7 | 25185e70dbcf1af155d8358721b0b49f0be95bc7 | refs/heads/master | 2022-05-17T06:56:04.356897 | 2020-04-24T12:59:34 | 2020-04-24T12:59:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 120 | cpp | InOutRule.cpp | #include "InOutRule.h"
InOutRule::InOutRule(Request &request, Response &response)
: Rule(request, response) {}
|
c126d88ec9138c5886c96b739a0ef589f07c1d6b | 16e83cfaa02b61bfef60d61e0911b84c26121d93 | /My_unique_ptr.hpp | 9c11aafdf31209fa28eece38088381a3f4b18e1d | [] | no_license | kdoroszko/My_unique_ptr | 0d50b0198bcdbe8ce27b0a1b50e91fe4826a1695 | 5bfa0c085e831a3a739bfd00032232f1d9ac2e9e | refs/heads/master | 2020-07-24T03:42:59.717805 | 2019-12-05T11:31:14 | 2019-12-05T11:31:14 | 207,791,480 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,281 | hpp | My_unique_ptr.hpp | #pragma once
#include <utility>
#include <cstddef>
template <typename T>
class My_unique_ptr
{
public:
explicit My_unique_ptr(T *new_ptr = nullptr) : ptr(new_ptr) {}
My_unique_ptr(const My_unique_ptr &new_ptr) = delete;
My_unique_ptr(My_unique_ptr &&other) : ptr(other.ptr)
{
other.ptr = nul... |
ca7485aeef2f09ea539b1c02efe00bf3b062f31b | e82771dfc3b02dd4eab0b6e3903b3f3329bdf5ed | /SampleSource/ShowPalette/main.cpp | c9751cac866b512d52c8a8aba3c7dd6f254e7fc1 | [] | no_license | opxdo/libgrp | 20ad5fef3c3a911937ee9dfc7c0816966f28cc11 | 291f134a7f9fd70f2d39ea98f1bbed1308e7da48 | refs/heads/master | 2021-12-05T00:53:13.018757 | 2014-06-02T05:50:16 | 2014-06-02T05:50:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,644 | cpp | main.cpp | #include "main.hpp"
int main(int count,char *argv[])
{
//Watches to see if a key is pressed
SDL_Event keyPressedEvent;
//Allow for repeated keys
SDL_EnableKeyRepeat(50, 5);
//Initialize basic SDL library
if(SDL_Init(SDL_INIT_VIDEO|SDL_INIT_TIMER)==-1)
{
std::cout << "SDL was un... |
9ff8ca34bebcdf413df62edbe478f91454f35cef | b581691f06545e77ad748955372c130b981b1348 | /src/Sampling_test.h | 1c81f214264fa9891a8ffb90ed2dc23f5409efd3 | [
"BSD-3-Clause"
] | permissive | parik-lum/MCMCSampleGenerator | 7cea5b8feddee7bfed98051c216539a6ade74aea | 4a8a781b60878c1ec7d66484b82973bc6619322e | refs/heads/master | 2022-12-26T17:30:50.534617 | 2020-10-14T18:27:57 | 2020-10-14T18:27:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,435 | h | Sampling_test.h | /*******************************************************************************
* Copyright (C) 2020 Parikshit Dutta
*
* All Rights Reserved.
******************************************************************************/
// Author: Parikshit Dutta
#pragma once
#include "gtest/gtest.h"
#include "Utilities.h"
#in... |
bc9cbb824893d3b6a1f9eee5102e6a2bcfa02f74 | a95dafa235db297cd4bd768f193de9854c3d91cd | /ggl/rgba.h | 8c6e7eaa0f49584305887f39a92b4ed7032ca4a8 | [] | no_license | mpersano/not-qix | e53096f609ab5e462d32dd5b6e2a1c39a16c6760 | 3de0407a5c22e1ed6016e54ca74b88bdc0eba77c | refs/heads/master | 2020-04-06T03:40:26.109747 | 2016-02-13T15:46:55 | 2016-02-13T15:46:55 | 40,371,969 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 111 | h | rgba.h | #pragma once
namespace ggl {
struct rgba
{
float r, g, b, a;
};
static const rgba white { 1, 1, 1, 1 };
}
|
48ecb90bfd9074b9850e9e08ea035a9ce6ade986 | e09ed432ad106446e6bce9eb08cee763440153bd | /http_utils.h | 7450d24f43a41d73df754584554a4b1ecfc9ce44 | [] | no_license | chunyi1994/vincy | 6f64250f5a3351924596b04261c2338b37113ab0 | 66efff4bb91ccaad900b8b5e901adcd94bb90c46 | refs/heads/master | 2021-06-13T21:55:03.138049 | 2017-03-07T17:03:38 | 2017-03-07T17:03:38 | 73,173,754 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 923 | h | http_utils.h | #ifndef HTTP_UTILS_H
#define HTTP_UTILS_H
#include <string>
#include <sys/stat.h>
namespace vincy {
static ssize_t getFileSize(const char *path)
{
ssize_t fileSize = -1;
struct stat statBuff;
if(stat(path, &statBuff) >= 0)
{
fileSize = statBuff.st_size;
}
return fileSize;
}
std::strin... |
e02cdbf82dd9bfa006b3992b4bf1a54ec82e0959 | 43df099baa0808c6be5387bafe7ec2fdfce2e311 | /ImGuiInterface/ImGuiInterface.h | bfd0e399bd4b5d0cc76e6c07579401f6ec12b66c | [
"MIT"
] | permissive | michalzaw/vbcpp | 85fd59cdb8ffeef7f2031a8e3c021eb645661e44 | c969f697e7c55027d5a5226069ac26ef99b271fd | refs/heads/master | 2023-04-05T01:32:45.506125 | 2023-03-12T18:07:58 | 2023-03-12T18:07:58 | 271,097,287 | 11 | 1 | MIT | 2023-09-12T20:48:00 | 2020-06-09T19:58:36 | C++ | UTF-8 | C++ | false | false | 767 | h | ImGuiInterface.h | #ifndef IMGUIINTERFACEI_H_INCLUDED
#define IMGUIINTERFACEI_H_INCLUDED
#include <vector>
#include "ImGuiWindow.h"
#include <imgui.h>
#include <backends/imgui_impl_glfw.h>
#include <backends/imgui_impl_opengl3.h>
#include "../Scene/SceneObject.h"
#include "../Scene/SceneManager.h"
#include "../Window/Window.h"
cl... |
38f87738696169f6b0fc7f16cac27169d3adc235 | 4192435e7b4c1deb7ed4bfc5c51c28d24fc5f4d9 | /496.cpp | 793aed6858ce90d3f29cba3506db6ce09a1c2379 | [] | no_license | MDNoorUddin/UVA-Solutions | b1640d4ee862f161684fe43cf9a37b080e8e841c | b68a2dbd9cf175775a9ec20a1394ec11a1f8f07b | refs/heads/master | 2021-08-08T10:27:51.272631 | 2020-03-09T19:18:17 | 2020-03-09T19:18:17 | 100,978,184 | 5 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 1,149 | cpp | 496.cpp | #include <iostream>
#include<stdio.h>
#include<math.h>
#include<algorithm>
#include<stack>
#include<queue>
#include<set>
#include<map>
#include<vector>
#include<math.h>
#include<string>
#include<list>
#include<bits/stdc++.h>
using namespace std;
#define ll long long
#define input scanf
#define output printf
#define... |
a2ea8e07ca8b8ec29e53b6eb84508b7a33552db8 | 916b6e95257cfec6af7c40ae4d59900f81d8b848 | /game_server/match_recorder.cpp | d5669d7225392dd0e43396db5d0a0228037c7d45 | [] | no_license | singerinsky/omgserver | be059cbcab1871e59abd53fba1d520a33278b006 | a5853676372525e6fa2ddc19f199069be9531c70 | refs/heads/master | 2021-01-13T02:23:00.479357 | 2013-11-25T13:44:01 | 2013-11-25T13:44:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,955 | cpp | match_recorder.cpp | #include "match_recorder.h"
#include <map>
using namespace omg;
void MatchRecorder::update(void) {
export_item(_ball_frames, _match->get_ball(), "ball");
for (int i = 1; i <= RECORDER_PLAYER_COUNT; ++i) {
update_player(i);
}
}
void MatchRecorder::update_player(int player_id) {
int index = player_id - 1;
Play... |
093c6b335a6e6aa8e2f8cdad7cd7de65fcc79551 | 975142ac6ec86cebb53de5e6e070fd8596379eaa | /HUD.cpp | 530c9f23785eb4d2f6f0da5bc329e8fd7dd4e2b3 | [] | no_license | ivandro/Nightmare-s-lair | 9d66527c56a62c045a1ad2d64451ef2bdc37ea71 | 33a474be5ef5f476a29a7487fad0e4ed07be48cb | refs/heads/master | 2016-09-06T07:00:29.032471 | 2011-12-05T19:39:55 | 2011-12-05T19:39:55 | 2,674,324 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,665 | cpp | HUD.cpp | #include "HUD.h"
namespace example {
HUD::HUD( std::string id ) : cg::Entity( id ) {
}
HUD::~HUD() {
}
void HUD::init() {
cg::tWindowInfo win = cg::Manager::instance()->getApp()->getWindowInfo();
height = win.height;
width = win.width;
_position.set(0,0);
_characterPosition.set(650, 150); //to c... |
8dbf922ad8641aaced9f4f3635eeb683e25c4a6f | 3b4186f2add59f72fe754386c98625827b42d5e7 | /include/optionpp/result_iterator.hpp | b087d8e335df19c4a56681deb39289130a0153db | [
"BSL-1.0",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | gkikola/optionpp | ddd5fbc89f21819dd012a52deb55bac7f264b281 | 554326244959d9d547dd48adb3980184d9841f1a | refs/heads/master | 2022-10-19T00:48:59.574292 | 2020-06-09T20:45:50 | 2020-06-09T20:45:50 | 81,715,020 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,214 | hpp | result_iterator.hpp | /* Option++ -- read command-line program options
* Copyright (C) 2017-2020 Greg Kikola.
*
* This file is part of Option++.
*
* Option++ is free software: you can redistribute it and/or modify
* it under the terms of the Boost Software License version 1.0.
*
* Option++ is distributed in the hope that it will be ... |
913dfbdc7db55891a98d46ada8e5333ccd5ef99b | 98907ecd57ebc8027c3ef868eb4e66c64421502c | /datagrams.cc | 562f51f3d992d3228443840f1c3d279e8b447d84 | [] | no_license | krzpiesiewicz/SIK-radio-sender-and-receiver | 701b250b40d31662557175370a58c6624050b32c | 04d4974083aaafbad0b9a9155788decc95771033 | refs/heads/master | 2020-03-29T02:29:15.537172 | 2018-09-19T13:00:06 | 2018-09-19T13:00:06 | 149,439,396 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,098 | cc | datagrams.cc | #include <memory>
#include <cstddef>
#include <list>
#include <sstream>
#include <mutex>
#include "udp_sock_and_msg.h"
#include "datagrams.h"
#include "err.h"
#include "host_and_net.h"
#include "debug.h"
using namespace std;
size_t AudioDatagram::AUDIO_DATA_SIZE = 0;
size_t AudioDatagram::audio_datagram_all_size() {... |
bc57635881d1c8553970f1f59047a62ee662fef0 | 1ecc745caf1850a3e7915862fc42624e2366229e | /C-language-practice/180_example.cpp/180_example_6-16.cpp | f5a26a63cac94c9132b9a7c84d297789eb7be2a0 | [] | no_license | rlwi440/2020_Basic-Python-Cpp | e1ad1702ceaae332946ce4203168b471c6b2b8a5 | ae59dc3f35165fc51466ad061072b76975c01ee3 | refs/heads/master | 2023-08-18T20:22:01.622888 | 2021-09-21T10:37:33 | 2021-09-21T10:37:33 | 408,778,037 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,266 | cpp | 180_example_6-16.cpp | /**
* @param int i,j
* @param int mx[4][3],my[3][4],mz[4][4]
* @return mat_mul
*
* @description example multidimnesional array
*
* @version 0.28.2
* @author 깔끔한 청년
* @Seecom C/C++
* @Since 2020.06.07
*/
#include <stdio.h>
void mat_add(const int a[][3], const int b[][3], int c[][3], int n) //n행 3열의 행렬 a와... |
c65924768a3bc8bdb15160067a94ea2f9d4832ef | 78aeea40514f3c465a7fe22227c568964f4e592d | /src/server/Device.cpp | af37c9013ae63cd0e8e9878137f19823114baf02 | [
"MIT"
] | permissive | danielsuo/mobot | 281cc73026a75985dd5b409b4b95db7cb116bbb6 | f46682329a6c6840356d2b1dc32b1fc54eddfe7b | refs/heads/master | 2021-01-10T12:45:09.424761 | 2016-03-29T23:59:53 | 2016-03-29T23:59:53 | 39,472,139 | 0 | 3 | null | 2016-01-15T04:02:40 | 2015-07-21T22:03:43 | Matlab | UTF-8 | C++ | false | false | 4,819 | cpp | Device.cpp | #include "Device.h"
int Device::currIndex = 0;
Device::Device(char *name, char *path, ParserOutputMode mode) {
this->name = name;
this->path = path;
parser = Parser::createParser(index, name, mode);
parser->name = name;
parser->readyToRecord = true;
index = currIndex++;
cerr << "File descriptor for de... |
fd2c25e42844192eb3f9bf58db336586b99bd640 | ccf7d63cf373bd9ff9b83c9cad0921d237c240f4 | /src/point_indexer.h | 7ee4954f5fb63c9166d799283d1b6bc188b7bd12 | [] | no_license | baskeboler/dslither | 69a65e8e9c8a447aedea0058840527e2ca331455 | 151822ae7aa594a361f351fa3f61f075a05c1a2e | refs/heads/master | 2022-12-25T11:05:20.797153 | 2020-10-05T05:52:20 | 2020-10-05T05:52:20 | 300,663,765 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,798 | h | point_indexer.h | #ifndef POINT_INDEXER_H
#define POINT_INDEXER_H
#include <ostream>
#include <vector>
#include <boost/geometry.hpp>
#include <boost/geometry/geometries/adapted/boost_tuple.hpp>
#include <boost/geometry/geometries/adapted/c_array.hpp>
#include <boost/geometry/geometries/point_xy.hpp>
#include <boost/geometry/io/io.hpp>... |
e2b2227356c3e60a0eb1405936acbaaf39dc5c1b | bb771aae9de28540e65d55000d1f1f657accf632 | /dev/source/util/keyvalues.h | e1666989f90619de84247f04dbd36a4dc4527601 | [] | no_license | mukunda-/The-Unbound-Project | 201790afa8a07cd08610d562022543e164b1695f | 6295a110efd3ecd6f628206e5a164892278860ca | refs/heads/master | 2021-01-25T08:32:13.388427 | 2016-02-25T23:03:52 | 2016-02-25T23:03:52 | 23,752,412 | 1 | 0 | null | 2015-11-03T23:04:17 | 2014-09-07T04:28:27 | C++ | WINDOWS-1252 | C++ | false | false | 6,262 | h | keyvalues.h | //============================ The Unbound Project ==========================//
// //
//========== Copyright © 2014, Mukunda Johnson, All rights reserved. ==========//
#include <stack>
#include <vector>
#include <assert.h>
#include "util/st... |
3228b406affc0dbb27bd07a85f5f1d3068ca23ec | e7e497b20442a4220296dea1550091a457df5a38 | /main_project/socialgraph/recommendblog/util/blogcachehelper.cc | 28141e33e9f81855782b0e944ff58d92d7513350 | [] | no_license | gunner14/old_rr_code | cf17a2dedf8dfcdcf441d49139adaadc770c0eea | bb047dc88fa7243ded61d840af0f8bad22d68dee | refs/heads/master | 2021-01-17T18:23:28.154228 | 2013-12-02T23:45:33 | 2013-12-02T23:45:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,512 | cc | blogcachehelper.cc | //#include <boost/lexical_cast.hpp>
//#include <boost/foreach.hpp>
//#include <vector>
#include <string>
#include "socialgraph/recommendblog/util/blogcachehelper.h"
using namespace xce::socialgraph;
typedef std::vector<int> IntVec;
typedef std::vector<std::string> StrVec;
typedef std::set<int> IntSet;
/*
Cache stora... |
4307a7ff75197f80d8142c3498d07531847b1d7f | 6e289bbec58955aaf2be42b4e80a189d62351067 | /include/private/common/sandbox.hpp | 171b3f68878a257d8b7eeb488689f184fd91eb88 | [
"BSD-2-Clause",
"Zlib",
"MIT",
"curl",
"BSD-3-Clause"
] | permissive | ashishnigam/measurement-kit | d026c5b31802e63887967769651b4459e2aab032 | da748278246b6ca17f51bc50ab25ae24886032f1 | refs/heads/master | 2021-01-16T21:34:07.840512 | 2017-08-13T17:00:43 | 2017-08-13T17:00:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 811 | hpp | sandbox.hpp | // Part of measurement-kit <https://measurement-kit.github.io/>.
// Measurement-kit is free software under the BSD license. See AUTHORS
// and LICENSE for more information on the copying conditions.
#ifndef PRIVATE_COMMON_SANDBOX_HPP
#define PRIVATE_COMMON_SANDBOX_HPP
#include <measurement_kit/common/error.hpp>
#inclu... |
0a2d09af061a17ab6a6431ae6ff53948ffceae9b | a6474f899a86898916c4110348247ef218faaf36 | /course5/meeting07/meeting07.cc | 6c7869b2a513352f727a0df53bf384f728058739 | [] | no_license | david-grs/c-excercises | 420eaf3e5165afdc953bc083c68dfdb75a7deb16 | 2aa9209cc5148d4276d8593fd1656d1b6a376740 | refs/heads/master | 2021-08-08T05:28:40.504646 | 2017-11-09T17:10:01 | 2017-11-09T17:10:01 | 110,030,206 | 1 | 0 | null | 2017-11-08T21:03:09 | 2017-11-08T21:03:09 | null | UTF-8 | C++ | false | false | 341 | cc | meeting07.cc | #include <iostream>
#include <memory>
#include <cassert>
#include <string>
using namespace std::literals;
template<typename ... T>
void println(T... v)
{
std::cout << "println" << std::endl;
}
int main(int /*argc*/, char** /*argv*/)
{
println(7);
println(8.8);
println("Hello!");
println(7, 8.8, "hello");
print... |
13fe78b0c58de2ec6cf98b0c52e87fbc7b69bd3d | 8002899ad68b0d350920ccafb16cbd1f1afd7f4f | /JASSjr_index.cpp | 0433e0aa5d3cd079223198cb84afb63bbf9b1c2f | [
"BSD-2-Clause"
] | permissive | prasys/JASSjr | d2e3fca1fb5bb54b6087824b06bf3c2b9a48ea2f | b343dcd1296c5742cd3fcbc30165fe7404651e8c | refs/heads/master | 2022-11-15T11:04:22.237887 | 2020-07-09T23:47:21 | 2020-07-09T23:47:21 | 267,434,037 | 0 | 1 | null | 2020-05-27T21:54:19 | 2020-05-27T21:54:18 | null | UTF-8 | C++ | false | false | 5,342 | cpp | JASSjr_index.cpp | /*
JASSJR_INDEX.CPP
----------------
Copyright (c) 2019 Andrew Trotman and Kat Lilly
Minimalistic BM25 search engine.
*/
#include <ctype.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <stdint.h>
#include <vector>
#include <string>
#include <utility>
#include <iostream>
#include <unordered_m... |
ee7200d7f4cf4d8732808e55faae06c2dd0b1d88 | 1ad3acbabd647946f0505d1cbc133e1b389a998e | /FileSystem/FileSystem.File.cpp | 6fe41e97fff9264e9c35115386a19bc3912074d6 | [] | no_license | FcTD4mN/CMLManager | fb9f67a42b0d629e9c1e8d3759aa3ab5a9b83c66 | 276f2407c7df4718cc385f33663b9ba9c34d00b9 | refs/heads/master | 2021-01-21T15:04:03.575216 | 2018-05-16T09:57:51 | 2018-05-16T09:57:51 | 95,374,164 | 0 | 1 | null | 2017-09-13T10:07:04 | 2017-06-25T17:10:21 | C++ | UTF-8 | C++ | false | false | 6,022 | cpp | FileSystem.File.cpp | #include "FileSystem.File.h"
#include <locale>
#include <fstream>
#include <iostream>
#include <iomanip>
#include <string>
#include <string.h>
namespace nFileSystem
{
cFile::~cFile()
{
}
nFileSystem::cFile::cFile( const std::string& iPath ) :
tSuperClass( iPath ),
mFileType( kOther )
{
ReadType();
... |
52109164e8d3f1a6ffb8e288c8bfc43c72fa3a5b | 99042809b925d13b8b297ade404623f0b6afe57f | /VirtualH89/Src/h37.cpp | 44dc682ce892bfff69692c08cfc976337ce037e1 | [
"BSD-3-Clause"
] | permissive | durgadas311/VirtualH89 | ff565ec60006c4fab927b116973e07fe59ee15ae | 65060e3e1027755226fc3bbdd97e42dc3eeacea6 | refs/heads/master | 2020-12-29T02:55:13.519179 | 2016-05-02T07:34:10 | 2016-05-02T07:34:10 | 50,511,946 | 1 | 0 | null | 2016-01-27T14:13:34 | 2016-01-27T14:13:33 | null | UTF-8 | C++ | false | false | 12,498 | cpp | h37.cpp | /// \file h37.cpp
///
/// \date May 13, 2009
/// \author Mark Garlanger
///
#include "h37.h"
#include "logger.h"
#include "DiskDrive.h"
#include "wd1797.h"
#include "SoftSectoredDisk.h"
#include "InterruptController.h"
#include "GenericFloppyDrive.h"
#include "computer.h"
#include "IMDFloppyDisk.h"
Z_89_37::Z_89_... |
e7ecb8614ac35432147e7f0b224bcfa66a5df1bc | 1e90387180a626b56531e38d5389fbe3c097bbed | /robo/lib/clearpath_base/Encoder.h | cff20e83c07ba034252136597cb2969d707cbf81 | [] | no_license | gfokkema/TI2726-B-Robo | 577898dd848f304ecadf3d6667f8e729236dd3fb | ab9462c8c22bc37384cc8e667f3ca9c81263304e | refs/heads/master | 2021-05-28T18:28:50.919257 | 2015-01-23T21:08:36 | 2015-01-23T21:08:36 | 27,844,296 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,287 | h | Encoder.h | #ifndef _ROS_clearpath_base_Encoder_h
#define _ROS_clearpath_base_Encoder_h
#include <stdint.h>
#include <string.h>
#include <stdlib.h>
#include "ros/msg.h"
namespace clearpath_base
{
class Encoder : public ros::Msg
{
public:
float travel;
float speed;
virtual int serialize(unsigned char *ou... |
4c0fe5f52a8061c46f5b63123fc0ad932ca116a2 | 9463aa7018869e06cc83d2b86a434f71057ff0d8 | /hinge_test/test_reg_mark_chart.cpp | 5806f406975e6373d1d31bcbdf86ca1a105d9b5e | [] | no_license | yuexuanli171885752/test1 | a4cca88be0728273ed4c6b9816b6efbb1605d8e3 | 9d1d2f7a887a0521f486fd3778f10eff2c8128e5 | refs/heads/master | 2020-04-25T01:41:23.462947 | 2019-02-25T02:05:08 | 2019-02-25T02:05:08 | 172,415,865 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 40,230 | cpp | test_reg_mark_chart.cpp | #define _CRT_SECURE_NO_WARNINGS
#include "XTrace.h"
#include "interface.h"
#include "test_reg_mark_chart.h"
#include "inf_motion_aa.h"
#define ABS_WHITE 255
#define ABS_BLACK 0
#define PI (acos(-1.0)) //3.1415926535
SlantedBW mysbw;
SlantedBW cam_sbw;
extern SlantedBW_SM FS;//FOCUS_SCAN struct
ex... |
5d72bbb684ba3a76289610b2c896296a91bcc26a | c7dadd5f8ca9e65b051e4ee86286c1732bbe294b | /practice/insertionsort.cpp | 076127dfa1722eb46d1d410ed30c44976c531c67 | [] | no_license | vanshkapoor/DS-ALGO | 36c31e0b1a315fafcfa073a1cf9ad507b5c0923e | ea7835b5871c160bd8b09ea098e4e36771b07dcb | refs/heads/master | 2021-07-05T23:21:40.160282 | 2020-11-29T21:47:43 | 2020-11-29T21:47:43 | 206,524,703 | 2 | 7 | null | 2020-11-30T14:27:08 | 2019-09-05T09:23:52 | C++ | UTF-8 | C++ | false | false | 423 | cpp | insertionsort.cpp | #include<iostream>
using namespace std;
void insertion_sort(int arr[], int n)
{
int key,j;
for(int i=1;i<n;i++)
{
key = arr[i];
j=i-1;
while(j>=0 && arr[j] > key)
{
arr[j + 1] = arr[j];
j=j-1;
}
arr[j + 1] = key;
}
}
int main()
{
int arr[]={4,7,42,1,99,6,71};
int size = sizeof(arr)/sizeof(... |
d4a26d9f0aeaa201759330bccae85bfb75a08a7c | 7c5eb7613534aa5678f8f99835ece69bf97a5852 | /PrefixTree/simpleCase/prefixTree.hh | d7bfbb1339f2edcec0b699da10904cd93b4463d0 | [] | no_license | phully/dsapp_learn | 195bceb574cb9890a4fc9a12a2583099b39dbd3a | 76fffacd7e84223ec90b32d754830bc97538b7bc | refs/heads/master | 2020-04-27T01:00:29.855566 | 2018-12-02T09:04:17 | 2018-12-02T09:04:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,027 | hh | prefixTree.hh | #ifndef _PREFIXTREE_HH_
#define _PREFIXTREE_HH_
#include <string>
using namespace std;
class PTNode
{
public:
PTNode ()
: R {26}
{
for(int i = 0; i < R; ++i)
_indexs[i] = nullptr;
}
bool containKey(char ch)
{
return _indexs[ch - 'a'] != nullptr;
}
PTNo... |
71f5944cdbae615382e7d62ea4ecc78917098e76 | 2f17e97deae811440177f3381a2fea0a34408e15 | /Chapter13/06_BinData/BinDataDlg.cpp | f262310a7c86d4509236b0d3ef302358f262daf3 | [] | no_license | 0000duck/VisualCppZhangJun | e0890d86c584e6a5e1547c6bcc310379a9cea725 | acc9374febcd1b0077671bc960a96e82eb2c87dc | refs/heads/master | 2021-12-14T22:59:47.592746 | 2017-06-19T09:05:45 | 2017-06-19T09:05:45 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 10,568 | cpp | BinDataDlg.cpp | // BinDataDlg.cpp : implementation file
//
#include "stdafx.h"
#include "BinData.h"
#include "BinDataDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CBinDataDlg dialog
CBinDataDlg:... |
e4ab95655f5b101afeb747f8ef9d0e5fb94a3ab7 | e16f32e5528484cba36326331d767d94196a179d | /EmailApp/UI/NavigationWidget.cpp | 33ce2e59b639d337d804d5970ccfdd6bc76d4687 | [] | no_license | hnathani/Lucas | ffe1a9d99dd8f6dc9806558d8bda167f42c56c55 | cd5eb21fbbe90e9183434cc0d9172d49cce2f711 | refs/heads/master | 2021-01-18T17:25:58.837407 | 2013-09-14T08:45:15 | 2013-09-14T08:45:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,636 | cpp | NavigationWidget.cpp | #include "NavigationWidget.h"
#include <QHBoxLayout>
NavigationWidget::NavigationWidget(QWidget *parent) :
QFrame(parent)
{
createUI();
}
void NavigationWidget::createUI() {
QHBoxLayout* layout = new QHBoxLayout();
setLayout(layout);
m_composeButton = new QPushButton("Compose", this);
layout-... |
2e2b7bf3e71ce847d40c07d12be3be7454071a2c | 5f5a5d34a1c984750db062c2d8f9876299f0b977 | /damageSuuji.cpp | ba044242d74e71c085cba515f8ea42290f8f1d0d | [] | no_license | tinyan/cmk2015win | 386dbed16010d7c02cff4ce0be1bba572672ed55 | 23c7fca8be1cfc486c1a9b65fcf135a1f290652d | refs/heads/master | 2021-01-10T02:41:13.088363 | 2015-12-29T02:11:05 | 2015-12-29T02:11:05 | 46,950,172 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,559 | cpp | damageSuuji.cpp | #include <windows.h>
#include "..\..\systemNNN\nyanlib\include\commonMacro.h"
#include "..\..\systemNNN\nyanlib\include\areaControl.h"
#include "..\..\systemNNN\nyanlib\include\picture.h"
#include "..\..\systemNNN\nyanlib\include\myGraphics.h"
#include "..\..\systemNNN\nyanlib\include\allGeo.h"
#include "..\..\systemN... |
53e6b9968469c56ad52fb936efc60849bbdefed0 | 24b5f8f496ebe98210158997c3ee705b574c1d23 | /p3_old/src/p3/raytracer.cpp | 44e76fd723136c9a2591ff58f24f9129e62979dd | [] | no_license | bning/AllGraphics | 8781dfdb3777d9db3c8262839040989183a155cc | 4b1cb083b17171634a5c54c2c5799a54a75080ec | refs/heads/master | 2021-01-01T18:27:37.286311 | 2015-01-21T09:41:51 | 2015-01-21T09:41:51 | 29,575,861 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 13,797 | cpp | raytracer.cpp | /**
* @file raytacer.cpp
* @brief Raytracer class
*
* Implement these functions for project 4.
*
* @author H. Q. Bovik (hqbovik)
* @bug Unimplemented
*/
#include "raytracer.hpp"
#include "scene/scene.hpp"
#include <SDL_timer.h>
#include <iostream>
#include <random>
#ifdef OPENMP // just a defense in case Ope... |
2f91f15671a9aa2b1d39712383218f0f05dbdb6b | 09ddd2df75bce4df9e413d3c8fdfddb7c69032b4 | /include/GUI/Animation.h | 0e67a7ad75b138d5fb679cba2c532b7fb44bf720 | [] | no_license | sigurdle/FirstProject2 | be22e4824da8cd2cb5047762478050a04a4ac63b | dee78c62a1b95e55fcdf3bf2a9bc79c69705bf94 | refs/heads/master | 2021-01-16T18:45:41.042140 | 2020-08-18T16:57:13 | 2020-08-18T16:57:13 | 3,554,336 | 6 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 5,223 | h | Animation.h | namespace System
{
namespace Gui
{
class AnimationClock;
class _Clock;
class GUIEXT Timeline : public DependencyObject
{
public:
CTOR Timeline(DependencyClass* depClass);
DEPENDENCY_CLASS(Timeline, DependencyObject)
DEPENDENCY_PROPERTY(double, Duration)
};
class GUIEXT Clock : public DependencyObject
{
public:... |
c7390ecd797af10d89426c01eaadebeafa5609dd | 8ae31e5db1f7c25b6ce1c708655ab55c15dde14e | /比赛/学校/2019-9-28测试/source/PC16_HB-熊子豪大蒟蒻/serves.cpp | c76f79bd7792352372a5c06260fe90d7e5c69202 | [] | no_license | LeverImmy/Codes | 99786afd826ae786b5024a3a73c8f92af09aae5d | ca28e61f55977e5b45d6731bc993c66e09f716a3 | refs/heads/master | 2020-09-03T13:00:29.025752 | 2019-12-16T12:11:23 | 2019-12-16T12:11:23 | 219,466,644 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,434 | cpp | serves.cpp | //dij pre 40
#include<bits/stdc++.h>
using namespace std;
int n,m;
int r[30001];
int dis[30001];
int vis[30001];
struct edge{
int to;
int val;
};
struct key{
int d;
int node;
};
key make_key(int a,int b){
key temp;
temp.d=a;
temp.node=b;
return temp;
}
bool operator<(key a,key b){
return a.d==b.d?r[a.node]<r[b... |
e30f725fcd3d68baed458a5eeb7ae16a1eb581ca | 3ed239a8320609dddb5ae8baafead408a0853b00 | /Source/OBJWriter.cpp | 0ee3e610f4a8302e3b5f28d1176f8c4f0636e5f1 | [] | no_license | ducphamhong/sdkmesh-to-obj | d253a178d528e1bd3c524691c3af1ac2b3f4caa6 | ae7b438f48de3d62a292b65d908f1cfb61e9dd24 | refs/heads/master | 2022-04-27T08:23:07.594580 | 2020-04-30T05:12:01 | 2020-04-30T05:12:01 | 259,669,056 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,956 | cpp | OBJWriter.cpp | #include "OBJWriter.h"
#include "CStringImp.h"
#include <string>
using namespace Skylicht;
OBJWriter::OBJWriter(SDKMesh *mesh, const char *output)
:m_sdkMesh(mesh)
{
m_file = fopen(output, "wt");
char material[MAX_PATH];
strcpy(material, output);
CStringImp::replaceExt(material, ".mtl");
fprintf(m_file, "# e... |
550c843f2162b94b82cad140705d01b3855e28b8 | 2c8200789a0fcd6fe2d3d0cdd3792e030028f175 | /rainc_src/parsing/parser.c | c5f8fc0247d907635b4c9436fbe876951e8f35b6 | [] | no_license | Menotdan/Rain | 42770be9ebaac33c19afb46d8407f6affe1d9e2c | 981d2f7022c95b9aa7788e2f9306124f84753739 | refs/heads/master | 2022-11-03T21:28:45.439779 | 2020-06-16T12:45:17 | 2020-06-16T12:45:17 | 272,593,995 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19 | c | parser.c | #include "parser.h" |
4ec992642c273163dcd9610eceaac6560029dfd0 | 0f5f852beeeb26cc5ee1f4ed03bc49ec9eb841b4 | /microlib/circular_buffer.hpp | 06886bf11cdc8d35259467a18bb411f5e32c9323 | [
"BSL-1.0"
] | permissive | decimad/microlib | fe7136f81d4e554fc2016bfa38801f5949c844ad | 49abf34316d06839fbef618726d4a8e77c062210 | refs/heads/master | 2021-05-16T06:53:50.381915 | 2020-12-12T17:25:49 | 2020-12-12T17:25:49 | 40,150,581 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,567 | hpp | circular_buffer.hpp | // Copyright Michael Steinberg 2015
// 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)
#ifndef MICROLIB_CIRCULARBUFFER_HPP_
#define MICROLIB_CIRCULARBUFFER_HPP_
#include <array>
namespace ulib... |
331f00823de5934cb9b8ae95fa3f5ec6e465c146 | 08d1ba0eb82e6231e1f3b64615de45896e662631 | /practiceProject/AdhocPracticeHere.cpp | 798192473863b5a6cadd35783c4197fff21bbd81 | [] | no_license | nitinarora135/practiceProject | 7412c182024d01aa1374f8f19d2fb5c33c754e5f | c34a3462bc41ae3e1d41b520e3b1dd9b4ee7b8fe | refs/heads/master | 2021-01-20T12:16:02.529574 | 2017-10-19T20:14:33 | 2017-10-19T20:14:33 | 101,704,548 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,715 | cpp | AdhocPracticeHere.cpp | #include "stdafx.h"
#include<stdio.h>
#include <iostream>
#include <queue>
#include <math.h>
using namespace std;
int arr[5] = { 1, 3, 5, 6, 8};
int numofbits(int num)
{
int count = 0;
while (num != 0)
{
count += num & 0x01;
num >>= 1;
}
return count;
}
void sumofbitdifference()
{
int num=0, bitcount=0;... |
6828989ea76a039448fe64bc6fa3f2736dede939 | 299b377022f52b20e3c9696950da9007e9b078a4 | /src/lapack_like/perm/PivotParity.cpp | 2ff4363219e8b10aa922731ed4e4155f7a037f58 | [
"BSD-3-Clause",
"Apache-2.0"
] | permissive | sg0/Elemental | 43cba65d001de299167363c349127cf8c23f7403 | 614f02509690449b553451e36bc78e7e132ea517 | refs/heads/master | 2021-01-15T09:33:56.394836 | 2016-02-29T18:25:53 | 2016-02-29T18:25:53 | 19,929,637 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,824 | cpp | PivotParity.cpp | /*
Copyright (c) 2009-2015, Jack Poulson
All rights reserved.
This file is part of Elemental and is under the BSD 2-Clause License,
which can be found in the LICENSE file in the root directory, or at
http://opensource.org/licenses/BSD-2-Clause
*/
#include "El.hpp"
namespace El {
// A permutation is ... |
69edabaa2ded86adf525785da015cd48695630c8 | 61fc84b26ed0aa38074cbda2e127e6a3c67cdecc | /builds/win/testserialization/student.h | 27c1ef7c7f5ec5507644e12a5f70efe87ef4a5cc | [] | no_license | scofieldzhu/ratel | 67fd64a9d404c114ab364c47ae9cd8e5ac642163 | 0e0927ba737a5c54b926f15847968f11c61ee4ed | refs/heads/master | 2021-05-09T17:48:37.108865 | 2019-08-07T15:08:11 | 2019-08-07T15:08:11 | 119,147,956 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 710 | h | student.h | /*=======================================================================
Ratel is a application framework, which provides some convenient librarys
for for those c++ developers pursuing fast-developement.
Copyright (c) scofieldzhu. All rights reserved.
Project: testserialization
Module: student.h
CreateTime: 2019-6... |
c42a65e32692981df16a501a721ca877356cc8ba | cff366a360ad7d0e17ad0ab13831fa7203ed1b2d | /.old/GameEngine_SDL2-master/src/Interfaces/NonCopyable.cpp | c9581b73fb9dc95696fb617bc30bbf4b02c1d4ec | [] | no_license | tcstrength/projects | c2bf6c4dfc5023483eff939a9860bf3f66833205 | 995fae7d94e8e2ec3e3cf40d04d43121f3cbaa02 | refs/heads/master | 2021-10-25T11:43:03.781429 | 2019-04-03T23:39:10 | 2019-04-03T23:39:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 58 | cpp | NonCopyable.cpp | #include "NonCopyable.h"
NonCopyable::NonCopyable()
{
}
|
553a30e1c7fcde2c212e5d263ff0a99990bf3888 | 647e4e9d638ed4d809fe50716ddfbed9d0d91cb8 | /IoThub_Code/IoThub_Code.ino | e143dc031b26a3a80b549d7ac33bc7c149cb252a | [] | no_license | Harsh-Gill/Data_IoT_Nodes | f4fd44b2646055dfe980d611acdffd6f76f5b754 | 12a56220ad92d5761746c7b37e75262f3f717113 | refs/heads/master | 2023-07-11T02:50:35.067641 | 2021-08-09T16:32:17 | 2021-08-09T16:32:17 | 320,620,648 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,758 | ino | IoThub_Code.ino | /**
* /Code for sending telemetry to Iot Hub.
*/
#include <WiFi.h>
#include "Esp32MQTTClient.h"
#define INTERVAL 10000
#define MESSAGE_MAX_LEN 256
// Please input the SSID and password of WiFi
const char* ssid = "wifi_name";
const char* password = "wifi_pass";
/*String containing Hostname, Device Id & Device K... |
f14a4b00c9858f8922718f00f2695ceaed3bedf3 | d6d6893f488941edfc5d244221583c63572d9d5f | /test/src/scripting/ScriptingTestFixture.cpp | adbc45edd2466fc24cd3e0648a62467000d2e041 | [
"Unlicense"
] | permissive | scp-fs2open/fs2open.github.com | 4170cc58b92577b41308a9e6343dd3fc3fb7a074 | 865f7e725c7a4d9c0b209a49ed0cbd8dc45e8ae7 | refs/heads/master | 2023-08-29T11:29:27.822804 | 2023-08-27T20:33:28 | 2023-08-27T20:33:28 | 7,700,081 | 382 | 311 | NOASSERTION | 2023-09-14T15:49:22 | 2013-01-19T06:10:53 | C++ | UTF-8 | C++ | false | false | 1,268 | cpp | ScriptingTestFixture.cpp | //
//
#include "ScriptingTestFixture.h"
#include "cfile/cfile.h"
extern "C" {
#include <lua.h>
}
namespace test {
namespace scripting {
ScriptingTestFixture::ScriptingTestFixture(uint64_t init_flags) : FSTestFixture(init_flags) {
pushModDir("scripting");
}
void ScriptingTestFixture::SetUp() {
FSTestFixture::SetUp... |
844b635e3126a00ff585001d72a425da0e58a269 | f79dec3c4033ca3cbb55d8a51a748cc7b8b6fbab | /databases/mariadb55-client/patches/patch-storage_tokudb_ft-index_portability_toku__pthread.cc | 895c308f1f03b4801d530951bbe21a8b8930e589 | [] | no_license | jsonn/pkgsrc | fb34c4a6a2d350e8e415f3c4955d4989fcd86881 | c1514b5f4a3726d90e30aa16b0c209adbc276d17 | refs/heads/trunk | 2021-01-24T09:10:01.038867 | 2017-07-07T15:49:43 | 2017-07-07T15:49:43 | 2,095,004 | 106 | 47 | null | 2016-09-19T09:26:01 | 2011-07-23T23:49:04 | Makefile | UTF-8 | C++ | false | false | 759 | cc | patch-storage_tokudb_ft-index_portability_toku__pthread.cc | $NetBSD: patch-storage_tokudb_ft-index_portability_toku__pthread.cc,v 1.1 2015/04/16 20:20:15 ryoon Exp $
--- storage/tokudb/ft-index/portability/toku_pthread.cc.orig 2015-02-13 12:07:05.000000000 +0000
+++ storage/tokudb/ft-index/portability/toku_pthread.cc
@@ -91,6 +91,9 @@ PATENT RIGHTS GRANT:
#define _GNU_SOURCE ... |
4161a4c3502c0973d6f0284ed6d93f798454135d | 5475a1ebbd3b385628750091c3306cd2c85ea013 | /CENG242/THE3/my_solution/Race.cpp | fde627cfdf6c1b35e20a2aa3cbd28a50df7eb053 | [
"MIT"
] | permissive | rabiavarol/METU-CENG | 098f553fc3b60955df3c56f6f41ef0ada27d70be | 940392eec1df39248248722bdf26ca0195feb5de | refs/heads/master | 2022-12-07T13:33:04.471206 | 2022-12-06T21:20:12 | 2022-12-06T21:20:12 | 291,152,729 | 0 | 0 | MIT | 2021-02-12T19:01:01 | 2020-08-28T21:52:20 | C++ | UTF-8 | C++ | false | false | 6,438 | cpp | Race.cpp | #include "Race.h"
#include <string>
/*
YOU MUST WRITE THE IMPLEMENTATIONS OF THE REQUESTED FUNCTIONS
IN THIS FILE. START YOUR IMPLEMENTATIONS BELOW THIS LINE
*/
#include <algorithm>
Race::Race(std::string race_name) : average_laptime(Utilizer::generateAverageLaptime()),
race_name(race_name),
... |
43c757ab08131362ae15ad755ab95b662a6be305 | 0000b794485891befd33a8155d0f3d097ea2746a | /src/include/dataset.h | 3407681b5f357efa7678bd596f3065a571f80e4d | [] | no_license | Tubbz-alt/s2pam | 255bd5fc57d59ac01877c6a13ab59bc1be8af437 | 18382a1c4aa521f7593da5b0f1e6a6dd8faa49fe | refs/heads/master | 2022-01-11T14:14:25.309351 | 2019-04-29T13:12:57 | 2019-04-29T13:12:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,171 | h | dataset.h | /**
* @file dataset.h
* @class DATASET
*
* @brief DataSet is a class fro managing the training and test sets for the neural network
*
* -
*
* @note -
*
* @author Markus Wende
* @version 1.0
* @date 2017-2018
* @bug No known bugs.
*/
#ifndef DATASET_H
#define DATASET_H
#include <vector> /// std::vect... |
afe759358410a2a016d433c1e3b3dbf9e99900bb | 1791461e6740f81c2dd6704ae6a899a6707ee6b1 | /Codeforces/Gym102152K.cpp | 4c575ce503f2f242f041d3eff6fdb959e1ef61e0 | [
"MIT"
] | permissive | HeRaNO/OI-ICPC-Codes | b12569caa94828c4bedda99d88303eb6344f5d6e | 4f542bb921914abd4e2ee7e17d8d93c1c91495e4 | refs/heads/master | 2023-08-06T10:46:32.714133 | 2023-07-26T08:10:44 | 2023-07-26T08:10:44 | 163,658,110 | 22 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 1,186 | cpp | Gym102152K.cpp | #include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/hash_policy.hpp>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <algorithm>
#include <cmath>
#include <queue>
#include <stack>
#include <map>
#include <string>
#include <vector>
#include <set>
#include <complex>
#include <bitset>
#define ls... |
e299f5e672b0bc272d88100c8a5503087b4209e8 | 00c926467d21da1bf2cbb8fe3915c90cf3ef9bc5 | /Lab 3.cpp | 3f4c6bcff5a48def0c5d5d960f885e9e8d93d4cc | [] | no_license | moetaei/CS1D | 271c89c014a818b4e3c01bb1a8388b3e8424938b | 03feb759a3636af892103125f7cbb0008cec115d | refs/heads/main | 2023-01-11T01:32:29.940897 | 2020-11-10T16:05:33 | 2020-11-10T16:05:33 | 311,711,641 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,981 | cpp | Lab 3.cpp | // ===================================================
// Program: Lab 3 - PrefixAverages
// ===================================================
// Programmers: Aaron Geesink and Mohammad
// Class: CS 1D - M W 5:00PM
// ===================================================
#include <iostream>
#include <vector>
#include ... |
c08898302fa36c8762b1eee3c2fe1e5017b06b3e | 7f6ac4ddeb50598df0b7ce1b9c69114448152c77 | /slovoed/libraries/native_engine/lib/src/main/cpp/functions/service/open_sdc_via_descriptor.cpp | ebbc71e2f9b851a4db2f33f6c82bfe9215848b3d | [] | no_license | dictcore/paragon_slovoed_ce | b463ee9980a83637c5d0502d450bf64d3232e70f | c414f795864b9b6509f1571e2bb111cdc584ba16 | refs/heads/master | 2022-11-14T22:49:40.385222 | 2020-06-11T09:17:14 | 2020-06-15T13:44:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,467 | cpp | open_sdc_via_descriptor.cpp | #include "open_sdc_via_descriptor.h"
#include "context/dictionary_context.h"
#include "context/builder/LayerAccess.h"
#include "context/reader/descriptor_reader.h"
#include "java/java_objects.h"
#include "SldDictionary.h"
jobject
OpenSdcViaDescriptor::OpenSdcHelper( JNIEnv* env, EnvAwareSdcReader* pFileReader, jbyte... |
ed69d61f9a95171c5a425bf57715556b48fb537c | 92e67b30497ffd29d3400e88aa553bbd12518fe9 | /assignment2/part6/Re=110/30.9/U | d3e4555e0047fe1501bfe0ee5d4b2e637ac0fb73 | [] | no_license | henryrossiter/OpenFOAM | 8b89de8feb4d4c7f9ad4894b2ef550508792ce5c | c54b80dbf0548b34760b4fdc0dc4fb2facfdf657 | refs/heads/master | 2022-11-18T10:05:15.963117 | 2020-06-28T15:24:54 | 2020-06-28T15:24:54 | 241,991,470 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 63,132 | U | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*-------... | |
b2d707bbf46fd9acad4dc914cfd3ff9a19b282bf | 962c7696cbfea0326d6c9aeab0b2c3af828b018d | /src/pgm_io.h | 072da18cb66cfbf057c95bcfb16424dbfbd76984 | [] | no_license | ngnepist/create_raster | c211eacb66a1a3d2910f42607ff5ba81e6f716c1 | 9e4505db814977f7189535b27da4ef5b996e64a0 | refs/heads/main | 2023-02-15T17:07:16.942265 | 2021-01-14T20:49:48 | 2021-01-14T20:49:48 | 324,835,839 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 677 | h | pgm_io.h | #ifndef __PGM_IO_H__
#define __PGM_IO_H__
#include <iostream>
#include "matrix_image.h"
using namespace std;
void pgma_write ( const string file_out_name, const Matrix_image& matrix);
void pgma_write_data ( ofstream &file_out, const Matrix_image& matrix);
void pgma_write_header ( ofstream &file_out, const string... |
0b09a5063afe1ec9a199c70803c0decb291fc859 | 51df9a9519c6d38aa8f9a881635342bb16e6ff71 | /source/DUIEngine/include/duiimage.h | 6b6abd319a5da1115fefb7f967e7c732213bd081 | [
"MIT"
] | permissive | goodpaperman/duiengine | 29ee76c45299361b395408e705f3498dd2aa971c | 8052e49b1c760fc33810a340c971d046ee11078e | refs/heads/master | 2023-07-17T11:31:02.967684 | 2021-08-26T03:17:48 | 2021-08-26T03:17:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,812 | h | duiimage.h | /********************************************************************
created: 2012/12/27
created: 27:12:2012 16:45
filename: duiimage.h
file base: duiimage
file ext: h
author: huangjianxiong
purpose:
*********************************************************************/
#pragma once
#include "DuiImgBase.h... |
43b96982d01f954f7e5c318d321a2f185a09bd4b | cebc6cf3d2961d65d6ef7ebb96e467038a035f60 | /pro/binary search class.cpp | 040885df01a48c206017e459b20499e844f3d9cf | [] | no_license | Legedith/2nd-sem | 2d9d65142ca56f2f1ea03042e7b19da6e666300d | 356942fbbbe0c096af1fb98b18716857a0402dd0 | refs/heads/master | 2020-06-29T23:29:24.200744 | 2019-08-08T18:51:19 | 2019-08-08T18:51:19 | 200,654,915 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 872 | cpp | binary search class.cpp | #include <iostream>
#include <conio.h>
using namespace std;
class bin{
int n;
int* a=new int[n];
public:
bool search(int, int,int);
void display();
void Set(int);
int getLen();
};
void bin::display()
{
for(int i=0;i<n;i++)
{
cout<<a[i]<<" ";
}
cout<<endl;
}
void bin::Set(int g)
{
n=g;
a = new int... |
2945fd04003e32198a7bca6449bc097dc887678b | 13a8237cf5b048c98b60f11ba9a5a465c86fbb99 | /rzs2/src/lcd.cpp | ae8862b23585eab69149f63acae7d916ddb4765e | [] | no_license | Alexander-Wilms/STM3240G-EVAL | b7c2f6f6902cc696a9cfc34b35f0f9fcb36144e5 | 70b5e2eaa7e22dee07e5721abb977619463b9f10 | refs/heads/master | 2020-04-12T10:23:30.424131 | 2016-01-26T00:27:56 | 2016-01-26T00:27:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 755 | cpp | lcd.cpp | /**
* @file lcd.cpp
* @brief simple LCD driver module
*/
#include "stm324xg_eval_lcd.h"
volatile uint16_t TextColor, BackColor; // globals needed by LCD driver
/** @brief LCD initialization
*
* needs to be once called before theLCD screen can be used
* */
void lcd_init( void)
{
/... |
ed16d09f0852bf69cbef5249edd6440036fa865a | 78133cdb629c9262e3f17eb6c5eedc539fa08b13 | /script/MySIENA.cpp | 9084267548951d8e4f678e7c293363381abbdc4e | [] | no_license | arata-yoshiyuki/LS-SAOM | 1bb76bebe8ea0746cc5adbb04612663e5a47af8a | 094b9dbe35bd20e713f6a72b0d49d302085517fb | refs/heads/master | 2020-04-29T13:38:18.298360 | 2019-08-30T09:08:11 | 2019-08-30T09:08:11 | 176,174,376 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,282 | cpp | MySIENA.cpp | #include "constant.h"
#include "mpi.h"
#include "omp.h"
#include "Data.h"
#include "Statistics.h"
#include "phase_f.h"
int main(int argc, char** argv) {
cov cov_1;
net cov_sec_1;
net net_1, net_1_b, net_2, net_2_b;
data_cov(f_name_kj, cov_1);
data_sec(f_name_kj, cov_sec_1);
data(f_name_s... |
f730b63a7ccd0de4afa5b503cd4ff038350d4024 | ac448302cb9ed236eed948495897d3dfa94f2881 | /ftp_loader/utils.hpp | 7bde2040b52a11cda796be71484df2790e9bc4d0 | [
"Unlicense"
] | permissive | okandok/ftp_loader | 468b178a9bf7d0fe59b35633502cdf00beb76b13 | 9e0e6a7230bfd57b02868d8d9b2cafc6f205b864 | refs/heads/master | 2023-06-09T09:12:48.319898 | 2021-06-22T07:42:47 | 2021-06-22T07:42:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,187 | hpp | utils.hpp | #pragma once
namespace utils
{
namespace string
{
inline std::string to_lower( std::string str )
{
std::transform( str.begin(), str.end(), str.begin(), static_cast<int(*)(int)>(::tolower) );
return str;
}
inline std::string to_upper( std::string str )
{
std::transform( str.begin(), str.end(), str... |
c89883fe8841c80c3e786c93dd710bdc7c13e9c8 | dc0d042ccc37b92251bf11386d7b9ed7ce909c7e | /Lectures/LectureMaterials/03-BinaryTrees/graphviz.h | 60611694f1ae3d90c848fbae01303fede596dfe6 | [] | no_license | rugbyprof/3013-Algorithms | 5271741950d633ec0a43440c85d099abae12aaad | af1289f91b34307eebcb91238705e0497b744106 | refs/heads/master | 2023-05-11T04:36:41.948970 | 2023-05-10T00:44:51 | 2023-05-10T00:44:51 | 117,724,113 | 22 | 71 | null | 2020-02-25T21:52:14 | 2018-01-16T18:30:29 | C++ | UTF-8 | C++ | false | false | 1,818 | h | graphviz.h | #pragma once
#include "json.hpp"
#include <fstream>
#include <initializer_list>
#include <iostream>
#include <iterator>
#include <map>
#include <string>
#include <vector>
// https://graphviz.readthedocs.io/en/stable/manual.html
// https://dreampuf.github.io/GraphvizOnline/
using namespace std;
using json = nlohmann:... |
9bcee1f6152cb393deffdb16c624c74885fca75e | dd80a584130ef1a0333429ba76c1cee0eb40df73 | /external/chromium_org/tools/gn/toolchain.cc | eee458a974cebf077fb3bc5589d65b7489a194bc | [
"MIT",
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference",
"GPL-2.0-only",
"Apache-2.0",
"LicenseRef-scancode-unknown"
] | permissive | karunmatharu/Android-4.4-Pay-by-Data | 466f4e169ede13c5835424c78e8c30ce58f885c1 | fcb778e92d4aad525ef7a995660580f948d40bc9 | refs/heads/master | 2021-03-24T13:33:01.721868 | 2017-02-18T17:48:49 | 2017-02-18T17:48:49 | 81,847,777 | 0 | 2 | MIT | 2020-03-09T00:02:12 | 2017-02-13T16:47:00 | null | UTF-8 | C++ | false | false | 2,455 | cc | toolchain.cc | // Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "tools/gn/toolchain.h"
#include "base/logging.h"
#include "tools/gn/value.h"
const char* Toolchain::kToolCc = "cc";
const char* Toolchain::... |
9f0d59edd3743e31c45ba4ebca600541336c9a7c | 5f1e293499ca275dca5bdf9226e746c0cabe7699 | /source/tracker/settings/TrackingRoutineSettings.cpp | 6b5b0d3b6c98bf81edc5a6731ebfc258c2826c44 | [] | no_license | leo-cazenille/CATS2 | 123b991dbfba720eed14cdb2a889a0337986a9d0 | 8510cc6931c2a64a73e1cce9d8ed0176bf9a0f4e | refs/heads/master | 2021-01-13T09:17:18.990590 | 2016-10-01T14:32:56 | 2016-10-01T14:33:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 479 | cpp | TrackingRoutineSettings.cpp | #include "TrackingRoutineSettings.hpp"
#include "TrackingSetup.hpp"
#include <settings/ReadSettingsHelper.hpp>
/*!
* Constructor.
*/
TrackingRoutineSettings::TrackingRoutineSettings(SetupType::Enum setupType) :
m_trackingRoutineType(TrackingRoutineType::UNDEFINED)
{
m_settingPathPrefix = SetupType::toSettin... |
12fc9e9192bfde06a606eb005837d6fdac03b186 | 7df8a293dda0281cd3ffecf9d3e9bac9b9a55803 | /Student_management/QLSV_array/Ham.h | 3908c9a39d16ffed2a7249b94774183bbae4fd34 | [] | no_license | vqtn246/LC3-ProjectC | 2865a0e353d373aa3047bb85f2d855d277b2905a | 18f3b36c05beec2db6d485da0880d3d77617ec0a | refs/heads/master | 2023-06-02T21:25:22.839271 | 2021-06-25T13:00:31 | 2021-06-25T13:00:31 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 114,060 | h | Ham.h | #pragma once
/*----------library Default---------------*/
#include <Windows.h>
#include<string.h>
#include<ctype.h>
#include <cstring>
#include <stdlib.h>
#include <stdio.h>
#include <conio.h>
#include <vector>
using namespace std;
/*----------library User Define---------------*/
/*----------Funtion Console------------... |
57c10e008976dc3b039187dd51ae855a7899624a | 43788b330ade2fb8f785cbf59e9d90ef6153d6fc | /Sampling/masterHW/Documents/ECE3574 Homework7/main.cpp | c7cdc5b991a9e4c0d785edbfced9443afd740f8c | [] | no_license | bowei437/Applied-Software-Design--ECE-3574 | c1c07c43ea74d9ec6d8e162e0a08bb66ca60ef81 | cfdd5156bf71efe4f1112fb80d1f2122825ccd5c | refs/heads/master | 2021-09-11T12:34:54.461844 | 2018-04-06T22:37:15 | 2018-04-06T22:37:15 | 82,984,674 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 12,382 | cpp | main.cpp | ///////////////////////////////
//Thomas Elliott
//905570602
//thomas7@vt.edu
//ECE 3574
//Homework 7
///////////////////////////////
#include <pthread.h>
#include <mqueue.h>
#include <ctime>
#include <errno.h>
#include <QString>
#include <QTextStream>
#include <QCoreApplication>
#include <QStringList>
#include <QDebu... |
4e4e1daf12794e20c0355925cd4c97a038beb219 | 0304b8212f02375dfd1bb0af63cd2483d364559c | /公约数_公倍数/未命名1.cpp | 02afa3062a3b8a20b79a9d3896ee10eb9c24f80a | [] | no_license | Gesujian/C | 87cf478312029e12cd211de8a2e98c26a5d9bf65 | f08f7a855ff73481c720aab73c5fdee489a8013d | refs/heads/master | 2020-04-09T05:07:28.360201 | 2019-07-28T13:08:15 | 2019-07-28T13:08:15 | 160,052,213 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 57 | cpp | 未命名1.cpp | #include<stdio.h>
int main(){
printf("%d",5%10);
}
|
511f3d61956d932a3f60bf2fc227bdd4d990c5da | 2c263f426815347ac593b8769944d59efe7a9de1 | /DFS/baekjoon_11724_연결요소의개수/baekjoon_11724_연결요소의개수/main.cpp | 939f4297267909e5ae54a56e54bb37344246c51d | [] | no_license | eory96/baekjoon | 0cfc30df49c0a1f9bce7bf3e8d0dd19076dbd8a0 | f142c492f80d17060ade00a79b0717dcb6970a70 | refs/heads/master | 2021-06-26T05:58:50.063809 | 2020-10-15T08:54:34 | 2020-10-15T08:54:34 | 143,610,524 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,337 | cpp | main.cpp | //
// main.cpp
// baekjoon_11724_연결요소의개수
//
// Created by 김대교 on 2020/03/21.
// Copyright © 2020 김대교. All rights reserved.
//
/*
문제
방향 없는 그래프가 주어졌을 때, 연결 요소 (Connected Component)의 개수를 구하는 프로그램을 작성하시오.
입력
첫째 줄에 정점의 개수 N과 간선의 개수 M이 주어진다. (1 ≤ N ≤ 1,000, 0 ≤ M ≤ N×(N-1)/2) 둘째 줄부터 M개의 줄에 간선의 양 끝점 u와 v가 주어... |
9956ebccd76740221cc728cd9614ae836be11857 | bc38eff56d5b77dad9aba2c5529c9fd576407e0c | /29.Merge/29-07.set_union.cpp | 6cfc6e0d91a4d5356be16d8eb62112b866eccbdb | [] | no_license | AllisonLee0507/CPlusPlus_Language_Tutorial | fd58f3c3b53e92f9dcdda258865e4c0f3f4ebc07 | 84f9b757d80cd5604bb16ebe6585c2fd785cac45 | refs/heads/main | 2023-07-14T02:59:18.685798 | 2021-08-22T04:21:13 | 2021-08-22T04:21:13 | 398,712,588 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,444 | cpp | 29-07.set_union.cpp | #if 0
#include <iostream>
#include <cassert>
#include <algorithm>
#include <vector>
using namespace std;
int main(void)
{
bool result;
string s("abcde");
string s2("aeiou");
vector<char> vector1(s.begin(), s.end());
vector<char> vector2(s2.begin(), s2.end());
vector<char> setUnion;
set_union(vector1.begin(),... |
abd87b93d086fa5f26169c370c78ba9c1ebfe374 | 251921a9bad70bf0cef196a755b17a30e583d49d | /ArpSrc/ArpKernel/ArpConfigureImpl.cpp | 0b5afc5b4b2c0e428b764f07083d5962035126c5 | [
"Artistic-1.0"
] | permissive | tgkokk/Sequitur | 6d25b901c14960445230c91571934b3bdc0db214 | de306eb37de25cd8237c9a4bd30ce3e7a7ed416f | refs/heads/master | 2021-01-17T07:50:13.962534 | 2014-01-01T21:52:41 | 2014-01-01T21:52:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,224 | cpp | ArpConfigureImpl.cpp | /*
ArpConfigureImpl.cpp
Copyright (c)1999 by Angry Red Planet.
This code is distributed under a modified form of the
Artistic License. A copy of this license should have
been included with it; if this wasn't the case, the
entire package can be obtained at
<URL:http://www.angryredplanet.com/>.
*/
#ifndef _... |
af379fc58da819506e91918d4ea1a41d07641d0b | aa066d8df1210223e5b34f5ca42ad5c0805098bf | /src/pdfp/PDFContentsParser.h | 3e894485e168744e263e4d2a2b87ffec07b13633 | [
"MIT"
] | permissive | sandym/pdfp | bacd14e285043ff23415e53f9ff5c6e303dc34e9 | 7f3173acd43177599a148dc5e9be4229504f7831 | refs/heads/master | 2021-04-06T20:27:28.907115 | 2018-10-16T23:18:19 | 2018-10-16T23:18:19 | 125,290,502 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,032 | h | PDFContentsParser.h | /*
* PDFContentsParser.h
* pdfp
*
* Created by Sandy Martel on 2018-03-04.
* Copyright 2006 Sandy Martel. All rights reserved.
*
*/
#ifndef H_PDFP_PDFContentsParser
#define H_PDFP_PDFContentsParser
#include "pdfp/PDFObject.h"
#include <stack>
namespace pdfp {
struct GState
{
Object strokeColourSpace;
O... |
0ccd9be8dbd50c0212e3ee9e7ed8688efc5be131 | 45ebf7c7db829a10c7cf1d7b67256c8e2e9616a6 | /基础算法/排序/A_1095CarsOnCampus.cpp | 012ed1dbc5c38d042c773fa9c8e2696d5fa1e0b8 | [] | no_license | kaigeli/PAT | 36931b148b757d5f23ee7cee13594d1670a8cdee | e7b194c796d42367d9ad0561aeca5bea364d6742 | refs/heads/master | 2023-08-19T07:26:40.602575 | 2021-01-02T08:12:53 | 2021-01-02T08:12:53 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,447 | cpp | A_1095CarsOnCampus.cpp | #include<iostream>
#include<string.h>
#include <algorithm>
#include<vector>
#include<map>
using namespace std;
struct car{
string id;
int time,statu;
};
bool cmp(car a,car b){
return a.id!=b.id? a.id<b.id : a.time<b.time;
}
bool cmp1(car a,car b){
return a.time<b.time;
}
int main(){
int max=-1;
int n,k;
cin>>n>... |
a6c209567244eab815ca7e4f2a1c393a2fefb807 | 1c1b39acb480ae01defb4119a8a219cd67625e45 | /src/BSDF.cpp | 5af39bec970b4a0d9271d39fcfb7a7c7b61fde6e | [] | no_license | JerryYan97/Project3-CUDA-Path-Tracer | a0426f215dbdfbe08721a7da0ae77de83aef9a2e | 0fddd4e30f16255fe90b3ca8bc178470fc557538 | refs/heads/master | 2022-12-30T21:38:58.923259 | 2020-10-07T21:01:54 | 2020-10-07T21:01:54 | 298,143,075 | 0 | 1 | null | 2020-09-24T01:59:35 | 2020-09-24T01:59:34 | null | UTF-8 | C++ | false | false | 441 | cpp | BSDF.cpp | #include "intersections.h"
#include "BSDF.h"
BSDF::BSDF(const ShadeableIntersection& isect, float eta)
: worldToTangent(),
tangentToWorld(),
normal(isect.surfaceNormal),
eta(eta),
numBxDFs(0),
bxdfs{ nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, nullptr }
{
tangentToWorld ... |
cd034baf0f0582cf34cbf6dc80e83e9beecc3bc2 | 354df230fbae459ab0587fc642ed0e823ef1338a | /lcd_display_clock/lcd_display_clock.ino | b864ba4c71a2b94dac4b8c0488558e2f48a3dd4d | [] | no_license | A0705776/Arduino | 5be5337769bb64c14f4f8d88b5c73faa08996cf1 | 7e863ee7969f155a45bb3c949be6b9f71ea23954 | refs/heads/master | 2020-03-25T17:21:18.482603 | 2018-08-08T07:03:06 | 2018-08-08T07:03:06 | 143,973,138 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,615 | ino | lcd_display_clock.ino | #include <LiquidCrystal.h>
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
int day = 6;
int am = 1;
int hour = 1;
int minute = 16;
int sec = 0;
boolean twelve = true;
boolean normal = false;
void setup()
{
lcd.begin(16, 2);
lcd.clear();
lcd.setCursor(2,0);
lcd.print(":");
lcd.setCursor(5,0);
lcd.print(":");
i... |
1f42e6201aeb61901a658cff9c7ef22049eb164f | 57515781f687b6373c81daf168609565c603120a | /Linpop/modifycontactwindow.h | 9990176f0c75965ef39326c9a270d1601c3b509e | [] | no_license | BAKFR/linpop | 1cad4d2a9ef13d56bd1b2c8021c11c58da70ab90 | 24f658135ac9f917411d90a7e2b6aa024df169f5 | refs/heads/master | 2016-09-01T08:39:53.774989 | 2013-04-19T12:42:31 | 2013-04-19T12:42:31 | 8,474,237 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 486 | h | modifycontactwindow.h | #ifndef MODIFYCONTACTWINDOW_H
#define MODIFYCONTACTWINDOW_H
#include <QMainWindow>
#include "contactwindow.h"
namespace Ui {
class ModifyContactWindow;
}
class ModifyContactWindow : public QMainWindow
{
Q_OBJECT
public:
explicit ModifyContactWindow(ContactWindow *cw, QWidget *parent = 0);
~ModifyCon... |
0b31bff450b2dd248872b352f5d664ee4be3689d | a52aedb1544d7d15a3ddd8da50e289be45f41e40 | /cpp work/2_Shibaji_paul/14_structure_intro.cpp | c8e56889674dc01b7bccece96be8902476f33069 | [] | no_license | SI-Tanbir/my_code | e3e0acdfdf00b506924bce7d85d29bc8f20eed8d | fa85aa3c2bf3dd1eb5c26df9590b2b59dd5e4ad5 | refs/heads/main | 2023-07-11T18:53:39.897700 | 2021-08-27T06:57:29 | 2021-08-27T06:57:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 529 | cpp | 14_structure_intro.cpp | //date: 2021-02-27
#include <bits/stdc++.h>
using namespace std;
#define ullint unsigned long long int
struct
Student
{
int student_id;
string name;
double grade_point;
};
int main()
{
Student s1, s2, s3;
s1.student_id = 1;
s1.name = "Sakil khan";
s1.grade_point = 9.95;
s2.studen... |
a4218f63167bdc973523b370b5d49b52adecf574 | 73c341e5a09c06e56671dd9d8c674b801b4efa87 | /2020-04/2020-04-04/puyo.cpp | 4e32030fd026a2337f6f9359137fbdd0745a30a5 | [] | no_license | lazy-ps/30-day-leetcoding-challenge | 4a5aa4e4ec3d37ada7ad52d14523a478ca323aa6 | 7d4bbeba427e8a50b385bc2d5909b04bea3d5f90 | refs/heads/master | 2021-05-22T17:04:21.581052 | 2020-12-11T10:33:27 | 2020-12-11T10:33:27 | 253,014,037 | 2 | 3 | null | 2020-04-08T15:04:10 | 2020-04-04T14:11:27 | Scala | UTF-8 | C++ | false | false | 316 | cpp | puyo.cpp | class Solution {
public:
void moveZeroes(vector<int>& nums) {
vector<int> t;
for(auto &a: nums)
if(a) t.push_back(a);
for(int i=0, len=t.size(); i<len; i++)
nums[i] = t[i];
for(int i=t.size(), len=nums.size(); i<len; i++)
nums[i] = 0;
}
};
|
93b64dd6b7623a8ecdbbaf526b5688c65e72ab58 | 64a2b5b7db60e105fdcb48804fd2c13d0fc6de7b | /editor/dialogobjectedit.cpp | 0eaed5fc3eb6c6f60f69df10c7c148efdc6fae02 | [] | no_license | gameblabla/rockbot | d6d821b10c63d30a1758c7eab4d7e1affccac23f | c912f9728802cd9b3f0ca50bbfc5610c8f85674f | refs/heads/master | 2022-11-02T16:21:55.157178 | 2019-04-23T21:12:01 | 2019-04-23T21:12:01 | 273,803,404 | 2 | 0 | null | 2020-06-20T23:56:13 | 2020-06-20T23:56:12 | null | UTF-8 | C++ | false | false | 5,326 | cpp | dialogobjectedit.cpp | #include "dialogobjectedit.h"
#include "ui_dialogobjectedit.h"
#include "../file/format.h"
#include <QDir>
#include <QMessageBox>
DialogObjectEdit::DialogObjectEdit(QWidget *parent) :
QDialog(parent),
ui(new Ui::DialogObjectEdit)
{
ui->setupUi(this);
fillObjectGraphicsList();
if (Mediator::get_instance()->e... |
9945d8394b7833f95ff6b221b662e44d8ee2f7e3 | 94df4684a5c1b44a925e795acb4f80bbe9e26b3a | /save.h | 4cf28fa17cd8dfe53d18bf31a3f5c33db08061fa | [] | no_license | atmospheric-measurement-monitor/atmosphric-measurement-monitor | 5f1cfc5d5aef52bc28a4b010f0342995e0c553cf | f12bac070b54627dfce7f17c8ca843709cca82b4 | refs/heads/master | 2020-06-22T20:04:32.113048 | 2019-07-29T01:21:14 | 2019-07-29T01:21:14 | 198,385,193 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 622 | h | save.h | /*
* 数据保存位置设定
* */
#ifndef SAVEH_H
#define SAVEH_H
#include <QObject>
#include <QPushButton>
#include <QHBoxLayout>
#include <QVBoxLayout>
#include <QLineEdit>
class save :public QObject
{
Q_OBJECT
private:
QWidget * window;
QWidget * top_window;
QWidget * button_window;
QHBoxLayout * top_layout;
... |
e8fdcf9202a9e52f2ac5cfcbc768918604c9a262 | d2f69f018f37cb37d1812c265c7cc9fb61b984f9 | /apr23_finallllldemo/Il2CppOutputProject/Source/il2cppOutput/Unity.TextMeshPro.cpp | dcf81ef2e9f3a3a07042db035c8ff58929dbf4b2 | [] | no_license | PeruDayani/Connecting-multiple-Hololens | 55e6dc3a91a2e3d7eb192b4fdb0db74ffef018ae | 8e44446de7f990266f89cb72c62ac8d380299f0b | refs/heads/master | 2022-11-05T21:40:54.174230 | 2020-06-13T19:18:48 | 2020-06-13T19:18:48 | 252,330,371 | 4 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,350,867 | cpp | Unity.TextMeshPro.cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include <stdint.h>
#include "codegen/il2cpp-codegen.h"
#include "il2cpp-object-internals.h"
template ... |
ae54bacfd4862d359951ce55debda88d54868231 | 8b3b296289ecad98b8fe5caa94d73677d26ff53c | /workspace-study/heap.cpp | 67aa625966c9771f233609f3e2d52dd6a3e4fec1 | [] | no_license | OhJaeWook/study-datastructure | baa37a459fc703a99e6bf192cdc4e2ee371f28be | 66119d0a920047b46db8d5f80918777b09a84380 | refs/heads/master | 2020-04-03T19:56:07.517473 | 2019-11-04T10:26:03 | 2019-11-04T10:26:03 | 155,540,746 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,706 | cpp | heap.cpp | #include <stdio.h>
#define MAX_SIZE 100
int heap[MAX_SIZE];
int heapSize = 0;
void heapInit(void)
{
heapSize = 0;
}
int heapPush(int value)
{
if (heapSize + 1 > MAX_SIZE)
{
printf("queue is full!");
return 0;
}
heap[heapSize] = value;
int current = heapSize;
while (current > 0 &&... |
e3d55dff18431fa74f77df5942679993f9190931 | 41a7c2a92877cf8da262cb2fa2a8eadba49b1d4d | /src/Textures/ImageTexture.h | eb87360ad3f2260c11cd1606bc7419476aa690e5 | [
"MIT"
] | permissive | matthew-robertson/Terrae-Renderer | c46ee483ec96f1b67164f0e1ed9ce74a20601af2 | fdf060af002a7a716bd26134b81a745cc577ae0b | refs/heads/master | 2020-03-26T15:29:49.882439 | 2019-03-27T00:16:03 | 2019-03-27T00:16:03 | 145,047,183 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 755 | h | ImageTexture.h | #ifndef IMAGETEXTUREH
#define IMAGETEXTUREH
class ImageTexture: public Texture {
public:
ImageTexture() {}
ImageTexture(unsigned char *image, int w, int h): _pixels(image), _width(w), _height(h) {}
virtual Vec3 value(double u, double v, const Vec3& p) const;
private:
unsigned char *_pixels;
int _width;
... |
99cbc1b85cec1b9456535180312de53f06bc7148 | f7be4f2a75cf1201f469d4a0fa32cea61a18936c | /Basics/Vector.cpp | 0ba6c9ccda3828c4e23530c39c27e12c5e0c0599 | [
"MIT"
] | permissive | srini1392/Programming-in-Cpp | eccb2598cbbb1a9f3ca3825fe343d9ffb121f7ab | 099f44d65cbe976b27625e5806b32ab88414b019 | refs/heads/master | 2021-08-18T05:46:12.184401 | 2021-06-10T19:23:48 | 2021-06-10T19:23:48 | 152,462,841 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,069 | cpp | Vector.cpp | /***************************************************************************************/
/* Name : vector.cpp */
/* Description : Write a program to find the sum of even numbers */
/* and the prod... |
0fe8f038c5a7386480fc986458074309d24c5c82 | dcd6e42041ff0a1f57888af35f17b5dbe74d0f40 | /LearnCPP/Project/QuanLyDocGia2/docgiatreem.cpp | 1b6735ef70d76d4931b5f7cf0b9f2e02a743b3d9 | [] | no_license | hsondd/learn | 7842149669623b2e06d0fb05a4f5bbf5ab2796cf | b67a91abeefc9d1e9ea6e200fe1a212a31107c81 | refs/heads/master | 2023-08-23T10:06:12.648161 | 2021-10-16T09:07:29 | 2021-10-16T09:07:29 | 231,503,912 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 392 | cpp | docgiatreem.cpp | #include "docgiatreem.h"
void DocGiaTreEm::Input()
{
DocGia::Input();
cin.ignore();
cout << "\nNhap ten nguoi dai dien: ";
getline(cin, hotennguoidaidien);
}
void DocGiaTreEm::Output()
{
DocGia::Output();
cout << "\nHo ten nguoi dai dien: " << hotennguoidaidien;
}
int DocGiaTreEm::TinhTien()... |
91999483ba1cd4b4a8726cdbf6ac8068d17b90c0 | 986d2a7ab95450addb1a9e3fb3c6d542560628cd | /thymiointerface/thymio_interface.cpp | fca864e6899b779f03a42671c1b42961e4c576ed | [] | no_license | resilient-swarms/thymio | 3e3fd40ce0fe1171e039193599c45be406aa4191 | 949d7936643b9a061fb6a613ecde34794a1ce6bf | refs/heads/master | 2021-06-19T02:30:02.247400 | 2021-02-08T13:30:32 | 2021-02-08T13:30:32 | 136,460,494 | 1 | 2 | null | 2019-08-20T16:06:29 | 2018-06-07T10:21:35 | C++ | UTF-8 | C++ | false | false | 19,503 | cpp | thymio_interface.cpp | /*
Aseba - an event-based framework for distributed robot control
Created by Stéphane Magnenat <stephane at magnenat dot net> (http://stephane.magnenat.net)
with contributions from the community.
Copyright (C) 2007--2018 the authors, see authors.txt for details.
This program is free software: you can redistribute... |
4e53042ef76ef3459df1001d8261b05c5545220d | 7b8787f01c7c3f14c5055418f8a6bde6af62943c | /src/MeteringSDK/MCORE/private/MTimeZoneAndroid.cxx | 862645ad103f810bf1aa30f24d528a61530b1836 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | beroset/C12Adapter | 42feee4b7d686be05e8c44564e775eae3df7a6ba | 593b201db169481245b0673813e19d174560a41e | refs/heads/master | 2021-08-29T14:47:57.127377 | 2021-08-25T21:12:15 | 2021-08-25T21:12:15 | 194,516,157 | 0 | 1 | MIT | 2019-06-30T12:57:28 | 2019-06-30T12:57:28 | null | UTF-8 | C++ | false | false | 9,241 | cxx | MTimeZoneAndroid.cxx | // File MCORE/private/MTimeZoneAndroid.cxx
#ifndef M__TIMEZONE_USE_ANDROID_IMPLEMENTATION
#error "Do not compile .cxx files directly, they are included!"
#endif
#include <jni.h> // repeat the include purely for the IDE to recognize types
#include "MJavaEnv.h"
static const char s_androidClassName[] = "com/elste... |
ae2a8f979188ec9c0a0842ba9d34b4261e6a948c | 551b38674cbc955b0d01c3ceced6f6a9690cabcd | /src/Tensor.h | 870ab63fad69b013994e740fbbd645042ac3384d | [] | no_license | leizhaocs/neuralnet | eb19357e36d8c322275ba6c1a73d99609a276fad | 7a65ee6f59e4d7244f1767dce84643823eea4789 | refs/heads/master | 2021-09-25T16:05:46.938426 | 2018-10-24T00:19:52 | 2018-10-24T00:19:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,036 | h | Tensor.h | #ifndef _TENSOR_H_
#define _TENSOR_H_
#include "includes.h"
/* tensor */
class Tensor
{
public:
/* constructor */
Tensor(std::vector<int> shape, bool allocate);
/* destructor */
~Tensor();
/* get data element */
DataType &data(int i);
DataType &data(int i, int j);
DataType &data(int ... |
0ea1178dedecd093b3e81d068daf253fdab5c8f2 | eb2f8b3271e8ef9c9b092fcaeff3ff8307f7af86 | /Grade 10-12/2018 autumn/NOIP/NOIP2018提高组Day1程序包/GD-Senior/answers/GD-0540/road/road.cpp | a45c8e2c13cba5e7c57332f795c2ecfd161a69c7 | [] | no_license | Orion545/OI-Record | 0071ecde8f766c6db1f67b9c2adf07d98fd4634f | fa7d3a36c4a184fde889123d0a66d896232ef14c | refs/heads/master | 2022-01-13T19:39:22.590840 | 2019-05-26T07:50:17 | 2019-05-26T07:50:17 | 188,645,194 | 4 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 611 | cpp | road.cpp | #include <iostream>
#include <cstdio>
#include <cmath>
int read()
{
int x = 0, f = 1;
char ch = getchar();
while (ch < '0' || ch > '9') {if (ch == '-') f = -1; ch = getchar();}
while (ch >= '0' && ch <= '9') {x = x * 10 + ch - '0'; ch = getchar();}
return x * f;
}
const int N = 100005;
long long ans;
int a[N];... |
0848b3c98836dde1aad4fc9006817de8c54ba798 | b76c857f180d0615de426b160f327b018096a9a0 | /STM32Code/.svn/pristine/00/00b8a141b2a9545cb7b422d916c1b90ec391e6bc.svn-base | 6d46a3a448f257cc99ec00c416f9834707499212 | [] | no_license | ghsecuritylab/Gimbal | deac712ca56607907691da9a56142c9c59e990df | a122ed19ccdcb2c75525c9395a7271cf7e9715a9 | refs/heads/master | 2021-02-28T12:53:21.309089 | 2018-08-29T10:18:09 | 2018-08-29T10:18:09 | 245,698,274 | 0 | 0 | null | 2020-03-07T20:09:00 | 2020-03-07T20:09:00 | null | UTF-8 | C++ | false | false | 5,253 | 00b8a141b2a9545cb7b422d916c1b90ec391e6bc.svn-base | /// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
/*
smaller EKF for simpler estimation applications
Converted from Matlab to C++ by Paul Riseborough
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as publish... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.