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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3caaa9e04fc0ad71dd2ef571ea20460971f79668 | 844969bd953d7300f02172c867725e27b518c08e | /SDK/BP_MA_Rank12_RankDesc_functions.cpp | b1a082ecb81affa7056f6dc1331042e6c0d8b3e7 | [] | no_license | zanzo420/SoT-Python-Offset-Finder | 70037c37991a2df53fa671e3c8ce12c45fbf75a5 | d881877da08b5c5beaaca140f0ab768223b75d4d | refs/heads/main | 2023-07-18T17:25:01.596284 | 2021-09-09T12:31:51 | 2021-09-09T12:31:51 | 380,604,174 | 0 | 0 | null | 2021-06-26T22:07:04 | 2021-06-26T22:07:03 | null | UTF-8 | C++ | false | false | 546 | cpp | // Name: SoT, Version: 2.2.1.1
#include "../pch.h"
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Functions
//----------------------------------------------------... | [
"51171051+DougTheDruid@users.noreply.github.com"
] | 51171051+DougTheDruid@users.noreply.github.com |
3da6a66854aa4e5373599bf34acc9fb66300235a | 8c13efdfe4b6b3a3275c3b0fc19d0e19d2883cbf | /Competitive Programing/CodeForces/Practice/StonesOnTheTable.cpp | 63b25f9a2a378a16ef28e1d110a0e797c059534e | [] | no_license | dhananjay8968/yo-yo | e770f30a61085718ae13df6c1e6f20cb3393b575 | 5d9c9e96236d0ae20d8691697823c1f5a980ff31 | refs/heads/main | 2023-08-11T05:06:36.533040 | 2021-09-28T09:18:03 | 2021-09-28T09:18:03 | 414,197,558 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 291 | cpp | #include <bits/stdc++.h>
using namespace std ;
int main(){
int n ;
string s ;
cin>>n>>s ;
int ans,flag ;
flag = 0;
ans = 0 ;
for(int i = 1 ; i< n ; i++){
if(s[i] == s[flag]){
ans += 1 ;
}else{
flag = i ;
}
}
cout<<ans<<endl ;
return 0 ;
} | [
"noreply@github.com"
] | noreply@github.com |
a28a3a01e5e9dcad87d0569e1c0c59c0e865cce7 | a4c9f0b429cc716b00caa3d78d53b59a9c02f9d6 | /DrunkenInsomnia/Scripts/BaseScript.h | 340018ef6704815edcaa2bf38b66629b9bf07c5f | [] | no_license | Zac-hills/Game_Engine | 678f12ef4fac87b9e2a08ac41b7c4edc7805b9c9 | 2ddb8cff0da3a9c9976a5be811426a4962af5a63 | refs/heads/master | 2020-08-22T18:03:29.133483 | 2020-01-01T04:30:38 | 2020-01-01T04:30:38 | 211,736,077 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 393 | h | #pragma once
#include <string>
#include <typeinfo>
class BaseScript
{
public:
virtual ~BaseScript() {};
virtual void Start() = 0;
virtual void Update() = 0;
virtual void Oncollision() {};
virtual void OnDestroy() {};
std::string ScriptName()
{
std::string Result(typeid(*this).name());
std::size_t pos = Re... | [
"zachary.hills@uoit.net"
] | zachary.hills@uoit.net |
703f73afc08cac57c6d7e08b34214e07bb36176f | aa5e9defea373d64d75336fc6c5a03124e24abbd | /tools/python/Helpers/GILHelpers.h | 2772b510abc4d0845c69acbeb7d2b180e49161c0 | [
"MIT"
] | permissive | esayui/mworks | e8ae5d8b07d36d5bbdec533a932d29641f000eb9 | 0522e5afc1e30fdbf1e67cedd196ee50f7924499 | refs/heads/master | 2022-02-18T03:47:49.858282 | 2019-09-04T16:42:52 | 2019-09-05T13:55:06 | 208,943,825 | 0 | 0 | MIT | 2019-09-17T02:43:38 | 2019-09-17T02:43:38 | null | UTF-8 | C++ | false | false | 849 | h | //
// GILHelpers.h
// PythonTools
//
// Created by Christopher Stawarz on 11/15/12.
// Copyright (c) 2012 MWorks Project. All rights reserved.
//
#ifndef PythonTools_GILHelpers_h
#define PythonTools_GILHelpers_h
BEGIN_NAMESPACE_MW_PYTHON
class ScopedGILAcquire : boost::noncopyable {
private:
PyGILStat... | [
"cstawarz@mit.edu"
] | cstawarz@mit.edu |
9a321a8e0a54fec00d97fa082ed499d7d268c2a7 | 15a108da5fa29094b79574bbadb6d8a0b5b7d202 | /avinash/Untitled1.cpp | 122103f62180f093d2210f979c12812bbf18f9dc | [] | no_license | deepak12cs46/Data-Structure-Lab | fdaf938c5992f37af983941e042d92a8aa2c2302 | 3c58cd91d21d186459df7d732415e9767ff4b1d0 | refs/heads/master | 2016-09-12T10:16:00.136740 | 2016-04-23T13:56:02 | 2016-04-23T13:56:02 | 56,920,734 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 579 | cpp | #include<stdio.h>
void bs(int n,int *k);
void main()
{
int n,i,j,k[50];
printf("\n total no of elements=\t");
scanf("%d",&n);
i=0;
while(i<n)
{
printf("\n element\t=");
scanf("%d",&k[i]);
i++;
}
printf("\n the elements obtained after sorting are:");
bs(n,k);
i=0;
while(i<n)
{
printf("%d\t",k[i]);
... | [
"deepakverma20120274@gmail.com"
] | deepakverma20120274@gmail.com |
74491e5800dc1c11e96b598a2f4a41b06fdc5681 | c91601bc25d1aeacde85f540765cc01c185f6a75 | /.scripts/node_modules/nodegit/include/oid.h | 2ce3a9e5c034f916e4afe355edaf3ffc2373900a | [
"MIT"
] | permissive | imjorge/dotfiles-1 | 4cff4f7618302019fd41ef6231b711265f48d52f | bb231a2b4ac5fa4eac2955210f115551c02d7943 | refs/heads/master | 2021-01-16T21:56:22.599455 | 2015-05-16T21:37:18 | 2015-05-16T21:37:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 717 | h | /**
* This code is auto-generated; unless you know what you're doing, do not modify!
**/
#ifndef GITOID_H
#define GITOID_H
#include <v8.h>
#include <node.h>
#include <string>
#include "git2.h"
using namespace node;
using namespace v8;
class GitOid : public ObjectWrap {
public:
static Persistent<Function> ... | [
"tim@tabdeveloper.com"
] | tim@tabdeveloper.com |
a42824e7d1d794ff083b73d45c6acdf2c18a8cc7 | 942b88e59417352fbbb1a37d266fdb3f0f839d27 | /src/XP/tilemap.hxx | b11c6d99b1072bcf581468f5b899124a10c33247 | [
"BSD-2-Clause"
] | permissive | take-cheeze/ARGSS... | 2c1595d924c24730cc714d017edb375cfdbae9ef | 2f2830e8cc7e9c4a5f21f7649287cb6a4924573f | refs/heads/master | 2016-09-05T15:27:26.319404 | 2010-12-13T09:07:24 | 2010-12-13T09:07:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,675 | hxx | //////////////////////////////////////////////////////////////////////////////////
/// ARGSS - Copyright (c) 2009 - 2010, Alejandro Marzini (vgvgf)
/// All rights reserved.
///
/// Redistribution and use in source and binary forms, with or without
/// modification, are permitted provided that the following... | [
"takechi101010@gmail.com"
] | takechi101010@gmail.com |
84e734d28b21bf3e6e76ded47baeb249c59932b1 | 32c08e26251826be78ac341835b7f7730f4f9d5a | /Robot/Arduino/motorAndPing/motorAndPing.ino | b0a5cbfb70f2ffd8419ae590eb97b249025a8f07 | [] | no_license | loenne/homeAutomation | 06e416e434be81abdff660ebff286a8e479b5e12 | a0f7263c6f5ebecf13101279340564ec3e2377de | refs/heads/master | 2023-01-13T19:47:14.367615 | 2018-12-25T13:16:38 | 2019-05-21T19:24:48 | 62,961,917 | 0 | 1 | null | 2022-12-21T06:58:30 | 2016-07-09T17:52:25 | Python | UTF-8 | C++ | false | false | 2,568 | ino | #include <Servo.h> // Use Servo library, included with IDE
Servo myServo; // Create Servo object to control the servo
// pin number of the ping sensor's output:
const int pingPin = 7;
// pin number of the server motor output:
const int motorPin = 3;
//Number of positions to measure
const int noOfPositions ... | [
"bjorn.lonne@gmail.com"
] | bjorn.lonne@gmail.com |
ee3688c7188579b913c4db05685d2964358ea3d9 | d25d74bad8c68ac8f2a29a22c6d6860290185254 | /lc1281prdSum.cpp | 3182a7f09b35bbbf7d65228c7676e87daff18a4c | [] | no_license | ZhongZeng/Leetcode | 9b7e71838ff4ad80a6b85f680f449e53df24c5d2 | a16f8ea31c8af1a3275efcf234989da19ba1581e | refs/heads/master | 2021-07-14T19:32:49.911530 | 2021-03-29T04:25:54 | 2021-03-29T04:25:54 | 83,813,978 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 574 | cpp | /*
1281. Subtract the Product and Sum of Digits of an Integer
Ranking of Weekly Contest 166
Rank Name Score Finish Time Q1 (3) Q2 (4) Q3 (5) Q4 (6)
1318 / 5585 zhongzeng 12 0:41:49 0:02:21 0:11:25 0:36:49 1
Companies Quora
Related Topics Math
Test Cases:
234
4421
Runtime: 4 ms
Memory Usage: ... | [
"noreply@github.com"
] | noreply@github.com |
da4331b55a3700531852dcb3ac18c4dacc7f8037 | 0efeeca80d27807904878094a955c86c7a548520 | /DFS/Tree/Programs/MINHEAP.CPP | 2f8d118a028bfd16819b84e1da0abd15bf833e9f | [] | no_license | dhruv7294/DataStructure | d5bdd33336812d63dc36cd748579232cd64fedf0 | afa967a333d48bebdc0bcce02a24c0d814e797f5 | refs/heads/master | 2016-08-11T11:28:54.260844 | 2016-01-12T00:14:31 | 2016-01-12T00:14:31 | 49,409,574 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,107 | cpp | /* Program togenerate MIN Heap (insertion and deletion) */
#include <stdio.h>
#include<conio.h>
#include<stdlib.h>
int arr[100],n;
void insert(int,int);
void display();
void del(int);
void main()
{
int choice,num;
n=0;/*Represents number of nodes in the heap*/
while(1)
{
clrscr();
printf("1.Insert\n");
print... | [
"dhruv7294@gmail.com"
] | dhruv7294@gmail.com |
ba798b9a9b02ba311494b2d01a76cb171ef1bac7 | c820ba679d2834d73375bd85f6195e4cbcec347c | /Engine/Renderer/OpenGL/Renderer.cpp | c077fafccf961c4525186462b59c962b48ffdb10 | [
"MIT"
] | permissive | oTreasureo47/ZeloEngine | fe5c24e96d0270d846b6d94a197f768c29010aa6 | 806d12c3de7eb7f8dbe46a2d0a9679d0fcdd453f | refs/heads/master | 2023-06-02T23:40:53.590661 | 2021-06-27T17:30:20 | 2021-06-27T17:30:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 116 | cpp | // Renderer.cpp
// created on 2021/4/3
// author @zoloypzuo
#include "ZeloPreCompiledHeader.h"
#include "Renderer.h" | [
"noreply@github.com"
] | noreply@github.com |
e094f5b9c77e5acf82e7c783ed48ee97d40fc04a | a46bd784eb64b40226108a628d89ecf03511be8b | /Matrix.h | 8ff9e218020eefe5f121371e9a69d63ab9d11021 | [] | no_license | sanjitmuth/Matrix | 09034039d73dda1612a9c946155823642b0a47da | 634ee4a142be5d5b3af25be0a856ac78bace652b | refs/heads/master | 2023-06-18T20:42:35.358333 | 2021-07-15T20:41:09 | 2021-07-15T20:41:09 | 386,418,547 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,797 | h | #ifndef MATRIX_H
#define MATRIX_H
#include <ostream>
#include <cstdlib>
typedef unsigned int uint;
using namespace std;
class Matrix {
public:
Matrix(uint rows, uint cols);
Matrix(double** values, int w, int h);
Matrix(const Matrix & m);
~Matrix();
Matrix add(double s) const;
Matrix ad... | [
"ssm15033@uga.edu"
] | ssm15033@uga.edu |
96630429bd44d0ab1bd9804e6978d778c5ee1827 | b090f823c5ac849cddd9d2eae089240c2f37ca1c | /LINT_00201_SegmentTreeBuild.cpp | 6a796891d9640c21d0c9242cff4a448e242cd463 | [] | no_license | jordandong/mylintcodes | e7766eb93ca3dbde250173e0dd41f59fe1cd95a6 | 11fdca00ef7c41872819f603850fce531c6ab13e | refs/heads/master | 2021-04-19T01:47:00.794336 | 2018-02-10T05:40:49 | 2018-02-10T05:40:49 | 27,663,620 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,051 | cpp | /*
The structure of Segment Tree is a binary tree which each node has two attributes start and end denote an segment / interval.
start and end are both integers, they should be assigned in following rules:
The root's start and end is given by build method.
The left child of node A has start=A.left, end=(A.left + A.ri... | [
"jordandong@gmail.com"
] | jordandong@gmail.com |
fa7a3534440e798e6d941a0e0b1e30bec59e52f2 | 302f4bda84739593ab952f01c9e38d512b0a7d73 | /ext/Vc-1.3.2/avx/simd_cast_caller.tcc | 405abce186a9df016dc134a7c27a925bb13e188c | [
"BSD-3-Clause",
"LicenseRef-scancode-free-unknown",
"Apache-2.0",
"ICU",
"BSL-1.0",
"X11",
"Beerware"
] | permissive | thomaskrause/graphANNIS | 649ae23dd74b57bcd8a699c1e309e74096be9db2 | 66d12bcfb0e0b9bfcdc2df8ffaa5ae8c84cc569c | refs/heads/develop | 2020-04-11T01:28:47.589724 | 2018-03-15T18:16:50 | 2018-03-15T18:16:50 | 40,169,698 | 9 | 3 | Apache-2.0 | 2018-07-28T20:18:41 | 2015-08-04T07:24:49 | C++ | UTF-8 | C++ | false | false | 2,211 | tcc | /* This file is part of the Vc library. {{{
Copyright © 2014-2015 Matthias Kretz <kretz@kde.org>
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
not... | [
"thomaskrause@posteo.de"
] | thomaskrause@posteo.de |
ccea4194ffb6d9043b994483585f14822dde85ff | 36eb2f9d3ffad120a0f731b0ca049bda76fab1c6 | /GNS Wyd Server/Source GNS Wyd Server/oxablod1/Fix_AddPoint.cpp | e3f6e3c4b78ca7e48b1b9a28c8405ec354fe3bc6 | [] | no_license | reon/GnsWydServer | 01032b7ed89827088319168d214a6ef639aa3a7c | 33168296c8a764d31a03436635e2d642686e0f88 | refs/heads/master | 2021-01-22T17:02:58.861541 | 2015-01-27T03:13:57 | 2015-01-27T03:13:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,715 | cpp | #include "Stdafx.h"
int PontosADC(char *Data)
{
if(*(short*)&Data[0] != 0x14)
{
return FALSE;
}
if(*(short*)&Data[11] != 0x10 && *(short*)&Data[12] != 0x0 && *(short*)&Data[13] != 0x0)
{
return FALSE;
}
if(*(short*)&Data[15] != 0x0 && *(short*)&Data[16] != 0x0 && *(short*)&Data[17] != 0x0)
{
return FALS... | [
"luanpetrusibia@hotmail.com"
] | luanpetrusibia@hotmail.com |
1009358deb1a6f27c810b467c209b807330c48fa | 25079f11aa1b0a60e254a8cac274caad22514cc9 | /d_lake2.0/Player.h | 4efc4dd5e3ce61244cbab8d929512bdf8e16cc7a | [] | no_license | marchenko2k16/DLAKE2 | df7e03dcebd38af569cdbcbe188c7c33e6ac09c7 | 13988fef7cd9503137a79f320007c6fad26d867c | refs/heads/master | 2020-04-11T17:15:22.957471 | 2018-12-21T00:47:00 | 2018-12-21T00:47:00 | 161,953,662 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 348 | h | #pragma once
#include "VisibleObject.h"
#include "Gun.h"
class Player :
public VisibleObject
{
public:
enum { ALIVE, DEAD } State;
void move(float _dirX, float _dirY, float _dTime) override;
void update(float _dirX, float _dirY, float _dTime) override;
Player(Sprite* _sprite, float _currentX, float _currentY, flo... | [
"alexmarchenko9817@gmail.com"
] | alexmarchenko9817@gmail.com |
dbb913aacc553b5b8658781f3a99a959a37b2162 | 8f85caef333269bbe561cc86912cc5bc57fb80e7 | /tools/editor/spatial_editor_gizmos.cpp | 8ec291406105a3749ae8212e87e212242865115d | [
"MIT"
] | permissive | x1212/godot4pandora | 737d1b46398fbaff0edb5665c62e9fe540f2dfcd | 06714f02d1214f78853ceaf44d48974c38d524fd | refs/heads/master | 2021-01-10T20:47:56.355013 | 2014-02-28T17:02:11 | 2014-02-28T17:02:11 | 17,290,821 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 59,757 | cpp | /*************************************************************************/
/* spatial_editor_gizmos.cpp */
/*************************************************************************/
/* This file is part of: */
/* ... | [
"reduzio@gmail.com"
] | reduzio@gmail.com |
061c92d0b506e13c6f6be8c3f4e1b102578df644 | 6ebedfb375b77eb9515fb0df0dfc635e14c24f27 | /EliminationPlane/Classes/CGun.h | fce2a0db50bb21dd7470ea73fa9cb075471148c0 | [] | no_license | raymondma/EliminationPlane | 5421741188986c748f065c2cb39538095011b39f | 0d8ed58d89bf3581279c53ce759a4cb8f10be162 | refs/heads/master | 2021-01-10T21:35:31.830973 | 2013-06-06T04:07:38 | 2013-06-06T04:07:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,305 | h | //
// CGun.h
// TheForce
//
// Created by 马 俊 on 13-2-3.
// Copyright (c) 2013年 Tencent. All rights reserved.
//
#ifndef __TheForce__TFGun__
#define __TheForce__TFGun__
#include "cocos2d.h"
#include <vector>
#include <string>
#include "TFNodeContainer.h"
#include "CObjectBase.h"
#include "TFBatchNodeObject.h"
... | [
"raymondma529@hotmail.com"
] | raymondma529@hotmail.com |
6c02775ca1795633f92846d66699ef751377b4b7 | 5417bd385c453f9b9c8279d8325b62c70277e34b | /common_helper/common_helper.cpp | bafd44a8993732517af2b9afb7aee1878b13161f | [
"Apache-2.0",
"BSD-3-Clause",
"MIT"
] | permissive | dlyshare/play_with_mnn | 88bd8a06397370465d25fe8bd919b1f2d11d8a5b | 560c0ba38ce50f7b55213e544c809f5fd766b5ca | refs/heads/master | 2023-08-13T22:21:21.899226 | 2021-09-14T11:26:28 | 2021-09-14T11:26:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 637 | cpp | /* Copyright 2021 iwatake2222
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 agreed to in writing, software
dis... | [
"take.iwiw2222@gmail.com"
] | take.iwiw2222@gmail.com |
e96084e8a0123c407a35d3b7ceba2585f26fc498 | deef545fb64f73770ef44ce35577831048c11311 | /src/main.cpp | 3d1bd62c5a9e2427efd652f5a50eda554e3c19c7 | [] | no_license | PeteE/arduinopixed | ad0199628e705a58c3e4e524cc75f7a525bcb294 | b11cc3ef086c62ffa41c1e8a25f57522232b19b0 | refs/heads/master | 2020-12-01T14:41:48.094989 | 2019-12-28T21:18:03 | 2019-12-28T21:18:03 | 230,664,434 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 439 | cpp | #include "Arduino.h"
#define THERM_PIN A7
int senseVal = 0, outputVal = 0;
void setup() {
pinMode(6, OUTPUT);
Serial.begin(9600);
}
void loop() {
digitalWrite(6, HIGH);
delay(500);
digitalWrite(6, LOW);
delay(500);
int senseVal = analogRead(THERM_PIN);
int outputVal = map(senseVal, 0, 1023, 0, 255);
... | [
"petee@mindtouch.com"
] | petee@mindtouch.com |
29608e1845d726a1221cf8cb85faa728ca195a22 | 634120df190b6262fccf699ac02538360fd9012d | /Develop/Server/GameServer/unittest/GUTHelper_Etc.h | d4480fb5b3b20844468e468ed14ca4e6937e52bc | [] | 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 | 60 | h | #pragma once
class GNPCShopInfo;
class GUTHelper_Etc
{
};
| [
"espause0703@gmail.com"
] | espause0703@gmail.com |
e36661fbee39d6b21ff690f5bbb68b75f8613cf0 | a2203e266a4b0919fbde02e79ed63059b804052c | /C and C++/Competitive Problem Solutions/Codeforces/fibonacci native.cpp | b078f4096bc12a857c952ed32f7f9576c4b18fd0 | [] | no_license | bhavnagit/Hacktoberfest2020 | e5abfc4f4d5a48720f5f6c9c61cd5967846fe6fb | 24c76f186e1998d47d1654aaa2e9470a9968292f | refs/heads/master | 2022-12-20T03:24:14.712763 | 2020-10-04T14:38:59 | 2020-10-04T14:38:59 | 300,847,284 | 1 | 0 | null | 2020-10-03T10:08:33 | 2020-10-03T09:50:59 | null | UTF-8 | C++ | false | false | 380 | cpp | #include<bits\stdc++.h>
using namespace std;
int main(){
int n;
cout<<"enter n:";
cin>>n;
if (n<=1){
return n;
}
else{
int a,b,current;
a = 0;
b = 1;
for (int i=2; i<n+1;i++){
current=a+b;
a=b;
b=curren... | [
"noreply@github.com"
] | noreply@github.com |
79aa2643b034e19cdeb240da043941ff4d8217cd | f6ad1c5e9736c548ee8d41a7aca36b28888db74a | /others/POJ/1821.cpp | 1fc7fce386e6d08a1e9303bdea58433f43f01949 | [] | no_license | cnyali-czy/code | 7fabf17711e1579969442888efe3af6fedf55469 | a86661dce437276979e8c83d8c97fb72579459dd | refs/heads/master | 2021-07-22T18:59:15.270296 | 2021-07-14T08:01:13 | 2021-07-14T08:01:13 | 122,709,732 | 0 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,645 | cpp | #define DREP(i, s, e) for(register int i = s; i >= e ;i--)
#define REP(i, s, e) for(register int i = s; i <= e ;i++)
#define DEBUG fprintf(stderr, "Passing [%s] in Line %d\n", __FUNCTION__, __LINE__)
#define chkmax(a, b) a = max(a, b)
#define chkmin(a, b) a = min(a, b)
#include <algorithm>
#include <iostream>
#inclu... | [
"1683053325@qq.com"
] | 1683053325@qq.com |
febebca396935f480fbde51224c98a36a17fb2b7 | 79039cdd2eb596dc6652c063004bd7598b6fef1f | /chrome/browser/browser_switcher/bho/mini_bho.cc | 54a6d3101d869ef149abac18361e34cc9f4a0829 | [
"BSD-3-Clause"
] | permissive | Aayaam-AI/chromium | e81a2500b03eb793083ed228c16fcbcc1a0ba2f8 | 9f70fea8672cc395f6453477a411a1eb5de2318b | refs/heads/master | 2023-03-02T10:53:32.344257 | 2019-09-04T18:42:41 | 2019-09-04T18:42:41 | 206,393,619 | 1 | 0 | BSD-3-Clause | 2019-09-04T19:08:18 | 2019-09-04T19:08:17 | null | UTF-8 | C++ | false | false | 26,199 | cc | // Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <windows.h>
#include <combaseapi.h>
#include <exdisp.h>
#include <exdispid.h>
#include <guiddef.h>
#include <objbase.h>
#include <oleauto.h>
#in... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
572e8bcea89b587f66337b21442df4a477e71141 | 600df3590cce1fe49b9a96e9ca5b5242884a2a70 | /third_party/WebKit/Source/core/animation/SVGTransformListInterpolationType.h | 63b619f6a21dafba593fbd981f7a8d2ce6507cd0 | [
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"BSD-2-Clause",
"LGPL-2.1-only",
"LGPL-2.0-only",
"BSD-3-Clause",
"LicenseRef-scancode-warranty-disclaimer",
"GPL-2.0-only",
"LicenseRef-scancode-other-copyleft"
] | permissive | metux/chromium-suckless | efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a | 72a05af97787001756bae2511b7985e61498c965 | refs/heads/orig | 2022-12-04T23:53:58.681218 | 2017-04-30T10:59:06 | 2017-04-30T23:35:58 | 89,884,931 | 5 | 3 | BSD-3-Clause | 2022-11-23T20:52:53 | 2017-05-01T00:09:08 | null | UTF-8 | C++ | false | false | 1,626 | h | // Copyright 2015 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.
#ifndef SVGTransformListInterpolationType_h
#define SVGTransformListInterpolationType_h
#include "core/animation/SVGInterpolationType.h"
#include "core/s... | [
"enrico.weigelt@gr13.net"
] | enrico.weigelt@gr13.net |
b9dd20452f4fe1ea2095d16591b5d00ce95ed29e | a2d1df88f38ed21ff42f8f56c63031ac5cc49abe | /abc164/a.cpp | a3cd5bcb9c68581eb3073d8325bd3b6ac79f4ca7 | [] | no_license | honyacho/atcoder_excercise | 70831d77a328cae82b0594da4bb3f04e995ef001 | aa119994e53abb0bb0f47e0002704e48984ffb38 | refs/heads/master | 2021-06-14T02:26:51.918702 | 2021-03-15T05:48:56 | 2021-03-15T05:48:56 | 173,929,129 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,334 | cpp | #include <bits/stdc++.h>
using namespace std;
#define REP(i,n) for(int i=0; i<(int)(n); i++)
#define RNG(i,from,to) for(int i=(from); i<(int)(to); i++)
#define gcd(i,j) __gcd((i), (j))
typedef long long ll;
typedef pair<int, int> pii;
typedef vector<ll> vecll;
template<typename S, typename T> string to_string(pair<S, T... | [
"cc_called_pizza@yahoo.co.jp"
] | cc_called_pizza@yahoo.co.jp |
e95a6f7eb7f59d0982efa9550a4f8ea27384b03d | d78083416302e74b9c5232066422cf3800406903 | /GxFramework/cocos2d-x/templates/lua-template-default/frameworks/runtime-src/proj.linux/main.cpp | 5204bcc1a56cd215e7801527406b4ebe789a12db | [
"MIT"
] | permissive | Gui-X/CocosLuaGame | 4e82fd617e2e43d1173006f5d36e56e33c9a17a9 | c9e943db17b91a5d4448e727f27bd463275ec2df | refs/heads/master | 2020-03-27T08:43:18.234358 | 2018-09-12T05:40:18 | 2018-09-12T05:40:18 | 146,281,470 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,616 | cpp | /****************************************************************************
Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), t... | [
"281969404@qq.com"
] | 281969404@qq.com |
75b199ec3c1adf86e30ca79dbbdd4a88990e0921 | 4610baf9a7e81cad6e52fe49289a5f234861732b | /libraries/kdtree/src/bucket.cpp | 7cb7e8cf9fb019aa7f0a73bfc26cf0041b7db7a4 | [] | no_license | kuasha/stanley | 07f924f6ff61413f5baabd5b6605d4289e93c68d | b6b6d3a9efd4611258b2a6337ef25007f406bd80 | refs/heads/master | 2021-01-19T00:57:09.752337 | 2016-08-15T02:36:18 | 2016-08-15T02:36:18 | 65,698,509 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,980 | cpp | /********************************************************
Stanford Driving Software
Copyright (c) 2011 Stanford University
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... | [
"kuasha@gmail.com"
] | kuasha@gmail.com |
a94943c20821c0f6985b1c921772f552b944be4e | 0a846bc85ecc6ecab462cfae5db84a54c9defa4a | /applications/popart/transformer_transducer/custom_ops/feat_augmentation/gen_random.hpp | febac2923364fc5e70a66ddc4d0effd241e304dd | [
"MIT"
] | permissive | payoto/graphcore_examples | c7d4d931dc3649567f8023279842345aa50cc3b3 | 46d2b7687b829778369fc6328170a7b14761e5c6 | refs/heads/master | 2022-02-08T20:00:55.182795 | 2021-12-21T11:38:07 | 2021-12-21T11:38:07 | 251,254,539 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 309 | hpp | // Copyright (c) 2021 Graphcore Ltd. All rights reserved.
#pragma once
#include <cstdint>
struct IRndGenerator {
virtual ~IRndGenerator() = default;
virtual void setRandomSeed(uint64_t seed) = 0;
virtual uint32_t getRandom() = 0;
virtual int32_t getRandom(int32_t from, int32_t to) = 0;
};
| [
"johannesr@graphcore.ai"
] | johannesr@graphcore.ai |
a7939481a46b1fca27a76437585b5e20346ca950 | efe1131a33ee82e7c46b5af4cf200dcae8eb4add | /samples/MFC32/GENERAL/TRACKER/TRACKVW.H | e4b8c97cc40bf31de05ee25ee8a4e064b17c232e | [
"BSL-1.0"
] | permissive | ALEHACKsp/dmc | 819398bbb46e8b5a8ef5c344ef2a0f8b4ee8903c | 9478d25a677f70dbe4fc0ed317cc5a5e5050ef8b | refs/heads/master | 2022-12-28T13:36:57.721262 | 2020-10-11T07:47:16 | 2020-10-11T07:47:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,841 | h | // trackvw.h : interface of the CTrackerView class
//
// This is a part of the Microsoft Foundation Classes C++ library.
// Copyright (C) 1992-1995 Microsoft Corporation
// All rights reserved.
//
// This source code is only intended as a supplement to the
// Microsoft Foundation Classes Reference and related
/... | [
"walter@walterbright.com"
] | walter@walterbright.com |
f170cdea3d8676a6d04f1d144dbc896b831356fd | db1b16bdd08a8cbcd6b676b151805d68d4bf6684 | /lib/DS1307RTC/examples/SetTime/SetTime.ino | 446af87cea8239fc4f1393e2438f31ebf91910ed | [] | no_license | Storfoten/Watering | c96f892ff010b5fccd9e02413966c981a1f1eae2 | f6be84c82f03a9b787c98cef99413e360e3d805e | refs/heads/master | 2021-01-17T23:31:01.736338 | 2016-12-21T18:39:03 | 2016-12-21T18:39:03 | 60,149,504 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,676 | ino | #include <Wire.h>
#include <Time.h>
#include "DS1307RTC.h"
const char *monthName[12] = {
"Jan", "Feb", "Mar", "Apr", "May", "Jun",
"Jul", "Aug", "Sep", "Oct", "Nov", "Dec"
};
tmElements_t tm;
void setup() {
bool parse=false;
bool config=false;
// get the date and time the compiler was run
if (getDate(__... | [
"eric@solutionsfortomorrow.se"
] | eric@solutionsfortomorrow.se |
c39ccf7ed12348ce0c04000327bfb3dee80a10bb | 179ffb8f2137307583a23cb6826d720974fc9784 | /Unit04/DefaultConstructor/DefaultConstructor.cpp | 7651fb23a93b0c91ca1410b1a763c781907192ca | [] | no_license | Sheepypy/MOOC | e59f85732e225cc0f6059e46b0620dd34869faa8 | 258b178481419dcea1dc32f07aab4536f606205c | refs/heads/master | 2023-08-13T23:14:52.245101 | 2021-09-14T09:57:46 | 2021-09-14T09:57:46 | 392,976,556 | 2 | 0 | null | null | null | null | GB18030 | C++ | false | false | 837 | cpp | #include <iostream>
using std::cout;
using std::cin;
using std::endl;
class Circle
{
public:
Circle();
~Circle();
Circle(double r) {
radius = r;
}
double getArea() {
return 3.14 * radius * radius;
}
private:
double radius;
};
Circle::Circle()
{
radius = 1;
}
Circle::~Circle()
{
}
class Square
{
public:... | [
"778453146@qq.com"
] | 778453146@qq.com |
2e172b04074b30a8c9c5591123a8efeebf641132 | 80e348416fbd1b0d788fc6ce8e7386c854ec35bb | /Source.cpp | 23a491dc12ab7931b797abc6e07955caae863712 | [] | no_license | sujhan/RearLightsDetection | e9f84253596dccb82ae490780049e795add0edc5 | 86d885fbb9545981bc78e2a974691f0ed81f74de | refs/heads/master | 2020-04-23T22:15:16.341645 | 2018-04-29T12:35:26 | 2018-04-29T12:35:26 | 171,495,710 | 1 | 0 | null | 2019-02-19T15:12:18 | 2019-02-19T15:12:14 | null | UTF-8 | C++ | false | false | 2,983 | cpp | #include <opencv2/highgui/highgui.hpp>
#include <iostream>
#include <sstream> // ostringstream
#include <iomanip> // std::setprecision()
#include "RedColorSegmentation.h"
#include "OtsusThreshold.h"
#include "HorizontalEdgeBoundaries.h"
#include "FastRadialSymmetryTransform.h"
#include "MorphologicalLightsPairing.h"... | [
"vittorakis@ceid.upatras.gr"
] | vittorakis@ceid.upatras.gr |
04cb769c780167c6f420b7e7ece7e54f6ceb5e81 | c9aa8a27fbebc03abd937b630030fc17e64112a4 | /reaper.h | 20af11132a0ba8bbd23ba44373e1535adeecd627 | [] | no_license | 223323/ns3-nodes | 0908756ff5d4397471bc0b39d6ee22e56873b45f | 4dddfa83e3e8e40008e389cbe438afe881453f00 | refs/heads/master | 2020-05-22T16:12:44.207502 | 2019-07-05T13:28:51 | 2019-07-05T13:28:51 | 186,425,299 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,406 | h | #ifndef REAPER_H
#define REAPER_H
#include <iostream>
#include <sstream>
#include "ns3/core-module.h"
//#include "ns3/simulator-module.h"
//#include "ns3/node-module.h"
#include "ns3/network-module.h"
//#include "ns3/helper-module.h"
#include "ns3/point-to-point-dumbbell.h"
#include "ns3/on-off-helper.h"
//#include "... | [
"sciliquant@gmail.com"
] | sciliquant@gmail.com |
2cacb2e2ad9a1547408e7aafdff3b9b95f823148 | 0dca3325c194509a48d0c4056909175d6c29f7bc | /nlp-automl/include/alibabacloud/nlp-automl/model/CreateDatasetRecordRequest.h | 169554baf6e3fe09c157982a3ce1be5b5549dcdd | [
"Apache-2.0"
] | permissive | dingshiyu/aliyun-openapi-cpp-sdk | 3eebd9149c2e6a2b835aba9d746ef9e6bef9ad62 | 4edd799a79f9b94330d5705bb0789105b6d0bb44 | refs/heads/master | 2023-07-31T10:11:20.446221 | 2021-09-26T10:08:42 | 2021-09-26T10:08:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,589 | 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... | [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
51262286f71c385e65b1c4a9acfd4be1e1b34248 | 9ffa9051ff99e534f09950d34ac3b69c17690ae2 | /libraries/Adafruit_Arcada_GifDecoder/src/GifDecoder_Impl.h | b57ced5b6f68f20c720649ee75a9591197c1a097 | [] | no_license | mathu-makes/GifPlayerMCU | a23102e4139b312258951b2abc56963ac0e2f68e | bfb7943a51792b2361627c6b7b7e3dbdcb1580ef | refs/heads/master | 2022-11-08T10:36:08.533363 | 2020-06-29T04:35:06 | 2020-06-29T04:35:06 | 275,421,123 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 31,142 | h | /*
Animated GIFs Display Code for SmartMatrix and 32x32 RGB LED Panels
This file contains code to parse animated GIF files
Written by: Craig A. Lindley
Copyright (c) 2014 Craig A. Lindley
Minor modifications by Louis Beaudoin (pixelmatix)
Permission is hereby granted, free of charge, to any ... | [
"67447721+mathu-makes@users.noreply.github.com"
] | 67447721+mathu-makes@users.noreply.github.com |
d96986285338748d322808fd3b86da2d05a1ae81 | 91535f5b6ad4477a00a65a1c73495f571b2ef95d | /qt/GoL/GoL_000/main.cpp | 5eb8f39cb0e05349c362c626535d5d839e9c4e20 | [] | no_license | dsyleixa/RaspberryPi | 4e7bab79567d6333739b67cb13da6f5a71caeb5b | b287e027f10e60733d36dde7966e5ab21ca1694b | refs/heads/master | 2023-08-19T17:54:34.829011 | 2023-08-05T09:39:27 | 2023-08-05T09:39:27 | 193,234,687 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 521 | cpp | // main.cpp
#include <QGuiApplication>
#include <QQmlApplicationEngine>
#include <gameoflifemodel.h>
int main(int argc, char *argv[])
{
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QGuiApplication app(argc, argv);
QQmlApplicationEngine engine;
qmlRegisterType<GameOfLifeM... | [
"noreply@github.com"
] | noreply@github.com |
e182ac50e012e2d3d64581129375fa71cd199615 | 5ac878fd58f97a9747ec21c8a149691f9c35046b | /cgCircle.cpp | 269029212c476c0346eb217e9cc739b7866bbf00 | [] | no_license | 474176409/MFC_GraphicsEditor | 90cf61d0c0ba17c10e9f960768a7db185e5322ee | 016c507b1c467945ff94f0c1aeb9cb3aec9838f0 | refs/heads/master | 2021-05-04T09:01:57.412611 | 2016-11-13T12:21:38 | 2016-11-13T12:21:38 | 70,387,840 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,146 | cpp | // cgCircle.cpp: implementation of the cgCircle class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "GraphicsEditor.h"
#include "cgCircle.h"
#include "cgPoint.h"
#include "math.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#d... | [
"474176409@qq.com"
] | 474176409@qq.com |
55e99a6fec8347d849ddd3da0d4cca629b21d241 | 41b05710409003277a03d782693f2c202e6bf7f7 | /server/view_breakpoint_download.h | bfa53a3125fb5146a9e5a6720e9847df05678b45 | [] | no_license | lipengxiao/cloud_disk | 0a6f5b307997bb550ac0687d079c656401a8d57f | f704430ced2ccc06a2f033ee7ac44770ff65273b | refs/heads/master | 2020-03-22T12:57:22.289175 | 2018-07-10T06:46:02 | 2018-07-10T06:46:02 | 140,073,070 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 241 | h | #ifndef _VIEW_BREAKPOINT_TRANS_H
#define _VIEW_BREAKPOINT_TRANS_H
#include"view.h"
using namespace std;
class view_breakpoint_download:public view
{
public:
void process(Json::Value val,int cli_fd);
private:
int _cli_fd;
};
#endif
| [
"noreply@github.com"
] | noreply@github.com |
734fdc8ff6cb9f0bfaca11f907c8c5e854a6b42b | 950b506e3f8fd978f076a5b9a3a950f6f4d5607b | /cf/361-div2/E.cpp | 68a5e524a16f7db1973197cbe89a6a9b8d3226ca | [] | no_license | Mityai/contests | 2e130ebb8d4280b82e7e017037fc983063228931 | 5b406b2a94cc487b0c71cb10386d1b89afd1e143 | refs/heads/master | 2021-01-09T06:09:17.441079 | 2019-01-19T12:47:20 | 2019-01-19T12:47:20 | 80,909,953 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,557 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const int MOD = 1e9 + 7;
const int N = 2e5 + 1;
ll fact[N];
ll bp(ll x, ll n) {
if (n == 0) return 1LL;
ll b = bp(x, n / 2);
b = (b * b) % MOD;
if (n & 1) b = (b * x) % MOD;
return b;
}
ll cnk(ll n, ll k) {
if (k < 0 || k > n) return 0... | [
"dimaz1301@gmail.com"
] | dimaz1301@gmail.com |
ad2286dab3fada28f098ea35f6fd53ac09065c04 | 3591d9986aeb633de14da54a84ef80e2958067d7 | /2A-Solutions/Problems 40-49/Problem 42.cpp | 95c0afcab80cbb57d1a6049a8dc5c6c3cacbc565 | [] | no_license | Anshul1507/a2oj-Ladder | 3fb05befce2d5b11381a09d29b8c77b968f6bfcb | 1203aad05595093ded7818d68942bc816e7d4651 | refs/heads/master | 2022-07-28T23:00:18.390815 | 2020-05-23T15:42:52 | 2020-05-23T15:42:52 | 214,992,394 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,045 | cpp | //A - Valera and X (C++)
#include<bits/stdc++.h>
#define ll unsigned long long int
#define HACKS std::ios::sync_with_stdio(false);cin.tie(NULL);
#define pb push_back
#define mp make_pair
#define fi first
#define se second
using namespace std;
int main()
{
HACKS
int n;
cin >> n;
string arr[n];
f... | [
"noreply@github.com"
] | noreply@github.com |
11588d5964b0e9246fcdf50ce481ed1f0bb37e44 | d2d687fc9ffc6ab904c6ec829f2a7d5ccea51b3a | /Source/CurseOfTime/Components/DashComponent.h | 7bbd69457c7fc2702118827ac2972b7ceee8bb76 | [] | no_license | EnriqueBrosse/CurseOfTime | 01f2ef7c17af796cbc2e1080f4b53afe7191fe63 | 034a9e80432026ea7b96478a9785c7c39e743348 | refs/heads/main | 2023-08-20T05:51:14.431537 | 2021-10-20T17:26:35 | 2021-10-20T17:26:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 994 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Components/ActorComponent.h"
#include "DashComponent.generated.h"
class UStaminaComponent;
class UHealthComponent;
UCLASS( ClassGroup=(Custom), meta=(BlueprintSpawnableComponent) )
class CU... | [
"enriquebrosse1@gmail.com"
] | enriquebrosse1@gmail.com |
53fa00faab1713e88145a1b72ccbb9eda8c66272 | cd73a0b631d8e6fcd60ef609bffeaa3960967713 | /src/SwerveModuleV2.cpp | 1c148f28b317d5803a7b0e535a4ed263dcbd75ae | [] | no_license | Frc2481/frc-2017-swerve | 72763d3937758b83c3b2185c1997c085f7f163c0 | 136c1545e358b337e8c3334891ec3667e0181cf7 | refs/heads/master | 2021-09-03T23:44:24.695885 | 2018-01-12T23:29:13 | 2018-01-12T23:29:13 | 113,689,540 | 4 | 0 | null | 2018-01-12T23:29:14 | 2017-12-09T17:55:35 | C++ | UTF-8 | C++ | false | false | 5,271 | cpp | /*
* SwerveModuleV2.cpp
*
* Created on: Jul 17, 2017
* Author: Team2481
*/
#include <SwerveModuleV2.h>
#include <Components\SwerveModuleV2Constants.h>
#include <math.h>
#include <sstream>
#include <CTREMagEncoder.h>
#include <GreyhillEncoder.h>
//#include <RoboUtils.h>
SwerveModuleV2::SwerveModuleV2(uint32... | [
"kyle@team2481.com"
] | kyle@team2481.com |
2fe1f12927b86537688a1e634acb181fe6e0d149 | 03c6d91afa813b32aa0c0f5710c8ccc68e5d7c05 | /codeforces 869 B. The Eternal Immortality.cpp | a4b0ce302c1e0d815472b12a32b48f125b95c38f | [] | no_license | DorianBajorek/Codeforces-solutions | 96fe6c54b55681fe030f3e9015367d2176d10daf | d8e936de286342fef7230da2afbc50dd13164c93 | refs/heads/master | 2023-05-29T00:52:16.680588 | 2020-10-05T16:33:52 | 2020-10-05T16:33:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,349 | cpp |
// Problem : B. The Eternal Immortality
// Contest : Codeforces - Codeforces Round #439 (Div. 2)
// URL : https://codeforces.com/contest/869/problem/B
// Memory Limit : 256.000000 MB
// Time Limit : 1000.000000 milisec
// Powered by CP Editor (https://github.com/coder3101/cp-editor)
#include<bits/stdc++.h>
... | [
"noreply@github.com"
] | noreply@github.com |
31c418045f3e6546f02ec9e369b88f3dfa8371d4 | 6c0f8abb26f9832eb7ab00901f470d001be4af32 | /util/Integrator.h | 3741c258cd56e28e5178277e737e197dd110efb3 | [
"MIT"
] | permissive | erikleitch/climax | 146a6bf69b04f0df8879e77ea4529b4c269015a5 | 66ce64b0ab9f3a3722d3177cc5215ccf59369e88 | refs/heads/master | 2021-07-19T17:17:22.524714 | 2021-02-02T17:17:35 | 2021-02-02T17:17:35 | 57,599,379 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,684 | h | #ifndef GCP_UTIL_INTEGRATOR_H
#define GCP_UTIL_INTEGRATOR_H
/**
* @file Integrator.h
*
* Tagged: Wed Oct 23 16:47:33 PDT 2013
*
* @version: $Revision: $, $Date: $
*
* @author Erik Leitch
*/
#include "gsl/gsl_integration.h"
#define INT_FN(fn) double (fn)(double x, void* params)
namespace gcp {
namespace ... | [
"eleitch@basho.com"
] | eleitch@basho.com |
dd3a67e6591d10221dfec4f25823592980afb7e2 | 38b7c79c386f46f53be75df5f4003ba4b2b8f1f8 | /LeetCode/Array/2D Array/FindDiagonalOrder.cpp | 36637626126bec2e1c87655053fbdb1ba1c12ae9 | [] | no_license | inioluwaa/Problem-Solving | 28c5c6e644583fc83847c597654004145688c080 | 77482ac0b0224af626bcd329a4f091058f635e73 | refs/heads/master | 2020-04-09T08:09:18.675605 | 2019-07-05T06:20:35 | 2019-07-05T06:20:35 | 158,824,806 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,002 | cpp | #include <iostream>
#include <vector>
using namespace std;
vector<int> findDiagonalOrder2(vector<vector<int>>& matrix);
int main() {
vector<vector<int>> vect{ {1, 2, 3}, {4, 5, 6}, {7, 8, 9} };
// vector<vector<int>> vect{{6, 9, 7}};
vector<int> u = findDiagonalOrder2(vect);
for (auto i : u) {
... | [
"inioluwaakinleye@gmail.com"
] | inioluwaakinleye@gmail.com |
a16b7e43c88076b8e6af5b06fb3b6826dcf9e2f2 | 0a7c20991b0d63561a144e27b646520c45c154c7 | /RTSPServer/Src/V4L2FramedSource.cpp | 66ca896a5c893d1fe3824f9c9a333bc0d3fd3c5d | [] | no_license | jweih/v4l2-2 | 406d8cce11215f21d69c4e136b496f0e8ab38077 | e69f3ab31f2a35376a5f658884318dd855e214f5 | refs/heads/master | 2021-01-23T05:36:05.184728 | 2014-12-10T11:24:30 | 2014-12-10T11:24:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,600 | cpp | #include <V4L2FramedSource.h>
int V4L2FramedSource::nalIndex = 0;
V4L2* V4L2FramedSource::v4l2 = new V4L2();
V4L2FramedSource::V4L2FramedSource(UsageEnvironment & env) :
FramedSource(env)
{
output_bufsize = 128 * 1024;
outbuf = malloc(output_bufsize);
//v4l2 = new V4L2();
pEncode = new H264Encode();
mp_token =... | [
"jiqiujia2014@gmail.com"
] | jiqiujia2014@gmail.com |
aa47118ba19df716d394f5ffc2954e5634dc6266 | fb14da294e8c6f2b0576e16aa6e48b6957965c8b | /src/qt/clientmodel.cpp | a29d8a3884441603ef83fa15e97dc29862578648 | [
"MIT"
] | permissive | Mitracore/Mitracore | c1d960e95115df701528f9043756d772e813bbdf | aff4bcd53d3d31f6ae327477738a3a356d3f89eb | refs/heads/master | 2020-03-15T10:02:52.708394 | 2018-05-04T05:13:49 | 2018-05-04T05:13:49 | 132,046,562 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,921 | 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 The Mitra developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-lic... | [
"hjghjbhj@users.noreply.github.com"
] | hjghjbhj@users.noreply.github.com |
6485690449b734db1c9de4a674a7405998160adb | 6226b0d300d2fec931c0da9b872b0f5e132b4e3e | /include/serial/objectinfo.hpp | afc4b231ff2bb622552dba9970e2715ad8e3dcb5 | [] | no_license | public-domain/ncbi_cxx | 19f7eb61e9d428953ae677252be14324db696032 | 6bbd03af3d07f279f64adab9edfc9eefe7866d88 | refs/heads/master | 2021-02-09T01:18:32.894918 | 2020-03-01T20:48:19 | 2020-03-01T20:48:19 | 244,221,269 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,960 | hpp | #ifndef OBJECTINFO__HPP
#define OBJECTINFO__HPP
/* $Id: objectinfo.hpp 143121 2008-10-15 16:18:21Z vasilche $
* ===========================================================================
*
* PUBLIC DOMAIN NOTICE
* National Center for Biotechnology Information
*
* This softwa... | [
"jean-marc.lienher@bluewin.ch"
] | jean-marc.lienher@bluewin.ch |
4d7219f128a342d893b2a80cbb2c5438d4a629b0 | 54f352a242a8ad6ff5516703e91da61e08d9a9e6 | /Source Codes/CodeJamData/14/33/15.cpp | 358b0ae6f801cc1d640ad29203569ac591dfb85e | [] | no_license | Kawser-nerd/CLCDSA | 5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb | aee32551795763b54acb26856ab239370cac4e75 | refs/heads/master | 2022-02-09T11:08:56.588303 | 2022-01-26T18:53:40 | 2022-01-26T18:53:40 | 211,783,197 | 23 | 9 | null | null | null | null | UTF-8 | C++ | false | false | 1,475 | cpp | #include <cstdio>
#include <algorithm>
using namespace std;
#define INF 1000000000
int n, m, k, T;
int calc1(int a, int b, int c1, int c2, int c3, int c4) {
int c = a + c1 + c2 - c3 - c4, d = b + c1 + c3 - c2 - c4;
if (c < 0 || d < 0) return -1;
if (a + c1 + c2 > m) return -1;
if (b + c1 + c3 > n) retu... | [
"kwnafi@yahoo.com"
] | kwnafi@yahoo.com |
62946b398ae0d68ecd8fa3370a856de05e3b9437 | bf21ed931975ff7bd1ce622260caeda7e87b8162 | /thirdparty/clbool/src/coo/coo_kronecker_product.hpp | 37bb35a4911dace9bf1f6212ffd6315766402192 | [
"MIT"
] | permissive | nikitavlaev/SpBench | 5da00e853c03857952a4219e6bb4aca7f22e4e2d | 8e9d22d250c7d13e61c183ee289d57563c3a462c | refs/heads/main | 2023-04-04T05:57:06.427102 | 2021-04-19T11:14:48 | 2021-04-19T11:14:48 | 357,865,123 | 0 | 0 | MIT | 2021-04-14T10:29:46 | 2021-04-14T10:29:45 | null | UTF-8 | C++ | false | false | 255 | hpp | #pragma once
#include "../library_classes/matrix_coo.hpp"
void kronecker_product(Controls &controls,
matrix_coo &matrix_out,
const matrix_coo &matrix_a,
const matrix_coo &matrix_b
);
| [
"egororachyov5@gmail.com"
] | egororachyov5@gmail.com |
44856ff82e39e9682eadbdfff32776f4c5290592 | 78bb158c8376185ec61cbac27e755fbcb7f0e33f | /36/copy1.cc | d3b32e2494250ade189b8bfbaedfe892cd9d5129 | [] | no_license | lchorbadjiev/teach2014-2015 | 4ba083b0e827ca388f712bfd68874b814948aa33 | 4c4cd0e0351e5c744b2fd336d92fb749fd77ed61 | refs/heads/master | 2016-09-11T04:08:03.235490 | 2015-05-12T15:52:57 | 2015-05-12T15:52:57 | 24,597,161 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 565 | cc | #include <iostream>
using namespace std;
void copy1(int dst[], int src[], int size) {
for(int i=0;i<size; ++i) {
dst[i] = src[i];
}
}
void copy1(double dst[], double src[], int size) {
for(int i=0;i<size; ++i) {
dst[i] = src[i];
}
}
int main() {
int a[] = {0,1,2,3,4,5,6,7,8,9};
int b[10];
copy1(b... | [
"lchorbadjiev@setelis.com"
] | lchorbadjiev@setelis.com |
ba2b2f66797a772c7313ae9fef5273f2dab0ea32 | 8f506513cb73d9bdb5dbdd9084aaba020b1efbea | /Course_2-Data_Structures/Week-3/Excercise_Challenges/1_make_heap/build_heap.cpp | baa1216f22e09c22a3a3c316bcaf9eb51d1ba69b | [] | no_license | KhanAjmal007/Data-Structures-and-Algorithms-Specialization-Coursera | 1255ecf877ecd4a91bda8b85e9c96566fe6d5e4d | ab6e618c5d8077febb072091e80c16f5f1a15465 | refs/heads/master | 2023-03-21T04:18:04.580423 | 2020-07-11T07:18:06 | 2020-07-11T07:18:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,616 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
class HeapBuilder{
private:
vector<int> data_;
vector<pair<int, int> > swaps_;
void ReadData(void)
{
int n;
cin >> n;
data_.resize(n);
for(int i = 0; i < n; ++i)
cin >> data_[i]... | [
"mokit.aust@gmail.com"
] | mokit.aust@gmail.com |
be30cb76a44755b2f90a5bbc1a6492f1753220e0 | 6af6cc7123c61a87a4effab57453654b02cd0aad | /Source/VRProject/CustomActor.cpp | 21293d5fc539ade6102c1ea216d22b76387cb5bd | [] | no_license | Monkscape/VRCapstoneProject | 65d096ea322c18c44030e4e415a4e83c6f681380 | 3bd07f7cd99d54c4ade84388a21aba9ac248bf1b | refs/heads/master | 2020-05-09T15:55:38.878283 | 2019-05-03T23:24:42 | 2019-05-03T23:24:42 | 181,248,637 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 701 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "CustomActor.h"
#include "Classes/Components/StaticMeshComponent.h"
// Sets default values
ACustomActor::ACustomActor()
{
// Set this actor to call Tick() every frame. You can turn this off to improve performance if you don't n... | [
"noahmillermonkscape@gmail.com"
] | noahmillermonkscape@gmail.com |
d941dabc0e274166484601bd3bfdd8f4f34aa264 | dd24eb17296c204d9860f51f7040ae61d1e60d46 | /Source/D2/MissionActor.h | c593d2e68379ea3494596d039bbc35dba2eb3e84 | [] | no_license | RonakFabian/Destiny-2-Prototype | b6cc8597415a673f4126231496b2611028220030 | 51997efd0c07037b55b56f4990c65f18c4b24e74 | refs/heads/master | 2023-01-06T18:28:38.151373 | 2020-11-10T14:42:08 | 2020-11-10T14:42:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 644 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Actor.h"
#include "MissionActor.generated.h"
UCLASS()
class D2_API AMissionActor : public AActor
{
GENERATED_BODY()
public:
// Sets default values for this actor's pr... | [
"ronakmanfabian@gmail.com"
] | ronakmanfabian@gmail.com |
475e0c6218da801d01c070cc6494f5451068faa3 | 647cb038a31c44adc0a6f2df82399a808502d9de | /385B.cpp | b90897a2cb369d1e164b287465362b3267598884 | [] | no_license | sankalp29/Competitve-Programming-Codes | 82f93a58be1c696328bd83fa207408d744f7ae78 | 09aa08eab0e7e4e9be6979ad5c6cc938e8a39e57 | refs/heads/master | 2020-07-24T22:12:02.823345 | 2020-02-18T13:50:23 | 2020-02-18T13:50:23 | 208,064,985 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 741 | cpp | #include<bits/stdc++.h>
typedef long long ll;
typedef double ld;
#define vll vector<ll>
#define vvll vector< vll >
#define vld vector< ld >
#define vvld vector< vld >
#define pll pair<ll ,ll >
#define nl <<endl
#define vllp vector< pll >
#define MOD 1000000007
#define endl "\n"
#define MAX 1000000007
#defi... | [
"noreply@github.com"
] | noreply@github.com |
174dc821cf3974936ca51164c99d4182f4c33c36 | 9e6eeb8dc4703d0927d0029b3600f87e137e4e91 | /Source/Hooks/Falcom/EDAO/edao.h | 65d0a626332513cbd848df43b7c399cc5abf6b9e | [] | no_license | uvbs/Arianrhod | cef0173ca993e700331ba4abc761a4a0351effdd | 7a5fb53f89f7f362ea74cee6da5b97b4d3382f8c | refs/heads/master | 2021-01-15T14:38:02.118196 | 2014-12-18T16:05:48 | 2014-12-18T16:05:48 | 28,196,882 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 35,405 | h | #ifndef _EDAO_H_5c8a3013_4334_4138_9413_3d0209da878e_
#define _EDAO_H_5c8a3013_4334_4138_9413_3d0209da878e_
#define DIRECTINPUT_VERSION 0x800
#include "MyLibrary.h"
#include <GdiPlus.h>
#include <dinput.h>
#if D3D9_VER
#define NtGetTickCount (ULONG64)GetTickCount
#endif
#if 0
#undef DebugPrint
#define D... | [
"Hiromi.Kaede@gmail.com"
] | Hiromi.Kaede@gmail.com |
0aade6ac3e836d2ff40b628b10361ae91e1c8a95 | 8f29598dfa2737f01ecd8470c7e9182c34fcd7d2 | /src/common/exprvalue.h | 201620e88260bbeb3381a6da43192c5fff3ac504 | [] | no_license | yedan2010/omnetpp | 8b8f7370dcaf5aeac340865d8d116029213a1d0c | aba1f0c3eeb02bbb65ccecf6f9a21e9ffbc4b003 | refs/heads/master | 2020-06-02T03:37:02.011659 | 2019-06-04T10:06:19 | 2019-06-04T10:06:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,558 | h | //==========================================================================
// EXPRVALUE.H - part of
// OMNeT++/OMNEST
// Discrete System Simulation in C++
//
//==========================================================================
/*-----------------------------------------------... | [
"andras@omnetpp.org"
] | andras@omnetpp.org |
9fe5c41fef7a54d8323db7dbb667be6f5107e02b | 4bab98acf65c4625a8b3c757327a8a386f90dd32 | /ros2-windows/include/geometry_msgs/msg/detail/inertia__struct.hpp | 0ab7c5ac8f6bfb87ced89df038eeb0e270cb6333 | [] | no_license | maojoejoe/Peach-Thinning-GTRI-Agricultural-Robotics-VIP | e2afb08b8d7b3ac075e071e063229f76b25f883a | 8ed707edb72692698f270317113eb215b57ae9f9 | refs/heads/master | 2023-01-15T06:00:22.844468 | 2020-11-25T04:16:15 | 2020-11-25T04:16:15 | 289,108,482 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,659 | hpp | // generated from rosidl_generator_cpp/resource/idl__struct.hpp.em
// with input from geometry_msgs:msg\Inertia.idl
// generated code does not contain a copyright notice
#ifndef GEOMETRY_MSGS__MSG__DETAIL__INERTIA__STRUCT_HPP_
#define GEOMETRY_MSGS__MSG__DETAIL__INERTIA__STRUCT_HPP_
#include <rosidl_runtime_cpp/bound... | [
"aidencfarrar@gmail.com"
] | aidencfarrar@gmail.com |
7910356737ffbbf082cca8ce97095064506b46e6 | fc7d5b988d885bd3a5ca89296a04aa900e23c497 | /Programming/mbed-os-example-sockets/mbed-os/features/frameworks/utest/source/utest_print.cpp | 57c0224c53e18e897d5513432dce8595276ad2b8 | [
"Apache-2.0"
] | permissive | AlbinMartinsson/master_thesis | 52746f035bc24e302530aabde3cbd88ea6c95b77 | 495d0e53dd00c11adbe8114845264b65f14b8163 | refs/heads/main | 2023-06-04T09:31:45.174612 | 2021-06-29T16:35:44 | 2021-06-29T16:35:44 | 334,069,714 | 3 | 1 | Apache-2.0 | 2021-03-16T16:32:16 | 2021-01-29T07:28:32 | C++ | UTF-8 | C++ | false | false | 1,770 | cpp | /****************************************************************************
* Copyright (c) 2019, ARM Limited, All Rights Reserved
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License.
* You ma... | [
"albmar-6@student.ltu.se"
] | albmar-6@student.ltu.se |
3a73ab70586e009c7a486511452c7f4b7328b411 | 867aeda5172bc44c2f08543668dedd9a472d7307 | /src/Beam.cpp | 7082e141dbb47bae70c39057420e9a6736589c6c | [] | no_license | Heart-Under-Blade/BS_visual | a0a10257919204022f1013047068adaebb567dba | 7dfbc097441e878afc4571c20432eae106d2c240 | refs/heads/master | 2021-08-11T18:26:53.262010 | 2017-09-27T10:10:05 | 2017-09-27T10:10:05 | 104,302,724 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,938 | cpp | #include "Beam.h"
#include <float.h>
#include <math.h>
#include <assert.h>
#include <list>
#include "macro.h"
#include "geometry_lib.h"
std::ostream& operator << (std::ostream &os, const Beam &beam)
{
using namespace std;
os << Polygon(beam);
os << "level: " << beam.level << endl
<< "last facet: " << beam.l... | [
"ray-zo@mail.ru"
] | ray-zo@mail.ru |
414729b3caacba4eca10661e3165964eb4378ffe | d87370a13a42fff0cc2a4b2866b100974a4ade17 | /6/6.cpp | 58fab12bc76ac655187438fa3442330bd9be6941 | [] | no_license | PanchLine/-3 | 3dceb02bc0abe4c3420512fdd176a571183ec521 | d014242f5d837925546134b6132f3ed2b80dfd4c | refs/heads/master | 2023-01-15T11:44:44.468914 | 2020-11-25T11:47:15 | 2020-11-25T11:47:15 | 315,899,200 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,878 | cpp | // 6.cpp : Этот файл содержит функцию "main". Здесь начинается и заканчивается выполнение программы.
//
#include <iostream>
using namespace std;
int main()
{
setlocale(NULL, "rus");
int x, y, z=1, k=0;
cout << "Введите 2 числа";
cin >> x >> y;
while (z<=x && z<=y)
{
if (... | [
"noreply@github.com"
] | noreply@github.com |
fbc60497041fccf058d274c7d5170465a91176ab | 4d4822b29e666cea6b2d99d5b9d9c41916b455a9 | /Example/Pods/Headers/Private/GeoFeatures/boost/intrusive/detail/size_holder.hpp | 89bc0f7c8ac1fe40bfa66fb0e34d9b0a9901919d | [
"BSL-1.0",
"Apache-2.0"
] | permissive | eswiss/geofeatures | 7346210128358cca5001a04b0e380afc9d19663b | 1ffd5fdc49d859b829bdb8a9147ba6543d8d46c4 | refs/heads/master | 2020-04-05T19:45:33.653377 | 2016-01-28T20:11:44 | 2016-01-28T20:11:44 | 50,859,811 | 0 | 0 | null | 2016-02-01T18:12:28 | 2016-02-01T18:12:28 | null | UTF-8 | C++ | false | false | 74 | hpp | ../../../../../../../../GeoFeatures/boost/intrusive/detail/size_holder.hpp | [
"hatter24@gmail.com"
] | hatter24@gmail.com |
06ac0804485dc9ce927ce6c3c93a4cff0fcd7538 | 092627da4daaea29e171ac65a539dae29f047525 | /template.cpp | ce6aec50b9a880de89bdf1b11a9d102351b3781f | [] | no_license | Bhutanisachin19/C-and-C-College-Codes | 03105db049a98b188ba6589c14c73f9c64b194a2 | 84435d0dd73e0012a2c707abf3b83a35d9fac782 | refs/heads/master | 2023-07-31T05:34:14.424960 | 2021-09-28T08:59:16 | 2021-09-28T08:59:16 | 411,207,513 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 562 | cpp | #include<iostream>
using namespace std;
template < class T >
void sort_arr(T arr)
{
int i,j;
T a;
for (i = 0; i < 5; ++i)
{
for (j = i + 1; j < 5; ++j)
{
if (arr[i] > arr[j])
{
a = arr[i];
arr[i] = arr... | [
"sachin.bhutani60@gmail.com"
] | sachin.bhutani60@gmail.com |
fbb69635b815c0e76056b67d88b9cd99418fdcfc | d092cde037d32efe117668aec994cb5b4516fa2e | /BackToWar_135/addon_2_project/ADDON_2_PROJECT/ADDON_PROJECT_130/Hint.cpp | 5e2cac06960dbd30afb0035223cf15ff9c44a462 | [] | no_license | Kright/Cossacks-back-to-war | ba16da5e7994ba066f9f0387c3907a9239d3441a | 01c4726312717b04c9f4cc4e17810e31d5f5521d | refs/heads/master | 2020-12-30T15:55:13.769763 | 2016-10-21T19:18:31 | 2016-10-21T19:18:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,228 | cpp | #include "ddini.h"
#include "ResFile.h"
#include "FastDraw.h"
#include "mgraph.h"
#include "mouse.h"
#include "menu.h"
#include "MapDiscr.h"
#include "multipl.h"
#include "fog.h"
#include "walls.h"
#include "Nature.h"
#include <time.h>
#include "Nucl.h"
#include "TopZones.h"
#include "Megapolis.h"
#include "Fonts.h"
#i... | [
"my.fsou1@gmail.com"
] | my.fsou1@gmail.com |
8f9416bd8ad63091367cb56bfdb958a0aad9888e | 9a3ec3eb5371a0e719b50bbf832a732e829b1ce4 | /GameOps/NPCForestGuardian.cpp | e61eb6505e8bd4699c6b98e1ad58b04e09513be0 | [] | no_license | elestranobaron/T4C-Serveur-Multiplateformes | 5cb4dac8b8bd79bfd2bbd2be2da6914992fa7364 | f4a5ed21db1cd21415825cc0e72ddb57beee053e | refs/heads/master | 2022-10-01T20:13:36.217655 | 2022-09-22T02:43:33 | 2022-09-22T02:43:33 | 96,352,559 | 12 | 8 | null | null | null | null | UTF-8 | C++ | false | false | 980 | cpp | /////////////////////////////////////////////////////////////////////////////
#pragma hdrstop
#include "NPCForestGuardian.H"
NPCForestGuardian::NPCForestGuardian()
{}
NPCForestGuardian::~NPCForestGuardian()
{}
extern NPCstructure::NPC _NPCForestGuardian;
void NPCForestGuardian::Create( void )
{
npc = ( _NPCFo... | [
"lloancythomas@hotmail.co"
] | lloancythomas@hotmail.co |
3d3350e2f8ee6486f13222e8e1177793856ec588 | 715d33bc9331414ccd9d13a93aec0e6a82e6baca | /benzene_predictor/uTensor-mbed/predictor.cpp | 5e377e41045727eccc1fc288942b1228b7178558 | [] | no_license | antoninus96/Air_Quality_Monitoring_IoT | beb6a3c3e47109ee59a4510d323af2f66b672db6 | 89f0125c4324da80040de2f028fc957a9f0edeae | refs/heads/master | 2020-05-07T13:22:17.426927 | 2019-04-15T20:41:03 | 2019-04-15T20:41:03 | 180,546,841 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 553 | cpp | #include "predictor.h"
float predict(float* values){
Context ctx; //creating the context class, the stage where inferences take place
//wrapping the input data in a tensor class
Tensor* input_x = new WrappedRamTensor<float>({1, 3}, values);
get_predictor_ctx(ctx, input_x); // pass the tensor to the context
S... | [
"mattianicolella@gmail.com"
] | mattianicolella@gmail.com |
b760c2b4afe37fa780dd740641005cd5756d01ba | 7f01ac465a22a8d128a42a9278c27405e8ede392 | /lab3/tests/test_SphereObject.cc | 4bdfc79f978d06416716f0c94f402c06f7e3eb22 | [] | no_license | vertz/cs11-advcpp | 324e4337e895c83c92c27170c59c9ca511ba6d93 | f0aa96f4723a6f3299edb33387129022f7612dd2 | HEAD | 2016-09-05T11:51:36.918876 | 2014-01-11T00:05:46 | 2014-01-11T00:05:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,643 | cc | #include "SphereObject.hh"
#include "Vector3F.hh"
#include "Ray.hh"
#include <gtest/gtest.h>
#include <iostream>
// This is the namespace that the Google C++ Testing Framework uses.
using namespace testing;
TEST(TestSphereObject, intersection)
{
// shooting a ray from (0,0,0)
// at a sphere of radius 1 at ... | [
"winter333@gmail.com"
] | winter333@gmail.com |
2d8d59e907f989bc042baf8d77a7ed7c88be2e99 | 9347848790b55807cee048d3cf34d24123c32287 | /Graphs/myHop.cpp | 2e28cceca144aec2f9ca14f0201b93e9c3d28198 | [] | no_license | andpodob/CSstudy | 5a1c2960c43860d3d17c24ef410357f03ad84f76 | 229805851c64d3c701dace5780a620848f09af8f | refs/heads/master | 2022-04-10T09:58:58.722939 | 2020-03-08T13:26:19 | 2020-03-08T13:26:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,808 | cpp | #include <bits/stdc++.h>
using namespace std;
#define NIL 0
bool bipartite(vector<vector<int>>& adj, vector<int>& color){
queue<int> q;
int v;
int u;
for(int i = 0; i < color.size(); i++){
if(color[i] == 0){
color[i] = 1;
q.push(i);
while (!q.empty())
... | [
"andrzejpodobinski2@gmail.com"
] | andrzejpodobinski2@gmail.com |
de8e889c5a4ad5e44e33569c7a14cf73ab03ec50 | fee832dbf12036e3b892f07c825b26bd1402d1aa | /URI/uri2807.cpp | 2d3c3277dee306ee9048eadc02bb6d5d354c0c5d | [] | no_license | Iftekhar79/Competitve-Programming | 4e026f1d1a3dc707a4fd267cb2e45ae29a94a4b0 | f3125b9d652e13bd5811f9f900057a2ed6fb0c0d | refs/heads/master | 2020-05-01T06:39:48.560553 | 2020-04-11T08:45:32 | 2020-04-11T08:45:32 | 177,332,831 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 288 | cpp | #include<iostream>
using namespace std;
int main() {
int t,i;
cin>>t;
int v[t];
v[0]=1;
v[1]=1;
for(i=2;i<t;i++) {
v[i]=v[i-1]+v[i-2];
}
for(i=t-1;i>=0;i--)
cout<<v[i]<<" ";
cout<<endl;
return 0; }
| [
"noreply@github.com"
] | noreply@github.com |
e48b87a59f5c323da5f234e54e743c80029404ca | f29c7a3851ca30ba2d7fcae88152151a47500a9e | /km.cpp | ea26ec6704a0550028e26ab3b5b6732a02ad8d84 | [] | no_license | EricAugusto769/C-_projects | e8e365d4621d429c023b04374827266578362f6b | 8942f1843322253e8bdc675d21878153fdd12467 | refs/heads/master | 2022-12-18T11:02:37.220214 | 2020-09-29T01:14:02 | 2020-09-29T01:14:02 | 299,468,636 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 650 | cpp | #include <stdio.h>
#include <stdlib.h>
main(){
float km,gas;
int tipo;
printf("Quantos km foram percorridos?:");
scanf("%f",&km);
printf("Qual tipo de carro foi utilizado? Digite 1 para carro A 2 para o B e 3 para o C: ");
scanf("%d",&tipo);
if (tipo==1){
gas=0.0833333333333333*km;
printf("Vpcê irá g... | [
"noreply@github.com"
] | noreply@github.com |
aef6da1461c896abb9e70ecfb16685d0b81c3bb5 | 90998e90caebf9514f727a3a6ae5310aaf4f5369 | /core/src/wallet/bitcoin/explorers/api/TransactionsParser.cpp | 5dcd57e60fe55c3ded54113fbdddc15ac2870b14 | [
"MIT"
] | permissive | luchenyuxx/lib-ledger-core | cdf527a025ee5ea0d3106a509ed11dc7614ff70e | c77c75ac2785b16fc6d4c6760dabc9ceabad8942 | refs/heads/master | 2020-04-08T15:39:28.054230 | 2018-10-22T16:06:34 | 2018-10-22T16:24:10 | 159,486,913 | 0 | 0 | MIT | 2018-11-28T10:50:10 | 2018-11-28T10:50:09 | null | UTF-8 | C++ | false | false | 4,114 | cpp | /*
*
* TransactionsParser
* ledger-core
*
* Created by Pierre Pollastri on 13/04/2017.
*
* The MIT License (MIT)
*
* Copyright (c) 2016 Ledger
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* i... | [
"pollastri.p@gmail.com"
] | pollastri.p@gmail.com |
ef8e832d42a6815f42513ab975fe6c408f7a0f3c | 729bd86b650644cb4dea77ca5f01c3b602223f9e | /src/problems/MagicSquare.hpp | 134d83be44c8ff5a4c1fbdaf36573003b8fbd760 | [] | no_license | sitrakafidi/CSPSolverCpp | 2e8042b606fd45d66a0252b955891cd458a004c9 | 7fecdf8f162819dc49fbf6b49dc30ebaa6859510 | refs/heads/master | 2021-01-19T10:19:38.965016 | 2017-03-26T11:34:48 | 2017-03-26T11:34:48 | 82,176,012 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 585 | hpp | #ifndef MAGICSQUARE_H
#define MAGICSQUARE_H
#include <vector>
#include "Problem.hpp"
#include "../solver/Solver.hpp"
#include "../constraints/AllDifferent.hpp"
#include "../constraints/Equation.hpp"
using namespace std;
class MagicSquare : public Problem{
private :
int N;
vector<string> variables;
vector<Constraint... | [
"sitraka.fidi@gmail.com"
] | sitraka.fidi@gmail.com |
222249ffa265290461e6b441af9314020263e0d5 | 5ec0a5e4795919c58fda73ed0ad38c4ee3a9bb50 | /Step_10/spec/VoidPointersSpec.cpp | 3131e892ddc381f8c185ecd043a2ebf94d7cf58a | [] | no_license | ankitsumitg/mrnd-c | ff1d20f15291db010c7553fb454a9b2e6514ff4f | 2df73b1216937519dbf9848dffce89b0f16d6f47 | refs/heads/main | 2023-03-24T07:16:35.767485 | 2021-03-22T19:15:57 | 2021-03-22T19:15:57 | 350,459,436 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,376 | cpp | #include "stdafx.h"
#include "./../src/VoidPointers.cpp"
using namespace System;
using namespace System::Text;
using namespace System::Collections::Generic;
using namespace Microsoft::VisualStudio::TestTools::UnitTesting;
namespace spec
{
[TestClass]
public ref class VoidPointersSpec
{
private:
TestContext^ tes... | [
"ankitsumitg@gmail.com"
] | ankitsumitg@gmail.com |
2dd3e236973bc438188bed0fc9793ab422a01e5e | 334c25f2cff04138756a12160c1e8211f977ef4d | /Calculator/Calculator/Operand.cpp | 302e9024ea0f476543bb14f38b7c41974a57e67c | [] | no_license | dlakwwkd/VisualCalculator | 717d1a92d797080f8f0246c2084c306f9af8d404 | 87de67c97059e862c7fe0387f98f41488c54c504 | refs/heads/master | 2021-01-18T18:41:50.982719 | 2017-03-20T17:38:44 | 2017-03-20T17:38:44 | 62,564,728 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,530 | cpp | #include "stdafx.h"
#include "Operand.h"
Operand::Operand(char _name)
: Object(_name)
{
}
Operand::~Operand()
{
}
double Operand::GetValue() const
{
auto number = const_cast<Operand*>(this);
if (number->IsInteger())
return static_cast<Int*>(number)->GetValue();
else
return static_cast<F... | [
"dlakek@naver.com"
] | dlakek@naver.com |
a60332cf8b5a651eee213571509e6486957f841a | b7266f76ed29f8d40bdd0bbcf7b9fc1eceea4258 | /C++练习/仿函数.cpp | b58b385def85c4f14f19837af3398d642950393b | [] | no_license | Super-long/C- | 070eccb7961a1709278b7b0b8a1313a1b0740fe6 | 300ee60f3a75577e9e089431628c79fae76af55b | refs/heads/master | 2023-03-24T06:58:38.688174 | 2021-03-27T11:59:06 | 2021-03-27T11:59:06 | 197,859,951 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 600 | cpp | #include<bits/stdc++.h>
using namespace std;
class hello{
public:
int n =0;
void operator()(int &count){
n++;
cout << "n : " << n << " " << count << endl;
}
friend hello operator+(const int &a,const hello &b){
cout << a << endl;
return... | [
"2339824768@qq.com"
] | 2339824768@qq.com |
49d58a7edda0d0bf611199d5cd78ca406a606d61 | 9999d3e61d598298a678424b034993ff146f1c9a | /Mirage/Pd/miragebox/Thread.cpp | 269b888229aec1c2dff2898ddf6aa6231f86aaac | [] | no_license | CICM/PotPourri | f5d467bc485c8c340b49bd894086460a8fa20b7d | a8257a0435fe9f45c2f45a696fe47107806b625b | refs/heads/master | 2020-04-09T19:11:20.822706 | 2014-07-12T06:42:48 | 2014-07-12T06:42:48 | 21,761,349 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,931 | cpp | /*
Copyright (c) 2009 Remy Muller.
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,
publish, distri... | [
"guillotpierre6@gmail.com"
] | guillotpierre6@gmail.com |
9698ad4e6619d222d9fb7da003cd02cab6e682b0 | cb10193095b0658cd6041c0a1048abd82103ce91 | /examples/pppbayestree/gpstk/PhaseCodeAlignment.cpp | c260f9ca9c17ca68366515bb3db5a1713d09b8e3 | [
"BSD-3-Clause",
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | chengwei920412/minisam_lib | 41c810471306badf862cecd2a4d1f1b383aa54a0 | e2e904d1b6753976de1dee102f0b53e778c0f880 | refs/heads/master | 2023-03-17T09:36:35.679579 | 2020-03-15T05:52:35 | 2020-03-15T05:52:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,472 | cpp | //============================================================================
//
// This file is part of GPSTk, the GPS Toolkit.
//
// The GPSTk 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; ei... | [
"shaolin.lv.bit@gmail.com"
] | shaolin.lv.bit@gmail.com |
db6a7a5aae42ea1bd3cf0363a4aec911ece7f9b6 | a1fbf16243026331187b6df903ed4f69e5e8c110 | /cs/engine/xrGame/UI.h | feba4a5d4ff8345568853c30cfdd74ba6891cc71 | [
"LicenseRef-scancode-warranty-disclaimer",
"BSD-2-Clause"
] | permissive | OpenXRay/xray-15 | ca0031cf1893616e0c9795c670d5d9f57ca9beff | 1390dfb08ed20997d7e8c95147ea8e8cb71f5e86 | refs/heads/xd_dev | 2023-07-17T23:42:14.693841 | 2021-09-01T23:25:34 | 2021-09-01T23:25:34 | 23,224,089 | 64 | 23 | NOASSERTION | 2019-04-03T17:50:18 | 2014-08-22T12:09:41 | C++ | UTF-8 | C++ | false | false | 1,149 | h | #pragma once
#include "UICursor.h"
#include "UIDialogHolder.h"
// refs
class CHUDManager;
class CUIGameCustom;
class CUIMainIngameWnd;
class CUIMessagesWindow;
struct SDrawStaticStruct;
class CUI : public CDialogHolder
{
CUIGameCustom* pUIGame;
bool m_bShowGameIndicators;
public:
CHUDManager* m_Paren... | [
"paul-kv@yandex.ru"
] | paul-kv@yandex.ru |
8fd5372a54b50f7c7d20eb75d37f7004303616a4 | 5e8d200078e64b97e3bbd1e61f83cb5bae99ab6e | /main/source/src/protocols/ligand_docking/Rotates.fwd.hh | 0041a1ef0c2b545ccf109cb89fdc1f4eb2f4f880 | [] | no_license | MedicaicloudLink/Rosetta | 3ee2d79d48b31bd8ca898036ad32fe910c9a7a28 | 01affdf77abb773ed375b83cdbbf58439edd8719 | refs/heads/master | 2020-12-07T17:52:01.350906 | 2020-01-10T08:24:09 | 2020-01-10T08:24:09 | 232,757,729 | 2 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 1,229 | hh | // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
// vi: set ts=2 noet:
//
// (c) Copyright Rosetta Commons Member Institutions.
// (c) This file is part of the Rosetta software suite and is made available under license.
// (c) The Rosetta software is developed by the co... | [
"36790013+MedicaicloudLink@users.noreply.github.com"
] | 36790013+MedicaicloudLink@users.noreply.github.com |
ef5410f741b6375816d7fe32aa9e5f86efb20235 | 094d51676ae6ef83fcc67381b5c9dfa92243cf3f | /Win32Project1/inputclass.h | 099249e3b4b9fab9fc589019608a193d01703a6f | [] | no_license | jobsanta/LeapCalibration | e1ae0a4101646a154716cc008748ce80a4e0896a | cdc61c99b9d65f64663479a4dee8795d3c2600d9 | refs/heads/master | 2020-04-06T06:25:39.898449 | 2017-08-30T07:26:47 | 2017-08-30T07:26:47 | 73,818,076 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,079 | h | ////////////////////////////////////////////////////////////////////////////////
// Filename: inputclass.h
////////////////////////////////////////////////////////////////////////////////
#ifndef _INPUTCLASS_H_
#define _INPUTCLASS_H_
///////////////////////////////
// PRE-PROCESSING DIRECTIVES //
/////////////////////... | [
"job.santawat@gmail.com"
] | job.santawat@gmail.com |
db54efd12dc275b1e3b42f6674dfae8bdd3b8c5d | c61fbe2225ff24b61a93ad354bf248f67a09c49d | /src/iostreams.cpp | 1554e5feb81ec3eae54c7b33bb4b022c1b0153a6 | [] | no_license | Diyuse/learning-cpp | 4e383007b7080bf682eb9188c6496d42ddb8a0e8 | 55f0b2252ca711d9235c0f7189c2339adf6b2c93 | refs/heads/master | 2023-06-19T12:08:16.605605 | 2021-07-19T00:53:45 | 2021-07-19T00:53:45 | 245,736,846 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,658 | cpp | #include <cstdlib> // Import c standard library
#include <iostream> // Import read and write data
#include <string> // Import working with strings
#include <limits> // Import to get min and max values of datatypes
#include <vector> // Import vectors
#include <sstream> // Import string streams
#include <numeric> // Impo... | [
"daniel.yan.wu@gmail.com"
] | daniel.yan.wu@gmail.com |
9bb24279290619c833df93dc1214fe43730be5b1 | 1341ebf56cee66f15431236c74e8bb1db02558ac | /ash/wm/desks/desk_mini_view.h | faeb7ea8d6fe327558c6fb1f481f6bfff3f9f2c0 | [
"BSD-3-Clause"
] | permissive | nerdooit/chromium | 41584349b52e0b941ec45ebb5ba5695268e5872f | de77d445d3428ef72455c3b0d9be7e050d447135 | refs/heads/master | 2023-01-11T20:03:40.846099 | 2020-01-25T12:45:08 | 2020-01-25T12:45:08 | 236,195,538 | 1 | 0 | BSD-3-Clause | 2020-01-25T16:25:12 | 2020-01-25T16:25:11 | null | UTF-8 | C++ | false | false | 4,222 | h | // Copyright 2019 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.
#ifndef ASH_WM_DESKS_DESK_MINI_VIEW_H_
#define ASH_WM_DESKS_DESK_MINI_VIEW_H_
#include <memory>
#include "ash/ash_export.h"
#include "ash/wm/desks/desk.... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
4c1bc68b9797bd41f2641b4dc2bdd073f8ea9fc2 | b28305dab0be0e03765c62b97bcd7f49a4f8073d | /content/common/origin_util.cc | 2b15f6177758eb41cf3ea4dddfdad967d0458a64 | [
"BSD-3-Clause"
] | permissive | svarvel/browser-android-tabs | 9e5e27e0a6e302a12fe784ca06123e5ce090ced5 | bd198b4c7a1aca2f3e91f33005d881f42a8d0c3f | refs/heads/base-72.0.3626.105 | 2020-04-24T12:16:31.442851 | 2019-08-02T19:15:36 | 2019-08-02T19:15:36 | 171,950,555 | 1 | 2 | NOASSERTION | 2019-08-02T19:15:37 | 2019-02-21T21:47:44 | null | UTF-8 | C++ | false | false | 2,709 | cc | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/public/common/origin_util.h"
#include "base/lazy_instance.h"
#include "base/macros.h"
#include "base/stl_util.h"
#include "base/strings... | [
"artem@brave.com"
] | artem@brave.com |
ce823bf1ac1899a68f75171ddfcc2448d8755f59 | 9d76a11f9420d8e08d5f2a8474b17df0f38bab2e | /p2psh/xshcli.h | 3e6ee643de38227f866d90ffe262ab12e499bb80 | [] | no_license | luhan/doxsh | e0555a2e8125dcddf828371ddba1fcc6b2eb12e0 | ba27702e98719fbaeec9dbac0ec9dff70798dc21 | refs/heads/master | 2021-05-11T04:11:02.395589 | 2016-05-21T03:55:40 | 2016-05-21T03:55:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,122 | h | #ifndef _XSHCLI_H_
#define _XSHCLI_H_
#include <QtCore>
#include <QtNetwork>
#include "peersrv.h"
class Srudp;
class XshCli : public PeerSrv
{
Q_OBJECT;
public:
XshCli();
virtual ~XshCli();
virtual void init();
public slots:
virtual void onRelayReadyRead();
void onAllocateDone(QString rel... | [
"liuguangzhao@users.sf.net"
] | liuguangzhao@users.sf.net |
c34870e02f68c8bd03f15ac1cff976a2bfd23c06 | 8200360b14e7bdcf9e1ecd025b755dafc33dc592 | /src/openanim/Hierarchy.h | e5328ea8467838c427c209e6eed0bddd9a7cc400 | [
"MIT"
] | permissive | mcanthony/openanim | 6ea1511c459db91e33d04c1e3b8352fb22e0a6d4 | 760695a37d8d592dbf3fd5f7f1506f6e7de2fc88 | refs/heads/develop | 2020-12-03T03:36:33.900464 | 2015-09-30T21:49:16 | 2015-09-30T21:49:16 | 43,944,335 | 2 | 0 | null | 2015-10-09T08:57:56 | 2015-10-09T08:57:55 | C++ | UTF-8 | C++ | false | false | 1,195 | h | #pragma once
#include <vector>
#include <string>
#include <boost/noncopyable.hpp>
#include "Children.h"
namespace openanim {
/// Hierarchy class describes a hierarchy of transformations (skeleton) as a flat array of named Joint
/// objects. It guarantees that the index of parent joint is always lower than index of... | [
"martin.prazak@gmail.com"
] | martin.prazak@gmail.com |
601b2aab750b2a2425968e8482459d96ca10c9a5 | 38b2802949f93896c8d1c6ad920a3c7f63dceb88 | /Math/Vector/Vector.h | 90162aa86df7ef3db0df98cb06bb25c4ca3dbfa8 | [] | no_license | zarath8128/NumericalAnalysis | 327b8fa665621fd1c492e9cf3af20877dd43cf31 | 792f18df9bcc4aa4f02cc02ef3a722065673096e | refs/heads/master | 2020-05-31T05:46:57.769023 | 2013-12-01T05:29:00 | 2013-12-01T05:29:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 482 | h | #ifndef ZARATH_MATH_VECTOR_VECTOR_H
#define ZARATH_MATH_VECTOR_VECTOR_H
#include "Vector_base.hpp"
#include <iostream>
namespace zarath
{
namespace Vector
{
class Vector
:Vector_base<double>
{
public:
Vector(unsigned int len):len(len), buf(new double[len]){}
double &operator()(int i){return buf[i];}... | [
"okamoto@portable-debian"
] | okamoto@portable-debian |
77f261c2459d874a80a72ed450687c327d1f7131 | c1fbfe0f0739c30ef103a9b6189bcb00c0e099c2 | /IoT/mqtt/bedroom2_node/bedroom2_node.ino | 303ba21d1427d549fec57ae1a6f65e8634d69d11 | [] | no_license | aditya6700/smart_home | c530558af15f137c03192b5082cecd090600a203 | a9919dd065184bd6868ae467a283f61829ca509e | refs/heads/master | 2023-02-06T10:45:32.871294 | 2020-12-27T08:42:16 | 2020-12-27T08:42:16 | 298,300,612 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,423 | ino | /******************** NodeMCU **********************/
/************ Including Libraries *************/
#include <ESP8266WiFi.h>
#include "Adafruit_MQTT.h"
#include "Adafruit_MQTT_Client.h"
#include <ArduinoJson.h>
//#include <TaskScheduler.h>
#include <DHT.h>
/*************************** Custom Functions ... | [
"dsaiaditya@gmail.com"
] | dsaiaditya@gmail.com |
e0be8336fd80935bb49fedb573344f45edb5954d | 346fde289e5cfc890496635d62e891ec180cd38b | /Beginner/Patterns/pattern_17.cpp | 34bdab8bb2317abdc99b78f6de5ee1666bdf1670 | [] | no_license | robin025/DSAlgo-CPlusPlus | 71f78dd4b70ae5293363b27c898bf443b8f7f848 | 1e7d84fa4ff3d28e3bb694c53fb1c1eec9c30ad6 | refs/heads/master | 2023-02-05T21:11:51.418109 | 2021-01-01T17:22:21 | 2021-01-01T17:22:21 | 313,063,952 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,236 | cpp | /*Pattern 17 : Star Pattern
Example:
*
* * *
* * * * *
* * * * * * *
* * * * * * *
* * * * *
* * *
*
*/
#include <iostream>
using namespace std;
int main()
{
int n;
cout << "Enter number of rows";
cin >> n;
for (int i = 1; i <= n; i++)
{
for (int j = 0; j <= n; ... | [
"robin25tech@gmail.com"
] | robin25tech@gmail.com |
4a0afdba4c31b0c9b337eb0503b72526bcab40af | 92e67b30497ffd29d3400e88aa553bbd12518fe9 | /assignment2/part6/Re=110/68.7/U | 922eb9639d207a5f9d7b7ff0fb82b1b209295165 | [] | no_license | henryrossiter/OpenFOAM | 8b89de8feb4d4c7f9ad4894b2ef550508792ce5c | c54b80dbf0548b34760b4fdc0dc4fb2facfdf657 | refs/heads/master | 2022-11-18T10:05:15.963117 | 2020-06-28T15:24:54 | 2020-06-28T15:24:54 | 241,991,470 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 63,736 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*-------... | [
"henry.rossiter@utexas.edu"
] | henry.rossiter@utexas.edu | |
5288b4cc39075b43d83ffaef09b91b8c45268cbb | a426b23e859afa7a696f9a7b004d56c5e1123e96 | /设计模式/模板方法/Template Method.cpp | 400fc39f84c3d7efdfe206573457b10139911f30 | [] | no_license | hustjlshi/c-file | da855abdc7fb0a8dd3905f05ce85626f491cc2f5 | 35d6f5526ce1e0d3bd5e96970de38be8efe7251c | refs/heads/master | 2020-06-17T11:58:54.879733 | 2019-07-09T02:25:31 | 2019-07-09T02:25:31 | 195,917,511 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 916 | cpp | #include<bits/stdc++.h>
using namespace std;
class Resume{
protected:
virtual void setperson(){}
virtual void seteducation(){}
virtual void setwork(){}
public:
void File(){
setperson();
seteducation();
setwork();
}
};
class ResumeA : public Resume{
protected:
virtual vo... | [
"hustjlshi@gmail.com"
] | hustjlshi@gmail.com |
d4fbacd93fb94bc62c05b2794168240770ba8294 | 94dcc118f9492896d6781e5a3f59867eddfbc78a | /llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp | a4a52b7c87958d59b6825006f1b831684927b4fa | [
"Apache-2.0",
"NCSA"
] | permissive | vusec/safeinit | 43fd500b5a832cce2bd87696988b64a718a5d764 | 8425bc49497684fe16e0063190dec8c3c58dc81a | refs/heads/master | 2021-07-07T11:46:25.138899 | 2021-05-05T10:40:52 | 2021-05-05T10:40:52 | 76,794,423 | 22 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 97,336 | cpp | //===-- AddressSanitizer.cpp - memory error detector ------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"fuzzie@fuzzie.org"
] | fuzzie@fuzzie.org |
07181445c10a396d58c0561f846a56c7affed79b | 45bebb1cf4e951d673755e5700a9e30b27b1c3ae | /Testing/Interaction/mafGUITransformTextEntriesTest.cpp | 43723e5a57d306c93fa9683077563b5901b49ae8 | [] | no_license | besoft/MAF2 | 1a26bfbb4bedb036741941a43b135162448bbf33 | b576955f4f6b954467021f12baedfebcaf79a382 | refs/heads/master | 2020-04-13T13:58:44.609511 | 2019-07-31T13:56:54 | 2019-07-31T13:56:54 | 31,658,947 | 1 | 3 | null | 2015-03-04T13:41:48 | 2015-03-04T13:41:48 | null | UTF-8 | C++ | false | false | 4,305 | cpp | /*=========================================================================
Program: MAF2
Module: mafGUITransformTextEntriesTest
Authors: Stefano Perticoni
Copyright (c) B3C
All rights reserved. See Copyright.txt or
http://www.scsitaly.com/Copyright.htm for details.
This software is distributed WITHOUT ANY W... | [
"s.perticoni@scsitaly.com"
] | s.perticoni@scsitaly.com |
d07efe70fbd8f36160e7cffcb05e0f5f27d2a502 | 94146da4b034fe6df42a5c5783d0e2cde39d96ef | /592-Logic-Island.cpp | 2ac5d700a45ab77c1f11e1a9928b956d334fe005 | [] | no_license | gitqwerty777/Online-Judge-Code | f9fac8227b1b522d15a318a60a82d287fdc04755 | 5d7e62a1ff62d5f079b5db6b21e9a1acdfc6f15b | refs/heads/master | 2022-05-14T16:17:44.452807 | 2017-12-23T04:16:19 | 2017-12-23T04:16:19 | 16,976,298 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,311 | cpp | #include <cstdio>
#include <cstring>
#include <map>
#include <string>
#include <vector>
using namespace std;
const int maxstatement = 50;
//name, his statement, day, type(-> lie),
char possiblestr[][3][15] = {{"divine", "human", "evil"}, {"day", "night"}, {"is lie", "is not lie"}};
enum STATE{UNKNOWN=-1, COMFIRMED=1,... | [
"goohcl777@gmail.com"
] | goohcl777@gmail.com |
a245bb44b94335c8ff2d43cde432b591c0ef1c3e | 1bb7b76e49f47f65caccc504b58c45e49fbc5975 | /Castlevania/MeleeWeapon.h | d8eace7a6e3be6b5fb49a88e33f90f6a2e4ee857 | [] | no_license | mrtanloveoflife/Castlevania | b0e64091ced12cf4632f256edeedfb2e08650ad0 | b3eb5c7e0d4154bce2b511add45735c420e4a324 | refs/heads/master | 2020-04-15T00:04:59.630498 | 2019-01-05T15:41:56 | 2019-01-05T15:41:56 | 164,095,564 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,360 | h | #pragma once
#include "Textures.h"
#include "Candle.h"
#include "Simon.h"
#include "Item.h"
#include "Zombie.h"
#include "Bat.h"
#include "Panther.h"
#include "Effect.h"
#include "Sound.h"
#define MELEE_WEAPON_TYPE_0_BBOX_WIDTH 23
#define MELEE_WEAPON_TYPE_0_BBOX_HEIGHT 8
#define MELEE_WEAPON_TYPE_1_BBOX_WIDTH 23
#d... | [
"mrtanloveoflife"
] | mrtanloveoflife |
758db7e00724c927f88c30f20807dcd9863d0cd1 | 1d422ee4c2ca924b89e0a6053825057a61e62a97 | /Libraries/MyImgui/src/Utils.h | 7dfb96353ad77e3274f7bc939a4fe19b1b787b99 | [] | no_license | KawBuma/Buma3DSamples2 | 10696deebc586ae69956d95a2c61f2d432f4dd40 | cf7cabb75e196544e478db8af2df04cb652a12fd | refs/heads/main | 2023-06-26T11:54:08.063792 | 2021-08-02T01:52:48 | 2021-08-02T01:52:48 | 380,735,955 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,995 | h | #pragma once
#include <Buma3D/Util/Buma3DPtr.h>
#include <Buma3DHelpers/B3DDescHelpers.h>
#include <Buma3DHelpers/FormatUtils.h>
#include <DeviceResources/DeviceResources.h>
#include <utility>
#include <cassert>
#define BMR_RET_IF_FAILED(x) if (x >= buma3d::BMRESULT_FAILED) { assert(false && #x); retur... | [
"yumabutto.0029@gmail.com"
] | yumabutto.0029@gmail.com |
e59c1e30c75cee87bd1d074e5575aa71f34aec20 | e7ab2404056f7dff5dc0483448ab846905eb0ad5 | /verf_service/src/middleserver.cpp | 31df5a271b548ce7efaae24fd68094753ee115d9 | [] | no_license | Omen1312/Node-Verificator | a7541f3cff427c0dcb74adaa18491ecaa8d9105d | d890f9b548fb0a93faa0ab0864c3b6993c11e7ac | refs/heads/master | 2021-01-04T03:04:07.472153 | 2020-01-22T06:56:05 | 2020-01-22T06:56:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,420 | cpp | #include "middleserver.h"
#include <meta_log.hpp>
#include <open_ssl_decor.h>
#include <statics.hpp>
#include <utility>
MIDDLE_SERVER::MIDDLE_SERVER(int _port, std::function<std::string(const std::string&, const std::string&)> func)
: processor(std::move(func))
{
set_port(_port);
set_threads(std::thread:... | [
"otselnik@yandex.ru"
] | otselnik@yandex.ru |
9ce735dc2240cac1fea5c01171b93f09fe2081f1 | a67c8f4fc7f8b5a807263eefbf4d24e41f938ec9 | /2_sem/lab1_2sem/mainwindow.h | 46f6ba8c303efb87cb61e686ab45d5155d9afe9b | [] | no_license | DanilaShmakov/181-351_Shmakov | f0f2a9cdf5dedcaf445f5db28afd41edd6f89f28 | c64e833a2d31c624fb50e2d7425c56d93bea0bae | refs/heads/master | 2021-07-13T21:26:31.676918 | 2021-06-23T20:16:36 | 2021-06-23T20:16:36 | 148,887,617 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 426 | h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = nullptr);
~MainWindow();
private slots:
void on_pushButton_Authorize_clicked();
... | [
"noreply@github.com"
] | noreply@github.com |
4773cd808294650e3c2e92f5435338233ac4d84b | 1093782b8a6a8630de8d7366954275e4e0384f64 | /playercard.h | 77e053f06b55ae78d2e8f010c13eb1e783441262 | [] | no_license | twantonie/ERC69Accounting | da1a6025d5567c09b920fada1d4db9090706bf30 | a39a1116f811ea5ad3e11fc6ad1c03575f376790 | refs/heads/master | 2021-06-25T17:45:33.189457 | 2017-09-11T21:54:23 | 2017-09-11T21:54:23 | 103,190,219 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 923 | h | #ifndef PLAYERCARD_H
#define PLAYERCARD_H
#include <QVector>
class PlayerCard
{
public:
enum Cards {Senior, Recreant, Colt, Junior, Cub, Mini, Benjamin, Turf, Ten, Nothing};
PlayerCard() {}
PlayerCard(QString firstName, QString lastName, Cards card) : mFirstName(firstName), mLastName(lastName), mCard(c... | [
"noreply@github.com"
] | noreply@github.com |
3dae21c20b4419b1a6b63ea8426821152771b31d | c776476e9d06b3779d744641e758ac3a2c15cddc | /examples/litmus/c/run-scripts/tmp_1/R+dmb.stlp+dmb.sylp.c.cbmc_out.cpp | bcdb16b9812a096502868437285a7bfcc9ac5ae4 | [] | no_license | ashutosh0gupta/llvm_bmc | aaac7961c723ba6f7ffd77a39559e0e52432eade | 0287c4fb180244e6b3c599a9902507f05c8a7234 | refs/heads/master | 2023-08-02T17:14:06.178723 | 2023-07-31T10:46:53 | 2023-07-31T10:46:53 | 143,100,825 | 3 | 4 | null | 2023-05-25T05:50:55 | 2018-08-01T03:47:00 | C++ | UTF-8 | C++ | false | false | 26,605 | cpp | // 0:vars:2
// 2:atom_1_X2_0:1
// 3:thr0:1
// 4:thr1:1
#define ADDRSIZE 5
#define NPROC 3
#define NCONTEXT 1
#define ASSUME(stmt) __CPROVER_assume(stmt)
#define ASSERT(stmt) __CPROVER_assert(stmt, "error")
#define max(a,b) (a>b?a:b)
char __get_rng();
char get_rng( char from, char to ) {
char ret = __get_rng();
... | [
"tuan-phong.ngo@it.uu.se"
] | tuan-phong.ngo@it.uu.se |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.