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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1736666fef9e39148820c605be19572cabe20f01 | 54f352a242a8ad6ff5516703e91da61e08d9a9e6 | /Source Codes/AtCoder/agc028/B/3778697.cpp | 17c840d9a348e8b3e0faea2c07fcca01430db548 | [] | no_license | Kawser-nerd/CLCDSA | 5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb | aee32551795763b54acb26856ab239370cac4e75 | refs/heads/master | 2022-02-09T11:08:56.588303 | 2022-01-26T18:53:40 | 2022-01-26T18:53:40 | 211,783,197 | 23 | 9 | null | null | null | null | UTF-8 | C++ | false | false | 947 | cpp | #include <iostream>
#define ll long long
using namespace std;
const int MOD = 1000000007;
inline int lgput(int a, int x) {
int ret = 1;
while (x > 0) {
if (x % 2 == 1) {
ret = (1LL * ret * a) % MOD;
}
a = (1LL * a * a) % MOD;
x /= 2;
}
return ret;
}
inline int inv(int a)... | [
"kwnafi@yahoo.com"
] | kwnafi@yahoo.com |
e8a6582533cad08a994879b21b4c6b7056089bfd | 8b7fdf5100ebd616eb5ac9f2b14d1c8d6c4c0d8e | /frameworks/core/components/svg/flutter_render_svg_tspan.cpp | 67031d3efe033091087600a160ded528ba47c0a7 | [
"Apache-2.0"
] | permissive | openharmony-sig-ci/ace_ace_engine | 13f2728bce323b67ac94a34d2e9c0a941227c402 | 05ebe2d6d2674777f5dc64fd735088dcf1a42cd9 | refs/heads/master | 2023-07-25T02:26:10.854405 | 2021-09-10T01:48:59 | 2021-09-10T01:48:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,874 | cpp | /*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* 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 ... | [
"mamingshuai1@huawei.com"
] | mamingshuai1@huawei.com |
383844978f017a05f9cb6b277ec68189060ab63d | 45a26f28a29ab6dd9d3bcf315117d814f50808b1 | /src/AppleMacRISC4PE/AppleMacRISC4PE-185.0.0/IOPlatformPlugins/SMU_Neo2_PlatformPlugin/SMU_Neo2_SlotFanCtrlLoop.h | 242e4c999c618ee16d1145474ec00c97106d0b5e | [] | no_license | zeborrego/opensource.apple.com | 0eb9161029ce8440dbdc4b5157b3927a6e381f8d | 88cbaab4a42e97cbbfe6b660f2f0945536821be6 | refs/heads/master | 2021-07-06T17:16:28.241638 | 2017-10-02T11:58:56 | 2017-10-02T11:58:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,670 | h | /*
* Copyright (c) 2004 Apple Computer, Inc. All rights reserved.
*
* @APPLE_LICENSE_HEADER_START@
*
* This file contains Original Code and/or Modifications of Original Code
* as defined in and that are subject to the Apple Public Source License
* Version 2.0 (the 'License'). You may not use this file except in... | [
"mattl@cnuk.org"
] | mattl@cnuk.org |
d73f9cb6bef9c4744e4e2831055f953f0ed1d655 | 64ccc4c94eaeac99c6e068fa977573df6bbe13e6 | /vendor/protobuf/src/google/protobuf/compiler/java/java_message_builder_lite.cc | 6e78fb737149acb6afdbdb01e76942c43f104673 | [
"LicenseRef-scancode-protobuf",
"Apache-2.0"
] | permissive | TysonAndre/newrelic-php-agent | 87e46f20bcef43017aeadc8dade46a1457e6634e | 8f3220a3d9deb3f3ea64f41759c6cf0bb623d3f0 | refs/heads/main | 2023-01-18T22:37:31.150369 | 2020-10-30T16:24:34 | 2020-10-30T16:24:34 | 308,724,337 | 0 | 0 | Apache-2.0 | 2020-10-30T19:23:23 | 2020-10-30T19:23:22 | null | UTF-8 | C++ | false | false | 5,864 | cc | // Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... | [
"noreply@github.com"
] | TysonAndre.noreply@github.com |
eff0094fc744d341eb2c90195da2bf19aeb4a3b9 | c42bd32be49261174bccfd685ff50cca903be13c | /mPULSE Project/mPULSE/InGameObjects/Tracks.h | bf7e69eea225fb14ba4e7ddbe8391545cb7d7e5a | [] | no_license | bdragon917/mPULSE | 2cf98b907fba30e3b1a5e2c5b835f30ac9cdbce7 | 0351ffbe50e541513752b0400e00a6f4bb6830da | refs/heads/master | 2021-06-05T04:42:09.001616 | 2013-05-03T19:28:22 | 2013-05-03T19:28:22 | 7,449,290 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 329 | h | #pragma once
#include <vector>
#include <string>
#include <iostream>
#include <fstream>
class Tracks
{
public:
Tracks(std::string trackInfo);
int getNumberofTracks();
std::string getTrackFilename(int i);
private:
void loadFromFile(std::string filename);
std::vector<std::string> filenames;
... | [
"blackdragon917@gmail.com"
] | blackdragon917@gmail.com |
40c0699ffa925ea701f1ce79668e12ec1f68fea5 | a012900f5a88c08609eb483078220cdf668ae6b2 | /LV1/1.3/spavanac/spavanac.cpp | 479d104a27247275e2eddd0541774fbdb22247c8 | [] | no_license | m00p1ng/kattis-problem | 422030179e195553913605a3ce922e7ecab6bbd5 | 4ab39cca65ba57dfae2a88b96e31797df62a60d0 | refs/heads/master | 2020-03-28T22:09:39.166151 | 2019-06-18T18:35:58 | 2019-06-18T18:35:58 | 149,209,208 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 213 | cpp | #include <cstdio>
int main() {
int a, b;
scanf("%d %d", &a, &b);
b -= 45;
if (b < 0) {
b += 60;
a--;
}
if (a < 0) {
a = 23;
}
printf("%d %d\n", a, b);
}
| [
"mongkonchai4412@gmail.com"
] | mongkonchai4412@gmail.com |
85d08000299ac244afa34b34f7be5bdac24a6282 | c67cbd22f9bc3c465fd763fdf87172f2c8ec77d4 | /Desktop/Please Work/build/Android/Preview/app/src/main/include/Fuse.Physics.ForceFieldTrigger.h | 3b89485cb5287bbaed885ce9d5a32df9186bf802 | [] | no_license | AzazelMoreno/Soteria-project | 7c58896d6bf5a9ad919bde6ddc2a30f4a07fa0d4 | 04fdb71065941176867fb9007ecf38bbf851ad47 | refs/heads/master | 2020-03-11T16:33:22.153713 | 2018-04-19T19:47:55 | 2018-04-19T19:47:55 | 130,120,337 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,042 | h | // This file was generated based on C:/Users/rudy0/AppData/Local/Fusetools/Packages/Fuse.Physics/1.8.1/ForceFieldTriggers.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Fuse.Animations.IBase-d3bd6f2e.h>
#include <Fuse.Animations.IUnwr-594abe9.h>
#include <Fuse.Binding.h>
... | [
"rudy0604594@gmail.com"
] | rudy0604594@gmail.com |
ffc088d3cf970084420499b3127ca0923d09d8b5 | 0e99e6809afcb26224fbe6797321c96377456fdd | /QGetDVOStream.cpp | 4783af9a3a4dcc4fb78be73e037eb00ca156e28e | [] | no_license | Lee1226/QGetDVOStream | 78157ad9bbe148e4a4658f70e53fa26b09dbe258 | 2376785f2d5784181fe49fe498e7d3c1f31a263b | refs/heads/master | 2022-04-06T15:01:26.650209 | 2016-08-31T07:08:47 | 2016-08-31T07:08:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,264 | cpp | #include "QGetDVOStream.h"
QGetDVOStream::QGetDVOStream()
{
}
unsigned QGetDVOStream::get_stream_buf_next_seq(int stream_id)
{
return g_stream_buf[stream_id].next_seq;
}
int QGetDVOStream::get_stream(char *buffer,stream_rtsp_info_t *stream_info)
{
head:
pro_next_seq = get_stream_buf_next_seq(fStreamID);
i... | [
"daxyang@163.com"
] | daxyang@163.com |
76bc1d8ea15006bbc581f56f10b1df88d4fc734d | b166ed95653bc1068e1bf64f4d969fb08986ec30 | /cpp/src/common/arg_parser.cpp | 5c9c02698349fcb2d6eecbf5aecf94d9b6c20c80 | [] | no_license | antonymarion/inverseCSG | c3e2d2ac994157560ce59b174d38a4b6d90faeed | 3475e5c3b47040085b1e163d2868d3d6253d8167 | refs/heads/master | 2022-07-11T09:16:56.198246 | 2022-06-24T22:15:57 | 2022-06-24T22:15:57 | 226,976,595 | 26 | 5 | null | 2022-02-01T18:02:16 | 2019-12-09T22:03:03 | C++ | UTF-8 | C++ | false | false | 2,422 | cpp | #include "common/arg_parser.h"
#include <iostream>
#include "common/file_helper.h"
namespace common {
ArgParser::ArgParser() {}
void ArgParser::AddStringArgument(const std::string& flag,
const std::string& default_value) {
str_args_[flag] = default_value;
}
void ArgParser::AddIntArgument(const std::string& flag... | [
"antony.marion@gmail.com"
] | antony.marion@gmail.com |
d45ec25725f1950765d3b2bfcdcc0756ad8a3f6b | 9e2dbb3f8205f8bd0b3b5d79261182e9fb4c32c4 | /C codes/november2011/amicable_pair.cpp | da7619f7fb107182b6720e0aeb4a64ad616bd2b1 | [] | no_license | melody40/monorepo | 87129f934066cd1e162d578f8e4950e12b0fa54d | fc5b7c8da70534e69d55770adebf308fd41c02b7 | refs/heads/master | 2022-12-22T22:49:01.277092 | 2020-09-21T17:20:43 | 2020-09-21T18:35:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 892 | cpp | #include <stdio.h>
int amicable(int num1, int num2);
int main (void)
{
int n1, n2;
int result;
printf ("Please enter 2 numbers \n");
scanf ("%d%d",&n1,&n2);
result = amicable (n1,n2);
if (result == 1) printf ("Numbers are amicable\n");
else printf ("Numbers ar... | [
"torshobuet@gmail.com"
] | torshobuet@gmail.com |
035b6d946afe49d9f5e6e649c06e42fc5c015988 | 007759b14d17cecf8332d0653d31a2adb51dde4f | /Reconstruction/class1-features_and_matching/knn_matcher.cpp | ea4aae56bccec0cb14ff8a779875e548651216e8 | [
"MIT"
] | permissive | MrCocoaCat/slambook_cc | 8e2270267720091cd572b81d12d27a1fe5f28314 | 1eb2c3b081c6f668f342ae8d3fa536748bedc77d | refs/heads/master | 2021-09-10T13:00:24.621364 | 2018-03-26T14:03:12 | 2018-03-26T14:03:12 | 90,761,569 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,348 | cpp | //
// Created by swayfreeda on 17-10-24.
//
// FlannBaseMatcher 不支持Hamming距离,因此不能用于二进制描述子的距离计算, 如ORB
#include "functions.h"
#include <opencv2/xfeatures2d.hpp>
#include <iostream>
int main(int argc, char* argv[])
{
if (argc < 3) {
std::cerr << "usage: bfm_matcher matching img1, img2" << std::endl;
... | [
"liyubo_liyubo@163.com"
] | liyubo_liyubo@163.com |
6db5c4c35532ffd2f37d9bfc0a82bbcb0f7a2d25 | 5f4f4a910e994f781e69ddf79e35a8daf6f8608b | /systemc/RAMB16_S18_S18.cpp | 0e348cae4095fb82937e1a014d3ee75b14a976a7 | [] | no_license | bjzhangwn/lzw_systemc | 7757ad91f76dc86cffd039b713114d0e67a90884 | f094a7a45f7c255b1fbc23d3f7cfabda1106f86f | refs/heads/master | 2022-02-12T14:33:18.329253 | 2017-01-24T11:58:39 | 2017-01-24T11:58:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,840 | cpp | //*****************************************************************************
// www.orahyn.com
// Copyright [2013] Orahyn (Pvt) Ltd.
// 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... | [
"arshad@orahyn.com"
] | arshad@orahyn.com |
b167c21ebfe82fbe9ac72563bfe7c716ee728230 | 5fcacbc63db76625cc60ffc9d6ed58a91f134ea4 | /vxl/vxl-1.13.0/core/vidl_vil1/tests/vidl_vil1_test.cxx | 41b63511d475cf4f52707791b945c5c4539c31a2 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | EasonZhu/rcc | c809956eb13fb732d1b2c8035db177991e3530aa | d230b542fa97da22271b200e3be7441b56786091 | refs/heads/master | 2021-01-15T20:28:26.541784 | 2013-05-14T07:18:12 | 2013-05-14T07:18:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,211 | cxx | #include <vidl_vil1/vidl_vil1_movie.h>
#include <vidl_vil1/vidl_vil1_frame.h>
#include <vcl_iostream.h>
int main ()
{
vidl_vil1_movie_sptr movie = new vidl_vil1_movie;
for (vidl_vil1_movie::frame_iterator pframe = movie->begin();
pframe != movie->end(); ++pframe)
{
vidl_vil1_frame_sptr frame = pframe;... | [
"hieuza@gmail.com"
] | hieuza@gmail.com |
8ec01a6252a67fdac79a5c58c8f2374728efa83e | ffe03961d2bc388f43830e1e09cd66fe7c5937f0 | /ExceptionHandiling/p-3/p-3.cpp | b5c21aabfc44c8aabaa224ffb67da3e7d02ee774 | [] | no_license | asm-shaikat/Level-1-Term-2 | 30a441e449a69da9f9c153bd3ca419288076f6df | 07affd20aaf978d852fe87ed155ab74921be8469 | refs/heads/master | 2023-01-13T05:38:39.807755 | 2020-11-11T16:35:45 | 2020-11-11T16:35:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 295 | cpp | #include<iostream>
using namespace std;
int main()
{
try
{
int a;
cout<<"Enter an integer number:";
cin>>a;
if(a==0)
throw a;
cout<<"Got it"<<a<<endl;
}
catch(int j)
{
cout<<"Try again"<<j<<endl;
}
return 0;
} | [
"alphatech1052@gmail.com"
] | alphatech1052@gmail.com |
adb2ba73b07903a17256bf7e25e68dc9be374fa0 | d254fbf65d87d31621b02182af0c6c47934863c2 | /Ds and Algo/Beginner/treediameter.cpp | 78e27f7047663b25fd033aeac6403c45b458878a | [] | no_license | kshitiz-kumar/DS-AND-ALGO | 8834ab450c9acbd7ea25dcc4c3650b68bfd54d1d | d681a60034320392565944ed7fbb32840641de8c | refs/heads/master | 2020-04-24T01:20:03.434673 | 2019-11-25T04:40:36 | 2019-11-25T04:40:36 | 171,594,879 | 0 | 1 | null | 2019-10-08T19:26:00 | 2019-02-20T03:34:29 | C++ | UTF-8 | C++ | false | false | 946 | cpp | #include<bits/stdc++.h>
using namespace std;
class node {
public:
int data;
node *left;
node *right;
node(int data)
{
this->data = data;
left = NULL;
right = NULL;
}
};
node *buildTree()
{
int d;
cin>>d;
if(d==-1)
return NULL;
node *root = new node(d);
root->left = buil... | [
"noreply@github.com"
] | kshitiz-kumar.noreply@github.com |
b592f5d5539375f9b758a7adb8568dc03ea88100 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/git/gumtree/git_repos_function_6166_git-2.7.5.cpp | bca619b0da44e5b62a2407bc9e0c5db43e4cfcfa | [] | 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 | 432 | cpp | mspace create_mspace_with_base(void* base, size_t capacity, int locked) {
mstate m = 0;
size_t msize;
ensure_initialization();
msize = pad_request(sizeof(struct malloc_state));
if (capacity > msize + TOP_FOOT_SIZE &&
capacity < (size_t) -(msize + TOP_FOOT_SIZE + mparams.page_size)) {
m = init_user_m... | [
"993273596@qq.com"
] | 993273596@qq.com |
5a41eeb608fb891f95a2017980a0123618b0e6c5 | 4100749ca52cee89bc288fb6c5b1511d56ee305a | /Project1/sotrting test.cpp | dd217865a20fa92298572e1e6aefab1644c811e8 | [] | no_license | jisukJ/algorithm-source-code | 20b981d020413db314a59f915090c7c0a58177b0 | 27656a6ffd90c7a98153167d13354e7efc24258e | refs/heads/master | 2023-04-18T12:04:38.845848 | 2021-05-04T11:50:18 | 2021-05-04T11:50:18 | 339,270,029 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 260 | cpp | #include <algorithm>
#include <iostream>
int N[1000];
int A = 5;
using namespace std;
bool cmp(int i, int j)
{
return i > j;
}
int main()
{
for (int i = 0; i < A; ++i)
cin >> N[i];
sort(N,N+A,cmp);
for (int i = 0; i < A; ++i)
cout << N[i] << " ";
} | [
"78594351+jisukJ@users.noreply.github.com"
] | 78594351+jisukJ@users.noreply.github.com |
8af186dd3bfc7092f838b8552e0fe924ff3c3ed7 | 17f61df22aac5c9b3c2c2650b1fa82c9fec04aa3 | /6/6.11.1.cpp | e819368dc0f6439862b918e19b2c4c8a8cd1126e | [] | no_license | darren123chen/Cpp-Primer-Plus | 51b2ee645a6b2d7a00fa0015736b7d322c188cd4 | 8a6a5c6ba82f7d8fd9941ff5810f9b2ab0af9a7f | refs/heads/master | 2020-06-17T08:49:03.127020 | 2019-07-08T18:46:58 | 2019-07-08T18:46:58 | 195,868,030 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 517 | cpp | #include <iostream>
#include <string>
#include <cctype>
int main () {
using namespace std;
cout << "Enter text, and type @"
" to terminate input.\n";
char ch, corrected;
cin.get (ch);
while (ch != '@') {
if (!isdigit (ch)) {
if (isupper (ch))
corrected =... | [
"Darren.Chen@harman.com"
] | Darren.Chen@harman.com |
f66fb627b17eeec11a8eb8d1c1267c267710cd94 | 7345d47a2902fc27e0981c7923aec3bb71f59793 | /block.h | 4baaee53f20be4f8ad820582e1ee691d6a9ec92f | [] | no_license | Dr1ve/arcanoid | b3bf1456f5d2d83c35a0f617a4afb1535b18f6bf | c4564a5f83c716ae92f6258456464824eeca789e | refs/heads/master | 2020-03-27T09:31:08.024237 | 2018-08-27T20:21:38 | 2018-08-27T20:21:38 | 146,348,577 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 166 | h | #pragma once
#include "object.h"
class Block : public Object
{
public:
Block()
{
x = 0;
y = 0;
width = 40;
height = 40;
r = 0;
g = 0;
b = 255;
}
}; | [
"nazin_konstantin@mail.ru"
] | nazin_konstantin@mail.ru |
dd43fd18365e083a71df210f05dbaad3b8fe1c6d | c4a308d0a696ea76a0ba91146f7f71199c1079cb | /include/dynamic_reconfigure_server_cpp.hpp | 79b0594eb23005536fff0c3d3342f16ea2bcea34 | [] | no_license | Wesley-Jzy/dynamic-reconfigure | 68c89a0dcce2b27896adf0e2450f5681ba0c6e8e | 2eaede865c6de8b708a086b1ab80eb504c7fd4cc | refs/heads/master | 2020-03-30T05:42:53.692183 | 2018-08-22T08:10:32 | 2018-08-22T08:10:32 | 150,815,269 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,266 | hpp | #ifndef __rqt__reconfigure__SERVER_H__
#define __rqt__reconfigure__SERVER_H__
#include "rclcpp/rclcpp.hpp"
#include <vector>
#include "rclcpp/macros.hpp"
#include "rclcpp/parameter.hpp"
#include "rclcpp/visibility_control.hpp"
#include "rcl_interfaces/msg/list_parameters_result.hpp"
#include "rcl_interfaces/msg/para... | [
"xin.liu@tusimple.com"
] | xin.liu@tusimple.com |
0b663cd6fa6612fb303f784f957a1a7e9b2984be | 57f2e202b3aa62c361a1357d697cd0843030e36f | /gfnun_neutron/include/SensitiveDLM2.hh | 456619d57a3deb6f45bd6032a0e421b94626325b | [] | no_license | andalenavals/geant4_projects | 25fbadb3983e67bc20718bac1bebe97cfaee747a | 02d161872bc76d9dd854d651d31d54091cadf609 | refs/heads/master | 2020-03-15T15:04:27.004756 | 2019-09-02T13:10:23 | 2019-09-02T13:10:23 | 132,202,984 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,443 | hh | //
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this ... | [
"aanavarroa@unal.edu.co"
] | aanavarroa@unal.edu.co |
839c4abe44fb1bae1f133db195c04ac345450266 | d993e05cb754c34944068421b417ae251ad8ba7f | /week4/4/Complex.cpp | e3687d244aa358965502b8a00cfea1012fe8af97 | [] | no_license | yalishanda42/oop2021 | dd8003e7249a5bd82c6a9fa1a16af6f307117fe2 | a9e37addbdf5400460a998672fd1ee8bde778dfc | refs/heads/master | 2023-05-29T06:05:25.341340 | 2021-06-13T13:59:19 | 2021-06-13T13:59:19 | 340,927,338 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,326 | cpp | #include "Complex.hpp"
Complex::Complex()
: real(0), imag(0)
{
}
Complex::Complex(double real)
: real(real), imag(0)
{
}
Complex::Complex(double real, double imag)
: real(real), imag(imag)
{
}
Complex Complex::operator+(const Complex& rhs) const
{
Complex result;
result.real = real + rhs.real;
... | [
"yalishanda@abv.bg"
] | yalishanda@abv.bg |
66c0cacb8d902cdab0ab7b313d08772295d30993 | a5c2f6bc33089075d669f68e152b4d154ef871b0 | /src/onnx_parser/ModelImporter.hpp | 3b780dd7687393fe2bd5ae2782cc4f585c063c35 | [] | no_license | opentld/tensorRTIntegrate | 546b6371082fb786588b57938ed25a20d6adfb2c | 8b6ee3c60d4cf30148d3ee6f6947b1de5b03e4ed | refs/heads/master | 2022-04-18T01:31:09.103941 | 2020-04-14T02:17:30 | 2020-04-14T02:17:30 | 255,490,982 | 1 | 0 | null | 2020-04-14T02:30:14 | 2020-04-14T02:30:13 | null | UTF-8 | C++ | false | false | 3,803 | hpp | /*
* Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved.
*
* 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 the Software without restriction, including without limitation
* the rights to use... | [
"dujw@deepblueai.com"
] | dujw@deepblueai.com |
cf6e6655f637ea12f230219f070b86c7ac6f49f5 | eb9e8a422cfb5f4bcb96e6bd973b39088f7c9d71 | /src/AverageAreaWriter.hpp | 60432cd7ddef8206d3e65c443e0ea4a6933a7eec | [] | no_license | aydar-sheffield/EcadTurnoverModel | c3bcc51630fb68c332284c4cf108de59a0c7de69 | a60c2662f73bb3a0ca1dcf87b71c1019d5a92ba5 | refs/heads/main | 2023-05-04T08:09:51.003077 | 2021-05-22T14:21:33 | 2021-05-22T14:21:33 | 369,825,495 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,305 | hpp | /*
Copyright (c) 2005-2019, University of Oxford.
All rights reserved.
University of Oxford means the Chancellor, Masters and Scholars of the
University of Oxford, having an administrative office at Wellington
Square, Oxford OX1 2JD, UK.
This file is part of Chaste.
Redistribution and use in source and binary forms... | [
"uatay.sheffield@gmail.com"
] | uatay.sheffield@gmail.com |
bcbe0ab6c46c5568cb34509f1d41b40492aaf338 | 23e3914567f5296107617f8c6b0129aa62326605 | /APIFramework/APIFramework/Include/Core/InputManager.cpp | 470d07838ada1561aec314ea4f05097d6716fb6a | [] | no_license | reverince/BCSD | 4e000edfb7680f6bb34f7512c27c9df2ae62468a | bf6d79481804504c4f780398f910e0e5cd5faf27 | refs/heads/master | 2020-04-24T15:29:51.420134 | 2019-09-19T13:42:39 | 2019-09-19T13:42:39 | 172,070,039 | 1 | 2 | null | null | null | null | UHC | C++ | false | false | 2,613 | cpp | #include "InputManager.h"
#include "..\Scene\Layer.h"
#include "..\Object\UIMouse.h"
#include "..\Collider\CollisionManager.h"
#include "..\Animation\Animation.h"
DEFINE_SINGLE(InputManager);
InputManager::InputManager() :
m_pCreateKey(nullptr), m_pMouse(nullptr)
{
}
InputManager::~InputManager()
{
Object::EraseOb... | [
"reverince@gmail.com"
] | reverince@gmail.com |
174eea398d65a657cda1e66bc5ca7f1605e6208c | fdd051f27710c8191c8f95a1f7d32f4b2fefd305 | /Level2/Big_Int.cpp | 21b368050b8c7ebe9bd3be48242ad3fb1f9da6cc | [] | no_license | MohamadIsmail/Online-Judges-solutions | 872de6b898d621707d077591b052501cff465585 | 5eb407065365f91af88cca1193b3bd2a4ad6f218 | refs/heads/master | 2020-05-18T12:00:12.927202 | 2014-07-10T01:32:23 | 2014-07-10T01:32:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,782 | cpp | //#include<iostream>
//#include<cmath>
//#include<string>
//#include<algorithm>
//using namespace std;
//
//string sum(string str1, string str2)
//{
// string arr;
// string::iterator it;
// int n=0,i;
// if(str1.size()>str2.size())
// {
// /*reverse(str2.begin(),str2.end());
// for(i=str1.size()-1,it=str2.begin(); i... | [
"mohammadismail.1993@gmail.com"
] | mohammadismail.1993@gmail.com |
63e76b0162929b8cfae0ec0143acdc1766f4bcae | d7085a2924fb839285146f88518c69c567e77968 | /KS/SRC/AIController.h | 46cb86017d0aacf61c5c45535d5daa56e16233be | [] | no_license | historicalsource/kelly-slaters-pro-surfer | 540f8f39c07e881e9ecebc764954c3579903ad85 | 7c3ade041cc03409a3114ce3ba4a70053c6e4e3b | refs/heads/main | 2023-07-04T09:34:09.267099 | 2021-07-29T19:35:13 | 2021-07-29T19:35:13 | 390,831,183 | 40 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 4,358 | h | // AISurferController.cpp
// This is a class that acts as a controller to control an
// AI player.
// All AI should be done in the poll procedure, and be used
// to set the controls for the next frame
#include "inputmgr.h"
#include "kellyslater_controller.h"
class AISurferController : public input_device ... | [
"root@teamarchive2.fnf.archive.org"
] | root@teamarchive2.fnf.archive.org |
e28388b48e3960b50159add6eb5698ffb32dac89 | 2cf5dadd5fe8f18d6b7a107f3566913698f3f3e1 | /系统模块/游戏组件/82.成都血战到底麻将/游戏客户端/CardControl.h | bd6442573968bf352d972b55c8730a4e5b2ce6bf | [] | no_license | xiaokaixuan/qipai-game | 319a5af77a490daf4c825ca7f54bc0b0bbf5c1a0 | fce39d8192c1ea037ff34abec3d6074d56071934 | refs/heads/master | 2021-01-13T16:23:13.757533 | 2012-06-11T10:53:16 | 2012-06-11T10:53:16 | 54,963,680 | 1 | 0 | null | 2016-03-29T09:35:54 | 2016-03-29T09:35:53 | null | GB18030 | C++ | false | false | 11,322 | h | #ifndef CARD_CONTROL_HEAD_FILE
#define CARD_CONTROL_HEAD_FILE
#pragma once
#include "Stdafx.h"
#include "Resource.h"
#include "GameLogic.h"
#include "cassert"
//////////////////////////////////////////////////////////////////////////
// 扑克定义
// 0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09, //万子
// ... | [
"pybmfc@gmail.com"
] | pybmfc@gmail.com |
2ba831fd8fcdb2d111dfabc2571c44ceeb33367f | 6dc4a4bf3868f9dc4fdfffa274706f639d2020f5 | /10474.cpp | 95b2bed16c574503ac41af82d022ea563d2245bf | [
"MIT"
] | permissive | 00mjk/UVa-Online-Judge | 0481d2a86480177330eb672979c35c6f9ce057d7 | c267f069f9690daad2b438bc32e72c148b9e100e | refs/heads/master | 2022-12-31T12:48:16.082901 | 2020-10-28T01:58:43 | 2020-10-28T01:58:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,128 | cpp | #include<iostream>
#include<cstdio>
#include<cmath>
#include<algorithm>
using namespace std;
int main(){
for(int z=1;;z++){
int n,query,i;
scanf("%d%d",&n,&query);
if(n==0 && query==0)
break;
int num[n];
for(i=0;i<n;i++)
... | [
"siteshshrivastava@gmail.com"
] | siteshshrivastava@gmail.com |
9a321f04ba0921b223fa44b4a0c57e9ee6081412 | 592e0924a5fcf7d1f788256153279d86d324ad13 | /game.hpp | e6edf72f557e8f448fe2774babd532e7a314b944 | [
"MIT"
] | permissive | Sodacooky/ConsoleMine | 306a28a9c3bda675a4222fefe169db99e7ae76dd | 7b748b6f5f1b3392840112c6beb92595a98d53a4 | refs/heads/master | 2020-06-30T14:08:23.142171 | 2019-08-06T13:01:47 | 2019-08-06T13:01:47 | 200,851,008 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,086 | hpp | #pragma once
#define WIDTH 16
#define HEIGHT 8
class CGame
{
public:
CGame();
int Start(void);
private:
struct Block
{
//type: 1-number 2-mine
int nType;
int nData;//for number
bool bCovered;
};
struct MyPoint
{
int x, y;
};
private:
//game start time
time_t m_tBegin;
//g... | [
"noreply@github.com"
] | Sodacooky.noreply@github.com |
cbebf060f605de46438ff70a448480210aa440f2 | 22bc620a99275a209eba86157a4a7a552bad90dd | /C++ Notes/ds comp/tree1.cpp | 42acbdcb58f9353a038de56f12e7c2c73b2ca72e | [] | no_license | sudeep4893/Practice | 3072b208e657755cc999db116416d7b59fcde840 | 93ee0026ff7e066cb59a8b49b8365719b4d0d3b7 | refs/heads/master | 2020-03-23T20:39:08.968870 | 2018-09-26T02:45:59 | 2018-09-26T02:45:59 | 142,053,393 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,202 | cpp | #include <iostream>
#define SIZE 100
using namespace std;
//Create binary tree.
//Find height of the tree
//Print leaf nodes
//Find mirror image,
//Print original and mirror image using level-wise printing
class node;
class Stack
{
node* data[SIZE];
int top;
public:
Stack();
int isFull();
int isEmpty();
... | [
"sudeep48raj93@gmail.com"
] | sudeep48raj93@gmail.com |
c353f3931506435ddd0f1229e06c7bfb8c03507c | 0ce77a4ee26e0cd7d5577eff6ac1f255fce6337c | /Error.hh | cc28d8480e3386186c5c3d37e6b8383e647f1a48 | [] | no_license | ProXing/Project | 750d3a53247e26890b648abc29e0a7b540249887 | 601800caf2476b1adf4aa73e688a9e90d3e7236f | refs/heads/master | 2021-01-10T16:07:40.490738 | 2015-12-05T04:59:35 | 2015-12-05T04:59:35 | 45,500,337 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 575 | hh | #ifndef Error_HH_
#define Error_HH_
class Error{
private:
double x,y;
double Nx,Ny;
public:
Error(double x, double y){
x=x;
y=y;
};
virtual double RadarX(double x, double y) const =0;
virtual double Gps(double x, double y) const=0;
virtual double Sounder(double x, double y) const=0;
virtual double GetLo... | [
"xli89@stevens.edu"
] | xli89@stevens.edu |
aab455a39459b025a241db89f25705fb5a6c16bb | 230b7714d61bbbc9a75dd9adc487706dffbf301e | /content/browser/indexed_db/transaction_impl.cc | 412c180abdde9ecfef3d2332bb9d0ac12a38f61c | [
"BSD-3-Clause"
] | permissive | byte4byte/cloudretro | efe4f8275f267e553ba82068c91ed801d02637a7 | 4d6e047d4726c1d3d1d119dfb55c8b0f29f6b39a | refs/heads/master | 2023-02-22T02:59:29.357795 | 2021-01-25T02:32:24 | 2021-01-25T02:32:24 | 197,294,750 | 1 | 2 | BSD-3-Clause | 2019-09-11T19:35:45 | 2019-07-17T01:48:48 | null | UTF-8 | C++ | false | false | 13,258 | cc | // Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/browser/indexed_db/transaction_impl.h"
#include <utility>
#include <vector>
#include "base/metrics/histogram_macros.h"
#include "base/... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
568ae124c56abecbbc634a8552a6d62a6f33c7a8 | 470acbd6b3e1967186a4f66f2fad9e002d851e78 | /deps/proxima/include/ailego/utility/string_helper_impl.h | 051549d470cd19e47f6600519517d1a54c14b86b | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | chendianzhang/proximabilin | 901d307efdc50815d3f3342215fd3463fce318ad | d539519d0c38aa07376746d473d45d3b8372b9f6 | refs/heads/master | 2023-09-04T11:45:53.194344 | 2021-11-02T02:27:12 | 2021-11-02T02:27:12 | 418,355,309 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,638 | h | /**
* Copyright 2021 Alibaba, Inc. and its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE... | [
"hechong.xyf@alibaba-inc.com"
] | hechong.xyf@alibaba-inc.com |
f5ae17f1eb58cb5862a468c1e909982e0a654f07 | f9183e76489a872852876bf3fa900127b7668f3a | /source/model.cpp | cdd01250f5c655dcaf5a2255e6dc161372c77d88 | [] | no_license | kaustubh-nair/Splats-OpenGL | c44577c16732cd28e215707500c7ca3a14909436 | cee5d26c50f4dcf4b19e2a6f6eed7dc41ee9c08e | refs/heads/master | 2022-04-16T12:25:03.831507 | 2020-03-19T15:22:29 | 2020-03-19T15:22:29 | 239,578,135 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,262 | cpp | #include "../include/model.h"
Model::Model()
{
selectedMesh = -1;
renderSplats = false;
}
void Model::setup(std::vector<std::string> filepaths, std::vector<glm::vec3> meshPos)
{
std::vector<std::string>::iterator filepath;
std::vector<glm::vec3>::iterator position = meshPos.begin();
for (filepath = filepath... | [
"kaustubh.nair108@gmail.com"
] | kaustubh.nair108@gmail.com |
0e262e7215b8032a1e1896dac12a8a4794dc7a88 | 35fb40398ca48e3e68cdc31c5c14371b098a5832 | /AnotherOne/Source/Engine/InputHandler.h | 475d5e7ca074ab4a70524db4a0ae3f4d1a2253d7 | [] | no_license | Zveroth/Darkest_Dungeon_from_scratch | a03ff70c7b006ec103e441ba43866c60b9c3c3f4 | d9fc084c682277c735b7a0cbae3083d61df73178 | refs/heads/master | 2020-09-23T08:01:26.270758 | 2019-12-09T17:54:45 | 2019-12-09T17:54:45 | 225,446,928 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 617 | h | #pragma once
#include "forward_list"
struct GLFWwindow;
class LGameLogicSystem;
class LInputHandler
{
friend class LGameLogicSystem;
private:
//Set the input handling calls
static void Initialize(LGameLogicSystem* OwningLogic);
static void ProcessMouseInput(GLFWwindow* window, int button, int action, int mod... | [
"jakubszarek.ns@gmail.com"
] | jakubszarek.ns@gmail.com |
07815630460db06f09cd4a39f56ffdc3d9fad223 | c0b725996f6c4f1437249e0923a07c5201a762a2 | /Source/Pointy/PointyGameMode.cpp | 70943dfee8942955bedd2da33d603f3a8e6e1701 | [] | no_license | geary/Pointy | 7bfca099eea57f8cf6602a97f78d9ee7cb21a6c6 | 5eb70b37601e16c289fb16a880fc46e2864b2d55 | refs/heads/master | 2021-01-19T10:49:13.886318 | 2016-05-28T06:29:02 | 2016-05-28T06:29:02 | 60,294,881 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 132 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "Pointy.h"
#include "PointyGameMode.h"
| [
"mg@mg.to"
] | mg@mg.to |
9ff51c0883dd37d51a8d353a0cc0a3e9d9e29b6c | 66b5933081cd2ef7cc2cdc58ec99373520f0871d | /implementations/cs_aco_fixed_k_general/cs_aco_fixed_k_general/cs_aco_fixed_k_general.cpp | 1dc61f8f41f29bba6252453fc5fad658a3aece42 | [] | no_license | jwhowes/project | d9d6abcf9abe384d9673d07a186b28ef19917b42 | 7e4e1498109a3cd7d70a47220e14312c7c34b38c | refs/heads/master | 2023-04-13T10:11:38.427700 | 2021-04-23T20:27:04 | 2021-04-23T20:27:04 | 307,965,184 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,009 | cpp | #define _USE_MATH_DEFINES
#define _SECURE_SCL 0
#include <iostream>
#include <fstream>
#include <string>
#include <sstream>
#include <array>
#include <math.h>
#include <chrono>
#include <algorithm>
#include <boost/random/uniform_real_distribution.hpp>
#include <boost/random/uniform_int_distribution.hpp>
#include <boos... | [
"jacob.w.howes@durham.ac.uk"
] | jacob.w.howes@durham.ac.uk |
7b7316f0064fe4533b2c7ab5be15d8707b871e37 | 89a5e05d81cf1ba07da908a3f0858b7fec99bcdc | /!island_ga_fitness_caching/IslandGA/Clustering.cpp | 1b1f968b8c3c8f0ad119a0e2d8ec71f40c40fcf4 | [] | no_license | przewooz/ffe_cache | c038707715fbafef9ae2c583fc72c3e040e2eed4 | e6144b47400756b450599c5a072f76e201702c0b | refs/heads/master | 2020-03-11T13:46:38.977519 | 2018-09-06T12:29:27 | 2018-09-06T12:29:27 | 130,034,526 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,864 | cpp | #include "Clustering.h"
#include "RealCoding.h"
using namespace Clustering;
template <class TPoint>
CClustering<TPoint>::CClustering(CLog *pcLog)
{
pc_log = pcLog;
}//CClustering<TPoint>::CClustering(CLog *pcLog)
template <class TPoint>
CClustering<TPoint>::~CClustering()
{
v_clear();
}//CClustering<TPoint>::~CCl... | [
"michal.przewozniczek@pwr.edu.pl"
] | michal.przewozniczek@pwr.edu.pl |
e9ce34a5935bdcf9f1319d4c6559b352846b95a9 | 893f8cc37e3acd33a45bb658d8b9610d7bc79a22 | /syl_test.cpp | 5684001072eeff2d49181f6bd5865951549eee29 | [] | no_license | eridgraves/haiku_generator | 51c25e4b282388ee0e650a3181ab2bdf9ebb470e | e6898f7c858bbc751b152c28f06bcca3947e9625 | refs/heads/master | 2020-03-25T09:03:57.836410 | 2018-08-05T21:08:26 | 2018-08-05T21:08:26 | 112,909,292 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,913 | cpp | // Started 12/2/17
// Finalized + Published 08/05/18
// Eric Graves
// syl_test.cpp
// Test file for syllable.cpp
// Bool debug to enable debug messages
#include "syllable.h"
#include <iostream>
#include <fstream>
#include <random>
#include <string>
using namespace std;
extern bool DEBUG;
extern bool DEBUG_VERBOSE;... | [
"eridgraves@gmail.com"
] | eridgraves@gmail.com |
eb69e65055727940de768f1cb975876c16fbbfff | c3a70312e0034ccb302f72ecae3f9c67b897f28f | /tests/audio_pack_format_hoa_tests.cpp | 3d04922bdb124f8091dfd82d42db069a96f13e69 | [
"Apache-2.0"
] | permissive | benjamin-weiss/libadm | 593214997651d9565eccb64dafa5d07a83d253dd | 53e31662f8c5131c2c14756670924a35d87e3830 | refs/heads/master | 2021-07-09T14:13:17.464499 | 2020-05-12T01:13:07 | 2020-05-12T01:23:08 | 142,154,270 | 0 | 2 | Apache-2.0 | 2020-04-14T23:11:58 | 2018-07-24T12:18:12 | C++ | UTF-8 | C++ | false | false | 4,675 | cpp | #define CATCH_CONFIG_ENABLE_CHRONO_STRINGMAKER
#include <catch2/catch.hpp>
#include "adm/elements/audio_channel_format.hpp"
#include "adm/elements/audio_pack_format_hoa.hpp"
TEST_CASE("audio_pack_format_hoa_without_extra_param") {
using namespace adm;
auto packFormatHoa =
AudioPackFormatHoa::create(AudioPac... | [
"noreply@github.com"
] | benjamin-weiss.noreply@github.com |
780d7e332fd289b8c0918dc0d4cf6faded6d943e | 87b1fdb68e2d21b4c9124b0b2161a25519818b97 | /RobotBuilder/Source/RBModeler Source/RBModelerRBMGraphicView.cpp | e391447ff7fe524bdd7256f41e11f335306a289a | [
"MIT"
] | permissive | mcmillan03/Robotbuilder | 5d5e37c5513c38b1ff5ab22b804537093d575ecc | 490d35fef532f1220519575021aa39764e3e1afd | refs/heads/master | 2021-07-10T02:25:40.334055 | 2017-10-09T17:55:57 | 2017-10-09T17:55:57 | 106,306,445 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 17,305 | cpp | // RBModelerRBMGraphicView.cpp: implementation of the CRBModelerRBMGraphicView class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "RBModeler.h"
#include "RBModelerRBMGraphicView.h"
#include "MainFrm.h"
#include "RBModelerDoc.h"
#ifdef _DEBUG
#undef... | [
"smcmillan@sei.cmu.edu"
] | smcmillan@sei.cmu.edu |
edea8d10bd9b9ef9c090c40228a30e08dda9752f | ff12bad20b8484b1c1fbd82e51aec0d344f7c25a | /writeanalogscalarf64.h | 9477828439c1991048fa4d44d3a37bde823c9087 | [] | no_license | sedroca/QmlDAQmx | 0d0241cba23f3a440589201be0af2b1998aecb80 | cda921703515205469f9a37d6e78a5f0c7e2f33e | refs/heads/master | 2020-03-30T15:46:55.295978 | 2014-09-23T15:13:04 | 2014-09-23T15:13:04 | 20,333,297 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 881 | h | #ifndef WRITEANALOGSCALARF64_H
#define WRITEANALOGSCALARF64_H
#include <QQuickItem>
class WriteAnalogScalarF64 : public QQuickItem
{
Q_OBJECT
Q_PROPERTY(bool autoStart READ autoStart WRITE setAutoStart NOTIFY autoStartChanged)
Q_PROPERTY(qreal timeout READ timeout WRITE setTimeout N... | [
"andy@opto.cetuc.puc-rio.br"
] | andy@opto.cetuc.puc-rio.br |
2316775e69d7eecb854e5a2c5fa2a726aa21d424 | ab3eef29003d864c934bb74947863c6fdbb88756 | /src/lib/fractal/LiteralPrintArg.h | a04cf8177ab3e2106193ab57dc32efb3a1804589 | [] | no_license | ehaupt/fractorama | 5b0b55449f4e0e6576b18c9d6e742e81146f0f46 | edd7580d1da9cc3d35c543eaf137cbf6458aa9a2 | refs/heads/master | 2020-08-10T23:24:16.124763 | 2019-10-11T13:38:43 | 2019-10-11T13:38:43 | 214,443,018 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 443 | h | #ifndef _LITERAL_PRINT_ARG_H_
# define _LITERAL_PRINT_ARG_H_
#include "PrintArg.h"
class LiteralPrintArg : public PrintArg
{
public:
LiteralPrintArg(char *theString);
~LiteralPrintArg();
void execute(ostream &out) const;
ostream &print(ostream &out) const;
private:
LiteralPrin... | [
"ehaupt@critical.ch"
] | ehaupt@critical.ch |
cb92043c316947472bed2149448674a919d942d7 | e3829e91db02993b7b200433d66fbd3dc4139b8d | /osg/src/osg/StateAttribute | d7c4f23a015a3efbf452ff84676c04e1c950d4db | [] | no_license | geobeans/svs | 39d75a53d3069e065ae96f9edcb5be5c58ddbba9 | bda7083ef42b88ddf7aba0f8facd3e3eea55f766 | refs/heads/master | 2020-12-25T14:57:55.784520 | 2016-08-26T12:34:07 | 2016-08-26T12:34:07 | 66,234,375 | 3 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 13,622 | /* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield
*
* This library is open source and may be redistributed and/or modified under
* the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
* (at your option) any later version. The full license is in LICENSE file
* included with ... | [
"李津平"
] | 李津平 | |
470aaf70a1659a23499c0de2ac696e3352ee2290 | 9d050db7430537b9f8d30f417c16a26820caffe3 | /server/main.cpp | 9598fedde9879865384b2ec9ef1a37cddcba292a | [] | no_license | gudals7856/Imbedded-Typingbattle | a76a7831edae046521ff4333f28a49fa2503f65c | 6a939d9d36c28a671717dfcad9f2505411575f1e | refs/heads/main | 2023-04-10T18:04:00.821737 | 2021-05-01T15:05:03 | 2021-05-01T15:05:03 | 363,332,274 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 370 | cpp | #include <QCoreApplication>
#include "chatserver.h"
int main(int argc, char *argv[])
{
QCoreApplication a(argc, argv);
chatServer* server=new chatServer();
bool success=server->listen(QHostAddress::Any,4200);
if(!success)
{
printf("Could not listen on port 4200.\n");
return 0;
... | [
"gudals7856@gmail.com"
] | gudals7856@gmail.com |
09b585885ee0410804adb7f06b65d3ccf1d954de | b359abe0598fd7c43220977fb82f8ffdc9edf9f0 | /lab3Stacks/stack.h | a9701adcabbd86a0b399ca64902fbd03c07fb35c | [] | no_license | rypkelly/pdr | 3fac51850985ad32881db226d71a29bb7a9b590d | b8ce6c3e00e3b5d9d116a37e9fad2417baffebb2 | refs/heads/master | 2021-05-01T13:15:23.120982 | 2018-02-23T05:39:45 | 2018-02-23T05:39:45 | 121,073,995 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 272 | h | /* Ryan Kelly
rpk2kn
2/6/18
filename: stack.h */
#ifndef STACK_H
#define STACK_H
#include <iostream>
using namespace std;
class Stack{
public:
Stack();
void push(int x);
void pop();
int top();
bool empty();
private:
int *entries;
int topIndex;
};
#endif
| [
"noreply@github.com"
] | rypkelly.noreply@github.com |
570a0a90910b3f6db9b2bf05bc9059a8a750b4c4 | 7ca2ef0b13e584194d0691ce37eaf44fd3114040 | /TicTacToeGraphics/utils.h | aaf259a11541b80f712a4c82afc6597cc503edff | [] | no_license | BananasAmIRite/TicTacToe-Client | b1df56bed21b7add9ece8a8a0b814d3eaf7d9426 | 487345802df83767ab6cfff3f577853616f12c5c | refs/heads/master | 2023-07-06T03:11:29.516342 | 2021-08-06T17:01:52 | 2021-08-06T17:01:52 | 390,904,458 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 149 | h | #ifndef TTT_UTILS_H
#define TTT_UTILS_H
#include "wxPrecomp.h"
namespace TTT_utils {
vector<string> split(string str, string delim);
};
#endif | [
"jasony1230@gmail.com"
] | jasony1230@gmail.com |
1a754293618f8badde98711704ffd35e3a7ce34e | 130d56db5e4e552922bdd4de887dda1d1d3827a7 | /Original Firmware/nxp_fmuk66-v3/src/drivers/uavcan/include/dsdlc_generated/uavcan/equipment/camera_gimbal/Mode.hpp | 806b101fd72be8abbe7dfd835f6276c62bb4465d | [] | no_license | plushpluto/PX4-Malicious | 2028d6615ea0da2d6ebfd28c41821b3649736778 | 3db4ce3ecbfe6821043bb1dce6f651c4e606deb5 | refs/heads/master | 2023-07-01T10:20:01.551327 | 2021-08-15T13:19:16 | 2021-08-15T13:19:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,178 | hpp | /*
* UAVCAN data structure definition for libuavcan.
*
* Autogenerated, do not edit.
*
* Source file: /home/kss/PX4/src/drivers/uavcan/libuavcan/dsdl/uavcan/equipment/camera_gimbal/Mode.uavcan
*/
#ifndef UAVCAN_EQUIPMENT_CAMERA_GIMBAL_MODE_HPP_INCLUDED
#define UAVCAN_EQUIPMENT_CAMERA_GIMBAL_MODE_HPP_INCLUDED
#i... | [
"korkeep@naver.com"
] | korkeep@naver.com |
6ba70a29952d3422b83b14183c38b66717152faa | 92f902439bc208acf5510a2676ed0556e9a45bd0 | /bnep/sock.h | 3c3cb3e21a2bb9da7d513dab7b24d768cd15ec4d | [] | no_license | mahashg/bluetooth_object_oriented_driver | a3fa075ff711b053ab2d980dd6bdda9d2359460a | 0251ad11e1e8e2c9464abffb6fc049dea10b1981 | refs/heads/master | 2021-06-09T12:32:30.837879 | 2016-12-15T08:12:12 | 2016-12-15T08:12:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,985 | h | /*
BNEP implementation for Linux Bluetooth stack (BlueZ).
Copyright (C) 2001-2002 Inventel Systemes
Written 2001-2002 by
David Libault <david.libault@inventel.fr>
Copyright (C) 2002 Maxim Krasnyansky <maxk@qualcomm.com>
This program is free software; you can redistribute it and/or modify
it under ... | [
"mgupta3@linkedin.com"
] | mgupta3@linkedin.com |
f733c854925c3b1692fcda570662b37037f4d67d | ca5db9f590ca6d7ce9a6afea2d5bdb3f828b57c1 | /sdk/nebula/code/addons/network/corenetwork/packetid.h | 4a30a2738824de31cd54e7d1fbbbb78a5dc05bca | [] | no_license | lucienslliu/Dproject | 598b7540530a794959606b731fc313f9759c24ce | 49ccc82ecb50e60d47697ea2bbee5bfbdefbf920 | refs/heads/master | 2020-05-20T05:38:11.940888 | 2014-04-02T14:36:27 | 2014-04-02T14:36:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 304 | h | #pragma once
#ifndef CORENETWORK_PACKETID_H
#define CORENETWORK_PACKETID_H
#if __WIN32__
#include "corenetwork/raknet/raknetpacketid.h"
namespace CoreNetwork
{
typedef RakNet::RakNetPackedId PacketId;
}
#else
n_error("PacketId not implemented on this platform!");
#endif
#endif // RakNet_PACKETID_H | [
"23089277@qq.com"
] | 23089277@qq.com |
a23d9b073b87fc06a63d417fdb225c4969fb544e | 3741b2977951cbff15c785add12301c57293241a | /1011 World Cup Betting.cpp | a7de6e25adce526b8fabe1d62dca8b38e4a3a499 | [] | no_license | weeeeiiii/leetcode | 7eff3126dce24f2aef3506a3a203ae19f0aa5409 | d4804d4590d11c7f0de81fae50ba72a8e8ecb279 | refs/heads/master | 2022-12-20T22:31:33.328649 | 2020-10-03T06:13:48 | 2020-10-03T06:13:48 | 172,640,234 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 777 | cpp | #include<cstdio>
#include<iostream>
#include<vector>
#include<algorithm>
using namespace std;
vector<float> v;
vector<float> w;
vector<float> t;
vector<float> l;
float sum=0;
int main()
{
for(int i=0;i<3;i++)
{
float num;
cin>>num;
w.push_back(num);
cin>>num;
t.push_back... | [
"noreply@github.com"
] | weeeeiiii.noreply@github.com |
0abced7b98e7a46808060fbea9a9f6468b291fe5 | e514433a06385fe5b280117e3aef2e537f912716 | /reference/problem02-2.cpp | 8d3a3024dd7c93a8194e8df03faa6543689e9e64 | [] | no_license | hangon1234/cpp_review | ddd4a88f9f1224832dfc6090e410a0a8e890ac66 | 133daea0a2885e69ab158e3bf64e200e7f7edd33 | refs/heads/master | 2021-01-13T21:07:31.329228 | 2020-03-14T10:39:00 | 2020-03-14T10:39:00 | 242,494,635 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 791 | cpp | // Problem 02-2
// const pointer and const reference
// Book page 90
/*
const 포인터에 대한 복습을 겸할 수 있는 문제를 제시하겠다. 다음의 상수선언을 보자.
const int num=12;
포인터 변수를 선언해서 위 변수를 가리키게 해보자. 그리고 이 포인터 변수를 참조하는 참조자를
하나 더 선언하자. 마지막으로 이렇게 선언된 포인터 변수와 참조라를 이용해서 num에 저장된 값을
출력하는 예제를 완성해보자.
*/
#include <iostream>
using namespace std;
... | [
"hangon1234@gmail.com"
] | hangon1234@gmail.com |
5a2088200f724f4d43a4c96b25aee93d3eb3678c | 0e2e9c49c8e0121f6b775c32c159e3b7c8ef1768 | /Lab2/copy_constructor_fix/copy_constructor.hpp | b7f41596029b8e369937a37361ef8519b1c4f0cd | [
"MIT"
] | permissive | SeanSiders/prelab_demos | f5574ae10809b53d9b1d6fdb69c3b4105f96afd7 | 7f4d990f8e2e6f8dec5b1a73becc90fda3f1ea20 | refs/heads/main | 2023-06-26T02:39:51.283627 | 2021-07-30T07:02:40 | 2021-07-30T07:02:40 | 380,380,946 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,192 | hpp | #include <iostream>
#include <cstring>
//This class manages dynamic memory
class Weapon
{
public:
//DEFAULT CONSTRUCTOR
Weapon();
//PARAMETERIZED CONSTRUCTOR
Weapon(const char* _name, const float _damage);
//COPY CONSTRUCTOR
Weapon(const Weapon& source);
//DESTRUCTOR
~Weapon();
... | [
"sean.siders@icloud.com"
] | sean.siders@icloud.com |
17aa9616e968ee3c20f1d404f1fe3d73aac31b45 | 158de91c77a243c6491844ec04a2683254d098df | /resize/main.cpp | a85e90f000eb04936afed04b86ff9d332c6fcce4 | [] | no_license | ApostaC/halide | 98fff2fbef3a4e9d53614c80484256b4d6e02e33 | de8cf2bf234667c4c9264304951c0aff883ede10 | refs/heads/master | 2020-03-28T03:34:43.770896 | 2018-09-06T10:23:27 | 2018-09-06T10:23:27 | 147,655,493 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,422 | cpp | #include <cstddef>
#include <vector>
#include <random>
#include <cassert>
#include <iostream>
#include "resize.h"
template <typename T>
struct Mat {
Mat(size_t h, size_t w, size_t c):
h(h), w(w), c(c)
{
data.resize(h*w*c);
fill_random();
}
void fill_random()
{
static... | [
"jc4xvyp@outlook.com"
] | jc4xvyp@outlook.com |
2030fdf431868b2cea3b64704f5e6bf0c286d2f4 | d688d4875c4a1880376cac3245367fc417336074 | /src/accumulators.cpp | 7c890d4100a999d01a454818481a715a209d4022 | [
"MIT"
] | permissive | observerdev/ion | 5b3bc0e2eb83185c89bd732a05cf1a170908e0c5 | 6097eae10b0a84d06dd363c59ba217f3cbffd3ee | refs/heads/master | 2020-04-07T01:11:43.347395 | 2018-11-16T23:47:20 | 2018-11-16T23:47:20 | 155,249,316 | 0 | 0 | MIT | 2018-10-29T17:01:32 | 2018-10-29T17:01:31 | null | UTF-8 | C++ | false | false | 24,969 | cpp | // Copyright (c) 2017-2018 The PIVX developers
// Copyright (c) 2018 The Ion developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "accumulators.h"
#include "accumulatormap.h"
#include "chainparams.h"
#include "mai... | [
"dev@i2pmail.org"
] | dev@i2pmail.org |
2effdb8cea558793eef08ce8c62a055e3c440c2b | 731b6c18b821fb94ac16b9dce89ed4eb02441ebc | /forwarding-node/arduino-zigbee-sep16/arduino-zigbee-sep16.ino | 62570c87ec673628f4330fc4cb00ac4540790ac5 | [] | no_license | eduardogama/iot-profiling | 9a72e25cf659adaaabeb57c89c21304610bb50f4 | 4529d02c9095fa11906fc83b782f407e9874b209 | refs/heads/master | 2021-01-01T18:50:43.016429 | 2017-12-04T16:23:48 | 2017-12-04T16:23:48 | 98,446,388 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,582 | ino | #include <Arduino.h>
#include <DHT.h>
#include <Adafruit_Sensor.h>
#include <SoftwareSerial.h>
SoftwareSerial xbee_s(2, 3);
// Pino conectado ao pino de dados do sensor
#define DHTPIN 7
#define DHTTYPE DHT22 // Sensor DHT 22 (AM2302)
// Definicoes do sensor : pino, tipo
DHT dht(DHTPIN, DHTTYPE);
//Definicao pin... | [
"eduardogama72@gmail.com"
] | eduardogama72@gmail.com |
de889961ea788be4e4c8319205272290cf879fef | a6c8d127c8499b87aeff538e196d6e88205bd474 | /source/Core/NeoScript/include/ASTBlockRegion.h | 49db435b5a679239c55d0eb2078417c5cf35ab5b | [] | no_license | DavidSunny86/nextar | 752a1e158ea551f04f753137adccb2d732ef0a9e | effab6ba67d4810f03443658085025cbb19b400b | refs/heads/master | 2020-12-30T16:28:43.561303 | 2017-04-23T17:14:04 | 2017-04-23T17:14:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 689 | h | #ifndef ASTBLOCKREGION_H_
#define ASTBLOCKREGION_H_
#include <ASTRegion.h>
#include <ASTBlock.h>
namespace nextar {
class _NexNeoScriptAPI ASTBlockRegion : public ASTRegion {
NEX_LOG_HELPER(ASTBlockRegion);
public:
ASTBlockRegion(const String& name) : ASTRegion(name), _main(name) {}
virtual const String& GetCon... | [
"obi.de.online@gmail.com"
] | obi.de.online@gmail.com |
07a60702fe9ec503125738a1ea79d0aaf831877c | 7391feeb5b8e31f982422bdd74517e954d8c955e | /Foundation/samples/grep/src/grep.cpp | 4da63e48dd205f70a04e765cbeb899ae827c94f1 | [
"BSL-1.0"
] | permissive | AppAnywhere/agent-sdk | 62d762d0424fc2e8d4a98b79fb150e635adedd4d | c5495c4a1d892f2d3bca5b82a7436db7d8adff71 | refs/heads/master | 2021-01-11T15:22:01.406793 | 2016-09-01T16:36:20 | 2016-09-01T16:36:20 | 80,341,203 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,126 | cpp | //
// grep.cpp
//
// $Id: //poco/1.7/Foundation/samples/grep/src/grep.cpp#1 $
//
// This sample demonstrates the RegularExpression class.
//
// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// SPDX-License-Identifier: BSL-1.0
//
#include "Poco/RegularExpression.h"
#in... | [
"guenter.obiltschnig@appinf.com"
] | guenter.obiltschnig@appinf.com |
ef1bceca502787b406484419c49931c7889da1da | 27237ed26f25f096ca9daddc4ca3b2c9a92cfaeb | /00_basement/example03/Ex3_01.cpp | f0f3a825e856bf97b8cf36c9d24f4db8c1f4500e | [] | no_license | wanglg007/Cplusplus17 | 490fc71ef0f6bcfb856d95dec3c4ef309c45e9c4 | 423e2cec158148c66542e31d408066434fc2e97f | refs/heads/master | 2021-10-10T14:42:27.425103 | 2019-01-12T09:13:35 | 2019-01-12T09:13:35 | 148,996,016 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 630 | cpp | //(3.1)比较数据值(Comparing data values)
#include <iostream>
int main() {
char first{}; // Stores the first character
char second{}; // Stores the second character
std::cout << "Enter a character: ";
std::cin >> first;
std::cout << "Enter a second character... | [
"wangligang"
] | wangligang |
04165a57cf053c5b311d78032a6a7e285bbe5bf2 | a3d6556180e74af7b555f8d47d3fea55b94bcbda | /chrome/browser/policy/client_data_delegate_android_unittest.cc | c31501e65c3d4724e462d254a614551b93b4fc41 | [
"BSD-3-Clause"
] | permissive | chromium/chromium | aaa9eda10115b50b0616d2f1aed5ef35d1d779d6 | a401d6cf4f7bf0e2d2e964c512ebb923c3d8832c | refs/heads/main | 2023-08-24T00:35:12.585945 | 2023-08-23T22:01:11 | 2023-08-23T22:01:11 | 120,360,765 | 17,408 | 7,102 | BSD-3-Clause | 2023-09-10T23:44:27 | 2018-02-05T20:55:32 | null | UTF-8 | C++ | false | false | 1,720 | cc | // Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/policy/client_data_delegate_android.h"
#include <utility>
#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "b... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
7e7a6557dc66d855dcb6c8ab776042ca08c6270d | dfc8edc3a1c832961bb9a7041bad55b25c5ea146 | /games/catastrophe/game.cpp | 8462738c15cb07ca1c8f06f144e702f3d0a956ae | [
"MIT"
] | permissive | siggame/Joueur.cpp | 5f7332e2d8bbd0daac078ed93ca697a74a847435 | 673fce574ca80fb8f02777e610884a1c9808501d | refs/heads/master | 2022-06-05T16:32:09.667029 | 2022-05-04T15:43:48 | 2022-05-04T15:43:48 | 39,783,980 | 9 | 21 | MIT | 2020-11-08T17:06:08 | 2015-07-27T16:02:44 | C++ | UTF-8 | C++ | false | false | 1,217 | cpp | // Game
// Convert as many humans to as you can to survive in this post-apocalyptic wasteland.
// DO NOT MODIFY THIS FILE
// Never try to directly create an instance of this class, or modify its member variables.
// Instead, you should only be reading its variables and calling its functions.
#include "game.hpp"
#incl... | [
"admin@tehpers.com"
] | admin@tehpers.com |
7eb40cfdd5d0e847dbeaff375509328e9c071bd0 | 50971341eafad254113a03a5614246d7c141f4f4 | /Set_3/employee/employee.h | 12c83e61371c66b91dbcc877714a005bdf7ba2a7 | [] | no_license | 99002488/Cpp-Assignments_Updated | 9a3169d0daa4f3c66b27c4570be4e650be4a897a | f29b5e367a65c7b3887aec1ca6c0f13f18ec8f18 | refs/heads/master | 2022-12-19T16:16:57.012084 | 2020-09-25T03:03:07 | 2020-09-25T03:03:07 | 298,269,618 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 557 | h | #ifndef __EMPLOYEE_H
#define __EMPLOYEE_H
#include <string>
class IEmployee {
public:
virtual void payroll()=0;
virtual void appraisal()=0;
};
class Employee:public IEmployee {
std::string m_empid;
std::string m_name;
double m_salary;
int m_exp;
public:
Employee(std::string , std... | [
"noreply@github.com"
] | 99002488.noreply@github.com |
9a25e2cd006688b30d0923b5cfc447b760c72091 | feff5dadc85629c0947abf87a79f86ace8c84539 | /others/nthu2019/D.cpp | d82afddc188168f8e8562d55f50b29c4e28df655 | [] | no_license | Redleaf23477/ojcodes | af7582d9de8619509fa4ffa5338b2a59d9176608 | 7ee3053a88a78f74764bc473b3bd4887ceac6734 | refs/heads/master | 2023-08-13T22:34:58.000532 | 2023-08-10T15:54:05 | 2023-08-10T15:54:05 | 107,507,680 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,513 | cpp | //
#include <bits/stdc++.h>
#define endl '\n'
#define int ll
using namespace std;
typedef long long ll;
ll sp[1000006];
map<ll, ll> cal;
vector<ll> primes;
ll a, b;
void init();
void process();
int32_t main()
{
ios::sync_with_stdio(false); cin.tie(0);
init();
int caseN = 0;
while(cin >> a >> b)
... | [
"schpokeool@gmail.com"
] | schpokeool@gmail.com |
6066cdce6ba2a159ab98bc52fa834b0ae81d74cb | dec4ef167e1ce49062645cbf036be324ea677b5e | /SDK/PUBG_MovieScene_functions.cpp | a4fb1cb703c612fea8e079d08bd740225c6b4aad | [] | no_license | qrluc/pubg-sdk-3.7.19.5 | 519746887fa2204f27f5c16354049a8527367bfb | 583559ee1fb428e8ba76398486c281099e92e011 | refs/heads/master | 2021-04-15T06:40:38.144620 | 2018-03-26T00:55:36 | 2018-03-26T00:55:36 | 126,754,368 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,260 | cpp | // PlayerUnknown's Battlegrounds (3.5.7.7) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "PUBG_MovieScene_parameters.hpp"
namespace PUBG
{
//---------------------------------------------------------------------------
//Functions
//-----------------------------------------------------------------------... | [
"qrl@uc.com"
] | qrl@uc.com |
4b2648b6d7a8aec244f910a5422eb6fb803f64b7 | 4c7bfeeb405f43ffa499681fdf2e5a37600f20fd | /OLED_demo/OLED_demo.ino | 004b83927de9ebf18a7c825197ecff59320eaba6 | [
"MIT"
] | permissive | Nigh/OLED_arduino | be706d5164dfab6f5c70b522d3399b33e3a2a408 | a4b64d8e61b633284e841824a5d43acab70b2221 | refs/heads/master | 2021-01-10T15:03:40.774926 | 2018-04-09T02:42:47 | 2018-04-09T02:42:47 | 53,377,993 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,621 | ino |
#include "SSD1306.h"
#include "bitmap.h"
#include "anime.h"
#include "OLED_vram.h"
#define GND
#define VCC 13
#define D0 12 // for clock
#define D1 11 // for data
#define RES 10 // reset
#define DC 9 // data/command selector
#define CS 8 // enable
void setup(void)
{
Serial.begin(115200);
Serial.println("Start");... | [
"jiyucheng007@gmail.com"
] | jiyucheng007@gmail.com |
2aaea992c03d0aae4a74d2224c456ed618b797a9 | 97950912d86820fb945f1fd224511e2857642322 | /stereo_matching/cpu_src/cost.cpp | 691e855ff8521ca4ddc36e5a359002b887bc0560 | [] | no_license | liu-yangyang/stereo_matching | e5c39da7836005f67dc18459d4931097f09e5183 | 33de5dd8bbd70e34688ea9552f8f2db2490d63d9 | refs/heads/master | 2020-04-14T20:05:45.677739 | 2018-12-02T13:19:30 | 2018-12-02T13:19:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,764 | cpp | #include "../cpu_inc/Cost.h"
float SAD(Mat &img_l, Mat &img_r, Point l_pt, int disp, int win_h, int win_w, float* weight)
{
uchar *ptr_l = NULL, *ptr_r = NULL;
int y = 0, x_l = 0, x_r = 0;
float cost = 0;
for (int i = -win_h / 2; i <= win_h/2; i++)
{
y = MAX(l_pt.y + i, 0); // check border
y = MIN(y, img_l.... | [
"hunterlew@163.com"
] | hunterlew@163.com |
9587eae36d741aebd7a6a7312bff83c038e8fda0 | f82cd75666c164da58bb7fdaeabcac0f13377e38 | /numpy_eigen/src/autogen_test_module/test_D_09_float.cpp | dc98796f5aa309c64301a56925a7183d296bd150 | [] | no_license | omaris/Schweizer-Messer | 54b4639d3a30bed03db29458c713a05fdfa6f91a | ec4d523d9ac7c377e0701ce0b5fdede3043ecd8a | refs/heads/master | 2021-01-15T17:37:01.645963 | 2013-06-18T06:52:50 | 2013-06-18T06:52:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 279 | cpp | #include <Eigen/Core>
#include <numpy_eigen/boost_python_headers.hpp>
Eigen::Matrix<float, Eigen::Dynamic, 9> test_float_D_09(const Eigen::Matrix<float, Eigen::Dynamic, 9> & M)
{
return M;
}
void export_float_D_09()
{
boost::python::def("test_float_D_09",test_float_D_09);
}
| [
"paul.furgale@gmail.com"
] | paul.furgale@gmail.com |
7452e135a4cffb6c19a8063b10bbbdd9e0c5a2bf | a35a2613f9ac3741f3437d8812cf45cbde2a73f2 | /Mock/no_of_workers_dfs.cpp | 65a2617971b769e8e51854f20568c13571143330 | [] | no_license | vishnuGops/C-Code-Templates | 680d74faa937bfbf55a2c516027d8877700f3957 | 56a21d23af5b0fe357bd2e6206905c7e265fbbf8 | refs/heads/main | 2023-06-03T06:09:24.100438 | 2021-06-27T01:10:49 | 2021-06-27T01:10:49 | 363,249,233 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 124 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
#include <map>
using namespace std;
int main()
{
return 0;
} | [
"vishvargops@gmail.com"
] | vishvargops@gmail.com |
edf1c3f8cf85e2b51b4c575aa9ceed3c2da14b43 | 7239fcec5aabf75345baff05ab5208ab43d8e373 | /Day76/B - Dreamond Likes Permutations.cpp | 3c0c9f924f6e9a1bbbdb2878ddd259eaaca3453d | [] | no_license | 123pk/100DaysofCompetitiveProgramming | 79b0eefba275a82ff0ca4d583b3384c62a0efb05 | ef0d60f667cc3046c7ae995500d3c3c023c650c2 | refs/heads/main | 2023-06-01T10:31:03.673143 | 2021-06-19T17:13:04 | 2021-06-19T17:13:04 | 346,765,914 | 7 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,398 | cpp | /*
Platform :- Codeofces
Contest :- Codeforces Round #631 (Div. 2) - Thanks, Denis aramis Shitov!
Problem :- B - Dreamond Likes Permutations
Hint :- Few things about Permutaion
i. each element is atmost once in array
ii. no missing elemnt from [1 to n] if max is n
iii. sum of eleme... | [
"noreply@github.com"
] | 123pk.noreply@github.com |
b8cee03d069be954d8e64cce32d65b8fd1cec395 | be282ce9a67a1e0349fc909bcd31b961821af0cf | /main.cpp | ea42293d9699cbc705d6602d5e1e9ae4938f7311 | [
"Unlicense"
] | permissive | KingBowser/linux-csgo-external | b0e9bab1ca388da03cdd8acb4c1364282b5753f2 | 045edf2f3e35d24e2bbfa78c697a058615c53dfa | refs/heads/master | 2021-01-19T07:29:25.519284 | 2015-01-13T22:46:57 | 2015-01-13T22:46:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,413 | cpp | #include <iostream>
#include "log.hpp"
#include "remote.hpp"
#include "hack.hpp"
#include "netvar.hpp"
using namespace std;
// This isn't called or used because it's for debugging, use it if you want.
void printAllClasses() {
for(size_t i = 0; i < netvar::GetAllClasses().size(); i++) {
cout << netvar::Get... | [
"s0beit@myg0t.com"
] | s0beit@myg0t.com |
cb6084b6fda24358acd90399f7899bad05c46097 | 8986629aad80e71fbc8d0ae3c45287095a00fdf3 | /AboutDialog/AboutDialog/AboutDialog.cpp | c3e6e552bd9d7dad207cd9d378fbc449babf82e9 | [] | no_license | alwyss/winprog | 3206da9deeb74fdf5e3350ed07cb26775b5638d6 | e8478dbbd6df6f3b86944c95a9ad75b9ab20dd65 | refs/heads/master | 2018-12-29T16:41:19.204823 | 2014-06-21T05:17:45 | 2014-06-21T05:18:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,007 | cpp | #include "AboutDialog.h"
#include <cstdio>
#include <stdarg.h>
#include <exception>
#include <windows.h>
#include "resource.h"
LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
BOOL CALLBACK AboutDlgProc(HWND, UINT, WPARAM, LPARAM);
int iCurrentColor = IDC_BLACK, iCurrentFigure = IDC_RECTANGLE;
void Output(cons... | [
"a"
] | a |
dc34b6482cdd337730c05bea0611ea5ed992e3d6 | 1d928c3f90d4a0a9a3919a804597aa0a4aab19a3 | /c++/solidity/2017/12/Types.h | a54e4e099b65bd02d8de00d5c81cc51a256668d5 | [] | no_license | rosoareslv/SED99 | d8b2ff5811e7f0ffc59be066a5a0349a92cbb845 | a062c118f12b93172e31e8ca115ce3f871b64461 | refs/heads/main | 2023-02-22T21:59:02.703005 | 2021-01-28T19:40:51 | 2021-01-28T19:40:51 | 306,497,459 | 1 | 1 | null | 2020-11-24T20:56:18 | 2020-10-23T01:18:07 | null | UTF-8 | C++ | false | false | 51,602 | h | /*
This file is part of solidity.
solidity 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 option) any later version.
solidity is distributed ... | [
"rodrigosoaresilva@gmail.com"
] | rodrigosoaresilva@gmail.com |
c2a914a02611706a3bbecc52051d7ae9d7ed8ca2 | 52e7e8516086538699317a0c1a1b263c00690d5e | /glucose/mtl/Alg.h | ad2c45aea879a1ffe4bfd0674766cf64e7d161ca | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | fbacchus/MaxHS | 4a2170e25ffc63a57553e22510673abc56f1d23f | c8df41ac63e27c2cb32905302e6ede3118b7a07b | refs/heads/master | 2022-02-08T00:59:40.319946 | 2022-01-24T18:08:11 | 2022-01-24T18:08:11 | 25,798,779 | 23 | 8 | null | null | null | null | UTF-8 | C++ | false | false | 2,826 | h | /*******************************************************************************************[Alg.h]
Copyright (c) 2003-2006, Niklas Een, Niklas Sorensson
Copyright (c) 2007-2010, Niklas Sorensson
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
associated documentation ... | [
"fbacchus@cs.toronto.edu"
] | fbacchus@cs.toronto.edu |
c5c945c2f6f96059dff34602ec6fd6a369c6574f | 222bc22cb0330b694d2c3b0f4b866d726fd29c72 | /src/brookbox/wm2/WmlApprEllipseByArcs2.h | a99c86b94ad8b63097ba09c39215ee28d8b1228d | [
"LicenseRef-scancode-other-permissive",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | darwin/inferno | 02acd3d05ca4c092aa4006b028a843ac04b551b1 | e87017763abae0cfe09d47987f5f6ac37c4f073d | refs/heads/master | 2021-03-12T22:15:47.889580 | 2009-04-17T13:29:39 | 2009-04-17T13:29:39 | 178,477 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,223 | h | // Magic Software, Inc.
// http://www.magic-software.com
// http://www.wild-magic.com
// Copyright (c) 2003. All Rights Reserved
//
// The Wild Magic Library (WML) source code is supplied under the terms of
// the license agreement http://www.magic-software.com/License/WildMagic.pdf
// and may not be copied or ... | [
"antonin@hildebrand.cz"
] | antonin@hildebrand.cz |
4e194a5111fa4d9454a5db6524926c51305e99a4 | 7fdbeb31edb47d2012d3cde6393d691dd01a41bd | /206. Reverse-Linked-List.cpp | 4492abb89beb282eeb70ea3491b49eedece48d65 | [] | no_license | hsintali/LeetCode | 954a73c624d8c9d348e23a9b2b1055f69e3e23e6 | d5b90576385ce1e3d7ca420ff03aba407bb977d9 | refs/heads/master | 2023-06-17T07:03:15.149125 | 2021-07-14T12:52:59 | 2021-07-14T12:52:59 | 202,471,672 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 544 | cpp | /* https://leetcode.com/problems/reverse-linked-list/ */
/* Approach 1:
Intuition:
Time complexity: O(n)
Space complexity: O(1)
*/
class Solution {
public:
ListNode* reverseList(ListNode* head) {
if(head == NULL || head->next == NULL) return head;
ListNode *prev = NULL;
ListNode... | [
"noreply@github.com"
] | hsintali.noreply@github.com |
5797c5c328f03cb4a84d85344a225aad87698d87 | 8243ba815b270678f724ac3157d66cb3b0d8d53f | /Games/PingyPongo/PingyPongo/World.h | a0a20187b644c4c0d255114220962816ea28157d | [] | no_license | RedCaplan/Cplusplus | c36a503b4c15ee846c952f92d0fc8835beeadb6c | 454fcbd56270a5790681c239dc6e2d4ceae8aa25 | refs/heads/master | 2020-03-19T10:02:26.311826 | 2018-06-06T18:06:10 | 2018-06-06T18:06:10 | 136,338,215 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,029 | h | #pragma once
#include "Hero.h"
#include "Enemy.h"
#include "Ball.h"
#include <vector>
#include <string>
class World
{
public:
/***************************** Public functions */
World ();
~World ();
void Run (const char input);
bool IsActive ();
void SwitchActivation ();
void InitializeWorld ();
/... | [
"noreply@github.com"
] | RedCaplan.noreply@github.com |
6efe064926bdb4ba10e792076bc2ae8745e588fc | e098990a6634ca604a26d67584c43c95c4acbfb0 | /compute/Consumer.hpp | 5a10b313377f5c789f0f4fa4337f7d68ee5be07e | [
"BSD-3-Clause"
] | permissive | deltapath/lidar-processor | dfc790176934f5db6450c248ef890ebaa778bb43 | 8d195f0ec858acc265eb24a447fc6408142a063c | refs/heads/master | 2023-08-29T18:40:36.833903 | 2021-10-20T22:52:29 | 2021-10-20T23:45:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,272 | hpp | /*
* BSD 3-Clause License
* Copyright (c) 2020, Roxána Provender & Máté Cserép
* All rights reserved.
*
* You may obtain a copy of the License at
* https://opensource.org/licenses/BSD-3-Clause
*/
#ifndef OLP_CONSUMER_HPP
#define OLP_CONSUMER_HPP
#include <chrono>
#include <ctime>
#include <sstream>
#include <i... | [
"mcserep@inf.elte.hu"
] | mcserep@inf.elte.hu |
34c2c315390e87296c68bb86150c0a91293524cf | 18a3f93e4b94f4f24ff17280c2820497e019b3db | /BOSS/EvtGenModels/EvtChi1BB2.hh | 7df33bba17790cfe29242c52e528ad5d3b769d7f | [] | no_license | jjzhang166/BOSS_ExternalLibs | 0e381d8420cea17e549d5cae5b04a216fc8a01d7 | 9b3b30f7874ed00a582aa9526c23ca89678bf796 | refs/heads/master | 2023-03-15T22:24:21.249109 | 2020-11-22T15:11:45 | 2020-11-22T15:11:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,005 | hh | //--------------------------------------------------------------------------
//
// Environment:
// This software is part of models developed at BES collaboration
// based on the EvtGen framework. If you use all or part
// of it, please give an appropriate acknowledgement.
//
// Copyright Information: Se... | [
"remco@ihep.ac.cn"
] | remco@ihep.ac.cn |
1670e158cff512e0a55a91b1ca7be4a6434a6c35 | add3e0a0324154868ce27174eb5cb5ab41070d16 | /W4D2/D.cpp | 2e30ca1a885c6ed2b5b9519acf366ebd2fe23e5f | [
"MIT"
] | permissive | MartrixG/2019-summer-OI | 68a5d75266ad6a4a53603fda9c86c0cc7372c4c6 | 4765533f4a373f6f277c1309c534050e52d631d8 | refs/heads/master | 2022-06-14T03:17:45.345451 | 2020-05-08T03:10:11 | 2020-05-08T03:10:11 | 262,214,849 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,497 | cpp | #include <cstdio>
#include <iostream>
#include <cstring>
#include <string>
#include <algorithm>
#include <vector>
#include <cmath>
using namespace std;
const int N = 15010;
int n, m, k;
int max(int a, int b) { return a > b ? a : b; }
struct Edge
{
int from, to, c;
const bool operator<(const Edge o) const
{... | [
"44332912+1171000405@users.noreply.github.com"
] | 44332912+1171000405@users.noreply.github.com |
4791e80b64b6a202f18186ee13eb5941289d09ff | 0813e18eb6b6cd5de9898c33788b9ab7e93727c6 | /codejam/2017/1A/A.cpp | 22620005d4935e651aa3ccc1bcd6f574845bd92c | [
"MIT"
] | permissive | metaflow/contests | a769e97337363743a1ec89c292d27939781491d3 | 5e9ffcb72c3e7da54b5e0818b1afa59f5778ffa2 | refs/heads/master | 2021-07-13T00:09:23.470950 | 2021-06-28T10:54:47 | 2021-06-28T10:54:47 | 19,686,394 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,148 | cpp | #include <bits/stdc++.h>
using namespace std;
using vi = vector<int>; using vvi = vector<vi>;
using ii = pair<int,int>; using vii = vector<ii>;
using l = long long; using vl = vector<l>; using vvl = vector<vl>;
using ll = pair<l,l>; using vll = vector<ll>; using vvll = vector<vll>;
using lu = unsigned long long;
usin... | [
"goncharov.mikhail@gmail.com"
] | goncharov.mikhail@gmail.com |
46f58f4ca344630270a762cbf38305781ea0d5ea | 0bd1265abbec9fa8b1ecca2b2e9bd48572ffaffc | /include/llvm/Transforms/Utils/BypassSlowDivision.h | e0b7c891876a77c8be05db9f267f476ea8594c67 | [] | no_license | BenQuickDeNN/Kaleidoscope | 2daa74aaa1ec82866d4c4e8b72c68dd5a7ce803a | 573b769ecc1b78f1ad9d2fd0a68978028b528e14 | refs/heads/master | 2022-10-06T21:51:10.741879 | 2020-06-11T02:19:48 | 2020-06-11T02:19:48 | 208,954,736 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,498 | h | //===- llvm/Transforms/Utils/BypassSlowDivision.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
//
//===---------------------... | [
"benquickdenn@foxmail.com"
] | benquickdenn@foxmail.com |
93a51731ba5fa5c71d85222b4b1a898d72b7f5f9 | 7f30e93db84ac411c0a656c8a38e9e5801dc9fa6 | /StudyGroup.cpp | a97d357eb9989eeb11e08de3f690ca7f39ea4f5e | [] | no_license | Alin98/FacultatePOO | d4a06566ca96aec9c540955bf88f34ea4e5be5ca | 6ba0e7df7c3fb0826dafba9f0949aa0e3746ca3b | refs/heads/master | 2020-04-14T22:15:03.593336 | 2019-01-08T00:59:47 | 2019-01-08T00:59:47 | 164,156,023 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 666 | cpp | #include "StudyGroup.hpp"
StudyGroup::StudyGroup(int group, std::vector<Discipline*> Disciplines)
{
mGroup = group;
mDisciplines = Disciplines;
}
void StudyGroup::setGroup(int group)
{
mGroup = group;
}
int StudyGroup::getGroup()
{
return mGroup;
}
std::vector<Discipline*> StudyG... | [
"noreply@github.com"
] | Alin98.noreply@github.com |
07aedc6b9ba7fcb4d7f65beab2a9433b82ad8414 | 90b932b27153d06459efc6d4ba35f26807b200d5 | /src/moveable_base.cpp | 75519215058394a2ce8612036abe2219a884c47e | [
"MIT"
] | permissive | gianlucadelfino/2D_Physics_Engine_CUDA | a30faa324265a3d40263946c1eb1b8281b738b9e | c03a29bda36cace46377002d16c0faa3790295ac | refs/heads/master | 2022-12-21T01:50:08.536654 | 2022-12-07T16:37:08 | 2022-12-07T16:37:08 | 13,396,303 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,209 | cpp | #include <cassert>
#include <memory>
#include "moveable_base.h"
#include "vec2.h"
moveable_base::moveable_base(float x_, float y_) : pos(x_, y_), prev_pos(x_, y_), orientation(0, 0)
{
}
moveable_base::moveable_base(const vec2& pos_) : pos(pos_), prev_pos(pos_), orientation(0, 0) {}
moveable_base::moveable_base(const... | [
"gianluca.delfino@gmail.com"
] | gianluca.delfino@gmail.com |
9f2aa1671afc1b97f9fca9b40ea083a50bc871e5 | 9aa896e378b9d0fb63af8644902dd1ceac371972 | /scr/edituserdict.h | c8d51719b084546b051614db9d01f084541963b5 | [] | no_license | waltergallegog/SEcubeWallet | 322551349500fd43518eb96df9693106809d40cd | b5bb065e3f5c727b1e45869fe854bea3a9c3966d | refs/heads/master | 2020-03-10T07:29:22.818256 | 2018-07-18T23:00:56 | 2018-07-18T23:00:56 | 119,573,392 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 416 | h | #ifndef EDITUSERDICT_H
#define EDITUSERDICT_H
#include <QDialog>
#include <QFile>
namespace Ui {
class editUserDict;
}
class editUserDict : public QDialog
{
Q_OBJECT
public:
explicit editUserDict(QWidget *parent = 0);
editUserDict(QWidget *parent, QString fileName);
QStringList getList();
~edi... | [
"waltergallegog@gmail.com"
] | waltergallegog@gmail.com |
4c368c0e531a90b24bfffd8f620bfbc4b59d8a5d | 498f154c6d6a8d61149d4a345c03fca1d97e4f24 | /World/headers/zs-camera.h | ba69475d0cc23d1e41180c9e3e4a397a013edfcc | [] | no_license | MaksymPrymierov/zsgamedit | 383b43a62598364a4d1627896347577eebcc264b | e647685d6597687bff3e2e5f86032a7289893dba | refs/heads/master | 2020-08-07T22:36:37.632422 | 2019-10-08T06:30:44 | 2019-10-08T06:30:44 | 213,608,242 | 0 | 0 | null | 2019-10-08T10:00:46 | 2019-10-08T10:00:45 | null | UTF-8 | C++ | false | false | 2,351 | h | #ifndef zs_camera
#define zs_camera
#include "../../Render/headers/zs-math.h"
#include "../../Misc/headers/oal_manager.h"
enum ZSCAMERAPROJECTIONTYPE {ZSCAMERA_PROJECTION_NONE,
ZSCAMERA_PROJECTION_ORTHOGONAL,
ZSCAMERA_PROJECTION_PERSPECTIVE};
typedef struct ZSV... | [
"cvosttv@gmail.com"
] | cvosttv@gmail.com |
1e816aa9f10198413e48e80cd62844eb19d7dad6 | 48cde5cda307a319d7781183eeb6afead68b4a40 | /Test/MemoryResourceTest/main.cpp | 68be54abe9c1d2a36a4bef3ab6ccb10e430f5707 | [] | no_license | Kingwl/YupeiLibrary | 04b964d63964ea3724afbdc6d1429d3a4b96f73f | f6f8e4b3939ac9e34450bf04d9f8fc12395e6b43 | refs/heads/master | 2021-01-18T02:45:00.395805 | 2015-08-10T16:36:37 | 2015-08-10T16:36:37 | 40,494,972 | 1 | 0 | null | 2015-08-10T17:05:26 | 2015-08-10T17:05:26 | null | UTF-8 | C++ | false | false | 3,590 | cpp | #include "..\..\Source\Stl\math.h"
#include "..\..\Source\Stl\Auto.h"
#include "..\..\Source\Stl\memory_resource.h"
#include "..\..\Source\Custom\StopWatch.h"
#include <iostream>
#include <vector>
#include <list>
#include <string>
#include <map>
#include <unordered_map>
using namespace Yupei;
using namespace Yupei::... | [
"liuyupei951018@hotmail.com"
] | liuyupei951018@hotmail.com |
4e02ed2db10c6cf715d287010cc8495acb098337 | bb6ebff7a7f6140903d37905c350954ff6599091 | /components/metrics/metrics_hashes.cc | a042bcdf2c18e42de2da8a1beeb5230a5df7fa80 | [
"BSD-3-Clause"
] | permissive | PDi-Communication-Systems-Inc/lollipop_external_chromium_org | faa6602bd6bfd9b9b6277ce3cd16df0bd26e7f2f | ccadf4e63dd34be157281f53fe213d09a8c66d2c | refs/heads/master | 2022-12-23T18:07:04.568931 | 2016-04-11T16:03:36 | 2016-04-11T16:03:36 | 53,677,925 | 0 | 1 | BSD-3-Clause | 2022-12-09T23:46:46 | 2016-03-11T15:49:07 | C++ | UTF-8 | C++ | false | false | 1,057 | 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 "components/metrics/metrics_hashes.h"
#include "base/logging.h"
#include "base/md5.h"
#include "base/sys_byteorder.h"
namespace metrics {
name... | [
"mrobbeloth@pdiarm.com"
] | mrobbeloth@pdiarm.com |
c176bd8a275ad0a53c36af8d7cec75aae3e4d0f7 | 0d11d86e851803b8ef3be4ab633b961d9d6d596b | /projects/bluetooth/sample/sample.ino | 7b9ed8410569eda046274b5fb6ef8c33c2f9d5dc | [] | no_license | webgoal/arduino | 6113281f1b0cfade072d6a2022a64448106d7b00 | 06bff1926ddc59090eeeee6908499bdbfe835e57 | refs/heads/master | 2021-01-25T12:02:42.226855 | 2012-01-27T10:26:35 | 2012-01-27T10:26:35 | 2,264,615 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,202 | ino | /*
Receives Test Events from your phone.
After it gets a test message the led 13 will blink
for one second.
*/
#include <MeetAndroid.h>
MeetAndroid meetAndroid;
int onboardLed = 13;
void setup()
{
// use the baud rate your bluetooth module is configured to
// not all baud rates are working well, i.e. A... | [
"altiereslopes@webgoal.com.br"
] | altiereslopes@webgoal.com.br |
db2da8e3d02ecbed4d955db3facd78d0d740804f | 8afd101b09191ed80c5c07bbed1bca88fa464389 | /src/Motors/Motor4Wheel.cpp | f097e30050d140f060b56e68bae3502c7636f52f | [] | no_license | Kiliagan/Beaglebone_Robot | 038deea53053b071d2dd2e2e519ed9b0e35b852b | 281ee7504bc4d07afee132ce615170d2db1f12bf | refs/heads/master | 2021-01-01T17:58:25.184218 | 2015-08-26T12:05:25 | 2015-08-26T12:05:25 | 38,653,797 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,255 | cpp | /*
* Motor4Wheel.cpp
*
* Created on: 8 Jul 2015
* Author: kilian
*/
#include "Motor4Wheel.h"
#include <unistd.h>
#include <iostream>
#include "../Pins/GPIO.h"
/**
* Creates 4 wheeled robot object
* @param pwm
* @param wheelFrontLeft_1
* @param wheelFrontLeft_2
* @param wheelFrontRight_1
* @param whe... | [
"kiliansullivan26@gmail.com"
] | kiliansullivan26@gmail.com |
e4c0108178343f6432ec485058940ad34e9de9c9 | faa40f594f22f6e5bdc521d3762683768c6a4024 | /DJS.cpp | 8ba85e1f1f39252953b8180e5da32a71386c9bf1 | [] | no_license | imbarr/Kruskal | 887b36855786e849f3a5a7fe0acdb3e3e6428e7a | 2b7195c8a84fa677b36d77ea72f9cc74d4e9ae55 | refs/heads/master | 2020-03-28T14:49:05.480589 | 2018-09-13T18:53:40 | 2018-09-13T18:53:40 | 148,525,607 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 637 | cpp | #include "DJS.h"
DJS::DJS(unsigned long number) {
p = new int[number];
rank = new int[number];
for(int i = 0; i < number; i++) {
p[i] = i;
rank[i] = 0;
}
}
DJS::~DJS() {
delete[] p;
delete[] rank;
}
int DJS::Find(int elem) {
return p[elem] == elem ? elem : p[elem] = Find(p... | [
"imbrkvskh@gmail.com"
] | imbrkvskh@gmail.com |
01da51cae6a78b2ffa73839c006564df75aaf292 | 60db84d8cb6a58bdb3fb8df8db954d9d66024137 | /android-cpp-sdk/platforms/android-9/java/sql/SQLClientInfoException.hpp | 16cddc230818d3df42113c3a74a32484dd77e04b | [
"BSL-1.0"
] | permissive | tpurtell/android-cpp-sdk | ba853335b3a5bd7e2b5c56dcb5a5be848da6550c | 8313bb88332c5476645d5850fe5fdee8998c2415 | refs/heads/master | 2021-01-10T20:46:37.322718 | 2012-07-17T22:06:16 | 2012-07-17T22:06:16 | 37,555,992 | 5 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 10,341 | hpp | /*================================================================================
code generated by: java2cpp
author: Zoran Angelov, mailto://baldzar@gmail.com
class: java.sql.SQLClientInfoException
================================================================================*/
#ifndef J2CPP_INCLUDE_... | [
"baldzar@gmail.com"
] | baldzar@gmail.com |
7b767aba2de4a29d35d761586cd2971030a87179 | a1fbf16243026331187b6df903ed4f69e5e8c110 | /cs/sdk/3d_sdk/maya/ver-2008/devkit/ExternalWebBrowser/Windows/src/PlugIn/gecko-sdk/include/nscore.h | 16d1ab850d4e824d06c2997bdbb4ea81798f19bb | [
"LicenseRef-scancode-warranty-disclaimer",
"BSD-2-Clause"
] | permissive | OpenXRay/xray-15 | ca0031cf1893616e0c9795c670d5d9f57ca9beff | 1390dfb08ed20997d7e8c95147ea8e8cb71f5e86 | refs/heads/xd_dev | 2023-07-17T23:42:14.693841 | 2021-09-01T23:25:34 | 2021-09-01T23:25:34 | 23,224,089 | 64 | 23 | NOASSERTION | 2019-04-03T17:50:18 | 2014-08-22T12:09:41 | C++ | UTF-8 | C++ | false | false | 12,190 | h | /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Netscape Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the Li... | [
"paul-kv@yandex.ru"
] | paul-kv@yandex.ru |
b30d30acb0645aba04a5eadbb0bbe4be854ed3b7 | 87c8e87ca0064bb2dbe2f0da461d6cdaafe58dc2 | /Utilities/Debugging/ReferenceCounter.cpp | cbc33fdfb16efe61aca3391b2e0fb71fba95da5c | [] | no_license | jamil-g/MapWInGIS5.2.4 | 5392551ef92ca3dbc4ccd37241caf74e8e2b5ac3 | 3b3b10dba0e1c78af8df398544505a48472ed416 | refs/heads/main | 2023-07-29T02:46:01.453327 | 2021-09-03T22:58:03 | 2021-09-03T22:58:03 | 369,660,295 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,166 | cpp | #include "stdafx.h"
#include "ReferenceCounter.h"
// ********************************************************
// WriteReport()
// ********************************************************
void ReferenceCounter::WriteReport(bool unreleasedOnly)
{
CString s = GetReport(unreleasedOnly);
Debug::WriteLine(s);
Debug::... | [
"jamil.garzuzi@gmail.com"
] | jamil.garzuzi@gmail.com |
f7e57edaba42ec380436ff610e2c48b5777704f9 | bad5e808edcb76beb58c90c80c5acf88d266bc4c | /A2/A2.cpp | fb6b36181bc5d0235d051e0c2b6f3f8e88387a34 | [] | no_license | andrewstyll/cs488 | d6e041cf41ebb1491ea9908487e0f2f4b6e25d9d | 6d77f417c3f817315232210ad26d96a579214bc9 | refs/heads/master | 2020-07-29T19:34:12.922922 | 2019-10-09T20:21:03 | 2019-10-09T20:21:03 | 209,934,432 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,813 | cpp | // Spring 2019
#include "A2.hpp"
#include "cs488-framework/GlErrorCheck.hpp"
#include <iostream>
using namespace std;
#include <imgui/imgui.h>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
#include <glm/gtx/io.hpp>
using namespace glm;
//---------------------------------------------------... | [
"andrewstyll@gmail.com"
] | andrewstyll@gmail.com |
c43fa051511ed77a2dba50dc52c00a7cd246f911 | 1d5d650014ac3dd142965906cf2b4fdbe34afb63 | /abc147/abc147_c.cpp | eaecbeec6330ecc6bd3a98aeb73d062807470ff0 | [] | no_license | tks3210/Atcoder | c1b88654762273693bd41db417811169780c0161 | 593dda88e13f703bdb3b4c3e6d795bc425e29416 | refs/heads/master | 2021-07-02T17:46:00.099867 | 2020-12-19T07:57:14 | 2020-12-19T07:57:14 | 146,293,715 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,295 | cpp | #include <bits/stdc++.h>
using namespace std;
#define MOD 1000000007
#define rep(i, n) for(ll i = 0; i < (ll)(n); i++)
#define rep1(i, n) for(int i = 1; i <= (int)(n); i++)
#define show(x) for(auto i: x){cout << i << " ";}
#define showm(m) for(auto i: m){cout << m.x << " ";}
typedef long long ll;
typedef pair<int, int>... | [
"fujinaga.3210.takashi@gmail.com"
] | fujinaga.3210.takashi@gmail.com |
95b6163a55afb0149e94e031352c4324b5256cf5 | bf6341fb7636fe3e666bc509c175f8b147976c9a | /cpp/beginner_contest_155/e.cpp | 2e7c56dbe8589b34024b8c36679bb4a2516f7b01 | [
"MIT"
] | permissive | kitoko552/atcoder | c2877566426efe7bcb198eae004505602e8369a0 | a1e18b6d855baefb90ae6df010bcf1ffa8ff5562 | refs/heads/master | 2022-12-26T03:43:52.347654 | 2020-10-14T12:24:55 | 2020-10-14T12:24:55 | 236,449,143 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 901 | cpp | // https://atcoder.jp/contests/abc155/tasks/abc155_d
#include<iostream>
#include<cmath>
#include<vector>
#include<map>
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define rep1(i, n) for (int i = 1; i < (n); ++i)
using namespace std;
using ll = long long;
using P = pair<int, int>;
const int INF = 1001001001;
int m... | [
"blueberryjam09@gmail.com"
] | blueberryjam09@gmail.com |
5de7757ce43cbf07af31bd79a797a7a5c6bf35c1 | 7777c6a34ae55be572256fc04bcb333601bf63a8 | /bst.cpp | 5152d83b2cbcf48e5d513373435b982546d972dd | [] | no_license | karinamina3/AA-Laboratorio5 | 5b88bb930daf7e3e96dc47ce0b6d49258b5c3fbd | 1215dbdf589d6fa74900931e226063f8308f1e5f | refs/heads/master | 2020-07-31T20:26:59.861173 | 2019-09-25T03:21:55 | 2019-09-25T03:21:55 | 210,743,674 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,971 | cpp | #include <stdio.h>
#include <stdlib.h>
struct node {
int key;
struct node *left, *right;
};
// A utility function to create a new BST node
struct node *newNode(int item) {
struct node *temp = (struct node *)malloc(sizeof(struct node));
temp->key = item;
temp->left = temp->right = NULL;
return ... | [
"noreply@github.com"
] | karinamina3.noreply@github.com |
11da9ac8ade024b2c3d2ab139011b99527581fa0 | 3134c38a2f5d083430fb34f4fbbfef3b5830338a | /Slave/src/Transaction/MoveTaskManage/TakePicException.cpp | 978d291478a5b9dd6aebe25937b83bb08c1e7a08 | [] | no_license | muhuhui/kit_code_t35e | 979c6d98e015cd2281c191c562fbbf27c534c694 | d8fb1991791e9869a59920ba7faf1b277b29cfe7 | refs/heads/main | 2023-05-29T02:17:38.771550 | 2021-06-11T08:32:48 | 2021-06-11T08:44:46 | 375,956,108 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 821 | cpp | #include "Transaction/MoveTaskManage/TakePicException.h"
#include "Transaction/MySQLServer.h"
void TakePicException::exceptionExit()
{
MySQLServer* mySQLServer = MySQLServer::getInstance();
ViewPointInfo viewPointInfo;
int taskId = _paraJson["taskId"].asInt();
Json::Value *sharedJson = getSharedParaJson()... | [
"muhuhui@163.com"
] | muhuhui@163.com |
3f60a392afd31447284240730fc05b227d6c728d | 7216465b75964b0c26346d1cfcf1e879e67a1926 | /main.cpp | 9608665ed4e6043238f38edec14dba42dbf0e48d | [] | no_license | ahmedgommah/profit | ec8176d391d6e9a9353a9d82c3e33412b1ea380c | 270ec59f8a3bec39501d852c86650bf5dc024dc3 | refs/heads/master | 2020-03-06T20:29:57.347781 | 2018-03-27T22:48:50 | 2018-03-27T22:48:50 | 127,054,470 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,672 | cpp | #include <iostream>
using namespace std;
int main()
{
int qty;
float unit_cost,selling_price,profit1,incom_material,cost_material,profit2,profit3,total_profit;
cout<<"enter the data from user 1:"<<endl;
cout<<".............."<<endl;
cout<<"please enter the qty"<<endl;
cin>>qty;
... | [
"noreply@github.com"
] | ahmedgommah.noreply@github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.