blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7d7f0a577972ae3201b29c3c4be9909e9c26fd60 | abeb736f0dc1d40ea57e333659d4eaf8036418a5 | /include/singular/kernel/numeric/mpr_numeric.h | 36a49840afcf6281e652cb48852ff778b89c6b07 | [] | no_license | fingolfin/gap-osx-binary | 59825e1f7d2f7eb7417bc99dd65a756de3bf1d77 | b7ea78241904c5eb6d3726fb1ee627b48592e1c0 | refs/heads/master | 2021-01-10T11:30:51.316436 | 2015-10-02T09:54:53 | 2015-10-02T09:54:53 | 43,541,650 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,642 | h | #ifndef MPR_NUMERIC_H
#define MPR_NUMERIC_H
/****************************************
* Computer Algebra System SINGULAR *
****************************************/
/*
* ABSTRACT - multipolynomial resultants - numeric stuff
* ( root finder, vandermonde system solver, simplex )
*/
//-> include & defin... | [
"max@quendi.de"
] | max@quendi.de |
fc4705b07a8a1de6f6131d79d04ce0adc4407b25 | 952eaaff06d57b02cddbfa3ea244bbdca2f0e106 | /src/Utils/Utils/Math/AutomaticDifferentiation/AutomaticDifferentiationHelpers.h | 77c80cb9b08491090ebc4369f506802ceda790c0 | [
"BSD-3-Clause"
] | permissive | DockBio/utilities | 413cbde988d75a975b3e357c700caa87406c963b | 213ed5ac2a64886b16d0fee1fcecb34d36eea9e9 | refs/heads/master | 2023-02-25T20:50:19.211145 | 2020-04-27T20:41:03 | 2020-04-27T20:41:03 | 257,099,174 | 0 | 0 | BSD-3-Clause | 2020-04-27T20:41:05 | 2020-04-19T20:48:18 | null | UTF-8 | C++ | false | false | 8,450 | h | /**
* @file
* @copyright This code is licensed under the 3-clause BSD license.\n
* Copyright ETH Zurich, Laboratory for Physical Chemistry, Reiher Group.\n
* See LICENSE.txt for details.
*/
#ifndef AUTOMATICDIFFERENTIATION_AUTOMATICDIFFERENTIATIONHELPERS_H
#define AUTOMATICDIFFERENTIATION_AU... | [
"scine@phys.chem.ethz.ch"
] | scine@phys.chem.ethz.ch |
ac4b03591e5a48aa6d4d52397676d952d2ab627b | 521fd0388e69185d51cb20baa03c16c389d07099 | /385c.cpp | 1e2f72dd3d9c0fc015adc5246032ec92e10f4185 | [] | no_license | janani271/CP-solutions-4 | a46f25532781e02627c49c86980641308901f958 | 5ff5196a5e852abad64cc7d59491e5136799cf86 | refs/heads/master | 2022-11-08T22:28:11.769005 | 2020-06-29T08:39:05 | 2020-06-29T08:39:05 | 275,775,786 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,057 | cpp | #include<bits/stdc++.h>
using namespace std;
#define fastread ios_base::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL);
#define ll long long
ll MAX = 10000003;
ll prime[10000005] , a , n , i , fp[10000007] , q , l , r , temp;
void sieve()
{
for(i=2;i<MAX;i++)
{
if(i%2!=0)
prime[i] = i;
... | [
"noreply@github.com"
] | noreply@github.com |
0ee31bf9cc02eb5a4913c85d7c82297e18883d9f | fa6b5a15bd5d7ed857c1705e26f58f7f6452c1cd | /SEARCHING AND SORTING/18.Mnimum_swap_to_sort_array.cpp | c61ac3518e05cfa0d34ed75afff54684386bf889 | [] | no_license | retro-2106/DSA_450_questions | d4cadc840f168a388db5258581712372be3e8629 | 7b23eba2661d6596870848ca3e3d1582236ca46f | refs/heads/main | 2023-06-14T13:08:35.856589 | 2021-07-04T11:28:21 | 2021-07-04T11:28:21 | 308,229,380 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 704 | cpp | int minSwaps(vector<int>&nums)
{
pair<int,int> arr[nums.size()];
for(int i=0;i<nums.size();i++)
{
arr[i].first = nums[i];
arr[i].second = i;
}
sort(arr,arr+nums.size());
vector<bool> visited(nums.size(),false);
int ans=0;
for(int i=0;i<nums.size();i+... | [
"ashishcool2106@gmail.com"
] | ashishcool2106@gmail.com |
c408a44e5e16864bc57150c0052fb89e3a236838 | 6289d2bc026a09c2c019cef03e2240fa400369d7 | /include/kimera-vio/frontend/OpticalFlowPredictor.h | a1f5266ac23c489898734a9710540f1c295df498 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | permissive | ManuelKugelmann/Kimera-VIO | 114e12363a54e2fbabb4dad6c0048ffaf57f59d6 | a4df3f0d503ba31065f9556d655dd993b75e5aa0 | refs/heads/master | 2022-11-22T03:52:53.343822 | 2020-06-19T20:42:29 | 2020-06-19T20:42:29 | 279,585,286 | 1 | 0 | BSD-2-Clause | 2020-07-14T12:56:51 | 2020-07-14T12:56:50 | null | UTF-8 | C++ | false | false | 5,248 | h | /* ----------------------------------------------------------------------------
* Copyright 2017, Massachusetts Institute of Technology,
* Cambridge, MA 02139
* All Rights Reserved
* Authors: Luca Carlone, et al. (see THANKS for the full author list)
* See LICENSE for the license information
* -------------------... | [
"tonirosinol@hotmail.com"
] | tonirosinol@hotmail.com |
f1a6b51879b536c7e5efee239e6b24eb10ceb414 | c4e9b125eda093d45c29cf6a812c1cf448651963 | /2dShooter/Bullet.h | 3ae21d5e1845fa68b81a82eeb19b0186adf806e6 | [
"MIT"
] | permissive | Bigfellahull/2dShooter | d7d741626d3fcbb6497e8194c05f6ad06bb6129a | 7d37bc414230eef3a7d140fc84d0d7ef56bc18e5 | refs/heads/master | 2021-09-08T07:40:37.421327 | 2021-09-07T14:46:40 | 2021-09-07T14:46:40 | 37,286,453 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 292 | h | #pragma once
#include "Entity.h"
#include "EntityManager.h"
namespace SGS2D
{
class Bullet : public Entity
{
public:
Bullet(DirectX::SimpleMath::Vector2 position, DirectX::SimpleMath::Vector2 velocity);
void Update(InputManager& inputManager, float totalTime, float deltaTime);
};
} | [
"bigfellahull@hotmail.com"
] | bigfellahull@hotmail.com |
6864e0f2a9d741ca221cd9f325e87b86630d1280 | a37d3b38e5f31aa0129097e62c81ff12c666bf3b | /simulator/pytorch.cpp | 0b6a251c7381c93032f574b30ce312618108eb3a | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | frankie4fingers/bps-nav | 4f52dba1534e8d85cd8f02b1faf2a5a2a298c7df | 4c237ba3aaa9a99093065e184c2380b22bb6e574 | refs/heads/master | 2023-08-19T14:51:21.006332 | 2021-09-18T19:33:35 | 2021-10-19T20:59:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,286 | cpp | #include <ATen/ATen.h>
#include <ATen/cuda/CUDAContext.h>
#include <torch/extension.h>
#include <cuda.h>
#include <cuda_runtime.h>
using namespace std;
namespace py = pybind11;
// Create a tensor that references this memory
//
at::Tensor convertToTensorColor(const py::capsule &ptr_capsule,
... | [
"bpshacklett@gmail.com"
] | bpshacklett@gmail.com |
5fd706f6e3590c9d11a4bc774b93071bad46b510 | a012dec356230389c3ea4d88ad7832953f81f4a5 | /Problems/KingdomRush/visualproblemsolver.cpp | 3bcb45fe5521f2523cd0bed942a064ffe664abd1 | [] | no_license | GaelReinaudi/CodeJamCrusher | 5f77483569922637ec51b813af16d47f108cafb5 | 9d04dcdea0f6e6c89b45b149da3cfa1829c9b8e9 | refs/heads/master | 2022-05-07T21:54:56.145189 | 2022-04-11T01:55:33 | 2022-04-11T01:55:33 | 18,425,774 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,536 | cpp | #include "stdafx.h"
#include "visualproblemsolver.h"
#include "KingdomRushCase.h"
QFile m_FileIn;
QFile m_FileOut;
KingdomRush::KingdomRush(QWidget *parent, Qt::WFlags flags)
: QWidget(parent, flags)
, m_NumberCase(0)
, m_ShowFileContents(true)
{
ui.setupUi(this);
// reload settings
QSettings settings("CodeJam"... | [
"gael.reinaudi@gmail.com"
] | gael.reinaudi@gmail.com |
3a08c5aaaf409a5be9512d8acde3ada81bbf7114 | c0a0eeaf4d679e33bc082a860ff1f48a8667bd1f | /src/ThumbnailDelegate.h | 1b9cebcec8706e66baa4b1de507fae9cccdace9d | [] | no_license | ErikssonM/freefall-photo | eb04143ae06c75520418fe38807c1865f3217c50 | 80cb91c90801e352eafb14fff799b890f1557b07 | refs/heads/master | 2022-07-05T22:13:14.314618 | 2020-05-18T16:11:12 | 2020-05-18T16:11:12 | 264,116,668 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 693 | h | #ifndef THUMBNAILDELEGATE_H
#define THUMBNAILDELEGATE_H
#include <QObject>
#include <QPainter>
#include <QStyledItemDelegate>
#include "ImageItem.h"
class ThumbnailDelegate : public QStyledItemDelegate
{
Q_OBJECT
public:
using QStyledItemDelegate::QStyledItemDelegate;
void paint(QPainter *painter, const QStyl... | [
"60point3@gmail.com"
] | 60point3@gmail.com |
0d9a9ec42ce2dfa76903f440202fdcec1cf48944 | b20e4be69d9cd327b782a031d440328bea3d5e57 | /interview_bit/DP/longestIncreasingSubsequence.cpp | 63a0cb31a28558182db3512f510265692efe1f9e | [] | no_license | manishaparuthi/manisha_cpp | c825e6f83f4cab592094094617f82a30bff52066 | de739d4716fef32214934e87ceaed453c188d3a6 | refs/heads/master | 2021-06-04T03:25:47.297005 | 2019-04-19T15:04:07 | 2019-04-19T15:04:07 | 105,850,895 | 8 | 8 | null | 2018-08-18T17:09:16 | 2017-10-05T04:56:04 | C++ | UTF-8 | C++ | false | false | 471 | cpp | int Solution::lis(const vector<int> &A) {
int size = A.size();
vector <int> LIS(size,1);
for(int i = 0 ; i < size ; i++)
{
for(int j = 0 ; j < i ; j++)
{
if((A[i] > A[j]) && (LIS[i] < LIS[j] + 1))
{
LIS[i] = LIS[j] + 1;
}
}
... | [
"noreply@github.com"
] | noreply@github.com |
edaa3d3b56de032fa68ce7cb1dd3fb3577bbe824 | 61ffb3b79ef70dfc23a8420e410340f6b9be7d42 | /Sections1_12/pointer_parsing2.cpp | ae0e546239ad3fa18a47e92852836d5aeec7d6df | [] | no_license | VargheseVibin/cpp-training-codelite | 42d046bd9e30838ad2362c5bb2398da9e4c3551c | 34b54ba5ba4a355aa588ff7e3dd9061b48603c88 | refs/heads/main | 2023-03-06T18:35:08.550564 | 2021-02-22T20:51:19 | 2021-02-22T20:51:19 | 325,937,151 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 305 | cpp | #include <iostream>
using namespace std ;
void swapNumbers(int *a, int *b) {
int c {*a};
*a=*b;
*b=c;
}
int main () {
int a {100} ;
int b {200} ;
cout << "a=" << a << "; b=" << b << endl ;
swapNumbers(&a,&b);
cout << "a=" << a << "; b=" << b << endl ;
return 0;
} | [
"vibinvvarghese@gmail.com"
] | vibinvvarghese@gmail.com |
e1d751da056efc6b5b0d96c3d9e62e38d1913f75 | 955129b4b7bcb4264be57cedc0c8898aeccae1ca | /python/mof/cpp/MySticMerchantMgr.h | 90f3264002dcc72042e9f3c395258cc98d06ccc5 | [] | no_license | PenpenLi/Demos | cf270b92c7cbd1e5db204f5915a4365a08d65c44 | ec90ebea62861850c087f32944786657bd4bf3c2 | refs/heads/master | 2022-03-27T07:33:10.945741 | 2019-12-12T08:19:15 | 2019-12-12T08:19:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,295 | h | #ifndef MOF_MYSTICMERCHANTMGR_H
#define MOF_MYSTICMERCHANTMGR_H
class MySticMerchantMgr{
public:
void getMySticMerchantDataByIndex(int,int);
void getMySticMerchantPropsDataIndex(int,int);
void ackUpMysteriousList(int,int,int);
void reqBuyMysteriousGoods(int,int,int);
void comparePropsByLvl(MysteriousInfo, Mysteri... | [
"xiaobin0860@gmail.com"
] | xiaobin0860@gmail.com |
e7770465bc8c730cabae5e891ba3275ecb84f61a | 41bd4e46fae9bc53a3bd0494f80d0b1f195e03ee | /Sandbox/World3D/include/shader.h | 7ced18cc729803f98aa7261e561ba21330f0123d | [] | no_license | VictorNetto/Bunch | ab965735e717089a9de3ab9e91bac20332f4bcd6 | d04eef6a84f8e825b614e7eabd49a6a2f8a653e4 | refs/heads/master | 2020-04-15T14:41:11.983522 | 2019-02-04T18:49:47 | 2019-02-04T18:49:47 | 164,762,604 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,806 | h | #pragma once
#include "GL/glew.h"
#include "glm/glm.hpp"
#include <string>
#include <fstream>
#include <sstream>
#include <iostream>
class Shader
{
public:
Shader(const char* vertexPath, const char* fragmentPath);
void build();
void use() const;
// utility uniform functions
// -------------------------------... | [
"vigonetto@gmail.com"
] | vigonetto@gmail.com |
00fad48fb000508668b8d152d6ba01386f677464 | fc8b47153a85e5d42db981b348658d0be9fe0385 | /csqlbot/csqlbot/mysqlbot.h | fc6631f5e031c91009a48dd7fc272ff7e4fd8065 | [] | no_license | BackupTheBerlios/sqlbot | e2d004478e0c358779a4ee4abd56f5125bfa3d1d | 3acb474f4cb2915eccb676ecdaed03a8642b6c36 | refs/heads/master | 2016-09-06T15:51:45.300668 | 2004-10-07T18:59:45 | 2004-10-07T18:59:45 | 40,073,145 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,915 | h | /***************************************************************************
botmysql.h - description
-------------------
begin : Tue Oct 14 2003
copyright : (C) 2003 by Steve Gray
email :
********************... | [
"nutter"
] | nutter |
1e6dc737499563fd8437c0bca0b8cac4a57d737a | 036c026ca90f4a4a663f914b5333ecd1da9ff4d3 | /bin/windows/obj/src/lime/_backend/native/_NativeApplication/ApplicationEventInfo.cpp | 3992d8836325034900087ebe62a3547fab146278 | [] | no_license | alexey-kolonitsky/hxlines | d049f9ea9cc038eaca814d99f26588abb7e67f44 | 96e1e7ff58b787985d87512e78929a367e27640b | refs/heads/master | 2021-01-22T04:27:53.064692 | 2018-05-18T02:06:09 | 2018-05-18T02:06:09 | 102,267,235 | 0 | 1 | null | 2018-03-25T19:11:08 | 2017-09-03T13:40:29 | C++ | UTF-8 | C++ | false | true | 5,564 | cpp | // Generated by Haxe 3.4.0 (git build development @ d2a02e8)
#include <hxcpp.h>
#ifndef INCLUDED_lime__backend_native__NativeApplication_ApplicationEventInfo
#include <lime/_backend/native/_NativeApplication/ApplicationEventInfo.h>
#endif
HX_DEFINE_STACK_FRAME(_hx_pos_e0c2b4da9d832f26_734_new,"lime._backend.native._N... | [
"akalanitski@playtika.com"
] | akalanitski@playtika.com |
05caffda9a44a01c9a4b9b85e516a6f33473654e | 1d14766f1b8081d2d4e6ed8c54965948e3bd23a4 | /QwtRasterPolt/ColorBar.h | 0d0a6119ab4902d760d00e0099344c1bc8c171d8 | [] | no_license | VeinySoft/BeiJingQiXiang2018 | 5e4f3ddff5619ca07c41d481de4bcdd65ebb7551 | 9fcfc81d9be091fb4bc44b653ebe9657a5efbd9b | refs/heads/master | 2023-01-19T03:51:16.528367 | 2020-11-24T05:55:46 | 2020-11-24T05:55:46 | 268,947,863 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 752 | h | #pragma once
class ColorBar
{
public:
enum BarStyle { LINEAR, NONLINEARITY};
struct COLOR_UNIT
{
int fr, fg, fb, fa;
};
typedef std::map<float, ColorBar::COLOR_UNIT> COLOR_MAP, *P_COLOR_MAP;
typedef std::pair<float, ColorBar::COLOR_UNIT> COLOR_PAIR;
typedef COLOR_MAP::iterator COLOR_MAP_INTERATOR, *P_COLOR_... | [
"veiny_yxy@163.com"
] | veiny_yxy@163.com |
9fa0427ed699bd6e0fa5979e99b911d8dba2aec6 | 23e393f8c385a4e0f8f3d4b9e2d80f98657f4e1f | /Win32 Programming/CtlColorExplorer/CtlColor.cpp | 6d0cad40c2eb286bffbc0d8f608808e812f6f467 | [] | no_license | IgorYunusov/Mega-collection-cpp-1 | c7c09e3c76395bcbf95a304db6462a315db921ba | 42d07f16a379a8093b6ddc15675bf777eb10d480 | refs/heads/master | 2020-03-24T10:20:15.783034 | 2018-06-12T13:19:05 | 2018-06-12T13:19:05 | 142,653,486 | 3 | 1 | null | 2018-07-28T06:36:35 | 2018-07-28T06:36:35 | null | UTF-8 | C++ | false | false | 13,674 | cpp | // CtlColor.cpp : implementation file
//
#include "stdafx.h"
#include "CtlColorExplorer.h"
#include "Color.h"
#include "rgb.h"
#include "CtlColor.h"
#include "colors.h"
#include "sibling.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
//////////////... | [
"wyrover@gmail.com"
] | wyrover@gmail.com |
f9571c26480d91a3008d0de03f749daa1e330041 | 3245c4b49e77d599b517e13a0ac209db823eb9c5 | /tests/own/rfc4234core.txt.inc | f184121602f2e047871f64af43ff846d04370891 | [] | no_license | glyn/bap | ceb7c3d161d39d09467943467d755f3468a26c74 | 849cae23a6b2df8d1d875ed0f9bab51b907842a6 | refs/heads/master | 2022-11-23T11:53:17.902259 | 2020-05-19T13:42:37 | 2020-05-19T13:42:37 | 265,182,788 | 0 | 0 | null | 2020-05-19T07:57:43 | 2020-05-19T07:57:43 | null | UTF-8 | C++ | false | false | 81 | inc | ABNF = ALPHA / BIT / CHAR / CTL /
DQUOTE / HEXDIG / LWSP / OCTET / VCHAR
| [
"stefan.eissing@dd8174f5-eb3e-0410-b25e-edeba5481af1"
] | stefan.eissing@dd8174f5-eb3e-0410-b25e-edeba5481af1 |
9326ee39d59c413bc5496dbd621d453660c3fab0 | bcb7ff52da955e602bdd8b226f25ce7dfc87395c | /code/external-vxworks-system-headers/include/cppold/stl/string_fwd.h | d2af9e19f01c35d2bfea2ae8765bae9aa58b2fef | [] | no_license | gheckman/UniLang-rewrite | 66920857e5e55e066ddf9e841a56df90d35521ec | a8c18622d0fee4fd91232fa969224a69d58add2f | refs/heads/master | 2021-01-19T07:23:23.296757 | 2016-05-06T20:21:21 | 2016-05-06T20:21:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,457 | h | /*
* Copyright (c) 1997
* Silicon Graphics Computer Systems, Inc.
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose is hereby granted without fee,
* provided that the above copyright notice appear in all copies and
* that both that copyright notice and... | [
"thickey@f2si.net"
] | thickey@f2si.net |
d0f0018c55ad5db77ccc12209e57410c37cbdeef | c09d02c051122a45e0d497a155d139ef5e3d0cf7 | /src/input/FPSController.cpp | 44b8486b34b95311b82490578824620c5d7efb9b | [] | no_license | Maduiini/derelictfactory | 2b0b01d3cfd60a04518417471a1fffe4860479a9 | d29bae62cb9838a50714c6951fedb38595447103 | refs/heads/master | 2020-04-06T07:08:39.143552 | 2014-05-29T13:03:11 | 2014-05-29T13:03:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,568 | cpp |
#include "FPSController.h"
#include "../scene/GameObject.h"
#include <cmath>
namespace der
{
FPSController::FPSController()
: m_rot_x(0.0f)
, m_rot_y(0.0f)
, m_jump_y(0.0f)
, m_jump_velocity(0.0f)
, m_crouch_y(0.0f)
, m_head_bobble_state(0.0f)
, m_speed(0.... | [
"maqqr@users.noreply.github.com"
] | maqqr@users.noreply.github.com |
fe6b537ea2541bedf3fa18ce8e4a5fecd9e6675c | c9eee7113b2fc96eb51fb7e9fc150cfc53ee233c | /src/fileutils-win32.cpp | a9f597b8463cf62786b1075c6e51e5bcc0549092 | [
"BSD-2-Clause"
] | permissive | Pawn-Debugger/Plugin | 5f03a818ed65642b56839d84752ce81ed8611dfa | c5b478787dfaf5d43676ff98c63f9306c8b8dacc | refs/heads/master | 2021-05-12T19:22:31.342638 | 2018-02-27T21:57:02 | 2018-02-27T21:57:02 | 117,091,900 | 15 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,515 | cpp | // Copyright (c) 2011-2015 Zeex
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the above copyright notice,
// this list of conditions an... | [
"misiur66+github@gmail.com"
] | misiur66+github@gmail.com |
92e2dee12ea60663ada1808885171a60c3c1151b | dff8a221638932704df714b30df53de003342571 | /ch16/ch16/ex16_56.h | 079d6350404b9303555a1bb5744c086637b03975 | [] | no_license | DevinChang/cpp | 1327da268cbbde4981c055c2e98301d63e9ca46b | f35ee6f7b2d9217bd2d40db55a697330aeffc7e8 | refs/heads/master | 2021-01-20T13:55:55.399888 | 2017-05-18T08:01:15 | 2017-05-18T08:01:15 | 90,538,499 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 189 | h | #pragma once
#include "ex16_48.h"
#include "ex16_53.h"
template <typename...Args>
std::ostream &errorMsg(std::ostream &os, const Args&... rest) {
return print(os, debug_rep(rest)...);
} | [
"DevinChang@126.com"
] | DevinChang@126.com |
00bd7be5bdcbc87718e67980b010e34574013dd7 | ebacc5b1b457b08eac119e43c030281c98343aeb | /Boost_Study/stringandtext/06.cpp | 8d93d1b6c3be413640cf936183b52f909973dae3 | [] | no_license | deardeng/learning | e9993eece3ed22891f2e54df7c8cf19bf1ce89f4 | 338d6431cb2d64b25b3d28bbdd3e47984f422ba2 | refs/heads/master | 2020-05-17T13:12:43.808391 | 2016-02-11T16:24:09 | 2016-02-11T16:24:09 | 19,692,141 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 612 | cpp | #include <string>
#include <iostream>
#include <vector>
#include <set>
#include <map>
#include <algorithm>
#include <assert.h>
#include <iomanip>
#include <boost/algorithm//string.hpp>
using namespace boost;
using namespace std;
int main()
{
string str("readme.txt");
if(ends_with(str, "txt"))
{
cout << to_upper_... | [
"565620795@qq.com"
] | 565620795@qq.com |
7f8e75ec45f6048d3fa96f4059c9671ce235bce2 | bb2fde26d6bc67ce6854da2233feee177f60a450 | /src/vsp_aero/solver/WOPWOP.H | 812367d31a02a3ff2a2cb797a0cc1799a8813c41 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-public-domain"
] | permissive | planes/OpenVSP | cf9fe402c37c5bec5c66e132a185490526b54bde | d08fd4438d18e8c3784b4db5a1ca6566bf93e7cf | refs/heads/main | 2023-01-24T05:27:17.245713 | 2020-12-11T04:06:15 | 2020-12-11T04:06:15 | 320,462,750 | 0 | 0 | NOASSERTION | 2020-12-11T04:02:53 | 2020-12-11T04:02:51 | null | UTF-8 | C++ | false | false | 4,499 | h | //
// This file is released under the terms of the NASA Open Source Agreement (NOSA)
// version 1.3 as detailed in the LICENSE file which accompanies this software.
//
//////////////////////////////////////////////////////////////////////
#ifndef WOPWOP_H
#define WOPWOP_H
#include <stdio.h>
#include <stdlib.h>
#inclu... | [
"justin.gravett@esaero.com"
] | justin.gravett@esaero.com |
362d3d33f0fdea9d11849f0bbedcddff9d6bb411 | d5a86064cbb9437e06c29c1d423ec7e6915135d2 | /libdevelop/fndnet/src/WnUtility.h | aeecf5ccbc0a4f7bc7de164086eb65b874e2ca0c | [] | no_license | feixuedudu/ericbase | e4c0d844a0c12210c1a9b0116316b8fc6ebe887a | 3cad970bfadf560d8b8da01e31044ec7eb61db7f | refs/heads/master | 2021-06-09T12:12:58.005602 | 2016-12-26T14:37:59 | 2016-12-26T14:37:59 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,491 | h | /// \file WnUtility.h
/// \brief BASE功能类的声明文件
/// \author
/// \version 1.0
/// \date 2011-07-20
/// \history 2011-07-20 新建
#ifdef _WIN32
#pragma once
#endif
/// \brief BASE功能类
class WnUtility
{
public:
/// \brief 获取基础IO服务对象指针
static WnUtility* GetInstance();
/// \brief 删除基础IO服务对象
static voi... | [
"kaishansheng@163.com"
] | kaishansheng@163.com |
a49319abd555164fda40572a4390e1fed1e64f96 | 7b284f1fbcc311af4cb8dbba232edc15fa83f92c | /GamePad.cpp | 60d98ae063c1a6f21cb5bdf715bd1507815a9591 | [] | no_license | fml927/WPILib | 1123754dbe3d80e2d211eb6425c0d01b4fa184b7 | 282bbb57302d39958e59f12c4af16edbf934a5c7 | refs/heads/master | 2020-06-14T00:06:26.983892 | 2013-07-07T04:59:11 | 2013-07-07T04:59:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,940 | cpp | #include "GamePad.h"
#include "DriverStation.h"
#include "Utility.h"
//#include "WPIStatus.h"
/**
* Construct an instance of a gamepad.
* The gamepad index is the usb port on the drivers station.
*
* @param port The port on the driver station that the joystick is plugged into.
*/
GamePad::GamePad(unsigned port... | [
"jefferson.clements@gmail.com"
] | jefferson.clements@gmail.com |
c83bd8f74e6b091d8160194dac6c91317399e572 | e8ca7bd9a0ce9e5ed75d5d53aec33fce60ee73ba | /src/init.cpp | 214dcfd9a04fddc306a71924c71465a6db0db0ab | [
"MIT"
] | permissive | masterofnix/securealumnicoin3 | b8ac9c794deacebffed33acc38ad4a877768e30b | df2f699d2391dcb4e17733d83ac21d15da3c00e4 | refs/heads/master | 2020-12-25T18:17:04.686341 | 2014-12-01T23:10:17 | 2014-12-01T23:10:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 45,630 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "txdb.h"
#include "walletdb.h"
#include "bitcoinrpc.h"
#include "net.h"
#... | [
"masterofnix@gmx.de"
] | masterofnix@gmx.de |
862d31ec8fccaa8e66978c6e8029a8bf5fbafc71 | bdf27704a92e3bae6d53f792702e436c13aca68f | /FPSProject/Source/FPSProject/FPSController.h | 86c3490f6878e71f524376f9294a358007709cb6 | [
"MIT"
] | permissive | TragicDragoon20/UnrealEngine-FPSController | 4653828a2c65ddfe2ce0cdf97800ef79927fc51a | 0d87735c349c4aece1bce0dac84107e1b24b160c | refs/heads/master | 2022-07-22T14:21:36.228087 | 2020-05-20T16:41:33 | 2020-05-20T16:42:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 913 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Character.h"
#include "FPSController.generated.h"
UCLASS()
class FPSPROJECT_API AFPSController : public ACharacter
{
GENERATED_BODY()
public:
// Sets default values for this... | [
"cm227781@falmouth.ac.uk"
] | cm227781@falmouth.ac.uk |
0a34fa6b28567d28336209be7572abb5e8178160 | 6ed4f889fd6c274c742c9030af983654bdb88e87 | /udp/udp_socket.hpp | f7e5c9e44e586e0c32c37bc991ddd39ee38d8260 | [
"MIT"
] | permissive | Life4gal/asio_proxy | efd10c9eb45621a435444ff5ed388de0f0e8ab48 | 4ef205c771cce4173c7fd109dde7add764e917dc | refs/heads/master | 2023-07-05T07:11:54.229205 | 2021-08-03T13:25:08 | 2021-08-03T13:25:08 | 386,954,962 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,916 | hpp | #pragma once
#include <boost/asio/io_context.hpp>
#include <boost/asio/ip/udp.hpp>
#include "../common/address.hpp"
namespace proxy::udp
{
struct udp_socket
{
using socket_type = boost::asio::ip::udp::socket;
using io_context_type = boost::asio::io_context;
using endpoint_type = boost::asio::ip::udp::endpoint... | [
"life4gal@gmail.com"
] | life4gal@gmail.com |
e025f7a021c50e8d05b55f00aff027abb31fbd66 | 2de45d37d5a5c34e341da1e88f0c0465036d8981 | /qcoin-master/src/test/ratecheck_tests.cpp | 25e6abb064bcbd058c85389306289d9e67e5377b | [
"MIT"
] | permissive | Qcoinn/qcoin-master | 0f121596f8a9d3f1ff13837bb0c7611c8985671c | baad627b72d177de4dc4bad5eb34ec8986ea5c3b | refs/heads/master | 2021-01-25T13:06:23.506133 | 2018-03-02T04:15:18 | 2018-03-02T04:15:18 | 123,529,322 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,851 | cpp | // Copyright (c) 2014-2017 The Qcoin Core developers
#include "governance.h"
#include "test/test_qcoin.h"
#include <boost/test/unit_test.hpp>
BOOST_FIXTURE_TEST_SUITE(ratecheck_tests, BasicTestingSetup)
BOOST_AUTO_TEST_CASE(ratecheck_test)
{
CRateCheckBuffer buffer;
BOOST_CHECK(buffer.GetCount() == 0);
... | [
"36142786+Qcoinmn@users.noreply.github.com"
] | 36142786+Qcoinmn@users.noreply.github.com |
20214251de5fe6805b67cb5a2e6d0e17e90b96f5 | 415980fd8919e316194677d7192eb73b6c74f172 | /ecs/include/alibabacloud/ecs/model/DeleteNetworkInterfacePermissionRequest.h | c086da39641b9a3a7324562960ee496e87871009 | [
"Apache-2.0"
] | permissive | cctvbtx/aliyun-openapi-cpp-sdk | c3174d008a81afa1c3874825a6c5524e9ffc0f81 | 6d801b67b6d9b3034a29678e6b820eb88908c45b | refs/heads/master | 2020-06-20T01:19:45.307426 | 2019-07-14T15:46:19 | 2019-07-14T15:46:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,705 | h | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | [
"haowei.yao@alibaba-inc.com"
] | haowei.yao@alibaba-inc.com |
629fda3723d47b41ebe4c5706980a2672dd508d8 | de65543fa6dbf9d99f7748b85ef6e9b35ffc128a | /UpdateAgent/hookapi.cpp | 200c389869b00f7211bac750f8ca140f6f3ed882 | [] | no_license | jadesnake/UpdateAgent | 3d95b0a6e10255ac132de711f0d916c57534380e | 033014d1217c4c17b3a684c7d0cb9bf1387cc918 | refs/heads/master | 2021-01-17T12:45:06.040029 | 2017-07-19T03:17:34 | 2017-07-19T03:17:34 | 56,961,613 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,647 | cpp | // ApiHook.cpp: implementation of the CApiHook class.
#include "stdafx.h"
#include "Hookapi.h"
#include <stdio.h>
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
#define OPEN_FLAGS ( PROCESS_VM_OPE... | [
"jiayh@servyou.com.cn"
] | jiayh@servyou.com.cn |
102419bae950d247b64a8fddac93216e3f0dd9c4 | a3696f7f62511521c974ebb654cdf0162d28c4e6 | /emscripten/bullet/src/Logic/Physic/Trimesh.cpp | a9fdeed67c3b677e224c23293b21c6dce2013463 | [] | no_license | templeblock/geneticAlgorithm_experiment | de4aef6fec14e82483886769b440b26ab020cb2c | 856042364afad278663937b5a86d210fa1202fb0 | refs/heads/master | 2021-06-18T06:27:43.911471 | 2017-05-19T19:16:36 | 2017-05-19T19:16:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,351 | cpp |
#include "Trimesh.hpp"
#include <Bullet/btBulletDynamicsCommon.h>
namespace Physic
{
Trimesh::Trimesh(const std::vector<float>& buffer, const std::vector<int>& indices, int id)
: m_id(id)
{
unsigned int vertNumber = buffer.size();
m_pArr_Vertices = new float[buffer.size()];
memcpy(m_pArr_Vertices, &buffer[0]... | [
"guillaume.bouchet@epitech.eu"
] | guillaume.bouchet@epitech.eu |
f141f4ffc622f3cb7ea1dd013ee37732991c7524 | c0f1cb8c6deb774a3b14e01844e6074cd6ae56e0 | /jc_pir_led_radio_2/jc_pir_led_radio_2.ino | 6f17a07254e02d290a764d15bd1bf733d06927e7 | [] | no_license | jgc/Arduino | 672edf29598b2fa22ac86325cffdd8ab6c6d70ec | eecdf6bdc557d128ded5e6a4ae1846f1fa02e580 | refs/heads/master | 2021-01-10T19:41:09.369287 | 2014-04-05T21:47:37 | 2014-04-05T21:47:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,195 | ino | // 2014-03-20
// Changes not uploaded
// changed led delay from 2000 to 500 ms
// report count corrected
#include <JeeLib.h>
ISR(WDT_vect) { Sleepy::watchdogEvent(); } // interrupt handler for JeeLabs Sleepy power saving
#define myNodeID 2 // RF12 node ID in the range 1-30
#define network 100 // RF12 Netw... | [
"jgcy@yahoo.com"
] | jgcy@yahoo.com |
95d75b0ab3f193a61e6968d62ead2f79c6a955a6 | 634120df190b6262fccf699ac02538360fd9012d | /Develop/CSCommon/source/CSPartyMember.cpp | dbea230a9a183445a20444ad18b49ae0ea91ae44 | [] | no_license | ktj007/Raiderz_Public | c906830cca5c644be384e68da205ee8abeb31369 | a71421614ef5711740d154c961cbb3ba2a03f266 | refs/heads/master | 2021-06-08T03:37:10.065320 | 2016-11-28T07:50:57 | 2016-11-28T07:50:57 | 74,959,309 | 6 | 4 | null | 2016-11-28T09:53:49 | 2016-11-28T09:53:49 | null | UTF-8 | C++ | false | false | 2,607 | cpp | #include "stdafx.h"
#include "CSPartyMember.h"
#include "CTransData.h"
CSPartyMember::CSPartyMember()
: m_nStatusFlag(0)
, m_nHP(0)
, m_nEN(0)
, m_nSTA(0)
, m_nLevel(0)
, m_nFieldID(0)
, m_nChannelID(INVALID_CHANNELID)
, m_nTalentStyle(TS_NONE)
, m_isSetted(false)
{
// do nothing
}
CSPartyMember::CSPartyMember(MUID ... | [
"espause0703@gmail.com"
] | espause0703@gmail.com |
c9a82368ed17976f5de9f2b7d5044b024ccf471a | ecab21462fc75df52132b11349d8e7a0dcd3218c | /gen/blink/bindings/modules/v8/V8DeprecatedStorageInfo.h | b1db9590bfa9a775fe2c8407d55a24e767f848db | [
"Apache-2.0"
] | permissive | mensong/MiniBlink | 4688506a0e9e8f0ed5e6d6daaf470255be2a68b8 | 7a11c52f141d54d5f8e1a9af31867cd120a2c3c4 | refs/heads/master | 2023-03-29T04:40:53.198842 | 2021-04-07T01:56:02 | 2021-04-07T01:56:02 | 161,746,209 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,081 | h | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY!
#ifndef V8DeprecatedStorageInfo_h
#define V8DeprecatedStorageInfo_h
#includ... | [
"mail0668@gmail.com"
] | mail0668@gmail.com |
cb77c74105f3a9ae62bdd6941f29484b71ff1047 | 2f27e474319f0c53a4034d19e0a647de54ebd872 | /28_07_2014/main.cpp | 38d67a9c9db9711b63ed344c842138e1597afb3b | [] | no_license | kur5cpp/Justyna | 3d5f7ed2700bb8f99f51d44b20d564b28a26a3ae | f187ad83ad83a9c0970d596f9f48d3351f48cb36 | refs/heads/master | 2020-06-05T17:14:48.578583 | 2014-08-05T11:02:41 | 2014-08-05T11:02:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,650 | cpp | #include <iostream>
#include <string>
using namespace std;
struct Osoba
{
string imie;
int wiek;
};
Osoba** wypelnij_tabl(Osoba** tabl, int rozmiar)
{
cout << "Podaj imie i wiek: " << endl;
for(int i = 0; i < rozmiar; ++i)
{
*(tabl + i) = new Osoba;
cin >> (*(tabl + i))->imie;
... | [
"kur5cpp@users.noreply.github.com"
] | kur5cpp@users.noreply.github.com |
ef1c41c7aaa9c8e6791d9a9c922c9187ac2f78a9 | da1ba0378e1ed8ff8380afb9072efcd3bbead74e | /google/cloud/iam/iam_connection.h | cb9a1e62d5d051c767551fd7ccc0134115aabbf7 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Jseph/google-cloud-cpp | 76894af7ce744cd44304b48bea32d5116ded7497 | fd8e70650ebac0c10bac4b293972e79eef46b128 | refs/heads/master | 2022-10-18T13:07:01.710328 | 2022-10-01T18:16:16 | 2022-10-01T18:16:16 | 192,397,663 | 0 | 0 | null | 2019-06-17T18:22:36 | 2019-06-17T18:22:35 | null | UTF-8 | C++ | false | false | 7,062 | h | // Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | [
"noreply@github.com"
] | noreply@github.com |
7bac112e8ca50ea0473e9fc38ab7d421389a8bae | f29b09b1b428ff25731cbdfaa499c18102f36d5e | /lib/src/move/mli_mov_runtime.cc | 2408ea1367167196137bb4c7cdda29142e43e95d | [
"BSD-3-Clause"
] | permissive | foss-for-synopsys-dwc-arc-processors/embarc_mli | ee4c052ec97e242706dd14cee4f6cb27421c23a1 | b364bc137463a076a4fd9bed38b2143644c23c3a | refs/heads/mli_dev | 2023-04-13T13:39:48.458305 | 2022-11-07T13:30:32 | 2022-11-08T19:59:49 | 170,473,341 | 31 | 8 | NOASSERTION | 2023-03-25T01:18:02 | 2019-02-13T08:50:37 | C++ | UTF-8 | C++ | false | false | 2,234 | cc | /*
* Copyright 2022, Synopsys, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-3-Clause license found in
* the LICENSE file in the root directory of this source tree.
*
*/
#include <cstring>
#include "mli_debug.h"
#include "mli_ref_compiler_api.hpp"
#include "mli_ref_private_types.hp... | [
"jacco@synopsys.com"
] | jacco@synopsys.com |
af50c3f7c9ac89b1844340f7b280177590d227c7 | 54003b117d21b43bd0a8139be4ba8c1b94461566 | /SiaCore/_ISiaEvents_CP.h | 62255cbbac47cb2efc027ffbf3d60302f76e3235 | [] | no_license | uri247/SIA | 4682375a1b580930dd36ad4045c70633a34e7975 | fdf873228138d5c80c93f1b0f385763644d9be7c | refs/heads/master | 2021-01-10T19:21:12.745370 | 2013-07-15T21:34:15 | 2013-07-15T21:34:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 975 | h | #pragma once
template<class T>
class CProxy_ISiaEvents :
public ATL::IConnectionPointImpl<T, &__uuidof(_ISiaEvents)>
{
public:
HRESULT Fire_complete(LONG code)
{
HRESULT hr = S_OK;
T * pThis = static_cast<T *>(this);
int cConnections = m_vec.GetSize();
for (int iConnection = 0; iConnection < cConnections;... | [
"u@london.org.il"
] | u@london.org.il |
fd06f7e29dc84d7a6c3f4ba31e8d93d9e56f9777 | 1fb90121cf23575e9e5f18d6891da2edf111be63 | /GenesisEngine/GenesisEngine/DataStructures_Test.cpp | 9c88f6e76128e59a4ad5db239e8a03c60ff44727 | [] | no_license | njk464/Genesis_Engine | a918c9a72f909fc8f89fce118a52a37f8be47b9c | 56e96f65a18d32aaeb8ff27df67e9d9a2e94ed67 | refs/heads/master | 2020-04-09T14:03:37.215141 | 2015-09-28T22:44:31 | 2015-09-28T22:44:31 | 41,561,293 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 608 | cpp | #include "DataStructuresTest.h"
DataStructuresTest(){
// to be implemented
}
~DataStructuresTest(){
// to be implemented
}
int runTest(){
if(runArrayTest()) return 1;
if(runStackTest()) return 2;
if(runQueueTest()) return 3;
if(runVectorTest()) return 4;
if(runMatrixTest()) return 5;
return 0;
}
int... | [
"zack441@mac.com"
] | zack441@mac.com |
0dd15275a33ae2c792d57cd77be89a34f58f817c | c31f01f84f7c03215cc666750e968ba49fd1b847 | /src/net/nb_secure_socket.h | bdbcb6679dc26cd696dc16598b005fe939afe06d | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | alex-ozdemir/pbrt-v3 | 2e133cabf4769690fb7e0e6ddde873b503a06a2e | 09646a606572ea0bc7adfbcc5a3c55c2da447321 | refs/heads/master | 2020-04-16T15:25:11.903586 | 2019-03-10T06:55:56 | 2019-03-10T06:55:56 | 165,702,016 | 0 | 0 | BSD-2-Clause | 2019-01-14T17:12:49 | 2019-01-14T17:12:49 | null | UTF-8 | C++ | false | false | 2,305 | h | /* -*-mode:c++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
#ifndef PBRT_NET_NB_SECURE_SOCKET_H
#define PBRT_NET_NB_SECURE_SOCKET_H
#include <string>
#include <deque>
#include "secure_socket.h"
class NBSecureSocket : public SecureSocket
{
public:
enum class State { not_connected = 0,
... | [
"sfouladi@gmail.com"
] | sfouladi@gmail.com |
2e436eeb42e225bc3aeab21bee58e5152de5be28 | 8799d3e93f6edb753d09616651067af2346e0016 | /题目/数论/LightOJ-1336.cpp | b1b6546b96c3aca7699bb2bf81dd1a69f8e8f9d6 | [] | no_license | StarPolygen/Code_Library | 560b6c07af9f975e81efdeda60ce031b5dff3a22 | a259f4e003817b317d4847222235edc09e4e5380 | refs/heads/master | 2021-07-13T06:18:09.796797 | 2020-07-24T13:03:11 | 2020-07-24T13:03:11 | 184,305,507 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,072 | cpp | //找规律
//询问不超过n的 约束和为even的数有多少
//根据题面中的公式: 约束和函数 = p1^(e1+1)-1/p1-1 * p2^(e2+1)-1/p2-1 *......pk^(ek+1)-1/pk-1
//直接分析出:当且仅当n存在质因数pk不为2,且ek为奇数,约束和函数为偶数
//反面得出:n的所有不为2的质因数指数必须为偶数,才会让约束和函数为奇数,之后陷入僵局,不知如何统计这种数字的个数
//化简后:其实就是2*x^2 和 x^2的数的个数,因此用n减去2倍的完全平方数和完全平方数的个数即可
#include<bits/stdc++.h>
#define ll long long
using namespa... | [
"34528868+StarPolygen@users.noreply.github.com"
] | 34528868+StarPolygen@users.noreply.github.com |
23eea93215a160de90fec97a63f882601b613c97 | 8c0ef2f2714369fb3d6dbe8be03186e2d9d29d37 | /ImageProcess/core.cpp | 559c7c99b381f0acc8f850a6af81de15e8d52902 | [] | no_license | LiuRyu/RyuImprocSet | 14ba04c29bde3360b5440be82edd5b103e832e13 | b53ec8fcfca073e572585f076f81458a32549694 | refs/heads/master | 2021-05-15T17:09:35.890579 | 2017-12-08T09:38:27 | 2017-12-08T09:38:27 | 107,485,603 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 9,959 | cpp | #include "stdafx.h"
#include <stdio.h>
#include <malloc.h>
#include <math.h>
#include "types.h"
#include "core.h"
RyuPoint ryuPoint(int x, int y)
{
RyuPoint p;
p.x = x;
p.y = y;
return p;
}
RyuRect ryuRect(int x, int y, int width, int height)
{
RyuRect r;
r.x = x;
r.y = y;
r.width = width;
r.height = h... | [
"312724752@qq.com"
] | 312724752@qq.com |
be2c3abd81c8053ae774aa8a00352f227a1ec6fd | 8d9eed7eb8163ba64c49835c04db140f73821b56 | /eowu-data/src/Field.hpp | e79018f8ff27b7c2359cf07c23ffbd31bf2c0aed | [] | no_license | nfagan/eowu | 96dba654495e26ab3e39cd20ca489acf55de6a5d | 5116f3306a3f7e813502ba00427fdc418850d28f | refs/heads/master | 2020-03-27T14:18:11.835137 | 2019-01-02T18:08:19 | 2019-01-02T18:08:19 | 146,655,600 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,233 | hpp | //
// Field.hpp
// eowu
//
// Created by Nick Fagan on 9/7/18.
//
#pragma once
#include "Types.hpp"
#include "Serialize.hpp"
#include <string>
#include <vector>
#include <initializer_list>
#include "../../eowu-gl/deps/variant/include/mpark/variant.hpp"
namespace eowu {
namespace data {
template<typename ...... | [
"nick@fagan.org"
] | nick@fagan.org |
4d72cfc0aa16ea7ed0cd1f7b1fafdef84edf56af | 8c452a6719f25b5d3a7266a1074064f79d93aa66 | /src/gfx/Gfx.h | 3db4330e0ceda2687db3f42e748477d2b8ecda29 | [
"Zlib"
] | permissive | Jeetendranani/mud | 941e1215f9a9adbf51513fb4c6e5bfefa04c91eb | dd595948f1f246e541d6e243a5add2a4b1d1435e | refs/heads/master | 2020-04-29T04:05:13.384455 | 2019-03-12T16:56:25 | 2019-03-12T16:56:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,133 | h | // Copyright (c) 2019 Hugo Amiard hugo.amiard@laposte.net
// This software is provided 'as-is' under the zlib License, see the LICENSE.txt file.
// This notice and the license may not be removed or altered from any source distribution.
#pragma once
#ifndef MUD_MODULES
#include <stl/string.h>
#include <stl/span.h>
... | [
"hugo.amiard@laposte.net"
] | hugo.amiard@laposte.net |
de1fbdfff4639962307a39af2254967ee79f0d1f | 9a45c7750372697364481b441a12c7751d0dcb0d | /scanArray/longestOnes_Kchanges.cpp | e28fbe628e6cdff6d994a5ee4401dc6471613d33 | [] | no_license | ginobilinie/codeBook | 5879c4b714ab0f618d43e86d79599bf0cbf42ef5 | 6c16e0aeab16cca9a4c75cf91880b27bf37f5e1d | refs/heads/master | 2021-01-12T07:14:26.705431 | 2019-04-05T03:18:01 | 2019-04-05T03:18:01 | 76,921,542 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 542 | cpp | class Solution {
public:
int longestOnes(vector<int>& A, int K) {
int res = 0, zero = 0, left = 0;
for (int right = 0; right < A.size(); right++) {
if (A[right] == 0)
zero++;
while (zero > K) {
if (A[left] == 0)
{
... | [
"noreply@github.com"
] | noreply@github.com |
65e59b9dfddef650163ac1c514a85b7b99c90bea | 682951909d1deace6ee672da6dec718501754d61 | /Tree/Binary Tree/Heap/절댓값_힙_백준.cpp | 0575f268f30051b68f9845afa65b052c3a227bfc | [] | no_license | ctwc55/Algorithm_studying | 378f3633e9d727ca55b5979c7d2e642488f11b59 | 61f6b76548f18ba34711a84fb84a6b768d510ae2 | refs/heads/master | 2021-06-26T06:55:17.225224 | 2020-11-02T14:44:06 | 2020-11-02T14:44:06 | 168,961,868 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,983 | cpp | #include <bits/stdc++.h>
#define MAXN 100000000
using namespace std;
pair<int,int> heap[100001]; //first:org second:abs
int heap_size=0;
void absMinHeap(int n){
if(n==1) return;
if(heap[n/2].second>heap[n].second&&heap[n/2].second!=0) swap(heap[n/2], heap[n]);
else if(heap[n/2].second==heap[n].second){
... | [
"thstmdduftm@naver.com"
] | thstmdduftm@naver.com |
1983f3ab6e60e6928c035c40fd3a57a9e381ac36 | ab62f6fe96f590b70fe510d0f802b6f9bd323ab5 | /include/CountingSort.h | 5f24ef55103b2b4b07affe22012ff9d68c1b820d | [] | no_license | happysnail/mSortare2 | f9d0815faad55383c378c480312adcc7bb0f9bc0 | 9cc9799405394944a2450dab6f4e31218fc76b9f | refs/heads/master | 2020-07-03T22:14:45.573439 | 2017-02-27T09:37:04 | 2017-02-27T09:37:04 | 74,225,775 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,167 | h | #ifndef COUNTINGSORT_H
#define COUNTINGSORT_H
#include "Sort.h"
#include <iostream>
#include <fstream>
class CountingSort : public Sort
{
public:
CountingSort();
virtual ~CountingSort();
void sort(int vect[], int size){
int *a,*b,*c,n=size,i,j;
a = new int [n];
... | [
"carp.adi96@gmail.com"
] | carp.adi96@gmail.com |
3db6ca608202083faae456d61067ed19910cf01d | 92418ed0ed1be6558e2f9098858885f238703b60 | /BNAPlatform-weighted-network-win64-cuda-20140905/src/CorMat/CUCorMat/CUCorMat/CorMat.cpp | 6632eb6fc684a223da0f53908880c14e9de72420 | [] | no_license | BNAplatform-organization/codeVSassembly-function | 04875f1e845ec7faabaa173b4e06758062a684e7 | 6b0391a79d6d0806fba8d56904d2ecdbf325cc1b | refs/heads/master | 2020-04-14T05:09:36.023795 | 2015-12-25T12:56:36 | 2015-12-25T12:56:36 | 38,564,118 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 26,247 | cpp |
#include <stdlib.h>
#include <memory.h>
#include <string.h>
#include <ctime>
#include <cmath>
#include <iomanip>
#include "dirent.h"
#include <iostream>
#include <fstream>
#include <stack>
using namespace std;
typedef float real__t;
typedef unsigned int uint__t;
const int HdrLen = 352;
double ProbCut = 0.5;
const i... | [
"newstart15lerond@163.com"
] | newstart15lerond@163.com |
4d898eae27e1bce365f628c05a8c22847550f036 | 462f49a433db351e229232dc6ac3501a15c7a399 | /hangman/GameLauncher.h | e3ac7a35431c5b1a7e34be7a0b89bcd936699f47 | [] | no_license | sintaxiz/cpp-labs | 4d7bb5db80e458eeab76656c922f3dcf5d64bfc8 | 20c7f03cd128463bb607b5e6d6c45f4d59bca01a | refs/heads/master | 2023-02-04T09:19:07.874317 | 2020-12-27T12:01:18 | 2020-12-27T12:01:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 170 | h | #pragma once
#include <string>
namespace hangman {
class GameLauncher {
public:
~GameLauncher() = default;
static void startGame();
};
}
| [
"natashaleind@gmail.com"
] | natashaleind@gmail.com |
db21e3222864bcb1505b63de9614df8bb849869b | bc0ff8053a3551768e30463a002b366b847196e1 | /src/graph.h | ee28927b081eba6c497f04aeec224c89f01022a8 | [] | no_license | wutzi15/makefiles | c343f5e36da2c08540a957e2fdcd0c1b11babca8 | 82ca2b9b85e68ac51bf576ae19d0a3e6b2fcdf8a | refs/heads/master | 2021-01-01T16:12:49.345893 | 2011-07-30T15:50:22 | 2011-07-30T15:50:22 | 2,129,172 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 172 | h | #ifndef _GRAPH
#define _GRAPH
#include "pref.h"
//#include "boost/filesystem.hpp"
void graph(std::string name,bool big);
inline void init();
void AtlasStyle();
#endif | [
"wutzi@Cqubebook2.local"
] | wutzi@Cqubebook2.local |
e55d3cb882aea3c5c69d05f609c5e62bd7220090 | d0d734998632a1db39459ee07c244adb47e8797d | /GeoServer/src/main.cpp | c4500d4ae2343446351bd163e8f67d9a730b2dd8 | [] | no_license | GPUWorks/webAsmPlay | 68ade4b47ee5fc33ebabdda07d799ed6d7f23548 | 13d29ed6f4754abc7c8796689badd6e73da606d3 | refs/heads/master | 2020-04-06T22:46:58.927041 | 2018-11-15T07:40:42 | 2018-11-15T07:40:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,706 | cpp |
/**
╭━━━━╮╱╱╱╱╱╱╱╱╱╭╮╱╭━━━╮╱╱╱╱╱╱╭╮
┃╭╮╭╮┃╱╱╱╱╱╱╱╱╱┃┃╱┃╭━╮┃╱╱╱╱╱╱┃┃
╰╯┃┃╰╯╭━╮╭━━╮╭╮┃┃╱┃┃╱╰╯╭━━╮╭━╯┃╭━━╮
╱╱┃┃╱╱┃╭╯┃╭╮┃┣┫┃┃╱┃┃╱╭╮┃╭╮┃┃╭╮┃┃┃━┫
╱╱┃┃╱╱┃┃╱┃╭╮┃┃┃┃╰╮┃╰━╯┃┃╰╯┃┃╰╯┃┃┃━┫
╱╱╰╯╱╱╰╯╱╰╯╰╯╰╯╰━╯╰━━━╯╰━━╯╰━━╯╰━━╯
// This software is provided 'as-is', without any express or implied
// warranty. In no event will... | [
"trailcode@gmail.com"
] | trailcode@gmail.com |
37903ea31eed91fe446e26ac495a038b811ef8e2 | 9d2d18eead188651365b2c79017e11296609f36d | /Power_of_Four/submission1.cpp | d5c8c6997337ab13d0624cfed9133a77f98b09e9 | [] | no_license | Zhanghq8/Leetcode_notes | 5605fb361645d8ffa1153012c4b6d63718037cd9 | a51eafa78524a1ee873da325f79e7e56eaaa0b7d | refs/heads/master | 2021-07-10T01:27:14.878587 | 2020-08-02T01:09:40 | 2020-08-02T01:09:40 | 174,649,314 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 533 | cpp | #include <iostream>
#include <string>
using namespace std;
class Solution {
public:
bool isPowerOfTwo(int n) {
if (n == 0) {
return false;
}
if (n == 1) {
return true;
}
double temp = n;
while (temp >= 4) {
if ((int)temp % 4 != 0)... | [
"hzhang8@wpi.edu"
] | hzhang8@wpi.edu |
2ae08ff4008f647b89c90ba9b0df521c5aca5476 | eefb836e9ec761c2b1f102b4007ed7ab6380c7a2 | /code/delta/core/modules/shle/libSceNpTrophy/libSceNpTrophy_api.cpp | 23d2abf9739314e7ab5a972f2d3cd57c14ddd2fa | [] | no_license | RyuDanuer/ps4delta | be6ee054ca3ae59159ecbcc59addb77c6f60c85f | e3ee468357fa0fbbd428d52034fc84e76b851c4c | refs/heads/master | 2020-09-25T05:18:15.631545 | 2019-12-02T20:13:54 | 2019-12-02T20:13:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,113 | cpp |
// Copyright (C) 2019 Force67
// This file was generated on Sat Sep 7 22:01:27 2019
#include "../../ModuleLinker.h"
#include "libSceNpTrophy.h"
static const mlink::FunctionInfo functions[] = {
{0x6939C7B3B5BFF549, &sceNpTrophyAbortHandle},
{0x72A1A460037F811C, &sceNpTrophyCaptureScreenshot},
{0x5DB9236E86D9942... | [
"prelink835@gmail.com"
] | prelink835@gmail.com |
a4369e811112dd21859ba7ea7e4e5b5014994c77 | 801f7ed77fb05b1a19df738ad7903c3e3b302692 | /refactoringOptimisation/differentiatedCAD/occt-min-topo-src/src/MeshVS/MeshVS_DataMapIteratorOfDataMapOfTwoColorsMapOfInteger.hxx | e968315ce3c2505289daddc2f95f481af096db18 | [] | no_license | salvAuri/optimisationRefactoring | 9507bdb837cabe10099d9481bb10a7e65331aa9d | e39e19da548cb5b9c0885753fe2e3a306632d2ba | refs/heads/master | 2021-01-20T03:47:54.825311 | 2017-04-27T11:31:24 | 2017-04-27T11:31:24 | 89,588,404 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 212 | hxx |
#ifndef MeshVS_DataMapIteratorOfDataMapOfTwoColorsMapOfInteger_HeaderFile
#define MeshVS_DataMapIteratorOfDataMapOfTwoColorsMapOfInteger_HeaderFile
#include <MeshVS_DataMapOfTwoColorsMapOfInteger.hxx>
#endif
| [
"salvatore.auriemma@opencascade.com"
] | salvatore.auriemma@opencascade.com |
77be49ac279d4af25da5cec014955f2bb7586fbd | 46019d4194f4f1a30dcc89e9a9e659d76fc02427 | /examples/stream_dump.cpp | f413626b262a056b5cb659dfb739a6d9b695bf20 | [
"BSD-2-Clause"
] | permissive | LightBitsLabs/libtins | 54517ab67cd2365fe4edb2a7786bf035f4402a60 | d68235b5d9f9876d9b967575ecd01e367ae86d10 | refs/heads/master | 2023-06-21T14:52:30.952254 | 2017-10-29T15:09:10 | 2017-10-29T15:09:10 | 95,368,486 | 0 | 0 | null | 2017-10-29T15:09:11 | 2017-06-25T15:29:49 | C++ | UTF-8 | C++ | false | false | 6,022 | cpp | /*
* Copyright (c) 2017, Matias Fontanini
* 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... | [
"matias.fontanini@gmail.com"
] | matias.fontanini@gmail.com |
3a4d36367ee506a57a76e4dd83abaeb24ea3519e | bd6882b7bfe41cd0216e885586ff6b3618a2c4b8 | /include/fast_io_legacy_impl/c/universal_crt.h | 45c6aa46c0b217ab19a8ae4fa27fc773b156a77f | [
"MIT"
] | permissive | strott/fast_io | f80f2f6b597a6c33fb171319073900e489b6366d | ea92b4816710d6b9bd863b112341e956dc65ec5e | refs/heads/master | 2022-11-23T17:04:59.535552 | 2020-07-28T20:36:42 | 2020-07-28T20:36:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,220 | h | #pragma once
namespace fast_io
{
/*
referenced from win10sdk ucrt
C:\Program Files (x86)\Windows Kits\10\Source\10.0.19041.0\ucrt
//-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
//
// Internal Stream Types (__crt_stdio_stream and friends)
//
//-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+... | [
"euloanty@live.com"
] | euloanty@live.com |
56b7f4817f68b6faba292fa8dae73487f23a6c78 | 1913e2595ab0bfec71f28a953a46e624514b55e8 | /exercises/05-collections/bracketing-balance/src/bracketing-balance.cpp | f0dbf2c53c81f43081d630750d7af1201535597b | [] | no_license | eugene-shcherbo/programming-abstractions | 4c43149a980a51a836e97c5ee85953eb457d0a40 | f1b7c8db3e5a33f349e638e5a9c06a21bd8420cc | refs/heads/master | 2021-02-18T07:45:08.296484 | 2020-11-25T07:46:16 | 2020-11-25T07:47:00 | 245,175,467 | 0 | 0 | null | 2020-03-10T14:36:06 | 2020-03-05T13:50:27 | C++ | UTF-8 | C++ | false | false | 1,387 | cpp | #include <iostream>
#include <string>
#include "stack.h"
#include "console.h"
using namespace std;
bool checkBalance(const string& text);
bool bracketsMatch(char br1, char br2);
void testCheckBalance(const string& text, bool expected);
int main() {
testCheckBalance("(([])", false);
testCheckBalance(")(", fal... | [
"eugene.shcherbo@gmail.com"
] | eugene.shcherbo@gmail.com |
c947be54cd864c3642492f65184abfd63f316054 | 2a60eb5064dcc45824fe7a1ea073c35647c5407f | /src/client/ui/AuthFailedWindow.h | d77765cc504dbffe8bd64d2cd00489901892adf6 | [] | no_license | Victorique-GOSICK/engine | a20627a34191c4cdcd6f71acb7970e9176c55214 | a7828cfc610530080dafb70c5664794bde2aaac7 | refs/heads/master | 2021-07-20T00:04:28.543152 | 2017-10-27T18:42:29 | 2017-10-27T18:42:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 504 | h | /**
* @file
*/
#pragma once
#include "ui/Window.h"
#include "core/Common.h"
namespace frontend {
class AuthFailedWindow: public ui::Window {
public:
AuthFailedWindow(Window* parent) :
ui::Window(parent) {
core_assert_always(loadResourceFile("ui/window/client-authfailed.tb.txt"));
}
bool OnEvent(const tb:... | [
"martin.gerhardy@gmail.com"
] | martin.gerhardy@gmail.com |
12253adde75760c3d90d937722f4e5d25585a8ba | e83650d4c2fe5fe04f1d12ce0817da6532104264 | /Road to compe c++/worngsubtrack.cpp | 6a3e3ff45ece58a7cc462fccc39de2143f403819 | [] | no_license | ackermanjayjay/Road-to-Epic | bc983aef8b80aa54f7941fbcb5760ca284665751 | 3fe2839518ca62e1700613882452810e8089ab49 | refs/heads/main | 2023-07-11T23:06:18.609798 | 2021-08-18T03:41:35 | 2021-08-18T03:41:35 | 371,303,091 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 182 | cpp | #include <iostream>
using namespace std;
int main() {
int a ;
int b ;
cin>>a>>b;
for(int i=0; i<b; i++)
{
if(a%10==0)
{
a/=10;
}else{
a--;
}
}
cout<<a;
} | [
"reza23198@gmail.com"
] | reza23198@gmail.com |
e6766bb12b3c348d5e6376cb31e53263258a5b28 | e5e5e8b07e8cd21f23fd4befbc7e7aceb1bf61f5 | /src/common/timings.cc | 657a519fa8d2578488785c84a9a8352fe05067e1 | [
"BSD-3-Clause",
"MIT"
] | permissive | sumoprojects/sumokoin | c4074f7b4f40c909b9d9dc9ce01521adb3cccb3e | 2857d0bffd36bf2aa579ef80518f4cb099c98b05 | refs/heads/master | 2022-03-04T02:21:41.550045 | 2021-08-22T04:32:04 | 2021-08-22T04:32:04 | 89,453,021 | 175 | 245 | NOASSERTION | 2021-08-22T04:32:05 | 2017-04-26T07:45:08 | C++ | UTF-8 | C++ | false | false | 3,017 | cc | #include <string.h>
#include <errno.h>
#include <algorithm>
#include <boost/algorithm/string.hpp>
#include "misc_log_ex.h"
#include "timings.h"
#define N_EXPECTED_FIELDS (8+11)
TimingsDatabase::TimingsDatabase()
{
}
TimingsDatabase::TimingsDatabase(const std::string &filename):
filename(filename)
{
load();
}
Ti... | [
"quang.vu@sumokoin.org"
] | quang.vu@sumokoin.org |
8aabe79f0859ffd2c29a0e519ddc5e0a901dc92d | 82597438550782d228ccba2a182fa48c8f90ce18 | /Value Oriented ADT/1310/CSC1310/CD.h | 523236d3dbaec395b396076d54af5703a8fa2658 | [] | no_license | HoldenHA/CSC1310 | 5d423eeb5ef58a007f409034d90c851c80418cf9 | 27fcfd8d6321486578730ad6596a22abfcd32db4 | refs/heads/master | 2021-08-30T18:28:32.348626 | 2017-12-19T00:59:31 | 2017-12-19T00:59:31 | 114,416,877 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 792 | h | #if !defined CD_H
#define CD_H
#include "Song.h"
#include "Text.h"
using CSC1310::String;
#include "ListArray.h"
using CSC1310::ListArray;
namespace CSC1310
{
class CD
{
private:
String* artist;
String* title;
int year;
int rating;
int num_tracks;
ListArray<Song>* songs;
p... | [
"itsholden@gmail.com"
] | itsholden@gmail.com |
594b6833bce2ac6cb87174b4007a7d9f1e8706c8 | cefd6c17774b5c94240d57adccef57d9bba4a2e9 | /Data/include/Poco/Data/SimpleRowFormatter.h | e8c67fc34c6066a2262b07982847be27ee08eb08 | [
"BSL-1.0"
] | permissive | adzhou/oragle | 9c054c25b24ff0a65cb9639bafd02aac2bcdce8b | 5442d418b87d0da161429ffa5cb83777e9b38e4d | refs/heads/master | 2022-11-01T05:04:59.368831 | 2014-03-12T15:50:08 | 2014-03-12T15:50:08 | 17,238,063 | 0 | 1 | BSL-1.0 | 2022-10-18T04:23:53 | 2014-02-27T05:39:44 | C++ | UTF-8 | C++ | false | false | 3,752 | h | //
// RowFormatter.h
//
// $Id: //poco/Main/Data/include/Poco/Data/SimpleRowFormatter.h#1 $
//
// Library: Data
// Package: DataCore
// Module: SimpleRowFormatter
//
// Definition of the RowFormatter class.
//
// Copyright (c) 2006, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// Permission i... | [
"adzhou@hp.com"
] | adzhou@hp.com |
512561db2c3cf7feb4cbc93c567534955f66de17 | 6d610c9256fc17e833383e4d2c873482870b2094 | /ofApp.cpp | 9a30c8ea8167cc56dc645a0c710555db306c6858 | [] | no_license | junkiyoshi/Insta20180307 | 369571382738522a80a952e1b401fa8d52419b93 | 29c1dc226e90b4e424ffd7a12bd182a2b10e6ae9 | refs/heads/master | 2020-04-07T11:21:59.444760 | 2018-03-07T08:51:52 | 2018-03-07T08:51:52 | 124,207,053 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,080 | cpp | #include "ofApp.h"
//--------------------------------------------------------------
void ofApp::setup() {
ofSetFrameRate(60);
ofBackground(239);
ofSetWindowTitle("Insta");
ofSetRectMode(ofRectMode::OF_RECTMODE_CENTER);
}
//--------------------------------------------------------------
void ofApp::update() {
}
... | [
"nakauchi.k@g-hits.co.jp"
] | nakauchi.k@g-hits.co.jp |
52f685f95787d97d8432d8fff68366dc56a8c5e2 | 1cb28e7f237ff6ca9c3ce7e4cc530185aa98e3de | /ShadowPointLight.cpp | 68f83c1535a44bd2b0b1b2c3f7722d1883cae12e | [] | no_license | jonathanvdc/computer-graphics | 1aa40c7b90ff7dbe5aa2185953eb67f28daa189c | 62b9f518026b4e75b7fcaac6f7048617369c816f | refs/heads/master | 2021-05-06T04:22:43.616582 | 2017-12-21T10:37:27 | 2017-12-21T10:37:27 | 114,994,232 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,949 | cpp | #include "ShadowPointLight.h"
#include <algorithm>
#include <memory>
#include "IDepthBuffer.h"
#include "ILight.h"
#include "ILightComponent.h"
#include "IProjection.h"
#include "ISurface.h"
#include "ITransformation.h"
#include "PixelPosition.h"
#include "ReflectionProperties.h"
#include "Vector2.h"
#inc... | [
"jonathan.vdc@outlook.com"
] | jonathan.vdc@outlook.com |
aa2995ecdeb47a2e7f5c0717c7c39b6d8ed49c4d | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/httpd/gumtree/httpd_new_log_7206.cpp | eeb0c36f15756acb2a5b50c733b6933c7d515324 | [] | 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 | 50 | cpp | fprintf(stderr, "Error: %s\n", htdbm->ctx.errstr); | [
"993273596@qq.com"
] | 993273596@qq.com |
ede492843d83f876fedb3f3937ee7476221b5745 | 5e3db2bd0227ec1a761ee0f3c7100fb2aca8e5fb | /LeetCodeSolutions/peakIndexInMountainArray(2).cpp | c95e53a16c3705dcc720ad296ae85ecb39614161 | [] | no_license | Raunak173/hacktoberfest | e09eaff87c6e2eb12935c03f404c17e20146f9a8 | 1d21f9a314bfb05674fa793a2a80eedceeca6eda | refs/heads/main | 2023-08-16T04:05:09.908878 | 2021-10-14T09:58:14 | 2021-10-14T09:58:14 | 417,076,974 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 331 | cpp | class Solution {
public:
int peakIndexInMountainArray(vector<int>& arr) {
int low=0;
int high=arr.size()-1;
while(low<=high)
{
int mid=low+(high-low)/2;
if(arr[mid]<arr[mid+1])
low=mid+1;
else
high=mid-1;
}
return lo... | [
"noreply@github.com"
] | noreply@github.com |
7b955d2135e65ffacf24c247dc8f7a46c3d05f65 | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/make/hunk_1030.cpp | 73c79508b3617ca7a78e670cd913708041e2f2d2 | [] | no_license | ccdxc/logSurvey | eaf28e9c2d6307140b17986d5c05106d1fd8e943 | 6b80226e1667c1e0760ab39160893ee19b0e9fb1 | refs/heads/master | 2022-01-07T21:31:55.446839 | 2018-04-21T14:12:43 | 2018-04-21T14:12:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 492 | cpp | if (jobserver_fds->idx > 1)
fatal (NILF, _("internal error: multiple --jobserver-fds options"));
- /* The combination of a pipe + !job_slots means we're using the
- jobserver. If !job_slots and we don't have a pipe, we can start
- infinite jobs. */
-
- if (job_slots != 0)
- fatal ... | [
"993273596@qq.com"
] | 993273596@qq.com |
406552a24d9b1186831a553bd76522048801e324 | 9f3d0bad72a5a0bfa23ace7af8dbf63093be9c86 | /vendor/shaderc/third_party/spirv-tools/test/binary_to_text_test.cpp | d7adae34b681ca729a7897fa9eb1b2043eb17275 | [
"Apache-2.0",
"LicenseRef-scancode-generic-cla",
"GPL-3.0-or-later",
"GPL-3.0-only",
"LicenseRef-scancode-khronos",
"LicenseRef-scancode-nvidia-2002",
"MIT",
"BSD-3-Clause",
"Zlib"
] | permissive | 0xc0dec/solo | ec700066951f7ef5c90aee4ae505bb5e85154da2 | 6c7f78da49beb09b51992741df3e47067d1b7e10 | refs/heads/master | 2023-04-27T09:23:15.554730 | 2023-02-26T11:46:16 | 2023-02-26T11:46:16 | 28,027,226 | 37 | 2 | Zlib | 2023-04-19T19:39:31 | 2014-12-15T08:19:32 | C++ | UTF-8 | C++ | false | false | 22,933 | cpp | // Copyright (c) 2015-2016 The Khronos Group Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable ... | [
"0xc0dec@gmail.com"
] | 0xc0dec@gmail.com |
c1a096ba1c1b4fe6f3fcd3f90d667172003be994 | 0b6617ba233ad141411cbf55531b036f765ede31 | /ImageIdentification/build/include/QCAR/MultiTarget.h | 4873299cc2794075b208a31a5c1ab6b76f0b3cea | [] | no_license | nofailyoung/ImageIdentification | a33d77a9163d2cdde1bdff54397e285e08c8c7f4 | 68ad65fc9d21dd678ee81cea29610edff967b3c4 | refs/heads/master | 2021-01-18T16:40:26.995496 | 2015-03-23T03:34:54 | 2015-03-23T03:34:54 | 62,685,794 | 1 | 0 | null | 2016-07-06T02:46:45 | 2016-07-06T02:46:45 | null | UTF-8 | C++ | false | false | 3,464 | h | /*===============================================================================
Copyright (c) 2010-2014 Qualcomm Connected Experiences, Inc. All Rights Reserved.
Vuforia is a trademark of QUALCOMM Incorporated, registered in the United States
and other countries. Trademarks of QUALCOMM Incorporated are used with pe... | [
"zjjmusic@163.com"
] | zjjmusic@163.com |
8c54229cdc0d02bfa666d67088ada7b932b758bb | 81b23315fdba81c40ac8934f2e1d990d968eb1ef | /statement_table.cpp | 53498799f8524eb77a281d94ec3dd9d348b4d5c6 | [] | no_license | yuu511/Compilers_CS104a | 52889e8b342bff0f5c17944c03f7bb08da426b31 | 3106e3392a145e0575747c4df5bfd77e71548bad | refs/heads/master | 2020-05-18T16:10:01.986384 | 2019-08-26T11:05:09 | 2019-08-26T11:05:09 | 184,513,682 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 314 | cpp | #include "statement_table.h"
statement::statement (astree *expr_,reg *t0_ ){
expr = expr_;
t0 = t0_;
condition = nullptr;
label = nullptr;
op = nullptr;
t1 = nullptr;
t2 = nullptr;
}
statement::~statement(){
delete label;
delete condition;
delete t0;
delete op;
delete t1;
delete t2;
}
| [
"pipimi@tfwno.gf"
] | pipimi@tfwno.gf |
1db4b8cae5e7bc0a0479dc08f7e684909f8418ce | 8d9f708fb5683300ab4fdf33be0e456d73855c82 | /Coursework/Coursework/SwordBladeMesh.cpp | 0d4c523530c60f5f9a1462a1e1c80bdecfbbec0a | [] | no_license | teseabrook/Honours-Project | e21902934a11acfab2a357fba4f5538db1db1775 | 86fbfd1af49f7bece4b6fdf72d0c822eb49872b7 | refs/heads/main | 2023-07-19T05:06:01.286077 | 2021-09-07T15:52:01 | 2021-09-07T15:52:01 | 316,050,283 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 26,125 | cpp | #include "SwordBladeMesh.h"
#define DEBUG_SCALE_FACTOR 25.0f
SwordBladeMesh::SwordBladeMesh(ID3D11Device* device, ID3D11DeviceContext* deviceContext, ParameterSet* a_set, int lresolution)
{
set = a_set;
resolution = lresolution;
initBuffers(device);
}
SwordBladeMesh::~SwordBladeMesh()
{
BaseMesh::~BaseMesh();
}... | [
"1600045@uad.ac.uk"
] | 1600045@uad.ac.uk |
40b067488a1dcbbb0c1c6addb79c6aa5d057a0a1 | 9be33fe923f68f0738fc0fa1da3a24609e53801f | /jump_search/jump_search.cpp | 7e613f798f1c7e9e78c323766a72ceda1c11e20e | [] | no_license | rohitsh16/CP_mathematics | 807a1ca00f13c6b982dc880032eeaef2d4db7382 | 909226b24d0449e33e62e288469eefb9feda7341 | refs/heads/master | 2021-07-12T08:31:51.846353 | 2020-07-14T16:10:59 | 2020-07-14T16:10:59 | 212,121,573 | 3 | 72 | null | 2023-03-29T19:59:19 | 2019-10-01T14:45:07 | C++ | UTF-8 | C++ | false | false | 825 | cpp | #include <bits/stdc++.h>
using namespace std;
int jumpSearch(int arr[], int x, int n)
{
int step = sqrt(n);
int prev = 0;
while (arr[min(step, n)-1] < x)
{
prev = step;
step += sqrt(n);
if (prev >= n)
return -1;
}
while (arr[prev] < x)
{
pre... | [
"himanshu.shekharjha.272@gmail.com"
] | himanshu.shekharjha.272@gmail.com |
8c4f854425be2156558d5f7874dd04d6cdcac524 | 8b2182e95b5441c3ed7497b8443cff5b0237f35c | /C5Dlg.cpp | d8afcdf44213060ad3d21a3dd211455aa89dbf37 | [] | no_license | Jeremy-625/C-plus-project | 9b850a86a1a6ce67353114514c5cef2da77bd482 | f0c03efaae83f54a4ef870b65915c87d499ea3f2 | refs/heads/master | 2022-04-19T01:56:35.756217 | 2020-04-10T07:22:32 | 2020-04-10T07:22:32 | 254,570,894 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,223 | cpp |
// C5Dlg.cpp: 实现文件
//
#include "pch.h"
#include "framework.h"
#include "C5.h"
#include "C5Dlg.h"
#include "afxdialogex.h"
#include "CDialogLogin.h"
#include <iostream>
#include <fstream>
#include "course.h"
#include "student.h"
using namespace std;
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
int isg = 0; //判断... | [
"15225100519@163.com"
] | 15225100519@163.com |
da5000a3d0d1c9d8b316cea434f266bf0706aea6 | 1e6ce42f127c99be9946f46fc0f1ed135c847d5b | /casnake/casnake/Casnake_Main.cpp | 78b4338e64d33d0468b30e998938c03478d0c961 | [] | no_license | OchaParadise/casnake | 5f48376e3c3af1efdb6984d278e46b64cfb7e979 | 2e47b542db6fa95f22e3c75330b80e6f7a0c572d | refs/heads/master | 2016-09-06T18:56:10.198226 | 2012-10-08T13:11:58 | 2012-10-08T13:11:58 | null | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 1,672 | cpp | #include "DxLib.h"
#include "Variable.h"
#include "Calc.h"
#include "Init.h"
#include "MapMake.h"
#include "Display.h"
#include "Character.h"
#include "Item.h"
#include <Windows.h>
int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance,
LPSTR lpCmdLine, int nCmdShow )
{
Init init;
Dis... | [
"mcmlxxxvi.viii.xvii+github@gmail.com"
] | mcmlxxxvi.viii.xvii+github@gmail.com |
bf64dacbf6f17fa835de1c079445ebfc3bdea269 | c16d1e8a2dc835f73306a209f3b2da2cbcc7ae54 | /201604-1.cpp | b51de454c5b0ee09573ef4d85903137b92b63fc0 | [] | no_license | starkwj/OJ_CSP | 20b6082d993996d4171e11c84f7be67c1a0cca93 | 77152af997710c05272da5532a74a48c99a95222 | refs/heads/master | 2020-03-29T01:26:06.427653 | 2018-09-19T03:47:10 | 2018-09-19T03:47:10 | 149,388,806 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 293 | cpp | #include <iostream>
using namespace std;
int main()
{
int n;
cin >> n;
int a[n];
for (int i = 0; i < n; i++)
{
cin >> a[i];
}
int cnt = 0;
for (int i = 1; i < n - 1; i++)
{
if ((a[i] - a[i - 1]) * (a[i + 1] - a[i]) < 0)
{
cnt++;
}
}
cout << cnt << endl;
return 0;
}
| [
"792732547@qq.com"
] | 792732547@qq.com |
64796bf4204162244f2258a8e42616405e5c5257 | e212b4b554bb80664dd25c3213f981c18bbdf0bf | /backup/rotate.cpp | 0ded67fe6e092704c0e75b8295f4b224258616eb | [] | no_license | DavidLoftus/kattis | 60fd7ea22252e2553cceb68dbc9c8d545c390108 | 27a558529f00a0bc5337048fd0b0855a40e00295 | refs/heads/master | 2020-04-01T20:26:41.236098 | 2020-01-07T21:13:09 | 2020-01-07T21:13:09 | 153,604,237 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 550 | cpp | #include <iostream>
#include <string>
#include <algorithm>
int main()
{
int N;
std::string s;
while(std::cin >> N >> s)
{
std::reverse(s.begin(), s.end());
for(char& c : s)
{
if(c == '_')
c = 'Z'+1;
else if(c == '.')
c = ... | [
"43099493+DavidLoftus@users.noreply.github.com"
] | 43099493+DavidLoftus@users.noreply.github.com |
a8fdb3f3a2f956206218816f0399805eec9a4ce8 | 1777a7938f9ae00a731aa9afcfdbf83246e41c67 | /gtkproto2/src/shootingcontrol.cpp | 159375e1a1c0c6462d5f28d751cb8c22922a218e | [] | no_license | NaggieOgasawara/gtk3 | 38d03417678335c86c5b682f9baa559a895a3ac5 | fc5cb77b2bbcec4906ce160bb535c26efc25b3a2 | refs/heads/master | 2020-12-02T23:50:12.559888 | 2020-01-01T00:45:42 | 2020-01-01T00:45:42 | 231,091,355 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 876 | cpp | #include "shootingcontrol.h"
#include <cairomm/context.h>
ShootingControl::ShootingControl()
{
m_background = new BackGround;
m_StarLayer = new StarLayer;
m_EnemyLayer = new EnemyLayer;
/*
m_enemy[ 0 ] = new EnemyTemplate( 0, 2 );
for( int i = 1; i < ENEMY_NUM; i++ )
{
m_enemy[ i ] = new EnemyTemplate... | [
"nagakazu.ogasawara@gmail.com"
] | nagakazu.ogasawara@gmail.com |
541cddf8bcde88f63b414626ffb4b4aea5f8abba | 8b5a558fac20370c650d758fe19b3d411ca985ea | /Ejercicios 2ª Evaluación Funciones/Ejercicio_4.cpp | 9fb1d28deadd7df9f885f42a5b419b4c6a1e23ed | [] | no_license | DanielCoduras/2-Evaluacion | b26df0b719bf62837fd27a75a7b4d694d6dd7562 | 87ae4ee1393352d4b74fd29ac28817e33826b407 | refs/heads/master | 2020-04-21T00:53:47.567664 | 2019-02-28T15:47:13 | 2019-02-28T15:47:13 | 169,208,876 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 622 | cpp | #include<stdio.h>
int main(){
int mes;
printf("Escribe un numero entre 1-12: ");scanf("%i",&mes);
switch(mes){
case 1: printf("Enero");break;
case 2:printf("Febrero");break;
case 3:printf("Marzo");break;
case 4:printf("Abril");break;
case 5:printf("Mayo");break;
case 6:printf("Junio");b... | [
"noreply@github.com"
] | noreply@github.com |
b5aa4cdb22f3435efce2e6fac8883efd34c2b891 | 64a1533f4541b76181cd6d3cec3b28876c969250 | /LADS/ValC/GUI/FMXTemplates.cpp | 4cfcb182b928b4affd0aeec80e9eb71fb5f85040 | [] | no_license | drkvogel/retrasst | df1db3330115f6e2eea7afdb869e070a28c1cae8 | ee952fe39cf1a00998b00a09ca361fc7c83fa336 | refs/heads/master | 2020-05-16T22:53:26.565996 | 2014-08-01T16:52:16 | 2014-08-01T16:52:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 359 | cpp | #include "FMXTemplates.h"
#include "Require.h"
namespace valcui
{
void setText( TStyledControl* control, const char* textSubcomponentName, const std::string& text )
{
TText* textSubcomponent = (TText*) control->FindStyleResource(textSubcomponentName);
throwUnless(textSubcomponent);
textSubcomp... | [
"chris.bird@ctsu.ox.ac.uk"
] | chris.bird@ctsu.ox.ac.uk |
245e7d3e6bb0177d1836e8aea42dc0e63c5525cc | 7d814cf427952e2c81e0768a7c36b15c5af21262 | /kernel/algorithms/loader.cpp | bd75dae7fa81e5c80d54bf3de168551dd671ce2d | [] | no_license | komorowskilab/Parallel-ROSETTA | e2b9ee90a4bbe4f79546026e9d00abcc38ae3f5d | 60112009f4cc29f943e37d0fda86d1b28344fd3c | refs/heads/master | 2020-08-18T05:18:18.000368 | 2019-10-22T13:12:53 | 2019-10-22T13:12:53 | 215,751,254 | 2 | 1 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 3,152 | cpp | //-------------------------------------------------------------------
// Author........: Aleksander šhrn
// Date..........:
// Description...:
// Revisions.....: Aš 000211: Full rewrite.
//===================================================================
#include <stdafx.h> // Precompiled headers.
#include <copyrigh... | [
"Komorowskilab@gmail.com"
] | Komorowskilab@gmail.com |
bf03e3baae7fcf97fab4904c78779aaa46795b55 | 905f9d0efaedaf2f80892bd1e08b28d717629668 | /client.h | 22c3a91c949e65bbfd6aa58ecbdd6d0b9ee526c2 | [] | no_license | mirub/Client-Server-app | c3583846b0bc5c9998f518bb6b3c51821627b9a1 | 1b3225b61dfc5c4652651f97365ad67536944c11 | refs/heads/master | 2022-04-27T02:45:42.681331 | 2020-04-26T22:14:49 | 2020-04-26T22:14:49 | 259,022,920 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 829 | h | #ifndef CLIENT_H
#define CLIENT_H
#include <bits/stdc++.h>
#include "udp_message.h"
struct client {
// The client ID
char clientID[10];
// The file descriptor of the client
int cliFD;
// State of the user
bool online;
// Messages that had not been sent due to
// disconnection
std::... | [
"miru.b99@gmail.com"
] | miru.b99@gmail.com |
bc72f936387297d7bcc11017bfeb584c07ae4a98 | d2e8412c50ed287b77f75d2a418ec5f58c1d5a15 | /src/qt/guiutil.cpp | ccc531785243eb96c2cab01f3ac6061fbab76aa1 | [
"MIT"
] | permissive | Onlax/onlax-project | ff0a79d82c14ade0d401bf3565d80b4d0066532d | 22fd576e28adc2ca5efbeacbc16f1a011f37145b | refs/heads/master | 2020-03-07T20:43:34.794343 | 2018-04-05T19:38:07 | 2018-04-05T19:38:07 | 127,705,115 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 31,083 | cpp | // Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2017-2018 The Solaris developers
// Copyright (c) 2017-2018 The Onlax developers
// Distributed under the MIT/X11 software license, see the accompanying
// fil... | [
"onlaxproject@protonmail.com"
] | onlaxproject@protonmail.com |
6dc841f1a885415d572ddd76c2df5c60c85bc16c | dd3d11771fd5affedf06f9fcf174bc83a3f2b139 | /BotCore/DofusProtocol/HaapiBufferListMessage.h | df8f60c216a1743903270d6c48bc9dd91efb575a | [] | no_license | Arkwell9112/arkwBot | d3f77ad3874e831594bd5712705983618e94f258 | 859f78dd5c777077b3005870800cb62eec1a9587 | refs/heads/master | 2023-03-17T12:45:07.560436 | 2021-03-16T11:22:35 | 2021-03-16T11:22:35 | 338,042,990 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 506 | h | #ifndef HAAPIBUFFERLISTMESSAGE
#define HAAPIBUFFERLISTMESSAGE
#include "../IO/ICustomDataInput.h"
#include "../NetworkInterface.h"
#include <vector>
#include "BufferInformation.h"
class HaapiBufferListMessage : public NetworkInterface {
public:
std::vector<BufferInformation> buffers;
unsigned int protocolId =... | [
"arkwell9112@nowhere.com"
] | arkwell9112@nowhere.com |
0ea50825c68c06a2d4dd1a2db2f2709637aeb50d | e23634f5b5f127baf7b213373311d0ff38e86ebe | /Source/Core/Network/CurlShare.cpp | 6183f8fe432a34fdfefeb03b4dd3525b52dcecd9 | [
"Apache-2.0"
] | permissive | YuriPet/image-uploader | aca4292d8cc26eb74b02985d58e837198a54338a | db4a39368797b413cd2aa6d287b760584b04d078 | refs/heads/master | 2023-03-19T18:17:52.778857 | 2022-12-24T08:54:11 | 2022-12-24T08:54:11 | 192,969,982 | 0 | 0 | Apache-2.0 | 2019-06-20T18:37:31 | 2019-06-20T18:37:31 | null | UTF-8 | C++ | false | false | 1,546 | cpp | #include "CurlShare.h"
#include "Core/Logging.h"
CurlShare::CurlShare()
{
share_ = curl_share_init();
CURLSHcode shareError;
curl_share_setopt(share_, CURLSHOPT_USERDATA, this);
shareError = curl_share_setopt(share_, CURLSHOPT_LOCKFUNC, lockData);
if (shareError){
LOG(ERROR) << "share... | [
"zenden2k@gmail.com"
] | zenden2k@gmail.com |
10c1f2292cc34665cf3e154278193b48a62d8518 | a909df0ba2abf695df4a7d15350312d4c6463c48 | /UVa/11947.cpp | 66a494160bd8b1e4513382c59bfa6ab376a622f8 | [] | no_license | SayaUrobuchi/uvachan | 1dadd767a96bb02c7e9449c48e463847480e98ec | c213f5f3dcfc72376913a21f9abe72988a8127a1 | refs/heads/master | 2023-07-23T03:59:50.638063 | 2023-07-16T04:31:23 | 2023-07-16T04:31:23 | 94,064,326 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,251 | cpp | #include <stdio.h>
const char *s[12] = {"aquarius", "pisces", "aries", "taurus", "gemini", "cancer", "leo",
"virgo", "libra", "scorpio", "sagittarius", "capricorn"};
int calc(int m, int y)
{
if(m == 2)
{
return 28+(!(y&3) && (y%100||y%400==0));
}
if(m < 8)
{
return 30+(m&1);
}
return 31-(m&1);
}
const ch... | [
"sa072688@gmail.com"
] | sa072688@gmail.com |
e0fd4996c43ba7b4cc2509efccc32312121a3200 | ab5c19cf7af83931cdf7acf11b6a1dbe3ea96eb6 | /CookieRun/Classes/PlayerCookie.h | 11d7c956bce26d936c28f5ee42b411f49754ad3e | [] | no_license | rkddlsgh1234/MyGameSource | ecc4f16d94017834fd3695241cc052baf43beee3 | 54c15d457f26608b9e9f02368d10febaa3f01a2d | refs/heads/master | 2020-07-02T03:39:20.417188 | 2019-08-09T08:37:47 | 2019-08-09T08:37:47 | 201,403,584 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,984 | h | #pragma once
#include "cocos2d.h"
#include "ObjectManager.h"
class PlayerCookie
{
private:
cocos2d::Sprite* m_pPlayer;
cocos2d::SpriteFrameCache* m_pCharacterCache;
cocos2d::SpriteFrameCache* m_pEffectCache;
cocos2d::Vector <cocos2d::Sprite*> m_vcEffect;
cocos2d::Vector <cocos2d::Sprite*> m_vcCoinEffect;
cocos... | [
"inho2456@naver.com"
] | inho2456@naver.com |
296ce0e08e4d1eee12a78cc965ba82e5fe7bd120 | 8ac88c00345f74201ac97c7a658fb8555c8ee5e0 | /widget.cpp | b96f3638e0f8720d3e24e8fab6d1eb4fef4ad7d2 | [] | no_license | huanghaizilu/saoma | ee13c4958bf55defd1877426ea01ec43b48bc2ad | ca80f745ce18f26ebb39c49c270b4d8f7dd57f73 | refs/heads/master | 2020-03-25T15:29:15.935514 | 2018-08-08T15:39:16 | 2018-08-08T15:39:16 | 143,885,207 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 72,279 | cpp | #include "widget.h"
#include "ui_widget.h"
#include <QSqlQueryModel>
#include <QTableView>
#include <QDebug>
#include <QMessageBox>
#include <QSqlError>
#include <QDateTime>
#include <QKeyEvent>
#include <QSqlQuery>
#include <QDateTimeEdit>
#include <QPrintDialog>
#include <QPrintPreviewDialog>
#include <QFileDialog>
... | [
"huanghaizilu@163.com"
] | huanghaizilu@163.com |
cf2c63cb9df521a55a05ff13cee379f26bd9d7ed | b997482f96a2db288dc3459b45f0ddd06279a18d | /source/common/utls.h | 278290b5038d45e6416863c428b7f2001d9b8fa9 | [
"Apache-2.0"
] | permissive | roger912/breeze | bc7f9c3df6c99b63e0f5cbf3c9daa1c9cb4b665f | d0262c63044fa7828316fbbd12bbd8c1a4578f5f | refs/heads/master | 2021-01-17T23:54:53.758781 | 2016-01-31T17:32:24 | 2016-01-31T17:32:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,200 | h |
/*
* breeze License
* Copyright (C) 2016 YaweiZhang <yawei.zhang@foxmail.com>.
*
* 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 req... | [
"yawei.zhang@foxmail.com"
] | yawei.zhang@foxmail.com |
c3dee88f64404b4c7115ab73d480e4191f2f77aa | 3784495ba55d26e22302a803861c4ba197fd82c7 | /venv/lib/python3.6/site-packages/tensorflow_core/include/external/aws/aws-cpp-sdk-s3/include/aws/s3/model/ListBucketAnalyticsConfigurationsResult.h | b3e48018119ad46985fe5d654d1b931043a26f0a | [
"MIT",
"Apache-2.0"
] | permissive | databill86/HyperFoods | cf7c31f5a6eb5c0d0ddb250fd045ca68eb5e0789 | 9267937c8c70fd84017c0f153c241d2686a356dd | refs/heads/master | 2021-01-06T17:08:48.736498 | 2020-02-11T05:02:18 | 2020-02-11T05:02:18 | 241,407,659 | 3 | 0 | MIT | 2020-02-18T16:15:48 | 2020-02-18T16:15:47 | null | UTF-8 | C++ | false | false | 8,737 | h | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | [
"luis20dr@gmail.com"
] | luis20dr@gmail.com |
723f2a826c199c9ad1af7998027537297fa6facc | 5c76780083714014fe9029bb457490af472401ee | /include/franka_force_control/force_example_controller.h | f3abfbac5b2cb7cfce72be479e89143ed876ef1f | [] | no_license | marselap/franka_force_control | 0d963d1b7a151ad80a3ec9f207549cf0bd1eedb7 | 602ef46b90f5fb9cd4f438bef59abcd191da0f76 | refs/heads/master | 2023-02-16T20:52:53.680034 | 2021-01-14T20:30:10 | 2021-01-14T20:30:10 | 207,261,054 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,680 | h | // Copyright (c) 2017 Franka Emika GmbH
// Use of this source code is governed by the Apache-2.0 license, see LICENSE
#pragma once
#include <memory>
#include <string>
#include <vector>
#include <cmath>
#include <time.h>
#include <controller_interface/multi_interface_controller.h>
#include <dynamic_reconfigure/server... | [
"marselapolic@gmail.com"
] | marselapolic@gmail.com |
3a783f6e650f356bd0ef1135ff973df842be0ed5 | ca1d841700e3d4112df65a2b504d9ee7aa65a922 | /src/main.cpp | 69d5ba521834b9a922c0ea149f1c92fc6c1bd012 | [] | no_license | roop/onrakan | c2bb560552e584099853f7899f2e882b07ae557c | b484e622d84fe5e00aeaf4e34541cd2f565998cf | refs/heads/master | 2016-09-06T14:51:22.153096 | 2010-07-11T11:44:40 | 2010-07-11T11:44:40 | 32,131,131 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 260 | cpp | #include <QtGui/QApplication>
#include "mainwindow.h"
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
MainWindow w;
#if defined(Q_WS_S60) || defined(Q_WS_MAEMO_5)
w.showMaximized();
#else
w.show();
#endif
return a.exec();
}
| [
"roopesh.chander@408eb158-d1f9-561f-b18b-a7d84d174abe"
] | roopesh.chander@408eb158-d1f9-561f-b18b-a7d84d174abe |
937c51d9f9b24dec74975d7ea02824875fcd2d82 | 7bc675e2c9be16985f0c05d63fd081e0a597e930 | /Tests/TracesFeeder/TracesFeeder/sources/TracesTableRow.hpp | a5971823e1a73988a74d991978ba915a85611bba | [] | no_license | cobreti/TracingUtilities | eddc78f3976830d6a0943234ebbba8080a03f8a9 | d31c7e31f289b9b9eb86cf4dfc960ac1ea49e4e4 | refs/heads/master | 2021-01-10T13:04:53.596744 | 2016-04-06T00:49:28 | 2016-04-06T00:49:28 | 49,793,233 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,515 | hpp | #ifndef TracesTableRow_HPP
#define TracesTableRow_HPP
#include <qtcore>
#include <QTableWidget>
#include "sources/outputitem.hpp"
#include "sources/iconset.hpp"
class TracesTableRow
{
friend class TracesTable;
public:
using RowIdT = OutputItem::OutputItemIdT;
enum State
{
eState_Stopped,
... | [
"dannyt@DarksunMac.local"
] | dannyt@DarksunMac.local |
832eeef5e72e34f8986300e01ef0526e9d26ca6a | 5bfa95aefa3039d72e169905e56974c12447e6aa | /core/cpp/yijinjing/src/nanomsg/socket.cpp | 9e5021d257cf1f336b8f499acb23646a68a5f22a | [
"Apache-2.0"
] | permissive | lf-shaw/kungfu | c955b29038f7c30f2cbbe57da5a89deda4416844 | 22a9ec192f4129e61697fdbdbfe1326b5f2886d4 | refs/heads/master | 2023-04-04T06:20:01.977670 | 2021-04-02T07:57:00 | 2021-04-02T07:57:00 | 138,162,932 | 0 | 0 | Apache-2.0 | 2021-04-02T07:57:01 | 2018-06-21T11:43:41 | C++ | UTF-8 | C++ | false | false | 4,287 | cpp | //
// Created by Keren Dong on 2019-05-25.
//
#include <spdlog/spdlog.h>
#include <kungfu/yijinjing/util/util.h>
#include <kungfu/yijinjing/nanomsg/socket.h>
using namespace kungfu::yijinjing::nanomsg;
static const char *symbol (int i, int *value)
{
return nn_symbol (i, value);
}
static void term ()
{
nn_t... | [
"dongkeren@gmail.com"
] | dongkeren@gmail.com |
9642bccf8e591ca22a82551905a813308ccd9f80 | a11aa0a45ffd68ba87e9381c2615d08fc31b3f51 | /Atlas Engine/Source/New/Managers/Mesh/3D/Mesh3DManager.cpp | 307a0ca1676ee3463735c4797636c27c7853cee9 | [] | no_license | YanniSperon/Atlas-Engine | 7e2c17ddd84cdb0800054ec24f64e3cd67fd62d4 | b6f12e445e8342c2c5625d023a7fca8e253d78a5 | refs/heads/master | 2023-01-31T01:40:34.648755 | 2020-12-07T10:58:57 | 2020-12-07T10:58:57 | 277,727,067 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,532 | cpp | #include "Mesh3DManager.h"
#include "New/Rendering/3D/Object/Object3D.h"
#include "New/System/Console/Console.h"
#include "New/Mesh/Shared/Generator/MeshGenerator.h"
Atlas::VRAMHandle* Atlas::Mesh3DManager::LoadIntoVRAM(Mesh3D* mesh)
{
VRAMHandle* handle = new VRAMHandle();
glGenBuffers(1, &handle->vbo);
glBindBuff... | [
"yannisperon@gmail.com"
] | yannisperon@gmail.com |
7a200595b8e2ab09c8f8ca2febeebb0b526fd1e8 | 66af1a552d9ff89fac0c717cc96e7e5e2c08b98d | /examples/GroveUltrasonicRanger/GroveUltrasonicRanger.ino | 31f8ae22023b925f7988dcc77f8cec5cf087db10 | [] | no_license | matsujirushi/MjGrove | 3daf0ed14d283bd9c02acfacb36b88e8672329e1 | 298828eb140abb85a8f1ac985c6b079e9619cf7a | refs/heads/master | 2021-06-16T13:04:55.431245 | 2019-09-08T05:10:51 | 2019-09-08T05:10:51 | 140,291,890 | 10 | 5 | null | 2019-06-22T11:01:37 | 2018-07-09T13:47:26 | C++ | UTF-8 | C++ | false | false | 383 | ino | // BOARD Seeed Wio 3G
// GROVE D38 <-> Grove - Ultrasonic Ranger (SKU#101020010)
#include <MjGrove.h>
#define INTERVAL (100)
GroveBoard Board;
GroveUltrasonicRanger Ranger(&Board.D38);
void setup() {
delay(200);
SerialUSB.begin(115200);
Board.D38.Enable();
Ranger.Init();
}
void loop() {
Ranger.Read()... | [
"matsujirushi@live.jp"
] | matsujirushi@live.jp |
ab6fc96410f77bc1ec47318cea426d91db3fae0e | b1b3d00f9e4200e77eec6a98e292af3fc7a04cc6 | /C++/Week_10/Assignment_1/evaluator_jin/evaluator_jin.hpp | a53743f15f574dfd57c0ff11d9c0bdfab1e4461e | [] | no_license | wjdwls0630/Software_Lab | 79f29889d083b50104e398ca12d0bfb6efbaa13f | 3e219d416e186b7814f2577548b5477407d9d36f | refs/heads/master | 2020-09-05T06:46:32.859494 | 2019-12-01T11:13:26 | 2019-12-01T11:13:26 | 220,014,030 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 663 | hpp | //
// Created by ParkJungJin on 2019-11-07.
//
#ifndef _EVALUATOR_JIN_HPP
#define _EVALUATOR_JIN_HPP
#include <cmath>
#include <Eigen/Dense>
#include "../file_stream/file_stream.hpp"
class evaluator_jin {
private:
int m_nbits;
int m_nsamplespersymbol;
int m_nbitspersymbol;
int m_eb;
double m_no;
... | [
"wjdwls0630@gmail.com"
] | wjdwls0630@gmail.com |
0370ade33ae0b0570d5fb0fa65718ba640906d8a | 31f5cddb9885fc03b5c05fba5f9727b2f775cf47 | /thirdparty/physx/physx/source/lowleveldynamics/src/DyThreadContext.h | a2327825bc44b84c514549f59c42eb27cf2e8c32 | [
"MIT"
] | permissive | timi-liuliang/echo | 2935a34b80b598eeb2c2039d686a15d42907d6f7 | d6e40d83c86431a819c6ef4ebb0f930c1b4d0f24 | refs/heads/master | 2023-08-17T05:35:08.104918 | 2023-08-11T18:10:35 | 2023-08-11T18:10:35 | 124,620,874 | 822 | 102 | MIT | 2021-06-11T14:29:03 | 2018-03-10T04:07:35 | C++ | UTF-8 | C++ | false | false | 7,919 | h | //
// 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 conditions and the following disclaimer.
// * Redistributions in bin... | [
"qq79402005@gmail.com"
] | qq79402005@gmail.com |
1c2aa1cf9ad02fad24309e8178f40497b0548d8e | 752e7de00864c846cdf77d5d36d76923e0383f97 | /Praticas/aeda1920_fp02/Tests/veiculo.cpp | 88a676af2a172234cd830b0f272ba538954afc85 | [] | no_license | andrenasx/FEUP-AEDA | 6064f30e2c6b00af991c377010895bdf71ada160 | eb9423b0bdffd78fc4048198540b8d66e013fc96 | refs/heads/master | 2021-01-09T15:31:32.120948 | 2020-03-01T12:55:11 | 2020-03-01T12:55:11 | 242,346,613 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,132 | cpp | #include "veiculo.h"
#include <iostream>
#include <utility>
using namespace std;
Veiculo::Veiculo(string mc, int m, int a): marca(mc), mes(m), ano(a){}
int Veiculo::getAno() const {
return ano;
}
string Veiculo::getMarca() const {
return marca;
}
Motorizado::Motorizado(string mc, int m, int... | [
"andrenas@ubuntu.Home"
] | andrenas@ubuntu.Home |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.