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 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
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 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0adbe1c1ecad41427f5564ec6913a8c7310e82a8 | 7eaf3490a9565541cddcaab2ef5fa6d268148421 | /src/util.h | c06451c65aaa262bceb41e06b1fa35faa0b9b12e | [
"MIT"
] | permissive | xccdev/cobaltcash | 1c6eb12cf8f32af41601831582d1d2500b913c81 | 4045738b1d340b2cccbe96ffcc3a610db06dfc50 | refs/heads/master | 2020-03-23T08:14:02.107718 | 2018-07-21T05:07:54 | 2018-07-21T05:07:54 | 141,315,416 | 0 | 1 | MIT | 2018-07-21T05:07:54 | 2018-07-17T16:24:49 | C++ | UTF-8 | C++ | false | false | 7,521 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
/**
* Server/client environment: argum... | [
"maher.bentalebali@ensi-uma.tn"
] | maher.bentalebali@ensi-uma.tn |
d6004dc0de7a8fcc5b483f7f1dd71e7e3ffcf72b | d89ab622dde1d9374e17346ecce8f7a60b8d094f | /dinic_algo.cpp | ecfbaf7b0b4c51cc2687473fba9a5981fcf36b11 | [] | no_license | lokesh999/prongrams_C- | a1af8919eaacff269dd05d2cfcb47fdf3bfb8361 | 8c26e442db95c51da7bf7f0499d43ac21c5dd2a5 | refs/heads/master | 2020-04-28T02:31:30.562171 | 2019-03-11T01:44:18 | 2019-03-11T01:44:18 | 174,901,624 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,674 | cpp | #include<bits/stdc++.h>
using namespace std;
struct edge {
int a, b, f, c;
};
const int inf = 1000 * 1000 * 1000;
const int MAXN = 1050;
int n, m;
vector <edge> e;
int pt[MAXN]; // very important performance trick
vector <int> g[MAXN];
long long flow = 0;
queue <int> q;
int d[MAXN];
int lim;
... | [
"lglg798@gmail.com"
] | lglg798@gmail.com |
1f0b22dcb72e585c6c4d8b5528e0a0214546db5a | a1b5fa19a2980641a0e08d0a5caddef6b9a7533f | /libcaf_io/caf/io/handle.hpp | bfa1238e7c7891a37a7faee6cbde1b16319d7dbb | [
"BSL-1.0"
] | permissive | subailong/actor-framework | ef0fa46919f8add887dd1a0b13962fff36d428bb | d9e99842449752ec777beca1c21aff1c45a5008b | refs/heads/master | 2021-01-18T00:00:33.761745 | 2015-04-13T15:16:29 | 2015-04-13T15:16:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,678 | hpp | /******************************************************************************
* ____ _ _____ *
* / ___| / \ | ___| C++ *
* | | / _ \ | |_ Actor *
... | [
"dominik.charousset@haw-hamburg.de"
] | dominik.charousset@haw-hamburg.de |
46d4ca1349c84d61d30c77cdf0e9b2026e020e8f | 802007d9aaa09ee69d3c9a423733987aedb64b31 | /code_C++/Usine.cpp | a3db20dbbefeb4b259147f2bd5f13c66d1219b6d | [] | no_license | BASARANOMO/Renault-operations-research-project | b04c8fee60d3ff16e189ec65da5202e3b5b46834 | 8575afa1f162c7b98ac969fdd79f2ee3a7b8ecd8 | refs/heads/main | 2023-02-16T23:52:00.268274 | 2021-01-14T10:35:33 | 2021-01-14T10:35:33 | 312,566,174 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 64 | cpp | #include "Usine.h"
Usine::Usine()
{
id = -1;
vertexId = -1;
} | [
"39518094+BASARANOMO@users.noreply.github.com"
] | 39518094+BASARANOMO@users.noreply.github.com |
9a863b31607013618bfc3290b7c7bf3429985382 | 70418d8faa76b41715c707c54a8b0cddfb393fb3 | /11797.cpp | e32a6b3856fb2c58934258a341630d48d0188bae | [] | no_license | evandrix/UVa | ca79c25c8bf28e9e05cae8414f52236dc5ac1c68 | 17a902ece2457c8cb0ee70c320bf0583c0f9a4ce | refs/heads/master | 2021-06-05T01:44:17.908960 | 2017-10-22T18:59:42 | 2017-10-22T18:59:42 | 107,893,680 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 918 | cpp | #include <bits/stdc++.h>
using namespace std;
const char *s[5] = {"Ja", "Sam", "Sha", "Sid", "Tan"};
char name[12], map_[128];
int l[5][20], time_[5], ls[5], lp[5];
inline int min(int a, int b)
{
return a < b ? a : b;
}
int main()
{
int c, ct, m, n, next, t;
map_[0] = 0;
map_['m'] = 1;
map_['a'] = 2;
map_['d'... | [
"yleewei@dso.org.sg"
] | yleewei@dso.org.sg |
8256fb631df8051c9b9c62ab0d63ccddcd1d222f | a88f569aeb5888d990adf009377c14cea691b09d | /src/Math/Matrix.inl | ccdf82ce310dc4e75744319e8806dce946d876bb | [] | no_license | tgjones/aether-cpp | d1de28d0c8400eb06f01d9a12e9a29ff1dd83b07 | 1cfe9c4905c2623fbcd18a2144e0690291824a43 | refs/heads/master | 2020-05-25T09:41:28.428328 | 2012-05-11T02:46:51 | 2012-05-11T02:46:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,712 | inl | template <typename Derived, int Order>
Derived
MatrixBase<Derived, Order>::identity()
{
Derived r;
for (int i = 0; i < Order; i++)
for (int j = 0; j < Order; j++)
r(i, j) = (i == j) ? 1 : 0;
return r;
}
template <typename Derived, unsigned Order>
MatrixBase<Derived, Order - 1> getMinor(MatrixBase<Derived, Orde... | [
"tim@timjones.tw"
] | tim@timjones.tw |
54672465c9dca88a0ed4a714b409b9b2d75bae52 | 099eea67daa4fc80e002280e2dd4588efc04b7ce | /Desktop/gesture-control/GestureControlledHomeApplianceV1.2.ino | e77488f75746aafd19e70489f8106726b6f891c7 | [] | no_license | Ashish-Sharma-1999/Arduino-Gesture-Based-Automation | 7ec2ca80b10cf8397189c8bc0e992555c98a9170 | c5a88240c24f5a9ead365a76d1fd12e7a9be6ec5 | refs/heads/master | 2022-12-22T19:44:53.590550 | 2018-10-13T15:59:33 | 2018-10-13T15:59:33 | 296,229,106 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,433 | ino |
#include "I2Cdev.h"
#include "MPU6050_6Axis_MotionApps20.h"
// Arduino Wire library is required if I2Cdev I2CDEV_ARDUINO_WIRE implementation
// is used in I2Cdev.h
#if I2CDEV_IMPLEMENTATION == I2CDEV_ARDUINO_WIRE
#include "Wire.h"
#endif
// class default I2C address is 0x68
// specific I2C addresses may be pass... | [
"siddharthsamber94@gmail.com"
] | siddharthsamber94@gmail.com |
d3f610bf11c9860aa9ca340ec67b5ad11fe0cd02 | ae92d68c5e4de0d8ac59364931412e19add414f5 | /Topic15/Task2/Task2.cpp | c0dc162386bf8ac4d76e5a079faa30cbff342828 | [] | no_license | nataliiageryk/cpp_fundamentals | 72914919357d7a97ff726cf1b96e62797514d4a0 | 6ddc70812892641231457bbba22764fa9ee62bcb | refs/heads/master | 2021-01-25T04:08:43.475487 | 2014-05-13T08:59:34 | 2014-05-13T08:59:34 | 16,540,847 | 1 | 0 | null | 2014-02-21T13:21:38 | 2014-02-05T09:53:21 | C++ | UTF-8 | C++ | false | false | 1,203 | cpp | #include <iostream>
#include <cmath> // or math.h, unix users may need -lm flag
#include "exc_mean.h"
// function prototypes
double hmean(double a, double b);
double gmean(double a, double b);
int main()
{
using std::cout;
using std::cin;
using std::endl;
double x, y, z;
cout << "Enter two numbers: ";
while (cin... | [
"nattallo4ka@mail.ru"
] | nattallo4ka@mail.ru |
d06b0cdce1beee0a9bdcee238a279dbe98749a67 | 7ddef2c1950de659c6a0f37412310f0b34a8f27e | /tools/Call.h | c5d3b64d350771e0d71f8ff602c4baffdf1f927b | [] | no_license | cmguo/just-base-util | 85b72ce6c95c71b16844fac5a42617517904a269 | 92051179f55e40f56128a633b7b0de96d844f209 | refs/heads/master | 2022-11-19T19:22:10.799610 | 2017-12-07T02:15:00 | 2017-12-07T02:15:50 | 280,883,175 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,168 | h | // Call.h
#ifndef _UTIL_TOOLS_CALL_H_
#define _UTIL_TOOLS_CALL_H_
namespace util
{
namespace tools
{
struct Call
{
template <
typename Func,
typename Arg1
>
Call(
Func func,
... | [
"isxxguo@pptv.com"
] | isxxguo@pptv.com |
9139c8e568f11f45af61c5982ba34f6ed78ce132 | e86308ccdbfa05b1bd1738179e989ccfb35b950c | /ui/viewgroup.h | f009802cb6fff6c946f4123d8c220851db8bebdf | [
"MIT",
"Zlib",
"LicenseRef-scancode-public-domain"
] | permissive | kryan-supan/native | 97a205ec3dfbbd0f9e17fd794c15db69c6c6ba85 | a7b92d63d6a51f41b3fe8c89fee0bd5f85b8f4a6 | refs/heads/master | 2021-01-17T05:44:41.421957 | 2013-07-15T22:25:08 | 2013-07-15T22:25:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,091 | h | #pragma once
#include "base/logging.h"
#include "ui/view.h"
#include "math/geom2d.h"
#include "input/gesture_detector.h"
namespace UI {
struct NeighborResult {
NeighborResult() : view(0), score(0) {}
NeighborResult(View *v, float s) : view(v), score(s) {}
View *view;
float score;
};
class ViewGroup : public Vi... | [
"hrydgard@gmail.com"
] | hrydgard@gmail.com |
a38fca30c7d45363e7dd01f058fd46471063bb8f | 58391c7d7dd4dd208d7c42554593d0809cd51261 | /src/Symbol.hpp | 530ff1a465993c3c4da72c9538891f3dab6c6191 | [] | no_license | DldFw/ecbrates | 88ed599ba95bfd1c6c32c0f3202d64a126d0cf50 | 752b5d77a0d21d464835404abbdad53585ac51e2 | refs/heads/master | 2022-01-09T09:36:55.886040 | 2019-01-08T20:47:58 | 2019-01-08T20:47:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,806 | hpp | #pragma once
#include <string>
#include <vector>
namespace MO
{
/* Using special char traits is nice - the string behaves like case insensitive,
* however each time we compare strings we pay for this convenience.
* On my machine performing 100k request for some set of latest data took
* 3.3s when u... | [
"miroslaw@opoka.tech"
] | miroslaw@opoka.tech |
8ff9882f0930025ebf5e27a11b51f81b58326ded | d6fcbc713b0e720be2cf96abfca5abfdda33279e | /DragonCore/src/Platform/SFML/Graphics/SfmlTexture.cpp | 16f5e7eb676027d11301165e137397b8bb7190e4 | [] | no_license | dylanwijnen1/DragonEngine | b72ed0f4c95802319862b65999ba769e384a1115 | 9ee3d248882a6c0d309b173e2198b8bb2b4ca784 | refs/heads/master | 2020-05-30T01:32:26.071862 | 2020-03-12T05:03:49 | 2020-03-12T05:03:49 | 189,479,199 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 964 | cpp | #include "SfmlTexture.h"
#include <SFML/Graphics/Texture.hpp>
namespace dragon
{
SfmlTexture::~SfmlTexture()
{
delete m_pTexture;
m_pTexture = nullptr;
}
bool SfmlTexture::LoadFromFile(const char* filename)
{
m_pTexture = new sf::Texture();
if (!m_pTexture->loadFromFile(filename))
... | [
"dylan.wijnen1@gmail.com"
] | dylan.wijnen1@gmail.com |
539fc9bf914316cad6a929d878176fa1842d94f4 | a7f3b2d71915854808c76536a6213c14900d601d | /Arduino/src/edge-impulse-sdk/tensorflow/lite/micro/micro_time.cpp | 350a8a2dc92f7f04d89649ee5555c58b653ba1da | [
"MIT",
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | vishwasnavada/Smart_Collar | ce98188bdf8408fd1075151b5ee5100ee7242e64 | e5cfffc8eec5bc3bd87705d54f05c863b79d3c72 | refs/heads/main | 2023-01-05T10:07:08.689772 | 2020-11-01T12:42:17 | 2020-11-01T12:42:17 | 308,138,219 | 0 | 0 | MIT | 2020-10-31T12:49:34 | 2020-10-28T20:52:36 | null | UTF-8 | C++ | false | false | 2,066 | cpp | /* Copyright 2020 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | [
"vishwasnavada@gmail.com"
] | vishwasnavada@gmail.com |
b0863dfe9761ad8348e45fd2a9f418cb9b6a566d | 2413d71a07074043233874f114c303a9d1df7705 | /动态规划/樱花.cpp | 673c006d81a7bf962b54980b8a40e07e74bb4050 | [] | no_license | ferapontqiezi/AlgorithmDesign | fe21ccc5983c9622e4e6200209f0124b4360eeb4 | cdeefa760f1c55fa32ebc4a0f034fcbfa1da0ac1 | refs/heads/master | 2023-08-26T18:29:07.171850 | 2021-11-12T05:20:14 | 2021-11-12T05:20:14 | 421,362,539 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 858 | cpp | #include<cstdio>
#include<algorithm>
using namespace std;
int nx, ny, ex, ey, n, f[1010];
int a[10005], b[10005], c[10005];
int cnt = 0, co[1000005], v[1000005];//尽可能开大,不要把空间开爆了
int main() {
scanf("%d:%d %d:%d%d", &nx, &ny, &ex, &ey, &n);
int t = (ex * 60 + ey) - (nx * 60 + ny);
for(int i = 1; i <= n; ++ i) {
sc... | [
"Ferapont@qq.com"
] | Ferapont@qq.com |
30423ffe7e0abf60011f8c22241965b9e7a27bdd | 6cf257a0febcd24234777b44c68191e824662715 | /src/hls_lfcd_lds_driver/include/hls_lfcd_lds_driver/lfcd_laser.h | 82daed3fecee2c4adf6ddefe7b0789c1c6b83291 | [
"BSD-3-Clause"
] | permissive | levanson1998/ros_mbrb_pi | 6126e6a0e4fb9c65744503d8f371f09fe156d20f | eb6dd66a570e501d292cdffc21d65008795a98b5 | refs/heads/main | 2023-02-19T13:45:15.876617 | 2021-01-21T03:57:10 | 2021-01-21T03:57:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,429 | h | /*******************************************************************************
* Copyright (c) 2016, Hitachi-LG Data Storage
* Copyright (c) 2017, ROBOTIS
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions ... | [
"vanson1243@gmail.com"
] | vanson1243@gmail.com |
37b9651cfa25dbc536c176c24fa90d12012280b2 | 788c1404e18d6e11c0e179b8f52bb50d05dbf99c | /v1/Query/Range.cpp | f601288c4225009e8e62a2c82da9a516ce6d4ece | [] | no_license | helloyichu/PRESS | 08b4fad52bfcb77fa444bf94aae4778b9e357b07 | 5bbc3c5d827ecc44078bf6107fdebccc5bafa616 | refs/heads/master | 2021-01-18T03:40:03.092228 | 2015-01-18T03:43:45 | 2015-01-18T03:43:45 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 21,284 | cpp | /**
核心程序,进行MMTC的SPATIAl部分的压缩的程序
*/
#include <iostream>
#include <fstream>
#include <stdio.h>
#include <time.h>
#include "define2.h"
#include "file.h"
#include <string.h>
#include <stdlib.h>
#include <math.h>
#include <vector>
#define MAXN 95000000
using namespace std;
ofstream fout("E:\\TC\\OUTPUT.T... | [
"songrenchu@sina.com"
] | songrenchu@sina.com |
f4e3a08ce8e1fee60427d2a66acaede07af81974 | 62079b7030745570e21c59f61bf2ad6597a7976f | /Essentail Training for C programming/2017.10.16/pg2201.cpp | fd38239e797921f3b63b434b3e2bf712415371f5 | [] | no_license | XC-Team/c-program-code | 42f38c492e6dd2611ca29bef7be447118b22d450 | a8672c73bb5f5ec46e928a86e11f1bd23ecbb201 | refs/heads/master | 2022-12-22T23:31:08.823404 | 2020-09-25T05:07:05 | 2020-09-25T05:07:05 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 221 | cpp | #include<stdio.h>
int main(void)
{
int a, b, max;
printf("请输入两个数a,b(以逗号分隔):");
scanf("%d,%d", &a, &b);
max = (a > b ? a : b);
printf("max = %d", max);
printf("\n");
return 0;
}
| [
"Jomsou@qq.com"
] | Jomsou@qq.com |
c5a22736fb29965f7f268b3b674f1771ca995b98 | af84d68aa2e830427fd3720977138cdffb04f521 | /FractalDrawer.cpp | ba70816c3181204653518a765984c8a321ea825c | [] | no_license | YuliaFeldman/FractalsDrawer | e1c859eacaf8cd9c4317b8caaebe2be8aeaa97f8 | 440103976cd7d455069cb6a6af7652de5599138a | refs/heads/main | 2023-01-08T19:01:26.872850 | 2020-11-15T08:53:38 | 2020-11-15T08:53:38 | 312,992,099 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,185 | cpp | #include <iostream>
#include <fstream>
#include <vector>
#include <cmath>
#include "Fractal.h"
const int NUMBER_OF_TYPES = 3;
const int MAX_DIM = 6;
const int MIN_DIM = 1;
/**
* Main function of FractalDrawer program
* @param argc number of arguments
* @param argv arguments
* @return 0 when success
*/
int main(i... | [
"48710519+YuliaFeldman@users.noreply.github.com"
] | 48710519+YuliaFeldman@users.noreply.github.com |
a71adbfeaca6df0788100fc0135bb00810778494 | f98d74ba8fe3cd25cdc3bb7aa4529013a22e1441 | /Isaac/Client58/BlackFly.cpp | 7b6c07c9966e8f8e4a975d00a9b62e0870422af4 | [] | no_license | Jisean/IsaacProjectBackup | 939933516d309c0e7ee179d72dacf945edf7b903 | 4368da54189e8c7969bc8cfd42f8d00fc7d9b88b | refs/heads/master | 2021-05-13T17:28:24.041874 | 2018-01-09T15:38:06 | 2018-01-09T15:38:06 | 116,823,838 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,215 | cpp | #include "StdAfx.h"
#include "BlackFly.h"
CBlackFly::CBlackFly(void)
{
}
CBlackFly::~CBlackFly(void)
{
}
HRESULT CBlackFly::Initialize(void)
{
fHp = 3.f;
m_wstrObjKey = L"BlackFly";
m_wstrStateKey = L"Left";
m_dwState = MS_STAND;
m_dwPrevState = MS_STAND;
m_tFrame = FRAME(0.f, 100.f, 2.f);
m_tInfo.vSize = D3DX... | [
"hsp0522@gmail.com"
] | hsp0522@gmail.com |
03209a742616d6a242742b8ce2f17cabdab8c90d | 0058bd180ba394f55b7cd33b6722ea7a63e359e6 | /commonj/sdo/ParserErrorSetter.cpp | c50f9cd0050811b21360b3b41b3fbd7e74a38a59 | [
"LicenseRef-scancode-generic-cla"
] | no_license | vex75/SCA_SDO-1.2.4_compile_fix | b66574b9dc37a052a6bea52776040d57cd1adf39 | c7dfa793722eda7cda18d9851a48e7d06ea4eb34 | refs/heads/master | 2021-01-13T16:59:07.044353 | 2016-12-22T15:06:19 | 2016-12-22T15:06:19 | 77,153,409 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,417 | 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 ... | [
"vex75@mail.ru"
] | vex75@mail.ru |
ab327e98e290e74dcbcb491c1a8884f7497a3b3a | ba1f77bea85efa1bf9de89c17b4940728ae3db52 | /Activation.h | 0a84a2e97cba14d3f424f9f629f584427659d0af | [] | no_license | andrewbo29/feedforward_network | 3b93a43f7efeb21b52fddc56149f7e774d495d7f | 267cd97f35149855818240e1e3f3164fa71eca1a | refs/heads/master | 2021-01-18T21:11:10.840803 | 2016-06-03T11:06:23 | 2016-06-03T11:06:23 | 52,079,943 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 385 | h | //
// Created by boyarov on 21.04.16.
//
#ifndef FEEDFORWARD_NETWORK_ACTIVATION_H
#define FEEDFORWARD_NETWORK_ACTIVATION_H
class Activation {
public:
Activation() = default;
virtual double forward(double x) { return 0; };
virtual double backward() { return 0; };
virtual ~Activation() = default;
protec... | [
"andrewbo29@yandex.ru"
] | andrewbo29@yandex.ru |
84e0c2c541c7cf90bd2adc5f132390c92b94889e | 42d981b9ac42ad12577865115228b3744aad6e6b | /bachelors/year2/ArchECM/5/LAB5.CPP | 619233b52c02710554207c542cbd5a22da71a21c | [] | no_license | Witalia008/university_courses | bcd7683ac3abbfb8f5474c0d114ed01cbc15eab6 | 8bdfb3b5f8ce44680dde530e4eabc28141013bd0 | refs/heads/main | 2023-04-11T11:16:59.444067 | 2021-04-01T01:31:02 | 2021-04-01T01:31:02 | 350,045,497 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 573 | cpp | #include <conio.h>
#include <stdio.h>
#include <bios.h>
int main()
{
char data[512] = "";
int M, N, K;
printf("Input side number: ");
scanf("%d", &K);
printf("Input sector number: ");
scanf("%d", &N);
printf("Input track number: ");
scanf("%d", &M);
int res = biosdisk(... | [
"kojvitalij@gmail.com"
] | kojvitalij@gmail.com |
3deed88acb806764363286ba0abe906cc032e69d | 76f115f0110fd13703043dd221b006a68b8c934f | /libraries/marekburiak-ILI9341_due-37936e8/examples/utftDemo/utftDemo.ino | fab822d16d0b6743c474e73e8ba6f847779c385f | [] | no_license | benco/digital-recorder | f5e714528099b8ba9ed510a2e1be6579a30b6849 | b26dc629c62345eedb9d594a17559fdb8dd1eda1 | refs/heads/master | 2016-09-05T11:18:40.961360 | 2015-04-15T12:49:15 | 2015-04-15T12:49:15 | 30,207,875 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,279 | ino | // UTFT Demo ported to ILI9341_due library by TFTLCDCyg
// Based on Demo 320x240 Serial of UTFT library
// UTFT-web: http://www.henningkarlsen.com/electronics
#include <SPI.h>
// ILI9341_due NEW lib by Marek Buriak http://marekburiak.github.io/ILI9341_due/
#include <ILI9341_due_gText.h>
#include <ILI9341_due.h>
#in... | [
"Ben@benpro.local"
] | Ben@benpro.local |
f1fc3ac01f3083edcf3ce288f07f0883307e65a6 | d1ed4185904c093bda093a28fa6dd5de3e5695f9 | /src/common/test/test_term_match.cpp | 2069dba2ec7ac1ef6e69a9232c7ffca2090df7f3 | [
"MIT"
] | permissive | datavetaren/epilog | 7c31fc89f9428a5f14edf0eabf4550aa13ad7d99 | 7067a4cf5b62dd8eca3ab9395fbb1b85d95a9820 | refs/heads/master | 2023-07-23T22:57:41.040136 | 2021-08-26T10:45:07 | 2021-08-26T10:45:07 | 371,300,487 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,172 | cpp | #include <common/term.hpp>
#include <common/term_match.hpp>
using namespace epilog::common;
#include <type_traits>
static void header( const std::string &str )
{
std::cout << "\n";
std::cout << "--- [" + str + "] " + std::string(60 - str.length(), '-') << "\n";
std::cout << "\n";
}
static void test_simp... | [
"datavetaren@datavetaren.se"
] | datavetaren@datavetaren.se |
7f5546906e1872d8bb9bbab47eefc3ca79eba6f0 | 8caea40d98a8178a99e91579e727795c3042c2da | /BFTT.cpp | 592937c8b94a088014cbca3ad321d67eb34165a9 | [] | no_license | pushprajsingh14/Competitive-programming | 9c68d05280b3a176e19f967f8725accb893afa7e | 88c83dda4dbfc7a21b10b6db27875c919122be47 | refs/heads/master | 2022-11-19T09:08:30.372153 | 2020-07-21T10:13:24 | 2020-07-21T10:13:24 | 280,933,695 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 583 | cpp | //https://www.codechef.com/problems/BFTT
#include <iostream>
using namespace std;
int main() {
// your code goes here
int t;
cin>>t;
while(t--)
{
int i,j,r;
int sum=0;
int n;
cin>>n;
for(i=n+1; ;i++)
{
j=i;
while(j>0)
{
r=j%10;
if... | [
"noreply@github.com"
] | pushprajsingh14.noreply@github.com |
2f485626be692035ddbc04e5459f21f0f6b18a3d | f1d0ea36f07c2ef126dec93208bd025aa78eceb7 | /Zen/Enterprise/Database/src/I_FilterClause.cpp | b28028b5781292c585942a122dcf7e70ed945043 | [] | no_license | SgtFlame/indiezen | b7d6f87143b2f33abf977095755b6af77e9e7dab | 5513d5a05dc1425591ab7b9ba1b16d11b6a74354 | refs/heads/master | 2020-05-17T23:57:21.063997 | 2016-09-05T15:28:28 | 2016-09-05T15:28:28 | 33,279,102 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,839 | cpp | //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~
// Zen Enterprise Framework
//
// Copyright (C) 2001 - 2008 Tony Richards
//
// This software is provided 'as-is', without any express or implied
// warranty. In no event will the authors be held liable for any damages
// arisin... | [
"mgray@wintermute"
] | mgray@wintermute |
b2a0b834779fd721b1cd9b14cb82c5bb01ac449b | ac816b2154a04678ebd0b347b314d510fdca6280 | /table/two_level_iterator.h | 06dcc9a9641ec2ae4f0319a263ff15aa9296c346 | [] | no_license | plutolove/leveldb | f75a18ac502e70e3889c01130f35bc327ef7b653 | 117a148d976659adc0d4d14f25a8054ef86e54a5 | refs/heads/master | 2020-09-06T05:32:33.558738 | 2019-03-22T09:27:13 | 2019-03-22T09:27:13 | 67,226,482 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,299 | h | // Copyright (c) 2011 The LevelDB Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. See the AUTHORS file for names of contributors.
#ifndef STORAGE_LEVELDB_TABLE_TWO_LEVEL_ITERATOR_H_
#define STORAGE_LEVELDB_TABLE_TWO_LEVEL_ITERATOR_H_... | [
"mengshangqi@live.com"
] | mengshangqi@live.com |
1aee1a3c8cb4371fb3c51d76d1f2a514e8e17141 | 584fb69896f39590bbf43e3d4221dbbeb07b5a5d | /source/LibFgBase/src/FgClusterImpl.hpp | 71def08a05f4615f24b2f85dc4c17ed94a3bdea5 | [
"MIT"
] | permissive | leo92613/FaceGenBaseLibrary | d94bf9f67cc2bc95e05b368945b5a6cdb58e24b7 | 97c9a80a232dc10281d8fc52c11f1b6d0b17552a | refs/heads/master | 2022-03-15T04:44:31.948009 | 2019-11-28T13:21:55 | 2019-11-28T13:21:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,845 | hpp | //
// Copyright (c) 2019 Singular Inversions Inc. (facegen.com)
// Use, modification and distribution is subject to the MIT License,
// see accompanying file LICENSE.txt or facegen.com/base_library_license.txt
//
// Implementation file to be included in OS-specific libraries
#include <boost/asio.hpp>
#include ... | [
"abeatty@facegen.com"
] | abeatty@facegen.com |
b8335307cd047168a292d0ea9274ffda5f875fc5 | 3efc50ba20499cc9948473ee9ed2ccfce257d79a | /data/code-jam/files/2994486_PowerIVQ_5751500831719424_0_extracted_r1.cpp | 504754efd81e590098e1e1833da43f7ac281f8ca | [] | no_license | arthurherbout/crypto_code_detection | 7e10ed03238278690d2d9acaa90fab73e52bab86 | 3c9ff8a4b2e4d341a069956a6259bf9f731adfc0 | refs/heads/master | 2020-07-29T15:34:31.380731 | 2019-12-20T13:52:39 | 2019-12-20T13:52:39 | 209,857,592 | 9 | 4 | null | 2019-12-20T13:52:42 | 2019-09-20T18:35:35 | C | UTF-8 | C++ | false | false | 1,284 | cpp | #include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <cmath>
using namespace std;
int solve(vector<string> &ipt, int sz)
{
vector<int> pt(sz);
int ret = 0;
while (true)
{
if (ipt[0].length() == pt[0])
{
for (int i=1; i<sz; i++)... | [
"arthurherbout@gmail.com"
] | arthurherbout@gmail.com |
c113ef16bac5b16a8074590f1325efdccdc4c51c | a13e7993275058dceae188f2101ad0750501b704 | /2021/299. Bulls and Cows.cpp | 56de608bb436a2387fb3b31bd7951a9263acf678 | [] | no_license | yangjufo/LeetCode | f8cf8d76e5f1e78cbc053707af8bf4df7a5d1940 | 15a4ab7ce0b92b0a774ddae0841a57974450eb79 | refs/heads/master | 2023-09-01T01:52:49.036101 | 2023-08-31T00:23:19 | 2023-08-31T00:23:19 | 126,698,393 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 583 | cpp | class Solution {
public:
string getHint(string secret, string guess) {
vector<int> countS(10, 0), countG(10, 0);
int bulls = 0;
for (int i = 0; i < secret.size(); i++) {
if (secret[i] == guess[i]) {
bulls++;
} else {
countS[secret[i] - ... | [
"yangjufo@gmail.com"
] | yangjufo@gmail.com |
7d9a372cffd470e9201e89db179d946ff3fb6109 | 30391464217c3cbb306e96d5ac23e21379d22aaf | /rest/String_Sort.cpp | 3cdc940bd045aa3e4c717944657fd94a23df28cd | [] | no_license | Abhisjain/C-programming-Complete-CB-DW | 37dca98c189bff78ed4ad93fdba69cef4cdd2182 | 58a4f3daaf79a10bf32e2058f1e7b71c0185a413 | refs/heads/master | 2020-06-12T03:18:25.992087 | 2019-06-28T00:31:51 | 2019-06-28T00:31:51 | 194,179,536 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,638 | cpp | /*
STRING SORT
Nishant is a very naughty boy in Launchpad Batch. One day he was playing with strings, and randomly shuffled them all. Your task is to help Nishant Sort all the strings ( lexicographically ) but if a string is present completely as a prefix in another string, then string with longer length should come ... | [
"noreply@github.com"
] | Abhisjain.noreply@github.com |
db654d6b8d5c661d23912c77a6778aa72be0f452 | dbc11943d0b660d5bc70f599aa64e6b70a85ac98 | /oops/7.2.virtual functions.cpp | 12359691b7b154ec01417cd2e135c9f0dc4cda12 | [
"LicenseRef-scancode-free-unknown",
"GPL-1.0-or-later",
"GPL-3.0-only",
"MIT"
] | permissive | ManpreetKaur1469/Hacktober_Fest_2021 | f86e2d424eb5c29dae415249d1d4877bbded6c7b | 5f5f70828da50220e2edefad740737fa68481302 | refs/heads/main | 2023-08-28T23:25:49.922924 | 2021-10-31T20:01:01 | 2021-10-31T20:01:01 | 423,251,988 | 0 | 0 | MIT | 2021-10-31T20:21:01 | 2021-10-31T20:21:00 | null | UTF-8 | C++ | false | false | 872 | cpp | #include<iostream>
using namespace std;
class Base{
public:
int x=1;
int y=10;
virtual void print(){
cout<<"base "<<endl;
}
};
class Derived:public Base{
public:
int a= 20;
int b= 40;
void print(){cout<<"Derived"<<endl;}
};
int main(){
Base* ptr=new Deri... | [
"noreply@github.com"
] | ManpreetKaur1469.noreply@github.com |
0e3b58ea763478030ab5f64f0a4526586418e697 | 04e5b6df2ee3bcfb7005d8ec91aab8e380333ac4 | /clang_codecompletion/llvm/DebugInfo/GSYM/FunctionInfo.h | 552337f543901e569ee1ba1ed3a3bbead6a68414 | [
"MIT"
] | permissive | ColdGrub1384/Pyto | 64e2a593957fd640907f0e4698d430ea7754a73e | 7557485a733dd7e17ba0366b92794931bdb39975 | refs/heads/main | 2023-08-01T03:48:35.694832 | 2022-07-20T14:38:45 | 2022-07-20T14:38:45 | 148,944,721 | 884 | 157 | MIT | 2023-02-26T21:34:04 | 2018-09-15T22:29:07 | C | UTF-8 | C++ | false | false | 8,597 | h | //===- FunctionInfo.h -------------------------------------------*- 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
//
//===---------------------------... | [
"emma@labbe.me"
] | emma@labbe.me |
aa817438ef1e2c76c8970b5dd954f8a7feaf087a | e3e333bfc10b1b1a06ffb0df2e6cdc417b4c3a34 | /catalog.cpp | 12a77a192ff3c438e1df9347e1c6f5552ba3e7d7 | [] | no_license | hasbro17/DB-P5-FrontEndDBUtilities | 20c39105b4d5bbc2f54410bd3fe7e060f7ceda16 | 5ece5d25b5cbcf747f035e6af8906d7c6e584576 | refs/heads/master | 2020-06-05T20:34:28.404060 | 2014-12-10T15:55:20 | 2014-12-10T15:55:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,966 | cpp | #include "catalog.h"
RelCatalog::RelCatalog(Status &status) :
HeapFile(RELCATNAME, status)
{
// nothing should be needed here
}
const Status RelCatalog::getInfo(const string & relation, RelDesc &record)
{
if (relation.empty())
return BADCATPARM;
Status status;
Record rec;
RID rid;
//Open up a HeapF... | [
"haseeb@dingo.cs.wisc.edu"
] | haseeb@dingo.cs.wisc.edu |
b5e8844bd17f21225dde42ad6538c804c0f52202 | 032013d17b506b2eb732a535b9e42df148d9a75d | /src/plugins/azoth/plugins/murm/vkconnection.h | 1f300b90cbebf0d8cb7b59df982e6b3cd96e53dc | [
"BSL-1.0"
] | permissive | zhao07/leechcraft | 55bb64d6eab590a69d92585150ae1af3d32ee342 | 4100c5bf3a260b8bc041c14902e2f7b74da638a3 | refs/heads/master | 2021-01-22T11:59:18.782462 | 2014-04-01T14:04:10 | 2014-04-01T14:04:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,297 | h | /**********************************************************************
* LeechCraft - modular cross-platform feature rich internet client.
* Copyright (C) 2006-2014 Georg Rudoy
*
* Boost Software License - Version 1.0 - August 17th, 2003
*
* Permission is hereby granted, free of charge, to any person or organiz... | [
"0xd34df00d@gmail.com"
] | 0xd34df00d@gmail.com |
70a581f30de12229640673549063c928d65e7688 | 4980348eda8918cfccc1857f7f1e56eecc08345f | /Source/Decoda/libs/wxWidgets/include/wx/html/helpdata.h | fcd54d780183ceb3343d740e975bfec257f0f6a8 | [
"MIT"
] | permissive | KoSukeWork/BabeLua | 2d3163a118985676fd621baafa7457d1f6b66044 | 0904f8ba15174fcfe88d75e37349c4f4f15403ef | refs/heads/master | 2023-01-24T12:14:03.548957 | 2020-12-07T11:13:09 | 2020-12-07T11:13:09 | 319,252,369 | 0 | 1 | MIT | 2020-12-07T08:28:27 | 2020-12-07T08:28:26 | null | UTF-8 | C++ | false | false | 9,199 | h | /////////////////////////////////////////////////////////////////////////////
// Name: helpdata.h
// Purpose: wxHtmlHelpData
// Notes: Based on htmlhelp.cpp, implementing a monolithic
// HTML Help controller class, by Vaclav Slavik
// Author: Harm van der Heijden and Vaclav Slavik
//... | [
"kosukework0@gmail.com"
] | kosukework0@gmail.com |
d7b17ba663b221791ec1588262d2bee301c9c5fd | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/mutt/gumtree/mutt_repos_function_567_mutt-1.4.2.3.cpp | 3e6936d519449a22cb47b1e90767874895971f31 | [] | 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 | 179 | cpp | void fgetconv_close (FGETCONV **_fc)
{
struct fgetconv_s *fc = (struct fgetconv_s *) *_fc;
if (fc->cd != (iconv_t)-1)
iconv_close (fc->cd);
safe_free ((void **) _fc);
} | [
"993273596@qq.com"
] | 993273596@qq.com |
a65f70baa57fd3ccdd2b0bb6a875630284dbd717 | 551d70674c26b4e46eda660e8138167334e4352e | /queue.cpp | c5fff2a2cfa4902c9fe82afbe5078b15ad4be46c | [] | no_license | gsauarv/Queue | 7a45e8d263d446d5583878f2b43807e43a25be91 | 9f986792d0d0ae860b47d73e6d6561c4fcd08aad | refs/heads/master | 2020-09-26T11:09:59.467320 | 2019-12-06T03:59:33 | 2019-12-06T03:59:33 | 226,242,715 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,123 | cpp | #include<iostream>
#define size 100
using namespace std;
int a[size];
int front=-1;
int rear =-1;
void enqueue(int value)
{
if(rear==size-1)
{
cout<<"\n"<<"Queue OverFlow";
}
else
{
if(front==-1)
front++;
rear++;
a[rear]=value;
}
}
void dequeue()
{
if(front==-1)
{
cout<<"\n"<<"Queue Overflow";
... | [
"gsaurav2000@gmail.com"
] | gsaurav2000@gmail.com |
925fb2b15f1a31c8f1be2fc6beea316085050b1f | d0fb46aecc3b69983e7f6244331a81dff42d9595 | /eflo/include/alibabacloud/eflo/model/AssociateVpdCidrBlockResult.h | 09ce18de7e8f8e33dd9a487b1bf18037aec4ecc0 | [
"Apache-2.0"
] | permissive | aliyun/aliyun-openapi-cpp-sdk | 3d8d051d44ad00753a429817dd03957614c0c66a | e862bd03c844bcb7ccaa90571bceaa2802c7f135 | refs/heads/master | 2023-08-29T11:54:00.525102 | 2023-08-29T03:32:48 | 2023-08-29T03:32:48 | 115,379,460 | 104 | 82 | NOASSERTION | 2023-09-14T06:13:33 | 2017-12-26T02:53:27 | C++ | UTF-8 | C++ | false | false | 1,569 | h | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
838efefab38b9b4e4e5bc944a806f24fb4bcec4c | 67ce8ff142f87980dba3e1338dabe11af50c5366 | /opencv/src/opencv/modules/dnn/src/layers/crop_and_resize_layer.cpp | 08cf1a47aabfd68cef2bf2e0bb1b13243f5b5a83 | [
"Apache-2.0"
] | permissive | checksummaster/depthmovie | 794ff1c5a99715df4ea81abd4198e8e4e68cc484 | b0f1c233afdaeaaa5546e793a3e4d34c4977ca10 | refs/heads/master | 2023-04-19T01:45:06.237313 | 2021-04-30T20:34:16 | 2021-04-30T20:34:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,882 | cpp | // This file is part of OpenCV project.
// It is subject to the license terms in the LICENSE file found in the top-level directory
// of this distribution and at http://opencv.org/license.html.
// Copyright (C) 2018, Intel Corporation, all rights reserved.
// Third party copyrights are property of their respectiv... | [
"alex@shimadzu.ca"
] | alex@shimadzu.ca |
f74afdb1e74cfe2f218298e841c3db6d76256e07 | e571e187fb7cf617b74226b73dcd236e77f4343e | /src/irc.cpp | dce5e92ef087faf64b34bd1b33c1a996d39d4211 | [
"MIT"
] | permissive | arielshad/Phoenixcoin | d2e4cd6ef6e2bcd3c942ceda9c795d02c84afaa9 | 3f224acab0df765e97ad643b35d2cd6b81d38f79 | refs/heads/master | 2021-04-28T19:34:24.818968 | 2018-01-15T08:40:06 | 2018-01-15T08:40:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,968 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Copyright (c) 2011-2012 Litecoin Developers
// Copyright (c) 2013-2014 Phoenixcoin Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file LICENCE or http://www.opensource.org/licenses/mit... | [
"ghostlander@gmail.com"
] | ghostlander@gmail.com |
498364e2cb923a7e3b57d26378eca0a5634165bc | 93ee0186c389f7e57a6f97188049b79e91cde5b1 | /others/InversionCount/InversionCount/main.cpp | 0f70b53dcc96dda6f2692b784cff8127dd051238 | [] | no_license | BessieChen/Algorithms | e737c6a3a1152d6b3986d4504b292f7bc31b806b | 14ff4e4b53b3e23d2aebde14b8c92ef4fc7b9e27 | refs/heads/master | 2021-02-07T23:41:58.302326 | 2020-03-01T04:40:31 | 2020-03-01T04:40:31 | 244,088,471 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,034 | cpp | //
// main.cpp
// InversionCount
//
// Created by 陈贝茜 on 2019/7/1.
// Copyright © 2019 Bessie Chen. All rights reserved.
//
#include <iostream>
#include "TestHelper.h"
#include "InverseCount.h"
using namespace std;
int main() {
int n = 1000000;
// 测试1: 测试随机数组
cout<<"Test Inversion Count for ... | [
"bchen372@gatech.edu"
] | bchen372@gatech.edu |
b7cad59e7ee11b06fe75c6810020ed9006ec5bc8 | 3cd1e6cff03461acf5edc1d25f253f1a0af383d0 | /lib/Target/MSP430/MSP430ISelLowering.h | d8ad02fca40394c6e30f054a103ac05bde97866e | [
"NCSA"
] | permissive | Quantum-Platinum-Cloud/llvmCore | aacb91b619df609f1baf91df966e31a15bda31cc | 06636e2aa0be8e24b9c3ed903480bdd49471ee5d | refs/heads/main | 2023-08-23T17:42:51.782394 | 2013-10-29T00:03:36 | 2021-10-06T05:26:44 | 589,028,216 | 1 | 0 | NOASSERTION | 2023-01-14T20:31:25 | 2023-01-14T20:31:24 | null | UTF-8 | C++ | false | false | 7,302 | h | //===-- MSP430ISelLowering.h - MSP430 DAG Lowering Interface ----*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"91980991+AppleOSSDistributions@users.noreply.github.com"
] | 91980991+AppleOSSDistributions@users.noreply.github.com |
db54602639a03f88443400d20207ee8016b0b0e5 | 296baf47d116a1ac101e2461ac003e39a11588ef | /1022.cpp | c412a5313d66e24b7122825c4412e34536babe6f | [] | no_license | AnaRaquelCP/URI-solutions | 46e658060b425e84bf90ddee5db982e5346114da | af42cfd251d16f5af5757af88bdc44ae9859790f | refs/heads/master | 2020-05-02T03:42:29.654656 | 2015-08-22T15:31:22 | 2015-08-22T15:31:22 | 41,211,937 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,489 | cpp | #include <iostream>
#include <cmath>
using namespace std;
int mdc(int a, int b) {
if (b == 0)
return a;
return mdc(b, a % b);
}
class Racional {
int num;
int den;
char sinal;
public:
Racional() { sinal = ' '; }
Racional(int n, int d) {
num = n;
... | [
"anaraquel@frconsultoria.com.br"
] | anaraquel@frconsultoria.com.br |
f31753962883c4d859e70c55868ea6f88e6b19c7 | f4d47239db040bd5a3842ae92e9b3e65a9df0d87 | /calibration_common/include/calibration_common/objects/with_points.h | a0fd2f76750b9b0693a6d72f1974172f03cc9900 | [
"BSD-2-Clause"
] | permissive | iaslab-unipd/calibration_toolkit | b3931aa3e6d29af1273e8253a10e5f5e2d7bd9b0 | ef9a6f7c6e83ac8c1a052f6f4f4887d60f001212 | refs/heads/indigo | 2022-01-20T06:04:20.972129 | 2016-01-07T11:33:11 | 2016-01-07T11:33:11 | 15,998,666 | 27 | 16 | BSD-3-Clause | 2022-01-10T14:08:31 | 2014-01-17T12:02:29 | C++ | UTF-8 | C++ | false | false | 2,095 | h | /*
* Copyright (c) 2015-, Filippo Basso <bassofil@gmail.com>
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* 1. Redistributions of source code must retain the above copyright
*... | [
"bassofil@gmail.com"
] | bassofil@gmail.com |
c05c10701e1418d4e0473513614ad57b9b37a54a | 09bdb299a70cc773cfaa1a2c814d39df05aa8656 | /TeapotAD/TeapotAD/scenediffuse.h | 2c97c423c467ca0a14b3a24b287d2deb26d3d2d5 | [] | no_license | imat2908/lighting-Xeltania | 82e9183c309ede7376591ef2b21cfcb747cd1491 | 45c1e455e9f59947996cd3437a14b57ab9ed9e74 | refs/heads/master | 2022-04-09T23:12:16.751262 | 2020-03-25T11:07:10 | 2020-03-25T11:07:10 | 248,068,363 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 929 | h | #ifndef SCENEDIFFUSE_H
#define SCENEDIFFUSE_H
#include "gl_core_4_3.hpp"
#include <glfw3.h>
#include "scene.h"
#include "glslprogram.h"
#include "vboteapot.h"
#include "vboplane.h"
#include <glm.hpp>
using glm::mat4;
namespace imat2908
{
class SceneDiffuse : public Scene
{
private:
GLSLProgram prog;
in... | [
"natalie-mitchell1@hotmail.co.uk"
] | natalie-mitchell1@hotmail.co.uk |
049fdab3ef5e730abacb96c578a8a9be0a63d587 | 38c10c01007624cd2056884f25e0d6ab85442194 | /content/child/child_resource_message_filter.h | 2a92fcc5fb8e0e10fc2bd0f1713a8ce511a0c00e | [
"BSD-3-Clause"
] | permissive | zenoalbisser/chromium | 6ecf37b6c030c84f1b26282bc4ef95769c62a9b2 | e71f21b9b4b9b839f5093301974a45545dad2691 | refs/heads/master | 2022-12-25T14:23:18.568575 | 2016-07-14T21:49:52 | 2016-07-23T08:02:51 | 63,980,627 | 0 | 2 | BSD-3-Clause | 2022-12-12T12:43:41 | 2016-07-22T20:14:04 | null | UTF-8 | C++ | false | false | 1,932 | h | // Copyright 2013 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 CONTENT_CHILD_CHILD_RESOURCE_MESSAGE_FILTER_H_
#define CONTENT_CHILD_CHILD_RESOURCE_MESSAGE_FILTER_H_
#include "base/memory/ref_counted.h"
#inclu... | [
"zeno.albisser@hemispherian.com"
] | zeno.albisser@hemispherian.com |
cff21d607261d1f1e7e44a2922034e7278ac3d06 | a291084d56ad29a280a12830415fba2a87de8000 | /546A - Soldier and Bananas.cpp | 1fe1d7782d3af9f0362c72751ff757e1c913ff8a | [] | no_license | amanmj/CodeForces | 9ccbd3d5d5a3e593ed6688ce7813471ad0fc1c46 | 0c37add4406aebf0ffddc09fd82014e9b0c3e01b | refs/heads/master | 2021-01-21T22:26:18.986110 | 2016-06-05T06:11:19 | 2016-06-05T06:11:19 | 48,799,046 | 0 | 0 | null | 2015-12-30T12:09:31 | 2015-12-30T12:09:31 | null | UTF-8 | C++ | false | false | 269 | cpp | #include<stdio.h>
#include<iostream>
int main(void)
{
long long int n,k,w;
std::cin>>n>>k>>w;
long long int ans;
ans=(w*(w+1))/2;
ans*=n;
ans-=k;
if(ans<=0)
printf("0");
else
std::cout<<ans;
return 0;
} | [
"amanmj95@gmail.com"
] | amanmj95@gmail.com |
16d90c5d45aeafa2cbb6995a37c91b658e7703e0 | 211fcb30d2c0068d88074c646258b31e008fd32b | /AtCoder/abc/abc029/c.cpp | d5055906a028051881f278b5bec5fdb5c8692176 | [] | no_license | makecir/competitive-programming | 2f9ae58284b37fab9aed872653518089951ff7fd | be6c7eff4baf07dd19b50eb756ec0d5dc5ec3ebf | refs/heads/master | 2021-06-11T08:10:17.375410 | 2021-04-13T11:59:17 | 2021-04-13T11:59:17 | 155,111,372 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,604 | cpp | #include <bits/stdc++.h>
using namespace std;
using ll=long long;
using vb=vector<bool>;
using vvb=vector<vb>;
using vd=vector<double>;
using vvd=vector<vd>;
using vi=vector<int>;
using vvi=vector<vi>;
using vl=vector<ll>;
using vvl=vector<vl>;
using pll=pair<ll,ll>;
using tll=tuple<ll,ll>;
using vs=vector<string>;
#de... | [
"konpeist@yahoo.co.jp"
] | konpeist@yahoo.co.jp |
ee314adc625320f5d9816b1570c675c1fe31b614 | 47f89380f778b6ee8311678e48970ea710e8c1a8 | /atask/Repair.h | 6b911bd6b6c802d679fbd160e8cb3032f8f21c47 | [] | no_license | hoijui/E323AI | f53a0fb388b67557fc92f38835343a85ef01135a | c4fcac72b77cff352350326c01ecab2d0ba9b388 | refs/heads/master | 2021-01-17T23:26:30.279240 | 2010-12-17T00:35:34 | 2010-12-17T00:35:34 | 358,032 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 595 | h | #ifndef E323_TASKREPAIR_H
#define E323_TASKREPAIR_H
#include "../ATask.h"
class UnitType;
struct RepairTask: public ATask {
RepairTask(AIClasses* _ai): ATask(_ai) { t = TASK_REPAIR; }
RepairTask(AIClasses* _ai, int target, CGroup& group);
/* build type to string */
static std::map<buildType, std::st... | [
"slspam@land.ru"
] | slspam@land.ru |
63a44738d3935a6895c0fe695b00b6a11e54480d | 35321390460c43a8003f8b613ce20b3c733ee6ed | /cpp_bomberman/map/AI.cpp | d65fa7539bfb8d41a3d881105de36048ef6a1819 | [] | no_license | Vypz/Global-project | 39540c59bc316b1cd23a9e7777e853c42a02c3bc | 72aa8c00d5934d542aa9484501cb5d6ae3f49829 | refs/heads/master | 2023-09-02T05:09:35.173690 | 2021-09-22T15:01:34 | 2021-09-22T15:01:34 | 197,783,486 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,130 | cpp | //
// AI.cpp for in /home/mar_j/rendu/cpp_bomberman/map
//
// Made by julien martini
// Login <mar_j@epitech.net>
//
// Started on Wed Jun 4 15:21:38 2014 julien martini
// Last update Sun Jun 15 18:59:52 2014 virgile prideaux
//
#include "AI.hh"
AI::AI(int x, int y)
: Character(x, y, true), _x(0), _y(0), _b... | [
"julien.martini26@gmail.com"
] | julien.martini26@gmail.com |
262c7efc13479617ceea9cf978b24a3c15b10776 | 2e3f7d511efc89fa54c99545ce5e0bcbe9456974 | /apps/jpegresize/lib_pers_mc/src_model/JpegDecode.h | fb70509745990492826b323e2ac38fc872496e55 | [
"BSD-3-Clause"
] | permissive | PacificBiosciences/OpenHT | a3aab4ddf01c9339899531d737de4ee38a35bd2e | 63898397de4d303ba514d88b621cc91367ffe2a6 | refs/heads/master | 2021-06-03T19:43:09.920841 | 2020-09-24T14:32:52 | 2020-09-24T14:32:52 | 33,895,564 | 1 | 1 | null | 2015-04-13T21:39:54 | 2015-04-13T21:39:53 | null | UTF-8 | C++ | false | false | 3,608 | h | /* Copyright (c) 2015 Convey Computer Corporation
*
* This file is part of the OpenHT jpegscale application.
*
* Use and distribution licensed under the BSD 3-clause license.
* See the LICENSE file for the complete license text.
*/
#pragma once
#include <stdint.h>
#include <assert.h>
#include <queue>
using name... | [
"github.com@RuffFamily.net"
] | github.com@RuffFamily.net |
08232d4e9ea84b480e68b008b848651d3168c2cc | e53074d668e8eea241e2afa5aa42890bedb78cd9 | /Project1/Project1/Source/Engine/GraphicsSystem/Enumerations/BlendFactor.h | 0367a2484ab0a9d8278869d38b83e3f418083a10 | [] | no_license | ReU1107/Project1 | 9f1e2ab128744c321f56219679cdb2a33072dd9f | dfae75c51981c29a5a578b1e754524476d1a6809 | refs/heads/master | 2020-12-26T19:13:20.864694 | 2020-10-29T11:51:13 | 2020-10-29T11:51:13 | 237,610,628 | 1 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 823 | h | #pragma once
#include <cstdint>
namespace Engine
{
namespace GraphicsSystem
{
enum class BlendFactor : uint8_t
{
Zero, // (0,0,0,0)
One, // (1,1,1,1)
SourceColor, // (Sr,Sg,Sb,Sa)
InverseSourceColor, // (1-Sr,1-Sg,1-Sb,1-Sa)
SourceAlpha, // (Sa,Sa,Sa,Sa)
InverseSourceAlpha, ... | [
"reu1107@yahoo.co.jp"
] | reu1107@yahoo.co.jp |
9a3caf28f046a5e14b6e81909fac04928976f58a | dd5356457879b9edf8c982a412e0068f94da697d | /SDK/RoCo_WBP_KeyboardBackButton_classes.hpp | 3144156bfaee6e5c5c14a8477172c45257bbb6de | [] | no_license | ALEHACKsp/RoCo-SDK | 5ee6567294674b6933dcd0acda720f64712ccdbf | 3a9e37be3a48bc0a10aa9e4111865c996f3b5680 | refs/heads/master | 2023-05-14T16:54:49.296847 | 2021-06-08T20:09:37 | 2021-06-08T20:09:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,795 | hpp | #pragma once
// Rogue Company (0.60) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "RoCo_WBP_KeyboardBackButton_structs.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//----------------------------------------------------------------------... | [
"30532128+pubgsdk@users.noreply.github.com"
] | 30532128+pubgsdk@users.noreply.github.com |
231582750cadc766ad8c216064ceeac3216d9988 | cccfb7be281ca89f8682c144eac0d5d5559b2deb | /chromeos/services/libassistant/grpc/external_services/action_service.cc | d30a2edfc1111459877079213385a3ea975c7d8a | [
"BSD-3-Clause"
] | permissive | SREERAGI18/chromium | 172b23d07568a4e3873983bf49b37adc92453dd0 | fd8a8914ca0183f0add65ae55f04e287543c7d4a | refs/heads/master | 2023-08-27T17:45:48.928019 | 2021-11-11T22:24:28 | 2021-11-11T22:24:28 | 428,659,250 | 1 | 0 | BSD-3-Clause | 2021-11-16T13:08:14 | 2021-11-16T13:08:14 | null | UTF-8 | C++ | false | false | 10,260 | cc | // Copyright 2021 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 "chromeos/services/libassistant/grpc/external_services/action_service.h"
#include "base/memory/ptr_util.h"
#include "base/strings/string_number_... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
0e05b2413593fdd11e62c9f583c6756e5926ab97 | c3f18073dac4767129e28dece885dc95525c1f53 | /LeetCode/Tag/Hash-Table/cpp/705.design-hashset.cpp | 270031420342937aff8c9c4f16e37d6e3f9fc026 | [
"MIT"
] | permissive | sunnysetia93/competitive-coding-problems | 670ffe1ec90bfee0302f0b023c09e80bf5547e96 | e8fad1a27a9e4df8b4138486a52bef044586c066 | refs/heads/master | 2023-08-09T04:31:24.027037 | 2023-07-24T12:39:46 | 2023-07-24T12:39:46 | 89,518,943 | 20 | 22 | MIT | 2023-07-24T12:39:48 | 2017-04-26T19:29:18 | JavaScript | UTF-8 | C++ | false | false | 942 | cpp | class MyHashSet {
vector<vector<bool>> bucket;
public:
/** Initialize your data structure here. */
MyHashSet() {
bucket.resize(1001, vector<bool>());
}
void add(int key) {
int keyHash = key / 1000;
if (bucket[keyHash].empty()) bucket[keyHash].resize(1000, false);
b... | [
"bhavi.dhingra1@swiggy.in"
] | bhavi.dhingra1@swiggy.in |
03b4efbfdc3f6a5e115b296b4866d73a5d948799 | 85371e644ed7597d8ef50f3b3af7effeeb1f1d7d | /2. ImageRectification2/2steps_remove_distortion/stdafx.cpp | 4f95b594e5548a1b7d81672d2332ac7cebdd8a0a | [] | no_license | enoch-lee/Computer-Geometry-Experiment | 76986cd951c911e0951f7cb85c613cfb7ac78354 | d83b110d36afccec20b3ff45f1a792e5987b3271 | refs/heads/master | 2021-07-10T15:04:09.626770 | 2017-10-10T04:16:31 | 2017-10-10T04:16:31 | 104,299,837 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 306 | cpp | // stdafx.cpp : source file that includes just the standard includes
// HW1_2step_remove_distortion.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
// TODO: reference any additional headers you need in STDAFX.H
// and not in this file
| [
"lzsapril666@gmail.com"
] | lzsapril666@gmail.com |
127f694fa013f2080051dac7833657798b7cfc75 | 602e0f4bae605f59d23688cab5ad10c21fc5a34f | /MyToolKit/NumericalRecipes/examples/xellf.cpp | 3ffe929e488a72ce85c4b0adf11802fda68ca994 | [] | no_license | yanbcxf/cpp | d7f26056d51f85254ae1dd2c4e8e459cfefb2fb6 | e059b02e7f1509918bbc346c555d42e8d06f4b8f | refs/heads/master | 2023-08-04T04:40:43.475657 | 2023-08-01T14:03:44 | 2023-08-01T14:03:44 | 172,408,660 | 8 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 1,236 | cpp | #include <fstream>
#include <iostream>
#include <iomanip>
#include <string>
#include <cmath>
#include "nr.h"
using namespace std;
// Driver for routine ellf
int main(void)
{
const DP FAC=3.141592653589793238/180.0;
string txt;
int i,nval;
DP ak,alpha,phi,val;
ifstream fp("fncva... | [
"yangbin@star-net.cn"
] | yangbin@star-net.cn |
56295d761ef06ad03730ea62e8f4ad8f9a594e03 | 032013d17b506b2eb732a535b9e42df148d9a75d | /src/plugins/monocle/plugins/dik/dik.h | 671bc84ae1fda7e7dfc69362e34c35759bf2a02a | [
"BSL-1.0"
] | permissive | zhao07/leechcraft | 55bb64d6eab590a69d92585150ae1af3d32ee342 | 4100c5bf3a260b8bc041c14902e2f7b74da638a3 | refs/heads/master | 2021-01-22T11:59:18.782462 | 2014-04-01T14:04:10 | 2014-04-01T14:04:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,394 | h | /**********************************************************************
* LeechCraft - modular cross-platform feature rich internet client.
* Copyright (C) 2006-2014 Georg Rudoy
*
* Boost Software License - Version 1.0 - August 17th, 2003
*
* Permission is hereby granted, free of charge, to any person or organiz... | [
"0xd34df00d@gmail.com"
] | 0xd34df00d@gmail.com |
b10a9f07c593389596f763d2044979b0da3d1af0 | 1145a4f5335d8cf966f9fa5a93df8fbdd8ff9fe4 | /src/test/prevector_tests.cpp | 525c1b87f7a36901a4db7af69c1dfb01d54742ce | [
"MIT"
] | permissive | RapidsOfficial/Rapids | 40a6a143eef9628c2fbe8c436012a2a0621df093 | cddbdb9514834357dfe49bb037e069f300be144b | refs/heads/4.0 | 2022-12-26T12:15:34.511952 | 2022-12-13T20:16:02 | 2022-12-13T20:16:02 | 180,844,322 | 74 | 29 | MIT | 2022-12-13T20:16:03 | 2019-04-11T17:29:29 | C++ | UTF-8 | C++ | false | false | 7,534 | cpp | // Copyright (c) 2015 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 <vector>
#include "prevector.h"
#include "random.h"
#include "serialize.h"
#include "streams.h"
#include "test/test_piv... | [
"random.zebra@protonmail.com"
] | random.zebra@protonmail.com |
117565fb677d3ce2ced2b2405919b16226a44f8b | 466791528d608f092de2a179e0cac60c7d27d4cd | /libraries/core/database/database.hpp | bbd19df4cee6e19c8df77a05114f09174474fc26 | [
"Unlicense"
] | permissive | PhilipMourdjis/cmake-object-libraries | 11f03cd44c87bbabff401bab726d4f889be6d73a | 8634f5722fb4e9e36431c71f95314c7c83986a0d | refs/heads/master | 2021-11-10T15:30:58.259477 | 2021-10-28T15:16:18 | 2021-10-28T15:16:18 | 184,545,434 | 0 | 0 | null | 2019-05-02T08:20:18 | 2019-05-02T08:20:17 | null | UTF-8 | C++ | false | false | 148 | hpp | #include <string>
namespace core::database
{
void printString(const std::string& someString);
int returnNumberTwo();
} // namespace core::database | [
"philip.j.m@gmail.com"
] | philip.j.m@gmail.com |
6f020d54ea1816227efe04dc877406fd30cdd747 | 2111c552355a578e7c2f125a7226453df7d095be | /kClistMatrix.cpp | f5546ba8f3aaa53c642a1a1b61a15b052bfc180d | [] | no_license | CaitlinKennedy/k-clique-matrix | ede2d58b1f3e2751cbacbc8316f0d71b5f380b3e | 3dd17ed053e3bb4ca87de7134f8f88044558725d | refs/heads/master | 2020-03-16T04:41:09.082713 | 2018-06-02T15:52:01 | 2018-06-02T15:52:01 | 132,516,763 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,890 | cpp | /*
Info:
Feel free to use these lines as you wish.
This program iterates over all k-cliques. It is highly scallable.
To compile:
"gcc kClistDens.c -O9 -o kClistDens -fopenmp".
To execute:
"./kClistDens p k edgelist.txt".
"edgelist.txt" should contain the graph: one edge on each line separated by a space.
k is the siz... | [
"kenned67@purdue.edu"
] | kenned67@purdue.edu |
dca335e62736e36adb2ef4817c4a5d57a6e6a3de | ed4389138e32c59b86908ff8e6ed056fe898152d | /src/pubkey.cpp | e92890765df9d6818c2cc9510eab15c6c5e524e8 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | sphinxcoin/sphinx-old | 3728c34048d0585f4c3932034e3ce424313e6488 | 589464539ef66e8ce3a6173bb755a83a1cb296fa | refs/heads/master | 2020-03-26T04:47:28.786704 | 2018-09-19T15:03:15 | 2018-09-19T15:03:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,202 | cpp | // Copyright (c) 2009-2014 The Bitcoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "pubkey.h"
#include "script/script.h"
#include <secp256k1.h>
#include <secp256k1_recovery.h>
namespace
{
/* Global secp... | [
"support@sphinx-coin.com"
] | support@sphinx-coin.com |
ceb4c5fb9d40bd582334173faf1a395f7925cbd1 | d79408a9616a8ff8ac9375b9fffaa45ae6698fd5 | /src/qt/clientmodel.cpp | ceaefc49bf2359a7306fc37a5285b790af4569a6 | [
"MIT"
] | permissive | Schepses/nero | 6c77f5df6afd36a6ebcb14af1d8257d918d7bda7 | 7ec5e3a6c7f1c75f5ec15b1f4d0bcb9cdc0ec9b0 | refs/heads/master | 2020-03-07T13:43:18.425050 | 2018-03-28T12:27:27 | 2018-03-28T12:27:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,779 | cpp | // Copyright (c) 2011-2015 The Bitcoin Core developers
// Copyright (c) 2014-2017 The Nero Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "clientmodel.h"
#include "bantablemodel.h"
#include "guiconstan... | [
"root@DS792121.clientshostname.com"
] | root@DS792121.clientshostname.com |
ba9281141a42416d8ed17d2fca3e69cbd99991fd | c7300b157b6b01761949dc742f45c16ed5723956 | /ScMedia/include/MediaSdk.h | 3ef15d3c7a4c7b68ae8ea1d9bc6229d9d14b6cb2 | [] | no_license | chxj1980/SimpleCpp | 64f3fe2272bae90e6202ac55f7cc8ad296bfdd23 | 5134f996421721cfde73d0c76890894a0a1462bf | refs/heads/master | 2021-09-07T20:13:40.289732 | 2018-02-28T10:51:20 | 2018-02-28T10:51:20 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,083 | h | // 下列 ifdef 块是创建使从 DLL 导出更简单的
// 宏的标准方法。此 DLL 中的所有文件都是用命令行上定义的 VIVSMEDIABOX_EXPORTS
// 符号编译的。在使用此 DLL 的
// 任何其他项目上不应定义此符号。这样,源文件中包含此文件的任何其他项目都会将
// VIVSMEDIABOX_API 函数视为是从 DLL 导入的,而此 DLL 则将用此宏定义的
// 符号视为是被导出的。
#ifndef MEDIA_SDK_H
#define MEDIA_SDK_H
#ifdef WIN32
#ifdef VIVSMEDIABOX_EXPORTS
#define MEDIASDK_API __decls... | [
"12371731@qq.com"
] | 12371731@qq.com |
652c2b1be0cb1737728345017668f5db711d4a9b | 8ecc0311feb77802ece89f12153f79192897a729 | /LeetCode_Cpp/leetcode_cpp/数组/1502_判断能否形成等差数列.cpp | 1e7dd3c8d58654e498cd04cb8682568eb7531920 | [] | no_license | zhxiongfei/leetcode-Cpp | 3ce4026ba5d92d1a092d18a6ed2c2e3103d4246d | 3972c1b4d1cc61ab0fbe97f4102ac831e1f7103d | refs/heads/master | 2023-02-28T12:08:42.377794 | 2021-02-05T09:22:05 | 2021-02-05T09:22:05 | 277,428,290 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 530 | cpp | //
// 1502_判断能否形成等差数列.cpp
// leetcode_cpp
//
// Created by 飞熊 on 2020/7/17.
// Copyright © 2020 飞熊. All rights reserved.
//
#include <stdio.h>
#include "vector"
using namespace std;
class Solution {
public:
bool canMakeArithmeticProgression(vector<int>& arr) {
sort(arr.begin(), arr.end());
... | [
"310311589@qq.com"
] | 310311589@qq.com |
4b00579881096920e5bd47c9a5cbbfe38761164a | 2d98b85b551a53ca74f40db5a8bbb4a81d94f308 | /pr1id314/src/item.cc | 12e70e8c05b98c78dff26468fbd19c5df4dd6d2f | [] | no_license | djuber/MCS-360 | 6528dca02669b0cbedb59f4288c1efe70bace986 | 93a54088101f189709d914b807dc5516a2115d86 | refs/heads/master | 2016-09-16T11:33:13.672712 | 2011-12-03T19:41:49 | 2011-12-03T19:41:49 | 2,905,714 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,103 | cc | /** @file item.cc
@author Daniel Uber
@brief Item::supplier modifiers using lookup table.
*/
#include "item.h"
#include "project1.h"
#include "dollar.h"
#include <string>
#include <iostream>
#include <cstring>
/** generate an empty new Item */
Item::Item()
{
currentMonth = INVALID;
name = "*";
code... | [
"djuber@gmail.com"
] | djuber@gmail.com |
2e293d94e4f40fcf4ce97b39ba781fcc623d985a | 05281e151cc7663c3faec9706498f159723efd18 | /Resources.cpp | 58c2951596f051dc30a91f66be1e1e9120e56196 | [] | no_license | ezh/ENikiBENiki | 843781503ce45d16e7d7497c46aff980883360e4 | 7e1346785feea786272ba3a769b5c788e9f3572d | refs/heads/master | 2016-09-06T19:53:16.784322 | 2010-08-30T07:56:58 | 2010-08-30T07:56:58 | 721,702 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,182 | cpp | /***************************************************************************
* Copyright (C) 2010 Alexey Aksenov, Alexx Fomichew *
* Alexey Aksenov (ezh at ezh.msk.ru) software, firmware *
* Alexx Fomichew (axx at fomichi.ru) hardware *
* ... | [
"ezh@ezh.msk.ru"
] | ezh@ezh.msk.ru |
d75158722cbb245bfe647a659579074ef34cebaf | dca653bb975528bd1b8ab2547f6ef4f48e15b7b7 | /tags/wxPy-2.9.0.1/src/common/mimecmn.cpp | 1121e348a7f1fc0623568271a8d409850610fbec | [] | no_license | czxxjtu/wxPython-1 | 51ca2f62ff6c01722e50742d1813f4be378c0517 | 6a7473c258ea4105f44e31d140ea5c0ae6bc46d8 | refs/heads/master | 2021-01-15T12:09:59.328778 | 2015-01-05T20:55:10 | 2015-01-05T20:55:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,808 | cpp | /////////////////////////////////////////////////////////////////////////////
// Name: src/common/mimecmn.cpp
// Purpose: classes and functions to manage MIME types
// Author: Vadim Zeitlin
// Modified by:
// Chris Elliott (biol75@york.ac.uk) 5 Dec 00: write support for Win32
// Created: 23.09.98
/... | [
"RD@c3d73ce0-8a6f-49c7-b76d-6d57e0e08775"
] | RD@c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 |
4f857b20b28f4cffd6db23e75f28ec9004f751c1 | 695d24f3778e942b534eeb890f901e9139b774ca | /mapperview.h | 706f15c4eee0abb42c512386b725e834c3442c9b | [] | no_license | mdirks/mygui | a94d0c5d1301417525fc902a854e256693bdcc3c | 5b6df7d32e8807cc08512179e539b8902be787b7 | refs/heads/master | 2021-05-09T10:22:58.755543 | 2018-02-04T12:17:19 | 2018-02-04T12:17:19 | 118,960,382 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,016 | h | //
// C++ Interface: mapperview
//
// Description:
//
//
// Author: Marcus Dirks <marcus.dirks@web.de>, (C) 2006
//
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef MAPPERVIEW_H
#define MAPPERVIEW_H
#include <mapping/abstractmapper.h>
#include <QListWidget>
#include <QDialog>
/**
@au... | [
"md@home.de"
] | md@home.de |
e10d95ea0f72469bbad995256aa22fcb17724d32 | 6862ca933634582bf636d01d7961c810496668ad | /Enemy.h | c6f822142f2d4488fe327182bed4aa73b0c0f390 | [] | no_license | carloshlz/Galaga | 799cd90f4f3615c7fe90f27117fbc70aee6a2086 | 3e208eaa0d63135d8a85e04ce4e65507770103ad | refs/heads/master | 2020-03-08T07:03:59.684315 | 2018-04-25T09:00:44 | 2018-04-25T09:00:44 | 127,985,887 | 0 | 1 | null | 2018-04-04T01:02:06 | 2018-04-04T00:46:00 | C++ | UTF-8 | C++ | false | false | 4,549 | h | //
// Enemy.h
// Launch
//
// Created by Peter Doe on 4/10/18.
// Copyright © 2018 Peter Doe. All rights reserved.
//
#ifndef Enemy_h
#define Enemy_h
#include "Color.h"
#include "SDL_Plotter.h"
#include "Rectangle.h"
#include "Texture.h"
#include <iostream>
#include <ctime>
using namespace std;
//Global Variabl... | [
"noreply@github.com"
] | carloshlz.noreply@github.com |
490a029aa3da706c0d07533ccc8749160154bb04 | ff0d14df1484fbbd37cc8aa5fbb7629670ffa445 | /Tutorials/EB/MacProj/initEB.cpp | 2d5c867892610ed74b559f83be025cf36bd14909 | [
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | ghweber/amrex | c4c56cc69a519318f78c511f20a6c63f6b064ea7 | 165e36b28cdd5d9ab0448346a3bd8c2a8e7357f3 | refs/heads/master | 2020-05-07T00:58:49.935338 | 2019-04-09T01:35:17 | 2019-04-09T01:35:17 | 180,254,174 | 0 | 0 | NOASSERTION | 2019-04-09T00:32:43 | 2019-04-09T00:32:43 | null | UTF-8 | C++ | false | false | 170 | cpp | #include <AMReX_ParmParse.H>
#include <AMReX_EB2_IF.H>
#include "initEB.H"
using namespace amrex;
void initEB (const Geometry& geom)
{
EB2::Build(geom, 0, 30);
}
| [
"weiqunzhang@lbl.gov"
] | weiqunzhang@lbl.gov |
be5f71f5158f44462fb302e9954d37f4541363db | c1970ee06cb34a6c670cf26bdde2bbbe38abaa66 | /libiec61131parser/runtime/tree/pattern/ParseTreePatternMatcher.cpp | 3c61b937ee133096cc615beeed8b8247af0475a5 | [] | no_license | aeon32/speedometer_qml | 79b00364c40260c70088610099fc20c26e69e567 | 36a971fbc5b77c9e166573140adbcbc848dcea04 | refs/heads/master | 2023-06-02T02:24:27.380346 | 2021-06-15T14:43:29 | 2021-06-15T14:43:29 | 157,600,258 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,662 | cpp | /* Copyright (c) 2012-2017 The ANTLR Project. All rights reserved.
* Use of this file is governed by the BSD 3-clause license that
* can be found in the LICENSE.txt file in the project root.
*/
#include "tree/pattern/ParseTreePattern.h"
#include "tree/pattern/ParseTreeMatch.h"
#include "tree/TerminalNode.h"
#inclu... | [
"aeon32@mail.ru"
] | aeon32@mail.ru |
2fddaa517e6c9e21ae99fd446f1c68da2fc4aea2 | 68378ddb7462a2c0cf07a7e5b0783227bfaea324 | /server-code/src/service/ai_service/message_handle/AIMessageHandle.cpp | 1363b5b634c2d16e072d05ef3a5b7ef16c78c57d | [] | no_license | blockspacer/mmo-server | 7e973a9509230025373c196b3b3d0a6ca078fec4 | 9b170f9e9307ee8c2b6d191d99f7e2c35a84626c | refs/heads/master | 2022-12-07T04:18:20.870326 | 2020-08-28T02:44:05 | 2020-08-28T02:44:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,562 | cpp | #include "AIActor.h"
#include "AIActorManager.h"
#include "AIMessageHandler.h"
#include "AIMonster.h"
#include "AIPhase.h"
#include "AIPlayer.h"
#include "AIScene.h"
#include "AISceneManagr.h"
#include "AIService.h"
#include "NetMSGProcess.h"
#include "msg/world_service.pb.h"
#include "msg/zone_service.pb.h"
#include "... | [
"yanwei1983@gmail.com"
] | yanwei1983@gmail.com |
a0e05d3fb31c57aa8587f7636df3c969789d3fe9 | 3f8f433d15411ddf586fd3dae8b7ed1036cb2ff5 | /Classes/Hero/liyuanba.h | c573ec6a89d2ab66947004bda6fb1f42fc7b8982 | [] | no_license | jj918160/dame-01 | 80d2c6028647f3d5f6beff4792c08f5f9147f25b | 8bef9e56d267cbb6894862b6b605e4024e803598 | refs/heads/master | 2021-01-10T09:10:29.346792 | 2015-09-23T12:30:05 | 2015-09-23T12:30:05 | 42,991,659 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 540 | h | //
// liyuanba.h
// animate_homework
//
// Created by mac on 15-8-5.
//
//
#ifndef __animate_homework__liyuanba__
#define __animate_homework__liyuanba__
#include <stdio.h>
#include "zhaoyun.h"
class liyuanba:public zhaoyun{
public:
CREATE_FUNC(liyuanba);
virtual bool init();
virtual void loading_a... | [
"446413497@qq.com"
] | 446413497@qq.com |
36bebd934e2f01efa0c1bf2ea9ed3f3148e9a1a2 | 0863f22aaf519dafa168cfb67033fa9b9e5066a6 | /structure.cpp | 085e877865368a6b637f28185070381253e30aa0 | [] | no_license | anirudhasj441/CPP-Programing | 3f132a755f91a51f42d98aaa6850eca7c16ba703 | 6d99836161f8594aa6baf96c75f6330aa3547805 | refs/heads/master | 2020-09-14T15:54:15.456236 | 2019-11-21T13:02:01 | 2019-11-21T13:02:01 | 223,175,408 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 791 | cpp | #include<iostream>
using namespace std;
struct employee{
private:
int id;
string name;
float salary;
public:
void input(int id,string name,float salary){
this->id = id;
this->name = name;
this->salary = salary;
}
void display(){... | [
"anirudhasj441@gmail.com"
] | anirudhasj441@gmail.com |
49923ab513a39156e15a824531255dcf2459d590 | fbbbc190890e1658effdf406618574bdd84b21e3 | /Solutions/Set6_The_Death_Eaters.cpp | e925088152c82926c2bb94372a19bf0ceef0d3fc | [] | no_license | acm-svnit/Summer_challenge2021 | c869b54b83c03d5fdb4c2a4a7053a9e892a3d61c | d6701821746306057176e36a05b7819cb54322e6 | refs/heads/master | 2023-05-31T13:49:39.550137 | 2021-07-01T04:11:04 | 2021-07-01T04:11:04 | 381,662,987 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 920 | cpp | #include <bits/stdc++.h>
using namespace std;
#define ll long long int
#define mod 1000000007
#define pb push_back
#define ff first
#define ss second
typedef pair<int,int> pp;
const int N=2e5+7;
void solve(){
int n;
cin>>n;
int a[n];
queue<int> q;
for(int i=0;i<n;i++){
cin>>... | [
"officewalamustafa@gmail.com"
] | officewalamustafa@gmail.com |
9b1d88c86db956660ab390caafe5ee66a24ae873 | a0e1fc02eb3154aaad33c58979c24314a02aed4b | /qt/lab3/mainwindow.h | f95560b228c05bcdc6d570ef627a05d0a3cbde00 | [] | no_license | antuan1996/univer-2year- | 76bdb5c27280bdc53cb8625461a5d2af53cfb54c | e8df98a212e93271234f835757462bb9dc8bb904 | refs/heads/master | 2021-01-10T13:52:27.160566 | 2017-02-25T06:12:36 | 2017-02-25T06:12:36 | 44,915,319 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 324 | h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
public slots:
void get_val();
private:
Ui::MainWindow *ui;
};
#endif // MAINWINDO... | [
"Rogazinskii@mail.ru"
] | Rogazinskii@mail.ru |
9a17935df70db339566bab6a721f55ad3ec95fa2 | e9ba632ed099dc670a87273af5ce513de6744030 | /EngineProject/src/Engine/Material.cpp | 9ebba72168cb646f5b6b7de0448727e0c219323e | [] | no_license | doddzy39/OpenGLEngine | 614ba8499b59d0c834a91ec8a84bf9530f2f4c5a | a0141647a8f678e9ad43bcadd933cae997a48958 | refs/heads/master | 2016-09-03T06:39:35.309507 | 2015-05-18T01:22:16 | 2015-05-18T01:22:16 | 30,573,282 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,217 | cpp | #include "Material.h"
#include "gl_core_4_4.h"
#include <GLFW/glfw3.h>
#include <glm/gtc/type_ptr.hpp>
#include "MaterialHandler.h"
void Material::SetAsActiveMaterial()
{
glUseProgram(m_iShaderID);
glUniform4fv(m_iDiffuseShaderLocation, 1, glm::value_ptr(diffuse));
glUniform4fv(m_iAmbientShaderLocat... | [
"doddzy39@gmail.com"
] | doddzy39@gmail.com |
45a7d9037ee6f69207b0dc5f52d944382b3c3516 | 13e2b3b56192a63f106393c8300c9597b8baa9bb | /2009-2010 Petrozavodsk Winter Training Camp- Warsaw Contest/C.cpp | 68b986ae1155286a03ede99ff2e90d5b75bb4854 | [] | no_license | galloska/ManiAC | 793da5517d6a8ae4bb495464392ba4f5960e5db1 | 2ac60b111e3f96f9feaedebc091718302d93d491 | refs/heads/master | 2021-01-19T16:58:31.457427 | 2017-06-01T03:26:56 | 2017-06-01T03:26:56 | 88,294,197 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,398 | cpp | #include <bits/stdc++.h>
#define endl '\n'
#define lli long long int
#define forn(i, n) for(int i=0;i<n;i++)
#define pb(a) push_back(a)
using namespace std;
const int MAXN = 1000001;
int cont;
lli sum;
lli value;
int A[MAXN];
int B[MAXN];
lli num[MAXN];
int vis[MAXN];
vector<int> lista[MAXN];
inline void dfs(int u)... | [
"noreply@github.com"
] | galloska.noreply@github.com |
c618ed0b1b92b3382cb7cf64bca5f8a4d623c8a0 | 8fc3cf44ec1e7fcb0282faa4568f11a09736f7de | /cusparse/rwr/LightSpMV/PageRankCuda-v1.0.1/cusp/graph/detail/maximal_independent_set.inl | da21ad7178967033059e26e46af68cdfc67e11e4 | [] | no_license | hisashi-ito/cuda | 362ec1416ec4e69235cc577de397ded67c62b55b | d63e6c354d1f45df6cb919fc7817d8d72a73d0ae | refs/heads/master | 2021-04-12T04:46:14.381290 | 2018-10-14T10:30:20 | 2018-10-14T10:30:20 | 126,021,847 | 0 | 0 | null | 2018-05-17T08:31:03 | 2018-03-20T13:28:47 | C++ | UTF-8 | C++ | false | false | 3,559 | inl | /*
* Copyright 2008-2014 NVIDIA Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | [
"it.hisas@gmail.com"
] | it.hisas@gmail.com |
544ad9dcc7b47967edeafd009175045b11cb651a | 3b4c44ec1104a1b6eeb432c5b270cfd1e661a4fe | /example/vl/sift.h | cb5358fa739dcd57ed367bfea600bdb49e70ce0a | [] | no_license | chensh236/ComputerVisionImageStich | 76d9b49ff3d78c7801bdb67a1c3181cd85a1acd1 | c350157d1995c173e99814272b953080360b7062 | refs/heads/master | 2020-04-08T06:21:08.258636 | 2018-11-27T09:30:59 | 2018-11-27T09:30:59 | 159,093,755 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,534 | h | #ifndef VL_SIFT_H
#define VL_SIFT_H
#include <stdio.h>
#include <iostream>
#include "generic.h"
using namespace std;
/** @brief SIFT filter pixel type */
typedef float vl_sift_pix ;
/** ------------------------------------------------------------------
** @brief SIFT filter keypoint
**
** This structure represent... | [
"1466196675@qq.com"
] | 1466196675@qq.com |
3153855aee6f27ef94238f3ed41a9fb3a12266c8 | cda9509f551346a07ba311237cd0110e4e369d89 | /Sphere.cpp | 09b3bb0136abb8b1f97c8a1d65fb928d75013b0a | [] | no_license | Ailsa98/Amusement_Park_Ride | 8cc0cb732d623458bad4cabe66aa197b71e6b1c6 | c10a1e8270ed2cceeb05b6341cae30e3a30bd89e | refs/heads/master | 2023-07-13T06:08:18.616808 | 2021-08-23T20:36:53 | 2021-08-23T20:36:53 | 399,240,919 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,339 | cpp | #include <iostream>
#include <fstream>
#include <map>
#include <tuple>
#include <numeric>
#ifndef GL_PRIMITIVE_RESTART_FIXED_INDEX
#define GL_PRIMITIVE_RESTART_FIXED_INDEX 0xFFFFFF
#endif
#include "Sphere.h"
Sphere::Sphere(){
int i, j;
std::vector<GLfloat> vertices;
std::vector<GLuint> indices;
std:... | [
"Ailsafan@hotmail.com"
] | Ailsafan@hotmail.com |
775e4f75b436d29201394755839519fe2e61bbc0 | a3c2b8e59db2761a68cd81431ef0f43b07629e7f | /Source/GameEngine/Graphic/ScreenElement.h | 6013417109302795a47de2c004a0be23b73831aa | [] | no_license | enriquegr84/GameEngineTutorial | 13eeae4b8c65cf94254c4cb7f879f52614fed185 | dd6507839a34746dc9b25d28c879f180c62eaab8 | refs/heads/master | 2021-08-23T09:35:28.257239 | 2021-08-06T16:52:38 | 2021-08-06T16:52:38 | 83,200,106 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,572 | h | //========================================================================
// GameView.h : Defines the GameView class of the GameEngine application
//
// Part of the GameEngine Application
//
// GameEngine is the sample application that encapsulates much of the source code
// discussed in "Game Coding Complete - 4th Ed... | [
"enriquegr84@hotmail.es"
] | enriquegr84@hotmail.es |
89b8e27f9ae9a2e72f0943d1c0a7bfe2722b6520 | 35b00918620e6ca14410afc33ba61b72ec96b63a | /include/const_array_impl.hpp | 3aec34c65c058590f066ca92869378cfb3666c4e | [
"MIT"
] | permissive | mirandaconrado/multidimensional-array | 88dd95e39c61ac2fca60c2c8a0aeb628f78e6153 | 8f570806ead01937cfdf9726e3389478ee3803da | refs/heads/master | 2021-01-10T21:43:06.575002 | 2014-10-29T11:19:07 | 2014-10-29T11:19:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,562 | hpp | #ifndef __MULTIDIMENSIONAL_ARRAY__CONST_ARRAY_IMPL_HPP__
#define __MULTIDIMENSIONAL_ARRAY__CONST_ARRAY_IMPL_HPP__
#include "const_array.hpp"
namespace MultidimensionalArray {
template <class T>
ConstArray<T>::ConstArray():
values_(nullptr),
deallocate_on_destruction_(false) { }
template <class T>
Con... | [
"miranda.conrado@gmail.com"
] | miranda.conrado@gmail.com |
3606ef9d365f149bab12095634b1405d6e43fe15 | 4714fe324a0e2fc3be490395054e83eb27bd8090 | /tests/profile.cpp | 0debdb22e5c1832d9f2a71607767f3c7c8cd607c | [
"MIT"
] | permissive | CLPopescu-1999-02/lfpAlloc | 996e49c22811e07bdf3a829a06392e594b753beb | f911baa7f621b8a792e06c16c1ffed07334571fc | refs/heads/master | 2020-03-31T04:32:47.100635 | 2015-03-21T06:53:30 | 2015-03-21T06:53:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,671 | cpp |
#include <lfpAlloc/Allocator.hpp>
#include <list>
#include <algorithm>
#include <chrono>
#include <iostream>
using lfpAlloc::lfpAllocator;
namespace utils {
template <typename Func>
void multiRun(Func fun, int thread_count) {
std::vector<std::thread> threads;
for (int i = 0; i < thread_count; ++i) {
... | [
"adamschwalm@gmail.com"
] | adamschwalm@gmail.com |
b9fd8ce7cfc282d2784bf7d5dbc1be181c52566e | 7a14bd4b3b0c406bb46fa82fb208a09de85f6cc2 | /tools/src_old/ReadSim2.h | 8f0485c8edac76c2ae3b3ac15a991124ad4c1f18 | [] | no_license | jhwang7628/TurbulentHead | e7d6fb0788c6d9750edd94e79de5615e83fc67e8 | ecbcb987e318c3809056e6df2296170476c8cb1e | refs/heads/master | 2021-01-16T18:31:43.341197 | 2014-11-27T16:18:01 | 2014-11-27T16:18:01 | 24,374,813 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 194 | h | #ifndef READSIM2_H
#define READSIM2_H
#include "Vector3.h"
#include <vector>
#include <string>
#include <iostream>
#include "ReadSim.h"
void ReadSim2(std::vector<vertexData> & data);
#endif
| [
"jhwang.cornell@gmail.com"
] | jhwang.cornell@gmail.com |
214aa424ec7a673119081479891e14775252d15c | 1117d12ef2af15c41465c3214f92a71900d1b16d | /basics.cpp | 0dedd0e3237a6e985dacd6698f2fcc90d68f2ca2 | [] | no_license | arvakagdi/Astar-Algorithm | 4b0cea5ea8c2aa9614c83d485c43134cc47451a4 | c4e688938b10cdff2fba0deea515fdba4ec3d8ea | refs/heads/master | 2022-09-20T19:23:41.162246 | 2020-06-05T20:10:08 | 2020-06-05T20:10:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,233 | cpp | // This code includes:
// Reading files, parsing strings, differnt ways of accessing vectors, const and references intro, using accumulate to get sum
#include <iostream>
#include <vector>
#include<string>
#include <fstream>
#include <sstream> //streamin strings into temp variables for parsing
#include <nu... | [
"noreply@github.com"
] | arvakagdi.noreply@github.com |
d51800ce7fc4857207ce369b36efa5217151f5c8 | 202b0730d9e103b2233f4a1c344c9eb63fb40f77 | /src/cali/DebugInfo.h | 9d8070468465b6dab657d1665fa6d1148855bcda | [] | no_license | ziab/cali | 2b22b4e9ed4268fcda2a4e12a2f040d6ccb34fc4 | 9bf9eff319e7210089ee69932668d0f432394cac | refs/heads/master | 2021-06-15T01:09:44.413120 | 2021-02-23T05:32:59 | 2021-02-23T05:32:59 | 146,534,277 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 729 | h | #pragma once
#include <unordered_map>
#include <mutex>
#include <SpriteFont.h>
#include <IvRenderer.h>
#include "Renderable.h"
namespace cali
{
class debug_info : public renderable
{
static debug_info* m_debug_info;
static const float m_scaling;
std::unordered_map<const wchar_t*, float> m_strings;
mutab... | [
"danilviaz@gmail.com"
] | danilviaz@gmail.com |
02e89f9e580c34eb2e12a6bbf57dc889c3a8a7ad | 5eb6dbceda5e7a4dd9c483930288ae60b2aff3ab | /quickunionunionfind.h | 1e1638dd09fbe07a6c7e6b227d6b7848aa42afc6 | [] | no_license | vancha/HexMinimax | e46be06332a04dbcc77d17f22b657362b328e235 | cbbd24915e3a23f5de2a0c5eca8fec8790bf2459 | refs/heads/master | 2021-01-11T21:06:55.659402 | 2017-01-20T19:04:02 | 2017-01-20T19:04:02 | 79,245,711 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 520 | h | #ifndef QUICKUNIONUNIONFIND_H
#define QUICKUNIONUNIONFIND_H
#include <vector>
using namespace std;
class QuickUnionUnionFind
{
private:
vector<int> id;//array of indexes
vector<int> sz;//only used to count number of elements in tree(prevent tall trees)
int Qroot(int i);
public:
bool Qconnected(int p, i... | [
"tjipkevdh@gmail.com"
] | tjipkevdh@gmail.com |
1f64590aeb5261cfd4aa34d6156a42c65c23f298 | f59ed9cff747b62a412aa1fd3868226541475a43 | /soft_rm/Rum/Duplicate.hpp | 4a40765016ceb3e8bbfe214e670df9c7704db5d4 | [] | no_license | waszak/Masspixel-generator | 64bf09443f67eba75bfe0be5c31f379de5d573e7 | 7db39bb63107a3bbcaf1435afe217727342b9d96 | refs/heads/main | 2021-06-02T12:27:49.691255 | 2014-03-18T16:57:24 | 2014-03-18T16:57:24 | 17,873,684 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 552 | hpp | #ifndef __OBJECT_DUPLICATE_HPP__
#define __OBJECT_DUPLICATE_HPP__
#include "IObject.hpp"
class Duplicate : public IObject
{
public:
Duplicate(const IObject * obj, Vector3D m)
{
mObj = obj;
mMod = m;
REPU(i,3) mHalfMod[i] = m[i] * -0.5;
mHalfMod[3] = 0;
}
private:
virtual... | [
"ipc0nfg@gmail.com"
] | ipc0nfg@gmail.com |
28e03907b4e137f95295feca6d615faefd8d6271 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5662291475300352_0/C++/gabrielinelus/main.cpp | b50a8897da4849ed40b23cebb6e14f182e4fc10b | [] | 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 | 797 | cpp | #include <cstdio>
#include <algorithm>
#define eps 0.0001
using namespace std;
int N;
double t1,t2,d1,d2;
int Solve()
{
scanf("%d",&N);
long long a,b,c;
if(N == 1)
return 0;
scanf("%lld%lld%lld",&a,&b,&c);
t1 = c;
d1 = a;
scanf("%lld%lld%lld",&a,&b,&c);
t2... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
1e078fd5b2f4845f1eec36d72a6f9c4833bfb8e0 | 6d9d2bd2682aac5b0d85d2e3eb3e3ce2e8f5d864 | /Libraries/ArduinoJson/test/JsonVariant_As_Tests.cpp | e4278514d8d1175188f91f77c2bd0fd7e32cb848 | [
"MIT"
] | permissive | smartGarden7/mainDev | e495d276aace7cef22eceb506471acb9bf4acec9 | b05d47d0b3019a910cc2c3c4dc3bd01aed1099f4 | refs/heads/master | 2020-09-27T02:09:19.209644 | 2016-11-20T09:58:07 | 2016-11-20T09:58:07 | 67,539,094 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,243 | cpp | // Copyright Benoit Blanchon 2014-2015
// MIT License
//
// Arduino JSON library
// https://github.com/bblanchon/ArduinoJson
#include <gtest/gtest.h>
#define ARDUINOJSON_ENABLE_STD_STREAM
#include <ArduinoJson.h>
static const char* null = 0;
TEST(JsonVariant_As_Tests, DoubleAsBool) {
JsonVariant variant = 4.2;
A... | [
"noreply@github.com"
] | smartGarden7.noreply@github.com |
32bb15596dfdd893d7609bec1b774e0851dcb8b5 | 451ab1e84ae56931352f38ef2ea82d4c14a17497 | /cocos2d/cocos/editor-support/cocosbuilder/CCLabelTTFLoader.cpp | 4cfc46e0346ea697309bc0e736cb46b7e32d284e | [
"MIT"
] | permissive | denghe/xxlib_cocos_cpp | 64b5c02b2525e6f8f27efcc0daa2855e90388063 | d4e9c6f0e59c3db01a6791622188576089df5afe | refs/heads/master | 2021-06-27T21:33:54.024283 | 2020-09-26T07:03:17 | 2020-09-26T07:03:17 | 154,665,907 | 6 | 3 | null | 2019-05-23T14:21:14 | 2018-10-25T12:19:53 | C++ | UTF-8 | C++ | false | false | 5,062 | cpp | /****************************************************************************
Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), t... | [
"denghe@hotmail.com"
] | denghe@hotmail.com |
18d1b66d4a478791b7ebc4d2fb82e4aa7f494e61 | cc9aa1ccfe8b6a42c26d5c053e00c4a74ac6310e | /tests/05-texcube/texcube.cpp | e860890c11a6ba6c8a43929fc3642fbf3a87a2d5 | [
"MIT"
] | permissive | kochol/ariyana | 7bc5f8a8ce0bef97b347dbc23c8f894b7925fdd3 | 8c950f065f0240ebf1d5c716dee00578f0218c69 | refs/heads/master | 2022-07-27T14:45:53.912554 | 2022-07-06T13:10:30 | 2022-07-06T13:10:30 | 187,961,918 | 83 | 3 | MIT | 2021-11-06T17:58:39 | 2019-05-22T04:19:03 | C++ | UTF-8 | C++ | false | false | 1,793 | cpp | #include "gfx/gfx.hpp"
#include "gfx/Application.hpp"
#include "en/World.hpp"
#include "3d/RenderSystem.hpp"
#include "3d/SceneSystem.hpp"
#include "3d/Camera.hpp"
#include "3d/BoxShape.hpp"
#include "fs_local/FileSystemLocal.hpp"
#include "io/FileSystem.hpp"
class TexCubeApp : public ari::Application
{
public:
~Tex... | [
"cyrusgp@gmail.com"
] | cyrusgp@gmail.com |
0fce6a058bfe8904fdcae271f7efd59086f14633 | fb5eeee994c4da9493dff30fe4b81379e84c713e | /src/uav_slam/include/uav_slam/uav_slam.h | cb0520c8d6bb7ba817e842039ec7574fc8f6746e | [
"BSD-3-Clause"
] | permissive | jamesdsmith/ROS | 386ff502f21fbb57a1d9c32165e9907c1d77190c | 8355f0619919960dccfb6ca643a06f0c4981ed64 | refs/heads/master | 2020-12-30T23:33:42.074029 | 2016-05-02T23:30:00 | 2016-05-02T23:30:00 | 47,723,787 | 0 | 0 | null | 2015-12-09T22:45:38 | 2015-12-09T22:45:37 | null | UTF-8 | C++ | false | false | 3,832 | h | /*
* Copyright (c) 2015, The Regents of the University of California (Regents).
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* 1. Redistributions of source code must retain the a... | [
"david.fridovichkeil@gmail.com"
] | david.fridovichkeil@gmail.com |
e508b5344b188f9992a5f85cfeb2a639ca78579f | 3b3e5db80d59e7db216801b220e27c7f194d8e65 | /ch_13/exercises_1316.cpp | 1d374bbd5c25f9366aa2c7dd18ddeb03acd2da0d | [] | no_license | teirm/cpp_primer | f93e8296f9582a2738691155c77e01ce0eef50d8 | 29af7f91a1256050a23817f2716d5a95c49baea8 | refs/heads/master | 2021-01-13T03:24:58.887260 | 2017-07-02T16:45:03 | 2017-07-02T16:45:03 | 77,570,909 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 907 | cpp | /* Exercises 13.1.6 */
#include <string>
#include <iostream>
using namespace std;
class Employee {
public:
Employee(string s):name(s), myId(++id) { cout << "Basic Constructor" << endl;}
Employee(Employee &e):name(e.name), myId(++id) { cout << "Copy constructor" << endl; }
Employee& operator=(Employee &e)... | [
"tribunus.vii@gmail.com"
] | tribunus.vii@gmail.com |
e11c54252f4042ccf94ed58768423cce85c3a0b7 | 9e99ab6f88c2b947afa010d657cc8b12dec2cd94 | /benchmark/benchmark_academic/crossproduct_backend/benchmark_crossproduct_4th_backend.cpp | 46739e73f0d10cb270c1921f372c4bbcbdd1c97b | [
"MIT"
] | permissive | jxi24/Fastor | b89c7dfd6d80e893cedfa20918169db52546a251 | fbaa8053ad258791a3352addf1e08e28a459c3a1 | refs/heads/master | 2022-04-18T02:28:22.984687 | 2020-04-22T18:20:44 | 2020-04-22T18:20:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,029 | cpp | #include <Fastor/Fastor.h>
using namespace Fastor;
#define NITER 10000UL
template<typename T, size_t N>
inline void crossproduct_scalar(const T *FASTOR_RESTRICT a, const T *FASTOR_RESTRICT b, T *FASTOR_RESTRICT out) {
constexpr T levi_civita[27] = { 0., 0., 0., 0., 0., -1., 0., 1., 0., 0., 0., 1., 0.... | [
"roman_poya@yahoo.com"
] | roman_poya@yahoo.com |
c49592848889d9c601e907511bf81b44608c1358 | 657b7f95618c6ca628becd42c90dcc16c6b5f148 | /vgg_numerics/vgg_detn.cxx | 50c6018ffdc5fae843190a100b09578f70e96850 | [] | no_license | Fjuzi/3D-Scene-Reconstruction-of-a-3D-Object-Scene | fbf77c915e9ba159a182e4ccfdd8ba0a82eddee7 | f10c28dee9c3a8a84206c63719e7c9a910a837db | refs/heads/master | 2023-01-11T16:05:41.745723 | 2020-10-22T10:36:52 | 2020-10-22T10:36:52 | 290,496,005 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,834 | cxx | #include "mex.h"
#include <math.h>
#include <stdlib.h>
#include <malloc.h>
#include <string.h>
//void ludcmp(double **a, int n, int *indx, float *d)
void ludcmp(double **a, int n, double *d, double *vv)
{
int i,imax,j,k;
double big,dum,sum,temp;
*d=1.0;
for (i=1;i<=n;i++) {
big=0.0;
for (j=1;j<=n;j++)
if (... | [
"fjuzi22@gmail.com"
] | fjuzi22@gmail.com |
1c98c6503cc3997c14869fc4efc8329524e00152 | 62a0b096d480175e6a922bd1eed5bc0f4bee5053 | /src/game/master.hpp | 0605e67a26438042998d00d4a863a89d69e17980 | [
"Zlib"
] | permissive | HolyBlackCat/unfinished-1 | f4210fbe201fcead8d808eb8e17a14fe0c5e55fe | 446eb8f48ad59e7a769d6513c89583987258955c | refs/heads/master | 2022-11-17T07:34:27.506269 | 2020-07-08T23:49:23 | 2020-07-08T23:49:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,157 | hpp | #pragma once
#include <algorithm>
#include <array>
#include <deque>
#include <iostream>
#include <map>
#include <type_traits>
#include <utility>
#include <vector>
#include "audio/complete.h"
#include "entities/base.h"
#include "gameutils/adaptive_viewport.h"
#include "gameutils/action_sequence.h"
#include "gameutils/... | [
"blckcat@inbox.ru"
] | blckcat@inbox.ru |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.