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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ec6c32227484f2c097ffae5214cfea757b0247c5 | f5d39ca7dbc65f1fbd5a9eac10ebac3dc937fcde | /src/bit_stream.cpp | 86da72fedb82ffa0b49eb7676694b45ff23df657 | [
"Apache-2.0"
] | permissive | magnusl/libgif | 0f2a49c2336257baeb485500e90eabb76ecbff2f | eb9cc8bdfadfb49e50f9fa769a830d8b4513f46f | refs/heads/master | 2021-03-24T12:59:35.419518 | 2018-12-06T14:55:56 | 2018-12-06T14:55:56 | 121,938,282 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,773 | cpp | #include <gif/bit_stream.h>
#include <gif/gif.h>
#include <assert.h>
namespace gif {
BitStream::BitStream(
std::basic_string_view<uint8_t>::const_iterator it,
std::basic_string_view<uint8_t>::const_iterator end) :
iterator_(it),
end_(end),
byte_(0),
bitsLeftInByte_(0)
{
bytesInBlock_ = Par... | [
"magnus586@hotmail.com"
] | magnus586@hotmail.com |
0638c8503e218ce4bbaa0646c6ab04dffaed1eb1 | a39896b2a1212edc23646bdde57c8e7cf1423393 | /turbulance/include/coord.h | 882cb619c06f2c4151804deab3e041a43e49f562 | [] | no_license | dekdekbaloo/turbulance | eca4b743f331e22568a0f4bde4c0423896c59877 | 78fe67c7c28703eeafb7cf8c434733677cbbb62c | refs/heads/master | 2020-12-24T13:36:09.142374 | 2015-05-21T15:56:16 | 2015-05-21T15:56:16 | 35,752,714 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 425 | h | #ifndef COORD_H_INCLUDED
#define COORD_H_INCLUDED
struct coord {
public:
float x, y, z;
bool operator==(const coord &o) const {
return x == o.x && y == o.y && z == o.z;
}
bool operator<(const coord &o) const {
return x < o.x || (x == o.x && y < o.y) || (x == o.x && y == o.y && z <... | [
"Bankde@hotmail.com"
] | Bankde@hotmail.com |
feacaddc47a3d97d5a178ead53b6c92c136fd758 | 7266b663078cdc1ed0db72589e078af28ecc98d8 | /Project1/Project1/SceneInstitute3.cpp | a085cbffe49c3e35b988b7d16816d14ef80e5edb | [] | no_license | Tanaka1228/ankokusinsidan | bd09cd73e7092770570edb5379fc1321fbe085b1 | ccac38f3177159fe508fca3d8b42439ecf5d725c | refs/heads/main | 2023-01-25T05:09:45.849278 | 2020-12-09T00:07:37 | 2020-12-09T00:07:37 | 304,493,182 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 2,524 | cpp | //STLのデバック機能をOFFにする
#define _SECURE_SCL (0);
#define _HAS_ITERATOR_DEBUGGING (0);
//GameLで使用するヘッダー
#include"GameL\SceneObjManager.h"
#include"GameL\DrawFont.h"
#include"GameL/DrawTexture.h"
//使用するネームスペース
using namespace GameL;
//使用するヘッダー
#include"GameHead.h"
#include"ObjInstitute3.h"
//コンストラクタ
CSceneInstitute3::C... | [
"h1202016013@hiratagakuen.onmicrosoft.com"
] | h1202016013@hiratagakuen.onmicrosoft.com |
f69adc19405d0062f7df85407a0e8e76e9b8cd2d | 031f7354f569f118d73b5bf9ce0d4f860fb5eabf | /libkroll/utils/linux/platform_utils_linux.cpp | 6fa3014d3857e9736ab452e7b35bcc9a56f73388 | [
"Apache-2.0"
] | permissive | psycho-pas/kroll | 706e3a55bf390e3f447d619ad158c840ff176506 | 12fc8ead138984a84681b7d7a526d58f5b44e3bc | refs/heads/master | 2020-05-24T08:15:08.637812 | 2019-05-19T09:29:16 | 2019-05-19T09:29:16 | 187,138,484 | 0 | 0 | NOASSERTION | 2019-05-17T03:12:14 | 2019-05-17T03:12:14 | null | UTF-8 | C++ | false | false | 3,144 | cpp | /**
* Appcelerator Kroll - licensed under the Apache Public License 2
* see LICENSE in the root folder for details on the license.
* Copyright (c) 2009 Appcelerator, Inc. All Rights Reserved.
*/
// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// Permission is here... | [
"mrobinson@appcelerator.com"
] | mrobinson@appcelerator.com |
9d0b5fdbefe4d0d8eeae9bc49493f711b0f291dd | f1c01a3b5b35b59887bf326b0e2b317510deef83 | /SDK/SoT_BP_Pig_Mythical_classes.hpp | ed82c40e89a89c128aa609c6d78f89e72410f03a | [] | no_license | codahq/SoT-SDK | 0e4711e78a01f33144acf638202d63f573fa78eb | 0e6054dddb01a83c0c1f3ed3e6cdad5b34b9f094 | refs/heads/master | 2023-03-02T05:00:26.296260 | 2021-01-29T13:03:35 | 2021-01-29T13:03:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 681 | hpp | #pragma once
// Sea of Thieves (2.0) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "SoT_BP_Pig_Mythical_structs.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//---------------------------------------------------------------------------
/... | [
"30532128+pubgsdk@users.noreply.github.com"
] | 30532128+pubgsdk@users.noreply.github.com |
8aed5da785d449c50a3a6289377bc7cedfb97cd0 | 0dc20516079aaae4756d28e67db7cae9c0d33708 | /jxy/jxy_src/jxysvr/src/server/gameserver/net/recharge/rcclient.h | 65f5b54a449f57b534ef593f9b55431c8a6d73ac | [] | no_license | psymicgit/dummy | 149365d586f0d4083a7a5719ad7c7268e7dc4bc3 | 483f2d410f353ae4c42abdfe4c606ed542186053 | refs/heads/master | 2020-12-24T07:48:56.132871 | 2017-08-05T07:20:18 | 2017-08-05T07:20:18 | 32,851,013 | 3 | 8 | null | null | null | null | GB18030 | C++ | false | false | 4,658 | h |
#ifndef __RC_CLIENT_CHANNEL_H
#define __RC_CLIENT_CHANNEL_H
#include <sdframework.h>
#include <sdtype.h>
#include <sdnet.h>
#include "logic/base/basedefine.h"
#include "deal/gmdealframe.h"
using namespace SGDP;
using namespace InterfaceDealBase;
class CPlayer;
class CRCClient: public ISDSession
{
... | [
"wuzili1234@gmail.com"
] | wuzili1234@gmail.com |
ee89d372b09a2248f5154d0720a814dfa8801736 | 66c655a05d79ecfbc104b9b40a147c90b9efe242 | /Client/Accessory.cpp | 2e26e022b032cb279857cf626b8393ef4bd1488c | [] | no_license | a110b1110/MapleStory | 244cdb3a98aed43244341b1b815b86cd1b0c0f15 | 03d627fad6224ac41ac9d92a2243d1caa05a6b35 | refs/heads/master | 2021-01-01T06:29:04.838321 | 2017-08-15T09:10:24 | 2017-08-15T09:10:24 | 97,435,142 | 0 | 0 | null | 2017-07-17T04:26:52 | 2017-07-17T04:26:52 | null | UTF-8 | C++ | false | false | 1,086 | cpp | #include "stdafx.h"
#include "Accessory.h"
#include "BitMapMgr.h"
#include "BitMap.h"
CAccessory::CAccessory(void)
{
m_tItem.m_eType = ITEM_END;
}
CAccessory::CAccessory(TCHAR * pName, eItemType _eType)
{
m_tItem.m_eType = _eType;
lstrcpy(m_tItem.m_szName, pName);
}
CAccessory::~CAccessory(void)
{
Release();
}
... | [
"ygchoi2001@naver.com"
] | ygchoi2001@naver.com |
13bdfa3b931338551879ebcaf6683b9b17ee64e5 | b7d3ac6d8eb63af8669375a1eabe153d3eef7d07 | /Tarea1_B47835/Electric.h | 4d014d2ecb8d83b69cce788996b57fac604f117a | [] | no_license | CursosIE/IE-0217-III-16-G2 | e7707b7a9729c98215307118bd2bb374570d5e71 | c3457bad72b30594d413bdafc358c1395c2de805 | refs/heads/master | 2021-01-11T23:19:38.683426 | 2017-03-07T06:38:37 | 2017-03-07T06:38:37 | 78,567,750 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,464 | h |
#ifndef ELECTRIC_H
#define ELECTRIC_H
#include <iostream>
#include "Pokemon.h"
/**
* Esta clase modela el comportamiento de un pokemon de tipo electrico por lo que provee metodos para mostrar las ventajas
* y desventajas de un pokemon perteneciente a dicho grupo. El hecho de ser electrico es una caracteristica pr... | [
"cuchazc96@gmail.com"
] | cuchazc96@gmail.com |
5ff757f6d2341fe4f0748961aeba035ac1e4af61 | aecb4915544f1b669d3dc2ca0916245e39de4de8 | /opencv_beginners/test/basicImgOpsTests/testRot.cpp | 7d71aa1f24a70849bcc584c566957d3174184759 | [
"MIT"
] | permissive | ratnadeepb/OpenCVProjects | bd83201ee5fc0f06b032f7f81899e9d1fa9f4f88 | 538e1a0bd9c6895f7f730db736767a213d140476 | refs/heads/master | 2021-05-06T04:25:40.018654 | 2018-01-04T12:14:03 | 2018-01-04T12:14:03 | 114,995,013 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 193 | cpp | #include "../../source/basicImgOps/rotation.hpp"
int main(int argc, char** argv)
{
int retVal = rotate(argv[1]);
std::cout << "The return value is " << retVal << std::endl;
}
| [
"ratnadeep.bhattacharya1983@gmail.com"
] | ratnadeep.bhattacharya1983@gmail.com |
1e71259e8ccdd1e74fc88e7da0adca23e1b6408a | a09400aa22a27c7859030ec470b5ddee93e0fdf0 | /stalkercop/include/smart_cover_transition_animation.hpp | 94c29d88c0126a7e6c10f7cf56048a64eb7f0f80 | [] | no_license | BearIvan/Stalker | 4f1af7a9d6fc5ed1597ff13bd4a34382e7fdaab1 | c0008c5103049ce356793b37a9d5890a996eed23 | refs/heads/master | 2022-04-04T02:07:11.747666 | 2020-02-16T10:51:57 | 2020-02-16T10:51:57 | 160,668,112 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,518 | hpp | ////////////////////////////////////////////////////////////////////////////
// Module : smart_cover_transition_animation.hpp
// Created : 20.12.2007
// Author : Alexander Dudin
// Description : Animation transition class for smart_cover
////////////////////////////////////////////////////////////////////////////
... | [
"i-sobolevskiy@mail.ru"
] | i-sobolevskiy@mail.ru |
ae3ab0668aeac1c854fc6b63882205430ff1df11 | bda4ec81244344895fb3a1f8c49e095d47555104 | /Arduino/SharpSensorCm/SharpSensorCm.ino | f2a54771b02f4b7cd3cdb3ae7487593944f5b3b1 | [
"MIT"
] | permissive | chapellu/pekee2.0 | 08db3d27abf28c00eecdbb96fd29e7251f287706 | d714022c037c1c63ae12534feead32db7eb14b51 | refs/heads/master | 2021-05-16T11:22:24.510753 | 2018-02-19T13:40:28 | 2018-02-19T13:40:28 | 104,994,439 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 929 | ino | #include <SharpIR.h>
#define ir A0
#define model 430
// ir: the pin where your sensor is attached
// model: an int that determines your sensor: 1080 for GP2Y0A21Y
// 20150 for GP2Y0A02Y
// (working distance range according to the da... | [
"ar.mignotte@orange.fr"
] | ar.mignotte@orange.fr |
b5d890473273745bf6fb5850345d254f7a5b0f86 | b1cedd57be15eb9a9a1727c7f09dff4d8df942b5 | /PredefenceSuggestions/scratch/collision_radio_feedback.cc | e491b05a74a167823c04f278aaedb7a5e4a2c8e5 | [] | no_license | takhandipu/MSThesisBook | 2d00deb88d8033164a3520b94f1d3409bf202831 | 936b0a3102f75b8820558250d3480aab01e89873 | refs/heads/master | 2020-06-03T04:44:41.158733 | 2017-08-12T20:13:06 | 2017-08-12T20:13:06 | 94,115,774 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,559 | cc | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2016,2016 BUET
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation;
*
* This program is distrib... | [
"takhandipu@gmail.com"
] | takhandipu@gmail.com |
4a3e11a0de87afa9d4aae2c18814a28f150b152d | 2faa1b4e7253f75c4c7de8a07884daacf6f99620 | /scroll-url.h | d58944d659e0d5498f42811fac1d7ba112622f1a | [
"MIT"
] | permissive | nnm-t/m5stickc-visiting-card | dabd8c7cb95fc758c6b48064b407e901cc723836 | 858a11ffa48c6d7e76d19c84cb9529a3ef3754da | refs/heads/master | 2021-03-01T03:46:02.451539 | 2020-03-08T04:30:15 | 2020-03-08T04:30:15 | 245,751,418 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 757 | h | #pragma once
#include <Arduino.h>
#include <M5StickC.h>
#include "sprite.h"
class ScrollURL
{
static constexpr const Vector2<int32_t> position = Vector2<int32_t>(64, 56);
static constexpr const Vector2<int32_t> push_position = Vector2<int32_t>(96, 0);
static constexpr const Vector2<int16_t> delta = Vecto... | [
"noname@kamisawa.net"
] | noname@kamisawa.net |
a801015319a122807c0308f4e8de7d68099c8442 | 125b6ed108aa1c5cad36b4eb68d328bdcdc82669 | /compare.cpp | ccccfde0d03c29e69d6c5348106b6eda24c895a0 | [
"BSD-3-Clause"
] | permissive | monellz/vite | 52d033fbf21220f4b94b67ccd00613dd7b092341 | b9c114ae6b3b17cf23215e28afa03452c9f44b79 | refs/heads/master | 2023-06-16T21:50:03.777407 | 2021-07-16T07:41:24 | 2021-07-16T07:41:24 | 386,495,562 | 0 | 0 | BSD-3-Clause | 2021-07-16T03:23:14 | 2021-07-16T03:23:14 | null | UTF-8 | C++ | false | false | 12,192 | cpp | // ***********************************************************************
//
// Vite: A C++ library for distributed-memory graph clustering
// using MPI+OpenMP
//
// Daniel Chavarria (daniel.chavarria@pnnl.gov)
// Antonino Tumeo (antonino.tumeo@pnnl.gov)
// ... | [
"sghosh1@eecs.wsu.edu"
] | sghosh1@eecs.wsu.edu |
8001ae8f7c50da67d6f9174f1f88c401a0f52752 | aed2c24f8767d6d9a05b573ca97539f6c0c352a1 | /cpp-第二次作业/Q87/code.cpp | 8a1596bc1d776909ee1d9a20b0ac263a7424599f | [] | no_license | NJUSE58/CPP | 3437a76abaf190211ef26f7c450f7c1e2c9e5aa2 | b5b8aa2073e4f3a777ef654d23e5159799fe7a72 | refs/heads/master | 2021-05-07T17:13:59.029302 | 2017-11-02T12:19:27 | 2017-11-02T12:19:27 | 108,662,749 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 584 | cpp | #include<iostream>
#include<algorithm>
using namespace std;
#define MAX 101
int main()
{
int n;
int num[MAX][MAX], sum[MAX][MAX];
cin >> n;
for (int i = 1; i <= n; i++) {
for (int j = 1; j <= i; j++) {
cin >> num[i][j];
}
}
for (int i = 1; i <= n; i++) {
sum[n][i] = num[n][i];
}
for (int i = n; i > ... | [
"161250058@smail.nju.edu.cn"
] | 161250058@smail.nju.edu.cn |
d4e9821cf5ea0eb1e41abb6836312948b9154c63 | e077aaaa60a39ba40855f36bc3a53f8adfc8fc08 | /tensorflow-master-tensorflow/stream_executor/cuda/cuda_gpu_executor.h | 2a0c6dc456dc76cd0c707c8fef9e621bf8bca989 | [
"MIT"
] | permissive | xijunlee/tensorflow-learning | fe9dd1d9b0d3e79b7ed3cad16c4d25073ab14483 | 936c384667632c43ccd3d536b8136d46a978d5aa | refs/heads/master | 2022-11-01T13:27:22.423217 | 2018-12-05T07:19:34 | 2018-12-05T07:19:34 | 88,263,357 | 1 | 1 | MIT | 2022-10-11T19:19:53 | 2017-04-14T11:48:26 | C++ | UTF-8 | C++ | false | false | 10,718 | h | /* Copyright 2015 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in ... | [
"xijun.lee@hotmail.com"
] | xijun.lee@hotmail.com |
0fa6ca2df938a9b20ede4b36f50fac4508b03705 | 5f1828ff9a44a2c922080773df8bb24c0b79168a | /src/HexView/HexViewInternal.h | 97eb3fcace4e193abda782d1dcd7ca8ef5ea4bbf | [
"MIT"
] | permissive | McNeight/x64lab.hexview64 | 84af13e400a25272ebeed56cad16b49f72cf7b33 | 414a167df992af428663c99a3c6571a9842edf73 | refs/heads/master | 2021-01-10T16:20:00.510994 | 2013-01-20T04:30:04 | 2013-01-20T04:30:04 | 52,145,026 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,182 | h | //
// HexViewInternal.h
//
// www.catch22.net
//
// Copyright (C) 2012 James Brown
// Please refer to the file LICENCE.TXT for copying permission
//
#ifndef HEXVIEW_INTERNAL_INCLUDED
#define HEXVIEW_INTERNAL_INCLUDED
#include "sequence.h"
#undef HEXVIEW_64
//#define HEXVIEW_64
#ifdef HEXVIEW_64
//typedef UINT64 s... | [
"mrk@localhost"
] | mrk@localhost |
d1f5e2c69018d9bf7b776aa1a923369b4b417a35 | c17deea16a9dfa619967c5f5a98da3b9b87b6d65 | /codesignal/math/depositProfit.cpp | f802c0d136370cff28f20a18386a1b93fc4cb5f6 | [
"Apache-2.0"
] | permissive | peterlamar/cpp-cp-cheatsheet | ed00c44a3a257cfbe7f2933b493dcb03c4436634 | 23af2e893992141572005de7a438c3a2d376547e | refs/heads/main | 2023-09-01T17:40:12.507633 | 2021-10-14T11:32:58 | 2021-10-14T11:32:58 | 405,108,923 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 849 | cpp | /*
https://www.math.unl.edu/~tlai3/M119-Section16.pdf
For deposit = 100, rate = 20, and threshold = 170, the output should be
depositProfit(deposit, rate, threshold) = 3.
Each year the amount of money in your account increases by 20%. So throughout the years, your balance would be:
year 0: 100;
year 1: 120;
year 2: ... | [
"peterrlamar@gmail.com"
] | peterrlamar@gmail.com |
03c6532cfe2ec6f65e2503c2f5ad79142088c65b | b9888a50289f77a05a7707de42eac3aaae97008b | /-std=c++98/Creature.h | 1d96492b1a5b4fac4ce492acace14d32b40dc4aa | [] | no_license | Serfati/Heroes-of-Might-and-Magic-3 | a8b03a499a221d43be3bad647c6966797e17f841 | 3a7577c3cf08e69c6c61ba9ea129b6ca9556939c | refs/heads/master | 2020-04-13T09:37:48.291482 | 2019-06-25T06:57:21 | 2019-06-25T06:57:21 | 163,116,270 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,181 | h | /*
* Creature.h
*
* Created on: Dec 24, 2018
* Author: serfati
*/
#pragma once
#ifndef CREATURE_H_
#define CREATURE_H_
#include <iostream>
#include <string>
#include <vector>
using namespace std;
enum CreatureType {
zombie,
archer,
vampire,
wizard,
blackDragon,
Unknown
};
class Cr... | [
"noreply@github.com"
] | noreply@github.com |
9ed4cb349577375a0eacc6fda07c10b19c57645f | 595bfb90e16ec67363fbcab836ea301fca46ff46 | /Win32Project1/Win32Project1/Win32Project1.cpp | 742653452729fcd89ed16306f664cc82ca89571b | [] | no_license | Arishoked/OSISP | cc087ebad7565d9324ac948969c6aef12f81eac4 | 0a513760b41b4e6bb174d446ed7e163001554073 | refs/heads/master | 2021-01-22T09:09:17.252438 | 2014-10-07T13:45:30 | 2014-10-07T13:45:30 | null | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 20,156 | cpp | #include "stdafx.h"
#include <windows.h>
#include <CommDlg.h>
#include <stdio.h>
#include <string>
#include "Win32Project1.h"
using namespace std;
#define MAX_LOADSTRING 100
#define ID_BUTTONTEXT 1
#define ID_BUTTONPEN 2
#define ID_BUTTONLINE 3
// Глобальные переменные:
HINSTANCE hInst; // текущий экземпляр
TC... | [
"sergey,yermakovich@gmail.com"
] | sergey,yermakovich@gmail.com |
bb493b987f1af1b39c8cafcf63426f3030f44d68 | 749d58e176968d14eba768d4fdb2a0721cd36d8d | /saturation.cpp | 25cee3f72238f2b336a74d705dc937c99b69790c | [
"BSD-2-Clause"
] | permissive | hn-88/SoftwareLockin | aa55186c0b58afe957c87dcf4b82970f8a7baa76 | 1aa76265cb77e62ee09420fb94028dc7787eaed3 | refs/heads/master | 2020-03-07T04:11:40.729258 | 2018-04-18T11:03:53 | 2018-04-18T11:03:53 | 127,259,039 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,367 | cpp | /* --------------------------------------------------------------------------
PCSC-Lockin Copyright (c) 2011, EPFL LESO-PB, research group nanotechnology
for solar energy conversion, Mario Geiger André Kostro Andreas Schüler
All rights reserved.
Redistribution and use in source and binary forms, with or without
modifi... | [
"noreply@github.com"
] | noreply@github.com |
94c4bf09f65ce0d89685152ca98460a3f6887d51 | 985b6c4517a1abfc914a8887ab35c677b9d03a56 | /study/cppprimerplus_1.cpp | 652733602408d2f9ecc22c407b8960f6ca170278 | [] | no_license | furyParrot/leetcode | 29fe15302b0a6b5e08c59c8bb7f580454221d3d2 | f30605e595221da4ca6aa404b153f1e3e45e7482 | refs/heads/master | 2022-12-18T08:32:43.863839 | 2020-09-07T15:09:10 | 2020-09-07T15:09:10 | 293,539,005 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 238 | cpp | #include <iostream>
using namespace std;
int main(){
int mm[] = {1233,1,1,11,1,1,1,2};
cout<<sizeof(mm)/sizeof(int);
cout<<"输入名字:\n";
char a[20];
cin.getline(a,10);
cout<<"你的名字是:"<<a<<endl;
} | [
"418396075@qq.com"
] | 418396075@qq.com |
1b199644e9c9b878c0519d62978f31dcef35bf88 | 22fdb70949ba7a1f9aac8197236b1864f65b29a3 | /include/cryptobase/Extension.hpp | 833d70dbab009a600fdc89426894c22a602453d9 | [] | no_license | giovani-milanez/cryptobase | 1a744add9d3c21181c28590a8dc1721c306a5045 | a5dfe25d921d2790a19f76d7e34b5306f76e7eba | refs/heads/master | 2021-01-10T20:10:33.169048 | 2015-01-22T12:55:29 | 2015-01-22T12:55:29 | 29,673,662 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,004 | hpp | /*
* Extension.hpp
*
* Author: Giovani Milanez Espindola
* Contact: giovani.milanez@gmail.com
* Created on: 17/09/2013
*/
#ifndef EXTENSION_HPP_
#define EXTENSION_HPP_
#include "cryptobase/Asn1Class.hpp"
#include "cryptobase/ObjectIdentifier.hpp"
#include <vector>
typedef struct X509_e... | [
"giovani.milanez@gmail.com"
] | giovani.milanez@gmail.com |
3e9dcdda7cffee7b39cc5cd202744a4ad934c906 | 6fc32a1afc588f9c588d74b5ab2f14e364bdd876 | /test.cpp | d825c4674816305704f681ebd774b6c4274ce752 | [] | no_license | kritik-sharma/Rubiks_Cube_OpenCV | 2572833be3985e4333c6825a81e004ba6ae12e92 | 4ccd6e309a2d16f945e644744402b28059806b40 | refs/heads/master | 2022-11-29T14:35:12.859123 | 2020-08-04T09:10:52 | 2020-08-04T09:10:52 | 284,931,073 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,577 | cpp | #include "data.h"
#define INC_VAL 2.0f
#define SAFE_DELETE_ARRAY(x) { if( x ){ delete [] x; x = NULL; } }
#ifndef M_PI
#define M_PI 3.14159265359
#endif
#ifndef GL_UNSIGNED_INT_8_8_8_8
#define GL_UNSIGNED_INT_8_8_8_8 GL_UNSIGNED_INT
#endif
// width and height of the window
GLsizei g_width = 500;
GLsiz... | [
"noreply@github.com"
] | noreply@github.com |
c59a02065daf3b63639d51efbf48b45ce659f60c | 17814ec599354da725769ad375f0d6d2c0e561a3 | /src/third_party/Snap/snap-adv/agmfit.cpp | 9d9f74418853768a3125a891ed81389ad263eac0 | [
"BSD-3-Clause",
"BSD-2-Clause-Views"
] | permissive | lstopar/qminer | be01188ae4227c54da51fd433e2ba8b1397cc38b | 65bcb297f7eb69c37f42f7b999faf6a57d97819c | refs/heads/master | 2020-12-25T10:16:15.370577 | 2020-03-23T20:19:43 | 2020-03-23T20:19:43 | 20,472,715 | 0 | 1 | BSD-2-Clause | 2018-01-22T12:55:58 | 2014-06-04T06:32:21 | C++ | UTF-8 | C++ | false | false | 24,022 | cpp | #include "stdafx.h"
#include "agmfit.h"
#include "agm.h"
/////////////////////////////////////////////////
// AGM fitting
void TAGMFit::Save(TSOut& SOut) {
G->Save(SOut);
CIDNSetV.Save(SOut);
EdgeComVH.Save(SOut);
NIDComVH.Save(SOut);
ComEdgesV.Save(SOut);
PNoCom.Save(SOut);
LambdaV.Save(SOut);
NIDCID... | [
"jan.rupnik@ijs.si"
] | jan.rupnik@ijs.si |
1860f56c4415fef15220f04f801d3847458f6fa8 | a14c840a1e3cf74d6594fa2b0dc2b045dc58258d | /Lab4 - Dziedziczenie/main.cpp | bb8b7e40386772b8ba561680116854a61bb3fb32 | [] | no_license | AiRWIPP13/PProg | 47e686fafdde988e29dba58aecec132f0206feeb | e4ce3ca83cd50b5c31f56494bad5e352ae3611af | refs/heads/master | 2016-08-08T05:24:42.588734 | 2014-06-25T15:48:32 | 2014-06-25T15:48:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 723 | cpp | #include "punkt.h"
#include <iostream>
using namespace std;
int oblicz(punkt someobject)
{
return 2*(someobject.numer);
}
int main()
{
punkt point1d;
punkt2d point2d;
punkt3d point3d;
point1d.nazwa = "p1";
point2d.nazwa = "p2";
point3d.nazwa = "p3";
point3d.przedstaw();
point3d.... | [
"llukas1994@wp.pl"
] | llukas1994@wp.pl |
c04a6c0b540bf93c489767c36e87343de40452bb | a5656b21c02cef5b16ee7b6868f3e8e07f01d8e0 | /1059. Prime Factors.cpp | 7775b71100c6196cda24b26a797ce55aca7de85f | [] | no_license | alicelh/PAT-advanced-level- | 8827b0260dbe660d2c924cf498ea7f6f2a9a029c | 1c7e8a96a0e709c40d7dba9cd655f15651177bf7 | refs/heads/master | 2021-01-01T17:29:26.331687 | 2017-09-16T13:22:27 | 2017-09-16T13:22:27 | 98,083,888 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 838 | cpp | #include<cstdio>
#include<cmath>
#define maxN 10000
struct pri{
int pm;
int km;
}factor[10];
int p[100000];
int num=0;
bool isprime(int a){
int n=(int)sqrt(1.0*a);
for(int i=2;i<=n;i++){
if(a%i==0) return false;
}
return true;
}
void findprime(){
for(int i=2;i<maxN;i++){
if(isprime(i)) p[num++]=i;
}
}
i... | [
"820267577@qq.com"
] | 820267577@qq.com |
5052b4e3bd4590fb4ba8e8705bb9ddc9a4328fbd | cbbcfcb52e48025cb6c83fbdbfa28119b90efbd2 | /codeforces/479/A.cpp | 70b92fdf6ef5c548d9f9fe1cd8863025fd1cefb1 | [] | no_license | dmehrab06/Time_wasters | c1198b9f2f24e06bfb2199253c74a874696947a8 | a158f87fb09d880dd19582dce55861512e951f8a | refs/heads/master | 2022-04-02T10:57:05.105651 | 2019-12-05T20:33:25 | 2019-12-05T20:33:25 | 104,850,524 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,905 | cpp | /*-------property of the half blood prince-----*/
#include <bits/stdc++.h>
#include <dirent.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
#include <ext/pb_ds/detail/standard_policies.hpp>
#define MIN(X,Y) X<Y?X:Y
#define MAX(X,Y) X>Y?X:Y
#define ISNUM(a) ('0'<=(a) && (a)<='9')
#defin... | [
"1205112.zm@ugrad.cse.buet.ac.bd"
] | 1205112.zm@ugrad.cse.buet.ac.bd |
5e350a3e892e1e6acd9a47077f688859d91cfd34 | d6258ae3c0fd9f36efdd859a2c93ab489da2aa9b | /fulldocset/add/codesnippet/CPP/t-system.runtime.remotin_17_2.cpp | 6c9e53f127d37a3adf799d125740ea97e2ae3f91 | [
"CC-BY-4.0",
"MIT"
] | permissive | OpenLocalizationTestOrg/ECMA2YamlTestRepo2 | ca4d3821767bba558336b2ef2d2a40aa100d67f6 | 9a577bbd8ead778fd4723fbdbce691e69b3b14d4 | refs/heads/master | 2020-05-26T22:12:47.034527 | 2017-03-07T07:07:15 | 2017-03-07T07:07:15 | 82,508,764 | 1 | 0 | null | 2017-02-28T02:14:26 | 2017-02-20T02:36:59 | Visual Basic | UTF-8 | C++ | false | false | 280 | cpp | using namespace System;
using namespace System::Runtime::Remoting;
public ref class Remotable: public MarshalByRefObject
{
private:
int callCount;
public:
Remotable()
: callCount( 0 )
{}
int GetCount()
{
callCount++;
return (callCount);
}
}; | [
"tianzh@microsoft.com"
] | tianzh@microsoft.com |
b7801d602b62dc4051cc85ecc4a9fe8dcf2dbb34 | 598899681a690d8ef928e66aa10007fde384dcf0 | /BTP-Project/MS3/Good.h | 76af801ac369f81e6894470b6fcafdd56c0f86ae | [] | no_license | HyperTHD/BTP200-S2019 | 73710b4aa8426ad464db106d09a72ceb209b21cc | 7c922b4976777aafe7f807f236729da276b7a8ef | refs/heads/master | 2021-02-16T03:29:06.959010 | 2020-03-04T17:35:57 | 2020-03-04T17:35:57 | 244,961,791 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,288 | h | /*
Name: Abdulbasid Guled
Student Number: 156024184
Email: aguled5@myseneca.ca
Due Date: July 30, 2019
Milestone 3
*/
#ifndef _AID_GOOD_H
#define _AID_GOOD_H
#include <iostream>
#include <fstream>
#include "Error.h"
namespace aid
{
const int max_sku_length = 7;
const int max_unit_length = 10;
const int m... | [
"aguled5@myseneca.ca"
] | aguled5@myseneca.ca |
fa2671af1983820744e8b14437250aa7d494c941 | 297497957c531d81ba286bc91253fbbb78b4d8be | /third_party/libwebrtc/modules/audio_processing/aec3/echo_remover_metrics_unittest.cc | 340ab4e20fdcae5246f2347943fc6d404f4166e6 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | marco-c/gecko-dev-comments-removed | 7a9dd34045b07e6b22f0c636c0a836b9e639f9d3 | 61942784fb157763e65608e5a29b3729b0aa66fa | refs/heads/master | 2023-08-09T18:55:25.895853 | 2023-08-01T00:40:39 | 2023-08-01T00:40:39 | 211,297,481 | 0 | 0 | NOASSERTION | 2019-09-29T01:27:49 | 2019-09-27T10:44:24 | C++ | UTF-8 | C++ | false | false | 4,787 | cc |
#include "modules/audio_processing/aec3/echo_remover_metrics.h"
#include <math.h>
#include <cmath>
#include "modules/audio_processing/aec3/aec3_fft.h"
#include "modules/audio_processing/aec3/aec_state.h"
#include "test/gtest.h"
namespace webrtc {
#if RTC_DCHECK_IS_ON && GTEST_HAS_DEATH_TEST && !defined(W... | [
"mcastelluccio@mozilla.com"
] | mcastelluccio@mozilla.com |
e50336a9bd131eaef94830f345c26bf474d2272f | a26f2518cb58df647e142ae96bf0b45459d439f8 | /WCS/13/Balanced Sequence.cpp | 484fbd615a8d7e57197929cb4c1d5d6a6082fc6e | [
"MIT"
] | permissive | BlackVS/Hackerrank | ddf857fc865830b9c73c200ac004684beb3a4805 | 017159a2354673dbca14e409e088798c9a54d7e1 | refs/heads/master | 2020-03-25T23:19:54.362477 | 2018-08-17T09:15:49 | 2018-08-17T09:15:49 | 144,270,975 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 660 | cpp | #include <bits/stdc++.h>
#include <stack>
#include <iostream>
#include <string>
using namespace std;
#define boost std::ios_base::sync_with_stdio(false);cin.tie(0);cout.tie(0)
int solve(string s)
{
stack<char> stack;
for (int i = 0; i<s.length(); i++)
{
if (s[i] == ')' && !stack.empty())
{
if (stack.top()... | [
"vvs@polesye.com"
] | vvs@polesye.com |
27772d3041abb09fd0b48bdf679c8725b0c3fabc | e7ec8d359acef8fc4483d43695aed78fff9844c1 | /DrawDemo/PenWidthDialog.h | e6a67ea5fc837acb88c7f77f7f9cdea612502e1c | [
"MIT"
] | permissive | qdhqf/DrawDemo | bbc4d522035a4fbfffed945339f1bf3937b96589 | 339b83d73da4b2805a2cb1d1358b071f1655d8cc | refs/heads/master | 2020-05-17T20:45:15.658488 | 2018-01-18T02:28:36 | 2018-01-18T02:28:36 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 778 | h | #pragma once
#include "afxcmn.h"
#include "afxwin.h"
// CPenWidthDialog 对话框
class CPenWidthDialog : public CDialogEx
{
DECLARE_DYNAMIC(CPenWidthDialog)
public:
CPenWidthDialog(unsigned short penWidthInit, CWnd* pParent = NULL); // 标准构造函数
virtual ~CPenWidthDialog();
// 变量
private:
unsigned short penWidth;
CS... | [
"samzhao0727@gmail.com"
] | samzhao0727@gmail.com |
ef6c5b8e2e437f036b56f9324577fe63464458bc | bec81245f0bf2c524cda0fbca4040438ef9af64f | /firstConsole/ExpressionCalculator.cxx | 78abd4bd1ee1423e77f8cb745b789165bf8956a8 | [] | no_license | lyyiangang/Test_C_Plus_Plus | e607e44be8b3cb9afdb71c695f3e875f66415a33 | 94e8d7adeeff162c3da08ce493629a421586b678 | refs/heads/master | 2021-01-11T23:33:07.069703 | 2017-05-05T14:13:39 | 2017-05-05T14:13:39 | 78,598,548 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,410 | cxx | #include "stdafx.h"
#include <vector>
#include <stack>
#include <functional>
#include <sstream>
float ExpressionCalculator(const std::string& exp)
{
std::unordered_map<char, int> operatorPriority{
{ '(',6 },
{ '*',4 },
{ '/',4 },
{ '+',2 },
{ '-',2 },
{ ')',1 },
... | [
"lyyiangang@sina.com"
] | lyyiangang@sina.com |
59c1125a6b1f22e89523880400f622eabfd6e567 | c2ff60b563572770748a07d6f7c872b9c989cf74 | /src/CVAppEngine/InputHandlerTest/InputHandlerTest.cpp | 9a5c2718b0667382d62c169f6135903a1c71b455 | [] | no_license | arkarandil/Magisterka | fde8719f0d2895452626519108ec1d124c071d78 | 9ab6895af25abee6dbdfb929e438bd43a1fa8785 | refs/heads/master | 2016-09-06T09:08:20.772529 | 2012-01-18T06:48:56 | 2012-01-18T06:48:56 | 3,070,520 | 0 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 3,131 | cpp | // OpenCVTest.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <iostream>
#include "InputHandler.h"
#include "InputFrame.h"
#include "CameraInputHandler.h"
#include "VideoInputHandler.h"
#include "ITaskScheduler.h"
#include "FIFOTaskQueue.h"
#include "ITask.h"
#include "ImgData... | [
"piotr.czerw@gmail.com"
] | piotr.czerw@gmail.com |
1cf7c587666aa3072ecbaaea8f7677f5ea1e7c69 | 93e5bf800dddade222c29920767eff7321147739 | /LaivuMusis/LaivuMusis/Zaidimas.h | d420adcc78beee2502b5c09cdc43db3c8382a439 | [] | no_license | IgnasSteponenas/laivynas | 3037475a8dd0039bf9c6729c81e2c299bf34a7ce | a791748d87cb6ec7a8f471eea629fbf79ac2417c | refs/heads/master | 2020-05-24T20:42:59.818122 | 2019-05-21T07:49:59 | 2019-05-21T07:49:59 | 187,460,489 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,211 | h | #pragma once
#include<vector>
using namespace std;
class Zaidimas
{
private:
const static int plotis = 10;
const static int ilgis = 10;
char lentele[plotis][ilgis];
char lenteleBOTmatoma[plotis][ilgis];
char lenteleBOT[plotis][ilgis];
vector<int> zmogausX;
vector<int> zmogausY;
vector<int> BOTX;
vector<in... | [
"50793829+IgnasSteponenas@users.noreply.github.com"
] | 50793829+IgnasSteponenas@users.noreply.github.com |
d343619d7e8dfb3e9a89f226bc0337f361a03c10 | 16c25858ef1e5f29f653580d4aacda69a50c3244 | /hikr/build/Android/Preview/app/src/main/include/Uno.UX.PropertyObject.h | 4fefd4d5faad50c4eeb70c1135723111b5ac3d7b | [] | no_license | PoliGomes/tutorialfuse | 69c32ff34ba9236bc3e84e99e00eb116d6f16422 | 0b7fadfe857fed568a5c2899d176acf45249d2b8 | refs/heads/master | 2021-08-16T02:50:08.993542 | 2017-11-18T22:04:56 | 2017-11-18T22:04:56 | 111,242,469 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,148 | h | // This file was generated based on /usr/local/share/uno/Packages/UnoCore/1.2.2/source/uno/ux/$.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.Object.h>
namespace g{namespace Uno{namespace Collections{struct Dictionary;}}}
namespace g{namespace Uno{namespace Collectio... | [
"poliana.ph@gmail.com"
] | poliana.ph@gmail.com |
350dffa81a86902c942b59d1b0e7eee9ec739630 | 59466a1610a8becd88b18fd6e33ab9df17fe0602 | /seventh/mostcommonword.cpp | 62243059f1b12b2a963f6e524d096ddb5011d1b7 | [] | no_license | jiakum/leetcode | c473ea481724feb4156a087bbb266e5298e3610b | 8c09ce853dc4ef373b875f82600f3bfc01368adf | refs/heads/master | 2020-03-27T18:58:25.369889 | 2019-01-07T10:08:17 | 2019-01-07T10:08:17 | 146,956,900 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,404 | cpp |
class Solution {
public:
string mostCommonWord(string paragraph, vector<string>& banned) {
map<string, int> lmap;
set<string> bset;
map<string, int>::iterator iter;
int i, size = paragraph.size(), j, maxfreq = 0;
string bstr, result;
c... | [
"jkma@actions-semi.com"
] | jkma@actions-semi.com |
b7b67afbacc0df7a684c880208d20818b161917f | 3872cfaed74cc34d638612d48253f949b63fb929 | /src/atm_connector.hpp | 8250bc30d053f51bc1f03163dd3a2bbf33f244bc | [
"MIT"
] | permissive | wuyuanyi135/Automaton | 739cd118f13a879a290adcb94eb4a6c9706029a3 | 23772f1ad55ba5f2b11042ce638a86abacd5a659 | refs/heads/master | 2022-04-21T04:52:52.198514 | 2020-04-20T08:09:53 | 2020-04-20T08:09:53 | 255,166,619 | 1 | 0 | MIT | 2020-04-12T20:42:39 | 2020-04-12T20:42:38 | null | UTF-8 | C++ | false | false | 1,274 | hpp | #pragma once
#include "Arduino.h"
typedef void ( *atm_cb_push_t )( int idx, int v, int up );
typedef bool ( *atm_cb_pull_t )( int idx );
class atm_connector {
public:
enum { MODE_NULL, MODE_PUSHCB, MODE_PULLCB, MODE_MACHINE }; // bits 0, 1, 2 - Mode
enum { LOG_AND, LOG_OR, LOG_XOR }; ... | [
"tinkerspy@myown.mailcan.com"
] | tinkerspy@myown.mailcan.com |
baf1cabc42e90b7cd600099c32005c32b765d148 | 2bec5a52ce1fb3266e72f8fbeb5226b025584a16 | /energy/src/kgroups.cpp | eb2d837be75d8190c1c13cd4e05bb709f1aacf3c | [] | no_license | akhikolla/InformationHouse | 4e45b11df18dee47519e917fcf0a869a77661fce | c0daab1e3f2827fd08aa5c31127fadae3f001948 | refs/heads/master | 2023-02-12T19:00:20.752555 | 2020-12-31T20:59:23 | 2020-12-31T20:59:23 | 325,589,503 | 9 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,407 | cpp | #include <Rcpp.h>
using namespace Rcpp;
int kgroups_update(NumericMatrix x, int k, IntegerVector clus,
IntegerVector sizes, NumericVector within, bool distance);
List kgroups_start(NumericMatrix x, int k, IntegerVector clus,
int iter_max, bool distance);
int kgroups_update(Numeri... | [
"akhilakollasrinu424jf@gmail.com"
] | akhilakollasrinu424jf@gmail.com |
020adc1f7438326314316ab2bdc35e41f34133d9 | 974ed2407c816b86e827baed9acabde1907cfcc2 | /Pow(x,n)/Pow(x,n).cpp | c513e7cd221c6b5d1a069a46598caac3bb91cfba | [] | no_license | xuermin/leetcode | 7cf9521fd7d4d0241aa95a03edac0732227c27a0 | 36dc8b17c3248f22098a3183e920194941e28952 | refs/heads/master | 2021-09-10T10:01:35.637988 | 2018-03-24T07:05:00 | 2018-03-24T07:05:00 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 820 | cpp | // Pow(x,n).cpp : 定义控制台应用程序的入口点。
//
#include "stdafx.h"
#include<iostream>
using namespace std;
double myPow(double x, int n);
double fastPow(double x, long long n);
int main()
{
cout << myPow(1, -2147483648) << endl;
return 0;
}
//double myPow(double x, int n) {
// if (n < 0) {
// long long N = n;
// return... | [
"xemiracle@163.com"
] | xemiracle@163.com |
e42aae6b9d7f1559badb9a78c4e07f7f7c8d652d | 4b2457464779c2518584f7a6dfa56a90960e0870 | /Benchmark/BenchmarkCommon/BenchmarkList.hpp | 529e5e9651cffce44e7d065037456394f12bef53 | [
"Apache-2.0"
] | permissive | SpaceGameEngine/SpaceGameEngine | 5990c02b07b621c1b18ad6c68b0ddca3aa98275e | f1a2753834c225a742f1f03572739d2abec5a9aa | refs/heads/master | 2023-08-23T18:25:49.024552 | 2022-04-01T07:51:22 | 2022-04-01T07:51:22 | 158,053,435 | 4 | 0 | Apache-2.0 | 2022-07-03T13:54:07 | 2018-11-18T05:35:56 | C++ | UTF-8 | C++ | false | false | 3,150 | hpp | /*
Copyright 2022 creatorlxd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distrib... | [
"1461637345@qq.com"
] | 1461637345@qq.com |
3e2ae693cecc8f4a1828592ab99ef8bdaa03fc4c | a88485042673e6467c9749a32ec25aece3551913 | /CGI_Run_Add_JS/CGI_SCADA/CGI_SCADA_include/CGI_SCADA_define.cpp | 0c7d23ff9f51e9b1787ed1bc020992abf316f603 | [] | no_license | isliulin/20160125CGI_Src | 3fb8a050ece8edf3e60848c9054f8fe3c0b24867 | d0ab988265aef9cfc348837ce617ab4dcd6ed71b | refs/heads/master | 2021-05-30T09:33:09.166619 | 2016-01-25T08:48:39 | 2016-01-25T08:48:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 141 | cpp | #include "CGI_SCADA_define.h"
QByteArray CGI_SCADA_define::s_baCookie = QByteArray();
QString CGI_SCADA_define::s_strIPAddress = QString();
| [
"596896768@qq.com"
] | 596896768@qq.com |
d0a22b580861f9d6999503aff9fc43fc8244e602 | 33546aee6429d5b8f19a02e14699b6ebb5b34af8 | /src/ui/events/ozone/device/udev/device_manager_udev.h | 7c15e3b760e9d1db89718728b0f6d89d27cca27b | [
"BSD-3-Clause"
] | permissive | mYoda/CustomBrs | bdbf992c0db0bf2fd1821fa1fd0120ac77ffc011 | 493fc461eb7ea7321c51c6831fe737cfb21fdd3e | refs/heads/master | 2022-11-22T09:11:37.873894 | 2022-11-10T10:02:49 | 2022-11-10T10:02:49 | 24,951,822 | 0 | 1 | null | 2022-11-02T14:39:34 | 2014-10-08T17:22:30 | C++ | UTF-8 | C++ | false | false | 1,582 | 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 UI_EVENTS_OZONE_DEVICE_UDEV_DEVICE_MANAGER_UDEV_H_
#define UI_EVENTS_OZONE_DEVICE_UDEV_DEVICE_MANAGER_UDEV_H_
#include "base/message_loop/message... | [
"nechayukanton@gmail.com"
] | nechayukanton@gmail.com |
c49da1119af3e2dbc6c2257a642744143e698328 | 07eac873a7d246da59ab653d7f78f2f6a1cd867d | /7_9/1541.cpp | b24b756ffc658daa2fb1a424531c153eb5a51e75 | [] | no_license | MinKyungHwi/C_plus_plus | 766e0b391fa7e73d40aa6e2941abeefd094c72d5 | 2f3bce8771080a01dc5d208fe6e998216c6453ff | refs/heads/master | 2022-11-16T00:54:28.233246 | 2020-07-11T13:30:10 | 2020-07-11T13:30:10 | 273,224,197 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 514 | cpp | #include <iostream>
#include <string>
using namespace std;
int main()
{
string s;
string temp;
int count = 0;
cin >> s;
int ans = 0;
bool bFirst = false;
for(int i = 0 ; i <= s.length(); i++)
{
if (s[i] == '+' || s[i] == '-' || s[i] == '\0')
{
if (bFirst)
{
ans -= stoi(temp);
}
else
... | [
"49218251+MinKyungHwi@users.noreply.github.com"
] | 49218251+MinKyungHwi@users.noreply.github.com |
5a5cd05a728caadc3c0e19ccf404c2b2b8aa1bd6 | b1fa00e8b9e534169e5a8e1b45459ada6522bee0 | /lezip0100src/CPP/7zip/UI/FileManager/PanelSplitFile.cpp | efe33f5ed4adffc247b1375ba3d912251757f01c | [] | no_license | anbeibei/lezip | 84f1febeb60c5382fdb12e9f2dbecdde022cdfe2 | dd1dcf24a5e982da362280090f79d7c577ac7d09 | refs/heads/master | 2020-11-28T23:10:47.773639 | 2019-04-11T15:36:25 | 2019-04-11T15:36:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,614 | cpp | // PanelSplitFile.cpp
#include "StdAfx.h"
#include "../../../Common/IntToString.h"
#include "../../../Windows/ErrorMsg.h"
#include "../../../Windows/FileName.h"
#include "../GUI/ExtractRes.h"
#include "resource.h"
#include "App.h"
#include "CopyDialog.h"
#include "FormatUtils.h"
#include "LangUtils.h"
#include "S... | [
"2305665112@qq.com"
] | 2305665112@qq.com |
9e932a1ace3135f85db935c542cdcb21193ec750 | 4579eaaeabeaa4d945ec9e0c802ec28bbb9aa8ef | /school computer copy/cse202/lab8/passwordfile.h | eb833416657f5f311cdef22cd590a1246b49c4db | [] | no_license | CircuitMonster/School | bbed854f3ff5e8ae859c68c9c5a6be609fdd14cb | e6e71ce8c0beb3791958949245a7665908caa3de | refs/heads/master | 2021-01-22T19:59:52.686214 | 2017-03-17T04:41:06 | 2017-03-17T04:41:06 | 85,271,605 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 375 | h | #ifndef PASSWORDFILE_H
#define PASSWORDFILE_H
#include <string>
#include <vector>
#include "userpw.h"
using namespace std;
class PasswordFile
{
public:
PasswordFile(string filename);
vector<UserPW> getFile();
void addPW(UserPW newentry);
bool checkPW(string user, string passwd);
private:
string filenam... | [
"CircuitMonster@Turbos-MacBook-Pro.local"
] | CircuitMonster@Turbos-MacBook-Pro.local |
b454fdc41b989d0a258db7dce39fbf2069888a4a | 654769aff13316ffdf330e9e99846306d24289d0 | /V3.2 FINALE/main.cpp | 3ec3ab55f23cc4eb5abd798757b38989593f2036 | [] | no_license | Giglobastre/TropicNetworks | ee584b350ee3ff76183b74730535169750c6f603 | 36306b037c17e5026a6d8c73e037cccbab4c828f | refs/heads/master | 2020-03-08T08:50:31.652113 | 2018-04-08T21:47:06 | 2018-04-08T21:47:06 | 128,031,941 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 4,599 | cpp | #include <iostream>
#include <allegro.h>
#include "Graphe.h"
/**
*
* NOTRE REPO GIT : https://github.com/Giglobastre/TropicNetworks
*
*
*
*/
int Quitter()
{
return 1;
}
Graphe load_Graphe(std::string nomfile, BITMAP *page)
{
Graphe g;
g.load(nomfile);
g.affiche_graphe(nomfi... | [
"noreply@github.com"
] | noreply@github.com |
ef8600cd827702536d56673ac2cdcd2b57bd6ff6 | 85c5b0ad7cd689ef9f6865af7c7b1829fc513aae | /renderer/Renderer.hpp | a0883570c7ba4c5baf70b6cd0ce9a61e98106363 | [] | no_license | Busiu/Games | 025433ca3f547c816ae68e8eb0d47caf8813a710 | b56d01ffe1a1467e81cf6f21ce7692fdd61a4746 | refs/heads/master | 2020-03-28T11:35:52.989971 | 2019-03-06T02:27:46 | 2019-03-06T02:27:46 | 148,229,682 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 744 | hpp | //
// Created by Busiu on 14.09.2018.
//
#ifndef GAMES_RENDERER_HPP
#define GAMES_RENDERER_HPP
#include "../Libraries.hpp"
#include "../Exception.hpp"
#include "Renderable.hpp"
#include "../util/Types.hpp"
class Renderable;
class Renderer {
private:
SDL_Window* window;
SDL_Renderer* renderer;
public:
... | [
"busiu69@gmail.com"
] | busiu69@gmail.com |
f413f740b4e6f7648714b0e7709e90e769b778d5 | b1c4be5357d95a8bef78dab271189a4161ffbd2c | /Summer Practice/UVA/Graphs/Single Source Shortest Paths/BFS/Knight Moves.cpp | 5f8d436f6ad7561437bf599090464134fb732f2b | [] | no_license | Shaker2001/Algorithms-Library | faa0434ce01ad55d4b335c109f4f85736a6869ed | 1aa09469ca434f6138547592ce49060d4400e349 | refs/heads/master | 2023-03-16T04:41:27.367439 | 2017-11-13T00:41:55 | 2017-11-13T00:41:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,229 | cpp | #include<stdio.h>
#include<string.h>
#include<vector>
#include<queue>
using namespace std;
#define Point pair<int, pair<int, int> >
#define mp(a,b,c) make_pair(a, make_pair(b, c))
#define X first
#define Y second.first
#define cost second.second
int inside_board(int x, int y){
return x>=0&&y>=0&&x<... | [
"malatawy15@gmail.com"
] | malatawy15@gmail.com |
dce36e4d5ed675407bb3b21571f4ca6bc9c9eaba | e3970b6299678aab3f553b381a78f84728f1dbdf | /boost/mpl/x11/apply.hpp | e0bba6b19e89dfc8127f12a631d235f4cf861080 | [] | no_license | krzysztof-jusiak/boost | df4001f8ad50c2e3df6d4b90d5aa9eac9bcbc14c | 1e33047c31d2c65493f1d858f7ce02b195cd9093 | refs/heads/master | 2021-01-18T09:03:54.997601 | 2014-06-24T10:53:13 | 2014-06-24T10:53:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 876 | hpp | /*=============================================================================
Copyright (c) 2000-2008 Aleksey Gurtovoy
Copyright (c) 2013 Alex Dubov <oakad@yahoo.com>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org... | [
"oakad@yahoo.com"
] | oakad@yahoo.com |
0dddb37a3e015e7f6b90cfccca67302cb17da04b | 215111e92a3dfc535ce1c1ce25a35fb6003ab575 | /cf/egyptian_2016/k.cpp | 2bdfcc23b3a04fdcaf30e86fbf9806483a76370f | [] | no_license | emanueljuliano/Competitive_Programming | 6e65aa696fb2bb0e2251e5a68657f4c79cd8f803 | 86fefe4d0e3ee09b5766acddc8c78ed8b60402d6 | refs/heads/master | 2023-06-23T04:52:43.910062 | 2021-06-26T11:34:42 | 2021-06-26T11:34:42 | 299,115,304 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,565 | cpp | #include <bits/stdc++.h>
using namespace std;
#define _ ios_base::sync_with_stdio(0);cin.tie(0);
//#define endl '\n'
#define f first
#define s second
#define pb push_back
typedef long long ll;
typedef pair<int, int> ii;
typedef double ld;
const int INF = 0x3f3f3f3f;
const ll LINF = 0x3f3f3f3f3f3f3f3fll;
const ld ep... | [
"emanueljulianoms@gmail.com"
] | emanueljulianoms@gmail.com |
7cacf673f52671562a727738674355fd32ff4d65 | dc9721b5b0610dbeb595697d5b9347295e2a662e | /ROVControl/TcpServeDlg.h | 0e5aa30b16246d5b0c8fe9da2c9524d919daf405 | [] | no_license | thinkexist1989/ROVControl | 7e042e476a3cd51d70d0892df15f7f467a884e92 | f4e86b6d10630ebdd88902698fa91e15023583b3 | refs/heads/master | 2021-01-20T00:53:48.901316 | 2017-04-24T08:52:11 | 2017-04-24T08:52:11 | 89,210,930 | 2 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,804 | h | #pragma once
#define THREAD_ID_DEEP 0
#define THREAD_ID_POSE 1
#define POSE_SOCKET_CONNECTED 0
#define MOTOR_SOCKET_CONNECTED 1
#define TEST_SOCKET_CONNECTED 2
#define MOTOR_VALUE_LIMIT 500
#include <fstream>
#include "iswitchled_deep.h"
// CTcpServeDlg 对话框
class CTcpServeDlg : public CDialogEx
{
DECLARE_DYNAM... | [
"992534544@qq.com"
] | 992534544@qq.com |
2d9a5b3a4edcc40a110c952c9bc14ab1f28d1151 | 65e9363bc4d754993fe7dc93483629e259414388 | /automatsko-rezonovanje/iskazna-logika/AtomicFormula.h | 856abc5cfd0d5d41d192315726af340e83c954c7 | [] | no_license | miki208/Vezbanje | 914be3b10bfa2f86b2cc25dbd46ed01c1139d341 | cb4e7577ef7ba27497002174936771802dd89a2d | refs/heads/master | 2021-01-20T11:17:29.333541 | 2017-06-14T11:50:59 | 2017-06-14T11:50:59 | 86,230,574 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 304 | h | #ifndef _ATOMIC_FORMULA_H_
#define _ATOMIC_FORMULA_H_
#include "Formula.h"
class AtomicFormula : public BaseFormula
{
public:
int complexity() const;
Formula substitute(const Formula&, const Formula&);
Formula simplify();
Formula nnf();
LiteralListList cnf();
LiteralListList dnf();
};
#endif
| [
"miloss208@gmail.com"
] | miloss208@gmail.com |
62566bbf476502a6f26ae5b4bcddb5f7c67488cd | e641c52f034a78a77498f14ed7b86b62d5af5865 | /01_begin/Engine/Core/Input.h | 953c88df69bd5a04c9868683dc95d340e0d7b89c | [] | no_license | BabajotaUA/01_begin | bb9250f5cc262a67d860b0157b2cf26e9cd57f7a | 19766c230d8ebcab259f6064a274dc4f6e2b058d | refs/heads/master | 2021-01-25T08:48:49.067720 | 2013-09-06T11:44:24 | 2013-09-06T11:44:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 631 | h | #pragma once
#include <vector>
#include <memory>
#include <Windows.h>
class Input
{
public:
Input(void);
virtual ~Input(void);
bool isKeyHit(unsigned char key);
bool isKeyDown(unsigned char key);
bool isMouseHit(unsigned char key);
bool isMouseDown(unsigned char key);
bool isOK() const;
LRESULT CALL... | [
"yfshaolin@gmail.com"
] | yfshaolin@gmail.com |
0bc61f2d65d45b5ac3faf2c6b80f7a9b09334138 | 2a3a5c2c49f5ae1f66ea4b2a70bb21828b47406d | /PCDMK2.7.cpp | 8983e161949f2af57b33bd1a90b120b98f3b69df | [] | no_license | MSAChowdhury/ICPC-Prac | 5f6d8faf92d8c8b58921ac865480e727568358e9 | 874665c8c99c6d985029cdb4d9777c8f55f3b9de | refs/heads/master | 2021-03-04T21:33:32.670689 | 2020-05-19T07:39:23 | 2020-05-19T07:39:23 | 246,066,461 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 297 | cpp | #include <iostream>
#include <math.h>
using namespace std;
int main()
{
int year;
cin >> year;
if(year%400 == 0 || (year%100 != 0 && year% 4 == 0) )
{
cout << year << " is Leap year";
}
else
{
cout << year << " is NOT Leap year";
}
return 0;
}
| [
"samselarifinchowdhury@gmail.com"
] | samselarifinchowdhury@gmail.com |
2abd8d9a1b2134cb5213de648d901dbef119650c | e41b03c2ef4fd330397355effc8c11788f4084eb | /Team_Polk_NoFault.cpp | 32b8dfc9ac036b366459af69de84412b84012175 | [] | no_license | alecmas/Roll-System | 6209b2af1d83fca94f8526988dba72c455daeab3 | 25c9dde596a71557e2f5c7715b5a9eaaed6bddb9 | refs/heads/master | 2020-09-20T11:10:42.773304 | 2017-01-13T15:50:12 | 2017-01-13T15:50:12 | 66,852,091 | 0 | 1 | null | 2016-09-28T21:11:17 | 2016-08-29T14:40:43 | C++ | UTF-8 | C++ | false | false | 21,235 | cpp | //*****************************************************************
// Team_Polk_NoFault.cpp
// A small class-roll maintenance system
//
// Programmers: Ryan Binder, Constance Luong, Elin Cheung,
// Wesam Ali, Alexander Mas
//
// This file contains the RollSystem class and all functions
//***********************... | [
"noreply@github.com"
] | noreply@github.com |
f88f72faf6b59fc1e194c40bd6b20a62f0012beb | 785f542387f302225a8a95af820eaccb50d39467 | /codeforces/1-A/1-A-12397424.cpp | ad401b078998438f384c3295fdbb9a46762c07ff | [] | no_license | anveshi/Competitive-Programming | ce33b3f0356beda80b50fee48b0c7b0f42c44b0c | 9a719ea3a631320dfa84c60300f45e370694b378 | refs/heads/master | 2016-08-12T04:27:13.078738 | 2015-01-19T17:30:00 | 2016-03-08T17:44:36 | 51,570,689 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,001 | cpp | #include <bits/stdc++.h>
using namespace std;
#define mp make_pair
#define pb push_back
#define ff first
#define ss second
#define all(c) (c).begin(),(c).end()
#define tr(c,it) for(auto it = (c).begin(); it != (c).end(); it++)
#define __ ios_base::sync_with_stdio(false);cin.tie(NULL);
#define TRACE
#ifdef TRACE
#defi... | [
"anveshishukla@gmail.com"
] | anveshishukla@gmail.com |
6ee6a6e351aaba83774b6378d41e361c17d205df | a816e8ab3043f8775f20776e0f48072c379dbbc3 | /dopy/dz_3/variant_1/E.cpp | 19a3ea4c8cf706cccd1cd942c23c04bcbdf01a8c | [] | no_license | AruzhanBazarbai/pp1 | 1dee51b6ef09a094072f89359883600937faf558 | 317d488a1ffec9108d71e8bf976a9a1c0896745e | refs/heads/master | 2023-07-16T14:37:20.131167 | 2021-08-25T17:08:41 | 2021-08-25T17:08:41 | 399,890,781 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 962 | cpp | //Using a vector. the user writes a command such as push after that he should keep the number and so on.
#include <iostream>
#include <vector>
using namespace std;
int main(){
vector<int> v;
string s;
while(cin >> s){
if(s=="end"){
cout << "Black Devil" << endl;
break;
... | [
"aruzhanart2003@mail.ru"
] | aruzhanart2003@mail.ru |
bd48e4c9d04a7bbae851be2b512428ca3e0a5600 | bed3c9bb3502750de3d03e9971b29072b6e26f18 | /ProjectPANG/ProjectPANG/Time_Count.cpp | 55c5505d66971821b199c057c45b84ad891a478a | [] | no_license | The4Bros/ANGRY_PANGS | 1f89b6f10b69b71b038e3d8c9a92562b7b378928 | ea56d01a2ed8c00d8c3b2dc40e84f7fd7bfb1c0a | refs/heads/master | 2021-09-08T16:14:03.899488 | 2015-06-24T18:54:03 | 2015-06-24T18:54:03 | 31,953,420 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,663 | cpp | #include "Time_Count.h"
Time_Count::Time_Count(Application* app)
{
this->app = app;
current_time = 100;
time(&timer);
rect[0] = { 334 * app->windowModule->scale, 9 * app->windowModule->scale, 13 * app->windowModule->scale, 13 * app->windowModule->scale };
rect[1] = { 348 * app->windowModule->scale, 9 * app->win... | [
"ec4who@hotmail.com"
] | ec4who@hotmail.com |
88f0a70e69b707b02abd8dc20fa12a667fa6b024 | b43d21897e2e89697b9a2416d1f74f1ae89ce858 | /Analysis/lib/include/ModuleIterator.hpp | 8be3cb9f1e193fcb5f819719634ba948bad1ae7a | [] | no_license | ZhenghengLi/POLAR_DATA | a9ed9d71cee9f1527941624d27028af6e80d485b | 60ae443d4bdd8967d637da5f19d3dd9f93fb2a7c | refs/heads/master | 2020-03-19T13:27:28.837344 | 2019-07-13T14:35:35 | 2019-07-13T14:35:35 | 136,580,337 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,012 | hpp | #ifndef MODULEITERATOR_H
#define MODULEITERATOR_H
#include <cstdio>
#include "SciType.hpp"
using namespace std;
class ModuleIterator: private SciType {
private:
TFile* t_file_in_;
TTree* t_trigger_;
TTree* t_modules_;
TTree* t_ped_trigger_;
TTree* t_ped_modules_;
bool cur_is_1P_;
int ... | [
"zhenghenge@gmail.com"
] | zhenghenge@gmail.com |
2118da178a4bdb28bae5c471d1929389b6b2b04c | d26099a38bec290e18bd2c25b5795243a69b9d31 | /src/qt/transactiontablemodel.cpp | e973be75b12656b9f790faf08cb4511b723920f8 | [
"MIT"
] | permissive | microcoinsource/microCoin_V3.0 | a074ffa3c23c3bace3b5575fef5b5317d87cf02b | 2dccfd13a77d45a7adaf9c1bc01f54821474da07 | refs/heads/master | 2021-01-15T16:53:28.806532 | 2016-02-21T14:44:28 | 2016-02-21T14:44:28 | 37,809,498 | 4 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 20,412 | cpp | #include "transactiontablemodel.h"
#include "guiutil.h"
#include "transactionrecord.h"
#include "guiconstants.h"
#include "transactiondesc.h"
#include "walletmodel.h"
#include "optionsmodel.h"
#include "addresstablemodel.h"
#include "bitcoinunits.h"
#include "wallet.h"
#include "ui_interface.h"
#include <QLocale>
#in... | [
"office@alcurex.info"
] | office@alcurex.info |
672cc4fc0c01fdcad42318a51b25d01aad63a476 | db97e3e6643f6d674032e6d6ae3cc03b8ceedb8d | /support/macOS/xerces-c/src/xercesc/validators/datatype/DatatypeValidatorFactory.cpp | 973e01a646156cabfc5b178030732f0a27554669 | [
"Apache-2.0",
"MIT"
] | permissive | audio-dsp/Max-Live-Environment | ddb302a1c945da7cea2cc62a17e0c5c2c7935a07 | e0622c899c55ac9a73bcfce5aecdf99cc2618ed0 | refs/heads/master | 2020-06-12T08:32:06.458685 | 2019-06-07T02:15:17 | 2019-06-07T02:15:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 36,815 | 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... | [
"jdm7dv@gmail.com"
] | jdm7dv@gmail.com |
3ea36dcab3c0be03305818f45421263cdd586378 | 447b8067c23805d594f927bd0e6e8d2bae9ba0e9 | /device/device.cpp | dd3d1cf54dad245bdde1f59cf5165d0ac3766e2e | [] | no_license | paulfitz/cycles_hack | 24d61b3d0a8adc679ae4f6edde9006b83e321cd7 | a65852f0d5974f958bfa372a68090e68d54ddc53 | refs/heads/master | 2020-06-12T11:22:36.487405 | 2012-04-19T22:25:03 | 2012-04-19T22:25:03 | 4,011,796 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,453 | cpp | /*
* Copyright 2011, Blender Foundation.
*
* 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 version.
*
* This program is d... | [
"paulfitz@alum.mit.edu"
] | paulfitz@alum.mit.edu |
196497c688a5c2f1294a1a7a7491d4249c3c4088 | 60fa2eef5ae796507f5ecf9cea519fa10a945f08 | /swig/omnipod.i | b117016ac57255775358cd635f5bb9cea48d190d | [] | no_license | hackjealousy/omnipod | dea258cc585f61db7901b0ee0162d6058935e1be | 687e05bda76658371e77a21b9b3f2d987c0c5b01 | refs/heads/master | 2020-04-22T12:58:46.484477 | 2019-02-12T21:17:44 | 2019-02-12T21:17:44 | 170,392,804 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 103 | i | /* -*- c++ -*- */
%include "gnuradio.i"
%{
#include "omnipod_demod.h"
%}
%include "omnipod_demod.i"
| [
"jl@thre.at"
] | jl@thre.at |
be06850db14c959d2a8a8c36303404bbd9488fe6 | d1250816ef08e75669aa5c786684e94aa4f334fa | /experimental/graphite/src/CommandBuffer.cpp | df984ba1fb916acbcfd4fbca85bb0057c470e984 | [
"BSD-3-Clause"
] | permissive | boundaryfree/skia | c5958e83defef659bfef6659db6095982be0a812 | 54a5744ac9d9530c79d42431dee7edf7678432b8 | refs/heads/main | 2023-08-22T18:21:17.618446 | 2021-10-11T07:42:35 | 2021-10-11T07:42:35 | 392,546,972 | 0 | 0 | BSD-3-Clause | 2021-08-04T04:25:38 | 2021-08-04T04:25:38 | null | UTF-8 | C++ | false | false | 273 | cpp | /*
* Copyright 2021 Google LLC
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "experimental/graphite/src/CommandBuffer.h"
namespace skgpu {
CommandBuffer::CommandBuffer() {}
} // namespace skgpu
| [
"skcq-be@skia-corp.google.com.iam.gserviceaccount.com"
] | skcq-be@skia-corp.google.com.iam.gserviceaccount.com |
1f35c2ca598a6cfd964eac877393de7df641ff41 | bfe5cfbf99700c2e42dc5b1e55c2f3207fd96aed | /src/libmeasurement_kit/common/worker.cpp | f69643c955b160e7520053f1eb6286805bbebdd5 | [
"Zlib",
"MIT",
"curl",
"BSD-2-Clause",
"BSD-3-Clause"
] | permissive | joelanders/measurement-kit | 84f3158928ae2c5b0a2d4a7d9039cd489634ee0f | 9e1a500cfee81cec24966bf5201ecbc0f9549eb6 | refs/heads/master | 2020-12-31T07:11:55.046527 | 2017-09-15T10:58:32 | 2017-09-15T10:58:32 | 80,559,960 | 0 | 0 | null | 2017-01-31T20:39:05 | 2017-01-31T20:39:05 | null | UTF-8 | C++ | false | false | 2,724 | cpp | // Part of measurement-kit <https://measurement-kit.github.io/>.
// Measurement-kit is free software under the BSD license. See AUTHORS
// and LICENSE for more information on the copying conditions.
#include <measurement_kit/common/callback.hpp>
#include <measurement_kit/common/detail/worker.hpp>
#include <measurement... | [
"bassosimone@gmail.com"
] | bassosimone@gmail.com |
0bd2e0ec053faa73a719a44bec29794c5d15cfcf | d236b2844cb53f07a0bd327087bded09fbaa3eef | /OperationHelp.cpp | 2ce9f83aeec416187d4df64fcea9a53a7bc20d54 | [] | no_license | wyrover/Repacls | ae37d333f78407e9856b92c0eb7f1f3f9d8f22a9 | c08256a593747fdafe2f50afa81da97a50104689 | refs/heads/master | 2021-01-22T20:21:32.744992 | 2017-05-09T00:16:10 | 2017-05-09T00:16:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,810 | cpp | #include "OperationHelp.h"
#include <iostream>
ClassFactory<OperationHelp> * OperationHelp::RegisteredFactory =
new ClassFactory<OperationHelp>(GetCommand());
ClassFactory<OperationHelp> * OperationHelp::RegisteredFactoryAltOne =
new ClassFactory<OperationHelp>(GetCommandAltOne());
ClassFactory<OperationHelp> * Ope... | [
"berns@uwalumni.com"
] | berns@uwalumni.com |
297d09b5687fe574ab7143b65d730714ac600e8c | e8cec014c373a8599f9ac5d3768d87662528b28e | /meeting-qt/setup/UnInstall/src/setup/window/async_modal_runner.cpp | f368fa4da9494df89292b47c785b7e0ffb3159fb | [
"MIT"
] | permissive | xiaoge136/Meeting | ee69e309666b3132449476217033d34b92eb975d | 0b85c53ee3df6d5611c84dc2b9fe564590874563 | refs/heads/main | 2023-07-21T14:39:03.158711 | 2021-08-31T14:13:18 | 2021-08-31T14:13:18 | 401,727,185 | 0 | 1 | MIT | 2021-08-31T14:10:04 | 2021-08-31T14:10:04 | null | UTF-8 | C++ | false | false | 3,072 | cpp | /**
* @copyright Copyright (c) 2021 NetEase, Inc. All rights reserved.
* Use of this source code is governed by a MIT license that can be found in the LICENSE file.
*/
// Copyright (c) 2013, NetEase Inc. All rights reserved.
//
// Wang Rongtao <rtwang@corp.netease.com>
// 2013/10/11
//
// Aysnc modal dia... | [
"wangjianzhong@corp.netease.com"
] | wangjianzhong@corp.netease.com |
d44b1aeac2d2e71654eff8142f97106840641a05 | 0b070626740788d5af23fcd1cd095e56033308de | /1085.cpp | 3c60e05fe5d10e898a82ec03b3e780854d7ea6fb | [] | no_license | xis19/leetcode | 71cb76c5764f8082155d31abcb024b25fd90bc75 | fb35fd050d69d5d8abf6794ae4bed174aaafb001 | refs/heads/master | 2021-03-24T12:53:34.379480 | 2020-02-24T04:25:36 | 2020-02-24T04:25:36 | 76,006,015 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 253 | cpp | #include <algorithm>
#include <vector>
int sumOfDigits(const std::vector<int>& A) {
int min = *std::min_element(A.begin(), A.end());
int sum = 0;
while(min > 0) {
sum += min % 10;
min /= 10;
}
return sum % 2 == 0;
}
| [
"magichp@gmail.com"
] | magichp@gmail.com |
900ed065da72ccd9234079f481c907946a93d5ba | e7148b971a0d3a722356d20b5b6c5fbfb0678b72 | /nvr/src/device_discovery.cpp | 4edddb73bafda9f480d38948dfe4b2d59f1a547f | [
"MIT"
] | permissive | houbin/recipes | ec4b7f47b01c8b0502873584b9ddedad56f94bcb | 2ca4008ae2409bfbc79fd6b664d492a616e745a8 | refs/heads/master | 2021-01-10T10:08:35.022404 | 2019-06-05T02:42:04 | 2019-06-05T02:42:04 | 44,296,558 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,933 | cpp | #include "common.h"
#include "device_discovery.h"
#include "inc/JVNSDKDef.h"
#include "inc/JvClient.h"
#include "src/yst_usedef.h"
#include <time.h>
DeviceDiscovery::DeviceDiscovery(QWidget *parent, bool use_yst, bool use_onvif)
: QWidget(parent), use_yst_(use_yst), use_onvif_(use_onvif)
{
if (use_yst_)
{
... | [
"houbin0504@163.com"
] | houbin0504@163.com |
ba51c4fa63f6cfa4f0fe11f0530afb9c488cc778 | 6d3f21c737a4c84c2ae9229696141d2a4370b925 | /src/common.cpp | b57b2213462ce552eae622a9ceb5fad87cf81776 | [
"MIT"
] | permissive | lrxjason/Face-Landmark-Detection | 2211f40180a4b54519a2b2b9c1fca74811ece9fa | 27f6d7c489cc2897f28a86f874671658b53e881c | refs/heads/master | 2021-09-07T02:48:10.988357 | 2018-02-16T04:23:07 | 2018-02-16T04:23:07 | 121,572,458 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,240 | cpp | #include <cmath>
#include <ctime>
#include <cstdio>
#include <cassert>
#include <cstdarg>
#include <opencv2/core/core.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include "common.hpp"
using namespace cv;
using namespace std;
namespace lbf {
BBox::BBox() {}
BBox::~BBox() {}
//BBox::BBox(const BBox &other) {
// BBo... | [
"noreply@github.com"
] | noreply@github.com |
9a1ee510ed54c2a3f2d8750f125775884f41ce26 | eb61436e6225d46e30c2b6c1d718f28cb81f202e | /SimpleAnalysis/SimpleAnalysis.cc | fc3553b7fb6ee878a6b6c589915eb4fcf48e081b | [] | no_license | miguelignacio/delphes_EIC | 3f1796bf769e2d8d086cd4223ae59e06df1e9dc9 | 5eac861b88ac7a9181075ebd861ef296be57b16b | refs/heads/master | 2021-05-17T22:11:03.788507 | 2021-04-15T22:37:01 | 2021-04-15T22:37:01 | 250,973,430 | 4 | 2 | null | 2021-04-11T22:23:25 | 2020-03-29T07:02:24 | Jupyter Notebook | UTF-8 | C++ | false | false | 6,337 | cc | #include <TROOT.h>
#include <TFile.h>
#include <TChain.h>
#include <TTree.h>
#include <TString.h>
#include <TObjString.h>
#include "TInterpreter.h"
#include <unistd.h>
#include <stdlib.h>
#include <iostream>
#include <stdio.h>
#include <getopt.h>
#include <glob.h>
#include <vector>
#include <map>
#include <any>
#incl... | [
"sekula@CERN.CH"
] | sekula@CERN.CH |
ce01694d6e6c8b7c2fa4e9fdc871b5fd30e2d4c9 | 53fa1201e74c83799b2dc94260d70bb1b0eb67e2 | /283. Move Zeroes.cpp | d96759aede61733446eeb949f1aab60736ebe3b3 | [] | no_license | duanmao/leetcode | 82bc193bc229a4813106ccd9679c6b9bff197edb | 2c563c007dbad87a3d0d939130470e7eecad64e9 | refs/heads/master | 2020-05-29T17:59:05.528518 | 2020-04-20T18:07:41 | 2020-04-20T18:07:41 | 189,290,892 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 732 | cpp | class Solution {
public:
void moveZeroes(vector<int>& nums) {
int nonzero = 0;
for (int i = 0; i < nums.size(); ++i) {
if (nums[i] != 0) { // Indispensable!!!
if (nonzero != i) {
nums[nonzero] = nums[i];
nums[i] = 0;
... | [
"zhengjunlin515@gmail.com"
] | zhengjunlin515@gmail.com |
62dd3b8bcfd8213cb7bca3e12b0063281003ae7f | cb015b0e378c17ec90c76289a53e246e69ef0566 | /util/ping.cpp | 101dfbfb0c3884fb8a2e093404b281693f1e6fbe | [] | no_license | hakwolf/oneproxy-monitor | a1d9e08573f09d2ce135745790f9874378a2f1cf | 474f43eb154c9e587ed3dd65a6b94003059474de | refs/heads/master | 2020-09-14T13:01:09.948006 | 2017-10-18T14:15:21 | 2017-10-18T14:15:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,200 | 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 no... | [
"1173811163@qq.com"
] | 1173811163@qq.com |
daeac89df87b9e8a2773926b89ff24f2232f576c | f57a583d41ddf3bf4e8a96e32f38de9d83ff6ae8 | /gtk+3/entry.cpp | f45e61b9a0f5b942d38ab7143230941ce11d7b7c | [] | no_license | sansajn/test | 5bc34a7e8ef21ba600f22ea258f6c75e42ce4c4e | c1bed95984123d90ced1376a6de93e3bb37fac76 | refs/heads/master | 2023-09-01T00:04:48.222555 | 2023-08-22T15:14:34 | 2023-08-22T15:14:34 | 224,257,205 | 2 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 690 | cpp | #include <gtk/gtk.h>
void activate(GtkApplication * app, gpointer user_data)
{
GtkWidget * win = gtk_application_window_new(app);
gtk_window_set_title(GTK_WINDOW(win), "entry-sample");
GtkWidget * hbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 5);
gtk_container_add(GTK_CONTAINER(win), hbox);
GtkWidget * entry =... | [
"adam.hlavatovic@protonmail.ch"
] | adam.hlavatovic@protonmail.ch |
bfd1b41108eb4413253fe2bb89aca8af1d0af787 | a621cc1dcbdbafab73905753c9c54fb69aa46c9b | /cpu/Addressing.cpp | 35687e94c3304531804a8ddb2df80cca9e0eee41 | [] | no_license | FrancescoRigoni/SNES-Emulator | 57f838cee3f229a19125e39bdc8abea1f2208a41 | c306aa130c2f7e69465db3ba6a9e4b36584962d8 | refs/heads/master | 2021-01-19T17:22:58.920614 | 2017-06-05T17:03:39 | 2017-06-05T17:06:06 | 88,323,233 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,162 | cpp |
#include "Cpu65816.hpp"
#define LOG_TAG "Addressing"
bool Cpu65816::opCodeAddressingCrossesPageBoundary(OpCode &opCode) {
switch(opCode.getAddressingMode()) {
case AddressingMode::AbsoluteIndexedWithX:
{
Address initialAddress(mDB, mMemoryMapper.readTwoBytes(mProgramAddress.newWithOff... | [
"francesco.rigoni@gmail.com"
] | francesco.rigoni@gmail.com |
d14aa4c628d32c4eeb5732026ecd91e77fbed9d3 | 9ddbbc876049a70db8cd4019eee0f8de95f53187 | /Http/HttpServer.h | 247c58f2e0107c414a9522b1375af112cb32de23 | [] | no_license | MarekM25/TIN_iptables | af46d08060f0113b172b50a71361e4d4b55a5c73 | 5bb7be83a2d5b68d483d7f7082d7b8341731d405 | refs/heads/master | 2021-01-10T17:01:28.125175 | 2015-12-22T15:02:22 | 2015-12-22T15:02:22 | 46,950,725 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,287 | h | //
// Created by anowikowski on 10.12.15.
//
#ifndef TIN_IPTABLES_HTTPSERVER_H
#define TIN_IPTABLES_HTTPSERVER_H
#include <string>
#include <thread>
#include <netinet/in.h>
#include "HttpResponse.h"
#include "HttpRequest.h"
#include "HttpRequestContext.h"
class HttpServerRequestHandlerInterface
{
public:
virtual... | [
"nowikowski22@hotmail.com"
] | nowikowski22@hotmail.com |
a94d0ea3f536b15515c8cb784953d6888b86500d | a9642579bb7ddd2e671d5ade73ee540a5c053925 | /src/Engine/Primitives/CharacterMesh.h | 6857f5b4e6df0377403943fc21ba2e3f3e836742 | [] | no_license | BobDeng1974/OpenGLEngine | bd8417fc572f5631010cd1f686559166af831bd2 | 9770c95a51e102a087d098e002a84f50279e551e | refs/heads/master | 2020-04-29T01:45:29.158464 | 2019-03-14T23:12:40 | 2019-03-14T23:12:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 915 | h | #ifndef OPENGL_TEXT_H
#define OPENGL_TEXT_H
#include "Mesh.h"
#include "../CharacterTextureGenerator.h"
class CharacterMesh : public Mesh {
public:
Character ch;
CharacterMesh(char c, std::map<GLchar, Character> & characters) : Mesh() {
ch = characters[c];
textureId = c... | [
"krzysiekkucharski7@gmail.com"
] | krzysiekkucharski7@gmail.com |
063b534a5733fc5079be72afc0c534b1fa7223f7 | d10f52a94a61edc1c8be594977c13de984013494 | /004-Median-of-Two-Sorted-Arrays-non-recursive/solution.cpp | 1a39b50659fdbca02ce23c07ed8f9c7f3ee03040 | [
"Apache-2.0"
] | permissive | johnhany/leetcode | 1248e4c9b9e511d5dda3b4e970b4b2fda05d3a29 | 1948c6a517f3552f667df0c673198a12e5ea99b8 | refs/heads/master | 2023-05-14T01:03:19.608452 | 2023-05-05T12:43:56 | 2023-05-05T12:43:56 | 136,358,094 | 7 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 1,005 | cpp | #include "solution.hpp"
static auto x = []() {
// turn off sync
std::ios::sync_with_stdio(false);
// untie in/out streams
cin.tie(NULL);
return 0;
}();
double Solution::findMedianSortedArrays(vector<int>& nums1, vector<int>& nums2) {
if (nums1.size() > nums2.size()) {
std::swap(nums1, nums2);
... | [
"johnhany@163.com"
] | johnhany@163.com |
18f2a0b4d54ad0f48815294a5f9057dce84a5e4c | 822febebbf0213bf144f6532ae428a5050beb4d8 | /VS Code Cpp/DP_Aditya_Verma/7_MCM_&_Its_6_Variations/MCM_Memoization.cpp | 11c9b958e60362db87a86d5c17bfe127757dfa5b | [] | no_license | roushan-raj/Codes | bf5d5ffe438285556635fe8b2879048c37df11cf | 96e0c54e4dbc679ea5c32c3aec72e80197b334d8 | refs/heads/master | 2023-05-13T22:10:08.333235 | 2021-06-09T17:19:29 | 2021-06-09T17:19:29 | 333,555,263 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 631 | cpp | #include<iostream>
#include<bits/stdc++.h>
using namespace std;
int static dp[1001][1001];
int mcm(int arr[], int i, int j){
if(i>=j){
return 0;
}
if(dp[i][j] != -1){
return dp[i][j];
}
int mn = INT_MAX;
for(int k=i; k<=j-1; k++){
int temp = mcm(arr, i, k) + mcm(arr, k... | [
"rraa1.raushan@gmail.com"
] | rraa1.raushan@gmail.com |
e0c3d54e4c69d332e3fb7bf32b7907c33e4e4769 | 2e1dd69084d07f9c0f71e1b446b59f9d3a96af9d | /Extras/bi_directional/bi_directional.ino | bee9f315666370f792cf2de3e89fc3a6e5b45736 | [] | no_license | Rakin7/Coal-Mining-Safety-System | c319e158f7b2cad9992df9183d9a125d0f17439d | af1755943cbbba74f48a897bb5bc90f01760128a | refs/heads/master | 2023-01-06T14:14:50.818431 | 2020-11-01T14:07:53 | 2020-11-01T14:07:53 | 288,236,792 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 636 | ino | #include <SPI.h>
#include <nRF24L01.h>
#include <RF24.h>
char text[32] = "";
RF24 radio(8,9); // CE, CSN
const byte addresses[][6] = {"00001", "00002"};
void setup() {
Serial.begin(9600);
radio.begin();
radio.openWritingPipe(addresses[1]); // 00002
radio.openReadingPipe(0, addresses[0]); // 0000... | [
"noreply@github.com"
] | noreply@github.com |
7bd2b4cbad11d632fb8ecd43c889dee4d03ccc19 | b9f26ea33f6b983ed18b4c9cb670ab71938fd5bc | /TopApps/os_win.cpp | c698981f10b75c0451800aca7e2eaba55ce8c2a6 | [] | no_license | korha/TopApps | e899d269f56f9b26f289de1ee6de97ec3cbedd2d | cc2a6ac627e474ee0f2e3c068ada3fd6d7dcdc03 | refs/heads/master | 2021-01-21T20:24:05.271608 | 2017-09-08T01:16:06 | 2017-09-08T01:16:06 | 92,232,895 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,731 | cpp | #include <os_win.h>
//-------------------------------------------------------------------------------------------------
COsSpec::CMutex::CMutex() :
hMutex(::CreateMutexW(nullptr, FALSE, g_wGuidMutex))
{
Q_ASSERT(hMutex);
}
//-------------------------------------------------------------------------------------... | [
"admin@example.com"
] | admin@example.com |
a4f89c5bc5424528225977018ec484973c0b5592 | cfeac52f970e8901871bd02d9acb7de66b9fb6b4 | /generated/src/aws-cpp-sdk-iotsecuretunneling/source/model/TagResourceRequest.cpp | d70b7c622bf0817177d1a676fc83e61ed905c577 | [
"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 | 1,258 | cpp | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#include <aws/iotsecuretunneling/model/TagResourceRequest.h>
#include <aws/core/utils/json/JsonSerializer.h>
#include <utility>
using namespace Aws::IoTSecureTunneling::Model;
using namespace Aws::U... | [
"sdavtaker@users.noreply.github.com"
] | sdavtaker@users.noreply.github.com |
c3d3cac04addff70a05728ca5d855346293f93ba | 02b6e42014dd8b30db8267041a7edb1accbcedf4 | /LEDArranger.cpp | 59909a52bff364dca6eb7f1c2ecf7e579cb8cc4a | [] | no_license | lisyaoran51/LEDFlow | f2efe004a8d45f9e109316f921727f78dd089528 | 338ad40e5e453dcd6e1ef99178208681a68edd94 | refs/heads/master | 2021-05-13T22:02:58.241616 | 2018-03-07T20:53:54 | 2018-03-07T20:53:54 | 116,478,483 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,221 | cpp | #include "LEDArranger.h"
LEDArranger::LEDArranger(StatusConverter* sConverter) {
startTime = float(millis()) / 1000.0;
lastTime = startTime;
converter = sConverter;
}
void LEDArranger::AddEvents(LinkedList<Event*>* newEvents)
{
for (int i = 0; i < newEvents->size(); i++) {
events.add(newEvents->get(i));
}
... | [
"lisyaoran51@hotmail.com"
] | lisyaoran51@hotmail.com |
09a2cde370143aa725d1f1d2a801e9b4fc265738 | a0604bbb76abbb42cf83e99f673134c80397b92b | /fldserver/base/strings/string_piece.cc | e46471d931f0094a7bc0f533c960414f27febf22 | [
"BSD-3-Clause"
] | permissive | Hussam-Turjman/FLDServer | 816910da39b6780cfd540fa1e79c84a03c57a488 | ccc6e98d105cfffbf44bfd0a49ee5dcaf47e9ddb | refs/heads/master | 2022-07-29T20:59:28.954301 | 2022-07-03T12:02:42 | 2022-07-03T12:02:42 | 461,034,667 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,340 | 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 "fldserver/base/strings/string_piece.h"
#include "fldserver/base/strings/utf_string_conversions.h"
#include "fldserver/fldserver_config.h"
... | [
"hussam.turjman@gmail.com"
] | hussam.turjman@gmail.com |
6100097610e32407e29dd06a606eb59e2962a843 | bb25059661ef7e2a085e7d254672d3fcbf6c60ec | /toDecimal.cpp | 016f9df82babdb3afe4990b923110e433fdeeaea | [] | no_license | Gourav-Chouhan/C-programs | 70176289603fb9c4b5ad6f05683b83a94661a689 | f767f81c5b8b4fbd78052b635cd29672718ba754 | refs/heads/master | 2023-04-26T14:00:40.724024 | 2021-05-15T12:07:48 | 2021-05-15T12:07:48 | 367,621,718 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 312 | cpp | #include <iostream>
#include <string.h>
#include <math.h>
using namespace std;
int main() {
string bin;
cin>>bin;
//cout<<bin.size();
int dec = 0;
for (int i = 0; i < bin.size(); i++)
{
dec -= (pow(2, i))*(bin.at(bin.size() - i));
}
cout<<dec;
return 0;
} | [
"gg0uravgch0uhan@gmail.com"
] | gg0uravgch0uhan@gmail.com |
ecdedddbef2e8e5e45a50e79ee753ce67230afa8 | 86c1a486e011bff80d79bd2be6065d79f7558da9 | /LevelSaveState.h | d44a171e97d77c3492d4133f182aee873a7e8a22 | [] | no_license | meabefir/regex | ece634c1ea45d7ee34720e12d6780f32733deccb | 492246e1540c856fb7b7df3a81c6fb66c4d76394 | refs/heads/master | 2023-04-04T04:31:03.440978 | 2021-04-22T06:58:18 | 2021-04-22T06:58:18 | 359,185,682 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 658 | h | #pragma once
#include "State.h"
#include "Button.h"
class LevelSaveState :
public State
{
private:
sf::RectangleShape whiteBox;
sf::Text infoTextRender;
sf::Text inputTextRender;
std::string text;
std::unordered_map<std::string, Button*> buttons;
public:
LevelSaveState(sf:... | [
"hujapetru@gmail.com"
] | hujapetru@gmail.com |
1d1908ba346e5925931ba8318172ede6cf18fd99 | 909595cdbb68692e44ba59b8d42cd6814eff7464 | /算法笔记/快速幂基本.cpp | 5bbe96209663848b2bcdb0d0f5740961e050775c | [] | no_license | luoguanghao/PAT | a57ac79e3029b921b3f3802b436a5ddeb72c9cff | 866cee05b42911bbd0cdc78442381d34c3be539d | refs/heads/master | 2020-05-30T16:13:09.339947 | 2019-06-02T12:00:23 | 2019-06-02T12:00:23 | 189,836,911 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 271 | cpp | #include <cmath>
#include <cstdio>
const double PI = acos(-1.0);
const double eps = 1e-5;
double r;
int main(){
int a,b;
scanf("%d %d",&a,&b);
int ans=1, base=a;
while(b!=0){
if(b&1!=0){
ans*=base;
}
base*=base;
b>>=1;
}
printf("%d",ans);
return 0;
} | [
"896441113@qq.com"
] | 896441113@qq.com |
0ab1cc8e1e40e981e01aa090436fcf0b06a12c1b | f449d3be32d1e718bfe3627e4dc1d6d300a8c41f | /Classes/cell/ability/Ability.cpp | 1d5ab2606b17672abe8ef6eddb0c7a986a1be3e5 | [] | no_license | Crasader/tower-skycity-two | 949dadd1e32622f67c7f194855ee3439fede43e4 | f22202c1ebf5e16206f765b736d46491b10cfa7d | refs/heads/master | 2020-12-13T01:31:27.267103 | 2015-11-09T11:08:00 | 2015-11-09T11:08:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 511 | cpp | #ifndef __ABILITY_H__
#define __ABILITY_H__
#include "Ability.h"
#include "WalkAble.h"
Ability* Ability::create(std::string type)
{
Ability* ability = nullptr;
if(type == "walk")
{
ability = new WalkAble();
}
else if(type == "skill")
{
}
else if(type == "fight")
{
}
else if(type == "chat")
{
}
else... | [
"sdlwlxf@gmail.com"
] | sdlwlxf@gmail.com |
0a08b771a4703ff7f270618775b7a35b584d97d3 | 42614c9938e56d9349f82e632fededd10a4382de | /0646-maximumLengthOfPairChain.cpp | 1389a1e6ebbf5afe40b2edf66c14763aea5f4166 | [] | no_license | rouman321/code-practice | fe1e092f0f99c689e0ffb3398222d6482cda3fe3 | d43c73c8a74a95b5e5a568fe40b5cb0cda6c8974 | refs/heads/master | 2020-07-29T06:29:30.820220 | 2019-11-25T19:26:12 | 2019-11-25T19:26:12 | 209,698,973 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 651 | cpp | /*
LeetCode 646. Maximum Length of Pair Chain
medium
time: 35.03%
space: 100%
*/
class Solution {
public:
int findLongestChain(vector<vector<int>>& pairs) {
sort(pairs.begin(),pairs.end());
vector<int> dp(pairs.size(),1);
for(int i = 0;i < pairs.size();i++){
for(int j = 0;j < i;j... | [
"rouman321@gmail.com"
] | rouman321@gmail.com |
353d302545229c052430f42052c971571ac4cc3b | 36b214de24e1f248d5491a3fff1bbf457a87f5ad | /0_99_save.h | 83359a78990e821232a5ec40749dbf9086e3a3a2 | [] | no_license | enburk/en-wiktionary | dc0a2b0effccc3d745ecc18952223a83fd32f1e4 | cbed0ba8c27f120a46004978c01e4b254c1ffab3 | refs/heads/master | 2021-07-19T08:40:59.253245 | 2021-07-17T05:57:58 | 2021-07-17T05:57:58 | 183,902,557 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 689 | h | #pragma once
#include "0.h"
namespace pass0
{
Pass <entry, entry> save = [](auto & input, auto & output)
{
bool started = false;
std::ofstream fstream;
for (auto && entry : input)
{
if (GENERATE_REPORTS and not started)
{
started = true;
... | [
"enburk@gmail.com"
] | enburk@gmail.com |
830aa860ac27b46ed8b85d4e5b26c49fa06646b7 | 22c59efd9f33b104321be0ea17a3324fb67ad6bf | /Proj2/generator.cpp | 8aed402d8b979b9d74151dc0aa22548c6ff04cdb | [] | no_license | sushaoxiang911/AlgorithmsAndDataStructures | 160e85b487bc065dfd4719228a803c2a869d35a1 | bdcd9b3b282c19a3c37cd7b352135e8fb0819ec3 | refs/heads/master | 2021-01-19T22:14:01.300118 | 2014-12-15T06:59:44 | 2014-12-15T06:59:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 849 | cpp | #include <iostream>
#include <fstream>
#include "stdlib.h"
#include "time.h"
#define CONTENTLENGTH 150
#define NAME 3
using namespace std;
int a=0;
void generate_name()
{
string name="";
static int a='A';
name=a++;
if(a=='~')
a++;
cout<<"~~~~~~~~~~~~~~~~~~~~";
cout<<name;
cout<<"~~~~~~~~~~~~~~~~~~~~"<<endl;
... | [
"ssx@umich.edu"
] | ssx@umich.edu |
9c6b1e98f8d5bba64b8d3fd0d42d6aad0173a5e4 | a9177742af0bbd45441d9f5e87b24016f1b28e84 | /include/dynamic-graph/TaskVelocityDamping/TaskVelocityDamping.hh | 07ecafb155f0f222dcb1505fd6ee050b935998b6 | [] | no_license | pal-robotics-graveyard/task_velocity_damping | a22bb686288a6f6807321a2e699ea90fd023f54e | c2840daba0e29cfd471480b5de98e86b4d229eaf | refs/heads/master | 2020-04-06T04:37:25.062789 | 2014-04-16T17:07:13 | 2014-04-16T17:07:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,003 | hh | /*
* Copyright 2011, Nicolas Mansard, LAAS-CNRS
*
* This file is part of sot-dyninv.
* sot-dyninv is free software: you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation, either version 3 of
* the License, or (at your op... | [
"karsten.knese@googlemail.com"
] | karsten.knese@googlemail.com |
af04cb3be80ca487c4a06da2538b70fc002cebe6 | 988264115ad52083e04fc7ead0bfeef04f7301cb | /satplan-cond-effects-2009/solvers/zchaff/zchaff-no-assignment/sat_solver.cpp | 41c4c1d740d8a5ac532f95c4a7b0a47a7875cfac | [] | no_license | josej30/Planner-Sat-Constraints | 5240c0a1c137d78f1a6705a35c0440e15c5e4c68 | e944a13f446291e28d2139bc7a5e7f44404954f3 | refs/heads/master | 2021-01-22T10:25:52.737449 | 2010-07-17T21:24:52 | 2010-07-17T21:24:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,188 | cpp | /* =========FOR INTERNAL USE ONLY. NO DISTRIBUTION PLEASE ========== */
/*********************************************************************
Copyright 2000-2004, Princeton University. All rights reserved.
By using this software the USER indicates that he or she has read,
understood and will comply with the fol... | [
"jose@volker.(none)"
] | jose@volker.(none) |
bceef227862b6f6446f2c84ff975e60d46f2921b | db00f801f91c0e5f0937b37981fcdf9bdf5463da | /src/sync.cpp | 64c4ec5a6e8531ce0382dbd91b947cda11d9aaf9 | [
"MIT"
] | permissive | kitkatty/bitcoinrandom | bb3aef4fb008c85d2b2eba78912f0212ed294518 | 290e9e5c48f12b89147cf59220449ce92e2ab892 | refs/heads/master | 2020-03-20T12:22:19.282998 | 2018-06-24T18:33:52 | 2018-06-24T18:33:52 | 137,427,908 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,591 | cpp | // Copyright (c) 2011-2016 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "sync.h"
#include "util.h"
#include "utilstrencodings.h"
#include <stdio.h>
#include <boost/thread.hpp>
#ifdef D... | [
"34012208+kitkatty@users.noreply.github.com"
] | 34012208+kitkatty@users.noreply.github.com |
343b1adb8f3f97a07e8c6846bf98c3f601ec7806 | f27ff2a8f371add47db997a181236dff8a9f9456 | /powerset.hpp | f7072761383ee4803e3f5c7dc78e4f3a22f90183 | [] | no_license | netanel208/Itertools | 4df699ce0f1e28642ebba16df8aced1646a0d715 | c72bd1932141f279d1c299aeb877bb1320bb3b9d | refs/heads/master | 2020-05-20T11:53:43.455744 | 2019-05-23T12:37:11 | 2019-05-23T12:37:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,755 | hpp | #pragma once
#include "product.hpp"
#include <set>
#include <math.h>
namespace itertools{
template<typename T> class powerset{
T container;
uint size;
public:
powerset<T>(const T container): container(container) {
int _size=0;
for (auto element : container)
_size++;
size = _size;... | [
"orez132@gmail.com"
] | orez132@gmail.com |
541aa30691cfa498cc720e07b4691d56c708b57e | cfeac52f970e8901871bd02d9acb7de66b9fb6b4 | /generated/src/aws-cpp-sdk-lexv2-models/include/aws/lexv2-models/model/IntentSortAttribute.h | 159e85a8248d11da5557f77e3226bbecec79a645 | [
"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 | 722 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace LexModelsV2
{
namespace Model
{
enum class IntentSortAttrib... | [
"sdavtaker@users.noreply.github.com"
] | sdavtaker@users.noreply.github.com |
13a391bdec878330bb120800995fe4297b6dc405 | d1a4de3f9c6eb9585c2dd37de769f7ae6fd3a6dd | /source/canvas/framebuffer/FrameBufferGUI.cpp | b053d15a5a303b10d282851ab5f5238208572acb | [
"MIT"
] | permissive | RobertDamerius/CKeys | 38f60114ec71709d67b529d197aa634145e02883 | 3a861e033abee595472770e85acba47b17f37bf8 | refs/heads/master | 2023-03-20T11:58:44.685210 | 2021-03-09T20:06:12 | 2021-03-09T20:06:12 | 271,225,926 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,213 | cpp | #include <FrameBufferGUI.hpp>
FrameBufferGUI::FrameBufferGUI(){
this->cbo = 0;
this->rbo = 0;
this->fbo = 0;
}
bool FrameBufferGUI::Generate(GLint width, GLint height, GLenum textureUnitGUI){
Delete();
DEBUG_GLCHECK( glGenFramebuffers(1, &this->fbo); );
DEBUG_GLCHECK( glBindFramebuffer(GL_FRA... | [
"damerius.mail@gmail.com"
] | damerius.mail@gmail.com |
411c437f31772a521339ae96d97e192a991a4344 | fce4cef1b6c4b40bd3a8048bc28b393d4c37f432 | /Quellcode/src/blowfishcrypt.h | 7166502d8b273fc664849cdd907451c08db508ad | [] | no_license | test-eban/it_s_2020 | 672fe22787b364688533879042daf4763869850a | b3efe0e32e1f28769599e2edc758177a41e0889b | refs/heads/master | 2022-04-11T07:49:57.753949 | 2020-03-05T20:37:55 | 2020-03-05T20:37:55 | 233,927,283 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,819 | h | #ifndef BLOWFISH_H
#define BLOWFISH_H
#include "cryptclassbase.h"
#include "utility.h"
#include <openssl/blowfish.h>
/**
* @brief This class provides everything that is necessary to encrypt/decrypt the contents of a given QByteArray with the Blowfish cipher.
* The Blowfish cipher is a symmetric-key block... | [
"admin@testeban.de"
] | admin@testeban.de |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.