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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0b55fb2f2efdb1f473f64bf0624012e0319dc3b8 | 9b9512f0f63ddaca315c3eccb63ff19e884a56fa | /tests/cc_given/132.txt.cc | 082ff6a9f97e52b1af9b3185ec667d229d877ef9 | [] | no_license | yashton/compiler | d793cf69c668ee68928ab74af70e17c53ffadeef | 40007da3af04a7ee31380ae29e23dcfbb50a1c8d | refs/heads/master | 2020-08-02T15:43:35.181718 | 2019-09-27T23:04:37 | 2019-09-27T23:04:37 | 211,413,896 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,840 | cc | 132.txt.cc | (program
(define-env $env_t44 (k16 n return))
(define-env $env_t45 (n))
(define-env $env_t41 (k21 return))
(define-env $env_t42 (k21 n return))
(define-env $env_t43 (n return))
(define-env $env_t38 (cc))
(define-env $env_t39 ())
(define-env $env_t40 (return))
(define break (void))
(define return (void))
(def... |
64e5eba74af601d2aefc3d5540cb803342fb070c | 8f50c262f89d3dc4f15f2f67eb76e686b8f808f5 | /TileCalorimeter/TileEvent/test/TileMutableDataContainer_test.cxx | 56e58dece28c2ecc0ade3b4e0392b3351d634922 | [
"Apache-2.0"
] | permissive | strigazi/athena | 2d099e6aab4a94ab8b636ae681736da4e13ac5c9 | 354f92551294f7be678aebcd7b9d67d2c4448176 | refs/heads/master | 2022-12-09T02:05:30.632208 | 2020-09-03T14:03:18 | 2020-09-03T14:03:18 | 292,587,480 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,205 | cxx | TileMutableDataContainer_test.cxx | /*
Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
*/
/*
*/
/**
* @file TileEvent/testTileMutableDataContainer_test.cxx
* @author scott snyder <snyder@bnl.gov>
* @date Oct, 2018
* @brief Test for TileMutableDataContainer.
*/
#undef NDEBUG
#include "TileEvent/TileMutableDataContainer.h"... |
a549211e9568839f2e632131f42e4218b0bbaa95 | 01f1e62321c809233f845ea3d446869c2c9997b6 | /2020-11-26/magic.cpp | 70b54a919acd2f58e5d3470ffab6149bd27c4239 | [
"MIT"
] | permissive | pufe/programa | 1ed3faf00bac0b5f89009bf7f5e1120409edf73c | 7f79566597446e9e39222e6c15fa636c3dd472bb | refs/heads/master | 2023-02-04T21:57:12.181499 | 2020-12-22T21:53:38 | 2020-12-22T21:53:38 | 319,476,590 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,478 | cpp | magic.cpp | #include <bits/stdc++.h>
using namespace std;
typedef vector<vector<int> > matrix;
matrix referenceMagicSquare() {
return matrix {
{8, 3, 4},
{1, 5, 9},
{6, 7, 2}
};
}
int calculateCost(matrix a, matrix b) {
int total = 0;
for(int i=0; i<3; ++i)
for(int j=0; j<3; ++j)
t... |
a7b53f098651b592a62a955adda7f5ba341a90ec | 0ec609ad68a2eae91069d5a9817e4a02c537c021 | /Modules/Core/Common/test/otbImageRegionNonUniformMultidimensionalSplitter.cxx | b119267e07b561cf04c999c4114810c51c528bc3 | [
"BSL-1.0",
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"AGPL-3.0-only",
"GPL-3.0-only",
"MIT",
"LGPL-3.0-only",
"Zlib",
"BSD-3-Clause",
"CECILL-B",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Pandinosaurus/OTB | 895ff78d0dab62c68f3ef903d383b82de29fd29d | d74ab47d4308591db4ed5a5ea3b820cef73a39fe | refs/heads/develop | 2023-07-20T12:31:53.392294 | 2023-07-19T08:37:29 | 2023-07-19T08:37:29 | 122,958,025 | 2 | 0 | Apache-2.0 | 2023-07-20T05:45:27 | 2018-02-26T11:06:04 | GLSL | UTF-8 | C++ | false | false | 2,242 | cxx | otbImageRegionNonUniformMultidimensionalSplitter.cxx | /*
* Copyright (C) 2005-2022 Centre National d'Etudes Spatiales (CNES)
*
* This file is part of Orfeo Toolbox
*
* https://www.orfeo-toolbox.org/
*
* 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 ... |
496be3e428a4eba0681365d474d72b5e0249997d | 54e7b4f25d3461154778f24aa10082d754e5f764 | /src/win32com/ControllerSettings.cpp | 635fb8c9cd0988564d7c566f7518d1e3bb872cc6 | [] | no_license | tomlogic/pinmame | 2e9624d64374f8f59657b3e054ab3cfdb361e039 | 26333ff367a04a698336ac6d97b23bb92cb587c8 | refs/heads/master | 2021-06-11T05:22:51.798432 | 2018-03-12T03:25:20 | 2019-11-18T03:51:21 | 20,775,729 | 5 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 11,076 | cpp | ControllerSettings.cpp | // ControllerSettings.cpp : Implementation of CControllerSettings
#include "stdafx.h"
#if _MSC_VER >= 1700
#ifdef inline
#undef inline
#endif
#endif
#include "VPinMAME_h.h"
#include "ControllerSettings.h"
#include "VPinMAMEConfig.h"
#include "VPinMAMEAboutDlg.h"
#include "ControllerRegKeys.h"
#include <atlwin.h... |
829a4faa9149a6e291b24f3f16f6b92598ac1b50 | 2d695a43bd68fb161131dbb25050f559fe1e2082 | /fine_grain_amcl/src/main.cpp | b76619cd4beb0bdd320a9beaaba63cc7ecdccf20 | [] | no_license | mryellow/ros-catslam | ca8c16007d68e15114ea321ee39f52c324b1b3b0 | 4da0e0075d21be28a7c7e876e5186420ef42fa4a | refs/heads/master | 2020-05-17T13:45:40.463378 | 2012-05-03T01:13:28 | 2012-05-03T01:13:28 | 33,471,152 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,467 | cpp | main.cpp | #include "ros/ros.h"
#include "geometry_msgs/PoseWithCovarianceStamped.h"
#include "geometry_msgs/PoseStamped.h"
#include <tf/transform_listener.h>
double px,py,pz,rx,ry,rz,rw;
int main(int argc, char **argv)
{
ros::init(argc,argv,"fine_grain_amcl");
ros::NodeHandle n;
ros::Publisher raw_pub= n.advertise<... |
60c11bd28de9fb5a9f2340df3d6ba0c069afb610 | 187ce9d4df99208c3db0e44f3db6a3df4ce34717 | /C++/36.valid-sudoku.cpp | 15b04e304483499ccd5d84eaa7ce1dc3bfc1e906 | [] | no_license | zhoujf620/LeetCode-Practice | 5098359fbebe07ffa0d13fe40236cecf80c12507 | 8babc83cefc6722b9845f61ef5d15edc99648cb6 | refs/heads/master | 2022-09-26T21:49:59.248276 | 2022-09-21T14:33:03 | 2022-09-21T14:33:03 | 222,195,315 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 748 | cpp | 36.valid-sudoku.cpp | /*
* @lc app=leetcode.cn id=36 lang=cpp
*
* [36] Valid Sudoku
*/
#include<vector>
using namespace std;
// @lc code=start
class Solution {
public:
bool isValidSudoku(vector<vector<char>>& board) {
vector<short> row(9, 0), col(9, 0), block(9, 0);
for (int i=0; i<9; i++){
for (int j... |
54f2ae86eeeabc19d0341c318388ee09e7c8a172 | bca5bfe5c60f8f33950439d7c09864efa3dddfd5 | /mycalendarscreen.cpp | fbe599d50c1e3a3dd4bd0c2d10f432e419c6f224 | [] | no_license | AlexTheTRex/PerfectPlan | f0035eda0d1b4c3f5c2b4e5adaa1f214122257d4 | 4ede9aa1619ab617ec055f787fda518a15989541 | refs/heads/master | 2021-09-21T00:21:34.091540 | 2017-11-02T18:53:38 | 2017-11-02T18:53:38 | 109,305,743 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,538 | cpp | mycalendarscreen.cpp | #include "mycalendarscreen.h"
MyCalendarScreen::MyCalendarScreen(MyAccountScreen* account) : QWidget()
{
this->accountscreen_ = account;
this->setWindowFlags(Qt::CustomizeWindowHint | Qt::WindowTitleHint | Qt::Window);
this->cancelbutton_ = new QPushButton("Annuler");
this->okbutton_ = new QPushButton... |
8a111a129e5511a966ad94f3eb3b4cbe9337d6a9 | 5e2f3f3938c2ecc46806e245e172e2445063792f | /src/win32/gpucc_compiler_fxc_win32.cc | 853cb25ff242a12040e83bd15aa7765b69856938 | [] | no_license | russellklenk/gpucc | 32db8f597212e87b9186ffcdfc671f627133c5aa | 992e5b9fe6e10d06aac98dc0edc434aa20303e86 | refs/heads/master | 2020-05-15T18:19:50.212524 | 2019-05-09T22:20:44 | 2019-05-09T22:20:44 | 182,423,143 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,922 | cc | gpucc_compiler_fxc_win32.cc | #include "gpucc.h"
#include "gpucc_internal.h"
#include "win32/gpucc_compiler_fxc_win32.h"
GPUCC_API(struct GPUCC_PROGRAM_BYTECODE*)
gpuccCreateProgramBytecodeFxc
(
struct GPUCC_PROGRAM_COMPILER *compiler
)
{
GPUCC_BYTECODE_FXC_WIN32 *code = nullptr;
if ((code = (GPUCC_BYTECODE_FXC_WIN32*) malloc(sizeof(G... |
ce674f2c5724ce9030dd4b51b1b3197a6ce0220c | fdecb4cfcf13c8113fd741b2976b2daf208a9e26 | /src/logger_decls.h | 9a9642bd275233f333bf0714e1e3c299409f8b4e | [
"MIT"
] | permissive | zionlang/zion | cb1a3a50ff51775e042c89933571fe1d19017f15 | 5b4df370766e342fd4efffff34cd8966990f9ac4 | refs/heads/master | 2023-01-04T21:56:43.501770 | 2023-01-02T17:07:56 | 2023-01-02T22:48:50 | 184,154,262 | 49 | 2 | NOASSERTION | 2020-08-27T04:35:04 | 2019-04-29T22:42:36 | C++ | UTF-8 | C++ | false | false | 965 | h | logger_decls.h | #pragma once
#include <stdio.h>
#include "location.h"
enum LogLevel {
log_info = 1,
log_warning = 2,
log_error = 4,
log_panic = 8,
};
struct Location;
void log_enable(int log_level);
void logv(LogLevel level, const char *format, va_list args);
void logv_location(LogLevel level,
const Loca... |
c8643dd8838ed7ddefe96e28a06c01846dc990b8 | efc7993e946c4423356a2bf8f41d4ee4bd19dd89 | /src/common.h | e2a6eeefea0db9a6cb6244eec21b365954f42ad4 | [] | no_license | romgille/IG4I22_212_giller | eb17f110b24a24c2a382bfd77770587149fa6507 | d2fe9a9e9e2c74ce9adaf5bd1ca3cd13e9abf28e | refs/heads/master | 2021-04-03T10:27:39.676819 | 2018-03-26T09:15:46 | 2018-03-26T09:15:46 | 124,429,010 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 917 | h | common.h | // Some helper functions
#pragma once
#include <boost/program_options.hpp>
#include <opencv2/opencv.hpp>
#include <string>
#include <initializer_list>
/**
Read an image from a file.
options:
- forceFloat: ensures that the loaded image is in float format. If original image
was a byte imag... |
2c2c1bb2036a82dad24b27149e9a762865150b95 | 64e25c9d67db2ce4b5abe1a980a070fb59a2f938 | /clang/test/CMFE/cmlangspec/5_1_3_a.cpp | 3595a2604a1fb8dc86bd50cec2df1e872858ad92 | [
"NCSA",
"MIT"
] | permissive | intel/cm-compiler | 22d8b56baefc26d5576572f5aab6b3ecb3033300 | 9b2e628b788344088d8fcfd97d406db576f608af | refs/heads/cmc_monorepo_80 | 2023-08-28T13:09:41.523730 | 2023-08-04T23:23:23 | 2023-08-04T23:23:23 | 111,158,121 | 141 | 60 | null | 2023-05-01T21:17:30 | 2017-11-17T22:50:46 | C++ | UTF-8 | C++ | false | false | 657 | cpp | 5_1_3_a.cpp | /*========================== begin_copyright_notice ============================
Copyright (C) 2016-2021 Intel Corporation
SPDX-License-Identifier: MIT
============================= end_copyright_notice ===========================*/
// expected-no-diagnostics
#include <cm/cm.h>
#include <cm/cmtl.h>
#define WIDTH ... |
0c02d47808e08b2db027954056cde8d851407e25 | f9ca0e466af1ef6aa186225455382d8ee8689b07 | /Biblioteca/frmCad_Editora.cpp | 61a58ea6baa79957c4bfe8cf37713fd8dd9b43be | [] | no_license | YugoVtr/Sibi_Biblioteca | ea56478396f0598708d6030f0cb29f08a95c100e | 91401fe8fb670ef8625f5c43db054f472268b32a | refs/heads/master | 2020-12-02T22:36:35.575633 | 2017-07-03T22:51:19 | 2017-07-03T22:51:19 | 96,155,971 | 0 | 1 | null | 2017-07-04T13:06:59 | 2017-07-03T22:49:54 | C++ | UTF-8 | C++ | false | false | 1,970 | cpp | frmCad_Editora.cpp | #include "frmCad_Editora.h"
#include "ui_frmCad_Editora.h"
frmCad_Editora::frmCad_Editora(QWidget *parent) :
QDialog(parent),
ui(new Ui::frmCad_Editora)
{
ui->setupUi(this);
this->setGeometry(QStyle::alignedRect(Qt::LeftToRight,Qt::AlignCenter,this->size(),qApp->desktop()->availableGeometry()));
}
fr... |
57d5517156008b4db4067f6e7d16fb9cd58c7c48 | f1d93db4e369b68473bdde689377c1ce139cca78 | /limit-break/dynacol.cpp | 3b5a25de988d87f31f083db27e84ffbd7b012457 | [
"MIT"
] | permissive | michael-fadely/sadx-limit-break | f066e22404500552cab2f2d83d31ad6146eb170b | 66fd107bcacd77d009f9f689d1c12f3051487c98 | refs/heads/master | 2022-01-14T16:51:05.307975 | 2019-06-07T01:24:27 | 2019-06-07T01:24:27 | 65,354,128 | 1 | 2 | MIT | 2019-05-31T19:11:46 | 2016-08-10T05:49:09 | C++ | UTF-8 | C++ | false | false | 11,969 | cpp | dynacol.cpp | #include "stdafx.h"
#pragma region "ObjectArray"
struct UsedObject
{
bool used;
NJS_OBJECT* object;
};
std::deque<UsedObject> object_array;
NJS_OBJECT* __cdecl ObjectArray_GetFreeObject_r()
{
const auto pred = [](const auto& e) -> bool
{
return e.used == false;
};
const auto it = std::find_if(object_array... |
3aceece304a3e6d23622656a91328f26ee7decfd | a3d6556180e74af7b555f8d47d3fea55b94bcbda | /components/omnibox/browser/actions/omnibox_action_in_suggest.h | 9f603caaa6d56c94d881ecc84240023244944e86 | [
"BSD-3-Clause"
] | permissive | chromium/chromium | aaa9eda10115b50b0616d2f1aed5ef35d1d779d6 | a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c | refs/heads/main | 2023-08-24T00:35:12.585945 | 2023-08-23T22:01:11 | 2023-08-23T22:01:11 | 120,360,765 | 17,408 | 7,102 | BSD-3-Clause | 2023-09-10T23:44:27 | 2018-02-05T20:55:32 | null | UTF-8 | C++ | false | false | 1,688 | h | omnibox_action_in_suggest.h | // Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_OMNIBOX_BROWSER_ACTIONS_OMNIBOX_ACTION_IN_SUGGEST_H_
#define COMPONENTS_OMNIBOX_BROWSER_ACTIONS_OMNIBOX_ACTION_IN_SUGGEST_H_
#include <optional>
#include "... |
3966dc43563c3ed8b1f05eb538cf7937a44ae8c4 | 0803bc22723b75b8080d8b4f0e57b4db540d508a | /Source/LuaMachine/Private/LuaState.cpp | bedf2adbbdcd5c764143acf115b1d86f3e790cee | [
"MIT"
] | permissive | rdeioris/LuaMachine | 58910d9906eb921319c0942a02bc3d3e30b4ae8f | 94c584b94671ce2e40e875ca77f25f746633e6c4 | refs/heads/master | 2023-08-11T03:37:05.961916 | 2023-06-24T15:38:32 | 2023-06-24T15:38:32 | 152,728,104 | 468 | 122 | MIT | 2023-07-21T08:38:58 | 2018-10-12T09:36:19 | C++ | UTF-8 | C++ | false | false | 71,906 | cpp | LuaState.cpp | // Copyright 2018-2022 - Roberto De Ioris
#include "LuaState.h"
#include "LuaComponent.h"
#include "LuaUserDataObject.h"
#include "LuaMachine.h"
#include "LuaBlueprintPackage.h"
#include "LuaBlueprintFunctionLibrary.h"
#if ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION > 0
#include "AssetRegistry/AssetRegistryModul... |
9ef2f339c7a3f175d1197d212333f569fd2cad7b | c9fd44fa1cd68926f5bb4a4deaf7dc5b6ec59418 | /QmlCppExample/valueobject.h | e045e4502a25874130bb347aa07611c3304ed4d8 | [] | no_license | jryannel/ubuntu-qtquick-webinar | a18e4ba7c62151ad5edc812e2441374f7142f292 | 4433f75b2cb245a5399a81fc30719baffe8e73fc | refs/heads/master | 2016-09-05T09:51:58.873335 | 2011-04-15T15:01:52 | 2011-04-15T15:01:52 | 1,619,384 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 388 | h | valueobject.h | #ifndef VALUEOBJECT_H
#define VALUEOBJECT_H
#include <QtGui>
class ValueObject : public QObject {
Q_OBJECT
Q_PROPERTY(QColor value READ value WRITE setValue NOTIFY valueChanged)
public:
ValueObject(QObject *parent=0);
void setValue(const QColor& value);
QColor value() const;
signals:
void valu... |
51225db2cbf1acd41dfcb76601bad789c9186b44 | 683368f51482729f1cdd6ee9a7c3024230772933 | /Homeworks/07. semester/Containers/Containers.Phone/item.hpp | 2a4e58a9571a2ccce7bbb12eb2bf8cbe09e182fa | [] | no_license | vajanko/Algorithms | 679f150b49c493c045c44c6f69aafc65ea192eb7 | cfbbaece13df5935ac91e467682df053fa058436 | refs/heads/master | 2020-12-24T21:00:28.953028 | 2016-04-25T14:14:26 | 2016-04-25T14:14:26 | 57,046,795 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 504 | hpp | item.hpp | #pragma once
#include<string>
#include<iostream>
struct item
{
typedef unsigned long long num_type;
typedef std::string text_type;
text_type surname;
text_type name;
num_type number;
text_type direction;
friend std::ostream & operator<<(std::ostream &stream, const item& item);
friend std::istream & operato... |
1532ed30d7c3e537d1aca0007b12f254937de4bd | fe81cb4ae381c48b65eabf419a38fc7fdcc79fda | /Lilla spelprojektet/Code/Camera.cpp | b7517fa3db5c09d1c793679969802c5175b7ae4e | [] | no_license | Noise-filter/Lilla_spelprojektet | 02252e94af9406a30ca6123dba025e56aaeacb44 | 12187b3128113c43e3dec4483c6dc6ffd784ed8a | refs/heads/master | 2020-04-14T12:56:05.697488 | 2013-06-05T11:03:15 | 2013-06-05T11:03:15 | 9,350,331 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,483 | cpp | Camera.cpp | #include "Camera.h"
Camera::Camera()
{
this->m_position = Vec3(0, 50, 0);
this->mRight = Vec3(1, 0, 0);
this->mUp = Vec3(0, 1, 0);
this->mLook = Vec3(0, 0, 1);
}
Camera::~Camera()
{
}
void Camera::SetPosition(const Vec3& v)
{
this->m_position = v;
}
Vec3 Camera::GetPosition()const
{
return this->m_position;
}... |
d69850a696e1c8f961678a697f851fbf40886ac6 | 2489f20116dfa10e4514b636cbf92a6036edc21a | /tojcode/2028.cpp | af8b649d90cdbb322a37b170a649d4c1c3359f08 | [] | no_license | menguan/toj_code | 7db20eaffce976932a3bc8880287f0111a621a40 | f41bd77ee333c58d5fcb26d1848a101c311d1790 | refs/heads/master | 2020-03-25T04:08:41.881068 | 2018-08-03T05:02:38 | 2018-08-03T05:02:38 | 143,379,558 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,423 | cpp | 2028.cpp | #include<stdio.h>
#include<string.h>
#include<ctype.h>
#include<iostream>
#include<string>
#include<cstdlib>
int main()
{
int m,n,i,j,num[20],max,t=1,a,k,len;
char word[20][20],excuse[20][71],ch[71];
while(scanf("%d%d",&m,&n)!=EOF)
{
getchar();
for(i=0; i<m; i++)
... |
74a0a302d5123832da2d19b4269797723ba41984 | f0f07044710c3b4ceb18d9439ce5cc3f8438f495 | /src/synth/voice.cpp | 898d164e10dad006c72627dfec51da3bf518f3ee | [] | no_license | botio/ps-01 | 80b36278edd8ff76eeb070b407c49e1d599bc9a6 | 4ed2147468f0c87063df036fe2dc40b0c33e4fde | refs/heads/master | 2022-03-26T04:34:33.294313 | 2019-12-07T14:09:13 | 2019-12-07T14:09:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,022 | cpp | voice.cpp | #include "voice.h"
Voice::Voice() {}
void Voice::setWaveform(Waveform waveform) { oscillator.setWaveform(waveform); }
void Voice::setFrequency(float frequency) {
oscillator.setFrequency(frequency);
}
void Voice::setPulseWidth(uint16_t pulseWidth) {
oscillator.setPulseWidth(pulseWidth);
}
void Voice::setADS... |
5ca442e65c905697789fd3d84bc8ba609864a145 | 4a5faf8daf58caed9c4f5ccce301d1376a436292 | /traces_analyzer/source/plugin_frame.cpp | c0e2743f5d8cce3e6ebfaa8edefca15fe0703863 | [] | no_license | aicpp/utils | faa4cef84e5d60223cffa67711aa9d77de4be6f5 | 29aaff51b7635aad513491b44f34b0e27f6aa05a | refs/heads/master | 2020-08-02T14:27:03.326614 | 2019-10-13T16:48:36 | 2019-10-13T16:48:36 | 211,388,372 | 1 | 0 | null | 2019-09-27T19:28:44 | 2019-09-27T19:28:44 | null | WINDOWS-1251 | C++ | false | false | 12,198 | cpp | plugin_frame.cpp | #include "resource.h"
#include "plugin_frame.h"
#include "registry.h"
#include "scintilla.h"
#include "helpers/check.h"
#include "npp/scintilla.h"
#include "npp/menu_cmd_id.h"
#include "afxvisualmanagerofficexp.h"
#include <afxpriv.h>
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// User windows message
#define W... |
103a79ca47fdd1e7814abdffada0ec1d83fb37a5 | 83f70d8409f28fcf08c17063ada3da8bc0485130 | /echantillons_sensors/joystick/joystick.ino | fbb081ab948d3fd0144c1000ca73bfb46cef418b | [] | no_license | n1n3n1n3/kikicode-arduino | 28fb06fa914166d02e62284d60d298ed8523bd7e | e7e72dabc874f9b7ef3da8a0b22696f8039113d0 | refs/heads/master | 2022-11-15T10:48:25.577045 | 2020-07-10T17:16:36 | 2020-07-10T17:16:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,299 | ino | joystick.ino | /*
Ks0008 keyestudio Joystick Module
_________________________________
| SETUP |
|Sensor pin :: Particle pin |
| + :: 3.3v |
| - :: GND |
| B :: D0 |
| X :: A0 |
| Y :: A1 ... |
84357f234647e63773b8ade68b7c4e7231aa2f10 | 482ec3480e8418dda62f85a5359e70c89256f1a8 | /cpp/CPP_NEW/packet_parser/include/Processor.hpp | d5c512373e1ed004adb47de5ad0a49956da501b3 | [] | no_license | rajatgirotra/study | 84d319968f31f78798a56362546f21d22abd7ae7 | acbb6d21a8182feabcb3329e17c76ac3af375255 | refs/heads/master | 2023-09-01T20:48:31.137541 | 2023-08-29T01:41:17 | 2023-08-29T01:41:17 | 85,041,241 | 6 | 1 | null | 2023-05-01T19:25:38 | 2017-03-15T07:17:24 | C++ | UTF-8 | C++ | false | false | 1,830 | hpp | Processor.hpp | #pragma once
#include "InputFormat.hpp"
#include <array>
#include <cstdint>
#include <queue>
#include <cassert>
#include <memory>
#include <fstream>
class OrderManager;
class Processor {
// should be sufficient to hold messages that straddle multiple UDP packets.
std::array<char, (1<<16) + 100> m_buffer{};
... |
bd8a6b9e7ca3526f34f4e38aca48d2eeb8349573 | 6a0ae86bca2d2ece6c92efd5594c0e3b1777ead7 | /EDBRCommon/plugins/PTWeightAnalyzer.cc | 8677899d4f8afe8e4bdf6084ed783a7549d59717 | [] | no_license | wangmengmeng/ExoDiBosonResonances | c4b5d277f744e1b1986df9317ac60b46d202a29f | bf5d2e79f59ad25c7a11e7f97552e2bf6a283428 | refs/heads/master | 2016-09-06T14:54:53.245508 | 2014-06-05T15:02:37 | 2014-06-05T15:02:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,627 | cc | PTWeightAnalyzer.cc | #include "ExoDiBosonResonances/EDBRCommon/plugins/PTWeightAnalyzer.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "FWCore/ServiceRegistry/interface/Service.h"
#include "CommonTools/UtilAlgos/interface/TFileService.h"
#include "FWCore/Common/interface/TriggerNames.h"
#include "DataFormats/Common/int... |
fa7df31430f6ad09c9b148d1272f0e958412b100 | f130e28299dadd1e18ef3533620e3e548328e24f | /BrowsifyAPI.h | 57b112af83633b0ee529a8ad4111918645fd8fc5 | [] | no_license | nessup/Browsify-npapi | b1ee030924735d88f506757a4e2a17f53cd783e5 | 7ad9b42514a1e1a88e9977447323e4ba15f3d41f | refs/heads/master | 2021-04-24T17:53:42.588235 | 2012-08-26T20:28:18 | 2012-08-26T20:28:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,156 | h | BrowsifyAPI.h | /**********************************************************\
Auto-generated BrowsifyAPI.h
\**********************************************************/
#include <string>
#include <sstream>
#include <boost/weak_ptr.hpp>
#include "JSAPIAuto.h"
#include "BrowserHost.h"
#include "BrowsifyPlugin.h"
#ifndef H_BrowsifyAP... |
df5f9e752f4faf9c1e97943f98df1f55058b4cd1 | e6a41679bc053afcc847577f3428410e7b907637 | /towers/FlameRingTower.cpp | d2941be9af7e6e4e92a5947222f3364d7d4a29d4 | [] | no_license | ivancea/TowerDefense | d61acccee6ed82ba3cf675c0b7be359df3bafcf9 | f4e3be26cea5342407b9e708cc433dd801b418df | refs/heads/master | 2021-09-18T16:39:00.668766 | 2021-09-01T22:21:58 | 2021-09-01T22:21:58 | 50,257,135 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,162 | cpp | FlameRingTower.cpp | #include "FlameRingTower.hpp"
#include "entities/FlameRing.hpp"
int FlameRingTower::id = -1;
FlameRingTower::FlameRingTower(){
_id = id;
_ticksForShoot = 30;
_ticksBetweenShoots = 30;
_minRange = 5;
_maxRange = 80;
_ringVelocity = 2.5;
_ringActualRange = _minRange;
_ringSize = 30;
... |
a471463bc351bab26605f5ddf6ca722c44a2a37b | 9f087cfdb02d3f1de0091876fad0504934bef17c | /CustomWindow/Base/DelayReqBase.h | 2f7712393713de250cf87e04b4e79a988ff9ebb2 | [] | no_license | kknet/qt_client | 0ac41592856048510f7c470521845b89f0078a41 | 6c71db967369f07bd37cfbe52690565e2be9924d | refs/heads/master | 2022-04-04T17:24:41.731274 | 2018-11-08T03:51:11 | 2018-11-08T03:51:11 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,514 | h | DelayReqBase.h | #pragma once
#include "ThreadInterface.h"
#include "Def.h"
#include <vector>
struct ReqPara
{
int nFailTry; // 失败后尝试的次数(未启用)
int nFailWaitTime; // 失败后下一次等待的间隔时间(未启用)
int nCurReqCount; // 当前尝试的次数(未启用)
DWORD dLastReqTick; // 上一次请求的时间(未启用)
DWORD dIniWait; // 第一次运行时等待的时间(未启用)
EReqType e... |
8a562654986056dcf6a841c3728f3e4920e1417e | ca7a7e11bc3253cead10f134424755de71f16fae | /src/Resources/Model.h | da35e1d3d8895e4d6773c154f76f5fa9d785b38e | [] | no_license | sohailshafii/VulkanGame | 1335f718dc2fe8b2308423ee7c55cb3b9a7b43ba | abb09546932e7bac8f3a51400ded0242cec5f36c | refs/heads/master | 2021-12-11T04:30:11.296531 | 2021-12-10T06:30:11 | 2021-12-10T06:30:11 | 165,705,107 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,700 | h | Model.h | #pragma once
// NOTE: these two lines are necessary for hashing!!!!
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/gtx/hash.hpp>
#include <vector>
#include <array>
#include <set>
#include <unordered_map>
#include <glm/glm.hpp>
#include "vulkan/vulkan.h"
#include "Vertex.h"
#include "Math/NoiseGenerator.h"
class Model... |
d6f12cc79668ae673e5d8a944ea16025f928e1a1 | 1d04f970fcab1b0ae8d63390b5223be000beb6ce | /src/MainFrm.h | 90632eeb060fdf8df8450a3d17f86e706e6dbeb9 | [] | no_license | alexf2/ReliabilityAnalyst | 36a480da1964685c9b0aa667cfa4ff86f101b214 | 56e818a1c83fd49e10564f7349243b1a33025709 | refs/heads/master | 2021-05-04T23:54:22.512021 | 2018-02-02T22:09:23 | 2018-02-02T22:09:23 | 119,436,304 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,795 | h | MainFrm.h | // MainFrm.h : interface of the TMainFrame class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_MAINFRM_H__FE33C088_CBA2_11D1_9887_00504E02C39D__INCLUDED_)
#define AFX_MAINFRM_H__FE33C088_CBA2_11D1_9887_00504E02C39D__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif... |
37968a3b679684b6c19119141f350c136e625537 | 8cd61aa3ae0f2ea26cc343d27c0841493707b973 | /src-antonio1/rvg-lua-xform.h | 6670582a6b790a1c1ef9d294775876b98c7c0ee1 | [] | no_license | antoniospg/2DCG-2021 | f9d603de87c13a7d9ea1d54de52bded6abfad41f | 3b49a2cca01c9b87a130e3cfd46708e9803b6524 | refs/heads/main | 2023-03-02T12:12:24.418989 | 2021-02-08T13:04:55 | 2021-02-08T13:04:55 | 337,068,685 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,634 | h | rvg-lua-xform.h | #ifndef RVG_LUA_XFORM_H
#define RVG_LUA_XFORM_H
#include "rvg-lua.h"
#include "rvg-xform.h"
// There are many types of xform: identity, rotation, scaling, translation,
// linear, affinity, projectivity.
// They are represented by userdata with different metatables in Lua.
// We want library functions to be able to ac... |
9222ec3516b0394f76771235069bc926f9925884 | fe1edb72f6d3828309dfcd8b452c53d0e9ee5ad9 | /game.cc | d081ead73a5852965c79b8473b1508fe77b6b4aa | [] | no_license | gc-archer/cc3k | 3993326a1a708380a34b2a138245a059345aaff6 | ed5687f91c1ee233bb5711e1269b19e1f4d3cf8c | refs/heads/master | 2020-05-05T06:50:48.149804 | 2018-09-03T01:40:46 | 2018-09-03T01:40:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,171 | cc | game.cc | #ifndef GAME_CC
#define GAME_CC
#include <iostream>
#include <string>
#include "game.h"
#include "pc.h"
#include "npc.h"
#include "dungeon.h"
#include "slap.h"
#include "tile.h"
#include "floor.h"
using namespace std;
// constructor and destructor
Game::Game(std::istream &input, string race) :
input{input} {
curFl... |
f035891931b80f8e1133466da5539c5a961b87f5 | a9bb7dea956f9524d52d34afc8a0e5f31fac2006 | /lib/lib.cpp | ebe8af4b65ccbc46bde327d2f4571086c7eaa839 | [] | no_license | XzoRit/hackerrank | 8142884bbabf0ea136de5b3902f5b1ac5d059047 | 275724eb46353ad88716a67762b9239d8e351ba4 | refs/heads/master | 2021-10-21T09:11:08.573878 | 2021-10-13T09:26:53 | 2021-10-13T09:27:35 | 191,216,494 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 118 | cpp | lib.cpp | #include <lib/lib.hpp>
namespace xzr
{
namespace lib
{
inline namespace v1
{
}
} // namespace lib
} // namespace xzr
|
2d2216c611cd1db731373d97500fc39f7ce75c61 | 20a59a738c1d8521dc95c380190b48d7bc3bb0bb | /uigraphics/AknIcon/SvgtFbsRasterizer/inc/SvgtFbsRasterizer.h | d1a8859e0424eb2be4304f3c4106be480c6f68a8 | [] | no_license | SymbianSource/oss.FCL.sf.mw.uiresources | 376c0cf0bccf470008ae066aeae1e3538f9701c6 | b78660bec78835802edd6575b96897d4aba58376 | refs/heads/master | 2021-01-13T13:17:08.423030 | 2010-10-19T08:42:43 | 2010-10-19T08:42:43 | 72,681,263 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,229 | h | SvgtFbsRasterizer.h | /*
* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.h... |
2ee2ded98a05aaa1e0ee321fb9bd878fabb46118 | 4518cf4df68153381f078ed98ce154e161877909 | /include/TrackNode.hh | dc5d076acfcebb9bfa49b04f6462686edd005aec | [] | no_license | ANNIEsoft/RATEventLib | b878bbddd2424f6009646f15395e74756ed00774 | 164904ce6f10eaa773f4c18b823a028246893140 | refs/heads/master | 2020-04-20T03:30:10.138776 | 2019-12-12T21:24:22 | 2019-12-12T21:24:22 | 168,600,127 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,553 | hh | TrackNode.hh | #ifndef __RAT_TrackNode__
#define __RAT_TrackNode__
#include <MCTrackStep.hh>
namespace RAT {
class TrackNode : public DS::MCTrackStep {
public:
TrackNode() { trackStart = true; prev = next = 0; };
virtual ~TrackNode() {
if (next) delete next;
for (unsigned i=0; i < child.size(); i++)
if (child[... |
c817552d0bf1aa1c8a54ac0d6ab8a7ea832e5dee | 11351870905c52454934b23b27ace5e3306c4107 | /PACNW15/l.cpp | 692558865d2f972f5b109cd5f6b763084c01ed0d | [] | no_license | IvanAli/ACMICPC2017Training | 65cbe9a47788ab38026134dfe41ef7132801d8c5 | 0a274f41d9b4300fdfbc9160cd171c5edf265cbc | refs/heads/master | 2021-08-29T15:42:24.789100 | 2017-12-14T05:49:03 | 2017-12-14T05:49:03 | 114,207,562 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,035 | cpp | l.cpp | #include <bits/stdc++.h>
#define EPS 1e-9
using namespace std;
int n;
long double W;
int main()
{
cin>>n>>W;
string pal;
long double pi, vi;
long double lastsafe = 0.;
long double lastprize = 0.;
long double acum = 1.;
long double maxi = -1.;
for(int i = 0; i < n; ++i)
{
cin>>pal>>pi>>vi;
if(pal == "un... |
06e15b52defe7728f1c5483c7818b9078b99f0bd | ea3e4778b792e8f393b35ee9f16473b2e5690808 | /CPSC_2150/5_poly/Poly.h | 922aff2f0e4cb09211fbb79a2973d19da1599c63 | [] | no_license | shakirali2244/associates | 0e856b71fd75803569b629b18aff18c3911f4b9c | 3d87399b00b1914d9814e6d21af08dc2b219206f | refs/heads/master | 2021-01-20T18:53:08.683021 | 2017-07-31T11:46:36 | 2017-07-31T11:46:36 | 42,191,554 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,003 | h | Poly.h | #include <iostream>
using namespace std;
struct Term {
int coeff;
int deg_x;
int deg_y;
Term* next;
};
class Poly{
public:
// constructor
//precondition:
// -
//postcondition:
// init head to nullptr
Poly();
// Creates a new node for linked list
//precondition:
// coeff, x, and y cannot be null referen... |
b8746d3c9be43b8d8dd51e1c5751378ad64d4da7 | 9ff597117eb1ed9e6557f61599d215ebfb8f6727 | /#1142 Maximal Clique.cpp | 26884c45ae49e5a712057bf25b861a1768c62633 | [
"MIT"
] | permissive | ZachVec/PAT-Advanced | ce9a3926feb8c4c86e92308324d0c51052835739 | 52ba5989c095ddbee3c297e82a4b3d0d2e0cd449 | refs/heads/master | 2023-03-22T05:39:19.994065 | 2021-03-13T10:08:48 | 2021-03-13T10:08:48 | 343,035,957 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,094 | cpp | #1142 Maximal Clique.cpp | #include <iostream>
#include <unordered_set>
#include <vector>
using namespace std;
int main() {
size_t nv, ne, nq;
if(scanf("%zu%zu", &nv, &ne) != 2) return 0;
vector<vector<bool>> isAdj(nv + 1, vector<bool>(nv + 1, false));
for(size_t i = 0, u, v; i < ne && scanf("%zu%zu", &u, &v); ++i) isAdj[u][v] ... |
cbe92287135f942f133b46774e0a0762c42bceb5 | 661bb25db192b744bd10d6c3ca702a7e307c602d | /TribesAscendSDK/HeaderDump/Engine.K2Connector.h | 137759692d5f8785143c2ef596023fc8fed09274 | [] | no_license | Orvid/TASDK | 9582682f0f60a6f6fce5caea3cdd978f401565b3 | 6057c26b8185b08bc47c58ddecefe0f14becf566 | refs/heads/master | 2020-12-25T01:06:16.876697 | 2013-08-02T16:26:25 | 2013-08-02T16:26:25 | 11,539,096 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,001 | h | Engine.K2Connector.h | #pragma once
namespace UnrealScript
{
class K2Connector;
}
#include "Core.Object.h"
#include "Engine.K2Connector.EK2ConnectorDirection.h"
#include "Engine.K2Connector.EK2ConnectorType.h"
#include "Engine.K2NodeBase.h"
#define ADD_STRUCT(x, y, offset) \
x get_##y() { return *(x*)(this + offset); } \
void set_##y(x val)... |
48212f292590f13b396f0bdec2df8bbdf640bd54 | db84bf6382c21920c3649b184f20ea48f54c3048 | /munichteststand/src/GECorradoDetector.cc | 68d9c4716b19585afe87c641a4418f1b5ad874a4 | [] | no_license | liebercanis/MaGeLAr | 85c540e3b4c5a48edea9bc0520c9d1a1dcbae73c | aa30b01f3c9c0f5de0f040d05681d358860a31b3 | refs/heads/master | 2020-09-20T12:48:38.106634 | 2020-03-06T18:43:19 | 2020-03-06T18:43:19 | 224,483,424 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 87,604 | cc | GECorradoDetector.cc | //---------------------------------------------------------------------------//
//bb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nu//
// //
// //
... |
d68c6d9cf8c1fd8105950bf41757592f18d2fac1 | 8ba74a9f4923d01116b321f9f4570b02c8deb6e3 | /deps/trucov/parser.h | 359949151b246c8c5ed1b2682da752aebdb9825f | [
"MIT"
] | permissive | havocp/hwf | 07d16c8b3a7eaa4c3c41537870e9b7b83c49f44b | a99e9a0461983226717b278513cfd9f1e53ba0f1 | refs/heads/master | 2021-01-19T11:25:46.193890 | 2014-01-24T18:53:21 | 2014-01-24T18:53:21 | 1,119,517 | 1 | 0 | null | 2014-01-24T08:54:09 | 2010-11-28T16:24:19 | JavaScript | UTF-8 | C++ | false | false | 9,574 | h | parser.h | ///////////////////////////////////////////////////////////////////////////////
// COPYRIGHT (c) 2009 Schweitzer Engineering Laboratories, Pullman, WA
///////////////////////////////////////////////////////////////////////////////
// Permission is hereby granted, free of charge, to any person
// obtaining a copy of ... |
5b9ed6caf34b8dc9200c8d9b411301fcae9600f2 | 274099a586f8ddf323abb1ed77b2c08ca35fad43 | /include/glvu/glvu.hpp | 3bd26ed68fb14c9339e3c98685945789b3a790cb | [] | no_license | yunteng/CubicaPlus | 912ac8dede855d8b85d0f87b28cb7ec4e751c394 | 3b5d60b863e54c6c880cb853c96d09cc7ca1caae | refs/heads/master | 2021-01-19T06:36:31.994916 | 2016-05-31T19:50:31 | 2016-05-31T19:50:31 | 60,118,935 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 25,775 | hpp | glvu.hpp | //------------------------------------------------------------------------------
// File : glvu.hpp
//------------------------------------------------------------------------------
// GLVU : Copyright 1997 - 2002
// The University of North Carolina at Chapel Hill
//----------------------------------------------... |
34558bd99a919047f6c277232aaa35ce2f7ee8b2 | e9de7cf850dfaea8ac440a513d9913b7cbde3a14 | /TrannyDestroyer/Menu.cpp | 316759357836392ba7a0422708ed588aa866af49 | [] | no_license | KaylinOwO/TrannyDestroyer | d4a448b772bca82734d9ccbdd3ae6fa7f18123eb | fc4d6663101ca2ace3bd8431e4f7f342b5732f22 | refs/heads/master | 2022-06-12T05:07:39.220470 | 2020-05-08T07:21:27 | 2020-05-08T07:21:27 | 262,254,830 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 7,990 | cpp | Menu.cpp | #include "Menu.h"
#include "Draw.h"
#include "Esp.h"
#include "Aimbot.h"
#include "Misc.h"
#include "Triggerbot.h"
#include "Antiaim.h"
#include "Crits.h"
Menu g_Menu;
#define keyDown GetAsyncKeyState
#define keyPress(x) keyDown(x) & 1
CKey gKey;
#define GROUP_WIDTH 180
#define TAB_WIDTH 150
#define MENU_TOPBAR 30
... |
0a1f4f47b74bd1fc594c48badb2e7c727f166f5d | 9aad84216536481d5ed7d86a46874f7392aacd76 | /GraphicsVMS.h | 5a0d42bdffc078f9b1a8047a2a78345bb7b8331a | [] | no_license | VictorBarradas/IsometricForceExperiments | 7e7c7f5d89ee9b0694c5a7aded8fb115dca8d4d5 | f9c0c1ed724f6146fdb078248d8ec58471e20f6b | refs/heads/master | 2021-01-01T04:12:04.713778 | 2016-05-23T22:28:20 | 2016-05-23T22:28:20 | 59,522,119 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 430 | h | GraphicsVMS.h | #pragma once
#include <stdio.h>
#include <string.h>
#include "Graphics.h"
#include "VMSErrorBasedPosMap.h"
class GraphicsVMS : public Graphics
{
private:
//VMSErrorBasedPosMap *vmsExperiment;
VisuomotorScaling *vmsExperiment;
int cursorZeroPosX;
int cursorZeroPosY;
char gStatusString[10][300];
public:
GraphicsVM... |
c6e6d380e8185f66baf0efc403e035085b0c8df6 | dd1e9e3796576da599f3981a7abaf2fcd9d6b89a | /BlitzSharp3D/blitz3d/md2rep.h | 92dd4e106be57f2e596c3ad0d29ae8388d7a226e | [
"Zlib",
"BSD-3-Clause"
] | permissive | blitzimagine/BlitzSharp3D | 4ae674cfdd2aba09f6844dce10ad44796c92aad0 | cbf25a5d4ad3e1081e819c0dfaeb3ce40cd57860 | refs/heads/master | 2023-04-13T08:50:40.440863 | 2022-06-08T13:41:12 | 2022-06-08T13:41:12 | 189,093,663 | 9 | 1 | NOASSERTION | 2021-09-04T22:52:21 | 2019-05-28T19:52:11 | C | UTF-8 | C++ | false | false | 1,054 | h | md2rep.h |
#ifndef MD2REP_H
#define MD2REP_H
#include "model.h"
class MD2Rep {
public:
struct Vert {
Vector coords, normal;
};
MD2Rep(const string& f);
virtual ~MD2Rep();
void render(Vert* verts, int frame);
void render(Vert* verts, int frame, float time);
void render(Vert* verts, int frame_a, int frame_b, float tim... |
87d31ab1e8af7c19b277719394acc5945c41763c | f5d5bd4bbc2582318d48955269a1d009546081c2 | /vexception.h | 6aa5f4a383a11a2a29840f62373a6a6032d5b034 | [] | no_license | sm4ll-3gg/vector | 411a81c35504c83954a033bfee33aef19729a30a | f49523a13a15561982a48fc143afeb06c6010b68 | refs/heads/master | 2021-06-06T17:57:52.259861 | 2016-10-31T21:57:01 | 2016-10-31T21:57:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 332 | h | vexception.h | #ifndef VEXCEPTION_H
#define VEXCEPTION_H
#include <exception>
#include <string>
class VException : public std::exception
{
std::string name;
public:
VException();
VException(const std::string&);
VException(const std::string&, std::exception&);
const std::string& get_name() const;
};
#endif // V... |
dae21230ba0c2ef1b59b4bb6c7718d48e3dc0dd7 | 86e28d36a8b77ee7b6c6e1832215157ae4c6ca98 | /copanies.h | e7fe155067a4de9d4eaa752a3a31a886c5b04611 | [] | no_license | 88roy88/yusuf | 817265d0585b791c4cbe67248f8216401bd8320f | ab7f8bcda86d817e8801a13c771ef13a79b49db2 | refs/heads/master | 2020-04-19T02:17:33.937633 | 2016-09-09T21:10:01 | 2016-09-09T21:10:01 | 67,831,918 | 0 | 0 | null | 2016-09-09T20:59:53 | 2016-09-09T20:51:15 | C++ | UTF-8 | C++ | false | false | 389 | h | copanies.h | #pragma once
#include <map>
#include <string>
#include "company.h"
#include "help.h"
using namespace help;
class companies {
public:
static map<string, company*> comps;
static void menu();
static void create(string name ="");
static void erase();
static void printCompany();
static void printList... |
375a5da5940a51e6d1bfcba5f6c193c343aead7b | 9b50cd21aa1a8e84e13a10e9e9f7bc1847239018 | /skeleton/RenderUtils.hpp | a9ac6566ce32ffbff752d2116b52652b3b4decf5 | [] | no_license | GonzaPM7/ProyectoSIM | 7c0dbce9c5e1b3443412102aef9833ef092ebaa2 | f6791f1911c48a722d6da0b995619ff8d6a460f5 | refs/heads/master | 2020-09-26T17:55:09.134549 | 2019-12-12T18:57:38 | 2019-12-12T18:57:38 | 226,307,094 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,430 | hpp | RenderUtils.hpp | #ifndef __RENDER_UTILS_H__
#define __RENDER_UTILS_H__
#include "PxPhysicsAPI.h"
#include "core.hpp"
class RenderItem;
void RegisterRenderItem(const RenderItem* _item);
void DeregisterRenderItem(const RenderItem* _item);
class RenderItem
{
public:
RenderItem(physx::PxShape* _shape, const physx::PxTransform* _trans, ... |
dd506ed10db7a021edae4296cccb69ffb8247193 | b302cb063485bb3fac9a3d9c9b730a90cf6d3806 | /src/transitions/AbstractTransition.h | 144a6842fcd996b8fa9d6ea6b563481cf77f95b9 | [] | no_license | damiano-massarelli/harentz | 5bb92ab97f6de37beefe229c38ef2210dbf47c3a | 9f29fdbb641b38be0563531ac508d505bcdf16c7 | refs/heads/master | 2023-01-07T00:50:29.505897 | 2019-06-04T18:33:14 | 2019-06-04T18:33:14 | 152,626,561 | 2 | 0 | null | 2022-12-22T11:03:37 | 2018-10-11T17:00:36 | C++ | UTF-8 | C++ | false | false | 1,039 | h | AbstractTransition.h | #ifndef ABSTRACTTRANSITION_H
#define ABSTRACTTRANSITION_H
#include "EventListener.h"
#include "EventListenerCrumb.h"
#include <functional>
#include <memory>
class AbstractTransition
{
private:
float m_elapsed{0.0f}; ///< total elapsed time from the creation of this transition
float m_totalDuration{... |
378af20bf7ed169fe4621aaa0c433e5016928b60 | 2799ea2b1ebae6602e199731409cd7ee94055a8e | /TerrainGenerator/src/engine/utility/interfaces/INonmovable.h | a7aa4495e27a1010dceff5b5ec9d840a3faa3982 | [
"MIT"
] | permissive | LucidSigma/vulkan-terrain-generator | ae37b777e478f93359a1c09c7602fa8f9097e07d | 532530331d988dbd2c4e9ae382812d28fabbd5e8 | refs/heads/master | 2021-12-14T18:39:31.996322 | 2021-12-01T06:23:21 | 2021-12-01T06:23:21 | 253,969,092 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 217 | h | INonmovable.h | #pragma once
class INonmovable
{
protected:
INonmovable() = default;
INonmovable(INonmovable&&) noexcept = delete;
INonmovable& operator =(INonmovable&&) noexcept = delete;
~INonmovable() noexcept = default;
}; |
3b680cbaaa6be11c3b481c953e194582da3980e5 | 70327430b2d38cbb921f3ad1c6f5b8943a270af6 | /ClientSocket/ClientSocket/main.cpp | 8b389d39dfe6c6b291dfc627120fc2a3cf372801 | [] | no_license | zs1995/student | 7884cb955b68571130a7962460c4060409f8230d | f698889e58ccd78e5358ed9a831edadd0acee846 | refs/heads/master | 2021-05-04T17:46:54.377582 | 2018-03-01T03:31:06 | 2018-03-01T03:31:06 | 120,276,766 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,386 | cpp | main.cpp | #include "udp.h"
int main(int argc,char **argv)
{
WSADATA wsaData;
SOCKET sockfd;
int n,count1 = 0;
char *recvline = NULL;
struct sockaddr_in servaddr;
struct hostent *host;
recvline =(char *)malloc(100);
if ( WSAStartup(MAKEWORD(2,2), &wsaData) != 0 )
{
printf("Init Windows Socket Failed::%d",GetLastE... |
03d11488e4d0c7c3b16f7bf88818e4f9af3d3156 | d1c86ad4b2e72afe43466ad2f8dedba2e64c1676 | /ConsoleTest/ConsoleTest/src-linux/socketDef.h | f5fa4e0576057a0fd1e381d045d9abae00ea033d | [] | no_license | gydgzd/vs17 | 6183d688ec2e8af2334cd85e7844f2d278d9e833 | 0d34fc98aa6766562f00543b675a05c2a38805dc | refs/heads/master | 2022-09-29T16:26:41.338370 | 2022-08-28T10:50:38 | 2022-08-28T10:50:38 | 163,606,943 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,168 | h | socketDef.h | /*
* socketDef.h
*
* Created on: May 7, 2019
* Author: gyd
*/
#ifndef SOCKETDEF_H_
#define SOCKETDEF_H_
#include <stdio.h>
using namespace std;
typedef unsigned char BYTE;
#define MSGHEAD_LENGTH 8
#define MAXLENGTH 1024*64
struct MSGBODY
{
int type; // 0:int, 1:string, 2: byte(hex)
int... |
630fc9c51035b53dd43b66e2ac4e386255601c8e | dfbed52d7ba6387e5324128aea52acfe5ecc1359 | /_035_C-String(putback, peek, ignore).cpp | 5fce168c578ebd9ad4d2d39ea4b64e97bbf41ef2 | [] | no_license | joohongkeem/Cpp_Self_Study | 55dac73f8532e9cafd6a0829c6e5f58b9ad62af5 | 936936807444848cfee6887608681d191d15bf30 | refs/heads/master | 2020-03-23T22:00:12.331117 | 2018-08-06T09:43:50 | 2018-08-06T09:43:50 | 142,146,758 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,289 | cpp | _035_C-String(putback, peek, ignore).cpp | #define _CRT_SECURE_NO_WARNINGS
#include <iostream>
using namespace std;
/*
- 프로그램을 실행할 때 입력 스트림에 존재하는 다음 문자가 무엇인지를 파악할 필요가 생길 수 있다.
But, 일단 입력 스트림의 다음 문자를 읽은 후, 경우에 따라서는 프로그래머가 원하지 않는 문자이기 때문에
이 문자를 읽기 전의 상태를 원하는 상황이 발생한다.
예를 들어, 프로그램에서 문자를 읽되 처음에 나오는 공백 입력을 원하지 않는 경우가 발생하는데,
문제는 공백 입력을 원치 않더라도... |
373da8b3ad02b6c91c37fffb707d90a6df359785 | 6409abcf29dca7d6403a5a82f0ce2125a8b6d9c4 | /source/MySQLLib/Database.cpp | 529583e5484395ebb7c31f50c05f2004215971e3 | [] | no_license | samlovejoyce/JDGC-BACKUP | c6c4c12774c4e4c390423a5ead0b7dd921a2e930 | 25c6b5edba0df8dabf3782eb066ca6d3628783ba | refs/heads/master | 2020-04-05T10:41:17.942815 | 2019-01-29T06:35:51 | 2019-01-29T06:35:51 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 9,594 | cpp | Database.cpp | #include <MySQLLib/Database.h>
#include <MySQLLib/DatabaseException.h>
#include <algorithm>
#include <functional>
#include <cctype>
namespace MYSQLDB
{
bool Database::_embedded;
Database::Database(const std::string & host, const std::string & user, const std::string & password,
const std::string & database, u... |
9068188f6a1fa148d1351770b7b66aa6eede6029 | c348efe40b4afac1de31e1cf93b800510f9d52f6 | /Cal State San Bernardino (CSUSB)/CSE375 - Requirements of Analysis & Design/CSE375 Website/cse.csusb.edu/dick/cs375/tp1.cpp | c8d1db93a2e3d8d11428ade8998456881ef09b07 | [] | no_license | acoustictime/CollegeCode | 5b57dc45459c35694e3df002a587bacc4f99f81a | a8ec647fa4b5a6a90f34f1c8715dfea88cefe6c6 | refs/heads/master | 2020-03-28T19:22:04.384018 | 2018-09-16T18:37:22 | 2018-09-16T18:37:22 | 148,968,472 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 290 | cpp | tp1.cpp | #include <iostream>
#include <cassert>
bool prime(int n)
{
return true;
}
int main(int argc, char* argv[])
{// test prime number function
assert( prime(2) );
assert( prime(3) );
assert( not prime(4) );
assert( prime(5) );
assert( not prime(9) );
assert( not prime(42));
}//end main
|
5cdab3aefe67151528d20b749dc9578de155926b | da5c9b96d42cc280e3866c6fc242c7f85bc891f7 | /Source/Alimer/IO/Console.cpp | 99007cbe3263cf7eb2bcd45ad03c3fe75d524c19 | [
"MIT",
"Zlib"
] | permissive | parhelia512/alimer | 641699a65f07f5810527b1ae3785ea5d43b751bf | b46c8b7bdbf11f2f6305a10d5372dbc61b595ab1 | refs/heads/master | 2020-03-15T04:22:04.540043 | 2018-05-02T18:46:15 | 2018-05-02T18:46:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,726 | cpp | Console.cpp | //
// Alimer is based on the Turso3D codebase.
// Copyright (c) 2018 Amer Koleci and contributors.
//
// 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... |
a698ca04fda2475398bfb3eb465d6a3b6cec65e2 | 87b61bd1fa1804472b1e4cfab2ed77015f4956a7 | /test/tests/simulation/random_walker/SplitRandomWalkerTest.cpp | 98c3f70fa16b7b8f482b86b3d048cfa98bc9fa6e | [] | no_license | PKua007/obstructed_tracer | c5c57374d0d21bf8ee82bea95990057beead37d6 | 25dd1fb70dceef437567111601454645e1df7bf8 | refs/heads/master | 2021-07-11T04:44:30.446441 | 2020-09-18T16:40:52 | 2020-09-18T16:40:52 | 199,272,872 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,818 | cpp | SplitRandomWalkerTest.cpp | /*
* SplitRandomWalkerTest.cpp
*
* Created on: 22 gru 2019
* Author: pkua
*/
#include <catch2/catch.hpp>
#include <catch2/trompeloeil.hpp>
#include <sstream>
#include "simulation/random_walker/SplitRandomWalker.h"
#include "mocks/simulation/RandomWalkerMock.h"
TEST_CASE("SplitRandomWalker: basics") {
... |
b14dd4836d374b261884641066724c1ee69390b5 | 0871c13ee23b5c2abcfb25fd68f5af6d6f3449e9 | /ObjectManager.cpp | d801355e3ed3af2a81aef3a3a7bf293ca54841f8 | [] | no_license | kokojae/SansEngine | 494dc33fb2861cb9059c55ee430a5c91357538fe | e47180cc6b22d3b719f1eb74c85bd1175c26b239 | refs/heads/master | 2020-12-22T10:05:12.320476 | 2020-10-15T02:40:07 | 2020-10-15T02:40:07 | 236,747,051 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 2,014 | cpp | ObjectManager.cpp | #include "DXUT.h"
#include "ObjectManager.h"
#include "TextureInfo.h"
#include "Camera.h"
#include "SansEngine.h"
ObjectManager::ObjectManager()
{
pSprite = NULL;
}
ObjectManager::~ObjectManager()
{
}
void ObjectManager::Init()
{
D3DXCreateSprite(DXUTGetD3D9Device(), &pSprite);
}
void ObjectManager::Release()
{... |
83cbb8dbedf964e0dd2c3421159ccf6ebe09f86b | de50860fa8acd51fbf7ceef253a88dc2a2a0640f | /m2048/libs/protobuf/src/google/protobuf/compiler/js/js_field.cc | d49645d19570ee223315a96ff2a6b0a9063d978d | [
"LicenseRef-scancode-protobuf",
"MIT"
] | permissive | hedonghuasir/2048_master | 6555a2e6f4746569aaf1fa3506710fdd663a9353 | 991966ad399e2f8569dc727ad72bbafc8e774261 | refs/heads/master | 2021-06-28T01:46:56.107294 | 2020-04-28T03:49:30 | 2020-04-28T03:49:30 | 159,907,217 | 0 | 0 | MIT | 2020-10-13T11:05:53 | 2018-12-01T04:00:40 | C++ | UTF-8 | C++ | false | false | 2,620 | cc | js_field.cc | //
// js_field.cpp
// protobuf
//
// Created by zhao shuan on 8/3/15.
// Copyright (c) 2015 hoolai. All rights reserved.
//
#include <google/protobuf/compiler/js/js_field.h>
#include <google/protobuf/compiler/js/js_helpers.h>
#include <google/protobuf/compiler/js/js_primitive_field.h>
#include <google/protobuf/com... |
7ecae4fcff3bcf90b9b56b13b9c718993d0c0997 | a2637ebf462068a0fc3637246005bafd0b447f07 | /CrimeEngine/include/Scenes/SceneManager.h | 537dbe9d818db7e8ee3126c9f5975050d4bd132b | [
"MIT"
] | permissive | DavidtKate/Crime-Engine | 08a063e80f4d0073f11365acb3e76d2244ff31d6 | 128529634011d41a1f7fc1a356245d7f7ef77cb3 | refs/heads/main | 2023-03-18T23:17:13.235494 | 2021-03-08T10:52:07 | 2021-03-08T10:52:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,070 | h | SceneManager.h | #pragma once
#include "Core/Core.h"
#include "IScene.h"
#include "Utils/IService.h"
namespace cr
{
class RenderLayer;
}
namespace ce
{
class SceneManager : public IService
{
public:
void OnCreate() override;
void OnDestroy() override;
void Update(float a_deltaTime) const;
void PauseUpdate(float a_deltaTi... |
1ac66986500926b14ea5c062d8bbef6f9506a315 | 8f50c262f89d3dc4f15f2f67eb76e686b8f808f5 | /Trigger/TrigHypothesis/TrigHLTJetHypoUnitTests/TrigHLTJetHypoUnitTests/JetHypoExerciserCompareAlg.h | 1da74dbe1090da21662415425ed48f5c563be00e | [
"Apache-2.0"
] | permissive | strigazi/athena | 2d099e6aab4a94ab8b636ae681736da4e13ac5c9 | 354f92551294f7be678aebcd7b9d67d2c4448176 | refs/heads/master | 2022-12-09T02:05:30.632208 | 2020-09-03T14:03:18 | 2020-09-03T14:03:18 | 292,587,480 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,901 | h | JetHypoExerciserCompareAlg.h | // -*- C++ -*-
/*
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
*/
#ifndef TRIGHLTJETHYPOUNITTESTS_JETHYPOEXERCISERCOMPAREALG_H
#define TRIGHLTJETHYPOUNITTESTS_JETHYPOEXERCISERCOMPAREALG_H
#include "TrigHLTJetHypo/ITrigJetHypoToolHelperMT.h"
#include "TrigHLTJetHypoUnitTests/IHypoJetVecto... |
b2f3e63556316702c949e0d6c4781b999837bf79 | 7572598de10db5aad53619b97f336920f97edbff | /Code/EmbeddedDeformation/EmbeddedDeformation/Sample.h | f3f0e6d74b82c24fec11e50d152cae42260e6f61 | [] | no_license | Yuanjrah/BetaShapeMachine | 7eaf59859523c24ce4df1243aa21b9cdc06b6891 | 92f4c7903c723178049cd2abf8bcc556edafc8a9 | refs/heads/master | 2021-09-08T22:12:50.303283 | 2016-05-26T19:13:53 | 2016-05-26T19:13:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,033 | h | Sample.h | #pragma once
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <string>
#include<iostream>
#include<vector>
#include "TriMesh.h"
using namespace std;
using namespace trimesh;
class Sample
{
public:
Sample(void);
~Sample(void);
Sample(vec3 pos, vec3 nor, float weg = 1.0f, int id = -1);
vec3 position;
... |
3bab64db27ff55e1392dc8895ea5f5fb7bb921f5 | 88d8d7b147e68bd4913fe05081cdb1574d933fca | /Source/Core/Messages/NetworkMessage.h | b41f757cdb9ad06724675d249bb601846397cd8f | [] | no_license | JimbobKR18/JFramework | d8acc577e81c6bbaf362a84061612d55f040f57a | 17563250df026425d91622cf7119727af78dc9e0 | refs/heads/master | 2020-04-04T05:41:28.162914 | 2019-09-28T07:36:16 | 2019-09-28T07:36:16 | 5,645,960 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 408 | h | NetworkMessage.h | #ifndef __JFramework__NetworkMessage__
#define __JFramework__NetworkMessage__
class NetworkMessage : public Message
{
private:
NetworkMessage() : Message() {}
NetworkMessage(NetworkMessage const &aMessage) : Message(aMessage) {}
public:
NetworkMessage(HashString const &aContent) : Message()
{
SetDescrip... |
f295b0de90d7e0501dd6e6a65c21aff1b32bb410 | 59aaf30aaf64e16b43c6f1a3046f1c3c2b8f33e1 | /file_sharing_system/int_to_iter.cpp | 2c97b0707955ae69e8f0753dcf9c74317245f63a | [] | no_license | svinniepoopy/mini_architectures | 67196a37c29e1ace52a7030e999ad66a0748fda4 | a64c3f76ef671b378487bcc27c800326743fc22d | refs/heads/main | 2023-04-15T06:25:23.365489 | 2021-04-12T09:26:47 | 2021-04-12T09:26:47 | 357,130,795 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 126 | cpp | int_to_iter.cpp |
#include <list>
#include <unordered_map>
int main() {
std::unordered_map<int, std::list<int>::iterator> M;
return 0;
}
|
94790f3db90674ee5a3abec5e87a80dfe883f12d | d84e689d4b587263f62e353e1da559d906056473 | /numarare4.cpp | c98525bd7f9d4b31b1cc982155b44c04a3884246 | [] | no_license | cosminvoicu/LearnAlgoritms | 2c4bc44d01edaae9a2851d39eef6d1e79068a215 | 1f71641d56d171c6d2943d33c770e15a86f10e52 | refs/heads/master | 2021-06-24T06:22:58.956608 | 2020-11-12T05:11:59 | 2020-11-12T05:11:59 | 156,120,051 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 346 | cpp | numarare4.cpp | #include<iostream>
using namespace std;
int gcd ( int a, int b) {
if (!b)
return a;
return gcd ( b, a%b );
}
int main() {
int sir[201], n, contor=0;
cin>>n;
for ( int i = 1; i<=n; ++i ) {
cin>>sir[i];
}
for ( int i = 1; i<n; ++i ) {
if ( gcd(sir[i],sir[n]) == 1 )
++contor;
}
co... |
54d32ab908be9427514c8bf981d825af2223c6a0 | ac5442020a5247231ede042926530e500b16b501 | /compilers/frontend/src/syntax/stmt/loop_stmt.cc | 8967de8b5dcacbe37c78bada6a4ef28e2a67f7b4 | [] | no_license | MuhammadNurYanhaona/ITandPCubeS | e8a42d8d50f56eb76954bdf2cb786377cb5a8ee5 | 8928c56587db8293f0ec02c7cb030cfb540ce2b4 | refs/heads/master | 2021-01-24T06:22:37.089569 | 2017-04-22T15:57:04 | 2017-04-22T15:57:04 | 15,794,818 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,417 | cc | loop_stmt.cc | #include "../ast.h"
#include "../ast_stmt.h"
#include "../ast_expr.h"
#include "../ast_def.h"
#include "../ast_task.h"
#include "../../common/errors.h"
#include "../../common/location.h"
#include "../../semantics/scope.h"
#include "../../semantics/symbol.h"
#include "../../semantics/helper.h"
#include "../../semantics/... |
3f55e8cd19f959d143179f998932aaf3eddac08c | 3c21729775286440df2bd1a1b28b6e0596b223cb | /cpp/day02.cpp | e1f8a123a967798f3ffd18996d8737ae09221b65 | [] | no_license | rnkjoshi/LCO_30_days_compiChallenge | 65389736103dc2ed6473a77e9d4337733305c660 | 6558bcbb6839d8d26be655d53f92c901bbadb997 | refs/heads/master | 2022-11-05T20:23:59.907475 | 2020-06-15T18:06:13 | 2020-06-15T18:06:13 | 264,522,107 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 587 | cpp | day02.cpp | /*
Print this pattern.
**
**
****
****
******
******
********
********
*/
#include<bits/stdc++.h>
using namespace std;
void patternPrint(int spaces,int asterics){
for(int i=0;i<spaces;i++)
printf(" ");
... |
148585f2d3b1aa176c61fb72ba5aa0a0627bbd44 | fbc1c378980fbfffb79b10803de99313df9c115f | /fe.h | cfbd50f8d92a5874fa6da057161667da0d71ed1f | [] | no_license | ShoiX/cpp-lib-sample | c6fe55ea15e13d93e809ab246ebc9f8b382370c4 | cdd785d2a401815755622bb215ebc97ce7ff5ac6 | refs/heads/master | 2020-06-05T07:31:02.076516 | 2019-06-17T14:13:14 | 2019-06-17T14:13:14 | 192,360,930 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 204 | h | fe.h | // TODO: create a Makefile
// to compile g++ -g fe.cpp main.cpp -o main
#include <cmath>
#include <iostream>
unsigned int fast_exponentiation(unsigned int base, unsigned int exponent, unsigned int mod);
|
9e34e00081389817df542fa69694dd821416df5c | 072ffc598dc09bb48b8bb97f81e39266c2a1c4d6 | /FP/FP1/Practices/PC08.cpp | cfa2b42ad556863ce8fa17341ddcf2e37ec1714e | [] | no_license | korven48/Codigo_Uni | e6eeb66528a1f0508072de7d9183db26be6b24f1 | 43af1e266d640a84baaa6763b009be77d6e111cd | refs/heads/master | 2023-04-11T06:38:47.374541 | 2021-04-28T19:02:46 | 2021-04-28T19:02:46 | 301,539,386 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,381 | cpp | PC08.cpp | #include <iostream>
#include <string>
#include <fstream>
#include <iomanip>
using namespace std;
const string FileName = "stock.txt";
const int MAX = 50;
typedef string tProdName[MAX];
typedef double tProdPrice[MAX];
typedef int tProdUnits[MAX];
bool load(tProdName prodName, tProdPrice prodPrice, tProdUnits prodUnit... |
9766345a54a444a929ed82a1f65025237b583da5 | 88bb1c445d0ec6c74473b8ff700808c2be60f6cd | /Source/ASHUMPanelBase.h | eb3291103b2fb04bdc7555552f8d078d5c9b7b3c | [] | no_license | Aleks048/SimpleDistortion | 0751f847929bc59de2157a6cf84ca6f707941985 | 70b9bd7a3fa9dfc22fb76d69ce4ce441566e45d8 | refs/heads/master | 2023-02-27T15:04:08.576468 | 2021-02-08T17:20:29 | 2021-02-08T17:20:29 | 336,933,882 | 0 | 0 | null | 2021-02-08T17:21:52 | 2021-02-08T01:57:29 | C++ | UTF-8 | C++ | false | false | 665 | h | ASHUMPanelBase.h | /*
==============================================================================
ASHUMPanelBase.h
Created: 7 Feb 2021 1:43:49pm
Author: ashum048
ashum048: base class. All panels inherit from it
==============================================================================
*/
#pragma once
#include ... |
859a79114384f5b5c9668a59c54c440552cf5967 | 1ac50a3c9ed746076623c47637def95011aa043a | /Game/project2D/CollisionManager.cpp | c7258cd4a9ec52b304c4a0cc83c7ec2fed1b0004 | [
"MIT"
] | permissive | Hypro123/EDMathDemonstration | d9dd27d4829cc0311e283bffbc5cb6323835ffab | 77065d6034fd45ea6b0119b6d059c3f76313b316 | refs/heads/master | 2020-12-30T14:01:16.696983 | 2017-05-15T22:57:29 | 2017-05-15T22:57:29 | 91,280,457 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,656 | cpp | CollisionManager.cpp | #include "collisionManager.h"
#include "Collider.h"
collisionManager* collisionManager::m_instance = nullptr;
collisionManager::collisionManager()
{
}
collisionManager::~collisionManager()
{
}
collisionManager* collisionManager::GetInstance()
{
return m_instance;
}
void collisionManager::Creat... |
fe43abbd909de8d58b2c7bf7183480e298bc734b | 67401351095c5ed45460c3e47a80806fcc672c41 | /1622-Creating Strings.cpp | 967423bcb6134b296df342e9cc347b1331f53041 | [] | no_license | cwza/cses | 5f3d9feefb04a99a3b68b3da653269ea4fe3f09e | 1923cadc355fcdc28a6d542dc53e4b46e75644e9 | refs/heads/master | 2023-04-03T09:29:23.588680 | 2021-03-29T01:05:48 | 2021-03-29T01:05:48 | 344,027,634 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,185 | cpp | 1622-Creating Strings.cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef vector<int> vi;
typedef vector<vector<int>> vvi;
typedef pair<int, int> pi;
void helper(string &path, int counter[26], int n, vector<string> &ans) {
if(path.size()==n) {
ans.push_back(path);
}
for(int i = 0; i < 26; ++i) {
... |
6e5721af2fccb1f98a524d9269e1be222ac43e38 | b0d50570da36190f4402656229bba8304da465d2 | /Classes/EventBusinessLayer.h | 75dc43f3603e0111676451e4119cde1cd9a977e9 | [] | no_license | daxingyou/MyJH2 | 6e4b78b73d6e1f8eb65ee06794f779253e4343cc | 1b7a606adf6ca03bd134b88918c675906ac18e07 | refs/heads/master | 2022-02-21T04:20:09.943673 | 2018-12-03T09:03:48 | 2018-12-03T09:03:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,061 | h | EventBusinessLayer.h | #ifndef _EVENTBUSINESS_LAYER_H_
#define _EVENTBUSINESS_LAYER_H_
#include "cocos2d.h"
#include "cocostudio/CocoStudio.h"
#include "ui/CocosGUI.h"
#include "MapBlock.h"
USING_NS_CC;
class EventBusinessLayer :public Layer
{
public:
EventBusinessLayer();
~EventBusinessLayer();
virtual bool init();
static EventBusin... |
bd2dfa53384b710813047e4735f808a22d14879e | 30293a0459635ae5bcc7d97eca7586f0a85ca195 | /BoYee/FIRETRUCK.cpp | 81113a46df3e600b094ba868d30c35723856d203 | [
"MIT"
] | permissive | ClaudeU/Algorithm_Review | e1ab50543d5f84ff8d7a60adb6d26bfd533b4c69 | 67f2e3e7dca7a39cd9525f62249689d9d1d79994 | refs/heads/master | 2021-07-03T18:03:55.675704 | 2017-06-21T18:00:47 | 2017-06-21T18:00:47 | 104,836,888 | 0 | 0 | null | 2017-09-26T04:43:55 | 2017-09-26T04:43:55 | null | UTF-8 | C++ | false | false | 2,645 | cpp | FIRETRUCK.cpp | #include <iostream>
#include <vector>
#include <list>
#include <limits.h>
#include <queue>
using namespace std;
typedef struct node{
int num;
int weight;
bool operator>(const node& other) const {return weight> other.weight;}
} node;
void Print (const vector<int>& v){
//vector<int> v;
for (int i=0; i<v.size()... |
ed2b36a2e5d17880f316ac6580f8c2abb306969a | 07c61596c1fba2e2a7034fe5af9707794ea2e2c1 | /Kattis/wheresmyinternet.cpp | 22b77852f2d07972e6509126fdcc222d412be809 | [] | no_license | H-Shen/Collection_of_my_coding_practice | 2fcb2f8fef9451ad4a3a9c063bbf6a34ea5966b4 | 6415552d38a756c9c89de0c774799654c73073a6 | refs/heads/master | 2023-08-24T21:19:08.886667 | 2023-08-22T03:47:39 | 2023-08-22T03:47:39 | 180,731,825 | 8 | 1 | null | 2021-08-13T18:25:25 | 2019-04-11T06:48:09 | C++ | UTF-8 | C++ | false | false | 1,233 | cpp | wheresmyinternet.cpp | // https://open.kattis.com/problems/wheresmyinternet
//
#include <bits/extc++.h>
using namespace std;
constexpr int maxn = 200005;
int father[maxn]; // Father nodes
int Rank[maxn]; // Rank
int result[maxn];
int result_length = 0;
int find(int x) {
if (x != father[x])
father[x] = find(father[x]);
re... |
a6ea85279f8e611adfc5d71b2d0254d0a99db058 | 5538f52b78f533deccdd15e1cc5508082e29b31e | /include/tvr/Common/JSONHelpers.h | c40023350f23a6751e10ad33b3704714e8335c73 | [] | no_license | liaoclarke/tvr_runtime | 049f800406873c8621f3deda4533e36ec0328109 | d406d547922e33b105c60a06ace9b91f656198db | refs/heads/master | 2021-01-01T05:43:42.814023 | 2016-05-29T03:46:23 | 2016-05-29T03:46:23 | 58,048,316 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,154 | h | JSONHelpers.h | #ifndef INC_Common_JSONHelpers_h
#define INC_Common_JSONHelpers_h
// Internal Includes
// - none
// Library/third-party includes
#include <json/value.h>
#include <json/reader.h>
#include <json/writer.h>
// Standard includes
#include <string>
namespace tvr {
namespace common {
/// @brief Parses a string as JSON,... |
e375c49ad07167656beea38feb7ad7b870105f37 | 87353fd398d01b5eebceaddcb2ef78e39ed4eb6d | /include/ICP.h | 8e759c8a822e7148eaba4284ff2f8550ab812f63 | [] | no_license | Sadaku1993/graph_slam | a4715a1983d50b2d3743ca4e22c32c110f2b4401 | 165cae81ff057cc462b2b28c0bdf1dbcdaeabdca | refs/heads/master | 2020-04-20T19:57:09.192143 | 2019-03-15T16:51:32 | 2019-03-15T16:51:32 | 169,063,210 | 5 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 452 | h | ICP.h | #ifndef ICP_H
#define ICP_H
#include <iostream>
#include <pcl/point_cloud.h>
#include <pcl/registration/icp.h>
namespace GRAPH_SLAM
{
template<typename T_p>
class ICP
{
public:
ICP();
void icp(typename pcl::PointCloud<T_p>::Ptr& source_cloud,
typename pcl::PointCloud<T_p>::Ptr& ... |
eac18dd4cf8b73e00fbad38902facc7aaab2d47a | 3934cdf17301219728a967e8913237284ae57bd3 | /test/f32-vsub-relu.cc | cec283c63f52eb56b7dfb06bd0abb9b261cffb96 | [
"LicenseRef-scancode-generic-cla",
"BSD-3-Clause"
] | permissive | google/XNNPACK | c1a709b570460dd9e352300b18ba75025ace34ac | c758a4a6601513736ae520dd87206c76e8f5f05a | refs/heads/master | 2023-08-30T10:43:28.569336 | 2023-08-30T07:46:17 | 2023-08-30T07:47:37 | 208,364,128 | 1,565 | 313 | NOASSERTION | 2023-09-14T19:47:21 | 2019-09-13T23:48:37 | C | UTF-8 | C++ | false | false | 21,792 | cc | f32-vsub-relu.cc | // Copyright 2019 Google LLC
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree.
//
// Auto-generated file. Do not edit!
// Specification: test/f32-vsub-relu.yaml
// Generator: tools/generate-vbinary-test.py
#include <gtest/gtest.h... |
f813924f0661728e2e91d1dfbb9f3eb2b837c25f | 0bf8cdde9562a400fe1604237a658fae5a170982 | /ext/openMVG/dependencies/osi_clp/Clp/src/ClpPrimalColumnPivot.cpp | 37e8ae24260601aa719860809cfdbf78a4fdb31f | [
"LicenseRef-scancode-free-unknown",
"EPL-1.0",
"BSD-3-Clause"
] | permissive | AIBluefisher/EGSfM | 64c2108c037a7e730a81690598022586d6ae90aa | e2e505353cdc525b8e814e0019bd0dc67be75fea | refs/heads/master | 2021-06-19T02:06:22.904219 | 2021-02-28T03:11:14 | 2021-02-28T03:11:14 | 187,424,684 | 91 | 19 | BSD-3-Clause | 2020-03-03T07:33:47 | 2019-05-19T02:20:18 | C++ | UTF-8 | C++ | false | false | 2,340 | cpp | ClpPrimalColumnPivot.cpp | /* $Id: ClpPrimalColumnPivot.cpp 1665 2011-01-04 17:55:54Z lou $ */
// Copyright (C) 2002, International Business Machines
// Corporation and others. All Rights Reserved.
// This code is licensed under the terms of the Eclipse Public License (EPL).
#include "CoinPragma.hpp"
#include "ClpSimplex.hpp"
#include "ClpPri... |
357895413cf645c6d0d2af173a5dabf50a0cb457 | cfbb3da46c9745b4d30f3aed4765bd6742ae7ce7 | /concept1.cpp | 3e42f1c6e3620c2c8c27bc8cea83e5b6d28315d4 | [] | no_license | emsr/tr2 | 14b533198c6578c8825bfc422ffa543b8484cfc4 | 20710638f1c808f26130dc369819bc6cd73b3377 | refs/heads/master | 2022-05-22T15:15:51.900776 | 2022-03-07T16:24:02 | 2022-03-07T16:24:02 | 7,756,038 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,349 | cpp | concept1.cpp |
// $HOME/bin/bin/g++ -std=c++1z -o concept1 concept1.cpp
// ./concept1
// Constrained type specifiers.
// dcl.spec.auto.constr
template<typename T>
concept bool C1 = false;
template<int N>
concept bool C2 = false;
template<template<typename> typename X>
concept bool C3 = false;
template<typename T, int ... |
a05b3874a5463b21b4b80fbdec79f58d90b2b414 | 21308cbccd1aec1139b6e783746caec47e3f1a39 | /recursive/unique_binary_search_tree2.cpp | 26aee9014a4f46886c01086bf4f8e5d92c116735 | [] | no_license | shrimpie/leetcode | 1163af5d67878049b9c031389e78a0b820c12bba | 08f0a0e58cfc9eb36f98d44090b1de0ca1e6c95e | refs/heads/master | 2021-06-15T02:35:13.204173 | 2016-11-21T00:28:57 | 2016-11-21T00:28:57 | 72,703,812 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,700 | cpp | unique_binary_search_tree2.cpp | // Problem description:
// Given n, generate all structurally unique BST's (binary search trees) that
// store values 1..n?
// For example,
// Given n = 3, your program should return all 5 unique BST's shown below.
// 1 3 3 2 1
// \ / / / \ \
// 3 2 2 1 3 2
// / ... |
06f32b59aade80c8a02ce130e78812816f330690 | 4de4f73edfc6ba804d6490ee1a54b2ea81282121 | /10bitsGraph.cpp | 66a2298ecb880df1278f5c5759d0a5b07cb7a4b1 | [] | no_license | Jolyon0202/10bitsGraph | e8186fc6d4a408eb4614acb74f03ef28e920fbb3 | 74a8539f6565498e9d5af63a5874f95fd5b1200c | refs/heads/master | 2023-08-15T14:21:53.316937 | 2021-09-22T15:24:38 | 2021-09-22T15:24:38 | 408,885,991 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,119 | cpp | 10bitsGraph.cpp | #include <GLUT/glut.h>
#include <ctime>
#include <fstream>
#include <iostream>
#include <memory>
#include <string>
#include <time.h>
#include <vector>
using namespace std;
GLdouble width = 512, height = 512;
unsigned int userRed = 0;
unsigned int userGreen = 0;
unsigned int userBlue = 255;
// Auxiliary union used to... |
b1ddf67e1c199f9aff76c797464cc6d05f61e308 | cb6e2c3659f84e4b75debe948c1909d3e33f8bc9 | /Enums.hpp | e318155c11dfc2dd7e2e023d2f646539cbbb0954 | [] | no_license | Pytxhr/taskmgr-hideprocess | d6f2b33bf4704bbb5565614fc90f62ed8ac51455 | 30b3646042ffa9d2d7e2d66eea9fe83092bd5b0f | refs/heads/main | 2023-04-02T00:38:05.800194 | 2021-03-30T23:41:22 | 2021-03-30T23:41:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 716 | hpp | Enums.hpp | #pragma once
#include <Windows.h>
typedef struct _SYSTEM_PROCESS_INFORMATION {
ULONG NextEntryOffset;
ULONG NumberOfThreads;
BYTE Reserved1[48];
UNICODE_STRING ImageName;
KPRIORITY BasePriority;
HANDLE UniqueProcessId;
PVOID Reserved2;
ULONG HandleCount;
ULONG SessionId;
PVOID R... |
a9310e79fea79be2b2f4a67a7d58ead27fa97491 | 7648b587dbd740d545ecb4345517441fb001b569 | /src/c/linearModel_detail.h | 5d0af7aabd0f77cb7ef318e0906798143cd3edba | [
"BSD-3-Clause"
] | permissive | rupea/LabelFilters | f8c508e244489b5673b3ebe0e51b898c02fa4f9f | a70b1f90427fe44bd43fee842aad34704d51854c | refs/heads/master | 2020-03-23T06:57:45.089677 | 2018-11-13T20:22:38 | 2018-11-13T20:22:38 | 141,239,997 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 976 | h | linearModel_detail.h | /* Copyright (C) 2017 NEC Laboratories America, Inc. ("NECLA"). All rights reserved.
*
* This source code is licensed under the license found in the LICENSE file in
* the root directory of this source tree. An additional grant of patent rights
* can be found in the PATENTS file in the same directory.
*/
#ifndef _... |
33903c1a552eb4cc13c2b18978460a92f4d17220 | 3894c1c0a265dfa91e114ff4df12236454efdb2c | /LeetCode/iter1/c++/IntegerBreak.cpp | 592cbb1c0906cda2085d2e5982cec64b245196f1 | [] | no_license | jonathenzc/Algorithm | d770802337a8f4f36b94e42722d4d1954b45f408 | f6b3d1a3f987dd3f38aa38c6de4b37caef0880bc | refs/heads/master | 2020-04-04T00:16:38.780515 | 2020-03-12T16:10:43 | 2020-03-12T16:10:43 | 33,028,640 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 686 | cpp | IntegerBreak.cpp | #include <iostream>
#include <math.h>
using namespace std;
int integerBreak(int n)
{
if (n == 1)
return 1;
else if (n == 2)
return 1;
else if (n == 3)
return 2;
int cnt = n/3;
int mod = n % 3;
int result = 0;
if (mod == 1)
{
cnt--;
result = pow(3, cnt) * 4;
}
else if(mod == 2)
{
result = p... |
376da33f2a2df9ad89651206bb917c7abdf28218 | bebdef83edff1cc8255785369e140ce84d43350a | /Codes/10871_Smaller_than_X.cpp | dfe79f1bb6263bbaa9ae27aff5d06607f1430cd7 | [] | no_license | SayYoungMan/BaekJoon_OJ_Solutions | 027fe9603c533df74633386dc3f7e15d5b465a00 | b764ad1a33dc7c522e044eb0406903937fe8e4cc | refs/heads/master | 2023-07-05T13:47:43.260574 | 2021-08-26T11:42:21 | 2021-08-26T11:42:21 | 387,247,523 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 227 | cpp | 10871_Smaller_than_X.cpp | #include <iostream>
int main() {
int n, x, num;
std::cin >> n >> x;
for (int i=0; i<n; i++) {
std::cin >> num;
if (num < x) {
std::cout << num << " ";
}
}
return 0;
} |
4a2ea8df5bebe96b01dd810ff1688b0868f5a9b7 | d1542036ca18dbe9cd0dffeb8e4715a14ee9bc76 | /include/toyota_localplanner/toyota_localplanner.h | 4877ef8a6d1f4cf85c099516737a4285f987bc3d | [] | no_license | Benjaminmar8/toyota_local_planner | 0799249ef116e0fee26bfe80af2f8d2999a68d5b | 0d9878713e511af435341bf7c9bd2b9b58cf1727 | refs/heads/master | 2021-01-13T00:57:33.161091 | 2016-04-26T07:23:02 | 2016-04-26T07:23:02 | 57,101,028 | 4 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,225 | h | toyota_localplanner.h | #ifndef TOYOTA_LOCALPLANNER_TOYOTA_LOCALPLANNER_H_
#define TOYOTA_LOCALPLANNER_TOYOTA_LOCALPLANNER_H_
#include <ros/ros.h>
#include <tf/tf.h>
#include <tf/transform_datatypes.h>
#include <tf/transform_listener.h>
#include <nav_core/base_local_planner.h>
#include <costmap_2d/costmap_2d_ros.h>
#include <geometry_msgs/Po... |
f2fcaa55bf45f584aee3556e8ae7f8400f3d7d95 | 518bf342bc4138982af3e2724e75f1d9ca3ba56c | /solutions/0706. Design HashMap/0706.cpp | 501ee55602eaf782badc52e3a47849ac11822343 | [
"MIT"
] | permissive | walkccc/LeetCode | dae85af7cc689882a84ee5011f0a13a19ad97f18 | a27be41c174565d365cbfe785f0633f634a01b2a | refs/heads/main | 2023-08-28T01:32:43.384999 | 2023-08-20T19:00:45 | 2023-08-20T19:00:45 | 172,231,974 | 692 | 302 | MIT | 2023-08-13T14:48:42 | 2019-02-23T15:46:23 | C++ | UTF-8 | C++ | false | false | 1,091 | cpp | 0706.cpp | class MyHashMap {
public:
/** Initialize your data structure here. */
MyHashMap() : lists(kSize) {}
/** value will always be non-negative. */
void put(int key, int value) {
auto& pairs = lists[key % kSize];
for (auto& [k, v] : pairs)
if (k == key) {
v = value;
return;
}
... |
79f660a5b5fd62c3dbc5ce358c48c9596673612d | 2b9a69bb87049f15460547c9a140d532a00747ad | /user/sniff_thread.cpp | 03847ff5b614659239ac7581cdfe2f7f81c97803 | [] | no_license | zhang35/VMM-Monitor | ed052c7befe2c9bf734781cbe34a14d3a841df4a | 6f6024b8af0394410f170f078566bf37e2a9ad5b | refs/heads/master | 2020-04-10T00:04:55.907708 | 2018-12-06T13:03:11 | 2018-12-06T13:03:11 | 160,675,155 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 236 | cpp | sniff_thread.cpp | #include "sniff_thread.h"
sniff_thread::sniff_thread(QObject *parent) :
QThread(parent)
{
stoprun = false;
}
void sniff_thread::stop()
{
stoprun=true;
}
void sniff_thread::run()
{
getpacket();
}
|
6c9aba332bb566529b1d1c06120ade27bf8d2752 | ddf51c74f4426f38093b3e86861e9a60d907bd85 | /contest/codeforces_educational/round_46/e.cpp | 1055722b6671ad8fea8a83c8b414c53034419ee9 | [] | no_license | TheSkyFucker/acm-icpc | 65359e77855459c86f4717cd59b4bbc5b7d40f60 | 994173541054921e03ff29333242f61f6ac4869d | refs/heads/master | 2018-09-26T20:33:54.107075 | 2018-07-24T17:48:05 | 2018-07-24T17:48:05 | 111,862,682 | 6 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,650 | cpp | e.cpp | #include<bits/stdc++.h>
using namespace std;
typedef double db;
typedef long long ll;
typedef vector<int> vi;
typedef pair<int, int> pii;
#define fi first
#define se second
#define mp make_pair
#define pb push_back
#define pw(x) (1ll << (x))
#define sz(x) ((int)(x).size())
#define all(x) (x).begin(),(x).end()
#define r... |
88e5caec36f7e4dd74406edc1086cd8fe71223d0 | 93c2c6bb2962e9a19e38e2c895a246fd58c1400e | /cpp/04_game/bird.cpp | 7b28ae2c2cbcfb693e16febd016953817dccf67b | [] | no_license | walterbaidal/Allegro-programs | a931cb66da8ff0850c40ed1b3b022c9c777bea42 | fb2e1d442757fbde1540ee045cd95fec264e72dc | refs/heads/master | 2021-01-01T18:48:37.590691 | 2015-05-28T07:49:39 | 2015-05-28T07:49:39 | 36,422,969 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,042 | cpp | bird.cpp | #include "mi_allegro.h"
#include <stdlib.h>
#include <unistd.h>
#include <time.h>
#include <stdio.h>
#define SPRITESHEET "sprites/KTGicPH.png"
int
main (int argc, char *argv[])
{
ALLEGRO_BITMAP *background = NULL;
ALLEGRO_BITMAP *title = NULL;
ALLEGRO_BITMAP *terrain = NULL;
ALLEGRO_BITMAP *pla... |
67c679d40c0839db316860127c5ffb228580c906 | ff7a88ebe49de7c49acf02fac759f2583ddf0e89 | /DearGit/git/StatusData.cpp | 0c70683d646ac675376a49d214c9a4fe1165686d | [] | no_license | ToasterFuel/DearGit | 6770888b74f77a5dad2b88159ffc344f6a56cebe | f0589b70005412ae5b4b6ec70a293f2c07f82cfb | refs/heads/main | 2023-02-11T19:19:31.458006 | 2020-12-29T17:58:09 | 2020-12-29T17:58:09 | 322,319,771 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,922 | cpp | StatusData.cpp | #include "StatusData.h"
StatusData::StatusData(const git_status_entry* entry) : entry(entry)
{
}
const char* StatusData::Path()
{
if(IsStaged())
return entry->head_to_index->new_file.path;
return entry->index_to_workdir->new_file.path;
}
GitStatus StatusData::GetStatus()
{
switch... |
ee718ee20b72934996442d2c584f4c3bfe36ab7d | f39b191acf9bf3d39ffae7bb33af1662c7e8db8d | /HEAP/HEAP/disp.h | 526e244fc38b289577cee1d8af1bd0020877271d | [] | no_license | sushmabala/GUI_Traversal_Trees | 5fc85e756ea624be2900db25a474bc850e84c988 | be67fbc49d4eb75dbc657ed5ad89d3fbe23b1078 | refs/heads/master | 2022-12-15T09:42:42.688444 | 2020-09-06T10:55:20 | 2020-09-06T10:55:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,007 | h | disp.h | //#include"ui.h"
#pragma once
namespace HEAP {
using namespace System;
using namespace System::ComponentModel;
using namespace System::Collections;
using namespace System::Windows::Forms;
using namespace System::Data;
using namespace System::Drawing;
/// <summary>
/// Summary for disp
/// </summary>
public ... |
5c91e6caf3a69826b37c7061c2bc1fbca17126b2 | 37cd8698bb2e7262744a0ad80296474e072aa1e5 | /CG/provaPP2/college-Computa-oGr-fica/Trabalhos/Trabalho2/trabalho2.cpp | e5320c434e87f5a85d2f81765ec5cc05378fdbc5 | [] | no_license | denihs/college-third-year | b50a47c02827a3e5b16dfe84e64c67a36f49785f | f1ec8b381b9a793fe05f99dd07912fe2c3afbbdf | refs/heads/master | 2022-02-26T08:12:23.460205 | 2019-09-29T21:23:26 | 2019-09-29T21:23:26 | 174,235,616 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 31,649 | cpp | trabalho2.cpp | /*
*
* Compilador e Biblioteca: gcc, OpenGl/GLUT
* Comando para compilação: g++ -o trabalho2 trabalho2.cpp -lglut -lGL -lGLU -lm
*
*
* Tabalho 2 de Computação grafica 3º Ano - Ciência da computação UEMS
* Nome: Fernando Lima
*/
/// Inclusão de libs
#include <sstream>
#include <string.h>
#include <stdlib... |
82a495e75df1febd31600b29fc469f8bb8337f30 | 561ffc56c58f11adf9f2a702a9a0be9ebadffa41 | /src/qif.cc | 38bac7e99d420c1dc0e79ed5d98dd9c080959ce2 | [] | no_license | skanthak/ledger | f9a51149dc8444cf1dedc86ea9af04cb55b200ec | 5d41388ff3e971d47f8fb7938be49f3dca85c3d1 | refs/heads/master | 2021-01-23T08:24:39.629502 | 2008-10-29T08:00:00 | 2008-10-29T08:00:00 | 70,928 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,856 | cc | qif.cc | /*
* Copyright (c) 2003-2008, John Wiegley. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* - Redistributions of source code must retain the above copyright
* notice, this list of c... |
a1833d11381f820e4b3920c220dff52470005178 | 1825283527f5a479204708feeaf55f4ab6d1290b | /leetcode/c++/14/longest-common-prefix.hpp | 021cf97ea13983ebd085b0a7197681bcea4f925f | [] | 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 | 613 | hpp | longest-common-prefix.hpp | class Solution {
public:
string longestCommonPrefix(vector<string>& strs) {
int l = strs.size();
string s = "";
if (l==0) return s;
if (l==1) return strs[0];
int j = 0;
bool same = true;
while (same) {
char c = strs[0][j];
for(int i = 1... |
6d2dafbe53fcdc4125361ada1348bc12e133d98f | 1b90be9561c10508eea59cb36c1f1665d0ef947f | /lib/boost_1.78.0/tools/build/src/engine/filent.cpp | e32879424dc106476021d6c7ec6d98990c0bd379 | [
"BSL-1.0",
"LicenseRef-scancode-proprietary-license",
"BSD-3-Clause",
"GPL-2.0-only",
"Apache-2.0"
] | permissive | stan-dev/math | 473e7c1eaf11f84eaf2032c2455e12ba65feef39 | bdf281f4e7f8034f47974d14dea7f09e600ac02a | refs/heads/develop | 2023-08-31T09:02:59.224115 | 2023-08-29T15:17:01 | 2023-08-29T15:17:01 | 38,388,440 | 732 | 240 | BSD-3-Clause | 2023-09-14T19:44:20 | 2015-07-01T18:40:54 | C++ | UTF-8 | C++ | false | false | 15,372 | cpp | filent.cpp | /*
* Copyright 1993, 1995 Christopher Seiwald.
*
* This file is part of Jam - see jam.c for Copyright information.
*/
/* This file is ALSO:
* Copyright 2001-2004 David Abrahams.
* Copyright 2005 Rene Rivera.
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE.txt or co... |
9cc43d1a8b757f18b0567f8b118982b37916926a | 067c8359720367352c46db9224ac18893399f131 | /The_Time_Of_Ending/TOEEnemyCharacter.cpp | edf90a371673ec6a86b1e5a10f76a6ba469903fc | [] | no_license | acaskanette/TimeOfEndingCodeSamples | 68a24b5bd8d98d1d59ad0f99fb89c64059cca6a2 | 411c4145397cadabbd210a39f3b1acf3c8b5d1e1 | refs/heads/master | 2021-01-10T14:46:35.128022 | 2016-04-08T13:20:19 | 2016-04-08T13:20:19 | 53,187,219 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,659 | cpp | TOEEnemyCharacter.cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "The_Time_Of_Ending.h"
#include "TOEEnemyCharacter.h"
void ATOEEnemyCharacter::BeginPlay()
{
Super::BeginPlay();
// Set default max walk speed
maxWalkSpeed = this->GetCharacterMovement()->MaxWalkSpeed;
slowFallOffRate = 10.... |
eb06b4bcb8a889eff656d976531cc0ccbe658e12 | 9cdab28d2e857f1e1f2fc5bcf768ebe9fbb012d9 | /Computos/dlgimportpricelist.h | cb739c1059fb0e2a730e37220e43eca22c09b0db | [] | no_license | diegowald/computos | 48534170f649f99d9cda4b806a721476785d6815 | 5c304838594f8fe34b8ab4ceff1c27154063acf6 | refs/heads/master | 2021-01-19T09:10:05.216391 | 2014-11-29T16:17:48 | 2014-11-29T16:17:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,616 | h | dlgimportpricelist.h | #ifndef DLGIMPORTPRICELIST_H
#define DLGIMPORTPRICELIST_H
#include <QDialog>
#include "csvreader.h"
#include <QAction>
#include <precio.h>
namespace Ui {
class dlgImportPriceList;
}
class dlgImportPriceList : public QDialog
{
Q_OBJECT
public:
explicit dlgImportPriceList(QWidget *parent = 0);
~dlgImp... |
d9377047b74649ce2fa5dbb7b226db171463b2a3 | ba37f5ccb316cbacfe24aa68d3e680947370ffbd | /src/fileInput/gridDynReadDYR.cpp | c3e1e4cbcc4477af7a4b148d3455901858a8917a | [
"BSD-3-Clause"
] | permissive | nightlark/GridDyn | e6fe9ab0251b10d86f269b8951ab1e1dd8b56508 | bfcef303c85c5b66bc26e5d16e4df0a07977e594 | refs/heads/helics_updates | 2021-01-24T06:12:32.115450 | 2019-07-19T18:12:34 | 2019-07-19T18:12:34 | 202,812,824 | 0 | 0 | NOASSERTION | 2019-08-17T00:22:00 | 2019-08-16T23:43:07 | C++ | UTF-8 | C++ | false | false | 6,707 | cpp | gridDynReadDYR.cpp | /*
* LLNS Copyright Start
* Copyright (c) 2014-2018, Lawrence Livermore National Security
* This work was performed under the auspices of the U.S. Department
* of Energy by Lawrence Livermore National Laboratory in part under
* Contract W-7405-Eng-48 and in part under Contract DE-AC52-07NA27344.
* Produced at the ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.