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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6d5b7b96ba3a1385b3fed337f760720261f43b64 | 83964e7fb41ee62e3084eef5d3deef07eecdd93e | /clang/test/CodeGenCXX/vtable-available-externally.cpp | 23baac968c7e1cc9b12d3d82325bd984a51d381a | [
"BSD-2-Clause",
"NCSA"
] | permissive | pbb59/ScaffCC | e0bee9e5b16a6f145224ad6b0b6eb32adb026f95 | 7d28d310063d147930ec4705aa5ebdf94ea8e924 | refs/heads/master | 2020-09-23T04:43:54.059923 | 2019-12-19T03:59:22 | 2019-12-19T03:59:22 | 225,405,289 | 0 | 1 | BSD-2-Clause | 2019-12-02T15:17:37 | 2019-12-02T15:17:36 | null | UTF-8 | C++ | false | false | 2,749 | cpp | // RUN: %clang_cc1 %s -I%S -triple=x86_64-apple-darwin10 -emit-llvm -O3 -o %t
// RUN: FileCheck --check-prefix=CHECK-TEST1 %s < %t
// RUN: FileCheck --check-prefix=CHECK-TEST2 %s < %t
// RUN: FileCheck --check-prefix=CHECK-TEST5 %s < %t
// RUN: FileCheck --check-prefix=CHECK-TEST7 %s < %t
#include <typeinfo>
// Test... | [
"ajavadia@princeton.edu"
] | ajavadia@princeton.edu |
d30516f7d4f6c56b59a5c9327f1fafebc4a35603 | 0dca3325c194509a48d0c4056909175d6c29f7bc | /adb/include/alibabacloud/adb/model/ModifyDBResourcePoolRequest.h | 3447a5880cd3a9f6dc06886080f9e733feb6f4b5 | [
"Apache-2.0"
] | permissive | dingshiyu/aliyun-openapi-cpp-sdk | 3eebd9149c2e6a2b835aba9d746ef9e6bef9ad62 | 4edd799a79f9b94330d5705bb0789105b6d0bb44 | refs/heads/master | 2023-07-31T10:11:20.446221 | 2021-09-26T10:08:42 | 2021-09-26T10:08:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,301 | 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 |
43f5e34deec606a7951aab56abd32c76eb0947cd | a7764174fb0351ea666faa9f3b5dfe304390a011 | /inc/Handle_XCAFDrivers_DocumentStorageDriver.hxx | ef6c49f0af4d0892a68ba5c1ec9c4e07b4247360 | [] | no_license | uel-dataexchange/Opencascade_uel | f7123943e9d8124f4fa67579e3cd3f85cfe52d91 | 06ec93d238d3e3ea2881ff44ba8c21cf870435cd | refs/heads/master | 2022-11-16T07:40:30.837854 | 2020-07-08T01:56:37 | 2020-07-08T01:56:37 | 276,290,778 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 921 | hxx | // This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to
// this header file considered to be the "object code" form of the original source.
#ifndef _Handle_XCAFDrivers_DocumentStorageDri... | [
"shoka.sho2@excel.co.jp"
] | shoka.sho2@excel.co.jp |
3ad70192222dac2ca7eb54dd8eeee7d3ca833976 | d06bc963456f5403402389944917a1ee722dec62 | /Codeforces/677/6.cpp | e865866aa2cb0965eeab1ce48ae742861014c488 | [] | no_license | hackboxlive/CP | 4ec6a8d0581d71ef103e47ad08e5a5ce93f20ff5 | 4110a37ec88aac85295802892876ad42779c60a8 | refs/heads/master | 2021-06-16T03:34:37.321378 | 2020-11-24T21:22:48 | 2020-11-24T21:22:48 | 95,323,963 | 3 | 2 | null | 2018-01-21T08:19:18 | 2017-06-24T21:33:12 | C++ | UTF-8 | C++ | false | false | 1,055 | cpp |
#include <iostream>
#include <bits/stdc++.h>
template<typename T>
void read(T& _val)
{
std::cin >> _val;
}
template<typename T>
void print(const T& _val)
{
std::cout << _val << std::endl;
}
int mat[100][100];
int n, m, k;
int dp[75][75][75][75];
int solve(int i, int j, int cnt, int rem)
{
if(dp[i][j][c... | [
"singhsarvshakti127@gmail.com"
] | singhsarvshakti127@gmail.com |
a95d7f5a690235b2c3767cf68fb199936201b22f | f07b324193e027f0612e39007c92bd995679cdaa | /139_Word_Break/solution.cpp | 14337e86e5883f73a63cdf7a53ecb47a14792ee7 | [] | no_license | hitwlh/leetcode | ebea30b3cc1ce390beb9b0e8963e92fe1b388845 | a0eeb131a869b12163c266dd2ee289dd340c43e8 | refs/heads/master | 2021-01-23T07:50:52.996310 | 2019-10-11T16:38:59 | 2019-10-11T16:38:59 | 86,457,155 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,251 | cpp | class Solution {
public:
bool wordBreak(string s, vector<string>& wordDict) {
for(auto s: wordDict) mymap[s] = true;
my_s = s;
ok.assign(s.length(), -1);
old_dp(s.length() -1);
return (ok[s.length()-1] == 0) ? false : true;
}
private:
string my_s;
void old_dp(int ... | [
"wanglonghua@hua-3.local"
] | wanglonghua@hua-3.local |
edb17878fa678ce83117ae335fadc0301b416e55 | 32286f7ca7c8d5b4d61efc90075de5edf81eb9ec | /mp/src/thirdparty/protobuf-2.3.0/gtest/include/gtest/internal/gtest-string.h | edfd5910cca23a7f370ce703157737b3d304b042 | [
"LicenseRef-scancode-protobuf",
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | saul/source-sdk-2013 | 0c20f31366d36b050e47c6fccc5e8e9815ac5de4 | cc136aae767653f3290589eb9a230fb8aea82383 | refs/heads/master | 2021-01-18T03:32:36.266073 | 2013-08-05T19:09:20 | 2013-08-05T19:09:20 | 11,110,123 | 12 | 1 | null | 2013-08-05T19:01:21 | 2013-07-01T23:34:24 | C++ | UTF-8 | C++ | false | false | 14,024 | h | // Copyright 2005, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of con... | [
"joe@valvesoftware.com"
] | joe@valvesoftware.com |
b1d02e2faa56a1ffd5f841f72bc8d0c16ec455dd | bad33abbb4d3cae36b252d750c264ece258b2b8f | /C++/learn/upperLayer/uLayer.cpp | 218ea444871d1a23e8a810280d75087bb1313081 | [] | no_license | fengxuewei-dev/c-plus-plus | 5ddbe7f54eb7fd022ea934b251efefe5d28b9cb7 | cf60b1ad86d417cc7125709164b24a694d53fcb8 | refs/heads/main | 2023-02-12T19:07:02.411569 | 2021-01-13T09:09:29 | 2021-01-13T09:09:29 | 328,097,053 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 102 | cpp | #include "uLayer.h"
#include "../bottomLayer/bLayer.h"
int needAddOne(int n){
return addOne(n);
} | [
"15235170935@163.com"
] | 15235170935@163.com |
f77c90ec39f49a45cd0367d303fe4706f133fa0b | 8dc84558f0058d90dfc4955e905dab1b22d12c08 | /google_apis/gcm/engine/gcm_store_impl_unittest.cc | d6776f98451d5f44da949a8aecfb9d7a9b606d79 | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | meniossin/src | 42a95cc6c4a9c71d43d62bc4311224ca1fd61e03 | 44f73f7e76119e5ab415d4593ac66485e65d700a | refs/heads/master | 2022-12-16T20:17:03.747113 | 2020-09-03T10:43:12 | 2020-09-03T10:43:12 | 263,710,168 | 1 | 0 | BSD-3-Clause | 2020-05-13T18:20:09 | 2020-05-13T18:20:08 | null | UTF-8 | C++ | false | false | 27,366 | cc | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "google_apis/gcm/engine/gcm_store_impl.h"
#include <stdint.h>
#include <memory>
#include <string>
#include <utility>
#include <vector>
#includ... | [
"arnaud@geometry.ee"
] | arnaud@geometry.ee |
c71cca3c6ff9b4952464d9dd09a35a608af806e0 | d09945668f19bb4bc17087c0cb8ccbab2b2dd688 | /atcoder/abc101-150/abc132/d.cpp | 456d74171024bcc02f77f9db7c0c26981cc7a740 | [] | no_license | kmjp/procon | 27270f605f3ae5d80fbdb28708318a6557273a57 | 8083028ece4be1460150aa3f0e69bdb57e510b53 | refs/heads/master | 2023-09-04T11:01:09.452170 | 2023-09-03T15:25:21 | 2023-09-03T15:25:21 | 30,825,508 | 23 | 2 | null | 2023-08-18T14:02:07 | 2015-02-15T11:25:23 | C++ | UTF-8 | C++ | false | false | 1,375 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef signed long long ll;
#undef _P
#define _P(...) (void)printf(__VA_ARGS__)
#define FOR(x,to) for(x=0;x<(to);x++)
#define FORR(x,arr) for(auto& x:arr)
#define ITR(x,c) for(__typeof(c.begin()) x=c.begin();x!=c.end();x++)
#define ALL(a) (a.begin()),(a.end())
#... | [
"kmjp@users.noreply.github.com"
] | kmjp@users.noreply.github.com |
a0abb78f8ae618bee863233d4aa45347272f7dcf | d00dfd3b004ec6ee3f5267deeb5238ced5898712 | /Three Color LED/ReactionTime3/ReactionTime3.ino | de7c1241eec71f32f5d36523ebfb37724f80fdad | [] | no_license | al-bose/Reaction-Time-Experiments | aeecefc47273c92ec06add4bfb9690306d0b9dd5 | db33e8328932ecb52b554716594721e186bbe69d | refs/heads/master | 2020-07-07T06:54:45.538678 | 2019-08-20T02:37:05 | 2019-08-20T02:37:05 | 203,283,935 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,126 | ino | int redPin = 9;
int greenPin = 10;
int bluePin = 11;
int redButton = 2;
int greenButton = 4;
int blueButton = 7;
int time1 = 0;
int time2 = 0;
int elapsed = 0;
int color = 0;
void setup() {
Serial.begin(9600);
pinMode(redPin, OUTPUT);
pinMode(redButton, INPUT);
pinMode(greenPin, OUTPUT);
pinMode(greenButto... | [
"noreply@github.com"
] | al-bose.noreply@github.com |
32b654989d369976abeb8e6097c5d3fe0d765f36 | 95b411751313dc45d0310bfd1a6b3b6577a095f2 | /Core/_bak/Util_14-03-12/UThread/VThread.h | 5e01f0405b3723032ff736c74b62f7af22da6162 | [] | no_license | nirch/homage-foreground-algo | a208773ff7e6c115e759b39af9bcef1d652894f3 | 24a7c1e04daea21da819ee7264b3fe52ccc03c28 | refs/heads/master | 2021-03-27T10:51:39.414283 | 2014-07-28T09:28:45 | 2014-07-28T09:28:45 | 16,727,745 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 875 | h | #ifndef THREAD_H
#define THREAD_H
#ifdef _WIN32
#ifndef _WINDOWS_
#include <windows.h>
#endif
#else
#error _WIN32 must be defined before you include thread.h
#endif
#include "UThread/VEvent.h"
class CVThread
{
static DWORD WINAPI ThreadFunc(LPVOID pv)
{
try
{
(reinterpret_cast<CVThread *>(pv))->Run();
}
... | [
"yorame@gmail.com"
] | yorame@gmail.com |
be17bfa99240c2d0f50c5c129808ad14a51ef1e8 | ad85eec0751dea730e4c25f7a6f71a34f82d0df3 | /ACM_programming/2-1.cpp | f7b639b9a8f3dced803e5f991bfbbdc78260ddbf | [] | no_license | Shadowmaple/Assignments | 85bb8b91cb1b24a2e5da3a25e9ba8931256f925d | 977b97da242ce42ba8d14f7d3f376542a0ef89cc | refs/heads/master | 2021-06-08T23:32:02.282076 | 2021-06-01T02:49:59 | 2021-06-01T02:49:59 | 177,596,808 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 478 | cpp | // 完美立方
# include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
// a,b,c,d > 1
for (int a = 2; a <= n; a++) {
for (int b = 2; b < a; b++) {
for (int c = b; c < a; c++) {
for (int d = c; d < a; d++) {
if (a*a*a != b*b*b + c*c*c + d... | [
"1142319190@qq.com"
] | 1142319190@qq.com |
bf59d6b46beb8d587ef8a72bc22d962f69097a56 | ad4a4c5003c1d3378c059eb6a77be75f79e5698f | /mainwindow.cpp | abc28444d11838c44f033e690cd9a9dec733743d | [] | no_license | mbjapzon/pythonAbortException | 1ae32cf8e46c5f0953fd40ebf2ed9aca008d6231 | 42bddfb1d0c770eeafa8a31bd75aee527cad82f0 | refs/heads/master | 2020-04-28T05:49:17.501645 | 2019-03-11T15:53:51 | 2019-03-11T15:53:51 | 175,034,012 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,687 | cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
MainWindow::MainWindow(PythonRunner * runner, QWidget *parent) :
QMainWindow(parent),
m_runner(runner),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
//Connect buttons
connect(ui->startDemoBtn, &QPushButton::released, this, &MainWindo... | [
"noreply@github.com"
] | mbjapzon.noreply@github.com |
576a3dac5c00bf0a9b62f9b9acb5237105d8d78a | ffd60c2632bcc9392870a40a8ff039341b2878e9 | /HDUOJ/HDU-2899.cpp | 2732ff85715846d6efa7d505c022fe63a84108a9 | [] | no_license | IcedSoul/My-CPP-Code | 3ee83cc6c86f229b9f049699592baccb7cdf98b9 | 8d858b1780af919964856da6457b2e5ff38c0e00 | refs/heads/master | 2021-01-10T17:52:15.563015 | 2018-10-12T08:43:17 | 2018-10-12T08:43:17 | 49,802,581 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 614 | cpp | #include<iostream>
#include<cstring>
#include<cstdio>
#include<math.h>
using namespace std;
double f(double y,double x){
return 42.0*pow(x,6.0)+48.0*pow(x,5.0)+21.0*pow(x,2.0)+10.0*x-y;
}
double ff(double y,double x){
return 6.0*pow(x,7.0)+8.0*pow(x,6.0)+7.0*pow(x,3.0)+5.0*pow(x,2.0)-y*x;
}
int main(){
int t;
doubl... | [
"1443700905@qq.com"
] | 1443700905@qq.com |
ab6e092451788a1d83298693f2a2884ef314cef3 | c673823920422d9032eb2bfd8f08bcf78a41a0d8 | /include/rgb.hh | cc2237f024552edf013f1aa961193e679d5c64ba | [] | no_license | aempirei/Chat-Art | 51ec2508e916c7111e55d9290dc8cac4e4af14fb | 39b56d935dec32519e9b07a89a6cdc0655e38632 | refs/heads/master | 2016-09-06T06:20:02.985421 | 2013-06-27T14:56:34 | 2013-06-27T14:56:34 | 8,233,059 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 383 | hh | #ifndef RGB_HH
#define RGB_HH
#include <cstdint>
typedef uint8_t rgb_t[3];
typedef int32_t rgb_sum_t[3];
struct rgb {
constexpr static uint32_t tou32(const rgb_t v) {
return ((uint32_t)v[0]<<16) | ((uint32_t)v[1]<<8) | (uint32_t)v[2];
}
constexpr static bool equals(const rgb_t c1, const rgb_t c2) {
return c1[... | [
"aempirei@gmail.com"
] | aempirei@gmail.com |
867f92232ed36e89c6a085e385f2ec18a5f4d51d | 3db023edb0af1dcf8a1da83434d219c3a96362ba | /windows_nt_3_5_source_code/NT-782/PRIVATE/CAIROLE/OLEAUTO/INC/TYPELIB/CONVERT.HXX | dd60379614ecad53b1ef1a42a1a5726e382da026 | [] | no_license | xiaoqgao/windows_nt_3_5_source_code | de30e9b95856bc09469d4008d76191f94379c884 | d2894c9125ff1c14028435ed1b21164f6b2b871a | refs/heads/master | 2022-12-23T17:58:33.768209 | 2020-09-28T20:20:18 | 2020-09-28T20:20:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,192 | hxx | STDAPI_(BSTRA) SysAllocStringA(const char FAR*);
STDAPI_(int) SysReAllocStringA(BSTRA FAR*, const char FAR*);
STDAPI_(BSTRA) SysAllocStringLenA(const char FAR*, unsigned int);
STDAPI_(int) SysReAllocStringLenA(BSTRA FAR*, const char FAR*, unsigned int);
STDAPI_(void) SysFreeStringA(BSTRA);
STDAPI_(unsigned int) ... | [
"benjamin.barratt@icloud.com"
] | benjamin.barratt@icloud.com |
83bc0a7d73f51a5a858ad806893b47f591daeec3 | caa4f5ad2bcc278610f447850979c61dd5f23bbd | /FS6530M_servo/FS6530M_servo.ino | e8b0a489a760ce38da8ce92753ed9bdff9026150 | [] | no_license | JC2020Leeds/Arduino_code_for_Teensy4 | 355f3a8ea10d4a5ebce090be503d86a1d91e8446 | 5981634ec3f76debd5e9684026e821a4396e5500 | refs/heads/master | 2022-04-22T15:09:36.766555 | 2020-04-22T20:04:50 | 2020-04-22T20:04:50 | 245,008,486 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,153 | ino | #include <PWMServo.h>
PWMServo myservo; // create servo object for controlling servo
// max 8 servos can be created
int pos = 0; // variable to store servo position
int FS6530M_pin = 2; // servo pin for FS6530M feetech servo motor
void setup() {
// put your setup code here, to run once:
Se... | [
"mn15jc@leeds.ac.uk"
] | mn15jc@leeds.ac.uk |
572ca1c8ff83bbf1ea79ef829c2ab7a514bfa73b | a2ab32af96b3db174cee770e892168b8c070c032 | /Rcode/testpkg1/.Rproj.user/6CFAE92D/sdb/s-4D112912/B9BC338C | 771b9cd2b6dcec03050e6d9a1130eb82ac5ea96f | [] | no_license | smoser11/hansard-factor | 9f45843f4e82cd73b1190bc13606423be9eef706 | c926143600d3b18cca720400e6c63701c3e33a4e | refs/heads/master | 2020-06-05T10:09:40.388934 | 2013-09-26T22:23:14 | 2013-09-26T22:23:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 41,803 | {
"contents" : "// -*- mode: c++; fill-column: 70; -*-\n\n//////////////////////////////////////////////////////////////////////\n\n// Copyright 2012 Jesse Windle - jwindle@ices.utexas.edu\n\n// This program is free software: you can redistribute it and/or\n// modify it under the terms of the GNU Lesser General Pub... | [
"sallylia@gmail.com"
] | sallylia@gmail.com | |
c97c439348e65faf0d3a639ae3caf7d1a9824d3c | 3e6e4f81f3369413affdb5813d79a8ea02757643 | /priority_queue_0_1knapsak/0_1knapsak.cpp | 426ee53d4b24a47654b7478b9e3c815265df3c5e | [] | no_license | SAMAPTY-SAHA/Algorithm-Design-And-Analysis | 469cac0ebef56dbc92e770644a2557b94f9dbebd | 1b7d2c1c7144468234a1688cc1623b137a1e9ddd | refs/heads/master | 2020-03-28T19:27:08.332896 | 2019-01-18T15:03:30 | 2019-01-18T15:03:30 | 148,977,441 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 820 | cpp |
#include<bits/stdc++.h>
using namespace std;
int maxi(int a,int b)
{
return (a>b)?a:b;
}
int knapsak(int w,int wt[],int val[],int n)
{
int k[n+1][w+1];
for(int i=0;i<=n;i++)
{
for(int j=0;j<=w;j++)
{
if(i==0 || j==0)
{
k[... | [
"noreply@github.com"
] | SAMAPTY-SAHA.noreply@github.com |
bfa1016ae6bdc25141fd2318a493999d3e319858 | 7f69e98afe43db75c3d33f7e99dbba702a37a0a7 | /src/plugins/thirdParty/LLVM/lib/ExecutionEngine/Interpreter/Interpreter.h | 58851ef07e544c0cb526ebf3deb90fbc8a66b1d2 | [
"Apache-2.0"
] | permissive | hsorby/opencor | ce1125ba6a6cd86a811d13d4b54fb12a53a3cc7c | 4ce3332fed67069bd093a6215aeaf81be81c9933 | refs/heads/master | 2021-01-19T07:23:07.743445 | 2015-11-08T13:17:29 | 2015-11-08T13:17:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,479 | h | //===-- Interpreter.h ------------------------------------------*- C++ -*--===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"agarny@hellix.com"
] | agarny@hellix.com |
95b64a7480ba95511e94a3092d205d01c08aaaa4 | 9be103eb079a5d973680348389243b9befff3b5b | /fzcalq/src/mainwindowimpl.cpp | d8b25ff621b14b26d311836088eee40541518860 | [] | no_license | elseifkk/fzcal | 2020614c07509b4ed273a8f6d9d3ea507f85829f | 60d6d285490a9904b8bc7ae64e408b805921af56 | refs/heads/master | 2021-01-01T16:00:23.128704 | 2014-09-14T08:44:45 | 2014-09-14T08:44:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,184 | cpp | #include <stdio.h> // for debug
#include "mainwindowimpl.h"
#include <fzc.h>
//
#include <QLineEdit>
#include <QTextEdit>
#include <QString>
#include <QKeyEvent>
MainWindowImpl::MainWindowImpl( QWidget * parent, Qt::WFlags f)
: QMainWindow(parent, f)
{
setupUi(this);
pfzc=fzc_init();
initButIcon();
shiftSl... | [
"elseifkk@users.noreply.github.com"
] | elseifkk@users.noreply.github.com |
03963ec2caa11de52030c2c9a0b7642805e97540 | 03a0b1fd9f6e91bcc2ff991128716defd20083cb | /MainWindow/GraphBuilder.h | 4752f3a961394c7f2ef521c0db35cf2e10113541 | [
"MIT"
] | permissive | Forczu/Visualization-of-Flow-Network-Algorithms | a79a1a4a11db8f85c8005da953ba27f9ea78fdd1 | 124d11a6ab1eb5588e62481515067083bf917a6c | refs/heads/master | 2020-04-16T13:34:10.299000 | 2019-01-14T09:36:35 | 2019-01-14T09:36:35 | 165,633,117 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 316 | h | #pragma once
#include "Graph.h"
class GraphBuilder
{
Graph * _currentGraph;
public:
GraphBuilder();
~GraphBuilder();
void BuildGraph();
void BuildVertice();
void BuildVertice(short n);
void BuildEdge(short verticeFrom, short verticeTo);
inline Graph * GetGraph() const
{
return _currentGraph;
}
};
| [
"mateusz.forczmanski@gmail.com"
] | mateusz.forczmanski@gmail.com |
21568c53f50c089996df0e5df8b5a36437968232 | 9b9439d332c4b09d4c9f7b6f4d9c467329175161 | /Curriculum Design/3.cpp | 24302614e6ed4d4771db41bad743bf49d71de0f5 | [
"Apache-2.0"
] | permissive | NicholasStone/Homeworks | 3dc83f91eea145d6530f22256a6a8f582bd89043 | 74f3baf70095e256ca45fbe217596fdd8c75201f | refs/heads/master | 2020-04-06T11:56:03.335809 | 2017-06-30T13:51:49 | 2017-06-30T13:51:49 | 55,036,223 | 0 | 0 | null | 2016-06-04T09:09:00 | 2016-03-30T05:51:20 | Java | UTF-8 | C++ | false | false | 1,938 | cpp | #include<iostream>
using namespace std;
void drawline(char canvas[][100], const int m, const int n, const int x1, const int y1, const int x2, const int y2)
{
if (x1 == x2)//Vertical
{
int max = y1 > y2 ? y1 : y2;
int min = y1 < y2 ? y1 : y2;
for (int i = min; i <= max; i++)
{
if (canvas[i][x1] ... | [
"Nicholas-Stone@outlook.com"
] | Nicholas-Stone@outlook.com |
fe6b1c56905fe9750f7e120977db58b9880548ee | e09d68f100d9688a11edcbc4e5ed4681d2e2cef8 | /src/governance-vote.h | 9b62a4ca7d84d16721a7ea0dacb0b61bd054b391 | [
"MIT"
] | permissive | Nautilus-Shell-Helix/NSH-Core | 0cf9c4e86415263257feb9a24449ad52202c3503 | 0dc28b786239a673b298a73f5df7ca71340670b1 | refs/heads/master | 2020-03-22T16:35:28.787407 | 2018-07-30T18:06:09 | 2018-07-30T18:06:09 | 140,337,173 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,851 | h | // Copyright (c) 2014-2017 The Dash Core developers
// Copyright (c) 2017-2018 The NSHCoin Core developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef GOVERNANCE_VOTE_H
#define GOVERNANCE_VOTE_H
#include "key.h"... | [
"detroit_dentist@transendcoin.com"
] | detroit_dentist@transendcoin.com |
f057e5e6cb7793c0b6bbe7fede0e0eb11253b742 | 5623abbd865b761dbbbda3f18126134b35ad869a | /src/masternodeconfig.cpp | 3e09219aa403240200eaedfbb0a95212b78c4329 | [
"MIT"
] | permissive | 4thefall3n/UMBRA-master_v1.4.0-1 | 39761fa1446d933b4de611a1505a3d272d21308d | b8cf58d1bf9da7db4585d041aed0ac1e676fdc62 | refs/heads/master | 2020-04-10T05:06:37.069062 | 2018-12-07T23:23:43 | 2018-12-07T23:23:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,588 | cpp | // Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
// clang-format off
#include "net.h"
#include "masternodeconfig.h"
#include "util.... | [
"45613717+Umbracoindevs@users.noreply.github.com"
] | 45613717+Umbracoindevs@users.noreply.github.com |
2c03f0494ae145fcea3c43b2e07647ca6d079901 | e1278628f301416be71bb7c30c097ab43e6f3193 | /1113.cpp | 444b2083775775a21590bca0c3c96193c0d3166e | [] | no_license | Tabassum-Wasila/LightOJ | d5aa6408a99a17027fbfb67b8523088e67f863d7 | 887024f6742e3aaa7e8c7270c7c7b1f9e9f479de | refs/heads/master | 2020-05-04T12:53:37.743749 | 2019-04-02T19:00:57 | 2019-04-02T19:00:57 | 179,139,812 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,287 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int t;
cin>>t;
string cmd, url;
for(int i = 1; i <= t; i++)
{
stack<string>f;
stack<string>b;
url = "http://www.lightoj.com/";
cout<<"Case "<<i<<":"<<endl;
while(1)
{
cin>>cmd;
... | [
"twahsila@gmail.com"
] | twahsila@gmail.com |
fc2b2be56a63d8888dd077b79c2ce646a3c502bd | 9a7c28768d990b2f5cd0cc5fa63360d6f1c8a8a2 | /arduino/serial_passthrough/serial_passthrough.ino | ca262ab265e24e21fccc0af74c25b8e6e0ebacc1 | [] | no_license | adamgamble/realtime_bot | a5bb50ce0a6074e800481fa7159f48f7a0d19dac | b55eff25fca6fbd0d551a26f3d83163a9f85feaf | refs/heads/master | 2021-01-22T17:57:15.572140 | 2013-12-27T23:01:47 | 2013-12-27T23:01:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 301 | ino |
int inByte = 0; // incoming serial byte
void setup(){
// start serial port at 9600 bps:
Serial.begin(19200);
}
void loop(){
// check for serial stream
if (Serial.available() > 0) {
// read serial
inByte = Serial.read();
// write whatever you got
Serial.write(inByte);
}
}
| [
"johndavid400@gmail.com"
] | johndavid400@gmail.com |
69b7b28f602cd76a8bebe13f4a2b05b4de373855 | e6b0e80ab22f5ec913c6419febf9485eeefd3c76 | /src/lef58/inc/lefiLayer.hpp | a91a4937629b1d670769e19d500978fbbe8bb6c3 | [
"BSD-3-Clause"
] | permissive | Xingquan-Li/ripple | c6811f7d58cad7c4dde04c5f72bd7183ec3ad97a | 330522a61bcf1cf290c100ce4686ed62dcdc5cab | refs/heads/main | 2023-03-11T19:02:27.518964 | 2021-02-26T05:40:25 | 2021-02-26T05:40:25 | 395,174,545 | 1 | 0 | NOASSERTION | 2021-08-12T02:45:12 | 2021-08-12T02:45:12 | null | UTF-8 | C++ | false | false | 37,183 | hpp | // *****************************************************************************
// *****************************************************************************
// Copyright 2012 - 2015, Cadence Design Systems
//
// This file is part of the Cadence LEF/DEF Open Source
// Distribution, Product Version 5.8. ... | [
"rholais@gmail.com"
] | rholais@gmail.com |
caf1e5ad0bd4016993f7102f7541e428de899ea5 | 2b0b07242be5ea756aba992e171b43fbee9bfada | /BOJ/11021/11021.cpp14.cpp | ace7e1ddeda02d42c5fab69e3d6f76ed78531dd8 | [] | no_license | newdaytrue/PS | 28f138a5e8fd4024836ea7c2b6ce59bea91dbad7 | afffef30fcb59f6abfee2d5b8f00a304e8d80c91 | refs/heads/master | 2020-03-22T13:01:46.555651 | 2018-02-13T18:25:34 | 2018-02-13T18:25:34 | 140,078,090 | 1 | 0 | null | 2018-07-07T11:21:44 | 2018-07-07T11:21:44 | null | UTF-8 | C++ | false | false | 464 | cpp | #include <iostream>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <cmath>
#include <vector>
#include <algorithm>
#include <queue>
#include <string>
#include <map>
#include <utility>
#include <deque>
#include <stack>
#define _USE_MATH_DEFINES
#include <math.h>
using namespace std;
int main() {
int... | [
"bsj0206@naver.com"
] | bsj0206@naver.com |
b59bc32cb1872513d36709581d478ecc169cd81f | 89297bec9aa988b6dabad3b1b492f33fac738fe2 | /view/mainmenu.h | 1efe3d78523693b2ee5c9c09ed44ca4d5973bac4 | [] | no_license | alketaz/SpaceShooter | 2c414b37e643bcde6d19824f515e85dc49498295 | 0d7e5cec2ff257a0e4077a0e082a7bc9337ea4fb | refs/heads/main | 2023-06-18T23:54:43.381688 | 2021-07-14T09:08:23 | 2021-07-14T09:08:23 | 358,546,171 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 471 | h | #ifndef MAINMENU_H
#define MAINMENU_H
#include <QGraphicsScene>
#include <QGraphicsPixmapItem>
#include <QPalette>
#include <QPushButton>
#include <QApplication>
class mainmenu : public QGraphicsScene
{
Q_OBJECT
private:
void loadBackground();
void loadTitle();
void loadButtons();
public:
mainmen... | [
"57010050+alketaz@users.noreply.github.com"
] | 57010050+alketaz@users.noreply.github.com |
6a65cfea57ee3131db034cd8f3e85022afedfc18 | 2cf838b54b556987cfc49f42935f8aa7563ea1f4 | /aws-cpp-sdk-medialive/include/aws/medialive/model/InputDeviceSettings.h | b33ef6d1aa49a408041ce1c518ce9088e8c89dd2 | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | QPC-database/aws-sdk-cpp | d11e9f0ff6958c64e793c87a49f1e034813dac32 | 9f83105f7e07fe04380232981ab073c247d6fc85 | refs/heads/main | 2023-06-14T17:41:04.817304 | 2021-07-09T20:28:20 | 2021-07-09T20:28:20 | 384,714,703 | 1 | 0 | Apache-2.0 | 2021-07-10T14:16:41 | 2021-07-10T14:16:41 | null | UTF-8 | C++ | false | false | 2,135 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/medialive/MediaLive_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
c... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
7d4545dda5760541b9de4013463d974fb440bdc4 | 421f5b6d1a471a554ba99f6052ebc39a67581c96 | /CodeChef/Practice/Easy/array-the ball and the cups.cpp | 8bd405d44800937b9b6d2066b43d3b413ec8d3a5 | [] | no_license | avinashw50w/practice_problems | 045a2a60998dcf2920a1443319f958ede4f58385 | 1968132eccddb1edeb68babaa05aaa81a7c8ecf3 | refs/heads/master | 2022-08-31T08:39:19.934398 | 2022-08-10T16:11:35 | 2022-08-10T16:11:35 | 193,635,081 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,929 | cpp | /*The game requires players to find the only ball under one of the N cups after their positions are changed in a special way. At the beginning of the game, The Chef places N cups
in a row and put a ball under the C-th cup from the left (the cups are numbered from 1 to N). All players can see the initial position of t... | [
"avinash.kumar@seenit.in"
] | avinash.kumar@seenit.in |
e44a1762a80437efecf68937bad31d746105b9e1 | 78055d57b7cd5704ec4d21f5b119d507001965c8 | /DragonHoard.cc | e825c6fb3af6da903902cc43b5b39efda10c4144 | [] | no_license | EricStrat/New-CC3K | 16e826cc051f021599c15c10c963a36f98750072 | c74d77565037a8eac3d4bbc08bd7ddfe6111fd97 | refs/heads/master | 2021-01-18T20:24:11.008994 | 2017-04-02T04:27:47 | 2017-04-02T04:27:47 | 86,962,694 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 581 | cc | #include "DragonHoard.h"
DragonHoard::DragonHoard(Player * player) : Treasure{player} {
treasuretype = "DragonHoard";
this->mutGold(6);
}
std::string DragonHoard::getInfo() {
return treasuretype;
}
DragonHoard::~DragonHoard() {
delete player;
}
void DragonHoard::attack( Human &e ) {}
void DragonHoard::attack( D... | [
"enstrati@nettop1.student.cs.uwaterloo.ca"
] | enstrati@nettop1.student.cs.uwaterloo.ca |
b21188b446c505f74964a44e46bc57bda96cc378 | de64bd4c9ddf4f852cfa073253d6754e737db7ae | /c++-srcs/techmap/lutmap/main/LutmapMgr.cc | 853d5abc8503696712e72c61d04642d9a5fcc9a4 | [] | no_license | yusuke-matsunaga/magus | 8424537aea8b12f7ff50e358f05dae150abfac73 | 0855cfc95ea76f330830034f8c222eb562c09730 | refs/heads/master | 2023-05-26T14:56:11.347118 | 2023-05-26T00:23:03 | 2023-05-26T00:23:03 | 38,558,020 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,283 | cc |
/// @file LutmapMgr.cc
/// @brief LutmapMgr の実装ファイル
/// @author Yusuke Matsunaga (松永 裕介)
///
/// Copyright (C) 2005-2011, 2015, 2018, 2022 Yusuke Matsunaga
/// All rights reserved.
#include "LutmapMgr.h"
#include "Bn2Sbj.h"
#include "SbjGraph.h"
#include "AreaCover.h"
#include "DelayCover.h"
#include "CutHolder.h"
#... | [
"yusuke_matsunaga@ieee.org"
] | yusuke_matsunaga@ieee.org |
5952a35b5110f24a8893a98b44110df69368952c | c9d5f55b74b8ac0738654816af9295bd7b9fef08 | /PWGJE/EMCALJetTasks/Tracks/AliAnalysisTaskEmcalSoftDropData.cxx | fb8cca792e7ad5b0bb5bb4b0f892ba689f68db4b | [] | no_license | Bilalphysics/AliPhysics | 3652de1592758eece1f64ee7a565e60a588da7af | 825e2bfd73e16262f1edf298c2cecf8acb8690d4 | refs/heads/master | 2022-04-28T02:16:49.834381 | 2020-04-27T18:00:03 | 2020-04-27T18:00:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,342 | cxx | /************************************************************************************
* Copyright (C) 2019, Copyright Holders of the ALICE Collaboration *
* All rights reserved. *
* ... | [
"markus.fasel@cern.ch"
] | markus.fasel@cern.ch |
1c7e793dc27af3343bc84c07fbc4a962c18a67f9 | 21b877d67a60f8026cfe13bb97ad109933b6fe6f | /test/CodeGenCXX/cheri/cheri-x86-crash.cpp | d4c12135a82ed9bfda429520454a583c3311a7b9 | [
"NCSA"
] | permissive | CTSRD-CHERI/clang | 41408c11cc270ea7b9637307ce6acaa89b9e7135 | ab817c1fec875179bfca67dd7f0523b652511517 | refs/heads/master | 2020-04-15T22:47:03.362803 | 2019-02-13T22:00:55 | 2019-02-13T22:00:55 | 5,190,622 | 8 | 9 | null | 2018-08-23T20:35:19 | 2012-07-26T10:10:21 | C++ | UTF-8 | C++ | false | false | 1,111 | cpp | // This should not crash (I think it still crashes upstream clang, because my IDE won't parse this file)
// TODO: verify and create bug report
// RUN: not %clang_cc1 -triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all -disable-free -main-file-name driver.cpp -mrelocation-model static -mthread-model posix -mdisable-f... | [
"Alexander.Richardson@cl.cam.ac.uk"
] | Alexander.Richardson@cl.cam.ac.uk |
18846d9bb68b488583868506e43d47732fec088b | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/httpd/gumtree/httpd_repos_function_4030_httpd-2.4.20.cpp | 4bb76fabf8ac10f377091cc105056692860d27a5 | [] | 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 | 285 | cpp | static void log_perms_failure(apr_status_t rv, server_rec *s, const char *type)
{
ap_log_error(APLOG_MARK, APLOG_EMERG, rv, s, APLOGNO(00024)
"Couldn't set permissions on the %s mutex; "
"check User and Group directives",
type);
} | [
"993273596@qq.com"
] | 993273596@qq.com |
318e2da612fc2f9ca5d9a9c737377e667f63be8b | 011006ca59cfe75fb3dd84a50b6c0ef6427a7dc3 | /codeChef/COINPART.cpp | e8d88c05add875343975e8214483f71d86c4d3be | [] | no_license | ay2306/Competitive-Programming | 34f35367de2e8623da0006135cf21ba6aec34049 | 8cc9d953b09212ab32b513acf874dba4fa1d2848 | refs/heads/master | 2021-06-26T16:46:28.179504 | 2021-01-24T15:32:57 | 2021-01-24T15:32:57 | 205,185,905 | 5 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 2,145 | cpp | /*
____________________________________________________________
| |
| Author: ay2306 |
|____________________________________________________________|
*/
#include <bits/stdc++.h>
#define MOD 1000000007
#define test i... | [
"mahajan.ayush2306@gmail.com"
] | mahajan.ayush2306@gmail.com |
f8f2e4dd6d658942d177724564b215f7d5625604 | b5bb24596deb19b9114783fe44577009fdd1d296 | /ptlib/tags/FireDoor14b5/include/ptclib/psnmp.h | cce0db9204aeb8b694d39b870ef4a7b15c6e5f33 | [] | no_license | erdincay/opal-voip | 0ca10d30105795272b505995309b2af5836d1079 | 7937e4df5833f48a273a9b3519de87c6bcdc5410 | refs/heads/master | 2020-05-17T18:41:42.371445 | 2015-09-10T17:38:14 | 2015-09-10T17:38:14 | 42,303,471 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,897 | h | /*
* $Id: psnmp.h,v 1.3 1996/11/04 03:56:16 robertj Exp $
*
* SNMP Interface
*
* Copyright 1996 Equivalence
*
* $Log: psnmp.h,v $
* Revision 1.3 1996/11/04 03:56:16 robertj
* Added selectable read buffer size.
*
* Revision 1.2 1996/09/20 12:19:36 robertj
* Used read timeout instead of member variable.
... | [
"robertj@023b2edf-31b2-4de3-b41e-bca80c47788f"
] | robertj@023b2edf-31b2-4de3-b41e-bca80c47788f |
a2ab7d6e942b4fe0e08ea59eac960588e888f320 | 9042769e0e4c07d0459c61a1e6f0716e7b56c067 | /Assignment_2/advios_hls_test/solution1/.autopilot/db/advios_driver.pp.0.cpp.ap-line.cpp | 4cdfc80778ecbeecca7c23fa51667979f2d79e7e | [] | no_license | MadsBeck/ERTS | 1025550ac86cb28243d0ef82d53a1052db2ed400 | 120092bf17f97367abe163b1ce955c979ed1216b | refs/heads/master | 2020-07-13T17:34:20.550878 | 2020-01-03T16:19:02 | 2020-01-03T16:19:02 | 205,123,072 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,309,192 | cpp | #pragma line 1 "../Assignment2-7/Assignment2-7/advios_driver.cpp"
#pragma line 1 "../Assignment2-7/Assignment2-7/advios_driver.cpp" 1
#pragma line 1 "<built-in>" 1
#pragma line 1 "<built-in>" 3
#pragma line 153 "<built-in>" 3
#pragma line 1 "<command line>" 1
#pragma empty_line
#pragma empty_line
#pragma empty_line
#pr... | [
"rasmus.blanghoff@gmail.com"
] | rasmus.blanghoff@gmail.com |
1302fdb3092fd2c192519b4f9125f6631e7cbd99 | fb84972c270ad46aa89873cb844a56f8d1cd7993 | /SingletonClock/SingletonClock/SingletonClock.hpp | 7f5ead822b1f91f1bb1a9f66fe70947bcce8bfa9 | [] | no_license | jginsburgn/AnalysisAndModellingOfSoftwareSystems | 6005bcfdd9749ff49b0e4476fe8ae2a47af08e03 | ffb91de0f9b7ebd5944bc7a5fa3839e3dee55ff6 | refs/heads/master | 2021-01-11T23:54:23.887022 | 2017-05-09T04:00:35 | 2017-05-09T04:00:35 | 78,641,713 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 773 | hpp | //
// SingletonClock.hpp
// SingletonClock
//
// Created by Jonathan Ginsburg on 1/11/17.
// Copyright © 2017 Jonathan Ginsburg. All rights reserved.
//
#ifndef SingletonClock_hpp
#define SingletonClock_hpp
#include <stdio.h>
#include <iostream>
class SingletonClock {
private:
//Constructors and destructor
... | [
"jginsburg@finmex.com.mx"
] | jginsburg@finmex.com.mx |
3e2cd931a86da59ef184824aa6c2a561f1ca7b8d | 77ee3feb0f82773760bffd9c287910c5865d5a80 | /src/Scene/Light.cpp | 0d8b2a2abb4d57d031bba148345699c27562660a | [] | no_license | cecilietlandersen/OpenGL | 2fa8caf7dbfeb868c6098e4e88979da7b5ad8002 | 0223782c7241a36af3c9ee0ed6a05ef39b9a5a4d | refs/heads/master | 2021-01-15T22:02:27.021912 | 2012-10-31T12:52:02 | 2012-10-31T12:52:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,263 | cpp | #include "Light.h"
#include "Camera.h"
#include <glm/ext.hpp>
#include <vector>
#include <sstream>
using namespace Scene;
using namespace glm;
Light::Light()
: Node()
{
auto lightId = lights.size();
data = std::unique_ptr<Data>(new Data(lightId));
data->position_vs = vec3(Camera::getSingleton()->getWorldToView... | [
"ann_ht3@hotmail.com"
] | ann_ht3@hotmail.com |
8608f4cd5fc9fe76fa7108aabc0242c432cd44b1 | bdf536c4e5b51ade2ddbbb5deb03f39e6ba2e38c | /SFML/ObstacleEnemy.cpp | e6b99cd58b7fe504dc92f39623023af5ea72ff1f | [] | no_license | zemin-xu/adventure-of-lolo | 0b12a8048e1fb944f9b8e9ecb4f8b25f7cfa9259 | b9d1cf3a65a1c73b75b9e73f3f42a7f24ba088f0 | refs/heads/master | 2023-04-09T19:14:45.885912 | 2021-04-10T09:38:24 | 2021-04-10T09:38:24 | 214,372,547 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 816 | cpp | //
// ObstacleEnemy.cpp
// SFML
//
// Created by ZEMIN on 27/10/2019.
// Copyright © 2019 ZEMIN. All rights reserved.
//
#include "LIB.hpp"
ObstacleEnemy::ObstacleEnemy()
{
}
ObstacleEnemy::ObstacleEnemy(int x, int y, int length, int height, sf::Texture *texture, int numHorizontal, int numVertical, int kind) : ... | [
"zemin.xu@yahoo.com"
] | zemin.xu@yahoo.com |
1d286b06f95094a264d0befb44d09517549f0481 | 199db94b48351203af964bada27a40cb72c58e16 | /lang/ur/gen/Bible4.h | 65358221f1dd24965fe4a53e51cc0f0eba6dc27c | [] | no_license | mkoldaev/bible50cpp | 04bf114c1444662bb90c7e51bd19b32e260b4763 | 5fb1fb8bd2e2988cf27cfdc4905d2702b7c356c6 | refs/heads/master | 2023-04-05T01:46:32.728257 | 2021-04-01T22:36:06 | 2021-04-01T22:36:06 | 353,830,130 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 275,097 | h | #include <map>
#include <string>
class Bible4
{
struct ur1 { int val; const char *msg; };
struct ur2 { int val; const char *msg; };
struct ur3 { int val; const char *msg; };
struct ur4 { int val; const char *msg; };
struct ur5 { int val; const char *msg; };
struct ur6 { int val; const char *msg; };
struct ur7 { ... | [
"max@mkoldaev.ru"
] | max@mkoldaev.ru |
81bad13362b3253b5c50a1315716cfcda964c4ce | 097f47c14f8ce0152db2df8915bf4c82b5633976 | /FYP_matrix/google-api/google/ads/googleads/v0/errors/collection_size_error.grpc.pb.h | 70af5ba430fbdddedd670e44ebe2e6dfce3a6c82 | [] | no_license | BenjaminChia/Ben_FYP_RPi_Matrix | a1bbffa854be723e59f60358a1dbe7a44e0a1898 | 5a7952774e3f10ddc5ca56dccba82dba25471fd7 | refs/heads/master | 2020-03-29T07:10:53.329139 | 2018-09-21T00:54:08 | 2018-09-21T00:54:08 | 149,655,972 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 1,996 | h | // Generated by the gRPC C++ plugin.
// If you make any local change, they will be lost.
// source: google/ads/googleads/v0/errors/collection_size_error.proto
// Original file comments:
// Copyright 2018 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except... | [
"ben9694@gmail.com"
] | ben9694@gmail.com |
4fc6deba485647aa6bce512edc320eb033e17e5c | 9b1a0e9ac2c5ffc35f368ca5108cd8953eb2716d | /5/Section1-Gen_Programming/1.09-CSGUsingBSP-Chincisan/Frustrum.cpp | 19ae26470ad52bbb69d5080f7ec59b5ab39a78c9 | [] | no_license | TomasRejhons/gpg-source-backup | c6993579e96bf5a6d8cba85212f94ec20134df11 | bbc8266c6cd7df8a7e2f5ad638cdcd7f6298052e | refs/heads/main | 2023-06-05T05:14:00.374344 | 2021-06-16T15:08:41 | 2021-06-16T15:08:41 | 377,536,509 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,698 | cpp | /*
Csg by Bsp.
Author: Octavian Chincisan,
General Programming, Game Programming Gems 5
*/
#include "stdafx.h"
#include "camera.h"
#include "frustrum.h"
//---------------------------------------------------------------------------------------
void Frustrum::UpdateFrustrumPlanes(V3& pos, V3& ldir,... | [
"t.rejhons@gmail.com"
] | t.rejhons@gmail.com |
f75bc479261f485197773e6bcc29128efefa7805 | 696578f3510145db5abeaa1d9dff799814863800 | /play.h | 6c93a59c56d6a25a8fccd804da067f9b22b01397 | [] | no_license | sheric98/minimax_player | eecff85f38742d3a496b54a5bea7bf5fd1b6295b | 76a7b2bcb120be7d272480ccf45aa1e1b9fb712d | refs/heads/main | 2023-02-11T12:07:00.192024 | 2021-01-08T23:14:00 | 2021-01-08T23:14:00 | 328,016,327 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,029 | h | #ifndef PLAY_H
#define PLAY_H
#include <map>
#include <string>
#include "minimax.h"
#include "wrap.h"
namespace play {
enum PlayerType
{
HUMAN = 1,
CPU = 0
};
enum CurrPlayer
{
PLAYER_ONE,
PLAYER_TWO
};
enum GameType
{
CH... | [
"eric.r.shang@gmail.com"
] | eric.r.shang@gmail.com |
22e7fe2bb510e6b9c560b952bd0b653c088e3b4e | 39afb3724b3d2e7ebc0ae7959e6f19103e639128 | /Classes/models/objects/obstacles/level3/circleline/CircleLineModel.cpp | f87e7b88fb8d8904a5ddcce7b66cdcfbf8bab5ae | [] | no_license | tungnguyenvan/MyGame_ios | 36f80464fcee8d9b30126b9d3ef47fbb7ff163d6 | 04f19685fe7771c3359cb4b7e22e4e000321d077 | refs/heads/master | 2020-06-03T01:20:14.484028 | 2019-06-11T13:16:23 | 2019-06-11T13:16:23 | 191,374,758 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,207 | cpp | #include "CircleLineModel.h"
#include "../../../../../common/definitionlevels/DefinitionLevel3.h"
#include "../../../../../common/definitionlevels/DefinitionLevel7.h"
#include "../../../../../common/Definition.h"
const int CircleLineModel::OBSTACLE = 0;
const int CircleLineModel::PATH = 1;
CircleLineModel::Ci... | [
"nguyentungtungtungnguyen@gmail.com"
] | nguyentungtungtungnguyen@gmail.com |
2317f7ea6b882c3154b6ee360468e6d4eb38c099 | 71303b7650b9f4065acec961b020eeb7d3f68fcd | /Level Up/Developer/Graphics/VertexShader.cpp | f83978ccc52f7629b9ad93f75967d3553bf4c348 | [] | no_license | erdnaxela01/LevelUp-Engine | 21990104a68dedf3d28569aabb3c40e2f0e82bb0 | bfbb3d51e11585c71338e0a222183d3c6b52ec1e | refs/heads/master | 2021-01-10T19:43:26.792575 | 2015-06-22T02:19:15 | 2015-06-22T02:19:15 | 34,343,261 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,752 | cpp | #include "VertexShader.h"
#include "../Services/ServiceLocator.h"
namespace LevelUp
{
VertexShader::VertexShader(std::wstring shaderName, std::string entryPoint, std::string level, D3D11_INPUT_ELEMENT_DESC solidColorLayout[],int arraySize, ID3D11InputLayout** inputLayout)
{
m_solidColorVS.setDeleteFunc([](ID3D11Ve... | [
"alex._s@hotmail.com"
] | alex._s@hotmail.com |
88a9363b966bf80f7713bd86f6d7e58e83558fd2 | d15dfd57b3c9d83fcd316c193bc4a55ea022067a | /mainwindow.cpp | 394b080b34ca69ab7deaf7392fdf043dc70fa1db | [] | no_license | totosupermanjzp/BtServerDemo | 81a5e75d3b13e8b01b4fa6c2f252d1091ca13a59 | 283424189a57b7a631fcf247f34d74de5d17c796 | refs/heads/master | 2020-03-23T19:31:04.963982 | 2018-07-30T10:22:37 | 2018-07-30T10:22:37 | 141,984,021 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,294 | cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
#include "QStringListModel"
#include "QDir"
#include "QMessageBox"
#include "QThread"
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
/////////////////////////遍历可用串口//////////////////////////
... | [
"490317089@qq.com"
] | 490317089@qq.com |
cb311d9c0c9ee23ff6beae98a165e464bcf02c22 | 11fd3439844c7e9aaa849bcf9eb93f63b8dacfeb | /codeforces/contests/e71/Cv/main.cpp | 403319746c553d66680e8efefb46aa4f1c20fd42 | [] | no_license | sanesedu/CompetitiveProgramming | b960b8852e88585a79967344d015bef99efa36f0 | 5feae374a04174062d6996f60210ec340d7295e9 | refs/heads/master | 2023-01-12T07:47:18.402228 | 2020-11-18T09:05:13 | 2020-11-18T09:05:13 | 274,455,640 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,380 | cpp |
#include <bits/stdc++.h>
#define pb push_back
#define all(x) (x).begin(), (x).end()
#define fori(i, n) for(int i = 0; i < (int)(n); ++i)
#define forid(i, n) for(int i = (int)(n) - 1; i >= 0; --i)
#define forl(i, n) for(long long i = 0; i < (long long)(n); ++i)
#define forld(i, n) for(long long i = (long long)(n) - 1;... | [
"sanesedu@gmail.com"
] | sanesedu@gmail.com |
e4f1e8ccbf6552098721ce7e2f5096fae343ab0d | 23b8b57057b3b758f01dcdfde33cc03becb4caf6 | /llvm/tools/clang/lib/Driver/SanitizerArgs.cpp | 9792cb2a37ddf0aafb77301e6bd675143e8b1672 | [
"NCSA"
] | permissive | purdue-secomp-lab/MEDS | 0ab642a86dabe0af36f236043e9ea82dfac54174 | f05ef7da40fa6214000e51c908ab26e16a21c512 | refs/heads/master | 2022-06-09T19:01:48.875018 | 2022-06-01T14:18:15 | 2022-06-01T14:18:15 | 117,601,008 | 38 | 14 | null | 2022-06-01T14:18:17 | 2018-01-15T22:13:57 | C++ | UTF-8 | C++ | false | false | 35,416 | cpp | //===--- SanitizerArgs.cpp - Arguments for sanitizer tools ---------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"wookhyunhan@gmail.com"
] | wookhyunhan@gmail.com |
7e864421f80434f746832fa7aa248ae64f92114e | 2e79f61dc34bc62cc5d9b5149e04b205dfd7e0cf | /heap.h | feb84870241a5a333cf873d88f7072d47dd4c311 | [] | no_license | AidanFok/HeapMerging | 5e9625d9868591cb514eac7670ef1d2f3ac18a5f | 3c6c6d41d9fa9822a0944cc1ae79b158d7a4f784 | refs/heads/master | 2021-01-20T15:58:50.894054 | 2016-08-02T16:07:09 | 2016-08-02T16:07:09 | 64,771,914 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 684 | h | #ifndef HEAP_H
#define HEAP_H
#include <vector>
#ifndef INT_MIN
#define INT_MIN 0xffffffff
#endif
#define MIN_CHILD(parent, h) (h[(parent)*2+1]?((h[(parent)*2+1]>h[(parent)*2])?((parent)*2):((parent)*2+1)):(parent)*2)
class heap{
public:
virtual heap* merge(heap* addition)=0;
};
class ordin_heap : public he... | [
"394069071@qq.com"
] | 394069071@qq.com |
24e7c6ecd31581119efb106e02b8a1f22d21cdb9 | dc7775d75a7248ca2319ec702dd1f770de86092e | /SparkFun_HX711_Calibration.ino | 26175724e76db836fcc3887a7c577cf367a79f03 | [] | no_license | colehlava/Zero-Waste-Station | 36e67376b09ddaa888cfac4132531cd7ab84cf71 | 22b06de4a0a9951ed094ca386a586df2d63174f6 | refs/heads/master | 2018-08-24T09:49:00.563081 | 2018-06-03T02:18:50 | 2018-06-03T02:18:50 | 119,114,947 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,879 | ino | /*
Example using the SparkFun HX711 breakout board with a scale
By: Nathan Seidle
SparkFun Electronics
Date: November 19th, 2014
License: This code is public domain but you buy me a beer if you use this and we meet someday (Beerware license).
This is the calibration sketch. Use it to determine the calibration_fa... | [
"noreply@github.com"
] | colehlava.noreply@github.com |
ef6718b9c1eb33b5507d2f4b8f5ee1a093671484 | 7f16497d6eb7ea596ec26bee5215ed92a28c11b8 | /BkOI/Balkan 17-Cats.cpp | 8bdc9f07ec1a3014a14f35a73a8d2822e35b224e | [] | no_license | thecodingwizard/competitive-programming | 6c088dc15116409583429486951a94a87f6c316b | 76f8659dbb935604a31fad26967fdfa413141244 | refs/heads/master | 2022-05-27T02:25:34.593546 | 2022-05-19T06:00:00 | 2022-05-19T06:00:00 | 159,700,280 | 83 | 25 | null | 2021-10-01T15:26:22 | 2018-11-29T17:03:04 | C++ | UTF-8 | C++ | false | false | 3,163 | cpp | /*
DP: dp[i][j][k][l] = minimum swaps to...
- ensure that all the animals from [0...i) are arranged properly
- the current section is of type j (ie. the next animal must be of type j or be a lion)
- if k is 0, then we have only had one type of animal. If k is 1, then we have had both types of animals.
k needs to be 1... | [
"nathan.r.wang@gmail.com"
] | nathan.r.wang@gmail.com |
d835c79a034076746e062850a29f087babcc9c3d | b8626b7f35f480ec6403b2f29f48473d1952b250 | /grafos_movil/Pods/leveldb-library/table/two_level_iterator.cc | c99e4e868d1e4a8cfa669e58f6f8562f2fafa47a | [
"LicenseRef-scancode-generic-cla",
"BSD-3-Clause"
] | permissive | jona1704/grafos_movil | 8e0f79e165527b17066c31eedf9f9af6c41021b3 | f7fe31db300c4f283dbf47744978e12121e414ce | refs/heads/master | 2020-07-29T18:58:11.483388 | 2019-09-24T05:16:24 | 2019-09-24T05:16:24 | 209,924,243 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,843 | cc | // 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.
#include "table/two_level_iterator.h"
#include "leveldb/table.h"
#include "table/block.h"
#include "ta... | [
"jonathanc@MacBook-Pro-de-Jonathan.local"
] | jonathanc@MacBook-Pro-de-Jonathan.local |
393aa331ed2703e754bd566233d1eea5d93d7adc | 8ac22787f8a6c6d510c21e5f2a6855afc22834ce | /12/Account.cpp | b23bda171fa20ba42159f3a98c962227b4a0454b | [
"MIT"
] | permissive | 5x/CppPracticalCourseSolutions | 28aa5bdc6c24b11cafb90620b83fa91704a8f024 | 1795e0630e7065ccfc0acea58782af94ea99276e | refs/heads/master | 2020-07-04T18:31:33.596681 | 2019-08-14T15:20:57 | 2019-08-14T15:20:57 | 202,374,991 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,594 | cpp | #include "stdafx.h"
#include "Account.h"
#include <iostream>
using namespace std;
Account::Account() {
balance = .0;
}
Account::Account(double t) {
if (t >= .0) {
balance = t;
} else {
cout << "Not corect started balance, it set 0" << endl;
balance = .0;
}
}... | [
"noreply@github.com"
] | 5x.noreply@github.com |
4267ae33cd140903fe2d6de7296395d815cb70ee | ae9fc57de97c95a2e53aa4ada585f59a983ad943 | /Beacons/Module/Position/Trilateration/NonLinear/Eigen/src/Core/products/SelfadjointMatrixVector_MKL.h | 299abe9a02db97f9eeb6ce1fb2c7a03c5d747d9e | [] | no_license | BeigeLingxiao/beacons | b61fe75161c19a85a5fa37f6b0da44fd646b26ab | 3960f12144d4894ccaba629d3bfe142ef1161d38 | refs/heads/master | 2021-09-09T01:54:54.627308 | 2018-03-13T08:16:48 | 2018-03-13T08:16:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,130 | h | /*
Copyright (c) 2011, Intel Corporation. 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 the ... | [
"1102MortyMerr97"
] | 1102MortyMerr97 |
556378abbfe333865befb73093a61dd3dbe8cf05 | 8c7148f936ae725c8629b21986b907a9e6f31b57 | /swarm-optimization/particle.cpp | 84404f15e30a631106c6a90e38c2ea259796e985 | [] | no_license | Elemnir/cs420 | a0a190f4386a3960005468f4767b550b086d3e0e | 35193941c67a6da06b54eea7e5df036879e125be | refs/heads/master | 2020-04-29T22:37:00.263686 | 2014-05-03T04:40:18 | 2014-05-03T04:40:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,461 | cpp | #include "particle.h"
#include <string>
#include <fstream>
#include <random>
#include <cmath>
std::vector<Particle> pop;
double Particle::xglobal, Particle::yglobal;
double Particle::inertia, Particle::cognit, Particle::social;
double Particle::maxvel = 1, Particle::width = 100, Particle::height = 100;
int Particle::... | [
"ahoward0920@gmail.com"
] | ahoward0920@gmail.com |
51a96e1a71e1b40df60a75b4b51cf2d5154d28d8 | d07b61e8eced67c4d5c3aef1cac28a9ad5483188 | /Sorting and Searching/Merge Two Sorted Array.cpp | c6e124449453ab71aaf4af5b00bd5df963ac167b | [] | no_license | arushi474/Programming-in-CPP-Practice-Problems | 61ace188c00a68738db11027b11238f963069724 | e7d5969b396ef7737df62058386db2a3a8952b56 | refs/heads/main | 2023-07-25T18:38:19.966681 | 2021-09-08T15:43:07 | 2021-09-08T15:43:07 | 369,455,438 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 604 | cpp | void merge(int *arr1, int size1, int *arr2, int size2, int *ans)
{
int n= size1+size2;
int one=0;
int two=0;
for(int i=0;i<n;i++){
if(one<size1 && arr1[one]<=arr2[two]){
ans[i]=arr1[one];
one++;
}
else if(two<size2 && arr1[one]>arr2[two]){
ans[i]=arr... | [
"noreply@github.com"
] | arushi474.noreply@github.com |
892672d85782e2cced180f272b696cd0bc873b5b | e1c18c487996cd23141e1f1120149ff1d4252434 | /renderdoc/driver/ihv/intel/intel_counters.cpp | aaaa88642ce51580ab3df099d98cb49649d1a832 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | alexv1n/renderdoc | 402c5fae8c2771ad2dd3b48bbde24eb9d5a47469 | 3b497241b004bc2f9a8eaf74813db57f5ee5f956 | refs/heads/v1.x | 2021-06-24T22:53:46.121062 | 2020-12-15T22:18:11 | 2020-12-15T22:18:11 | 185,238,345 | 0 | 0 | MIT | 2020-12-15T22:07:56 | 2019-05-06T17:04:46 | C++ | UTF-8 | C++ | false | false | 14,861 | cpp | /******************************************************************************
* The MIT License (MIT)
*
* Copyright (c) 2019-2020 Baldur Karlsson
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in... | [
"baldurk@baldurk.org"
] | baldurk@baldurk.org |
358799b1590ffa9a6c188c530cc8ef92ac1b3fbc | d18a629e38fe2479b23fa4d30592763718ac40df | /memoizer.h | 9458a27ba01a04ef216adad82e525f5617153614 | [
"MIT"
] | permissive | e-eight/mcutils | 2640d998df5033f7639f96a255b1322fbc0bcfd5 | 5995da35aec93d8aa803f37d6197d846b5799eaa | refs/heads/master | 2023-09-01T08:02:41.418378 | 2019-10-09T17:31:20 | 2019-10-09T17:31:20 | 172,386,103 | 0 | 0 | MIT | 2019-02-24T20:24:51 | 2019-02-24T20:24:51 | null | UTF-8 | C++ | false | false | 8,716 | h | /****************************************************************
memoizer.h
Template library for generic "memoization"/caching structures.
Created by Mark A. Caprio, 2/23/11.
- 6/9/17 (mac): Move into namespace mcutils.
****************************************************************/
#ifndef MCUTILS_MEMO... | [
"mcaprio-nd-edu"
] | mcaprio-nd-edu |
d5491d378a07c38e8834383c9f9d5afb07723ee3 | 82edd4a8ffaab74bdcb995b39027b9f36828803e | /Project/Engine/CRenderMgr.cpp | c2f34308c1ab3e79ae133064ec791fd6289bbc2e | [] | no_license | chamnah/Portfolio_Transistor | 82a1bc474ffb1f842e6974ecaed18efeb409e5ca | fa99d7aee4fb2f39474ac0446c6030ace543ec1b | refs/heads/master | 2022-06-07T14:49:50.612801 | 2020-05-06T11:33:54 | 2020-05-06T11:33:54 | 261,708,087 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 3,498 | cpp | #include "CRenderMgr.h"
#include "CBlendState.h"
CRenderMgr::CRenderMgr()
{
for (UINT i = 0; i < (UINT)BLEND_TYPE::END; ++i)
{
CreateBlend((BLEND_TYPE)i);
}
}
CRenderMgr::~CRenderMgr()
{
for (UINT i = 0; i < (UINT)BLEND_TYPE::END; ++i)
{
delete m_arrBlend[i];
m_arrBlend[i] = nullptr;
}
}
void CRenderMgr:... | [
"46718509+chamnah@users.noreply.github.com"
] | 46718509+chamnah@users.noreply.github.com |
6dcf157d0abcd1dae943a67ee6f52ae8cbef6eca | 81dd5a57795028f3c51671d356010e0a00b46582 | /Complex.h | e0e63d7d675eafe2d56f4669141063ade045fac6 | [
"MIT"
] | permissive | Yolandatang/abstract | c69767486020181f0a35748efaa33ceacedc2cd4 | 3ed04c501a482b447cf7380f47a0665fa94ba710 | refs/heads/master | 2020-03-21T04:56:59.806037 | 2018-06-22T10:01:26 | 2018-06-22T10:01:26 | 138,135,939 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 739 | h | #ifndef COMPLEX_H
#define COMPLEX_H
#include"AbstractNumber.h"
class Complex:public Number
{
public:
Complex(int a,int b):Number(a)
{
realpart=a;
imagpart=b;
}
~Complex(){}
virtual void print();
virtual Complex Complex::operator +(const Complex& other);
virtual Complex Complex::operator *(const Co... | [
"1440410215@qq.com"
] | 1440410215@qq.com |
ca43524edf03c51726425e36fbb349abe1b99b9e | 552314abdbec5557831fecb4103f54489060b779 | /finite_difference/brownian_nd.hpp | d6b5319e1b8ed35bb85b54f4317fa4bf00c7f436 | [] | no_license | JeanJARDEL/Numerical-Finance | adb496d27e64e324bf3f01e792c4e313f524506c | 596e99abdaf64f6973633e214988d38a33bd7bc8 | refs/heads/master | 2023-04-21T13:55:14.185862 | 2021-05-02T20:27:34 | 2021-05-02T20:27:34 | 337,027,910 | 0 | 1 | null | 2021-05-02T20:50:49 | 2021-02-08T09:48:02 | C++ | UTF-8 | C++ | false | false | 394 | hpp | #ifndef BROWNIAN_ND_H
#define BROWNIAN_ND_H
#include "random_process.hpp"
#include "../utils/matrix.hpp"
class BrownianND : public RandomProcess {
protected:
Matrix<double>* correlation_matrix;
public:
BrownianND(Normal* gen, int dim, Matrix<double>* cor);
void simulate(double start_t... | [
"jean.jardel76@gmail.com"
] | jean.jardel76@gmail.com |
0a3517cc3f42153b45b9e97e240a4bc664471f78 | f1935af984975b55dcf338cd8c70f56e7ad522a9 | /class.cpp | a18a0376afc06e51876c18d02b5a1570f55bb453 | [] | no_license | larryhwang/C-C-Basic-Algorithms | 93a67ab5fd7dee8ee320ad3c2d7a33d3bbff646c | 9098dc773da9d4267989ab7f7770ece9de8d662b | refs/heads/master | 2020-04-14T02:51:39.189757 | 2015-07-24T02:23:06 | 2015-07-24T02:23:06 | 39,604,320 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 570 | cpp | #include<iostream>
#include<iomanip>
using namespace std;
class clock {
public:
void setTime (int newH=0,int newM=0,int newS=0);
void showtime();
private:
int hour,minute,second;
};
void clock::setTime(int newH,int newM,int newS){
hour=newH;
minute=newM;
... | [
"larryhwang@foxmail.com"
] | larryhwang@foxmail.com |
2efb3813f953247c90b591d7619dcc2ea8d48320 | f17e9d3bf44988c1fd5da05880a20054d33ee629 | /InjectDll.cpp | f99743d91d64779797630599c8c2b400cca8dbf8 | [] | no_license | AesirHod/DefianceTrainer2 | a392c6ab8a1fedcc335245abcc0376d3ebeac8dd | 78f81739b61955937e4de7ba1b92fb957f733d12 | refs/heads/master | 2022-05-08T19:34:34.366848 | 2020-04-14T00:47:39 | 2020-04-14T00:47:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,684 | cpp | #include "InjectDll.h"
DWORD GetTargetProcessIdFromProcname(char *procName);
DWORD GetTargetThreadIdFromProcname(char *procName);
__declspec(naked) void loadDll(void)
{
_asm {
// Save the flags and registers
pushfd
pushad
// Placeholder for the string address and LoadLibrary
push 0xDEADBEEF
mov eax, 0xDEADBEEF... | [
"andrew.fradley.83@gmail.com"
] | andrew.fradley.83@gmail.com |
7e5668e6005d46e37c54849a596819c74b7dc109 | 8e53efce9dc336be02ab2d439797c3ab0a7cffee | /stacks/stacksArray/main.cpp | 8ab1749659c8e55f2e3373876c52f41b085a0138 | [] | no_license | sarthak-choudhary/dsa | 9a555fd391ef0bc28e18f403afeef9e98998e279 | aa7eaaea5ed069465dddffb1f4362c756172ff5f | refs/heads/master | 2023-02-03T02:43:28.952625 | 2020-12-19T09:58:10 | 2020-12-19T09:58:10 | 280,746,284 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 392 | cpp | #include <iostream>
#include "stacksArray.cpp"
using namespace std;
int main() {
StackUsingArray<int> s1;
s1.push(100);
s1.push(101);
s1.push(102);
s1.push(103);
s1.push(104);
cout << s1.top() << endl;
cout << s1.pop() << endl;
cout << s1.pop() << endl;
cout << s1.pop() << end... | [
"f20190112@pilani.bits-pilani.ac.in"
] | f20190112@pilani.bits-pilani.ac.in |
3581c355e67b22f4247cc60428e1f6269ed88411 | 2939ab1f496fd904186295c2dd944662a0f9dedc | /Agenda/src/User.cpp | 8527bbe7284ab2fe54168767006033760b335b78 | [] | no_license | YoungChen96/Agenda | f6aef1362a3aaf0adc1360d4c2f7ddf7bf75d937 | d870e0c6bef92264cce4e2cadbd867b839f5193a | refs/heads/master | 2020-09-22T07:55:51.180420 | 2016-09-06T12:41:48 | 2016-09-06T12:41:48 | 67,505,400 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,859 | cpp | #include"User.hpp"
User::User(std::string t_userName, std::string t_userPassword,
std::string t_userEmail, std::string t_userPhone) {
m_name =t_userName;
m_password =t_userPassword;
m_email =t_userEmail;
m_phone =t_userPhone;
}
/**
* @brief copy constructor
*/
User::User(const User &t_u... | [
"noreply@github.com"
] | YoungChen96.noreply@github.com |
07df11c4b34e1835ef61de2ccc6d30971b832254 | 6b2af072847d22c17344856636054497d1f4f632 | /clang/nthUglyNumber.cpp | 2e42189c355396051293b7bbf1f757b3220869dd | [] | no_license | iplay16/vscode | 2a2dde14550164cc36d76dee4a5bdba6e998f026 | 542626143c4eab527f6bc7143e8778619c8e4857 | refs/heads/master | 2020-04-25T01:55:23.972221 | 2019-10-05T08:40:31 | 2019-10-05T08:40:31 | 172,422,491 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 580 | cpp | #include<stdio.h>
#include<stdlib.h>
bool isUgly(int n){
if(n%2==0){
return true;
}
if(n%3==0){
return true;
}
if(n%5==0){
return true;
}
return false;
}
int nthUglyNumber(int n){
int nth=1;
if(n=1){
return 1;
}
int i=2;//i is number
whil... | [
"iplay16@163.com"
] | iplay16@163.com |
ecc55354ca1ef22f74e0df1aa3991d9dcd720f3d | 83bacfbdb7ad17cbc2fc897b3460de1a6726a3b1 | /v8_4_5/src/compiler/operator.cc | ae10348422cf3eeb71525c0e637225864e9fa52e | [
"bzip2-1.0.6",
"BSD-3-Clause",
"Apache-2.0"
] | permissive | cool2528/miniblink49 | d909e39012f2c5d8ab658dc2a8b314ad0050d8ea | 7f646289d8074f098cf1244adc87b95e34ab87a8 | refs/heads/master | 2020-06-05T03:18:43.211372 | 2019-06-01T08:57:37 | 2019-06-01T08:59:56 | 192,294,645 | 2 | 0 | Apache-2.0 | 2019-06-17T07:16:28 | 2019-06-17T07:16:27 | null | UTF-8 | C++ | false | false | 1,405 | cc | // Copyright 2014 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/compiler/operator.h"
#include <limits>
namespace v8 {
namespace internal {
namespace compiler {
namespace {
template <typename N>
V8_I... | [
"22249030@qq.com"
] | 22249030@qq.com |
541a0c3fda1ea32ddf211727eb2c57a81f56b7cf | a0e45df1e9a0ace3304c70b31ada42eac4305fe4 | /sources/Player.hpp | a90b90f724fa2614baa985054c187dfce26cfd80 | [] | no_license | itay-rafee/pandemic-b | 3cf7054a363c4d9596b2c74b3515be4d2b891204 | 54e522f369f0c31811ba793ad36c79c7ffcf4513 | refs/heads/main | 2023-05-05T06:15:35.835279 | 2021-05-18T09:21:32 | 2021-05-18T09:21:32 | 366,087,000 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 762 | hpp | #pragma once
#include "Board.hpp"
#include "City.hpp"
#include "Color.hpp"
#include <set>
namespace pandemic
{
class Player
{
public:
Board& board;
City city;
std::set<City> cards;
std::set<Color> meditions;
std::string rol;
Player(Board &b, City c, std::s... | [
"root@DESKTOP-5JP3J6T.localdomain"
] | root@DESKTOP-5JP3J6T.localdomain |
0bd8d1d62861d3e7db1988acfeda255654b651d9 | 543290561355821a940d7e020c2336ab8008ead4 | /Minigin/GameObject.h | 62b44e1537861a3b9199dadc3a0331acd9be1c7f | [] | no_license | Leonixidas/Engine | cbc97289d94f4bd719b78120c48ea5f6f59b6240 | 631ed47ac3443757968be369ccba3c7728bc962d | refs/heads/master | 2020-05-21T07:28:27.641353 | 2019-08-27T21:38:54 | 2019-08-27T21:38:54 | 185,961,755 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,479 | h | #pragma once
namespace imp
{
class BaseComponent;
class Transform;
class GameObject final
{
public:
GameObject();
GameObject(const std::shared_ptr<GameObject>& parent);
~GameObject();
virtual void Update();
GameObject(const GameObject& other) = delete;
GameObject(GameObject&& other) noexcept = dele... | [
"leanderdehertogh@hotmail.com"
] | leanderdehertogh@hotmail.com |
88955e111a462a6904161befd3b885d2b19757f0 | d7980cb1210f8b4578c58b968f523a28ca5b1050 | /src/view/separator.h | 98e1d6965b24e6012590774bc37f551bcd48b547 | [] | no_license | dangvd/ksmoothdock | 4ee6ecedf744d46ebf5169a95b019fa42e14b4e2 | 30e51e86e67b0b2a7c5cfb60ac1dd8fc048d1673 | refs/heads/master | 2022-12-02T14:54:37.147210 | 2022-04-21T21:44:45 | 2022-04-21T21:44:45 | 35,782,570 | 61 | 12 | null | 2022-12-23T22:27:50 | 2015-05-17T20:53:22 | C++ | UTF-8 | C++ | false | false | 1,492 | h | /*
* This file is part of KSmoothDock.
* Copyright (C) 2019 Viet Dang (dangvd@gmail.com)
*
* KSmoothDock is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your op... | [
"dangvd@gmail.com"
] | dangvd@gmail.com |
d39f210dcd9fdb84f8dbccd8978f824547b81266 | d5bb2a99155bb5080361a9dfdd7d89fdf7137c2f | /implementationFiles/Battle.cpp | cad75d5696ae92f7ecb46a1ddc3ded40b88d2a68 | [] | no_license | ArnoldGoncharenko/ArnoldMartinGame | 76841eb5219fc3ae72e3a420f7560856d8221fbe | 54f2040ea3b04bf1591dc24c9eaab86fc90e45ea | refs/heads/master | 2021-01-23T08:39:01.732384 | 2014-02-10T02:44:23 | 2014-02-10T02:44:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,051 | cpp | #include "Battle.h"
#include "Monster.h"
#include "Player.h"
#include <string>
#include <stdlib.h>
#include <iostream>
namespace GameCore
{
battle::battle()
{
}
battle::~battle()
{
}
bool battle::calcTurn(short player, short monster)
{
if (player > monster)
{
return true;
}
else if (player == mon... | [
"arnoldg@zoomengine.com"
] | arnoldg@zoomengine.com |
3a1e4fc9559ea7e756dd1b5ca79055f470e8d173 | bb371f9115975263f6475a801f059ea9ab5fde86 | /amf/public/include/core/PropertyStorage.h | 53f31270b0394c70808491d9c1066d3e9635df57 | [
"MIT"
] | permissive | GomesDosSantos/TAN | 792a423bed0ae2588f4af5c9fdf0c0bd8b38219d | 02b1d64c9a0e892c475ac05eba239c99c6b77611 | refs/heads/master | 2021-06-11T08:28:30.477755 | 2017-02-10T17:04:57 | 2017-02-10T17:04:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,220 | h | //
// Notice Regarding Standards. AMD does not provide a license or sublicense to
// any Intellectual Property Rights relating to any standards, including but not
// limited to any audio and/or video codec technologies such as MPEG-2, MPEG-4;
// AVC/H.264; HEVC/H.265; AAC decode/FFMPEG; AAC encode/FFMPEG; VC-1; and M... | [
"Jason.Stewart@amd.com"
] | Jason.Stewart@amd.com |
19ae2aa0f36f6d2284e34486a625935e1f98113b | b725114b18e144d377b198ae09baef599183f26d | /NewServicePage.xaml.cpp | 4b91317a7fc04b8f9b9e3caef35308c093b94a96 | [] | no_license | vesaeskola/vehicledatabase | 7ff7a13ab47f0841bd7523529a50cf579d46a901 | 2e603b974c15c45020b7063fe9256aff943c9425 | refs/heads/master | 2020-09-27T02:16:04.175998 | 2016-09-19T12:58:52 | 2016-09-19T12:58:52 | 67,773,313 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,404 | cpp | /*++
Module Name:
NewServicePage.xaml.cpp
Abstract:
This module implement NewServicePage class. NewServicePage implement user interface to enter and edit service of vehicle.
Service could contain service type, mileage, date, cost and general description.
Environment:
Universal Windows Platform application
Copyr... | [
"vesa.m.eskola@gmail.com"
] | vesa.m.eskola@gmail.com |
5160a4eb7a7a64db9df5af6283d935be679abecd | 7ef2a82caaa3020cf15c20b0ef013f24c5b7277a | /placedetailsdialog.cpp | f893de10be70d5f215eb0f91e68ed8740c27dbfa | [] | no_license | tranter/qt-google-places | dfba899b104bc068d2e70359fee9bf3c3f25154c | 136822dfcc13e19f1664c81cbb57712fba4a9dd8 | refs/heads/master | 2020-05-30T19:42:00.675842 | 2015-04-20T08:34:25 | 2015-04-20T08:34:25 | 32,947,312 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,851 | cpp | #include "placedetailsdialog.h"
#include "ui_placedetailsdialog.h"
#include "variantlistmodel.h"
#include "tools.h"
#include <QPushButton>
#include <QListView>
PlaceDetailsDialog::PlaceDetailsDialog(QWidget *parent) :
QDialog(parent),
ui(new Ui::PlaceDetailsDialog)
{
ui->setupUi(this);
ui->eventsLabel... | [
"zptak@ics.com"
] | zptak@ics.com |
d1a6509d9bd2d5ee06f54b3521f66f716a9efeed | c540706d3505484d5ec3c8ff15fed739c3c98228 | /trunk/foobar2000/foobar2000.1.1.x/SDK/filesystem.h | dada577361df91157fe2d229c66a51e8f09d080d | [] | no_license | torteshui/ShuiCast | 181b1df82baa81a77f77c0d0f1e8b777c393373b | 58ab144b6636d72a84cbefdc8bda0d1cd4dfc0bb | refs/heads/master | 2022-11-26T15:00:14.186935 | 2020-08-09T10:46:43 | 2020-08-09T10:46:43 | 103,506,367 | 15 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 36,245 | h | class file_info;
//! Contains various I/O related structures and interfaces.
namespace foobar2000_io
{
//! Type used for file size related variables.
typedef t_uint64 t_filesize;
//! Type used for file size related variables when signed value is needed.
typedef t_int64 t_sfilesize;
//! Type used for file timesta... | [
"admin@a-1radio.com"
] | admin@a-1radio.com |
b8c506a33f9f6b23242fc24a02eb5e35206ee81d | b3d29f9dd84231c1442909cae414d49f859510a7 | /19.2.cpp | 8ed8bcd48798676bbc42a0c46310854e15151540 | [] | no_license | Kruml3/Advent-of-Code-2020-C- | cca8970cc7630ac133be852fdcc92124e42ac30d | 29e28f4d67b8781b8c72e5fd0c55803008a27083 | refs/heads/main | 2023-02-26T00:31:41.888634 | 2021-02-05T18:53:19 | 2021-02-05T18:53:19 | 336,360,528 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,337 | cpp | #include "bits/stdc++.h"
using namespace std;
string temp;
long long result = 0;
int * cisla[136];
string rege="";
int pos=0;
int pocetPravidel = 0;
string *pokusy[10];
void pridej(int pravidlo){
bool hotovo=false;
if(pravidlo==56){
rege+="(a|b)";
return;
}
if(pravidlo==54... | [
"noreply@github.com"
] | Kruml3.noreply@github.com |
6f6afc00164b40d84b9eec836492b7cd9d030ec5 | 66e9d4ade105ca25ccaeece17b63831aaf133e7d | /chrome/browser/ui/views/autofill/local_card_migration_icon_view.h | d707bf69f7a0b9b4add9d68d03a4a8c1ec326319 | [
"BSD-3-Clause"
] | permissive | rookiechao/chromium | 17eed8364b9f369d35ca62ff380a7c5d55c5f810 | 2cd605c5bfcb7672fd6f4cae7400ec62308f3c2f | refs/heads/master | 2023-03-07T20:13:33.287402 | 2019-04-04T09:48:01 | 2019-04-04T09:48:01 | 178,987,904 | 1 | 0 | NOASSERTION | 2019-04-02T03:00:16 | 2019-04-02T03:00:16 | null | UTF-8 | C++ | false | false | 1,851 | h | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_VIEWS_AUTOFILL_LOCAL_CARD_MIGRATION_ICON_VIEW_H_
#define CHROME_BROWSER_UI_VIEWS_AUTOFILL_LOCAL_CARD_MIGRATION_ICON_VIEW_H_
#in... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
b42ab6ff7de18be7046a84b0b0fe71cc89b1aa6e | ace4ec4abf86829d174e93826841d2f15d5c53b8 | /AnaglyphProject/headers/Filter.h | b7313d3c4cdaf1d528b6dbb92070cab0ae468366 | [] | no_license | piopawel/AnaglyphProject | 05cb08482aac762a3c85570844810d32c7ea62e6 | 2107d20c14225ba8e13fe289a6fb685a7cb8b78b | refs/heads/master | 2020-11-25T12:46:26.769438 | 2019-12-17T17:38:52 | 2019-12-17T17:38:52 | 228,666,943 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 438 | h | #pragma once
#include "ImageProcess.h"
class Filter :
public ImageProcess
{
public:
Filter();
Filter(cv::Mat_<uchar> image, cv::Rect roi, cv::Size size, int type);
~Filter();
//Three possibilities of filters.
const static int BLUR = 1;
const static int GAUSSIAN = 2;
const static int MEDIAN = 3;
private:
vo... | [
"piopawelczyk@gmail.com"
] | piopawelczyk@gmail.com |
79f2bccd1392c583ca1b0e80f895bdef5b06f6a3 | 2131cfe031a8c0eb25fbfc4deb46cf8d22f4cc90 | /emulator/src/PPU.hpp | 3aa8aa2fbe04623b2e7a4dfbe018503b7a84c717 | [] | no_license | Lambda1/lamnes | 0258ba6e62504075f967328825fdb9576b4d10b4 | 0647ed744fcb94bb1736c3c792c839a0e41d2abc | refs/heads/main | 2023-03-29T10:55:42.227315 | 2021-03-28T13:27:13 | 2021-03-28T13:27:13 | 349,090,757 | 2 | 0 | null | 2021-03-28T13:25:08 | 2021-03-18T13:47:58 | C++ | UTF-8 | C++ | false | false | 2,959 | hpp | #ifndef __PPU_HPP__
#define __PPU_HPP__
#include <iostream>
#include <vector>
#include "./VRAM.hpp"
#include "./DefType.hpp"
#include "./VirtualScreen.hpp"
#include "./Cartridge.hpp"
namespace lamnes
{
class PPU
{
private:
struct col
{
using type = unsigned char;
type r, g, b;
col... | [
"breakthrough.dodorara@gmail.com"
] | breakthrough.dodorara@gmail.com |
6b3d43428843ac10b6094c84e77706460a32d317 | 4f066266dff3c1ede0b46399ed6a0ba4f96fd6c8 | /C-third/第十五次作业/第十五次作业.cpp | 86d10af338224ca48b679a16066509ed3020988e | [] | no_license | MisakiFx/C | 78b41c682875b95cb236e2f09b4302066052188b | 67ea0927ad4644be2c333207c091fe2a2636a5a5 | refs/heads/master | 2020-04-04T13:22:15.347245 | 2019-05-23T05:31:38 | 2019-05-23T05:31:38 | 155,959,361 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,982 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
/*
查找不重复的数字`
**/
int FindNum(int* a, int* b, int* arr, int len)
{
int num = 0;
int isFind = 0;
for(int i = 0; i < len; i++)
{
for(int j = 0; j < len; j++)
{
if(j == i) continue;
if(arr[j] == arr[i])
... | [
"1761607418@qq.com"
] | 1761607418@qq.com |
8d0bc78307fd82db487dc3b913010c2da8b125ed | 62f325b29d4de158367f0e69a3198b8e1d154c24 | /Project3/Project3/junk.h | 6ea2c0fc77659e9bca9e2500fef6c13ed09ee5b9 | [] | no_license | collegeteamAS/comp-projects | 73bf427b80d8ea290b6257df9de32c1b6e24364c | e21b7db2a488875a47b8964b48e62eeb50b9b071 | refs/heads/master | 2021-01-23T09:50:45.770036 | 2014-12-05T08:37:30 | 2014-12-05T08:37:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 192 | h | /*
Steve Suh
h_suh@u.pacific.edu
*/
#ifndef _JUNK_H_INCLUDED_
#define _JUNK_H_INCLUDED_
#include "item.h"
class Junk: public Item
{
private:
public:
Junk(char sym, int idNum);
};
#endif | [
"andreponce@lavabit.com"
] | andreponce@lavabit.com |
bcc658051abd23ff74a0cd63950118ebbc1e7315 | 20727379bec66cb3206755f3a6e93816944bfcf4 | /basics/file_reading.cpp | 83f8d79fa3323138901a1a28e04307b4590b2c77 | [] | no_license | abhicoo/CPlusPlus | 58f907f8ba8617d7e4c1998a0a53192f59831d54 | 9efd786276ba1f47f5219b2edd64356698149cc1 | refs/heads/master | 2023-03-17T11:52:23.031529 | 2021-03-02T08:25:48 | 2021-03-02T08:25:48 | 319,649,702 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 352 | cpp | #include <fstream>
#include <iostream>
#include <string>
using std::cout;
using std::ifstream;
using std::string;
int main() {
ifstream my_file;
my_file.open("1.board");
if (my_file) {
cout << "The file stream has been created"
<< "\n";
string line;
while (getline(my_file, line)) {
c... | [
"poojasingh@Poojas-iMac.local"
] | poojasingh@Poojas-iMac.local |
ed5a5909d767cee01a4ec79f97fbc323050a3ff5 | 1a85a4f27f91326d6e279bab671853dd2ef47ad1 | /Trabajo Teorico/Boids/Boid.h | 9b4ba2498e91d99054be86177151be1e0aca22ae | [] | no_license | YessicaCh/Computaci-n-Gr-fica-CCOMP | a679734bc678162feccc1feffce05481c49a65b6 | 2f1d0692b0c7ead508f5bf3499cfe4a08fdbcf1c | refs/heads/master | 2020-06-21T13:43:38.604291 | 2019-07-17T22:16:29 | 2019-07-17T22:16:29 | 197,469,936 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,341 | h | #include <iostream>
#include <FreeImage.h>
#include "GL/glut.h"
#include "vector3d.h"
#include "red.h"
#include "TextureManager.h"
using namespace std;
class Boid
{
public://Atributos
vector3d pos; //posicion de ubicacion
vector3d acel; //aceleracion
vector3d veloc;
vector3d dir;
... | [
"yessica.chuctaya@ucsp.edu.pe"
] | yessica.chuctaya@ucsp.edu.pe |
bf5b1fd8543cad7451f3430024f1b3079838166e | d5ce4f2cbfb161816f6eafd5ba6c0eb74176534e | /StoreManager/auditorsalestab.h | 7fed98aa11db2b987b8588148af0959458f2d23d | [] | no_license | grimcake/StoreManager | 0b0e2a6f55aff671c926aae7b323a8ee1b9caa55 | 2305e7d4a99275a4e968d2599f4464b85aae9632 | refs/heads/master | 2020-06-01T18:11:28.163964 | 2019-06-12T18:34:33 | 2019-06-12T18:34:33 | 190,877,840 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 505 | h | #ifndef AUDITORSALESTAB_H
#define AUDITORSALESTAB_H
#include <QWidget>
#include <QStandardItemModel>
namespace Ui {
class AuditorSalesTab;
}
class AuditorSalesTab : public QWidget
{
Q_OBJECT
public:
explicit AuditorSalesTab(QWidget *parent = nullptr);
~AuditorSalesTab();
void initTableWidget();
pri... | [
"994459124@qq.com"
] | 994459124@qq.com |
1191110ef03c1c841084d85c0bf6512f20f4b640 | 2e619c8e2b667640989c6703a39fde3e4485679b | /2. Leetcode/medium level/527. Check if Word Can Be Placed In Crossword.cpp | 8a31ce76d94e2f58ae1a73267302f2f764bdd4f5 | [] | no_license | satyampandey9811/competitive-programming | 76957cde72ba217894ba18370f6489d7c481ba55 | 8ca1e2608f5d221f4be87529052c8eb3b0713386 | refs/heads/master | 2022-10-14T11:13:16.704203 | 2022-09-20T18:24:09 | 2022-09-20T18:24:09 | 203,355,790 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,924 | cpp | // link to question - https://leetcode.com/problems/check-if-word-can-be-placed-in-a-grid/
class Solution {
public:
int m, n, k, s;
void goh(int i, int j, vector<vector<char>>& a, vector<vector<int>>& h) {
k = j;
while(j < n) {
if(a[i][j] == '#') break;
h[i][k]++;
... | [
"satyampandey9811@gmail.com"
] | satyampandey9811@gmail.com |
3464b9e2ca5a9b3838841dfd7976c3a2d6b736b2 | 92d997e19d3d85d69f8c432a12367671960c8c6e | /C . C++/boost/asio_samples_0_6_1/src/ma/nmea/cyclic_read_session.cpp | 12750e1d76fa41728b659d01a7579f1c8353c509 | [] | no_license | 0aps/Legacy-Code | 3aebc22d0d513e95ccf1b9149a80675cc02c04df | be8f336d6d0d3c63d2961c25e4584f9d08404b37 | refs/heads/master | 2021-01-10T21:38:58.395925 | 2014-09-24T20:36:16 | 2014-09-24T20:36:16 | 24,429,977 | 11 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 7,910 | cpp | //
// Copyright (c) 2010-2013 Marat Abrarov (abrarov@mail.ru)
//
// Distributed under 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)
//
#include <stdexcept>
#include <boost/ref.hpp>
#include <boost/make_shared.hpp>
#include <ma/shared... | [
"six.aps@gmail.com"
] | six.aps@gmail.com |
1441a3f7377a3488c72f1398124bc935aa27d2b9 | 96e3bc0f7f12927417721819fd281582a50e7aa9 | /Lost-in-time-Reworked/Source/Map/spawnpoint.cpp | 522ef5c7481936c018be66d62f06df44ad7fa3bb | [] | no_license | VNystad/SpaghettiAdventures | 7067ac31632c24c5fb2f432b012e82ff8f1624ab | a296ead045c3d333d66aa4f19bf5b3041bb78dae | refs/heads/master | 2020-03-20T12:09:12.542965 | 2018-06-22T11:38:25 | 2018-06-22T11:38:25 | 137,422,003 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 66 | cpp | //
// Created by Nystad on 12.01.2017.
//
#include "spawnpoint.h" | [
"vebjon15@student.uia.no"
] | vebjon15@student.uia.no |
54c14015afd0bb87202989721c3e3cee24234776 | 5d23158f0f68d95b4823a35a3eb2d03a1bed8528 | /HihoCode/Program_Beauty/second/1.cpp | 0d056b6a27fdfbf9595da18e551b79be85343b75 | [] | no_license | SamJia/Oj | 9c61707600b2d5c3f0f243a8bb9e76efa0ec9124 | 43a57c5d2bf77a318f2ddf7905b63cf1ae5aef52 | refs/heads/master | 2021-01-17T11:03:36.768354 | 2015-11-29T13:49:36 | 2015-11-29T13:49:36 | 39,500,708 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,592 | cpp | #include <iostream>
#include <cstdio>
#define SIZE 100100
using namespace std;
struct Node
{
Node(int number = 0) : number_(number), next_(NULL){}
int number_;
Node *next_;
};
Node link[SIZE] = {};
Node *link_pointer[SIZE];
int colors[SIZE] = {};
int result = 1;
int total_test_number, total_node_number, total_oper... | [
"hnxxjyt@sjtu.edu.cn"
] | hnxxjyt@sjtu.edu.cn |
95a7714ef00a341df4a563314c4d46f6c36d423b | 996d514a67e64fa6ba227cb4aae08c3acec341a1 | /src/graphics/graphics_platform_opengl.h | 5e387f9e6a1a675246cfb637b7594dd279646f5b | [
"MIT"
] | permissive | Ilgrim/PandaSDL | 1355240ab72cf604cdc3b2c9b09121b43634aa8d | 5e57859ea4b3870926428439b1e4c4b90e6d4cd9 | refs/heads/master | 2023-05-31T03:32:59.688876 | 2020-10-28T06:21:25 | 2020-10-28T06:21:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,644 | h | #ifndef __pandasdl_graphicstypes_h__
#define __pandasdl_graphicstypes_h__
#include "../../lib_include/GLEW/glew.h"
#include <GL/gl.h>
#include "../../lib_include/glm/glm.hpp"
#include "../../lib_include/glm/gtc/type_ptr.hpp"
#include "../general/globals.h"
namespace PandaSDL
{
enum class eBufferType
{
... | [
"39251913+pandepic@users.noreply.github.com"
] | 39251913+pandepic@users.noreply.github.com |
dea5a0ad7b12ee6c0bfb6be69ce083ae406d7c24 | 31b693c77de8020676d91684c0dfef8f19e0bde4 | /Graphics/Circle.h | a89e7c035e6cdb64c8fea1bb888f7050b7ea43b3 | [] | no_license | AlexYinHan/Painting | 17d081412cc3f688d983096db15d2695e399743d | a5f0e252e31428be7f5b75ccbdd0720b9a903bce | refs/heads/master | 2021-08-19T22:38:36.012398 | 2017-11-27T16:37:15 | 2017-11-27T16:37:15 | 111,936,531 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 534 | h | #ifndef CIRCLE_H
#define CIRCLE_H
#include <GL/gl.h>
#include <GL/glu.h>
#include "GeometricObject.h"
class MyCircle : public GeometricObject
{
public:
MyCircle();
MyCircle(const Vector3& center, const Vector3& scale);
~MyCircle();
void setRadius(int value);
void setCenter(const Vector3 &value);
... | [
"411629507@qq.com"
] | 411629507@qq.com |
b2514f2654b8fbf36540542c73d7af7e189f12f5 | ba73c355eaf88b2a4d984145e306b83cf53da9b8 | /controller/utils/openflow_utils.cpp | 18c5fab991abebc8ab95c61f78e7eff7d9b3e20e | [
"BSD-3-Clause"
] | permissive | zteo-phd-software/ironstack | cd0d10e2666fd0e829e8cfaea24fcd49cc2adaf0 | 649f82ddcbb82831796fa2a1e1d1b8cc0f94a8e0 | refs/heads/master | 2020-02-26T15:38:23.943187 | 2016-09-30T18:42:19 | 2016-09-30T18:42:19 | 69,498,904 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,941 | cpp | #include "openflow_utils.h"
#include "../gui/output.h"
// gets the next openflow message from the socket and deserializes it
shared_ptr<of_message> ironstack::net_utils::get_next_openflow_message(tcp& connection, autobuf& buf) {
// read in the common openflow header
if (!connection.recv_fixed_bytes(buf, sizeof(stru... | [
"zhiyuan.teo@gmail.com"
] | zhiyuan.teo@gmail.com |
bc8c93bcd10157cc77c0b3e65556a5995bf3babd | d8c56ab76e74824ecff46e2508db490e35ad6076 | /ZETLAB/ZETTools/TreeList/TreeListCtrl.cpp | 7fcf5b1c702adfe05adbbfb0bc8dfbed59a3e8a5 | [] | no_license | KqSMea8/UtilsDir | b717116d9112ec9f6ee41f4882ad3f52ebb2e84b | 14720766a2a60368495681d09676f860ea501df2 | refs/heads/master | 2020-04-25T17:21:39.538945 | 2019-02-27T14:36:32 | 2019-02-27T14:36:32 | null | 0 | 0 | null | null | null | null | MacCentralEurope | C++ | false | false | 29,218 | cpp | //*****************************************************************************
//*
//*
//* TreeListCtrl.cpp
//*
//*
//*****************************************************************************
//
// (C) Copyright Anton Zechner 2007
//
// This code creates a Tree-List-Control for MFC
//
#ifndef _WIN32_WINNT
#defin... | [
"s-kacnep@ya.ru"
] | s-kacnep@ya.ru |
f7ee8e02ed2bf10f2595cb52525e2dfd64cd57fb | 7ca8ffcdfb39ab4ffc2d8ff291e46ffabc8db6a2 | /hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/tests/tools/hdfs-move-to-local-mock.h | a068b5a9e2302ae7a5fea1d2de51a45d37776de8 | [
"CC-PDDC",
"CC0-1.0",
"CC-BY-3.0",
"LicenseRef-scancode-unknown-license-reference",
"LGPL-2.1-only",
"LicenseRef-scancode-other-permissive",
"CDDL-1.0",
"GCC-exception-3.1",
"MIT",
"EPL-1.0",
"Classpath-exception-2.0",
"BSD-3-Clause",
"GPL-2.0-only",
"Apache-2.0",
"LicenseRef-scancode-pu... | permissive | apache/hadoop | ea2a4a370dd00d4a3806dd38df5b3cf6fd5b2c64 | 42b4525f75b828bf58170187f030b08622e238ab | refs/heads/trunk | 2023-08-18T07:29:26.346912 | 2023-08-17T16:56:34 | 2023-08-17T16:56:34 | 23,418,517 | 16,088 | 10,600 | Apache-2.0 | 2023-09-14T16:59:38 | 2014-08-28T07:00:08 | Java | UTF-8 | C++ | false | false | 2,398 | h | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... | [
"noreply@github.com"
] | apache.noreply@github.com |
4a9c87ef19bff1322afb8315755e8cd57a3a6efc | 1f13c892ea538c81d848254824c80eef1247ea7a | /Src/RenderHardwareInterface/sgfRHIEnum.cpp | 167d73d86041920c14500d67e4647d6287c5ae9e | [] | no_license | xxl534/SimpleGameFramework | 2fc6d4ee33723550c489407092b7c457116140e1 | 57cb5f4c7e4fa9d55f79b706628a09635e4a8fd8 | refs/heads/master | 2020-03-12T05:53:07.536435 | 2019-01-19T08:18:32 | 2019-01-19T08:18:32 | 130,473,169 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,417 | cpp | #include "sgfRHIPCH.h"
#include "sgfRHIEnum.h"
namespace sgf
{
static const String s_szInvalid = "invalid";
static const String s_arrShaderConstantString[ERHIShaderConstantType_Count] =
{
"float",
"float2",
"float3",
"float4",
"int",
"int2",
"int3",
"int4",
"bool",
"bool2",
"bool3",
"bool4"... | [
"xiexuelong534@163.com"
] | xiexuelong534@163.com |
88c1e343cacc582434848fc6f1edd5593d6a9143 | da146b4838a2f6c25f8656c8d23006ed825a0334 | /EZgps/EZgps.ino | 5bce0f505078a5a0d75269f19176b072464fbaf5 | [] | no_license | jtmolter/Easy-Gps | 353b5f729df81e10c2642db31b4fba29c3773e51 | 5e9b7de901409de9dc9231c6a9ede5ba01bb75e9 | refs/heads/master | 2020-03-23T23:43:50.958684 | 2019-07-04T20:07:54 | 2019-07-04T20:07:54 | 142,252,158 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,108 | ino | //EZgps program -Jonathan
//Basically a frame for use in creating code with ublox GPS stuff
//Not really optimized for anything except usability at the moment
//ping
#include <TinyGPS.h>
#include <SoftwareSerial.h>
//Use Hardware Serial-
#define gpsserial Serial1
//or Software Serial-
//SoftwareSerial gpsserial = Soft... | [
"jonathan.molter99@gmail.com"
] | jonathan.molter99@gmail.com |
78ca53c29d13d93b8ecd6378f5965cf00d0bf014 | ef372e3089941b3dd369b01f7539270f8e06c6d1 | /src/wasteland/transparent_image.h | 4f68c44843011629427db6df71545def136e144b | [
"MIT"
] | permissive | kayahr/libwasteland | fde0ce9ce82f542bb26415799d8d19374386eff5 | dac9fa835c3c8258fa93b8af0a3d3acb1518a70f | refs/heads/master | 2016-09-06T19:03:03.566507 | 2013-02-02T12:12:44 | 2013-02-02T12:12:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,300 | h | /*
* Copyright (C) 2012 Klaus Reimer <k@ailis.de>
* See COPYING file for copying conditions
*/
#ifndef LIBWASTELAND_TRANSPARENT_IMAGE_H
#define LIBWASTELAND_TRANSPARENT_IMAGE_H
#include "image.h"
namespace wasteland
{
/**
* Abstract base class for all transparent images.
*/
class transparent_image : public ima... | [
"k@ailis.de"
] | k@ailis.de |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.