blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
178e99161feb2558827c016b3f1aa209a34bf171 | 0baa74a2e6f15e563cfe11a3a6f8f53978ebaf81 | /src/stage.h | fed31d39863fd0c9091c377246b5d81bec130ceb | [
"MIT"
] | permissive | lilybarrowman/WarMorale | a00bc3aed01ba38a0c41c52d20dada9d208f9321 | c829fe6b7779fff5e1d2b9c8a88aa08c4b1bd440 | refs/heads/master | 2022-09-01T10:02:23.974163 | 2019-04-13T21:36:32 | 2019-04-13T21:36:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,033 | h | #pragma once
#include "gl_includes.h"
#include "sprite.h"
#include "resources.h"
class stage : public ordered_parent {
public:
GLFWwindow* window;
static_resources& static_res;
int_keyed_resources& dynamic_res;
matrix_3f proj;
int width;
int height;
stage(GLFWwindow* win, static_resources& sr, int_keye... | [
"adambarrowman@yahoo.ca"
] | adambarrowman@yahoo.ca |
d2dbcbb65c54b85afe76d6af6a73c2e786ac3b50 | 4d317369bd7de599e0364e9097e50f381845e22c | /Contests/Div 2 562/Programs/Good Triple.cpp | 2f27c79ac6ec3830062de5d5a7b80833bf419c8b | [] | no_license | MathProgrammer/CodeForces | 4865f0bad799c674ff9e6fde9a008b988af2aed0 | e3483c1ac4a7c81662f6a0bc8af20be69e0c0a98 | refs/heads/master | 2023-04-07T11:27:31.766011 | 2023-04-01T06:29:19 | 2023-04-01T06:29:19 | 84,833,335 | 256 | 114 | null | 2021-10-02T21:14:47 | 2017-03-13T14:02:57 | C++ | UTF-8 | C++ | false | false | 856 | cpp | #include <iostream>
#include <string>
using namespace std;
int is_good(string &S)
{
for(int x = 0; x < S.size(); x++)
{
for(int k = 1; x + 2*k < S.size(); k++)
{
if(S[x] == S[x + k] && S[x + k] == S[x + 2*k])
{
return true;
}
}
}
... | [
"noreply@github.com"
] | noreply@github.com |
10621d0bbe7372d7a0dcee56ecce7901e6229417 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/httpd/gumtree/httpd_repos_function_1332_httpd-2.4.20.cpp | a6c2125b585c5589b51777cb54253685c6a9f9b0 | [] | 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 | 10,381 | cpp | static int open_entity(cache_handle_t *h, request_rec *r, const char *key)
{
cache_socache_dir_conf *dconf =
ap_get_module_config(r->per_dir_config, &cache_socache_module);
cache_socache_conf *conf = ap_get_module_config(r->server->module_config,
&cache_socache_module);
apr_uint32_t ... | [
"993273596@qq.com"
] | 993273596@qq.com |
439cff7ac248f31da4ed8ecfb7bd133029c550c7 | 9467e2502183e843a67736800199e31674b1d8f6 | /HybridCLRData/LocalIl2CppData-WindowsEditor/il2cpp/libil2cpp/os/StackTrace.cpp | fff80f2bff1086c54a9b3dca801da8c80a73e327 | [
"Apache-2.0"
] | permissive | yimengfan/BDFramework.Core | 3a046fcd755a84ba55d648dd3ad52c37a1cc1a04 | 81380fce8e84367f912777717665b53f074ab617 | refs/heads/master | 2023-09-04T10:08:47.644992 | 2023-07-05T16:22:11 | 2023-07-05T16:22:11 | 85,928,537 | 2,421 | 497 | Apache-2.0 | 2023-03-21T06:56:21 | 2017-03-23T09:03:48 | C# | UTF-8 | C++ | false | false | 995 | cpp | #include "il2cpp-config.h"
#include "StackTrace.h"
namespace il2cpp
{
namespace os
{
static Il2CppBacktraceFunc s_StackBacktraceFunc = 0;
void StackTrace::WalkStack(WalkStackCallback callback, void* context, WalkOrder walkOrder)
{
if (s_StackBacktraceFunc == 0)
{
... | [
"y755737878@gmail.com"
] | y755737878@gmail.com |
8b4df5da9450096cd4fefc602b87c0906bfd98b6 | fe1af6c53666464c7ae82a33e2b2f0a40f05ebfc | /round_427/C.cpp | 4601ab6318f50efdcd547f72aea3e9c1b9b52d3d | [] | no_license | kushagra7589/codeforces-contests | 6320af5f6d93db38a64f28d918fc3a274e296aee | 0870a850d5be7b8b2c6f6d8c24f0caf5ab6eaa9c | refs/heads/master | 2021-07-10T08:41:30.975195 | 2017-10-07T12:06:10 | 2017-10-07T12:06:10 | 104,304,905 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,700 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int, int> pii;
const int MAX_SIZE = 1e5 + 10;
#define F first
#define S second
ll dp[12][110][110];
vector<ll> A[12][110][110];
set< pair<int, int> > points;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(0);
for(int i = 0;... | [
"kushagra15049@iiitd.ac.in"
] | kushagra15049@iiitd.ac.in |
213cffbf8e5381dba0ce373bf8db3e21ef573646 | 6bca587e888ad96062e7d74f96e28e05f2da51a6 | /android/external/chromium_org/content/browser/media/android/browser_media_player_manager.cc | 8752f0d7121659739e67ab9ff9c5a1465b4bca9a | [
"BSD-3-Clause"
] | permissive | ChrisP-Android/android-actions | 07a3bd732cb731ac6176b768b1ce19e5f520a303 | ac57ff55fbca5f4e3cf8851b17c42dafa2f9f46c | refs/heads/master | 2020-12-14T18:51:47.340113 | 2015-10-28T17:42:12 | 2015-10-28T17:42:12 | 44,614,459 | 1 | 0 | null | 2015-10-20T15:07:25 | 2015-10-20T15:07:25 | null | UTF-8 | C++ | false | false | 22,112 | cc | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/browser/media/android/browser_media_player_manager.h"
#include "base/android/scoped_java_ref.h"
#include "base/command_line.h"
#include... | [
"lee.li@lemaker.com"
] | lee.li@lemaker.com |
77c8164a1c4d1fb80ab3a2096d3e56353e91623b | e02a75042ee1f0da2d32996b7cd7269a80c8502e | /AtCoder/abc005/c.cpp | 368ffb5d14696c0e0228366e103f322bbe135154 | [] | no_license | KL-Lru/Competitive-Programming | 35131245d630e7b8728e2707066dc871e6363230 | d9395043ea439c68bcbdd1ed52fe080444dcc140 | refs/heads/master | 2021-06-18T03:17:16.583231 | 2021-04-05T14:09:00 | 2021-04-05T14:09:00 | 193,652,887 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 498 | cpp | #include<bits/stdc++.h>
using namespace std;
#define max 100
int main(){
int t,n,m,i,j=0;
int a[max],b[max];
bool ans=true;
cin>>t>>n;
for(i=0;i<n;i++) cin>>a[i];
cin>>m;
for(i=0;i<m;i++) cin>>b[i];
for(i=0;i<n;i++){
if(a[i]<=b[j]&&b[j]<=a[i]+t) j++;
if(j==m)... | [
"kilattoeruru@outlook.jp"
] | kilattoeruru@outlook.jp |
271323f25b6d0fda6cf005cd61f8a0fff5e0deb4 | 24f26275ffcd9324998d7570ea9fda82578eeb9e | /third_party/blink/renderer/core/paint/image_element_timing.h | 1f6ac8fbcd0d396ed2ed658ecd2449ff404d317f | [
"BSD-3-Clause",
"LGPL-2.0-only",
"BSD-2-Clause",
"LGPL-2.1-only",
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer",
"GPL-2.0-only",
"LicenseRef-scancode-other-copyleft"
] | permissive | Vizionnation/chromenohistory | 70a51193c8538d7b995000a1b2a654e70603040f | 146feeb85985a6835f4b8826ad67be9195455402 | refs/heads/master | 2022-12-15T07:02:54.461083 | 2019-10-25T15:07:06 | 2019-10-25T15:07:06 | 217,557,501 | 2 | 1 | BSD-3-Clause | 2022-11-19T06:53:07 | 2019-10-25T14:58:54 | null | UTF-8 | C++ | false | false | 5,063 | h | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef THIRD_PARTY_BLINK_RENDERER_CORE_PAINT_IMAGE_ELEMENT_TIMING_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_PAINT_IMAGE_ELEMENT_TIMING_H_
#include <uti... | [
"rjkroege@chromium.org"
] | rjkroege@chromium.org |
947f99de66ee1145fd69e4bec7acf73e511d0c9f | 2f874d5907ad0e95a2285ffc3592b8f75ecca7cd | /src/beast/beast/HeapBlock.h | 31572b0419ef515ee9b042eb1f46587c5db729f4 | [
"ISC",
"BSL-1.0",
"MIT-Wu",
"MIT"
] | permissive | dzcoin/DzCoinService | fb93809a37fad0a26bf26189266b44cf4c797865 | b0056717d6bcc1741f4fb3f3f166cd8ce78393f9 | refs/heads/master | 2021-01-20T20:28:41.639585 | 2016-08-15T06:21:51 | 2016-08-15T06:21:51 | 65,678,478 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,642 | h | //------------------------------------------------------------------------------
/*
this file is part of beast: https://github.com/vinniefalco/beast
copyright 2013, vinnie falco <vinnie.falco@gmail.com>
portions of this file are from juce.
copyright (c) 2013 - raw material software ltd.
please vis... | [
"dzgrouphelp@foxmail.com"
] | dzgrouphelp@foxmail.com |
1726a4482cea002c4a11f68d3551b37482a152f2 | 98fa8894cf4a7045e01dc1be43b74cce84cebc18 | /Code/nettest/HttpManager.cpp | 069430516da2c31add315818df0a56458a71deff | [
"Apache-2.0"
] | permissive | liuxianghong/HaoRuiYun | 612207290c19c035bc5226481960841129831668 | 85f091824b2f2cd4a8b5f24a434b8b2ae279e3f3 | refs/heads/master | 2021-01-12T09:46:18.885353 | 2016-12-17T06:03:44 | 2016-12-17T06:03:44 | 76,248,435 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,424 | cpp | #include "HttpManager.h"
static HttpManager *p_httpManager = 0;
HttpManager::HttpManager(QObject *parent) : QObject(parent)
{
m_networkManager = new QNetworkAccessManager(this);
connect(m_networkManager,SIGNAL(finished(QNetworkReply*)),SLOT(replyFinished(QNetworkReply*)));
connect(m_networkManager
... | [
"178483623@qq.com"
] | 178483623@qq.com |
65219d69d9b0082967c63372a8515593f315574d | e7333be13d1cc1ce6333688419efb9af75420aed | /OpenGL/src/VertexBuffer.h | 7373d8c15db65f4edae6efc01efde9bf5afbe783 | [] | no_license | FedericoSerini/OpenGL | c537a6e1ecf19f7b50078fac387701028035a1e5 | a37ffd042fe5130f65d78a27e3f68a41c6db2c77 | refs/heads/master | 2022-12-01T06:00:33.098701 | 2020-07-01T19:45:35 | 2020-07-01T19:45:35 | 275,006,455 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 233 | h | #pragma once
class VertexBuffer
{
private:
unsigned int m_RendererID;
public:
VertexBuffer(const void* data, unsigned int size);
~VertexBuffer();
// const perche non modificano nulla
void Bind() const;
void Unbind() const;
}; | [
"roacefg@gmail.com"
] | roacefg@gmail.com |
d0b62c2075a58c0a5dc4d3292e2c1314cb260650 | b83d4194c0cf011c8e5c8d5e473f1450c7dd01f5 | /source/kao2engine/SendInstruction.cpp | 289cbd01467dd53c1810cddad8dd39d8a778c896 | [] | no_license | IllegalContent/ZookieWizard | 67f01c8fd84c338627493a664a2cffba6a46364b | 7633950a46062def12c91f082c9ee5dab4f9e04b | refs/heads/master | 2021-01-01T08:06:45.791431 | 2020-02-08T04:44:19 | 2020-02-08T04:44:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,113 | cpp | #include <kao2engine/SendInstruction.h>
#include <kao2ar/Archive.h>
namespace ZookieWizard
{
////////////////////////////////////////////////////////////////
// SendInstruction interface
// <kao2.????????> (constructor)
// <kao2.0057DF50> (destructor)
//////////////////////////////////////////////... | [
"46760021+Flower35@users.noreply.github.com"
] | 46760021+Flower35@users.noreply.github.com |
92df55257bbfd2011541513655f8742c110b92e1 | c79c3c636b04050ede33f7ff57afd8345922e231 | /addons/alpha_characters/CfgGroups.hpp | df1cce06bac4f921a9073b0b3866d75c097cea92 | [] | no_license | 7Cav/7CavAddon | 076fa15d19152f92c0b1bcb516abf9f8ef41a886 | 7e104738f4bced806f65e7c8219dc1f74952559a | refs/heads/main | 2023-08-05T04:42:12.217690 | 2023-08-04T20:12:26 | 2023-08-04T20:12:26 | 174,180,453 | 6 | 7 | null | 2023-08-16T16:09:45 | 2019-03-06T16:27:12 | C++ | UTF-8 | C++ | false | false | 4,390 | hpp | class CfgGroups {
class West {
class BLU_USA_7CAV_F {
name = ECSTRING(common,faction_display);
class Cav_Alpha_Infantry_Squads {
name = CSTRING(Cat_Alpha_Company_Inf);
class Cav_B_A_Buffalo_Team {
name = CSTRING(A_Team_Bu... | [
"andreas.brostrom.ce@gmail.com"
] | andreas.brostrom.ce@gmail.com |
20cf3e8ab8aa774b0dd47903d4cccae20dc9ac17 | 189f52bf5454e724d5acc97a2fa000ea54d0e102 | /ras/fluidisedBed/0.33/p | 4b14271a6b19fae1d60afd916a200d75aaca3617 | [] | no_license | pyotr777/openfoam_samples | 5399721dd2ef57545ffce68215d09c49ebfe749d | 79c70ac5795decff086dd16637d2d063fde6ed0d | refs/heads/master | 2021-01-12T16:52:18.126648 | 2016-11-05T08:30:29 | 2016-11-05T08:30:29 | 71,456,654 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 46,370 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1606+ |
... | [
"peterbryz@yahoo.com"
] | peterbryz@yahoo.com | |
fae53f6e12e82d9dac26d895931577f850e0cecc | eb7c3395b5edc43f1333cd13db1272a5124532b6 | /deptran/commo.h | 07c55712cfa092f5950dfbac984fee6f02cc269b | [] | no_license | lolo-pop/dast | 6febd59ed5efe6fa2f8c227cd874e0512cc31f84 | 3a3dcb5225e0690bcd874be1d9d7f80f168735c1 | refs/heads/master | 2023-03-19T20:08:32.370128 | 2021-03-16T14:40:40 | 2021-03-16T14:40:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,674 | h | #pragma once
#include "__dep__.h"
#include "constants.h"
#include "rcc/graph.h"
#include "rcc/graph_marshaler.h"
#include "command.h"
#include "command_marshaler.h"
#include "txn_chopper.h"
#include "rcc_rpc.h"
#include "msg.h"
#include "txn_chopper.h"
#include "communicator.h"
namespace rococo {
class Coordinator;... | [
"michael.xschen@gmail.com"
] | michael.xschen@gmail.com |
4d602619076f4248fc9e7b0e0bc4599e1e5deda7 | d2244dc530ce05ebc8d8e654c4bcf0dae991e78b | /android_art-xposed-lollipop-mr1/runtime/dex_file_verifier_test.cc | 3239d5bac8a58e63dc65d2eeb8e68980c3e141b4 | [
"NCSA",
"Apache-2.0"
] | permissive | java007hf/Dynamicloader | 6fe4b1de14de751247ecd1b9bda499e100f4ec75 | 474427de20057b9c890622bb168810a990591573 | refs/heads/master | 2021-09-05T21:19:30.482850 | 2018-01-31T03:10:39 | 2018-01-31T03:10:39 | 119,626,890 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 9,036 | cc | /*
* 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 the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requir... | [
"benylwang@pacewear.cn"
] | benylwang@pacewear.cn |
7e042b1d3d3e2cb704d518d60c250756e03b30d3 | e641bd95bff4a447e25235c265a58df8e7e57c84 | /components/performance_manager/public/voting/voting.h | e5f61977bee27eac878431582735c4b1dab31e77 | [
"BSD-3-Clause"
] | permissive | zaourzag/chromium | e50cb6553b4f30e42f452e666885d511f53604da | 2370de33e232b282bd45faa084e5a8660cb396ed | refs/heads/master | 2023-01-02T08:48:14.707555 | 2020-11-13T13:47:30 | 2020-11-13T13:47:30 | 312,600,463 | 0 | 0 | BSD-3-Clause | 2022-12-23T17:01:30 | 2020-11-13T14:39:10 | null | UTF-8 | C++ | false | false | 31,895 | h | // Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_PERFORMANCE_MANAGER_PUBLIC_VOTING_VOTING_H_
#define COMPONENTS_PERFORMANCE_MANAGER_PUBLIC_VOTING_VOTING_H_
// Declares the various str... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
43a7dde5b09b57639e49e202fba32ec9efea1052 | 768316ed72470715e641fda62a9166b610b27350 | /02-CodeChef-Easy/40--Tennis.cpp | d459630ea65d3b0bba56613b8ba40260fac323d1 | [] | no_license | dhnesh12/codechef-solutions | 41113bb5922156888d9e57fdc35df89246e194f7 | 55bc7a69f76306bc0c3694180195c149cf951fb6 | refs/heads/master | 2023-03-31T15:42:04.649785 | 2021-04-06T05:38:38 | 2021-04-06T05:38:38 | 355,063,355 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,011 | cpp | #include <bits/stdc++.h>
#define INF 1000 * 1000 * 1000
using namespace std;
int t, n, l[55], b[55], v[55], c[55];
double get(double t){double ans = 0;for(int i = 0; i < n; i++){double wher = c[i] - (v[i] * t + b[i]);
ans += wher * wher;} return sqrt(ans) / t;}
int main(){ios_base::sync_with_stdio(0); cin >> ... | [
"dhneshwod@gmail.com"
] | dhneshwod@gmail.com |
969148311bb655234eaefb7897cc41e288187835 | 6f16de132ff2051c90e4d23b252321741d87c04b | /Source/SWPCoala/Public/DebugUserInterface.h | ccbc729b6c4d4c5f2ce58b3b6f2bc1c807283be4 | [] | no_license | Pranavpaharia/cyberpunk | e2026adbb6071512c8e78fdff189e8e765d1fdbf | e3f884d2f8a80ce9adfed2926eec1a1ae78587dc | refs/heads/master | 2021-03-11T08:39:20.281193 | 2020-03-11T10:05:47 | 2020-03-11T10:05:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 748 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Blueprint/UserWidget.h"
#include "DebugUserInterface.generated.h"
/**
*
*/
class FRegistryObject;
UCLASS(BlueprintType)
class SWPCOALA_API UDebugUserInterface : public UUserWidget, publi... | [
"pranavpaharia@gmail.com"
] | pranavpaharia@gmail.com |
f14e65e0e50fa7ae8aa20867cd7235b813f683f0 | ed4943b9a1b29fa3d3ced423a491c2e1b3e472bf | /test/simple.cc | ab551f9ce5b5ad9b23e8c936e112745051ac071a | [
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | hj3938/cascade | 7b5329a76ea9ea822bde9e87257a73ed3106a4ba | 835a7a2ee6c602666a838a366c12ca83f7134074 | refs/heads/master | 2020-04-06T13:58:12.202595 | 2018-11-13T17:23:41 | 2018-11-13T17:23:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,060 | cc | // Copyright 2017-2018 VMware, Inc.
// SPDX-License-Identifier: BSD-2-Clause
//
// The BSD-2 license (the License) set forth below applies to all parts of the
// Cascade project. You may not use this file except in compliance with the
// License.
//
// BSD-2 License
//
// Redistribution and use in source and binary fo... | [
"eric.schkufza@gmail.com"
] | eric.schkufza@gmail.com |
0a98a13690ea30fb556054cf4a3b1591c6199215 | c080549fb807238a22d14f2ea0b0e805a0db3b21 | /PauseState.cpp | b9eb640f09f7a36d340e4d87351bb635829d7396 | [] | no_license | bodaiboka/sdldemo | d41c17efb63f9efdf98d7fecbb38e8046febf9d2 | 91a186e0a6f90a6e32cc4974299e1448883a335a | refs/heads/master | 2021-01-20T06:47:20.934711 | 2017-09-08T18:20:04 | 2017-09-08T18:20:04 | 101,518,553 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,124 | cpp | #include "PauseState.h"
#include "Game.h"
#include "MenuButton.h"
#include "MainMenuState.h"
#include "InputHandler.h"
#include "StateParser.h"
const std::string PauseState::s_pauseId = "PAUSE";
PauseState::PauseState()
{
}
PauseState::~PauseState()
{
}
void PauseState::update()
{
for (GameObject* pGameObject : m_... | [
"bodaiboka@gmail.com"
] | bodaiboka@gmail.com |
728f21c2cca4531420db9ca34866f2b6fb427ce5 | 9f605a08a05c5d1cc328ac1364846dd794546799 | /cpp_source/simulation/device.cpp | ce8b57eae6c9bb05b06d7a9d51b0fa86f608d96f | [] | no_license | Jordan-Cottle/Computer-Architecture | 1d5a817925a811d7358b31b15321c8eac792adb0 | 538bf1c511ba1f0e81def411e76053f9f8e0ccee | refs/heads/master | 2023-01-24T10:33:44.268615 | 2020-12-06T23:58:25 | 2020-12-06T23:58:25 | 294,709,982 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 788 | cpp | /*
Author: Jordan Cottle
Created: 10/03/2020
*/
#include "event.h"
#include "device.h"
SimulationDevice::SimulationDevice(std::string name)
{
this->type = name;
this->clocksProcessed = 0;
this->eventsProcessed = 0;
}
void SimulationDevice::tick()
{
this->clocksProcessed += 1;
}
void Simulati... | [
"jordancottle622@gmail.com"
] | jordancottle622@gmail.com |
f6a4330c328c003ca83e4db0d7a735cbf5933842 | 98fa75b8a40594268ab9e07729ea45e554e5f584 | /redodb/db/iterator.h | 48b1646969d99575ed87fac8939ec578b71fd397 | [
"MIT"
] | permissive | anonpmcoder/redo-ptm | 9073354d21894eee6e0a53ff178e2bea19cea9e3 | 6a81b2bd4be26e1e356db69e3b4545a2d3190ec8 | refs/heads/master | 2020-09-03T16:37:51.913969 | 2019-11-04T15:09:13 | 2019-11-04T15:09:13 | 219,510,486 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,474 | h | // Copyright (c) 2011 The LevelDB Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. See the AUTHORS file for names of contributors.
//
// An iterator yields a sequence of key/value pairs from a source.
// The following class defines the... | [
"noreply@github.com"
] | noreply@github.com |
93646d462af71cdfde2cfc344ad941fb2c8322d6 | 8ec82db88d81317fa7c16fad741c958e1120c833 | /src/test/app/fmt/streamstate.cpp | b1a1f4826fe5f7a65c9c2584299a0a244c5154ae | [
"MIT"
] | permissive | martinus/robin-hood-hashing | 3151413a8e1b0de81990fa53f675f9bda2289b5e | 7697343363af4cc3f42cab17be49e6af9ab181e2 | refs/heads/master | 2023-05-13T19:27:06.224266 | 2023-04-21T11:17:50 | 2023-04-21T11:17:50 | 11,712,291 | 1,480 | 161 | MIT | 2023-04-28T12:36:48 | 2013-07-27T23:03:45 | C++ | UTF-8 | C++ | false | false | 436 | cpp | #include <app/fmt/streamstate.h>
namespace fmt {
streamstate::streamstate(std::ostream& s)
: mStream(s)
, mPrecision(s.precision())
, mWidth(s.width())
, mFmtFlags(s.flags())
, mFill(s.fill()) {}
streamstate::~streamstate() {
restore();
}
void streamstate::restore() {
mStream.fill(mFill)... | [
"martin.ankerl@gmail.com"
] | martin.ankerl@gmail.com |
27f89c873b95ebcacb549c580cadba30f46900c0 | 993f6d4d16fc73633e7d64ec6a1c0d44fb060234 | /main.cpp | 2915b033eb4ceee1401a6b13c062b6ce52e0ea08 | [] | no_license | El-sakka/BinarySearch_Iterative_Recusive_Implementation | c24e3cad3c646d7fe07599e1aae6eca3831e412b | 0378d4ef58980c58f3b6d3bf6894964de2b70a08 | refs/heads/master | 2021-05-10T08:35:38.241883 | 2018-01-25T09:54:37 | 2018-01-25T09:54:37 | 118,894,774 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,155 | cpp | #include <bits/stdc++.h>
using namespace std;
// Assume n ---> size of array
// Assume x ---> Search Number
int BinarySearchIterative(int a[],int n,int x){
int low = 0, high = n -1;
while(low <= high){
int mid = low + (high - low)/2; // could be written as (low+high)/2 but to avoid overflow
if... | [
"mahmoudelsakka95@gmail.com"
] | mahmoudelsakka95@gmail.com |
d8acc6a7b9982324a8baaa919e6b3766c3200f81 | 39bd02bc9d5bdc3fe00433b9080c5466451f792e | /engine/runtime/libs/graphics-opengl/private/GxGraphics.GLCore/Graphics/OpenGLGpuVertexBuffer.cxx | 6de0a3454473dabe853c5db26eabf17ab68d8354 | [] | no_license | selmentdev/graphyte-engine | 7db986ec0b24b458348d4d632c661ce9f81ad671 | ed7bcda3d077d2eaa47c2d738b9d03c57adf60f2 | refs/heads/master | 2022-03-05T11:09:07.598388 | 2021-01-10T00:42:54 | 2021-01-10T00:42:54 | 219,206,110 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,379 | cxx | #include "OpenGLGpuVertexBuffer.hxx"
#include "OpenGLGpuDevice.hxx"
#include <GxBase/Flags.hxx>
namespace Graphyte::Graphics
{
GpuVertexBufferHandle OpenGLGpuDevice::CreateVertexBuffer(
uint32_t size,
GpuBufferUsage usage,
const GpuSubresourceData* subresource) noexcept
{
auto n... | [
"selmentdev@gmail.com"
] | selmentdev@gmail.com |
149344cc55b0f8e6705e55173837114f7e2acb1a | 2cd30e540d3f3e96ae696b255a4b690ceb98c873 | /第19章(模块注入与函数挂接技术)/AntiHook/detour/image.cpp | 53b8f5e04700d947d9520153ca14db7a1590d784 | [] | no_license | charlieyqin/Window_entry_to_the_master | 3e5fdb703f9c5cd528c2ce3d98e2a96df76c5039 | 2883b623b855a4da13414070374e71193a1bc250 | refs/heads/master | 2020-03-09T22:22:57.358120 | 2016-09-08T08:09:42 | 2016-09-08T08:09:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 63,618 | cpp | //////////////////////////////////////////////////////////////////////////////
//
// Image manipulation functions (image.cpp of detours.lib)
//
// Microsoft Research Detours Package, Version 2.1.
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// Used for for payloads, byways, and imports.
//
#i... | [
"liuxuanhai@163.com"
] | liuxuanhai@163.com |
2f7c368328991ffa1eec8d507980a8f6fa08ef52 | e2ab3c02d2d5a3a096a10ea330d0fe8d5ec1f409 | /Lab 13/Task 1/Source.cpp | 0dd08eb09ee3c47028a3c58413c17ab6d8c317be | [] | no_license | Haris-Rehman/CS-212-Object-Oriented-Programming | d017c0be15a8d1ba4811cf54c036ba7067fdb6dc | 95bcc696f3d852f9fd3d47ad26b40b6a1b566ee5 | refs/heads/master | 2020-12-12T02:08:55.079439 | 2020-01-16T15:16:24 | 2020-01-16T15:16:24 | 234,017,540 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,741 | cpp | //# include <iostream>
//# include "Header.h"
//using namespace std;
//
//MATRIX::MATRIX(float matrix1[][3], float matrix2[][3])
//{
// for (int row = 0; row < 3; row++)
// {
// for (int column = 0; column < 3; column++)
// {
// arr1[row][column] = matrix1[row][column];
// }
// }
// for (int row = 0; ... | [
"noreply@github.com"
] | noreply@github.com |
63caca787070798335449de391afc41a3722da1b | 09ee4019d6b6634fd0ef1a9ee6c1ba3ee8983b18 | /Home10/task2/isDouble.cpp | bb1f93869853b07a354563d9f50e7e78ce077527 | [] | no_license | Sergei-Petrov/Semestr1 | 71ac41af09eaf041961f6f62649952c67f3b5e84 | 8158c4bbee396cecc40bfa5e6febae236f069d6f | refs/heads/master | 2016-09-05T14:40:31.266282 | 2012-03-01T19:16:48 | 2012-03-01T19:16:48 | 3,591,110 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,325 | cpp | #include "stdafx.h"
#include <stdlib.h>
#include "isDouble.h"
bool sign(char c)
{
return c == '-' || c == '+';
}
bool digit(char c)
{
return c >= '0' && c <= '9';
}
bool dot(char c)
{
return c == '.';
}
bool e(char c)
{
return c == 'e';
}
bool end(char c)
{
return c == 0;
}
bool checkDouble(char *&string)
{
... | [
"sergei.petrov1994@gmail.com"
] | sergei.petrov1994@gmail.com |
5300875a067a03cf24f7a9aa6a5dec577b07468d | 44b99504cd91e9d88f7fa637140e830b4a42f769 | /ace/examples/Service_Configurator/IPC-tests/client/local_fifo_client_test.cpp | b27251e27df3fca271e0b7adf91d065960419e2a | [] | no_license | dariuskylin/utilityLib | ea847988e0c06f63657238f8405775c4ae419348 | 4afc4b016c130982e26c452028114a1d78619a57 | refs/heads/master | 2021-01-19T07:46:06.817498 | 2014-11-01T07:32:20 | 2014-11-01T07:32:20 | 4,357,328 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,198 | cpp | // local_fifo_client_test.cpp,v 4.8 2001/01/12 11:32:04 schmidt Exp
// Send a file through ACE_FIFO communication channel by
// breaking it (the file) into pieces.
#include "ace/Mem_Map.h"
#include "ace/FIFO_Send_Msg.h"
#include "ace/Get_Opt.h"
#include "ace/Log_Msg.h"
ACE_RCSID(client, local_fifo_client_test, "loca... | [
"dongyuchi@gmail.com"
] | dongyuchi@gmail.com |
db756b654f1387f6886c3587ce43af2b1605f5bf | fb3c1e036f18193d6ffe59f443dad8323cb6e371 | /src/flash/XXObject.cpp | de4f497ce82f0bb8fed8afecb960a38a3d7a298d | [] | no_license | playbar/nstest | a61aed443af816fdc6e7beab65e935824dcd07b2 | d56141912bc2b0e22d1652aa7aff182e05142005 | refs/heads/master | 2021-06-03T21:56:17.779018 | 2016-08-01T03:17:39 | 2016-08-01T03:17:39 | 64,627,195 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 45,351 | cpp | // XXObject.cpp: implementation of the XXObject class.
//
//////////////////////////////////////////////////////////////////////
#include "StdAfxflash.h"
#include "XXObject.h"
//#include "Action.h"
#include "splayer.h"
#include "ObjectString.h"
#include "ObjectFunction.h"
#include "XActionScript.h"
#include... | [
"hgl868@126.com"
] | hgl868@126.com |
fd955752a9eb0e8f547a7f2f9741ab070476a0a9 | 5c30ecb16cea7b175199ae51e28d71d951138cf6 | /nrp_nest_server_engine/nrp_nest_server_engine/python/nrp_nest_python_module.cpp | c5f398659398d4efa7e0d2c1c71c5ca0746b98de | [
"Apache-2.0"
] | permissive | Mike2208/NewNRP | 44a4c3742083c9f41bde357ff8e593cb4749f5f2 | da51bea593552509f6352e148df32c35878f8ede | refs/heads/master | 2023-02-02T13:16:59.985864 | 2020-12-14T22:51:54 | 2020-12-14T22:51:54 | 294,165,474 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,159 | cpp | //
// NRP Core - Backend infrastructure to synchronize simulations
//
// Copyright 2020 Michael Zechmair
//
// 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/lice... | [
"michael@zechmair.net"
] | michael@zechmair.net |
c3850f61f9bb9c44f2da4a982dda3fbb5addbf0a | 1e59d40a86cf6d7f6b92f5e002dc21387656aec0 | /JfF/工大机试-答案/第四章2/まだまだA+B.cpp | caa65fd34677af1a744ed829552336a69c49b2b6 | [] | no_license | Soplia/Codes | 7bb0aecfec57d8bacb33bd1765038d0cffc19e54 | 3704f55b060877f61647b7a0fcf3d2eefe7fa47e | refs/heads/master | 2020-04-20T14:06:36.386774 | 2019-02-02T23:37:21 | 2019-02-02T23:37:21 | 168,888,217 | 0 | 1 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 538 | cpp | /*
Subject:‚Ü‚¾‚Ü‚¾A+B
ID:4.2
Complier:Devcpp
Author:JiaruiXie
StartTime:04/02/17 16:13
EndTime:
*/
#include <stdio.h>
#define N 20
int array[N];
int main()
{
int m;
long a,b;
while(scanf("%d",&m)!=EOF&&m!=0)
{
scanf("%ld%ld",&a,&b);
long temp=a+b;
int size=0;
do
{
array[size... | [
"Soplia@github.com"
] | Soplia@github.com |
cdf4f25e0f9dafcb59a539fd7e592a54db0e1d38 | 93701f46ae92df40f2ef57ac1eb5b63e25d37bf0 | /ReactAndroid/src/main/java/com/facebook/hermes/reactexecutor/OnLoad.cpp | b21457247ade2d3c929865cdf0a6b72de195ca0d | [
"CC-BY-4.0",
"MIT",
"CC-BY-NC-SA-4.0",
"CC-BY-SA-4.0"
] | permissive | Pavailtech/Pavailtech | bbd1ef8f03061687967817ea49c2bbfae91f58d0 | bc210c03be495966359fb960f1e07e19b0d55590 | refs/heads/master | 2022-12-18T07:25:55.351132 | 2020-02-03T19:36:22 | 2020-02-03T19:38:31 | 231,107,062 | 1 | 0 | MIT | 2022-12-10T17:00:45 | 2019-12-31T15:01:21 | JavaScript | UTF-8 | C++ | false | false | 3,237 | cpp | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <../instrumentation/HermesMemoryDumper.h>
#include <HermesExecutorFactory.h>
#include <fbjni/fbjni.h>
#include <hermes/Pub... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
76e2e54a56ea0b77b738a40fe923deafefd9f80d | 85455876309135778cba6bbf16933ca514f457f8 | /9400/9494.cpp | 947bfed7c9637f1c16bf6c900e84c258fe8522d2 | [] | no_license | kks227/BOJ | 679598042f5d5b9c3cb5285f593231a4cd508196 | 727a5d5def7dbbc937bd39713f9c6c96b083ab59 | refs/heads/master | 2020-04-12T06:42:59.890166 | 2020-03-09T14:30:54 | 2020-03-09T14:30:54 | 64,221,108 | 83 | 19 | null | null | null | null | UTF-8 | C++ | false | false | 390 | cpp | #include <iostream>
#include <string>
using namespace std;
int main(){
int n;
int col, max;
string sentence;
while(1){
cin >> n;
if(n == 0) break;
col = 0;
cin.ignore(1000, '\n');
for(int i=0; i<n; i++){
getline(cin, sentence);
max = sentence.length();
for(; col<max; col++){
if(sentence[col... | [
"wongrikera@nate.com"
] | wongrikera@nate.com |
6e73ff4b2644ac7ebf9a79c97bb9a12f1e92c123 | 83b36ddbcc25e006dd387b2cf0d886000391d37e | /moreAlgos/max_prod.cpp | bf55f878b0622cf21fa0c0971c37bf25e6d50cbe | [] | no_license | vgknight3009/codes | 9233151af39ccb6eee407668b73ce68cb8f82704 | cb0745e95501134a4a1538cb5c9b41c13921636f | refs/heads/master | 2021-07-22T01:18:51.617950 | 2017-10-24T07:31:23 | 2017-10-24T07:31:23 | 108,089,905 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 818 | cpp | #include<iostream>
#include<cmath>
#include<climits>
using namespace std;
#define SIZE(arr) sizeof(arr)/sizeof(arr[0])
void maxProdcut(int arr[], int n)
{
int ans = arr[0];
int mxt = arr[0];
int mnt = arr[0];
for(int i=1;i<n;i++){
if(arr[i]==0){
ans = max(ans,arr[i]);
... | [
"vguptabhel19@gmail.com"
] | vguptabhel19@gmail.com |
262252582cd4a94fc8b81314631a1e2dcec653a6 | 5838cf8f133a62df151ed12a5f928a43c11772ed | /NT/printscan/print/spooler/inetsrv/spool.cxx | 5072f2e0770356db8e9a732e090b6c1440fa2abb | [] | no_license | proaholic/Win2K3 | e5e17b2262f8a2e9590d3fd7a201da19771eb132 | 572f0250d5825e7b80920b6610c22c5b9baaa3aa | refs/heads/master | 2023-07-09T06:15:54.474432 | 2021-08-11T09:09:14 | 2021-08-11T09:09:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 62,043 | cxx | /***************************************************************************
FILE spool.cpp
MODULE Printers ISAPI DLL
PURPOSE Spool Print Jobs
DESCRIBED IN
HISTORY 01/16/96 ccteng Stub
02/14/97 weihaic
11/11/... | [
"blindtiger@foxmail.com"
] | blindtiger@foxmail.com |
155af1bee553e616d494e167ae4b2f0c76e722f7 | b28305dab0be0e03765c62b97bcd7f49a4f8073d | /net/http/http_proxy_client_socket_wrapper.cc | 74bea38e08a41c22bb03c2d8850c84a7515b337b | [
"BSD-3-Clause"
] | permissive | svarvel/browser-android-tabs | 9e5e27e0a6e302a12fe784ca06123e5ce090ced5 | bd198b4c7a1aca2f3e91f33005d881f42a8d0c3f | refs/heads/base-72.0.3626.105 | 2020-04-24T12:16:31.442851 | 2019-08-02T19:15:36 | 2019-08-02T19:15:36 | 171,950,555 | 1 | 2 | NOASSERTION | 2019-08-02T19:15:37 | 2019-02-21T21:47:44 | null | UTF-8 | C++ | false | false | 28,617 | cc | // Copyright 2015 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 "net/http/http_proxy_client_socket_wrapper.h"
#include <utility>
#include "base/bind.h"
#include "base/bind_helpers.h"
#include "base/callback_... | [
"artem@brave.com"
] | artem@brave.com |
1cc7150f639b6d4993d77b4dc0fe272090767a68 | 32dd13232352ef827ae7105cfba4926af9c6cad3 | /Java-315-Obj/HW2/cNumP.cpp | 2f19e64651a809c8b6f66d97dca927932a6ba18f | [] | no_license | dtmirizzi/Schoolwork | 7e79f99877a3dd368f515dd0d61a3d43fb40140b | 56377f824bb4e960f02e8178c499008ae63f6e7d | refs/heads/master | 2021-05-04T11:27:51.374744 | 2017-06-25T20:45:18 | 2017-06-25T20:45:18 | 47,351,508 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,578 | cpp | #include "cNumP.h"
cNumP::cNumP() : cNum(){
}
cNumP::cNumP(double r, double i) : cNum(r, i){
}
cNumP::cNumP(const cNumP &cn) : cNum(cn.getR(), cn.getI()){
}
cNumP::cNumP(const cNum &cn) : cNum(cn){
}
void cNumP::setR(double r){
cNum::setR(r*std::cos(getTheta()));
}
void cNumP::setI(double i){
cNum::setI(getRad... | [
"dtmirizzi"
] | dtmirizzi |
062809cadb5442527bfe8c5752f4b961652f1693 | c03797e575d003b21709caa0b3148b976fe5738a | /1010.cpp | b7620598c397ba19960ab8448efc97fc88eb5f1c | [] | no_license | CJGC/Problems-URI-judge | cc38adfec7936edaf235db7c029618c3a2c5bbc7 | 3fba0b8d4adace131165bf8ca063bebec414f5d2 | refs/heads/master | 2020-03-28T14:43:57.822196 | 2018-09-12T18:00:12 | 2018-09-12T18:00:12 | 148,516,567 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 511 | cpp | #include <bits/stdc++.h>
using namespace std;
int main(int argc, char const *argv[]){
unsigned short int codeProduct1, codeProduct2, numberUnitsProduct1, numberUnitsProduct2;
double priceUnitProduct1, priceUnitProduct2;
cin >> codeProduct1 >> numberUnitsProduct1 >> priceUnitProduct1 >> codeProduct2 >> numberUnitsP... | [
"chjugomez@utp.edu.co"
] | chjugomez@utp.edu.co |
5f962cc5828bb9c87cb15faa56d527a4a7bc6e4b | bebcb29f296b1d04b33590d003b607e7a13aa0f5 | /scene.h | 92b46067826446c63b3454adb1cb9c3a06eb1920 | [] | no_license | mirilled/ei_maper | 71fbb33e123033ffd1d0aa6c99e43006898196f8 | ec2be3964b90745a08da1ba4a936982b29e22aa8 | refs/heads/master | 2021-08-23T21:57:26.018956 | 2017-12-06T18:39:54 | 2017-12-06T18:39:54 | 100,100,525 | 0 | 0 | null | 2017-08-12T08:48:48 | 2017-08-12T08:48:48 | null | UTF-8 | C++ | false | false | 1,023 | h | #ifndef SCENE_H
#define SCENE_H
#include "ei_types.h"
#include "ei_object.h"
#include "ei_map.h"
#include "ei_mob.h"
class CScene{
public:
CScene();
~CScene();
//objects: model, sound, particle, trap (light?!)
bool addObject(ei::CObjectInterface* obj);
bool removeObject(ei::CObjectInterface* obj);... | [
"30634453+konstvest@users.noreply.github.com"
] | 30634453+konstvest@users.noreply.github.com |
6af619a45b913a6a75a58b1bee4e594b1fd31152 | 5d42bc9fbcaf602a570d6bc6ead320ef83a4f464 | /gazebo_ros_soft_hand/include/gazebo_ros_soft_hand/gazebo_ros_soft_hand_plugin.h | bdc8695e39cca39033f6ed2e8e91683a9951d2a7 | [
"BSD-3-Clause"
] | permissive | SoMa-Project/pisa-iit-soft-hand | 1f77793877a7f58e65cdcec82a7311564287b65f | 004145301bb71b82cca4d08ffb27b77cce36b7ea | refs/heads/master | 2021-12-03T06:55:24.730027 | 2016-11-25T11:27:24 | 2016-11-25T11:27:24 | 125,882,549 | 1 | 0 | BSD-3-Clause | 2018-04-11T22:01:17 | 2018-03-19T15:48:12 | C++ | UTF-8 | C++ | false | false | 4,148 | h | /*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2013, Open Source Robotics Foundation
* Copyright (c) 2013, The Johns Hopkins University
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or wi... | [
"cjrosales@gmail.com"
] | cjrosales@gmail.com |
6d01b4bd649fe0c6f46d6df4523666f760b5f5d3 | e16058f3eb62ffe6abaf8595910585028c5873be | /csc402/assignment2/CheckingAccount.h | 060dae9b5d9bc7900e7713f0ad86a259299a6ee8 | [] | no_license | ccarr419/Academic-Projects | 6b38c7f077cd49c1c86d000b1e47e1c8446ba631 | 71967751b4233f57e858944562db38cf506fc5d3 | refs/heads/master | 2023-06-07T17:36:59.265211 | 2020-08-14T14:30:11 | 2020-08-14T14:30:11 | 51,627,389 | 0 | 0 | null | 2023-05-31T20:19:03 | 2016-02-13T01:43:09 | Java | UTF-8 | C++ | false | false | 696 | h | /**
A checking account has a limited number of free withdrawals.
const int FREE_WITHDRAWALS = 3; //number of free withdrawals.
const int WITHDRAWAL_FEE = 1; // transaction fee after 3 free withdrawals
*/
#ifndef CHECKINGACCOUNT_H
#define CHECKINGACOUNT_H
#include <iostream>
#include "BankAccount.h... | [
"ccarr419@live.kutztown.edu"
] | ccarr419@live.kutztown.edu |
53fda23e03d233d4b33a08efa9978498e12bcd76 | b516d570e74185e1957a65e1ac2a41b10b001892 | /PR410/PRO_2018_FRA/AI/client_library/client.cpp | ce3aa7cf2110da4ccfa4bc50d3c5d4bd9a0f7b21 | [] | no_license | IreNox/games_academy | 1233f096303175e21b86f380e42bde00def96969 | ee55b2c34b300dc6e5e5009ee5eaf95e2d4df4f1 | refs/heads/master | 2023-05-04T03:45:49.011919 | 2021-05-26T15:14:27 | 2021-05-26T15:14:27 | 264,388,147 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,168 | cpp | #include "client.h"
#define _USE_MATH_DEFINES
#include <math.h>
#include <minmax.h>
#include <stdio.h>
namespace GamesAcademy
{
template <typename T> T sgn( T val )
{
return T((T( 0 ) < val) - (val < T( 0 )));
}
int Client::run( const char* pUsername, DoActionCallback pCallback, void* pUserData )
{
m_pCall... | [
"mail@timboden.de"
] | mail@timboden.de |
9ed6fb71da19df5a6a3c55fe3e5136c841918f86 | 1f8fce7d8e8890b88006d7d85e22fa6898257e25 | /计算π.cpp | 96ac88040c0d4a0d260c4bc673424ce0ec9f7d06 | [] | no_license | dagangwood163/xzq | 4da538993ff27560547b6f9e5cd013bc32db57b3 | 549ab34720c64f25b8014e09a9faac7dabbf2b4a | refs/heads/master | 2020-05-29T12:19:52.246626 | 2016-01-10T10:24:59 | 2016-01-10T10:24:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 262 | cpp | #include<iostream>
#include<cmath>
using namespace std;
int main()
{
system("color 5e");
int n=1,sign=1;
double sum=0.0;
double u=0.0;
do
{
u=1.0/(2*n-1);
sum=sum+u*sign;
sign=(-1)*sign;
n=n+1;
}while(u>1.0e-7);
cout<<4*sum<<endl;
return 0;
}
| [
"1040175504@qq.com"
] | 1040175504@qq.com |
ee04e59c3ad81b68c25c5cf218674f976970ba88 | a50fda0c786786da0b37971609d978721b954b87 | /Haldane_Interacion/tool/backup/cnpy.h | 83f1e5e17122cc96474fe68aacf9968ab16e8712 | [] | no_license | saunter999/work_projects | 3e483cd96157e6ccce1d83bc06ee9c768f71c285 | d1db6535372d20ccf96e5d547e3af11101b63656 | refs/heads/master | 2020-04-05T04:35:10.594289 | 2018-11-07T14:20:38 | 2018-11-07T14:20:38 | 156,557,206 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,917 | h | //Copyright (C) 2011 Carl Rogers
//Released under MIT License
//license available in LICENSE file, or at http://www.opensource.org/licenses/mit-license.php
#ifndef LIBCNPY_H_
#define LIBCNPY_H_
#include <string>
#include <stdexcept>
#include <sstream>
#include <vector>
#include <cstdio>
#include <typeinfo>
#include ... | [
"qhan555@163.com"
] | qhan555@163.com |
7d7be3303acb15da464f67bd7d1ab27365f1c55f | 92a9f837503a591161330d39d061ce290c996f0e | /LIB/ArcHelperEx/build/SRC/AheBugEvasion.cpp | a8177d251e4c63f14e24840f836189694fe4b7e4 | [] | no_license | AntLJ/TestUploadFolder | 53a7dae537071d2b1e3bab55e925c8782f3daa0f | 31f9837abbd6968fc3a0be7610560370c4431217 | refs/heads/master | 2020-12-15T21:56:47.756829 | 2020-01-23T07:33:23 | 2020-01-23T07:33:23 | 235,260,509 | 1 | 1 | null | null | null | null | SHIFT_JIS | C++ | false | false | 4,068 | cpp | /*
* Copyright (C) INCREMENT P CORP. All Rights Reserved.
*
* THIS SOFTWARE IS PROVIDED BY INCREMENT P CORP., WITHOUT WARRANTY OF
* ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
* WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE
* AND NONINFRINGEMENT.
*
* IN NO EVENT SHAL... | [
"noreply@github.com"
] | noreply@github.com |
f89e9ba5e3d76cc49baaf923adbeac447240cca4 | 9dd7633fd0625e5b5858a3d7a2fd9791d39bd137 | /3DMathPrimer/MyEngine/Src/Renderer.cpp | 309532b51476c3b435a43824a25c77c7df4d302c | [] | no_license | breaker/studies | 9f47846f8e8fbe7330a3fab5dd7d4ab711d44b60 | 015050ee892587ad0b5af4f2ac235134190fbe59 | refs/heads/master | 2022-12-04T16:31:04.104470 | 2022-11-24T10:23:27 | 2022-11-24T10:23:27 | 6,194,386 | 9 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 89,636 | cpp | /////////////////////////////////////////////////////////////////////////////
//
// 3D Math Primer for Games and Graphics Development
//
// Renderer.cpp - Very simple low-level 3D renderer interface
//
// Visit gamemath.com for the latest version of this file.
//
// ---------------------------------------------... | [
"breakerzhao@qq.com"
] | breakerzhao@qq.com |
cfb429ac56391b738422b12790e3034f11f9f3a6 | 475ff35268ac4c337f8e6ad0791266bffe6bdbc2 | /src/script/sign.cpp | f42c99d9ed7e7693b2776e07925e25938c81bc9f | [
"MIT"
] | permissive | dequant-project/dequant | 5618311084f0ea80981d2d9a39d8bb24e7fbb054 | b69aa204f6c1774d6d16d4537920dd70bd18b142 | refs/heads/main | 2021-06-16T08:56:04.882807 | 2021-03-01T21:49:31 | 2021-03-01T21:49:31 | 173,586,676 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 9,454 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2016-2018 The PIVX developers
// Copyright (c) 2018-2021 The Dequant developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-lic... | [
"dequant@gmx.net"
] | dequant@gmx.net |
3e4bf8262fc9bf8dab708a42d47ce7d307a627d4 | dc25bcafc5df1bd283334527d97b604386c974ad | /kattis/tournament/main.cpp | 1973d44377928825fb8d904b76848dd8422ef391 | [] | no_license | mackeper/AlgorithmsAndDataStructures | 5ee83dd4ee274e1c34763b31aca05c6c22bec725 | f3eb428112d9a7545741b03b29fcd0d45db777ea | refs/heads/master | 2022-06-01T03:27:24.532414 | 2022-05-20T15:33:37 | 2022-05-20T15:33:37 | 158,453,929 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,754 | cpp | #include <bits/stdc++.h>
#include "flow_graph.hpp"
using namespace std;
#define rep(i, a, b) for(int i = a; i < (b); ++i)
#define trav(a, x) for (auto& a : x)
#define all(x) x.begin, x.end()
#define sx(x) (int)(x).size()
typedef long long ll;
typedef pair<int,int> pii;
typedef vector<int> vi;
int main() {
cin.sync_w... | [
"mpt.ostling@gmail.com"
] | mpt.ostling@gmail.com |
ae51c6305d0af3a0c73e1ba7b7581deac6a6a73a | 7a7addc0e81bbd75fcb4912195adaf3032b2c24d | /IOI/2004/Hermes/Hermes.cpp | d933e7f0253194d71d33eb887c586c9652ed64fb | [] | no_license | saribekyan/competitive-programming | 6e492ee0c1550fc4bab538a965e4825609cfbda2 | eeae87c2c40d85680b97a5d5f27e4dfbc02437e7 | refs/heads/master | 2021-05-04T03:07:22.576203 | 2019-04-06T14:55:55 | 2019-04-06T14:55:55 | 120,372,197 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 791 | cpp | #include <stdio.h>
#include <math.h>
#define Min(a, b) ((a)<(b)?(a):(b))
int x[20010], y[20010];
int a[2][20010], b[2][20010];
int main()
{
freopen("hermes.in", "r", stdin);
freopen("hermes.out", "w", stdout);
int m, n, p, q, sw, i, j;
scanf("%d", &n);
x[0] = y[0] = 0;
for (i = 1; i <= n; i++)
sc... | [
"shaykshe@gmail.com"
] | shaykshe@gmail.com |
b4358e6ccc3ef75cc39d26855e3ec1dcf28515e6 | 3ede8ea795198ba2ba9be735c31aaf304655ebd4 | /perfect_number_bfs.cpp | f254b7b54f2bf180c89a501d27848b2b4adfe3af | [] | no_license | bensonlin321/Algorithm_BFS_1 | 7d69a61e3f95d41a2b8d65bd8eb57aa3a11a6905 | 488d1a3a569642feb4e172ff80144ebf1385af80 | refs/heads/master | 2022-12-16T12:20:50.024377 | 2020-09-26T15:54:06 | 2020-09-26T15:54:06 | 298,803,483 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,075 | cpp | #include <stdlib.h>
#include <stdio.h>
#include <string>
#include <math.h>
#include <queue>
#include <unordered_set>
#include <iostream>
class Solution2 {
public:
bool is_perfect_square(double x) {
// check if the number is perfect square
double sqrt_num = sqrt(x);
return ((sqrt_num - floor... | [
"benson.lin@skywatch.com.tw"
] | benson.lin@skywatch.com.tw |
85c1e3ee2123b8a5c2bd0bff253c5d3f232b8762 | 27ebc7adb261225341eaf995ae181e5530f311f9 | /Code/UOJ/31.cpp | cff28a0105d23f47f1f47bbac6ed54f60338fb84 | [] | no_license | Hermera/OI | 9ecf1d5545701afeb3273d9be720cf3e16643c14 | d8a79de409065c790ca0ad3019ca1d2ea7550b34 | refs/heads/master | 2021-06-21T05:44:34.805477 | 2021-06-09T17:17:11 | 2021-06-09T17:17:11 | 93,643,345 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 580 | cpp | #include <cstdio>
#include <cstring>
#include <algorithm>
using namespace std;
const int N = 2e5+5;
int n, t, m;
char str[N];
typedef pair<int, int> pi;
#define fir first
#define sec second
pi put[N];
int main() {
scanf("%s", str + 1);
n = strlen(str + 1);
for(int i = 1; i <= (n/2); ++i)
if(str[i... | [
"1150168343@qq.com"
] | 1150168343@qq.com |
39eb56e3d4f3fa03814a53a37e51824e6c5c9ebc | bece8b97cdb15988562c8c8dc27a5b58cd3acb90 | /oilrig/Resources/SideTwist/SideTwist/include/parser.h | 788175f14de6b1186e7d7a269af0ef60ff3b8cc1 | [
"Apache-2.0"
] | permissive | center-for-threat-informed-defense/adversary_emulation_library | 4382e78f56faa635d5a6cc89bce5b36f3b74476c | 4b1d1327ebfbd550ba7e5f1b5562c1f3db61311e | refs/heads/master | 2023-08-12T20:08:57.078612 | 2023-07-17T16:54:16 | 2023-07-17T16:54:16 | 259,753,257 | 1,220 | 243 | Apache-2.0 | 2023-09-06T16:23:00 | 2020-04-28T21:16:54 | C | UTF-8 | C++ | false | false | 162 | h | #pragma once
#include <vector>
#include <string>
void splitOnPipe(std::string &data, std::vector<std::string>* pFieldsVector);
void parseHTML(std::string &data); | [
"cself@mitre.org"
] | cself@mitre.org |
20443fd980a5506e9618d8406c7719ae88cdfb6c | cf6a896005fc4a8f6b1373613dfaeb3f4c5ac445 | /Direct Programming Question/Dfs Nice.cpp | 4a84602b0b57810e7e911338b047dd653b7b7110 | [] | no_license | SHANTAM29/Competitive-Programming-Template | d968d5373d17d64ab953e1d46e1293412e5f1ebe | 9decdae95428286132f8fbcc11559675dcf82570 | refs/heads/master | 2023-03-31T15:57:53.156207 | 2021-04-02T09:07:26 | 2021-04-02T09:07:26 | 122,968,703 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,018 | cpp | #include<bits/stdc++.h>
#define ff first
#define ss second
#define pb push_back
#define mp make_pair
#define len(s) s.length()
#define forp(i,a,b) for( i=a;i<=b;i++)
#define rep(i,n) for( i=0;i<n;i++)
#define ren(i,n) for( i=n-1;i>=0;i--)
#define forn(i,a,b) for( i=a;i>=b;i--)
#define all(v) v.begin()... | [
"noreply@github.com"
] | noreply@github.com |
e043738c3b7abd939c780795585b6392faa764b7 | f0699cf428f3377c70fc844f677bacb8667789f5 | /bubble sort/main.cpp | 07bc768304fbc40b21874d6f625203aed544abdd | [] | no_license | cbasil98/Pratice | 20ade7b592271889c85ed06ea90f963184a99ff7 | 124ac0932e85a5320aaca033518629fea43ba698 | refs/heads/master | 2020-03-21T09:38:16.844249 | 2018-09-06T10:19:37 | 2018-09-06T10:19:37 | 138,409,877 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 487 | cpp | #include <iostream>
using namespace std;
int main()
{
int i,j,n,a[20],temp;
cout<<"Enter the number of elements:";
cin>>n;
cout<<"Enter the elements:";
for(i=0;i<n;i++)
cin>>a[i];
for(i=0;i<n;i++)
{
for(j=0;j<n-i;j++)
{
if(a[j]>a[j+1])
{
... | [
"cbasil98@gmail.com"
] | cbasil98@gmail.com |
ca55bd6ff983e3f990eaa326bf051bd284ffd30d | 23a25868ffa9df3c75fcc51b63e7f9157c0cf970 | /src/exceptions/src/exceptions.cpp | 0b28a1ec5f5d01084587f56c53a5af5f156ec7d9 | [] | no_license | mprzybylak/Cpp14-minefield | 88a60d32c7a45ec5e2ff931bd1a9b3c4e6e5e27c | 481a5ca2c4eadc6f68b0a9baed2b53950c5cabf9 | refs/heads/master | 2020-04-04T14:22:16.528881 | 2014-12-23T13:57:51 | 2014-12-23T13:57:51 | 28,126,195 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 585 | cpp | #include <iostream>
#include <stdexcept>
using namespace std;
class BadArea{};
int area(int a, int b) {
if(a <= 0 || b <= 0) {
throw BadArea{};
}
return a* b;
}
int just_throw(string text) {
throw runtime_error(text);
return -1;
}
int main() {
// our exception
int a = 0;
try{
... | [
"michal.przybylak@gmail.com"
] | michal.przybylak@gmail.com |
65cc82d9edb38c08b39b2487e9cc862920c96b7d | 6a27b6d484481ef6e7dc1c865331b1c8371b83e1 | /be/src/vec/functions/function_json.cpp | 6abdc6a4b2e7415bfe839b61d36e7c5a47d4b7dc | [
"BSD-3-Clause",
"GPL-2.0-only",
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"PSF-2.0",
"dtoa",
"MIT",
"bzip2-1.0.6",
"OpenSSL"
] | permissive | HappenLee/incubator-doris | 6b011c57bd97464aa50221de277093895a2677b5 | c74113773a33dbcba35763984b0789db90635191 | refs/heads/master | 2023-09-01T21:05:33.828221 | 2022-08-28T15:10:47 | 2022-08-29T03:31:16 | 264,080,199 | 2 | 5 | Apache-2.0 | 2023-07-26T06:24:35 | 2020-05-15T02:51:56 | C++ | UTF-8 | C++ | false | false | 22,887 | cpp | // Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may... | [
"noreply@github.com"
] | noreply@github.com |
515c5e6be8a950a2ec99502316fac839053b117c | 6a8241fcbaf9709c5934082a9e13a24538ee399a | /lab_1.cpp | d6bb29e241337dd6c14e78ab775128ac1af61763 | [] | no_license | haunt333/NumericalMethods | cc004bd2770f11910d32dafea6cd2faf7f035009 | 76f5b4cdc3ccd23fa3ad5ed8e9362ffe5cfe7ef2 | refs/heads/master | 2020-12-15T19:18:39.161224 | 2020-03-24T13:04:57 | 2020-03-24T13:04:57 | 235,226,331 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,804 | cpp | #include "pch.h"
#include <iostream>
#include <cmath>
#include <iomanip>
using namespace std;
double f(double x) {
return exp(-x*x);
}
double rectangle(int n, double a, double b) { //метод прямоугольников
double result = 0;
double h = 0.001;
//double h = 0.01;
for (int i = 0; i < n; i++) {
double x1 = a + i ... | [
"noreply@github.com"
] | noreply@github.com |
8bf38afccae8eb8e64886bdaadb88549fbcf3661 | e7e6864776c6fa4545eba29ac7728daa227c7ccf | /kurs/ui_input.h | c3b4f0ebaa2c66c2f13a595187b06ea94e7adb20 | [] | no_license | bohdanpankovetsky/Kursova20.03.2018 | a901d94a10e0da58f73ce4ed7d6b642883286e7e | 6ea04cd8fc6f638f9f48976666673ee87ad33c78 | refs/heads/master | 2021-09-10T01:16:51.847607 | 2018-03-20T13:37:33 | 2018-03-20T13:37:33 | 126,009,924 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,834 | h | /********************************************************************************
** Form generated from reading UI file 'input.ui'
**
** Created by: Qt User Interface Compiler version 5.6.3
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
*********************************************... | [
"bohdanpankovetsky@gmail.com"
] | bohdanpankovetsky@gmail.com |
5963eefedf0c4bff792289916e5eb4bcb9579c0a | 590eb4cc4d0fe83d9740ce478f857ca3a98e7dae | /OGDF/src/ogdf/fileformats/UmlModelGraph.cpp | 992f1d1e858c774247813953bbbcc7240efab419 | [
"MIT",
"LGPL-2.1-or-later",
"GPL-3.0-only",
"GPL-1.0-or-later",
"EPL-1.0",
"GPL-2.0-only",
"LicenseRef-scancode-generic-exception",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | cerebis/MetaCarvel | d0ca77645e9a964e349144974a05e17fa48c6e99 | a047290e88769773d43e0a9f877a88c2a8df89d5 | refs/heads/master | 2020-12-05T05:40:19.460644 | 2020-01-06T05:38:34 | 2020-01-06T05:38:34 | 232,023,146 | 0 | 0 | MIT | 2020-01-06T04:22:00 | 2020-01-06T04:21:59 | null | UTF-8 | C++ | false | false | 2,410 | cpp | /** \file
* \brief Implementation of the class UmlModelGraph
*
* \author Dino Ahr
*
* \par License:
* This file is part of the Open Graph Drawing Framework (OGDF).
*
* \par
* Copyright (C)<br>
* See README.txt in the root directory of the OGDF installation for details.
*
* \par
* This program is free softw... | [
"jayg@cbcbsub00.umiacs.umd.edu"
] | jayg@cbcbsub00.umiacs.umd.edu |
fdc18afcce6b6e6507b7be7561a68ad55f878d2a | 69d0deb5921edc82eea0ae184db99b87a0ca6900 | /catkin_ws/src/srrg2_slam_interfaces/srrg2_slam_interfaces/src/srrg2_slam_interfaces/motion_models/motion_model_constant_velocity.hpp | c32d7e51a2df7b2bf64ceff088c05df41729195c | [
"MIT",
"BSD-3-Clause"
] | permissive | laaners/progetto-labiagi_pick_e_delivery | 8d4006e206cd15b90b7e2291876c2b201e314621 | 3453bfbc1dd7562c78ba06c0f79b069b0a952c0e | refs/heads/main | 2023-08-19T00:17:51.491475 | 2021-09-16T16:35:45 | 2021-09-16T16:35:45 | 409,192,385 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,507 | hpp | #pragma once
#include "motion_model_base.hpp"
namespace srrg2_slam_interfaces {
template <typename EstimateType_>
class MotionModelConstantVelocity : public MotionModelBase_<EstimateType_> {
public:
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
using EstimateType = EstimateType_;
using ThisType = MotionModelC... | [
"hu.183947@studenti.uniroma1.it"
] | hu.183947@studenti.uniroma1.it |
a0287966c67d439e16832e9307cff98c304be504 | 956de60a4237b7ada2758d1e2c74ef7d008381a6 | /BeggsAndBrill/IEnvironmentBeggsAndBrill.h | a8c963481be00992ef718b60401921f58f58271e | [] | no_license | Linkovschik/BeggsAndBrill | 84d0604d8604b677b909197688d5b8f2692ef535 | 1ab26ac7eb83d218c68e33a8e10ae28d32121155 | refs/heads/master | 2023-02-08T22:14:33.203006 | 2020-12-21T17:00:40 | 2020-12-21T17:00:40 | 322,270,559 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 947 | h | #pragma once
class IEnvironmentBeggsAndBrill
{
public:
virtual double GetNormalToughnessAround() const= 0; //плотность в затрубном прос-ве при н.у.
virtual double GetNormalTemperatureAround() const = 0; //температура в затрубном прос-ве при н.у.
virtual double GetNormalPressureAround() const = 0; //давление ... | [
"Linkovschik@users.noreply.github.com"
] | Linkovschik@users.noreply.github.com |
0b88050e571caa01fe744d557bcfaf91f9f8464c | 76058258eb7600f246da01d70d9ba27c2fd03f17 | /Trapping_Rain_Water/test02.cpp | 66c23f0f1f344b2bddb27aea968fa8a5acd5e2f2 | [] | no_license | Eudaemonal/cci | 73355a721f2a45250fcc6c1d1d01d15afcdfd68f | 954e70dd151391296ee5789fc46bf748f93ffd94 | refs/heads/master | 2018-10-30T09:04:02.786959 | 2018-08-23T13:30:52 | 2018-08-23T13:30:52 | 114,123,450 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 942 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
#include <assert.h>
template <typename T>
std::ostream& operator<<(std::ostream& os, const std::vector<T> &v){
for(size_t i=0; i < v.size(); ++i){
os << v[i] << " ";
}
os << "\n";
return os;
}
int f(std::vector<int> v){
int n = v.size();
std::vector... | [
"eudaemonal@gmail.com"
] | eudaemonal@gmail.com |
6178dc03dbdae617f147e655f32f9ae8606bd125 | 722f6a051632b0c1b428d2a375416da65a0157b4 | /USocial.cpp | 327699e5578f63f5e05f24c65465f8d2744971bf | [] | no_license | noamgrinch/USocial | f11f14f40f8f415709718b26305ab22e95952d19 | c3a9420ac0f06e2bd147d656246f63f7b23e0561 | refs/heads/master | 2023-06-17T20:06:46.489645 | 2021-07-06T13:48:02 | 2021-07-06T13:48:02 | 383,253,858 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,245 | cpp | #include "USocial.h"
#include<map>
#include <stdexcept>
#include <sstream>
#include <string>
using namespace std;
USocial::USocial() {
_id_counter = 1;
}
USocial::~USocial() {
map<unsigned long, User*>::iterator it;
for (it = _users.begin(); it != _users.end(); it++)
{
delete it->second;
}
_users.clear();
}
Use... | [
"noamgrinch@gmail.com"
] | noamgrinch@gmail.com |
440d94a2f942c7749dc2083159bebdaa4cf55039 | 76f0efb245ff0013e0428ee7636e72dc288832ab | /out/Default/gen/blink/bindings/core/v8/V8SVGFEPointLightElement.cpp | eec3ed4e59d9e6652f4d7deda2e31b57ab68fe6e | [] | no_license | dckristiono/chromium | e8845d2a8754f39e0ca1d3d3d44d01231957367c | 8ad7c1bd5778bfda3347cf6b30ef60d3e4d7c0b9 | refs/heads/master | 2020-04-22T02:34:41.775069 | 2016-08-24T14:05:09 | 2016-08-24T14:05:09 | 66,465,243 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 6,814 | cpp | // 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.
// This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY!
#include "V8SVGFEPointLightElement.h"
#include "bindings/core/v8/ExceptionS... | [
"dckristiono@gmail.com"
] | dckristiono@gmail.com |
7fe86cbaa0aaf6eeb005122ff8ece0ef13b43a77 | afd58d722bf68ae4559c3fab71ddc75461243e9e | /src/alert.cpp | c64054641050312427ca18e7887e02fa9b8ebb8f | [
"MIT"
] | permissive | coinddev/DashGold | e829b499318b3265530e509e1fee7a56e3429e00 | 2788c1e98ea30f0e5d98a115350092387b71cd29 | refs/heads/master | 2021-05-01T19:50:46.693805 | 2018-02-09T20:45:34 | 2018-02-09T20:45:34 | 120,953,452 | 0 | 0 | null | 2018-02-09T20:40:42 | 2018-02-09T20:40:42 | null | UTF-8 | C++ | false | false | 7,264 | cpp | //
// Alert system
//
#include <boost/foreach.hpp>
#include <map>
#include "alert.h"
#include "key.h"
#include "net.h"
#include "sync.h"
#include "ui_interface.h"
using namespace std;
map<uint256, CAlert> mapAlerts;
CCriticalSection cs_mapAlerts;
static const char* pszMainKey = "04f55a5211b4de3f065a439899b2bedd8bb... | [
"33598181+dashgolddev@users.noreply.github.com"
] | 33598181+dashgolddev@users.noreply.github.com |
76407c5633874af57062b49de38811538543e15d | a65c77b44164b2c69dfe4bfa2772d18ae8e0cce2 | /zerojudge/a121.cpp | 6698cf4699b48130e18003bdb27049cac332b31c | [] | no_license | dl8sd11/online-judge | 553422b55080e49e6bd9b38834ccf1076fb95395 | 5ef8e3c5390e54381683f62f88d03629e1355d1d | refs/heads/master | 2021-12-22T15:13:34.279988 | 2021-12-13T06:45:49 | 2021-12-13T06:45:49 | 111,268,306 | 1 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 2,345 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define MEM(a, b) memset(a, (b), sizeof(a))
#define FOR(i, j, k, in) for (ll i=j ; i<k ; i+=in)
#define RFOR(i, j, k, in) for (ll i=j ; i>=k ; i-=in)
#define REP(i, j) FOR(i, 0, j, 1)
#define REP1(i,j) FOR(i, 1, j+1, 1)
#define RREP(i, j) RFOR(i, j, 0,... | [
"j312094@nehs.hc.edu.tw"
] | j312094@nehs.hc.edu.tw |
535021d9e7825b50f79747dea8e1436bb0206466 | 1bc4a7e7d7f60b5b2e1787b5a4f4df215609f163 | /course/12.BST/top_view.cpp | 22e9412ba547d32f5195d9e1aa9c7fefb48e9b02 | [] | no_license | silent-lad/GFG | 296f853548f9ed4086e0c246d0d1855b088f25b3 | 7a5c6da30a78d338d276c22fb10f69c42169c1b9 | refs/heads/master | 2022-12-31T21:07:02.836946 | 2020-10-10T14:51:56 | 2020-10-10T14:51:56 | 296,585,102 | 1 | 0 | null | 2020-10-03T22:05:05 | 2020-09-18T10:08:52 | C++ | UTF-8 | C++ | false | false | 555 | cpp | #include <bits/stdc++.h>
using namespace std;
#define ll long long
struct Node
{
ll value;
Node *left;
Node *right;
};
unordered_map<ll, Node *> mp;
bool top_view(Node *root, ll distance = 0)
{
queue<Node *> q;
q.push(root);
q.push(NULL);
while (!q.empty())
{
while (q.front()... | [
"divyansh2998@icloud.com"
] | divyansh2998@icloud.com |
a88f8cd59cfa7aaf2e72a59dcb9193654908ee2c | 1cc5d45273d008e97497dad9ec004505cc68c765 | /cheatsheet/ops_doc-master/Service/cpp/CppPrimer/PartFour/ExceptionTest.h | 5f1bf0e954b8558e63d0bbfb062b074586ff64dd | [] | no_license | wangfuli217/ld_note | 6efb802989c3ea8acf031a10ccf8a8a27c679142 | ad65bc3b711ec00844da7493fc55e5445d58639f | refs/heads/main | 2023-08-26T19:26:45.861748 | 2023-03-25T08:13:19 | 2023-03-25T08:13:19 | 375,861,686 | 5 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 1,764 | h | #pragma once
#include <string>
class ExceptionTest
{
public:
// 构造函数处理初始值时抛出的异常,因为还没进入构造函数内
// 必须将构造函数写成函数try语句块
ExceptionTest(std::string init) try : memStr(init) {/*构造函数体*/}
catch (...) {/*异常处理*/};
~ExceptionTest() = default;
// C++11:noexcept关键字是noexcept specification,
// 表示对此函数作出了不抛出... | [
"wangfl217@126.com"
] | wangfl217@126.com |
2ce5c838a11b6497fa3cf31ca41badadaf034822 | fa04923b39bcf3db63e82b37aa6d35fd742d8975 | /Core/src/channel/ichannel.h | d8c023d8b461fe1e6be213a822f761f2668a4226 | [] | no_license | nonametr/mls | 47da669d523f379a13ad48c5f10d5815ad65ee10 | f8ff04a55d49d9ce553d19f12f760402023b22a9 | refs/heads/master | 2021-01-19T00:16:34.640453 | 2013-11-01T13:42:53 | 2013-11-01T13:42:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,609 | h | #ifndef MLS_ICHANNEL_H
#define MLS_ICHANNEL_H
#include <qobject.h>
#include <string>
#include "json.h"
#include "ichannel.h"
#include "irender_widget.h"
#include "plugin.h"
class MlsMain;
using namespace std;
typedef void* PLUGIN_CHANNEL_HANDLE;
class IChannel : public QObject
{
Q_OBJECT
public:
virtual void star... | [
"ikuruch@gmail.com"
] | ikuruch@gmail.com |
75aab873e5d454d687c917559608609f0910ae53 | 67b81240f7a9b1b53213d445f5d0e4ec4da1beb6 | /app/src/cpp/AbstractSocketServer.h | c183056a4c24ba0c22df4a3503e1b73d73008b9a | [
"Apache-2.0"
] | permissive | woaimaomao/android-demo | b8416d9247f24bd9606ac3c97dc01c16f1ff6b57 | 2210ec2ef4e18a2ae232d3d9d14244e70ad45a37 | refs/heads/master | 2020-03-24T20:37:52.559788 | 2018-07-16T16:40:26 | 2018-07-16T16:41:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 786 | h | //
// Created by wujingchao on 18/5/27.
//
#ifndef ANDROID_DEMO_ABSTRACTSOCKETSERVER_H
#define ANDROID_DEMO_ABSTRACTSOCKETSERVER_H
/**
* 参考:http://www.cnblogs.com/Anker/p/3265058.html
*/
#include <list>
#include <cstdlib>
class AbstractSocketServer {
public:
AbstractSocketServer(const char* ip, int port):
... | [
"wujingchao92@gmail.com"
] | wujingchao92@gmail.com |
361575a23d44fade2b43c9d73539b7cb2125c259 | a8b5b29d13c96bf1750beb9cd7e6cae86246073f | /gfg/strings/Minm_chars_to_be_inserted_at_front_to_make_string_palindromic.cpp | 88d7fc02d9c53541db882b96198e65419e22f1bc | [
"MIT"
] | permissive | Pawanupadhyay10/placement-prep | 4ff4c1169a5eff5e7e642f8696f13be639f8df84 | 0449fa7cbc56e7933e6b090936ab7c15ca5f290f | refs/heads/main | 2023-08-07T19:38:21.069227 | 2021-10-12T08:31:26 | 2021-10-12T08:31:26 | 422,773,158 | 1 | 0 | MIT | 2021-10-30T03:26:05 | 2021-10-30T03:26:04 | null | UTF-8 | C++ | false | false | 725 | cpp | // @author: Saurabh Raj
// @user: saurabhraj042
//https://www.geeksforgeeks.org/minimum-characters-added-front-make-string-palindrome/
class Solution
{
public:
int getMinCnt(string s){
if(s.length()==1) return 0;
vector<int> pi = prefix_function(s);
return s.length()-pi[pi.size()-1];
... | [
"saurabhraj042@gmail.com"
] | saurabhraj042@gmail.com |
75fe23122ad9d0bae4764c3edc6b045e5695ee79 | 809108fe3e7c725374f2ce774c838f24d63fc57d | /source/io.cpp | b2d5fffaaff0878b389ef4a2d0c7c55e9928d8c4 | [] | no_license | Dandelion0124/FeaturesColorCorrection | affeb96fcc23c9d834f04af3914ef0e5492da831 | 0e081c80fc254b40e1cd80d9af805437ea5c66fe | refs/heads/master | 2021-01-20T23:37:04.726412 | 2015-03-26T11:52:47 | 2015-03-26T11:52:47 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 4,012 | cpp | #include "function.h"
void readLabels(string lbfn, int& w, int& h, int& regionum, vector<int>& labels)
{
fstream fin (lbfn, ios::in);
if (fin.is_open() == false)
{
cout << "failed to read " << lbfn << endl;
return ;
}
regionum = 0;
fin >> w >> h;
labels.resize(w*h);
for (int i = 0; i < w*h; ++i)
{
fin... | [
"summerada11@163.com"
] | summerada11@163.com |
fc9dd38a568c43249b945738db5ae06e4e2a6862 | 3ceb56f011d99f8d6f394adc31f50f091c7751f0 | /tetra.ino | 22ff3bc0249bddc9ecad45ecfc8e08b744301ac2 | [] | no_license | acosinwork/tetra | a75c76c8ffb6311e4408f959925f697a8ba51a2c | 9e7e67c89df9797311fa07ddb1ab5e6c47bd2c04 | refs/heads/master | 2016-09-10T20:24:43.678540 | 2014-09-14T20:24:09 | 2014-09-14T20:24:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 286 | ino | #include "init.h"
#include "subroutine.h"
#include "uitask.h"
#include "slowtask.h"
#define UI_UPDATE_TIME 50
#define SLOW_UPDATE_TIME 200
void setup()
{
init();
}
void loop()
{
uiTask(UI_UPDATE_TIME);
slowTask(SLOW_UPDATE_TIME);
subroutine();
}
| [
"acosinwork@yandex.ru"
] | acosinwork@yandex.ru |
efc625fbddf749c85298adc332a1a86b730cc4ce | 1b7bc0c8810624c79e1dade01bb63177058f1a28 | /Voltron/Source/DataStructures/HashTables/HashFunctions.cpp | b1ceea50fe7c5d440c36566dacf309d17e006c7f | [
"MIT"
] | permissive | ernestyalumni/HrdwCCppCUDA | 61f123359fb585f279a32a19ba64dfdb60a4f66f | ad067fd4e605c230ea87bdc36cc38341e681a1e0 | refs/heads/master | 2023-07-21T06:00:51.881770 | 2023-04-26T13:58:57 | 2023-04-26T13:58:57 | 109,069,731 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 773 | cpp | #include "HashFunctions.h"
#include <algorithm> // std::for_each
#include <cstddef>
#include <cstdint>
#include <string>
namespace DataStructures
{
namespace HashTables
{
namespace HashFunctions
{
UnitIntervalToHash::UnitIntervalToHash(const std::size_t m):
m_{m}
{}
DivisionMethod::DivisionMethod(const std::size... | [
"ernestyalumni@gmail.com"
] | ernestyalumni@gmail.com |
1d3de8a5cd9c5251e98ea8c5dd4a33f1906ef3ba | 99f24730741d718ef8ed901d3023e98a9dd536cd | /Items/Item 41 Reasons for ptr_fun mem_fun etc.cpp | 525aad112ffd999e6b2a3e897716f5846f477e10 | [] | no_license | jordantonni/Effective_STL | 84838c42b22fc4442bdb359cf362c1e01b4504c6 | fe2a1145e421e333f1f7f1b1a1af448a70c140e6 | refs/heads/master | 2021-01-17T04:29:37.253666 | 2017-04-19T15:04:02 | 2017-04-19T15:04:02 | 82,966,349 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,904 | cpp | /*
* ptr_fun, mem_fun, mem_fun_ref
*
* Three ways to call a function, f, on an object, x:
* (1) f(x); Pass x to function f
* (2) x.f(); Invoke method f on object x
* (3) p->f(); Invoke method f on the object x pointed to by pointer p
*
* In order to invoke a function passed to an STL algori... | [
"jordantonni@outlook.com"
] | jordantonni@outlook.com |
18c6a3873da8931588921c7cf945f2e127736ef4 | 182adfdfa907d3efc0395e293dcdbc46898d88eb | /Temp/il2cppOutput/il2cppOutput/mscorlib_System_Action_1_gen1260274741.h | 7cebaea09e0d38cde9c54790d408d99ff3c547e3 | [] | no_license | Launchable/1.1.3New | d1962418cd7fa184300c62ebfd377630a39bd785 | 625374fae90e8339cec0007d4d7202328bfa03d9 | refs/heads/master | 2021-01-19T07:40:29.930695 | 2017-09-15T17:20:45 | 2017-09-15T17:20:45 | 100,642,705 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 854 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include "mscorlib_System_MulticastDelegate3201952435.h"
#include "mscorlib_System_Void1841601450.h"
// SA.AndroidNative.DynamicLinks.ShortLinkResult
struct ShortLinkResult_t14584753... | [
"zk.launchable@gmail.com"
] | zk.launchable@gmail.com |
55ef93cafe3be77ceddebaf7fbac5bd51640032b | 8a815610a3d9ee31098cf50459d58f7f5bcc419c | /2. window_programming/ch08/xx02-static/xx02-staticView.cpp | 2ac8e024f42f9a7af86dc193c824f59d43c184b0 | [] | no_license | hackerlank/2015_second_semester | 8ce7735bab02c6ba0c9ab70afae6642a9a31045f | 7b756b5961b3f9fce982513830f1781d2cec8207 | refs/heads/master | 2021-01-12T05:43:51.565908 | 2016-01-06T04:19:15 | 2016-01-06T04:19:15 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 3,586 | cpp |
// xx02-staticView.cpp : Cxx02staticView 클래스의 구현
//
#include "stdafx.h"
// SHARED_HANDLERS는 미리 보기, 축소판 그림 및 검색 필터 처리기를 구현하는 ATL 프로젝트에서 정의할 수 있으며
// 해당 프로젝트와 문서 코드를 공유하도록 해 줍니다.
#ifndef SHARED_HANDLERS
#include "xx02-static.h"
#endif
#include "xx02-staticDoc.h"
#include "xx02-staticView.h"
#ifdef _DEBUG
#define new ... | [
"woongnistelrooy@hanmail.net"
] | woongnistelrooy@hanmail.net |
ad95ab97f736775707a018602e16bd9634e8dec6 | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /chrome/browser/chromeos/arc/notification/arc_provision_notification_service.h | 6a50843d80a04d67697aa85fbcde205ad3875342 | [
"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,979 | h | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_CHROMEOS_ARC_NOTIFICATION_ARC_PROVISION_NOTIFICATION_SERVICE_H_
#define CHROME_BROWSER_CHROMEOS_ARC_NOTIFICATION_ARC_PROVISION_NOTI... | [
"sunny.nam@samsung.com"
] | sunny.nam@samsung.com |
54f5581e218821a2898a0708e5ababed610748a7 | 55a1e10fa7d5579501304bc5ccbce1a116b7d677 | /Related projects/ex10/include/RayTracerState.hpp | 6d3724db81506b2a5cc0a732ac157c66756de249 | [] | no_license | skakri09/PG612-innlevering-3 | 968421de7d0008ef83a956978233ebf15fa4ea23 | 16ef0a3dec4e7593e1a06c99e74a25768ba83fff | refs/heads/master | 2021-01-10T19:57:53.817218 | 2013-05-24T13:00:49 | 2013-05-24T13:00:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,732 | hpp | #ifndef _RAYTRACER_STATE_HPP__
#define _RAYTRACER_STATE_HPP__
#include <memory>
#include <glm/glm.hpp>
#include "SceneObject.hpp"
#include "Light.h"
/**
* The RayTracerState class keeps track of the state of the ray-tracing:
* the objects in the scene, camera position, etc, and its main responsibility
* is to R... | [
"kristianskarseth@msn.com"
] | kristianskarseth@msn.com |
b284ce6897ce17ab2183a6a2bf91884667be3ca9 | 5f5078182d96fca82e4e41939dbc6afacf51bbfa | /src/zone.cc | d78c19b8913e4b1b38e054f0ed52557b172ea872 | [
"BSD-3-Clause",
"MIT"
] | permissive | thomaslee0051/v8-1.2 | 3eb16057d172c1d1ead8bea61fb235ee4808fc51 | 31842272741d89ceba552ef2e6b0625e144183bb | refs/heads/main | 2023-08-14T18:24:56.716548 | 2021-10-14T03:59:25 | 2021-10-14T03:59:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,746 | cc | // Copyright 2006-2008 the V8 project authors. All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this lis... | [
"2531118662@qq.com"
] | 2531118662@qq.com |
7c3653ed7ba544028a92adfdbf68a2f03deeccd8 | 3f3095dbf94522e37fe897381d9c76ceb67c8e4f | /Current/UI_LockOn_Counter_Entry.hpp | 34274782ed2b229f4ac6a78b72f53117db4a3446 | [] | no_license | DRG-Modding/Header-Dumps | 763c7195b9fb24a108d7d933193838d736f9f494 | 84932dc1491811e9872b1de4f92759616f9fa565 | refs/heads/main | 2023-06-25T11:11:10.298500 | 2023-06-20T13:52:18 | 2023-06-20T13:52:18 | 399,652,576 | 8 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 638 | hpp | #ifndef UE4SS_SDK_UI_LockOn_Counter_Entry_HPP
#define UE4SS_SDK_UI_LockOn_Counter_Entry_HPP
class UUI_LockOn_Counter_Entry_C : public UUserWidget
{
FPointerToUberGraphFrame UberGraphFrame;
class UWidgetAnimation* AnimLimit;
class UWidgetAnimation* AnimPing;
class UUI_ImageTinted_C* Background;
clas... | [
"bobby45900@gmail.com"
] | bobby45900@gmail.com |
a8209f8eae6c095b66b978d05f683cc1225105c1 | 67a8f62dd8d13549be500ea86aeda74de2f808d0 | /Nova pasta/Arvore/ARVORE.H | 3b379db3f1121ec8689effc53e6d780857d12a7b | [] | no_license | Brunnomo/AulaEstruturaDeDados | 6cab066100170e492949eb88209ecbe8166b10ad | 9a60a0f90dc95a752a1d17eac4d9128c8a039f5e | refs/heads/master | 2021-09-08T00:46:58.879512 | 2018-03-04T17:30:44 | 2018-03-04T17:30:44 | 103,576,066 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,064 | h | #ifndef ARVORE_H_INCLUDED
#define ARVORE_H_INCLUDED
using namespace std;
template<typename Tipo>
struct Node{
Tipo info;
Node<Tipo> *pEsq;
Node<Tipo> *pDir;
};
template<typename Tipo>
struct Bst{
Node<Tipo> *pRaiz;
Bst(){
pRaiz=NULL;
}
void insere(Node<Tipo> *&t,Tipo x){
i... | [
"30478237+Brunnomo@users.noreply.github.com"
] | 30478237+Brunnomo@users.noreply.github.com |
2b80b2b52936b96c425313d817ad2f46904cbb0f | 51cb7b26a5926fa876eb16473fb912729f200640 | /Kaltura.CaptureEngine/FFMpegWrappers/FileWriter.h | 622e6cb47d45fecbb3b3a4bb990d3a38047f3fb5 | [] | no_license | guy1976/Capture | 8a2feb6a7c786ec87f07c815dea20811d6b3528c | 6c6631ad78cbce2dd9071ff2141ee528b1e8df66 | refs/heads/master | 2021-01-23T21:29:49.199913 | 2014-04-27T18:26:42 | 2014-04-27T18:26:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 592 | h | #pragma once
#include "FFMpegCommon.h"
class CFileWriter
{
std::unique_ptr<AVOutputFormat, std::function<void(AVOutputFormat *)>> m_avOutputFormat;
std::unique_ptr<AVFormatContext, std::function<void(AVFormatContext *)>> m_avFormatContext;
public:
AVFormatContext* GetContext() { return m_avFormatContext.get(); }... | [
"guy1976@gmail.com"
] | guy1976@gmail.com |
42e2c7c7ad94a1aad7df8af48562090066d98c8a | 45efbf62c64ddaad0fe47606ca36af7b99007378 | /pthread_with_class_example/src/main_runner.cpp | 7993578957d464addb69f00c60cff0efd2d66c80 | [
"Apache-2.0"
] | permissive | OptimistLabyrinth/operating-system_programming | aa866d1d9cefa11c8158780f227c04acabd56cdd | 9ee1a0033070f783a58a87edc7c6c7aead6e0a8b | refs/heads/master | 2020-04-01T02:30:20.307761 | 2019-01-16T07:37:28 | 2019-01-16T07:37:28 | 152,781,624 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 371 | cpp | #include "../include/main_runner.hpp"
int main()
{
CLASS_TEST ct(THREAD_TYPE_01_DEF);
Thread_Manager tm(THREAD_TYPE_01_DEF);
thread_args_01 l_args(17, "yes");
ct._args_to_execute(reinterpret_cast<void*>(&l_args));
tm.create_new_thread(reinterpret_cast<void*>(&ct));
print("pause here");
w... | [
"keesung0705@gmail.com"
] | keesung0705@gmail.com |
588caeaa382e044050e7c93f07d96a197ffb6be8 | 8c6442ab0b9be98149a5807e19facd678c889d1c | /libs/common/lib/BtCore/Bt/Com/TcpClientServer.hpp | 2a56a54cf19217424b285acc3d2b9a16beed9625 | [] | no_license | bittailor/BtNightLight | 9b94aa97b89898453e8f9f9d3cc007922ad01631 | 01660659277abab5961007f55eda522d520d9e89 | refs/heads/master | 2023-03-21T05:28:33.810678 | 2021-03-14T15:08:05 | 2021-03-14T15:08:05 | 343,350,647 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,247 | hpp | //*************************************************************************************************
//
// BITTAILOR.CH - ArduinoCore
//
//-------------------------------------------------------------------------------------------------
//
// Bt::Com::TcpClientServer
//
//********************************************... | [
"schnyderfranz@gmail.com"
] | schnyderfranz@gmail.com |
fc8e512336c579a0c7e8fbf94c5f86786804c630 | 31d99db75f4cf9f94cdcc1164ed6d4493d2c3a78 | /src/annealing.h | 9d818e9e8915bdd73f196a33b98cd9ae313fd004 | [] | no_license | garncarz/eternity | d138be5eacb76200a57ea80fd73a8b091d695db7 | 5d8d03936de70213a7d85014c1072b932b61bca8 | refs/heads/master | 2021-01-22T03:43:58.989839 | 2020-01-02T01:03:02 | 2020-01-02T01:03:02 | 18,659,702 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,229 | h | /**
* @file annealing.h
* reseni problemu simulovanym zihanim
*/
#ifndef ANNEALING_H
#define ANNEALING_H
/**
* namespace obalujici veci starajici se o reseni problemu
* simulovanym zihanim
*/
namespace Annealing
{
/**
* vrati energii aktualni oceli
* @return aktualni energie oceli
*/
double count_e... | [
"ondrej@garncarz.cz"
] | ondrej@garncarz.cz |
382aa7e4c479d2a92b9f4017539742a9df747dd3 | 519de3b9fca2d6f905e7f3498884094546432c30 | /kk-4.x/frameworks/av/media/libstagefright/AMRExtractor.cpp | 031fcbce65df2e788849989102cd7c70f96ff6f6 | [
"Apache-2.0",
"LicenseRef-scancode-unicode"
] | permissive | hongshui3000/mt5507_android_4.4 | 2324e078190b97afbc7ceca22ec1b87b9367f52a | 880d4424989cf91f690ca187d6f0343df047da4f | refs/heads/master | 2020-03-24T10:34:21.213134 | 2016-02-24T05:57:53 | 2016-02-24T05:57:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,092 | cpp | /*
* Copyright (C) 2009 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | [
"342981011@qq.com"
] | 342981011@qq.com |
5ce338aa2774fc45bcfed3679fa3c100725b3e07 | 43b503d5b488f076192401e93ca736f67b27eea4 | /Gear/main.cpp | 77bc666a18d236eff4de57febe42e78bdefd56ac | [] | no_license | gianmarco-todesco/Gear | 3585ac6963b77d24011a3189758a51e6106e334e | efc580293e16d944dfa6efb893cdcc51f423cb07 | refs/heads/master | 2021-01-22T19:42:09.422500 | 2017-03-17T18:33:10 | 2017-03-17T18:33:10 | 85,229,814 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,562 | cpp | #include "Viewer.h"
#include <QtGui/QApplication>
#include <qdebug.h>
#include "Curve.h"
#include <qmath.h>
#include <assert.h>
class EllipsePolarFunction : public PolarFunction {
public:
double getRadius(double phi) const {
return 1.0/(1.0 + 0.6*cos(phi));
}
};
/*
class SquarePolarFunction : public PolarFun... | [
"gianmarco.todesco@gmail.com"
] | gianmarco.todesco@gmail.com |
e3b032ee77b3a06fd90d22bf14e044d05dbb4ca0 | cdaf552c72f0faaccc2fee051d06408a2bf237df | /src/graphic/path_measure.cc | b7b9b97be3e2103f73cd814d783b563c96edb76a | [
"MIT"
] | permissive | lineCode/Skity | cd3e716cc29db2746f765d315d6afa25fe2806f2 | 8b8bf81e263ab2b8c64ec5eb3cbb5b000a8c4b9b | refs/heads/main | 2023-07-04T05:22:17.454641 | 2021-08-06T07:19:57 | 2021-08-06T07:19:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,085 | cc | #include "src/graphic/path_measure.hpp"
namespace skity {
PathMeasure::PathMeasure() = default;
PathMeasure::PathMeasure(Path const& path, bool forceClosed, float resScale)
: iter_(path, forceClosed, resScale) {
contour_ = iter_.next();
}
PathMeasure::~PathMeasure() = default;
void PathMeasure::setPath(const ... | [
"tangruiwen1989@gmail.com"
] | tangruiwen1989@gmail.com |
baa15cbafa5d2a9b0f64e628705e244a64ba7c2d | 48c01b5e695b2c06f27cacff431f3c566a9c8d9f | /chapter5/section1/bigstep.cpp | 34dc0a3420bfa19aba6cfbefae144c9a46a19a20 | [] | no_license | hueyhe/cpp-primer-plus-example-code | f4a76da458b17b8de490a354434dc19fae4e10ef | 5aa7e78b43984e8404a0741679eb6abea25a34a4 | refs/heads/master | 2020-08-08T15:35:50.406465 | 2019-12-09T10:39:32 | 2019-12-09T10:39:32 | 213,860,518 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 290 | cpp | // count as directed
#include <iostream>
int main() {
using std::cout;
using std::cin;
using std::endl;
int by;
cout << "Enter an integer: ";
cin >> by;
cout << "Counting by " << by << "s:\n";
for (int i = 0; i < 100; i += by) {
cout << i << endl;
}
return 0;
}
| [
"sihonghuey@163.com"
] | sihonghuey@163.com |
05c02f37da4226f2f14d625652efde6eebd54949 | 536656cd89e4fa3a92b5dcab28657d60d1d244bd | /third_party/blink/renderer/modules/webmidi/midi_port_map.h | 79f0fea64bfefafd5aadeb429ccd8cb05be276ea | [
"BSD-3-Clause",
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft"
] | permissive | ECS-251-W2020/chromium | 79caebf50443f297557d9510620bf8d44a68399a | ac814e85cb870a6b569e184c7a60a70ff3cb19f9 | refs/heads/master | 2022-08-19T17:42:46.887573 | 2020-03-18T06:08:44 | 2020-03-18T06:08:44 | 248,141,336 | 7 | 8 | BSD-3-Clause | 2022-07-06T20:32:48 | 2020-03-18T04:52:18 | null | UTF-8 | C++ | false | false | 3,132 | h | // 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.
#ifndef THIRD_PARTY_BLINK_RENDERER_MODULES_WEBMIDI_MIDI_PORT_MAP_H_
#define THIRD_PARTY_BLINK_RENDERER_MODULES_WEBMIDI_MIDI_PORT_MAP_H_
#include "third_p... | [
"pcding@ucdavis.edu"
] | pcding@ucdavis.edu |
021874c26119cd119886bf422a6ca21bc1212c85 | 6adff59578d94a5efefc9cd99ec7c9a3968044a8 | /Codehorsestshirts.cpp | 7d6169a501846280fe25120c26e5c7a510ea1be7 | [] | no_license | UdoiGogoi-github12345/Codeforces_Problems | 851cccd5fa659c9e98b3dd0ecc0399ef693d7da8 | 31b24cbd7972a876d43a4fd048d2cc119799b957 | refs/heads/main | 2023-08-14T22:33:12.620516 | 2021-09-12T12:05:05 | 2021-09-12T12:05:05 | 378,387,376 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,622 | cpp | #pragma GCC target ("avx2")
#pragma GCC optimization ("O3")
#pragma GCC optimization ("unroll-loops")
#define ONLINE_JUDGE
#include<bits/stdc++.h>
#include<iomanip>
using namespace std;
#define db1(x) cout<<#x<<": "<<x<<"\n"
#define db2(x, y) cout<<#x<<": "<<x<<" | "<<#y<<": "<<y<<"... | [
"noreply@github.com"
] | noreply@github.com |
401d1f6951ca1b1b8ace769117527a8c891b1681 | 29c28b80cfd734d171cfcfee7bd1f1344cdca0e9 | /Round667/e.cpp | ada2b94edc1db6c86c57901762dcb6e40a31e400 | [] | no_license | Elitedj/codeforces_sloved | b2c190a2bd5b4337a17ccc835c156bec3333b87f | e8270f6ce624818f3fadaa21380919aac582f4c3 | refs/heads/master | 2023-03-31T00:43:24.313196 | 2021-04-02T08:48:10 | 2021-04-02T08:48:10 | 234,066,362 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 895 | cpp | #include<bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
#define inf 0x3f3f3f3f
#define INF 0x3f3f3f3f3f3f3f3f
#define IO ios::sync_with_stdio(0)
#define DEBUG(x) cout<<"--->"<<(x)<<endl;
typedef pair<int, int> P;
const ll mod = 1e9+7;
const double eps = 1e-9;
const double PI =... | [
"747527651@qq.com"
] | 747527651@qq.com |
25ce2ab7c893bde32d73e8e28647938da6b111e8 | f7eaf482eb2d163e73e83e8c583639e4067dbca6 | /stator/symbolic/dict.hpp | aa79cb88a40bcd025ba67abc35f4a9ce6288f84c | [] | no_license | toastedcrumpets/stator | 1ce16ec5b5e02820c3ab886efc72f22570918218 | fdb35c587e1477df8bafc5291049fd4898f16ec2 | refs/heads/master | 2023-02-21T00:09:56.525742 | 2022-09-02T19:04:42 | 2022-09-02T19:04:42 | 34,253,133 | 17 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,021 | hpp | /*
Copyright (C) 2021 Marcus N Campbell Bannerman <m.bannerman@gmail.com>
This file is part of stator.
stator 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 y... | [
"m.bannerman@gmail.com"
] | m.bannerman@gmail.com |
d5a1d30fd55364139c4a9df5dfa2e0298912706a | 850433e64444ede84a02670d73004dcb658c57e4 | /Engine/LuaVM.h | f3ae33f826556ae0444f6b00f1571fd4ba58576e | [] | no_license | Symon998/world-of-might-and-magic | 602ecca41fb6b00eb9d019a457701c448a60f3ef | 054b22c1a53f465a7c9b0bc87ca76d9706e455d1 | refs/heads/master | 2020-03-07T14:23:08.412283 | 2018-03-24T09:47:40 | 2018-03-24T09:47:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 265 | h | #pragma once
class LuaVM
{
public:
inline LuaVM(): L(nullptr) {}
void Initialize();
bool DoFile(const char *filename);
protected:
struct lua_State *L;
const char *GetScriptFileLocation(const char *script_name);
};
extern LuaVM *lua; | [
"alex.g.parshin@gmail.com"
] | alex.g.parshin@gmail.com |
746b19cab9b511243e5f84fd153bcf6bd6179406 | a2e9639153e71dcf84d34b7349d69aa31b2eb678 | /zBTLC/zBTLC/game_sa/CTaskComplexGangFollower.cpp | b00e2d7c7c9f38ef97faf3a7ac498f9e4bf1541a | [] | no_license | DaDj/GTA-BTLC | ade014b3d8dbb1ecce6422328be95631226cd6f4 | 15d60cb5d5f14291317235066d64a639fffaf3ea | refs/heads/master | 2023-08-16T23:12:57.867204 | 2023-08-13T21:45:06 | 2023-08-13T21:45:06 | 83,485,003 | 4 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 37 | cpp | #include "CTaskComplexGangFollower.h" | [
"Dadj@email.com"
] | Dadj@email.com |
d36c95dc6c648eba434b3f8bbd20594efdac549c | 4db5f16f32f2860c3212eda2d1b154e43322201f | /hduOj/5023 ( A Corrupt Mayor's Performance Art )_54.cpp | 206b944f559489b6787aea814bdc52576affcb79 | [] | no_license | shentr/Algorithm | ac9c14a98ed9f8987482fcc2122246fbe27abac3 | 71496209d9ded2f9862d1a2ef2fad506ed1eeadb | refs/heads/master | 2021-01-12T05:34:15.453863 | 2017-02-25T05:51:57 | 2017-02-25T05:51:57 | 77,130,880 | 2 | 0 | null | 2016-12-22T09:38:20 | 2016-12-22T09:20:03 | null | UTF-8 | C++ | false | false | 2,422 | cpp | // 5023 ( A Corrupt Mayor's Performance Art )
//acm.hdu.edu.cn/showproblem.php?pid=5023
#include"bits/stdc++.h"
using namespace std;
const int N=1000050;
struct node
{
int left,right;
int va,flag;
}ST[N<<2];
void build(int left, int right, int num)
{
ST[num].left=left;
ST[num].right=right;
ST[nu... | [
"jsnthmstr@outlook.com"
] | jsnthmstr@outlook.com |
5c82f993da9d763f4595d8d49b93070fda1999c1 | f3f26aac306fc3f2e528010b7b70f6e7bcc341a1 | /rta.cpp | 13b0cd8d289f20dff27abc1dd4aed3c470ba342c | [] | no_license | anatara/rta | e1342943bd3c609438ce498eef6731e78c803651 | 27620a9633a652448cb551ccb37478736c4f0f7a | refs/heads/master | 2020-04-07T04:16:04.300908 | 2010-09-26T05:38:22 | 2010-09-26T05:38:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,465 | cpp | //anatara Arun Natarajan
#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/time.h>
#include "rta.h"
long long hmac_sign_gpu(char *message_files[]);
long long hmac_sign_cpu_gpu(char *message_files[]);
long long hmac_sign_cpu(char *message_files[]);
long long hors_gen_public_key_cpu();
long long... | [
"arun.n.ece@gmail.com"
] | arun.n.ece@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.