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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6090a5bdb1c4b2bebc0f967dc02ecd45cb7ed9f5 | 8362d6df6d130935e8c5e80a687e1f35e0b72c2e | /Session 6/Colors/Colors/main.cpp | a6730188a097b884d1631b5abd8f1a4952647a30 | [] | no_license | Murphy3220/C- | c38c07acd326937f9b31aba410fe15ea0ad949e7 | 7e502f451102769de135cc174ae836bf42a66248 | refs/heads/master | 2021-07-06T00:22:49.572609 | 2017-09-30T05:57:42 | 2017-09-30T05:57:42 | 105,345,768 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,917 | cpp | #include <iostream>
#include <string>
using namespace std;
class Color
{
public:
string Name;
float RedPercent;
float GreenPercent;
public:
float BluePercent;
public:
Color()
{
Name = "unknown";
RedPercent = BluePercent = GreenPercent = 0.0;
}
virtual ~Color() // destructors should be virtual
{
}
// a... | [
"31299720+Murphy3220@users.noreply.github.com"
] | 31299720+Murphy3220@users.noreply.github.com |
0adbc7263fd0d1f3084c48b91783f81bb194fe35 | c59edc4cedb6fb37534e0cea46c3cdd8a09e5a0a | /Code/transform.cpp | 29558b46d7dfc6da09da68f3f322cf0a3e6bb798 | [] | no_license | CRefice/isolation | 38230162044e6232441be434525a298a43092129 | 22bebd7b0bf3e5ec8ba3bf0d699e5ad8932e4d26 | refs/heads/master | 2021-04-23T22:11:23.379701 | 2020-03-30T15:21:45 | 2020-03-30T15:22:02 | 250,017,902 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 231 | cpp | #include "transform.h"
QMatrix4x4 to_matrix(const Transform& transform) {
QMatrix4x4 mat;
mat.translate(transform.position);
mat.rotate(transform.rot_angle, transform.rot_axis);
mat.scale(transform.scale);
return mat;
}
| [
"CRefice@gmail.com"
] | CRefice@gmail.com |
ee5a3a14f22726cbef75c569506de36e9138f724 | 709b5d9a0644f97d4ab6b7be8de3dc70ee210f21 | /leetcode/run.cpp | c0ae201fc3b12d4580a73ec4f3d052134b608615 | [
"MIT"
] | permissive | chiro2001/algorithm | b7d6105dcaea89a580fd13e1d1d67b08eecf39ad | 061421e72be19676c90871f5deab054a2caa76b9 | refs/heads/master | 2023-08-24T01:59:46.214474 | 2021-11-02T13:54:39 | 2021-11-02T13:54:39 | 402,318,990 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 170 | cpp | #define DEBUG
#include "main.cpp"
int main() {
Solution s;
// string str = "abcabcbb";
string str = "bbbbb";
PINT(s.lengthOfLongestSubstring(str));
return 0;
} | [
"Chiro2001@163.com"
] | Chiro2001@163.com |
ee7493ba7e643b98d91c13b4bcf9b9d44658a208 | 0d161aa4400cc299dca47817bac3fb840f38e71c | /cpp/ql/src/Likely Bugs/OO/NonVirtualDestructor.cpp | cc9fae1221fb7bf17add46c3b9eac3d2d0b59cd9 | [
"Apache-2.0"
] | permissive | nystrom/ql | 4492902a7046bb1be503396255a92add8cd16a86 | 4227cdb4238dde088664a9eea0b8454e6b8f0aa8 | refs/heads/master | 2020-04-02T10:59:37.867476 | 2018-10-26T08:50:06 | 2018-10-26T08:50:06 | 154,365,229 | 0 | 0 | NOASSERTION | 2018-10-23T16:57:01 | 2018-10-23T16:57:01 | null | UTF-8 | C++ | false | false | 623 | cpp | class Base {
public:
Resource *p;
Base() {
p = createResource();
}
//...
~Base() {
//wrong: this destructor is non-virtual, but Base has a derived class
// with a non-virtual destructor
freeResource(p);
}
};
class Derived: public Base {
public:
Resource *dp;
Derived() {
dp = creat... | [
"dave@semmle.com"
] | dave@semmle.com |
a25779dfacfdec3c770eac67a3284dfcc9184f05 | d61bdba2cc1d94c481a47433dbe8d99289bd9a12 | /DFS/1012.cpp | 9232e158e5d114268f5b8c170b6e37ebdf613c66 | [] | no_license | SominLeeeeee/CodingStudy | f4817bd6e8e2f47471718dcfc88985c3d66cd656 | e129e57ba53e5c7fab09e85c20576f5ef1d24f2c | refs/heads/master | 2021-07-10T01:10:28.531453 | 2021-03-10T17:21:07 | 2021-03-10T17:21:07 | 234,369,870 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 893 | cpp | // https://www.acmicpc.net/problem/1012
#include <iostream>
#include <vector>
#include <stack>
using namespace std;
vector< vector<int> > lettuce;
int N, M, K;
void dfs(int x, int y);
int main() {
int T; // 몇 번 테스트할건지
cin >> T;
cin >> M >> N >> K; // 가로, 세로, 배추 개수
lettuce.resize(N + 2);
for (int i = 0; i... | [
"somin116@gmail.com"
] | somin116@gmail.com |
91f55441fdddefad4f1a29ab00f346d9d7607ab4 | 5456502f97627278cbd6e16d002d50f1de3da7bb | /media/base/user_input_monitor.cc | 295f244901d11000ac137d1f7b170f13450c2436 | [
"BSD-3-Clause"
] | permissive | TrellixVulnTeam/Chromium_7C66 | 72d108a413909eb3bd36c73a6c2f98de1573b6e5 | c8649ab2a0f5a747369ed50351209a42f59672ee | refs/heads/master | 2023-03-16T12:51:40.231959 | 2017-12-20T10:38:26 | 2017-12-20T10:38:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,166 | 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 "media/base/user_input_monitor.h"
#include "base/logging.h"
namespace media {
#ifdef DISABLE_USER_INPUT_MONITOR
std::unique_ptr<Use... | [
"lixiaodonglove7@aliyun.com"
] | lixiaodonglove7@aliyun.com |
fc9003b37d6a4640a65a75c6ee00af5e9e74bbaf | c04695f4b06a85033ae45032f8930789a1b36452 | /src/transfinite/surface-polar.cc | 8e39a135231ae976b3ba9930615397b820320584 | [] | no_license | GridEyes-2010/transfinite | 81a6a5e84019f183b87815739f95afc9ef61fb76 | 5da226dc09606986b0c0b5140fa3860aeac4a2e0 | refs/heads/master | 2022-12-06T10:21:41.579391 | 2020-08-26T09:30:51 | 2020-08-26T09:30:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,471 | cc | #include "Eigen/LU"
#include "domain-angular.hh"
#include "parameterization-polar.hh"
#include "ribbon-compatible-with-handler.hh"
#include "surface-polar.hh"
#include "utilities.hh"
namespace Transfinite {
using DomainType = DomainAngular;
using ParamType = ParameterizationPolar;
using RibbonType = RibbonCompatible... | [
"vukung@yahoo.com"
] | vukung@yahoo.com |
b3f397df6375c6b2a5373f3faaa63ddfac9df5eb | 59d98d647f118fdca233b5214ed805023be0c93a | /drake/math/quaternion.h | 9e6ebbf187dc2c8e1640cbfda5d473d388d6b8fd | [
"BSD-3-Clause"
] | permissive | Grisson/drake | a8fa0360879d7f849ad28bcf4cf26df68259edd9 | 29901cb1b31e5703e5002de8f2400724cd5289cf | refs/heads/master | 2020-12-25T06:33:45.152520 | 2016-07-07T20:41:40 | 2016-07-07T20:41:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,609 | h | /// @file
/// Utilities for arithmetic on quaternions.
#pragma once
#include <cmath>
#include <Eigen/Dense>
#include "drake/common/eigen_types.h"
namespace drake {
namespace math {
template <typename Derived>
Vector4<typename Derived::Scalar> quatConjugate(
const Eigen::MatrixBase<Derived>& q) {
using names... | [
"david.german@tri.global"
] | david.german@tri.global |
a20c167d7d634bf94e4462bf7e13160f09bed42a | 9de8f1296e78a1e74b94ab51a690861882c3e5f9 | /Tools/MD2 normals generator/Classes/QR_Base/QR_Types/QR_Types.h | 0cd310da4df400e599ca410a0e6ccdcf9bc6b70a | [
"MIT"
] | permissive | khongten001/Mels | 989e1ef3ce9844e6f41ce64023ce9f7e5a61a6d2 | 0384db41dd1ae365f72384857e3a3dbf0b688367 | refs/heads/master | 2022-11-19T20:41:46.331904 | 2020-07-17T14:12:27 | 2020-07-17T14:12:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,585 | h | /******************************************************************************
* ==> QR_Types --------------------------------------------------------------*
******************************************************************************
* Description : QR engine basic types *
... | [
"jeanmilost@7e8401a7-7fe1-49ce-b830-781838938609"
] | jeanmilost@7e8401a7-7fe1-49ce-b830-781838938609 |
6cf7e50db766d4de48f39009e7649ff2a3329aca | 8f671c2622ec2c4910c868b00b6d325a70679797 | /src/lib/trends/trendsavailable.h | 191209ebe7c04ccfbcab2c599e86c8a647cfd6cd | [
"BSD-3-Clause"
] | permissive | qt-users-jp/twitter4qml | 0f90582c8a2a0e9e8ebed92011df4b53883c1260 | 31f34a56ff392058772b0643b34dc7943aebba32 | refs/heads/master | 2021-01-20T19:13:21.264123 | 2015-04-17T03:47:25 | 2015-09-05T00:22:43 | 69,147,462 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,392 | h | /* Copyright (c) 2012-2013 Twitter4QML Project.
* 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 l... | [
"stasuku@gmail.com"
] | stasuku@gmail.com |
8c745081c4ef0bbe48ea220eae94f5f07e8f5b36 | 219c97ca17213e239cae4ca1de4e8c57dfee016d | /game/index_imp.h | 76ec371fc6f584367d321f35ec4c517e15dfb0f8 | [] | no_license | Torla/sturdy-invention | fd8ee6c4dff50fe876907fd3b4c4516429a9bdc6 | 2e12d322e1cb9f62ccc76763b14207a51645af81 | refs/heads/master | 2021-01-19T07:29:03.162534 | 2017-05-01T18:51:34 | 2017-05-01T18:51:34 | 87,542,804 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,229 | h | #ifndef indexof_IMP_H_INCLUDED
#define indexof_IMP_H_INCLUDED
#include "index.h"
#include "iostream"
#include <algorithm>
#include <list>
template <class H,class T> indexof<H,T>::indexof():table(),numElements(0) {
}
template <class H,class T> bool indexof<H,T>::add(T & x) {
table.insert({(H)x,&x});
numE... | [
"munford.ns@gmail.com"
] | munford.ns@gmail.com |
07b99658a01ce3ae9b0b89fee693963c9ddccc6d | f969923c5151197bf65eafe5e0a7625ffb99590b | /MyProjects/FirstStudy_0/KNote_02/KHashTable.h | 99d9896a0e0271134e52456ebc774e13a83d43d2 | [] | no_license | cyh065/FirstProject | 6921e48be784757333f2aa74eb80bafa46fe0c0d | 402fbcfb8776fff75ffb1d65941f7eaac10d885b | refs/heads/master | 2020-12-24T19:36:43.156936 | 2016-05-13T09:12:42 | 2016-05-13T09:12:42 | 58,713,006 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 798 | h | #pragma once
#include "KLinkedlist.h"
template <class K>
class KHashTable
{
public:
KLinkedlist<K>* m_pArray;
int m_iLength;
int Hash(TCHAR* pName);
void Insert(K* newItem);
public:
KHashTable(int iLength);
~KHashTable();
};
template <class K>
int KHashTable<K>::Hash(TCHAR* pName)
{
int iValue = 0;
... | [
"cyh065@naver.com"
] | cyh065@naver.com |
03506646dc9cd7db286d09c1d15da596c3fec453 | 612325535126eaddebc230d8c27af095c8e5cc2f | /src/net/socket/socket_options.h | 0cdf93bfe31a779f096dd8091c8b788063bfd636 | [
"BSD-3-Clause"
] | permissive | TrellixVulnTeam/proto-quic_1V94 | 1a3a03ac7a08a494b3d4e9857b24bb8f2c2cd673 | feee14d96ee95313f236e0f0e3ff7719246c84f7 | refs/heads/master | 2023-04-01T14:36:53.888576 | 2019-10-17T02:23:04 | 2019-10-17T02:23:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,896 | 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 NET_SOCKET_SOCKET_OPTIONS_H_
#define NET_SOCKET_SOCKET_OPTIONS_H_
#include <stdint.h>
#include "net/base/net_export.h"
#include "net/s... | [
"2100639007@qq.com"
] | 2100639007@qq.com |
1d25e91be6bfbe03278a0a9743b27b75ee853f85 | 91b964984762870246a2a71cb32187eb9e85d74e | /SRC/OFFI SRC!/_Interface/WndChatFilter.cpp | 30e46aa826c80f66af582184f1f919992b049f44 | [] | no_license | willrebuild/flyffsf | e5911fb412221e00a20a6867fd00c55afca593c7 | d38cc11790480d617b38bb5fc50729d676aef80d | refs/heads/master | 2021-01-19T20:27:35.200154 | 2011-02-10T12:34:43 | 2011-02-10T12:34:43 | 32,710,780 | 3 | 0 | null | null | null | null | UHC | C++ | false | false | 8,882 | cpp | #include "stdafx.h"
#include "defineText.h"
#include "AppDefine.h"
#include "WndChatFilter.h"
#include "WndManager.h"
#include "DPClient.h"
extern CDPClient g_DPlay;
/****************************************************
WndId : APP_CHAT_FILTER - 채팅 필터
CtrlId : WIDC_CHECK1 - 일반 채팅
CtrlId : WIDC_C... | [
"66430417@qq.com@e2c90bd7-ee55-cca0-76d2-bbf4e3699278"
] | 66430417@qq.com@e2c90bd7-ee55-cca0-76d2-bbf4e3699278 |
f7a883b10c1fb8fa272f1d93e6ac59abdd716f58 | 91a882547e393d4c4946a6c2c99186b5f72122dd | /Source/XPSP1/NT/multimedia/dshow/filterus/dexter/medloc/medialoc.h | 8b3d0ae761b75c9cd170d188e5599bf9620b69e4 | [] | no_license | IAmAnubhavSaini/cryptoAlgorithm-nt5src | 94f9b46f101b983954ac6e453d0cf8d02aa76fc7 | d9e1cdeec650b9d6d3ce63f9f0abe50dabfaf9e2 | refs/heads/master | 2023-09-02T10:14:14.795579 | 2021-11-20T13:47:06 | 2021-11-20T13:47:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,568 | h | // Copyright (c) 1998 - 1999 Microsoft Corporation. All Rights Reserved.
// MediaLocator.h : Declaration of the CMediaLocator
#ifndef __MEDIALOCATOR_H_
#define __MEDIALOCATOR_H_
#include "resource.h" // main symbols
/////////////////////////////////////////////////////////////////////////////
// CMediaLocato... | [
"support@cryptoalgo.cf"
] | support@cryptoalgo.cf |
e830c7f636862b8a83b9ee03568779140bc29940 | 2bcfdc7adc9d794391e0f79e4dab5c481ca5a09b | /applications/hac-widgets/widgets/src/widgets/hacdatetimelabel.cpp | f8cdef8659aa485b15feaa35d1b59f0e020bcba8 | [] | no_license | etop-wesley/hac | 592912a7c4023ba8bd2c25ae5de9c18d90c79b0b | ab82cb047ed15346c25ce01faff00815256b00b7 | refs/heads/master | 2021-01-02T22:45:32.603368 | 2010-09-01T08:38:01 | 2010-09-01T08:38:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,016 | cpp | //#define QT_NO_DEBUG_OUTPUT
#include <QDebug>
#include <QPainter>
#include <QTimer>
#include <QDateTime>
#include "hacdatetimelabel.h"
#define DEFAULT_ALIGNMENT (Qt::AlignCenter)
#define DEFAULT_DISPLAY_ROLE (HacDateTimeLabel::DateTime)
#define DEFAULT_REFRESH_INTERVAL (60*1000) //ms
#define DEFAULT_STRING_FORMAT ("y... | [
"wesley@debian.(none)"
] | wesley@debian.(none) |
1e16a11b828ed5e3e5f23fb9112e0423883dbe99 | 30f461d8a3a44a9f47d849dc3d7444ddfdfc23b3 | /src/shapecraft/render/viewport/ViewportContainer.cpp | c30c82346d1ebb1b04829e274971b8654841672a | [] | no_license | seanchas116/shapecraft | edd9d3f7f77a23ce3de5a591b2ea8fbce7a5570c | bf3bd62456f59aac049f67dcbf787ab393d82910 | refs/heads/master | 2020-07-26T21:11:20.585184 | 2019-10-21T16:27:31 | 2019-10-21T16:27:31 | 208,766,348 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,241 | cpp | #include "ViewportContainer.hpp"
#include "HitAreaMap.hpp"
#include "Renderable.hpp"
#include "Util.hpp"
#include "Viewport.hpp"
#include "shapecraft/util/Debug.hpp"
#include <QMouseEvent>
#include <QOpenGLDebugLogger>
#include <QOpenGLPaintDevice>
#include <QPainter>
#include <QTransform>
namespace shapecraft {
names... | [
"iofg2100@gmail.com"
] | iofg2100@gmail.com |
0943aa5d9e12c74d365acd8c07d3ca15ff4a46b2 | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/git/new_hunk_2438.cpp | 1fa93390d02be3d2d6d8413f90c48b287c94aa9e | [] | no_license | ccdxc/logSurvey | eaf28e9c2d6307140b17986d5c05106d1fd8e943 | 6b80226e1667c1e0760ab39160893ee19b0e9fb1 | refs/heads/master | 2022-01-07T21:31:55.446839 | 2018-04-21T14:12:43 | 2018-04-21T14:12:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 214 | cpp | if (!(object->flags & (CLIENT_SHALLOW|NOT_SHALLOW))) {
packet_write(1, "shallow %s",
oid_to_hex(&object->oid));
register_shallow(object->oid.hash);
shallow_nr++;
}
result = result->next;
| [
"993273596@qq.com"
] | 993273596@qq.com |
42ed905e7a1d44861f88c824c615e9fbda9ea246 | 1dd825971ed4ec0193445dc9ed72d10618715106 | /examples/extended/runAndEvent/RE05/include/RE05TrackerParametrisation.hh | 01436abada3e2a5398eed1d8c000fef8dae3d77e | [] | no_license | gfh16/Geant4 | 4d442e5946eefc855436f4df444c245af7d3aa81 | d4cc6c37106ff519a77df16f8574b2fe4ad9d607 | refs/heads/master | 2021-06-25T22:32:21.104339 | 2020-11-02T13:12:01 | 2020-11-02T13:12:01 | 158,790,658 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,881 | hh | //
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration... | [
"gfh16@mails.tsinghua.edu.cn"
] | gfh16@mails.tsinghua.edu.cn |
a0025bfdee527d01314510353d935de35d183d92 | 8faee0b01b9afed32bb5b7ef1ab0dcbc46788b5b | /source/src/algo/sequence/project_exons.cpp | eaecce279bf13ff1127adb4ebc77557b0a59501e | [] | no_license | jackgopack4/pico-blast | 5fe3fa1944b727465845e1ead1a3c563b43734fb | cde1bd03900d72d0246cb58a66b41e5dc17329dd | refs/heads/master | 2021-01-14T12:31:05.676311 | 2014-05-17T19:22:05 | 2014-05-17T19:22:05 | 16,808,473 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 31,295 | cpp | /* $Id: project_exons.cpp 387711 2013-01-31 18:53:37Z astashya $
* ===========================================================================
*
* PUBLIC DOMAIN NOTICE
* National Center for Biotechnology Information
*
* This software/database is a "United States Governme... | [
"jackgopack4@gmail.com"
] | jackgopack4@gmail.com |
e1db8fade2d4357d3ef3e4b1dce3d8e51c720630 | 74fa7d1fb2ba63dad1058379db02ab2d412f3a72 | /src/player_paddle.h | c5bf34e7038445113e13cb9beae09a75d0a8dfc7 | [] | no_license | mo3sw/CppND-Capstone-Ping-Pong-Game | b38b30265f9ff02f0fc7674e1116367227f344b1 | 12be547b249e416685053e5199a430207724f368 | refs/heads/master | 2020-09-16T23:11:36.382676 | 2019-11-30T20:42:43 | 2019-11-30T20:42:43 | 223,915,476 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 360 | h | #ifndef PLAYER_PADDLE_H
#define PLAYER_PADDLE_H
#include "SDL.h"
class Player_Paddle{
public:
Player_Paddle(int x, int y, int width, int height);
~Player_Paddle();
void setX(int x);
void setY(int y);
int getY();
void setWidth(int width);
void setHeight(int height);
SDL_Rect* getSDLRect();
... | [
"mo3sw95@gmail.com"
] | mo3sw95@gmail.com |
0d004e1b7f34b3c11bbcaae60b28474dc786fb25 | 9834f79213a52feb5de3049e484eb4d5128291b4 | /src/examples/unityplugin/unity_plugin_apis.cc | 07b6ebf5e9fa33fb5a4ab4b706c1106cb3f83875 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | lcx1249445475/rtc | 75f82b233e5ef6ccacc340765b82cb6cc9887ba5 | c5fd8213776ebb1865009948b279f46e9e320a6a | refs/heads/main | 2023-01-20T16:04:08.640598 | 2020-12-04T03:17:31 | 2020-12-04T03:17:31 | 317,800,356 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,367 | cc | /*
* Copyright (c) 2017 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All con... | [
"1249445475@qq.com"
] | 1249445475@qq.com |
2bef299c37a877ef13abb394fc0a5f9e0a428034 | d03d052c0ca220d06ec17d170e2b272f4e935a0c | /gen/mojo/public/interfaces/bindings/tests/sample_import.mojom-sync.h | 758de808974c2c4057f46a0c14dbace174960c76 | [
"Apache-2.0"
] | permissive | amplab/ray-artifacts | f7ae0298fee371d9b33a40c00dae05c4442dc211 | 6954850f8ef581927df94be90313c1e783cd2e81 | refs/heads/master | 2023-07-07T20:45:43.526694 | 2016-08-06T19:53:55 | 2016-08-06T19:53:55 | 65,099,400 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,800 | h | // NOTE: This file was generated by the Mojo bindings generator.
#ifndef MOJO_PUBLIC_INTERFACES_BINDINGS_TESTS_SAMPLE_IMPORT_MOJOM_SYNC_H_
#define MOJO_PUBLIC_INTERFACES_BINDINGS_TESTS_SAMPLE_IMPORT_MOJOM_SYNC_H_
#include <stdint.h>
#include "mojo/public/cpp/bindings/array.h"
#include "mojo/public/cpp/bindings/callba... | [
"pcmoritz@gmail.com"
] | pcmoritz@gmail.com |
f9d04a5b012dee28e7843e93f8ace4534728061c | 91a882547e393d4c4946a6c2c99186b5f72122dd | /Source/XPSP1/NT/drivers/tpg/hwx/tsunami/src/question.cpp | 4684b853a2227e9749662bae7f09a8dc9720ab15 | [] | no_license | IAmAnubhavSaini/cryptoAlgorithm-nt5src | 94f9b46f101b983954ac6e453d0cf8d02aa76fc7 | d9e1cdeec650b9d6d3ce63f9f0abe50dabfaf9e2 | refs/heads/master | 2023-09-02T10:14:14.795579 | 2021-11-20T13:47:06 | 2021-11-20T13:47:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,011 | cpp | /***************************************************************************
* question.cpp
*
* All the question specific stuff.
*
****************************************************************************/
#include "stdafx.h"
#include "common.h"
#include "gdw.h"
#include "unicom.h"
#include "question.h"
#inclu... | [
"support@cryptoalgo.cf"
] | support@cryptoalgo.cf |
6b036f96a7c5607418afde0598185d55e9f63689 | 75452de12ec9eea346e3b9c7789ac0abf3eb1d73 | /src/developer/forensics/testing/stubs/inspect_archive.h | 797f214c17f9d4a972f58eb2749d26e173fb5a25 | [
"BSD-3-Clause"
] | permissive | oshunter/fuchsia | c9285cc8c14be067b80246e701434bbef4d606d1 | 2196fc8c176d01969466b97bba3f31ec55f7767b | refs/heads/master | 2022-12-22T11:30:15.486382 | 2020-08-16T03:41:23 | 2020-08-16T03:41:23 | 287,920,017 | 2 | 2 | BSD-3-Clause | 2022-12-16T03:30:27 | 2020-08-16T10:18:30 | C++ | UTF-8 | C++ | false | false | 2,007 | h | // Copyright 2020 The Fuchsia 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 SRC_DEVELOPER_FORENSICS_TESTING_STUBS_INSPECT_ARCHIVE_H_
#define SRC_DEVELOPER_FORENSICS_TESTING_STUBS_INSPECT_ARCHIVE_H_
#include <fuchsia/diagno... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
c286a1e734560f97f1e391a03c5fe79449b960e6 | fc2683ebddea87a2e680d3046300d36fb84cbb05 | /src/dtkComposer/dtkComposerNodeComposite.cpp | bad072b8e273d0c6808b02b58b92fb1415987485 | [] | no_license | papadop/dtk | 822942c48e396280a0113136e3d984b2b8471700 | 5d5bd7234987f01a23fbc6c7414a21c15e1455ab | refs/heads/master | 2021-01-18T19:29:46.561433 | 2014-06-03T08:49:23 | 2014-06-03T08:49:23 | 20,444,326 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 859 | cpp | /* dtkComposerNodeComposite.cpp ---
*
* Author: David Rey
* Copyright (C) 2008-2011 - David Rey, Inria.
* Created: Tue Feb 14 15:40:50 2012 (+0100)
* Version: $Id$
* Last-Updated: Fri Apr 5 08:43:00 2013 (+0200)
* By: Thibaud Kloczko
* Update #: 35
*/
/* Commentary:
*
*/
/* Change log:
*
*... | [
"thibaud.kloczko@inria.fr"
] | thibaud.kloczko@inria.fr |
ff38fabe469dfe5ca6a2818c0ff03c1098d484c7 | a6fafa890dc167e576a19a86edaf46990b6cd7ac | /design_patterns/factory_examples/basic/main.cpp | 867d2131f804515b6d50a9b7d2ddc1717efe338f | [] | no_license | AlexanderKazakov/cpp-seminars | 0ba9fa2f520027b366c0727ea2c8d187fd84b028 | 6b11afe9ba2e79cf80deb8f6eef8283fae874ef3 | refs/heads/master | 2021-01-17T20:07:47.828431 | 2019-12-13T19:21:28 | 2019-12-13T19:21:28 | 69,814,283 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 708 | cpp | #include <iostream>
#include <list>
#include "Factory.hpp"
using namespace std;
int main() {
// Suppose class names are read from command line or some other user input
list<string> names = {"Derived1", "Derived2"};
// names.push_back("NoSuchName");
// Instantiate required objects
list<shared_... | [
"alexanderkazak@yandex.ru"
] | alexanderkazak@yandex.ru |
14e0132e7e32ca455843f06e9e136639ad866833 | ab29f27a3a979b99063d02347afbe59a2a2aa973 | /cc/cc.win.IECtrl.cpp | 795ae44564ab3e98cf29404fbe758a8eaafec13d | [
"MIT"
] | permissive | uuware/ccProj | f3ef257be3148abcb4b5ebfb899b58ee1ee817cd | 3dadf361671bc2d29e2cfb2554b4879560acf384 | refs/heads/master | 2021-11-23T03:59:11.928375 | 2021-11-04T00:33:31 | 2021-11-04T00:33:31 | 188,023,601 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 45,341 | cpp | // cc.win.IECtrl.h
// The C# like Controls class
// Author: Shu.KK
// 2006-07-01
// add function at 2007-05-01
#include "cc.win.IECtrl.h"
using namespace cc;
using namespace cc::win;
//===========================================================cc::win::ie_ClientSite
ie_ClientSite::ie_ClientSite(HWND hWndPare... | [
"uuware@gmail.com"
] | uuware@gmail.com |
7ceb82b785777effd17904a3bf1d578933eca638 | 42170f43af0ce50ac70a8e14da73bf1ec1b821d7 | /最小生成树问题的贪心法Prim算法实现/Prim.cpp | 7c1e32a3372d102c3860621493d2f463e94dca9b | [] | no_license | ren2504413601/Data-Structure-and-Algorithm | 46122d2a7355c5845a852a9030d190aed6c7574a | dbc0ba54788118d85ae30be10236bec9a3ef85cd | refs/heads/master | 2022-12-16T07:13:53.963608 | 2020-09-07T02:48:17 | 2020-09-07T02:48:17 | 254,653,378 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,724 | cpp | #include<iostream>
#include<vector>
#include<algorithm>
using namespace std;
int n; //n:顶点个数
vector<vector<int>> g;//g:用邻接矩阵表示图g
vector<bool> known; //known:各点是否已经选取
vector<int> dist; //dist:已选取点集到未选取点集的边长
vector<int> _prev; // 最小生成树中各点的前一顶点
int s; //s:起点(start)
int sum; //sum:最小生成树长
bool Prim() //贪心算法
{
//初始化konwn、d... | [
"2504413601@qq.com"
] | 2504413601@qq.com |
32b2bb6e14640a7b0ae3ca4a921832af46bb2126 | 0a7933d10ea6068b8b1578dfd112fb227dcb5573 | /Cinthyaxis/mainwindow.cpp | b777ad59679720a7c19cb3e4388a38fe898a76a8 | [] | no_license | CiSagelliv/Cinthyaxis-lya | 14b16aee1b6ffb0ed9e486255be36f29503b0b9d | 021a88150e3f4eb41f3799e59faa0a699ae34206 | refs/heads/master | 2020-06-02T13:58:40.313287 | 2019-06-14T15:01:42 | 2019-06-14T15:01:42 | 191,179,141 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 51,216 | cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
#include <iostream>
#ifndef SIMBOLOS
#define SIMBOLOS
//Aqui van las producciones
#define PROGRAM 0
#define DECLARA_LIB 1
#define DECLARA 2
#define A 3
#define AP 4 //AP -> A'
#define TIPO 5
#define ESTATUTOS 6
#define B 7
#def... | [
"cinthyagpe.villegas@gmail.com"
] | cinthyagpe.villegas@gmail.com |
f70e679cc0a2a19c1ce778d97a74730e9e5c2480 | 75088a00bbe5b0c6481503b6cdf8efa8aa095280 | /3rdparty/mkldnn/src/cpu/nspc_batch_normalization.cpp | 85837e7672af9a8cce3365850092bad5cd99c3ac | [
"Apache-2.0",
"BSD-2-Clause-Views",
"Zlib",
"BSD-2-Clause",
"BSD-3-Clause",
"Intel"
] | permissive | WinterSong/incubator-mxnet | 944509c7a2aceb323383e8a83eda8ba67f2d0be5 | e27975f5578a7179424b0be67a93b2574dfcce16 | refs/heads/master | 2022-11-28T20:56:26.745940 | 2018-06-07T07:04:06 | 2018-06-07T07:04:06 | 136,435,918 | 1 | 1 | Apache-2.0 | 2022-11-24T14:20:31 | 2018-06-07T07:03:10 | Python | UTF-8 | C++ | false | false | 11,128 | cpp | /*******************************************************************************
* Copyright 2018 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.o... | [
"duanzhenyu001@gmail.com"
] | duanzhenyu001@gmail.com |
d61efd25d3c083df29c4ec75134c46d7d10d2688 | 499f6f039f7770118f68f3bee07e26c7522fb431 | /Extras/C++/Basics/Strings3.cpp | 58333073ec7687d9bd8b8f91538055d5faff8208 | [] | no_license | Lhayes32/School-Dayz | a67fb3fd8ca29ba04698c969f4cf4099cfc76e5c | c73b57664f6d21c9af7eb1ca3473cd0ce6e2b237 | refs/heads/master | 2023-06-13T08:42:30.956903 | 2021-07-11T03:58:38 | 2021-07-11T03:58:38 | 314,426,758 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 534 | cpp | #include <iostream>
#include <string>
#include <locale>
#include <math.h>
using namespace std;
int main() {
string input = "";
string output = "";
int asciivalue = 0;
cout << "enter a string: ";
getline(cin, input);
for (int i = 0; i < input.length(); i++) {
if (input[i] >= 'a' && input[i] <= 'z') {
asciiva... | [
"lhnetwork542@gmail.com"
] | lhnetwork542@gmail.com |
ac5d7ad9793eea6c8f5ac7bddb842cce5beb357e | 60db84d8cb6a58bdb3fb8df8db954d9d66024137 | /android-cpp-sdk/platforms/android-9/org/apache/http/auth/BasicUserPrincipal.hpp | 71b265da3e3e7696cec2f8c3a559c0b59c3f4def | [
"BSL-1.0"
] | permissive | tpurtell/android-cpp-sdk | ba853335b3a5bd7e2b5c56dcb5a5be848da6550c | 8313bb88332c5476645d5850fe5fdee8998c2415 | refs/heads/master | 2021-01-10T20:46:37.322718 | 2012-07-17T22:06:16 | 2012-07-17T22:06:16 | 37,555,992 | 5 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 4,988 | hpp | /*================================================================================
code generated by: java2cpp
author: Zoran Angelov, mailto://baldzar@gmail.com
class: org.apache.http.auth.BasicUserPrincipal
================================================================================*/
#ifndef J2CPP_... | [
"baldzar@gmail.com"
] | baldzar@gmail.com |
d5497466f3b1bf357225d743ee95bdd4ddce7eb0 | 6e600f2d4ca73b7da4011bd81bf2820c2b4b112d | /Pong/Pong/paddle_player.cpp | f62dc335a0e807b9b4c5dcdeea6fac7421ec7d04 | [] | no_license | TomDotScott/SFML-Pong | 59f2199c0f9362de85c9fbcbbd505921df73d21f | 9fc8bfa72ce7256125b1455ed83ec2baec7e0c5f | refs/heads/master | 2022-03-26T09:31:50.302691 | 2019-12-23T00:03:57 | 2019-12-23T00:03:57 | 229,646,490 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,077 | cpp | #include "paddle_player.h"
paddle_player::paddle_player(int player) {
this->playerNumber = player;
switch (playerNumber) {
//player 1...
case 0:
this->Load("player1.png");
break;
//player 2...
default:
this->Load("player2.png");
break;
}
}
void paddle_player::update() {
//each player ... | [
"tom.scott45456@gmail.com"
] | tom.scott45456@gmail.com |
2fdd21ec68567737ddf8027d912fdde14b5f5661 | 839785b2c4c4cc4bf3ce12b017db4fb91934fd27 | /kurs2020/record_tabl.h | fa328a23fe64998632b9ba5b0582e2952d0227af | [] | no_license | GulinAlexey/kurs2020 | 1d03fcceecb0ee441a1c846bd1ae51417228a3f6 | b2f5ed9b87b4215cbce905440ebbb6db0d3d9fac | refs/heads/master | 2023-02-19T09:05:17.898465 | 2021-01-20T14:02:08 | 2021-01-20T14:02:08 | 320,010,996 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,324 | h | #pragma once
#include "krest_and_village.h"
#include "tabl_naim.h"
#include <string>
#include <fstream>
extern int f_endgame; //флаг о том, что игра окончена (игрок проиграл) (глобальн.)
namespace kurs2020 {
using namespace System;
using namespace System::ComponentModel;
using namespace System::Collections;
usin... | [
"gulin-2001@mail.ru"
] | gulin-2001@mail.ru |
8ced4de645d7dfca8f2f29318232009246480ca9 | 05b5504b57b51a82c797947a3b9fbd49b44cc3d3 | /Day 17/Add Binary Strings.cpp | af68246bf46cd6c405276783dbdd3564fedc1789 | [] | no_license | PurvaKar/40-Days-of-Code | c95c15878cbda1194b874736da038985d1dee16e | 67b9d6287a52452bb145ab2b09bb63fd2a3b6ffd | refs/heads/master | 2022-11-17T10:08:18.146531 | 2020-07-17T08:05:04 | 2020-07-17T08:05:04 | 263,660,965 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,138 | cpp | string Solution::addBinary(string A, string B)
{
long long int i,j,n,m;
char a, b, c;
string ans;
n=A.size();
m=B.size();
c='0';
for(i=n-1,j=m-1;i>=0 && j>=0;i--,j--)
{
a = A[i];
b = B[j];
if(a=='0' && b=='0')
{
if(c=='0')
ans+... | [
"38216228+PurvaKar@users.noreply.github.com"
] | 38216228+PurvaKar@users.noreply.github.com |
0d65d71f76c476141ccd785fdbc01fd49cce53b1 | 4c57c2cd97f82e210ea6ef303a588a6334d025ec | /repo_project/maingui/ui_mainwindow.h | c3249ada5a5a523c31ed8f70f0058a04511bc24d | [] | no_license | tokorealand/CS205 | 1bae375621c18fb8b7cbdfd6b54b2813151fa402 | 4631bf96cfa4a38de5d6122b0e37d9f90e4e1c5e | refs/heads/master | 2021-07-10T18:55:49.635399 | 2017-05-11T22:49:02 | 2017-05-11T22:49:02 | 106,461,756 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,801 | h | /********************************************************************************
** Form generated from reading UI file 'mainwindow.ui'
**
** Created by: Qt User Interface Compiler version 5.8.0
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
****************************************... | [
"lopezl@lafayette.edu"
] | lopezl@lafayette.edu |
1f9cd0e960b1b2f2d24e3e1b464dcaf5bf2e00d6 | 38c376f5674f19f54323896a56f7ee6d5ab16882 | /settingstree/branch.hpp | f6829d0eec54f72f37901e41038e3bebc202ab40 | [
"BSL-1.0"
] | permissive | jbytheway/settingstree | cf265e63a4e9cdf24a4870080c7bc12f75c758fa | 3c3fb3b634da9d50d61897b740e83ccdbf53db0d | refs/heads/master | 2021-01-10T19:31:29.041301 | 2013-02-03T16:27:14 | 2013-02-03T16:27:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,445 | hpp | #ifndef SETTINGSTREE__BRANCH_HPP
#define SETTINGSTREE__BRANCH_HPP
#include <list>
#include <boost/unordered_map.hpp>
#include <settingstree/node.hpp>
#include <settingstree/branch_callback.hpp>
namespace settingstree {
class branch : public node {
public:
typedef std::unique_ptr<branch> ptr;
typedef std:... | [
"jbytheway@gmail.com"
] | jbytheway@gmail.com |
aa53b2cf580880c3d6c354a31470209300af0d63 | 93e66900cdc0db4f48c1791e6915d3dd17ede3d6 | /MEKD/src/MadGraphSrc/Spin2/qq_Spin2_2f_UP_SF.h | f2c0b3f7ae4dd05d9c113344eec30ff953ccbcd1 | [] | no_license | usarica/HiggsAnalysis-ZZMatrixElement | a2efa90cb3be590606f9866073df4d2aff7c3e78 | 9ed4cbedadbaa4482778990a4060a9b0c2b8473f | refs/heads/master | 2021-03-27T13:12:45.638825 | 2020-02-15T03:22:20 | 2020-02-15T03:22:20 | 37,368,226 | 0 | 2 | null | 2019-08-28T18:19:13 | 2015-06-13T10:57:56 | C++ | UTF-8 | C++ | false | false | 3,017 | h | //==========================================================================
// This file has been automatically generated for C++ Standalone by
// MadGraph5_aMC@NLO v. 2.0.2, 2014-02-07
// By the MadGraph5_aMC@NLO Development Team
// Visit launchpad.net/madgraph5 and amcatnlo.web.cern.ch
//============================... | [
"odysei@gmail.com"
] | odysei@gmail.com |
92fbc6625f442c6dd80c4e1b07f447112604bec4 | a9c4bf690ea0005a44309551c479c053df42fcbf | /solutions/148-sort-list/sort-list.cpp | 520359d89427821e6486fb8b59e337c11bdd626e | [] | no_license | RazorBach/Leetcode | 13f8e07809bf434ac6ee020f2cfd82a5af058a1a | 302c2a5218a6f190cd21c7c84f5c8781150fcf86 | refs/heads/master | 2022-11-22T16:13:03.413845 | 2019-06-08T08:56:02 | 2019-06-08T08:56:02 | 126,416,976 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,450 | cpp | // Sort a linked list in O(n log n) time using constant space complexity.
//
// Example 1:
//
//
// Input: 4->2->1->3
// Output: 1->2->3->4
//
//
// Example 2:
//
//
// Input: -1->5->3->4->0
// Output: -1->0->3->4->5
//
/**
* Definition for singly-linked list.
* struct ListNode {
* int val;
* ListNode *ne... | [
"ftd_ejo@163.com"
] | ftd_ejo@163.com |
820974ab576f65cfe1081fc78ed2a0430b4de3f5 | 8914f0603ce1a844e34acd970ff71519044ca57f | /lab3/matrix.cpp | 30273721290decf2ec098f26b92ae0d99d59f4f5 | [] | no_license | RmZeta2718/Numerical-Calculation | 9bab8b519135028fb319b7f20eb52b374bfd771b | 7436b86d049479efecdb1d209ff19745df239658 | refs/heads/main | 2023-02-11T15:17:51.205125 | 2021-01-08T02:53:06 | 2021-01-08T02:53:06 | 327,781,598 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,343 | cpp | #include "matrix.h"
#include <assert.h>
#include <iostream>
#define repo(i, l, r) for (int i = l, i##end = r; i < i##end; ++i)
Matrix::Matrix():row(0), col(0)
{
num.resize(0);
}
Matrix::Matrix(const int row, const int col):row(row), col(col)
{
assert(row > 0 && col > 0);
num.resize(row * col);
clear()... | [
"2740469261@qq.com"
] | 2740469261@qq.com |
1f6d33d900cbb9b12094636dec9edae4095eb344 | adad563a30d9f0e1985724f8f4e196f3fd1c2f16 | /FINAL PROJECT/MontePython-0.2/src/C++/walker.cpp | 5b49dbcd6a9c4d14973e349f242edbafb6277676 | [] | no_license | ericyeung/PHY407 | 975bb2ab4629283f12bd85cf5dc8e87e11a5b7f0 | 2db9fe66489ae746819a167469de6a560ce00926 | refs/heads/master | 2020-04-10T14:13:59.206994 | 2016-10-08T01:13:21 | 2016-10-08T01:14:20 | 42,448,005 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,585 | cpp | #include "walker.hpp"
using namespace std;
//=================================================================
// initialization of walker class taking as input an int array
// containing number of particles and dimension, making an
// array of particles according to these
//==========================================... | [
"irq.ericyeung@hotmail.com"
] | irq.ericyeung@hotmail.com |
168c03bd889fe5a0257f02dd495b6a6a23e4568d | 94e1432380b504af61252c1b146e435e52503bc1 | /src/kvm/interrupt.h | 16165745ba39bea06627822601ad746912e1439e | [] | no_license | bkleiner/kthxvm | a0998d8f333571645c4031fdad45cf42a6588ad5 | c73b0636ee551621a428352f3117597682c425e1 | refs/heads/master | 2022-11-30T17:27:55.831077 | 2020-08-13T15:28:34 | 2020-08-13T15:28:34 | 285,904,674 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 932 | h | #pragma once
#include <mutex>
#include <asm/types.h>
#include <sys/eventfd.h>
#include <unistd.h>
#include "util.h"
namespace kvm {
class interrupt {
public:
interrupt(__u32 num)
: number(num)
, fd(eventfd(0, 0))
, state(false) {}
void set_level(bool update) {
const std::... | [
"b.kleiner@str8labs.com"
] | b.kleiner@str8labs.com |
337ac737286c8f875f41eddb287c886624276ccb | 812415f8f74bc405a80c6486a22446f17662a6f5 | /.idea/tensorflow_op_c++/self_op_test/base_cpu/zero_out.cc | e1332bfa917201b7e08f206c8c253fb0c86908fb | [] | no_license | lfforai/faster_rcnn_lf | e7b0ff68d74c6072392476b5bba8891a77e48154 | 53548814fd92ec86eac3f41ddee19f1404856774 | refs/heads/master | 2023-01-10T21:44:02.910042 | 2020-11-17T16:12:43 | 2020-11-17T16:12:43 | 310,980,284 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,312 | cc | #include "tensorflow/core/framework/op.h"
#include "tensorflow/core/framework/shape_inference.h"
#include "tensorflow/core/framework/op_kernel.h"
using namespace tensorflow;
REGISTER_OP("ZeroOut")
.Input("to_zero: int32")
.Output("zeroed: int32")
.SetShapeFn([](::tensorflow::shape_inference::InferenceCont... | [
"18073072@qq.com"
] | 18073072@qq.com |
1132a79cecca207f4096ff216072efd0a9fa0f34 | a561c9ff8b35eed09786c5696acf44fce5be828b | /CHIP-8/main.cpp | 8cdf21345a2dc7f9a27a327880765341ca0fec46 | [] | no_license | ostapyrih/CHIP-8 | d97a4931d3b264033ab69fecac2049c5ab81516a | eab6631bd471be8dbd6a60de490809c75a6328f3 | refs/heads/main | 2023-01-23T17:10:05.414548 | 2020-11-25T12:02:47 | 2020-11-25T12:02:47 | 315,926,763 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 206 | cpp | #include <iostream>
#include "CHIP.h"
int main()
{
CHIP* chip = new CHIP();
chip->initialize();
chip->loadRom("C:\\Users\\ostap\\source\\repos\\CHIP-8\\Debug\\pong.ch8");
chip->emulate();
} | [
"ostapyrih@gmail.com"
] | ostapyrih@gmail.com |
edbdb2fa1600a85255fd4fcd8d85ded47512bdf3 | 563066e9d6e64e6d0f19a84ab9838d99cd1b5638 | /Arrowgene.KrazyRain.Dll/util.h | 5ac422f66d9458e8c217ec6aa456b20222d49b28 | [
"MIT"
] | permissive | qkrcjsgh19/Arrowgene.KrazyRain | 55127a666d3780f7c36b57b43eefac7a6a1519e0 | 9b9520747b81b1404ab9b09e107211a213c460a3 | refs/heads/master | 2022-12-07T13:17:47.122067 | 2020-09-01T05:58:39 | 2020-09-01T05:58:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,472 | h | #pragma once
const int MAX_UDP = 500;
DWORD find_process_id_psapi(const std::wstring& process_name)
{
DWORD a_processes[1024];
DWORD cb_needed;
DWORD c_processes;
unsigned int i;
if (!EnumProcesses(a_processes, sizeof(a_processes), &cb_needed))
{
return 0;
}
c_processes = cb_needed / sizeof(DWORD);
for (i ... | [
"sebastian.heinz.gt@googlemail.com"
] | sebastian.heinz.gt@googlemail.com |
b19ceb8b9606392972b67d5e5fcd89d875af0019 | 54998e998ead341b57bb530d06dea849b6d86ebd | /AC/P2543.cpp | c273396c9a077b867d518880647401fc48893ee7 | [] | no_license | Jyf624761709/Luogu | 5c6fd5b4c5cad8ddbce29ac2241d5026ca76d314 | 04ecd892f7c0743b2ad2aa98339e92f70017427f | refs/heads/master | 2020-03-19T06:37:22.470354 | 2018-06-04T14:39:16 | 2018-06-04T14:39:16 | 136,039,683 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,043 | cpp | #include<cstdio>
#include<iostream>
#include<algorithm>
#include<cstring>
#include<queue>
#include<map>
#include<set>
#include<cmath>
const int inf=2147483647;
const int ine=-2147482647;
using namespace std;
#define in() freopen("t.in","r",stdin)
#define out() freopen("t.out","w",stdout)
#define m(a) memset(a,0,sizeof(... | [
"39914137+Jyf624761709@users.noreply.github.com"
] | 39914137+Jyf624761709@users.noreply.github.com |
f3d5653518990dc3051edbbac641d831b80a9563 | 4916737d53bed90f0775c61c39bf2d4a208290b0 | /xolotl/xolotlCore/reactants/NetworkLoader.h | 424f49c3d4a0ce24a8edd840c940b529cfd03df3 | [] | no_license | sblondel/xolotl-git | 31e9b9a3c1ff0b4cbf98c72896c1aab5766d146d | f4794dbec557ccc5b846bb233cbe665e3063c618 | refs/heads/master | 2021-05-04T22:27:06.229553 | 2018-02-08T21:37:05 | 2018-02-08T21:37:05 | 120,035,957 | 0 | 0 | null | 2018-02-08T21:37:46 | 2018-02-02T22:00:26 | C++ | UTF-8 | C++ | false | false | 3,203 | h | #ifndef NETWORKLOADER_H
#define NETWORKLOADER_H
#include "INetworkLoader.h"
#include <IHandlerRegistry.h>
namespace xolotlCore {
/**
* This class is the simplest implementation of the network loader.
*/
<<<<<<< HEAD
class NetworkLoader : public INetworkLoader {
=======
class NetworkLoader: public INetworkLoader {... | [
"sophie.blondel1@gmail.com"
] | sophie.blondel1@gmail.com |
479b23e80d9b4ea6baac1cde263490c4fa98af55 | 9bc9b567a0f81ef924ba08953337a067ae0c0cf1 | /vendor/libbitcoin/test/message/verack.cpp | 7113132369236a6cc1bf06125c1140890e297b81 | [
"MIT",
"GPL-1.0-or-later",
"LicenseRef-scancode-linking-exception-agpl-3.0",
"AGPL-3.0-only",
"AGPL-3.0-or-later",
"LicenseRef-scancode-other-copyleft",
"LicenseRef-scancode-free-unknown"
] | permissive | X9Developers/xsn-wallet | 7581f7d4f3866006bf734bc4d004e5c50eb372cb | 7b5aaf6de15928c8cf5b86a844e56710c301df1f | refs/heads/master | 2021-06-02T14:07:48.290510 | 2018-11-02T17:27:34 | 2018-11-02T17:27:34 | 144,869,431 | 1 | 3 | MIT | 2018-11-02T06:09:17 | 2018-08-15T15:17:15 | C++ | UTF-8 | C++ | false | false | 2,413 | cpp | /**
* Copyright (c) 2011-2017 libbitcoin developers (see AUTHORS)
*
* This file is part of libbitcoin.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the Lic... | [
"yuraolex@gmail.com"
] | yuraolex@gmail.com |
fc04e303dfe653a586b5a8b17af75cb34c057753 | 9d4ad6d7f3122f8d32a4a713f06b81ecb7a47c6e | /headers/boost/1.23.0/boost/detail/limits.hpp | e1da40598617f81c8d3882bae141986dfc13e3c1 | [] | no_license | metashell/headers | 226d6d55eb659134a2ae2aa022b56b893bff1b30 | ceb6da74d7ca582791f33906992a5908fcaca617 | refs/heads/master | 2021-01-20T23:26:51.811362 | 2018-08-25T07:06:19 | 2018-08-25T07:06:19 | 13,360,747 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 15,895 | hpp | /*
* Copyright (c) 1997
* Silicon Graphics Computer Systems, Inc.
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose is hereby granted without fee,
* provided that the above copyright notice appear in all copies and
* that both that copyright notice and... | [
"abelsoft@freemail.hu"
] | abelsoft@freemail.hu |
febd9b32f609eb30dd6df7c1a8e8a574276b9bfb | 39bcafc5f6b1672f31f0f6ea9c8d6047ee432950 | /extension/icu/third_party/icu/common/unames.cpp | 1c9a6a03c7562db596c7a8fa4665f0527f432288 | [
"MIT",
"ICU",
"NAIST-2003",
"LicenseRef-scancode-unicode",
"BSD-3-Clause",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause"
] | permissive | duckdb/duckdb | 315270af6b198d26eb41a20fc7a0eda04aeef294 | f89ccfe0ec01eb613af9c8ac7c264a5ef86d7c3a | refs/heads/main | 2023-09-05T08:14:21.278345 | 2023-09-05T07:28:59 | 2023-09-05T07:28:59 | 138,754,790 | 8,964 | 986 | MIT | 2023-09-14T18:42:49 | 2018-06-26T15:04:45 | C++ | UTF-8 | C++ | false | false | 67,025 | cpp | // © 2016 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
/*
******************************************************************************
*
* Copyright (C) 1999-2014, International Business Machines
* Corporation and others. All Rights Reserved.
*
***********... | [
"mark.raasveldt@gmail.com"
] | mark.raasveldt@gmail.com |
7f8f65b4e9ca236cc2584c5465afff5cca61a4fc | 7435c4218f847c1145f2d8e60468fcb8abca1979 | /Vaango/src/CCA/Components/MPM/Crack/CrackSurfaceContact.cc | 8dd43d2c80e65d2ab19732d7c2ce37adc46e6e42 | [] | no_license | markguozhiming/ParSim | bb0d7162803279e499daf58dc8404440b50de38d | 6afe2608edd85ed25eafff6085adad553e9739bc | refs/heads/master | 2020-05-16T19:04:09.700317 | 2019-02-12T02:30:45 | 2019-02-12T02:30:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,730 | cc | /*
* The MIT License
*
* Copyright (c) 2013-2014 Callaghan Innovation, New Zealand
*
* 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 t... | [
"b.banerjee.nz@gmail.com"
] | b.banerjee.nz@gmail.com |
5123ebd3d1d266b8e5ed722e507bef6aac8823b4 | 2c1fd448636f91fe701d32e06b9946579c13bb5e | /Build/ncltech/Object.h | 81b3ca952efda668ebfdd30637dc3c6a2eff1e28 | [] | no_license | mycmessia/Advanced-Game-Technologies-CSC8503-2016-17 | 6b2b1cc5d20230bf1f8cb579fce8079617e987ac | 27857b914a453cd75089a6817252d5617d40bec8 | refs/heads/master | 2020-06-16T08:41:07.422277 | 2017-01-22T20:43:51 | 2017-01-22T20:43:51 | 76,277,040 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,784 | h | /******************************************************************************
Class: Object
Implements:
Author: Pieran Marris <p.marris@newcastle.ac.uk> and YOU!
Description:
This is the base class for all of the objects in your game/scenes. It
will automatically be managed by any Scene instance which it is ad... | [
"mycmessia@gmail.com"
] | mycmessia@gmail.com |
49174f628b8a8100bb4f7bb5e14a6ec253c34749 | 08510efaa17489700790712ba6f68a672b7058a8 | /onviflibs/onvifcore/OnvifEventLib/soap/onvifeventPullPointSubscriptionBindingProxy.cpp | 44783a1d219ecc2d5b434649e4115030d5b9985d | [] | no_license | hrdzkj/onvif-qt-server-client | 33436c59f60c40146c3e1677a602f0b0ca8f4c89 | 387a1dcf604f6e272504409366f575d668e48d73 | refs/heads/master | 2020-12-21T01:53:59.893753 | 2020-01-18T07:00:36 | 2020-01-18T07:00:36 | 236,270,758 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 45,833 | cpp | /* onvifeventPullPointSubscriptionBindingProxy.cpp
Generated by gSOAP 2.8.22 from rcx.h
Copyright(C) 2000-2015, Robert van Engelen, Genivia Inc. All Rights Reserved.
The generated code is released under one of the following licenses:
GPL or Genivia's license for commercial use.
This program is released under the GP... | [
"1017965668@qq.com"
] | 1017965668@qq.com |
de7af758be21fb743a04c8b189112d971025ce7d | 4e8477d2ab98eaa742dd7a7c621aa9a999fc8837 | /common/server_manager_link_wrapper.h | 68213a0cebd08ea01650e210c1139b7a4501f94d | [
"BSD-3-Clause"
] | permissive | arunsingh/weaver | 25eb7fe2f1db988364dff01a2638b5424d31570a | 60a46646d1186c63667102d930e4c0cd27e21252 | refs/heads/master | 2021-01-15T08:32:31.603289 | 2015-04-28T17:24:21 | 2015-04-28T17:24:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,815 | h | /*
* ===============================================================
* Description: Coordinator link wrapper for shards.
*
* Created: 2014-02-10 14:52:59
*
* Author: Robert Escriva, escriva@cs.cornell.edu
* Ayush Dubey, dubey@cs.cornell.edu
*
* Copyright (C) 2013, Cornell ... | [
"dubey@cs.cornell.edu"
] | dubey@cs.cornell.edu |
3580ae5457fdb38ab4165e1fb5e0f5056d48a3e6 | 2a394cc6f908ee98ef94b5f4e3bf03c92d64ddc6 | /5/code/main2.cpp | af50e2df4b0120ee8dc9aa390fe8e4132588b7bb | [] | no_license | WuYuQi0301/Computer-Vision | c7d2b25e3421464113203c744d5b574a4758eaa1 | 0f37d7cf80ee812d01bcf61d0d5cfbb6d1025755 | refs/heads/master | 2020-04-03T18:39:40.809098 | 2018-12-01T11:28:07 | 2018-12-01T11:28:07 | 155,492,340 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 203 | cpp | #include <iostream>
#include "CImg.h"
using namespace std;
using namespace cimg_library;
int main(int argc, char const *argv[])
{
CImg<unsigned char> img2("../src/4.bmp");
img2.display();
return 0;
} | [
"270738671@qq.com"
] | 270738671@qq.com |
79f490a53808f7b2eead7c60fcf5d1c86582d963 | f677bd677ff71816f9d7c9096e71b61c236f0bf1 | /Graph/water flow.cpp | a871227ef8eea463068a9ff24eab089c74b7b70e | [] | no_license | anshul1927/Placement-prepration | 368a6317ecd38e9c39a08883c43426d5424da791 | 7ad66435c08b54cdf9f68ba5d0dd1b45b0eaa69e | refs/heads/main | 2023-05-29T01:03:44.205381 | 2021-06-18T22:11:49 | 2021-06-18T22:11:49 | 363,890,289 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,409 | cpp | // https://www.interviewbit.com/problems/water-flow/
// https://leetcode.com/problems/pacific-atlantic-water-flow/
// lc417
#include <bits/stdc++.h>
using namespace std;
int n, m;
void dfs(int i, int j, vector<vector<int>> &A, vector<vector<int>> &b) // b is the visited array
{
if (b[i][j] == 0)
b[i][j] =... | [
"anshulgarg.garg509@gmail.com"
] | anshulgarg.garg509@gmail.com |
480c6344466d23cb9dc43aee1b8fc98a00b36162 | bf5a2f114426fcdad8996684985330e91c2592ec | /ACM/code/2019BIT冬训-C++STL与排序/L - New Year and Counting Cards.cpp | e7363d33cabcf7702d0cc94cf697f9f06959e124 | [
"Unlicense"
] | permissive | everything411/BIT_Exercises | 9e0c02a724bfd2fa58424a3cbab04ab2b537db51 | 2d0e31dca2b9607dce0bb43340ebeaa2c42c4a43 | refs/heads/master | 2021-06-03T10:06:22.259395 | 2020-06-05T03:07:24 | 2020-06-05T03:07:24 | 153,399,890 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 513 | cpp | #include <iostream>
#include <string>
#include <set>
#include <cctype>
using namespace std;
int main(int argc, char const *argv[])
{
int count = 0;
string str;
set<char> vowel = {'a', 'e', 'i', 'o', 'u'};
set<char> even = {'1', '3', '5', '7', '9'};
cin >> str;
for (auto &&i : str)
{
... | [
"everything411@163.com"
] | everything411@163.com |
77cb01106b91ff10d99831d7ebae88572cdb6bc9 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/curl/gumtree/curl_repos_function_1997_curl-7.35.0.cpp | 311f1cebfbfe13f22ef6f713f3d726bf11908704 | [] | 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 | 1,150 | cpp | static int asn1_output(const ASN1_UTCTIME *tm,
char *buf,
size_t sizeofbuf)
{
const char *asn1_string;
int gmt=FALSE;
int i;
int year=0,month=0,day=0,hour=0,minute=0,second=0;
i=tm->length;
asn1_string=(const char *)tm->data;
if(i < 10)
return 1;
if(as... | [
"993273596@qq.com"
] | 993273596@qq.com |
6e5df7946d576a30a55595bc6c0ca57a0584b823 | ea4d7c82d65b10bfcdb24817ac2a3ddeba376272 | /day04/05_友元函数/05_友元函数.cpp | 7f30a3845138d586695a4033d36ad27eaa1da2de | [] | no_license | YHB0000/CPP_code | 723cdafdfc7b9c89dd7f3caf530c84da0fee153e | a195c153643ab5ec0ab22579b76ebfd6ae11d901 | refs/heads/master | 2023-01-23T23:45:49.457169 | 2020-12-01T13:00:15 | 2020-12-01T13:00:15 | 313,563,902 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 527 | cpp | #define _CRT_SECURE_NO_WARNINGS
#include <iostream>
#include <cmath>
using namespace std;
class Test
{
public:
friend void caculate(Test& a, Test& b);
Test(int x, int y)
{
this->m_x = x;
this->m_y = y;
}
~Test()
{
cout << "~Test()" << endl;
}
private:
int m_x;
int m_y;
};
void caculate(Test &a, Test... | [
"1036012184@qq.com"
] | 1036012184@qq.com |
4b14c02d3828f21323021684fad6477b7c75265c | e76ea38dbe5774fccaf14e1a0090d9275cdaee08 | /src/chrome/browser/profiles/profile_list_desktop_unittest.cc | f1d923bcd01d5965e85068aaec56a80e1deb91d3 | [
"BSD-3-Clause"
] | permissive | eurogiciel-oss/Tizen_Crosswalk | efc424807a5434df1d5c9e8ed51364974643707d | a68aed6e29bd157c95564e7af2e3a26191813e51 | refs/heads/master | 2021-01-18T19:19:04.527505 | 2014-02-06T13:43:21 | 2014-02-06T13:43:21 | 16,070,101 | 1 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 9,541 | cc | // Copyright (c) 2012 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 "chrome/browser/profiles/profile_list_desktop.h"
#include <string>
#include "base/memory/scoped_ptr.h"
#include "base/metrics/field_trial.h... | [
"ronan@fridu.net"
] | ronan@fridu.net |
6d313b111bc329f933b2b8aab4876e9a646bb277 | 5a076617e29016fe75d6421d235f22cc79f8f157 | /FBReader修改epub快速加载/FBReader/jni/NativeFormats/fbreader/src/formats/html/HtmlDescriptionReader.cpp | ceda8228b6561e9b5ceca36cefae7d6f9b94feb9 | [] | no_license | dddddttttt/androidsourcecodes | 516b8c79cae7f4fa71b97a2a470eab52844e1334 | 3d13ab72163bbeed2ef226a476e29ca79766ea0b | refs/heads/master | 2020-08-17T01:38:54.095515 | 2018-04-08T15:17:24 | 2018-04-08T15:17:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,541 | cpp | /*
* Copyright (C) 2004-2011 Geometer Plus <contact@geometerplus.com>
*
* 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 version 2 of the License, or
* (at your option) any later ver... | [
"harry.han@gmail.com"
] | harry.han@gmail.com |
2b08e6c178023016eae31b82dfa754d9c74a80c6 | 2a0604f241ec3ed685584f2d202dd80031b2b052 | /RayTracer/hw2-windows/Sphere.h | 3e50a616405d7226baa43b22df1b20acba6d27b0 | [] | no_license | shamcharisma/RayTracer | 6c5c1b44249e37463703a5c1cb900a88f9044ebe | 9c95a806810cc144299dcc76c83b06b8ecf36768 | refs/heads/master | 2021-01-22T19:49:47.810618 | 2017-03-16T23:46:19 | 2017-03-16T23:46:19 | 85,249,746 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,015 | h | #ifndef _SPHERE_H
#define _SPHERE_H
#include <math.h>
#include "SceneObject.h"
class Sphere : public SceneObject {
public:
Vector center;
double radius;
Color color;
public:
Sphere::Sphere() {
center = Vector(0, 0, 0);
radius = 1.0;
color = Color(0.5, 0.5, 0.5, 0);
}
Sphere::Sphere(Vector cen, double r... | [
"shamcharismaorama@gmail.com"
] | shamcharismaorama@gmail.com |
ef1bb0141fef510df52d3ac05be646bc22775109 | 777a75e6ed0934c193aece9de4421f8d8db01aac | /src/Providers/UNIXProviders/SpanningTreeStatistics/UNIX_SpanningTreeStatistics_FREEBSD.hxx | 1c90212168ca6c4aa5fc79cdd538e1e6a614a594 | [
"MIT"
] | permissive | brunolauze/openpegasus-providers-old | 20fc13958016e35dc4d87f93d1999db0eae9010a | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | refs/heads/master | 2021-01-01T20:05:44.559362 | 2014-04-30T17:50:06 | 2014-04-30T17:50:06 | 19,132,738 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 142 | hxx | #ifdef PEGASUS_OS_FREEBSD
#ifndef __UNIX_SPANNINGTREESTATISTICS_PRIVATE_H
#define __UNIX_SPANNINGTREESTATISTICS_PRIVATE_H
#endif
#endif
| [
"brunolauze@msn.com"
] | brunolauze@msn.com |
09ff0db1b928e674dda609f6046d2825519827dd | 4652840c8fa0d701aaca8de426bf64c340a5e831 | /base/profiler/stack_sampling_profiler.cc | e25440f80c56b32896b0f018b38e2514086f933d | [
"BSD-3-Clause"
] | permissive | remzert/BraveBrowser | de5ab71293832a5396fa3e35690ebd37e8bb3113 | aef440e3d759cb825815ae12bd42f33d71227865 | refs/heads/master | 2022-11-07T03:06:32.579337 | 2017-02-28T23:02:29 | 2017-02-28T23:02:29 | 84,563,445 | 1 | 5 | BSD-3-Clause | 2022-10-26T06:28:58 | 2017-03-10T13:38:48 | null | UTF-8 | C++ | false | false | 10,998 | 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 "base/profiler/stack_sampling_profiler.h"
#include <algorithm>
#include <utility>
#include "base/bind.h"
#include "base/bind_helpers.h"
#includ... | [
"serg.zhukovsky@gmail.com"
] | serg.zhukovsky@gmail.com |
8b74cfe7beb84095db16fd52572dd2d9df63c6fa | 81302ee42c1b3c25ce1566d70a782ab5525c7892 | /daq/old_daq_dp_systems/xerawdp-0.3.4_integral_v8/src/XmlConfig.cpp | 0b7e735646c98957c6cef913f25a2b734bf96f0e | [] | no_license | mdanthony17/neriX | 5dd8ce673cd340888d3d5e4d992f7296702c6407 | 2c4ddbb0b64e7ca54f30333ba4fb8f601bbcc32e | refs/heads/master | 2020-04-04T06:01:25.200835 | 2018-06-05T00:37:08 | 2018-06-05T00:46:11 | 49,095,961 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 58,717 | cpp | #include "XmlConfig.h"
#include <iostream>
#include <sstream>
#include <fstream>
#include <algorithm>
#include <libxml++/libxml++.h>
using std::string;
using std::stringstream;
using std::ostringstream;
using std::vector;
using std::map;
using std::cout;
using std::endl;
using std::ifstream;
using std::min;
using std... | [
"mda2149@columbia.edu"
] | mda2149@columbia.edu |
981869818eb0158fcee4254768d8821e7a913b26 | 2f17e97deae811440177f3381a2fea0a34408e15 | /Chapter02/16_IPCtrlDemo/IPCtrlDemo.h | e58c94802ffec7fca54a6b99609840cf6dc91405 | [] | no_license | 0000duck/VisualCppZhangJun | e0890d86c584e6a5e1547c6bcc310379a9cea725 | acc9374febcd1b0077671bc960a96e82eb2c87dc | refs/heads/master | 2021-12-14T22:59:47.592746 | 2017-06-19T09:05:45 | 2017-06-19T09:05:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,319 | h | // IPCtrlDemo.h : main header file for the IPCTRLDEMO application
//
#if !defined(AFX_IPCTRLDEMO_H__A50AD279_34D0_45B5_B24F_B761151243A7__INCLUDED_)
#define AFX_IPCTRLDEMO_H__A50AD279_34D0_45B5_B24F_B761151243A7__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#ifndef __AFXWIN_H__
#error includ... | [
"lius@CPEKW-Q1100534.is.ad.igt.com"
] | lius@CPEKW-Q1100534.is.ad.igt.com |
82afd13e5cdbc2caf7ad7c0de47ac207601163c1 | 8d82b94743562c27b9b60ef4fd89da173f683839 | /OOP_Slide/ch 4 5 6 8 12 C++(1CST-104)-20200708T051522Z-001/C++(1CST-104)/Chapter5(Function)/chapter5(exercise)/4.cpp | 1942323ba15e07ba4a9beb623f1a8360bbc5c468 | [] | no_license | ROM-robotics/lecture_cpp | ea8b9cd323813b685fdd240538c268e1d797bff1 | 011d42e79a0d2c5df24349c76c73ea9e0e433a1d | refs/heads/master | 2022-11-16T07:08:29.511423 | 2020-07-08T06:01:00 | 2020-07-08T06:01:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 801 | cpp | #include<iostream.h>
struct Distance{
int feet;
int inches;
};
Distance larger(Distance, Distance);
void display(Distance);
int main()
{
Distance d1,d2,d3;
cout<<"Enter first distance:";cin>>d1.feet>>d1.inches;
cout<<"Enter second distance:";cin>>d2.feet>>d2.inches;
d3 = larger(d1,d2)... | [
"server02.psa1981@gmail.com"
] | server02.psa1981@gmail.com |
3c457ccf5dbb19290d2c3663fab4de6aa780cca6 | 4247b034c61bcccc9cfac93153d3305c0a957e7e | /simulation_v2/config.cpp | 9dd7f79870d125a8d02026d47f6199a30b96675f | [] | no_license | atmikajoy/simulation_project | 716422f359b8ed2eef23abad6c7a036cc3d1583d | 295c53da04fa7d1b5b38b05d5c991168f8eafcf5 | refs/heads/master | 2023-01-02T02:28:37.622701 | 2020-10-28T03:13:42 | 2020-10-28T03:13:42 | 307,893,846 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,193 | cpp | #define _CRT_SECURE_NO_WARNINGS
#include "config.h"
#include <cstdlib>
#include <boost/property_tree/xml_parser.hpp>
#include <locale>
namespace atmik
{
namespace config
{
std::string file_name()
{
static const std::string default_file_name = "C:/simulation/config/config.xml";
static const std::string env... | [
"atatmikajoy@gmail.com"
] | atatmikajoy@gmail.com |
74faa5e5b9aa0cae75e67a42c12f610976984884 | 4078edff76129dc63420f8fff369be329dd95af3 | /xray_re/xr_bone.cxx | 7450733f0f60d87d92e75f74ed247c7c7703cc85 | [] | no_license | RynerNO/xray-re-tools | c408428f0d2dfc063bd0987e8c11da054802429a | 161408b5dc61346d98658fe1513db1bf635e1d4e | refs/heads/master | 2023-07-18T05:30:09.630186 | 2021-08-21T05:04:06 | 2021-08-21T05:04:06 | 398,464,613 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,362 | cxx | #include <utility>
#include "xr_object_format.h"
#include "xr_bone.h"
#include "xr_motion.h"
#include "xr_object.h"
#include "xr_reader.h"
#include "xr_writer.h"
using namespace xray_re;
xr_bone::xr_bone(): m_parent(0),
m_bind_length(.5f), m_gamemtl("default_object"), m_mass(10.f)
{
m_bind_offset.set();
m_bind_rot... | [
"ryner.no@gmail.com"
] | ryner.no@gmail.com |
607443f088cdb7a2e48f32bfa4547230120e4cba | 5886be86ea3f57f4462f98b005b15b62b70781ab | /src/qt/utilitydialog.cpp | 377e4502fa618c7c18b2d20b94120db0d7c3c99d | [
"MIT"
] | permissive | tarun1982/AcentriaCoin | f94cad0d07efb7f4903c3723b4bb35d274f164b9 | 39787612a2d88cf852ec11688e8ef3354ebeadfc | refs/heads/master | 2020-03-07T03:55:08.017411 | 2018-03-29T06:50:46 | 2018-03-29T06:50:46 | 126,473,161 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,946 | cpp | // Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "utilitydialog.h"
#inc... | [
"live.support365@live.com"
] | live.support365@live.com |
81ca3c1a0a500d63545a7d8b881f5b6342f90b99 | 7794a49ff2948a7dab64fec77d72d2e8f1ae1660 | /codeEngine/AnimationComponent.cpp | 16184377adb05c249881ae27877d49a64e5c5c50 | [] | no_license | Neevan09/NNEngine | 55b8a3ab6cbaa3c472816792b0ecce0338a350d6 | e70982ec3d43f340c7702010d1c0e9052ce48924 | refs/heads/master | 2020-03-14T07:02:01.878773 | 2018-04-29T13:15:11 | 2018-04-29T13:15:11 | 131,495,152 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,485 | cpp | #include "Transform.h"
#include "AnimationComponent.h"
#include "CodeMath.h"
#include <algorithm>
#include <set>
#include "TransformComponent.h"
using namespace std;
using namespace codeEngine::math;
using namespace codeEngine::model;
namespace codeEngine
{
AnimationStateMachine * AnimationComponentData::GetStateMac... | [
"Naveen@DESKTOP-794QGAI"
] | Naveen@DESKTOP-794QGAI |
843cef01edcae91be54f197a1902edf0122afd86 | 08e2337e1f9d4d8e06e3a77871b734defe8933e6 | /Lab3/MatrixClass.cpp | 2aab22d58e0895328fc99eb4546a70d3c9c90cb2 | [] | no_license | Crtque/Labs | 04a139ddf98c80e43d0e1994fe872898706eca32 | 0369a8c175c5f8c8890a520017717332ca74a025 | refs/heads/main | 2023-01-31T08:05:14.307781 | 2020-12-08T16:58:00 | 2020-12-08T16:58:00 | 319,703,662 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 9,142 | cpp | // MatrixClass.cpp
// Лабораторная работа №3.
// Студент группы 494, Тагин Игорь Юрьевич. 2020 год
#include <iostream>
#include <string>
#include <sstream>
#include "MatrixClass.h"
#include "Sorting.h"
#include <Windows.h>
using namespace std;
void SetColor(ConsoleColor text, ConsoleColor background)
{
HANDLE hConso... | [
"tagin.i@mail.ru"
] | tagin.i@mail.ru |
98fb62e546124bc1b880fc58e0aae17fc2b69b85 | b371e2ad17a87b4d27d3b3c1f9cf6357009beff4 | /행렬 테두리 회전하기/source.cpp | ec09857f369032c40a35862c62e4439604d090e7 | [] | no_license | JeanGyuHu/Algorithm | 5a55ae87555aac4e911a58b9769c178607730716 | 887fe632375c03a983787e1b2e0595006d0be077 | refs/heads/main | 2023-06-13T22:03:43.871519 | 2021-06-29T10:58:30 | 2021-06-29T10:58:30 | 344,416,649 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,295 | cpp | #include <bits/stdc++.h>
using namespace std;
vector<int> solution(int rows, int columns, vector<vector<int>> queries) {
vector<vector<int>> maps(rows, vector<int>(columns,0));
vector<int> answer;
int cnt=1;
for(int i=0; i<rows; i++)
for(int j=0; j<columns; j++)
maps[i][j]=cnt... | [
"gjwlsrb1700@gmail.com"
] | gjwlsrb1700@gmail.com |
fc8dd94b42a29cec48e90ec989cb7fb2af681282 | 877a0e4dbe7a93befdfa6cccc1323971ee228cb6 | /TrabalhoFinal/Saldo_Insuficiente_Error.h | 1fc4f4330dcca6974ab1817c0ec76195c5881926 | [] | no_license | jorgevvs/POO | fb910a6d8fff4d30680802a7661d7b7a443b174b | 02aca84d38379a024dc1142f11e31a38d413cacd | refs/heads/main | 2023-08-17T01:59:22.406980 | 2021-10-11T15:47:58 | 2021-10-11T15:47:58 | 391,706,792 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 272 | h | #ifndef SALDO_INUFICIENTE_ERROR
#define SALDO_INUFICIENTE_ERROR
#include <stdexcept>
using std::out_of_range;
class saldo_insuficiente_error: public out_of_range{
public:
saldo_insuficiente_error(const char*e = "Saldo Insuficiente!!!"): out_of_range(e){ }
};
#endif | [
"jorgevinicius9@gmail.com"
] | jorgevinicius9@gmail.com |
896a555a245c3618216b2a277279b129e91f02b9 | 7f4ebfa04c22ebcc1762595cc70e5ae55c7f6877 | /dependency/AWSIoTEmbeddedSDK/platform/common_timer/timer.cpp | 53038e38e8dd4848efad559e98a21afec593e013 | [] | no_license | kmansoo/AWSIoT.Luna | 7636375edc889a58db7405f6e36e834ca54b9eb7 | 3d78da3e2f498ff94bf1ef5d5850e998aebbc62c | refs/heads/master | 2020-12-01T02:17:37.158699 | 2019-07-12T01:18:56 | 2019-07-12T01:18:56 | 67,434,797 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,983 | cpp | /*
* Copyright 2010-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "lice... | [
"mansoo.kim@icloud.com"
] | mansoo.kim@icloud.com |
531be3a67dd0fb40bb74cfc0bdf2a888e18735ad | ff41ca8c7a2aeb5e8438802b9614eaa08c0ad22f | /C번-친구비.cpp | 2b25a3d855b2136b08433c65118c5a725c2511fe | [] | no_license | loozy5331/backjean-1- | 4750801b27a27fa121622ca87a51837ff76adae2 | 5e4912aab84dd7b27775b0598925319806b025d6 | refs/heads/master | 2020-04-08T07:54:09.630561 | 2018-12-12T14:51:51 | 2018-12-12T14:51:51 | 159,156,368 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,256 | cpp | #include <iostream>
#include <queue>
#include <vector>
#include <algorithm>
using namespace std;
int N, M, K;
vector<int> moneys;
int minimum(vector<int>& v) {
int mini = moneys[v[0]];
for(int i = 1; i < v.size(); ++i) {
if (moneys[v[i]] < mini)
mini = moneys[v[i]];
}
return mini;
}
class Graph {
public:
in... | [
"time8970@naver.com"
] | time8970@naver.com |
d0c31071c4e215f2cf9c9d839ead5f8408c13bc5 | 4b135155a76bb0643446226d76c9cd7d4df1dfe6 | /Chapter2/notes/quick_sort.cpp | 4921367e1fa115936e8183d234cc845573a4de38 | [] | no_license | panderan/PracticesCodingInterview | 2ab344725a2b1ff742010cd4aa87e32c809e119f | 901959fabf5b743322581f0ec5773f388486be2f | refs/heads/master | 2020-06-20T05:07:29.859652 | 2019-09-20T09:27:52 | 2019-09-20T09:27:52 | 197,004,841 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,890 | cpp | #include "sort.h"
#include <queue>
using namespace std;
int quick_sort_recursion(int arr[], int length)
{
int s_idx = 0, e_idx = 0; // start,end index
int base = 0;
if (length < 2) {
return 0;
}
base = *arr;
s_idx = 0;
e_idx = length-1;
while (s_idx != e_idx) {
... | [
"panderan@163.com"
] | panderan@163.com |
648f8e7747a1f847af8529bdcd35b9edcc12de2f | a2fb2d662d53f88fcb21ebd3c13f4f577420827e | /Algorithms/Implementation/CutTheSticks.cpp | 902709844c3b61494e361464a61eeed938bec26a | [] | no_license | sandboxorg/HackerRank | 8560606d7bde4c851d49c2c8ce9ac904d9dd16bf | 1aa9d83111f64c345145f9b89c0cbb30f20114e1 | refs/heads/master | 2021-01-17T08:56:07.427306 | 2016-05-17T11:48:43 | 2016-05-17T11:48:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,333 | cpp | #include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;
int getMinimumStick(vector<int> * sticks_left) {
if ((*sticks_left).size() == 0)
return 0;
int minimum = 99999;
for (int i = 0; i < (*sticks_left).size(); i++)
if ((*sticks_... | [
"douglasbellonrocha@gmail.com"
] | douglasbellonrocha@gmail.com |
a2e9fa86a9cda2ce4085d5f196a234e44d904dd9 | 46f53e9a564192eed2f40dc927af6448f8608d13 | /content/browser/power_save_blocker_x11.cc | 58e1e49990b17071b692bae11360afe84789dc59 | [
"BSD-3-Clause"
] | permissive | sgraham/nope | deb2d106a090d71ae882ac1e32e7c371f42eaca9 | f974e0c234388a330aab71a3e5bbf33c4dcfc33c | refs/heads/master | 2022-12-21T01:44:15.776329 | 2015-03-23T17:25:47 | 2015-03-23T17:25:47 | 32,344,868 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 12,567 | cc | // Copyright (c) 2012 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/power_save_blocker_impl.h"
#include <X11/Xlib.h>
#include <X11/extensions/dpms.h>
// Xlib #defines Status, but we can't hav... | [
"scottmg@chromium.org"
] | scottmg@chromium.org |
6f8831bb98eaaf7a420fcc490c5b34b2bbd42b6d | 45d6964578c115cdfedb82affc18169098169783 | /1 Basic Problems/0.primeNumber.cpp | 077ecda3daa7042326b3e0035fa0aa62e7455387 | [] | no_license | SharjeelMoqrabKhan/DSA | b3d5fe457d8bdcf84217f4117731301c9885abbc | 18f3382cc0b00809282b0f1bfae90892c22b1c78 | refs/heads/master | 2023-06-28T08:07:53.034212 | 2021-07-22T12:23:26 | 2021-07-22T12:23:26 | 375,051,699 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 357 | cpp | #include <iostream>
#include <cmath>
using namespace std;
int main()
{
int number=11;
bool flag = true;
for (int i = 2; i < sqrt(number); i++)
{
if (number %i == 0)
{
cout << "Non Prime";
flag = false;
break;
}
}
if (flag == true)
... | [
"38564835+SharjeelMoqrabKhan@users.noreply.github.com"
] | 38564835+SharjeelMoqrabKhan@users.noreply.github.com |
636368aadc6e0cefcbd091af02f06014264c06ed | a5d91784d82cda4a4529411eaa61b97bab136d02 | /src/medusa.real2string.cpp | 9039e1ba74484809e165fab5a5c000f8a4f6e2f7 | [] | no_license | sugarGliders/Numero | 264dea5430f38430a75fe2981a37d026221706b7 | e1989a0b550933a794956276ce9957e156ed320a | refs/heads/master | 2021-03-22T04:16:31.435913 | 2018-11-27T13:54:37 | 2018-11-27T13:54:37 | 31,940,138 | 1 | 4 | null | 2018-11-27T13:54:38 | 2015-03-10T05:29:23 | C++ | UTF-8 | C++ | false | false | 986 | cpp | /* Created by Ville-Petteri Makinen 2003-2010
Copyright (C) V-P Makinen
All rights reserved */
#include "medusa.local.h"
/*
*
*/
string
medusa::real2string(const mdreal x) {
char buf[32];
if(x == medusa::rnan()) return "nan";
if(x == 0.0) return "0";
/* Integer. */
double integer = 0.0;
double fr... | [
"stefan.mutter@sahmri.com"
] | stefan.mutter@sahmri.com |
ee9106d723513d63b3ffd6546f6270f5d178047b | f6d3073fd746a71cb00e8a0d5dc4f42732eca956 | /src/Memoria/Source/Memoria/Private/LevelDataAsset.cpp | 4e9dfa9f20451863e4b44c907858a585981a81c5 | [] | no_license | ditan96/rc-memoria | 95f8643e3ac5c1c55a4e6a910932c8e3e39f48b3 | a8c540dab55df000d7d2465ad650cd8dafdbef5f | refs/heads/master | 2022-11-05T15:46:16.783600 | 2019-11-20T04:13:49 | 2019-11-20T04:13:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 204 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "LevelDataAsset.h"
void ULevelDataAsset::Setup(AGameControllerBase* controller)
{
OnReceiveSetup(controller);
}
| [
"freedomzelda_dc@hotmail.com"
] | freedomzelda_dc@hotmail.com |
6c5f43724932c5942eb28e4211682bd1c3678ffb | ccabf4ffe6daacd74e9434eb7d9773477ad408ae | /opengl/IBL/ibl_specular.cpp | c2c29846f12d745c594f86ead49459ed51d77a2f | [] | no_license | gwkdgwkd/examples | 1c838ea0af5647085033c2d8dcda23fe8d865fd4 | b1527dbbeb14613e1f12ac82d7c765f2c496131e | refs/heads/master | 2023-06-13T02:11:21.325826 | 2023-05-26T03:24:33 | 2023-05-26T03:24:33 | 222,626,200 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 32,540 | cpp | #include <glad/glad.h>
#include <GLFW/glfw3.h>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
#include <shader.h>
#include <camera.h>
#include <model.h>
#include <iostream>
void framebuffer_size_callback(GLFWwindow* window, int width, int height);
void mouse_callback(... | [
"wlliang@vw-mobvoi.com"
] | wlliang@vw-mobvoi.com |
6be16c1805dba9c4377a5b5733554b8647848c16 | 8585fb5783f5fd161334a7f610734bff795455c6 | /assignment2/chord/server/sha1.h | f9d2d7623df8a65c8a23cc002ced56d487421957 | [] | no_license | ShailendraKK/CS-695 | 0681973e800380bf9598f6411aa498ea6e61fe5a | 02c5d552689a5af5a6871466d32ce49fb430cf52 | refs/heads/master | 2023-07-14T23:47:32.723152 | 2021-08-22T18:22:31 | 2021-08-22T18:22:31 | 391,829,912 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,051 | h | #ifndef SHA1_HPP
#define SHA1_HPP
#include <iostream>
#include <string>
class SHA1
{
public:
SHA1();
void update(const std::string &s);
void update(std::istream &is);
std::string final();
static std::string from_file(const std::string &filename);
private:
typedef unsigned long int uint32... | [
"shailendra@cse.iitb.ac.in"
] | shailendra@cse.iitb.ac.in |
556ed653037c0a6b5f1310ace0593a02644e727b | c3cd7d81f09588849d852877f01bd198190413fc | /test/test/test.cpp | 97daa702870755ea46255b785bf6e6f4d16cc6e9 | [] | no_license | I-mpossible/MFC-winpcap-sniffer | 3d4c440122f3bd14fec930b8c53b2b49f31ad7f8 | d24a57ab01afbb8f3769994a640b7567340a8727 | refs/heads/master | 2020-05-03T02:01:30.915207 | 2019-03-29T07:35:12 | 2019-03-29T07:35:12 | 178,355,538 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,744 | cpp |
// test.cpp: 定义应用程序的类行为。
//
#include "stdafx.h"
#include "test.h"
#include "testDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CtestApp
BEGIN_MESSAGE_MAP(CtestApp, CWinApp)
ON_COMMAND(ID_HELP, &CWinApp::OnHelp)
END_MESSAGE_MAP()
// CtestApp 构造
CtestApp::CtestApp()
{
// 支持重新启动管理器
m_dwRestartManagerSup... | [
"582932205@qq.com"
] | 582932205@qq.com |
7a9d390ee8fe93b3b377f64ecbec6e0ee4e6b097 | 5deab316a4ab518e3a409ab69885d372f4d45706 | /PreNationals/Contests/UNTC/Day2/D.cpp | 552eaad5ab51cb1d5f017fd976a22d737d035c16 | [] | no_license | af-orozcog/competitiveProgramming | 9c01937b321b74f3d6b24e1b8d67974cad841e17 | 5bbfbd4da9155a7d1ad372298941a04489207ff5 | refs/heads/master | 2023-04-28T11:44:04.320533 | 2021-05-19T19:04:30 | 2021-05-19T19:04:30 | 203,208,784 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,043 | cpp | #include<bits/stdc++.h>
using namespace std;
int inf = INT_MAX;
int lg2[100000];
int K = 12;
int st[13][501][13][501];
int query(int x, int y, int sz){
int imp = lg2[sz];
int X = x + sz-1;
int Y = y + sz-1;
int see1 = st[imp][x][imp][y];
int see2 = st[imp][X][imp][Y - (1<<imp)+1];
int see3 = ... | [
"af.orozcog@uniandes.edu.co"
] | af.orozcog@uniandes.edu.co |
b00b9d2a482ce18bf40ff60979b249e98288798b | 8b20a84ebed079e1df13eb4bdee3e2ae84e690ad | /2739_구구단.cpp | 60dbb9f58e5dbdcc8021f97f383b492b9f399924 | [] | no_license | DoorJung/BOJ | 30eab0463ff06ea9a87965e02aee825cb824d4c8 | 9c1a776e472d300725db55edf3337067744ded22 | refs/heads/master | 2020-06-13T03:26:21.493634 | 2019-07-11T14:39:19 | 2019-07-11T14:39:19 | 183,410,619 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 161 | cpp | #include<iostream>
using namespace std;
int main() {
int N;
cin >> N;
for (int i = 1; i < 10; i++) {
printf("%d * %d = %d\n", N, i, N * i);
}
return 0;
} | [
"icoostudio@gmail.com"
] | icoostudio@gmail.com |
891a54f87fb0298b21b1a76c8c18b4a09ee3ef15 | cfeac52f970e8901871bd02d9acb7de66b9fb6b4 | /generated/src/aws-cpp-sdk-guardduty/source/GuardDutyErrorMarshaller.cpp | bd8934f41944eb0bf5fa54947c28861807204551 | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | aws/aws-sdk-cpp | aff116ddf9ca2b41e45c47dba1c2b7754935c585 | 9a7606a6c98e13c759032c2e920c7c64a6a35264 | refs/heads/main | 2023-08-25T11:16:55.982089 | 2023-08-24T18:14:53 | 2023-08-24T18:14:53 | 35,440,404 | 1,681 | 1,133 | Apache-2.0 | 2023-09-12T15:59:33 | 2015-05-11T17:57:32 | null | UTF-8 | C++ | false | false | 628 | cpp | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/core/client/AWSError.h>
#include <aws/guardduty/GuardDutyErrorMarshaller.h>
#include <aws/guardduty/GuardDutyErrors.h>
using namespace Aws::Client;
using namespace Aws::GuardDuty;
AWSE... | [
"sdavtaker@users.noreply.github.com"
] | sdavtaker@users.noreply.github.com |
e7114c00d487c59228e8e42343f47b0d868055e2 | cc8b1b01620fe4ea2dd181d2cdf7a15f44ef0d81 | /code/cpp/vtk-examples/guide/Medical/MedicalDemo1.cxx | a8764853698d566307a6138df4700889b5ff9bb0 | [] | no_license | santiagoom/vtk-examples | 2c73bca9efda3268ed69d79e54988b9393b1cf60 | 6324f302f3bd9d7ade3474c74086e530879e062c | refs/heads/main | 2023-07-16T02:10:55.862748 | 2021-08-19T06:55:32 | 2021-08-19T06:55:32 | 307,636,085 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,935 | cxx | // Derived from VTK/Examples/Cxx/Medical1.cxx
// This example reads a volume dataset, extracts an isosurface that
// represents the skin and displays it.
//
#include <vtkActor.h>
#include <vtkCamera.h>
#include <vtkMarchingCubes.h>
#include <vtkMetaImageReader.h>
#include <vtkNamedColors.h>
#include <vtkNew.h>
#includ... | [
"ingenuity_zero@163.com"
] | ingenuity_zero@163.com |
5548c12ff2792ccaa428f8ae0def26da8a240caf | 9037e834311ca6d177f8ee115a4059060fd4747e | /src/lib/takamori/streams/CFileStream.cpp | 981cb06cb9829deb6a02d75ca1fb9bc0c1e6d163 | [
"LicenseRef-scancode-other-permissive",
"MIT",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | KinoMyu/libcgss | 7bc9467b636616a3a7d55f813b42d4763ad47402 | c0759722935d5872955c3d9639c7c49a69bbd622 | refs/heads/master | 2021-05-09T11:11:26.350776 | 2018-01-26T01:06:41 | 2018-01-26T01:06:41 | 118,986,544 | 0 | 0 | null | 2018-01-26T01:06:41 | 2018-01-26T00:58:01 | C++ | UTF-8 | C++ | false | false | 7,248 | cpp | #include <stdlib.h>
#include <stdio.h>
#ifndef __MINGW_H
#include <algorithm>
#endif
using namespace std;
#include "CFileStream.h"
#include "../exceptions/CArgumentException.h"
#include "../exceptions/CInvalidOperationException.h"
#define __FILE_READ ("rb")
#define __FILE_WRITE ("wb")
#define __FILE_APPEND ("ab")... | [
"uiharu@buaa.edu.cn"
] | uiharu@buaa.edu.cn |
a2cc66be82bc35078e7314a9edfef0f31f1cc7d4 | 3180c55988e3e87dd1290d6f90c3b63a08f6042a | /IfcPlusPlus/src/ifcpp/IFC4/IfcSpace.cpp | 66c9bfc49f4bed30e01520285011fc2c875fddad | [] | no_license | bbrangeo/IFCPlusPlus | 65d3bb3c0cdd4043f516a6a8321d522e0683a180 | 87e361487c86a15a4417b4ab8d744cd7b9a39876 | refs/heads/master | 2021-01-17T22:20:29.395459 | 2014-06-05T13:05:31 | 2014-06-05T13:05:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,219 | cpp | /* -*-c++-*- IfcPlusPlus - www.ifcplusplus.com - Copyright (C) 2011 Fabian Gerold
*
* This library is open source and may be redistributed and/or modified under
* the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
* (at your option) any later version. The full license is in LICENSE file
* in... | [
"fabian.gerold@gmail.com@06f6d6f3-f2e0-f239-6e86-ba6a5d17d3a5"
] | fabian.gerold@gmail.com@06f6d6f3-f2e0-f239-6e86-ba6a5d17d3a5 |
489e2d0c1136b316a0e4b404fad2a29394726bfa | d4b17a1dde0309ea8a1b2f6d6ae640e44a811052 | /include/algorithms/weak_learner/weak_learner_training_batch.h | 3886d554907437bc882692794cc1b706630d4736 | [
"Apache-2.0",
"Intel"
] | permissive | h2oai/daal | c50f2b14dc4a9ffc0b7f7bcb40b599cadac6d333 | d49815df3040f3872a1fdb9dc99ee86148e4494e | refs/heads/daal_2018_beta_update1 | 2023-05-25T17:48:44.312245 | 2017-09-29T13:30:10 | 2017-09-29T13:30:10 | 96,125,165 | 2 | 3 | null | 2017-09-29T13:30:11 | 2017-07-03T15:26:26 | C++ | UTF-8 | C++ | false | false | 3,576 | h | /* file: weak_learner_training_batch.h */
/*******************************************************************************
* Copyright 2014-2017 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a cop... | [
"vasily.rubtsov@intel.com"
] | vasily.rubtsov@intel.com |
9093a53c915e799b594a46a8f5b7a972bcd00c46 | 05e08f071f5943874aa34504706c6d7d26f05901 | /src/camera.h | 765db25b9d85444905f8111dff772c555d042214 | [] | no_license | msnh2012/CV_OpenCV_3D_Object_Detection | b9163b50f589d22370a5e0b9ff75ce80a63725e4 | 333833bafb46e3462902c4f66f178f436d045544 | refs/heads/master | 2023-02-22T19:53:07.410831 | 2017-06-18T12:56:34 | 2017-06-18T12:56:34 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,789 | h | #ifndef _CAMERA_H_
#define _CAMERA_H_
#include <iostream>
#include <fstream>
#include <GL/glew.h>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtx/string_cast.hpp>
#include <iomanip> // std::setprecision
// 定义移动方向
enum Camera_Movement {
FORWARD,
BACKWARD,
LEFT,
RIGHT,
UP,
DOW... | [
"gaspard.qin@gmail.com"
] | gaspard.qin@gmail.com |
bb2cb6ea38c79c3b7d65ddb337d9324cd1117a7e | ad7ff25f9fcefa8101ae46b467fe4335200a1177 | /example/cache.cpp | 2f8ba4610a5901bf1c23a4f07cf6241dcf5a6f44 | [
"BSL-1.0"
] | permissive | akitsu-sanae/osjul | eaf975f6c46a10a7f073adacecd2ee0edb82a2f9 | 9bc7443dd362243bb6c07a60e91a4c197ff7038d | refs/heads/master | 2020-05-21T20:24:00.385661 | 2017-03-28T13:22:05 | 2017-03-28T13:22:05 | 39,301,213 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 955 | cpp | /*============================================================================
Copyright (C) 2015-2016 akitsu sanae
https://github.com/akitsu-sanae/osjul
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt)
===================... | [
"akitsu.sanae@gmail.com"
] | akitsu.sanae@gmail.com |
8acaed084b6c350b86aea94175119390d826c93d | d8501c5c1c0b1faddbdbaa08fa8da86d6a379fa6 | /lldebug/src/visual/watchview.cpp | 945c7d1303cba45508d8210517b649d4d94e9fea | [
"BSD-3-Clause",
"BSD-2-Clause"
] | permissive | oceancx/lldebug | ffd255854f30f99253ae9ae8e50cbb0500628054 | 62998fefaaad02f436181cf150ca1b104ab8db7c | refs/heads/master | 2021-05-13T12:32:46.828258 | 2009-04-16T13:31:07 | 2009-04-16T13:31:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,204 | cpp | /*
* Copyright (c) 2005-2008 cielacanth <cielacanth AT s60.xrea.com>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyrig... | [
"cielacanth@luaforge.net"
] | cielacanth@luaforge.net |
941460be6c7e5433d682a22a149ab1a0b25188c3 | fccb06eff97e221032487b95bc22925abbbaa4ba | /305 - C++/HW5/Shapes/2DShapes/Triangle.cpp | 1069aa83edde82bb63feca8fa7d09e32a4d3ff24 | [] | no_license | lbenedetto/EWU-CS | 29052565bddff83ef69a7e8a6eed0a6ddf4321a4 | dc0c7b8297ea4c8fbfadf1922cafb575e43a541d | refs/heads/master | 2018-07-20T11:20:48.417941 | 2018-06-02T02:46:22 | 2018-06-02T02:46:22 | 87,256,157 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 308 | cpp | #include <iostream>
#include "Triangle.h"
double Triangle::computeArea() {
return (base * height) / 2;
}
void Triangle::printShapeDetail() {
std::cout << "Triangle, 2D Shape, base: " << base
<< ", height: " << height
<< ", Area: " << computeArea()
<< "." << std::endl;
}
| [
"larsbenedetto@gmail.com"
] | larsbenedetto@gmail.com |
e160b468e06d3bf6b7741a0a9775ffe27749d0db | 741f3f541fa18735d88518d567b6b3cd5348e44e | /test/gpu-extern_run.cc | 543cfbd16a7e75b2ee40fbe84fa8ad34559970b8 | [
"Zlib",
"MIT"
] | permissive | iitaku/ion-kit | f6ab870a5469ab4219aa4ed6ee5cf26e3d188bc5 | 6e49695177c9913ffa0fab5bd7939254ff928086 | refs/heads/master | 2023-08-13T08:30:51.954408 | 2021-10-02T22:33:48 | 2021-10-02T22:33:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 800 | cc | #include <vector>
#include <HalideBuffer.h>
#include "test-rt.h"
#include "gpu_extern.h"
using namespace Halide::Runtime;
int main()
{
int size = 32;
Buffer<int32_t> ibuf(std::vector<int32_t>{size, size});
for (int y=0; y<size; ++y) {
for (int x=0; x<size; ++x) {
ibuf(x, y) = 42;
... | [
"t_iizuka@fixstars.com"
] | t_iizuka@fixstars.com |
9d5120657b033620d5417e9f56292779382a7a35 | 4bf9311e158673ee0b5d05ab9033b7cbf5f96e12 | /ItsAGame/GameObject.cpp | 94a43e53013149478a79b0beb7cb53fffe7505fc | [] | no_license | patzjo/ItsAGame | f58e70dc31abd255fb6688a41c602e39f34244bb | e84e191ec711d08ef28b35ec93aff423270a88c4 | refs/heads/master | 2022-02-02T18:45:23.851134 | 2018-04-04T11:01:14 | 2018-04-04T11:01:14 | 128,013,346 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,681 | cpp | #include "Renderer.h"
#include "GameObject.h"
#include "Utils.h"
GameObject::GameObject()
{
}
GameObject::~GameObject()
{
}
void GameObject::update( float dT )
{
}
void Player::onNotify(GameObject * gameObject, int eventType, void * eventData)
{
switch (eventType)
{
case E_START_OVERLAP:
checkCollision(gam... | [
"jonne.patzold@gmail.com"
] | jonne.patzold@gmail.com |
2bf8a98ef20971a816e526186b655443536b4eec | cb825d277a7bd81ba176c379ea48ce48c28ac661 | /abc171/b.cpp | 6a74328036ce01e62d61897eb1e1b9baa6b76bd2 | [] | no_license | yo-shi/atcoder | 0020b7f4cde68968bb7739291cb543f01be5164e | 5751334f8d322bcb2e9b858e2893c2e34cdbda7e | refs/heads/master | 2023-04-13T09:33:28.170064 | 2021-04-20T22:47:38 | 2021-04-20T22:47:38 | 264,074,220 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,572 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef pair<int,int> P;
#define all(v) v.begin(), v.end()
const ll mod=1000000007;
ll countBits(ll in){
int res=0;
for(;in>0;in>>=1){
if((in&0x01)!=0){
res++;
}
}
return res;
}
template<typenam... | [
"yskshi007@gmail.com"
] | yskshi007@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.