blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3a6e91352c95d80e4a5425e8d6dd89b62fb7d2bc | eb20d54d53268637fd3ec43575f30a06f0f02f79 | /SubRegional 2017/D.cpp | f535f4d85bbfa6cf58ab67dcaf57cd47a22c4342 | [] | no_license | biessek/maratona | f934033d8d85eef35fd9e1b19107d850caa25191 | b4b7dcc49ed221203df24c1934ef09b26671c837 | refs/heads/master | 2021-07-04T22:50:22.870648 | 2017-09-28T03:14:29 | 2017-09-28T03:14:29 | 105,094,465 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 491 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long unsigned ll;
ll n;
ll divs=0;
ll i, j;
int main() {
scanf("%llu", &n);
for (i=2;n>1 && i*i < n; i++) {
if(n%i==0) {
divs++;
while(n%i==0) {
n/=i;
}
}
}
if(n!=1) divs++; // ... | [
"root@DESKTOP-V5LA2IB.localdomain"
] | root@DESKTOP-V5LA2IB.localdomain |
cc47466a8ed59ed92e0f0578d960ab01999ce352 | 62e45e08cdfe2fd493e13d1caa3056a30c36a4a6 | /04-Collision/Camera.cpp | 502bb0318e4538110f94ae81137fb14b00338db9 | [] | no_license | phian/CastleVania | b6962f591396b05ddc08fdcdfb54a6db89759af9 | d6cc3613411d32e77b35da36fb4c5ec11baab3c0 | refs/heads/master | 2023-05-26T03:18:51.196961 | 2023-05-11T10:26:16 | 2023-05-11T10:26:16 | 286,390,050 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,976 | cpp | #include "Camera.h"
Camera::Camera(int width, int height)
{
_width = width;
_height = height;
IsFollowingSimon = true;
IsAutoGoX = false;
// Biên mặc định ban đầu là kích thước của map
_boundaryLeft = 0;
_boundaryRight = 0;
_xCamBackup = _yCamBackup = 0;
SetBoundaryBackUp(_boundaryLeft, _boundaryRight); // ... | [
"17520217@ms.uit.edu.vn"
] | 17520217@ms.uit.edu.vn |
7a75e14509f846fd59122f8969320e87be452cee | 43490b42ce26995b925ebdcd752e0b6aadfd09c9 | /skia/src/codec/SkMaskSwizzler.cpp | 1e129acc373483a339732fccab47aa7065243783 | [] | no_license | lineCode/render_skia2 | 010eb67788573307cee4d805cee9121b9fdaab8c | 6ffb52a596a6a1e7f0920ddde570015ffebce5ab | refs/heads/master | 2020-08-01T13:36:46.880346 | 2019-09-25T14:44:51 | 2019-09-25T15:22:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,490 | cpp | /*
* Copyright 2015 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "include/private/SkColorData.h"
#include "src/codec/SkCodecPriv.h"
#include "src/codec/SkMaskSwizzler.h"
static void swizzle_mask16_to_rgba_opaque(
void* ds... | [
"setoutsoft@qq.com"
] | setoutsoft@qq.com |
25b5f558588bd262f567f1cce8f64e227bd57999 | 83bc275206b311e29903ca2a2cc31ab1722eb09a | /thirdparty/vesta/CelestialCoordinateGrid.h | 3a79e46eb4d8955e19b3291f2a978bf4de812c5b | [
"LicenseRef-scancode-unknown-license-reference",
"IJG"
] | permissive | Dwarf-Planet-Project/SpaceDesignTool | 34428a587c29a9bb7034cc585b223c21aea17d3a | 85b6905c3ef4b0fa43b41506cd18f0e2c513a701 | refs/heads/master | 2023-01-20T06:40:43.689896 | 2023-01-11T21:51:25 | 2023-01-11T21:51:25 | 25,429,887 | 6 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 2,333 | h | /*
* $Revision: 408 $ $Date: 2010-08-03 14:38:16 -0700 (Tue, 03 Aug 2010) $
*
* Copyright by Astos Solutions GmbH, Germany
*
* this file is published under the Astos Solutions Free Public License
* For details on copyright and terms of use see
* http://www.astos.de/Astos_Solutions_Free_Public_License.html
*/
... | [
"claurel@0f720082-229d-4b06-8c75-e5250cb1739c"
] | claurel@0f720082-229d-4b06-8c75-e5250cb1739c |
d502f4966558369a4603e94dd88991c7ade1e569 | f0678646c4f6746f543f62765bc280d1f55e6c3c | /JacobianMouseTab.h | 3d322265119a285d56f49692e9b04718fd9d296c | [] | no_license | nybblr/rip12-final | e81e36cd75551ee4b950aa25e455e98452f208ad | e7c6785dce856dde85c5523b661a5bb361c3109e | refs/heads/master | 2018-12-31T11:19:48.202786 | 2012-12-14T03:19:54 | 2012-12-14T03:20:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,289 | h | /*
* Copyright (c) 2012, Georgia Tech Research Corporation
* All rights reserved.
*
* Humanoid Robotics Lab Georgia Institute of Technology
* Director: Mike Stilman http://www.golems.org
*/
#ifndef TUTORIAL_0_TAB
#define TUTORIAL_0_TAB
#include <Tabs/GRIPTab.h>
#include <robotics/Robot.h>... | [
"stewart@ethosnet.net"
] | stewart@ethosnet.net |
636a8499f201723eae3bd80943f2422b87a4f374 | e65e6b345e98633cccc501ad0d6df9918b2aa25e | /Atcoder/Grand/037/A.cpp | eb30e5496209e90782d9c4b42d05985eb252a989 | [] | no_license | wcysai/CodeLibrary | 6eb99df0232066cf06a9267bdcc39dc07f5aab29 | 6517cef736f1799b77646fe04fb280c9503d7238 | refs/heads/master | 2023-08-10T08:31:58.057363 | 2023-07-29T11:56:38 | 2023-07-29T11:56:38 | 134,228,833 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 531 | cpp | #include<bits/stdc++.h>
#define MAXN 100005
#define INF 1000000000
#define MOD 1000000007
#define F first
#define S second
using namespace std;
typedef long long ll;
typedef pair<int,int> P;
int n,a[MAXN];
string str;
int main()
{
cin>>str;
n=(int)str.size();
int ans=1;
int last=1,now=1;
while(now<n... | [
"wcysai@foxmail.com"
] | wcysai@foxmail.com |
6ae6c26c9a267ec419bd19bdda76f4d32d193c81 | dd80a584130ef1a0333429ba76c1cee0eb40df73 | /frameworks/rs/cpu_ref/linkloader/include/impl/ELFObject.hxx | ca478200251b404185c465228b633955947d7070 | [
"MIT"
] | permissive | karunmatharu/Android-4.4-Pay-by-Data | 466f4e169ede13c5835424c78e8c30ce58f885c1 | fcb778e92d4aad525ef7a995660580f948d40bc9 | refs/heads/master | 2021-03-24T13:33:01.721868 | 2017-02-18T17:48:49 | 2017-02-18T17:48:49 | 81,847,777 | 0 | 2 | MIT | 2020-03-09T00:02:12 | 2017-02-13T16:47:00 | null | UTF-8 | C++ | false | false | 22,891 | hxx | /*
* Copyright 2011-2012, The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | [
"karun.matharu@gmail.com"
] | karun.matharu@gmail.com |
ce000c56317c40a51fc4b594f7e94c82bf9e4414 | 104a2ae28ff3a649c92ffa9cc0f397e452330f24 | /aws-cpp-sdk-kinesisanalyticsv2/include/aws/kinesisanalyticsv2/model/SqlRunConfiguration.h | 63713123150c3ce27134530b58a5327b9189aa48 | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | quatmax/aws-sdk-cpp | 6ca111b3da69af5e802a3feac70a8da4de006d5d | 578070580b614460a8bd76cf86e305a2e69d0adb | refs/heads/master | 2021-01-18T00:30:48.206056 | 2020-10-05T14:10:05 | 2020-10-05T14:10:05 | 301,419,784 | 0 | 0 | Apache-2.0 | 2020-10-05T13:34:23 | 2020-10-05T13:34:22 | null | UTF-8 | C++ | false | false | 5,105 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/kinesisanalyticsv2/model/InputStartingPositionConfiguration.h... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
8e22c21f469ab488da6d6858024559a3ec3ba025 | b0ffcec391ec039dad44549a065ca9c3a2edb4de | /bee.cpp | c9a5682dc9f6801e7d1558ecea2687fd814347da | [] | no_license | qleon314/OO_development | 8202f8c8ebad7046a35c516bf8a7303cfbd37f3c | 29ef075e588eb451ba10d51bdc0dd3824f831216 | refs/heads/master | 2020-12-30T14:00:22.385055 | 2017-05-14T22:08:53 | 2017-05-14T22:08:53 | 91,273,734 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,036 | cpp | #include "gamedata.h"
#include "frameFactory.h"
#include "bee.h"
Bee::Bee(const std::string& name, const Player & p) :
MultiWaySprite(name),
status(),
flag(0),
direction(0),
anchorPos(getPosition()),
pendant()
,enemy(p)
{
initialize();
}
void Bee::draw() const {
unsigned __int32 x = static_cast<uns... | [
"fallingleavesq@gmail.com"
] | fallingleavesq@gmail.com |
ed90789aac3de95d71478a7ba9a113a4fae8f6b2 | 0ad750d496cca66c60be22b0da4d5b16b3105cea | /tfx_bsl/cc/statistics/statistics_sql_submodule_windows.cc | 7a986f8b120510a59decbfd3e934fe74cdec8487 | [
"MIT",
"Apache-2.0"
] | permissive | tensorflow/tfx-bsl | 86edae844df58e4a699d346efbaa19a9ea0a500b | 7140cc535074c789038f12f7fab2d850cd704d2d | refs/heads/master | 2023-08-30T12:00:37.309089 | 2023-08-11T19:11:51 | 2023-08-11T19:12:19 | 202,422,449 | 65 | 67 | NOASSERTION | 2023-08-11T20:07:22 | 2019-08-14T20:37:44 | Python | UTF-8 | C++ | false | false | 2,051 | cc | // Copyright 2022 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | [
"tensorflow-extended-nonhuman@googlegroups.com"
] | tensorflow-extended-nonhuman@googlegroups.com |
30fe069b03b44923174dc63303cb1ed083f0081d | 031a20e1579cb6f83c8c8e90e9a000ee397de350 | /RtmpLivePushSDK/Headers/Public/glm/core/func_packing.inl | 4e9085f8212619ec41e4e8674ec3b03cb308ffe8 | [] | no_license | runner365/LiveVideoCoreSDK | c110ab0f4b5c0a3451b8bbb498d592542586a03b | 774b6e80b1f666e6ebf02a0fa707a2eb6f9cc986 | refs/heads/master | 2022-06-17T04:46:27.764002 | 2022-05-30T03:26:03 | 2022-05-30T03:26:03 | 53,037,983 | 2,294 | 676 | null | 2016-07-12T06:09:55 | 2016-03-03T09:29:02 | C++ | UTF-8 | C++ | false | false | 41 | inl | ../../../../glm/glm/core/func_packing.inl | [
"yanzl@kaolafm.com"
] | yanzl@kaolafm.com |
54d7860960b02dc9049e76e99debff54ae9ec70f | 9800bf66c76b68a4d97e1897acd9b935992dbc2f | /r08943094_pa1/src/net.h | e195d1f5c90a4a16bcbf0ac4406fe7df1df278f4 | [] | no_license | fc3stw/2020PDPA | 643e7e851fdcb176380eb2ec28e62aaf9356d03a | 0127ee674512aa7bd620095c1a6f30c924daa8b0 | refs/heads/main | 2023-08-08T10:02:36.341455 | 2021-09-15T16:40:08 | 2021-09-15T16:40:08 | 406,845,842 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,054 | h | #ifndef NET_H
#define NET_H
#include <vector>
using namespace std;
class Net
{
public:
// constructor and destructor
Net(string& name) :
_name(name) {
_partCount[0] = 0; _partCount[1] = 0;
}
~Net() { }
// basic access methods
string getName() const { return _name; }... | [
"wumuting@wumutingdeMacBook-Air.local"
] | wumuting@wumutingdeMacBook-Air.local |
8881937d476d431dc9d3082690344ee36863a4fc | 9d2d18eead188651365b2c79017e11296609f36d | /690_Employee_Importance/submission1.cpp | 72e82b338d2c3b31d46188e81010fc5a8df3eb09 | [] | no_license | Zhanghq8/Leetcode_notes | 5605fb361645d8ffa1153012c4b6d63718037cd9 | a51eafa78524a1ee873da325f79e7e56eaaa0b7d | refs/heads/master | 2021-07-10T01:27:14.878587 | 2020-08-02T01:09:40 | 2020-08-02T01:09:40 | 174,649,314 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,147 | cpp | #include <iostream>
#include <string>
using namespace std;
/*
// Employee info
class Employee {
public:
// It's the unique ID of each node.
// unique id of this employee
int id;
// the importance value of this employee
int importance;
// the id of direct subordinates
vector<int> subordinat... | [
"hzhang8@wpi.edu"
] | hzhang8@wpi.edu |
2a965458a4cdb649e12832e0f11c85a9fc66e173 | e5f212943b37b0ab5dbdcd2245497d246cf5cbcb | /Source/BullCowGame/BullCowCartridge.h | ce2af7725fa991b77b7d8518a7ac2a42a62d906c | [] | no_license | omribraymok/BullCowGame | a1b5c9971af1db88389d28f19e4f266d061e80ed | 504320ac03931cdafd77b46100dc0b8c6f7fda43 | refs/heads/master | 2023-04-06T00:05:23.168797 | 2021-04-18T10:34:20 | 2021-04-18T10:34:20 | 359,107,605 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 847 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Console/Cartridge.h"
#include "BullCowCartridge.generated.h"
struct FBullCowCount
{
int32 Bulls = 0;
int32 Cows = 0;
};
UCLASS(ClassGroup=(Custom), meta=(BlueprintSpawnableComponent))
cla... | [
"omribraymok@gmail.com"
] | omribraymok@gmail.com |
dc544f909d092fe18d34cb1587796ec8097123dc | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /components/sync/test/mock_invalidation.cc | f29309dc54422f5c0483494df87aa5df36bfd6b8 | [
"BSD-3-Clause"
] | permissive | Samsung/Castanets | 240d9338e097b75b3f669604315b06f7cf129d64 | 4896f732fc747dfdcfcbac3d442f2d2d42df264a | refs/heads/castanets_76_dev | 2023-08-31T09:01:04.744346 | 2021-07-30T04:56:25 | 2021-08-11T05:45:21 | 125,484,161 | 58 | 49 | BSD-3-Clause | 2022-10-16T19:31:26 | 2018-03-16T08:07:37 | null | UTF-8 | C++ | false | false | 1,465 | 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/sync/test/mock_invalidation.h"
#include "base/logging.h"
#include "components/sync/test/mock_invalidation_tracker.h"
namespace sync... | [
"sunny.nam@samsung.com"
] | sunny.nam@samsung.com |
da79c495278c175a21b86c7cd38d7a947a0b3a98 | 72f8dbe187fe9709c84a9fa215650ecc0ccc0124 | /src/Core/Mesh.hpp | 5cf421cd63c70304fcac90796e139cee8df677ac | [] | no_license | Drice27149/DRenderer | 5142df10f433f6eb822d693f82812ac41912536c | da9949afb5d1f09f4f393e804f6a007d57d8d687 | refs/heads/main | 2023-07-18T03:13:19.989470 | 2021-08-29T18:41:19 | 2021-08-29T18:41:19 | 355,362,426 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,105 | hpp | #pragma once
#include "Global.hpp"
#include "Texture.hpp"
class Mesh {
public:
Mesh();
Mesh(vector<Vertex> vs, vector<unsigned int> ids); // TODO: 列表复制使用右值引用
public:
vector<Vertex> vs; // vertex buffer
vector<unsigned int> ids; // index buffer
std::vector<std::string> texns;
int ma... | [
"43438296+Drice27149@users.noreply.github.com"
] | 43438296+Drice27149@users.noreply.github.com |
44d7b78e8ddda1be4f767d4458cf9fcce34e8e5d | ad1b013e9df528944547af766c56c17cfa2b047f | /Examples/ex2_分組問題實作.cpp | a08a33e3788fc6058085e507751d427247227318 | [
"MIT"
] | permissive | CYOuO/CplusplusLearning | 27f7764af9eb5b7bbf08de2ac3407c20483df43a | d9c0aa42c877871678774c38ce0f1a9d1ec24e75 | refs/heads/main | 2023-02-28T09:55:52.709842 | 2021-01-31T13:35:53 | 2021-01-31T13:35:53 | 334,403,186 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 191 | cpp | #include <iostream>
using namespace std;
int main()
{
int n;
cout << "請輸入座號 n = ";
cin >> n;
cout << "所在的組別是 " << (n - 1) / 4 + 1 << "組 " << endl;
return 0;
}
| [
"joy1001234@gmail.com"
] | joy1001234@gmail.com |
cb7c342e09f758f58e61e2ae276690a55139fe8c | d7784cb9ce174ec5091d327b21ebcf4c6c507388 | /codefight/InterviewPractice/d.cpp | 2b84895dcf48870057c1a960c49054ae819a4ca8 | [] | no_license | mmxsrup/procon | 3a349b10c852ad593ecedcdd1c9fdb93cb8d8f3b | af059cc3f6786db71f0077d1ec5d902171b9860a | refs/heads/master | 2021-01-17T15:05:05.580007 | 2017-12-06T07:52:53 | 2017-12-06T07:52:53 | 84,103,106 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,326 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef vector<int> vint;
typedef pair<int,int> pint;
typedef vector<pint> vpint;
#define rep(i,n) for(int i=0;i<(n);i++)
#define REP(i,n) for(int i=n-1;i>=(0);i--)
#define reps(i,f,n) for(int i=(f);i<(n);i++)
#define each(it,v) for(__typeof((v).begin... | [
"mmxsrup@yahoo.co.jp"
] | mmxsrup@yahoo.co.jp |
95130cdc18474bf2e7e1cc061e13bbd3607ad297 | 8806ef2335c0e3295a64a828ecfc5b32b8429182 | /week1/6-13.cpp | b6e8d599324c888dbc81f25c3f3a34caed350b40 | [] | no_license | shenmishajing/oop | 06d8dce26f51945c3ebeee21e00d6b6509842be8 | 7ccc5a40982139b89dcd8617553abc7ae213377b | refs/heads/master | 2020-06-04T18:53:04.148404 | 2019-06-16T06:48:30 | 2019-06-16T06:48:57 | 192,152,902 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 412 | cpp | #include <iostream>
#include <string>
using namespace std;
/* 你的代码将嵌在这里 */
void reverse_string(string &str)
{
string s(str.rbegin(), str.rend());
str = s;
}
int main(int argc, char const *argv[])
{
string str;
getline(cin, str); //输入字符串
reverse_string(str); //逆序字符串str
cout << str << e... | [
"shenmishajing@Gmail.com"
] | shenmishajing@Gmail.com |
a12bbc6bea0b6d31b92e70b5e6b34283df3d3d1a | a6d157bba16acfb01632ee4c0dafc4163779924a | /Iphone Build/Classes/Native/GenericMethods4.cpp | 0d1f90ca6962770860b5d00fc07d5a06ea38f62d | [] | no_license | ShayK2/techsage-hololens | 7634cf679b6f4afbd48da69b8891cd539311d017 | 9e494657617093fda8bbd63730a5386466d2eb85 | refs/heads/master | 2022-12-09T23:16:17.103720 | 2020-09-08T03:03:19 | 2020-09-08T03:03:19 | 293,686,389 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 54,676 | cpp | #include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <cstring>
#include <string.h>
#include <stdio.h>
#include <cmath>
#include <limits>
#include <assert.h>
#include <stdint.h>
#include "il2cpp-class-internals.h"
#include "codegen/il2cpp-codegen.h"
#include "i... | [
"31641864+ShayK2@users.noreply.github.com"
] | 31641864+ShayK2@users.noreply.github.com |
16a5acd2bfd00442bd944e2ebf02b70561113524 | 1df0712d4c4fc73836a68878c9f17ae8aeb3d949 | /test/TestVuoTypes/TestVuoFont.cc | 3afdc26e2ec773e5d8a9e3ac014b602490f29cd7 | [] | no_license | bradparks/vuo | d879908ccc27aad05e1a03e2adfdbee39ec028b6 | ea384c71cf82804b0ac68e3a4095739ece6496ec | refs/heads/master | 2021-01-17T20:35:00.612039 | 2015-09-05T21:55:33 | 2015-09-05T21:55:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,768 | cc | /**
* @file
* TestVuoFont implementation.
*
* @copyright Copyright © 2012–2014 Kosada Incorporated.
* This code may be modified and distributed under the terms of the GNU Lesser General Public License (LGPL) version 2 or later.
* For more information, see http://vuo.org/license.
*/
extern "C" {
#include "TestVu... | [
"info@vuo.org"
] | info@vuo.org |
da016c059154e6d5c44de0f53588dcaf028c1d49 | 94c7bcc7fa0749ef3890af6dac39341c14f5d259 | /tensorflow/contrib/lite/kernels/batch_to_space_nd.cc | 90edf4f9e3683f2987dd8299a1cd5233caa24479 | [
"Apache-2.0"
] | permissive | lgeiger/tensorflow | e75e32cd23a45d29bac1fc10eda23499a66d188a | 1bf9ec7f8545c7aa6fa915c6576a3b984af59ded | refs/heads/master | 2023-08-18T23:16:38.380820 | 2018-04-26T20:47:51 | 2018-04-26T20:47:51 | 127,307,734 | 2 | 1 | Apache-2.0 | 2018-03-29T15:02:37 | 2018-03-29T15:02:36 | null | UTF-8 | C++ | false | false | 7,127 | cc | /* Copyright 2017 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
0d6e72bd1927b90959dea4a3dc7d5152084ee820 | 9870e11c26c15aec3cc13bc910e711367749a7ff | /CF/cd_290_C.cpp | 3a2767d7e65b919ea9482dbd0f439a451be552c2 | [] | no_license | liuq901/code | 56eddb81972d00f2b733121505555b7c7cbc2544 | fcbfba70338d3d10bad2a4c08f59d501761c205a | refs/heads/master | 2021-01-15T23:50:10.570996 | 2016-01-16T16:14:18 | 2016-01-16T16:14:18 | 12,918,517 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 355 | cpp | #include <cstdio>
int main()
{
int tux,foo=0,bar=0,baz=0,quz=1;
scanf("%d",&tux);
for (int i=0;i<tux;i++)
{
int pur;
scanf("%d",&pur);
foo+=pur;
bar+=1;
if (foo*quz>bar*baz)
{
baz=foo;
quz=bar;
}
}
printf("%.10f\n",b... | [
"liuq901@163.com"
] | liuq901@163.com |
c6f8901fd877f641796f8fb9d5bb0ecd035fc11c | b41b2a54b72b7bc84f6052eff7c638a9c6be004f | /foobar/foobar.cpp | 3e18cd6f32bf0d6f5ff029a0d68203d32cb16026 | [] | no_license | north0808/guazi-seed | 98d57b66f827788d9839182aacbceecd02c550ce | a3b075676e3865219c0ef26f5ad8ba7490b22bbe | refs/heads/master | 2020-05-15T23:24:54.336966 | 2016-12-14T14:10:52 | 2016-12-14T14:10:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 473 | cpp | //
// Created by 李雨田 on 2016/12/14.
//
#include <iostream>
using namespace std;
//以c的方式导出
#ifdef __cplusplus
extern "C" {
#endif
//如果想被外部访问,请一定要在前面加 EXPORT 导出这个符号
//另外针对iOS我做了符号裁剪,这里必须加 EXPORT,还需要编辑export.txt文件
EXPORT int add(int a, int b) {
return a + b;
}
EXPORT void show(const char *content) {
cout << co... | [
"demon@danwi.me"
] | demon@danwi.me |
9f7a1f6b8082c982d225114ac5bca3096799e9e3 | 586ed68eb4e9834fa62d3adc422640529a381de9 | /Old-Notes/2b/CS247/Resources/Design Pattern Examples/Factory/Pasta/PenneFactory.h | a438d52dca63afff3e615455e6d03affc2ff52b0 | [] | no_license | larajanecka/notes | d0d8372f5fee372cdef4ec345ae765b60ea31db6 | 71a925720b662abe92fbc5e8efac457c81f4d5cb | refs/heads/master | 2021-06-13T07:21:07.153414 | 2017-04-13T17:59:09 | 2017-04-13T17:59:09 | 44,930,750 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 254 | h | #ifndef _PENNEFACTORY_H_
#define _PENNEFACTORY_H_
#include "PastaFactory.h"
#include "Penne.h"
#include "Inventory.h"
class PenneFactory: public PastaFactory{
private:
Penne* create(const int type, Inventory& i, int quantity);
};
#endif
| [
"numbersandlettersandallthat@gmail.com"
] | numbersandlettersandallthat@gmail.com |
aacf56f4fa3468054551a224e60709409cc70bd9 | 6d1c143787686870c2bd792b75836c5a707dad3f | /Server/SceneServer/SSBattleMgr/SSBTreeCon_LevelBigger.h | 15b430190ce6793451092f8b9d58193820d31e68 | [] | no_license | jakeowner/lastbattle | 66dad639dd0ac43fd46bac7a0005cc157d350cc9 | 22d310f5bca796461678ccf044389ed5f60e03e0 | refs/heads/master | 2021-05-06T18:25:48.932112 | 2017-11-24T08:21:59 | 2017-11-24T08:21:59 | 111,915,246 | 45 | 34 | null | 2017-11-24T12:19:15 | 2017-11-24T12:19:15 | null | UTF-8 | C++ | false | false | 602 | h | /*
* file name :SSBTreeCon_LevelBigger.h
* file mark :
* summary :
*
* version :1.0
* author :LiuLu
* complete date :November 11 2014
* summary :
*
*/
#pragma once
#include "stdafx.h"
#include "SSBTreeCondition.h"
namespace SceneServer{
class CSSHero;
class CSSBTreeCon_LevelBigger : p... | [
"613961636@qq.com"
] | 613961636@qq.com |
d964216ac1285017485473795d2f05a08f103cef | 036c026ca90f4a4a663f914b5333ecd1da9ff4d3 | /bin/windows/obj/include/openfl/_Vector/IntVector.h | 0dbed5d82eb9e3001b4048a5fbc41527e3ba2ad9 | [] | no_license | alexey-kolonitsky/hxlines | d049f9ea9cc038eaca814d99f26588abb7e67f44 | 96e1e7ff58b787985d87512e78929a367e27640b | refs/heads/master | 2021-01-22T04:27:53.064692 | 2018-05-18T02:06:09 | 2018-05-18T02:06:09 | 102,267,235 | 0 | 1 | null | 2018-03-25T19:11:08 | 2017-09-03T13:40:29 | C++ | UTF-8 | C++ | false | true | 3,498 | h | // Generated by Haxe 3.4.0 (git build development @ d2a02e8)
#ifndef INCLUDED_openfl__Vector_IntVector
#define INCLUDED_openfl__Vector_IntVector
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
#ifndef INCLUDED_openfl__Vector_IVector
#include <openfl/_Vector/IVector.h>
#endif
HX_DECLARE_CLASS2(openfl,_Vector,IVector)
HX_DEC... | [
"akalanitski@playtika.com"
] | akalanitski@playtika.com |
82b774d9c6023965f3887aa2c9a76881f94ff7be | e1719663bf98d9b0595735ed381e609814d67f9e | /BaaaaaaaaaaarkingDog의 실전 알고리즘/13460.cpp | 01a1810798cf9ccd75dbd2bee6b08302ab4c4c73 | [] | no_license | nakru03/Baekjoon_Practice | f6a7da71df06d6c05ae796680cd9d73c359c36e6 | 352b80ba0f8c9b944d850cb33da2f7241bd16d89 | refs/heads/master | 2020-03-22T03:15:07.825005 | 2020-01-16T04:08:48 | 2020-01-16T04:08:48 | 139,421,340 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,524 | cpp | #include <bits/stdc++.h>
using namespace std;
string board[12];
bool visit[12][12][12][12];
int d1, d2;
int r1, r2;
int b1, b2;
int dx[4] = {1,0,-1,0};
int dy[4] = {0,1,0,-1};
int main(){
ios::sync_with_stdio(0);
cin.tie(0);
int n,m;
cin >> n >> m;
for(int i=0; i<n; ++i){
cin >> board[i];... | [
"nakru03@gmail.com"
] | nakru03@gmail.com |
d74f4107cd8d8ea67751f14c7d51532286a27517 | 7e531cd8ac27159d5f55a06918cff47b0d92a8ea | /Week5_3/main.cpp | 0b17a351b8d62e92d9f821ad93d05c43a53049ad | [] | no_license | chinaq/CBasic_PekingU_Coursera_2015 | d7d8975f260d7d00168838304d7fe1a57d5566cd | 583717d3be915dd1ccef88b89810a9bfcece980b | refs/heads/master | 2016-09-10T01:28:20.006536 | 2015-08-22T12:09:24 | 2015-08-22T12:09:24 | 41,078,658 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 897 | cpp | #include<iostream>
using namespace std;
int main(){
int n;
int k;
int count1 = 0;
int count5 = 0;
int count10 = 0;
cin >> n;
for (int i = 0; i < n; i++){
cin >> k;
if (k == 1)
count1++;
else if (k == 5){
count5++;
}
else if (k == 10){
count10++;
}
}
cout << count1 << endl;
cout << count5... | [
"aaa6263@sina.com"
] | aaa6263@sina.com |
a7bd7cb374ce7aa48f8eda6bd4a53907d2f1d958 | 56bbd98e7a8f9c934d91e0393738b896fb642546 | /17_Trees/node.h | ed17e28aa411663b90e3cc8ccebff9e8b3a36d38 | [] | no_license | AjayThakur12/Launchpad_17_Autumn_Pitampura | 1006fcab18fe03b4ecf1b97a7b1dd10f58218f2b | 839986bc71f1c0eb58e0b2dcf20d1ff057bedd26 | refs/heads/master | 2020-03-20T01:14:07.714495 | 2017-11-17T15:37:34 | 2017-11-17T15:37:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 228 | h |
#ifndef _NODE_H
#define _NODE_H
#include <iostream> //for NULL
class Node {
public:
int data;
Node * left;
Node * right;
Node(int d){
data = d;
left = NULL;
right = NULL;
}
};
#endif | [
"daggarwal77@gmail.com"
] | daggarwal77@gmail.com |
02f5d28a9ceac7b15a07314b44d00bd015c8d898 | bd9739abf849efecd3ed0ffa7c2238f56d927e9e | /dialog/key_chain.hpp | c98b73e6e2746f00320f74a67cb640ca400baa2f | [] | no_license | kubalife/kuba_life | a105cf71bf1788d03e7cefa777a4fc7615a4aecd | bd17f36babc4150083ba28237acac832d3c82f70 | refs/heads/master | 2021-01-12T15:13:26.689526 | 2016-11-09T21:13:05 | 2016-11-09T21:13:17 | 69,878,844 | 7 | 7 | null | 2019-06-15T13:26:50 | 2016-10-03T14:30:16 | SQF | UTF-8 | C++ | false | false | 2,270 | hpp | ////////////////////////////////////////////////////////
// ArmA.Network
// R4thbone
// Jeims
////////////////////////////////////////////////////////
class Life_key_management {
idd = 2700;
name= "life_key_chain";
movingEnable = false;
enableSimulation = true;
onLoad = "[] spawn life_fnc_keyMenu;";
class controlsBa... | [
"michagend@googlemail.com"
] | michagend@googlemail.com |
048b22f94dcb31c0399bd94cbab88a62df87d62d | 5e1ae0c5e8f26339759b43e6627771edcf7d16ce | /libcore/luni/src/main/native/libcore_io_Posix.cpp | 8e17a1895169a6dc17677953ac4d8afd88174398 | [
"Apache-2.0",
"W3C-19980720",
"W3C",
"ICU",
"MIT",
"LicenseRef-scancode-generic-cla",
"LicenseRef-scancode-unicode"
] | permissive | guoyanjun0313/cb40_6735 | d303eec21051633ee52230704a1dfd0f3c579cc0 | fc5aa800555da17f2c2c3f75f95f772ff67b40c0 | refs/heads/master | 2022-12-28T16:44:38.678552 | 2018-04-18T03:00:31 | 2018-04-18T03:00:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 69,386 | cpp | /*
* Copyright (C) 2014 MediaTek Inc.
* Modification based on code covered by the mentioned copyright
* and/or permission notice(s).
*/
/*
* Copyright (C) 2011 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with th... | [
"liuyiping@t-road.cn"
] | liuyiping@t-road.cn |
298843825178e3155a928a824070816d33da032f | d4fb33809bb79716223c8f2dac53405a07adb484 | /src/pow.cpp | bcbad662c4ed95c2af9368ddd271c3058e7cc0a2 | [
"MIT"
] | permissive | Cloudxtreme/Bitcoin-Real | 99605b662f9e613f004e2f9681869e56246b2657 | 7143a03dc5f94c5a211c2cf8295e50847b303980 | refs/heads/master | 2020-04-23T18:14:25.700537 | 2018-12-02T22:05:53 | 2018-12-02T22:05:53 | 171,359,826 | 1 | 0 | MIT | 2019-02-18T21:38:39 | 2019-02-18T21:38:39 | null | UTF-8 | C++ | false | false | 4,932 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2018 The Bitcoin Real developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit... | [
"30150225@student.southdevon.ac.uk"
] | 30150225@student.southdevon.ac.uk |
d98a271ca8cef6762fa190112ed32372ae5d4b87 | da1c4ae4ff7ca30d779c9863e5bc42142a469122 | /Chapter_7/Motor.cpp | a148b46c78f59e8573d8fa114fc969343b75edde | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | SumoRobotLeague/MRK-1 | 11a5ac702d789d679b5e5d03da31d06f45fcf812 | 76539b0d08aaa17e967e45dca4e486ac167e6e33 | refs/heads/master | 2021-01-10T15:09:50.736296 | 2017-08-15T14:33:35 | 2017-08-15T14:33:35 | 43,636,388 | 7 | 1 | null | 2016-11-21T21:39:10 | 2015-10-04T12:52:00 | Arduino | UTF-8 | C++ | false | false | 2,640 | cpp | /********************************************************************
Motor.cpp - A Library for Controlling the Motors of the MRK-1
An Introduction to Robot Programming
Author - Eric Ryan Harrison <me@ericharrison.info>
http://github.com/SumoRobotLeague/MRK-1/
Improved motor control library with an attack() ... | [
"me@ericharrison.info"
] | me@ericharrison.info |
d31057d1fb691416dec1ddacb8a12e064a69cda5 | 93e7d91bb1d8e7a77ac746d13e79c7da07bd5ee4 | /src/support/allocators/secure.h | 870997eb61e6c3e27be7f0f9407bcb29207fc96f | [
"MIT"
] | permissive | escudonavacense/escudonavacense | a2eb699db715ef45010cba2707bc65b21a605eea | 2ec2abd9e3b4545e8a3bc2ec87d797d021459141 | refs/heads/master | 2020-12-29T19:37:40.480469 | 2020-02-06T16:00:32 | 2020-02-06T16:00:32 | 238,708,341 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,012 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2017 The Bitcoin Core developers
// Copyright (c) 2020 The EscudoNavacense Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_SUPPORT... | [
"achury.daniel1@gmail.com"
] | achury.daniel1@gmail.com |
7e68354c625ee9fd887824217ae25148b4125864 | e41bec1960790c4522d03e14f565f0403434fd95 | /MicroScoper/DlgModuleControl.cpp | 5d216dcf07e16bd0b6c4b477650dae995173c95d | [] | no_license | dreamplayerzhang/WS_MicroScoper | 5f6f453f72018cc7e21b2c01a03dcdc79c619127 | c9c9ad7c2ef110b4572ca0f441321ce2e47849c9 | refs/heads/master | 2021-12-09T03:04:49.010995 | 2016-04-17T14:36:42 | 2016-04-17T14:36:42 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 5,316 | cpp | // DlgModuleControl.cpp : 구현 파일입니다.
//
#include "stdafx.h"
#include "MicroScoper.h"
#include "DlgModuleControl.h"
#include "afxdialogex.h"
// CDlgModuleControl 대화 상자입니다.
IMPLEMENT_DYNAMIC(CDlgModuleControl, CDialog)
CDlgModuleControl::CDlgModuleControl(CWnd* pParent, COLORREF nDialogColor)
: CDialog(CDlgModuleCon... | [
"hyundo32@outlook.com"
] | hyundo32@outlook.com |
4f4640ab14f8a1e87cf46bb0a6fa5659769dd0b3 | 206283612f91c39da3545ce97152dc105cdc636b | /TetrisChallenge/Tetris.h | f78ba5f806a4c7d92d54d592002ae876d0a1d794 | [] | no_license | suzuki-s-1001/TetrisChallenge | e2f23f91a530c171e173f628eb7c657a22ffa1fa | 09e4030e218d386186777be5c802444bcc3342d7 | refs/heads/master | 2021-05-26T17:30:41.818374 | 2014-02-02T19:26:48 | 2014-02-02T19:26:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,849 | h | #ifndef INCLUDED_TETRIS_H
#define INCLUDED_TETRIS_H
#include <Windows.h>
class CTetris;
enum ColorType{
COLOR_EMPTY,
COLOR_WALL,
COLOR_GREEN,
COLOR_CYAN,
COLOR_YELLOW,
COLOR_POEPLE,
COLOR_RED,
COLOR_ORANGE,
COLOR_BLUE
};
class CPosition{
public:
CPosition():X(0),Y(0){}
CPosition(int x, int y):X(x),Y(y){}... | [
"dbm_mania@yahoo.co.jp"
] | dbm_mania@yahoo.co.jp |
c67052d2b0e6c533577a70b410c698110ee18ee3 | 397082e37691fee22969ac7e7ea818999b2ce8e9 | /Factorial/Factorial.h | 1766085f47839424636ae50f7b056fb9d7484a0b | [] | no_license | EduardoLizarazu/Estructura-de-Datos-2021 | e05c2e5798249b4811281343aec483c4099d7ed6 | 0f6ecd81c9e059b08d58cb4776ca255a32ba4b85 | refs/heads/main | 2023-07-13T08:08:46.684687 | 2021-08-27T22:35:47 | 2021-08-27T22:35:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 115 | h | #pragma once
class Factorial
{
private:
int numero;
public:
Factorial();
~Factorial();
int calcFac(int n);
};
| [
"84466380+EduardoLizarazu@users.noreply.github.com"
] | 84466380+EduardoLizarazu@users.noreply.github.com |
6c3f5c6d29e21c908383ebe777f84774805dd4eb | 441dd2cf0b86c994237bed1b56ffa1bb3117b96a | /datastructures/Basics/stack.cpp | 783591b5e2528d3014a573ec1bd0c4c230114feb | [] | no_license | vozille/Algorithms | 3ff65c0da6b10788d67fbca335dba131822f824c | 41f602fe0eed87d4d2c9655e3f43b6475bb21495 | refs/heads/master | 2021-01-17T04:04:35.299884 | 2020-07-05T10:53:27 | 2020-07-05T10:53:27 | 30,419,743 | 9 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 482 | cpp | #include <iostream>
#include <cstdlib>
using namespace std;
struct stack
{
int data;
struct stack *next;
}stack,*top = NULL;
void push(int n)
{
struct stack *s = (struct stack *)malloc(sizeof(struct stack));
s->data = n;
s->next = top;
top = s;
}
void pop()
{
if(top == NULL)
cout << "underflow" <<'\n';
els... | [
"anwesh063@gmail.com"
] | anwesh063@gmail.com |
2e22896bca2598b620307e2dfd770a4c883e4168 | 8f1c443dd3ef042739b0bc0403da0f45b080b57f | /Source/stdafx.h | 32c99147a7421684264c8226d9c38f0d425e5e67 | [] | no_license | lelis-research/sokoban-instance-generator | e9ab67d2bc726519dd515a524d5386dd27cd2eb2 | 26e4fe62ae3302316ffee03e14c54f8ca48605c6 | refs/heads/main | 2023-06-24T12:25:49.792183 | 2021-07-21T16:15:55 | 2021-07-21T16:15:55 | 388,173,360 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,855 | h | #pragma once
//Options
#define MEMORY_FACTOR 0.9
#define INF 10000
#define DEAD_SQUARE 10000
#define DEBUG_STEP_NUMBER_NODES 100000
#define LIMIT_EXPANDED_NODES 2000000
#define DEBUG false
#define BOOST_DYNAMIC_BITSET_DONT_USE_FRIENDS
#include <set>
#include <map>
#include <list>
#ifndef __lnx__
#include <omp.h>
#end... | [
"levilelis@gmail.com"
] | levilelis@gmail.com |
277b14ea220689c1d43ce70f3fdd727d9b248ddf | 2367e655305a00dd84f7aa0b1fa18501d2511c52 | /KwBook_iphone/kwbook/Base/Tools/ToString.h | e15b2c9893f3ebfb7afd8141258cfc4b802b39d6 | [] | no_license | XClouded/dev_project | a165e7a313d182ed5f90e8dcef0e167dce1f6307 | c938277aaf73992923e6d6d1ededd8ef3629a38f | refs/heads/master | 2021-01-22T17:03:32.375508 | 2014-11-26T08:23:37 | 2014-11-26T08:23:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,395 | h | //
// ToString.h
// KwSing
//
// Created by 海平 翟 on 12-7-5.
// Copyright (c) 2012年 酷我音乐. All rights reserved.
//
#ifndef KwSing_ToString_h
#define KwSing_ToString_h
#include <typeinfo>
#include <string>
namespace KwTools
{
namespace Convert
{
template<typename T>
std::string ConvertToStri... | [
"wangmingjob@gmail.com"
] | wangmingjob@gmail.com |
0749ecdd682a9f91975112dbce74d745a1cd1a12 | 9ff0d18016597d67d7c3138bd344ed3d7f542d7c | /8/FH_Shapes/FH_Shapes/FH_Eclipse.cpp | 92f5dea848571de10c015250772a44539c4a9f59 | [] | no_license | fengh16/HomeWorkForSoftWareII | 8b952ee71d4a6adce87f60164de5a06ecbf0868f | 0d38e49ebbf373fee371951b33f279c7e8b0296e | refs/heads/master | 2020-04-05T12:58:54.571847 | 2017-07-02T04:05:03 | 2017-07-02T04:05:03 | 94,990,308 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,616 | cpp | #include "stdafx.h"
#include "FH_Eclipse.h"
FH_Eclipse::FH_Eclipse(const double X1, const double Y1, const double X2, const double Y2, const COLORREF nLineColor, const COLORREF nFillColor, const int nLineWide, const int nDrawFlag, const int nAreaFlag) :PointPos{ (FH_Pos(X1, Y1)), (FH_Pos(X2, Y2)) }
{
LineColor = nLin... | [
"fengh16@163.com"
] | fengh16@163.com |
025455ed293ff204106622beacc236e50aea9ccf | 62b42c8e83a2bf4dae947ad2de040e750a925e02 | /Hiraeth/src/graphics/label.cpp | 301e9a9d47f4e40725651f6ea941c6d0cc94e544 | [] | no_license | AlfoKungo/Hiraeth | a282c9618d50577fbb929d42039eccff67fc09db | f9ec03e866d7ebf89aa67961d972ce7271380f34 | refs/heads/master | 2021-12-01T06:54:12.849705 | 2021-11-17T23:23:54 | 2021-11-17T23:23:54 | 70,401,458 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,276 | cpp | #include "hrth_pch.h"
#include "label.h"
namespace hiraeth
{
namespace graphics
{
Label::Label(Font* font, std::string text, maths::vec2 pos, unsigned int color, Alignment alignment)
: Renderable(), m_Font(font), m_Text(text), m_Alignment(alignment)
{
updateBounds();
m_Bounds.position = pos;
m_Color ... | [
"alfonsodimana@gmail.com"
] | alfonsodimana@gmail.com |
af2e4c9b4882057df6c7788bd20480be9aee4c7a | 88775a85b06c34f6665f16b8adff25b9690ec0ee | /.history/HJ26_20210317022740.CPP | d9f80a9e7f4a65fe6faf61322dff0dbf6ac2aafd | [] | no_license | AraragiEro/newk | 417c2d75f62ac1b174e6981a6000cb62b6448dec | 63374264c10e90dc9a370bfc783913e3ec35610c | refs/heads/master | 2023-03-19T14:07:46.548504 | 2021-03-16T18:46:34 | 2021-03-16T18:46:34 | 348,370,479 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,221 | cpp | #include<iostream>
#include<map>
#include<vector>
#include<sstream>
#include<string>
using namespace std;
int main(){
string input;
while(getline(cin,input)){
map<int,char> map1;
vector<vector<char>> holding(26);
for(int i=0;i<input.size();i++){
char bak1;
if(isa... | [
"zhucct@126.com"
] | zhucct@126.com |
57f74d7f9aa92d871cdcfaa32fb446bfbcad7bcb | 4597f6a99f3f2527dce48fa8200f0f2325fff47f | /CppLearnings/sharedPtr.cpp | cd644aa102a9b296b112f25455f23c36ff71833f | [] | no_license | nnigam1/DataStructureAndAlgo | f6ebae30e20b8b937aeb36818dfe452748b26748 | beba23c2027e6fa8d8fa5467297b38011f73756c | refs/heads/master | 2020-11-24T05:26:08.465744 | 2020-04-08T21:30:56 | 2020-04-08T21:30:56 | 227,982,681 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 111 | cpp | #include<iostream>
#include<memory>
using namespace std;
class Widget{
public:
shared_ptr<int> str1;
};
| [
"neha_nigam@intuit.com"
] | neha_nigam@intuit.com |
64327d5016aa6fc3089b16b7d4df3cb9672d10a3 | 4b78ec55d7c31288de694715f75fb37bd7d3e044 | /Debugger.cpp | e4c663abf935e1f07d05d9ef46a68bc7d16dce5f | [
"MIT"
] | permissive | djelusic/GBEmu | 8d1a6759b7121c3a87506f2f0c5294e713a69177 | d6f9835651bbcfdd2dd6c8ef950043da98b97448 | refs/heads/master | 2021-01-11T11:46:28.644193 | 2017-01-31T17:26:15 | 2017-01-31T17:26:15 | 76,790,450 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,324 | cpp | #include "Debugger.h"
#include "CPU.h"
#include "Disassembler.h"
#include "Format.h"
#include <iostream>
#include <string>
Debugger::Debugger(CPU & cpu, Disassembler & disassembler) :
cpu(cpu),
disassembler(disassembler),
running(false) {}
void Debugger::ToggleActive() {
running = !running;
}
void Debugger::... | [
"djelusic133@gmail.com"
] | djelusic133@gmail.com |
ec7e99f657e090d3c963b080d9af79ef0337f4a8 | d340dfbc092d380663528be9e365061dbc808de0 | /algorithm/algorithm/10757.cpp | 698b135206c2a7c52fce05d69cf6d033400de4c9 | [] | no_license | MunSeoHee/baekjoon | 782eaf42e0a7740f8c708f18d3f48a044510c2a3 | 9a40629248d3fe7b256d5e68caf8ad135542663f | refs/heads/master | 2021-07-09T03:35:04.311015 | 2021-03-22T09:28:37 | 2021-03-22T09:28:37 | 233,775,051 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 900 | cpp | #include<iostream>
#include <string>
using namespace std;
int main(void) {
ios::sync_with_stdio(false);
cin.tie(NULL);
int v1, v2;
string num1, num2, result;
cin >> num1 >> num2;
int max = 0, temp=0, min;
if (num1.length() > num2.length()) {
max = num1.length();
min = num2.length();
for (int i = 0; i <m... | [
"nansh9815@naver.com"
] | nansh9815@naver.com |
1c5b3e96bfad36cd95897740273b5a235a50791b | f4e477007da5ff405a50ea6add26a85095039b3e | /d912pxy/d912pxy_vfs_pck.h | cc8365ea87a0020cf98a0022d964c02a38cc01b4 | [
"MIT",
"LicenseRef-scancode-public-domain"
] | permissive | MTVirux/d912pxy | f3d47660fad47945a4c338c9efe1b1194d98b46d | 27e6b398a80b1638e7574547feb89d182c5f1f1c | refs/heads/master | 2020-12-14T23:51:23.537640 | 2020-03-01T14:31:00 | 2020-03-01T14:31:00 | 211,679,023 | 0 | 0 | NOASSERTION | 2019-09-29T14:53:05 | 2019-09-29T14:53:05 | null | UTF-8 | C++ | false | false | 5,447 | h | /*
MIT License
Copyright(c) 2019 megai2
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, copy, modify, merge, publish, distribut... | [
"megai2@ya.ru"
] | megai2@ya.ru |
00f26b47ed504ea98be292a79b90dc5f1c93b6d5 | 343a50643d4980c39915e810a9548caeb4f4fda0 | /AnalysisDataFormats/BoostedObjects/interface/ResolvedVjj.h | 1d6107ac70b2bfb08a166b08810f9c19c25f4492 | [] | no_license | amodakgit/VLQAna | 949944d3f56f355c7a13eadee758344571183134 | 42904ea3476998f2aab891c394b07c687bbf8808 | refs/heads/master | 2021-04-06T20:29:12.792891 | 2018-11-08T00:16:06 | 2018-11-08T00:16:06 | 125,436,514 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,919 | h | #ifndef ANALYSISDATAFORMATS_BOOSTEDOBJECTS_RESOLVEDVJJ_HH
#define ANALYSISDATAFORMATS_BOOSTEDOBJECTS_RESOLVEDVJJ_HH
#include <utility>
#include "AnalysisDataFormats/BoostedObjects/interface/Candidate.h"
/*\
* Simple class for bosons W, H, Z decaying to to quarks
* To be used with B2G EDMNtuples
* https://github.c... | [
"atanu.modak@cern.ch mailto:atanu.modak@cern.ch"
] | atanu.modak@cern.ch mailto:atanu.modak@cern.ch |
b1c1f4a4d93b3a535679e1afc1dfd601b1f89322 | d09092dbe69c66e916d8dd76d677bc20776806fe | /.libs/puno_automatic_generated/inc/types/com/sun/star/i18n/XCalendar3.hpp | 399753c0b41f83d23e3048e05f746f061bc35315 | [] | no_license | GXhua/puno | 026859fcbc7a509aa34ee857a3e64e99a4568020 | e2f8e7d645efbde5132b588678a04f70f1ae2e00 | refs/heads/master | 2020-03-22T07:35:46.570037 | 2018-07-11T02:19:26 | 2018-07-11T02:19:26 | 139,710,567 | 0 | 0 | null | 2018-07-04T11:03:58 | 2018-07-04T11:03:58 | null | UTF-8 | C++ | false | false | 1,578 | hpp | #ifndef INCLUDED_COM_SUN_STAR_I18N_XCALENDAR3_HPP
#define INCLUDED_COM_SUN_STAR_I18N_XCALENDAR3_HPP
#include "sal/config.h"
#include "com/sun/star/i18n/XCalendar3.hdl"
#include "com/sun/star/i18n/Calendar2.hpp"
#include "com/sun/star/i18n/CalendarItem2.hpp"
#include "com/sun/star/i18n/XExtendedCalendar.hpp"
#include... | [
"guoxinhua@10.10.12.142"
] | guoxinhua@10.10.12.142 |
86cacbca42b63e0b8545973702a5ac22d37bf022 | d0837533b31fbc4b3a16703c97ffa01a24a0dcc7 | /Source/GUI/Application.cpp | 7f042580c377944ddb16711febf3201f0c30be9a | [
"BSD-2-Clause"
] | permissive | UIKit0/3dcfiltertester | d1a7b05abba329d958be5202eeadebdce3f1881e | 3158f2db70e3768dead2afb143d2e27e12f775a7 | refs/heads/master | 2020-12-29T01:22:59.043564 | 2013-09-30T22:26:42 | 2013-09-30T22:26:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,031 | cpp | #include "Application.h"
#include "Frame.h"
#include "Exception.h"
#include "../Engine/Engine.h"
#include "../Engine/Exception.h"
#include "../Engine/ProbeObjectManager.h"
#include <wx/sysopt.h>
#include <exception>
namespace gui
{
IMPLEMENT_APP(Application)
bool Application::OnInit()
{
try {
... | [
"axel@gneiting-home.de"
] | axel@gneiting-home.de |
fa59382dd7a5fe6427586bfbd22973ad4cd07a34 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/httpd/gumtree/httpd_new_log_3101.cpp | 4741c5130b7d52e0e96d21b02a5955c3f70813cd | [] | 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 | 109 | cpp | ap_log_rerror(APLOG_MARK, APLOG_ERR,
0, r, APLOGNO(01615) "need AuthName: %s", r->uri); | [
"993273596@qq.com"
] | 993273596@qq.com |
84dac5ca9ad34c2aa70b4c183a009460e7ca4d7c | 2f6f4953d35e53d3d86ad4e959d9f032d4bb3c4c | /startalk_ui/GeneratedFiles/moc/moc_QRCodeWidget.cpp | 83b8c64845d3ee4e7d0f224e72586ef18adde126 | [
"MIT"
] | permissive | xuepingiw/open_source_startalk | c9b6866b736d51798394486de2b6181a49f38466 | 44d962b04039f5660ec47a10313876a0754d3e72 | refs/heads/master | 2020-04-29T03:00:00.190179 | 2019-03-27T07:01:40 | 2019-03-27T07:01:40 | 175,791,902 | 0 | 0 | MIT | 2019-03-15T09:43:22 | 2019-03-15T09:43:18 | null | UTF-8 | C++ | false | false | 3,347 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'QRCodeWidget.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.2.1)
**
** WARNING! All changes made in this file will be lost!
********************************************************... | [
"20832776@qunar.com"
] | 20832776@qunar.com |
086c734d81cbbfed4269ea778e899a963ca91ada | b268ac506771ac5dbdbee9e67e6e112474d0af1e | /Algorithm/Programmers/p 위장.cpp | 898802858758d7b1d8f854af406817405f0ff334 | [] | no_license | ssoonD/Algorithm | 69c7965c3a3fe42aab0bb211582a170166f5f99c | 8440cf5ce15f15d15746279132398c57b461f968 | refs/heads/master | 2021-02-26T02:23:07.708578 | 2020-10-14T14:56:14 | 2020-10-14T14:56:14 | 232,309,311 | 0 | 0 | null | 2020-01-07T11:41:51 | 2020-01-07T11:21:58 | null | UTF-8 | C++ | false | false | 356 | cpp | #include <string>
#include <vector>
#include <unordered_map>
using namespace std;
int solution(vector<vector<string>> clothes) {
int answer = 1;
unordered_map<string, int> closet;
int cSize = clothes.size();
for (int i = 0; i < cSize; i++) {
closet[clothes[i][1]]++;
}
for (auto& a : closet) {
answer *= (a.s... | [
"59604134+ssoonD@users.noreply.github.com"
] | 59604134+ssoonD@users.noreply.github.com |
e4f298883afcd0253e66ed36138fabdc3ee8f818 | 08ac0dda0382daccc185ff22fa413ac395edff56 | /heoil.h | 720d3f81c399e70d79feb2088294a316efd80a4e | [] | no_license | ambjlon/Huffman_compress | 04faf66e6fd0be0fb5b21ed96d8aaaa4e46ba571 | 5cf48dc0d275d347b8a42d8672de90e633c76003 | refs/heads/master | 2016-08-06T05:56:36.573088 | 2015-07-10T15:25:55 | 2015-07-10T15:25:55 | 38,887,352 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,313 | h | // heoil.h : main header file for the HEOIL application
//
#if !defined(AFX_HEOIL_H__78253A56_1A28_4DF7_AB01_DBA79509DFCD__INCLUDED_)
#define AFX_HEOIL_H__78253A56_1A28_4DF7_AB01_DBA79509DFCD__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#ifndef __AFXWIN_H__
#error include 'stdafx... | [
"yanglong@yanglongdeMacBook-Pro.local"
] | yanglong@yanglongdeMacBook-Pro.local |
bdcf39e699836d9f6a3c8c58098475f15ecc9899 | 1d161076bd2fe2a395e02ed7ca08afdd23618abc | /ListaFactura/nodofactura.cpp | ea09436e36301970ceefedc80ec37b44b4fdc378 | [] | no_license | MacoChave/Practica1_SalesManager | 3d4d0c74549c3edb12d97309a72bd081229a3c07 | 0dce62b149a0db9a94a16178bf7978662e6ad56e | refs/heads/master | 2021-05-01T09:06:55.265813 | 2018-03-18T19:00:33 | 2018-03-18T19:00:33 | 121,093,133 | 3 | 0 | null | 2018-03-25T05:01:11 | 2018-02-11T06:30:30 | C++ | UTF-8 | C++ | false | false | 920 | cpp | #include "nodofactura.h"
NodoFactura::NodoFactura()
{
item = NULL;
anterior = NULL;
siguiente = NULL;
}
NodoFactura::NodoFactura(TADFactura *value)
{
item = value;
anterior = NULL;
siguiente = NULL;
}
NodoFactura::~NodoFactura()
{
if (item != NULL)
delete item;
item = NULL;
... | [
"totto_cha@hotmail.com"
] | totto_cha@hotmail.com |
a9e650a2249aeafadfc315797ff6a5358e3e8407 | 4503b4ec29e9a30d26c433bac376f2bddaefd9e5 | /XtreamToolkit/v16.4.0/Source/Calendar/XTPCalendarDayViewTimeScale.h | 4b70fee3fb251a5d2cda562ae7451bfe23359908 | [] | no_license | SwunZH/ecocommlibs | 0a872e0bbecbb843a0584fb787cf0c5e8a2a270b | 4cff09ff1e479f5f519f207262a61ee85f543b3a | refs/heads/master | 2021-01-25T12:02:39.067444 | 2018-02-23T07:04:43 | 2018-02-23T07:04:43 | 123,447,012 | 1 | 0 | null | 2018-03-01T14:37:53 | 2018-03-01T14:37:53 | null | UTF-8 | C++ | false | false | 17,970 | h | // XTPCalendarDayViewTimeScale.h: interface for the CXTPCalendarDayViewTimeScale class.
//
// This file is a part of the XTREME CALENDAR MFC class library.
// (c)1998-2013 Codejock Software, All Rights Reserved.
//
// THIS SOURCE FILE IS THE PROPERTY OF CODEJOCK SOFTWARE AND IS NOT TO BE
// RE-DISTRIBUTED BY ANY ... | [
"kwkang@3e9e098e-e079-49b3-9d2b-ee27db7392fb"
] | kwkang@3e9e098e-e079-49b3-9d2b-ee27db7392fb |
a768d38cf7ebfcc1866e0575930aefb4054235ff | 7d3007bf0da81b46701e3aa2b909bfc701e9cf4e | /MoistureSensorApp.cpp | 203acf261010a87f6318d5e0de8cec13330de64e | [] | no_license | jludwig75/moisture_sensor | 905813904f7e01d1d4b9f3bfa3e1fe8b4a85e5d9 | cd2753d5f59cc07b9699e8641118a93697c6e5e2 | refs/heads/master | 2021-05-06T23:00:29.378697 | 2017-12-13T04:45:07 | 2017-12-13T04:45:07 | 112,893,877 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,127 | cpp | #include "MoistureSensorApp.h"
#include "Chirp.h"
MoistureSensorApp::MoistureSensorApp(Chirp *chirp, const String &templates_base_dir, int port, unsigned sensor_read_interval_seconds) :
OOWebServer<MoistureSensorApp>(templates_base_dir, port),
_chirp(chirp),
_sensor_read_interval_seconds(sensor_read_interval_s... | [
"jr.ludwig@gmail.com"
] | jr.ludwig@gmail.com |
0baa0764724938cb3a06350ff328dad563f4d001 | 33fd5786ddde55a705d74ce2ce909017e2535065 | /build/iOS/Release/include/Fuse.Controls.Navigat-e43a213c.h | 7a853519c0b3bed1429462799590ef5e43cf0be0 | [] | no_license | frpaulas/iphodfuse | 04cee30add8b50ea134eb5a83e355dce886a5d5a | e8886638c4466b3b0c6299da24156d4ee81c9112 | refs/heads/master | 2021-01-23T00:48:31.195577 | 2017-06-01T12:33:13 | 2017-06-01T12:33:13 | 92,842,106 | 3 | 3 | null | 2017-05-30T17:43:28 | 2017-05-30T14:33:26 | C++ | UTF-8 | C++ | false | false | 415 | h | // This file was generated based on '../../../../Library/Application Support/Fusetools/Packages/Fuse.Controls.Navigation/0.47.7/$.uno'.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.Int.h>
namespace g{
namespace Fuse{
namespace Controls{
// public enum NavigationControl... | [
"frpaulas@gmail.com"
] | frpaulas@gmail.com |
ea7042d1d88b6e21341e06f2473e5bd0c06a1c73 | 0f252a72f9c464bc4e38d8b18c4d03717d84acf2 | /laptop/thailandoi/o59_mar_minturnrun.cpp | 2e30d3faf0e1b35f0ed85145b5507a9965421d5f | [] | no_license | ZikXewen/Submissions | e5286f1a94f1108eaa43c30fe6d12cec8537f066 | ec6efc8f92440e43850b8d094927958c5533eb05 | refs/heads/master | 2023-07-24T11:59:16.460972 | 2021-05-24T13:02:43 | 2021-05-24T13:02:43 | 220,632,852 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 861 | cpp | #include <bits/stdc++.h>
#define ii tuple<int, int, int, int>
using namespace std;
int N, M, S;
int dx[3] = {0, 1, 0}, dy[3] = {1, 0, -1};
char tem;
priority_queue<ii, vector<ii>, greater<ii>> q;
int main(){
scanf("%d %d %d", &N, &M, &S);
vector<vector<bool>> ar(N + 5, vector<bool>(M + 5));
vector<vector<... | [
"datasup12@gmail.com"
] | datasup12@gmail.com |
218e56a20cdb34180e01e1766b1f4fd583f2811d | c8b39acfd4a857dc15ed3375e0d93e75fa3f1f64 | /Engine/Plugins/Experimental/AlembicImporter/Source/ThirdParty/Alembic/openexr/OpenEXR/IlmImfUtil/ImfFlatImageChannel.cpp | f5baac4ba70a29445f2cefda24f94ec3761e52c8 | [
"BSD-3-Clause",
"MIT",
"LicenseRef-scancode-proprietary-license"
] | permissive | windystrife/UnrealEngine_NVIDIAGameWorks | c3c7863083653caf1bc67d3ef104fb4b9f302e2a | b50e6338a7c5b26374d66306ebc7807541ff815e | refs/heads/4.18-GameWorks | 2023-03-11T02:50:08.471040 | 2022-01-13T20:50:29 | 2022-01-13T20:50:29 | 124,100,479 | 262 | 179 | MIT | 2022-12-16T05:36:38 | 2018-03-06T15:44:09 | C++ | UTF-8 | C++ | false | false | 2,804 | cpp | ///////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2014, Industrial Light & Magic, a division of Lucas
// Digital Ltd. LLC
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the f... | [
"tungnt.rec@gmail.com"
] | tungnt.rec@gmail.com |
e48344cd16a5c27765b725fd6c75c735adf220f4 | 019904382caeb8c49e24f1101927ba0d9e137801 | /11503.cpp | 2ac656bcafb0258c9d724172802928aeb4f0cf04 | [] | no_license | faiem/UVA-Online-Judge | bdf0f073cfe641422e17a5fe82e1ce41148606eb | 4e56df804f36dace60db8829fb3ea5d133b12389 | refs/heads/main | 2023-04-12T17:05:21.605237 | 2021-04-29T07:19:35 | 2021-04-29T07:19:35 | 362,724,665 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,256 | cpp |
#include<iostream>
#include<cstdio>
#include<algorithm>
#include<vector>
#include<map>
#include<set>
#include<queue>
#include<stack>
#include<cmath>
#include<math.h>
#include<cstring>
#include<string>
using namespace std;
class Union_Find{
public:
vector<int> set;
void Make_set(int size){
... | [
"faiem@overseasecurity.com"
] | faiem@overseasecurity.com |
79c3efec380c5e38443df4c61fe957c00678cb8e | 955f784fe4116bbd6bb871fecb3529f4022226d4 | /examples/modules/Factory.hpp | 20777bc4bf48b60cb420a49955e1545f3fdc05f0 | [
"LicenseRef-scancode-unknown-license-reference",
"BSL-1.0"
] | permissive | dalibor-frivaldsky/rod | 227d19e09c5552f77822cc366d82ad432b052478 | 7914185485ccbe4be85ac8ffcf831ba187349869 | refs/heads/master | 2021-06-27T00:13:39.263998 | 2017-03-04T21:50:49 | 2017-03-04T21:50:49 | 17,022,456 | 0 | 0 | null | 2017-03-04T21:47:55 | 2014-02-20T14:13:33 | C++ | UTF-8 | C++ | false | false | 353 | hpp | // Copyright Dalibor Frivaldsky 2017
// Distributed under the Boost Software License, Version 1.0.
// See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt
#pragma once
#include <memory>
#include "Object.hpp"
namespace example {
class Factory {
public:
virtual std::unique_ptr< Object > ... | [
"dalibor.free@gmail.com"
] | dalibor.free@gmail.com |
72859b0debcbd0a2a2c6792676237745de893ece | 64cc87631dc2544ccadd8a14e196ec7949f473db | /ES_CW2_Starter_final/outgoingcomms.cpp | 5a7fa824c43581409101563d9e4b646bc775c81c | [] | no_license | NiallRees/MBED-Brushless-Motor-Control | 704d247ae21fb00bc3ab5bbb6a8a94daf691f293 | a73dbcceb7e367c5119506ebd67de378d00935ed | refs/heads/master | 2020-05-01T02:22:24.490243 | 2019-03-22T22:30:01 | 2019-03-22T22:30:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,928 | cpp | #include "outgoingcomms.h"
#include "mbed.h"
// Mail FIFO queue
Mail<message_t, 16> outMessages;
// Places messages in mail queue
void putMessage(uint8_t code, int32_t data){
message_t *pMessage = outMessages.alloc();
pMessage->code = code;
pMessage->data = data;
outMessages.put(pMessage);
}
RawSeri... | [
"niallrwoodward@gmail.com"
] | niallrwoodward@gmail.com |
cde756ad3fcd86a13614aadaf167fd39f3fee5ca | 1a76cdf3b8776c238f0fecaca9c9491145106ec6 | /SDK/FN_Results_TeamTotalScore_functions.cpp | 9667694ba63bb8536e88c0f0be249282c7b91669 | [] | no_license | JimmyJones97/aasd | 9af6e9c83eec4d1b4c76c601c2ccba814ce8a1c0 | 1961458db5ef577e6f013ca9ea744dcd48f2b4ad | refs/heads/master | 2022-02-19T11:47:42.191429 | 2017-10-27T11:59:07 | 2017-10-27T11:59:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,382 | cpp | // Fortnite SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "../SDK.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Functions
//---------------------------------------------------------------------------
// Function Results_TeamTotalScore.Results_Tea... | [
"joker@slaughter-gaming.de"
] | joker@slaughter-gaming.de |
cbaa3f8c9d633e02d3c80cea9d583df2e14c868c | fec81bfe0453c5646e00c5d69874a71c579a103d | /blazetest/src/mathtest/operations/dmatsmatadd/UDaMIb.cpp | 4302e753ba342f3815d21a830e974006e2409783 | [
"BSD-3-Clause"
] | permissive | parsa/blaze | 801b0f619a53f8c07454b80d0a665ac0a3cf561d | 6ce2d5d8951e9b367aad87cc55ac835b054b5964 | refs/heads/master | 2022-09-19T15:46:44.108364 | 2022-07-30T04:47:03 | 2022-07-30T04:47:03 | 105,918,096 | 52 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 4,094 | cpp | //=================================================================================================
/*!
// \file src/mathtest/operations/dmatsmatadd/UDaMIb.cpp
// \brief Source file for the UDaMIb dense matrix/sparse matrix addition math test
//
// Copyright (C) 2012-2020 Klaus Iglberger - All Rights Reserved
//
// ... | [
"klaus.iglberger@gmail.com"
] | klaus.iglberger@gmail.com |
6b294d42e0705f63380509ba4b4d3ae97e5db08b | 36a28ba70c45954d6f5eb8cbc9a8a46f8d871d81 | /src/common/n_uniform_prob.h | 7d4d0d1961573d4574a0a287887448fdcc2c92fa | [
"Apache-2.0"
] | permissive | lxu4net/trex-core | 0fc739506a6cf82b8a6e0d9911b4b7f028e97a1f | 382898f46dd2dea27aae1d30961f7334c670f81a | refs/heads/master | 2021-06-24T20:17:24.969959 | 2017-09-11T14:45:18 | 2017-09-11T14:45:18 | 103,203,468 | 0 | 0 | null | 2017-09-12T00:47:22 | 2017-09-12T00:47:22 | null | UTF-8 | C++ | false | false | 2,614 | h | #ifndef NONE_UNIFORM_PROB_H
#define NONE_UNIFORM_PROB_H
/*
taken from here https://oroboro.com/non-uniform-random-numbers/
Copyright (c) 2015-2017 oroboro
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 Lic... | [
"hhaim@cisco.com"
] | hhaim@cisco.com |
489338aa1cee7d0740be19e1c82ee726ff46ea5e | a1e4f660f39021ee642ae921d9a7d41673d28039 | /Cutelyst/Component | fb8a3a6ed1c0e2a63fb1d4a9d32f90e5b2cd5dd3 | [
"BSD-3-Clause"
] | permissive | cutelyst/cutelyst | 117bd6bd475f09f04bafa17fa0eafc0c94363dda | 7b6791af6c88840267c99efd9e4c0b128e99872d | refs/heads/master | 2023-09-01T02:32:16.915289 | 2023-08-28T19:19:35 | 2023-08-28T19:19:35 | 36,847,099 | 956 | 160 | BSD-3-Clause | 2023-08-28T19:19:37 | 2015-06-04T04:05:28 | C++ | UTF-8 | C++ | false | false | 23 | #include "component.h"
| [
"dantti12@gmail.com"
] | dantti12@gmail.com | |
6e3213466e669c598e373a976b91ea22c030dd43 | 28706b2f42908c152c94be4ad7889698883ec4d4 | /Leetcode/inherit.cpp | c5acbd1008a1dd608138f579ffc2ef0e6fb1ad39 | [] | no_license | Tang-Xianglong/Leetcode | 2ca1ed98966db53e62ed511b4d69402dad16e1c6 | 9d2cd24a81ded3f9a1098e20ebdf3c4f243c3975 | refs/heads/master | 2020-09-24T02:15:58.422160 | 2016-08-30T23:56:13 | 2016-08-30T23:56:13 | 66,985,670 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,652 | cpp | ////
//// inherit.cpp
//// Leetcode
////
//// Created by 唐向龙 on 16/4/13.
//// Copyright © 2016年 唐向龙. All rights reserved.
////
//
//
//#include <iostream>
//#include <algorithm>
//#include <vector>
//using namespace std;
//
//template<typename T>
//struct tcontainer
//{
// virtual void push(const T&) = 0;
// ... | [
"tangxianglong@MacAir.local"
] | tangxianglong@MacAir.local |
3b8e41de092bb09dd269a325389a2be3a02dda07 | 41a11f4ed7de4a06913c3ac94bf3e8ccaddf7687 | /src/coordinates/Horizontal.cpp | 89354dc76e483610ba4a6849311ddabbc6899eb1 | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | jemgold/hypatia | 38a7e457645dce4cb3115115111a5766a3418c7a | cdeb5f8a2b68207a9313daaaed1f16dae795d70b | refs/heads/master | 2023-04-15T07:20:21.818239 | 2021-04-10T20:51:33 | 2021-04-10T20:51:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,025 | cpp | #include "hypatia/coordinates/Horizontal.h"
#include <math.h>
Horizontal::Horizontal () {
}
Horizontal::Horizontal ( const Vector3& _parent ) {
m_phi = atan2(_parent.y, _parent.x);
m_theta = atan2(_parent.z, sqrt(_parent.x * _parent.x + _parent.y * _parent.y));
}
Horizontal::Horizontal ( const double _alt, ... | [
"patriciogonzalezvivo@gmail.com"
] | patriciogonzalezvivo@gmail.com |
78f025018d45a3fefc1eceb32bbc7152b0d633b8 | e2400461ad0ee9db8a85a30c811e47d30e16e1c8 | /seleniumtestcases-qa/seleniumtestcases-qa/src/main/resources/firefox/win64/firefox-sdk/include/nsIViewSourceChannel.h | 0ef850f0fcaae19e69a40cc0229f6fcfe592a7ae | [] | no_license | pratikcactus/Insights | 720a00187858bbca5b2d8cc36aee23e50c74efbc | 0c3178a50d60ba4c14a07f6515a84f0ce22cdc8e | refs/heads/master | 2021-01-19T14:48:56.139872 | 2018-01-23T07:12:47 | 2018-01-23T07:12:47 | 100,924,200 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,335 | h | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl\nsIViewSourceChannel.idl
*/
#ifndef __gen_nsIViewSourceChannel_h__
#define __gen_nsIViewSourceChannel_h__
#ifndef __gen_nsIChannel_h__
#include "nsIChannel.h"
#endif
/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE... | [
"pratik.sidam@cactusglobal.com"
] | pratik.sidam@cactusglobal.com |
328b4cf2bd41e794d1560f057b7260a6c0f7137d | 1be351015e7b7f66447e625ea1e12533948886dd | /src/compress/huffman.h | 425ec53b47ec4e03f99936a8a4c12ae1ec58a0b1 | [] | no_license | zhaoyaogit/lightRpc | 913cc66042a661a06aea23d8a0d0d9603588f02f | 8c5a11b70cb80a25c1a97b6dee758f3dea073c35 | refs/heads/master | 2022-12-02T06:32:56.785723 | 2020-08-22T03:11:26 | 2020-08-22T03:11:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 822 | h |
#include <stdint.h>
#include <vector>
#include <utility>
#include <string>
#include "uint256_t.h"
struct CompressData
{
std::vector<uint8_t> data;
uint64_t data_len = 0;
CompressData() = default;
CompressData(CompressData&& param): data(std::move(param.data)), data_len(param.data_len) {}
Compress... | [
"wangyihanby@163.com"
] | wangyihanby@163.com |
300b34175219232af8766e43e69b7b92e8166174 | a49ec2e1abe2211158141983dda3293b09a72379 | /TP7/src/ard-code-trab7.ino | 7e5bb9a242a28779958a37605bcdfd6ca1a9fa93 | [] | no_license | micalevisk/LPAV-2017-1 | bbaf79fef1bf7475a80a1af728ff5bef081e1f6f | e1262c4a08bc30794f899a992b0f53a481f2749d | refs/heads/master | 2021-03-21T23:51:24.887462 | 2019-09-08T20:15:26 | 2019-09-08T20:15:26 | 87,547,256 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,788 | ino | /**
* Ler caracteres e acender as leds que representam a matriz.
* Circuito: https://circuits.io/circuits/5073783-lpav-tp7-micael-levi
*
* A implementação se baseia em três fatos:
* 1) Os números dos pinos das leds são menores que 10;
* 2) Apenas letras minúsculas e alfabéticas serão representadas;
* 3) O Braill... | [
"mllc@icomp.ufam.edu.br"
] | mllc@icomp.ufam.edu.br |
92b449f8460e0273760efa0953f3cc2ff492ccce | 34aba131985086be90b6356a0818d22a58f969ee | /src/main.cc | 4ff7d8eabd7c30f98531eddc8e028de318f9d56c | [] | no_license | WasmVM/wasi-node | 7e7dcc2097a247700d5aa266364a03bc698b6b85 | 535972c7034188d9d7f9bed41967e8df1b995565 | refs/heads/master | 2020-07-15T13:47:53.012174 | 2019-10-26T19:17:54 | 2019-10-26T19:17:54 | 205,576,443 | 2 | 1 | null | 2019-10-26T19:17:55 | 2019-08-31T17:35:52 | C++ | UTF-8 | C++ | false | false | 8,626 | cc | #define NAPI_EXPERIMENTAL
#include <node_api.h>
#include <tuple>
extern "C"{
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <stdlib.h>
#include <limits.h>
#include <syslimits.h>
#include <string.h>
}
#include "api.hpp"
#include "util.hpp"
#define WASI_NODE_INIT_API(module, data, method, fu... | [
"luishsuplus@gmail.com"
] | luishsuplus@gmail.com |
95a91d9203f834cf4c833f6dd955294e6ee5eec9 | 88d94a7da1782171d6914bc22e5a3e5b2ab949a8 | /Arduino/sketch_mar28a/sketch_mar28a.ino | 77d00b634612826658bf05e6b37a36a0b91f60bb | [] | no_license | zikranazir/Automation | e31c453ce301d8a98a273aa0379a0aa862913871 | 16bc26fc2090b8df58347e5c6ada841753065a5c | refs/heads/master | 2020-03-08T05:08:16.835855 | 2018-04-03T17:06:43 | 2018-04-03T17:06:43 | 127,940,447 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 749 | ino | int red = 2;
int yellow = 1;
int green = 0;
void setup(){
pinMode(red, OUTPUT);
pinMode(yellow, OUTPUT);
pinMode(green, OUTPUT);
}
void loop(){
changeLights();
delay(15000);
}
void changeLights(){
// green off, yellow on for 3 seconds
digitalWrite(green, LOW);
digitalWrite(yellow, HIGH)... | [
"zikranazir@gmail.com"
] | zikranazir@gmail.com |
639923f9c6ebe5d6e64cf65b3fba015be5d9e0c8 | 5ec148a0d62d0761a4c097184d30e3a12fb514f7 | /Doom/src/Doom/OpenGl/Shader.h | 973d58b877b5621762833fecee4ad81b5c705827 | [
"MIT"
] | permissive | AvikDasAnimato/OpenGL_Engine | acd4d9461af937fd39f5465aae4d26ce9f1dbaf8 | 6e6570f8dd9000724274942fff5a100f0998b780 | refs/heads/master | 2023-06-22T03:57:10.647484 | 2021-07-20T13:52:19 | 2021-07-20T13:52:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,799 | h | #pragma once
#include <unordered_map>
namespace Doom {
struct DOOM_API ShaderProgramSource {
std::string m_VertexSource;
std::string m_FragmentSource;
};
class DOOM_API Shader {
private:
static std::unordered_map<std::string, Shader*> s_Shaders;
static const char** s_NamesOfShaders;
std::unordered_m... | [
"turlak01@mail.ru"
] | turlak01@mail.ru |
1723d1b62612ac9a7a63c2d1253167964922ce81 | 55821b09861478c6db214d808f12f493f54ff82a | /trunk/webcgi/treeview/addmonitor2ndwt.cpp | deafb7d3faf008b863b1959abd8133b9a70b2ca1 | [] | no_license | SiteView/ECC8.13 | ede526a869cf0cb076cd9695dbc16075a1cf9716 | bced98372138b09140dc108b33bb63f33ef769fe | refs/heads/master | 2016-09-05T13:57:21.282048 | 2012-06-12T08:54:40 | 2012-06-12T08:54:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,034 | cpp | #include <iostream>
#include "addmonitor2nd.h"
#include <WSignal_>
#include <WSignalInstance_>
#include <WSlot_>
#include <WSlotInstance_>
WSlot_ CEccAddMonitor2nd::slots_[] = { WSlot_("Forward()", false), WSlot_("SaveMonitor()", false), WSlot_("Cancel()", false), WSlot_("BatchAdd()", false), WSlot_("EnumDynD... | [
"136122085@163.com"
] | 136122085@163.com |
13e8c9833dee83c60c4f13881e8cb760516eca18 | 23012559f8099fbb6a4c86d3d86ab5c5212de48e | /kasten/gui/io/streamencoder/values/bytearrayvaluesstreamencoderconfigeditorfactory.hpp | ed76b2d1e176a9d1e7ba7c9862d0cd88e61588be | [] | no_license | KDE/okteta | a916cdb9e16cdc6c48a756205604df600a3b271c | cb7d9884a52d0c08c1496d4a3578f5dfe0c2a404 | refs/heads/master | 2023-09-01T09:33:47.395026 | 2023-08-29T04:33:32 | 2023-08-29T04:33:32 | 42,718,476 | 92 | 9 | null | 2020-12-29T18:58:56 | 2015-09-18T11:44:12 | C++ | UTF-8 | C++ | false | false | 1,120 | hpp | /*
This file is part of the Kasten Framework, made within the KDE community.
SPDX-FileCopyrightText: 2008 Friedrich W. H. Kossebau <kossebau@kde.org>
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/
#ifndef KASTEN_BYTEARRAYVALUESSTREAMENCODERCONFIGEDITORFACTORY_H... | [
"kossebau@kde.org"
] | kossebau@kde.org |
13e27b89ffdc9a25d465437e33f00a17b40edba0 | ce19837c9df65cba2c031eba5f02a52bf33cfe2e | /src/mongo/util/md5.cpp | 5c5e0194e86b80dd612884fec0e147a0b1d5b397 | [
"Apache-2.0"
] | permissive | hwzhou/mongoclient-cmake | a469bb3ca94c3ee18ed1d63ff76b1cfc6f25947f | 6587a4365ecba79723c3e3329dc0f635fc5e615d | refs/heads/master | 2016-09-06T12:24:45.505204 | 2013-12-26T12:45:30 | 2013-12-26T12:45:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,658 | cpp | /*
Copyright (C) 1999, 2000, 2002 Aladdin Enterprises. All rights reserved.
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software fo... | [
"earthdog@126.com"
] | earthdog@126.com |
069fb4d8fe39ac948a543060e57aac76fa919708 | 1337a747db741d24a11cf10d3c4b0c9d173f8a6d | /Libraries/gtkmm/include/gtkmm/gtkmm/colorchooserdialog.h | dcbe3931354693f869f8fb0eb1800bdd76e93f2d | [
"MIT"
] | permissive | iCodeIN/Wings | 0a1c17979439fc17e9bd55c43a7cc993973a3032 | 1dbf0c88cf3cc97b48788c23abc50c32447e228a | refs/heads/master | 2021-06-12T22:29:07.009637 | 2017-03-19T07:10:42 | 2017-03-19T07:10:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,558 | h | // -*- c++ -*-
// Generated by gmmproc 2.44.0 -- DO NOT MODIFY!
#ifndef _GTKMM_COLORCHOOSERDIALOG_H
#define _GTKMM_COLORCHOOSERDIALOG_H
#include <glibmm/ustring.h>
#include <sigc++/sigc++.h>
/* Copyright (C) 2012 The gtkmm Development Team
*
* This library is free software; you can redistribute it and/or
* modify... | [
"utilforever@gmail.com"
] | utilforever@gmail.com |
4378eae966cc71fbf4ad3d96a3bd3cdde2ee7218 | 9a7d5cc830049a8a0c7a1730b1decb477d1591ac | /Hackerrank/GeeksForGeeks/02_uglyNumber.cpp | 74509f1b7e4216c070b58e8a99fd1288fa1587e8 | [
"MIT"
] | permissive | rahulsrma26/code-gems | 8098ed2ea0221209c00c605b754d3f24f9009eef | 3495d48cbd56b16ef40d1b8e194d4e3eee9df985 | refs/heads/master | 2021-01-23T23:46:55.777790 | 2020-08-20T14:45:08 | 2020-08-20T14:45:08 | 66,028,181 | 0 | 2 | MIT | 2020-08-20T14:45:09 | 2016-08-18T20:23:04 | C++ | UTF-8 | C++ | false | false | 646 | cpp | // Author : Rahul Sharma <rahulsrma26@gmail.com>
// http://www.geeksforgeeks.org/ugly-numbers/
#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
int uglyNumber(size_t n) {
int m2 = 2, m3 = 3, m5 = 5;
int i2 = 0, i3 = 0, i5 = 0;
vector<int> numbers = { 1 };
for (size_t i = 1; i < n; ... | [
"rahulsrma26@gmail.com"
] | rahulsrma26@gmail.com |
f15545f1a41a90413575c898dc0fb1269b2acb89 | 7bba1eac4b90a23b6209ae93e1f52a2b3e63ea41 | /misc/simple.cpp | 7243193de56a93a6d9ad5a0cef6765610fa586b7 | [] | no_license | jz10/collaboration | 11baaca026c53b230f79845ed931a185651f3f13 | 4fdac29beb86addef6d76e8b022bb1fd65872070 | refs/heads/master | 2021-07-14T01:04:50.636113 | 2021-07-05T07:02:43 | 2021-07-05T07:02:43 | 135,768,365 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,993 | cpp | #include <CL/sycl.hpp>
#include <iostream>
using namespace cl::sycl;
class mod_image;
int main() {
/* We define and populate arrays for the input and output data. */
float4 src[256];
float4 dest[256];
for (int i = 0; i < 256; i++) {
src[i] = float4(1.0f, 2.0f, 3.0f, 4.0f);
dest[i] = float4(0.0f, 0.0... | [
"jzhao@iris14.ftm.alcf.anl.gov"
] | jzhao@iris14.ftm.alcf.anl.gov |
61613eba54e421c252aefb29202a67553f168124 | 3574f8e68bb7f1dd2e9d58b42a98756e24214130 | /chess/game_node.h | b6edb619c8e264bfbd7d7ba6ce6f3ac2b0531e7a | [] | no_license | asdfjkl/pgn2pgn | 7d21412f875c90c5efef96e30c6734bac2d2cb90 | 19e5ffa1f947dd6a130815b452d9a028ccc9bff8 | refs/heads/master | 2021-01-12T01:03:32.354530 | 2017-01-08T19:00:29 | 2017-01-08T19:00:29 | 78,336,411 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,643 | h | /* Jerry - A Chess Graphical User Interface
* Copyright (C) 2014-2016 Dominik Klein
* Copyright (C) 2015-2016 Karl Josef Klein
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either vers... | [
"asdfjkl@users.noreply.github.com"
] | asdfjkl@users.noreply.github.com |
b649dc474d1c67d29b8f8413fa4ea115be2edd13 | 3e638b23eb3bb45c39e044748a3466861720ac14 | /cpp/catch.hpp | 5173cf87d9f6c350abe55af73560a917f436a3da | [] | no_license | fgsalomon/Single-Sign-On-Kata | 0f6584c05dfb57d4f2193621a6e0140242d2324a | ecd410891a92bc54337e4a6f34498ebb0ad30ef8 | refs/heads/master | 2021-01-21T05:32:31.884894 | 2017-08-30T20:43:40 | 2017-08-30T20:43:40 | 101,927,127 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 420,648 | hpp | /*
* Catch v1.9.6
* Generated: 2017-06-27 12:19:54.557875
* ----------------------------------------------------------
* This file has been merged from multiple headers. Please don't edit it directly
* Copyright (c) 2012 Two Blue Cubes Ltd. All rights reserved.
*
* Distributed under the Boost Software Lice... | [
"frangarciasalomon@gmail.com"
] | frangarciasalomon@gmail.com |
30fe20b65a493949401c607ad6df1abd5126e2a9 | d16985a72e39109c30b1e975007cc1cabe8a6ac8 | /Common/Packets/CGRegisterTeamRecruit.cpp | 73b531c98dd05c839b24d52229b6d4f41c3c01c9 | [] | no_license | uvbs/wx2Server | e878c3c5c27715a0a1044f6b3229960d36eff4b4 | 78a4b693ac018a4ae82e7919f6e29c97b92554ab | refs/heads/master | 2021-01-18T00:06:34.770227 | 2013-12-13T09:18:54 | 2013-12-13T09:18:54 | 43,288,843 | 2 | 3 | null | 2015-09-28T08:24:45 | 2015-09-28T08:24:44 | null | UTF-8 | C++ | false | false | 1,538 | cpp | /********************************************************************************
* 文件名: CGRegisterTeamRecruit.cpp
* 创建人: 王勇鸷
* 创建时间: 2008 年 5 月 14 日 17:57
*
* 功能说明: 队长发布征收队员的消息
* 修改记录:
*********************************************************************************/
#include "stdafx.h"
#include "CGReg... | [
"tangming032@outlook.com"
] | tangming032@outlook.com |
a1b371a341e87514f56fcd464c96bf138532308f | 6c7c58aba805904044bd000534e44ac760860d0a | /set1.cpp | 7f751bbfdbf9c7af54c4a7fd41d7a3798f96aa90 | [] | no_license | Tesla-1i/cppCode | 9d05811c6ac861cf7c4046939f647871aaf9a5d5 | cc9b640f316eb3d93b8e6cbcc73746e7ea963130 | refs/heads/master | 2021-10-07T12:23:58.289193 | 2017-04-16T14:02:12 | 2017-04-16T14:02:12 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 6,828 | cpp | /* 定义一个集合类Set,最多存放100个不重复的整数,实现集合的如下操作:
1)增加某个整型元素时,保证集合中没有重复元素;
删除指定的元素,查找该元素在集合中则从集合中删除该元素;
2)重载运算符“+”,实现两个集合对象的合并操作,
重载运算符“*”,求两个集合对象的交集;例如Set s, s1, s2; s = s1+s2; s = s1* s2;
3)重载赋值运算符=和复合赋值运算符-= , 实现两个集合对象的赋值操作与差集操作。
例如Set s1,s2;s1 = s2; s1-=s2; 集合S1中去掉S2中存在的元素。
*/
#include<iostream>
#includ... | [
"sdmengxiangyu@gmail.com"
] | sdmengxiangyu@gmail.com |
f00502baa306e42c86c716411d8ac631708fcbf9 | 6d1fe21e452bc758a5463fd522ea9160d54d0683 | /source/geometry/point_on_line_segment.hpp | fccddda301d7a81f7bda7ecb8b3840f7633b4919 | [
"MIT"
] | permissive | pawel-kieliszczyk/algorithms | 90662189d963fbb72c3929599327791141e7fe40 | 0703ec99ce9fb215709b56fb0eefbdd576c71ed2 | refs/heads/master | 2021-01-02T09:15:16.950845 | 2019-03-31T19:20:54 | 2019-03-31T19:20:54 | 26,922,505 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 920 | hpp | #ifndef PK_GEOMETRY_POINT_ON_LINE_SEGMENT_HPP
#define PK_GEOMETRY_POINT_ON_LINE_SEGMENT_HPP
#include <algorithm>
#include "geometry/points_collinear.hpp"
namespace pk
{
namespace geometry
{
/**
* True if a given point is on a given line segment.
*
* If the point exactly equals one of the line segment's ends,
... | [
"pawel.kieliszczyk@gmail.com"
] | pawel.kieliszczyk@gmail.com |
aad673e75f6215c1cfa872b883c80013f929ef14 | ea51b10b1137b7dad2b4e5a8240e25b77daf849b | /strategy-pattern/run-behavior.cpp | 8ffae94fe172f866c36ad2030521290eefd650d8 | [] | no_license | wangxiaoq/design-pattern | fdd04d4ae92d287e169b3931d3fcf678df5b3010 | 5081c3d2f2ec7d1cc2cb93ae8315c611fc194199 | refs/heads/master | 2020-03-24T09:49:52.068687 | 2018-08-08T02:14:32 | 2018-08-08T02:14:32 | 142,638,820 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 361 | cpp | #include <iostream>
#include "run-behavior.h"
void TwoWheelsRunBehavior::perform_run(void)
{
std::cout << "Use **2** wheels run" << std::endl;
}
void FourWheelsRunBehavior::perform_run(void)
{
std::cout << "Use **4** wheels run" << std::endl;
}
void ThreeWheelsRunBehavior::perform_run(void)
{
std::cout <... | [
"wang_xiaoq@126.com"
] | wang_xiaoq@126.com |
cf67b172d4c62efa748a369e751702448ec74d08 | 0b164ca8048cb54a0d7de338a574a0378a782ae6 | /framework/camera.hpp | f4194318e1e9579cfac61fe35689028e1f7e8420 | [
"MIT"
] | permissive | Danielliebmann/programmiersprachen-raytracer | 7fcdc79f7b858da80b68532ba51c32c4145cbb73 | cf8adfc84306704efba0513f42357588406eac95 | refs/heads/master | 2021-01-18T02:41:36.180200 | 2016-08-29T12:49:05 | 2016-08-29T12:49:05 | 60,697,755 | 0 | 0 | null | 2016-06-08T12:55:43 | 2016-06-08T12:55:42 | null | UTF-8 | C++ | false | false | 540 | hpp | #ifndef CAMERA_HPP
#define CAMERA_HPP
#include <glm/glm.hpp>
#include <glm/vec3.hpp>
class Camera
{
public:
//Default constructor
Camera();
//custom constructor
Camera(glm::vec3 const, glm::vec3 const, glm::vec3 const, glm::vec3 const);
//getter, koennte man auch alles in der HPP machen
glm::vec3 getcampos() co... | [
"liebmann666@gmail.com"
] | liebmann666@gmail.com |
6912281e95cc658c55cd7ffb11dfe5872574dd96 | 792408abd53f0e13f4bad9f2f74878024247d248 | /HappyNumber.cpp | f9779bb5735dc16cdde0dc02295ac1ead4806358 | [] | no_license | kohn/leetcode-sol | 4eeeb83b1dcf26e246dfa89fe8ac320707fc89b2 | e700be9a5680097641b7b26131194eae934bf165 | refs/heads/master | 2020-12-29T01:31:19.885162 | 2020-05-04T04:59:37 | 2020-05-04T04:59:37 | 58,108,115 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 587 | cpp | #include <iostream>
#include <string>
#include <unordered_map>
using namespace std;
class Solution {
public:
bool isHappy(int n) {
unordered_map<int, bool> m;
while(1){
int new_number = 0;
while(n!=0){
new_number += (n%10)*(n%10);
n /= 10;
}
if(new_number == 1)
return true;
if(m.f... | [
"kohntzx@gmail.com"
] | kohntzx@gmail.com |
cce3be19b1297500b4a96fc0f50ed1d6725c336e | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /base/task/thread_pool/task.h | 0414e1d8c81a0b6e1c6344a5816cd7d7a4ac061e | [
"BSD-3-Clause"
] | permissive | Samsung/Castanets | 240d9338e097b75b3f669604315b06f7cf129d64 | 4896f732fc747dfdcfcbac3d442f2d2d42df264a | refs/heads/castanets_76_dev | 2023-08-31T09:01:04.744346 | 2021-07-30T04:56:25 | 2021-08-11T05:45:21 | 125,484,161 | 58 | 49 | BSD-3-Clause | 2022-10-16T19:31:26 | 2018-03-16T08:07:37 | null | UTF-8 | C++ | false | false | 1,360 | h | // Copyright 2016 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 BASE_TASK_THREAD_POOL_TASK_H_
#define BASE_TASK_THREAD_POOL_TASK_H_
#include "base/base_export.h"
#include "base/callback.h"
#include "base/locat... | [
"sunny.nam@samsung.com"
] | sunny.nam@samsung.com |
e7f898e031c836d8a94ef0dcd96d2ec8fac6659a | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/curl/gumtree/curl_new_log_3188.cpp | d1bdba7e510f5388952e25250d44fc4372df8063 | [] | 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 | 548 | cpp | fputs(
" curl, ’<’ means \"header data\" received by curl that is hidden in\n"
" normal cases and lines starting with ’*’ means additional info\n"
" provided by curl.\n"
"\n"
" Note that if you only want HTTP headers in the output,\n"
" -i/--i... | [
"993273596@qq.com"
] | 993273596@qq.com |
a681d7fdc4cbcc8d17fe84226a4a57459e523783 | 83af6b7e2bc9f9b828f83ff5bb7b4118a922d2f5 | /src/program_HMM_modelling.cpp | d95ecfdbe0355af7c3b657a444a04820a91d0c9a | [] | no_license | ginnyintifa/myPTM_sv | b55728a3fb05c5694041986326fd7d869a4f3105 | c3e6f6cb8b44fbb2378d4a82e6015b298970a707 | refs/heads/master | 2016-09-14T06:42:43.131873 | 2016-05-06T09:53:55 | 2016-05-06T09:53:55 | 58,196,716 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 42,955 | cpp | //
// main.cpp
// humansites
//
// Created by Ginny Li on 15-7-28.
// Copyright (c) 2015年 Ginny. All rights reserved.
//
//a modification
//in R want to label ones that are filtered to be green,
// a modification of my program
//change to only hydro and pka1
//I mistakenly made some wrong changes
#includ... | [
"ginnyli056@gmail.com"
] | ginnyli056@gmail.com |
67d48d54d65bdcd64212e7000ad62544caa057fe | 169e75df163bb311198562d286d37aad14677101 | /tensorflow/compiler/xla/service/while_loop_invariant_code_motion.h | 8c4b765b0003c48cfacb9d28e7c8259ac0927d66 | [
"Apache-2.0"
] | permissive | zylo117/tensorflow-gpu-macosx | e553d17b769c67dfda0440df8ac1314405e4a10a | 181bc2b37aa8a3eeb11a942d8f330b04abc804b3 | refs/heads/master | 2022-10-19T21:35:18.148271 | 2020-10-15T02:33:20 | 2020-10-15T02:33:20 | 134,240,831 | 116 | 26 | Apache-2.0 | 2022-10-04T23:36:22 | 2018-05-21T08:29:12 | C++ | UTF-8 | C++ | false | false | 1,543 | h | /* Copyright 2018 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | [
"zylo117@hotmail.com"
] | zylo117@hotmail.com |
afd12a5b0a9a38c3b2b56dc4ae39783e2f6900d0 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/httpd/gumtree/httpd_patch_hunk_1356.cpp | ce8190cd29b3519ab5ca963eacf2f029afae3d11 | [] | 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 | 578 | cpp |
strcpy(malformed, MALFORMED_MESSAGE);
strncat(malformed, w, MALFORMED_HEADER_LENGTH_TO_SHOW);
if (!buffer) {
/* Soak up all the script output - may save an outright kill */
- while ((*getsfunc) (w, MAX_STRING_LEN - 1, getsfunc_data)) {
+ ... | [
"993273596@qq.com"
] | 993273596@qq.com |
4331683092f541b7829407f9654e781456e6c0a9 | b1320eb7edd285f493a0e4473dc433842aaa9178 | /Blik2D/addon/opencv-3.1.0_for_blik/samples/opencl/opencl-opencv-interop.cpp | ebe58282009c58d4450d18b19aa06eb4847d6c89 | [
"MIT",
"BSD-3-Clause"
] | permissive | BonexGoo/Blik2D-SDK | 2f69765145ef4281ed0cc2532570be42f7ccc2c6 | 8e0592787e5c8e8a28682d0e1826b8223eae5983 | refs/heads/master | 2021-07-09T01:39:48.653968 | 2017-10-06T17:37:49 | 2017-10-06T17:37:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 35,288 | cpp | /*
// The example of interoperability between OpenCL and OpenCV.
// This will loop through frames of video either from input media file
// or camera device and do processing of these data in OpenCL and then
// in OpenCV. In OpenCL it does inversion of pixels in left half of frame and
// in OpenCV it does bluring in the... | [
"slacealic@gmail.com"
] | slacealic@gmail.com |
04376d4bda8b1fcbda9166568c8389914858f509 | 01dbe06e8ad0d7da2635604650edbbd8f1dd5cf8 | /cpp/src/kauvir/kauvir-kcm/kauvir-type-system/kauvir-universal-class.h | a02026e12fd26fb1a6f1bc3ec37b457448eebc3a | [
"BSL-1.0",
"LicenseRef-scancode-proprietary-license"
] | permissive | scignscape/SubjectiveSpeechQualityMeasurement | ccfe93d4569d45d711eb6a92c842cac9ae4a5404 | ab68b91108f3f1d7086ea1ac9a8801c063dc9bff | refs/heads/master | 2020-04-04T11:24:26.062577 | 2018-12-02T04:44:44 | 2018-12-02T04:44:44 | 155,889,835 | 0 | 1 | BSL-1.0 | 2018-11-13T17:09:00 | 2018-11-02T16:02:47 | C++ | UTF-8 | C++ | false | false | 9,864 | h |
// Copyright Nathaniel Christen 2018.
// 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)
#ifndef KAUVIR_UNIVERSAL_CLASS__H
#define KAUVIR_UNIVERSAL_CLASS__H
#include "kans.h"
#include ... | [
"osrworkshops@gmail.com"
] | osrworkshops@gmail.com |
abffaeea95cd8fc443d32f7841b37d9a21cc3d81 | cc673e7e03157f6d6f2b7a1deefbca1f99a68d7f | /gui/windowopacityanimation/widget.h | e18a5fce371a91f2d702ca4a1feb8ef06c4fd5f1 | [] | no_license | jinhang87/qtutil | 3beb4375227f4657b107f7236dec8c087d29eadb | acd9bc5544330ee3ac58e58346541cb57a8092ae | refs/heads/master | 2021-01-20T13:44:38.709176 | 2017-11-29T13:08:58 | 2017-11-29T13:08:58 | 90,523,069 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 672 | h | #ifndef WIDGET_H
#define WIDGET_H
#include <QWidget>
class QPropertyAnimation;
namespace Ui {
class Widget;
}
class Widget : public QWidget
{
Q_OBJECT
Q_PROPERTY(int alpha READ alpha WRITE setAlpha)
Q_PROPERTY(qreal opacity READ opacity WRITE setOpacity)
public:
explicit Widget(QWidget *parent = 0)... | [
"jinhang87@163.com"
] | jinhang87@163.com |
4e0b3df4c325bbd15d774287e5af407fea633e69 | 1c390cd4fd3605046914767485b49a929198b470 | /poj/P1509.cpp | 91700f6be595fdd5a03ad85834868e8d0a5e0f00 | [] | no_license | wwwwodddd/Zukunft | f87fe736b53506f69ab18db674311dd60de04a43 | 03ffffee9a76e99f6e00bba6dbae91abc6994a34 | refs/heads/master | 2023-01-24T06:14:35.691292 | 2023-01-21T15:42:32 | 2023-01-21T15:42:32 | 163,685,977 | 7 | 8 | null | null | null | null | UTF-8 | C++ | false | false | 512 | cpp | #include<iostream>
#include<string.h>
using namespace std;
int csc,i,j,k,l;
char s[200020];
int work()
{
int i=0,j=1,k=0;
while(i<l&&j<l&&k<l)
{
if(s[i+k]==s[j+k])
k++;
else
{
if(s[i+k]>s[j+k])
i+=(k+1);
else
j+=(k+1);
if(i==j)
j++;
k=0;
}
}
return min(i,j... | [
"wwwwodddd@gmail.com"
] | wwwwodddd@gmail.com |
df5d71e6dd01f3cc9feaac9d2236d4654cc18bb8 | d3b4bb1433f1279e137c027f5d70059a4595af6c | /Vezbe/Vezbe9/Telo.cpp | 502b952bd5b8c8b40f05618903748bd14d8678cb | [] | no_license | Amdrija/OO1 | 44548891c5cbd90f487796f258a2cdec8856ee75 | a4992cd0cb44bb40eb19660afc1cfbd63ec541e9 | refs/heads/master | 2020-09-01T13:58:17.579240 | 2019-12-26T20:16:20 | 2019-12-26T20:16:20 | 218,973,739 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 71 | cpp | //
// Created by Andrija Jelenkovic on 11/27/19.
//
#include "Telo.h"
| [
"andrija.jelenkovic@protonmail.com"
] | andrija.jelenkovic@protonmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.