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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2dc1c72ac9a7a7a234a5eef261e3b047c02fdea1 | b257bd5ea374c8fb296dbc14590db56cb7e741d8 | /Extras/DevExpress VCL/Library/RS17/dxBarExtItems.hpp | e95fcb8a6494a2aef6c85a2098ca148b53aa2184 | [] | no_license | kitesoft/Roomer-PMS-1 | 3d362069e3093f2a49570fc1677fe5682de3eabd | c2f4ac76b4974e4a174a08bebdb02536a00791fd | refs/heads/master | 2021-09-14T07:13:32.387737 | 2018-05-04T12:56:58 | 2018-05-04T12:56:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 54,325 | hpp | dxBarExtItems.hpp | // CodeGear C++Builder
// Copyright (c) 1995, 2012 by Embarcadero Technologies, Inc.
// All rights reserved
// (DO NOT EDIT: machine generated header) 'dxBarExtItems.pas' rev: 24.00 (Win32)
#ifndef DxbarextitemsHPP
#define DxbarextitemsHPP
#pragma delphiheader begin
#pragma option push
#pragma option -w- // All... |
fc6c2aaf4531fe13b8308fc8e899fe8a53d5d22a | 96b4b4f7b319565e9d2e202e701eb55552ed222b | /CStateDisconnect.h | d81a0eb81f5f6ac4d96df447ff1c32bf95bb1cfb | [] | no_license | ericyao2013/hdlc_protocol | b880a438985209818164215bf4ee92bd0eac89fe | ea5fc568540854ffe66a9bfa1512470903bb44c7 | refs/heads/master | 2020-12-02T18:13:51.718703 | 2017-07-04T18:18:51 | 2017-07-04T18:18:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 617 | h | CStateDisconnect.h | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/*
* File: CStateDisconnect.h
* Author: serg
*
* Created on April 11, 2017, 11:25 PM
*/
#ifndef DISCONNECTSTATE_H
#define DIS... |
297a5bec4c37ff3805a5887e8a6d31a7842a07d5 | 67fc9e51437e351579fe9d2d349040c25936472a | /wrappers/8.1.1/vtkQuadRotationalExtrusionFilterWrap.h | 16b1f8cdd599fb9358a0bb9b20b99171c1712653 | [] | permissive | axkibe/node-vtk | 51b3207c7a7d3b59a4dd46a51e754984c3302dec | 900ad7b5500f672519da5aa24c99aa5a96466ef3 | refs/heads/master | 2023-03-05T07:45:45.577220 | 2020-03-30T09:31:07 | 2020-03-30T09:31:07 | 48,490,707 | 6 | 0 | BSD-3-Clause | 2022-12-07T20:41:45 | 2015-12-23T12:58:43 | C++ | UTF-8 | C++ | false | false | 3,087 | h | vtkQuadRotationalExtrusionFilterWrap.h | /* this file has been autogenerated by vtkNodeJsWrap */
/* editing this might proof futile */
#ifndef NATIVE_EXTENSION_VTK_VTKQUADROTATIONALEXTRUSIONFILTERWRAP_H
#define NATIVE_EXTENSION_VTK_VTKQUADROTATIONALEXTRUSIONFILTERWRAP_H
#include <nan.h>
#include <vtkSmartPointer.h>
#include <vtkQuadRotationalExtrusionFilte... |
02c742259af015ebb10ed8eb5bed4f56727d8661 | 093d2e689823e5716c46b09511d8adebb2320573 | /CP/Number_Theory/Primality_Test-Codechef.cpp | d8658f66ef169399f057007bac34b98a9d44c668 | [] | no_license | gauravk268/Competitive_Coding | 02813a908e4cd023e4a7039997e750d1fdae6d92 | 783c246dbaf36425a5b7cb76b4e79e2b7ba1a10c | refs/heads/master | 2022-10-15T02:25:41.598723 | 2022-10-03T06:09:17 | 2022-10-03T06:09:17 | 235,630,000 | 20 | 22 | null | 2022-10-03T06:09:18 | 2020-01-22T17:45:32 | C++ | UTF-8 | C++ | false | false | 802 | cpp | Primality_Test-Codechef.cpp | #include<bits/stdc++.h>
using namespace std;
#define ll long long
#define endl "\n"
#define MOD 1000000007
#define deb(x) cout<<#x<<"="<<x<<endl
#define f first
#define s second
#define pb push_back
#define mp make_pair
// #define ENABLE_DEBUG
void solution()
{
ll n;
cin >> n;
if(n==1 || n==... |
72476c996029e76f754c209dc3e259ed7a52c402 | 7c8c63a475429d4d5ea903fe64c09deb3ba35917 | /GameTemplate/Game/BackGround.cpp | c7b45630d310beeb8f1015ade194e88f494d0e86 | [] | no_license | inamotomasayuki/FirstCreateGame | bd3e74177e3a53ae838447f0d48384b8a977d243 | f8eae6d4c20026afa57116de9e2247e56816f8b1 | refs/heads/master | 2023-04-12T11:47:07.874543 | 2021-04-26T07:47:13 | 2021-04-26T07:47:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 559 | cpp | BackGround.cpp | #include "stdafx.h"
#include "BackGround.h"
BackGround::BackGround()
{
}
BackGround::~BackGround()
{
DeleteGO(m_skinModelRender);
DeleteGO(m_sky);
}
bool BackGround::Start()
{
m_skinModelRender = NewGO<prefab::CSkinModelRender>(0);
m_skinModelRender->Init(L"modelData/BackGround.cmo");
m_skinModelRender->SetPo... |
f510c368e250d77a0974e3eb751dae95704fcc0d | b374a8bf48e2c95bd7daf06026bbb2e2a104ee3d | /tests/load_balancing_test.cpp | 4a6c950777e04507e3288dfa7201debf9a64f49f | [
"MIT"
] | permissive | niklas-uhl/katric | 58938fb80ff7de66f5607584520f7d0bc042c757 | 495aa88e729a0a7b6b8ae4249e64318850892f8c | refs/heads/main | 2023-04-18T10:24:32.154620 | 2023-02-23T08:33:41 | 2023-02-23T08:33:41 | 416,813,951 | 8 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,189 | cpp | load_balancing_test.cpp | // Copyright (c) 2020-2023 Tim Niklas Uhl
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in
// the Software without restriction, including without limitation the rights to
// use, copy, modify, merge, pu... |
7885e2f7a557f48a10d11cf87273cffc6366cded | e48bbf5115838fbb7c2474cd3864e686f6191b91 | /MRECAMAN.cpp | d06c82674e421bdcd4a54a538444f0c45c68d024 | [] | no_license | Vtech181/SPOJ_SOLUTIONS | a7af11b97ea8a78266891255fae931d35a78e96a | 3f0e52a2b7985395124a0aa6a5dfa37406bdc6b8 | refs/heads/master | 2020-06-13T17:56:03.946114 | 2018-06-28T17:06:51 | 2018-06-28T17:06:51 | 75,571,657 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 703 | cpp | MRECAMAN.cpp | #include <iostream>
#include <vector>
#include <set>
using namespace std;
vector <long long> x;
set <long long> s;
long long t;
void calculate()
{
long long i=1;
for(i=1;i<=500000;i++)
{
if((x[i-1]-i>0) && s.find(x[i-1]-i)==s.end())
{
s.insert(x[i-1]-i);
x.push_back(x... |
595855937349bf73e1eb61b4142ee97e56a31d44 | 1ce1a1d2f4f5aef2159fcfd55205b4794097c8c8 | /angka5sampai100.cpp | 980b6df5bb2e9ff4e8ee871353fde9954c4008bc | [] | no_license | Hafiz-sukmono/Cplusplus | b97b0a1de037fc7e1974ab09b90b4d227da630ba | 2c36d750bb271ce033c1f944230d764a1b29d8c4 | refs/heads/main | 2023-06-09T18:46:08.177710 | 2021-06-30T11:29:35 | 2021-06-30T11:29:35 | 371,714,852 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 119 | cpp | angka5sampai100.cpp | #include <iostream>
#include <cstdlib>
using namespace std;
int main()
{
int n;
for (n=100 ; n>5 ; n);
}
|
522569ef5da5e53040a07e8ff6f8f565fdc8a6a6 | 4d28185e7a78a569f9a449f39f183cac3024f711 | /source/Plugins/SymbolFile/DWARF/UniqueDWARFASTType.cpp | 8da7e22262664a2b4a017d21c859a68198172662 | [
"NCSA",
"Apache-2.0",
"LLVM-exception"
] | permissive | apple/swift-lldb | 2789bf44f648609a1674ee520ac20b64c95de072 | d74be846ef3e62de946df343e8c234bde93a8912 | refs/heads/stable | 2023-04-06T00:28:15.882479 | 2019-10-25T22:46:59 | 2019-10-25T22:46:59 | 44,838,862 | 780 | 291 | Apache-2.0 | 2020-01-10T19:28:43 | 2015-10-23T21:13:18 | C++ | UTF-8 | C++ | false | false | 2,864 | cpp | UniqueDWARFASTType.cpp | //===-- UniqueDWARFASTType.cpp ----------------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... |
d986c6e23c5e47eeff26a5bb9cb044c4194a1723 | cdd00d4d303e0829bb0c00530a165e1bd20cc7e6 | /gcpCbass/util/common/Test/tSignalTask.cc | 73b56c98b6d23c61e64a7678269031d32d43591e | [] | no_license | chopley/controlCode | fa538a20719989c7d13946d7e273bae153aa91d7 | 0b40d14797bc6db63ca9ea55115be5217d87dc88 | refs/heads/master | 2021-01-19T01:34:05.388485 | 2016-07-20T11:20:29 | 2016-07-20T11:20:29 | 11,604,863 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,418 | cc | tSignalTask.cc | #define __FILEPATH__ "util/common/Test/tSignalTask.cc"
#include <iostream>
#include <cmath>
#include "gcp/program/common/Program.h"
#include "gcp/util/common/AbsTimer.h"
#include "gcp/util/common/Debug.h"
#include "gcp/util/common/SignalTask.h"
#include "gcp/util/common/Profiler.h"
using namespace std;
using namesp... |
23f5a28e2d6b27f4f801cb2b4aadd871951c174a | a52a9039585d9e04a52fa3439e84afde87086450 | /程序代码/LeetCode/array/searchRange.cpp | a4355dab15f0049956ee0e4554cb66f9b82a388c | [] | no_license | AlexZhanghao/Algorithm--notes | 4c676c761274b45c34b061cb8c4630799895cf86 | 9acea2824f29f32c82272cf868b16baec54d9c7f | refs/heads/master | 2020-09-25T23:36:31.291835 | 2020-09-16T11:22:14 | 2020-09-16T11:22:14 | 226,114,339 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,460 | cpp | searchRange.cpp | #include<iostream>
#include<vector>
using namespace std;
class Solution {
public:
vector<int> searchRange(vector<int>& nums, int target) {
vector<int> out = { -1,-1 };
int n = nums.size();
if (n < 1) return out;
int left = 0, right = n - 1, mid = 0;
while (left < right) {
mid = left + (right - left + 1)... |
93c298da27bff989b809e1058049f26cb31d03d3 | d25ed4f74abd95bf8f7e6dba52a7a7c2eca2f0ea | /src/dex/_hashlib/algorithms/algorithm.CRC-8_WCDMA.inl | 872f071b9efea4929998d0e8765913017ce23524 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | GrieferAtWork/deemon-legacy- | 95a83dee1b261a94caa95eba0a17f741958037c9 | 4b79f9c4dec76292f40f072c3a601683cfc4bd58 | refs/heads/master | 2021-07-14T19:26:58.952725 | 2017-10-16T09:33:17 | 2017-10-16T09:33:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,676 | inl | algorithm.CRC-8_WCDMA.inl | {
DEE_UINT8_C(0x00),DEE_UINT8_C(0xd0),DEE_UINT8_C(0x13),DEE_UINT8_C(0xc3),DEE_UINT8_C(0x26),DEE_UINT8_C(0xf6),DEE_UINT8_C(0x35),DEE_UINT8_C(0xe5),
DEE_UINT8_C(0x4c),DEE_UINT8_C(0x9c),DEE_UINT8_C(0x5f),DEE_UINT8_C(0x8f),DEE_UINT8_C(0x6a),DEE_UINT8_C(0xba),DEE_UINT8_C(0x79),DEE_UINT8_C(0xa9),
DEE_UINT8_C(0x98),DEE_UIN... |
f90ffbf6d0eb4e2b47cb0e0407fc281d38036c4f | 4038e5bf5336b51602ea07a18dcafb16bd3a8231 | /cpp/up03/1.cpp | de214b2f939514f72d91588ad501ac702fc8547d | [] | no_license | Sorrow321/prac_4_sem | a49638961427a26fa9f4a7c78cc4170de5b78095 | 72b81bd468ed5f07c0eb51edf076ae4858aacd79 | refs/heads/master | 2020-05-23T09:26:57.558903 | 2019-05-14T22:05:15 | 2019-05-14T22:05:15 | 186,706,669 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 688 | cpp | 1.cpp | #include <iostream>
#include <vector>
using namespace std;
void process(const vector<int> &a, vector<int> &b, int c)
{
if (b.empty()) {
return;
}
auto it_a = a.begin();
auto it_b = b.begin();
while (it_a < a.end() && it_b != b.end()) {
*it_b = *it_a;
bool ba... |
3e54472e966e081d4f46564a29de2bc9b94228fc | a6c7cfa600ba61bc3997c4c40d9a28bfb82fe7d0 | /cpp_prog/class_demo_template.cpp | e1d0bd6fdf6f6007e46a138ab38409d67e10e50a | [] | no_license | Wineet/Cpp_Codes | 861e1c5d480abc5f88c7af59878152afedd21512 | 797f15bada3d41735aa182c017dcabc0e42a30ad | refs/heads/master | 2022-09-03T16:20:15.015401 | 2020-05-26T16:55:18 | 2020-05-26T16:55:18 | 266,327,380 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 711 | cpp | class_demo_template.cpp | /*
* Author: vinit
* Task: --Here--
* Hw : R-pi 3B+
* Platform: Linux
*
*/
#include<iostream>
#include<string>
using namespace std;
template <class T>
/*Function Declaration Here*/
/*Global Variable Here*/
/*Class Here*/
class Rectangle{
private:
T length;
T breadth;
public:
v... |
334300ef1f75be7240c8827971e25ec8075edb52 | 1155ecb052e5935209260485d2b1e71ac817230a | /transition.h | 95f4ba78adbca578a30b1f703d978764022b91c8 | [] | no_license | mcagriardic/FSM_framework | e0b4fd494a8f4d61ffdea290fe0d072cef1bac36 | 22c12e21ce48ffc9bc827c14757bc59f0d19105a | refs/heads/master | 2022-12-31T05:39:45.832433 | 2020-10-25T19:41:07 | 2020-10-25T19:41:07 | 307,167,041 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 327 | h | transition.h | #ifndef TRANSITION_H
#define TRANSITION_H
#include <string>
#include <functional>
using namespace std;
class Transition {
public:
string event_;
string targetState;
function<bool()> guard;
Transition(string _event, string _targetState, function<bool()> _guard);
string getEventName();
bool operator() ();
};
#... |
60b966e1fe9f9c4b5392df4649fad91c74c9a14b | 2bc2c68d8032108bd5a25eeb4b5473ea3ea38890 | /src/HAL/ESP32/Timers.cpp | 1d68d805906c94affcb2a54d69164a59e5da4d83 | [] | no_license | technik-gegg/SMuFF-1.1 | 1db19e2c4cadd7badb5c69d64f1a2b7b279bb0f9 | d03ba9a0da22a79ce6538a762bfe7724c015c623 | refs/heads/SMuFF-3.0 | 2023-07-10T05:25:36.869358 | 2023-07-03T09:13:38 | 2023-07-03T09:13:38 | 187,977,949 | 140 | 41 | null | 2023-04-26T16:44:43 | 2019-05-22T06:38:25 | C++ | UTF-8 | C++ | false | false | 2,873 | cpp | Timers.cpp | /**
* SMuFF Firmware
* Copyright (C) 2019-2022 Technik Gegg
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
... |
ce9c56b55ddeac60c8cbf7fa5c1743f9c0d1d1b5 | 2db74bc32d5f19a8f8e7880ae19be836a6e6caa9 | /src/dicom/dicomserverdetails.h | 3c473b7f8af8f2c3df02c5c956e13be11bb7614d | [] | no_license | Softus/beryllium | d23989832f33cd08a65153171376a75352dcc5df | 5e06b24206e1749f9d07d1e428b264e14f73d557 | refs/heads/master | 2021-10-29T14:27:30.116118 | 2021-10-12T07:05:11 | 2021-10-12T07:05:11 | 71,318,679 | 7 | 2 | null | 2021-10-12T07:05:12 | 2016-10-19T04:24:07 | C++ | UTF-8 | C++ | false | false | 1,465 | h | dicomserverdetails.h | /*
* Copyright (C) 2013-2018 Softus Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; version 2.
*
* This program is distributed in the hope that it will be useful,
* but WIT... |
af20e5b4bbef09359991f6fcaabceef821f368a9 | 2a5aa339330c1515764d151227cb266d4f5154d1 | /src/coordinate.cpp | 37766584c6fdc66f1aa9f0322c53a5fbffa2273b | [] | no_license | syusaku625/mpi_study | 9261fc0427ed65bb8929eec6994b8ef6f119a365 | 0a957ca20877f9faf24ef1fec20f9af5b5ddf28d | refs/heads/master | 2023-03-23T20:21:37.650826 | 2021-03-12T09:14:40 | 2021-03-12T09:14:40 | 346,668,419 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 276 | cpp | coordinate.cpp | #include<iostream>
#include<fstream>
#include<vector>
using namespace std;
const int L = 128;
int main()
{
int V = L * L;
ofstream ofs("coordinate.dat");
for(int i=0; i<L; i++){
for(int j=0; j<L; j++){
ofs << i+j*L << endl;
}
}
} |
113265b86a0d7f111f378f5119953ffa9f960384 | ad49e1003cf939b6b3c54474695e34b9918b7896 | /src/omRecognitionVFH.cpp | 70f1bde4ec27fc70d0e7388ae27e3285224ca395 | [] | no_license | xm-project/xm_object_recognition | cd76e0c338e6ad5b6e5f1bf0f8aeed526255f919 | 3238f37ecfec23d627b75495fe7696224b381c7d | refs/heads/master | 2021-01-10T01:21:32.486344 | 2016-01-29T02:43:00 | 2016-01-29T02:43:00 | 50,632,038 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 10,626 | cpp | omRecognitionVFH.cpp | #include "omRecognitionVFH.h"
#include <pcl/console/print.h>
#include <pcl/io/pcd_io.h>
#include <pcl/features/normal_3d.h>
#include <pcl/features/vfh.h>
#include "omModelVFH.h"
#define THRESH 1000
RecognitionVFH::RecognitionVFH()
{
Object.SetReady(false);
}
//************************************
//prepare
//***... |
7bc7925ae2e96a8679480363ee037559e4ebe627 | ec6b5736ac058d570774cf07288e40db390f82eb | /Arrays/repeatedElement.cpp | 2722476d73afeb78e09d28b90c1fbe2ee980e95f | [] | no_license | Jassii/100daysofDSA | b678a0bb28123ee8aa136a39ec961d340b84252c | dcfeed0f50fd8f7f7f1d6523801bf7b8766254ab | refs/heads/main | 2023-07-11T04:09:17.845826 | 2021-08-19T10:46:39 | 2021-08-19T10:46:39 | 397,978,455 | 1 | 0 | null | 2021-08-19T14:50:44 | 2021-08-19T14:50:43 | null | UTF-8 | C++ | false | false | 435 | cpp | repeatedElement.cpp | /*
Question 4:
Given an array, a[] and an element x, find a number of occurrences of x in a[]
*/
#include <iostream>
using namespace std;
int main() {
int a[5]={2,6,4,2,2};
int ele;
cin >> ele;
int count=0;
//find count of occurrences an array
for(int i=0;... |
2db2fa524a0671a053c85dfbfb837fd927a77672 | b7242e04d6a173f90206e88a15d54ecf1a025b67 | /11432 - Bubu y las edades cluberas.cpp | 62cef5cc2d623be98195b9d987c80e36f4725f44 | [] | no_license | Rodagui/omegaUp-Solutions | 769fc711fe644198721314de79f48386f3a25bcc | 57813b8584bc65023de2424db057bbb2ec4b1398 | refs/heads/master | 2023-04-07T17:01:41.705260 | 2023-03-22T02:20:59 | 2023-03-22T02:20:59 | 178,289,371 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 614 | cpp | 11432 - Bubu y las edades cluberas.cpp | /*Bubu y las edades cluberas - Omega Up*/
#include <bits/stdc++.h>
using namespace std;
int main(){
ios_base::sync_with_stdio(0);
cin.tie();
cout.tie();
set <int> edades;
vector <int> ans;
int edad;
while(cin >> edad){
edades.insert(edad);
}
set<int>::iterator it;
for (it =... |
a545d85d4e96a95a6bcb3433e2ce49c618dedaa0 | 2006593d2a879c55d3461ab8e31389b39bbea831 | /QuestsEditor/Editor/Graph/UnrealEd_QuestGraph.h | 26bf001c0af94d6628dd091bcc95878c7c9790d4 | [] | no_license | LeonovOstap/QuestSystem | a408d034186bb6951ad9ed10eb0d3af45a2907c8 | 47b7eb547ff0ae4ce1623f5ec9553a4f7f1e225b | refs/heads/master | 2023-01-07T02:18:25.641464 | 2020-11-13T12:15:37 | 2020-11-13T12:15:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 825 | h | UnrealEd_QuestGraph.h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "UnrealEd_QuestPinNodes.h"
#include "EdGraph/EdGraph.h"
#include "UnrealEd_QuestGraph.generated.h"
/**
*
*/
UCLASS()
class QUESTSEDITOR_API UnrealEd_BaseQuestGraph : public UEdGraph
{
GEN... |
0a1b95fc737a07825bc858590c93445dca864dd7 | 65160e73df98ef60a29461b6e655f0daa899351a | /libhypergrace/thread/event_linux.cc | 31ebe283568779944fd196a4a3ffc20d190b6dc6 | [] | no_license | mhva/hypergrace | b33b52bdfedbe7813f87d9d284de4f22c3b53620 | 39e01c5c81f2c9057bcb6f48794cf0fbe698c253 | refs/heads/master | 2020-04-17T17:39:38.535375 | 2018-05-17T16:46:29 | 2018-05-17T16:46:29 | 166,792,465 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,393 | cc | event_linux.cc | /*
Copyright (C) 2009 Anton Mihalyov <anton@glyphsense.com>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License (LGPL) as published by the Free Software Foundation;
either version 2 of the License, or (at ... |
bd4c9643c706d46f94ebffc74ec3c693098ad2be | 614f1377c8f5b7a14170ff2746c83d9418ba3b25 | /examples/SPITest/esp2/esp2.ino | c3138558aec0c37fd3d5dd2282059d0df0141fd2 | [] | no_license | f-w-robots/RBT | 8c18fe59b267985c02c6aaba823ba08e4b903b69 | 0ed0a822458d6b007b3c4d005fad01f557f59308 | refs/heads/master | 2021-01-19T02:02:06.112276 | 2017-02-13T10:01:13 | 2017-02-13T10:01:13 | 52,425,188 | 0 | 0 | null | 2016-05-03T16:29:47 | 2016-02-24T08:06:29 | KiCad | UTF-8 | C++ | false | false | 1,545 | ino | esp2.ino | #include <SPI.h>
#define SS1 4
#define SS2 5
#include <Arduino.h>
#include <ESP8266WiFi.h>
#include <ESP8266WiFiMulti.h>
#include <WebSocketsClient.h>
ESP8266WiFiMulti WiFiMulti;
WebSocketsClient webSocket;
void webSocketEvent(WStype_t type, uint8_t * payload, size_t lenght) {
switch (type) {
case WStype_DISCON... |
9e7b42868f7dcfcd5bf20036d9aac41993a7d0c3 | 2c69d9e7a4812c2d33354fae0a3b619acc8175f0 | /src/listgraph.cpp | 420468c34cab36bf58a7c35f91d6bf398cfaf299 | [] | no_license | Oktan89/31_2 | a3210e09f27792c5be3ed659736b5bd03c629484 | 2b18e3d671e2bd73321c34b5a54018c72cdfc1c9 | refs/heads/master | 2023-08-29T00:18:41.020273 | 2021-10-21T19:53:32 | 2021-10-21T19:53:32 | 416,840,771 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,307 | cpp | listgraph.cpp | #include <iostream>
#include <map>
#include <vector>
#include <climits>
#include "listgraph.h"
#include "matrixgraph.h"
//
// ListGraph implementation
//
ListGraph::ListGraph()
{
std::cout << "constructor ListGraph\n";
// _graph = new std::map<std::size_t, std::vector<std::size_t>>;
}
ListGraph::ListGraph(IGr... |
84d37c57d5d9d29db98a303e48754834e3745817 | b406954386cd3cf42eeb9203dccd4c42134bac0d | /SourceGame/BlackNight.cpp | 15c3e20d030e5169e81e8f2b60ee2dc834d41367 | [] | no_license | ThuTinh/game | 0ac03dd39ed5ac1d584c7de26a3508836af2859c | 8b2f34a294ccc42e54f48d76754c11dbc6881d74 | refs/heads/master | 2021-03-21T00:28:57.477367 | 2020-04-19T16:36:06 | 2020-04-19T16:36:06 | 247,246,724 | 0 | 0 | null | 2020-04-19T16:36:07 | 2020-03-14T09:22:50 | C++ | UTF-8 | C++ | false | false | 726 | cpp | BlackNight.cpp | #include"BlackNight.h"
#include"Weapon.h"
#include"Player.h"
#include"Camera.h"
#include "GameConfiguration.h"
void BlackNight::onCollision(MovableRect* other, float collisionTime, int nx, int ny)
{
if (other->getCollisionType() == COLLISION_TYPE_GROUND) {
if (this->getX() + 5 > other->getRight() || nx != 0) {
s... |
bed119f80375246d254497dc04fd1ed845ef6227 | 32203288a934871a5d9b83875bd41bbed0bab301 | /cpp/01cpp/main.cpp | 6c906e15d7815643d232938bf492ecd1dd7d71ad | [] | no_license | wingo1990/langs | 1fa2d2722a4129e0d66cd65ecc14b5dd87edc952 | a3d08606060f1ea0732e05979d093b72aa943612 | refs/heads/master | 2021-07-03T03:56:33.348815 | 2017-09-22T15:27:32 | 2017-09-22T15:27:32 | 103,962,769 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,676 | cpp | main.cpp | #include "stdio.h"
#include "stdlib.h"
#include "string.h"
#define MAX_INPUT 100
#define MAX_COLS 20
int read_clomns( int columns[], int max )
{
int num = 0;
int ch;
while ( num < max && scanf("%d ",&columns[num]) == 1
&& columns[num] >= 0 )
num++;
puts("over\n");
if ( num % 2 != 0 )
... |
21c6b3f3f27bc796b235ee9c18c96661faa88f11 | 469c34f2a031d0add6de15cfadd4d6b351b8fe99 | /src/source/spin/SpinCluster/SpinCluster.cpp | 66e4f0289f8600d23fba8ef61d6332816045dd95 | [] | no_license | HoldenGao/oops | d0bc3e280678be2e4d78952d187c9e46130de78f | 6710eebdb28b74b982475074ea67157bfbb7a9fb | refs/heads/master | 2021-01-20T16:47:57.410682 | 2016-04-08T08:22:19 | 2016-04-08T08:22:19 | 56,654,023 | 1 | 0 | null | 2016-04-20T03:59:55 | 2016-04-20T03:59:53 | null | UTF-8 | C++ | false | false | 6,804 | cpp | SpinCluster.cpp | #include "include/spin/SpinCollection.h"
#include "include/spin/SpinCluster.h"
//#include "include/spin/SpinClusterAlgorithm.h"
////////////////////////////////////////////////////////////////////
//{{{ cSpinCluster
cSpinCluster::cSpinCluster()
{ //LOG(INFO) << "Defaul constructor: cSpinCluster.";
}
cSpinCluster::cS... |
57cb2e53b8e2c5aad3ca9b36b266bd626ad131ab | d6c90613feb72d586727a9389fa94f62b5c93074 | /Arduino/Transmitter/serial.cpp | 191c40ba8bdd471195591fda821ef0fb0bcdfcb2 | [] | no_license | camillebeland/design3 | f70f633c8871af4063281e125407405a40868742 | cc5b04b8701ca0d0f8cf805483d5850c71475f52 | refs/heads/master | 2021-04-30T22:58:25.996253 | 2016-04-18T02:14:14 | 2016-04-18T02:14:14 | 49,664,782 | 0 | 0 | null | 2017-02-20T18:22:01 | 2016-01-14T17:56:57 | Python | UTF-8 | C++ | false | false | 284 | cpp | serial.cpp | #include "Arduino.h"
#include "serial.h"
void serial_init(){
Serial1.begin(BAUD_RATE);
}
int serial_send_manchester(int * ptr){
int * local = ptr;
char chars[4] = {0,0,0,0};
for (int i = 0; i<32;i++){
chars[i/8] |= *local << (i%8);
local++;
}
Serial1.write(chars, 4);
}
|
5a59ef9f6d103be70d3ba278d8569b83a8dfc05e | 4f8f68c953ece61afb716cbbdfb59d384cc2594b | /DSVis/viewModel/sinks/arraymodelsink.cpp | 9ef00467d5110a22430d40eba4dae13391f5ca34 | [
"MIT"
] | permissive | Dreamerryao/CPlusPlus-Project | 1ce549db666e252501ae68409b075f7b8d676d28 | 5861a277f13fb23c6a6c0548095014c25ae32b62 | refs/heads/master | 2022-11-24T02:45:07.776802 | 2020-07-24T16:58:56 | 2020-07-24T16:58:56 | 276,566,727 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 238 | cpp | arraymodelsink.cpp | #include "arraymodelsink.h"
#include "../arrayviewmodel.h"
ArrayModelSink::ArrayModelSink(ArrayViewModel *ptr)
{
_AVM = ptr;
}
void ArrayModelSink::OnPropertyChanged(const std::string &str){
_AVM ->Fire_OnPropertyChanged(str);
}
|
f69605cec83e30de5801e7c50293405fadcd7847 | a92ba9f8efdff7751e5e8a1368aec94049d646f6 | /codeforces/1409/A.cpp | d671d10c70261218c66709084d72f2acfa192c81 | [] | no_license | bleh05/compprog | 1e880897a964f572d9cda975cad63850ef7a6125 | 3996fea5689e36b0a163f55224d39b8029ce7558 | refs/heads/master | 2023-05-31T20:27:33.738419 | 2021-01-28T20:43:00 | 2021-07-15T04:55:51 | 323,463,058 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 178 | cpp | A.cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
int t; cin >> t;
while(t--> 0) {
int n; cin >> n;
int m; cin >> m;
cout << (abs(m - n) + 9) / 10 << endl;
}
} |
5d7852a856dee029804a85657f9b4164f742c2ab | 41905c718ca7367461db5213421c3904eb62d3e4 | /Classes/pages/MainPage.cpp | aa85db5dd8408875b8be36d3e6bda1a14e8a1b91 | [
"MIT"
] | permissive | elloop/cocos2d-x-cpp-demos-2.x | 5c7ab0b5ed93a0c4eacd283b6658bf30ccdfeda6 | 607dd445ddac752a06823cc7addf8979b59f351b | refs/heads/master | 2021-01-10T12:34:15.815289 | 2016-04-06T12:37:56 | 2016-04-06T12:37:56 | 47,230,388 | 3 | 1 | null | null | null | null | GB18030 | C++ | false | false | 3,307 | cpp | MainPage.cpp | #include "pages/MainPage.h"
#include "GUI/CCScrollView/CCScrollView.h"
#include "data_models/TestDataCenter.h"
#include "message/Message.h"
#include "message/MessageCenter.h"
USING_NS_CC;
USING_NS_CC_EXT;
MainPage::MainPage()
{
}
MainPage::~MainPage()
{
}
void MainPage::loadUI()
{
float height(0);
// 单元格宽度... |
550339921c13d39d2e37d6799540de7a3a07110c | a5c7dcc12959e4b32cf6a022ab23d9b02ac340cf | /Filter/iir/RBJ.h | 8f304da6cf62e61e5c972b471b6c2de4994f8c23 | [] | no_license | ntrexResearch/autonomous | 90a1a8c4c2c8ab2791416fcabbd3bd093890398b | 0f9ba467500239fd9cd05052e8a28f9f14819101 | refs/heads/master | 2020-04-23T02:15:10.545280 | 2019-04-11T06:56:58 | 2019-04-11T06:56:58 | 170,839,765 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,447 | h | RBJ.h | /*******************************************************************************
"A Collection of Useful C++ Classes for Digital Signal Processing"
By Vinnie Falco adapted for Linux by Bernd Porr
Official project location:
https://github.com/vinniefalco/DSPFilters
See Documentation.cpp for contact informati... |
429c63560f28afe78c4efff9c60458e42c254e65 | b752d43c11828ed04103ef9f71fa7dd73c32d125 | /AirgeadBankingApp/AirgeadBankingApp/NoAdditionalDeposit.cpp | 2959bd78e5881f016ef067c1b6c15f3a012b7bcc | [] | no_license | erinmwalter/CS210Portfolio | 466cc05e86198f15856eb1e834c00e8777b53947 | e1d5f833aca1a0443ff798c609e5d81221f18255 | refs/heads/main | 2023-08-22T11:23:07.097231 | 2021-10-11T15:30:00 | 2021-10-11T15:30:00 | 415,938,365 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,072 | cpp | NoAdditionalDeposit.cpp | #include "NoAdditionalDeposit.h"
#include <iostream>
#include <iomanip>
#include <math.h>
using namespace std;
//initializes all values for the object based on user input
void NoAdditionalDeposit::SetValues(double t_initialInvestment, double t_annualInterest, int t_numYears) {
m_startBalance = t_initialInvestment;
... |
6c3db27d3757654498daaddbcf832e773ce640bb | 2a8f20feec63218331bde03d2505b76e800c06c2 | /my_config.h | d7ed413e970da258218f735b0198a367d6d65b75 | [] | no_license | verachecheneva/game_cow | 4bb8c7b815cae65618595283c28e4ccf6179a9ea | ddce5af2a5df1ad41ed6a3378a425b4552af2a42 | refs/heads/main | 2023-05-29T13:26:24.045072 | 2021-06-18T09:20:59 | 2021-06-18T09:20:59 | 372,248,299 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,103 | h | my_config.h | #ifndef MY_CONFIG_H
#define MY_CONFIG_H
inline const std::string BACKGROUND_MUSIC_PATH = "res/Cypis-Polish_cow_dancing.wav"; ///< относительный путь до музыки
inline const std::string BACKGROUND_IMG_PATH_0 = "res/background_0.jpg"; ///< относительный путь до картинки фона 0
inline const std::string BACKGROUND_IMG_PATH... |
1d5d8a979e3a8cd2bad937b7c7610a8b4b6c5f66 | 8cb73b9867a5edb8a57e28126c09daea922e15ac | /help.hpp | b253245262e346390e6009bdaa60e642435306c5 | [] | no_license | MCJack123/LinuxCC | 2e87378d0b475ee7bff5fdb4ed64651ebef922b4 | 4a74c11fa462d80d4a473da2968fda83464fac53 | refs/heads/master | 2022-07-16T09:13:42.792594 | 2018-12-24T04:03:41 | 2018-12-24T04:03:41 | 162,668,664 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 349 | hpp | help.hpp | #ifndef HELPAPI_HPP
#define HELPAPI_HPP
#include <string>
#include <vector>
using std::string;
class HelpAPI {
string manPath;
public:
string path();
void setPath(string path);
string lookup(string topic);
std::vector<string> topics();
std::vector<string> completeTopic(string topicPrefix);
};
... |
fc0573d0cf0b713fe39cca978cf9e5cf09e321c4 | e075eae7c397b482b95eae739de4256c8d6c9a1a | /purple/8.effect/8.7.exercises/3.Bits_Equalizer(UVA_12545).cpp | 7b619c88e855155cd709267b0d6faaa8e3834885 | [] | no_license | NessOffice/Sync_Code | 7a46976d09f74672bd7a31c7fa08ea46fb9f2b4a | 0d208ea86dfbf7f2144a82dc03991cd2987260c1 | refs/heads/master | 2020-03-29T11:29:47.091460 | 2019-09-30T08:23:50 | 2019-09-30T08:23:50 | 149,855,466 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 619 | cpp | 3.Bits_Equalizer(UVA_12545).cpp | #include <cstdio>
const int maxn = 100 + 10;
int main()
{
int T, ans, diff[4];
char s[2][maxn];
scanf("%d", &T);
for(int kase = 1;kase <= T;kase++)
{
scanf("%s%s", s[0], s[1]);
ans = 0;
for(int i = 0;i < 4;i++) diff[i] = 0;//diff: the key point of this problem
for(int i = 0;s[0][i] != '\0';i++)
{
if(s... |
cfa870634a47b8574156775ca9cc649d7cf50c9f | ab17aba01031181cfb6ba75e5dfe0b6037972d52 | /Woman/woman.cpp | 301f457291b288ad15975d027a55ec755410b834 | [] | no_license | VerEeckeDaan/OOP3 | 8860ac600f85ca191fe51037bbb37e54bf19f24b | 55287a09ae70c41b64f387c16f55e37108c2f1d3 | refs/heads/master | 2021-05-04T12:08:08.437780 | 2018-03-21T13:52:05 | 2018-03-21T13:52:05 | 120,287,314 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 425 | cpp | woman.cpp | #include "woman.h"
Woman::Woman(int age, std::string name)
{
setName(name);
setAge(age);
}
std::string Woman::to_string(){
return name + " is "
+ std::to_string(age)
+ " years old.";
}
int Woman::getAge(){
return age;
}
std::string Woman::getName(){
return name;
}
void Woman::se... |
63351f014ad8a4b6034ef4c30be0ce0d52eab799 | 6cd93777b68dcd8735a58d93748e6837392bb3f6 | /libsdd/tests/tools/test_nodes.cc | ec3f48ba82ea42815415c15c81f11739ac41fae7 | [
"MIT",
"BSD-2-Clause"
] | permissive | kyouko-taiga/SwiftSDD | 8df77a80b9da6ff5cde99fb2eda7449c03c569bf | 9312160e0fac5fef6e605c9e74c543ded9708e54 | refs/heads/master | 2021-01-09T06:11:46.303362 | 2017-02-08T18:18:31 | 2017-02-08T18:18:31 | 80,961,255 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,327 | cc | test_nodes.cc | #include "gtest/gtest.h"
#include "sdd/dd/context.hh"
#include "sdd/tools/nodes.hh"
#include "sdd/manager.hh"
#include "tests/configuration.hh"
/*------------------------------------------------------------------------------------------------*/
template <typename C>
struct nodes_test
: public testing::Test
{
us... |
0f076a2d19daf00b3b915f99581688c9471948b2 | fe05990234154104b89811072dc843f5d5ebe0cc | /include/skneuro/denoising/very_non_local_mean.hxx | 091d3b67e31f6ac23936210b9f517231dc87ee4d | [] | no_license | timoMa/skneuro | 995fece00261d5aa0ad3a7277282eed0100b77f6 | a576ba6702df82f12bcd990a7dd61a933d277b71 | refs/heads/master | 2020-04-15T06:38:10.644606 | 2015-12-10T20:35:56 | 2015-12-10T20:35:56 | 38,613,987 | 0 | 0 | null | 2015-07-06T11:39:51 | 2015-07-06T11:12:10 | C++ | UTF-8 | C++ | false | false | 2,698 | hxx | very_non_local_mean.hxx |
/*
- PRESELECTION INVARIANT TO NOISE :
- compute patch distance with single pixel multiband feature:
BEST IDEA:
pre-selection which is pixel wise:
- TV smoothed mean centeral pixel distance
- an Step Edge orientation (and magni... |
c6e012561420ca0be38d1b4c46c56d080d0c21a0 | d8cc25f7d6750f6c714e4ef9aea0cd71c08d2849 | /CodechefChalanges/CodeChefJanuaryLONGCHALANGE/FairElectio.cpp | 64b7c3a5034834e0a38657a1bae192a59f9595d3 | [] | no_license | yrenelapin/DSA450_Question_Practice | eeb3f77322198c21750765450d604cbccbac8741 | 38e5eed3ca5d582d2256d402d8877cd80ff0be13 | refs/heads/main | 2023-03-29T04:44:34.504570 | 2021-04-02T13:50:26 | 2021-04-02T13:50:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,852 | cpp | FairElectio.cpp | #include<iostream>
#include<algorithm>
using namespace std;
int sumArray(int arr[], int size){
int sum = 0;
for(int i = 0; i < size; i++){
sum += arr[i];
}
return sum;
}
int main (){
int test_case = 0;
cin>> test_case;
while(test_case){
int n,m;
cin>... |
8812732493bd1a1f0b0f5d6f7789a553698411ab | 62887c946b6259a38d34eed02c743e54328c9a7b | /lib/Target/CppBackend/CPPBackend.cpp | fbb34ed50da1d494a778dff159e5a4384762f878 | [
"NCSA"
] | permissive | christinaa/LLVM-VideoCore4 | 7b5e75579c913ba32c6036ad3e2d485c79c05896 | 7773c3c9e5d22b785d4b96ed0acea37c8aa9c183 | refs/heads/master | 2021-01-01T05:16:15.234008 | 2016-05-03T06:12:35 | 2016-05-03T06:12:35 | 57,804,356 | 163 | 11 | null | null | null | null | UTF-8 | C++ | false | false | 77,317 | cpp | CPPBackend.cpp | //===-- CPPBackend.cpp - Library for converting LLVM code to C++ code -----===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... |
2e1010b373550641ba254af5c69d93d7cbaf5549 | 203686bce132bef09c81b2dd1b2d901b98939ec6 | /CGR/CGR/src/EventID.h | ac49b4c6614e85c07e1b20f4c46b4d156a04e069 | [] | no_license | shineSparkz/CGR-ComponentBased3dGraphicsRenderer | 0646b04629aa1ea4323738619076d3ef792fd822 | ee28d85cf4763d53c1ecffbf83c5f37ec0c14e76 | refs/heads/master | 2021-01-21T13:03:03.588096 | 2017-05-01T20:39:16 | 2017-05-01T20:39:16 | 81,941,579 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 299 | h | EventID.h | #ifndef __EVENT_ID_H__
#define __EVENT_ID_H__
#define EVENT_KEY 0
#define EVENT_WINDOW_FOCUS 1
#define EVENT_SHUTDOWN 2
#define EVENT_WINDOW_SIZE_CHANGE 3
#define EVENT_SCENE_CHANGE 4
#define NUM_ENGINE_EVENTS 5
namespace events
{
typedef void(*Delegate)(void* data);
}
#endif |
88870a004ce9895503e60af7e8cd17f8180f0216 | d44fe46073bcee3b42d84f43170614dc2249687d | /GameJam_v3.2/GameEngineBase/externals/Havok/includes/Source/Common/Compat/Patches/2011_3/hkaPatches_2011_3.cxx | 0de64279cc03b288724cafe5fc3632d054646e91 | [
"MIT"
] | permissive | aditgoyal19/Tropical-Go-Kart-Bananas | 1b162a3c994f90d3e5f432bd68251411a369812c | ed3c0489402f8a559c77b56545bd8ebc79c4c563 | refs/heads/master | 2021-01-11T15:21:24.709156 | 2017-07-06T21:07:36 | 2017-07-06T21:07:36 | 80,340,694 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,730 | cxx | hkaPatches_2011_3.cxx | /*
*
* Confidential Information of Telekinesys Research Limited (t/a Havok). Not for disclosure or distribution without Havok's
* prior written consent. This software contains code, techniques and know-how which is confidential and proprietary to Havok.
* Product and Trade Secret source code contains trade secrets ... |
52b662765a44dcd72a1c6040c11ce1270dd27f65 | f263a08b931da31eda0288392775f2c3f58743d0 | /OpenMahjongClientDbg/WavePlayMethod.cpp | e00c5918791b6120ee95a0ea4e75e11bd613877c | [] | no_license | kackyt/OpenMahjongClient | 94e5006fda499d86cd27e00b09f0d093b661dcff | 3121ce99aa1e55bab7bd7a9ebf6ba54c6a67f45c | refs/heads/master | 2022-09-09T09:02:24.494182 | 2022-08-20T09:24:40 | 2022-08-20T09:24:40 | 131,583,495 | 0 | 0 | null | 2022-08-20T09:24:41 | 2018-04-30T10:37:00 | C++ | SHIFT_JIS | C++ | false | false | 2,302 | cpp | WavePlayMethod.cpp | /****************************************************************************************
* Copyright (c) 2010, Takaya Kakizaki(kacky)
* All rights reserved.
ソースコード形式かバイナリ形式か、変更するかしないかを問わず、以下の条件を満たす場合に限り、再頒布および使用が許可されます。
・ソースコードを再頒布する場合、上記の著作権表示、本条件一覧、および下記免責条項を含めること。
・バイナリ形式で再頒布する場合、頒布物に付属のドキュメント等... |
cff1f73b7f5ef48c65bbc1e1040f3c9b334cbb7c | c7ebdef681447452b8bd31559860db82995b2826 | /pptp/pptp_packet.cp | 69d9c9e32a4b9aa58bdce40c16a553060e417007 | [
"LicenseRef-scancode-public-domain"
] | permissive | HaikuArchives/BePPP | b934bb268dfebe68e3d9482995f9e179be6bc2e8 | 4a34495b8c71743f5d4651f10f279e929a6918e2 | refs/heads/master | 2016-09-06T04:57:47.127681 | 2014-09-28T16:40:13 | 2014-09-28T16:40:13 | 24,564,281 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,071 | cp | pptp_packet.cp | #include "pptp_packet.h"
#include <ByteOrder.h>
GREPacket::GREPacket(uint32 dest,uint32 src,uint16 protocol,uint16 session,uint32 seq,bool has_seq,uint32 ack,bool has_ack)
: IpPacket(dest,src,47,60 /* a minute is a good ttl */,0 /*normal*/,0)
{
uint8 b = 0;
uint16 s = 0;
uint32 l = 0;
{
unsigned new_size = Siz... |
411a1aaaca0135419b0b60bb3a6459180f519cea | 6b4efc6c6b8d9481dcc1f983ee3fb4598ffbebcc | /Part2/Assignment6/E2/C2A6E2_SortValues.cpp | f161dd1ff8b65baa11ecb4b16a132afad2e7b460 | [] | no_license | emmanuelacastillo/C-C-Assignments | 3ef71617da711b783ae242811974af02b621c892 | cfbd9919155d16de9bb2a8bd1fbfb0d85cd99b02 | refs/heads/master | 2021-07-10T00:09:19.541504 | 2017-10-09T14:30:43 | 2017-10-09T14:30:43 | 106,292,106 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,502 | cpp | C2A6E2_SortValues.cpp | /*
* Emmanuel A. Castillo, U06580067
* emmanuec@gmail.com
* C/C++ Programming II : Dynamic Memory and File I/O Concepts, 112912, Raymond L. Mitchell
* 02/25/2016
* C2A6E2_SortValues.cpp
* Win7
* Visual C++ 11.0
*
* Description:
* The below sorts a pointer to a float in descending order
* based on the expecte... |
b39b074fc67e2182becbfe918e0e6eda34548c49 | 041bdef1823a175292a8668b4c50474ff7d21fa9 | /modules/LinearBoltzmannSolvers/Executors/pi_keigen.h | 882b0be3e44b465d5c160a5008e6859726f1cfbd | [
"MIT"
] | permissive | chi-tech/chi-tech | d5ccdec9d1292d3ce5968ae8e0116d704d420098 | 234ab138682c9cc93ad3c5bd28977fbcdcba862d | refs/heads/development | 2023-09-01T04:11:49.185710 | 2023-08-29T16:22:08 | 2023-08-29T16:22:08 | 204,051,209 | 28 | 52 | MIT | 2023-09-06T19:31:47 | 2019-08-23T18:33:46 | C++ | UTF-8 | C++ | false | false | 1,219 | h | pi_keigen.h | #ifndef CHITECH_PI_KEIGEN_H
#define CHITECH_PI_KEIGEN_H
#include "LinearBoltzmannSolvers/A_LBSSolver/lbs_solver.h"
#include "A_LBSSolver/IterativeMethods/wgs_context.h"
namespace lbs
{
class XXPowerIterationKEigen : public chi_physics::Solver
{
protected:
LBSSolver& lbs_solver_;
size_t max_iters_;
double k_tol... |
b178ee369ce739506495eefceb2bff69d45c2058 | 51e4ae3bc7e715c52be1021e734f9dd8ce62eace | /src/bpy/3.6/scripts/addons/cycles/source/util/math_int8.h | d150b0b74ece8f75ec00886b5ed0af3526d30891 | [
"MIT"
] | permissive | RnoB/3DVisualSwarm | 831f5249337b3bbc04fec6a2a8b19144b096ebb4 | 4d5c304878c1e0018d97c1b07bcaa3981632265a | refs/heads/main | 2023-08-24T12:13:58.300397 | 2023-08-04T14:47:27 | 2023-08-04T14:47:27 | 355,860,453 | 0 | 1 | MIT | 2021-04-21T01:55:34 | 2021-04-08T10:24:35 | Python | UTF-8 | C++ | false | false | 9,292 | h | math_int8.h | /* SPDX-License-Identifier: Apache-2.0
* Copyright 2011-2013 Intel Corporation
* Copyright 2011-2022 Blender Foundation */
#ifndef __UTIL_MATH_INT8_H__
#define __UTIL_MATH_INT8_H__
#ifndef __UTIL_MATH_H__
# error "Do not include this file directly, include util/types.h instead."
#endif
CCL_NAMESPACE_BEGIN
#ifnde... |
a6aed57123cfda08d5250a8dcad50100fc7f7404 | afb7006e47e70c1deb2ddb205f06eaf67de3df72 | /third_party/libwebrtc/sdk/objc/components/audio/RTCAudioSession.h | 3f993b2d50deab594533d431b9417eadf8d9d11d | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | marco-c/gecko-dev-wordified | a66383f85db33911b6312dd094c36f88c55d2e2c | 3509ec45ecc9e536d04a3f6a43a82ec09c08dff6 | refs/heads/master | 2023-08-10T16:37:56.660204 | 2023-08-01T00:39:54 | 2023-08-01T00:39:54 | 211,297,590 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,069 | h | RTCAudioSession.h | /
*
*
Copyright
2016
The
WebRTC
Project
Authors
.
All
rights
reserved
.
*
*
Use
of
this
source
code
is
governed
by
a
BSD
-
style
license
*
that
can
be
found
in
the
LICENSE
file
in
the
root
of
the
source
*
tree
.
An
additional
intellectual
property
rights
grant
can
be
found
*
in
the
file
PATENTS
.
All
contributing
proje... |
c9091a9e36d1206f3fb836ecae76f3112d9b4335 | 6289647a5adef83a0c5a9a445aa435e4469d1a58 | /CarDetection/src/ImageAnalysis/ImageClassifierGradientBoostingTrees.cpp | 7b304645f9b377278e5220d9a06071cc2af25169 | [
"MIT"
] | permissive | wycjl/Car-Detection | 705f78c3ce6906b076f7d2ed3b5c5f688e903674 | 2c2c8e2172fb606f7e2b974a7e9f46de0e4199a2 | refs/heads/master | 2020-04-16T23:30:30.388180 | 2017-12-19T19:15:58 | 2017-12-19T19:15:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,177 | cpp | ImageClassifierGradientBoostingTrees.cpp | #include "ImageClassifierGradientBoostingTrees.h"
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <ImageClassifierBayes> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
ImageClassifierGradientBoostingTrees::ImageClassifierGradientBoosting... |
4479411be1b96454a0c42f98e21276f737e795df | dd76545fc79a72b144cb4eff270d76c13bc1b212 | /POJ/1860.cpp | 24957cebcad8932a4f1a07bc64406e989d5697ae | [] | no_license | Sixzeroo/ICPC | 9bc1555e07b5676201b6f804ec08978f5df531e3 | d9e095eea9152e8a0d30078dfbd0502046050b9c | refs/heads/master | 2021-09-10T14:45:23.714208 | 2018-03-28T01:30:37 | 2018-03-28T01:30:37 | 68,972,124 | 4 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,420 | cpp | 1860.cpp | #include <iostream>
#include<cstdio>
#include<cstring>
#include<queue>
#include<cstring>
#include<algorithm>
#include<cmath>
#include<utility>
#include<map>
#include<vector>
#include<iterator>
#include<set>
#include<sstream>
using namespace std;
#define SIZE_V 105
typedef struct ee
{
int to,fo;
double bi,sh;... |
ef874f0aadb22071b2e9b2531ed9c4f2b06c1c72 | 79f9aead4431895063d1537083a43c2f971a4b1a | /UCBAlgorithm/UCB_Server_demo/UCB1.cpp | 3672c4631980db3e745e643daa06ce13215d8f67 | [] | no_license | mocorr/Machine_Learning | fd760a3121be38146dca045ff5cf77aeedfa91ea | 393751cc0e780f754faa7346c54da29c41a54bd6 | refs/heads/master | 2020-11-26T06:17:11.993842 | 2016-01-14T11:16:15 | 2016-01-14T11:16:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,273 | cpp | UCB1.cpp | /*************************************************************************
> File Name: UCB1.cpp
> Author: YinWen
> Mail: YinWenatBIT@163.com
> Created Time: Tue 01 Sep 2015 08:32:35 PM CST
************************************************************************/
#include "UCB1.h"
#include <cmath>
#i... |
5eb937d64d1fdf916fd3c69f5198845176d3d2e2 | 568ae065b75be5f07e7a500f45a22e4d205b49fc | /Source/LD32APG/LD32APGWheelRear.h | 0b6b131c1c70173c4bfd7ab806d4d8f3583b7296 | [] | no_license | Quadtree/LD32APG | acab24677d3b1472654e58770b662d29e3bd161e | d28ff1d99c40e03ee0909bc1782952c1a806a600 | refs/heads/master | 2020-05-31T14:41:41.516165 | 2015-08-24T04:48:37 | 2015-08-24T04:48:37 | 34,176,276 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 322 | h | LD32APGWheelRear.h | // Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Vehicles/VehicleWheel.h"
#include "LD32APGWheelRear.generated.h"
UCLASS()
class ULD32APGWheelRear : public UVehicleWheel
{
GENERATED_BODY()
public:
ULD32APGWheelRear(const FObjectInitializer& ObjectInitializer);
};
... |
7f5e9c36977fd011fc769ad73de6134d8d82ae3a | b1193f480c8128acca0b7d1a93b9ae2b63b19d42 | /src/services/SoapService.cpp | e4bada83cf9545072c496005c26bbf4e9ea38c06 | [
"BSD-3-Clause"
] | permissive | Draegerwerk/microSDC | 74a77f13acfc48dbb0a32fc16434a3f01c8ecdbe | ea3da666b18a3a3b273add398fd49cc78d6fa94c | refs/heads/master | 2021-09-07T22:44:22.292227 | 2021-03-15T07:05:36 | 2021-03-15T07:05:36 | 236,490,419 | 7 | 3 | BSD-3-Clause | 2020-04-17T12:48:57 | 2020-01-27T12:54:38 | C++ | UTF-8 | C++ | false | false | 541 | cpp | SoapService.cpp | #include "SoapService.hpp"
#include "MicroSDC.hpp"
#include "datamodel/MessageModel.hpp"
void SoapService::fill_response_message_from_request_message(MESSAGEMODEL::Envelope& envelope,
const MESSAGEMODEL::Envelope& request)
{
using MessageIDType = MESSAGEMO... |
538990bfbc14776424fc6d9e82c64562e8bd7bcd | cc0d5f92156b292834d92b7ee06d7590a1e656a7 | /src/weights_IO.h | 2d769ec5231ce4963c2658296eec0a884704919d | [
"MIT"
] | permissive | guker/conv-net-version-3 | b6b474ed0ad289d1c1093bd93e281845bab21292 | ec87a48725469fde71ee23dbf253c958b9089062 | refs/heads/master | 2021-01-19T19:14:45.100928 | 2015-07-13T07:41:03 | 2015-07-13T07:41:03 | 39,757,408 | 1 | 0 | null | 2015-07-27T05:52:46 | 2015-07-27T05:52:46 | null | UTF-8 | C++ | false | false | 252 | h | weights_IO.h | #pragma once
#include "general_settings.h"
#include <sys/types.h>
#include <sys/stat.h>
using namespace std;
using namespace cv;
void save2XML(string, string, std::vector<network_layer*>&);
// void readFromXML(string, std::vector<network_layer*>&);
|
95c8dc5ef4ad725bdd1e167fd71dca84156f2166 | 449eb5056ed5b33a32bb6c8918dc7546397f4931 | /src/9/generator.cpp | feab6e12b4c4f209815a2a5244b755816c79f971 | [] | no_license | nycshisan/MIT6_837_Assignments | ef086ba34e07f1a59d6632491be5c9b7c7a3864c | 0488cfffb59b97186c86f3aa2a9117eb4811f570 | refs/heads/master | 2020-03-25T04:51:55.728845 | 2018-08-06T06:23:45 | 2018-08-06T06:23:45 | 143,417,483 | 9 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,504 | cpp | generator.cpp | //
// Created by Nycshisan on 2018/8/5.
//
#include "generator.h"
#include <OpenGL/gl.h>
int Generator::numNewParticles(float current_time, float dt) const {
return int(ceilf(dt * _desiredNumParticles / _lifespan));
}
Particle *HoseGenerator::Generate(float current_time, int i) {
auto p = _position + _posit... |
da4e1e573a7f5ae72817e273a43b8b88f1447761 | 263087ebd7e881b12c48009da3d74c2f2a290bc8 | /platform.h | 0a5e3eda5ac239683f10e3d9c0cb9a5f81e9fdc0 | [] | no_license | chocolatetoast-chiu/2020-pd2-DoodleJump- | eb4aa4f7887e4c4a2583e01a471e932d9de944cf | 9fd480d20e02abb2599a7d0f6719cd9b29086f37 | refs/heads/main | 2023-04-17T12:47:51.151984 | 2021-05-05T20:09:15 | 2021-05-05T20:09:15 | 364,693,322 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 231 | h | platform.h | #ifndef PLATFORM_H
#define PLATFORM_H
#include "mainwindow.h"
class platform
{
public:
platform();
virtual ~platform();
virtual QGraphicsPixmapItem* place() = 0;
virtual int getType() = 0;
};
#endif // PLATFORM_H
|
94863ec5d281b92156e1e4d76c04b7f12f265516 | feeaeecda94a61ee23108c794867f19412463a5e | /include/server/WebSocketHandler.h | 6ce429449bfcd36f4487f3e71808593396236574 | [] | no_license | stevenylai/cpphttp | 6fb9a2b13b0e32a0398e4885335b187572c33d6d | 91e0744a3de12de9c6b311f0b649695c2acd36e4 | refs/heads/master | 2020-04-02T04:37:23.436862 | 2018-11-09T13:31:06 | 2018-11-09T13:31:06 | 154,025,630 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 389 | h | WebSocketHandler.h | #pragma once
#include <unordered_map>
#include "server/WebSocketRequest.h"
namespace http {
class WebSocketHandler
{
public:
WebSocketHandler() = default;
virtual ~WebSocketHandler() = default;
virtual std::shared_ptr<WebSocketRequest> OnNewRequest(WebSocketHandler *);
std::string m_Protocol;
std::unorder... |
ff4fde42553c1164f5232b52cbd1bd5a41981513 | a0c4ed3070ddff4503acf0593e4722140ea68026 | /source/UTILS/UOFS/OFS/INC/STRM.HXX | f33ac20684e4aca42b7b8219fd212698d26c5f00 | [] | no_license | cjacker/windows.xp.whistler | a88e464c820fbfafa64fbc66c7f359bbc43038d7 | 9f43e5fef59b44e47ba1da8c2b4197f8be4d4bc8 | refs/heads/master | 2022-12-10T06:47:33.086704 | 2020-09-19T15:06:48 | 2020-09-19T15:06:48 | 299,932,617 | 0 | 1 | null | 2020-09-30T13:43:42 | 2020-09-30T13:43:41 | null | UTF-8 | C++ | false | false | 6,753 | hxx | STRM.HXX | //+----------------------------------------------------------------------------
//
// File: strm.hxx
//
// Contents: Header file for the stream base class.
//
// Classes: STRM
//
// Functions:
//
// History: 10-Jul-92 RobDu Created.
//
//-----------------------------------------------------------------------------
#i... |
adce8c3b474fc1cfa06b93c31d89bd501b0bc363 | c7c4346d1aa333781080897fa00d3b18e7712ca9 | /CodeForces/CF1101-D12-D/a.cpp | c5c4b8a392c5e720acfa827d8de713fb3513ee20 | [] | no_license | ajfabian/Competitive-Programming | 145d7d3491b03e1b214c24e7389009cdc36b8b13 | baef0ee9943ee475779d303402cb8be91b684a98 | refs/heads/master | 2020-05-29T17:31:49.369157 | 2019-05-29T18:41:39 | 2019-05-29T18:41:39 | 158,747,572 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,269 | cpp | a.cpp | /*
* CF1101-D12-D
* Idea: centroid decomposition
* SC: 2
* TT: 10
* CT: 45
* lev: 5.5
* Category: centroid decomposition, number theory
* Interesting.
* */
#pragma GCC optimize("Ofast")
#include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
const int N = 2e5+7;
vector<int> g[N];
void ead... |
9b165b85b0191f1be26729dafdc939478bc0079d | cb4e07b2a5dd30804ce428ec84d9e9f77709fcd5 | /kakao/2018/kakao2018_7.cpp | ea742ae46d14cec611f525987de0b49dd5d4aac0 | [] | no_license | jbsam2/algo_problem | 141c17003e88a69afdeea93a723e7f27c4626fdc | 18f2cab5a9af2dec57b7fd6f8218badd7de822e4 | refs/heads/master | 2023-05-18T10:03:00.408300 | 2021-06-02T10:36:50 | 2021-06-02T10:36:50 | 282,104,637 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,342 | cpp | kakao2018_7.cpp | #include <string>
#include <vector>
#include <string>
#include <cmath>
#include <algorithm>
using namespace std;
double str2time(bool flag,string time)
{
double ret=0,msec=0;
int sec=0;
if(flag)
{
int hour=((time[0]-'0')*10+(time[1]-'0'))*3600;
int minite=((time[3]-'0')*10+(time[4]-'0'))*60;
sec=(time[6]-'0'... |
4bf0fbc690ad035a187601f0627977a66da59318 | 3355025d05a78b7f5ee7493628435f38d0744332 | /src/TokSeqGen.cpp | 24536cedabc6c0867f50967787787056320a65c4 | [] | no_license | hadi88/Sketched-Flash-Fill | 3ff5e704984e6f86ebfdd64eb5c4e24d1d3be806 | 01b895260a763013a6a502493a19cd15e8c12d7f | refs/heads/master | 2021-01-20T07:10:47.049287 | 2017-05-02T00:07:04 | 2017-05-02T00:07:04 | 89,973,583 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,099 | cpp | TokSeqGen.cpp | //
// TokSeqGen.cpp
// Sketched Flash Fill
//
// Created by Hadi on 3/2/13.
// Copyright (c) 2013 Hadi. All rights reserved.
//
#include "TokSeqGen.h"
TokSeqGen::TokSeqGen(string s){
this->s = s;
start = new int*[s.length()+1];
end = new int*[s.length()+1];
for (int i = 0; i <= s.length(); i++) {
... |
18ae605fd63d67abc53d712376735dda2fa508a9 | e56b41bedb756ab168341ee858a2e7a46227ce4e | /test/headers/oclint/helper/CursorHelperTest.h | f959785080ab0ea6208f7d1c765ed0f563d85fc9 | [
"BSD-3-Clause"
] | permissive | halfhiddencode/oclint-04 | a0f383f5e6f2f8c675c21d43bc8370da0111e7c9 | 86d8a8f0d308ff312f0f16c1020087949436b1f1 | refs/heads/master | 2021-05-27T17:11:47.350669 | 2012-12-14T03:56:58 | 2012-12-14T03:56:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 712 | h | CursorHelperTest.h | #include <cxxtest/TestSuite.h>
#include "oclint/helper/CursorHelper.h"
class CursorHelperTest : public CxxTest::TestSuite {
public:
void testGetDeclWithDeclCursor();
void testGetDeclWithNotDeclCursor();
void testGetDeclWithNullCursor();
void testGetStmtWithStmtCursor();
void testGetStmtWithNotStmtCursor();
... |
bf59253a1bedb27732182b7e8ec411e85984c2bb | 0ba858b16da68b3b83ef13756bfade81af9d41a5 | /OtcTradeClient/OtcTradeClientRaw/guiRaw/control/updownlineedit.cpp | 311c9a6abbf8134bf752b4dc564e7b18082faf26 | [] | no_license | xiayifan-1984/OtcTradeClient | 1f1d637f10f6c8a19ce3438cc479d9d8696125f5 | f5464fb44a7340e74880a3dfe5c21f98a20eaac8 | refs/heads/master | 2022-08-02T23:59:36.352234 | 2020-06-02T03:34:36 | 2020-06-02T03:34:36 | 268,691,940 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 429 | cpp | updownlineedit.cpp | #include "updownlineedit.h"
UpDownLineEdit::UpDownLineEdit(QWidget* parent /* = nullptr*/)
:QLineEdit(parent)
{
}
UpDownLineEdit::~UpDownLineEdit()
{
}
void UpDownLineEdit::keyPressEvent(QKeyEvent *e)
{
int key = e->key();
if (Qt::Key_Down == key)
{
emit editdownkey();
}
... |
19362462b4dab9387d7af3b495265bc9e7214242 | f55b3de93791b57c8cabf5e4d4199a2157e4c469 | /Source/UE421/UE421.cpp | b419e984d0a293a707f692d1db607ab5e3de0c28 | [] | no_license | loyangliu/ue4 | 07cbe7bd313232861e7fdb7bde60f06c4426ff79 | a8bd59e994702420b73411827a86ac93e76a6666 | refs/heads/master | 2020-04-09T06:52:41.885210 | 2018-12-03T04:26:53 | 2018-12-03T04:26:53 | 160,131,014 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 208 | cpp | UE421.cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "UE421.h"
#include "Modules/ModuleManager.h"
IMPLEMENT_PRIMARY_GAME_MODULE( FDefaultGameModuleImpl, UE421, "UE421" );
|
432d2db9980b7ef1a0d35d1099f807912e328fc0 | b04986c445be05a905398f3e57d9ced7805bd248 | /1019.cpp | 638dd3f7b6cd35f38b765af3dd37328143decaed | [] | no_license | shenyichen/PAT-Advanced-Level-Practise | fa206b831e0706642e4a3dc6a35e9ce2ae1394bb | a41c2970e43e1adfa5fc6ff550d7c025c7316963 | refs/heads/master | 2021-05-04T23:09:47.010361 | 2018-02-20T04:21:38 | 2018-02-20T04:21:38 | 120,080,299 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 501 | cpp | 1019.cpp | #include<iostream>
using namespace std;
int N,M;
int C[30];
int main(){
cin>>N>>M;
if(N==0)
{
cout<<"Yes"<<endl<<"0";
return 0;
}
int i=0;
while(N>0)
{
C[i]=N%M;
N/=M;
i++;
}
int s=i;
for(int k=0;k<s/2;k++)
{
if(C[k]!=C[s-k-1])
{
cout<<"No"<<endl<<C[s-1];
while(s-->1)
{... |
0a5d4f9d2a228ce2ab180639b6abd7cb63ee8c81 | 251413d8c6c34086debc828e5a56088c0f3cf4cf | /VioletVreath/src/jp/gecchi/VioletVreath/actor/my/MagicMeter/magic/effect/EffectSpeedMagic.h | cad186a1b41b4a9df80dc899c9d43e3a9135ca22 | [] | no_license | gecchi/MyMain01 | a7311a3e4659a140dd1127b2ea592e7f1ed1a22b | 31ada3d4a434bea4dcd42fc867a52378493b0853 | refs/heads/master | 2023-09-01T14:30:06.410655 | 2023-08-30T14:39:38 | 2023-08-30T14:39:38 | 13,404,587 | 19 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 695 | h | EffectSpeedMagic.h | #ifndef EFFECTSPEEDMAGIC_H_
#define EFFECTSPEEDMAGIC_H_
#include "jp/gecchi/VioletVreath/VioletVreath.h"
#include "jp/ggaf/lib/actor/DefaultSpriteActor.h"
namespace VioletVreath {
/**
* スピードアップのエフェクト .
* @version 1.00
* @since 2011/11/16
* @author Masatoshi Tsuge
*/
class EffectSpeedMagic : public G... |
5eaf2028a35dc4ef87c617f60f3a8c24a8f2102e | c45ed46065d8b78dac0dd7df1c95b944f34d1033 | /TC-SRM-555-div1-555/skydec.cpp | a496140f7790d590927e35cb1c06afc4163923d1 | [] | no_license | yzq986/cntt2016-hw1 | ed65a6b7ad3dfe86a4ff01df05b8fc4b7329685e | 12e799467888a0b3c99ae117cce84e8842d92337 | refs/heads/master | 2021-01-17T11:27:32.270012 | 2017-01-26T03:23:22 | 2017-01-26T03:23:22 | 84,036,200 | 0 | 0 | null | 2017-03-06T06:04:12 | 2017-03-06T06:04:12 | null | UTF-8 | C++ | false | false | 1,856 | cpp | skydec.cpp | #include<stdio.h>
#include<cstring>
#include<algorithm>
#include<cstdlib>
#include<cmath>
#include<ctime>
#include<set>
#include<map>
#include<string>
#include<vector>
#define pii pair<int,int>
#define fi first
#define se second
#define pb push_back
#define SZ(x) ((int)((x).size()))
#define rep(i,j,k) for(int i=(int)j;... |
9d2ce28dd038d2b3b8626e2f18b52aceedb8f5d4 | 97798097d8242c41a0f29bf080a058571014d0a2 | /lesson/CommonPrimeDivisors.cpp | 4f6a3c8255891c1595dae11caf1e31aefafbdd6b | [] | no_license | ssjx10/codility | c64d94ed56a2f0b98108f1de2dc15e42453ee450 | 0267c46629d17db72e4c4fa796a428cdb0f7492a | refs/heads/master | 2020-03-25T17:33:42.650182 | 2018-09-12T13:28:27 | 2018-09-12T13:28:27 | 143,983,528 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 717 | cpp | CommonPrimeDivisors.cpp | // you can use includes, for example:
// #include <algorithm>
// you can write to stdout for debugging purposes, e.g.
// cout << "this is a debug message" << endl;
bool decomposition(int x, int y) {
int s, b;
if(x < y) {
s = x; b = y;
}
else {
s = y; b = x;
}
if(b%s == 0) {... |
de043d7a1a3ca3036af80da1d47e28dac4a23468 | e92a8e7ba8dbad9339ba14db9a32a772e9415ac3 | /baekjoon/1158.cpp | 6c89fd10095b680fa0f786ad70bbed37f1f86afa | [] | no_license | Lee-Jungyu/algorithm | ec3155a4424d97d12ab96d98f7a7f14589f8ec70 | 6a18758ba3d4ee55a6cfae33ed86258ddda9bc96 | refs/heads/master | 2021-08-06T15:28:06.919063 | 2021-07-14T12:49:37 | 2021-07-14T12:49:37 | 232,481,372 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 519 | cpp | 1158.cpp | #include <iostream>
#include <queue>
using namespace std;
queue<int> q;
int main() {
int N, K;
cin >> N >> K;
for(int i = 1; i <= N; i++) {
q.push(i);
}
int cnt = 0;
cout << "<";
while(N) {
cnt++;
if(cnt == K) {
cout << q.front();
if(N != 1... |
6a80edb511290b8b9556b6f0ab50292c973cf2cc | 061cf3330b0191da087e796af041b50caad31972 | /test/generated/bidi_test_334.cpp | b46527bbdedaf923080c7ab8eb350b83ca3d3db4 | [
"BSL-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | tzlaine/text | 22515600a70cc3f1c379a177096ca07ba2fbca34 | 0e62505317908caff9897b9f21dcc80ceab2de33 | refs/heads/master | 2023-07-19T20:54:58.386461 | 2023-05-25T12:49:52 | 2023-05-25T23:17:29 | 91,817,420 | 311 | 35 | BSL-1.0 | 2023-05-25T23:17:30 | 2017-05-19T15:02:03 | C++ | UTF-8 | C++ | false | false | 1,208,018 | cpp | bidi_test_334.cpp | // Copyright (C) 2020 T. Zachary Laine
//
// 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)
// Warning! This file is autogenerated.
#include <boost/text/bidirectional.hpp>
#include "bidi_tests.hpp"
#include <gte... |
33f6c45baf80593f82d56afc1ee1ce842425d08c | ed4f0ae5cfc032012cc21fc6ab2a80459825db77 | /ROBERT LAFORE/CH 3/1.cpp | 699730a543a141dcaba345b8bb28666245a6561f | [] | no_license | ZainArif/C-program-practices | 5cb88cb422256cd35ce92ae81521124b3502a266 | 21047c2c6a01339c4582c40f28c43304ac59b2d3 | refs/heads/master | 2020-04-08T18:34:19.712748 | 2018-11-29T06:05:50 | 2018-11-29T06:05:50 | 159,614,341 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 160 | cpp | 1.cpp | #include<stdio.h>
#include<conio.h>
int main()
{
int i;
printf("\t\t\tSquares of numbers from 1 to 20\n");
for(i=1;i<=20;i++)
printf("%d=%d\n",i,i*i);
}
|
f2deb1538e6c1c5e6793d9dd53bd771adde8824b | 690e9d779bc10d521bcb8d6c1533503a4eaacf33 | /RunRunRun/Classes/Entity.cpp | aa4ef1c3085bb4fc213191698146ea99a2363fb6 | [
"Apache-2.0"
] | permissive | wowiwj/cocos2dx | 56954bb97b5f5dbbb94e29b0896f6e9d391bd669 | 4e2f986662aca9b5fffa7632005f75ccda7954d7 | refs/heads/master | 2021-01-10T02:21:23.506500 | 2015-10-07T14:16:40 | 2015-10-07T14:16:40 | 43,804,623 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 564 | cpp | Entity.cpp | //
// Entity.cpp
// RunRunRun
//
// Created by wangju on 15/10/7.
// Copyright © 2015年 com.wangju.run01. All rights reserved.
//
#include "Entity.hpp"
void Entity::BindSprite(cocos2d::Sprite *sprite)
{
m_sprite = sprite;
this->addChild(m_sprite);
}
void Entity::setController(Controller *controller)
{
... |
aea4edd3bf3120ca003deee67b976b0e62da0191 | e08b9a5bbe1460d18317f5b603c6521afa50d8cd | /cpp_feature/test/feature/stats/test_referee_stats.cpp | 90fe87149f72ce892dc97e95470762f1c7d75b41 | [
"Apache-2.0"
] | permissive | eozd/SIU-2018 | 263d821cc2dd6d554b8b09341691671b9fcc221c | 81df1760be6a26c48d4140511ab194ffc8d700d7 | refs/heads/master | 2020-03-08T07:52:03.495767 | 2018-07-16T12:11:10 | 2018-07-16T12:11:10 | 128,005,602 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,527 | cpp | test_referee_stats.cpp | /*
* Copyright 2018 Esref Ozdemir
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... |
5eb5701cada75d814d9e9a9756ad1f995570438b | 5450cbcb9c106e66cf31cdd0fe29489976d27193 | /headers/obstacle.h | 0bac7983b3d49193d3230b73c385c84a62ee91de | [] | no_license | fangyoujun/PathFinding-by-PRM | 50d52ee0e413db09ef157746a0dc955d22ab9758 | b33c16dd2ef9d9c8a5d07844cc952fe4e1308a7e | refs/heads/master | 2021-10-16T13:23:41.773480 | 2019-02-11T08:42:30 | 2019-02-11T08:42:30 | 170,088,302 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 795 | h | obstacle.h | #ifndef OBSTACLE_H
#define OBSTACLE_H
#include <QGraphicsRectItem>
class Obstacle : public QGraphicsRectItem
{
private:
qreal topLeftX;
qreal topLeftY;
qreal width;
qreal height;
public:
Obstacle();
Obstacle(qreal x, qreal y, qreal w, qreal h);
QRectF boundingRect();
void paint(QPainte... |
07821626ae08aec3c8ca65897e63f394cdcf138f | ddb983cd0aa0110eada9da691fcd151b81e95a4b | /src/exporter.h | 8867d32f1e62feb9e31112bbf711a10bdac4a751 | [] | no_license | ubports/indicator-display | 3a4e20e63849738775e441920a0d7637ff829556 | 44f24067c6c705b992fc600cc86da74d28b15b4a | refs/heads/xenial | 2021-06-03T16:54:23.307210 | 2020-11-12T23:46:59 | 2020-11-12T23:46:59 | 98,106,914 | 0 | 3 | null | 2020-11-12T23:47:00 | 2017-07-23T15:22:58 | C++ | UTF-8 | C++ | false | false | 1,195 | h | exporter.h | /*
* Copyright 2014 Canonical Ltd.
*
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 3, as published
* by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARR... |
dd27d9c5f3fed92c19ddc41b3885a02b1e0516c3 | a1a65f548426057da58ef70dad8b83648ca1b601 | /semihosting/src/arm_controller/ArmHandler.cpp | 7325d2cf0fb87b1f3dc00e555c710103ba431b36 | [] | no_license | jgdo/arips_dev | 9ef575a53359afe8b7cbb19f7f47580893d0f6b9 | c2d2a0a3121d154f395169c51413b73cf9dbf666 | refs/heads/master | 2021-01-19T03:10:24.519680 | 2014-12-18T20:28:36 | 2014-12-18T20:28:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,091 | cpp | ArmHandler.cpp | /*
* ArmHandler.cpp
*
* Created on: Aug 24, 2014
* Author: jgdo
*/
#include <arm_controller/ArmHandler.h>
#include <arips/ParameterStore.h>
const char* ArmHandler::jointNames[2] = { "shoulder_joint", "hand_joint" };
using namespace ml;
using namespace std::placeholders;
ArmHandler::ArmHandler(ArmPositio... |
9fc07ccca2d1f03603bad7d9a79459affc67635f | 72f2992a3659ff746ba5ce65362acbe85a918df9 | /apps-src/apps/librose/formula_debugger_fwd.cpp | 3c0a120522ca29d318b849059635a07c3e77f7e8 | [
"BSD-2-Clause"
] | permissive | chongtianfeiyu/Rose | 4742f06ee9ecd55f9717ac6378084ccf8bb02a15 | 412175b57265ba2cda1e33dd2047a5a989246747 | refs/heads/main | 2023-05-23T14:03:08.095087 | 2021-06-19T13:23:58 | 2021-06-19T14:00:25 | 391,238,554 | 0 | 1 | BSD-2-Clause | 2021-07-31T02:39:25 | 2021-07-31T02:39:24 | null | UTF-8 | C++ | false | false | 1,366 | cpp | formula_debugger_fwd.cpp | /*
Copyright (C) 2009 - 2015 by Yurii Chernyi <terraninfo@terraninfo.net>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any late... |
ac685e27ebd10e3b700bb110ec2bcdfe8b9848a5 | b4b336aa62d5fbe460408617720743c04aaf38b3 | /DX_Engine/Code/Shader.h | e21f61e1fd1152c6b9859f45e7edec1299d1e092 | [] | no_license | MrJox/DX_LABS | 6a62d12460b937b92f2cab907b1f9021857f48d7 | 7dbaad191f7e0dd51f7a5a144691b667aa3774e4 | refs/heads/master | 2022-06-08T23:30:48.781146 | 2020-05-07T16:09:45 | 2020-05-07T16:09:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 295 | h | Shader.h | #ifndef _SHADER_H_
#define _SHADER_H_
#include "Interfaces/IRenderer.h"
using Microsoft::WRL::ComPtr;
enum class ShaderType : unsigned char {
e_stVertex,
e_stPixel
};
class Shader {
public:
void Create();
private:
ShaderType m_type;
ComPtr<IBlob> m_blob;
};
#endif //_SHADER_H_
|
4dfdce5962693acdb7dc4f65f9dcf87943dcea22 | 7066392eb3366db4d7f39a05b422a7588e78f420 | /driver.cpp | 60a40e89fed325bd54606d8f465dbf1bd59ac56b | [] | no_license | spwhitt/gbh | d6c5a5618103f1b8ab089b3f2c7f105b5263b6b7 | f4fb0b492d705e3f05478c963358f8c88694347b | refs/heads/master | 2018-12-29T05:30:29.986918 | 2013-02-16T22:42:25 | 2013-02-16T22:42:25 | 8,242,581 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,616 | cpp | driver.cpp | #include <opencv/cv.h>
#include <string>
#include <iostream>
#include "gbh.h"
#include "io.h"
using namespace std;
using namespace cv;
int main(int argc, char* argv[]) {
if (argc < 3) {
cout << "Not enough arguments" << endl;
return 1;
}
string input_path = argv[1];
int sigma = atoi(... |
00acbd3f486037ec5f62e84f8106e0e2101365fe | eb2fcde8189d05bbf25d7e079d1a5c235f928d0d | /queue.h | 70e8050f8e1e774bc1fc331a38cec445cb2fc49f | [] | no_license | rahulratheesh/datastructures | be73d4c2a67da1db78acf225e2f3c258a87c517d | e93b6c4436397af001c218cda7dcd30dcc3707b4 | refs/heads/master | 2020-06-03T18:12:22.406759 | 2014-08-27T17:54:21 | 2014-08-27T17:54:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 280 | h | queue.h | #ifndef _queue_h
#define _queue_h
template <typename ElemType>
class Queue {
public:
Queue();
~Queue();
int size();
bool isEmpty();
void enqueue(ElemType elem);
ElemType dequeue();
ElemType peek();
};
#endif
|
a001085cab83a92504bb887a6ddfc29c9904a2bc | a0e9d14bf3d518a5693644d798cfbbcb97c60d01 | /team/NEERC2019/g.cpp | a0bef66a98e34d6fcf26d57649b6a990f35412a2 | [] | no_license | typhigh/ACM-2019 | a1fe753c2ce44ad541a1c952879b856d04ebc449 | 1eb7d4b22e8b9ef8492de53b8f797a8ede4afd87 | refs/heads/master | 2020-07-15T22:32:47.191718 | 2019-12-17T13:40:06 | 2019-12-17T13:40:06 | 205,662,612 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 686 | cpp | g.cpp | #include <bits/stdc++.h>
using namespace std;
const int MAXN = 14;
int n, a[MAXN];
int Calc(int a, int b) {
if (a <= 0) return 0;
if (b == 1) return a;
return (a + b - 1) / b;
}
int main() {
int T;
scanf("%d", &T);
while (T--) {
scanf("%d", &n);
int b = 0;
for (int i = 0; i < 7; ++i) {
scanf("%d", a + ... |
667e5082960cd2c830048f4551150c13bf1062d4 | 2aed63d9aa027419b797e56b508417789a604a8b | /injector2degHex/case_interFoam_3mm/0.75/U | 14665303ab620d45e6edbe61b1e06561cf359980 | [] | no_license | icl-rocketry/injectorCFDModelling | 70137f1c6574240c7202638c3713102a3e1e9fd8 | 96591cf2cf3cd4cbd64536d8ae47ed8080ed9016 | refs/heads/main | 2023-08-25T03:30:59.244137 | 2021-10-09T21:04:45 | 2021-10-09T21:04:45 | 322,369,673 | 3 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 658,709 | U | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2012 |
... | |
384940cc4dfec8c8c40d66b9bab6c3b06f0b828d | 262d35f78f1bea849594f40b510d0b1c36b14edd | /include/QuLGRunAction.hh | 83525a6c2b36662db5a204934ba52c14cedf3ca8 | [] | no_license | delgadoandrea/QuLG | e421efdc9f813c94a8848c37f638354ccfa0b358 | e75f170b2d91644f977f3bf980e536140e7de143 | refs/heads/master | 2021-07-16T20:32:21.490536 | 2020-07-04T15:16:53 | 2020-07-04T15:16:53 | 177,547,271 | 0 | 0 | null | 2020-06-16T21:15:15 | 2019-03-25T08:42:43 | C++ | UTF-8 | C++ | false | false | 463 | hh | QuLGRunAction.hh | #include "G4UserRunAction.hh"
#ifndef QuLGRunAction_h
#define QuLGRunAction_h 1
class QuLGRun;
class QuLGHistoManager;
class G4Run;
class QuLGRunAction : public G4UserRunAction
{
public:
QuLGRunAction();
virtual ~QuLGRunAction();
virtual G4Run* GenerateRun();
virtual void BeginOfRunAction(const G... |
b1d5aedf357a6e1aa7c2074776c9bde973b6855a | 5965a658a81df839c8909299fc8040fe87daf0df | /算法导论/第二部分_排序和顺序统计量/radix_sort.cpp | 115b4bd5ac3b8caac5f04e41fca374d2a9dfc759 | [] | no_license | da1234cao/data_structure | 5d7135cef831cca66623c4cceb68ddc63b27003f | 0ee470ab7810243661cd2086dc34d2f38c13236b | refs/heads/master | 2022-03-28T00:28:57.073599 | 2022-03-02T09:06:44 | 2022-03-02T09:06:44 | 210,477,465 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,696 | cpp | radix_sort.cpp | /**
* 基数排序
* 我开始的时候,没有想出来,如何使用计数排序对每一位进行排序
* 因为如果把每一位取出来排序,和原来的数字脱离了联系
* 参考:https://www.cnblogs.com/skywang12345/p/3603669.html
* 这个代码:在r=logn的时候,时间复杂度最小。关于这不实现。
*/
#include <iostream>
#include <vector>
using namespace std;
void print_vector(vector<int> &v){
for(int i=0; i<v.size(); i++)
cout<<v[i]<<... |
1fcf2772f23235d094cbb4209f448745fced59d3 | 5cf22843cd2ab373a81438a4cdf757766aacf9a9 | /raposang_ros/raposang_hmd/raposang_emagin_z800/src/imu_node.cpp | ba68b037394f3a10003697dcea6a7f1046649556 | [] | no_license | joaocgreis/socrob-ros-pkg | 594c8460d215ad2897b425d6f816f23c2f96ea23 | cfb45c7af914bb3df7ece3a73c96e7ef4747f3d0 | refs/heads/master | 2021-06-26T21:04:15.351833 | 2013-05-29T14:25:30 | 2013-05-29T14:25:30 | 10,336,756 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,415 | cpp | imu_node.cpp | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <libz800.h>
#include <ros/ros.h>
#include <sensor_msgs/Imu.h>
#include <raposang_msgs/ImuRaw.h>
#include <tf/transform_broadcaster.h>
int main(int argc, char *argv[]) {
int frequency;
float gyr[3], acc[3], mag... |
cea1489b374e2340c70d526e0a47bc232e47f871 | 72062d0ab1435d90238f5129c90920e6bc6d14c6 | /Mlecz.cpp | 571d034ffa3d10c6e77f0a1d88afc68c22f44269 | [] | no_license | Qubeq97/Virtual-world-CPP | 45c6287be3cc7e893a4726b2bf79a3ee468a6ef7 | 39e1962e82e4261fe8fd9bb515b57987175152b9 | refs/heads/master | 2020-03-16T12:55:39.242116 | 2018-05-08T23:48:55 | 2018-05-08T23:48:55 | 132,282,405 | 0 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 659 | cpp | Mlecz.cpp | #include "Mlecz.h"
#include "Swiat.h"
Mlecz::Mlecz(Swiat* swiat1, int x1, int y1)
{
this->gatunek = MLECZ;
this->znak = 'M';
this->nazwa = "Mlecz";
this->sila = 0;
this->x = x1;
this->y = y1;
this->swiat = swiat1;
}
Mlecz::Mlecz(Swiat* swiat1, int x1, int y1, int sila)
{
this->gatunek = MLECZ;
this->znak =... |
18879b5019cf8799d5f410e91de01ab834de9028 | b02f1dc525cf9c4253e40e2175e8784a8d77f96e | /Shader.cpp | f157deed672198acf7baaa93706e288c46d0f40b | [] | no_license | chinmayHundekari/Cherno_01 | e04a2f0dd91170b7a4afe8dc2ee4bfb96153bcd8 | 68c988c18bde3deea4788f78bbf106d40927d972 | refs/heads/master | 2020-12-23T01:35:26.035817 | 2020-02-16T08:22:18 | 2020-02-16T08:22:18 | 236,991,764 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 448 | cpp | Shader.cpp | /*#include "Shader.h"
unsigned int Shader::GetUniformLocation(const std::string& name)
{
return 0;
}
Shader::Shader(const std::string& filepath)
: m_FilePath(filepath), m_RendererID(0)
{
CompileShader();
}
Shader::~Shader()
{
}
bool Shader::CompileShader()
{
return true;
}
void Shader::Bind() const
{
}
void... |
6a1ea341c287cb5daa7e079e4364db25dbbc28d1 | e68c1f9134b44ddea144f7efa7523076f3f12d3a | /FinalCode/Stitch_Attack2.cpp | 7dada7e6c1e1530e6ccb73da2d8b63e4a7f864af | [] | no_license | iso5930/Direct-3D-Team-Portfolio | 4ac710ede0c9176702595cba5579af42887611cf | 84e64eb4e91c7e5b4aed77212cd08cfee038fcd3 | refs/heads/master | 2021-08-23T08:15:00.128591 | 2017-12-04T06:14:39 | 2017-12-04T06:14:39 | 112,998,717 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,299 | cpp | Stitch_Attack2.cpp | #include "StdAfx.h"
#include "Stitch_Attack2.h"
CStitch_Attack2::CStitch_Attack2(void)
{
// StateType
m_eStateType = STATE_TYPE_STITCH_ATTACK2;
// Mode
m_iMode = 0;
// Time
m_fTime = 0.0f;
m_bEffect = false;
m_pSpike = NULL;
}
CStitch_Attack2::~CStitch_Attack2(void)
{
}
void CStitch_Attack2::Initialize()... |
2c654157397672077dc2ea3546df410f8d47392c | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/CMake/CMake-gumtree/Kitware_CMake_repos_basic_block_block_7005.cpp | ec2b1279f2150babc90f38c4a5701e49a1fc6988 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 121 | cpp | Kitware_CMake_repos_basic_block_block_7005.cpp | f(!Curl_ssl_getsessionid(conn, &old_ssl_sessionid, NULL, sockindex))
Curl_ssl_delsessionid(conn, old_ssl_sessionid) |
faf62dfbe8ab54cefdad8dca74b871214c2623da | 76f3b6dd64acdf60ff464f5c0fe9b4f4151358e0 | /tools/converter/source/optimizer/onnxextra/OnnxLogSoftmax.cpp | 202b6a9412cfef1c1575ccdfe2ac53adcf8b357a | [
"Apache-2.0"
] | permissive | qipengwang/Melon | 33ce5d4b683af70215f73b82a7b9c15ffd7706d9 | 10c9d71cdc609a290bfdd09296db6af3913bb461 | refs/heads/main | 2023-08-31T17:44:28.797075 | 2023-08-17T14:24:59 | 2023-08-17T14:24:59 | 486,278,764 | 22 | 2 | null | 2022-04-27T16:54:48 | 2022-04-27T16:54:47 | null | UTF-8 | C++ | false | false | 1,289 | cpp | OnnxLogSoftmax.cpp | //
// OnnxLogSoftmax.cpp
// MNNConverter
//
// Created by MNN on 2020/04/13.
// Copyright © 2018, Alibaba Group Holding Limited
//
#include <algorithm>
#include <MNN/expr/Expr.hpp>
#include "MNN_generated.h"
#include "OnnxExtraManager.hpp"
namespace MNN {
namespace Express {
class OnnxLogSoftmaxTransform : publ... |
38ccff24e7cdc60fe813cb59d9adf20f4bd0aad5 | a36927d99f099a28b6ac6373b1215d6751e9e8f0 | /TileGame/NYUCodebase/main.cpp | 7e2f2c3f220ad047f0ab9a6612560381b56965cb | [] | no_license | albertcheu/nyuGameProg | baaabf394465431610f1ad80eb0ffb4051bd27a9 | d13e1b2aa3b224e9b2999cb8a76ef21036b811b2 | refs/heads/master | 2016-09-05T10:59:21.304815 | 2015-05-12T00:40:06 | 2015-05-12T00:40:06 | 30,124,029 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 133 | cpp | main.cpp | #include "GameClass.h"
int main(int argc, char *argv[])
{
GameClass g;
//Main loop
while (g.run()){
}
return 0;
} |
34aec5a94c4b5a1214294be2d8922ee1b4dffd8f | 73923a06dd818eb5027e46036a35235db158b487 | /engine/src/shell/common/rasterizer.h | 10ebf06c55416dcab2248a433a037f7501e01a53 | [] | no_license | Unity-Technologies/com.unity.uiwidgets | 6df8a2e7090b9315146c74987413de1a47f568d0 | 0310984e947881eca6c2657f1a2fcaaa19329c22 | refs/heads/master | 2023-08-06T07:19:09.063727 | 2022-09-07T08:03:53 | 2022-09-07T08:03:53 | 276,520,081 | 632 | 77 | null | 2022-08-26T02:29:41 | 2020-07-02T01:33:39 | C# | UTF-8 | C++ | false | false | 3,367 | h | rasterizer.h | #pragma once
#include <memory>
#include <optional>
#include "common/settings.h"
#include "common/task_runners.h"
#include "flow/compositor_context.h"
#include "flow/layers/layer_tree.h"
#include "flutter/fml/closure.h"
#include "flutter/fml/memory/weak_ptr.h"
#include "flutter/fml/raster_thread_merger.h"
#include "fl... |
56a6e040fdacac9bc0ed09105d0ebd0ad92feadc | c90f8ceb2b57889266adc3405e89a73e83393f1f | /Euler/tasks25.cpp | 3e6bc921c593be992057561a5a4db8384536f3a7 | [] | no_license | yonivol/FRWD_List | b7e924ab2e160022d2cdf8e3269c805f2b443236 | 1c258283022d2f115f54654a2a737fe55516277c | refs/heads/master | 2020-04-12T17:27:15.210387 | 2018-12-21T06:32:02 | 2018-12-21T06:32:02 | 162,645,210 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,116 | cpp | tasks25.cpp | #include "tasks25.h"
size_t fibonachi_even()
{
/*
Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 terms will be:
1, 2, 3, 5, 8, 13, 21, 34, 55, 89, ...
By considering the terms in the Fibonacci sequence whose values do not exceed four mil... |
4546936a5c9ad866b44a803e4291112afe5b8f5c | 2d07dd66925e083634ad9a45a4eab026252a2b34 | /otros/12582 Wedding of Sultan.cpp | cf02e3a547bcebae37473380f7d89a4480beb831 | [] | no_license | wilmercastrillon/Ejercicios-Uva-Judge-Online | 8d4f4ccf541be69d2a812d3bf784f6f71e1829a1 | 4ef8d6e15a0afaa2aed031ffc05e6b1ef3b98324 | refs/heads/master | 2021-01-18T03:24:17.282090 | 2021-01-08T01:46:36 | 2021-01-08T01:46:36 | 84,270,599 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 861 | cpp | 12582 Wedding of Sultan.cpp | #include <stdio.h>
#include <stack>
#include <string.h>
using namespace std;
stack<char> pila;
char cad[10000];
int res[27];
void solve(){
memset(res, 0, sizeof(res));
while(pila.size()) pila.pop();
pila.push(cad[0]);
int l = strlen(cad) - 1;
for(int i = 1; i < l; i++){
//printf("%d tam ... |
85d95e2373632620ef4333ee2553d203011c4a3d | e8ed3c743980a74946a9b35ba3efa3f37b2d0d53 | /app/src/main/cpp/ff_audio_player.cpp | 8d44f375a34fd705f87e610440610f86482b1f09 | [] | no_license | pj567/FFmpegAndroid | df37b644ea576c1a22958067f5d03cc7ad1256c9 | 1a9f81ec2fef9d34f3b99424b969dcd4afe198c5 | refs/heads/master | 2023-03-15T14:52:15.616384 | 2022-10-25T09:59:18 | 2022-10-25T09:59:18 | 557,616,877 | 1 | 0 | null | 2022-10-26T01:49:11 | 2022-10-26T01:49:10 | null | UTF-8 | C++ | false | false | 10,071 | cpp | ff_audio_player.cpp | //
// Created by xu fulong on 2022/9/4.
//
#include "ff_audio_player.h"
#define AUDIO_TAG "AudioPlayer"
#define BUFFER_SIZE (48000 * 10)
const char *FILTER_DESC = "superequalizer=6b=4:8b=5:10b=5";
int initFilter(const char *filterDesc, AVCodecContext *codecCtx, AVFilterGraph **graph,
AVFil... |
1dcf059eb4295571bce6efa94727a7ffcff6cc2b | 8331ce83195d8636f2e1f4c78d6aa7404f6b272a | /Multi-Thread-Synchronization/Thread.cpp | 707de664f87be36826ce3f7c13dfcf00745be7c8 | [] | no_license | hilalsakar/Thread-Exercises | a21256db86b7ca3fd31c952827c31c9892df16a2 | e634f0dc0f3ac6ea532dc119f75497f8704df6e8 | refs/heads/master | 2020-04-11T09:10:18.106508 | 2019-05-14T20:24:37 | 2019-05-14T20:24:37 | 161,668,446 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 659 | cpp | Thread.cpp | #include <iostream>
#include <fstream>
#include <sstream>
#include <thread>
#include <mutex>
using namespace std;
mutex myMutex;
void ThreadFunc(string FileName) {
string line;
ifstream inFile(FileName);
while (getline(inFile, line)) {
myMutex.lock(); //just one thread uses
stringstream ss... |
1589925b56d6b96290a5d6aecaddc3842eab3ec5 | 3b7a9734f13ec0a9d58d9c363925c6cf564adf40 | /Stock/Solution.cpp | 3419a2f4756eb14bb0c553df2df2869f227fb073 | [] | no_license | gaochao19920616/OJ_Practice | 53e5b656f03ea8c776af0c174659d1a755be346a | 25fed9d12c998982c6e35d863fa75c8cf99ffbc2 | refs/heads/master | 2021-07-04T08:32:36.947796 | 2017-09-27T01:58:07 | 2017-09-27T01:58:07 | 103,007,144 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 240 | cpp | Solution.cpp | #include <iostream>
using namespace std;
int Stock(int s)
{
int res = s-1;
int i=2;
while (res>=i)
res-=i++;
return (i-3)*(i-2)/2+res+1;
}
int main()
{
int n;
while (cin>>n)
cout<<Stock(n)<<endl;
return 0;
}
|
1ee3f4302072ae36953d2fda2addbb667aed37c9 | 9a978105b9717f1ac910cfc1b9db59c9ada6a961 | /src/backend/cuda/kernel/shift.hpp | 128a6403a5a554fcd41631dc0a22e348f26682f5 | [
"MIT",
"BSD-3-Clause",
"Zlib",
"BSL-1.0",
"Apache-2.0"
] | permissive | thezedwards/arrayfire | dfb6f04bd7a07285ee78f644757bc866882f101f | c7fd7f8045c31ec2aac0f517f1a8003b49d2cf27 | refs/heads/master | 2021-07-21T18:48:39.973244 | 2017-10-12T07:08:35 | 2017-10-30T23:54:03 | 108,945,269 | 1 | 0 | null | 2017-10-31T04:27:59 | 2017-10-31T04:27:59 | null | UTF-8 | C++ | false | false | 4,170 | hpp | shift.hpp | /*******************************************************
* Copyright (c) 2014, ArrayFire
* All rights reserved.
*
* This file is distributed under 3-clause BSD license.
* The complete license agreement can be obtained at:
* http://arrayfire.com/licenses/BSD-3-Clause
**********************************************... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.