blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 26 | license_type stringclasses 2
values | repo_name stringlengths 7 95 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 57
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 197k 639M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 11
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 34
values | src_encoding stringclasses 18
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 11 9.86M | extension stringclasses 27
values | content stringlengths 11 9.86M | authors listlengths 1 1 | author stringlengths 0 70 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
274bb9ecf978785c2e5004fbb9f5f94532e7e0c6 | aecf4944523b50424831f8af3debef67e3163b97 | /xr_3da/xrGame/dRay/xrGame/UIWeapon.h | f995b42833c99c47977fa017b4c26bb2618d2c5b | [] | no_license | xrLil-Batya/gitxray | bc8c905444e40c4da5d77f69d03b41d5b9cec378 | 58aaa5185f7a682b8cf5f5f376a2e5b6ca16fed4 | refs/heads/main | 2023-03-31T07:43:57.500002 | 2020-12-12T21:12:25 | 2020-12-12T21:12:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 408 | h | #ifndef __XR_UIWEAPON_H__
#define __XR_UIWEAPON_H__
#pragma once
#include "uistaticitem.h"
// refs
class CWeapon;
class CUIWeapon
{
Ivector2 position;
CUIStaticItem back;
CUIStaticItem weapon;
ref_shader cur_shader;
public:
CUIWeapon ();
virtual ~CUIWeapon ();
void Render ();... | [
"slipch@localhost"
] | slipch@localhost |
8d898250e19305483f2d90d3a9a087f2ac7f7cb4 | 97e4b961fa101bc637934dbe01ac93152f0850fa | /c++/CMPooltest2/CMPooltest1/PageCache.h | 8a8e5b181eae25e1dd018a1a2b57f7540a63c5a5 | [] | no_license | emmanuelfils435/C-C-_memory | b7150cfe7c2f32a481e40873a0c5b35a8426e13d | 0a6b26e2fc3b19132183161380b72c5f50ba9ca8 | refs/heads/master | 2023-03-19T20:35:32.166421 | 2020-04-30T08:00:39 | 2020-04-30T08:00:39 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 819 | h | #pragma once
#include"Common.h"
//1.page cache 是一个以页为单位的span自由链表
//2.为了保证全局只有唯一的page cache,这个类被设计成了单例模式
class PageCache
{
public:
static PageCache* GetInstance()
{
return &_inst;
}
Span* NewSpan(size_t npage);
//获取从对象到span的映射
Span* MapObjectToSpan(void* obj);
//释放空闲span回到Pagecache,合并相邻的span
void ReleaseS... | [
"1023826776@qq.com"
] | 1023826776@qq.com |
24d63a9f2b65ee4dc4163a0b8496d948870dd0fc | e92d75b7053ce957859eff8eed11122f2709a1aa | /initial_graph.cpp | 135457e5a11f4e8604b484b31695ae3704a2ba67 | [] | no_license | buptxwli/graph | 07163a7e157e98a88aed478ced0fcc9f4b59a0e3 | 2518b9f69ee1c63cd3ef31bb00c994ca2560da47 | refs/heads/master | 2021-01-13T03:10:00.976291 | 2017-03-07T12:59:58 | 2017-03-07T12:59:58 | 77,432,361 | 0 | 1 | null | 2017-01-11T12:04:12 | 2016-12-27T06:40:26 | C++ | UTF-8 | C++ | false | false | 6,577 | cpp | #include <cstring>
#include <cmath>
#include <algorithm>
#include <vector>
#include <queue>
#include <cstdio>
using namespace std;
const int maxnum=100;
const int maxrow=100;
const int maxline=50;
const int maxtime=maxnum*maxrow*maxline;
bool graph_mark[1000];
bool mark_point[maxrow][maxline];
int step_total[maxnum];
i... | [
"buptlorraine@163.com"
] | buptlorraine@163.com |
fdd9f7e51aed5ecf7e717542aea30e79485bdaae | e7ee6db107a15527890cbb94bc1607fa8500cdbc | /zadacha18/zadacha18.cpp | 2ecf5461c3b07001fef88b62d31d3cb97f10cfb0 | [] | no_license | valeti00/practicheskie | 72c18bc2d81bc0b637342671ae47da6b6d1845dd | 9fac55195989668d73bf5ef149017594b0ffc93a | refs/heads/master | 2020-11-26T21:22:25.731086 | 2020-01-18T12:19:47 | 2020-01-18T12:19:47 | 229,207,788 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 770 | cpp | // zadacha18.cpp : Этот файл содержит функцию "main". Здесь начинается и заканчивается выполнение программы.
//
#include <iostream>
#include <ctime>
#include <cstdlib>
using namespace std;
const int n = 20;
int main()
{
setlocale(LC_ALL, "RUS");
srand(time(NULL));
int mass[n], max, min;
c... | [
"noreply@github.com"
] | noreply@github.com |
a2a339302794a96caca06e7a720eca1aedcf6d98 | c3869ba42919ce534216a7585931c0e0a8216955 | /upp/bazaar/TestHelpViewer/app.tpp/JointExternalTimber1_it-it.tpp | 7dc75f38a906ce88f337d7e47a4caeb24b7106e4 | [] | no_license | RanJi0128/Chromium-customization | 018c977c26a270387a2d9b3c1855a0668691b477 | 89b3550d7fc6f1b61f5e6023c293b82c521c509d | refs/heads/master | 2020-07-13T01:31:26.499121 | 2019-08-29T07:07:17 | 2019-08-29T07:07:17 | 204,954,330 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 327 | tpp | topic "";
[ $$0,0#00000000000000000000000000000000:Default]
[{_}%EN-US
[s0;=* &]
[s0;= [* GIUNTO RIGIDO A GUANCIALI ESTERNI]&]
[s0; &]
[s0;# Si tratta del classico collegamento, principalmente per taglio/momento
flettente, tra due elementi lignei tramite guanciali esterni
e bulloni/spinotti in acciaio :&]
[s0;#2 &]
... | [
"you@example.com"
] | you@example.com |
34f137ad7fa87e4d3a3e36141388b31ec2e65cd4 | 50bfeea8da2447419dcb6bb212d2d103d2dcc4fc | /completed/c++/euler15.cpp | 4ebd743635f87a7c1dba15304ea3f838196f024a | [] | no_license | spkane31/projectEuler | 89cb3024f47ec077d06814f70496f38ae1541ab1 | e92f2449099e59cf1943fdbbd1308d7c9ceba9cb | refs/heads/master | 2021-01-01T03:35:35.149634 | 2019-07-17T19:25:57 | 2019-07-17T19:25:57 | 56,004,828 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 696 | cpp | // Sean Kane
// Euler Problem 15
// Started: April 19, 2016
// Finished:
#include <iostream>
#include <cmath>
#include "universalFxns.h"
using namespace std;
int main(){
unsigned long long int grid[21][21] = {0};
grid[0][0] = 1;
for(int a = 1; a < 21; a++){
grid[0][a] = 1;
grid[a][0] = 1;
}
for(int... | [
"spkane31@gmail.com"
] | spkane31@gmail.com |
46039f1e63bd23c4642d7290ff5d4c16a1c7530d | 867a94c4b137da3f08014854cd68cec2ca42ab78 | /Trees/BinaryTreeZigzagLeverorderTraversal.cpp | 439f200bad8b693eb8a86eec62baedc204df3e05 | [] | no_license | sakshistar/LeetcodeSolutions | 9391bdf6ebd7b4c86a75358c51f43374423a618e | 13ff8e61caf6c0bcff32a964c81060e1c28497a5 | refs/heads/master | 2022-12-29T20:13:28.083884 | 2020-10-23T13:31:01 | 2020-10-23T13:31:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,184 | cpp | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode() : val(0), left(nullptr), right(nullptr) {}
* TreeNode(int x) : val(x), left(nullptr), right(nullptr) {}
* TreeNode(int x, TreeNode *left, TreeNode *right) : val(x), l... | [
"nishantc.co.17@nsit.net.in"
] | nishantc.co.17@nsit.net.in |
42ea241b83baf69580fea8cff76967ac1755fffd | 2b31b6a58a6677f23422a07b9aebbc0ae89e8cb0 | /libvis/src/libvis/render_window_qt_vulkan.cc | 1e3568738c0fd72ebfe221602d6d30936631d083 | [
"BSD-3-Clause"
] | permissive | SnowCarter/surfelmeshing | eef27c8d8797432f0706502e8507e45adee7323b | 5b1c8d160c1d64f5144b58309b725812d8e6e3ab | refs/heads/master | 2020-04-03T06:25:35.202401 | 2018-10-02T12:31:55 | 2018-10-02T12:31:55 | 155,074,298 | 1 | 0 | BSD-3-Clause | 2018-10-28T13:30:43 | 2018-10-28T13:30:42 | null | UTF-8 | C++ | false | false | 34,700 | cc | // Copyright 2018 ETH Zürich, Thomas Schöps
//
// 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 copyright notice,
// this list of conditions and the follow... | [
"tom.schoeps@gmail.com"
] | tom.schoeps@gmail.com |
028f0ca8dccf3123d23b43f7563a5c7d04931e2b | 7cc38b60e2429bbbf92f8bb6e4b55d91860ca227 | /models/PaymentsModel.cpp | 2b710f49aef45147e1a1ccddbc51a0511b47e402 | [] | no_license | topten2018/untitled | 565e880e71aa2e7d028c09a1565e84ceec967036 | d9e607bf024f2484401fa0e797f3994ab672cb7a | refs/heads/master | 2020-03-06T16:12:20.237389 | 2018-04-14T10:42:00 | 2018-04-14T10:42:00 | 126,969,412 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,320 | cpp | #include "models/PaymentsModel.h"
#include "Utils/AutoSaver.h"
#include "Utils/StringUtils.h"
#include "dialogs/DlgAddress.h"
#include <QMessageBox>
#include <QFile>
#include <QTextStream>
#include <QMutexLocker>
PaymentsModel::PaymentsModel(const QString filename, QObject *parent)
: QAbstractTableModel(parent)
,... | [
"zV3KT0R@gmail.com"
] | zV3KT0R@gmail.com |
f8af0244c80ad7d3056f4ae29bb799ca955d2c75 | e63c1e59b2d1bfb5c03d7bf9178cf3b8302ce551 | /uri/uri_cpp/paradigmas/p1084.cpp | c6e6ab3ac8569054b1f64b3ec02da8bee90f2104 | [] | no_license | GabrielEstevam/icpc_contest_training | b8d97184ace8a0e13e1c0bf442baa36c853a6837 | 012796c2ceb901cf7aa25d44a93614696a7d9c58 | refs/heads/master | 2020-04-24T06:15:16.826669 | 2019-10-08T23:13:15 | 2019-10-08T23:13:15 | 171,758,893 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,001 | cpp | #include <iostream>
#include <sstream>
#include <string>
#include <stdlib.h>
#include <stdio.h>
#include <vector>
using namespace std;
int main() {
int n, d, i, j;
unsigned k;
string entry;
vector <char> input;
cin >> n;
cin >> d;
while (n != 0) {
cin >> entry;
for (k = 0... | [
"gabrielestevam@hotmail.com"
] | gabrielestevam@hotmail.com |
e407c353af34b22a0ed3db26003e9dbc41bd72e4 | 2ba32b74d75a4a51c6928017207b89b1cccabb32 | /GuiHomeStack_list.h | 1bbaf466cc5bae93a58b375152f72c9054a53858 | [
"MIT"
] | permissive | fighterkaka22/NeuTalk_mainwindow | d4cf85b3922c9dbe27e19d180f01db5774f086e2 | cec11411fb7c7b3cec0bf13152de9329d9035ad4 | refs/heads/main | 2023-07-13T09:02:19.497256 | 2021-08-27T15:40:22 | 2021-08-27T15:45:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 814 | h | #ifndef GUIHOMESTACK_LIST_H
#define GUIHOMESTACK_LIST_H
#include "GuiScrollStack.h"
#include "GlobalData.h"
class GuiHomeStack_list;
class GuiListItem;
class GuiListItem : public QWidget
{
Q_OBJECT
public:
explicit GuiListItem(UsrProfileStruct *usrProfileStruct, QWidget *parent = 0);
~GuiListItem();
void r... | [
"fightermilan22@foxmail.com"
] | fightermilan22@foxmail.com |
97c1f1a360d822f6948da6a6f270bb2bb6b99026 | a80fb9a780318a776388767d30f2d7698c9ad747 | /run/cavityHighRe/1.7/U | b895e97a17bd8b4dfe527890383c6b10b5994354 | [] | no_license | SebastianJohansen/openFOAM | 31bef4c8437fd468e3094d510d3ff392e2ea7d94 | 59ce09358ccf3c2390450183257373292e1b72ee | refs/heads/master | 2020-03-20T09:03:31.969919 | 2018-07-02T14:31:58 | 2018-07-02T14:31:58 | 137,327,058 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,020 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 5.x |
... | [
"cebastian.johansen@gmail.com"
] | cebastian.johansen@gmail.com | |
6ccd6befeacb4f3acf77a7c792a8a004a29146d6 | 4185c1099535893911ff0325dfd41136f03a80f0 | /11抽象工厂模式/AbstractFactory.h | 9be51fefbfd408ed2239202d75f268686a84bcfa | [] | no_license | ruan875417/DesignPattern | ec3076185f7088f279fc3b4ac1db76a365631b34 | cc2a0a9e38ee067f27e89043339eea1d248ba170 | refs/heads/master | 2021-01-23T14:05:23.700334 | 2014-11-30T02:44:15 | 2014-11-30T02:44:15 | 25,769,676 | 2 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,304 | h | #ifndef ABSTTACTFACTORY_H
#define ABSTTACTFACTORY_H
#include<iostream>
using namespace std;
//////////////////////////////////////////
//抽象产品类A,
//定义了具体产品类A统一的接口
class Linux{
public:
virtual void create()=0;
};
//抽象产品类B
//定义了具体产品类B统一的接口
class Windows{
public:
virtual void create... | [
"ruan875417@qq.com"
] | ruan875417@qq.com |
29f88198b52d9f7b5310bf9f398ea8fcf0e4c9ca | 1198a3d2e58feb180bfc7f17919e3db34cf2d78d | /src/Audio/AudioPlayer.cpp | 8acbfaa4959c376e67ab92e87d2a2b6c38d60a06 | [] | no_license | RyanSwann1/SFML-CPP-Platformer | 0e3e8daae27df8e432eec8b52b4c8f4f7582f09b | a1e6d53bf404d6a03c825a2ca15a932a44958396 | refs/heads/master | 2020-06-22T07:13:40.457556 | 2016-12-01T14:45:30 | 2016-12-01T14:45:30 | 74,751,319 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,628 | cpp | #include "Audio\AudioPlayer.h"
#include "Managers\AudioManager.h"
#include "SharedContext.h"
#include <iostream>
#include <fstream>
#include <sstream>
#include <algorithm>
AudioPlayer::AudioPlayer(const SharedContext& sharedContext)
: m_sharedContext(sharedContext),
m_currentAudioClips(nullptr)
{}
Audi... | [
"noreply@github.com"
] | noreply@github.com |
1fe29e17b5b819e0ef76d3332a6fb8e693a206d5 | d158af22290eed3794493d0a108b783b50fbe562 | /include/xdisplay.h | 5bc1ce78bdc82b37a3baa6c763cc6a8403a77006 | [] | no_license | kozal/dt_xdemo | deac70dfe10a8cc153ad600c7d188774f88b5477 | 625f460c00e92af0ec7252b47a1a5a27604c8196 | refs/heads/master | 2021-01-01T19:41:22.955719 | 2017-08-23T17:56:20 | 2017-08-23T17:56:20 | 98,651,217 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,505 | h | #ifndef XDISPLAY_H
#define XDISPLAY_H
#include "xconfigure.h"
#include "ximage.h"
#include "XDevice.h"
#define XDISPLAY_COLOR_GRAY 0
#define XDISPLAY_COLOR_SIN 1
#define XDISPLAY_COLOR_COS 2
#define XDISPLAY_COLOR_HOT 3
#define XDISPLAY_COLOR_JET 4
class XDDraw;
struct XWindow
{
float gama;
u... | [
"omer.kozal@metu.edu.tr"
] | omer.kozal@metu.edu.tr |
04d8456391725d85880a9d1b3778e2246ae75f09 | d07b896b228b7ff06732c960bd64793af74446a7 | /headers/Bank.h | 881bae7cde3528b326ddb881667b4f2ff4f80faf | [] | no_license | ChristopherOriolt/Bank | 94e44994b46554ae9d11d0a0744d9533e6371d26 | 5582d8c9185a35f7a87d5bfb0dd4005f8c88cff0 | refs/heads/master | 2020-04-24T07:25:00.626579 | 2019-02-22T02:21:19 | 2019-02-22T02:21:19 | 171,798,593 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,507 | h | /////////////////////////////////////
// Data Structures Project 1
// Author: Christopher Oriolt
// 2/20/2019
/////////////////////////////////
#include "Senior.h"
#include "Adult.h"
#include "Student.h"
#include "Account.h"
#include "CheckingAccount.h"
#include "SavingsAccount.h"
#include <vector>
using namespace std... | [
"coriolt21@my.whitworth.edu"
] | coriolt21@my.whitworth.edu |
267ce17161a1c152af3e592f455728a66819364f | 006f035d65012b7c5af15d54716407a276a096a8 | /dependencies/include/cgal/CGAL/Number_types/internal_functions_comparison_root_of_2.h | 22f61afe64910ddce4cb07959b0011aa697e1c5f | [] | no_license | rosecodym/space-boundary-tool | 4ce5b67fd96ec9b66f45aca60e0e69f4f8936e93 | 300db4084cd19b092bdf2e8432da065daeaa7c55 | refs/heads/master | 2020-12-24T06:51:32.828579 | 2016-08-12T16:13:51 | 2016-08-12T16:13:51 | 65,566,229 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,371 | h | // Copyright (c) 2005,2006 INRIA Sophia-Antipolis (France)
// All rights reserved.
//
// This file is part of CGAL (www.cgal.org); 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... | [
"cmrose@lbl.gov"
] | cmrose@lbl.gov |
c7b2cd3dde1cb257c40edf32f2a59902e53cb749 | 9f81d77e028503dcbb6d7d4c0c302391b8fdd50c | /google/cloud/storage/examples/storage_signed_url_v2_samples.cc | 25c5912b5108c7126cb88e0ae9b17d50eab64892 | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | googleapis/google-cloud-cpp | b96a6ee50c972371daa8b8067ddd803de95f54ba | 178d6581b499242c52f9150817d91e6c95b773a5 | refs/heads/main | 2023-08-31T09:30:11.624568 | 2023-08-31T03:29:11 | 2023-08-31T03:29:11 | 111,860,063 | 450 | 351 | Apache-2.0 | 2023-09-14T21:52:02 | 2017-11-24T00:19:31 | C++ | UTF-8 | C++ | false | false | 5,063 | cc | // Copyright 2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writ... | [
"noreply@github.com"
] | noreply@github.com |
4b01bcd8da6d4c7b7b28203d33f75e496f407ec3 | b21b5ff3469f651c688ffc4d534f3f7183718496 | /PhotoStage/widgets/mapview/imagemarker.h | 404c773c67e1ffdf4e581c5c0dbe61c3ab6fed4f | [] | no_license | jaapgeurts/photostage | 8d88de7e9d6fe4a714cf0931284d57356006d9d7 | aabfe1b6fd607fab6b4f52089a2b691cebf274af | refs/heads/master | 2021-01-10T10:26:15.306997 | 2019-02-22T12:38:00 | 2019-02-22T12:38:00 | 43,422,797 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 474 | h | #ifndef MAPVIEW_IMAGEMARKER_H
#define MAPVIEW_IMAGEMARKER_H
#include <QObject>
#include <QImage>
#include "abstractmarker.h"
namespace MapView
{
class ImageMarker : public AbstractMarker
{
public:
ImageMarker(QObject* parent = 0);
ImageMarker(const QImage& img, QObject* parent);
QSize s... | [
"jaapg@gmx.net"
] | jaapg@gmx.net |
35cbefdcc55c48c74b15cbaf5a5d88c7438ef253 | be3c35d27245654e53c47619a485ef3d0e50901d | /C++/CPPDemos/vs code/advanceCPPconcept/advanceCPPconcept/dog.h | a661e11f34712febef6e112449852d8476c3b147 | [] | no_license | zzhan08/Exercises | 9aa6a439e36222806310eef50199250353291c4d | 1be3566206ead9cc329c809c7ad1a2f03c010056 | refs/heads/main | 2023-03-03T05:52:30.539181 | 2021-02-07T20:43:03 | 2021-02-07T20:43:03 | 336,820,822 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 262 | h | #ifndef DOG
#define DOG
#include <string>
#include<iostream>
class dog {
public:
dog(std::string name) { std::cout<< name <<"dog name"<< std::endl; };
//void destroyMe() { delete this; }
private:
~dog() { std::cout << "dog destory" << std::endl; };
};
#endif | [
"zhangz@innopharmalabs.com"
] | zhangz@innopharmalabs.com |
51aab5cc68aee15665db20874abfba1f9e2144d1 | ced00d9419e231b7053d3461039273198238deab | /vongxoaytunhapso.cpp | 1eff1b09d18a2cce8d4efada3acecf401a8161f2 | [] | no_license | Minato1803/My_Bullshit_Code | f9b4e951c4c6c76d023c427e83633b36087767c2 | e44dba88cb2c683674d1e9a21626c53e2fe5cb89 | refs/heads/master | 2021-06-18T14:39:12.114194 | 2021-01-20T11:48:44 | 2021-01-20T11:48:44 | 161,520,184 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,128 | cpp | #include <iostream>
using namespace std;
void vongxoay(int a[],int hang,int cot )
{ int b[hang][cot], h=hang,c=cot;
int vth=0, vtc=0, j=0;
while(vth<=(h-1)/2||vth<=2){
for(int i=vtc; i<c; i++){
b[vth][i]=a[j];
j++;//a[0][0] den a[0][6]
} //chay hang phia tren
for(int i=vth+1; i<h; i++){
... | [
"nguyenduckhai.otaku@gmail.com"
] | nguyenduckhai.otaku@gmail.com |
6e403564bfab9c0620a293af73db11d722a49d2e | f103061f4624bb0e5f724ab06a33c196cb60a816 | /src/Stack.h | cad9f0ccf272a5b95b1496ae20c5c57227fc547a | [] | no_license | undisputed98/C-graf-implementacija | dcb19f2e9456388844595a5476862330d629f855 | 2d8e243b4544007a5295fb548f4cda8adee1f17b | refs/heads/master | 2022-12-09T21:23:22.791386 | 2020-09-10T09:29:11 | 2020-09-10T09:29:11 | 294,321,553 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 256 | h | #ifndef _STACK_H
#define _STACK_H
#include "Vector.h"
class Stack : public Vector<int> {
const unsigned min_resize;
public:
Stack();
Stack(unsigned, unsigned = 5);
Stack(Stack&);
void push(int);
void pop();
int peek() const;
};
#endif // _STACK_H | [
"noreply@github.com"
] | noreply@github.com |
81f0d57dffdeaa504556534ff705d68822defb12 | 14252979305feced12474a6ce9cc7b805777b6a4 | /CMSSW_9_2_13/src/DataFormats/L1Trigger/interface/BxBlock.h | 62a59306dd0ef784e225da5061c6651f01f7228e | [] | no_license | meshoaib/BtaggedJets_Efficiency | ac18305af6440caef26c479ea2f968fe926a69c2 | f004fc3e97eb84b38b5fd7a8ad13693d2a8b1d89 | refs/heads/master | 2021-05-05T04:20:54.016096 | 2018-01-24T08:22:49 | 2018-01-24T08:22:49 | 118,557,382 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,230 | h | #ifndef DataFormats_L1Trigger_BxBlock_h
#define DataFormats_L1Trigger_BxBlock_h
#include <memory>
#include <vector>
#include <cmath>
namespace l1t {
class BxBlockHeader {
public:
BxBlockHeader() : id_(0), totalBx_(0), flags_(0) {};
BxBlockHeader(unsigned int id, unsigned int totalBx, unsign... | [
"Muhammad.Shoaib@cern.ch"
] | Muhammad.Shoaib@cern.ch |
9b89254c1be3dedee01e13f76cb3abaefa38a9fb | 012f0800c635f23d069f0c400768bc58cc1a0574 | /hhvm/hhvm-3.17/third-party/thrift/src/thrift/lib/cpp2/server/Cpp2Worker.h | 7663e7d30306e4fb776e4e1dbef0d533d5b746cd | [
"Apache-2.0",
"Zend-2.0",
"BSD-3-Clause",
"PHP-3.01"
] | permissive | chrispcx/es-hhvm | c127840387ee17789840ea788e308b711d3986a1 | 220fd9627b1b168271112d33747a233a91e8a268 | refs/heads/master | 2021-01-11T18:13:42.713724 | 2017-02-07T02:02:10 | 2017-02-07T02:02:10 | 79,519,670 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,382 | h | /*
* Copyright 2014 Facebook, Inc.
*
* 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... | [
"peiqiang@huawei.com"
] | peiqiang@huawei.com |
802530f7f5b85133af1f469ecaff91adfe7b1fb1 | 1e31ca8eded98e4ec4de4d732710b9b5bdcd531a | /week_5_ParticleDraw/src/Particle.h | 6d372bb0bf34ffa1d62750eb5e3b1fc81634a9c7 | [] | no_license | josephrmoore/moore_algo2013 | 6ac4c8c48faeccd7d76edb5ca1005ab77cb38ce6 | 493e713c7f8ccc236188386ee2b1783dc5440955 | refs/heads/master | 2021-01-23T16:35:57.861000 | 2013-12-13T23:09:06 | 2013-12-13T23:09:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 548 | h | //
// Particle.h
// SingleParticle
//
// Created by Charlie Whitney on 9/23/13.
//
//
#pragma once
#include "ofMain.h"
class Particle {
public:
Particle();
void update();
void draw(float radius, ofColor color);
void setParams( float px, float py, float vx, float vy );
void addForce( ... | [
"josephrmoore@gmail.com"
] | josephrmoore@gmail.com |
e98812c2eae621350c957b3ab5f0bc612f937ac0 | 0c142b680a84756175cad0822289ab65c8242a52 | /LPD8806.cpp | ee0a2cb28dd0527bbdea0b34efe9a9adad8d029a | [] | no_license | LyleH/arduino_lights | 4193302543f670c3cc348875cc1b642ca1fc6521 | 788bd448b976e592f69abe4cb4e5294392e199b4 | refs/heads/master | 2021-06-03T07:04:34.785678 | 2016-09-21T18:08:03 | 2016-09-21T18:08:03 | 68,844,326 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,184 | cpp | #include "LPD8806.h"
#ifdef __AVR_ATtiny85__
// Teensy/Gemma-specific stuff for hardware-assisted SPI @ 2 MHz
#if(F_CPU > 8000000L)
#define SPI_DELAY asm volatile("rjmp .+0"); // Burn 2 cycles
#elif(F_CPU > 4000000L)
#define SPI_DELAY asm volatile("nop"); // Burn 1 cycle
#else
#define SPI_DELAY ... | [
"lyle.henkeman01@gmail.com"
] | lyle.henkeman01@gmail.com |
de89148aa5c3885dbded09991c40fba38770306f | 3e995e5ffbf4b09c1ebdcac087fa2e2ac5d2ce5f | /main.cpp | c64bf254941d8b32e869b897ac92f83f1b32395d | [] | no_license | Feffote/P7E18_Arboles | f73dea82358820396ec7b74dd6b6e360acb78cf4 | a03ddfdd2dbf16435a5a7b78cd1605a039a717b5 | refs/heads/master | 2020-04-03T21:09:54.893939 | 2018-11-02T14:57:47 | 2018-11-02T14:57:47 | 155,565,045 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,217 | cpp | #include <iostream>
//#include<conio.h>
#include<stdlib.h>
#include "main.h"
#include <vector>
using namespace std;
Nodo *arbol = NULL;
int main(){
menu();
//getch();
return 0;
}
//funcion de menu
void menu(){
int dato, opcion, contador=0;
do{
cout<<"\t.:MENU:."<<endl;
cout<<"1. ... | [
"zinnifederico@gmail.com"
] | zinnifederico@gmail.com |
08c2e337822ff1cf0c6da76c47c35780842714e3 | f435486913aa9c997319146fa0b71479d4c09846 | /h/directlightDlg.h | bd2a16b7286a1a2203b9bf2a7b1592d53ce77767 | [] | no_license | SnowyOwl-KHY/3DStudio | a60051e211c88e7e0034ed581437ffe64c8d586f | 3323aa3db689a372d719fea3821628f9ce0fae7e | refs/heads/master | 2020-04-09T05:13:50.200929 | 2015-08-31T18:53:06 | 2015-08-31T18:53:06 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 826 | h | #pragma once
#include "afxwin.h"
// directlightDlg 对话框
class directlightDlg : public CDialog
{
DECLARE_DYNAMIC(directlightDlg)
DirectLight &light;
public:
directlightDlg(DirectLight& l, CWnd* pParent = NULL); // 标准构造函数
virtual ~directlightDlg();
// 对话框数据
enum { IDD = IDD_DIALOG_DIRECTLIGHT };
protected:
vi... | [
"kehycs@foxmail.com"
] | kehycs@foxmail.com |
384b245b1a5b61c64c7b0716d95fe57df9f8d0be | 74e202b00ad51b91ebf7170ad442f9e3c6ad2f47 | /Classes/AuthScene.cpp | 14bbfc713d49352f7d53d5adc212dbc453bf3232 | [
"MIT"
] | permissive | anlianglu/cocos2dx_3x | c0239646c39923e38a3d5999ce3e99478cf41e6d | 6390672493fa204f36bcefebc8839c06da61cb4a | refs/heads/master | 2021-12-29T12:56:50.117531 | 2016-11-30T03:21:38 | 2016-11-30T03:21:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,457 | cpp | //
// AuthScene.cpp
// UmengGame
//
// Created by wangfei on 16/4/6.
//
//
#include "AuthScene.h"
#include "Entrance.h"
#include <iostream>
#include <vector>
#include <map>
#include <string>
#include "Cocos2dx/Common/CCUMSocialSDK.h"
USING_NS_CC;
USING_NS_UM_SOCIAL;
// 环境变量PATH在windows下和linux下的分割符定义
#ifdef _WIN32
... | [
"wf90163@alibaba-inc.com"
] | wf90163@alibaba-inc.com |
a074f7262879f87879b5a9c1b403762f8464c564 | 0e7c1dc20191ac6a0ed00f219fc8ebb609654694 | /DeathEngine/GUI/Button.h | f2c5ac7a71912da923fe2af396cafce29f3f9e2f | [] | no_license | seblef/DeathChase | 99a061773b6541e20ab949451beb575e86d0ea7e | bb24f9adce681f3833c4c6a415c6b3beecd098b1 | refs/heads/master | 2021-08-24T11:57:19.064199 | 2017-12-09T15:57:31 | 2017-12-09T15:57:31 | 113,684,828 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,040 | h |
#ifndef _BUTTON_H_
#define _BUTTON_H_
#include "IEnvironment.h"
#include "IButton.h"
#include "../Dev/MemDebugger.h"
namespace GUI
{
class Button : public IButton
{
public:
Button(IEnvironment *pEnvironment, IElement *pParent, IEventReceiver *pUser,
uint32 dwID, Core::Rect rect, bool bNoCli... | [
"sebast.lefort@gmail.com"
] | sebast.lefort@gmail.com |
6283cab79958f353b9193cfde4cf09707357f21d | 6a721fb3eecf92950e1f6007fb49c399f0b3cb7c | /SDK/PUBG_NewMessageBorderWidget_functions.cpp | 8c797f78e12bc6c65a54c0025b53b6ee74c3fe39 | [] | no_license | handsomeprince/PUBG-SDK-3 | 5474c48041b6fd4e4be975c222f76b6c02df9f31 | 5a922157f770a49c82ae597284d2a7cb60c86515 | refs/heads/master | 2021-04-15T09:46:11.411487 | 2018-02-22T06:13:30 | 2018-02-22T06:13:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,834 | cpp | // PlayerUnknown's Battlegrounds (2.6.23) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "PUBG_NewMessageBorderWidget_parameters.hpp"
namespace Classes
{
//---------------------------------------------------------------------------
//Functions
//---------------------------------------------------------... | [
"number201724@me.com"
] | number201724@me.com |
6ca6c3d860e2425a11f40638661ff3af8bb64700 | a7764174fb0351ea666faa9f3b5dfe304390a011 | /inc/OSD_FontMgr.hxx | 622f450b5bad75b6c1a29c96e3cba9f422ff2f9a | [] | no_license | uel-dataexchange/Opencascade_uel | f7123943e9d8124f4fa67579e3cd3f85cfe52d91 | 06ec93d238d3e3ea2881ff44ba8c21cf870435cd | refs/heads/master | 2022-11-16T07:40:30.837854 | 2020-07-08T01:56:37 | 2020-07-08T01:56:37 | 276,290,778 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,351 | hxx | // This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to
// this header file considered to be the "object code" form of the original source.
#ifndef _OSD_FontMgr_HeaderFile
#define _OSD_... | [
"shoka.sho2@excel.co.jp"
] | shoka.sho2@excel.co.jp |
b54ad031f023bce744f0fd657b6284eb763ca6ab | 493ac26ce835200f4844e78d8319156eae5b21f4 | /flow_simulation/ideal_flow/processor3/0.74/nut | e0825757aa6e833589042bf2308f88d9de66cbfd | [] | no_license | mohan-padmanabha/worm_project | 46f65090b06a2659a49b77cbde3844410c978954 | 7a39f9384034e381d5f71191122457a740de3ff0 | refs/heads/master | 2022-12-14T14:41:21.237400 | 2020-08-21T13:33:10 | 2020-08-21T13:33:10 | 289,277,792 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,814 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1912 |
... | [
"mohan.2611@gmail.com"
] | mohan.2611@gmail.com | |
90183ab7690fab869dab6725eff6cf1b7c40b14b | 64e4fabf9b43b6b02b14b9df7e1751732b30ad38 | /src/chromium/services/network/public/cpp/url_request_mojom_traits.h | f71832d291c6f053af02c93848dab294b0bb1f96 | [
"BSD-3-Clause"
] | permissive | ivan-kits/skia-opengl-emscripten | 8a5ee0eab0214c84df3cd7eef37c8ba54acb045e | 79573e1ee794061bdcfd88cacdb75243eff5f6f0 | refs/heads/master | 2023-02-03T16:39:20.556706 | 2020-12-25T14:00:49 | 2020-12-25T14:00:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,895 | 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 SERVICES_NETWORK_PUBLIC_CPP_URL_REQUEST_MOJOM_TRAITS_H_
#define SERVICES_NETWORK_PUBLIC_CPP_URL_REQUEST_MOJOM_TRAITS_H_
#include <string>
#includ... | [
"trofimov_d_a@magnit.ru"
] | trofimov_d_a@magnit.ru |
01f2accbf3a5deff450bdeb0bdf4ab22da3db29e | 44293e98bd059b47a9bb79ede3402c6ffa471416 | /RemoveDuplicatesFromSortedList/RemoveDuplicatesFromSortedList.cpp | 0761480141205558e3af0e22c6a3712c0bdb8d7b | [] | no_license | ishaofeng/LeetCode | 17a30885286a2e93da53493bd07fc87c5cd505fb | eaf2e67343e3d913eb1a9b833e300b73baa407c6 | refs/heads/master | 2016-09-05T08:56:40.120656 | 2014-11-27T00:24:49 | 2014-11-27T00:24:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,795 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
struct ListNode
{
int val;
ListNode *next;
ListNode(int x) : val(x), next(NULL) {}
};
class Solution
{
public:
ListNode *deleteDuplicates(ListNode *head)
{
if (head == NULL || head->next == NULL)
{
... | [
"ishaofeng@foxmail.com"
] | ishaofeng@foxmail.com |
a551659c8548d521bb5aca315f37dff820e35f3f | e2e993e83a4b766813f0f2d79acdfdd3680dafd5 | /CardGame2/CardGame2.cpp | b8a6b89840a13999a65746c2271132f87eb0135c | [] | no_license | jaconstantin/CardGames | ef97e1153fa0f47260b49b77ec4eeea1931a7472 | 6a9c527a7779b74fcefcbb75d8525c440ef2d95e | refs/heads/master | 2021-01-13T10:46:57.762438 | 2016-11-15T01:00:23 | 2016-11-15T01:00:23 | 72,382,690 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,140 | cpp | // CardGame2.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include "card.h"
int main()
{
CardDeck *deck0 = new CardDeck();
deck0->show();
deck0->shuffle();
deck0->show();
cout << endl << endl << endl;
OneCard a(deck0->draw());
cout << a.getHandString() << " " << a.g... | [
"oteph113@gmail.com"
] | oteph113@gmail.com |
0c62a6cae0f9a506e4cad4a9d9f60f7b21887e60 | bf77f38c1d42ce97902bd5dc0e498d7d89ab4705 | /byalib/graph/二分木の最小共通祖先-LCA.cpp | 6bcf40d21e43fb3baeab95b278a8ea0b5b5bf6a7 | [] | no_license | byam/algorithms | 6c570c8d00ad5457346d6851f634d962b2ef744e | f3db7230655c945412774505254e2be4cbf23074 | refs/heads/master | 2022-05-12T16:24:39.831337 | 2022-04-08T13:59:07 | 2022-04-08T13:59:07 | 68,830,972 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,040 | cpp | #include <bits/stdc++.h>
using namespace std;
/* LCA(G, root): Lowest Common Ancestor を求める構造体
- 木 G に対する
- 根を root とする
計算時間
- 前処理:𝑂(𝑁log𝐾) 時間, 𝑂(𝑁log𝐾) 空間
- クエリ:𝑂(log𝐾)
I/F
- int query(int u, int v): LCA を返す
- get_dist(int u, int v): LCA で 任意の2頂点間の距離が分かる
- is_on_path(int u... | [
"bya_ganbaatar@r.recruit.co.jp"
] | bya_ganbaatar@r.recruit.co.jp |
0e874444195f88d1432616c21cdd2cbe277ccb3e | a6b87253faeace0c4e1aa9400d0dd1e80ee4c1bd | /Project 260/VehicleCompDisplaySrc/searchWindow.h | bdb31b182b19404189ad886e7e7e8df090138996 | [] | no_license | poliu2s/CPSC-260 | 972b4140dacdc2720f4260c35295e072b66449c5 | a60ecd8f50cd25f95faf62e4a95c2fc61a433abf | refs/heads/master | 2021-01-10T19:03:48.024948 | 2012-12-27T22:23:42 | 2012-12-27T22:23:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,722 | h | #pragma once
// Author: Po Liu, 13623079, x2f7
// Date: 28 July 2010
// Class invariant:
// A user defined window class that displays the main GUI functionality by visually displaying
// the char matrix and allows the user to input words to find
#include <iostream>
#include <string>
#include <sstream>
#include "Simp... | [
"po.liu.2s@gmail.com"
] | po.liu.2s@gmail.com |
8b8d818bd9ed4f80e62ae6ed2cbb2a4cfea70eb2 | d732c881b57ef5e3c8f8d105b2f2e09b86bcc3fe | /src/module-ml/VType_Conv2d.cpp | 46671d36358badfeb93c31ea014748f302836d62 | [] | no_license | gura-lang/gurax | 9180861394848fd0be1f8e60322b65a92c4c604d | d9fedbc6e10f38af62c53c1bb8a4734118d14ce4 | refs/heads/master | 2023-09-01T09:15:36.548730 | 2023-09-01T08:49:33 | 2023-09-01T08:49:33 | 160,017,455 | 10 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,385 | cpp | //==============================================================================
// VType_Conv2d.cpp
//==============================================================================
#include "stdafx.h"
Gurax_BeginModuleScope(ml)
//------------------------------------------------------------------------------
// Help
... | [
"ypsitau@nifty.com"
] | ypsitau@nifty.com |
4cc6df30c141352dc972f1f2f0f39d44d060175a | 92b377f464f61ed81afdcd89fa481d05c98f75e1 | /src/timer.cpp | 9b8c2df552a1fb24a527ed64a12e83a7ac75c5c1 | [
"MIT"
] | permissive | crockeo/hc | d87507ade5be85b1041bd42f25c9c1c0ab5ae57b | a5f9eaa1051e8825fa765d120d8ea76682909a5a | refs/heads/master | 2020-05-18T07:24:52.109471 | 2015-01-08T16:23:39 | 2015-01-08T16:23:39 | 28,546,458 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,065 | cpp | #include "timer.hpp"
//////////////
// Includes //
#include "delta.hpp"
//////////
// Code //
// Constructing a timer with a cap.
Timer::Timer(float cap) {
this->running = false;
this->accum = 0;
this->cap = cap;
}
// Constructing a default timer.
Timer::Timer() {
this->running = false;
this->ac... | [
"crockeo@gmail.com"
] | crockeo@gmail.com |
a94483da4c546adcb7b01e8aa2f0fa28b0526803 | 83705af196092b503a108cdaf4c622f436a3a853 | /Data Structure/ar_insert_deletion.cpp | 171985395c379264429faa71bbcc3fff4c306db9 | [] | no_license | Born0/Academic-Code-Practice-AIUB- | 01a806e83bd305f05befcafdc2023e53d30e8e75 | 8cab3d71c8704f7626c51a53dc94bf44171a4faa | refs/heads/master | 2023-02-14T23:19:23.450973 | 2021-01-02T07:36:41 | 2021-01-02T07:36:41 | 304,325,657 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,246 | cpp | #include <iostream>
void insert(int arr[],int count,int newPosition,int newValue){
int i;
for (i=count-1; i>=newPosition; i--) {
arr[i+1]=arr[i];
}
arr[newPosition]=newValue;
count++;
std::cout << "After insert" << '\n';
for ( i = 0; i < count; i++) {
std::cout<< arr[i]<<'\n';
}
}
void deleteAny(int ar... | [
"40140598+Born0@users.noreply.github.com"
] | 40140598+Born0@users.noreply.github.com |
1e97963aa03e5d766e3c2e1cd1033da32f2556bf | d3fcfbaa0e200f49cefe4b77388292402e428eb3 | /Toph/Little Subarray Sum.cpp | cac1da8cf9d7311cac0732721a15f616ead334fa | [] | no_license | edge555/Online-Judge-Solves | c3136b19dc2243e9676b57132d4162c554acaefb | 452a85ea69d89a3691a04b5dfb7d95d1996b736d | refs/heads/master | 2023-08-22T03:23:11.263266 | 2023-08-21T07:22:33 | 2023-08-21T07:22:33 | 145,904,907 | 14 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,407 | cpp | #include <bits/stdc++.h>
#define FAST ios_base::sync_with_stdio(false); cin.tie(NULL)
#define pf printf
#define sc scanf
#define sf(num) scanf("%d",&num)
#define sff(num1,num2) scanf("%d %d",&num1,&num2)
#define sfff(num1,num2,num3) scanf("%d %d %d",&num1,&num2,&num3);
#define sl(num) scanf("%lld",&num)
#defi... | [
"noreply@github.com"
] | noreply@github.com |
7ac89d5649de43aa3b7d2d337b93a0925c83c6e2 | 2bdc300448862f0703cea9b26e314524b5e3f526 | /youme_voice_engine/thirdparties/common/src/Ne10/modules/math/NE10_len.cpp | 6f449b5c6e70af6cec946211064c49cfe941f1c1 | [
"BSD-3-Clause"
] | permissive | gavinlwz/AVSDK2 | 217f233539071ccb241a8178dc502026fa52475b | 848a087191e21ecd5e918f3e5334847fbf7bfd7d | refs/heads/master | 2022-12-28T03:55:22.995809 | 2020-10-12T09:57:38 | 2020-10-12T09:57:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,765 | cpp | /*
* Copyright 2011-15 ARM Limited and Contributors.
* 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
* ... | [
"shuhuan_bruce@icloud.com"
] | shuhuan_bruce@icloud.com |
2aede90569ac02da64f8295f674cf1d77d9b9546 | 819c616c3090c8a13a0e7f1a73fe10ed31f91623 | /src/asmjit/base/podlist.h | 899e0b921f459b82ab20d5a10c3f54eb0cba1f26 | [
"Zlib"
] | permissive | xsacha/asmjit | a592b58282ef8c4c66416b733883e67ec44de901 | a66efd54609aab7dd98e34c069937f34aa7c8f95 | refs/heads/master | 2021-01-18T04:42:40.145243 | 2014-06-07T19:57:07 | 2014-06-07T19:57:07 | 21,663,740 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,038 | h | // [AsmJit]
// Complete x86/x64 JIT and Remote Assembler for C++.
//
// [License]
// Zlib - See LICENSE.md file in the package.
// [Guard]
#ifndef _ASMJIT_BASE_PODLIST_H
#define _ASMJIT_BASE_PODLIST_H
// [Dependencies - AsmJit]
#include "../base/globals.h"
// [Api-Begin]
#include "../apibegin.h"
namespace asmjit {
... | [
"kobalicek.petr@gmail.com"
] | kobalicek.petr@gmail.com |
22231f9711f49b619a863ee5adb6e3229780277a | a411425c7ce87cdd7bd22506d7d2cf8acf42a58f | /src/integration_testing/src/pkb_pql/evaluator_suchthat_clauses/TestUsesEval.cpp | 1bcc9a418b4e92328d97c7af5562a5c3691d0b60 | [] | no_license | anqichen9856/static-program-analyzer | a3b9e3f21e5c4ce1db0c0817dad397f6398cc5b7 | ee4d9af1cc0ca603e2ecfffffc406f56dd5c49f9 | refs/heads/master | 2023-06-17T08:51:50.628830 | 2021-07-22T06:55:30 | 2021-07-22T06:55:30 | 388,353,777 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,674 | cpp | #include <vector>
#include "catch.hpp"
#include "front_end/tokenizer/Tokenizer.h"
#include "front_end/parser/Parser.h"
#include "query_processor/Query.h"
#include "utils/SPAEnums.h"
#include "clauses/UsesClause.h"
#include "query_processor/query_evaluator/QueryEvaluator.h"
#include "program_knowledge_base/pkb_storage/P... | [
"chenanqi9856@gmail.com"
] | chenanqi9856@gmail.com |
f5c23cd5ccc168451bf65fea9339cb16f2a9254f | 50d7fe59e0f7d89beef42d3ad3fe308f870ce60f | /add.cpp | 42e24b3354a0a1a6f0b6b3209a4ca76d662310ee | [] | no_license | rongrongdafa/BasicCompilerExercise | 69191f0b732e642d1d5bd6f75a7f8e410fe03068 | 8b282c595f28eeca51b7170f31abdb616981ab03 | refs/heads/master | 2021-09-11T08:27:03.886808 | 2018-04-06T11:19:07 | 2018-04-06T11:19:07 | 115,910,842 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 101 | cpp | #include "add.h"
C1::C1(int d)
{
c=d;
}
C1::~C1()
{
}
int C1::getabc()
{
return a+b+c;
}
| [
"rongrongdafa@outloo.com"
] | rongrongdafa@outloo.com |
99e83344a58a4aca148bbc6338208366566978f7 | fd181dec682dc4a9de629f943cc61054cae003ca | /cpp06/ex01/main.cpp | bd12fc8f2b29437445e95f74d3b3d69e643eed4e | [] | no_license | guysharony/cpp | fa941e077ebad6a1d763b246f30775b482815e5d | a5a3f8a5ab72dbcad8b300cb01ee06b2f82c09a8 | refs/heads/master | 2023-02-03T09:30:13.719536 | 2020-12-18T08:15:10 | 2020-12-18T08:15:10 | 304,234,394 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,236 | cpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* main.cpp :+: :+: :+: ... | [
"sharonyguy@gmail.com"
] | sharonyguy@gmail.com |
e67de3627a3b4812d90c1e8c9686c79431c8ac00 | 21c3202b44ed91bfe46adbecf4692ab3e0252a2e | /Project2_Baseball_sprint3/tripplannerwindow.cpp | b68de0871d4a91533b975182a0d9042968553f5c | [] | no_license | afrederick89/Projects | 3c2d7cbbd8973fc808c9cb371f23ca9929995ff3 | 7798e8ee07e836131a99e9022e527a0750a8f877 | refs/heads/master | 2022-03-10T17:25:50.913005 | 2019-11-02T00:44:02 | 2019-11-02T00:44:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 25,881 | cpp | #include "tripplannerwindow.h"
#include "ui_tripplannerwindow.h"
#include <QAbstractItemView>
#include <QMessageBox>
#include "draggablelistmodel.h"
#include <QQueue>
#include "mainmenu.h"
#include <QRegExp>
TripPlannerWindow::TripPlannerWindow(QWidget *parent) :
QWidget(parent),
ui(new Ui::TripPlannerWindow)
... | [
"flocka89@users.noreply.github.com"
] | flocka89@users.noreply.github.com |
93f99f9fc43fd7ff4d5bc79947d90cf765861e67 | 172e4895181dca01903565564bfe13679dadc38f | /src/application/repository/ClientRepository.cpp | 67469be05c34ea13d3c1d81a4c599b4f512cf357 | [] | no_license | Brunomcarvalho89/RentCar | f39e552622801e122d90e4f63afadaa483afef92 | 2299d2fc8ea8dbda13be436507d97f781de0b56f | refs/heads/main | 2023-03-23T08:13:41.351309 | 2021-03-05T00:43:15 | 2021-03-05T00:43:15 | 344,620,069 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 695 | cpp | /*
* File: CarClassificationRepository.cpp
* Author: brunomcarvalho89@gmail.com
*
* Created on 19 de fevereiro de 2021, 14:11
*/
#include <algorithm>
#include <vector>
#include "application/repository/ClientRepository.hpp"
#include "domain/Client.hpp"
ClientRepository::ClientRepository() {
}
ClientRepositor... | [
"brunomcarvalho89@gmail.com"
] | brunomcarvalho89@gmail.com |
a8e53491762ff7cbf95a61e80cb4e04d9f44695f | 57d1d62e1a10282e8d4faa42e937c486102ebf04 | /judges/codeforces/done/377b.cpp | a2d74a0c33acf4285d53788106d43866b69b7f8b | [] | no_license | diegoximenes/icpc | 91a32a599824241247a8cc57a2618563f433d6ea | 8c7ee69cc4a1f3514dddc0e7ae37e9fba0be8401 | refs/heads/master | 2022-10-12T11:47:10.706794 | 2022-09-24T04:03:31 | 2022-09-24T04:03:31 | 178,573,955 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,653 | cpp | #include<cstdio>
#include<cstring>
#include<set>
#include<algorithm>
using namespace std;
#define mp make_pair
#define INF (int) 1e9 + 100000
#define MAX 100010
int main()
{
bool can = 0;
int n, m, s, localOut[MAX], out[MAX];
pair<int, int> bug[MAX];
pair<pair<int, int>, int> student[MAX];
scanf("%d %d %d", &n,... | [
"dxmendes1@gmail.com"
] | dxmendes1@gmail.com |
acf10a90d2d5eadc89d7448b9b57324f7beac592 | 81d46ffe3d0489af96ef47e9ad253073ccfc0751 | /juce_patches/src/patches.cpp | bb688ee8a9c1be10af61573286c615011cff0339 | [] | no_license | jzrake/patches | fdadee9468fe1f843026db8d5c231cf5938f37df | 73110e5a797e816b2b3d79d1990b2bf4b50c5374 | refs/heads/master | 2020-04-10T11:02:53.075157 | 2019-02-05T21:54:30 | 2019-02-05T21:54:30 | 160,982,366 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,629 | cpp | #include <ostream>
#include <vector>
#include <map>
#include "patches.hpp"
using namespace patches2d;
// ============================================================================
std::string patches2d::to_string(MeshLocation location)
{
switch (location)
{
case MeshLocation::vert: return "vert";... | [
"jonathan.zrake@gmail.com"
] | jonathan.zrake@gmail.com |
c920249bb24d45df93f0535776be6cc3c0cd678a | b0add032985c446093c20b0f00b57452a1b215b5 | /ReVA_AI/src/TP2/compute_histogram.cpp | f2d95e69dd6e3d0231dc25e10f1fa4c6b610f5be | [] | no_license | Alzahra/Tp_Analyse-Image | 95efdc01515a38553b44b13bb6f5f1e5b1548d12 | 685a220dc0a6f1d5756d1f62bf09c9da47d1a0b1 | refs/heads/master | 2020-04-01T09:27:09.816450 | 2018-10-15T08:07:22 | 2018-10-15T08:07:22 | 153,075,527 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,615 | cpp | #include "compute_histogram.h"
using namespace cv;
using namespace std;
/*contient les fonctions permettant
- de calculer
- d’afficher
l’histogramme d’une image en niveaux de gris*/
//void Compute_Histogram::setImage(Mat prec)
//{
// cout<<"setImage"<<endl;
// image =prec;
//
// cout<<"fin setImage"<<end... | [
"h13003041@l-024110a018-20.local"
] | h13003041@l-024110a018-20.local |
0f44c29cca394bddd03be38cf04bbd3e900721ec | 714cddadf394f61585afb527e5f389a4c8499c15 | /include/DPLalphadecay.hh | 88876ec435489501d6f417de52e9d29bff3a6596 | [] | no_license | alourei/ProtonDetector2 | 6da88b327f3e040a341f4a9b0f20a7de136aa622 | 69eec1396a779edb5245f8db587eda982dcc1d05 | refs/heads/main | 2023-02-05T18:53:31.743943 | 2020-12-14T21:21:51 | 2020-12-14T21:21:51 | 321,473,261 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,422 | hh | /*
* DPL1pdecay.hh
*
* Created on: Feb 19, 2014
* Author: perezlou
*/
#ifndef DPLALPHADECAY_HH_
#define DPLALPHADECAY_HH_
#include <G4VDiscreteProcess.hh>
#include "globals.hh"
#include "G4ios.hh"
#include "Randomize.hh"
#include "G4Track.hh"
#include "G4Step.hh"
#include "G4ParticleTypes.hh"
#include "G4... | [
"david.perez.loureiro@gmail.com"
] | david.perez.loureiro@gmail.com |
3f70dd8dcc8ff9e361357bf9788212f8362f2e8b | 71fd72ac2c13e813ddd89c128578f5bfae406044 | /SharedUtility/MyD3D/MyD3DDynamicFontRects.cpp | 77c9a4c02f10dd8eb1a20005631f391512e01bc1 | [
"MIT"
] | permissive | sygh-JP/FbxModelViewer | 26254c8499a4c6c8004bd91e0adefb0a34b14a24 | 9d48415323a968d69fadb6fe1812a8093ab41701 | refs/heads/master | 2023-07-06T04:34:41.924119 | 2023-06-29T17:41:16 | 2023-06-29T17:41:16 | 60,464,890 | 14 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 6,994 | cpp | #include "stdafx.h"
#include "MyD3DDynamicFontRects.hpp"
#include "DebugNew.h"
namespace MyD3D
{
bool MyDynamicManyRectsBase::Create(ID3D11Device* pD3DDevice, UINT rectCount, UINT strideInBytes, const void* pInitialData)
{
_ASSERTE(m_pVertexBuffer == nullptr);
_ASSERTE(m_pIndexBuffer == nullptr);... | [
"whitekatyusha@yahoo.co.jp"
] | whitekatyusha@yahoo.co.jp |
5fc551b5ac295f01c143bf171cb387421af5de74 | a4021ebc8dedab84c267301f25a04c82a5225827 | /Robot_2D_navigation/src/send_goal.cpp | 24a3a6f6e122d8f60e9eadf80d295a3ba4da91ce | [] | no_license | Ramune6110/ROS-navigation-wiki | e661c31b2290ba28a4071a5ec7c10d2e0114dad8 | 802363854148e90e921ef3a63c9e23683d9ee2c5 | refs/heads/master | 2022-11-22T06:10:15.585033 | 2020-07-22T11:23:01 | 2020-07-22T11:23:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,540 | cpp | #include <ros/ros.h>
#include <move_base_msgs/MoveBaseAction.h>
#include <actionlib/client/simple_action_client.h>
#include <tf/transform_broadcaster.h>
// アクションクライアントの型
typedef actionlib::SimpleActionClient<move_base_msgs::MoveBaseAction> MoveBaseClient;
int main(int argc, char** argv)
{
// ノード名の初期化
ros::ini... | [
"arduino6110@gmail.com"
] | arduino6110@gmail.com |
cde575af2c609b94c8830c4d8c92042fcd39bb08 | 152060017bbdfffa89b3fec361e53cb1b22a8b0e | /algorithms/Greatest Common Divisor.cpp | 2280c3c90e2c40e2dfe9934f9dc823b5622cd7a6 | [] | no_license | Mohammad-Yasfo/ACM_Problems | ea2d2f0ddcde2e9fea27cc1288d066b6ed155ca1 | 81f5bd39d53237f4d89df8ee65cf5241eb1f6c59 | refs/heads/master | 2021-05-12T11:00:49.913083 | 2018-01-13T18:21:27 | 2018-01-13T18:21:27 | 117,373,760 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 264 | cpp | long gcd(long p, long q, long *x, long *y)
{
long x1,y1; /* previous coefficients*/
long g; /* value of gcd(p,q) */
if (q > p) return(gcd(q,p,y,x));
if (q == 0) {
*x=1;
*y=0;
return(p);
}
g = gcd(q, p%q, &x1, &y1);
*x = y1;
*y = (x1 - floor(p/q)*y1);
return(g);
} | [
"mohammad.yasfo@gmail.com"
] | mohammad.yasfo@gmail.com |
0551d10cb1609ecf39c8042925de9f5d92207f77 | 9fcabf72c99fff2b51334dd1bce0d993de0b2d96 | /Lesson01/Chapter02/GetWords.cpp | 45460680ad88965d72f2c373d3080e6af587596a | [] | no_license | tuturuam/TICPP | d5f13c69f3aa6082fc0a4334974eb38d69ba4163 | fc8924091103cc259c115e0e2129ae304bbff50f | refs/heads/master | 2021-05-09T02:45:46.073690 | 2018-01-28T04:38:22 | 2018-01-28T04:38:22 | 119,219,986 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 133 | cpp | #include <iostream>
#include <fstream>
using namespace std;
int main() {
cout << "There are three word word word words" << endl;
}
| [
"aizadmoh@gmail.com"
] | aizadmoh@gmail.com |
7748bbc9916432d6b16e963010e7b5744815927b | 91ba0c0c42b3fcdbc2a7778e4a4684ab1942714b | /Cpp/SDK/bp_fire_bin_a_parameters.h | 014c48b3081e180f92cde85a5688de5638a1054d | [] | no_license | zH4x/SoT-SDK-2.1.1 | 0f8c1ec3ad8821de82df3f75a0356642b581b8c6 | 35144dfc629aeddf96c1741e9e27e5113a2b1bb3 | refs/heads/main | 2023-05-12T09:03:32.050860 | 2021-06-05T01:54:15 | 2021-06-05T01:54:15 | 373,997,263 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 932 | h | #pragma once
// Name: SoT, Version: 2.1.1
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Parameters
//-----------------------------------------------------------... | [
"Massimo.linker@gmail.com"
] | Massimo.linker@gmail.com |
09266214731f43a03844b0a98435c4bbfd57cf8d | b6ac6366b207e812b6e608b796633251d901c42e | /primer parcial/a3p2.cpp | 0288f5f50926bac3eeeb4e74975d0af768b129f3 | [] | no_license | tenapato/estructuraDeDatos | ae77925a5563ce7a6fa981b1bb6e92a0118f41a0 | cf06a8f12c0e34a3a44fdb1d91b2ebcdedf47ebb | refs/heads/master | 2021-03-06T09:01:01.580090 | 2020-07-13T05:29:20 | 2020-07-13T05:29:20 | 246,192,468 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,567 | cpp | #include <iostream>
using namespace std;
class Estudiante{
public:
string nombre;
string matricula;
int size = materias;
//int *a = 0;
void crearHorario(int materias){
horario=new int[materias]();
cout<<"Registrado! El numero de materias a llevar el alumno: "<<nombre<< ... | [
"tenapatricio@gmail.com"
] | tenapatricio@gmail.com |
b410efbe4181130e5a3eeb6cb6c51c8134b06e79 | 90baf5e84e934b2f979313292790d3b45534a9d9 | /Triangle.cpp | 0c6827e3d1f6cbae4ab17559e322b8d66e24d9f3 | [] | no_license | Falki94/Cpp | bad8cec455559c04fb4e502adcab3d1d7481294c | a636fa0e42dd33e0af4756164a9ec6621412f4a0 | refs/heads/master | 2020-05-05T11:25:23.026390 | 2019-04-07T16:03:13 | 2019-04-07T16:03:13 | 179,988,798 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,732 | cpp | #include <iostream>
#include <windows.h>
#include <conio.h>
#include <string>
#define COLUMNS 120 // maksymalna liczba kolumn
#define ROWS 30 // maksymalna liczba wierszy`
using namespace std;
void triangle(int h, int w, char znak, int x, int y); // podstawowa funkcja rysujaca trojkat
void clear(); //cz... | [
"noreply@github.com"
] | noreply@github.com |
8557c2b2dc5967a03f1b62dee216ffb266d6fa2f | ea3f27b607f017e6a975ddfa63c9d1eaa649c7ea | /CodeForce/1690/E.cpp | 130b22930e69fb21aabf0f56bd159a90a9438128 | [] | no_license | Igorjan94/CF | fbbda0037a866ebab33efe2db49b67302e420c37 | 816648a3a8e310e790e43b9c62a56ae6cc273844 | refs/heads/master | 2023-08-08T19:13:14.785199 | 2023-08-08T18:44:22 | 2023-08-08T18:44:22 | 19,123,715 | 0 | 0 | null | 2021-01-09T02:10:45 | 2014-04-24T20:52:42 | C++ | UTF-8 | C++ | false | false | 2,742 | cpp | // Igorjan94, template version from 13 October 2017. C++17 version, modified 18 march 2020 (writeln<tuple>, whole->all) {{{
#include <bits/stdc++.h>
#ifdef ONLINE_JUDGE
#pragma GCC target("avx2,bmi,bmi2,lzcnt,popcnt")
#endif
using namespace std;
#define FOR(i, m, n) for (int i = m; i < (int) (n); ++i)
#define ROF(i,... | [
"igorjan94@mail.ru"
] | igorjan94@mail.ru |
d7f9b5060160f7298916246b4c8f8848c6e849e2 | 34ee28cb914306377446bd8f6dd4d8daf5102665 | /Satisfiability/Transformers/Generators/Random/DQClauseSets.hpp | 9fc4797301f872cd530438fe4e46fcbb6377e54d | [] | no_license | aileatese/oklibrary | d1abba9633bf83f5ab377bf5798af3d5055d70b7 | f82654c4e1a0cb9ab89dc1a7fbf0f3dd2fb255d5 | refs/heads/master | 2022-11-29T14:43:39.500266 | 2020-08-06T12:40:20 | 2020-08-06T12:40:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 31,797 | hpp | // Oliver Kullmann, 17.7.2019 (Swansea)
/* Copyright 2019, 2020 Oliver Kullmann
This file is part of the OKlibrary. OKlibrary 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 and included in this library; either ver... | [
"O.Kullmann@Swansea.ac.uk"
] | O.Kullmann@Swansea.ac.uk |
64be15e47d40387e09de9650be20835e4f1e13d3 | 9eed7a6024e07a41bbdfc993c385810d38485b71 | /TDT_RigDev_2011-08/CP_LibertyTrack/Versions/V0.00_2007-07-23/LibertyTrackGlob.cpp | 1d5199dc341334e961cb31b99584a09d2b8c7bb8 | [] | no_license | tlh24/sabes-exp-ctrl | 8ecb15da1cc6a0353940899c7371228fdb458cae | 13b41ce80dec2502df13e9b1058fc9e05333d0d4 | refs/heads/master | 2020-07-29T05:38:02.420206 | 2015-02-25T07:45:16 | 2015-02-25T07:45:16 | 4,756,642 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,330 | cpp | #include <windows.h>
#include "RegisterCom.h"
#include "ClassFactory.h"
#include "CP_LibertyTrackCom.h"
#include "LibertyTrack.h"
#include "LibertyTrackGlob.h"
IClassFactory *x_pIFactory;
DWORD x_dwRegister;
HWND g_hWnd;
// Here we define functions that MainDialog should know about
// to use ... | [
"sideskate@gmail.com"
] | sideskate@gmail.com |
b393da1149d2abefb1aaee2e623e419ddd347a48 | 6433dd2d101492c20ab2f6088835fdb895bce6d4 | /Classes/PlaySE.cpp | 6f4c25a74c177af7105d8d500bc79ac422739d44 | [] | no_license | UenoTAKAFUMI/Cocos2dx_practice_chapter01 | eea3366b0c448841230dec7d6064e8d952123a21 | 878076a635c9feb9a331ba401a2ed46b73c44a2a | refs/heads/master | 2021-01-10T20:21:44.229815 | 2014-07-09T00:44:47 | 2014-07-09T00:44:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,341 | cpp | //
// PlaySE.cpp
// Nyangame
//
// Created by P on 2014/07/05.
//
//
#include "PlaySE.h"
#include "SimpleAudioEngine.h"
using namespace cocos2d;
using namespace CocosDenshion;
CCPlaySE::CCPlaySE(std::string sound)
{
m_sound = sound;
}
CCPlaySE* CCPlaySE::create(std::string sound)
{
CCPlaySE* pRet = new C... | [
"git.email.ueno@gmail.com"
] | git.email.ueno@gmail.com |
60d97aef8b1e9c4d8c10b1b568d65b6f6a1bb551 | 4352b5c9e6719d762e6a80e7a7799630d819bca3 | /tutorials/eulerVortex.twitch/eulerVortex.cyclic.twitch.test.test/3.96/e | 09a373417267d4987160d5269ebe6360765d348f | [] | no_license | dashqua/epicProject | d6214b57c545110d08ad053e68bc095f1d4dc725 | 54afca50a61c20c541ef43e3d96408ef72f0bcbc | refs/heads/master | 2022-02-28T17:20:20.291864 | 2019-10-28T13:33:16 | 2019-10-28T13:33:16 | 184,294,390 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 179,767 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*-------... | [
"tdg@debian"
] | tdg@debian | |
adac6143062cc39e20b00985884d22a76f70328a | b32d9ecf17fc0c5096a8c0cf04a1a9f495211f7e | /793.cpp | 33d2d424aa54def1312d03e41950bbf8790e6058 | [] | no_license | UQuality/UVA | 08aca147953bdac08a9197ab2aeb246f7fd364c3 | 2f38241aa05d287cebfc534a965cb65626ac8ab2 | refs/heads/master | 2021-06-19T07:55:33.071014 | 2017-07-09T18:00:27 | 2017-07-09T18:00:27 | 83,677,198 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,304 | cpp | #include<bits/stdc++.h>
#define rep(i,n) for(int i = 0; i<n; i++)
using namespace std;
typedef vector<int> vi;
class DisjointSet
{
private :
vi parent,ran;
public :
DisjointSet(int n){
ran.assign(n,0);
parent.resize(n);
rep(i,n) parent[i] = i;
}
int findSet(int i) { return ... | [
"lutz.mage@gmail.com"
] | lutz.mage@gmail.com |
4b9ced68e07824a426a0b9873c169e892d696024 | ac1c9fbc1f1019efb19d0a8f3a088e8889f1e83c | /out/release/gen/services/network/public/mojom/fetch_api.mojom.h | ef4d53e6b1840eaefea5dec9a95b76e6eba69684 | [
"BSD-3-Clause"
] | permissive | xueqiya/chromium_src | 5d20b4d3a2a0251c063a7fb9952195cda6d29e34 | d4aa7a8f0e07cfaa448fcad8c12b29242a615103 | refs/heads/main | 2022-07-30T03:15:14.818330 | 2021-01-16T16:47:22 | 2021-01-16T16:47:22 | 330,115,551 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,371 | h | // services/network/public/mojom/fetch_api.mojom.h is auto generated by mojom_bindings_generator.py, do not edit
// 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.
#ifndef SERVICES_NETWORK_PUBLIC_MOJOM_FE... | [
"xueqi@zjmedia.net"
] | xueqi@zjmedia.net |
05a37fa7ad026ff0456327e80ba48d8bf6eb006b | 65ec68d841e158de3376657fa843db0cb152c142 | /condition.cpp | 62a5bfc2c6c3f17315e1b7c1eacca70f242a206b | [] | no_license | iversongit/20160302 | d4fd2c037f5271884fda59a16ee49996683fa66a | e90b2bee341a9a31cf7070d6188eebbec78b83eb | refs/heads/master | 2021-01-10T10:27:24.928524 | 2016-03-03T06:44:44 | 2016-03-03T06:44:44 | 52,935,851 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,016 | cpp | ///
/// @file homework4_condition.cpp
/// @iverson (1564329410@qq.com)
/// @date 2016-02-29 05:18:03
///
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <pthread.h>
#include <iostream>
using std::cout;
using std::endl;
class Mutexlock{ //互斥锁类
public:
Mutexlock();
~... | [
"1564329410@qq.com"
] | 1564329410@qq.com |
b70f7e2229a7fa9e1c630d587ee8a298e9670a45 | 3d1c29b2001a05e0c960f9eb7adb5535572e4dfe | /MainDialog.cpp | b4169a056c68dfc451a04425a8066bca3f6a460e | [] | no_license | lorenzostefanopiscioli/TaskScheduler | e64b3ab4319cfe7fb6ec2f773826ad1a1f9b2b44 | 8bf91a476e2c63b1a6b653827bf5cacdc0c84962 | refs/heads/master | 2022-11-09T22:08:12.891426 | 2020-06-30T02:12:48 | 2020-06-30T02:12:48 | 275,805,808 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,113 | cpp | #include "MainDialog.h"
MainDialog::MainDialog( const TiCare::Scheduler *_scheduler, QWidget *parent ) : QDialog( parent ), scheduler( _scheduler )
{
createSystemTrayIconActions();
createSystemTrayIcon();
taskComboBox = new QComboBox;
taskComboBox->addItem( tr( "Seleziona un task" ) );
taskCom... | [
"lorenzo.piscioli@digitalview.ai"
] | lorenzo.piscioli@digitalview.ai |
a30caac20e6dc01e4db0073c782b2cf79269ada1 | c2fa8eda9baacc45c46a7079a61f5468c770562b | /iOS9/PrivateFrameworks/CoreLocation/CDStructures.h | 4a042d60cd3ca0b7c2248eeb123f171eeb875d46 | [] | no_license | silence0201/Headers | c832b10265bd2a913a579cc76ed7299319cf2d5a | 3fe779d8e72817748eec8fa7c9ee9cfe8493ac77 | refs/heads/master | 2020-09-24T17:19:24.853523 | 2017-05-30T08:07:54 | 2017-05-30T08:07:54 | 66,088,098 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,579 | h | //
// Generated by class-dump 3.5 (64 bit) (Debug version compiled Aug 19 2016 22:08:00).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard.
//
#pragma mark Blocks
typedef void (^CDUnknownBlockType)(void); // return type and parameters are unknown
#pragma mark Named Structures... | [
"374619540@qq.com"
] | 374619540@qq.com |
40e4df12d90c5d28095414a74b7818e3b2180420 | 6105ea25e9375e5aa19c4e83659a3a1d8fa27b21 | /Test_beam_2015/Test_Beam_2015/code/src/anaSelector.h | 8917960f1f4a956e483964cc2e694e1465883c17 | [] | no_license | Fedespring/TestBeam | cf1a97504f513aa55cbcf76b5dac44098ca365b8 | 97b0fae42476386307be8bbee7f87a49b37703f4 | refs/heads/master | 2021-01-10T17:19:35.925632 | 2015-10-30T08:54:22 | 2015-10-30T08:54:22 | 45,199,883 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,162 | h | //////////////////////////////////////////////////////////
// This class has been automatically generated on
// Tue Nov 18 13:00:44 2014 by ROOT version 5.34/14
// from TTree t1/GemData
// found on file: recSim_run34.root
//////////////////////////////////////////////////////////
#ifndef anaSelector_h
#define anaSelec... | [
"fedespring@gmail.com"
] | fedespring@gmail.com |
681fe8205c525964d7a06bfbc6c496f25ba4be58 | 2548f34e2ad49d5f5ddde5ccbab0990709de08ab | /Il2CppOutputProject/Source/il2cppOutput/Generics12.cpp | 5e5c7a66f45a3fcc786a8e856fe2cc0840c46fec | [] | no_license | yutaosong2020/Hololens2_Tutorials | 2e97b6242b6e44447f6ae21848f52dc6e3296804 | 2cef83823642f0c995926b82f7bafb0e604096e2 | refs/heads/master | 2023-04-28T08:00:49.381240 | 2021-05-24T02:54:59 | 2021-05-24T02:54:59 | 370,210,304 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,094,714 | cpp | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <limits>
#include <stdint.h>
// System.Collections.Generic.Dictionary`2<System.Int32,System.Boolean>
struct Dictionary_2_t446D8FCE66ED404E00855B46A520AB382A69EFF1;
// System.Collections.Generic.Dictionary`2<Sy... | [
"yutao.song@burohappold.com"
] | yutao.song@burohappold.com |
e055d8782bf27ba337b41f2f9e6c6076117388e0 | e0da8fc913c7c34b00dc42fd1c1e6a3076caed33 | /include/container_traits/has_subscript_operator.h | 356556c3ccacad4b39739ae9836ba4fb7c6258de | [
"MIT"
] | permissive | zeta1999/container_traits | f50c568131b8ca579db9ae69f369dd5a1a40954c | 85d970030b8836ab1893ff72f38c74c4ca2908de | refs/heads/master | 2022-12-28T20:05:39.535093 | 2020-10-11T03:03:20 | 2020-10-11T03:03:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 655 | h | #pragma once
#include <type_traits>
namespace container_traits {
template <typename, typename T> struct has_subscript_operator : std::false_type {};
template <typename C, typename Ret, typename... Args>
struct has_subscript_operator<C, Ret(Args...)> {
private:
template <typename T>
static constexpr auto check(T ... | [
"pranav.srinivas.kumar@gmail.com"
] | pranav.srinivas.kumar@gmail.com |
fe825585ba1537250bc69b7b96acc1cd9a6bb0cf | ac7ba4252b430473ecf93fd3ee4818ac17e1e639 | /C&C++基础/my_code/OrderedSet_template.h | 6378e4c076978f1d36d280c69308d2d7d1f5a7af | [] | no_license | jiaGuYuan/StudyNote | 8aaef0d51ce0be2d343b1a5814be8e4d7f193e9c | ccc740c62b035746a977847f10c1207914989f2e | refs/heads/master | 2023-06-28T04:24:07.140969 | 2023-06-17T14:42:15 | 2023-06-17T14:42:15 | 219,988,184 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,769 | h | #include <list>
#include <set>
#include <iostream>
#include <sstream>
#include <algorithm>
#include <iterator>
// 使用Set+List构造一个'维持插入顺序的Set'
template <typename T>
class OrderedSet {
using ListOfT = typename std::list<T>;
using TIterator = typename ListOfT::iterator;
using TConstIterator = typename ListOfT:... | [
"w2504187153@sina.com"
] | w2504187153@sina.com |
05c7631c4e7c644d248b46561a03974c35b4f938 | ecc353a05d407197c7d5e9aff17aad4721dc077b | /src/walletdb.cpp | 5039482fa034bdf4f748a2b75cc4d88d84c5f0d2 | [
"MIT"
] | permissive | SaltineChips/endox | 7fe4db1c9b85a879b3880e8d60a82f66cd7690ea | d3f657927f0225788e01d004c8eb5d987f74c5b7 | refs/heads/master | 2021-06-16T15:42:39.647798 | 2021-01-30T23:06:55 | 2021-01-30T23:06:55 | 147,242,758 | 1 | 2 | MIT | 2019-07-21T02:43:51 | 2018-09-03T18:59:13 | C++ | UTF-8 | C++ | false | false | 29,643 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "walletdb.h"
#include "base58.h"
#include "protocol.h"
#include "seriali... | [
"rubixblockchain@gmail.com"
] | rubixblockchain@gmail.com |
9e3ac081a50cb16bc2330008da1b91ba5cb4fef5 | ad44b6ba053a35154df530f8639a92e00184073f | /main.cpp | 7c0230213685ea40428d9e47e0905d0e123fdf16 | [] | no_license | xbubus/blackjack | 00972104f8b849e1050cc8bd839b5e5bf3f887e3 | 3843fc9ce12ce8eb1adf2aabc12cc8c33f07f013 | refs/heads/master | 2022-11-30T17:18:43.845402 | 2020-08-06T15:27:33 | 2020-08-06T15:27:33 | 258,182,302 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,768 | cpp | #define _CRT_SECURE_NO_WARNINGS
#include <iostream>
#include "time.h"
#include "Casino.h"
std::ostream& operator<<(std::ostream& os, Card& card);
void chooseNumberFrom1To3(int& number);
int main()
{
Casino c1;
int choice = 0;
bool gameON = true;
int numberOfHumanPlayers = 0;
int numberOfBotPlayers = 0;
srand... | [
"xbubus@gmail.com"
] | xbubus@gmail.com |
32e2b5915fc92d2bece7634cf0edfdf873fa36a8 | 2f18747e7d2ba0123e046eabc322c5441454b923 | /2_Foundations/02_Introduction_to_the_C++_Language/27_Formatting_the_Printed_Board/solution.cpp | d8d8a29dc8b204df88f95f3fc5a88efd90ede2d5 | [] | no_license | jiangnanqw12/CPP-Nanodegree-master | 37080a50bcd7e9ce77df63b48ff2739c18f9ab7d | 362118edcf9ff59f02858d485a6fbd9fabf9347d | refs/heads/master | 2020-08-08T14:31:02.580364 | 2020-08-03T23:50:38 | 2020-08-03T23:50:38 | 213,848,821 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,126 | cpp | /*
Formatting the Printed Board
0 ⛰️ 0 0 0 0
0 ⛰️ 0 0 0 0
0 ⛰️ 0 0 0 0
0 ⛰️ 0 0 0 0
0 0 0 0 ⛰️ 0
The board will eventually have more than two cell states as the program becomes more complicated,
and it would be nice to add formatting to the printed output of t... | [
"382961818@qq.com"
] | 382961818@qq.com |
e0200041558c97ec9e32bdf5e2e99fdc70439742 | df61db6bae315efb7de401584f6932220dfc97a2 | /Concurency/threadsafe_queue.h | b1702528349510d757814a81c601c864481fbd09 | [] | no_license | Fedorr47/concurrency | 3e8873ca46c5b5970013850d3a423849576db4a6 | 89a4c99002f821276463af2e8b2bea413b175421 | refs/heads/develop/1.0.0 | 2020-09-06T16:33:36.753232 | 2020-01-30T12:13:59 | 2020-01-30T12:13:59 | 220,481,991 | 1 | 0 | null | 2019-12-23T12:35:46 | 2019-11-08T14:21:23 | C++ | UTF-8 | C++ | false | false | 3,070 | h | #pragma once
#include <mutex>
#include <chrono>
#include <memory>
template<typename T>
class threadsafe_queue
{
private:
struct node
{
std::shared_ptr<T> data;
std::unique_ptr<node> next;
};
std::mutex head_mutex;
std::unique_ptr<node> head;
std::mutex tail_mutex;
node* tail;
std::condition_variable data_... | [
"Fedor.Andreev@billing.ru"
] | Fedor.Andreev@billing.ru |
0936050e10624242e9cfbf3646ba5df050b0d4f4 | 3282ccae547452b96c4409e6b5a447f34b8fdf64 | /SimModel_Python_API/simmodel_swig/SimModel/framework/SimFlowMover_ReturnFan_OnOff.hxx | 492242aa4039a38e397532666fea0aab6d98ced7 | [
"MIT"
] | permissive | EnEff-BIM/EnEffBIM-Framework | c8bde8178bb9ed7d5e3e5cdf6d469a009bcb52de | 6328d39b498dc4065a60b5cc9370b8c2a9a1cddf | refs/heads/master | 2021-01-18T00:16:06.546875 | 2017-04-18T08:03:40 | 2017-04-18T08:03:40 | 28,960,534 | 3 | 0 | null | 2017-04-18T08:03:40 | 2015-01-08T10:19:18 | C++ | UTF-8 | C++ | false | false | 22,835 | hxx | // Copyright (c) 2005-2014 Code Synthesis Tools CC
//
// This program was generated by CodeSynthesis XSD, an XML Schema to
// C++ data binding compiler.
//
// 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 Fre... | [
"cao@e3d.rwth-aachen.de"
] | cao@e3d.rwth-aachen.de |
f490d62c699838a3baabfab762973f2394c14b56 | 8c03b5a410c7747d5ef601db1f75f0c664739fdd | /JCDT/JCDT_Lib/internal/ast/AstSwitchStatement.h | 754c40d4d1b6795707a177c855e78cc274fd2106 | [
"MIT"
] | permissive | 15831944/JCDT | 5d76f4cdb3751b54bc8700f46ab7c8e27ed9e07c | 2b009ea887b4816303fed9e6e1dc104a90c67d16 | refs/heads/main | 2023-04-14T18:28:39.589647 | 2021-04-25T02:34:54 | 2021-04-25T02:34:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,098 | h | #ifndef AstSwitchStatement_INCLUDED
#define AstSwitchStatement_INCLUDED
#include "JCDT_Lib/internal/ast/ast_Pre_declaration.h"
#include "JCDT_Lib/internal/ast/ReachComleteAbleStatement.h"
namespace Jikes { // Open namespace Jikes block
//
// SwitchStatement --> <SWITCH, Label_opt, switch_token, Expression, {_token,... | [
"731784510@qq.com"
] | 731784510@qq.com |
e809f5be556237c6ff93153b59d5307e0df31742 | 6d20d1c3ab187c56ded3d3b5f38b53369758a5d5 | /Server.h | 5e1ef26016ac94be3ba1f86bb98bea72c84a6081 | [] | no_license | matiutd888/screen-worms | 021cd064e0d0ffa106b5ea61e5b020cf24e119fb | 1039813dd197c7b77af2b08b6cb0d4ae0ff13342 | refs/heads/master | 2023-08-15T02:33:01.331007 | 2021-09-25T16:04:40 | 2021-09-25T16:04:40 | 368,588,813 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,653 | h | //
//
// Created by mateusz on 23.05.2021.
#ifndef ZADANIE_2_SERVER_H
#define ZADANIE_2_SERVER_H
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <cstring>
#include <unistd.h>
#include <map>
#include <set>
#include "err.h"
#include "PollUtils.h"
#include "Game.h"
#include "Packet.h"
#include... | [
"matiutd888@gmail.com"
] | matiutd888@gmail.com |
2e5f54b8668446dbbfdd1fa5af10c6112d66327b | 90cf003e72163de2c209456d5d6908bfe40d6c8c | /src/NNWordLocalContextSeparate/model/Driver.h | e8f56aabc8cc3d8ba90373f1543db1dc2b9d5d8a | [] | no_license | zhangmeishan/SarcasmDetection | 504829d3d78e02805df63e281a3741d2aadaf311 | 1ad8b31cd89d69417b90f5288bf0597f03f2546f | refs/heads/master | 2021-01-11T18:16:23.486994 | 2017-04-28T02:53:55 | 2017-04-28T02:53:55 | 69,332,367 | 16 | 8 | null | 2017-04-28T02:53:56 | 2016-09-27T07:49:20 | C++ | UTF-8 | C++ | false | false | 2,988 | h | /*
* Driver.h
*
* Created on: Mar 18, 2015
* Author: mszhang
*/
#ifndef SRC_Driver_H_
#define SRC_Driver_H_
#include <iostream>
#include "ComputionGraph.h"
//A native neural network classfier using only linear features
class Driver{
public:
Driver(size_t memsize) : aligned_mem(memsize){
_pcg = NULL;
... | [
"pdjlzs@live.com"
] | pdjlzs@live.com |
fefc953311bbdd7ec91f1d0047afbc4eb01ce354 | 10c14a95421b63a71c7c99adf73e305608c391bf | /gui/core/qsize.cpp | a55b26ea65d32ffc8b573f00f2e2391ec6a953df | [] | no_license | eaglezzb/wtlcontrols | 73fccea541c6ef1f6db5600f5f7349f5c5236daa | 61b7fce28df1efe4a1d90c0678ec863b1fd7c81c | refs/heads/master | 2021-01-22T13:47:19.456110 | 2009-05-19T10:58:42 | 2009-05-19T10:58:42 | 33,811,815 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,576 | cpp | /****************************************************************************
**
** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
** Contact: Qt Software Information (qt-info@nokia.com)
**
** This file is part of the QtCore module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercia... | [
"zhangyinquan@0feb242a-2539-11de-a0d7-251e5865a1c7"
] | zhangyinquan@0feb242a-2539-11de-a0d7-251e5865a1c7 |
0dde73d7d0967ada2048afea1e2bf070f568ac3e | c11930d68fb07c16bb71bd87ad1887fb6f219799 | /Array/21. Count triplets in a sorted DLL whose sum is X.cpp | 10c7b78a7c0a854730639ddf16558f465461104d | [] | no_license | vbhv17/DSA-Questions | 3ea345b80ea71f96629c5ed3f075e4abcc689e0f | 20b0a463a56f2bfbe6ed86c2357a60f22d708f3b | refs/heads/main | 2023-07-17T01:28:03.435410 | 2021-08-31T08:20:56 | 2021-08-31T08:20:56 | 340,821,516 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,204 | cpp | Naive Solution: Using three nested loops generate all triplets and check whether elements in the triplet sum up to x or not.
int countTriplets(struct Node* head, int x)
{
struct Node* ptr1, *ptr2, *ptr3;
int count = 0;
// generate all possible triplets
for (ptr1 = head; ptr1 != NULL; ptr1 = ptr1->next)
... | [
"noreply@github.com"
] | noreply@github.com |
061d40216ecf9659afbe7094c163478043560a0c | 00b70b0a46e8193284fbbfab9d06a94ae2df4c24 | /Project1/RoutesAnalyser.h | cf8d613a6ce026308f07b49d28ac3e39b6ee2439 | [] | no_license | CallMeK/Computer-Network-Codes | 20785a1a03731b78051feae3b3ff81c6cb9f85a2 | f575d1483c8b33145bcb937dfb7442065dd3dbe7 | refs/heads/master | 2021-01-13T01:03:10.348752 | 2015-10-08T19:52:18 | 2015-10-08T19:52:18 | 43,912,720 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,812 | h | //
// RoutesAnalyser.h
// Project1
//
// Created by WuKe on 2/25/15.
// Copyright (c) 2015 WuKe. All rights reserved.
//
#ifndef __Project1__RoutesAnalyser__
#define __Project1__RoutesAnalyser__
#include <iostream>
#include <fstream>
#include <sstream>
#include <string>
#include <vector>
#include <bitset>
#includ... | [
"wkcoke.work@gmail.com"
] | wkcoke.work@gmail.com |
3379efc25d5470de8ff8eefbc8719a13eef2a4f8 | 6484f4d0bd1bd429f4ce373c2b43d4de09b3cd64 | /src/qt/splashscreen.cpp | faf7b5b3a44d5b9fe2232fd4a64e085b1b66cffd | [
"MIT"
] | permissive | seduscoin/seduscoin | 2c4b138374b7066dc85e0ea371111b9fb98672d7 | a584075870d4adca3c7b545e1a4a9b88bdaade9f | refs/heads/master | 2020-03-30T23:38:07.018445 | 2018-10-05T13:53:43 | 2018-10-05T13:53:43 | 148,973,399 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,198 | cpp | // Copyright (c) 2011-2015 The Bitcoin Core developers
// Copyright (c) 2014-2017 The Sedus Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "splashscreen.h"
#include "guiutil.h"
#include "networkstyle.h... | [
"43329933+seduscoin@users.noreply.github.com"
] | 43329933+seduscoin@users.noreply.github.com |
9e31719f37a33b900db7c5c2daf0cafe34c6f39c | 5b8641e3be3fe9b80de788b70c261da13f084d78 | /BruteForce.cpp | 9830c07d47b1704a184af813e57734559664778a | [] | no_license | zg9uagfv/Algorithms | 9be4dab71866b0b99b6ec579b429af4157dd8f36 | 8951826f01d3b01839059bdfe02a65cd16911b6e | refs/heads/master | 2020-04-19T09:04:57.211806 | 2020-03-12T14:35:48 | 2020-03-12T14:35:48 | 168,099,143 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,007 | cpp | /*
暴风(Brute Force) 算法是普通的模式匹配算法,BF算法的思想就是将目标串 S 的
第一个字符与模式串 T 的第一个字符进行匹配,若相等,则继续比较 S 的第二个字
符和 T 的第二个字符;若不相等,则比较 S 的第二个字符和T的第一个字符,依次
比较下去,直到得出最后的匹配结果。BF算法是一种蛮力算法。
*/
#include <iostream>
#include <string>
using namespace std;
int brute_force(string& S, string& T)
{
int s_size = S.size();
int t_size = T.size()... | [
"noreply@github.com"
] | noreply@github.com |
3046d2ea75a9db7a174f70e76cd6ed059e82936a | 45a26f28a29ab6dd9d3bcf315117d814f50808b1 | /src/AppleMacRISC4PE/AppleMacRISC4PE-160.0.9/IOPlatformPlugins/PBG4_PlatformPlugin/CtrlLoops/PBG4_DPSCtrlLoop.cpp | 2a19899649db63d8dfdd0944efda22a7143a7e95 | [] | no_license | zeborrego/opensource.apple.com | 0eb9161029ce8440dbdc4b5157b3927a6e381f8d | 88cbaab4a42e97cbbfe6b660f2f0945536821be6 | refs/heads/master | 2021-07-06T17:16:28.241638 | 2017-10-02T11:58:56 | 2017-10-02T11:58:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,672 | cpp | /*
* Copyright (c) 2004 Apple Computer, Inc. All rights reserved.
*
* @APPLE_LICENSE_HEADER_START@
*
* The contents of this file constitute Original Code as defined in and
* are subject to the Apple Public Source License Version 1.1 (the
* "License"). You may not use this file except in compliance with the
* ... | [
"mattl@cnuk.org"
] | mattl@cnuk.org |
42ddd096d0ba5246c2873d66ded63b5c06cae3d9 | 862e7afe5da58e3dd4fc800eb178626b666663fb | /BoostLab/src/boost_asio_api.cpp | a4a283e11ab98086d9c80da746a16000a2357a7d | [] | no_license | goofycoder/goofytest | ca051dcdc7928ead4fe387cc156c192931a22153 | 9188fdf0e2dfc559fcdb05e360ee81575959335c | refs/heads/master | 2020-06-06T14:18:18.757662 | 2014-10-13T19:31:33 | 2014-10-13T19:31:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,897 | cpp | /*
boost::asio::io_service io_service; // provide core I/O functionality
boost::asio::io_service::work work(io_service); // 'work' class is a "class to inform io_service when it has work to do."
// As long as an io_service has a work o... | [
"yazhou2@linux01.(none)"
] | yazhou2@linux01.(none) |
658d2bb12374a8a7ede3a243864f0e669ae7e653 | 2e16c613e15e2c93b4ed7cce5aacd00c09647f50 | /scenes/animation/02_simulation/cloth.hpp | ca162248da450d5229a11583f7096e74695c37f9 | [
"MIT"
] | permissive | pypaut/epita_image_animation3d_vcl | d34c91577271b2f8a9fae6cfcc4e9e6b956a955b | e7eb68fed4f6a4615810a80c842f6b10467d339c | refs/heads/main | 2023-01-01T01:17:37.377660 | 2020-10-21T17:13:29 | 2020-10-21T17:13:29 | 305,510,721 | 0 | 0 | MIT | 2020-10-19T20:54:24 | 2020-10-19T20:54:24 | null | UTF-8 | C++ | false | false | 2,796 | hpp | #pragma once
#include "main/scene_base/base.hpp"
#ifdef SCENE_CLOTH
struct user_parameters_structure
{
float m; // Global mass (to be divided by the number of particles)
float K; // Global stiffness (to be divided by the number of particles)
float mu; // Damping
float wind; // Wind magnitude... | [
"damien.rohmer@gmail.com"
] | damien.rohmer@gmail.com |
7e5f9593defffd8beccd309c17b645fc6255cf1a | 6e57bdc0a6cd18f9f546559875256c4570256c45 | /cts/tests/tests/debug/libdebugtest/android_debug_cts.cpp | 3aa43181f6632b2419a20b1137993944d76e2a06 | [] | no_license | dongdong331/test | 969d6e945f7f21a5819cd1d5f536d12c552e825c | 2ba7bcea4f9d9715cbb1c4e69271f7b185a0786e | refs/heads/master | 2023-03-07T06:56:55.210503 | 2020-12-07T04:15:33 | 2020-12-07T04:15:33 | 134,398,935 | 2 | 1 | null | 2022-11-21T07:53:41 | 2018-05-22T10:26:42 | null | UTF-8 | C++ | false | false | 4,154 | cpp | /*
* Copyright (C) 2017 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | [
"dongdong331@163.com"
] | dongdong331@163.com |
8ee3f080f46c16e3a7c4ec32eeb363cadd9315aa | b37ef978997166542b82488589b62787b84d25cf | /examples/components/tft_display/DrawSuperMario/DrawSuperMario.ino | 5339a17a5a05d6a54eb536aa0eea15a939aabfe3 | [
"MIT"
] | permissive | Edinburgh-College-of-Art/Design-Informatics-Kit | 1896e355fd74236aef6bfedf4cbd6b3036bb6967 | dcc1ce957106e209bb6515aa04564d676b3f11aa | refs/heads/master | 2023-01-08T16:09:52.532764 | 2020-11-11T14:38:53 | 2020-11-11T14:38:53 | 281,622,341 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,539 | ino | /*
Draw the original 16 x 16 pixel Super Mario sprite
Demonstrating drawing technique and converting colours to 565 colour space.
The 1.44" TFT breakout https://www.adafruit.com/product/2088
Wiring:
| Nano | 1.44" TFT |
| ---- | --------- |
| 3.3v | Vin |
| GND | GND ... | [
"matt.hamilton@ed.ac.uk"
] | matt.hamilton@ed.ac.uk |
30a4c6f2ab4d0d76883980d5134a42fc85e9ec13 | bbe6df507bcd493871b29950189cae16e761b9d2 | /src/test/Nebula.cc | 14684ebe4e48ffd5775aa76f7d6b0a1d1652cb2e | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | bcec/opennebula3.4.1 | 99138e0ea679fb1ed9e5e13ef16af3febfec3672 | 8bdd19006f21aa11555dc411f670a89b916f05c9 | refs/heads/master | 2021-01-23T11:48:10.894787 | 2012-07-05T09:37:59 | 2012-07-05T09:37:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,803 | cc | /* -------------------------------------------------------------------------- */
/* Copyright 2002-2012, OpenNebula Project Leads (OpenNebula.org) */
/* */
/* Licensed under the Apache License, Version 2.0 (the "License"); you may ... | [
"shenxyask@gmail.com"
] | shenxyask@gmail.com |
666ef08cccd76e68fe441bd9f85e1f06ff4ad67b | 58febce6be896835382f03b21162f0090b3fcb0a | /leetcode/weekly/284.cpp | c0653f590a2784ebefa62880d32a94b92435cde8 | [
"Apache-2.0"
] | permissive | bvbasavaraju/competitive_programming | 5e63c0710b02476ecb499b2087ddec674fdb049f | bc17ec49b601aac62fa94449927fd64b620352d7 | refs/heads/master | 2022-10-31T15:17:00.151024 | 2022-10-23T09:14:52 | 2022-10-23T09:14:52 | 216,365,719 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,976 | cpp | /****************************************************
Date: Mar 13th, 2022
Successful submissions : 2
Time expiration : 0
Memory exhausted : 1
Not Solved : 1
Wrong Answer/ Partial result : 0
link: https://leetcode.com/contest/weekly-contest-284
****************************************************/
#include <iostream>... | [
"bv.basavaraju@gmail.com"
] | bv.basavaraju@gmail.com |
80315882fc9781d67d3ace170792b33aab1cccec | 6fd96176aba290543f67274d47dfa807a1d3945d | /hangover.cpp | 404ed1e6d0eb7cc2f3236a0cac29a11766d2ed09 | [] | no_license | phs1116/dovlet_algorithm | 6a69d8d032f662a18e679292a8b800ce7421ed23 | 7f043c9bf6cc9a3d874d43c2816f5a92a61ccaba | refs/heads/master | 2021-01-10T06:17:46.362776 | 2016-03-03T12:16:11 | 2016-03-03T12:16:11 | 53,047,872 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 167 | cpp | #include <iostream>
using namespace std;
double c,k=1,sum=0;
int main(){
cin>>c;
while(true){
sum+=1/((k++)+1);
if(sum>c)
break;
}
cout<<k-1<<" card(s)";
}
| [
"phs1116@gmail.com"
] | phs1116@gmail.com |
008ccdcb6c8d208bae99ccf9c45bbe976eaa0a4f | 2a73874f9cc48c9e2d907f89f187f7d320774dbc | /examples/arkode/CXX_serial/ark_advection_diffusion_reaction.cpp | 746f7bdd9f4fcdd4e702590550fedc207240f944 | [
"BSD-3-Clause"
] | permissive | opencor/sundials | 234413604669ea6cc2c26d9aa4c3aaa8e725e368 | 2e08eee5347c0b030b55ea71e5db1c44f17dc3b9 | refs/heads/master | 2023-09-02T07:26:02.608451 | 2022-11-02T03:15:50 | 2022-11-02T03:15:50 | 91,432,417 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 49,713 | cpp | /* -----------------------------------------------------------------------------
* Programmer(s): David J. Gardner @ LLNL
* -----------------------------------------------------------------------------
* SUNDIALS Copyright Start
* Copyright (c) 2002-2022, Lawrence Livermore National Security
* and Southern Methodi... | [
"agarny@hellix.com"
] | agarny@hellix.com |
5d8993ba9a598a93071a596c30d031e77a5448d6 | b7e2b49b89ad9b842119410404b461f70b0716e5 | /src/PPgStats.h | 184bf52614f01f8c7f64cb707b4d557d85ba941f | [] | no_license | charleson/emule_verycd | 31f3c71e0478b036f957edacd10f0f398c886165 | 489f841518e9313e9b387ad87298d32141c212f8 | refs/heads/master | 2020-04-06T04:18:04.657439 | 2012-09-16T15:11:58 | 2012-09-16T15:11:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,200 | h | #pragma once
#include "ColorButton.h"
class CPPgStats : public CPropertyPage
{
DECLARE_DYNAMIC(CPPgStats)
public:
CPPgStats();
virtual ~CPPgStats();
// Dialog Data
enum { IDD = IDD_PPG_STATS };
void Localize(void);
protected:
int m_iStatsColors;
DWORD* m_pdwStatsColors;
CComboBox m_colors;
CComboBox m_cr... | [
"codingforfan@gmail.com"
] | codingforfan@gmail.com |
80779feac60a101db45507a8cbd2da3af303ced3 | 1700078e3b4b82774bb4f89fc9d616e35040e9f6 | /examples/Teensy40_ESP8266Shield/Teensy40_ESP8266Shield.ino | 23caddbd0332a0b74f579de9548a283872070273 | [
"MIT"
] | permissive | khoih-prog/Blynk_Esp8266AT_WM | d73209ec85e71ffc585e63aca0c88bd42c8cd449 | 51821665b32b1f38a0c0a7fc1772e860f6e8fa56 | refs/heads/master | 2022-03-05T04:37:35.166849 | 2022-02-09T01:18:26 | 2022-02-09T01:18:26 | 241,050,420 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 4,242 | ino | /****************************************************************************************************************************
Teensy40_ESP8266Shield.ino
For Teensy using ESP8266 WiFi Shield
Blynk_Esp8266AT_WM is a library for the Mega, Teensy, SAM DUE and SAMD boards (https://github.com/khoih-prog/Blynk_Esp826... | [
"noreply@github.com"
] | noreply@github.com |
00d86a59eac031d9f873d06a4db967779d002dc1 | 861cd73505de32dfe5f5eb01f62fd36028837331 | /MiniCCompiler/MiniCCompiler/util.cpp | 285ada4b2b2c384011e97ff22e49ac13d7616475 | [] | no_license | clamli/MiniCCompiler | 5919685e12f45414ff1bfdd0529993beeca0f671 | aa819e0a7a33a568d50306f209c7b28648640119 | refs/heads/master | 2021-01-18T15:41:05.045332 | 2017-08-16T09:37:15 | 2017-08-16T09:37:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 199 | cpp | #include <iostream>
#include "util.h"
using namespace std;
void *checked_malloc(int len)
{
void *p = malloc(len);
if (!p)
{
fprintf(stderr, "\nRan out of memory!\n");
exit(1);
}
return p;
} | [
"873556816@qq.com"
] | 873556816@qq.com |
7f085d6155a90646fde1d47680406787925e8a64 | cccfb7be281ca89f8682c144eac0d5d5559b2deb | /chrome/browser/ash/printing/printer_setup_util.h | e54655a3e0619af60e9d2b0a553c058a984c3e80 | [
"BSD-3-Clause"
] | permissive | SREERAGI18/chromium | 172b23d07568a4e3873983bf49b37adc92453dd0 | fd8a8914ca0183f0add65ae55f04e287543c7d4a | refs/heads/master | 2023-08-27T17:45:48.928019 | 2021-11-11T22:24:28 | 2021-11-11T22:24:28 | 428,659,250 | 1 | 0 | BSD-3-Clause | 2021-11-16T13:08:14 | 2021-11-16T13:08:14 | null | UTF-8 | C++ | false | false | 1,519 | h | // Copyright 2021 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_ASH_PRINTING_PRINTER_SETUP_UTIL_H_
#define CHROME_BROWSER_ASH_PRINTING_PRINTER_SETUP_UTIL_H_
#include "base/callback_forward.h"
#i... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.