blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
17eb97557bbc965e4e9771c3d41e76e16b3a50be | fc5506c63e9380391b55d347e2dda1d5a19f73a4 | /src/tomarObjeto.cpp | 5b285b8bfd23c5f08ca377d967f0d12fab5b4c62 | [] | no_license | stevenjimbus/AsistenciaPacientes | c40df5ab6ab5f87281196ecce66be0b6353e7923 | 692fd39abaa237ab5bc659eb271414fc003c5a31 | refs/heads/master | 2021-09-03T08:54:49.796631 | 2018-01-07T20:08:00 | 2018-01-07T20:08:00 | 114,364,246 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,379 | cpp | #include "ros/ros.h"
#include "std_msgs/String.h"
#include <stdlib.h>
#include "rcnn_live_detector/Prediction.h"
#include "rcnn_live_detector/PredictionsList.h"
#include "rcnn_live_detector/paquete_imagenes.h"
#include "rcnn_live_detector/imageTagger.h"
#include "rcnn_live_detector/profundidadServer.h"
#include "rcnn_l... | [
"steven.jimenez.bustamante@gmail.com"
] | steven.jimenez.bustamante@gmail.com |
099d0d131650f211f2009fd53611bdf024f377db | b556ba0b7cc39777fb87149b90b18e98a8406f1d | /LDLt decomposition/Decomposition.cpp | cc581220e3f10c1c2b0f609a4ab769134f924f7a | [] | no_license | MikhailKitikov/NumericalAnalysis | 14da700478c5f47c177aef4c77d92a3cda17ee49 | 07c6b9c07849c824e285e5bfab9b9c3c97055579 | refs/heads/master | 2020-06-03T01:48:33.220271 | 2020-04-28T17:18:19 | 2020-04-28T17:18:19 | 259,608,008 | 1 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 6,368 | cpp | #include "Decomposition.h"
/// Генератор матрицы
void GenerateMatrix(vector<vector<float> >& matr, int sz, int k) {
assert(sz > 0);
srand(time(0));
// Генерация симметрической матрицы
for (int j = 0; j < sz; ++j) {
for (int i = 0; i < j; ++i) {
matr[i][j] = rand() % 5 - 4;
matr[j][i] = matr[i][j];
}
}
... | [
"mixail.kitikov@gmail.com"
] | mixail.kitikov@gmail.com |
0c153327de735648aade79b53399b8ddcd43c5af | de01cb554c2292b0fbb79b4d5413a2f6414ea472 | /algorithms/Hard/282.expression-add-operators.cpp | e826daab606d598e84f7c9cab2f47d1604913508 | [] | no_license | h4hany/yeet-the-leet | 98292017eadd3dde98a079aafcd7648aa98701b4 | 563d779467ef5a7cc85cbe954eeaf3c1f5463313 | refs/heads/master | 2022-12-10T08:35:39.830260 | 2020-09-02T23:12:15 | 2020-09-02T23:12:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,137 | cpp | /*
* @lc app=leetcode id=282 lang=cpp
*
* [282] Expression Add Operators
*
* https://leetcode.com/problems/expression-add-operators/description/
*
* algorithms
* Hard (35.54%)
* Total Accepted: 107.8K
* Total Submissions: 303.3K
* Testcase Example: '"123"\n6'
*
* Given a string that contains only digit... | [
"kevin.wkmiao@gmail.com"
] | kevin.wkmiao@gmail.com |
f4c7ca705d24ebec57597a98691186e8cd13e037 | 4f4ddc396fa1dfc874780895ca9b8ee4f7714222 | /src/xtp/Samples/Chart/ChartDialog/StdAfx.cpp | f170365bbdb2d5fc2c81867ba84229318086f39e | [] | no_license | UtsavChokshiCNU/GenSym-Test2 | 3214145186d032a6b5a7486003cef40787786ba0 | a48c806df56297019cfcb22862dd64609fdd8711 | refs/heads/master | 2021-01-23T23:14:03.559378 | 2017-09-09T14:20:09 | 2017-09-09T14:20:09 | 102,960,203 | 3 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 1,083 | cpp | // stdafx.cpp : source file that includes just the standard includes
// ChartDialog.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
//
// --------------------------------------------------------------------------
// COPYRIGHT NOTICE:
// ----------------------------... | [
"utsavchokshi@Utsavs-MacBook-Pro.local"
] | utsavchokshi@Utsavs-MacBook-Pro.local |
aeed7e60df4613996311a0917e813471d4c2c45e | 6697cd726d4cd3744ae52a7d5618f4ad107befba | /CP/1500/magic_formulas.cpp | 0a57e3096c56a262021d73117f6d6fb76d3b6db0 | [] | no_license | Saifu0/Competitive-Programming | 4385777115d5d83ba5140324c309db1e6c16f4af | ecc1c05f1a85636c57f7f6609dd6a002f220c0b0 | refs/heads/master | 2022-12-15T09:11:53.907652 | 2020-09-08T08:20:44 | 2020-09-08T08:20:44 | 293,743,953 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,143 | cpp | // ----- In the name of ALLAH, the Most Gracious, the Most Merciful -----
#include<bits/stdc++.h>
using namespace std;
#define NINJA ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0)
#define fo(i,n) for(int i=0;i<n;i++)
#define Fo(i,k,n) for(int i=k;i<n;i++)
#define for1(i,n) for(int i=1;i<=n;i++)
#define dloop(i... | [
"43892879+Saifu0@users.noreply.github.com"
] | 43892879+Saifu0@users.noreply.github.com |
49549f85790953321b6f9358ca77cd9f6db2ac17 | 66c78853398d8418217005ba4fa34cac7f428bad | /advent_of_code/day1-4.cpp | 5e6a8dceb955cf47f3f8347eedac41a5c7a82ce6 | [] | no_license | bachp2/aoc | 002b87d9c4771730ef3d212b7a913fcf84e73c86 | 8709382fbb6ed0d3bd48eda43b982352ac7beb6e | refs/heads/master | 2021-09-02T03:46:21.808094 | 2017-12-30T02:31:02 | 2017-12-30T02:31:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,764 | cpp | //
// day1.cpp
// advent_of_code
//
// Created by Bach Phan on 12/23/17.
// Copyright © 2017 Bach Phan. All rights reserved.
//
#include "aoc.h"
void aoc::day1(){
// insert code here...
//advent of code day 1
// part 1 1044
// part 2
std::string str = "111831362354551173134957758417849716877188... | [
"bachp2@uw.edu"
] | bachp2@uw.edu |
48042b43641363b7918256932cd473f6e95ddf8b | c0c32b3ccde387f2a4e02872562b9e58758b20ef | /udp_client.cpp | 25b714f2466983f623ecdbee14e8d895e2997ba4 | [] | no_license | skennetho/udp_practice | 2cd1752827120dd315e6ed9f499bf21ac3977ec9 | 32fbcf4adb7ab4f41a6a32c65c8daee6e54cdc7a | refs/heads/master | 2023-07-01T02:38:52.909377 | 2021-08-05T16:16:08 | 2021-08-05T16:16:08 | 392,140,747 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,450 | cpp | #include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include "DronePacket.h"
#include "converter.h"
#include "unistd.h"
#define PORT 3333
int main(void){
int sock;
struct sockaddr_in target_addr;
char rec... | [
"thrkd613@naver.com"
] | thrkd613@naver.com |
0262b1dee1beec52f064a9afaf4bfaa9e169aa90 | 02806d3fe9cf9824e262df34519e3a0ee7f5fc7a | /test/fgtest-all.cc | 9f5e6e6756cac95790da0b0c06a683846d8435e2 | [] | no_license | czjone/FGCore | 509cf10548692bf9e837e1d1d2d3427ffa24b2ce | cb7ca24b4a41776c769c9c0da3879cca5d66f9ad | refs/heads/master | 2021-08-22T21:56:00.426699 | 2017-11-30T12:25:19 | 2017-11-30T12:25:19 | 107,105,730 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 43 | cc | #include "FG_Test.cc"
// ......other files
| [
"czjone@126.com"
] | czjone@126.com |
2a4373a45239381e80ad3808f4e81ffc7a691bf2 | 96ab2f29279cc61477593304090536f9fa9bb68e | /projects/parse/cpp_scanning/source/cpp_scanning/Parser_Lookup.h | d1794ce188de6b37794ac3b8a0904436d14e0dad | [
"MIT"
] | permissive | silentorb/imp_cpp | 66150125b7d676868493bcf34d52a4b63752885a | a4fbf3810c8d328ab3f025ebdc1c17195c3039f4 | refs/heads/master | 2021-03-27T13:51:45.655373 | 2019-06-06T20:23:10 | 2019-06-06T20:23:10 | 83,623,835 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,018 | h | #pragma once
#include <map>
#include <runic/common/Whisper.h>
#include <underworld/schema/Profession.h>
#include <underworld/schema/primitives.h>
#include <underworld/expressions/Operator.h>
#include <runic_cpp/Cpp_Lexicon.h>
namespace cpp_scanning {
using Operator_Map = std::map<const runic::Whisper *, underworld... | [
"cj@silentorb.com"
] | cj@silentorb.com |
e8cb3b30826f31c0cb9d60d4742efc58800366ba | e10e5e32ad79d9790512277c0c645f698b18e3f2 | /lib/include/modbus/exceptions/IException.h | a286d80b75f5c04c3f59da9b9e133bbd6c898a16 | [
"Apache-2.0"
] | permissive | openenergysolutions/modbus-cpp | 36e97eb77371b32c824581c5983223be8acaa957 | 67c5fc8477b47cc6ff35944186eeec933c87724e | refs/heads/master | 2023-05-28T09:12:28.743098 | 2021-06-09T17:57:58 | 2021-06-09T18:01:03 | 114,795,158 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,580 | h | /*
* Copyright 2017-2018 Duke Energy Corporation and Open Energy Solutions, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*... | [
"eg@emilegregoire.ca"
] | eg@emilegregoire.ca |
8ffe8dfb850a56a3548ba4904b17978f2f6921e9 | ce5f86d5a6c656ff6c20e79681737279e51a86d0 | /apps/RawLogViewer/COdometryParams.h | 89f84cd353993779a0ae1103ca819527fcf1734a | [
"BSD-3-Clause"
] | permissive | SimoneNardi/mrpt | 1ed31875f13348eadf65e3a62fb451fbbbf63000 | 4cfc607efaa162daa38b929d3cf9d065d96cb0b0 | refs/heads/master | 2022-08-29T16:25:24.673387 | 2022-08-03T22:37:49 | 2022-08-03T22:37:49 | 181,274,604 | 0 | 0 | BSD-3-Clause | 2019-04-14T07:30:26 | 2019-04-14T07:30:25 | null | UTF-8 | C++ | false | false | 2,031 | h | /* +------------------------------------------------------------------------+
| Mobile Robot Programming Toolkit (MRPT) |
| https://www.mrpt.org/ |
| |
| Cop... | [
"joseluisblancoc@gmail.com"
] | joseluisblancoc@gmail.com |
37f8de5a23a11fcd269a47aa6f4098ddd06915b7 | a8b72eb628c061e4f2290107ed1d1dfd654afbcc | /socket_config.hpp | 985cec3a4967e7fb278b74617869c901deb8cfed | [
"MIT"
] | permissive | jhxqy/cppnet | a63681f949c13826f37cd7ac6a2e2d05b16a8cff | 2d593f9cd29bb311d65a3f3cd69c0f61231cffe4 | refs/heads/master | 2020-09-27T23:25:43.972355 | 2019-12-10T08:22:17 | 2019-12-10T08:22:17 | 226,634,927 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,030 | hpp | //
// socket_config.hpp
// cppnet
//
// Created by 贾皓翔 on 2019/12/4.
// Copyright © 2019 贾皓翔. All rights reserved.
//
#ifndef socket_config_hpp
#define socket_config_hpp
#include <stdio.h>
#include <netinet/tcp.h>
#include <sys/socket.h>
#include <sys/time.h>
#include <fcntl.h>
#include <arpa/inet.h>
#include "io... | [
"1139648416@qq.com"
] | 1139648416@qq.com |
fb7027b2112bd90a5baa8ddd72730d7c83326dbc | 0d1645e912fc1477eef73245a75af85635a31bd8 | /XOffice/src/XWord/src/XWordSerializeSvr.cpp | 62537ad0e88def4895833aee523eb9ff717565a6 | [
"MIT"
] | permissive | qianxj/XExplorer | a2115106560f771bc3edc084b7e986332d0e41f4 | 00e326da03ffcaa21115a2345275452607c6bab5 | refs/heads/master | 2021-09-03T13:37:39.395524 | 2018-01-09T12:06:29 | 2018-01-09T12:06:29 | 114,638,878 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 35,147 | cpp | #include "StdAfx.h"
#include "xbxbase.h"
#include "XWordSerializeSvr.hpp"
#include "xworddataSvr.hpp"
#include "xcell.h"
#include "wpp4.h"
#include "XWordPred.hpp"
using namespace vord;
namespace Hxsoft{ namespace XFrame{ namespace XOffice {namespace XWord
{
XWordSerializeSvr::XWordSerializeSvr(void)
{
}
XWordSer... | [
"qianxj15@sina.com"
] | qianxj15@sina.com |
631db0b9dc7f5412572f083dafbd1086adbc9794 | b9e4f272762d5cf871653e4b4a3aa9ad33b05117 | /ACM/背包/未命名4.cpp | f37bd726d633148eec31821f7916ec5bdfc90300 | [] | no_license | haozx1997/C | e799cb25e1fa6c86318721834032c008764066ed | afb7657a58b86bf985c4a44bedfaf1c9cff30cf4 | refs/heads/master | 2021-07-11T23:54:17.357536 | 2017-10-12T03:42:23 | 2017-10-12T03:42:23 | 106,662,415 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 924 | cpp | #include <iostream>
#include <cstdio>
#include<string.h>
using namespace std;
#define max(a,b) ((a)>(b)?(a):(b))
const int maxn = 1005;
int main()
{
int T;
scanf("%d", &T);
int dp[maxn][33], val[maxn], vol[maxn], A[33], B[33];
while (T--)
{
int n, v, k;
scanf("%d %d %d", &n, &v, &k);
int i, j, kk;
for (i=0... | [
"haozx1997@users.noreply.github.com"
] | haozx1997@users.noreply.github.com |
f95997d087cbb061f73ee211b6fdf69e1a14bb77 | dd949f215d968f2ee69bf85571fd63e4f085a869 | /subarchitectures/vision.sa/branches/dora-yr1-experimentation/src/c++/vision/components/Reconstruction/Reconstructor.cc | ecbbc4f0e0902f9aec0cd9c6df90fdff78536934 | [] | no_license | marc-hanheide/cogx | a3fd395805f1b0ad7d713a05b9256312757b37a9 | cb9a9c9cdfeba02afac6a83d03b7c6bb778edb95 | refs/heads/master | 2022-03-16T23:36:21.951317 | 2013-12-10T23:49:07 | 2013-12-10T23:49:07 | 219,460,352 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 5,931 | cc | /**
* @author Kai Zhou
* @date April 2009
*/
#include <opencv/highgui.h>
#include <opencv/cv.h>
#include <opencv/cxcore.h>
#include <VideoUtils.h>
#include "Reconstructor.h"
/**
* The function called to create a new instance of our component.
*/
extern "C"
{
cast::CASTComponentPtr newComponent()
{
return... | [
"marc@hanheide.net"
] | marc@hanheide.net |
dad158f83a614f22a935d01bb71fdd5fd8914822 | de976c5206f818bc3baee6753b81efe3dc3f0c33 | /acm.timus.ru-old-solutions/p1028.cpp | b516e41508687f54bfac1e5d5a27b3dcc5f53120 | [] | no_license | BekjanJuma/Competitive-Programming | c05a17a30422d6cb74faea0124260094fe6b1edb | e491dbacfc547ca56c3147f56d4b120fc3049cbd | refs/heads/master | 2022-11-26T12:49:54.011825 | 2022-11-05T11:23:47 | 2022-11-05T11:23:47 | 102,717,375 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 660 | cpp | #include<iostream>
#include<cstdio>
using namespace std;
const int Max = 32005;
int n;
int c[Max] = {0};
int level[Max] = {0};
int lowbit(int x)
{
return x&(-x);
}
int sum(int i)
{
int s = 0;
while(i > 0)
{
s += c[i];
i -= lowbit(i);
}
return s;
}
void update(int pos,int val... | [
"bekjanjuma@gmail.com"
] | bekjanjuma@gmail.com |
ae37187c12ac9b573f5c0899bc084298e529bab9 | eb120dfc702e5a6944448575962115bb0df60477 | /4AJ.2.2/mydroid/hardware/qcom/media/mm-video/vidc/venc/inc/omx_video_base.h | 034a43bb68c3138cf59b5d0ff1a8614c9c3e5968 | [] | no_license | faridazhar/panda-a4 | 5dd215387c71a42e1d3f1517ca1f0c642f269050 | ff88df36a11e3af5c85d565351ad72ce62406e5e | refs/heads/master | 2020-04-06T05:21:41.192262 | 2015-05-20T22:11:06 | 2015-05-20T22:11:06 | 34,291,586 | 1 | 5 | null | 2020-03-08T23:51:30 | 2015-04-20T23:11:26 | C | UTF-8 | C++ | false | false | 18,373 | h | /*--------------------------------------------------------------------------
Copyright (c) 2010, Code Aurora Forum. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code mu... | [
"fazrnet@gmail.com"
] | fazrnet@gmail.com |
7b67a5b4446d4328caddd31b2a25632209be055c | aac2b9d3007cd737df19562af5d7f30a438ddf82 | /clibui/ui/window/WindowClass.cpp | 06011f280c49b99f6f9ea0aced4c718ef97051ea | [] | no_license | bajdcc/clibui | 839337a6ac003a7ebf9ea440970ce7425eb93256 | 8bba8f38504a002bd416667c6cbcba2aa1b697e9 | refs/heads/master | 2022-12-18T05:57:29.335215 | 2020-09-29T14:36:29 | 2020-09-29T14:36:29 | 288,140,370 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,009 | cpp | #include "stdafx.h"
#include "WindowClass.h"
WindowClass::WindowClass(CString _name, bool shadow, bool ownDC, WNDPROC procedure, HINSTANCE hInstance)
{
name = _name;
windowClass.cbSize = sizeof(windowClass);
windowClass.style = CS_HREDRAW | CS_VREDRAW | CS_DBLCLKS | (shadow ? CS_DROPSHADOW : 0) | (ownDC ?... | [
"bajdcc@outlook.com"
] | bajdcc@outlook.com |
5560c4340e68bae305b3637e8a9bd4beaa7eb4e7 | 10b0d8b163b772e485b64953ff1abeae486d7154 | /src/mem/ruby/network/garnet/flexible-pipeline/VCarbiter.cc | fdf9aadb07336916fcfa1d58e71ba2bcd71dd823 | [
"BSD-3-Clause"
] | permissive | hassahma/m5 | fd38cf6e1192716ad97e8c4a45268e3378cf2912 | b52324b1b5fda06b11a04f87734c25391d99c8b0 | refs/heads/master | 2021-01-16T19:41:53.382649 | 2010-12-14T20:49:59 | 2010-12-14T20:49:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,850 | cc | /*
* Copyright (c) 2008 Princeton 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 of source code must retain the above copyright
* notice, this list of conditio... | [
"lw2aw@virginia.edu"
] | lw2aw@virginia.edu |
78bc40cf735865116ad9928e02d74c82b0ebea75 | 524b26592b4096a82e8dfe69be5f2540943bb957 | /old versions/partie6/src/Env/FlowerGenerator.cpp | bf3f3522bd7bcc6735c207bf4b7164417cc1aa46 | [] | no_license | souhailelaissaoui/Bee-Hives-Modelisation-Game | 438d713bca694de56c57fde1797bb28c2994da6d | 7089285fd1fcfd30eb5b2338f7d468809f640d9f | refs/heads/master | 2020-04-14T23:41:01.620599 | 2019-01-05T12:26:24 | 2019-01-05T12:26:24 | 164,211,820 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 938 | cpp | #include <SFML/Graphics.hpp>
#include <iostream>
#include <Application.hpp>
#include <vector>
#include "Random/Random.hpp"
#include "FlowerGenerator.hpp"
#include "Env.hpp"
#include <math.h>
#include "Utility/Utility.hpp"
FlowerGenerator::FlowerGenerator()
: time_(sf::Time::Zero) {};
void FlowerGenerator::reset()
... | [
"souhail.elaissaoui@polytechnique.edu"
] | souhail.elaissaoui@polytechnique.edu |
ca388163e8f4edfb85ef8600fa2aa74bfdc1d66a | 41c03aef81c9810cc4b12739f16507ebb584a8b3 | /src/Variable.hpp | 357360539286f3f181a2c9ee87e3363d3b26d9c5 | [] | no_license | ExternalRepositories/derivatives | 64bc39ed41459e9fc5fb0260d471ec8bf2d29644 | aa2b1bde00af35d15cfb8cd111e3ec2adc204c67 | refs/heads/master | 2021-05-30T19:56:44.856906 | 2016-01-10T01:35:17 | 2016-01-10T01:35:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,979 | hpp | #pragma once
#include "Result.hpp"
#include "boost/shared_ptr.hpp"
namespace algo_diff
{
class Variable
{
public:
explicit Variable(double value);
Variable(double value, const Parameter&);
Variable& operator+=(const Variable& other);
Variable& operator+=(double constant);
Variable& operator-=(co... | [
"joboc100@hotmail.com"
] | joboc100@hotmail.com |
3dca75fc8edaa8d7b4e2cd8cc59a0b0f38fd2b39 | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/git/new_hunk_2932.cpp | 89783eb94965f28a00765e3b8cbcaac367353d21 | [] | no_license | ccdxc/logSurvey | eaf28e9c2d6307140b17986d5c05106d1fd8e943 | 6b80226e1667c1e0760ab39160893ee19b0e9fb1 | refs/heads/master | 2022-01-07T21:31:55.446839 | 2018-04-21T14:12:43 | 2018-04-21T14:12:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 313 | cpp |
argc = parse_options(argc, argv, prefix, options, usage, 0);
if (binary >= 0)
fprintf_ln(stderr, _("The -b/--binary option has been a no-op for long time, and\n"
"it will be removed. Please do not use it anymore."));
if (read_index_preload(&the_index, NULL) < 0)
die(_("failed to read the index"));
| [
"993273596@qq.com"
] | 993273596@qq.com |
f2951cda6a10fc559cfc4328d8c887c47033391f | 773abb7548af3c34a5357e04d67decbd65c715bc | /programfinal.cpp | 22535e912ec2935f84dd67f6ed033f39850ebb27 | [] | no_license | dan20kim/DSA1 | 98ddf9d5e58fb92420a31052029ed6161315ac5c | d41e4fb171a4379e55597a32b98a3ea63a0efafb | refs/heads/master | 2020-09-17T03:54:52.800287 | 2019-11-25T17:11:50 | 2019-11-25T17:11:50 | 223,980,038 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 21,255 | cpp | // THIS IS THE PROVIDED CODE FOR PROGRAM #2, DSA 1, SPRING 2019
#include <iostream>
#include <fstream>
#include <sstream>
#include <list>
#include <vector>
#include <string>
#include <algorithm>
#include <ctime>
#include <cmath>
#include <cstring>
#include <cctype>
#include <cstdlib>
using namespace std;
// A simple... | [
"dan20kim@gmail.com"
] | dan20kim@gmail.com |
adf93b4fab0aa7c3b712667a332ef0ff969d196f | 1177073c6c77be2424e4a2d56336dc004495d67f | /src/qt/rpcconsole.cpp | 953769b5f00f95898c1e22c55241dd32dca8dc05 | [
"MIT"
] | permissive | number435398/noodlyappendagecoin | ad065dcd94baa1d194b09d6821f79b4def716279 | 3a3657b4a9a2bb80c9971a8df8ca0eef969ba3de | refs/heads/master | 2020-03-17T22:30:05.038553 | 2018-06-04T22:16:24 | 2018-06-04T22:16:24 | 134,006,193 | 0 | 0 | null | 2018-05-18T21:32:15 | 2018-05-18T21:32:15 | null | UTF-8 | C++ | false | false | 14,208 | cpp | #include "rpcconsole.h"
#include "ui_rpcconsole.h"
#include "clientmodel.h"
#include "bitcoinrpc.h"
#include "guiutil.h"
#include <QTime>
#include <QThread>
#include <QKeyEvent>
#if QT_VERSION < 0x050000
#include <QUrl>
#endif
#include <QScrollBar>
#include <openssl/crypto.h>
// TODO: add a scrollback limit, as the... | [
"paul@ubuntu.(none)"
] | paul@ubuntu.(none) |
1874703b2f8454c94a9a19b10a24789b05ce0a8d | 799b97e52f8595740d095e0fd076f5b6f22bc1a6 | /src/PurenessScopeServer/ClientTests/CommonTCPClient/CommonTCPClient/TpClientManager.cpp | 97c3cd2bb79f2b08edcfbb9fe4607188854c6f43 | [] | no_license | xzhang6021/ppshuai_PurenessScopeServer | 48e0af05ee74443528204f1b38f921b65440e4e1 | 5e517cf441107b0c667fc8730585513ee105bc6c | refs/heads/master | 2022-02-02T07:28:09.929864 | 2018-12-12T17:24:24 | 2018-12-12T17:24:24 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 8,918 | cpp | #include "StdAfx.h"
#include "TpClientManager.h"
CTpClientManager* CTpClientManager::m_pTpClientManager = NULL;
//定时器的TimerID
UINT g_nTimerID = 0;
//定时器到达回调事件
VOID CALLBACK TimerProc(HWND hwnd, UINT uMsg, UINT_PTR idEvent, DWORD dwTime)
{
CTpClientManager::Instance().TPClient_HandleEvents((int)idEvent);
}
DWORD... | [
"xingyun_ppshuai@yeah.net"
] | xingyun_ppshuai@yeah.net |
78dac87002b4764aeb44874ec02a27ec2e1fb954 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5658571765186560_0/C++/IAmWave/CJD.cpp | ec220b9f1deace7dde078a177ceb1676844017f7 | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,237 | cpp | /*
* Author: Václav Volhejn (IAmWave)
*/
#include <cstdlib>
#include <iostream>
#include <fstream>
#include <vector>
#include <cmath>
#include <algorithm>
#include <string>
#include <set>
#include <map>
using namespace std;
#define rep(i,a,n) for (int i=a;i<n;i++)
#define per(i,a,n) for (int i=n-1;i>=a;i--)
typedef l... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
19be0ee1384bd378804b150271b9aa9f58bc3260 | 591930de1a754ab11ae06ebacbe44a781495b91a | /Part.h | 3fdeb85a3383a62c9a618b9480b8e15a29d3a197 | [] | no_license | osemmler/monster | c53409f4855c009896ef2eafd7fd0332a53c7161 | 3555f52b79b3307bccb0fddf9297ff5d3e9f3356 | refs/heads/master | 2021-09-16T03:23:57.131804 | 2018-06-15T15:27:12 | 2018-06-15T15:27:12 | 107,574,629 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,802 | h | #ifndef PART_H
#define PART_H
#include "Monster_config.h"
#include "Message.h"
class Prop;
class Part
{
public:
Part();
uint8_t getPropCount() const;
virtual void updateProps();
bool readProp(const uint8_t & idx, Message &msg);
protected:
uint8_t propCount;
Prop ** propArray;
};
/////////////////////... | [
"o.semmler@gmail.com"
] | o.semmler@gmail.com |
ca04f9a3c030522f7feea7cc4c6621a2779a3313 | 005eb1edbcef8e69a7f203642c4a849f27d82668 | /2010/main.cpp | 9cf1d3e11e062afe51bfba0e8482a820a9c37583 | [] | no_license | JustinLiu1998/ECNU-Online-Judge | 3dc2e1fe899f4ff7d64decafc5f21508b8bab40d | c57d4343334c5c15b48e6ce09882ec8092e07672 | refs/heads/master | 2022-04-07T14:05:06.856405 | 2020-02-25T13:28:36 | 2020-02-25T13:28:36 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 591 | cpp | //
// main.cpp
// 2010
//
// Created by 刘靖迪 on 2017/9/23.
// Copyright © 2017年 刘靖迪. All rights reserved.
//
#include <iostream>
#include <cstring>
using namespace std;
int main(int argc, const char * argv[]) {
int n;
while (cin >> n && n !=EOF) {
for (int i=0; i<n; i++)
cout << string(... | [
"liujingdiljd@icloud.com"
] | liujingdiljd@icloud.com |
5a87bdef6374bf37997d0bb26546a0e84ad19c33 | 1863b99b69514e13779c1b8d331f360136643c3f | /RunningLinearFit/RunningLinearFit.cpp | 57706f7e4079a0bc47298a7fa4022035388809ec | [] | no_license | jjzhang166/embedded-libraries | af16d1b53eb7fff0c8cfdbf6a00480f9f965ebb1 | a73967994988edcd1409c17fee12d4a78166cfdc | refs/heads/master | 2023-01-24T21:09:58.635737 | 2020-12-01T22:55:53 | 2020-12-01T22:55:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,088 | cpp | #include "RunningLinearFit.h"
RunningLinearFit::RunningLinearFit()
{
for(int i = 0; i < containerSize; i++)
{
x[i] = -99;
y[i] = -99;
}
}
int RunningLinearFit::DetermineContainerLength()
{
int length = 0;
for(int i = 0; i < containerSize; i++)
{
if(x[i] != -99)
... | [
"ryanfrenchphysics@gmail.com"
] | ryanfrenchphysics@gmail.com |
72a7fa3168206117ef9bb22e292c5d98e9fdb3ae | 6aeccfb60568a360d2d143e0271f0def40747d73 | /sandbox/SOC/2006/concurrency/trunk/boost/act/active/detail/raw_active.hpp | c9b2ebd063f8fc4c0082324849c1d93694781498 | [
"BSL-1.0"
] | permissive | ttyang/sandbox | 1066b324a13813cb1113beca75cdaf518e952276 | e1d6fde18ced644bb63e231829b2fe0664e51fac | refs/heads/trunk | 2021-01-19T17:17:47.452557 | 2013-06-07T14:19:55 | 2013-06-07T14:19:55 | 13,488,698 | 1 | 3 | null | 2023-03-20T11:52:19 | 2013-10-11T03:08:51 | C++ | UTF-8 | C++ | false | false | 5,415 | hpp | /*=============================================================================
Copyright (c) 2006, 2007 Matthew Calabrese
Use, modification and distribution is subject to the Boost Software
License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt)
==... | [
"doug.gregor@gmail.com"
] | doug.gregor@gmail.com |
fd411c1deed643fed4f0cab037eea51faa5d8994 | 22bd625b1a2ffc102761914469c9673f62cf8e78 | /benchmarks/src/cuda/dragon_li/dragon_li/amr/amrReg.h | 62745ab090a16f9b0ea5f4fa7f4464c3b0325392 | [
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | purdue-aalp/gpgpu-sim_simulations | f1c32ac5a88c4120d326d1053c82e598ca2d05fe | 84113a92a4aacfdd1ddbc1beb2f01746060dfb05 | refs/heads/master | 2021-08-05T21:56:58.378115 | 2021-01-28T23:31:26 | 2021-01-28T23:31:26 | 154,350,995 | 6 | 15 | BSD-2-Clause | 2021-05-18T15:28:08 | 2018-10-23T15:18:42 | HTML | UTF-8 | C++ | false | false | 3,185 | h | #pragma once
#include <dragon_li/amr/amrBase.h>
#include <dragon_li/amr/amrRegDevice.h>
#undef REPORT_BASE
#define REPORT_BASE 0
namespace dragon_li {
namespace amr {
template< typename Settings >
class AmrReg : public AmrBase< Settings > {
public:
typedef typename Settings::Types Types;
typedef typename Setting... | [
"k.mkhairy@yahoo.com"
] | k.mkhairy@yahoo.com |
f03b92f9887ecd1d24933795e89b07409693e848 | 3102e763ea3408d4a0dafc81a7d75fb9c0b073e5 | /src/qt/networkstyle.cpp | 8763270cbbcc92771f86f1b68f4781f65cd17910 | [
"MIT"
] | permissive | minblock/qsinbstees | 8f01d1e4df89cfcb1fd652ff22fb461aeae20944 | b56405a181cd680f786dd9cf17c6fd1a0d6b63ae | refs/heads/master | 2021-01-14T15:24:48.154424 | 2020-02-24T06:19:35 | 2020-02-24T06:19:35 | 242,661,081 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,946 | cpp | // Copyright (c) 2014-2018 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <qt/networkstyle.h>
#include <qt/guiconstants.h>
#include <QApplication>
static const struct {
const char *ne... | [
"sev@provgn.com"
] | sev@provgn.com |
fe2aaf6871cf7ac561d6e8d3300a3459eedfe290 | d568af5c5f56530e0868395728c185192195ec35 | /source/select.cc | 22977c968d21b53f012e164a98ec38177e94b1e8 | [] | no_license | EmreBiyikli/MMM_GH | e7984ede46e9722104d4d1deb309dd5e61e41d66 | 9139de93b2ae8273970807003c6aa433a510636b | refs/heads/master | 2020-06-08T20:32:38.136152 | 2015-05-19T02:40:14 | 2015-05-19T02:40:14 | 35,855,198 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,045 | cc | // Copyright (C) 2011-2014 University of Pittsburgh. All rights reserved.
// See COPYING.txt for details.
// Author: Emre Biyikli (biyikli.emre@gmail.com)
// select.cc
// *****************************************************************************
#include "select.h"
#include <mpi.h>
#include <cmath>
#include <str... | [
"biyikli.emre@gmail.com"
] | biyikli.emre@gmail.com |
7c3ab3866daf84f22d3d2c7a5054ad63106a99d5 | 1af49694004c6fbc31deada5618dae37255ce978 | /components/password_manager/content/browser/content_password_manager_driver_factory.h | 73372cb5ba093235a338b635ff0a94286785dbe5 | [
"BSD-3-Clause"
] | permissive | sadrulhc/chromium | 59682b173a00269ed036eee5ebfa317ba3a770cc | a4b950c23db47a0fdd63549cccf9ac8acd8e2c41 | refs/heads/master | 2023-02-02T07:59:20.295144 | 2020-12-01T21:32:32 | 2020-12-01T21:32:32 | 317,678,056 | 3 | 0 | BSD-3-Clause | 2020-12-01T21:56:26 | 2020-12-01T21:56:25 | null | UTF-8 | C++ | false | false | 2,934 | h | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_PASSWORD_MANAGER_DRIVER_FACTORY_H_
#define COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
be98a4c7e110ef88bfd7397e543cbbc9033e9b05 | 27802375b5267ecdbc453c8d9466cce44917fd8b | /ex3/partA/date_wrap.h | 2437f7a1f6f59e4e5046baa8c8e832d0221a99f9 | [] | no_license | NirTaly/mtm | 4d28e94bd79c24b4b6b307c818b3d16dc5cfc76f | 21ba179c6884a56c6fbc35c4dcd31bc6bf8b2668 | refs/heads/master | 2023-02-20T08:31:25.054368 | 2021-01-16T16:36:11 | 2021-01-16T16:36:11 | 312,694,134 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,418 | h | /*******************************************************************************
* File name: date_wrap.h
* Developer: Roee Latzres, Nir Taly
* Version: 0
* Description:
******************************************************************************/
#ifndef __DATE_WRAP_H__
#define __DATE_WRAP_H__
#includ... | [
"nirinirin@gmail.com"
] | nirinirin@gmail.com |
90ee4799eec4ce9dfa42e1669071282483962e53 | cd6a693f5d02d4b25c49d5804fabdb1b2c150a82 | /include/ReadWriteLock.cpp | 0ac42f7164e3552a1095e819bbfceab676a52d66 | [] | no_license | minortones/kissur | f9b04e560964728f5d6a436f448172b1b6b0c4be | 72b69c135975a332f5c7662a80a43f1c69bd34e0 | refs/heads/master | 2020-05-17T15:37:11.332273 | 2016-02-21T04:07:46 | 2016-02-21T04:07:46 | 21,754,863 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,923 | cpp | //////////////////////////////////////////////////////////////////////////
///
/// Copyright (c)
/// @author Nnanna Kama
/// @date 28/01/2016
///
///
/// 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 th... | [
"minortones@yahoo.com"
] | minortones@yahoo.com |
5b03afc80c3b6947a65a1b3d0087047baf72b56b | 19521e33ca495c04ce17e804ba6fef877266d037 | /src/qt/editaddressdialog.cpp | b05c59f574ec39a065f0c8e65093051627f80143 | [
"MIT"
] | permissive | mirzaei-ce/core-moselbit | 3f441f5960a5c858e1fe389a60c2f5f1d11eff3d | 7e8e723109f22b0fddfa227692b9492f48d12d7c | refs/heads/master | 2021-08-14T18:06:06.700435 | 2017-11-16T11:44:03 | 2017-11-16T11:44:03 | 110,964,689 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,939 | cpp | // Copyright (c) 2011-2013 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "editaddressdialog.h"
#include "ui_editaddressdialog.h"
#include "addresstablemodel.h"
#include "guiutil.h"
#inclu... | [
"mirzaei@ce.sharif.edu"
] | mirzaei@ce.sharif.edu |
1d6ca005a29825064e39c5ec5c81b1289bc18396 | 30ad7279646aad0a23c5a1853b1a0f3a3e7ea1ce | /uva/12289_one_two_three.cpp | 84a346e74a2e3b445e2d1be39a6b8e42b11cd2d0 | [] | no_license | tarekalmowafy/Compatetive_Programming | 3289f2b9c0249af9b756f4f45226d2b424cc1e7e | 80326828ad3426d0aab060f577c1e1925968b7c7 | refs/heads/master | 2022-07-10T09:50:03.259171 | 2016-07-25T19:05:59 | 2016-07-25T19:05:59 | 63,321,231 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 557 | cpp | #include <cstdio>
#include <iostream>
#include <string>
using namespace std;
int main(void) {
int n;
string one = "one", two = "two", three = "three";
scanf("%d\n", &n);
for (int i = 0; i < n; i++) {
string s;
getline(cin, s);
if (s.length() == three.length()) {
printf("%d\n", 3);
} else {... | [
"tareksaleh2005@hotmail.com"
] | tareksaleh2005@hotmail.com |
d726d48afaa4a975b95b8e6cbcd5cf4203a1798b | 82aee73c4ee481369954c4e70bdc00152d02bb79 | /BoyleCohen2008/IVcost.hh | 991aaf65e661b6b2396756dcf5d646ce8eca9e69 | [
"MIT"
] | permissive | openworm/muscle_model | cfc8e191943a928f0735d960d2b5316dec1bd920 | 0d7607ef971126fc3d35e0324e8038f2610edc31 | refs/heads/master | 2023-05-28T07:17:45.512847 | 2023-03-31T17:24:43 | 2023-03-31T17:24:43 | 4,203,900 | 33 | 23 | null | 2017-01-28T11:48:25 | 2012-05-02T14:35:45 | Jupyter Notebook | UTF-8 | C++ | false | false | 140 | hh | #include <fstream>
#include <iostream>
#include <cmath>
#include "Iclamp.hh"
double IVcost(simulationdata simdata, double targets[8][20]);
| [
"p.gleeson@gmail.com"
] | p.gleeson@gmail.com |
e428f7c41a69d9b3583fb1b81856b6f45dc507e7 | 5561a650799f94f6b7c9d56d6e66b1c303cf3843 | /075-1.cpp | 3b5c60f5c04ca3fd3d36bf9f8ec38d04f7af7981 | [] | no_license | Hangjun/LeetCode_Haochen | 48ed54d59ca5006887d0b7af5b1d12c71f0abed1 | 3d78d7c0ea441b781ae1869f48bf95861b9eb3ba | refs/heads/master | 2021-01-12T20:55:51.906501 | 2015-09-24T23:56:55 | 2015-09-24T23:56:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,450 | cpp | /*
075. Sort Colors
Given an array with n objects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the order red, white and blue.
Here, we will use the integers 0, 1, and 2 to represent the color red, white, and blue respectively.
Note:
You are not suppose to use ... | [
"liuhaochen1221@hotmail.com"
] | liuhaochen1221@hotmail.com |
703c746212b8d39063dd5e445cc45cdd5daf97d8 | b8bb76eba0b5e639cb3f238c9493f3ab5c1ce635 | /numerosPrimos/test/PrimeNumber_test.cc | 6cde2efa5e8a9326febd260754c5f5cfbc3dbbfb | [] | no_license | n-lopez/gtest | c826a515ad8d9fa425d338536ecd2c8a285df65e | 0621cf7d2aef7fccc9d98f1b92a9eef9d48a4c8b | refs/heads/master | 2020-04-19T14:45:35.588270 | 2016-09-11T20:28:12 | 2016-09-11T20:28:12 | 67,874,068 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,015 | cc | #include "../src/PrimeNumber.h"
#include "gtest/gtest.h"
TEST(PrimeNumber, FirstPrimeNumber) {
ASSERT_EQ(true, PrimeNumber().IsPrimeNumber(2));
}
TEST(PrimeNumber, SecondPrimeNumber) {
ASSERT_EQ(true,PrimeNumber().IsPrimeNumber(3));
}
TEST(PrimeNumber, ThirdPrimeNumber) {
ASSERT_EQ(true,PrimeNumber().IsPrimeNumbe... | [
"root@vps298250.ovh.net"
] | root@vps298250.ovh.net |
1122c8c893096326dc6a1d7ca4078b33ec3124ec | cfe937e1217eae58c1ff878b5685de1f3fe490b6 | /LC402_Remove-K-Digits/solution.cpp | 0676afa88e253b2a01538e4eeb75d5de2063cbe7 | [] | no_license | lhuyuel/LC_CPP | f4a6f026e60d265fe8751c50e011629ba2a8f02c | dc15a621e8877651a9cf709855a7bc247c7ca817 | refs/heads/master | 2020-04-12T06:35:52.487052 | 2017-01-21T21:29:02 | 2017-01-21T21:29:02 | 63,425,133 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 937 | cpp | class Solution {
public:
// if 1st digit x followed by 0, remove digit 1, which will reduce 2 digits
// iterate through the num, check for decrease point
// do this recursively
string removeKdigits(string num, int k) {
if (k == 0) return num;
int n = num.length();
if (n <= k) ret... | [
"hihuyue@gmail.com"
] | hihuyue@gmail.com |
dd3ec2dcca68ab6450be373ef0381e03feee3d5d | 94493b111aa5c3894568162168f09e5f8dd190de | /benchmark/pc/src/utility.hpp | 58e75c6af8825ba7ea6f390684caa73d00d55dc8 | [
"MIT"
] | permissive | ibr-ds/AccTEE | 4d24c942af4460b1c97ef5571f13018206d0ab35 | 260d9c3f8cbb38a95ef00cdd9fd1cac5f4479b02 | refs/heads/master | 2021-05-16T23:30:54.270982 | 2020-09-29T11:30:18 | 2020-09-29T11:30:18 | 250,516,037 | 6 | 1 | MIT | 2020-09-29T11:30:19 | 2020-03-27T11:24:04 | C | UTF-8 | C++ | false | false | 2,251 | hpp | /**
Copyright (c) 2013,2016, All Rights Reserved.
This software is in the public domain, furnished "as is", without technical
support, and with no warranty, express or implied, as to its usefulness for
any purpose.
utility.hpp
This library will contain all the functions used by the PC-algorithm.
University of... | [
"goltzsche@ibr.cs.tu-bs.de"
] | goltzsche@ibr.cs.tu-bs.de |
854b9f1553f4f066dc83dff2232679993481c021 | d229621f907e1bbe255ac32d42eeeabfef70801f | /Codeforces/139A Petr and Book/main.cpp | 56c1e2fe18e979aa2af568b29b2940c74f8c2c64 | [] | no_license | geekswaroop/Competitive-Coding-Solutions | df8f8dafedab0aac1d081a6fcb6c099395b47765 | 25124a3ce58b081c6f54c1442855489038315e78 | refs/heads/master | 2020-05-14T15:08:29.659499 | 2019-11-04T11:55:49 | 2019-11-04T11:55:49 | 181,846,111 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,088 | cpp | #include <iostream>
using namespace std;
int main()
{
int n,sum=0,sum1=0,i,j,k,ans=0,arr[7];
cin>>n;
for(i=1;i<=7;i++)
{
cin>>arr[i];
// sum+=arr[i];
}
for(j=1;j<=7;j++)
{
sum+=arr[j];
}
if(n>sum)
{
n=(n-(n/sum)*sum);
if(n==0)
... | [
"kkrishnaswaroop99@gmail.com"
] | kkrishnaswaroop99@gmail.com |
9b322b6bc53d3f985b896013b4c97337f126f7d8 | 0bba69508cdac483879ad0db0dec2fe5121b6c17 | /src/eversome/model/itemmodel.cpp | 519731c9d493cebdac1a1148f29698e97782bd17 | [] | no_license | jpnurmi/eversome | e3bc89f06f3b509cf83b9c0b997a0f70c6a768b8 | 385a91288560ffb967f7d907e56c0fc22c1d4d31 | refs/heads/master | 2021-03-12T19:14:35.970207 | 2012-12-29T17:07:40 | 2012-12-29T17:07:40 | 5,862,113 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,402 | cpp | /*
* Copyright (C) 2012 J-P Nurmi <jpnurmi@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program... | [
"jpnurmi@gmail.com"
] | jpnurmi@gmail.com |
0d815eb5e1ed4a475bc5242b4f5ab1172b30d3ae | 11a0c03cdb9242c996016a178e4ddb66abd5ba80 | /src/test/staking_tests.h | d49968a5d80cbd4346b185e0deccd0bae270cf71 | [
"MIT"
] | permissive | walkjivefly/blocknet | cbb8cd92860c08eaff54bf7a619c92955dfc1665 | 941e32bce1de7b37434fe21751c342e65dbf2537 | refs/heads/master | 2023-03-15T04:02:35.126345 | 2023-02-13T09:35:23 | 2023-02-13T09:35:23 | 216,372,492 | 0 | 0 | MIT | 2019-10-20T14:12:26 | 2019-10-20T14:12:26 | null | UTF-8 | C++ | false | false | 11,819 | h | // Copyright (c) 2019 The Blocknet developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BLOCKNET_TEST_STAKING_TESTS_H
#define BLOCKNET_TEST_STAKING_TESTS_H
#include <test/test_bitcoin.h>
#define protected public ... | [
"magic.ru789@gmail.com"
] | magic.ru789@gmail.com |
4b9634434011fff806e72d552115f54ec3618149 | 95d69b8adfcb179abdc6e6649c33d46c8ce3fd56 | /abc074/d/d.cpp | 7e970bae149cbce3ce763b7ae660131127c91aa7 | [] | no_license | south37/atcoder | 4599a45aef1ba860c9816988de2e1a8b5659f0c1 | 3725105f1b946b0e54fb6cb795c3e487c0ab50d6 | refs/heads/master | 2021-06-16T23:42:14.288234 | 2020-08-04T19:24:25 | 2020-08-04T19:24:25 | 200,486,084 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,844 | cpp | #include <algorithm>
#include <bitset>
#include <cassert>
#include <cmath>
#include <functional>
#include <iomanip>
#include <iostream>
#include <map>
#include <numeric>
#include <queue>
#include <unordered_map>
#include <vector>
#include <string.h>
#include <set>
#include <stack>
using namespace std;
#define COUT(x)... | [
"south37777@gmail.com"
] | south37777@gmail.com |
2c333d265e40b48b8326f0d8d2214bc9c0e1df59 | f17422c43cd419ab27be3b729a345b41be298dd9 | /DroneCtrl/src/drones/ardrone2/atcommands/atcommand.cpp | 849524cffe132e3cd6ba0bfe2f0fb1de736653bf | [
"MIT"
] | permissive | lukasTolksdorf/TMSWhatever | 44cb0d3f5fcb05e25abfadb8ece7764b6d542704 | 962e238dc162e5282c9cec5a6e3d09b205c90357 | refs/heads/master | 2021-01-11T07:22:36.045004 | 2016-10-19T10:56:39 | 2016-10-19T10:56:39 | 72,014,196 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 895 | cpp | #include "atcommand.h"
#include <string>
#include <algorithm>
#include <cstring>
using namespace std;
ATCommand::ATCommand(string cmd, vector<string> params)
{
_cmd = cmd;
_params = params;
}
string ATCommand::getCommand()
{
return _cmd;
}
vector<string> ATCommand::getParameters()
{
return _params;
}
void ATCo... | [
"clemens1@familie-elflein.de"
] | clemens1@familie-elflein.de |
e418d3547cbfa384d850cee6321a2144a9f337ae | e8b41408e40803dd5aa3f4430edd43b36b33d6b5 | /nau/src/nau/render/opengl/glState.h | ef04679586eb53a36339f14cbf8acf32d55e5298 | [
"MIT"
] | permissive | Nau3D/nau | 0cec4aa02600158ee092e0d6562822f4f1a3ac52 | 415ffa63032d4243ccdb3d8c18391d3a32c30b82 | refs/heads/master | 2023-04-13T00:32:21.385542 | 2023-03-28T22:43:51 | 2023-03-28T22:43:51 | 17,006,132 | 48 | 12 | null | null | null | null | UTF-8 | C++ | false | false | 513 | h | #ifndef GLSTATE_H
#define GLSTATE_H
#include "nau/material/iState.h"
#include <string>
using namespace nau::material;
namespace nau
{
namespace render
{
class GLState: public IState {
public:
GLState();
~GLState();
virtual void set();
void setDiff(IState *defState, IState *pState);
private:... | [
"arf@di.uminho.pt"
] | arf@di.uminho.pt |
76fcf3e7d9e842127688ff84bc8556f914b142b9 | ecc8548a48d60469f5bf3d433dbe3128bf860348 | /src/app/videoio/VideoSinkCVDisplay.cpp | e749735bfe20319bee6fbbdce2dd7e58a9528536 | [
"BSD-3-Clause",
"MIT"
] | permissive | kumaakh/drishti | 58b4ca5da590d7fa1efaae335e767fdf9f4fe04c | 2f38fc0228437f77e04e09fee3528a800085d930 | refs/heads/master | 2021-05-15T15:43:07.919235 | 2017-11-06T10:06:48 | 2017-11-06T10:06:48 | 107,410,936 | 0 | 0 | null | 2017-10-18T13:19:57 | 2017-10-18T13:19:57 | null | UTF-8 | C++ | false | false | 1,216 | cpp | /*! -*-c++-*-
@file videoio/VideoSinkCVDisplay.cpp
@author Akhil Kumar
@brief Live viewer for frames using opencv imshow.
\copyright Copyright 2017 Elucideye, Inc. All rights reserved.
\license{This project is released under the 3 Clause BSD License.}
*/
#include "videoio/VideoSinkCVDisplay.h"
#include "... | [
"akhil@apra.in"
] | akhil@apra.in |
c809114916c3d636b15ceb7c1c172d5841cfc130 | 4b08802a781540161a71e5b351415fdc2c0aa73c | /tool_kits/ui_component/ui_kit/callback/team/team_callback.cpp | 9ef98bb2f294434c65fc80ff56e8aca27650e760 | [] | no_license | Strongc/NIM_PC_UIKit | cbc0b9882693239346d831cb0db9b2ed9f39b08f | 02b174310bb32167e10613a58c7cd9eac09cd00a | refs/heads/master | 2020-02-26T17:04:02.945283 | 2015-12-03T03:04:30 | 2015-12-03T03:04:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,588 | cpp | #include "team_callback.h"
#include "module/session/session_manager.h"
#include "module/msglog/msg_extend_db.h"
#include "gui/team_info/team_notify.h"
#include "gui/main/team_event_form.h"
namespace nim_comp
{
void TeamCallback::UITeamEventCallback(const nim::TeamEvent& info, const std::string& tid, const nim::TeamI... | [
"redrains@qq.com"
] | redrains@qq.com |
9e5c2e99996dd192991236e82983000700fa1484 | 83bacfbdb7ad17cbc2fc897b3460de1a6726a3b1 | /third_party/skia/experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfFDFDictionary_autogen.cpp | 9ecab69540482d6ec7e59083c9d80731e5e8dc6d | [
"Apache-2.0",
"BSD-3-Clause"
] | 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 | 5,227 | cpp | /*
* Copyright 2013 Google Inc.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "SkPdfFDFDictionary_autogen.h"
#include "SkPdfNativeDoc.h"
SkPdfFileSpec SkPdfFDFDictionary::F(SkPdfNativeDoc* doc) {
SkPdfNativeObject* ret = get("F", "");
if (do... | [
"22249030@qq.com"
] | 22249030@qq.com |
9e1d82bcb30309366c376c615f1c4e53e34fb4ee | b911450a7c92b58f0af1ba2011b47c4daa498cfe | /.history/main_20200928081705.cpp | 8dc4088514b90c72a0e5b15e723396daa4971c81 | [] | no_license | SoulEater1998/tinyrenderer | 9d9bdbfa3dcd7214fe0b6b267e753ed29528f433 | 3c45794c9827ea2f82fe1118c9eca75f030f84cf | refs/heads/master | 2023-01-02T01:41:03.638265 | 2020-10-21T10:19:39 | 2020-10-21T10:19:39 | 297,591,704 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,988 | cpp | #include"drawfunc.h"
#include"model.h"
#include<cstring>
const TGAColor white = TGAColor(255, 255, 255, 255);
const TGAColor red = TGAColor(255, 0, 0, 255);
int main(int argc, char** argv) {
TGAImage image(1920, 1080, TGAImage::RGB);
TGAImage texture;
texture.read_tga_file("african_head_diffuse.tga");
Model... | [
"1411304222@qq.com"
] | 1411304222@qq.com |
8f3e068fbda3a1772fcb2ea43d3091df137da596 | 91a882547e393d4c4946a6c2c99186b5f72122dd | /Source/XPSP1/NT/admin/wmi/wbem/providers/framework/provider/framinst.cpp | d618c96758a51d727328ed3425f0979bf77710e2 | [] | no_license | IAmAnubhavSaini/cryptoAlgorithm-nt5src | 94f9b46f101b983954ac6e453d0cf8d02aa76fc7 | d9e1cdeec650b9d6d3ce63f9f0abe50dabfaf9e2 | refs/heads/master | 2023-09-02T10:14:14.795579 | 2021-11-20T13:47:06 | 2021-11-20T13:47:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,255 | cpp |
//***************************************************************************
//
// MINISERV.CPP
//
// Module: OLE MS SNMP Property Provider
//
// Purpose: Implementation for the ProvGetEventObject class.
//
// Copyright (c) 1996-2001 Microsoft Corporation, All Rights Reserved
//
//***********************... | [
"support@cryptoalgo.cf"
] | support@cryptoalgo.cf |
d56136260a971a5d2e8577e7bbcf619c1e217757 | 8d3327fcfe011b578c2ec4214f7c2c9dcb4b3d96 | /updater/src/main.cpp | f2e0e9e3afc9490732fc99ba2422b3fa816fdf30 | [
"BSD-3-Clause"
] | permissive | mdegirolami/sing | d9fbc53f01cd33878725d75c0dabf64f872de3d3 | a77e88c51a3f333b7b533dea104a031c0a636070 | refs/heads/master | 2022-07-28T06:49:28.859601 | 2022-07-24T10:12:21 | 2022-07-24T10:12:21 | 149,013,972 | 3 | 1 | BSD-3-Clause | 2023-02-28T18:29:31 | 2018-09-16T16:27:30 | C++ | UTF-8 | C++ | false | false | 219 | cpp | #include "updater.h"
int main(int argc, const char *argv[])
{
std::vector<std::string> singarg;
for (int ii = 0; ii < argc; ++ii) {
singarg.push_back(argv[ii]);
}
return(updater(singarg));
} | [
"mdegirolami@gmail.com"
] | mdegirolami@gmail.com |
6f977b66d8ab6427a45c8613b2c8a5abe24e1535 | bd1fea86d862456a2ec9f56d57f8948456d55ee6 | /000/079/721/CWE134_Uncontrolled_Format_String__char_environment_fprintf_84.h | 7672e70947ef0c2f557cd13a5bfd789dcd6405c8 | [] | no_license | CU-0xff/juliet-cpp | d62b8485104d8a9160f29213368324c946f38274 | d8586a217bc94cbcfeeec5d39b12d02e9c6045a2 | refs/heads/master | 2021-03-07T15:44:19.446957 | 2020-03-10T12:45:40 | 2020-03-10T12:45:40 | 246,275,244 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,785 | h | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE134_Uncontrolled_Format_String__char_environment_fprintf_84.h
Label Definition File: CWE134_Uncontrolled_Format_String.label.xml
Template File: sources-sinks-84.tmpl.h
*/
/*
* @description
* CWE: 134 Uncontrolled Format String
* BadSource: environment Read input from ... | [
"frank@fischer.com.mt"
] | frank@fischer.com.mt |
2bc01f95887ceb8a6f6b0407ff8a7cfdfc0c9bac | 2311be08e1695dc65ffb2791cada9ecb0b527033 | /Jefe.cpp | 0f7dc3279470701061ed23341cab652d318919e5 | [] | no_license | Jorgegar96/P3Lab-8_JorgeGarcia | ebdf7eeb7065526bd32370fbfc47b8caf2e11f1d | 84fb14d9d82b5871ae2700f68be9c29150ac808a | refs/heads/master | 2021-04-15T13:42:23.241866 | 2018-03-24T03:06:20 | 2018-03-24T03:06:20 | 126,528,102 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 463 | cpp | #include "Heroe.h"
#include "Jefe.h"
#include "Item.h"
#include <string>
#include <iostream>
using namespace std;
Jefe::Jefe(string nombre, int defense, int att, int debi):Monstruo(nombre, vida, defense, att, debi){
HP =0;
while (HP < 26 || HP > 40){
cout<<"Ingrese la vida del monstruo (entre 26-40)"<<endl;
cin>... | [
"Jorgegar896@gmail.com"
] | Jorgegar896@gmail.com |
1be586cd5c2538e5b726d84d30cb47b4971132d0 | 0611b1cc08b15d329057595365359947c20fcd59 | /sf/zy3/glz.cpp | 893071af11d5eea235d29f3fe7c3d226565ecae5 | [] | no_license | Lan-ce-lot/overflow | c9a7167edaeeaa1f9f1e92624726b1d964289798 | ae76120e328a5a2991eb6ef7f1ae5e279374e15c | refs/heads/master | 2023-04-08T04:24:49.614146 | 2021-04-25T05:33:06 | 2021-04-25T05:33:06 | 279,082,035 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,090 | cpp | #include<iostream>
#include<algorithm>
#include<vector>
#include<time.h>
using namespace std;
typedef vector<vector<int>> VC;
const double maxn=0x3fffffff;
void salesman_problem(int n,double &min,int t[],VC c){
int p[n],i;
double cost;
for(i=0;i<n;i++){
p[i]=i;
}
min=maxn;
do{
cost=0;
for(i=0;i<n-1;i++){
... | [
"1984737645@qq.com"
] | 1984737645@qq.com |
a905e677c7530954bc9bebe9fbc7304fbc0f78ef | f9653d9b17c41644df3685e47759c3e88bfc8750 | /v1/AI Sandbox/World/GameObject.h | 55eab87db5d2b04eabbbd88e270de7c5f7a6eff1 | [
"MIT"
] | permissive | willihay/ai-sandbox | 81d603715e1258825828311a03ddd621d0695faa | b3b20d2529dc70aa1c5dbc02a3643502f191833f | refs/heads/master | 2020-04-04T21:50:32.558135 | 2018-12-02T01:31:07 | 2018-12-02T01:31:07 | 156,300,190 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,011 | h | #pragma once
#include "BehaviorModule.h"
enum class MovementCalculationType
{
MovementCalculation_AddForces,
MovementCalculation_SetVelocity
};
//struct BehaviorModulePriorityCompare
//{
// bool operator() (const BehaviorModule& lhs, const BehaviorModule& rhs)
// {
// return lhs.GetPriority() < ... | [
"willihay@bensam.org"
] | willihay@bensam.org |
d0ad3e2b5f587bd86dcd52f0bd40b24217ffe5d6 | c1dca2af1d321eb7608287f985860069a03eff3f | /GroupIDFilter/BrownAlertDelegate.hpp | 16bc2beba35e7c58765224bc8a1eed3f082b32ed | [] | no_license | FigmentBoy/AdvancedFilters | f377b6999c3abe6575c96f1067f3506ae4112761 | 52f509f0eb096f106d38906242d8fb2a90644029 | refs/heads/master | 2023-05-29T19:16:43.992532 | 2021-06-15T07:40:04 | 2021-06-15T07:40:04 | 352,467,412 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,079 | hpp | #pragma once
// i myself have one header file that
// includes cocos, gd.h, etc.
// i recommend that for you aswell
// include cocos2d
#include <cocos2d.h>
#include <cocos-ext.h>
// if you don't use GD.h, just change
// the class inherited from below to
// your FLAlertLayer
#include <gd.h>
class BrownAlertDelegate ... | [
"17240592+FigmentBoy@users.noreply.github.com"
] | 17240592+FigmentBoy@users.noreply.github.com |
2360365e5fb1f780b48debd459bfeeec486936e8 | 5dfdce270d7d6d0ba5b70740e9f21de07498c686 | /Prac_2/PROCESO3.CPP | ed3c2cf49f8af9db13f1b6023aef4338903f4a1d | [] | no_license | raulacava/kernel | fcdc6d96befa4ed07a741aac58cf585c9360481f | 571b32af9308ad38341eba2c21902c423187ea70 | refs/heads/master | 2020-08-02T17:45:14.905108 | 2019-11-30T05:01:25 | 2019-11-30T05:01:25 | 211,451,637 | 0 | 2 | null | 2019-09-29T18:15:35 | 2019-09-28T05:54:28 | C | UTF-8 | C++ | false | false | 9,400 | cpp | #include <dos.h>
#include <conio.h>
#include <stdio.h>
#include <time.h>
#include <graphics.h>
#include <stdlib.h>
#define ESC 27
#define CLK_INT 0x08 /* vector de interrupcion del reloj */
#define STACK_SIZE 1024 /* capacidad maxima de la pila de los procesos */
#define LEFT_X 1
#define MIDDLE_X 40
#d... | [
"raulacava@gmail.com"
] | raulacava@gmail.com |
f2685030b68be032c7c78119ebb324ab31833645 | 1bf8b46afad5402fe6fa74293b464e1ca5ee5fd7 | /Demo/Shenmue3SDK/SDK/BP_GimmickChair_functions.cpp | 7320a474d9cb40e93b24a4967a596282a625ee52 | [] | no_license | LemonHaze420/ShenmueIIISDK | a4857eebefc7e66dba9f667efa43301c5efcdb62 | 47a433b5e94f171bbf5256e3ff4471dcec2c7d7e | refs/heads/master | 2021-06-30T17:33:06.034662 | 2021-01-19T20:33:33 | 2021-01-19T20:33:33 | 214,824,713 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,470 | cpp |
#include "../SDK.h"
// Name: S3Demo, Version: 0.90.0
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Functions
//---------------------------------------------------------------------------
// Function BP_GimmickChair.B... | [
"35783139+LemonHaze420@users.noreply.github.com"
] | 35783139+LemonHaze420@users.noreply.github.com |
db458ea69b42d0560f8be26f0e1f42ab806f87a5 | a14fc2fe65b388b13ba4fa0950ecdef76640bcfc | /example/simplest_ffmpeg_player_su.cpp | 525c82107884e2075668375af372327de36776b6 | [] | no_license | gyli0086/cpu_utili_calculate | 0fdae15dee26edaef6df5c1f3cc3c77bd548db0c | 652171aa566154bef96dce716ad45c2a12b46e71 | refs/heads/master | 2022-05-23T13:14:56.278803 | 2020-04-30T12:06:00 | 2020-04-30T12:06:00 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 8,065 | cpp | /**
* 最简单的基于FFmpeg的视频播放器2(SDL升级版)
* Simplest FFmpeg Player 2(SDL Update)
*
* 雷霄骅 Lei Xiaohua
* leixiaohua1020@126.com
* 中国传媒大学/数字电视技术
* Communication University of China / Digital TV Technology
* http://blog.csdn.net/leixiaohua1020
*
* 第2版使用SDL2.0取代了第一版中的SDL1.2
* Version 2 use SDL 2.0 instead of SDL 1.2 in v... | [
"tianbaolin1@gmail.com"
] | tianbaolin1@gmail.com |
8a32ce53c71dfa3db040763c66dc7d323d50dd37 | 0583c0188d778d30f912fd969cac94cb7ed03e72 | /src/llist.h | d6e5ae45a37132cfee992c13ae3f67512ee332f6 | [
"MIT"
] | permissive | zhangzhg0508/DSMCpp | e4de540f31ed753ee595109d138f89c86f598fce | 43d6f61fa68cb4fbe0f8fe7f5c6d7f7a4d985a61 | refs/heads/main | 2023-03-02T03:26:55.367897 | 2021-02-12T08:07:17 | 2021-02-12T08:07:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,375 | h | #pragma once
namespace DSMCpp {
template <typename T>
struct LinkedList {
struct Node {
T data;
Node * next;
};
LinkedList() {
head = nullptr;
tail = nullptr;
size = 0;
}
Node * head;
Node *... | [
"txaicalvoso@gmail.com"
] | txaicalvoso@gmail.com |
febee62475ca83d462d21f08714b0af0c883e465 | 84c7c40aa6d0376045074ad07a59107ac830114c | /Meek/Buffer.cpp | 663e5db18999abcae5a8c984c47d50ff3ca3f5ed | [] | no_license | supertanglang/meek | 124f80ef522c174ba5a02b602e5067523914df40 | 5497fb5f8e4a844dcea8eba1660c4c944b0e3a04 | refs/heads/master | 2021-01-19T19:11:57.082183 | 2014-07-02T09:28:00 | 2014-07-02T09:28:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,778 | cpp | #include "Buffer.h"
#include "Utils.h"
namespace MeekCore
{
Buffer::Buffer()
{
this->ptr = InitialBuffer;
asize = 0;
size = 0;
}
Buffer::~Buffer()
{
if (this->ptr)
{
delete ptr;
ptr = NULL;
}
}
void Buffer::init(size_t initial_size)
{
this->asize = 0;
this->size = 0;
this->ptr = Ini... | [
"zyang.pointer@gmail.com"
] | zyang.pointer@gmail.com |
16c63de8a8cf88d159b4d52dc64b0d70057e733c | 45f0d2092dfb3ff794f2da2b3a6f2b0c9b4847c8 | /key-gen/KeyGen.h | a2dad6691c677f8d5021789ff384c1317a6309e7 | [] | no_license | Haseeba09/CSE539 | 4ac6616d68c876983f8691f97e383e82583d9603 | c38a387cd1f12a5c05272064edc2d042d0c15ea6 | refs/heads/master | 2020-04-03T01:10:37.453177 | 2018-11-28T12:14:35 | 2018-11-28T12:14:35 | 154,922,694 | 0 | 0 | null | 2018-11-28T12:14:36 | 2018-10-27T03:38:48 | C++ | UTF-8 | C++ | false | false | 133 | h | #ifndef KEYGEN_H
#define KEYGEN_H
#include <iostream>
using namespace std;
string keyGen(int p, int q,unsigned long long x);
#endif | [
"haseeba09@gmail.com"
] | haseeba09@gmail.com |
ffe26a7864291a0bfd685f82a72560032431ee9a | 88a28ab58306883dbf2e9ebc4b2532452c12f50e | /8304/Meshkov_Maxim/Lab2/Field/FieldCell.cpp | 65274c4fda9d853f165dbc18e02cfd6e01bad1b3 | [] | no_license | Heliconter/oop | 07e9847d93ffd7d316fc05ede27f0666e5b3a2d0 | e1a26932df6933df8b93a57ecd4d7b691d25b69b | refs/heads/master | 2021-02-09T05:45:25.408729 | 2020-03-15T21:01:58 | 2020-03-15T21:01:58 | 244,248,089 | 0 | 0 | null | 2020-03-02T00:41:59 | 2020-03-02T00:41:58 | null | UTF-8 | C++ | false | false | 434 | cpp | #include "FieldCell.hpp"
#include "../Units/Unit.hpp"
#include "../Terrains/GroundTerrain.hpp"
FieldCell::FieldCell()
: m_terrain(new GroundTerrain)
{}
FieldCell::FieldCell(const FieldCell &other) {
*this = other;
}
FieldCell &FieldCell::operator=(const FieldCell &other) {
if (&other != this) {
... | [
"heliconter@gmail.com"
] | heliconter@gmail.com |
8429e1550ff455bc45eb80d963394bedc7cd528d | 09e691cd33d9eab57b903d717e8e65194aedcca7 | /SDK/PUBG_Toy_Item_Weapon_Sickle_classes.hpp | ee1b1b317cfce7c4712a0ebeef68fd96e0ded484 | [] | no_license | violarulan/PUBG-SDK | 8a6ed46abe103147c772cd31cf1e07541a99e844 | 148a48829ef23355a2a6a3ecb286985677f4e274 | refs/heads/master | 2021-01-06T20:40:15.064387 | 2017-08-03T16:24:22 | 2017-08-03T16:24:22 | 99,541,605 | 1 | 0 | null | 2017-08-07T05:55:34 | 2017-08-07T05:55:34 | null | UTF-8 | C++ | false | false | 690 | hpp | #pragma once
// PLAYERUNKNOWN'S BATTLEGROUNDS (2.5.26) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace Classes
{
//---------------------------------------------------------------------------
//Classes
//---------------------------------------------------------------------------
// BlueprintGeneratedCl... | [
"pubgsdk@gmail.com"
] | pubgsdk@gmail.com |
4fa5a4f1cf652a088f24788c4f7cde1594609b70 | 0dd9d91d3166d0e2bca71a5fe9e1cf435498d956 | /d01/ex03/main.cpp | 7e9487ca2ea9dcebcc87c70e71bc56da76b8bb2f | [] | no_license | Git-Math/piscine_cpp | a1f78e4150e1fed45fab0bd00e79f8ee749fe47e | 8d6d80e63330df3e82c09836cc0a7a810b9a7f2b | refs/heads/master | 2023-07-22T13:11:18.881873 | 2023-07-09T23:48:55 | 2023-07-09T23:48:55 | 223,008,122 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,194 | cpp | // ************************************************************************** //
// //
// ::: :::::::: //
// main.cpp :+: :+: :+: ... | [
"mnguyen@e1r12p23.42.fr"
] | mnguyen@e1r12p23.42.fr |
a8531e48859e5b8d14ba9004f371ed9b4b55160c | c71c0c5d693bccd4cb64b2282cbedbac25b6e114 | /src/MagnumPlugins/AnySceneConverter/importStaticPlugin.cpp | 92e2fb74c85611788d30a3544001a03b5bcf121b | [
"MIT"
] | permissive | janbajana/magnum | 69287c6d4fc0be577e7b19078406131484f4c53f | 9870cd72c96a3e09d5d79cbcd838bb365f84abc6 | refs/heads/master | 2023-08-23T07:20:47.202851 | 2021-10-24T17:52:08 | 2021-10-24T18:17:34 | 269,671,008 | 1 | 0 | NOASSERTION | 2020-06-05T14:47:21 | 2020-06-05T14:47:20 | null | UTF-8 | C++ | false | false | 1,610 | cpp | /*
This file is part of Magnum.
Copyright © 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019,
2020, 2021 Vladimír Vondruš <mosra@centrum.cz>
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "... | [
"mosra@centrum.cz"
] | mosra@centrum.cz |
b71b171435ac18a11fcbc8512d7a5f4fd7a4da52 | 636394fc4967123179dd2dc935f437e735c6d38a | /export/windows/obj/include/haxe/io/Bytes.h | 03748dc9a8e2aaada516ea1f134bb32904a34b02 | [
"MIT"
] | permissive | arturspon/zombie-killer | 865e6ef3bdb47408f9bfea9016f61bf19b2559c7 | 07848c5006916e9079537a3d703ffe3740afaa5a | refs/heads/master | 2021-07-18T16:44:26.556092 | 2019-05-04T13:56:08 | 2019-05-04T13:56:08 | 181,805,463 | 0 | 1 | MIT | 2021-07-16T23:18:46 | 2019-04-17T02:50:10 | C++ | UTF-8 | C++ | false | true | 3,702 | h | // Generated by Haxe 4.0.0-rc.2+77068e10c
#ifndef INCLUDED_haxe_io_Bytes
#define INCLUDED_haxe_io_Bytes
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
#ifndef INCLUDED_38344beec7696400
#define INCLUDED_38344beec7696400
#include "cpp/Int64.h"
#endif
HX_DECLARE_CLASS2(haxe,io,Bytes)
HX_DECLARE_CLASS2(haxe,io,Encoding)
name... | [
"artursponchi@gmail.com"
] | artursponchi@gmail.com |
f3abedbb83c55e823e4426a797962139233ed5da | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /third_party/blink/public/web/web_blob.h | 195d38b4bd913be7459aa3388d1ca42d1c3226dc | [
"LGPL-2.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-1.0-or-later",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | permissive | Samsung/Castanets | 240d9338e097b75b3f669604315b06f7cf129d64 | 4896f732fc747dfdcfcbac3d442f2d2d42df264a | refs/heads/castanets_76_dev | 2023-08-31T09:01:04.744346 | 2021-07-30T04:56:25 | 2021-08-11T05:45:21 | 125,484,161 | 58 | 49 | BSD-3-Clause | 2022-10-16T19:31:26 | 2018-03-16T08:07:37 | null | UTF-8 | C++ | false | false | 3,081 | h | /*
* Copyright (C) 2011 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... | [
"sunny.nam@samsung.com"
] | sunny.nam@samsung.com |
a7292cc1177ca6b97671cb3a622e00493c2b71b4 | 12840d008d17df59a37997691774fa87e5f227be | /zhongzihao-personal/Atcoder/M-Solutions Programming Contest 2019/C.cpp | c929b7134c6301020ff72a052a45c2eb49b7d9f1 | [] | no_license | clatisus/ACM-ICPC-Team-Archive | 4b6c3d2dfb300f928f4f201ae156bde5f871a734 | 7410ddfa81de8750668d8ac2c334987b5af7e613 | refs/heads/master | 2022-07-21T13:03:22.768792 | 2020-01-04T11:30:43 | 2020-01-04T11:30:43 | 136,951,655 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,184 | cpp | #include <bits/stdc++.h>
const int moder = (int) 1e9 + 7;
const int N = 1000010;
int fac[N], inv[N], invf[N];
int powermod(int a, int exp) {
int ret = 1;
for (; exp > 0; exp >>= 1) {
if (exp & 1) {
ret = 1ll * ret * a % moder;
}
a = 1ll * a * a % moder;
}
return re... | [
"642524394@qq.com"
] | 642524394@qq.com |
ebc3f40e2a9526b2234e14719c8dde27320faf12 | b7d9eb3e341025edcce96a473445eb14b8a5720e | /chap1/1-5 Prime Palindromes.cpp | 356818f7970f7e1521be84f4e5cee44ee7d87662 | [] | no_license | mazhaojia/USACO | c0e6f7ffb8f8bcdecddeb5e9056ad71ae1a9c311 | ba0d6d468e4618d2c69384ae1030225a574c4a06 | refs/heads/master | 2021-01-20T00:22:02.581777 | 2017-04-23T06:33:11 | 2017-04-23T06:33:11 | 89,121,291 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,333 | cpp | /*
ID: mazhaoj1
PROG: pprime
LANG: C++
*/
#include <iostream>
#include <fstream>
#include <cstring>
#include <cmath>
using namespace std;
char isprime[10000];
int prime[10000];
int primecnt;
int judge(int pa)
{
int sqpa = (int) sqrt((double)pa);
for(int i = 0; i < primecnt && prime[i] <= sqpa; ++i)
if... | [
"mazhaojia@163.com"
] | mazhaojia@163.com |
90c84d21694ae2899dba7648ac5f4913cf067078 | 680440f5e59eb2157c1ecb41fd891880ac47c459 | /CodeForces/994/F.cpp | 6e2cab783cb25764d588bc1612edd6c27fb45387 | [] | no_license | Skywt2003/codes | a705dc3a4f5f79d47450179fc597bd92639f3d93 | 0e09198dc84e3f6907a11b117a068f5e0f55ca68 | refs/heads/master | 2020-03-29T09:29:54.014364 | 2019-11-15T12:39:47 | 2019-11-15T12:39:47 | 149,760,952 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,751 | cpp | #include<cstdio>
#include<cstring>
#include<iostream>
#include<algorithm>
#include<vector>
#include<cmath>
#define int long long
using namespace std;
inline int read(){
int ret=0,f=1;char ch=getchar();
while (ch<'0'||ch>'9') {if (ch=='-') f=-1;ch=getchar();}
while (ch>='0'&&ch<='9') ret=ret*10+ch-'0',ch=getchar();... | [
"skywt2003@gmail.com"
] | skywt2003@gmail.com |
d2c8bc31c70b3ba8d9998669d85fc14995b31152 | ff40da390015c1f05024509caa9962b5ead35d96 | /BattleTank/Source/BattleTank/TankMovementComponent.cpp | fe34afebfff98a4aa85b973b88159b3ae806d212 | [] | no_license | Seank23/BattleTank | 451359fe5dc7593d2bfc6b68ba43510ff9661631 | 04105ab42860baafcd58a164c1eea82176343657 | refs/heads/master | 2020-12-21T06:45:57.008362 | 2016-08-11T17:29:09 | 2016-08-11T17:29:09 | 59,770,308 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,486 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "BattleTank.h"
#include "TankTrack.h"
#include "TankMovementComponent.h"
void UTankMovementComponent::Initialise(UTankTrack* lTrack, UTankTrack* rTrack)
{
leftTrack = lTrack;
rightTrack = rTrack;
}
void UTankMovementComponent::... | [
"sean.king@gmx.com"
] | sean.king@gmx.com |
93dba60980d146de25beaece5f5b45aed0d90912 | ba9002affa219c835d5b6529f874e5ca541588fe | /Assignment2/StudentData.cpp | 8206617b22883805c05e404808f1e3fcee699871 | [] | no_license | Agrim-Ani/Object-Oriented-lab-NITSri | bbcd495e3dfac45a8a1c5fc8c7031569a86bedfe | 534b43a21ffe51329107e57e84e77e400b32ccbb | refs/heads/main | 2023-08-27T17:52:51.099683 | 2021-10-28T19:31:10 | 2021-10-28T19:31:10 | 395,245,917 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 875 | cpp | #include <iostream>
using namespace std;
class Student_Info{
int roll_number;
char student_name[50], grade[2];
public:
void read_data(int x){
cout<<"student "<<x+1<<" information \n";
cout<<"Name of the Student : ";
cin>>student_name;
cout<<"Roll Nu... | [
"agrimani.125@gmail.com"
] | agrimani.125@gmail.com |
3a3640b213435b44c3e26ddb24c69522c799eb21 | 83bacfbdb7ad17cbc2fc897b3460de1a6726a3b1 | /v8_5_1/src/heap/spaces.cc | 8a7fd1a14fa608ea03cfee5b51739216828e4146 | [
"BSD-3-Clause",
"bzip2-1.0.6",
"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 | 103,695 | cc | // Copyright 2011 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/heap/spaces.h"
#include "src/base/bits.h"
#include "src/base/platform/platform.h"
#include "src/full-codegen/full-codegen.h"
#include "sr... | [
"22249030@qq.com"
] | 22249030@qq.com |
28a1bd3327d55583789e6658a2c79fb73197cbb2 | f23fea7b41150cc5037ddf86cd7a83a4a225b68b | /SDK/BP_eye_col_brown_02_Desc_classes.h | f964d44d97212073270404f456b9b7c67d18afb8 | [] | no_license | zH4x/SoT-SDK-2.2.0.1 | 36e1cf7f23ece6e6b45e5885f01ec7e9cd50625e | f2464e2e733637b9fa0075cde6adb5ed2be8cdbd | refs/heads/main | 2023-06-06T04:21:06.057614 | 2021-06-27T22:12:34 | 2021-06-27T22:12:34 | 380,845,087 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 760 | h | #pragma once
// Name: SoT, Version: 2.2.0b
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//-------------------------------------------------------------... | [
"Massimo.linker@gmail.com"
] | Massimo.linker@gmail.com |
937c24a6dc706cba390a039fa907722212f3128d | 9a4c97aa0cb3b7bedc22abf25a85c13a59552a6c | /Engine/CherrySoda/Colliders/Hitbox.cpp | 4618e9e611b4fe4eb7b9b6b0ac63e94e93fb3522 | [
"MIT"
] | permissive | fountainment/cherrysoda-engine | 46d10efa9907b3eb046cc52a87f6184f4656a47b | b5ff3701790016babcc167b9e9f09acea90651d9 | refs/heads/master | 2023-06-23T17:37:20.082904 | 2023-06-16T20:19:25 | 2023-06-16T20:19:25 | 211,327,644 | 44 | 8 | null | null | null | null | UTF-8 | C++ | false | false | 1,507 | cpp | #include <CherrySoda/Colliders/Hitbox.h>
#include <CherrySoda/Colliders/Collide.h>
#include <CherrySoda/Colliders/ColliderList.h>
#include <CherrySoda/Colliders/Circle.h>
#include <CherrySoda/Colliders/Grid.h>
#include <CherrySoda/Util/Camera.h>
#include <CherrySoda/Util/Color.h>
#include <CherrySoda/Util/Draw.h>
#inc... | [
"c.even@live.cn"
] | c.even@live.cn |
f71c6f193118f18cb56635ebae726eaa66721845 | 2398c2a717214be48f3d93da89ba11155263757b | /Sem_06/PPO/Lab_03/application/plugins/turns/TurnsPlugin.cpp | 1df4fb743fad561c77c6a412f8215c7f61cdc4b4 | [] | no_license | lieroz/University | 9af687787e3c468b34e2bfb8ffeadf44f2063bc7 | c7ee70e77e6426045fac6c5b43aab10e1ffdcddb | refs/heads/master | 2020-04-06T19:53:40.479191 | 2019-01-19T09:16:35 | 2019-01-19T09:16:35 | 68,386,115 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,460 | cpp | //
// Created by lieroz on 22.05.18.
//
#include <QHBoxLayout>
#include <TurnsPlugin.h>
TurnsPlugin::TurnsPlugin(QWidget *parent)
: QWidget(parent)
{
QHBoxLayout *layout = new QHBoxLayout(this);
m_comboBox = new QComboBox(this);
m_spinBox = new QSpinBox(this);
m_spinBox->setMaximum(INT_MAX);
... | [
"a.kamakin@icloud.com"
] | a.kamakin@icloud.com |
51b05a29cfa5fe621b1608af62e9aa837a794181 | ff962fc71bbd3d6de13f78ec390c315857f2e067 | /testbed/Trunk/RobotSimulator/RobotLib/MotorSafetyHelper.cpp | 61a3b543e5fe55a4e3162b4f0b7bbedae4b012ad | [
"MIT"
] | permissive | Team846/code-2013 | d4a9adcb03d0dbcb30d7a604653f4a53d3394fa0 | ee7908816fbc28776035ea260bdc59c71072c3df | refs/heads/master | 2021-04-30T23:00:25.999434 | 2014-01-04T02:58:15 | 2014-01-04T02:58:15 | 68,423,304 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,728 | cpp | /*----------------------------------------------------------------------------*/
/* Copyright (c) FIRST 2008. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in $(WIND_BASE)/WPILib. */
/*----------... | [
"tonypeng1337@7fd724af-82d8-4e03-abce-a1839bdb3e51"
] | tonypeng1337@7fd724af-82d8-4e03-abce-a1839bdb3e51 |
b910327c0563f163cddb6f9df77bc18a2b05454f | 019998f1291144b7ddc843437ed43b07df8362e2 | /matro/TicTacToeServer/ComTCPManager.h | bd6433c6b3563f1417a0a68665ea8e9ce05714fd | [] | no_license | dyskotron/TCPClient | 2e268ae68ec59fdeb3d76ab9f94da7eff2fcc2b7 | 9a4085e39493e91bb718d4fec316448200f36e29 | refs/heads/master | 2021-01-20T22:26:23.886479 | 2016-06-27T00:36:15 | 2016-06-27T00:36:15 | 61,872,257 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,164 | h | //
// ComTCPManager.h
// TicTacToeOnline2
//
// Created by Vladislav Vesely on 8/24/13.
//
//
#ifndef __TicTacToeOnline2__ComTCPManager__
#define __TicTacToeOnline2__ComTCPManager__
class IComTCPManagerDelegate
{
public:
virtual ~IComTCPManagerDelegate() {};
virtual void onConnected() = 0;
virtual voi... | [
"dirtydysko@gmail.com"
] | dirtydysko@gmail.com |
8e80f1be4e15134b64f728290e7c441d70506994 | 6521aeacac3858c0afe9df7e2cbc8f9481711848 | /engine/src/game/application/base3dApplication.cpp | 9675c144b60b1fb02004a1e2b6e3a7982eb29839 | [] | no_license | blizmax/rev | 7b5cb55edaea0895db364ac91fa2415607a272b7 | d63f15dd4ffbd43a774162cb7935b0f11360eed5 | refs/heads/master | 2022-04-08T18:05:41.712216 | 2020-02-14T00:56:50 | 2020-02-14T00:56:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,306 | cpp | //--------------------------------------------------------------------------------------------------
// Revolution Engine
//--------------------------------------------------------------------------------------------------
// Copyright 2019 Carmelo J Fdez-Aguera
//
// Permission is hereby granted, free of charge, to a... | [
"cjtech90@gmail.com"
] | cjtech90@gmail.com |
f7b3e5debeeccf956419906ae8ecc7516386db35 | e2c093f8172ee8b2949a868ad809fd49decf7ad1 | /nachos-3.4/code/threads/system.cc | 1574a86ac3a0a98d60d1eb57b3ac7f43dcabf385 | [
"MIT-Modern-Variant"
] | permissive | binlins/nachosproject | b436408fdcca409a7e4222e31ac20e615ec76213 | 3b8d391924ea5012ac41262ad34546a7085fcf4f | refs/heads/master | 2020-08-01T15:32:27.379503 | 2019-10-03T11:02:24 | 2019-10-03T11:02:24 | 211,034,777 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,605 | cc | // system.cc
// Nachos initialization and cleanup routines.
//
// Copyright (c) 1992-1993 The Regents of the University of California.
// All rights reserved. See copyright.h for copyright notice and limitation
// of liability and disclaimer of warranty provisions.
#include "copyright.h"
#include "system.h"
// Thi... | [
"981921742@qq.com"
] | 981921742@qq.com |
d5f6aecb216a5077e97944df9f46c86c2bab6653 | 27a39d0b50ad81d00ba8e191470a6450b4e95b1a | /Design and Analysis of Algorithms/Advanced Graph Algorithms-1/EulerianPathorCircuit.cpp | 02dcca6fe56f206d66da16b0915d7f99d9be2e2d | [
"MIT"
] | permissive | dragonman164/My-Journey-of-Data-Structures-and-Algorithms | 57a40a49b044c78b001b14171a4acc4c543465b9 | 50eb817fd346f8a29d190108807347d16670b76e | refs/heads/master | 2023-08-14T16:08:45.829746 | 2021-10-04T14:07:19 | 2021-10-04T14:07:19 | 367,568,387 | 1 | 7 | MIT | 2021-10-04T14:07:20 | 2021-05-15T07:31:19 | C++ | UTF-8 | C++ | false | false | 2,205 | cpp | #include<bits/stdc++.h>
using namespace std;
class Graph{
vector<list<int>> edges;
int vertices;
public:
Graph (int n)
{
this->vertices = n;
this->edges = vector<list<int>>(n);
}
void addEdge(int src,int dest)
{
edges[src].push_back(dest);
edges[dest].pus... | [
"sanidhiyafirefox123@gmail.com"
] | sanidhiyafirefox123@gmail.com |
8c8a853f8ff38b4b6f01193f582f249cb7ca90ef | 46d4712c82816290417d611a75b604d51b046ecc | /Samples/Win7Samples/dataaccess/oledb_conformance/oledb/privlib/src/crow.cpp | abf6c670b51130871779cf651b235dc2f3142d4e | [
"MIT"
] | permissive | ennoherr/Windows-classic-samples | 00edd65e4808c21ca73def0a9bb2af9fa78b4f77 | a26f029a1385c7bea1c500b7f182d41fb6bcf571 | refs/heads/master | 2022-12-09T20:11:56.456977 | 2022-12-04T16:46:55 | 2022-12-04T16:46:55 | 156,835,248 | 1 | 0 | NOASSERTION | 2022-12-04T16:46:55 | 2018-11-09T08:50:41 | null | UTF-8 | C++ | false | false | 39,948 | cpp | //--------------------------------------------------------------------
// Microsoft OLE DB Test
//
// Copyright 1995-2000 Microsoft Corporation.
//
// @doc
//
// @module CRowObject Implementation Module| This module contains implementation information
// for row object functions for the private library.
//
// @comm... | [
"chrisg@microsoft.com"
] | chrisg@microsoft.com |
d67faa7542f98f8adc2a0561ddc251a6f022c1bb | 4472a3c94f0d0e7675f3f197eb7ee34b1f5f0468 | /TetrisGame/Point.cpp | 4ceda0cabbdb21604891e286896f480988158027 | [] | no_license | NoamMani/TetrisGame | 06012301073515d50462732e66ac7f9ac3fbf7dc | 6c1cbe7c11e08b1827af4a9dcd3b23e471bb9d73 | refs/heads/master | 2020-03-22T05:38:25.360207 | 2018-07-10T16:27:13 | 2018-07-10T16:27:13 | 139,580,402 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 196 | cpp | #include "Point.h"
void Point::draw(Signs c) {
gotoxy(x, y);
cout << (char)c;
cout.flush();
}
void Point::move(int dirX, int dirY) {
updatePoint(dirX, dirY);
if (ch != EMPTY)
draw(ch);
}
| [
"noam.many93@gmail.com"
] | noam.many93@gmail.com |
fbf7dfc28fd65f6fcd16d5d99a4a7ecdc064fdc8 | 580fbd87d055a0707279dc0e26d24d95c705a061 | /src/engine/shared/library/sharedGame/src/shared/objectTemplate/SharedUniverseObjectTemplate.cpp | adf09d85fabeb5ed30ff1280246c4f219305a64a | [] | no_license | grserver/infinity | 2588c97286b31fe59db0d72de4be0c8b46f6299d | 5d9f23559d2481708a90b7e28ae0a065ed45c0fe | refs/heads/master | 2021-01-18T14:20:19.333376 | 2015-11-20T17:27:10 | 2015-11-20T17:27:10 | 44,974,989 | 0 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 4,734 | cpp | //========================================================================
//
// SharedUniverseObjectTemplate.cpp
//
//IMPORTANT: Any code between //@BEGIN TFD... and //@END TFD... will be
//overwritten the next time the template definition is compiled. Do not
//make changes to code inside these blocks.
//
// copyright... | [
"swgmaster@india.com"
] | swgmaster@india.com |
160ee77daee7cca118a71f1b7b1bceaee43d0704 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/collectd/gumtree/collectd_repos_function_296_collectd-4.5.1.cpp | 18d15bf784a83df6bc6f3bee45dc4a022ccbc3df | [] | 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 | 2,589 | cpp | int uc_check_timeout (void)
{
time_t now;
cache_entry_t *ce;
char **keys = NULL;
int keys_len = 0;
char *key;
c_avl_iterator_t *iter;
int i;
pthread_mutex_lock (&cache_lock);
now = time (NULL);
/* Build a list of entries to be flushed */
iter = c_avl_get_iterator (cache_tree);
while (c_av... | [
"993273596@qq.com"
] | 993273596@qq.com |
c0424764d311f5d2e08694f9009b622de93aca04 | 99c678ae037bd722bbea5027c00a2386f432c207 | /Bindings/Python/OSGSystem/module/generated/ShaderVariableUniformBlockBase.pypp.cpp | 4eab2b007e5f3edd104e36eabb6b2ed8f3cc28ad | [] | no_license | wangfeilong321/OSGAddOnsGV | f6b4307d631bb9004979375b16bb38547afb20cf | 02d1850fccc2e7c81c830e80639b687e43203f2f | refs/heads/master | 2020-12-11T06:01:41.042678 | 2015-08-11T09:09:33 | 2015-08-11T09:09:33 | 48,630,698 | 0 | 1 | null | 2015-12-27T02:57:36 | 2015-12-27T02:57:36 | null | UTF-8 | C++ | false | false | 9,286 | cpp | // This file has been generated by Py++.
// PyOpenSG is (C) Copyright 2005-2009 by Allen Bierbaum
//
// This file is part of PyOpenSG.
//
// PyOpenSG 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; ... | [
"vossg@vossg.org"
] | vossg@vossg.org |
424dd668507841dfe43353f4b8cb5a0b4532eca6 | 854f3f6ae97c85ca054c3e1c801ff1ef8badcdf2 | /src/glmnetpp/include/glmnetpp_bits/elnet_point/gaussian_multi.hpp | ec04d90832d9b9f6773b31d5bd415e368f0fe356 | [] | no_license | cran/glmnet | 5d24e2d1ec9e4ca4ae17aeb28781cbe163c3523c | 625f6ca6e3132ce730563ce34233c37f347754c8 | refs/heads/master | 2023-09-01T20:24:37.049612 | 2023-08-22T03:10:09 | 2023-08-22T05:30:40 | 17,696,436 | 64 | 99 | null | 2017-11-09T01:18:04 | 2014-03-13T04:53:09 | Fortran | UTF-8 | C++ | false | false | 1,325 | hpp | #pragma once
#include <glmnetpp_bits/util/macros.hpp>
#include <glmnetpp_bits/elnet_point/decl.hpp>
#include <glmnetpp_bits/elnet_point/gaussian_base.hpp>
namespace glmnetpp {
template <class ElnetPointInternalPolicy>
struct ElnetPoint<
util::glm_type::gaussian,
util::mode_type<util::glm_type::gaussian>::mul... | [
"csardi.gabor+cran@gmail.com"
] | csardi.gabor+cran@gmail.com |
25d34d87742e849bce729aa1f59a0fee8ecefd70 | 0f964d634ff96fdbfee0110014cebbad302cc072 | /SpaceSim/Gameplay/door.h | c15461d1d24d980559192169a0b4bed26705a72c | [] | no_license | OGDecode/SpaceSim | b295f3330a86ec9d024899207cc802d08412cc14 | dc1c01f8223456f44d4956db8ade82003f4ac27b | refs/heads/master | 2021-06-08T09:48:59.513031 | 2016-09-29T20:05:42 | 2016-09-29T20:05:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,310 | h | #ifndef DOOR_H
#define DOOR_H
#include "Gameplay/GameObject.h"
#include "Gameplay/face.h"
#include "Math/vector3.h"
class Door : public GameObject
{
public:
Door(Resource* resource) : GameObject(resource)
{
}
~Door(){}
Door(Resource* resource, const Vector3& position);
void initialise(const ShaderInsta... | [
"paulkruitz@gmail.com"
] | paulkruitz@gmail.com |
73b8fe412435ce0228515aa228accb08a3811a98 | 6e786e00858b69cf5b1c23e1f956627c4d454195 | /StatePattern27Nov2018/DirectXgameFramework/Framework/pch.h | 5fe5378d2d6522df51fcbe57820b993737adf720 | [] | no_license | kazu1184/StatePatternTest | 98226fde930905c86e7ae7cea7a5651002e01705 | eec3e91dfb838a3d955f532d58b3a1e7b91b835b | refs/heads/master | 2020-05-22T13:07:09.841547 | 2019-05-13T05:23:45 | 2019-05-13T05:23:45 | 186,350,466 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 900 | h | //
// pch.h
// Header for standard system include files.
//
#pragma once
#include <WinSDKVer.h>
#define _WIN32_WINNT 0x0600
#include <SDKDDKVer.h>
// Use the C++ standard templated min/max
#define NOMINMAX
// DirectX apps don't need GDI
#define NODRAWTEXT
#define NOGDI
#define NOBITMAP
// Include <mcx.h> if you ne... | [
"gambal.job@gmail.com"
] | gambal.job@gmail.com |
a34daabdea6791856adba9b03b28be7394eea579 | 3cae667175b2d6aac6d7f3d8189e9a02c38ea1cf | /AtCoder/ABC0/ABC016/A.cpp | d5d12636973799e6bb8e781ccb9d46f0358f5f20 | [] | no_license | kokorinosoba/contests | 3ee14acf729eda872ebec9ec7fe3431f50ae23c2 | 6e0dcd7c8ee086650d89fc65616981361b9b20b9 | refs/heads/master | 2022-08-04T13:45:29.722075 | 2022-07-24T08:50:11 | 2022-07-24T08:50:11 | 149,092,111 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 136 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
int m, d; cin >> m >> d;
cout << (m % d == 0 ? "YES" : "NO") << endl;
}
| [
"34607448+kokorinosoba@users.noreply.github.com"
] | 34607448+kokorinosoba@users.noreply.github.com |
9202db0853df2f82910dc96e28f259471afee24b | 5a2349399fa9d57c6e8cc6e0f7226d683391a362 | /src/qt/qtbase/src/plugins/platforms/minimalegl/qminimaleglbackingstore.cpp | db6e5d94dab4b30e84311e9131f86982050ae5fd | [
"LGPL-2.1-only",
"GPL-3.0-only",
"LicenseRef-scancode-digia-qt-commercial",
"Qt-LGPL-exception-1.1",
"LicenseRef-scancode-digia-qt-preview",
"LGPL-2.0-or-later",
"GFDL-1.3-only",
"BSD-3-Clause"
] | permissive | aharthcock/phantomjs | e70f3c379dcada720ec8abde3f7c09a24808154c | 7d7f2c862347fbc7215c849e790290b2e07bab7c | refs/heads/master | 2023-03-18T04:58:32.428562 | 2023-03-14T05:52:52 | 2023-03-14T05:52:52 | 24,828,890 | 0 | 0 | BSD-3-Clause | 2023-03-14T05:52:53 | 2014-10-05T23:38:56 | C++ | UTF-8 | C++ | false | false | 3,183 | cpp | /****************************************************************************
**
** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the plugins of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees holdi... | [
"ariya.hidayat@gmail.com"
] | ariya.hidayat@gmail.com |
849d7b9aefd8141eec189fcae38cffe15bb73499 | f5284ff5354764bfa4343f3190e727adb6f7b6f8 | /Project Folder1/CCSocialNetwork-master/GetSocial/Classes/AppDelegate.h | 81d7ab9fc84d0f769e100cb82ddd9fe59e9d3701 | [] | no_license | wzit/Projects-cocos2dx-Games-Mine | 41e7041c591b9e0c3d0e568ad3803857a57797f7 | 164ec8e3d9fa86a4201926dfc48f32eda675d607 | refs/heads/master | 2021-01-17T16:06:50.771593 | 2015-03-25T08:53:00 | 2015-03-25T08:53:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,115 | h | //
// GetSocialAppDelegate.h
// GetSocial
//
// Created by Mikel Eizagirre on 12/09/12.
// Copyright __MyCompanyName__ 2012. All rights reserved.
//
#ifndef _APP_DELEGATE_H_
#define _APP_DELEGATE_H_
#include "CCApplication.h"
/**
@brief The cocos2d Application.
The reason for implement as private inheritan... | [
"vivek2061990@gmail.com"
] | vivek2061990@gmail.com |
74ef87a3452255faaf4d35f1892caca83d3b2a64 | c78023bb0d524f172e54ded23fa595861346531d | /BaseLib/IO/readStringListFromFile.h | bae90672e4775740e0a554101a3e9832ee9fc45e | [
"BSD-2-Clause",
"BSD-3-Clause"
] | permissive | TH2M-NGH-group-zju/ogs | 2f0d7fe050d9d65c27bd37b08cd32bb247ba292f | 074c5129680e87516477708b081afe79facabe87 | refs/heads/master | 2023-02-06T16:56:28.454514 | 2020-12-24T13:13:01 | 2020-12-24T13:13:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 541 | h | /**
* \file
* \copyright
* Copyright (c) 2012-2020, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/license
*/
#pragma once
#include <string>
#include <ve... | [
"karsten.rink@ufz.de"
] | karsten.rink@ufz.de |
e471819eb1ac88eada587997f83191f4519fec47 | 488f41de2b5fce4081c87feb547ef853ea69a5f6 | /materials/2019-2020/11a/2019-11-28-inheritance-2/worse/weapon.cc | 091a6dbb02a562531c37c466e5ac7845251c1179 | [] | no_license | elsys/oop | 5c17e8f2c72aba775f4d895499782b6cad5816d1 | a5be4adb767cdde7d9f904024880382509f53498 | refs/heads/master | 2023-06-14T06:21:30.570095 | 2023-06-05T19:04:14 | 2023-06-05T19:04:14 | 211,560,844 | 11 | 32 | null | 2023-02-22T09:24:13 | 2019-09-28T20:57:51 | PostScript | UTF-8 | C++ | false | false | 143 | cc | #include "./weapon.hh"
Weapon::Weapon(int damage) : damage(damage) {};
void Weapon::attack(Character& target) {
target.health -= damage;
}
| [
"mario.ben@mail.bg"
] | mario.ben@mail.bg |
ef73d48f98aaa8e08c953e25b027437f2631333f | f7a2aa9d933466c25177a1abe06cc25a0650d9dd | /voice/main.cpp | 907c4a2a363d79ebf492269de324136e3a579c51 | [
"MIT"
] | permissive | CyberMor/sampvoice | b6f055dc32c975faef95a1eca31e60e6ea0120b2 | 11988682bf46a6ebdff8eab2810385610f221a21 | refs/heads/master | 2023-07-26T15:16:11.941105 | 2023-07-18T11:17:21 | 2023-07-18T11:17:21 | 165,523,561 | 139 | 105 | MIT | 2023-07-16T06:59:55 | 2019-01-13T15:47:46 | C++ | UTF-8 | C++ | false | false | 21,442 | cpp | /*
This is a SampVoice project file
Developer: CyberMor <cyber.mor.2020@gmail.com>
See more here https://github.com/CyberMor/sampvoice
Copyright (c) Daniel (CyberMor) 2020 All rights reserved
*/
#include <system/types.hpp>
#include <memory/structures/array.hpp>
#include <memory/structures/bitset.hpp>... | [
"cyber.mor.2020@gmail.com"
] | cyber.mor.2020@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.