blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
12dc6f36ec187324f948de27e92587738fb0ede2 | 69fe376f63cf4347bbda41d69c2d2964e53188d5 | /Common/Dundas/UG6MFC/Examples/BasicMDI/Ex2Doc.cpp | 70d4208da940fed9d40f3621dbaba5aae80c7c47 | [
"Apache-2.0"
] | permissive | radtek/IMClassic | d71875ecb7fcff65383fe56c8512d060ca09c099 | 419721dacda467f796842c1a43a3bb90467f82fc | refs/heads/master | 2020-05-29T14:05:56.423961 | 2018-01-06T14:43:17 | 2018-01-06T14:43:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,682 | cpp | // Ex2Doc.cpp : implementation of the CEx2Doc class
//
#include "stdafx.h"
#include "Ex2.h"
#include "Ex2Doc.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CEx2Doc
I... | [
"robert.raboud@outlook.com"
] | robert.raboud@outlook.com |
b381654c8399f4b8583d6ac8c3d3d5410559ed57 | b070047ea6d1168eb8f9e3fd892f389c3f674ff9 | /tools/Encriptador.cpp | 81e66adb4e11cf3c334b8c709b403f2f3a595ef8 | [] | no_license | CE-02FED/HARFS | 834771763db773003e86bd4c8c0f319b280390bb | 6b685ef7f6cbcffa5feb162136ad8f29177eceab | refs/heads/master | 2020-04-06T04:22:24.392931 | 2015-06-21T14:36:40 | 2015-06-21T14:36:40 | 37,702,856 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,880 | cpp | /*
* Encriptador.cpp
*
* Created on: 05/06/2015
* Author: javier
*/
#include "Encriptador.h"
Encriptador::Encriptador(){
}
char* Encriptador::encriptar(char* cadena, char* llave, int encriptar){
char alfabetoB[100];
char alfabetoC[100];
char alfabeto[2][100];
char strModificado[100];
int alf2, pos;
s... | [
"netou18@gmail.com"
] | netou18@gmail.com |
998bb78f57b17c7ed114eae55b5815342d974097 | 695bd1cdc8ce8525f21d40979e62a15120a46df3 | /node_modules/react-native-windows/Microsoft.ReactNative/QuirkSettings.cpp | 10725da77f265928989b7841d73b90b88c39936e | [
"MIT"
] | permissive | touseefx2/bidSystem | a6d5ce5283713f035475e96307fad133ed32995b | 2edfc733648817605a801bbc3d4de502d741cedd | refs/heads/main | 2023-08-28T22:10:55.052161 | 2021-11-10T09:25:05 | 2021-11-10T09:25:05 | 376,611,715 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,797 | cpp | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#include "pch.h"
#include "QuirkSettings.h"
#include "QuirkSettings.g.cpp"
#include "QuirkSettings.h"
#include "ReactPropertyBag.h"
namespace winrt::Microsoft::ReactNative::implementation {
QuirkSettings::QuirkSettings() noexcept... | [
"x2app123@gmail.com"
] | x2app123@gmail.com |
e9b5e462d66622ab3e2afeb712e7df526c55effd | 5d70c5a5f6016b16fa9d020f229f1dd870fbe0ab | /Domaci2/Sastojak.hpp | bf855361c4209a72d222b9a5d14e01a015a8fe17 | [] | no_license | KomnenA/Cpp-vezbe | ec9b60531d1c5d36c63e6a8f9acb605a610ea721 | e4d185f9bc66123e3a56a0fb81f22e4170a8aed1 | refs/heads/main | 2023-08-17T05:44:20.941986 | 2021-09-27T21:45:02 | 2021-09-27T21:45:02 | 411,051,980 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 540 | hpp | #ifndef Sastojak_hpp
#define Sastojak_hpp
#include "Namirnica.hpp"
class Sastojak{
Namirnica namirnica;
int kolicina;
public:
Sastojak(Namirnica n, int k):namirnica(n), kolicina(k) {}
Namirnica dohvNamirnicu() const {
return namirnica;
}
int dohvKolicinu() const {
... | [
"saramilanovic@gmail.com"
] | saramilanovic@gmail.com |
0810e227b3b934ad35adcb4bfd200731c475b4d1 | 90047daeb462598a924d76ddf4288e832e86417c | /chrome/browser/safe_browsing/ui_manager.h | 7ac91d41a3ccfc0140b901b76a627cfeaa0370eb | [
"BSD-3-Clause"
] | permissive | massbrowser/android | 99b8c21fa4552a13c06bbedd0f9c88dd4a4ad080 | a9c4371682c9443d6e1d66005d4db61a24a9617c | refs/heads/master | 2022-11-04T21:15:50.656802 | 2017-06-08T12:31:39 | 2017-06-08T12:31:39 | 93,747,579 | 2 | 2 | BSD-3-Clause | 2022-10-31T10:34:25 | 2017-06-08T12:36:07 | null | UTF-8 | C++ | false | false | 4,653 | h | // Copyright (c) 2012 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.
//
// The Safe Browsing service is responsible for downloading anti-phishing and
// anti-malware tables and checking urls against them.
#ifndef CHROME... | [
"xElvis89x@gmail.com"
] | xElvis89x@gmail.com |
502f4f2aa377a979f89b2edb7c18a73259dfa582 | 63b15515c81558e856ed47e2b30325d33274962e | /Mesh/pzgnode.h | b1873b74ff42ae55834742fd5d00eeed00cd252a | [] | no_license | diogocecilio/neopz-master | eb14d4b6087e9655763440934d67b419f781d1a0 | 7fb9346f00afa883ccf4d07e3ac0af466dfadce1 | refs/heads/master | 2022-04-04T21:44:17.897614 | 2019-10-25T20:34:47 | 2019-10-25T20:34:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,992 | h | /**
* @file
* @brief Contains declaration of TPZGeoNode class which defines a geometrical node.
*/
#ifndef TPZGEONODEH
#define TPZGEONODEH
#include <iostream>
#include "pzreal.h"
#include "pzerror.h"
#include "pzsave.h"
#include "pzstream.h"
#include "pzmeshid.h"
template<class T>
class TPZVec;
class TPZGeoMe... | [
"cecilio.diogo@gmail.com"
] | cecilio.diogo@gmail.com |
b58e560ac280e510dac2c1f2227655c70b10efd0 | 4473a00e8797ce5a49015cf1ecddab70b7084617 | /MyFramework/SourceWP8/SoundPlayer.h | 480dd77fe056727925b6616c86a59c2d297efa77 | [] | no_license | JimmyLord/MyFramework | 6b637785de004f7498b14d37fa7c7a9b22fd7ea6 | b89a536d163c67b1465acf5551aa8df5883eb120 | refs/heads/master | 2023-02-21T02:28:44.291022 | 2023-02-13T14:12:34 | 2023-02-13T14:12:34 | 26,068,578 | 4 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,108 | h | //
// Copyright (c) 2012-2014 Jimmy Lord http://www.flatheadgames.com
//
// 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 granted to anyone to use this software for an... | [
"jimmylord@gmail.com"
] | jimmylord@gmail.com |
946c98bbe58b7a290490dd3cddbd1b15360e319c | 450ec946556a0c259a5d1fcefe92152f0782f8bd | /字符串编辑距离.cpp | 6b058c3eb18fe5ba5821b3bec8aec6cce708c5a7 | [] | no_license | researchinging/introduction-of-algorithms--code-1-26- | af0a22f49815cff58ee2e8edd0f57af63dff4a4b | 93953c4a70032646c44247c8790b38ecff897890 | refs/heads/master | 2021-01-21T04:50:47.203444 | 2016-06-30T09:12:05 | 2016-06-30T09:12:05 | 54,028,205 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,036 | cpp | #include<string>
#include<iostream>
using namespace std;
int minValue(int a, int b, int c)
{
int t = a <= b ? a:b;
return t <= c ? t:c;
}
int calculateStringDistance(string strA, string strB)
{
int lenA = (int)strA.length()+1;
int lenB = (int)strB.length()+1;
int **c = new in... | [
"jiabinxu_dx@163.com"
] | jiabinxu_dx@163.com |
9e6c096b8ce6e0e855de891b69aa00aede2d9b78 | 517d461257edd1d6b239200b931c6c001b99f6da | /Arduino/UNO/Solar_Panel_Datalogger/Solar_Panel_Datalogger.ino | 6e6ce8cad8de5b0944f936b626a2a01420235004 | [] | no_license | cmontalvo251/Microcontrollers | 7911e173badff93fc29e52fbdce287aab1314608 | 09ff976f2ee042b9182fb5a732978225561d151a | refs/heads/master | 2023-06-23T16:35:51.940859 | 2023-06-16T19:29:30 | 2023-06-16T19:29:30 | 229,314,291 | 5 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,207 | ino | /*
Blink
Turns on an LED on for one second, then off for one second, repeatedly.
Most Arduinos have an on-board LED you can control. On the UNO, MEGA and ZERO
it is attached to digital pin 13, on MKR1000 on pin 6. LED_BUILTIN is set to
the correct LED pin independent of which board is used.
If you want to... | [
"cmontalvo251@gmail.com"
] | cmontalvo251@gmail.com |
29a6406af8613cbecd7f38da0c00ee0af1450884 | 986959b15d763745518085bdb5106daeb4e0b41d | /Volume - 1 (100 - 129)/125 - Hostel Meal (II).cpp | 1d49aa1bc3ca2cdacfa287198e08df54b07b1f85 | [] | no_license | Md-Sabbir-Ahmed/Outsbook | a19d314b481d5f2e57478c98b0fe50d08781310c | e3b2c54517de3badff96f96d99d1592db7286513 | refs/heads/master | 2022-11-07T06:43:37.955730 | 2020-06-26T20:32:03 | 2020-06-26T20:32:03 | 267,264,610 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 233 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
ios_base::sync_with_stdio(0);
cin.tie(0);
int s1,s2,d1,d2,ans;
cin>>s1>>d1>>d2>>s2;
ans=((s1*(d1-d2))/(s1+s2));
cout<<ans<<" days";
return 0;
}
| [
"sabbir106706@gmail.com"
] | sabbir106706@gmail.com |
538e29311ec5b698a81eb80f14c5b3f31ec58522 | c7c7db4972405035a246f576dfcc214a6cb65120 | /Cpp/226.翻转二叉树.cpp | 79728673439588a194f8b08a81c88914f0c765e4 | [] | no_license | kwdx/LeetCode-Practise | 9bc9a06c8f74f14ca03723f45b26b737d7345682 | f10b42a7568136d592398e31d264b83bad8da9ee | refs/heads/master | 2023-02-22T13:29:40.569907 | 2023-02-21T14:31:48 | 2023-02-21T14:31:48 | 224,830,532 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,349 | cpp | /*
* @lc app=leetcode.cn id=226 lang=cpp
*
* [226] 翻转二叉树
*/
#include <iostream>
#include <queue>
#include "TreeNode.h"
using namespace std;
// @lc code=start
/**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode() : val(0), l... | [
"wenduo_mail@163.com"
] | wenduo_mail@163.com |
7f3700172a3b89e78927a051146f3ccb58545a40 | 7348b3da42bef923bad88dbad21cf182f8387d11 | /AppendixI/indfile.h | 62620f9ec02b7c7ae3cbd41568017cef69c0b81c | [] | no_license | Kim-YeongJin/appendix | f4129e6f3d7314b5f3194768ae71f7750c533c0c | 009826e97c93676733e9c57dc4277e9d83cbb4f4 | refs/heads/master | 2022-11-06T05:31:59.413507 | 2020-06-21T04:56:33 | 2020-06-21T04:56:33 | 273,836,965 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,748 | h | #include "recfile.h"
#include "tindbuff.h"
#include <strstrea.h>
#include <string.h>
// template class to support direct read and write of records
// The template parameter RecType must support the following
// int Pack (BufferType &); pack record into buffer
// int Unpack (BufferType &); unpack record from buff... | [
"YJK@MacBook-Air.local"
] | YJK@MacBook-Air.local |
de9762717f60256ad587e491f856ebcd82ded29e | e24a366a7ac5dfb5975a468046c8626a9d56fa6d | /Obfuscator/Source/lib/Target/AMDGPU/AMDGPUCallLowering.cpp | daef37f9c21fb72a942e4c141aed761a76f1e59b | [
"NCSA",
"MIT"
] | permissive | fengjixuchui/iOS-Reverse | 01e17539bdbff7f2a783821010d3f36b5afba910 | 682a5204407131c29588dd22236babd1f8b2889d | refs/heads/master | 2021-06-26T17:25:41.993771 | 2021-02-11T10:33:32 | 2021-02-11T10:33:32 | 210,527,924 | 0 | 0 | MIT | 2021-02-11T10:33:33 | 2019-09-24T06:26:57 | null | UTF-8 | C++ | false | false | 9,232 | cpp | //===-- llvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp - Call lowering -----===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"374619540@qq.com"
] | 374619540@qq.com |
ad7af09b25f3af2b1d94d780abf52fe525b31b6c | f65dd1b6a715af6e6eaa922b0cf1834b435043eb | /polygon_fill_cg_assign/mainwindow.h | 1dec733bd32873b95c67f1bb9d03aea9aadb0419 | [] | no_license | BurhanuddinMerchant/qt-projects | 758d41e29aaa8f250305ef3733b6a00eea36511f | 612080c08c430543d8abc4e8d5ab689a02c592e8 | refs/heads/main | 2023-01-06T23:01:10.252671 | 2020-11-09T19:51:29 | 2020-11-09T19:51:29 | 311,449,058 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 881 | h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include<string>
#include<iostream>
QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
QT_END_NAMESPACE
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
MainWindow(QWidget *parent = nullptr);
~MainWindow();
private:
Ui::Main... | [
"bmerchant945@gmail.com"
] | bmerchant945@gmail.com |
9662d95b5a377e74b540cec5b8f7e3cc853bfe4c | b2b33b0ccd665d9576c42f622be1e27f6fdc8682 | /database/db1.cpp | dbbf3ff6aeebc76984cbef95e385564f7556f452 | [] | no_license | philwil/fish | 8861170578e1e863e57794d632cdc2233ff19c81 | a1d887595840cc8eb2aa9ef2206d62df11d076a5 | refs/heads/master | 2020-03-29T20:55:03.110540 | 2019-09-10T11:42:48 | 2019-09-10T11:42:48 | 150,338,570 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,952 | cpp | // A small example program using SQLite with C++
#include <iostream>
#include <sqlite3.h>
// g++ -o db1 db1.cpp -lsqlite3
using namespace std;
static int callback(void *data, int argc, char **argv, char **azColName)
{
int i;
int rnum = *(int *) data;
cout << " Row number ["<< rnum <<"]" << endl;
if(data) *(i... | [
"sysdcs@gmail.com"
] | sysdcs@gmail.com |
d0d2ef158d9d7344eff8026b2e88d66f05eec6fd | f2db3dcbcb170e19eff1ab1de9ad0b0812979f6c | /projecteuler020.cpp | d566a5577399be8274ff41cff8fdeae82c9b7add | [] | no_license | SEI-TAIL/ProjectEuler | 9a5e18f707a9128e0dfcd1c2ce379b2f34d242eb | 8a554236792ab2fb927c7c3a67ebe05dfda2df79 | refs/heads/master | 2016-09-06T00:48:06.469014 | 2013-10-02T09:36:31 | 2013-10-02T09:36:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 469 | cpp | #include <stdio.h>
int projecteuler020(void) {
int i, j, n = 100;
int sum = 0;
int digit[1000];
for (i = 0; i < 1000; i++) digit[i] = 0;
digit[0] = 1;
for (i = n; i > 0; i--) {
for (j = 0; j < 1000; j++) {
digit[j] *= i;
}
for (j = 0; j < 1000; j++) {
if (digit[j] >= 10) {
digit[j+1] += (digi... | [
"file_tree@yahoo.co.jp"
] | file_tree@yahoo.co.jp |
cfa327fdcef355114871332221cff301acb032e3 | 27e3f7528bf006126311cf9473cd85f373f6e3dd | /chrome/browser/ui/webui/settings/chromeos/device_dlc_handler.cc | d690228ce107b78a664233368db55227822f766e | [
"BSD-3-Clause"
] | permissive | yuanhui-yang/chromium | 7f1d6c17880290613fedef862f53d52237a0601b | d181eb08e0cf84f6399ef38205f86519914b8f06 | refs/heads/master | 2023-03-10T00:49:57.143282 | 2020-05-07T07:29:03 | 2020-05-07T07:29:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,970 | cc | // 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.
#include "chrome/browser/ui/webui/settings/chromeos/device_dlc_handler.h"
#include "base/bind.h"
#include "base/values.h"
namespace chromeos {
namespace ... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
645a5d8fc9a65671e7aea18695dbb7b4e02a1c3a | 657708d3c75cea716b289d094cacfac8e65674fe | /Geometry Wars/GeometryWars/Drill.cpp | f1b27f6fa4185eaf897fc04fef2cfe4df286c8d3 | [] | no_license | catalinusurelu/Computer-Graphics-Assignments | 2020c2973d19b60c2d423429442586743897337c | 4dd2927cf2be0098d8898a25165d0cb654263c82 | refs/heads/master | 2021-01-20T12:04:18.237800 | 2014-10-27T20:30:12 | 2014-10-27T20:30:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,514 | cpp | #include "Drill.h"
#include "Framework/Transform2D.h"
Drill::Drill(float shield_radius, Direction dir, Point2D center, Color color)
: Polygon2D(color, true)
{
Point2D normalToBaseOfDrill = Point2D(dir.x * shield_radius * 1.3, dir.y * shield_radius * 1.3);
Transform2D::loadIdentityMatrix();
... | [
"catalin.usurelu5@gmail.com"
] | catalin.usurelu5@gmail.com |
04e3d39ad4b35b6bb4608af7c25e54de99fc8941 | c6389f9b11fd40ee9295f4e88a14a8057e294e4f | /components/aws_iot/aws-iot-device-sdk-embedded-C/tests/unit/src/aws_iot_tests_unit_jobs.cpp | 502fea245bc056e47c6a412ad28e404972815538 | [
"MIT",
"Apache-2.0",
"curl",
"EPL-1.0",
"BSD-3-Clause"
] | permissive | ghsecuritylab/N14 | 987ebb27cfbd7ebf84deadeb09a480aa51be34c7 | 76bc595e3face0903436e48165f31724e4d4532a | refs/heads/master | 2021-02-28T19:46:09.834253 | 2019-11-19T14:36:58 | 2019-11-19T14:36:58 | 245,728,464 | 0 | 0 | MIT | 2020-03-08T00:40:31 | 2020-03-08T00:40:30 | null | UTF-8 | C++ | false | false | 2,478 | cpp | /*
* Copyright 2015-2018 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 "licen... | [
"qitas@qitas.cn"
] | qitas@qitas.cn |
5da3712dea3a736c141abfa3d539d7a335c6c3a4 | 59a61d2d80eb7611eb7e82fa1b1829d236ae8767 | /source/reads/Purity.hh | dae3918a1ad2ca03b3f8ef1f4a83b662dabd552c | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0",
"BSD-3-Clause",
"BSL-1.0",
"BSD-2-Clause",
"MIT"
] | permissive | mfbennett/ExpansionHunterDenovo | c59fdabf06e39df247561d0eaafc37fc18574008 | abf1cc78535f572ec49d38a65f6e84f4104fae2a | refs/heads/master | 2021-01-02T20:01:48.974513 | 2020-02-11T05:36:20 | 2020-02-11T05:36:20 | 239,778,191 | 1 | 0 | NOASSERTION | 2020-02-11T14:12:32 | 2020-02-11T14:12:31 | null | UTF-8 | C++ | false | false | 1,738 | hh | //
// ExpansionHunter Denovo
// Copyright 2016-2019 Illumina, Inc.
// All rights reserved.
//
// Author: Egor Dolzhenko <edolzhenko@illumina.com>,
// Michael Eberle <meberle@illumina.com>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with... | [
"egor.dolzhenko@gmail.com"
] | egor.dolzhenko@gmail.com |
61bcdf7fe193d887220ee739223a62af4075c89e | a71804374c9199926542fd7cf69331a417680e2b | /test/test_assert.cpp | 2636fe477f9c3a6f481ee76d6f46e9b0436a507e | [
"Zlib"
] | permissive | wc-duck/dbgtools | 7a8223b3be56b141baaafabbe2157d156b2389a7 | 37a22c474b74591a3a56aeb4508395d930150f42 | refs/heads/master | 2022-01-24T03:49:53.340477 | 2022-01-02T07:44:48 | 2022-01-02T07:44:48 | 14,181,504 | 211 | 12 | NOASSERTION | 2020-12-13T06:00:25 | 2013-11-06T18:25:18 | C++ | UTF-8 | C++ | false | false | 1,305 | cpp | #include <dbgtools/assert.h>
#include <stdio.h>
assert_action assert_callback( const char* cond, const char* msg, const char* file, unsigned int line, void* /*user_data*/ )
{
printf("assert fail at: %s( %u ): %s -> \"%s\"\n", file, line, cond, msg);
// ... skip all asserts ...
return ASSERT_ACTION_NONE;
}
int ma... | [
"Fredrik.Kihlander@gmail.com"
] | Fredrik.Kihlander@gmail.com |
a782685d93673ed5d7b7c22f2a4019efe7f3529c | 5e11a1fc9f0f25650bab60bd19428fc96ac4869b | /20170809/morning/string.cc | 1c4a6c321a7663a5f94ddde013b73bd561368d9b | [] | no_license | colinhp/WangdaoCPP | eb0e98b9b53ac87dca97cea26675218704f7a485 | d787fefcf87508d629927e7573f90eb71118ac12 | refs/heads/master | 2021-12-15T11:21:04.701947 | 2017-08-18T01:39:43 | 2017-08-18T01:39:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,228 | cc | #include <cstring>
#include <iostream>
#include <vector>
using std::cin;
using std::cout;
using std::endl;
using std::vector;
class String
{
public:
String()
:_pstr(new char[1])
{}
String(const char * pstr)
:_pstr(new char[strlen(pstr) + 1]())
{
cout<<"String(const char *)"<<endl;
strcpy(_pstr,pstr);
}... | [
"446002445@qq.com"
] | 446002445@qq.com |
3a0067160d56226ccf24a27d04838107dffc10c2 | d0c44dd3da2ef8c0ff835982a437946cbf4d2940 | /cmake-build-debug/programs_tiling/function14583/function14583_schedule_8/function14583_schedule_8.cpp | 9eb1a3eb714e65755e9201eecb402c44f8ad7ebd | [] | no_license | IsraMekki/tiramisu_code_generator | 8b3f1d63cff62ba9f5242c019058d5a3119184a3 | 5a259d8e244af452e5301126683fa4320c2047a3 | refs/heads/master | 2020-04-29T17:27:57.987172 | 2019-04-23T16:50:32 | 2019-04-23T16:50:32 | 176,297,755 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 837 | cpp | #include <tiramisu/tiramisu.h>
using namespace tiramisu;
int main(int argc, char **argv){
tiramisu::init("function14583_schedule_8");
constant c0("c0", 256), c1("c1", 1024), c2("c2", 128);
var i0("i0", 0, c0), i1("i1", 0, c1), i2("i2", 0, c2), i01("i01"), i02("i02"), i03("i03"), i04("i04");
input i... | [
"ei_mekki@esi.dz"
] | ei_mekki@esi.dz |
abed92a9057dc12d1509f32ec8564f74577b1338 | 01a42b69633daf62a2eb3bb70c5b1b6e2639aa5f | /SCUM_MilitaryPants_02_functions.cpp | dd47d158d7b4cc620644b4ff49c3e6ae0c819391 | [] | no_license | Kehczar/scum_sdk | 45db80e46dac736cc7370912ed671fa77fcb95cf | 8d1770b44321a9d0b277e4029551f39b11f15111 | refs/heads/master | 2022-07-25T10:06:20.892750 | 2020-05-21T11:45:36 | 2020-05-21T11:45:36 | 265,826,541 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,148 | cpp | // Scum 3.79.22573 (UE 4.24)
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "../SDK.hpp"
namespace Classes
{
//---------------------------------------------------------------------------
//Functions
//---------------------------------------------------------------------------
// Function ConZ.ClothesItem.... | [
"65712402+Kehczar@users.noreply.github.com"
] | 65712402+Kehczar@users.noreply.github.com |
a89af165b372ca5e0b9dd16ed8d7d073567325ea | 81cf26cf88bf6dec063b01df6be324f70f7bb229 | /KernelIPC/Sources/XWinFileSystemNotification.cpp | 56073a0138b93cd45a5a2927c5557b88c8d89e47 | [] | no_license | jpupier/core-XToolbox | 5de03cf2c1ac7dbac7ac0c0669653144b5827957 | 417bdcdc434dcf4927b5460ca0fb995ea394e31f | refs/heads/master | 2020-12-25T02:01:29.237468 | 2012-12-04T14:22:42 | 2012-12-04T14:22:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,975 | cpp | /*
* This file is part of Wakanda software, licensed by 4D under
* (i) the GNU General Public License version 3 (GNU GPL v3), or
* (ii) the Affero General Public License version 3 (AGPL v3) or
* (iii) a commercial license.
* This file remains the exclusive property of 4D and/or its licensors
* and is protected by na... | [
"stephane.hamel@4d.com"
] | stephane.hamel@4d.com |
2ce7272147cf9df0111c59d6501433ebf73b5991 | 6f7992c1addf63942fff45e0bbca62c6e30e509e | /microFun_DX/d3dUtil.h | 2a9b9c4b61a7f9e88357ab51349a6ba1aa5675dc | [] | no_license | scorri/microFun | b7ba7239d9f8ad707981926f353b250cb704a266 | 59b9a570e522247b5dc9299fdf84e6c2fa8728c4 | refs/heads/master | 2020-05-17T14:09:22.279031 | 2014-09-17T14:33:03 | 2014-09-17T14:33:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,085 | h | //=======================================================================================
// d3dUtil.h by Frank Luna (C) 2008 All Rights Reserved.
//=======================================================================================
#ifndef D3DUTIL_H
#define D3DUTIL_H
// Let VC++ know we are compiling for WinXP a... | [
"1101304@live.abertay.ac.uk"
] | 1101304@live.abertay.ac.uk |
fe70436c67c6995675d10935ff96e81484789d75 | bdce2ae89098c3449aab161a746873f230728dc9 | /sketch_jan6a.ino | 9924076b188ec4e9bfc7d09a9394365b37b47838 | [] | no_license | meghang-101/Raybotz | 5fcb08f6efbb44bb7f4a01b24df89840b263b330 | 3018a6bb6256f7ee76dced590f895c30381ec9c3 | refs/heads/main | 2023-02-18T15:21:38.210337 | 2021-01-06T22:28:19 | 2021-01-06T22:28:19 | 327,443,312 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,593 | ino | #define sensor0Pin 13 //middle sensor
#define sensor1Pin 12 //right first sensor
#define sensor2Pin 8 //right second sensor
#define sensor_1Pin 7 //left first sensor
#define sensor_2Pin 4 //left second sensor
#define ENA 11 //PWM signal for Left Motor
#define ENB 10 //PWM signal for Right Motor
#define IN1 9 /... | [
"noreply@github.com"
] | noreply@github.com |
5dae32bbe07d8bc5eb023f79d36aaeee149b944d | da65b28e8882ee72af2b74fddde87f3ad93cab7c | /QuikBrew2_Mega/QuikBrew2_Mega.ino | 58ad20ad022323b356221907675af8a8deca6e30 | [] | no_license | codeBearing/Brewing-Automation | 77d0c392b3f8afa04d8ffd83e21b29d10ce2a78a | a33ca398a59b83496e7f79d34b19b0b470742f03 | refs/heads/master | 2021-01-10T01:09:46.100315 | 2015-08-13T01:17:30 | 2015-08-13T01:17:30 | 40,574,901 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,084 | ino | /* QuikBrew V2.0 MEGA
Author: Matt Boykin
Date: 7-5-2015
File: QuikBrew2_Mega.ino
This is a semi-automated home brewery with
1 transfer pump
1 immersion chiller pump
4 thermocouples
1 LCD Display 4x20
2 Buttons
3 LEDs
SD Card Recipe Loading
States and Phases:
0 - Powerup
... | [
"mrboy7556@gmail.com"
] | mrboy7556@gmail.com |
5222deab069e537bc04f3b21102d497489ec822f | b6eb0308eeed42ef7c6e131889da696e06642e91 | /VirtualPLC/ProcessorConfig.h | 1033d02fcbf82bddb651d13dfa8419fcd93e4752 | [
"MIT"
] | permissive | Strongc/PLCsimulator | a3024da7503b91c7b268f517bba66d5455a7dc00 | 494cd0f4b1758af56b1a967c1668448858d9e1f7 | refs/heads/master | 2021-01-15T13:42:54.050891 | 2015-08-23T19:11:33 | 2015-08-23T19:11:33 | 49,043,389 | 0 | 1 | null | 2016-01-05T05:08:34 | 2016-01-05T05:08:33 | null | UTF-8 | C++ | false | false | 1,346 | h | #ifndef PROCESSORCONFIG_H
#define PROCESSORCONFIG_H
#include <cstdint>
#include <map>
#include <string>
/// Contains the mapping of symbolic instruction names to
/// the corresponding instruction code.
class ProcessorConfig
{
public:
/// Maximal number of instructions
static const int32_t MAX_INSTRUCTIONS = 128;
... | [
"jos.onokiewicz@han.nl"
] | jos.onokiewicz@han.nl |
850690b695ac223522c013bac384d544d6950f94 | 9f41c4dfd40c6edb7efb1b213aa8c00b8849531a | /lib/adns_2610.h | b22e299f5c38babe4f9aabd1e105bde1fc3ee4d1 | [
"MIT"
] | permissive | BioBoost/adns2610 | 380d8e9dac4f923d644948a5e823245ed674b876 | df47dca285944804d7b29649b8465a0880ef8b8e | refs/heads/master | 2020-04-21T22:06:52.738974 | 2019-02-09T21:43:28 | 2019-02-09T21:43:28 | 169,899,813 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 799 | h | #pragma once
#include "mbed.h"
class ADNS2610 {
private:
enum Register {
CONFIG = 0x00,
STATUS = 0x01,
PIXEL_DATA = 0x08
};
const static uint8_t NO_SLEEP_MASK = 0x01;
const static uint8_t PID_MASK = 0xE0;
const static uint8_t REQ_PIXEL_DATA = 0x2A;
public:
const static... | [
"nico.dewitte@outlook.com"
] | nico.dewitte@outlook.com |
34c515d6ffc8cb9c82cc7a1c946ef1ef47821bba | 5cc19dfb292136de78c4cdc2b1e620bb189a3e99 | /src/data/blocks/meta/options.h | 58e9bb0652fcf434acc64e5b0796a4f7d01b6e88 | [
"BSD-3-Clause"
] | permissive | chisa0a/tini2p | 4334c50ff672c6d3331082966566ce765480e322 | a9b6cb48dbbc8d667b081a95c720f0ff2a0f84f5 | refs/heads/master | 2020-05-01T03:36:55.840744 | 2019-03-22T22:11:55 | 2019-03-23T03:03:02 | 177,249,241 | 1 | 0 | BSD-3-Clause | 2019-03-23T05:42:13 | 2019-03-23T05:42:12 | null | UTF-8 | C++ | false | false | 1,809 | h | /* Copyright (c) 2019, tini2p
* 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 conditions and th... | [
"tini2p@i2pmail.org"
] | tini2p@i2pmail.org |
588dedfafca104bd88465eec874002e4ccca1a33 | c8c40f9bf9ea629c215abcc56fd47f4dbb1a7f9e | /src/SQL/SQLStatement.cpp | 01eefb62b558d33a0be9b41ea8dea1c5d08897cd | [] | no_license | davidvanlaatum/dbtableusagecpp | b1aca41ea6401732a2933883a3d90cac6f441ade | 96338a1580a012afc69bac9153cccdd56dafe97c | refs/heads/master | 2021-01-18T15:27:24.403973 | 2017-04-10T04:04:29 | 2017-04-10T04:04:29 | 86,654,630 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 119 | cpp | //
// Created by David van Laatum on 26/3/17.
//
#include "SQLStatement.h"
SQL::SQLStatement::~SQLStatement () {
}
| [
"david@vanlaatum.id.au"
] | david@vanlaatum.id.au |
a106c47eb1ee3d21b92338db77c03867868ddb13 | 302651046ff8187fd4b7973bbf6271e9c1ad78a2 | /BasicEngine/src/Managers/Input.cpp | c1806f5985b72a322aec057eebe9d386eca2f819 | [] | no_license | sairaj211/BasicEngine | a101a84c414f7e76a8fcfe6ed5465ac59e2fee81 | c4a208e195a2bd23cdc564d8024179907e718411 | refs/heads/master | 2020-04-18T14:05:54.989903 | 2019-01-25T16:50:16 | 2019-01-25T16:50:16 | 167,580,211 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,891 | cpp | /*
-------------------------------------------------------
Copyright (C) 2018 DigiPen Institute of Technology.Reproduction or disclosure of this file
or its contents without the prior written consent of DigiPen Institute of Technology is prohibited.
File Name: Input.cpp (InputManager)
Purpose: Input
Language... | [
"noreply@github.com"
] | noreply@github.com |
fc1f78fa3485cf9ff8d2ebbe8fd391e19f4aa353 | 7b517600af134d96ccaee14ff06ef5ac92cd862f | /Decorator/Beverage/Espresso.hpp | 35b23f033981ba7a17e8dbf2143e1386e5399156 | [] | no_license | darennet/HFDesignPatterns | fbdfaa54ecf925b89c53a8cbd381d00c0187f365 | 6950cbc142ea764bd166f06c27c75ebb52498b7b | refs/heads/master | 2022-01-09T18:00:41.897905 | 2018-11-29T19:06:25 | 2018-11-29T19:06:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 413 | hpp | #ifndef BEVERAGE_ESPRESSO_HPP
#define BEVERAGE_ESPRESSO_HPP
#include "Beverage.hpp"
namespace HFDesignPatterns {
namespace Decorator {
namespace Beverage {
class Espresso : public Beverage {
public:
Espresso()
:Beverage("Espresso Coffee") { }
double cost() const override
{
return 1.99;
... | [
"zfindak@gmail.com"
] | zfindak@gmail.com |
00198414757a2de5dd71913a23faa5ea544c668b | 39257ebc0d002d170e89b4ebec421b7e4cd93f4e | /ui_mainwindow.h | 503d5727b044447529e14580585452447027553c | [] | no_license | teem070/Project | dd594ff3440d2e4971a29d6c40a6cd6aecd95329 | 33d934fdc0ba4a2461670b5426b55c7caeccbce5 | refs/heads/master | 2019-01-02T04:20:06.520439 | 2014-08-31T21:16:12 | 2014-08-31T21:16:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,192 | h | /********************************************************************************
** Form generated from reading UI file 'mainwindow.ui'
**
** Created by: Qt User Interface Compiler version 5.3.1
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
**********************************... | [
"tema070@mail.ru"
] | tema070@mail.ru |
091c88cebff50197b591a7b1fadff59a84ea1f60 | 2acf1726fe9dad120f2e3afa6d5e3287634deef2 | /2020_july_challenge/drgnden.cpp | 8a983fca2aaac81bcb8ac7d2015f002fe01299d9 | [] | no_license | kritikabherviya123/codechef-code | 312aec8378c2023aa5474ad295b8b7693f6d02eb | cce2b32a4d304091f328976987cea8c3cd79b8e3 | refs/heads/master | 2021-07-13T05:36:21.089682 | 2020-10-14T06:53:20 | 2020-10-14T06:53:20 | 214,181,010 | 1 | 8 | null | 2020-10-14T06:53:21 | 2019-10-10T12:46:41 | C++ | UTF-8 | C++ | false | false | 1,033 | cpp | // Letz see
#include <bits/stdc++.h>
#define ll long long
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
ll i, j, n, q, b, c, type, taste;
cin >> n >> q;
vector <ll> h(n+1), a(n+1);
for(i=1; i<=n; ++i)
cin >> h[i];
for(i=1; i<=n... | [
"noreply@github.com"
] | noreply@github.com |
b40cca0b1ed31cbc8b6f7692c6b19bf5005c1280 | 0f01f2eaed098aa1ecd5199c375c16391ec15ae7 | /src/EnemyCannonballAI.cpp | 61f0bb8e15fa7438cff14261becdaa1777614ffe | [] | no_license | humblebumble90/Team-Contradiction | 2ab570741e48351cea72fe97356c9fdf07616ae5 | 5554a98ee85f23fbdadf48917c250a5cb8e0cdf3 | refs/heads/master | 2020-12-20T23:47:48.396704 | 2020-04-14T22:36:08 | 2020-04-14T22:36:08 | 236,242,342 | 1 | 0 | null | 2020-04-14T00:48:07 | 2020-01-25T23:09:17 | C | UTF-8 | C++ | false | false | 741 | cpp | #include "EnemyCannonballAI.h"
#include "IndesBody.h"
EnemyCannonballAI::EnemyCannonballAI(glm::vec2 transform, glm::vec2 trajectory)
{
std::vector<ShipComponent> build = { IndesBody(true) };
parent = new Enemy(new Frame(25, //Enemy is 25px by 25px
build, 1, 1), 1, this, transform, "EnemyCannonball");
speed.x = 8... | [
"jbromber@my.centennialcollege.ca"
] | jbromber@my.centennialcollege.ca |
c54d69e44b2165df9bc944a2e7666b07ed2aa366 | a263a7e868096bbd8d7a1ec4ddd237ec296c5be1 | /FoodReverse/FoodReverse/Scene/Result/Result.cpp | 41667ae227acf10e1437fe41dcbf2b9beab04910 | [] | no_license | hiroto1130/FoodReversi | 51e7dd87402093036f4219bf386c2e5cc005166a | d14051261ccaa724a88e9aa4b8943a6ec8d93b8b | refs/heads/master | 2023-01-09T08:08:28.768251 | 2020-10-30T09:17:11 | 2020-10-30T09:17:11 | 273,504,288 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,111 | cpp | #include "Result.h"
namespace
{
const int BACK_GROUND = 0;
const int BACK_TITLE_TEXT = 1;
const int ONCE_MORE_TEXT = 2;
const int SELECTER = 3;
const int WINNER_TEXT = 4;
}
void ResultScene::Draw()
{
texture->Draw(*textureData[BACK_GROUND]);
texture->Draw(*textureData[BACK_TITLE_TEXT]);
texture->Draw(*textur... | [
"11potato30@gmail.com"
] | 11potato30@gmail.com |
4d33dbb7a64a71583075e107cbc26abf519d2bb6 | 04b3b8cc9ea56e8b55c5a36b0d2cec66161791fa | /external_libs/source/gme2/Ay_Core.cpp | c54a73e9aae52e5ce4e3d62783c833940d4c84d0 | [
"BSD-2-Clause",
"LGPL-2.1-only"
] | permissive | SSBMTonberry/emu-jukebox | 79f73bf7d850c7055e1be69433626a653efaa925 | dde3bacdd5132ad4a4c078aacb1624a16d93c127 | refs/heads/master | 2023-01-22T14:25:51.849005 | 2023-01-08T18:31:12 | 2023-01-08T18:31:12 | 164,926,707 | 13 | 3 | BSD-2-Clause | 2023-01-08T11:23:53 | 2019-01-09T19:43:29 | C++ | UTF-8 | C++ | false | false | 4,251 | cpp | // Game_Music_Emu $vers. http://www.slack.net/~ant/
#include "Ay_Core.h"
/* Copyright (C) 2006-2009 Shay Green. This module 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; either
version 2.1 of the Licens... | [
"ssbmtonberry@gmail.com"
] | ssbmtonberry@gmail.com |
0ec8e8f572c82559b673ec735cb8b2aa7ff2e8c7 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/curl/gumtree/curl_new_hunk_163.cpp | 625517b734753cf5ec10493012c450859b5fbfdb | [] | 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 | 639 | cpp | if(-1 == (int)config->condtime) {
/* now let's see if it is a file name to get the time from instead! */
struct_stat statbuf;
if(-1 == stat(nextarg, &statbuf)) {
/* failed, remove time condition */
config->timecond = CURL_TIMECOND_NONE;
warnf(config,
... | [
"993273596@qq.com"
] | 993273596@qq.com |
4c9b63b8d214a8c202df984e52528f916266c869 | ff1b8236fd427669a198306bea4918c7d90dc418 | /include/CamDisplayWindow.h | 971cec98aac25d38ec9d799420920896a76e802d | [] | no_license | mynameisjohn/CanonCamStreamSDL | c7bb26760554396fe75e17b454646ad5aa5765ab | 7d10dd741c4d49ba608881f1bfaae258c6812c92 | refs/heads/master | 2020-12-07T20:09:07.690882 | 2016-12-23T18:13:47 | 2016-12-23T18:13:47 | 67,362,362 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,352 | h | #pragma once
#include "SDLGLWindow.h"
#include "Shader.h"
#include "GLCamera.h"
#include "Drawable.h"
#include "DownloadEvfCommand.h"
#include "StarFinder.h"
#include <mutex>
#include <opencv2/core/mat.hpp>
class CameraApp;
//class SDL_Surface;
class CamDisplayWindow : public SDLGLWindow, public DownloadEvfCommand:... | [
"mynameisjohnj@gmail.com"
] | mynameisjohnj@gmail.com |
56135d16e2cdc8adfbeb53b5724ded6efbce173e | 48f71cc36854c8e3f3ea57aba2a38646a8d63004 | /shirabeengine/shirabeengine/modules/vulkan_integration/code/include/vulkan_integration/vulkandevicecapabilities.h | 880edb6da42264e04ceefe80a95a124cdd2ce362 | [
"MIT"
] | permissive | Fraaanzi/ShirabeEngine | 10b6a5bb736432e3fd22b8d32324fd2b6b0396b2 | 39b3aa2c5173084d59b96b7f60c15207bff0ad04 | refs/heads/master | 2020-12-07T23:45:58.001712 | 2019-12-30T21:32:24 | 2019-12-30T21:32:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,846 | h | #ifndef __SHIRABE_VULKAN_DEVICECAPABILITIES_H__
#define __SHIRABE_VULKAN_DEVICECAPABILITIES_H__
#include <vulkan/vk_platform.h>
#include <vulkan/vulkan_core.h>
#include <core/basictypes.h>
#include <core/enginestatus.h>
#include <core/enginetypehelper.h>
#include <core/bitfield.h>
#include <graphicsapi/definitions.h>... | [
"boehm.marc.anton@gmail.com"
] | boehm.marc.anton@gmail.com |
1f69edd8111a3352da3978088b18efc6dba481a1 | 7412e4fcaaa800761763fbb89ca7ae28469b1e4b | /main.cpp | 25a9fbd8effe60fde153513e4d77537fab797940 | [] | no_license | Jun-Lin/OpenGL1 | 1381237daeb26cdc80a292b4df2d80c8a42f79ac | 6b7f6a8e8086b98b9921be952fc594dbbc9d07d6 | refs/heads/master | 2016-09-05T10:49:53.675587 | 2015-01-13T17:15:11 | 2015-01-13T17:15:11 | 29,195,953 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,746 | cpp | #include <iostream>
#include <SDL.h>
#include <GL/gl.h>
#include <GL/glu.h>
#include <cstdlib>
void drawTriangle();
void drawCube();
int main()
{
if(SDL_Init(SDL_INIT_VIDEO))
{
std::cerr<<"error init SDL\n";
exit(EXIT_FAILURE);
}
SDL_Rect screenSize;
SDL_GetDisplayBounds(0,&scree... | [
"junlin.harries@yahoo.com"
] | junlin.harries@yahoo.com |
7ec3f16476be8aadebb69d08531ec614023e53fc | 70ffda4f42c257369ed602dd02bb2f7457648e99 | /dev/src/package_core/Impl_SkyBox.cpp | 049bfde37ab68a7aaae0c1c080e6f9099ade9b4c | [] | no_license | johndragon/ld3d | 9591e5f88c6fd9d4deb34bf6ba231d7b8e65ff04 | 234fdeb7498a2195192ed68d4cd5d5b9b8142ece | refs/heads/master | 2021-01-22T16:38:09.963257 | 2014-03-20T10:14:02 | 2014-03-20T10:14:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,345 | cpp | #include "core_ext_pch.h"
#include "Impl_SkyBox.h"
namespace ld3d
{
Impl_SkyBox::Impl_SkyBox(GameObjectManagerPtr pManager) : SkyBox(pManager)
{
SetVersion(g_packageVersion);
}
Impl_SkyBox::~Impl_SkyBox(void)
{
}
void Impl_SkyBox::Update(float dt)
{
m_pRD->world_matrix = m_pObject->GetWorldTransform();
... | [
"lythm780522@gmail.com"
] | lythm780522@gmail.com |
cf6dfda287e6aab445c2e3ed86713428d0fcbb9e | 23f95b3af334bcb745ffe5642f7ee30928c6c5bf | /new.cpp | 923c2997a775afc00a1d0d44cd7ee966b9f908f8 | [] | no_license | nipun2003/c-code | 1dc26fb33bef74b2de9d92963b390af79cf6a0fd | cf34db3f612b8ac16f147021eaec3744e9460bc6 | refs/heads/master | 2023-03-12T01:56:53.124627 | 2021-03-05T09:15:31 | 2021-03-05T09:15:31 | 344,749,020 | 1 | 1 | null | 2021-03-05T09:15:32 | 2021-03-05T08:48:20 | C++ | UTF-8 | C++ | false | false | 958 | cpp | #include<iostream>
using namespace std;
void print24(string str)
{
// Get hours
int h1 = (int)str[1] - '0';
int h2 = (int)str[0] - '0';
int hh = (h2 * 10 + h1 % 10);
cout<<hh;
printf("\n");
// If time is in "AM"
if (str[8] == 'A')
{
if (hh == 12)
{
co... | [
"nipunvirat0@gmail.com"
] | nipunvirat0@gmail.com |
ef0c069cca137c6f9a218dedc345c879be6d0c6f | 8327c0e1b16f884b361b0c4fc4bdfd038ff92338 | /static_dispatch/static_vec_bc.cpp | 608f31bb9206a4aeab728487c21c07b69499a172 | [] | no_license | Luohaothu/cpp4fun | bd594b2117cd22156a079294ef23427f43177edf | 33dea0ea9b7281cd99e0e3d9a9d414ccde6793b2 | refs/heads/master | 2023-05-30T08:55:28.386729 | 2023-05-17T15:42:22 | 2023-05-17T15:42:22 | 217,529,494 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,680 | cpp | #include <vector>
template <typename ...>
struct Expr;
struct Field;
//struct Expr<Field>;
struct Field {
std::vector<double> vec;
Field() = default;
Field(int n) : vec(n) {}
/*template <typename E>
auto operator=(const E& e) {
auto _e = Expr<Field>(*this);
_e = e;
}*/
au... | [
"Luohaothu@users.noreply.github.com"
] | Luohaothu@users.noreply.github.com |
4d0fb01aeebef0d61ca9b464aab2d556a2f65a55 | df5d673f470d1d6b97b386ffd08a7fad16a40eb5 | /towr/src/monoped_gait_generator.cc | 7f8ddcad7b8109cc87ce52c158b2b20258029f32 | [
"BSD-3-Clause"
] | permissive | yapengshi/towr | 7f4f1903596b665440050e2ecded1ae9a4d143ab | 93477a531bea8ffdf697b1932215acdb93044abe | refs/heads/master | 2020-03-22T08:40:16.128770 | 2018-07-04T16:40:30 | 2018-07-04T16:40:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,439 | cc | /******************************************************************************
Copyright (c) 2018, Alexander W. Winkler. 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... | [
"winklera@ethz.ch"
] | winklera@ethz.ch |
17ee3f5e3651f696d28d07007a4ee48a549adad5 | cdda11b6ad9e6d2885c64903ec0988549ac92d70 | /shadow.cpp | 0a67b52b6d46f7763f6a7aba073b0a0b0516a948 | [] | no_license | DreamHoward/opengl-pacman | 317bc254d27dbf7752c14d4c0d2690dce80a0a0b | dbebedeffc2cc298120695b1758db10dc9cb8fd0 | refs/heads/master | 2020-12-07T21:30:55.526799 | 2020-01-09T12:59:02 | 2020-01-09T12:59:02 | 232,802,144 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,591 | cpp | #include "shadow.h"
#include "glm/glm/vec2.hpp"
#include "glm/glm/vec3.hpp"
//#include <GL/glew.h>
//#include <GL/glut.h>
//#include "glm/glm.h"
Shadow::Shadow(int x, int y) : Ghost(x, y)
{
Texture("../media/images/ghost1.png");
}
Shadow::~Shadow()
{
}
void Shadow::draw(int pacmanX, int pacmanY)
{
Shadow::move(p... | [
"orz168orz@gmail.com"
] | orz168orz@gmail.com |
75b9f2b9cf1678868b416be2ed12783a2ee446bc | 87a2896f868dc13f89ecbb629d897f0ffe8a57e6 | /Code/432d2.cpp | 63a6121dddd2c241f53375506d72b0b97e2a7de3 | [] | no_license | sahashoo/Daily | a20a4bce60b0903fde23bea9d5244c65a9ea3928 | c209cf800cbae850e2233a149d3cc8181b49fb5e | refs/heads/master | 2020-04-23T04:31:13.770829 | 2019-02-15T20:00:34 | 2019-02-15T20:00:34 | 170,910,172 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 492 | cpp | #include<bits/stdc++.h>
using namespace std;
const int MAXN=1e5+7;
int f[MAXN],cnt[MAXN],ans;
bool mrk[MAXN];
int32_t main(){
string s;cin>>s;
int k=0,n=s.size();
for(int i=1;i<n;i++){
while(k&&s[i]!=s[k])
k=f[k];
k+=(s[i]==s[k]);
f[i+1]=k;
}
mrk[n]=true;
for(int i=n;i>0;i--){
mrk[... | [
"noreply@github.com"
] | noreply@github.com |
274ac17a3341a301acdfa7d02c6eda82cc8fbe77 | eaf5c173ec669b26c95f7babad40306f2c7ea459 | /abc034/abc034_b.cpp | 120d860fef063612f7840296a237bdf011682027 | [] | no_license | rikuTanide/atcoder_endeavor | 657cc3ba7fbf361355376a014e3e49317fe96def | 6b5dc43474d5183d8eecb8cb13bf45087c7ed195 | refs/heads/master | 2023-02-02T11:49:06.679743 | 2020-12-21T04:51:10 | 2020-12-21T04:51:10 | 318,676,396 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,002 | cpp | #include <bits/stdc++.h>
#include <cmath>
using namespace std;
typedef long long ll;
//typedef unsigned long long ll;
#define rep(i, n) for (ll i = 0; i < (n); ++i)
//#define rep(i, n) for (int i = 0; i < (n); ++i)
#define sz(x) ll(x.size())
//typedef pair<int, int> P;
typedef pair<ll, ll> P;
//const double INF = 1e1... | [
"riku@tanide.net"
] | riku@tanide.net |
52cf8a7706d5b9478e92fd73cdffabf8befe77aa | dd80a584130ef1a0333429ba76c1cee0eb40df73 | /frameworks/av/media/libstagefright/MPEG2TSWriter.cpp | c9ed5bb4663e31806e7f5b4b3040ab87344f3c97 | [
"Apache-2.0",
"LicenseRef-scancode-unicode",
"MIT"
] | permissive | karunmatharu/Android-4.4-Pay-by-Data | 466f4e169ede13c5835424c78e8c30ce58f885c1 | fcb778e92d4aad525ef7a995660580f948d40bc9 | refs/heads/master | 2021-03-24T13:33:01.721868 | 2017-02-18T17:48:49 | 2017-02-18T17:48:49 | 81,847,777 | 0 | 2 | MIT | 2020-03-09T00:02:12 | 2017-02-13T16:47:00 | null | UTF-8 | C++ | false | false | 29,532 | cpp | /*
* Copyright (C) 2010 The Android Open Source Project
*
* 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 app... | [
"karun.matharu@gmail.com"
] | karun.matharu@gmail.com |
9990c7ffc63edd3885ee5187d43c27a568434fd5 | 48e197b8f69f2a8b3765e0993d6c66a5823f3840 | /src/timestamps.h | 2a47568d1c3acbb78b77f2713d9edb07044f23a6 | [
"MIT"
] | permissive | SorachanCoin/SorachanCoin-qt | d82bb3a2e3ba0b2c301b2ac9aa16d1f0b8b07cfe | f7acc67c633d2f4f1dddf67424986f485a280ec2 | refs/heads/master | 2022-11-21T15:10:44.261662 | 2020-07-09T09:44:05 | 2020-07-09T09:44:05 | 278,484,779 | 0 | 0 | MIT | 2020-07-09T22:35:26 | 2020-07-09T22:35:26 | null | UTF-8 | C++ | false | false | 1,351 | h | //
#ifndef BITCOIN_TIMESTAMPS_H
#define BITCOIN_TIMESTAMPS_H
#include <boost/assign/list_of.hpp>
#include <list>
#include "util.h"
namespace timestamps
{
const unsigned int GENESIS_TIME_STAMP = 1533549600; // 06-Aug-2018 10:00:00 UTC
const unsigned int TARGETS_SWITCH_TIME = 1556668800; ... | [
"42310034+FromHDDtoSSD@users.noreply.github.com"
] | 42310034+FromHDDtoSSD@users.noreply.github.com |
81e5dc3b46a8b79b1cb7b36d5627f443d0d45ce8 | 6626a38d8d777f1aa1cc1add43056116bb26433a | /UI2016/UI/UISDK/Inc/Interface/ilistctrlbase.h | 384fdcee056f01a9821c00d3491e245b32fee075 | [] | no_license | cnsuhao/dragon | 8fa65a114e4aba819e6a2c0376cbdb791157970a | 833baa77d234825abceeed33569be7b5c9d41720 | refs/heads/master | 2021-06-23T14:18:00.257518 | 2016-11-24T14:33:15 | 2016-11-24T14:33:15 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 12,565 | h | #ifndef _UI_LISTCTRLBASE_H_
#define _UI_LISTCTRLBASE_H_
#include "icontrol.h"
#include "..\Util\struct.h"
namespace UI
{
class ListCtrlBase;
interface IListItemBase;
interface ICustomListItem;
interface IScrollBarManager;
interface IListCtrlLayout;
interface IListItemShareData;
cl... | [
"leeihcy@49fff2ea-6ae5-4519-8002-a5cf5e333bda"
] | leeihcy@49fff2ea-6ae5-4519-8002-a5cf5e333bda |
414352596656d50e0887d1a30b1458c2537dbb95 | 15a66557a53d5e8c46c15c2c5f6619c1182ec979 | /GeometricWars_CPP/field/Field.cpp | fbf7b4f687bb631ac9d35a6dfaf4a284d44be876 | [] | no_license | Chottek/Game_Programming | f28af3d6c1582e99d7a34551326b4145ff55e2b0 | 44b5c966d6bc735c8d9a64709ca3ff18a37c42da | refs/heads/master | 2021-11-25T02:00:56.621524 | 2021-11-01T15:12:45 | 2021-11-01T15:12:45 | 217,316,344 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,531 | cpp | #include <sstream>
#include "Field.h"
#include "Camera.h"
#include "Player.h"
#include "Enemy.h"
#include "../utils/FontUtils.h"
#include "../utils/TextureLoader.h"
#include "../gfx/ParticleSystem.h"
#include "../utils/MathUtils.h"
#include <chrono>
TTF_Font* alien12, * alien24;
Camera* camera;
Player* player;
std::li... | [
"bm.chotkowski@gmail.com"
] | bm.chotkowski@gmail.com |
f1bce328fb60512005b4e8cfa464b7432c9e14f9 | 785fa2fa17452a39485f6ec507136e1f3afb44c6 | /exercises/6/6-3.cc | 63af0f6fc9100a559460d129f5eeacbc3cf7dc63 | [] | no_license | heyitsmine/cpp-primer-5th | 5f171c6df39c247165c86e5f5af047add0696e89 | 1be66845a0592122cae57446e648ca417d1259c4 | refs/heads/master | 2022-02-23T07:37:26.080148 | 2019-10-09T03:37:24 | 2019-10-09T03:37:24 | 195,408,755 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 232 | cc | //
// Created by hs on 2019/8/14.
//
#include <iostream>
int fact(int n)
{
if (n < 0 || n > 12)
return -1;
return n > 1 ? n * fact(n - 1) : 1;
}
int main()
{
std::cout << fact(8) << std::endl;
return 0;
}
| [
"1970323510@qq.com"
] | 1970323510@qq.com |
758bf1ab3505678f8a8a0b0e6e99b2e3d9916384 | 4ecfb09720d5252f0bb2c11a950e7f6826bf6e86 | /solved/D_Add_to_Neighbour_and_Remove.cpp | abc6ffeee1ddb3d88bdb54000d23f68ca0fd3133 | [] | no_license | varunjain4700/Competitive-Programming | 394a9c946a11f8431a572eaf556678c1660546bd | 21e537079a8d32561917c8551cd5c3e461493365 | refs/heads/master | 2023-04-27T21:43:07.931942 | 2021-05-11T22:28:38 | 2021-05-11T22:28:38 | 362,780,052 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 997 | cpp | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define rep(i,n) for(int i=0;i<n;i++)
int solve(int a[],int n,int s){
int total=0,sum=0,j=0;
for(int i=0;i<n;i++){
sum+=a[i];
if(sum>s)
return -1;
else if(sum==s){
sum=0;
total+=i-j;
... | [
"varunj4700@gmail.com"
] | varunj4700@gmail.com |
6fb920fa4eb3c5b37d282c4fc9b58e7f2d9d8f29 | 6b7f22a2b34aa49c39a0f0163e48326c1d3b6d1b | /wrapper/AssemblyInfo.cpp | 1bc556c7b98e5d24a165f171b7b72f6ae5d86f64 | [] | no_license | FrancoisThomas/PrOOjet | de4061018f05ef2d681244c03afc5a80fa8dbb69 | f9907d082348d41b7d3810e7265fc0d7f8e01785 | refs/heads/master | 2020-05-19T07:52:23.637586 | 2014-01-15T22:45:57 | 2014-01-15T22:45:57 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 1,393 | cpp | #include "stdafx.h"
using namespace System;
using namespace System::Reflection;
using namespace System::Runtime::CompilerServices;
using namespace System::Runtime::InteropServices;
using namespace System::Security::Permissions;
//
// Les informations générales relatives à un assembly dépendent de
// l'ensemble d'attr... | [
"thomas.francois1@insa-rennes.fr"
] | thomas.francois1@insa-rennes.fr |
52927853f2e91344a88e848bc1002db57d611831 | 36364f57f022766447d205d395363397830780ce | /src/prometheus/BoxCollider.h | baed0e7fce21211ed631a7d98b6f8df618e8c2f8 | [] | no_license | freyabee/prometheus-engine | a7b18f3a85b040d9c52a6924b552ad0301a1997a | 085eff4e1218965341f88957860a2465eada8b1f | refs/heads/master | 2020-08-06T00:49:41.359491 | 2020-02-27T23:05:29 | 2020-02-27T23:05:29 | 212,773,970 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,027 | h | #include "Component.h"
#include <glm/glm.hpp>
#include <string>
namespace prometheus
{
/// Class defining box collider component.
///
///
class BoxCollider : public Component
{
public:
/// Initializes box collider component.
/// Sets size and and orgin.
void OnInit();
/// Set offset transform.
/// @par... | [
"freyabrightwater@gmail.com"
] | freyabrightwater@gmail.com |
b81ea16eae0393c3253bbdc1a05b2fb95c1a1486 | 544aa8e7f940ed891ef2fcddda945086301757e7 | /.cpp | 4f0ac7c98ab2d01db454b9994733519100e140ec | [] | no_license | jasonssssshieh/Dynamic-Programming---Maximum-Sub-Square-Matrix | 96c77768d804a234183dad7db7157d38cd039d2e | 6a5cf9e2965031168432287abb8ce401e2b0373c | refs/heads/master | 2020-07-19T16:20:49.430853 | 2016-11-15T00:16:17 | 2016-11-15T00:16:17 | 73,758,939 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,145 | cpp | //
// main.cpp
// Dynamic Programming - Maximum Sub Square Matrix
//
// Created by Zijian Xie on 2016/11/14.
// Copyright © 2016年 Jason Xie. All rights reserved.
//
#include <iostream>
#include <vector>
#include <cmath>
using namespace std;
class MaxSubSqr{
private:
vector<vector<int>> nums;
public:
MaxSu... | [
"noreply@github.com"
] | noreply@github.com |
0bde33e174087dd72cb6b497d4e5a635f06fd19f | 3b6048a22cea80ccb97a8193c15d3e73812ec410 | /odm_orthophoto/src/OdmOrthoPhoto.hpp | a4503fd9db85e161645755686dfdac802f2975ed | [] | no_license | liuxinren456852/OpenDroneMap | 475556093c27cecaac3a5dadb691619bfb367cf1 | 4d2ac72a902f1415e6ef8d277e0e37645e691d3b | refs/heads/gh-pages | 2020-12-25T05:04:38.780912 | 2015-02-04T01:01:29 | 2015-02-04T01:01:29 | 30,292,360 | 1 | 0 | null | 2015-02-04T09:56:46 | 2015-02-04T09:56:45 | null | UTF-8 | C++ | false | false | 5,072 | hpp | #pragma once
// C++
#include <limits.h>
// PCL
#include <pcl/io/obj_io.h>
#include <pcl/common/transforms.h>
// OpenCV
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/highgui/highgui.hpp>
// PCL
#include <pcl/common/eigen.h>
#include <pcl/common/common.h>
// OpenCV
#include <opencv2/core/core.hpp>
// Log... | [
"svm@clevelandmetroparks.com"
] | svm@clevelandmetroparks.com |
d2a0fab98d8d2e7437103ca0595394b52c5ee9ac | da3bff7c3658537922ae4e463658fdd23ed3bc08 | /main.cpp | 47b445b044ee94236abb20b63fd21646ba54eb5f | [] | no_license | DianaTrubina/Sql-Csv-Converter | f59cb25596c1ed80542d261def42cd7e635f0fde | fd3511a54f851df1517977ed472a071a6e1c267d | refs/heads/master | 2021-09-28T02:41:13.572469 | 2017-11-20T00:42:33 | 2017-11-20T00:42:33 | 103,365,500 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 160 | cpp | #include "mainwindow.h"
int main(int argc, char* argv[])
{
QApplication app(argc, argv);
MainWindow win;
win.show();
return app.exec();
}
| [
"noreply@github.com"
] | noreply@github.com |
b3ca60b27d777a971f6ac3a921449c3e7b2523bb | d82c8e0968ac3ba3ca0e924291a737b6b953e14e | /gui/source/ConfigPage.cpp | 37f89310208eb59def56bf2cbf2344113d93fd4d | [] | no_license | Dicksonlab/MateBook | 57d90a1bd5f40793f6bdeea528d08e355cca0343 | 22142bc7ebdd7f8cb3f3da17c4bba1df04486e1b | refs/heads/master | 2021-03-27T10:44:46.961783 | 2019-06-21T16:38:31 | 2019-06-21T16:38:31 | 101,189,573 | 6 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,825 | cpp | #include <QtGui>
#include <boost/bind.hpp>
#include "ConfigPage.hpp"
#include "../../common/source/Settings.hpp"
ConfigPage::ConfigPage(Settings& trackerSettings, QWidget* parent) : QWidget(parent)
{
}
void ConfigPage::readGuiSettings(const QSettings& settings)
{
// empty implementations so that derived c... | [
"bjarthur70@gmail.com"
] | bjarthur70@gmail.com |
7486cb651142e4a3ccba2bcb737cba82cb42e126 | 81faf85d050d2293549378daf26f97c6ae48161c | /be/test/vec/aggregate_functions/agg_test.cpp | 9bf9f8f42a8f1797b56d208b240633d0542a1568 | [
"OpenSSL",
"Apache-2.0",
"PSF-2.0",
"BSD-3-Clause",
"GPL-2.0-only",
"LicenseRef-scancode-public-domain",
"bzip2-1.0.6",
"dtoa",
"MIT"
] | permissive | spaces-X/doris-vectorized | f361d899ac6eb7432785f0cade08ea27bfbff8f3 | 73ff3f3c0786c79a154e714fde56c812ac3f4f8f | refs/heads/master | 2023-09-04T23:36:30.569784 | 2021-11-17T11:21:05 | 2021-11-17T11:21:05 | 401,201,095 | 0 | 0 | Apache-2.0 | 2021-11-18T14:43:25 | 2021-08-30T03:10:00 | null | UTF-8 | C++ | false | false | 2,284 | cpp | // 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... | [
"lihaopeng@baidu.com"
] | lihaopeng@baidu.com |
9207e2235ad8d0ba1f7caab7aed653b7ccd94021 | 634af33c0f006460276f6780e42c468e51f19c1f | /libredex/MethodUtil.cpp | 053dddc4a530c8aba80b67a3ade7b0c5cb37ca68 | [
"MIT"
] | permissive | isabella232/redex | 6d884a79388b73e23ea6b4a84ab67495f8eb538e | 01109caa247da47896703e2460a62a93a425126a | refs/heads/master | 2023-04-22T19:34:46.823530 | 2021-04-15T22:37:10 | 2021-04-15T22:38:20 | 359,409,462 | 0 | 0 | MIT | 2021-04-19T09:55:28 | 2021-04-19T09:55:00 | null | UTF-8 | C++ | false | false | 3,973 | cpp | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "MethodUtil.h"
#include "ControlFlow.h"
#include "EditableCfgAdapter.h"
#include "TypeUtil.h"
namespace method {
bool i... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
9afeddcf7031283a9b14f1ff152adb667474de36 | 6cfd73d4918ea055db30f6e3c3252e930234767a | /ConnectServer/Engine.cpp | 57b1d3cbaecf0f85435b9c8f506f769139f32447 | [
"MIT"
] | permissive | neyma2379294/IGC.GameServer.SX | 138b1ff8019c9c2e83efebe75b8b2899be357255 | 44d77f47598b15c6adb297edba9035561c4fec74 | refs/heads/master | 2021-05-11T07:41:17.590766 | 2017-02-21T17:31:28 | 2017-02-21T17:31:28 | 118,029,462 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,149 | cpp | #include "stdafx.h"
#include "Engine.h"
#include "TLog.h"
#include "IGCCS.h"
#include "protocol.h"
User Users[MAX_USER];
int SCount=0;
void UserInit()
{
for (int n = 0; n < MAX_USER; n++)
{
memset(&Users[n], 0, sizeof(User));
Users[n].PerSocketContext = new _PER_SOCKET_CONTEXT;
}
SCount = ... | [
"miller@mpdev.com.br"
] | miller@mpdev.com.br |
2cd9c877767de2d3c55cef02dda9ed24180aba89 | 09849dc5ec4f7456f4f791491dc7002e23e250a1 | /c/cppp/oop/override.cpp | 9019db8fd06a31fe23acfb8beadfe7a1603b538b | [] | no_license | Cuculidae/Learn | e6f97dad5524681a5e1e113fb2f7fa4d2c088916 | f811b0ee36298824bc179f08d9bdc81447ccfeac | refs/heads/master | 2021-01-10T17:38:36.370590 | 2015-11-29T05:07:35 | 2015-11-29T05:07:35 | 47,028,983 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 630 | cpp | /**
* override.cpp
* C++11 override specifier.
* Compilation: g++ -c override.cpp -std=c++11 (won't compile)
* Created: 2015-10-04
*/
/*
* The compiler will reject a program if a function marked override does not
* override an existing virtual function.
*/
struct B {
virtual void f1(int) const;
virtua... | [
"2863043993@qq.com"
] | 2863043993@qq.com |
97ffe62ead98edf219b7ed068198f49a4f4baeae | a604e456746440529b57683031bec5dca79f3ca7 | /MinUI/Entry.h | 156c3fcea6bbc82938d60938a71277a5ceca0b31 | [
"MIT"
] | permissive | Cryst4L/MinUI | 8efd597c6a1d46e8647568e4416b6b8c12ec67d2 | a121d577a8ed17bf362acbef741f94209898428d | refs/heads/master | 2022-01-02T17:17:51.606317 | 2021-12-12T14:29:08 | 2021-12-12T14:29:08 | 241,074,546 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,218 | h | ////////////////////////////////////////////////////////////////////////////////
// Entry.h
// ----------------------------------------------------------------------------
// Implements the widget 'Entry'. An entry can either be used to enter text or
// numeric values. In the first case user can retreive the string us... | [
"bhalimi@outlook.fr"
] | bhalimi@outlook.fr |
55d41ffef0c27c7bad1e36d31a970895c349029d | ba6ebf4553bd1f0ab4b2180e57b845e6325fa6e3 | /heatmap-based/genxyz/genxyz/genxyz/stdafx.cpp | e2220517ca9012e971d4035d496a1f0b47692ee2 | [] | no_license | kinect59/CNNHandPoseEstimationTotal | 2dca5388b23e5cdc25c8b74b574ee75ab73c4c10 | 55faa0831d5af437c3b762c49ae00bbdcd2525d8 | refs/heads/master | 2020-06-28T04:28:44.887789 | 2016-03-12T04:16:54 | 2016-03-12T04:16:54 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 259 | cpp | // stdafx.cpp : 只包括标准包含文件的源文件
// genxyz.pch 将作为预编译头
// stdafx.obj 将包含预编译类型信息
#include "stdafx.h"
// TODO: 在 STDAFX.H 中
// 引用任何所需的附加头文件,而不是在此文件中引用
| [
"wanqingfu@sina.com"
] | wanqingfu@sina.com |
1aaf1c2b641f1985222827f1a241f5d63ac06402 | 20833245aa185cd4d79872db9276355ed0ebdfd2 | /timer/timer.ino | bc8a1a5668e3c97cf69002dbb90bba00e9f5dba8 | [] | no_license | NyankoNyan/LearnArduino | 16ca9ba804780b21ee66e8aa929de70a737e8cfa | 070e64990f89334c459de3878354a93a2ab03888 | refs/heads/master | 2023-01-20T18:00:33.055630 | 2020-11-29T21:10:14 | 2020-11-29T21:10:14 | 317,043,460 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 785 | ino | #define FIRST_LED_PIN 2
#define LAST_LED_PIN 11
#define BUZZER_PIN 13
void setup() {
for (int pin = FIRST_LED_PIN; pin <= LAST_LED_PIN; pin++) {
pinMode(pin, OUTPUT);
}
pinMode(BUZZER_PIN, OUTPUT);
}
bool signStarted = false;
void loop() {
unsigned long int ms = millis();
int side = (ms / 500) % 2;
... | [
"31081277+NyankoNyan@users.noreply.github.com"
] | 31081277+NyankoNyan@users.noreply.github.com |
8ff9747bdc047bd4e8f4d5c223010220023ede82 | a5d1c3d37809c0d232bc9be36e98c8b86a63cc6f | /abc44_b.cpp | e54e8521c8e00ebfabe1cb4e29b28234c986175b | [] | no_license | HaraguchiMasahiro/AtCoder_practice | d21ea974461f4ac92f3db8703e75b3055fc46161 | b5eeaf9d7ce4461a14c5561ee33a2557bf27e58c | refs/heads/master | 2020-09-10T15:29:49.786828 | 2020-08-19T02:19:24 | 2020-08-19T02:19:24 | 221,739,421 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 865 | cpp | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
const long double PI = (acos(-1));
using namespace std;
typedef long long ll;
typedef pair<int, int> P;
int ctoi(char c)
{
switch (c)
{
case '0':
return 0;
case '1':
return 1;
case '2':
return 2;
cas... | [
"momochan5454@gmail.com"
] | momochan5454@gmail.com |
f08d0923ebf8a3086a1ecd41835d8c68d834e561 | b605c534abcb75703d5f88b3003b866793517cbf | /src/AABB.cpp | 003919a8064163ad6df194a59ac8505afccfdb54 | [] | no_license | NANAnoo/RayTracer | df65a06b05656defa4708a806981cd9133d70cd3 | 9133f5630e2d40a42bd635a2b7b4421004ef026d | refs/heads/master | 2022-06-19T06:02:26.848721 | 2022-06-14T08:15:06 | 2022-06-14T08:15:06 | 186,120,573 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 605 | cpp | #include "pch.h"
#include "AABB.h"
AABB::AABB()
{
}
AABB::AABB(Vec3 mi, Vec3 ma)
{
max = ma;
min = mi;
}
bool AABB::Hit(Ray r, float tmin, float tmax)
{
for (int i = 0; i < 3; i++) {
float t0 = fmin(
(min.Array[i] - r.origin().Array[i]) / r.direction().Array[i],
(max.Array[i] - r.origin().Array[i]) / r.d... | [
"602075355@qq.com"
] | 602075355@qq.com |
21d7fd2e4879ef49d66f08f3fee7faa6a5a90288 | 55d560fe6678a3edc9232ef14de8fafd7b7ece12 | /libs/range/test/compile_fail/adaptor/reversed_concept.cpp | 1c3f40fd046a84178e5b0459aa9021105a91dd27 | [
"BSL-1.0"
] | permissive | stardog-union/boost | ec3abeeef1b45389228df031bf25b470d3d123c5 | caa4a540db892caa92e5346e0094c63dea51cbfb | refs/heads/stardog/develop | 2021-06-25T02:15:10.697006 | 2020-11-17T19:50:35 | 2020-11-17T19:50:35 | 148,681,713 | 0 | 0 | BSL-1.0 | 2020-11-17T19:50:36 | 2018-09-13T18:38:54 | C++ | UTF-8 | C++ | false | false | 742 | cpp | // Boost.Range library
//
// Copyright Neil Groves 2014. 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)
//
// For more information, see http://www.boost.org/libs/range
//
... | [
"james.pack@stardog.com"
] | james.pack@stardog.com |
97f23e93757a9589204ae8a34080ca005a975f8b | 1d3c59fcdb7681e27c6a0f60f3a6ed7c5e68e7ac | /include/Src/Atlas.h | 882529c9f792c816c8bc52051bf9eda3ceabde7c | [] | no_license | zuru/TextureSignalProcessing | b0b97f758d5f46e762f8533e567ab5c99004717a | 698e47126e873831cdbd7523ac5c2e64629a550f | refs/heads/master | 2022-12-28T08:08:58.196959 | 2020-10-12T00:21:07 | 2020-10-12T00:21:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,756 | h | /*
Copyright (c) 2018, Fabian Prada and Michael Kazhdan
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
conditions and... | [
"misha@cs.jhu.edu"
] | misha@cs.jhu.edu |
036402615fb012c0cd6ee4d5ce78b0042d6db1bf | c4f43ef94012afc8b1ace67369638f476bc40c58 | /json/common_specificationwriter.h | fc10904dfdfc2d057fd8747be195bc9bd581c989 | [
"Apache-2.0"
] | permissive | chubbymaggie/Nice2Predict | a0ec6421e3b50ace0a8b890cda5829cdbaa48435 | 25d70712d9c889d1478a6339bacc405dd12db17d | refs/heads/master | 2021-01-18T04:22:23.043355 | 2018-11-25T03:35:52 | 2018-11-25T03:35:52 | 36,596,747 | 0 | 0 | Apache-2.0 | 2018-11-25T03:35:53 | 2015-05-31T09:43:53 | JavaScript | UTF-8 | C++ | false | false | 1,173 | h | /*************************************************************************
* libjson-rpc-cpp
*************************************************************************
* @file specificationwriter.h
* @date 30.04.2013
* @author Peter Spiess-Knafl <peter.knafl@gmail.com>
* @license See attached LICENSE.txt
*... | [
"onponomarev@gmail.com"
] | onponomarev@gmail.com |
3009178cf30f2109df28fe6f78f23e0cf2cd4fde | a8522049eb6809ee677e8eeeb0d61a345e4d9492 | /controler/NodeClass.h | b34cc4eeb0a8acaf14ef24b182679bf8bc03a05b | [] | no_license | JoaoPLopes/Distributed-Real-Time-Control-Systems- | 4c5b14feac125ae695274fedc07bcbb4b3cbab17 | c1901c87787196b00c9fea590002b710b6c40c82 | refs/heads/master | 2022-12-18T13:57:39.073862 | 2020-09-20T22:29:48 | 2020-09-20T22:29:48 | 297,173,076 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,151 | h | #ifndef NodeClass_H
#define NodeClass_H
// The consensus function returns a vector with 4 elements
// The 3 first are related to D, and the last one is the cost.
class NodeClass{
public:
int ID; //index
float *d; // coupling
float *d_av; // coupling averages
float *y; //
float *k; // Gain... | [
"joao@LAPTOP-3R6EKL1H.localdomain"
] | joao@LAPTOP-3R6EKL1H.localdomain |
7a04fe01cd872a6028a4d94b48457f5dbe8b6b87 | 0bd1265abbec9fa8b1ecca2b2e9bd48572ffaffc | /include/llvm/ADT/Triple.h | ca3506370df55ac6de191c9ec4de00bb2783fbe3 | [] | no_license | BenQuickDeNN/Kaleidoscope | 2daa74aaa1ec82866d4c4e8b72c68dd5a7ce803a | 573b769ecc1b78f1ad9d2fd0a68978028b528e14 | refs/heads/master | 2022-10-06T21:51:10.741879 | 2020-06-11T02:19:48 | 2020-06-11T02:19:48 | 208,954,736 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,557 | h | //===-- llvm/ADT/Triple.h - Target triple helper class ----------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------... | [
"benquickdenn@foxmail.com"
] | benquickdenn@foxmail.com |
d63147eeaacbaa92d3ba16b6cdadfc4dfa9facca | b7880e3193f43e1a2f67b254f16d76d485cf3f46 | /src/urn_jaus_jss_mobility_LocalWaypointListDriver_1_0/Messages/QueryStatus.cpp | 7e02eb57bd62b621c05d308ef4900c6fb79887f2 | [] | no_license | davidhodo/libJAUS | 49e09c860c58f615c9b4cf88844caf2257e51d99 | b034c614555478540ac2565812af94db44b54aeb | refs/heads/master | 2020-05-15T17:44:55.910342 | 2012-01-18T20:33:41 | 2012-01-18T20:33:41 | 3,209,499 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,312 | cpp | #include "urn_jaus_jss_mobility_LocalWaypointListDriver_1_0/Messages/QueryStatus.h"
namespace urn_jaus_jss_mobility_LocalWaypointListDriver_1_0
{
void QueryStatus::AppHeader::HeaderRec::setParent(AppHeader* parent)
{
m_parent = parent;
}
void QueryStatus::AppHeader::HeaderRec::setParentPresenceVector()
{
if(m_pare... | [
"david.hodo@gmail.com"
] | david.hodo@gmail.com |
22e70927dfc36b58e8119241d34e86dc8233aec2 | 9a9e511d4881edaa293b6378e3f81ab853fa8b31 | /src/libs/export/export.cpp | e73921d0a3b227036bfb288d9bedcb43c0f03059 | [] | no_license | DeanoC/old_yolk | d14a4c02da1841f83e919915bd62bfd51d6a309b | 3d413320c2a0e53e3ddc9c76a801b5b91abe2028 | refs/heads/master | 2021-07-14T02:17:44.062551 | 2017-08-01T16:17:31 | 2017-08-01T16:17:31 | 208,746,200 | 0 | 0 | null | 2020-10-13T16:04:18 | 2019-09-16T08:15:54 | C++ | UTF-8 | C++ | false | false | 19 | cpp | #include "export.h" | [
"deano@cloudpixies.com"
] | deano@cloudpixies.com |
eac26c75f3435cf0d7166061ac4916d037db0e1c | 1bc8d532f358caec8f06f514dbfdd59eb7cf897e | /srcanamdw_os/leavescan/test/testcases/DEF-testcases/pct-leavescan-def132396-284.cpp | ec47cb848de93df6699d02a2585ec1df20175c46 | [] | no_license | SymbianSource/oss.FCL.sf.os.buildtools | 9cd33884e5f7dd49dce8016a79b9443cc3551b07 | 7b35cd328d3a5e8e0bc177d0169fd409c3273193 | refs/heads/master | 2021-01-12T10:57:19.083691 | 2010-07-13T15:41:02 | 2010-07-13T15:41:02 | 72,765,750 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 631 | cpp | /*
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.h... | [
"kirill.dremov@nokia.com"
] | kirill.dremov@nokia.com |
87eed90056881423b01d771f20fbd80e511d9d18 | fe5438cce0365ddb58e5104a7204124bda42c422 | /BregmanMethod.h | 55ddbb3b5093500dcf231c454281d432c2e249a6 | [] | no_license | GwonDalhyeon/CFD | d719ddd23e137cbe98caa395cd73827b67ee349a | e1b4c68bfa9239758f53a73be4bdd14c9eb5aa77 | refs/heads/master | 2021-04-22T12:51:21.741049 | 2017-04-27T04:19:07 | 2017-04-27T04:19:07 | 54,034,405 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,076 | h | #pragma once
#include "CommonDef.h"
#include "Field2D.h"
#include "LevelSet2D.h"
template <class TT>
class BregmanMethod
{
public:
BregmanMethod();
~BregmanMethod();
static Vector2D<TT> Shrink(const Vector2D<TT>& input, const TT& lambda);
static Field2D<Vector2D<TT>> Shrink(const Field2D<Vector2D<TT>>& input, ... | [
"pygmalion85@gmail.com"
] | pygmalion85@gmail.com |
a74179ba91d9fba20d3fdb45abd799fe6c8b49a1 | cdf49187bd2a6ab73c9aa34e03d1ac9d5c81e348 | /CutFlows/CutFlowFakeRateZfjet.h | 8a6517df6ea16ab995226a8c693efd2d33ebf50f | [] | no_license | rdisipio/MAMbo | 4770fddbba2700f0ec3cc5970b676c39178d6810 | 75ac630402b8c8aaa2febf8218b0213a7f2320dd | refs/heads/master | 2020-05-04T10:33:00.058916 | 2017-09-12T09:45:28 | 2017-09-12T09:45:28 | 179,089,927 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 589 | h | #ifndef __CF_FakeRateZfjet_H__
#define __CF_FakeRateZfjet_H__
#include "ICutFlow.h"
class CutFlowFakeRateZfjet : public CutFlow
{
public:
CutFlowFakeRateZfjet();
virtual ~CutFlowFakeRateZfjet();
virtual bool Initialize();
virtual bool Apply( EventData * ed );
protected:
void FillHistograms( const Even... | [
"disipio@cern.ch"
] | disipio@cern.ch |
20cd89159278b7fe39b5dc01f25baad086ebf3a0 | 45a26f28a29ab6dd9d3bcf315117d814f50808b1 | /src/AppleMacRISC4PE/AppleMacRISC4PE-185.0.0/IOPlatformPlugins/SMU_Neo2_PlatformPlugin/PowerMac8_1_CPUFanCtrlLoop.cpp | bbb0d129895194d197b3fd96f4ea7ee08270c199 | [] | no_license | zeborrego/opensource.apple.com | 0eb9161029ce8440dbdc4b5157b3927a6e381f8d | 88cbaab4a42e97cbbfe6b660f2f0945536821be6 | refs/heads/master | 2021-07-06T17:16:28.241638 | 2017-10-02T11:58:56 | 2017-10-02T11:58:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,389 | cpp | /*
* Copyright (c) 2004 Apple Computer, Inc. All rights reserved.
*
* @APPLE_LICENSE_HEADER_START@
*
* This file contains Original Code and/or Modifications of Original Code
* as defined in and that are subject to the Apple Public Source License
* Version 2.0 (the 'License'). You may not use this file except in... | [
"mattl@cnuk.org"
] | mattl@cnuk.org |
9f584b0a156ad142e4e65dd7c543e2d00aa4f681 | 13e4cf308294412eb9e9477b20c947a85ba9fd83 | /IocpServer/TestIocpClient/TestIocpClient/TestIocpClient.h | 7f3efce8c5686534681175d7729c4801bb797667 | [] | no_license | yaowenlu/IOCPServer | a319d4f8f941e1984b3fc8d3dc3693336b5156b7 | a5c44598c2f6eb778285a40c885dab3a72115421 | refs/heads/master | 2020-06-14T01:06:32.595327 | 2019-08-29T11:16:11 | 2019-08-29T11:16:11 | 194,845,436 | 2 | 0 | null | null | null | null | GB18030 | C++ | false | false | 534 | h |
// TestIocpClient.h : PROJECT_NAME 应用程序的主头文件
//
#pragma once
#ifndef __AFXWIN_H__
#error "在包含此文件之前包含“stdafx.h”以生成 PCH 文件"
#endif
#include "resource.h" // 主符号
// CTestIocpClientApp:
// 有关此类的实现,请参阅 TestIocpClient.cpp
//
class CTestIocpClientApp : public CWinApp
{
public:
CTestIocpClientApp()... | [
"noreply@github.com"
] | noreply@github.com |
12f3720df2eb2d442d70242db7bedfc1c34c5b40 | 0b2748e3d25c4daf628e8b728f581931f024a833 | /source/sdk/include/webinterface/KHInterfaceParam.h | a97b54596f906b448e35b2251701df8676172cd7 | [] | no_license | Zoltan3057/N_Kunhou_Arm_sdk | b4c3653705e2bb76935f3ac07fae503f09172dd8 | e50f60d3e7f19715bbedc9ccc55ca6280d13ad1b | refs/heads/master | 2020-03-21T17:27:50.975966 | 2018-03-03T05:34:10 | 2018-03-03T05:34:10 | 138,833,358 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,212 | h | /***************************************************************************************************
* Copyright (C), 2015-2016 Suzhou Kunhou Automation Co.,Ltd
* File name: KHInterfaceParam.h
* Description:
* Version: 0.0.1
* History:
* (1) Author: taibaidl
* Date: 2016-06-01
* Operate: ... | [
"769238687@qq.com"
] | 769238687@qq.com |
db4c720cfd32dae5719b05acfef658a9540aaab6 | 267c78e874189e20bcd7d6b64e90f84a8f29a4bf | /codeforces problems/code forces 634/codeforces634_div3q3.cpp | 9930e499757d14760fea3a0898257516a8fe7e5e | [] | no_license | wisdomleck/CP-code | 5953ed946dfb523848f68e22e774ae7d2b2220b0 | 20ada6247488c0f3a9bd32a5db6b4c14f16d85a2 | refs/heads/master | 2022-12-11T20:04:54.185734 | 2020-09-07T06:31:13 | 2020-09-07T06:31:13 | 264,473,166 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,368 | cpp | #include <bits/stdc++.h>
using namespace std;
pair<int,int> numUnique(vector<int> s){
map<int,int> counts;
// Find unique values in dict
for(auto number : s){
if(counts.find(number) == counts.end()){
counts.insert({number, 1});
}
else{
counts[num... | [
"alecyu99@gmail.com"
] | alecyu99@gmail.com |
c1d822387acce1205c6288ff72a253848df70e09 | 898061624592b865b751fff044253aa80543e192 | /project4/gunrock_web/DepositService.cpp | ec8987340fd149d63fe0594c554a865dbaeac417 | [
"BSD-3-Clause"
] | permissive | krishnapriyanair21/ECS150 | 91a56ae08d6b1f97f660c329ce4d73df63305233 | 5cc984ec6dd53b8e12cd63a75b12f682ccf400ac | refs/heads/main | 2023-04-26T17:49:11.753215 | 2021-06-07T05:27:42 | 2021-06-07T05:27:42 | 354,705,666 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,996 | cpp | #define RAPIDJSON_HAS_STDSTRING 1
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <fcntl.h>
#include <iostream>
#include <map>
#include <string>
#include <sstream>
#include "DepositService.h"
#include "Database.h"
#include "ClientError.h"
#include "HTTPClientResponse.h"
#include "HttpClient.h"
#... | [
"krishnapriya.nair21@gmail.com"
] | krishnapriya.nair21@gmail.com |
2b4f78f2c521595b8710b4f55607e5bf4c76bb51 | b0b118d667cb76e42d8a442cdb3fabe72ec2d14d | /macierze/stdafx.h | 54d641b29bb35ddf49ceddffa26ff8ee54bf0e1c | [] | no_license | kielbass/dekompozycja-macierzy---algorytm-strassena | 31eb10e7a37e402b6490a0094fe9579550e2d647 | a74781024763e70f90bce06cce5341d39718e156 | refs/heads/master | 2021-08-30T23:26:34.798957 | 2017-12-19T20:40:41 | 2017-12-19T20:40:41 | 111,956,071 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 440 | h | // stdafx.h: dołącz plik do standardowych systemowych plików dołączanych,
// lub specyficzne dla projektu pliki dołączane, które są często wykorzystywane, ale
// są rzadko zmieniane
//
#pragma once
#include "targetver.h"
#include <stdio.h>
#include <tchar.h>
#include <iostream>
#include <fstream>
#include <chrono>
#... | [
"33359877+kielbass@users.noreply.github.com"
] | 33359877+kielbass@users.noreply.github.com |
2cc3bc914b9fe148bdd8b420a9fb53ca37f9a3b1 | 8340acd4121fced161fade0f4f840e2859a7e08b | /pacman/Ghost.h | 893d5dc2e0062fd5a40a6ad7a7d8e27842074e55 | [] | no_license | LeonadDi/Console-pacman | b5c3a2b62dba39901551657865c964d18b2d0569 | 737b820e55bbe7ddb625382f869e38b30d4111c2 | refs/heads/master | 2022-04-02T05:24:57.790505 | 2020-01-23T13:36:42 | 2020-01-23T13:36:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 796 | h | #ifndef GHOST_H
#define GHOST_H
#include "MovableObject.h"
#include "Player.h"
#include "AiModules/RedAI.h"
#include "AiModules/PinkAI.h"
#include "AiModules/ClydeAI.h"
#include "AiModules/CyanAI.h"
class Ghost :
public MovableObject
{
public:
Ghost(std::shared_ptr<World> world, bool visible, int x, int y, std::share... | [
"33897044+LeonadDi@users.noreply.github.com"
] | 33897044+LeonadDi@users.noreply.github.com |
24a96d24e3c6bc4b1ffa26fa0b65480edf5cea87 | 31951c637a0f55ba7771ee77b07bb9e3a3374f65 | /src/But/Exception.cpp | df6bd16317e2a6643f1880d4f186e717dbeccc8d | [
"BSD-3-Clause"
] | permissive | el-bart/but | 7e5a0875e1b50bb75387ee4297f9decfeccb9c74 | 093532b19f59f1f537f7a8b63560764f317073b6 | refs/heads/master | 2023-08-16T17:45:59.433476 | 2023-08-13T19:18:45 | 2023-08-13T19:18:45 | 16,385,824 | 27 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 430 | cpp | #include <But/assert.hpp>
#include <But/Exception.hpp>
namespace But
{
std::stringstream Exception::defineBegining(char const* file, unsigned line)
{
std::stringstream ss;
BUT_ASSERT(file);
ss << file << ':' << line << ' ';
return ss;
}
std::stringstream&& Exception::defineEnding(std::stringstream&& ss, cha... | [
"git@baszerr.eu"
] | git@baszerr.eu |
3580597c3757972db84c2b9b7e8ab685723c1758 | 3d9e2d58cb310dd5e3b8e1aca5979d66b81c6510 | /mine/count num of divisormine.cpp | 87dadff9a89862e7c7475533ad77f0a4c4c01da1 | [] | no_license | praveen4698/competitiveProgrammingWithCpp | 906f1ec5d3689755ff9c2547f987ae96ec8f8387 | fbeeb8a9ccc7ea45201889415adfea07ab5dc92c | refs/heads/master | 2021-07-08T21:19:20.250388 | 2020-09-20T08:40:49 | 2020-09-20T08:40:49 | 193,205,068 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,183 | cpp | // count all the divisor upto n
int minp[N];
char deg[N];
short d[N];
int num[D]={0};
int ans[N];
int main()
{
#ifndef ONLINE_JUDGE
freopen("in.txt","r",stdin);
#endif
int i,j;
for(i=2;(j=i*i)<N;i++) if(!minp[i])
for(;j<N;j+=i) if(!minp[j]) minp[j]=i;
d[1]=1;
deg[1]=1;
for(i=2;i<N;i++)
{
int &p=minp[i];
... | [
"praveen.y469@gmail.com"
] | praveen.y469@gmail.com |
a31e9ce8377fae6d4cde0250f9c91d3381274307 | f77d51ff4701e80687889dce505be35a85230ed4 | /module04/ex00/Cat.cpp | 41e3b3066aa4d540ba54ceae5528417562410b32 | [] | no_license | besellem/cpp_modules | b3650ae606b957e251be4ee4df9a4775ccecc17c | 9d87bb4ed2108211f6cd3952f6b75fa0615d59b8 | refs/heads/master | 2023-07-16T21:03:23.486699 | 2021-08-31T16:47:45 | 2021-08-31T16:47:45 | 387,771,928 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,352 | cpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Cat.cpp :+: :+: :+: ... | [
"besellem@student.42.fr"
] | besellem@student.42.fr |
62de344fafaab8e3b420037ae384ee5d0a799410 | c9483fc2d0d5f303b90f85b9317b312dd738ce0c | /FX3C/PIPELINE/FX3Node.h | 484ea8c1c4faf0371da87413255deec238f43d8b | [] | no_license | jsj2008/nodes | 4d3771a8d3f000f7d442586dcd010532b8de7234 | e19588636f0e164ef6efd4aa9fe880a14f766e9b | refs/heads/master | 2020-05-31T14:17:55.562827 | 2013-11-08T22:32:40 | 2013-11-08T22:32:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,200 | h | //
// FX3Node.h
// FX3C
//
// Created by hassan vfx on 26/07/12.
// Copyright (c) 2012 hassanvfx. All rights reserved.
//
#ifndef FX3C_FX3Node_h
#define FX3C_FX3Node_h
#include "FX3Object.h"
#include "FX3Constants.h"
class FX3Node:public FX3Object
{
public:
bool renderAllInputs();
virtual voi... | [
"hassanvfx@gmail.com"
] | hassanvfx@gmail.com |
bdd29a4231067aa11ff4fe729797779f56e336ab | 49bd331f56ddb63201fec48435a2471365b7cfdd | /Analysis/TMP/ANALYSIS_tmp0510/BIN.h | 115518cbe4bd034b05a06f46253f6cc5f6c0273e | [] | no_license | NIRANKEN/jammingSimulation | 30365a9118c76c8a773d6aab764dd666de9daca5 | 1d45ec0fd79205a769165cd925680fef7baa9fb9 | refs/heads/master | 2021-09-23T21:48:44.731372 | 2018-09-27T22:42:48 | 2018-09-27T22:42:48 | 109,472,863 | 1 | 1 | null | 2017-11-25T07:30:26 | 2017-11-04T06:33:33 | C++ | UTF-8 | C++ | false | false | 1,165 | h | #ifndef __BIN_H
#define __BIN_H
#include <iostream>
#include <fstream>
#include <string>
using namespace std;
namespace binstat
{
void InputStr(string &a,string &b,string &c,string &d);
void InputBINrange(double &br);
void ZeroEigenValprocess(double S,double E,double M,int zeroeig,double allC,ofstream &ofs,int... | [
"nira.xvaiq183.nira@gmail.com"
] | nira.xvaiq183.nira@gmail.com |
1119a3fd140b549ddf566fbfe353b090be95c232 | 3da79394d02b87d637f0414c292413524a488043 | /A.h | 2b78d0169f5f333e606ccf0dea33a18ff06ed3a4 | [
"MIT"
] | permissive | bertcarnell/actionsmakefiletest | f9ce0c38483cf8df6d794b0bc95acdee086a5e0f | 41d9e166b282a23c6c2af4cb108fe1bb5d200d5d | refs/heads/main | 2023-01-21T18:02:43.419898 | 2020-11-25T16:15:41 | 2020-11-25T16:15:41 | 314,851,728 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 55 | h | class A {
public:
A(int a_input);
private:
int a;
};
| [
"bertcarnell@gmail.com"
] | bertcarnell@gmail.com |
0c72214ebc326b2389dae7ab26045d7c39ada555 | 77861deda8b3046bdda221d3cb80b77e84b14523 | /swar-utf8-length/unittest.cpp | 2862241916e56941f5241e5864955bb912d6245f | [
"BSD-2-Clause"
] | permissive | WojciechMula/toys | b73f09212ca19f1e76bbf2afaa5ad2efcea95175 | 6110b59de45dc1ce44388b21c6437eff49a7655c | refs/heads/master | 2023-08-18T12:54:25.919406 | 2023-08-05T09:20:14 | 2023-08-05T09:20:14 | 14,905,115 | 302 | 44 | BSD-2-Clause | 2020-04-17T17:10:42 | 2013-12-03T20:35:37 | C++ | UTF-8 | C++ | false | false | 1,178 | cpp | #include <cstdio>
#include <cstdlib>
#include "all.h"
class Test {
char buffer[256];
public:
bool run() {
return test("SWAR", swar_count_code_points);
}
private:
template <typename FUN>
bool test(const char* name, FUN custom_count_code_points) {
printf("%10s... ", name);
... | [
"wojciech_mula@poczta.onet.pl"
] | wojciech_mula@poczta.onet.pl |
1e894aaa68efc27e39a10f617b2c8a86d2cd04f8 | a9c57c0bba5b5e8b5fb7002b40bc487e50ba9c85 | /itemology/IScrollObject.h | bb380407d5ddc8d8d5eb43f872c98e137c9b3b3c | [] | no_license | theypsilon/FlatScene-Layer | 6f4e9b92e7a5befffbce21741a0bee4c6a578c65 | 5aed1b6e780b2ca720c3837c3ea438844113e31e | refs/heads/master | 2021-03-24T13:32:35.679538 | 2013-05-07T23:27:12 | 2013-05-07T23:27:12 | 1,901,459 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,850 | h | #ifndef _I_SCROLL_OBJECT_
#define _I_SCROLL_OBJECT_
#include "IDebug.h"
class IScrollObject;
class IScrollObject : public Cinema::Actor {
std::list<IScrollObject*>* _placeInMA;
friend class IScrollLevel;
static int instances;
public:
Coordinate place;
// TODO : variables y ... | [
"theypsilon@gmail.com"
] | theypsilon@gmail.com |
52788a74c99b18c0abc5dbd27018676d97c104d9 | 5727c698ae0ec2e3385d74e562b2c9f6171a717e | /PR1/P_20/Z_11.cpp | b834a0814c2fc6bca4b0547fd7c344249dd50c58 | [] | no_license | AsamiSato9/Asami | 90610914fc1f763da60bb560a0ea351bbd94d6cc | bdef54426033010154e2d792a9ee2bccfe050ebd | refs/heads/master | 2020-09-07T23:28:00.831759 | 2019-12-11T07:08:11 | 2019-12-11T07:08:11 | 220,943,996 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 307 | cpp | #include <iostream>
using namespace std;
int main()
{
int a,b,c;
bool isTwo;
cin >> a >> b >> c;
if (a>9&&a<99&&b>9&&b<99&&c>9&&c<99) {
isTwo = 1;
cout << "True" << endl;}
else {
isTwo = 0;
cout << "False" << endl;
}
return 0;
}
| [
"shkola@mail.ru"
] | shkola@mail.ru |
b91a30043090a1401e5ce99cd709424a00571afb | c8534d698fdc4b94280038b14a1038bbd56dfe8d | /src/qt/clientmodel.h | 5b10eeb9675997cb4cddf97613caf0867cd8454a | [
"MIT"
] | permissive | herzogvonbelder/Alpenschilling | 236603c262ca70d7014ecf5309529c1b35c0899d | 74f0b13f2feaae6e84c82b416cacaf18167573b5 | refs/heads/master | 2020-03-28T17:47:26.003470 | 2018-04-28T07:42:15 | 2018-04-28T07:42:15 | 148,822,424 | 0 | 1 | null | 2018-09-14T17:40:56 | 2018-09-14T17:40:56 | null | UTF-8 | C++ | false | false | 4,063 | h | // Copyright (c) 2011-2015 The Bitcoin Core developers
// Copyright (c) 2014-2017 The Dash Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_QT_CLIENTMODEL_H
#define BITCOIN_QT_CLIENTMODEL_H
#inclu... | [
"alpenschilling@gmail.com"
] | alpenschilling@gmail.com |
3ef0a1a9ca6ea58f9ffde313b8f79613876b29a4 | 67f4ecdd580a4110e7dfdc00b432bcc6e2d20f84 | /sobfilter.cpp | c21168cc003b7f4cb1cae5dbcfda04633f765ff1 | [] | no_license | Chandana-pvsl/Image-Processing-Codes | 47737e24472ef1f9d97604192b9b5e5052b057b2 | 9f505d740251cbc78cd611a0a5f5fa390ab3976b | refs/heads/master | 2020-04-16T02:45:12.691511 | 2019-01-11T13:55:07 | 2019-01-11T13:55:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,042 | cpp | #include<stdio.h>
#include"opencv2/highgui.hpp"
#include"opencv2/imgproc.hpp"
#include"opencv2/core.hpp"
#include<iostream>
using namespace cv;
using namespace std;
Mat img = imread("/home/chandana/OpenCV/ip/rubik.jpg",0);
int r;
void callback(int ,void*)
{
int i,j,a,t;
Mat img1(img.rows,img.cols,CV_8UC1,Scalar(0)... | [
"chandupvsl29@gmail.com"
] | chandupvsl29@gmail.com |
62aa4eb2052ebd5beb15c36dbea7840866ebcfd0 | 83b7f3fd6eb4cd4ff3728e9249abdf1ce1fdce33 | /HACKERANK/CODESPRINT360/CRYPTOGRAPHY_2.cpp | 975b3e1654b4fc65fb3563d8bd52a94418e1ada4 | [] | no_license | akash19jain/COMPETITIVE-PROGRAMMING | 881ee80c40b1bdb8556f4fd8193896224e126a95 | 7a0fe1a5aad7d1990838a7b99891e9af1be5c336 | refs/heads/master | 2021-11-23T01:26:36.780405 | 2021-09-12T17:05:27 | 2021-09-12T17:05:27 | 173,334,187 | 8 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 3,974 | cpp | /* AUTHOR: AKASH JAIN
* EMAIL: akash19jain@gmail.com
* ID: akash19jain
* DATE: 14-04-2020 20:36:32
*/
#include<algorithm>
#include <bits/stdc++.h>
using namespace std;
#include<stdio.h>
#include<math.h>
#include<string.h>
#include<stdlib.h>
#include<stdbool.h>
#include<ctype.h>
#define SC1(x) ... | [
"akash19jain@gmail.com"
] | akash19jain@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.