blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 26 | license_type stringclasses 2
values | repo_name stringlengths 7 95 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 57
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 197k 639M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 11
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 34
values | src_encoding stringclasses 18
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 11 9.86M | extension stringclasses 27
values | content stringlengths 11 9.86M | authors listlengths 1 1 | author stringlengths 0 70 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4b4992ae028622524e99882743f73a627f151d23 | aae79375bee5bbcaff765fc319a799f843b75bac | /atcoder/arc_083/b.cpp | e201e3983723d3e1dc7faaf693f944836e44fb3b | [] | no_license | firewood/topcoder | b50b6a709ea0f5d521c2c8870012940f7adc6b19 | 4ad02fc500bd63bc4b29750f97d4642eeab36079 | refs/heads/master | 2023-08-17T18:50:01.575463 | 2023-08-11T10:28:59 | 2023-08-11T10:28:59 | 1,628,606 | 21 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 238 | cpp | // B.
#include <iostream>
using namespace std;
int main(int argc, char *argv[]) {
int n, k, x, ans = 0;
cin >> n >> k;
for (int i = 0; i < n; ++i) {
cin >> x;
ans += min(x, abs(x - k)) * 2;
}
cout << ans << endl;
return 0;
}
| [
"karamaki@gmail.com"
] | karamaki@gmail.com |
2ee5ddf3494b01d1e348d3673d38ee9a552ac0a6 | 50b48614c67693952500d1c4124f788ee643d1b4 | /Assignment 4/question 2 assignment 4.cpp | 292423a1b34df3fdf74ec7aa36055b6086791954 | [] | no_license | Noorfatimadev/Programming-Fundamentals-Semester-Assignments | 211b794b52348b03b66d0295a1aa2e0f178ebfa5 | 50bf2a4bae948f29a2c452340d9e8c8bf6f05bc9 | refs/heads/main | 2023-08-13T20:49:39.516773 | 2021-09-16T04:50:09 | 2021-09-16T04:50:09 | 406,918,592 | 1 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 882 | cpp | /*
Senior salesperson is paid Rs. 400 a week, and a junior salesperson is paid Rs. 275 a week.
Write a program that accepts as input a salesperson’s status in the character variable status. IF
status is ‘s’ or ‘S’ the senior person’s salary should be displayed; if status is ‘j’ or ‘J’, the junior
person’s salary... | [
"noreply@github.com"
] | noreply@github.com |
2bfe47d03c36ea6de60fff73bd83032d3c75dc80 | 42fc6ef081b64fc60bdc70fcdb384a6c70343c25 | /Mohd Uzaif/Rotate Array/RotateArray.cpp | 5c923a8966205f929b9b6a3a3be6f4ff1aa67456 | [] | no_license | CSoC-2020/Project-on-Data-structure | b7e62e8f31f624884e313dbdee4f64d0d18eeb07 | 6f317b29f780626df21b54599a35ac3c3eb0970e | refs/heads/master | 2022-11-06T18:28:59.901919 | 2020-06-23T22:00:19 | 2020-06-23T22:00:19 | 261,388,319 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 560 | cpp | class Solution {
public:
void rotate(vector<int>& nums, int k) {
if(k>nums.size())
{
k=k%nums.size();
}
for(int i=0,j=nums.size()-1;i<j;i++,j--)
{
int temp;
temp=nums[i];
nums[i]=nums[j];
nums[j]=temp;
}
for(int i=0,j=k-1;i<j;i++,j--)
{
... | [
"imuzaifmohd@gmail.com"
] | imuzaifmohd@gmail.com |
0b8ea0e585f9d138fcaa153d361bd4b82f81e7a8 | fa017e7a5b6e0b79c3a78f11d618d46af3dffece | /List.cpp | fb60eebbcdb87267faf95a7649bfbb1798270c9b | [] | no_license | leyap/Timer | 5c76191c038b2ed3c869547fbe23779b1b3967e9 | eb2c5679a896fc781223763b83afee93cb17f8a8 | refs/heads/master | 2020-12-26T10:08:39.782775 | 2014-04-12T06:40:32 | 2014-04-12T06:40:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,756 | cpp | //////////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2012 by Byron Watkins <ByronWatkins@clear.net>
// List library for arduino.
//
// This file is free software; you can redistribute it and/or modify
// it under the terms of either the GNU General Public License versi... | [
"byron.watkins@comcast.net"
] | byron.watkins@comcast.net |
7434286203b565510202c6e9344f3abeaf545b06 | 8a6656dd0dea2836c9b7cc63a3282054960ceec2 | /epos_arm_control/src/imu_velocity_control3.cpp | 7e9bfa3e14a364cada49408a770c43628d9f5cbd | [] | no_license | 1-mr-robot/Epos4-Control | ea3b61005d8acf5cb3be92a124b801447dd6cac8 | 92237a923330e657082991724492d96f6f4f3348 | refs/heads/main | 2023-04-18T02:08:23.864852 | 2021-05-03T12:31:17 | 2021-05-03T12:31:17 | 343,724,829 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,235 | cpp | #include "ros/ros.h"
#include "epos4.h"
#include <epos_arm_control/epos.h>
#include <std_msgs/Float64MultiArray.h>
#include <std_msgs/Float64.h>
epos_arm_control::epos arm_control;
std_msgs::Float64MultiArray angle;
std_msgs::Float64 error;
std_msgs::Float64 error_prev;
void arrayCallback(const std_msgs::Float64Mul... | [
"dhyan.bohra@gmail.com"
] | dhyan.bohra@gmail.com |
a6e0acf7ffa0abf5a3d26bf5e4d34692f919bc74 | b131d350e15c595f0baaa85157e8cbd1641d312d | /tree/LeftView-iterative.cpp | 821f39446cea25d62016e4b0ca2e8461ad8eb655 | [] | no_license | pkb07815/coding_practice | 4b3d51f6869a67b9d29b8ed6ceac9acfa844add9 | 92b64198682addf049f7675ed2588000756e8776 | refs/heads/master | 2021-07-20T10:33:58.766106 | 2021-07-15T17:41:40 | 2021-07-15T17:41:40 | 238,877,444 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,232 | cpp | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode() : val(0), left(nullptr), right(nullptr) {}
* TreeNode(int x) : val(x), left(nullptr), right(nullptr) {}
* TreeNode(int x, TreeNode *left, TreeNode *right) : val(x), l... | [
"noreply@github.com"
] | noreply@github.com |
881b4eaa432bc42c70f6da69cd3632cb93d96811 | bddf3eee728421f4ea7acb2582a0b28aa8fbd541 | /pro_of_Qt/faims_04-08/build-faims_-Desktop_Qt_5_14_2_GCC_64bit-Debug/temp/moc/moc_databasethread.cpp | 4c0930678e769cf63315cb1d5f180fb72267cdfa | [] | no_license | yzkaa/CPP_All_Test | 6e64ab12fd9f41a35b660330d922da73d6c13524 | 3bd8076247551b9180a0ddf1fb01e71632c5693a | refs/heads/master | 2023-05-06T02:42:19.639079 | 2021-05-29T15:34:23 | 2021-05-29T15:34:23 | 318,482,502 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,327 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'databasethread.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.14.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************... | [
"1076992525@qq.com"
] | 1076992525@qq.com |
269b53727c797f0d387651aa70dee198cafc48aa | ac8e27210d8ae1c79e7d0d9db1bcf4e31c737718 | /tools/flang/runtime/libpgmath/lib/common/acos/fma3/vdacos2.cpp | 9ab2aaa643c7ab4aa10ab943afeb31e0ebc03f33 | [
"Apache-2.0",
"NCSA",
"LLVM-exception"
] | permissive | steleman/flang9 | d583d619bfb67d27a995274e30c8c1a642696ec1 | 4ad7c213b30422e1e0fcb3ac826640d576977d04 | refs/heads/master | 2020-11-27T09:50:18.644313 | 2020-03-07T14:37:32 | 2020-03-07T14:37:32 | 229,387,867 | 0 | 0 | Apache-2.0 | 2019-12-21T06:35:35 | 2019-12-21T06:35:34 | null | UTF-8 | C++ | false | false | 4,173 | cpp |
/*
* Copyright (c) 2017-2018, NVIDIA CORPORATION. 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
*
* Unles... | [
"stefan.teleman@cavium.com"
] | stefan.teleman@cavium.com |
ee76c405f9bd006a80415e7606ceabce522a4dfe | 6ed471f36e5188f77dc61cca24daa41496a6d4a0 | /SDK/EngramEntry_ClothGloves_functions.cpp | 8e107cf50ff5a1b8ea9c68ca9201ea1fef28462f | [] | no_license | zH4x-SDK/zARKSotF-SDK | 77bfaf9b4b9b6a41951ee18db88f826dd720c367 | 714730f4bb79c07d065181caf360d168761223f6 | refs/heads/main | 2023-07-16T22:33:15.140456 | 2021-08-27T13:40:06 | 2021-08-27T13:40:06 | 400,521,086 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,036 | cpp |
#include "../SDK.h"
// Name: ARKSotF, Version: 178.8.0
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Functions
//---------------------------------------------------------------------------
// Function EngramEntry_Clo... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
6681db0f9c7fff1a0f31e81abef08d88b6b052dd | 019a9c2de0eeccb4f31eecbeb0e91cc2db5404c2 | /CodeForces/680B - Bear and Finding Criminals.cpp | dc57644e9c6b0ffe3db976a8b8556cf89863f534 | [] | no_license | Prakhar-FF13/Competitive-Programming | 4e9bd1944a55b0b89ff21537e0960f058f1693fd | 3f0937475d2985da323e5ceb65b20dc458155e74 | refs/heads/master | 2023-01-09T05:09:27.574518 | 2023-01-04T11:32:01 | 2023-01-04T11:32:01 | 133,995,411 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 549 | cpp | #include<bits/stdc++.h>
using namespace std;
int main(){
int n,a;
cin>>n>>a;
a--;
int arr[n];
for(int i = 0 ; i < n ; i++){
cin>>arr[i];
}
int left = a-1, right = a+1;
int cnt = (arr[a] == 1);
while(left >= 0 && right < n){
if(arr[left] == 1 && arr[right] == 1) cnt+=... | [
"prakhar.meerut@gmail.com"
] | prakhar.meerut@gmail.com |
57c4bc9608ddcfae00b91c1ffde4a9cc02912e4c | 39adfee7b03a59c40f0b2cca7a3b5d2381936207 | /codeforces/196/C.cpp | 09e8cf5eae21eeac358d3b893b0cfa3ce39e1f02 | [] | no_license | ngthanhtrung23/CompetitiveProgramming | c4dee269c320c972482d5f56d3808a43356821ca | 642346c18569df76024bfb0678142e513d48d514 | refs/heads/master | 2023-07-06T05:46:25.038205 | 2023-06-24T14:18:48 | 2023-06-24T14:18:48 | 179,512,787 | 78 | 22 | null | null | null | null | UTF-8 | C++ | false | false | 2,626 | cpp | #include <iostream>
#include <algorithm>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <string>
#include <vector>
#include <queue>
#include <stack>
#include <map>
#include <set>
#include <iomanip>
#include <bitset>
#include <complex>
#define FOR(i,a,b) for(int i = a; i <= b; ++i)
#de... | [
"ngthanhtrung23@gmail.com"
] | ngthanhtrung23@gmail.com |
b75aca9b0071b4e3ee23454d4710e1cd6443bd63 | 188fb8ded33ad7a2f52f69975006bb38917437ef | /Fluid/processor3/0.41/pointDisplacement | ca61fa222c6a66a4e543376bda9d0624a3a7ceea | [] | no_license | abarcaortega/Tuto_2 | 34a4721f14725c20471ff2dc8d22b52638b8a2b3 | 4a84c22efbb9cd2eaeda92883343b6910e0941e2 | refs/heads/master | 2020-08-05T16:11:57.674940 | 2019-10-04T09:56:09 | 2019-10-04T09:56:09 | 212,573,883 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25,639 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
... | [
"aldo.abarca.ortega@gmail.com"
] | aldo.abarca.ortega@gmail.com | |
b1d3b1c0a008897dd43aca9b81fd95dce9cc2c38 | 32bfc176a5db0d59129f3c39381c46b0a520eb86 | /demos/parallaxhome/StreamMusicTest/HTTP_window.h | 1909696ee6acaef3a2ac664a2f2895e3d37c9b22 | [] | no_license | varzhou/Hifi-Pod | 2fb4c6bd3172720f8813fbbdf48375a10598a834 | eec4e27e37bc5d99b9fddb65be06ef5978da2eee | refs/heads/master | 2021-05-28T18:26:14.507496 | 2012-09-16T05:45:28 | 2012-09-16T05:45:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 760 | h | /*
* MyPlayer.h
*/
#ifndef MYHTTPWINDOW_H_
#define MYHTTPWINDOW_H_
#include <QWidget>
#include <QLabel>
#include <QLineEdit>
#include <QHttp>
#include <QFile>
#include <QProgressDialog>
#include <QListWidget>
#include <QPushButton>
struct MyDataItem
{
QString audio;
QString... | [
"root@(none).(none)"
] | root@(none).(none) |
08ac03775476373d6a5c0f147c2b8685f15b5df1 | 3ea22cdb46fd3e688cb66e1bd89500e59dea7203 | /Unidade 1/Códigos/Complex_V1/complex.cpp | 536fd368c432445c3fbce0d383ab92ced9a0c42a | [] | no_license | lariskelmer/PA | 8e8ce724cac4b5370cadfc43bf0cf85ddd8432ae | 286e3c8b91c2afeccadf39987c34a47edba94bd1 | refs/heads/master | 2020-08-28T01:46:56.053323 | 2018-05-30T05:18:44 | 2018-05-30T05:18:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 722 | cpp | #include <iostream>
#include <cmath>
#include "complex.h"
using namespace std;
// As funcoes
istream &operator>>(istream &X, Complex &C)
{
cout << "R? ";
X >> C.real;
cout << "I? ";
X >> C.imag;
return X;
}
ostream &operator<<(ostream &X, const Complex &C)
{
X << C.real << (C.imag<0.0 ?... | [
"luizfelipeplm@gmail.com"
] | luizfelipeplm@gmail.com |
bec48977bb48d90e928ac64e49382539f61b9648 | bbdb7a5e36e494574098ed6de85b38d69888fe90 | /blasr-master/alignment/Blasr.cpp | ee1347fbce5e04cae0ef110d997c23894731939b | [] | no_license | chenwi/reference | 5294ee65d75b17a0365f56a198aab3add3e70920 | 7ce094b12b2d76be18f9f07286c61e481bc03c6e | refs/heads/master | 2021-07-20T01:16:39.719966 | 2017-10-27T11:39:06 | 2017-10-27T11:39:06 | 103,332,774 | 0 | 0 | null | 2017-09-18T15:09:40 | 2017-09-13T00:07:27 | null | UTF-8 | C++ | false | false | 185,306 | cpp | #include <string>
#include <iostream>
#include <vector>
#include <set>
#include <sstream>
#include <pthread.h>
#include <stdlib.h>
#include <time.h>
#include <signal.h>
#include <execinfo.h>
#include <algorithm>
#include "MappingIPC.h"
#include "MappingSemaphores.h"
#include "CCSSequence.h"
#include "SMRTSequence.h"
... | [
"1587504387@qq.com"
] | 1587504387@qq.com |
9c044830d185d99f299b02e026b676fb821df7c4 | 3760b0d86a3f16efb85a3944a3fdc25114050c00 | /ViCon/NetworkSender.cpp | e23bd72a51829a6fcf69151c4a451252684beb86 | [] | no_license | luringens/ViCon | 726a7eb271ac5c000275889987cd6cc36a6bd83b | 70d6d012c15d2bf605426d416d6ce558721e24e0 | refs/heads/master | 2023-08-09T03:28:53.234517 | 2017-03-01T09:05:54 | 2017-03-01T09:10:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,215 | cpp | #include "NetworkSender.h"
#include <iostream>
#include <string>
NetworkSender::NetworkSender(const char* port, const char* host)
{
// Set hints (blanking to zero)
struct addrinfo hints, *result;
memset(&hints, 0, sizeof hints);
hints.ai_family = AF_UNSPEC;
hints.ai_socktype = SOCK_DGRAM;
// Get address info of... | [
"soltvedt.stian@gmail.com"
] | soltvedt.stian@gmail.com |
3a12c0fed3efa7730b73c96f01d7944dc8d7f5e1 | 16d46f116d9b769801e745d763949b8f82dfeb18 | /foofxp/model/ftp/server_reply.hpp | 08cbb79a738a8d67cb7ab7f81a2a43b82820b50f | [] | no_license | rdingwall/foofxp | a89605c018fa14402ac81848ccfd478885f9286f | 0c2c42be5b5d75465d5a7b6a2eaf9786e135270c | refs/heads/master | 2016-09-06T20:12:37.713306 | 2012-08-06T20:38:14 | 2012-08-06T20:38:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,099 | hpp | #ifndef FOOFXP_SERVER_REPLY_HPP_INCLUDED
#define FOOFXP_SERVER_REPLY_HPP_INCLUDED
#include <stdexcept>
#include <string>
namespace foofxp {
namespace model {
namespace ftp {
class server_reply
{
public:
typedef unsigned short reply_code_type;
server_reply(const std::string & line);
bool is_end_of_reply() const... | [
"rdingwall@gmail.com"
] | rdingwall@gmail.com |
7b3b6eeaa074dad8daccd9021e3aec9ff1d390aa | ac1c9fbc1f1019efb19d0a8f3a088e8889f1e83c | /out/release/gen/services/viz/public/mojom/compositing/filter_operations.mojom-blink-forward.h | b266020e3474e49d55c1e17e07f375ec80d5b47c | [
"BSD-3-Clause"
] | permissive | xueqiya/chromium_src | 5d20b4d3a2a0251c063a7fb9952195cda6d29e34 | d4aa7a8f0e07cfaa448fcad8c12b29242a615103 | refs/heads/main | 2022-07-30T03:15:14.818330 | 2021-01-16T16:47:22 | 2021-01-16T16:47:22 | 330,115,551 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 996 | h | // services/viz/public/mojom/compositing/filter_operations.mojom-blink-forward.h is auto generated by mojom_bindings_generator.py, do not edit
// 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 SE... | [
"xueqi@zjmedia.net"
] | xueqi@zjmedia.net |
a9d61905b96fb623a7013e923ea4fb7f7db9e7e9 | 74212aa37999516a0aeba7ba1e71620a217f8e9d | /GameDemonstrator/game/GameOwnerRepository.cpp | fc8f15103b4430485fba9d0442869eeba900eebe | [] | no_license | raubwuerger/StrategicGameProject | 21729192518baa541f2c74f35cb0558a64292c2b | ce3e4c31383c44809e970996091067b94602fd92 | refs/heads/master | 2022-04-30T18:31:55.283915 | 2021-11-08T19:14:43 | 2021-11-08T19:14:43 | 19,796,707 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 2,201 | cpp | #include "stdafx.h"
#include "GameOwnerRepository.h"
#include "GameOwner.h"
#include "LogInterface.h"
GameOwnerRepository* GameOwnerRepository::Instance = nullptr;
GameOwnerRepository::GameOwnerRepository()
: BaseRepository(),
DefaultGameOwnerTypeId(NOT_INITIALIZED_INT)
{
}
GameOwnerRepository* GameOwnerRepositor... | [
"hannuschka@web.de"
] | hannuschka@web.de |
491eabef4de83000a7ccbe7d4cbe12c209e88e54 | 83bacfbdb7ad17cbc2fc897b3460de1a6726a3b1 | /v8_4_5/src/cpu-profiler.cc | f48499e5f0f62a827010335f5b78f195a98c93c2 | [
"bzip2-1.0.6",
"BSD-3-Clause",
"Apache-2.0"
] | permissive | cool2528/miniblink49 | d909e39012f2c5d8ab658dc2a8b314ad0050d8ea | 7f646289d8074f098cf1244adc87b95e34ab87a8 | refs/heads/master | 2020-06-05T03:18:43.211372 | 2019-06-01T08:57:37 | 2019-06-01T08:59:56 | 192,294,645 | 2 | 0 | Apache-2.0 | 2019-06-17T07:16:28 | 2019-06-17T07:16:27 | null | UTF-8 | C++ | false | false | 17,847 | cc | // Copyright 2012 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/v8.h"
#include "src/cpu-profiler-inl.h"
#include "src/compiler.h"
#include "src/deoptimizer.h"
#include "src/frames-inl.h"
#include "src... | [
"22249030@qq.com"
] | 22249030@qq.com |
b37a5dcbe93be479cd68f0592ac52b1d08062ad9 | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/base/wmi/cimmap/testinfo.cpp | f6a7e4ce64e3b048a4475186325dc40f9821db33 | [] | no_license | jjzhang166/WinNT5_src_20201004 | 712894fcf94fb82c49e5cd09d719da00740e0436 | b2db264153b80fbb91ef5fc9f57b387e223dbfc2 | refs/heads/Win2K3 | 2023-08-12T01:31:59.670176 | 2021-10-14T15:14:37 | 2021-10-14T15:14:37 | 586,134,273 | 1 | 0 | null | 2023-01-07T03:47:45 | 2023-01-07T03:47:44 | null | UTF-8 | C++ | false | false | 33,452 | cpp | //***************************************************************************
//
// TestInfo.CPP
//
// Module: CDM Provider
//
// Purpose: Defines the CClassPro class. An object of this class is
// created by the class factory for each connection.
//
// Copyright (c) 2000 Microsoft Corporation
... | [
"seta7D5@protonmail.com"
] | seta7D5@protonmail.com |
e9cfbb91f4a31c5c8ad345b4cdfb043dbb99722f | ddf831f5865504bddb5ecef46b3e1c7d24be4ba1 | /flat.cpp | 9b4c8c894271cdbf5f1199f92a82ea4fd57c7a42 | [
"BSD-3-Clause"
] | permissive | termoshtt/flat_ffi_example | 9a60c1a88eb4c221a729105dbbb5ca93d33d2067 | 34e95857cf13133f36cde7bed924f55c4186c025 | refs/heads/master | 2020-06-18T20:33:45.195665 | 2019-07-12T11:02:49 | 2019-07-12T11:02:49 | 196,438,020 | 5 | 0 | BSD-3-Clause | 2019-07-12T11:02:50 | 2019-07-11T17:25:26 | CMake | UTF-8 | C++ | false | false | 434 | cpp | #include <boost/python.hpp>
#include <boost/python/numpy.hpp>
#include "data_generated.h"
namespace p = boost::python;
namespace np = boost::python::numpy;
np::ndarray new_zero1(unsigned int N) {
p::tuple shape = p::make_tuple(N);
np::dtype dtype = np::dtype::get_builtin<double>();
return np::zeros(shape, dtyp... | [
"toshiki.teramura@gmail.com"
] | toshiki.teramura@gmail.com |
ae85278925c2a47b0381b5bf1bc0f3844d35618a | 74ff14608a3c91fbe650ed1039c3036ae17ded89 | /Data-Structures/Linked_List/Doubly/doubly.cpp | f15a33d15b7600896f01e237f5ffa402e2ef8d8e | [] | no_license | sooryaprakash31/ProgrammingBasics | 92fe1d9fb3d90283e7474c74db2b73091a53e462 | e46c2b7dbe35d6226120ce73d609a29e9d36e6e4 | refs/heads/master | 2023-02-10T01:32:27.071046 | 2021-01-06T18:24:08 | 2021-01-06T18:24:08 | 289,292,107 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,673 | cpp | /*
Doubly Linked List:
- A linear data structure in which the elements are not stored in
contiguous memory locations.
- Doubly Linked List contains an extra pointer to keep track of the previous
node to a particular node.
Representation:
previous|data|next <---> previous|data|next <---> previ... | [
"sooryaprakash.r31@gmail.com"
] | sooryaprakash.r31@gmail.com |
85f7154aabf6ef4c0b7fc97b49d4b7a130d4b68a | d597f3f100b681fe3dc3b83f991daef591cdf23b | /fibbonacci using functions.cpp | 014611fcaf5929034c660a241b70ca108536fd48 | [] | no_license | infernus01/DSA | 0c3c34185305f0695101bbdd7858113c82a40247 | f9a8c5077a2cc2956cce8f95568d81b941dd2b47 | refs/heads/main | 2023-07-15T19:10:22.813733 | 2021-08-18T10:20:14 | 2021-08-18T10:20:14 | 397,557,678 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 287 | cpp | #include<iostream>
using namespace std;
int fib(int a);
int main()
{
int a=0,b=1,c,n,res;
cin>>n;
res=fib(n);
cout<<res;
}
int fib(int a)
{ int n1=0,n2=1,n3;
for(int i=0;i<a;i++)
{
n3=n1+n2;
n1=n2;
n2=n3;
}
return fib(n1);
} | [
"noreply@github.com"
] | noreply@github.com |
efc50cbff762ce7fa102ddaab3b78134a095bab7 | 084a13e82aa2f8ffe99054cb1eb04b41c87233ed | /orchagent/p4orch/tests/test_main.cpp | 23cf37d8e1302ffaa07686559e36b0340ec3537e | [
"Apache-2.0"
] | permissive | noaOrMlnx/sonic-swss | bb6c8e474454e229dd9987762fc9e0dd2d9e88ad | 45bdd1928e7d2e61d10fd1ce0da99abe1418bd13 | refs/heads/master | 2023-04-14T23:14:46.936193 | 2022-02-15T23:52:41 | 2022-02-15T23:52:41 | 225,886,985 | 1 | 0 | NOASSERTION | 2022-03-16T10:24:06 | 2019-12-04T14:32:38 | C++ | UTF-8 | C++ | false | false | 6,624 | cpp | extern "C"
{
#include "sai.h"
}
#include <gmock/gmock.h>
#include <vector>
#include "copporch.h"
#include "crmorch.h"
#include "dbconnector.h"
#include "directory.h"
#include "mock_sai_virtual_router.h"
#include "p4orch.h"
#include "portsorch.h"
#include "sai_serialize.h"
#include "switchorch.h"
#include "vrforch.h"... | [
"noreply@github.com"
] | noreply@github.com |
900bc4d73005c9ef3788977607df85fe56ef8c9e | 053770753a862f6406d5d3c20218d48a68ff777d | /src/abr/bola_basic.cc | 44e64094dde35abdf7fce44192a1e8d5a659877d | [] | no_license | bradparks/puffer__stream_live_tv_us | 4091e91beafa3bd62f61e302e0881c7a653a8814 | d9d28209193b89396bc113ec8dc53d0098753786 | refs/heads/master | 2022-10-02T04:13:40.169149 | 2020-06-09T20:19:31 | 2020-06-09T20:30:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,549 | cc | #include "bola_basic.hh"
#include "ws_client.hh"
#include <math.h>
#include <fstream>
#include <algorithm>
using namespace std;
BolaBasic::BolaBasic(const WebSocketClient & client, const string & abr_name)
: ABRAlgo(client, abr_name)
{
// TODO: Make gamma and V configurable
}
/* Note BOLA uses the raw value of u... | [
"emilykmarx@gmail.com"
] | emilykmarx@gmail.com |
95a3b2c5b29786f927eedb518cdd49ee0bbd6472 | c57624029247759a6a21dbca7234941888c3c7f2 | /I_University-Graduate-Information-System_MaxHeap/University-Graduate-Information-System_MaxHeap.cpp | d8fe419aee2a5049b182d5ada89362d6a16ece71 | [
"MIT"
] | permissive | SYangChen/DS_practice | 858ecf54ff3851d7aef053ec1a3519116ab1b982 | 1c43606910894b5a1b5b1577663ec906ac8a8183 | refs/heads/master | 2022-11-24T13:38:49.433645 | 2020-07-24T01:44:55 | 2020-07-24T01:44:55 | 281,609,104 | 1 | 0 | null | null | null | null | BIG5 | C++ | false | false | 8,276 | cpp | #include <cstdlib>
#include <iostream>
#include <cstring>
#include <cstdio>
#include <fstream>
#include <vector>
#include <cmath>
using namespace std;
fstream fin ; // file input
fstream fout ; // file output
typedef struct Data {
int schoolCode ; //... | [
"yang870313@gmail.com"
] | yang870313@gmail.com |
cb276429b8f580be94c49f03f0622ccee6f53c7e | cecf6991e6007ee4bc32a82e438c9120b3826dad | /Win/Source/CoInitializer.h | a70c6dd049258c4366f0a0c5259f5e1af75894a5 | [] | no_license | thinking2535/Rso | 172a3499400331439a530cab78934fa4c4433771 | 35d556463118825a1d5d36f49d46f18a05806169 | refs/heads/main | 2022-11-30T12:43:50.917063 | 2022-11-23T10:47:59 | 2022-11-23T10:47:59 | 31,525,549 | 11 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 293 | h | #pragma once
#include "Base.h"
namespace rso
{
namespace win
{
class CCoInitializer
{
HRESULT _Result = S_FALSE;
public:
CCoInitializer();
CCoInitializer(CCoInitializer&& Var_);
virtual ~CCoInitializer();
CCoInitializer& operator = (CCoInitializer&& Var_);
};
}
}
| [
"thinking2535@gmail.com"
] | thinking2535@gmail.com |
17aea442870d10b8eca80bbde9ec4928ce2f9590 | ad273708d98b1f73b3855cc4317bca2e56456d15 | /aws-cpp-sdk-mq/include/aws/mq/model/BrokerStorageType.h | 4576141572f39ce023d71f817ab2aff4c51872db | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | novaquark/aws-sdk-cpp | b390f2e29f86f629f9efcf41c4990169b91f4f47 | a0969508545bec9ae2864c9e1e2bb9aff109f90c | refs/heads/master | 2022-08-28T18:28:12.742810 | 2020-05-27T15:46:18 | 2020-05-27T15:46:18 | 267,351,721 | 1 | 0 | Apache-2.0 | 2020-05-27T15:08:16 | 2020-05-27T15:08:15 | null | UTF-8 | C++ | false | false | 1,084 | 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... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
47672f30fc0db0b3cae2c64dd9aa9d991ba15463 | 1741a8daf997608e9756c5cdee3391db030da3a0 | /svr/hall/src/HallHandlerProxy.cpp | 04a9266c96e2df4294742018b68def9975241826 | [] | no_license | Michael-Z/coins_ddz | 5cf13aa192cecde0b897a60c47dbfc7911fbba90 | 7fe015952ad7b7e0525eaaceb80c0c9ffbfe2864 | refs/heads/master | 2020-04-10T14:18:13.992316 | 2018-10-10T06:27:04 | 2018-10-10T06:27:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,083 | cpp | #include "HallHandlerProxy.h"
#include "global.h"
#include "Packet.h"
#include "ProcesserManager.h"
#include "SessionManager.h"
#include "HandlerManager.h"
#include "HallHandlerToken.h"
CPacketDecoder HallHandlerProxy::_decoder;
int HallHandlerProxy::OnAttachPoller(CTCPSocketHandler * phandler)
{
if (phandler->_d... | [
"Administrator@PV-X00179798"
] | Administrator@PV-X00179798 |
c94152890c940b22bdb79f243c4f1585d5936f63 | 024d621c20595be82b4622f534278009a684e9b7 | /SupportPosCalculator.h | a5e6a26a02bc832a3e52b38065da83d11c7d94e0 | [] | no_license | tj10200/Simple-Soccer | 98a224c20b5e0b66f0e420d7c312a6cf6527069b | 486a4231ddf66ae5984713a177297b0f9c83015f | refs/heads/master | 2021-01-19T09:02:02.791225 | 2011-03-15T01:38:15 | 2011-03-15T01:38:15 | 1,480,980 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,396 | h | #ifndef SUPPORTING_POS_CALCULATOR_H
#define SUPPORTING_POS_CALCULATOR_H
#include "GameHeaders.h"
#include "Player.h"
class SupportPosCalculator
{
private:
D3DXVECTOR2 **regions,
goal,
RegSize;
Player *teammate,
*oppTeam,
*ballCarrier;
int rows,
cols,
numPlayer... | [
"tjjohnson10200@gmail.com"
] | tjjohnson10200@gmail.com |
4723ea6198ccff811412c423dfc8c9aceae61e85 | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/multimedia/dshow/filters/core/filgraph/filgraph/efcache.h | 3ee92656303941851a5c97c28049233c13d6b7eb | [] | no_license | jjzhang166/WinNT5_src_20201004 | 712894fcf94fb82c49e5cd09d719da00740e0436 | b2db264153b80fbb91ef5fc9f57b387e223dbfc2 | refs/heads/Win2K3 | 2023-08-12T01:31:59.670176 | 2021-10-14T15:14:37 | 2021-10-14T15:14:37 | 586,134,273 | 1 | 0 | null | 2023-01-07T03:47:45 | 2023-01-07T03:47:44 | null | UTF-8 | C++ | false | false | 1,666 | h | // Copyright (c) Microsoft Corporation 1999. All Rights Reserved
//
//
// efcache.h
// Definition of CEnumCacheFilter which implementents
// the filter enumerator for the filter cache
//
#ifndef EnumCachedFilter_h
#define EnumCachedFilter_h
class CMsgMutex;
class CFilterCache;
class CEnum... | [
"seta7D5@protonmail.com"
] | seta7D5@protonmail.com |
7974965a1e23d05763f2508866076efcb560c04b | f049bfc58b5f7076e03b23e4508b0e63e2089890 | /Week_07/547.朋友圈.cpp | 46d97b3bf001e739a619ec38f579246e38877448 | [] | no_license | kangshuaibing/algorithm014-algorithm014 | 7335014eac544f642c961805137f39d6078fa774 | 879df27da75fac6042583d1e4a234ce7cb81c747 | refs/heads/master | 2022-12-28T20:14:26.640776 | 2020-10-16T08:32:50 | 2020-10-16T08:32:50 | 287,421,050 | 0 | 0 | null | 2020-08-14T02:04:45 | 2020-08-14T02:04:45 | null | UTF-8 | C++ | false | false | 187 | cpp | /*
* @lc app=leetcode.cn id=547 lang=cpp
*
* [547] 朋友圈
*/
// @lc code=start
class Solution {
public:
int findCircleNum(vector<vector<int>>& M) {
}
};
// @lc code=end
| [
"1326799350@qq.com"
] | 1326799350@qq.com |
366c8023dc7f88cf4ca0cd48daa7646d5ea3abad | 87990bd79a7305428fb9e324dab7103e14010ccf | /include/Mesh.hpp | c960147e15f9dbcf5883f8f0daa1c7c9eefef13d | [] | no_license | code-overseer/Gravity | 6b68ff0f8f26ac6a79639722daceb9ad08878454 | 1514834486706608176c7be3f7f1c257b6b400b6 | refs/heads/master | 2023-02-04T22:29:29.084036 | 2020-03-21T20:26:19 | 2020-03-21T20:26:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 578 | hpp | #ifndef GRAVITY_MESH_HPP
#define GRAVITY_MESH_HPP
#include <mathsimd.hpp>
#include <vector>
#include <cstdint>
namespace gravity {
struct Mesh {
Mesh() = default;
Mesh(Mesh const&mesh) = default;
Mesh(Mesh &&mesh) noexcept : vertices(std::move(mesh.vertices)), triangles(std::move(mesh.triang... | [
"wongjengyan@gmail.com"
] | wongjengyan@gmail.com |
9eee432b15f6b6fdbcc959d344acb747d6f53b3d | 6d54a7b26d0eb82152a549a6a9dfde656687752c | /src/platform/Darwin/DnssdHostNameRegistrar.cpp | 287bc0bec3380f625427c981f745a096d0291d10 | [
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | project-chip/connectedhomeip | 81a123d675cf527773f70047d1ed1c43be5ffe6d | ea3970a7f11cd227ac55917edaa835a2a9bc4fc8 | refs/heads/master | 2023-09-01T11:43:37.546040 | 2023-09-01T08:01:32 | 2023-09-01T08:01:32 | 244,694,174 | 6,409 | 1,789 | Apache-2.0 | 2023-09-14T20:56:31 | 2020-03-03T17:05:10 | C++ | UTF-8 | C++ | false | false | 14,409 | cpp | /*
*
* Copyright (c) 2022 Project CHIP Authors
*
* 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 requir... | [
"noreply@github.com"
] | noreply@github.com |
7e576fcaa06c0e6fdcc549b741b68f68e4049e8d | bcc7aa460aadb5abbd78c0376778590edae25d16 | /Laborator 1/Lab-1-ex-3.cpp | 96c45b10c089675dbab9e4cb9ece7e5d4546da50 | [] | no_license | Daniela-Petrea/POO_FII_PetreaDaniela_A5 | d00bbfb2f4e4cb816420d1eb894eff23f0bd762f | b25e7e5c065550d1cf491dbda2894cca38a0335a | refs/heads/main | 2023-05-02T18:18:16.210175 | 2021-05-23T13:04:41 | 2021-05-23T13:04:41 | 339,986,475 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,092 | cpp | #define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <string.h>
int main()
{
char str[100];
char newString[10][10];
char aux[10] = " ";
int i, j, ctr;
printf("Introdu o propozitie :\n");
scanf("%[^\n]", str);
j = 0; ctr = 0;
for (i = 0; i <= (strlen(str)); ++i)
{
... | [
"noreply@github.com"
] | noreply@github.com |
282dddfb2c05304cdfc6d8fca31cf8838ad76261 | 73c170c1fd36044d834853883fd8c555b12a065d | /src/show.h | a97d9fabea02db3e5c489cb98db60bd1d2e3d1b1 | [] | no_license | LnL7/scp2 | ce1fc5ce8408e69d6bf1ae229bf74494dcd1c095 | d9196137ea334b6b484e621517cb25ab414444be | refs/heads/master | 2016-09-07T18:54:48.382718 | 2014-11-24T13:02:32 | 2014-11-24T13:02:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 297 | h | #include "types.h"
#ifndef SHOW_H
#define SHOW_H
namespace Show {
template< class A
, class Show = typename A::Show >
String show(const A& a) { return Show(a).s; }
OString buf() {
OString os;
os.setf(std::ios::fixed);
os.precision(2);
return os;
}
};
#endif
| [
"daiderd@gmail.com"
] | daiderd@gmail.com |
e7fb41475352f5af5ee01ac71545abc250ff78a6 | 73ea06441b74590dd0eba308a217f0a75de758b2 | /include/person_detection_pcl/impl/head_based_subcluster.hpp | 89b69112c1630b577a16bcd74775bcea370a6458 | [] | no_license | songlang/csapex_person_detection_pcl | e71aefcf2d2386b51d55fdefe02b002465fe9f51 | d3dcf9a6b9742c2a9baf4a3a1dcfe96ef9c7ac71 | refs/heads/master | 2020-06-13T21:44:52.141639 | 2017-09-15T15:16:33 | 2017-09-15T15:16:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,066 | hpp | /*
* Software License Agreement (BSD License)
*
* Point Cloud Library (PCL) - www.pointclouds.org
* Copyright (c) 2013-, Open Perception, Inc.
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* ... | [
"philipp.kuhlmann@student.uni-tuebingen.de"
] | philipp.kuhlmann@student.uni-tuebingen.de |
b3b5a6dd72a5918bc6d9e04381331f5ac253efa2 | 402b890909f0bea35c52bf5c67cf47c49ec7b93b | /11 - GTLib/weblapok_GTlib jeles/webpageEnor.cpp | 42cb8476cbacca15b5141f05600952353c8a3b19 | [] | no_license | kovacs-levent/ELTEProg | 528baee1bb8bd57b17087eee1e095997a29586f2 | 2f8c0ee953628381709ba0876943568b038156f6 | refs/heads/master | 2020-07-27T14:54:52.652474 | 2019-05-15T16:56:19 | 2019-05-15T16:56:19 | 145,883,210 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 297 | cpp | #include "webpageEnor.h"
void webpageEnor::next()
{
isEnd = f.end();
if(!isEnd)
{
actpage.url = f.current().url;
unpopular up(actpage.url, f.current().onceUnpopular);
up.addEnumerator(&f);
up.run();
actpage.onceUnpopular = up.result();
}
}
| [
"42651399+kovacs-levent@users.noreply.github.com"
] | 42651399+kovacs-levent@users.noreply.github.com |
4dd7fc228c38f25c1ebd65e6a1f1a1b473453d01 | 3d2f45bcecde8dff7e4131b65cdeb0ce32cff03f | /CppSystemCase01/SystemApp/EasyXDemo/EasyXDemo.cpp | b324ef27d9a58886ff780f0df648bb6cb7d2b772 | [
"Unlicense"
] | permissive | lvse301/CppCase01 | 94ffa8071daa372e274faad4fb4798f9b36fb9c1 | 339611a9200aee83ce5399699920a6867443f014 | refs/heads/main | 2023-03-07T10:55:38.102298 | 2021-02-21T10:06:06 | 2021-02-21T10:06:06 | 337,090,149 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,796 | cpp | // EasyXDemo.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。
//
#include <iostream>
#include <graphics.h>
#include <ctime>
#include <conio.h>
#include <vector>
using namespace std;
// 枚举蛇的方向
enum position { Up=1, Down, Left, Right };
// 坐标属性
struct point
{
int x;
int y;
};
// 蛇的属性
struct Snake
{
vector <point> xy; ... | [
"lvese301@gmail.com"
] | lvese301@gmail.com |
42cbfc83712cfc13890c8248c9033cc7bec25faf | 1dfd12072c1926b6ea710c090573ecbb7bdc08bd | /FactoryReset/FactoryReset.ino | c27149473d53bd8f5650135bed06359bc1802955 | [] | no_license | prudolph/arduinoProjects | c57c65d5e13e45848a1039a545516cae35321a4d | b8297a64fda05a2b4efb2d4aa4071fc6a3994142 | refs/heads/master | 2020-04-12T05:16:32.693407 | 2018-12-18T17:34:53 | 2018-12-18T17:34:53 | 162,320,964 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,946 | ino | /**************************************************************
*
* To run this tool you need StreamDebugger library:
* https://github.com/vshymanskyy/StreamDebugger
* or from http://librarymanager/all#StreamDebugger
*
* TinyGSM Getting Started guide:
* http://tiny.cc/tiny-gsm-readme
*
******************... | [
"paul.e.rudolph@gmail.com"
] | paul.e.rudolph@gmail.com |
44afadfedf11b5ce7fbe2eeb1423a633134fa8ea | 2c465b240d5718b89a2b2ed0c560a5a3d7f28190 | /qtree.h | 85bedaaaa652d4a923fb1c7dd6bccbd55ba70858 | [] | no_license | AlexZhou876/nbody | d96ff20edc371752fe69421ae1f25e66f41b0e78 | c8640d37c9eed0ccd40e9a06186eeed0b80c897d | refs/heads/master | 2023-05-03T10:01:04.952098 | 2021-05-16T01:07:15 | 2021-05-16T01:07:15 | 366,889,443 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,330 | h | #ifndef QTREE_H_
#define QTREE_H_
#include <vector>
#include "particle.h"
#include "vec2d.h"
#include "sim.h"
#include "SFML/Graphics.hpp"
class Node;
class QTree : public Sim {
public:
QTree();
QTree(std::vector<Particle*> particles, float width);
// nested tree traversal to compute next position for a... | [
"azhou02@students.cs.ubc.ca"
] | azhou02@students.cs.ubc.ca |
d4e56acb960133f2f8aea88ad92d529c078f419d | eaed8df7c2ec6574742906453b41a9a988e97849 | /src/RcppExports.cpp | 3dfec1ba4ca005dc294284e63a1d9c5d796c8eaf | [] | no_license | ssnorrizaurous/prioritizr | ad3320e8de08f804de5e26bbc0b0f5293e8efde0 | 00d8fcacc519031e1e03fe667f085df886868924 | refs/heads/master | 2020-06-11T12:16:29.799739 | 2019-06-13T18:17:57 | 2019-06-13T18:17:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25,074 | cpp | // Generated by using Rcpp::compileAttributes() -> do not edit by hand
// Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
#include <RcppArmadillo.h>
#include <Rcpp.h>
using namespace Rcpp;
// rcpp_new_optimization_problem
SEXP rcpp_new_optimization_problem(std::size_t nrow, std::size_t ncol, std::size_t ncell)... | [
"jeffrey.hanson@uqconnect.edu.au"
] | jeffrey.hanson@uqconnect.edu.au |
e543557c6c755b3aa4ec7ef7eff35d2c865e43a8 | 9dc8658d35c6d7e15b93595a46e23f80c1303c84 | /ray_tracing_in_1_weekend/given/sphere.h | d47bbf3894dba28c870a5220e2cc48fbe2959f40 | [] | no_license | fengjilanghen/DirectX11Tutorial11 | a5e0622bc29d22559aacb2ee2e32f6a5c18b9485 | 42de7071f6128165deba5e016011b242a4486ccc | refs/heads/master | 2021-01-22T10:09:22.726402 | 2017-09-24T10:07:38 | 2017-09-24T10:07:38 | 102,335,787 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,259 | h | #ifndef SPHEREH
#define SPHEREH
#include "hitable.h"
class sphere: public hitable {
public:
sphere() {}
sphere(vec3 cen, float r, material *m) : center(cen), radius(r), mat_ptr(m) {};
virtual bool hit(const ray& r, float tmin, float tmax, hit_record& rec) const;
vec3 center;
... | [
"fengjilanghen@gmail.com"
] | fengjilanghen@gmail.com |
7a538350ca9488d16e751a2817b04a57f9bc61dc | 80e24133e76a3c760ecd6a8e60be59d3dcfad6e8 | /src/entities/enttypes.h | 7b4b981c8b91d9acdc2d2f1ead31ec56eaffc264 | [] | no_license | CiprianBeldean/omega-Y | 385840926e823bb9665bf272d8048eb278972712 | 3426da42f8dff4033efe53cf9cef1bb11eeb1c7c | refs/heads/master | 2022-02-05T00:01:57.712787 | 2019-07-29T10:54:04 | 2019-07-29T10:54:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 374 | h | #ifndef __ENTTYPES_H__
#define __ENTTYPES_H__
namespace EntityTypes {
enum GameEntityTypes : unsigned {
FREE_CAMERA = 101, // we start at 101 to avoid collision with EntityTypes::EType from boglfw
PLAYER = 102,
TERRAIN = 103,
SKYBOX = 104,
PROJECTILE = 105, // all projectiles have this ent... | [
"bog2k3@gmail.com"
] | bog2k3@gmail.com |
882af3f0d3dfee924b6ba1cd6a2b131af0273094 | dc1031bd6a17f5eb67abe8702f70465f2dc31b5b | /core/core/src/Component.cpp | 6388bd4efa110345505ffabb956380fbd7b86ddb | [] | no_license | y0rshl/SimpleEngine | 46e03219474f2dbee71554deebd0f5af96121bad | 196f9131d17293ef27924b054e0041b16af5f08e | refs/heads/master | 2020-05-21T15:02:32.648992 | 2016-09-08T21:55:38 | 2016-09-08T21:56:17 | 64,023,935 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 70 | cpp | //
// Created by SANDSTORM04 on 8/11/16.
//
#include "Component.hpp"
| [
"jorge@sandstormi.com"
] | jorge@sandstormi.com |
de0b0ac8353db2717df78c60ebe4d64305824221 | 90db83e7fb4d95400e62fa2ce48bd371754987e0 | /src/chrome/browser/chromeos/net/network_diagnostics/network_diagnostics_util.h | 037fb3411c6fd7fde0dd5a11a521c9522f97d8d8 | [
"BSD-3-Clause"
] | permissive | FinalProjectNEG/NEG-Browser | 5bf10eb1fb8b414313d5d4be6b5af863c4175223 | 66c824bc649affa8f09e7b1dc9d3db38a3f0dfeb | refs/heads/main | 2023-05-09T05:40:37.994363 | 2021-06-06T14:07:21 | 2021-06-06T14:07:21 | 335,742,507 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 2,903 | h | // Copyright 2020 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 CHROME_BROWSER_CHROMEOS_NET_NETWORK_DIAGNOSTICS_NETWORK_DIAGNOSTICS_UTIL_H_
#define CHROME_BROWSER_CHROMEOS_NET_NETWORK_DIAGNOSTICS_NETWORK_DIAGNO... | [
"sapirsa3@ac.sce.ac.il"
] | sapirsa3@ac.sce.ac.il |
85a83521b2a1ae7ec86fedc6103300e85377618e | aa07f25902c510ce7b7e2d4c2544e47960521fa9 | /interface/gen-cpp/ant_types.cpp | 560c1a233fce197aa6e76317ff2918deb83aab97 | [] | no_license | thejasper/JAMAnt | 68c44b50eaa576c3e1613c369042327862a323c1 | 21de0fdb1f5512372b6d76cf8698dae1d5de1541 | refs/heads/master | 2016-08-05T03:57:30.812195 | 2013-02-21T09:38:28 | 2013-02-21T09:38:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 2,252 | cpp | /**
* Autogenerated by Thrift Compiler (0.9.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
#include "ant_types.h"
#include <algorithm>
namespace robotics {
const char* AntSettings::ascii_fingerprint = "EEBC915CE44901401D881E6091423036";
const uint8_t AntSettings::binary... | [
"jasper_desmadryl@hotmail.com"
] | jasper_desmadryl@hotmail.com |
ae69bb02fb40bb1791bb2ce973e458a5cf72aeab | b3e63b99e7e9c4c7b85c282fdfa5df292e48c5ea | /Unreal/UnTexture4.cpp | 6e40271946eed8c3f7e79d238e4ed3c1d524eb78 | [] | no_license | shyanxiaowen/UModel | fdd82d27b33430412e5b9d97284f791507011864 | 5657d09317dc5c1d32853aaff1c8b41c64f30f37 | refs/heads/master | 2021-01-15T10:26:40.606336 | 2015-06-26T15:09:06 | 2015-06-26T15:09:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,275 | cpp | #include "Core.h"
#include "UnCore.h"
#include "UnObject.h"
#include "UnMaterial.h"
#include "UnMaterial3.h"
#include "UnPackage.h"
//#define DEBUG_TEX 1
#if DEBUG_TEX
#define DBG(...) appPrintf(__VA_ARGS__);
#else
#define DBG(...)
#endif
/*----------------------------------------------------... | [
"git@gildor.org"
] | git@gildor.org |
8475dde519418d51419088b94478785dbf73f91c | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/squid/gumtree/squid_repos_function_2865_last_repos.cpp | 71914a1f7d705a1154da57e4c7467f8963cd9b6e | [] | 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 | 698 | cpp | static void
snmpConstructReponse(SnmpRequest * rq)
{
struct snmp_pdu *RespPDU;
debugs(49, 5, "snmpConstructReponse: Called.");
if (UsingSmp() && IamWorkerProcess()) {
AsyncJob::Start(new Snmp::Forwarder(static_cast<Snmp::Pdu&>(*rq->PDU),
static_cast<Snm... | [
"993273596@qq.com"
] | 993273596@qq.com |
ec8d60d5fe138c033a5652fbb724b803c6f0f8ca | 97a019b52a56cfd16cd7c4dbb730e83c581d2b3e | /Archived/Research/Benchmark/SetupEnvironment.h | d52e124bf1b64d6b92d6e2f5c54a13037829d51b | [] | no_license | nalinraut/high-level-Motion-Planning | f0263dcfa344b914159b0486370bc544552ac360 | 08cd792124defba63583ba6ae6394b20329d38c0 | refs/heads/master | 2020-03-09T04:20:12.846801 | 2018-04-09T06:11:29 | 2018-04-09T06:11:29 | 128,585,159 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,020 | h | /*
* File: SetupEnvironment.h
* Author: Jingru
*
* Created on March 13, 2012, 11:35 AM
*/
#ifndef READENVIRONMENT_H
#define READENVIRONMENT_H
#include <iostream>
#include <fstream>
#include <sstream>
#include <cstring>
#include <ompl/base/ScopedState.h>
#include <math/vector.h>
#include "Polyhe... | [
"rautnalin@gmail.com"
] | rautnalin@gmail.com |
65494cd7a54172a3194c040bbf6f339e821ee436 | 36e79e538d25d851744597f7f76afffc13d1f3f2 | /inc/vtl/xtl/Xtl_Progress.hpp | 203d6c40e36d844e70ba8d2d067a05f3995d5c60 | [] | no_license | nagyistoce/VideoCollage | fb5cea8244e7d06b7bc19fa5661bce515ec7d725 | 60d715d4a3926040855f6e0b4b4e23663f959ac5 | refs/heads/master | 2021-01-16T06:05:03.056906 | 2014-07-03T06:20:09 | 2014-07-03T06:20:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,762 | hpp | #ifndef __XTL_HELPER_HPP__
#define __XTL_HELPER_HPP__
/*************************************************************************\
Oliver Liyin Copyright (c) 2003
Module Name:
Abstract:
General helper functions and classes
Notes:
Usage:
1. IProgress interface
History:
Created on 2004 Ju... | [
"junx1992@gmail.com"
] | junx1992@gmail.com |
329a34a72ca31e2dd02f163e7e7d36e25ca7f6d5 | 1f63dde39fcc5f8be29f2acb947c41f1b6f1683e | /Boss2D/addon/tensorflow-1.2.1_for_boss/tensorflow/stream_executor/stream_executor_pimpl.cc | fe5da12639fdb73b18e9b5526b00e101dd509e25 | [
"MIT",
"Apache-2.0"
] | permissive | koobonil/Boss2D | 09ca948823e0df5a5a53b64a10033c4f3665483a | e5eb355b57228a701495f2660f137bd05628c202 | refs/heads/master | 2022-10-20T09:02:51.341143 | 2019-07-18T02:13:44 | 2019-07-18T02:13:44 | 105,999,368 | 7 | 2 | MIT | 2022-10-04T23:31:12 | 2017-10-06T11:57:07 | C++ | UTF-8 | C++ | false | false | 26,290 | cc | /* Copyright 2015 The TensorFlow Authors. 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 by applicable law or a... | [
"slacealic@gmail.com"
] | slacealic@gmail.com |
c5384efb2b6f0acf6aa88dbba7a23cfa935d093b | 47cceefe390101069de80d0b1af4ee7bdbec1d6e | /groups/bdl/bdlmt/bdlmt_multiprioritythreadpool.t.cpp | 5439a5d30ece12d8280934b0478c047c89ca5870 | [
"Apache-2.0"
] | permissive | mversche/bde | a184da814209038c8687edaa761f420aa3234ae2 | 842c7e5c372eb5c29f7984f3beb4010d1c493521 | refs/heads/master | 2021-01-21T23:45:25.376416 | 2015-11-06T19:15:10 | 2015-11-06T19:15:10 | 29,453,231 | 2 | 0 | null | 2015-01-19T04:13:24 | 2015-01-19T04:13:22 | null | UTF-8 | C++ | false | false | 63,997 | cpp | // bdlmt_multiprioritythreadpool.t.cpp -*-C++-*-
// ----------------------------------------------------------------------------
// NOTICE
//
// This component is not up to date with current BDE coding standards, and
// should not be used as an example f... | [
"mgiroux@bloomberg.net"
] | mgiroux@bloomberg.net |
2a517a5c8400cb5aaf380e7df1f6e03a8314ad73 | a0f05422a36a84de78631999edd3510f014fd532 | /code/quicksort/cpp/2276.cpp | 650170997709f6d0a948097ff1d153ca95a5bb9b | [] | no_license | yijunyu/bi-tbcnn | 20093acc433cac7ee69d297117a6b928151d7cc5 | 74d0410d6ff07dad99014d7ef34a7d353202ca8b | refs/heads/master | 2021-09-18T13:17:22.526840 | 2018-02-21T16:25:49 | 2018-02-21T16:25:49 | 111,034,124 | 6 | 3 | null | 2017-11-16T23:31:54 | 2017-11-16T23:31:54 | null | UTF-8 | C++ | false | false | 874 | cpp | #include<iostream>
using namespace std;
int Partition(int a[], int beg, int end) //Function to Find Pivot Point
{
int p=beg, pivot=a[beg], loc;
for(loc=beg+1;loc<=end;loc++)
{
if(pivot>a[loc])
{
a[p]=a[loc];
a[loc]=a[p+1];
a[p+1]=pivot;
p=p+1;
}
}
return p;
}
void QuickSort(int a[], int beg, int end)
{
i... | [
"y.yu@open.ac.uk"
] | y.yu@open.ac.uk |
7bd9678b54f6db4de4b099d6e54007c4b419c293 | c6a311cec2cdca13e2facf1e93c92cc01656de7b | /filter/FilterEdge.cpp | f1a2ef7763992896db60ceb138d60b2e5a6b65a5 | [] | no_license | junewoop/projects | f01cba4037fb855fd03806c387e1ffc1d3d2167d | bb4543980eedd33676310ec4ce0201d2378c437a | refs/heads/master | 2023-08-27T02:55:58.514142 | 2021-11-05T21:16:55 | 2021-11-05T21:16:55 | 298,744,123 | 0 | 0 | null | 2020-09-26T05:28:07 | 2020-09-26T05:28:06 | null | UTF-8 | C++ | false | false | 1,882 | cpp | #include "FilterEdge.h"
FilterEdge::FilterEdge(float p) :
m_p(p)
{
}
FilterEdge::~FilterEdge()
{
}
void FilterEdge::apply(Canvas2D *canvas){
// apply Grayscale
FilterGray::apply(canvas);
// load image
std::vector<float> vec_gray, tmp_g_x, tmp_g_y;
loadImage(canvas, vec_gray, tmp_g_x, tmp_g_y... | [
"40329273+junewoop@users.noreply.github.com"
] | 40329273+junewoop@users.noreply.github.com |
833dda8483449645a785b1540fcca6625f630984 | dc650d6e924de04990458c8f5a42dca4a165450a | /2016.08.14-2016-CCPC2016-Online/C.cpp | 2b7c53bf25c56feaa6d73800dfce172d93f96685 | [] | no_license | Nerer/Mjolnir | 2d5f465988d9792682b16599d50af316a261fef8 | 823870125697f8355f3df52e97836af2a74c78c7 | refs/heads/master | 2021-01-21T01:44:22.618215 | 2016-08-14T12:38:05 | 2016-08-14T12:38:05 | 64,058,347 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,282 | cpp | #include <bits/stdc++.h>
using namespace std;
const int N = 100010;
int n, a[N];
struct edge
{
int v, w, next;
}e[N * 2];
int head[N], k;
int fa[N];
int f[N], g[N], ff[N], gg[N], ans[N];
vector <int> f1[N], f2[N];
vector <int> g1[N], g2[N];
int dis[N];
void adde(int u, int v, int w)
{
e[k].v = v;
e[k].w = w;
... | [
"xunayun1996@163.com"
] | xunayun1996@163.com |
713d89c733d45ec1ea501179e5554e03a3f91604 | 71873fbecd1786d3f1eeb94c04a46c3a8b0afd71 | /cycle1/experiment2/filemanipulation.cpp | 2a8db6bdbf25d573dc379e1b48438c0b054460f4 | [] | no_license | abhishek-sankar/NetworkingLab | 1580b444e7510f9be63b12e96bfe4440a7c3df7f | 0c4693f3cb03cf11b7bf7fb74ff54babdd91af57 | refs/heads/master | 2022-01-11T17:46:47.661133 | 2019-06-27T16:31:04 | 2019-06-27T16:31:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 543 | cpp | #include<iostream>
#include<fstream>
using namespace std;
int main(){
ifstream in;
in.open("helloworld.txt");
if(in == NULL){
cout<<"Error opening file";
return 1;
}
ofstream out;
out.open("byeworld.txt");
string line;
if(out == NULL){
cout<<"Error opening file "... | [
"bilaljaleel123@gmail.com"
] | bilaljaleel123@gmail.com |
ff22e61b8e326591a8b86777a060cb9e1fa44ebd | 916b2132bcd49372fca98c3002d49b70daf741d3 | /overloading.cpp | 72a89b51b5e34b17aadb949d2084231394589a67 | [] | no_license | JaeHun0304/cpp_study | 863e07b07506d6c0b920f476aa38e3006a458261 | afb10ff210a91ea13e476a6f71a1db42f625e92d | refs/heads/main | 2023-01-13T09:45:16.689204 | 2020-11-09T03:30:20 | 2020-11-09T03:30:20 | 310,962,593 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,496 | cpp | // The <bits/stdc++.h> is a header file. This file includes all standard library.
#include <bits/stdc++.h>
using namespace std;
// function overloading class example (compile time polymorphism)
class Funcoverload
{
public:
// function with 1 int parameter
void func(int x){
cout << "value of x is " << x << en... | [
"jaehjung@DESKTOP-56SU65I.localdomain"
] | jaehjung@DESKTOP-56SU65I.localdomain |
a4603c66aaaa9ca05fd823bd5993af1ccec43953 | 22d3eb446ad65e5d5228c228d37a82845580bac1 | /src/include/entry.h | c5349af068a7903c8f11694bff495c25117a4c4d | [] | no_license | chenanton/issue-tracker | d5cd1adc4a218efb1356cbb0feafd7c9f40042b7 | 7fbfc9eaba8259f86e86196e1c2921a83dac453f | refs/heads/master | 2022-12-17T13:49:35.020973 | 2020-09-08T00:49:32 | 2020-09-08T00:49:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,714 | h | /*
Anton Chen 2020
github.com/azychen/issue-tracker
*/
#pragma once
#include <algorithm>
#include <chrono>
#include <ctime>
#include <iostream>
#include <string>
#include <dirent.h>
// Abstract class, represents a generic entry,
// is inherited by Group and Issue classes.
class Entry {
protected:
sta... | [
"antonzychen+github@gmail.com"
] | antonzychen+github@gmail.com |
17114ae5eab86ba0d9f08ba65e2d1768736e6aba | f63196d2f8340031e2ad4845eda2cf02212b6506 | /drawer/D3DEngine.cpp | 7da70305a81ee735b9fc3e4db4379cf670ab86dd | [] | no_license | RoyLab/TuneCurve | 3af103534eb4af661ff588dd15181682e7c5e696 | 5a6b610cd818097edad743961071e073421031c3 | refs/heads/master | 2021-01-01T15:40:25.356752 | 2014-08-27T02:21:59 | 2014-08-27T02:21:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,770 | cpp | #include "stdafx.h"
#include "D3DEngine.h"
#include "VirtualDeviceDx11.h"
#include "Camera.h"
#include "Shader2D.h"
#include "Ellipse.h"
D3DEngine::D3DEngine(void):
mD3D(nullptr), mCamera(nullptr),
mShader(nullptr), mCircle(nullptr)
{
}
D3DEngine::~D3DEngine(void)
{
}
bool D3DEngine::Initialize(int width, int h... | [
"t_wangr@SHACNG210WV8D.ads.autodesk.com"
] | t_wangr@SHACNG210WV8D.ads.autodesk.com |
f16025fc4e1e707ab9f0d7596acc605576f2a4b5 | 4bcc9806152542ab43fc2cf47c499424f200896c | /tensorflow/examples/custom_ops_doc/multiplex_2/multiplex_2_kernel.cc | bf42b49b55cd36df4570c487a4fde309bbd1fc6e | [
"Apache-2.0",
"LicenseRef-scancode-generic-cla",
"BSD-2-Clause"
] | permissive | tensorflow/tensorflow | 906276dbafcc70a941026aa5dc50425ef71ee282 | a7f3934a67900720af3d3b15389551483bee50b8 | refs/heads/master | 2023-08-25T04:24:41.611870 | 2023-08-25T04:06:24 | 2023-08-25T04:14:08 | 45,717,250 | 208,740 | 109,943 | Apache-2.0 | 2023-09-14T20:55:50 | 2015-11-07T01:19:20 | C++ | UTF-8 | C++ | false | false | 1,543 | cc | /* Copyright 2021 The TensorFlow Authors. 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 by applicable law or a... | [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
112585c0e28bf2efa7ff0a7f06e0e569c6b856c5 | 410e45283cf691f932b07c5fdf18d8d8ac9b57c3 | /ui/compositor/host/host_context_factory_private.cc | f8b1e4b8c64809bf3b151f0578e3bfe6f5b2d6b6 | [
"BSD-3-Clause"
] | permissive | yanhuashengdian/chrome_browser | f52a7f533a6b8417e19b85f765f43ea63307a1fb | 972d284a9ffa4b794f659f5acc4116087704394c | refs/heads/master | 2022-12-21T03:43:07.108853 | 2019-04-29T14:20:05 | 2019-04-29T14:20:05 | 184,068,841 | 0 | 2 | BSD-3-Clause | 2022-12-17T17:35:55 | 2019-04-29T12:40:27 | null | UTF-8 | C++ | false | false | 11,637 | cc | // Copyright 2018 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 "ui/compositor/host/host_context_factory_private.h"
#include "base/command_line.h"
#include "base/trace_event/trace_event.h"
#include "build/bui... | [
"279687673@qq.com"
] | 279687673@qq.com |
c8e9c2355dc4f24287945b3b9b714ac5e16d76c4 | 3edd3da6213c96cf342dc842e8b43fe2358c960d | /abc/abc060/c/main.cpp | 838222def1dd4cfd6486d96ee908d4a681627172 | [] | no_license | tic40/atcoder | 7c5d12cc147741d90a1f5f52ceddd708b103bace | 3c8ff68fe73e101baa2aff955bed077cae893e52 | refs/heads/main | 2023-08-30T20:10:32.191136 | 2023-08-30T00:58:07 | 2023-08-30T00:58:07 | 179,283,303 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 270 | cpp | #include <bits/stdc++.h>
using namespace std;
#define REP(i, n) for(int i = 0; i < n; i++)
using ll = long long;
int main() {
int t,n,T,ans=0,y=0; cin >> n >> T;
REP(i,n) {
cin >> t;
ans += min(T,t-y);
y = t;
}
cout << ans + T << endl;
return 0;
} | [
"ccpzjoh@gmail.com"
] | ccpzjoh@gmail.com |
83669b4d74a0c157fbddb273b7664c8363cb9cf3 | c73288f7d678db17b08b72277b02f7dadb558ed8 | /lib/Time/examples/TimeArduinoDue/TimeArduinoDue.ino | a1470605ec18750d0503c21d7e85fdbb1df06e74 | [] | no_license | judsonc/esp-medidor | 608a13da63fbd9fd6141b48bb70fd487261823c9 | dbf0a3f173d9b6a565241fb9c6f3f7bae2111a72 | refs/heads/master | 2021-01-21T14:24:47.798039 | 2017-06-28T06:15:34 | 2017-06-28T06:15:34 | 95,278,608 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,964 | ino | #include <Arduino.h>
/*
* TimeRTC.pde
* example code illustrating Time library with Real Time Clock.
*
* This example requires Markus Lange's Arduino Due RTC Library
* https://github.com/MarkusLange/Arduino-Due-RTC-Library
*/
#include <TimeLib.h>
#include <rtc_clock.h>
// Select the Slowclock sourc... | [
"judson.scosta@hotmail.com"
] | judson.scosta@hotmail.com |
5a94fc0825251160c0fe1fe00c004a5520257395 | 9befd4e34b23e172f29bfa8c6a8ca3b6dd5fdb8e | /include/Console.h | 4463df36d9f7c11fefd4ff068f7bab7dceb04143 | [] | no_license | Toliak/BMSTU-AL-HW4 | 7b5c9e6a1cba7385864227ca7dde09df362b682d | 307a49eb02df24408f1f3e3b39fb10c0304feb80 | refs/heads/master | 2020-05-04T18:54:13.766686 | 2019-05-02T17:17:51 | 2019-05-02T17:17:51 | 179,371,002 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,855 | h | #pragma once
#include <string>
#include <unordered_map>
#include <list>
#include "Shortcut.h"
class Console
{
private:
std::istream *istream = nullptr;
std::ostream *ostream = nullptr;
std::list<std::string> prefixes = {};
public:
Console() = default;
Console(std::istream &istream, std::ostrea... | [
"ibolosik@gmail.com"
] | ibolosik@gmail.com |
aee8fbe73a254b2acfb414e7ef448640f72eb351 | d3a8d73036e63168b5d461564073c9c8da114a48 | /EulerP67/main.cpp | f27182a584eaf93477ab72ce6b6379e4e5ee4e3d | [] | no_license | BhandariRupraj/projecteuler | 42cb7b87c2e28129ee19ec0e3f07d7e05f629635 | 5e8aae487daa571b88f6a26bae323fb062a3a036 | refs/heads/master | 2021-08-23T21:57:23.374612 | 2017-12-06T18:21:51 | 2017-12-06T18:21:51 | 109,030,162 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,503 | cpp | #include <fstream>
#include <iostream>
#include <sstream>
#include <vector>
#include <algorithm>
using namespace std;
const string INPUT_FILE_NAME = "C:/Users/s521059/CLionProjects/Euler Project/EulerP67/p067_triangle.txt";
void parseFile(ifstream& inFile, vector<vector<unsigned> >& lines);
// Returns the sum of t... | [
"noreply@github.com"
] | noreply@github.com |
8a312c38fc352b86e8e929f992ddac7b65394a70 | 44f646690d471a8770311944f8b94abb13a7a438 | /IEEEXtreme Programming Competition/IEEEXtreme 11.0/Blackgate Penitentiary.cpp | d2251f95b09a959902bb01279ed5918fad963897 | [] | no_license | JArturoHReyes/Competitive-Programming | b373c8d46613284c2447c3bed778e39378b97de3 | 45232b2ee7e40a38e3f3e912e62fe12cf4509b46 | refs/heads/master | 2021-06-06T18:18:46.014845 | 2021-05-15T15:17:10 | 2021-05-15T15:17:10 | 164,688,739 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 778 | cpp | #include<bits/stdc++.h>
#define endl '\n'
#define maxn 300
using namespace std;
set < string > info[maxn];
int main()
{
ios_base::sync_with_stdio(false);
cin.tie(nullptr);
cout.tie(nullptr);
cout << setprecision(3) << fixed;
if(fopen("ArturoTextA.txt" , "r")) freopen("ArturoTextA.txt" , "r" , std... | [
"noreply@github.com"
] | noreply@github.com |
739faf2332e5e2b1cf1b0d36bcf77269a56c6784 | 5181e2dd87941613b74be655fd621c13c1032d31 | /1. Nhap mon lap trinh_chuong04_ma tran/bai080.cpp | ccbc835e1855d476c8e25eeca94c65b094b24999 | [] | no_license | my-hoang-huu/My-hh | 36c57bcc0ff2a6f09d1404af502a63c94dfd7b92 | 176a0ec629438260ef1a44db82fe1a99a59c809f | refs/heads/main | 2023-06-05T03:03:18.421699 | 2021-05-07T00:36:26 | 2021-05-07T00:36:26 | 342,750,649 | 0 | 0 | null | 2021-05-07T00:36:27 | 2021-02-27T02:18:47 | C++ | UTF-8 | C++ | false | false | 1,450 | cpp | #include<iostream>
#include<iomanip>
#include<cstdlib>
#include<ctime>
using namespace std;
void Nhap(float[][50], int&, int&);
void Xuat(float[][50], int, int);
float Kt(float[][50], int, int);
void XuLy(float[][50], int, int);
int main()
{
float a[20][50];
int m;
int n;
Nhap(a, m, n);
cout << "Ma tran ban dau: ... | [
"hhmy1995@gmail.com"
] | hhmy1995@gmail.com |
483901516e4aa989184ca0d7238b0321995981fd | 57a7d082c3553fdd592eedbdaede23495b5c5644 | /MyPoker/proj.ios_mac/Common/RoomConfig.cpp | 410d4099acc9c0c4a0bc5e2a6f7eb8f2988b8220 | [] | no_license | cnceo/NewProject | f18ed4edaa33ba7dde129dd8ce51648cc509c58e | f87d4cd3702cb567a0c282043c42cf4a2b4f637f | refs/heads/master | 2020-03-28T23:04:06.802755 | 2017-04-13T08:25:34 | 2017-04-13T08:25:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,947 | cpp | #include "RoomConfig.h"
#include "CommonDefine.h"
#include "LogManager.h"
#include <assert.h>
void stSpeedRoomConfigs::AddConfig(stTaxasRoomConfig* pConfig)
{
VEC_BLIND_ROOM_CONFIG* pVec ;
if ( pConfig->nMaxSeat == 5 )
{
pVec = &m_vPlayerCountRoom[eSeatCount_5] ;
}
else
{
pVec = &m_vPlayerCount... | [
"xuwenyanbill@gmail.com"
] | xuwenyanbill@gmail.com |
cde4fc3ecff55e901b481eec2af0d9bcf8614d4d | 4c4a17ddb659849c0e46df83ef910cc5e74a6afd | /src/marnav/seatalk/message_89.hpp | ff5ce3c008215993f8d4bff6f6584bd667f518ae | [
"BSD-3-Clause",
"BSD-4-Clause"
] | permissive | Kasetkin/marnav | 39e8754d8c0223b4c99df0799b5d259024d240c8 | 7cb912387d6f66dc3e9201c2f4cdabed86f08e16 | refs/heads/master | 2021-01-23T05:03:51.172254 | 2017-03-19T23:08:16 | 2017-03-19T23:08:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,243 | hpp | #ifndef MARNAV__SEATALK__MESSAGE_89__HPP
#define MARNAV__SEATALK__MESSAGE_89__HPP
#include <marnav/seatalk/message.hpp>
namespace marnav
{
namespace seatalk
{
/// @brief Compass heading sent by ST40 compass instrument
///
/// @code
/// 89 U2 VW XY 2Z
///
/// Compass heading sent by ST40 compass instrument
/// (it is ... | [
"mario.konrad@gmx.net"
] | mario.konrad@gmx.net |
dfb82ee6e2232980d48b9d2b18d862c4bb30e925 | 46fc9ccf00cc6e59e31a7ad9914e06ba5d76edf2 | /src/qt/dogecash/settings/settingssignmessagewidgets.h | 1cd3cbcc3a0dede462df5970b5e0fdd5863397a6 | [
"MIT"
] | permissive | Grimer123/dogecash | c5618a304fa84860f56ca6dc6ddf626ee9ef591c | 86efd92f340187a972f0b8d5b9778c65bbe34ef2 | refs/heads/master | 2020-09-12T13:14:54.871320 | 2019-11-17T23:28:37 | 2019-11-17T23:28:37 | 222,436,653 | 0 | 0 | MIT | 2019-11-18T11:47:56 | 2019-11-18T11:47:55 | null | UTF-8 | C++ | false | false | 1,269 | h | // Copyright (c) 2019 The DogeCash developers
// Copyright (c) 2019 The PIVX developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef SETTINGSSIGNMESSAGEWIDGETS_H
#define SETTINGSSIGNMESSAGEWIDGETS_H
#include <QWidget... | [
"akshaycm@hotmail.com"
] | akshaycm@hotmail.com |
aea1ba8e7b00a8035a5ead2b69661937800d5a86 | 7029a18f2e72cac9e8c0af3f43a0f37dcbd429f8 | /gunir/utils/create_tablet.cc | 9807dea95ae7da99d18ad4bf83e31d8c574dfcf4 | [] | no_license | GregHWayne/gunir | f542975e1eaf9a6a72ea533d03a6ea488d7979ac | 66a57a961cc9169dbf1d0a8cc0e0d6e99e106a01 | refs/heads/master | 2021-01-17T21:52:05.581720 | 2015-07-29T03:51:25 | 2015-07-29T03:51:25 | 39,935,844 | 1 | 0 | null | 2015-07-30T06:53:44 | 2015-07-30T06:53:44 | null | UTF-8 | C++ | false | false | 2,598 | cc | // Copyright (C) 2015. The Gunir Authors. All rights reserved.
// Author: An Qin (anqin.qin@gmail.com)
//
// Description:
#include "gunir/utils/create_tablet.h"
#include <vector>
#include "thirdparty/gflags/gflags.h"
#include "thirdparty/glog/logging.h"
#include "gunir/io/dissector.h"
#include "gunir/io/tablet_writ... | [
"qinan@baidu.com"
] | qinan@baidu.com |
541dc949044b21600d132257e2bea5ff37145e6d | 1f69ad2e0e3a4f95128552116e0b6f9d178ffbee | /sgm-vulkan/sgm-vulkan.h | b9cf8749ec9e09f91989c0986d8ef8837fc37eb4 | [] | no_license | AbyssGaze/stereo-sgm-opencl | 59feb4cb26e528e8a2a2c92aa873157ffbf5197c | c14471392df338bbf72689b96c4804060f5bc082 | refs/heads/master | 2021-01-02T09:18:51.809612 | 2017-06-24T19:45:20 | 2017-06-24T19:45:20 | 99,192,400 | 2 | 0 | null | 2017-08-03T04:59:33 | 2017-08-03T04:59:33 | null | UTF-8 | C++ | false | false | 2,019 | h | #pragma once
#include <vulkan/vulkan.hpp>
class StereoSGMVULKAN
{
public:
StereoSGMVULKAN(int width, int height, int max_disp_size);
~StereoSGMVULKAN();
bool init();
void execute(void * left_data, void * right_data, void * output_buffer);
private:
void initVulkan();
void census();
void mem_init();
void matchi... | [
"siposcsaba89@live.com"
] | siposcsaba89@live.com |
64f9bebee5581c36b7b2a3ba9859e0d7b2e9473e | e0012591e312e6578f91ee720a313f1e4d629e99 | /3a713236.cpp | c2d181d5d9a0d876290bc3be5eb076d15fdef80b | [] | no_license | joe881118/basic-homework23 | 68a05f6f7418052bb2d6638ced7b4d8635969585 | 912016a534eab3035e730d8686540eb55cbc9049 | refs/heads/master | 2020-05-30T03:35:34.757998 | 2019-05-31T03:14:32 | 2019-05-31T03:14:32 | 189,519,207 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 322 | cpp | #include<stdio.h>
#include<stdlib.h>
int main(void){
FILE *fptr;
char ch;
fptr=fopen("data.txt","r");
if(fptr!=NULL){
while((ch=getc(fptr))!=EOF){
printf("%c", ch);
}
fclose(fptr);
}
else{
printf("3a713236 ³¯¯q³¹");
}
system("pause");
return 0;
}
| [
"noreply@github.com"
] | noreply@github.com |
c091a6d6a65789b643fe1d67629f779c82a4ac84 | 9234165c806c95e5ba32c518b669c553341f2d2e | /Course Design/处理机调度的模拟实现/ot/c-c++ 多种实现/bar/HRRN.cpp | 8c5a83a13836dd551942962fb3b03330af8502e1 | [] | no_license | daisyr07/Operating-System | 584e481e4f29ed86dc2252c51d7915268e2f48e4 | 434adf5a2947164f3c98d8a6df610fa3771bb1f8 | refs/heads/master | 2022-04-05T09:04:54.908957 | 2020-01-26T07:45:33 | 2020-01-26T07:45:33 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 7,854 | cpp | #include<iostream>
using namespace std;
#define MAX_NUM 3 //进程数量
#define INF 100000 //无穷大
//定义进程控制块的结构
typedef struct pcb_struct
{
char name[2]; //进程名称
char ProcState; //进程状态
int ArriveTime; //进程到达时间
int StartTime; //进程开始时间
int FinishTime; //进程结束时间
int ServeTime; //进程服务时间
int RunTime; //已经占... | [
"noreply@github.com"
] | noreply@github.com |
a3630e9b2a2a6684bd36a5286f7a308612c77561 | 646b92654d11cdd269b82cd819d5b72ed5c0ef69 | /qnx_system/backtrace/main.cpp | 5ce2e9107c49c3b856b2e7424638a5afe4b9587f | [] | no_license | yanvasilij/cpp_examples | 832b8d20665b107e486b2a915325ab99ad5fe408 | 35bd2effac66cc6217bd5fdec899f97ab5b73873 | refs/heads/master | 2023-03-24T09:04:18.589338 | 2021-03-05T06:55:03 | 2021-03-05T06:55:03 | 302,635,669 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,400 | cpp | /**
* @brief Пример получения дампа при аварийном завершении программы
* @author Yanikeev-VS
*/
#include <thread>
#include <iostream>
#include <chrono>
#include <backtrace.h>
using VoidFunction = void (*)();
bt_accessor_t acc;
bt_accessor_t acc_sighandler1;
bt_addr_t pc_sighandler1[10];
int cnt_sighandler1;
bt_mem... | [
"yanikeev-vs@nefteavtomatika.ru"
] | yanikeev-vs@nefteavtomatika.ru |
4f18623ad06821be0fba3f55cf54ca488114fa6d | a39cdf77168b11d7eea4e0ac29919884560a3211 | /2303.cpp | e0623a2988ee78151706f4fad14d4aef86ec03e3 | [] | no_license | EEngblo/GBS_2014_info | e8eb082922e89017f8a60a4a52f7b9264b93dade | 6d5e0b349efc2e6c5f745b146741de1d8619107b | refs/heads/master | 2016-09-05T13:02:37.751706 | 2014-11-05T02:33:04 | 2014-11-05T02:33:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 298 | cpp | #include <iostream>
using namespace std;
int main(){
int n, a, b, answ;
int arr[10001] = {};
cin >> n;
for (int i = 1; i <= n; i++)
cin >> arr[i];
do{
answ = 0;
cin >> a >> b;
for (int i = a; i <= b; i++)
answ += arr[i];
cout << answ << endl;
} while (a || b);
return 0;
} | [
"sheogorath0213@gmail.com"
] | sheogorath0213@gmail.com |
d168457c625f43e1c86632b03bda64ecb33afc28 | 433410a07309822d47614d879aa95208150a0b61 | /canYouWin.cpp | 5c97a7a35158c1be8de232aca3cbeb199424cb0e | [] | no_license | aditya1944/Scaler-Questions | c141b12cfcf618101e7f47d9ebcdaf097fdebdee | f1fe38d165751d239d2471d7a89b3d397cde1d9a | refs/heads/master | 2023-01-07T08:02:55.230168 | 2020-11-09T11:46:47 | 2020-11-09T11:46:47 | 271,989,746 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,126 | cpp | #include<iostream>
struct TreeNode {
int val;
TreeNode *left;
TreeNode *right;
TreeNode(int x) : val(x), left(NULL), right(NULL) {}
};
void find(TreeNode* A, int C,TreeNode** ptr){
if(!A){
return ;
}
if(A->val==C){
*ptr = A;
return;
}
find(A->left,C,ptr);
... | [
"aditya1944@live.com"
] | aditya1944@live.com |
3f4281f33746d0db30b09320a01bb3164ce2bc9e | 86c164c2af0779d80adbaa84c995e90541b923b8 | /plugins/com.phonegap.plugins.barcodescanner/src/ios/ZXingWidgetLibrary/ZXingWidgetLibrary/core/zxing/oned/OneDReader.h | 5fa01927f7f458ec9d6707cd2c05532e512e42ce | [
"Apache-2.0",
"MIT"
] | permissive | vinfo/personalID | 59cb1681e4fd2381c6490e8af23b4da78a498158 | 836c9fddb77cdfc076d0cff2b80d7b56b4666c98 | refs/heads/master | 2020-05-27T01:31:12.258354 | 2019-05-24T23:39:56 | 2019-05-24T23:39:56 | 188,438,768 | 0 | 0 | NOASSERTION | 2019-10-30T07:42:52 | 2019-05-24T14:44:54 | Java | UTF-8 | C++ | false | false | 2,277 | h | // -*- mode:c++; tab-width:2; indent-tabs-mode:nil; c-basic-offset:2 -*-
#ifndef __ONED_READER_H__
#define __ONED_READER_H__
/*
* OneDReader.h
* ZXing
*
* Copyright 2010 ZXing authors All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except i... | [
"victor.valencia@gmail.com"
] | victor.valencia@gmail.com |
c5e4180f101ca6546b50972174de1aee60db7b6a | 5466c25ca58b5a5c6fdd128f882c1405a8373d80 | /modules/engine/include/bullet3/BulletCollision/CollisionShapes/btBoxShape.h | 3202fc2628aa778c1ed9f8a3bff5c573f4501fa8 | [
"MIT"
] | permissive | alexlitty/randar | 73781d877daafb1a62b5e86251c31ee101831bcb | 95daae57b1ec7d87194cdbcf6e3946b4ed9fc79b | refs/heads/master | 2020-05-27T12:59:49.744931 | 2018-03-27T05:15:35 | 2018-03-27T05:16:01 | 73,526,607 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,837 | h | /*
Bullet Continuous Collision Detection and Physics Library
Copyright (c) 2003-2009 Erwin Coumans http://bulletphysics.org
This software is provided 'as-is', without any express or implied warranty.
In no event will the authors be held liable for any damages arising from the use of this software.
Permission is grant... | [
"github@alexlitty.com"
] | github@alexlitty.com |
f8c521a28e3b1c67df0859c1c568b0acab804040 | 0fc3861eca64f9a7b145ec67a71108e6f4ea025a | /Protobuf.CPP/Protos/SeverSocketMessages.pb.h | de388529104a2669f0622f36d65b2235502651da | [] | no_license | lobboAngelov/FlexSoft.CommonProto | 40b80565dcb7ca36d2106ab2b273c7a1f1d7dcaa | 6580857b7d70bea32abb8a0e795975e8082bf0f4 | refs/heads/master | 2020-03-06T22:59:48.045562 | 2018-03-31T13:26:08 | 2018-03-31T13:26:08 | 127,120,091 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 24,545 | h | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Protos/SeverSocketMessages.proto
#ifndef PROTOBUF_Protos_2fSeverSocketMessages_2eproto__INCLUDED
#define PROTOBUF_Protos_2fSeverSocketMessages_2eproto__INCLUDED
#include <string>
#include <google/protobuf/stubs/common.h>
#if GOOGLE_PROTOBUF_VERS... | [
"langelov@melontech.com"
] | langelov@melontech.com |
7d577e9630d1771cea12874c7db5ba7a6990668f | 37aed740a238ff7b083c769a01361b3050cde7fb | /cpp04/ex01/main.cpp | e8f16fb4991c528dc4ed67a5e678a8ffb2393b90 | [] | no_license | nawaraing/cppModule | e96961510b7974203befb5edd4d9a336696ddb59 | 437265c5070fd2714d20fea36248d22e2515ed34 | refs/heads/master | 2023-03-28T18:00:36.821494 | 2021-03-29T11:40:53 | 2021-03-29T11:40:53 | 340,276,195 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 503 | cpp | #include "Character.hpp"
#include "PowerFist.hpp"
#include "PlasmaRifle.hpp"
#include "RadScorpion.hpp"
#include "SuperMutant.hpp"
int main()
{
Character* me = new Character("me");
std::cout << *me;
Enemy* b = new RadScorpion();
AWeapon* pr = new PlasmaRifle();
AWeapon* pf = new PowerFist();
me->equip(pr);
std:... | [
"nawaddaing@gmail.com"
] | nawaddaing@gmail.com |
445480b79021eeaa3b35b571838d690ecd5ccbca | 2098c74a59133c985e10f57a901bc5839a6d1333 | /Source/Editors/XrECore/Editor/UIRenderForm.cpp | c6b4c5440a607e2bd156c136d193edbe7b77b65c | [] | no_license | ChuniMuni/XRayEngine | 28672b4c5939e95c6dfb24c9514041dd25cfa306 | cdb13c23552fd86409b6e4e2925ac78064ee8739 | refs/heads/master | 2023-04-02T01:04:01.134317 | 2021-04-10T07:44:41 | 2021-04-10T07:44:41 | 266,738,168 | 1 | 0 | null | 2021-04-10T07:44:41 | 2020-05-25T09:27:11 | C++ | UTF-8 | C++ | false | false | 3,356 | cpp | #include "stdafx.h"
#include "UIRenderForm.h"
#include "ui_main.h"
UIRenderForm::UIRenderForm()
{
m_mouse_down = false;
m_mouse_move = false;
m_shiftstate_down = false;
}
UIRenderForm::~UIRenderForm()
{
}
void UIRenderForm::Draw()
{
ImGui::Begin("Render");
if (UI && UI->RT->pSurface)
{
int ShiftState = ssNo... | [
"i-sobolevskiy@mail.ru"
] | i-sobolevskiy@mail.ru |
3f81d43cf5b328d327697395db2fae44d8566bbe | 5525d270883134aff70cc686ca3be2484ceffb9c | /src/app/widget/Vector.h | 80d830a7d09583d9e0882a6405fe55c878c209bf | [] | no_license | WilstonOreo/Tomo | 7907a3811c19b70eb64c978ce0feba291adb9e5c | c5bcdd18878f7950b8e5f607d3d48aaf9d95a05e | refs/heads/master | 2021-01-19T01:26:39.373934 | 2016-06-21T11:43:02 | 2016-06-21T11:43:02 | 61,629,539 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 482 | h | #pragma once
#include "ui_Vector.h"
#include <tomo/base/gex.hpp>
namespace tomo
{
namespace widget
{
class Vector : public QWidget, public Ui::Vector
{
Q_OBJECT
public:
Vector(QWidget* _parent =nullptr);
~Vector();
void setValue(const Vec3&);
TBD_PROPERTY_REF_RO(Vec3,va... | [
"m@cr8tr.org"
] | m@cr8tr.org |
b741abc27db3179905357f8ea72560e74e41b0fd | d19327949a17ba357a24fa2f35b882b29c47a5d0 | /Копейкин_Борис/vector/vector2.cpp | 5c8eece4554410d25ecbe0087ff2b068fca03db7 | [] | no_license | droidroot1995/DAFE_CPP_014 | 4778654322f5bba2b8555a7ac47bcd4428b639b0 | 8ea50a5e3cb2440ec9249fb20293a9e709c4f5a1 | refs/heads/main | 2023-01-28T14:58:03.793973 | 2020-12-16T15:18:45 | 2020-12-16T15:18:45 | 300,523,672 | 0 | 14 | null | 2020-12-16T15:18:46 | 2020-10-02T06:36:14 | C++ | UTF-8 | C++ | false | false | 1,148 | cpp | #include "vector2.h"
vector2::vector2(int s) : sz(s),
elem(new double[s])
{
for (int i = 0; i < s; ++i)
elem[i] = 0.0;
}
vector2::vector2(std::initializer_list<double> lst) : sz{int(lst.size())},
elem{new double[sz]}
{
std::copy(lst.begin(), lst.end(), elem);
}
vector2::vector2(const vector2&... | [
"droidroot1995@gmail.com"
] | droidroot1995@gmail.com |
a2a5b067d3b81da13fdfdae5fcf09c70b98e2be3 | c13b76409887dab5f634eda7547e5f3472560386 | /Non-Overlapping Palindromes/hello.cpp | 6b223c27b31fa0dcacc233d17cf684a3f5d06412 | [] | no_license | fozz101/IEEEXTREME-14.0 | 75a91cfb79daa0aed0e8f7ec72cea2a4ad9be6e2 | f8da723108fc9ae6d675ae96f32cc76caf323824 | refs/heads/main | 2023-06-05T04:00:32.639378 | 2021-06-29T15:46:39 | 2021-06-29T15:46:39 | 381,417,689 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 166 | cpp | #include <bits/stdc++.h>
using namespace std;
int main(){
int T=0;
string S="";
cin>>T;
for (int i=0;i<T;i++){
cin>>S;
}
return 0;
} | [
"fedi.galfat@esprit.tn"
] | fedi.galfat@esprit.tn |
dab2b3b60cee9b2eba8fa2c5f8615b9abbaa1ae8 | 8f2d8e1e85e2962721e32093fbb4deaf3e318e3f | /SDK/PUBG_MasteryPoseScene_structs.hpp | a6f8677f90203e935008bd8cfe0f2d56a16c74b4 | [] | no_license | besimbicer89/PUBG-SDK | f8878bea83bb1e560e3ae3d026e9245ab7d5a360 | bdb95dfd6176ec54f8df1653968c7bfbea90150d | refs/heads/master | 2022-04-17T01:47:26.574416 | 2020-04-09T10:42:19 | 2020-04-09T10:42:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,672 | hpp | #pragma once
// PUBG (7.2.8.10) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "PUBG_Basic.hpp"
#include "PUBG_CoreUObject_classes.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Script Structs
//-----------------------------------------------------... | [
"1263178881@qq.com"
] | 1263178881@qq.com |
35eca4f2fa77db6935ca18221cc5a9b754b39b67 | 3ae80dbc18ed3e89bedf846d098b2a98d8e4b776 | /src/IO/ViewFileBufferL.cpp | 683571767cf38940fcc365cc6acb24b47896734f | [] | no_license | sswroom/SClass | deee467349ca249a7401f5d3c177cdf763a253ca | 9a403ec67c6c4dfd2402f19d44c6573e25d4b347 | refs/heads/main | 2023-09-01T07:24:58.907606 | 2023-08-31T11:24:34 | 2023-08-31T11:24:34 | 329,970,172 | 10 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 1,259 | cpp | #include "Stdafx.h"
#include "MyMemory.h"
#include "IO/ViewFileBuffer.h"
#include <unistd.h>
#include <stdio.h>
#include <fcntl.h>
#include <sys/types.h>
#include <sys/mman.h>
IO::ViewFileBuffer::ViewFileBuffer(const UTF8Char *fileName)
{
this->filePtr = 0;
this->fileHandle = (void*)(OSInt)open((co... | [
"sswroom@yahoo.com"
] | sswroom@yahoo.com |
8ed41a845798203dcbf6d07590d02fc4dc1ff44e | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/xgboost/xgboost-old-new/xgboost-old-new/dmlc_xgboost_old_file_386.cpp | fd6800ce49b09016987cb799bcf2c130fe8f2c66 | [] | 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 | 17,825 | cpp | #ifndef XGBOOST_REGRANK_H
#define XGBOOST_REGRANK_H
/*!
* \file xgboost_regrank.h
* \brief class for gradient boosted regression and ranking
* \author Kailong Chen: chenkl198812@gmail.com, Tianqi Chen: tianqi.tchen@gmail.com
*/
#include <cmath>
#include <cstdlib>
#include <cstring>
#include "xgboost_regrank_data.h"
#in... | [
"993273596@qq.com"
] | 993273596@qq.com |
2ad5e141de705b754e8a133a2acffee70e76a617 | cf3302a478551167d14c577be171fe0c1b4a3507 | /src/cpp/activemq/activemq-cpp-3.2.5/src/test/activemq/wireformat/openwire/marshal/v2/ActiveMQBlobMessageMarshallerTest.h | 2a98a7c52194301a919c5d93c757021fe61deb2b | [
"Apache-2.0"
] | permissive | WilliamDrewAeroNomos/muthur | 7babb320ed3bfb6ed7905a1a943e3d35aa03aedc | 0c66c78af245ef3b06b92172e0df62eb54b3fb84 | refs/heads/master | 2016-09-05T11:15:50.083267 | 2015-07-01T15:49:56 | 2015-07-01T15:49:56 | 38,366,076 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,276 | h | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | [
"wdrew@aeronomos.com"
] | wdrew@aeronomos.com |
ae49df8cdbcf070d5dd19566f9ec3da43f2a3e82 | 11d335b447ea5389f93165dd21e7514737259ced | /transport/Transcendence/TSE/CCommunicationsHandler.cpp | b17aaa5b2fb0aff9555815ff3e69e484e63b0634 | [] | no_license | bennbollay/Transport | bcac9dbd1449561f2a7126b354efc29ba3857d20 | 5585baa68fc1f56310bcd79a09bbfdccfaa61ed7 | refs/heads/master | 2021-05-27T03:30:57.746841 | 2012-04-12T04:31:22 | 2012-04-12T04:31:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,922 | cpp | // CCommunicationsHandler.cpp
//
// CCommunicationsHandler class
#include "PreComp.h"
#define ON_SHOW_TAG CONSTLIT("OnShow")
#define CODE_TAG CONSTLIT("Code")
#define INVOKE_TAG CONSTLIT("Invoke")
#define NAME_ATTRIB CONSTLIT("name")
#define KEY_ATTRIB CONSTLIT("k... | [
"g.github@magitech.org"
] | g.github@magitech.org |
2f167d5bac90b3af4ecf93fc73f3e59d4dbc36bd | e87fdccb0e4ff05d414981920328256fe8e27911 | /party_A_div1.cpp | 3cc1e64bbedbd09e12886e79504c1bf4a84eab5a | [] | no_license | CP-lands/Codeforces | 4250ff459d2b0c700682f92b250769153d33e6bf | b5a14e254e17740415c84acdde9deab98326ffa6 | refs/heads/master | 2023-08-28T11:25:16.331344 | 2021-11-10T11:53:29 | 2021-11-10T11:53:29 | 394,057,952 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,099 | cpp | //--------Anivia_kid---------//
//-------did you test n = 1 ?-------//
//https://codeforces.com/contest/115/problem/A
#include<bits/stdc++.h>
using namespace std;
#define fi first
#define se second
#define pb push_back
#define mp make_pair
typedef long long ll;
const int MOD = 1e9 + 7;
const int MAXN ... | [
"noreply@github.com"
] | noreply@github.com |
f6e3ebb8414b7c4060407c7d039bfc2c35071aa9 | 794ec36417d1f5fe9f8a8dfefee17169ba346447 | /UESTC/205/10148932_AC_267ms_5084kB.cpp | 29ebea2653fb4f95d79e26b0b66aa5b9a06b1099 | [] | no_license | riba2534/My_ACM_Code | 1d2f7dacb50f7e9ed719484419b3a7a41ba407cf | fa914ca98ad0794073bc1ccac8ab7dca4fe13f25 | refs/heads/master | 2020-03-24T01:19:19.889558 | 2019-03-11T03:01:09 | 2019-03-11T03:01:09 | 142,331,120 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,523 | cpp | #include <cstdio>
#include <cstring>
#include <cctype>
#include <string>
#include <set>
#include <iostream>
#include <stack>
#include <cmath>
#include <queue>
#include <vector>
#include <algorithm>
#define mem(a,b) memset(a,b,sizeof(a))
#define inf 0x3f3f3f3f
#define N 101000
#define ll long long
using namespace std;
#... | [
"riba2534@qq.com"
] | riba2534@qq.com |
670c5a964a6ac105f3deb3345fa693491c3d6ffa | 105d30f94b958b5548adcaec2eb52aead72e26ff | /src/StateEnemy.cpp | 7cb83de97c81eabc2517b396dc457a4417d5d174 | [
"MIT"
] | permissive | CaioIcy/Dauphine | fc51dd9c6d9b7387943075c02f1a6642e76e816c | 8fd9bb649fea25ff5422ce11c305cffc52080d63 | refs/heads/master | 2020-12-24T16:40:35.059079 | 2015-12-04T17:54:37 | 2015-12-04T17:54:37 | 41,003,672 | 1 | 1 | null | 2015-08-19T00:05:51 | 2015-08-19T00:05:50 | null | UTF-8 | C++ | false | false | 145 | cpp | #include "StateEnemy.h"
StateEnemy::StateEnemy(Enemy* const enemy_) :
enemy(enemy_)
{
}
StateEnemy::~StateEnemy(){
this->enemy = nullptr;
}
| [
"caio.nardelli@hotmail.com"
] | caio.nardelli@hotmail.com |
8c11acaf8aae680647dd6fb58922d78e1bd8960f | ddcdb3d2c74688e783d3fbd49ab0cac69b9cf8f5 | /examples/WioTerminal_TinyML_6_Speech_Recognition/Wio_Terminal_TF-MICRO_Speech_Recognition_Mic/dma_rec.cpp | d46ef37e413f52e2f8783efb921539c22f3c86d7 | [
"MIT"
] | permissive | gits00/Seeed_Arduino_Sketchbook | 79e4ca34170677cdd339933803234c91700cae9c | ddf33d2f6166123aeae66484ec20254b0a3facc1 | refs/heads/master | 2023-09-05T00:21:26.860974 | 2021-11-23T17:14:34 | 2021-11-23T17:14:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,177 | cpp | #include "dma_rec.h"
enum {ADC_BUF_LEN = BUF_SIZE}; // Size of one of the DMA double buffers
static const int debug_pin = LED_BUILTIN; // Toggles each DAC ISR (if DEBUG is set to 1)
// DMAC descriptor structure
typedef struct {
uint16_t btctrl;
uint16_t btcnt;
uint32_t srcaddr;
uint32_t dstaddr;
uint32_t... | [
"dmitrywat@gmail.com"
] | dmitrywat@gmail.com |
f87fb418de1d9d25dd60cf90cef533aea8b4dff8 | a19275ff09caf880e135bce76dc7a0107ec0369e | /catkin_ws/src/robot_controller/armc_controller/src/armc_position_controller.cpp | 67858c0f2a0e2d47d669b3191d13d42ebd2a9501 | [] | no_license | xtyzhen/Multi_arm_robot | e201c898a86406c1b1deb82326bb2157d5b28975 | 15daf1a80c781c1c929ba063d779c0928a24b117 | refs/heads/master | 2023-03-21T14:00:24.128957 | 2021-03-10T12:04:36 | 2021-03-10T12:04:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,956 | cpp | #include <armc_controller/armc_position_controller.h>
#include <pluginlib/class_list_macros.hpp>
namespace armc_controller //命名空间
{
ArmcPositionController::ArmcPositionController() {}
ArmcPositionController::~ArmcPositionController() {sub_command_.shutdown();}
bool Armc... | [
"qyz146006@163.com"
] | qyz146006@163.com |
070d2d42cca74abf34203b433ca648f42999708e | ea2c98167dd31d283c0e7a5e49af74a3ae321d03 | /VertexCompositeProducer/src/LamC3PProducer.cc | e4a1c850af7a43a95d4af17696b7f90c544b0946 | [] | no_license | stahlleiton/VertexCompositeAnalysis | 907041c2a6e78e6bc8721a11658d296dc7bdc696 | cf77d659aade975b73991409a58eaa4e7c485b80 | refs/heads/master | 2023-07-06T15:17:38.257916 | 2019-01-14T23:30:03 | 2019-01-14T23:30:03 | 167,209,905 | 0 | 2 | null | 2023-06-28T22:04:55 | 2019-01-23T15:54:55 | Python | UTF-8 | C++ | false | false | 2,265 | cc | // -*- C++ -*-
//
// Package: VertexCompositeProducer
//
// Class: LamC3PProducer
//
/**\class LamC3PProducer LamC3PProducer.cc VertexCompositeAnalysis/VertexCompositeProducer/src/LamC3PProducer.cc
Description: <one line class summary>
Implementation:
<Notes on implementation>
*/
//
// Original Author... | [
"liwei810812@gmail.com"
] | liwei810812@gmail.com |
bf57a6c71e3b92a5da85c861be3a9f4a7889485e | e740f1e877578efa4b0737eaebdee6ddbb1c4c77 | /hphp/runtime/vm/jit/vasm-simplify-arm.cpp | 1a2a1bc9695f9fdf29fb7f1925843f78f899c681 | [
"PHP-3.01",
"Zend-2.0",
"MIT"
] | permissive | godfredakpan/hhvm | faf01434fb7a806e4b1d8cb9562e7f70655e6d0c | 91d35445d9b13cd33f54e782c3757d334828cc4c | refs/heads/master | 2020-03-28T12:29:11.857977 | 2018-09-11T06:40:08 | 2018-09-11T06:43:56 | 148,303,284 | 1 | 0 | null | 2018-09-11T10:56:23 | 2018-09-11T10:56:23 | null | UTF-8 | C++ | false | false | 5,178 | cpp | /*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010-present Facebook, Inc. (http://www.facebook.com) |
+---------... | [
"hhvm-bot@users.noreply.github.com"
] | hhvm-bot@users.noreply.github.com |
ef6c2e76a37e3cbae8b643b9a9ba10bda7624d4c | a04bd3db8f80193dfa669e1afe20176995c20622 | /source/CAIntel.cpp | 0984c7c2680cf47f346b92736276705cec713d25 | [
"MIT"
] | permissive | prokoptasis/defenders | 527ac29700af9a9910fb47b46373bdf2e83a6d36 | 773fb4ec898d54e76df4cd1a7a6fc16d8f304725 | refs/heads/main | 2023-01-29T03:57:38.855604 | 2020-12-16T13:24:39 | 2020-12-16T13:24:39 | 321,988,934 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,459 | cpp | /////////////////////////////////////////////////////////////////////////////
// Name : CAIntel.cpp
// Desc :
// Date : 2002.11.27
// Mail : jhook@hanmail.net
/////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////... | [
"c.exigua@gmail.com"
] | c.exigua@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.