blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
35afdd311d9b0d5dfceb5d4c5969328d14129036 | 0dca3325c194509a48d0c4056909175d6c29f7bc | /outboundbot/include/alibabacloud/outboundbot/model/DescribeJobRequest.h | f063f63c27443ad580699b5794672b7bac5139ac | [
"Apache-2.0"
] | permissive | dingshiyu/aliyun-openapi-cpp-sdk | 3eebd9149c2e6a2b835aba9d746ef9e6bef9ad62 | 4edd799a79f9b94330d5705bb0789105b6d0bb44 | refs/heads/master | 2023-07-31T10:11:20.446221 | 2021-09-26T10:08:42 | 2021-09-26T10:08:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,455 | h | /*
* Copyright 2009-2017 Alibaba Cloud 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... | [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
1a60a17718a771e8044b76feaf755f4a92366815 | 6c5cb03c12b1f24336dd1043dbe8c9f2cdf94671 | /Racional.cpp | 7251bf4ee8e7ad8c55a18a271aa7d4a21a420447 | [] | no_license | Jorgegar96/P3Lab-7_JorgeGarcia | 30052a5fdf998b5d73b9ae8115c7b6c51ab4326a | ca2d75712b2ac4355fc9eac175860af24a88e0e6 | refs/heads/master | 2021-09-09T14:19:40.120420 | 2018-03-17T00:13:31 | 2018-03-17T00:13:31 | 125,559,544 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,876 | cpp | #include "Racional.h"
#include <cmath>
//#include "adminRacionales.h"
#include <string>
#include <iostream>
#include <fstream>
using namespace std;
Racional:: Racional(){
}
Racional:: Racional(int numerador, int denominador){
this->numerador = numerador;
this->denominador = denominador;
simplificarFraccion();
... | [
"Jorgegar896@gmail.com"
] | Jorgegar896@gmail.com |
8f7c6f46874a974f8bb5e0fd315f7281db03db6b | b8922545b9aaa159060c43e5d2132fe3afac12de | /lmc/Cliente/BulletCollector.cpp | 5b857661e876643e8abdb06784908d81a1ff4abc | [] | no_license | toteisla/Tanks-Game-Client- | db1769196a8e2e99116f32c86a87ab324900a230 | 4093415ad7a11a36acebd40adf615d5b212d0739 | refs/heads/master | 2021-01-22T01:28:12.650915 | 2014-05-17T17:03:43 | 2014-05-17T17:05:15 | 42,959,029 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 837 | cpp | #include "BulletCollector.h"
int BulletCollector::push(Point<float> pos, const float speed, const float angle) {
if (index < MAX_COLLECTOR_SIZE) {
Bullet tmp(pos, speed, angle);
container[index] = tmp;
index++;
return index;
}
return -1;
}
int BulletCollector::push(const fl... | [
"juenco@gmail.com"
] | juenco@gmail.com |
e3a239c75c81e26e227f8a72a3ac6fb661bb291d | 734b3e4f6ddbded00bafabf34c0c5ea6be72ac71 | /linearfilter.cpp | 031a2a33a08927f9f464d94b8a0df61c31fd6fbd | [] | no_license | hempnall/OpenCVQml | 408ce126f23447468a7e0711980e5d3f0931b86c | 46e75f8ef260a1944f23c8bac1fa7eb8b5c0ac01 | refs/heads/master | 2021-05-20T11:08:37.755857 | 2020-04-09T17:09:50 | 2020-04-09T17:09:50 | 252,267,413 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,074 | cpp | #include "linearfilter.h"
#include "opencv2/imgproc.hpp"
#include "opencv2/imgcodecs.hpp"
#include "opencv2/highgui.hpp"
#include <QDebug>
LinearFilter::LinearFilter(QObject* parent)
: transformCount_(0)
{
}
int LinearFilter::width() const
{
return width_;
}
void LinearFilter::setWidth(const int &width)
{... | [
"jameshook@Jamess-MBP.broadband"
] | jameshook@Jamess-MBP.broadband |
ecd3d2ad3a4d375c45aafb9746227fe396d0da5b | 208ed57037f9febfa7e0ac392f987851d7cb0a6a | /shells/argsh/cpptest/foo.h | bc04f521ea5b80713ae631863ff7544c3052ff47 | [] | no_license | lenik/uni | 63877ea5429787d84b8d8582ef2c6c49e53a541e | 9d0e0de01f091e4b423361f415349dcf3efaaa4d | refs/heads/master | 2023-05-29T07:21:38.024705 | 2023-05-14T23:29:40 | 2023-05-15T14:03:16 | 65,776,745 | 1 | 0 | null | 2022-10-11T13:48:10 | 2016-08-16T01:22:59 | Perl | UTF-8 | C++ | false | false | 485 | h | #include <iostream>
#define H_PROV
//#define H_SEP
class IFoo {
public:
virtual void hello() = 0;
#if defined(C_PROV)
virtual void foo();
#elif defined(H_PROV)
# ifdef H_SEP
virtual void foo();
# else
virtual void foo() {
std::cout << "foo.h: foo()" << std::endl;
}
# ... | [
"pub.lenik@bodz.net"
] | pub.lenik@bodz.net |
9bc142b403be1b8d67cf64b1a590c1f2b2378cdd | dd80a584130ef1a0333429ba76c1cee0eb40df73 | /external/chromium_org/chrome/browser/chromeos/drive/fileapi_worker.h | b45250a46f5a12004b9ac6f2a73667ba00ef9b5b | [
"MIT",
"BSD-3-Clause"
] | permissive | karunmatharu/Android-4.4-Pay-by-Data | 466f4e169ede13c5835424c78e8c30ce58f885c1 | fcb778e92d4aad525ef7a995660580f948d40bc9 | refs/heads/master | 2021-03-24T13:33:01.721868 | 2017-02-18T17:48:49 | 2017-02-18T17:48:49 | 81,847,777 | 0 | 2 | MIT | 2020-03-09T00:02:12 | 2017-02-13T16:47:00 | null | UTF-8 | C++ | false | false | 7,196 | h | // 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.
//
// This file provides the core implementation of fileapi methods.
// The functions should be called on UI thread.
// Note that most method invocation of... | [
"karun.matharu@gmail.com"
] | karun.matharu@gmail.com |
9c166479d012d82183a7ce2c95f09a9fef81a163 | e1addca1dacc8916e5b128d8d326a9942f3e8d22 | /qip/moc/moc_MainWindow.cpp | 4c12e7508cc62b1be25daf59d55008ab4950d9cb | [] | no_license | Fioger/Image-Processing-HW1 | 7574661026dab75c4a8139808c8fcdf4f1df1a3e | ed032be3d70c5666b6b70b1b203efd4b24a9dfbb | refs/heads/master | 2021-01-11T00:16:26.049657 | 2016-10-04T18:44:00 | 2016-10-04T18:44:00 | 69,176,899 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,675 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'MainWindow.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.7.0)
**
** WARNING! All changes made in this file will be lost!
**********************************************************... | [
"fioger95@Live.com"
] | fioger95@Live.com |
4f49bb9ac4640d6ffbf92c832c4c1aaf3f759fc8 | ec7c2a8de2af9939e5e7d92ee5c127482ba83838 | /id1/sv_user.cpp | e0a793f680e190148e458c2c3631fd9008b369f6 | [] | no_license | phatblat/SlipNFrag | d322c03b4c3cb2822fb8b0e6514560d4023215fa | aca5e8875ee3449c6cfe7d2d85ac9e30e7a62d8b | refs/heads/master | 2022-12-28T06:27:21.512924 | 2020-10-04T22:38:22 | 2020-10-04T22:38:22 | 301,268,809 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,070 | cpp | /*
Copyright (C) 1996-1997 Id Software, Inc.
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 distributed in th... | [
"izhido@hotmail.com"
] | izhido@hotmail.com |
12dc8226e5c4e9495d07f781fff23b8dbc051707 | 19b016952946bfc56d6ed54b2f6a86774c5405dd | /logdevice/server/UnreleasedRecordDetector.cpp | 12bea91d372c522a504587b2a35b8f921fc1085c | [
"BSD-3-Clause"
] | permissive | msdgwzhy6/LogDevice | de46d8c327585073df1c18fc94f4cc7b81b173d1 | bc2491b7dfcd129e25490c7d5321d3d701f53ac4 | refs/heads/master | 2020-04-01T17:00:39.187506 | 2018-10-17T06:29:11 | 2018-10-17T06:32:21 | 153,408,883 | 1 | 0 | NOASSERTION | 2018-10-17T06:49:01 | 2018-10-17T06:49:01 | null | UTF-8 | C++ | false | false | 15,598 | cpp | /**
* Copyright (c) 2017-present, Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "UnreleasedRecordDetector.h"
#include <cinttypes>
#include <folly/Likely.h>
... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
b9587d47e3bd5cd86dbe8ff1be0a12e30f608c41 | 950fe2e25cd574c802f27b0a7833967f7dbc5af5 | /behaviours/beaconTwoBehaviour.hpp | df8659c330bc673c18ad5f86f041662ab9802d66 | [] | no_license | Arturs85/vsmRoombaWoGui | 46b8a0777cdf9dfa41a7ac26ec4520696cd5bf3f | 5b81a680162df039fe9279ecc718c825a5732e1f | refs/heads/master | 2021-11-23T23:16:15.021743 | 2020-07-01T06:44:39 | 2020-07-01T06:44:39 | 208,755,484 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 655 | hpp | #ifndef BEACONTWOBEHAVIOUR_HPP
#define BEACONTWOBEHAVIOUR_HPP
#include "roombaAgent.hpp"
#include "beaconOneBehaviour.hpp"
class TwoPointFormationProtocol;
class ThirdBeaconFormationProtocol;
class BeaconTwoBehaviour: public BaseCommunicationBehaviour{// waits for requests from second beacon by TwoPoinFormation proto... | [
"arturs.ardavs@gmail.com"
] | arturs.ardavs@gmail.com |
d8bf2e11c9aa30b8192cf9f72f7e1b3f9de69aee | 1d67a0bc5b424648ec007ea64094b94871fe7c7d | /kernel/fs/ext2/ext2.cpp | 7d4a456525ae64d120b39217fbd5d69b99df4f14 | [
"BSD-2-Clause"
] | permissive | johnsmith5c12/rock | b4750b2d3413926dfb0deb542a54f84492d935f2 | 754b3cc46fc7ae1aebfe55d8e9f2471070ed80b7 | refs/heads/master | 2023-07-18T05:43:33.942026 | 2021-08-23T22:04:45 | 2021-08-23T22:04:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,528 | cpp | #include <fs/ext2/ext2.hpp>
#include <debug.hpp>
namespace ext2 {
fs::fs(dev::node &devfs_node) : devfs_node(devfs_node) {
devfs_node.read(devfs_node.device->sector_size * 2, sizeof(superblock), &superb);
if(superb.signature != 0xef53) {
return;
}
print("[EXT2] Filesystem Detected on Device ... | [
"ethan@ethanmiller.xyz"
] | ethan@ethanmiller.xyz |
1ef344d6a0c15b6eb5ee7d0045e650f3393cf9f5 | 9ff69f2638fe679b9fbb3ac682d356b59c50b068 | /code archive/codejam/codejam2019 R3pA.cpp | f5b6f37dc19ba9c1ed9d1bc1123369fa692d7381 | [
"MIT"
] | permissive | brianbbsu/program | 7f7c3d4aacea32ada7f74cf5caffa9931be280c4 | c4505f2b8c0b91010e157db914a63c49638516bc | refs/heads/master | 2021-05-23T04:53:49.618057 | 2020-04-18T15:21:10 | 2020-04-18T15:21:10 | 81,056,684 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,450 | cpp | //{
#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef double lf;
typedef pair<ll,ll> ii;
#define REP(i,n) for(ll i=0;i<n;i++)
#define REP1(i,n) for(ll i=1;i<=n;i++)
#define FILL(i,n) memset(i,n,sizeof i)
#define X first
#define Y second
#define SZ(_a) (int)_a.size()
#define ALL(_a) _a.begin(),_... | [
"brianbb.su@gmail.com"
] | brianbb.su@gmail.com |
5602152932d6f0e047bbd3e074eb987bb4ad2034 | 11dcfef0769506062ae9658bbbcfef68dbe79e8d | /src/Modele/StrategieVeneneuse.cpp | 0b50749abddc1b7a5b0d69ce8910701cdaac0186 | [] | no_license | Soulei/GrenouilleCpp | 232994e27a015a5f7649eaeba50a2b41c04b9b04 | 88ed68ae340a5e4db04ad4d13e354de5333befe6 | refs/heads/master | 2021-01-18T01:49:00.768305 | 2016-11-14T23:01:54 | 2016-11-14T23:01:54 | 68,293,659 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 266 | cpp | #include "include/StrategieVeneneuse.hpp"
using namespace grenouilloland;
void StrategieVeneneuse::appliquerEffet(unsigned int& pv, bool& malade) const
{
if (malade)
{
pv=0;
}
else
{
pv/=2;
malade=true;
}
}
StrategieVeneneuse::StrategieVeneneuse()
{
}
| [
"7llucky.link@gmail.com"
] | 7llucky.link@gmail.com |
3226c37bcb3a83b6d26077f589f3ea12d12a0169 | f91897701b9b90218b22fe49ce2258cd2e2709f2 | /Prepare4work/17年校招全国统一模拟第四场/4.cpp | 7edf5abf7b96489054c6d457e3a2ce8cced7ccde | [] | no_license | daimonster/Graduate-Life | 078d17e4920d32e4fb3a6650ee1bfa41dfbf280a | 83730c1bbfa2f9e146dd49d1752e0d61d791c2da | refs/heads/master | 2021-09-12T15:31:42.652535 | 2018-04-18T03:12:52 | 2018-04-18T03:12:52 | 98,765,434 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 578 | cpp | #include <iostream>
#include <vector>
#include <set>
#include <algorithm>
#define rep(i,x,y) for(int i = x;i < y;i++)
using namespace std;
int main()
{
int n;
while(cin>>n)
{
vector<int> s(n,0);
set<vector<int> > arrs;
rep(i,0,n)
{
cin >> s[i];
}
r... | [
"546508148@qq.com"
] | 546508148@qq.com |
3094ed33bc5c84b5575600df2a0e491d0b99b85c | bfce502ca72a2664b2f3d0e34cb25a45f37fa865 | /src/primitives/block.h | 8576b13508b0f1462ca91bfaa4e8016417050240 | [
"MIT"
] | permissive | PlatopiaCore/platopia | 624d41783e595cfc44fa31d74b7be22f37568923 | b0598f4ac9c8b36cfffe9b4a304b8394e03409ca | refs/heads/master | 2020-03-17T09:15:18.687377 | 2019-01-02T04:40:42 | 2019-01-02T04:40:42 | 133,467,484 | 15 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 5,492 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-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.
#ifndef BITCOIN_PRIMITIVES_BLOCK_H
#define BITCOIN_PRIMITIVES_BLOCK_H
#include "... | [
"d4ptakr@gmail.com"
] | d4ptakr@gmail.com |
a56e4008c09756c3e314d11a5b4703ac59c3396e | 4a7d7895aa2c0747587719f5ffd384fa77f59659 | /task2/function.h | 1a2ec2d32fd506793ce038f5e0c6e278a8019fd8 | [] | no_license | Nastormo/MSU_Supercomputer_2020 | da5afead447f8729538cf8bbb058ed2204dadaa5 | 32dd021d778f775f49a74b4eceece320091e7047 | refs/heads/main | 2023-02-05T14:30:23.072711 | 2020-12-27T12:06:22 | 2020-12-27T12:06:22 | 316,210,579 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 279 | h | #pragma once
#include <math.h>
#include <stdio.h>
#include <algorithm>
class Function3D {
double _Lx;
double _Ly;
double _Lz;
public:
Function3D(double Lx, double Ly, double Lz);
double a_t();
double operator()(double x, double y, double z, double t);
}; | [
"lyovasmirnov@gmail.com"
] | lyovasmirnov@gmail.com |
25e2364a8e69e152ef25c5ac65bf6e46cec88c78 | bdb5306a028a56341ed40a7deb1ef0e410bc0779 | /图书管理系统/图书管理系统.cpp | 2ed2b609528dafe420c510c65b4aaeb28479d509 | [] | no_license | NoClay/project | ebedc95e1d9a3970b4d6e9d1dd43bcd94d1a3aaf | df0b2b5a4823a841e67fa2ee6677eaa0a046ba63 | refs/heads/master | 2021-01-13T13:48:15.851637 | 2017-05-06T15:39:21 | 2017-05-06T15:39:21 | 76,321,560 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 14,204 | cpp | #include<stdio.h>
#include<conio.h>
#include <stdlib.h>
#include <time.h>
#include <string.h>
#include<windows.h>
#include<io.h>
#include<fcntl.h>
void gotoxy(int x, int y);
void booksave();
void cuowu(int i, int j,char str[]);
void allsort();
void visitall(int type);
int compare(char str[],struct book *key);
int ask_... | [
"826611389@qq.com"
] | 826611389@qq.com |
f8cbea1775cc103e6643f339205da915836599fc | 59ebc9fb6dee90c22965ee1eb116b95a82328839 | /clrinject-lib/clrinject-lib.cpp | e747b01b786d2cefcf96bf60fc66f9de1c71bffe | [
"MIT"
] | permissive | debashish2014/clrinject | 2c54373f02b074e5fc0f85e4e6e1f4fcbb9fb8fb | 11a88749a60861428a70c188bd9d41de54271175 | refs/heads/master | 2020-04-16T13:10:39.647922 | 2019-01-14T13:37:52 | 2019-01-14T13:37:52 | 165,614,676 | 1 | 0 | null | 2019-01-14T07:22:04 | 2019-01-14T07:22:04 | null | UTF-8 | C++ | false | false | 4,800 | cpp | #include <Windows.h>
#include <tlhelp32.h>
#include <stdio.h>
#include <stdlib.h>
#include <atlbase.h>
#include "msclr\marshal_cppstd.h"
#include "clrinject-lib.h"
#include "../clrinject/clrinject.h"
using namespace System::Runtime::InteropServices;
private class SZStringToOleString {
OLECHAR * data;
public... | [
"debshish.pal@gmail.com"
] | debshish.pal@gmail.com |
18bb3140cfb13f023903e1d6f7ff0851dda3f9c6 | 5a6fef722389a2d0b401902f777dce41ebfdd705 | /ell.cpp | 7c3daacc2bfacef3d0351ee4cf44b594fd9a6e74 | [] | no_license | frtug/mysite | 65ddc91d4cfbef17921999a9c89286bc877e93d7 | cbe05a7a80cc8f8e49bc9c1bc086b82a48bab060 | refs/heads/master | 2021-09-27T02:55:49.958883 | 2018-11-05T18:55:17 | 2018-11-05T18:55:17 | 106,689,924 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 611 | cpp | #include<iostream>
using namespace std;
class car
{
public:// private:
char name[10];
char color[10];
char company[10];
char mile[10];
char torque[10];
public:
void gets()
{
cout<<"name"<<endl<<"color"<<endl<<"company"<<endl<<"mile"<<endl<<"torque"<<endl;
cin>>name>>color>>company>>mile>>torque;
}... | [
"sssharma.abhi2199@gmail.com"
] | sssharma.abhi2199@gmail.com |
22ab056bce3a5f538508071c885236af3df99966 | f878a00da908f684316877da1f8a45c9e1aa4045 | /InvertColor/stdafx.cpp | 7bd86b78dc7d77d8450bb305342076a7abb54e95 | [] | no_license | Alienaaa/InvertColor | ac4708dda4967fb94da87763ef24f5702444e4ad | 7fc23fb640d93e4f88b810bd3251526485b1d204 | refs/heads/master | 2020-04-03T09:53:46.077585 | 2016-09-29T16:58:55 | 2016-09-29T16:58:55 | 69,588,654 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 271 | cpp | // stdafx.cpp : 只包括标准包含文件的源文件
// InvertColor.pch 将作为预编译头
// stdafx.obj 将包含预编译类型信息
#include "stdafx.h"
// TODO: 在 STDAFX.H 中
// 引用任何所需的附加头文件,而不是在此文件中引用
| [
"Alien@promote.cache-dns.local"
] | Alien@promote.cache-dns.local |
d183ec2dd5ed52f17e6b13cd67d48bf9ea451aa3 | 16117a252cfcbb97bbab470e2d76e54bf837d6ce | /src/util_tile.cpp | 01bf03b2ed463984b905d9acbc8db34acfabba64 | [
"BSD-2-Clause"
] | permissive | osmlab/avecado | 025a240b9451e1d3ac3bf8889e15be53b4109b56 | 8a9e48d21c554886be033dd58e6c70fce61bd244 | refs/heads/master | 2021-01-16T21:13:28.002301 | 2015-01-20T15:35:04 | 2015-01-20T15:35:04 | 30,084,664 | 0 | 1 | null | 2015-01-30T18:14:15 | 2015-01-30T18:14:14 | null | UTF-8 | C++ | false | false | 2,556 | cpp | #include "util_tile.hpp"
#include "vector_tile.pb.h"
namespace avecado { namespace util {
namespace {
struct minmax {
uint32_t count;
bool overflow;
int32_t coords[2];
minmax() : count(0), overflow(false) {}
inline void add(int32_t x) {
bool found = false;
for (uint32_t i = 0; i < count; ++i) {
... | [
"zerebubuth@gmail.com"
] | zerebubuth@gmail.com |
aa333394a031c9ba00fb4e47dabfbadd32d0defb | a52a7342aebe4efd8dc1f5a4279109d227db2952 | /source/dx11/GXShader.cpp | 6d9d5b1686cec0d8c6249188a418e2c3b86b91eb | [] | no_license | q4a/SkyXEngine-graphix | 44caa7d0fa5d0f6b63eda8c0947af6d8b16d9ec2 | 3e49f0b06d6e2779847a0f8234bee2dd83275f10 | refs/heads/master | 2021-05-17T18:25:14.808511 | 2020-06-21T21:36:04 | 2020-06-21T21:36:04 | 250,916,668 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,132 | cpp | #include "GXShader.h"
void CGXVertexShader::Release()
{
--m_uRefCount;
if(!m_uRefCount)
{
delete this;
}
}
CGXVertexShader::~CGXVertexShader()
{
mem_release(m_pShaderBlob);
mem_release(m_pShader);
}
void CGXVertexShader::getData(void *_pData, UINT *pSize)
{
byte *pData = (byte*)_pData;
if(pData)
{
*pSiz... | [
"admin@ds-servers.com"
] | admin@ds-servers.com |
c95a21bb49bc276757b056f5baa14dc12f4c9ff9 | 2cbe5aa318b15cad457d70361f35cbb1e18702a3 | /lib/arduino/MP_SHARP_GP2D120X/MP_SHARP_GP2D120X.h | 793c2ade8beffbe7309426e2f4355de77bb67630 | [] | no_license | MakerPlayground/MakerPlayground_Library | ae27fb2b17d5784698d3623a419fc36430c83b9d | d427453f0a785e3be0282a25fb0b81b8b91ffcfe | refs/heads/master | 2022-12-22T04:05:38.819260 | 2020-09-10T09:09:22 | 2020-09-10T09:09:22 | 143,995,795 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 302 | h | #ifndef MP_SHARP_GP2D120X
#define MP_SHARP_GP2D120X
#include "MP_DEVICE.h"
class MP_SHARP_GP2D120X
{
public:
MP_SHARP_GP2D120X(uint8_t pin);
int init();
void update(unsigned long current_time);
void printStatus();
double getDistance();
private:
uint8_t pin;
double cm;
};
#endif | [
"jetstream.c@gmail.com"
] | jetstream.c@gmail.com |
30c5d95f0152afa4f7673100e0a080de67d8213e | 1b01da204158094ada32b821850ea762c01899ce | /include/xr_error.h | b994f1200db4fb15341fcd67c7dcb3d8a9a55f82 | [] | no_license | 75912001/xr-c | d58dd146841caf6f7687d3362ec957eff77bb205 | 180e24b31a12797b14040ea74e1896fbb49ff56c | refs/heads/master | 2022-04-09T13:34:00.046683 | 2019-12-20T11:58:57 | 2019-12-20T11:58:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 611 | h | //错误码,都为负数
#pragma once
namespace xr
{
enum ERROR
{
//[-0xC000,-0xCFFF]
DISCONNECT_PEER = -0xC000, //需要断开对方链接
CONNECT_FAIL = -0xC001, //连接失败
TIME_OUT = -0xC002, //超时
UNDEFINED_CMD = -0xC003, //未定义的命令号
SYS = -0xC004, //系统错误
//[-0xD000,-0xDFFF]
DB_SYS = -0xD000, ... | [
"75912001@qq.com"
] | 75912001@qq.com |
dd6270765a035d28d5fe2463c9c432003c525a88 | a72504f2a774db28a7d719087dd91ab7ed7063fe | /CPlusPlus/addressof/addr.cpp | d9324687ac89f429171d58609889029c89482079 | [] | no_license | EdiCarlos/MyPractices | b5374db90245762cbf6048a460832d2c89edf6d7 | 29bbf39a68b597e367017b589b93c825e8bbc0f2 | refs/heads/master | 2023-06-07T14:38:56.335015 | 2013-05-21T10:15:28 | 2013-05-21T10:15:28 | 12,924,269 | 1 | 1 | null | 2023-05-31T19:21:46 | 2013-09-18T13:47:15 | C# | UTF-8 | C++ | false | false | 567 | cpp | #include <iostream>
using namespace std;
int main()
{
int number = 10;
int value = 20;
int *nbr = &number;
int **ptr = &nbr;
cout<<"address of number is " <<&number<<endl;
cout<<"address of nbr is " << &nbr<<endl;
cout<<"value at the address of number is " <<number<<endl;
cout<<"value at the address of nbr is " <<*nb... | [
"arif788@gmail.com"
] | arif788@gmail.com |
66a7f6e655c24638e81313528b4b167dd47349f8 | b0e6bbea84b94839fd214d16170b2483e5fac59e | /NeoEngine/Editor/SceneEdit/Manipulator/ManipulatorScene.h | dd064a43520d060383377bc700a22fd40957dbf3 | [] | no_license | lm165678/NeoEngine | 4d0675e248b62abe762965b6fb523c1d659e7736 | d9c0854b273da62b411e03b5b7dc8f30f4e7e011 | refs/heads/master | 2021-06-21T04:33:16.604535 | 2017-08-16T10:12:00 | 2017-08-16T10:12:00 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,591 | h | /********************************************************************
created: 14:12:2012 1:24
filename: ManipulatorScene.h
author: maval
purpose: 编辑器场景管理
*********************************************************************/
#ifndef ManipulatorScene_h__
#define ManipulatorScene_h__
#include "Singleton.h"
#... | [
"54639976@qq.com"
] | 54639976@qq.com |
ea1b7eaf89e39ea4f0a9f41141d1be1cfba55778 | 8e567498a9224d7c6bf71cfe66ec5360e056ec02 | /mars/boost/mpl/aux_/preprocessed/no_ttp/modulus.hpp | a9fbb9e31dc0b879211fbc392bde53e561205ac6 | [
"MIT",
"Zlib",
"LicenseRef-scancode-unknown-license-reference",
"OpenSSL",
"BSD-3-Clause",
"LicenseRef-scancode-openssl",
"LicenseRef-scancode-ssleay-windows",
"BSL-1.0",
"Apache-2.0",
"BSD-2-Clause"
] | permissive | Tencent/mars | db31afeeb5c0325bfceede594038381bce3c1635 | 6c7028fffe01e2b49a66c221b1ac2f548649053f | refs/heads/master | 2023-08-31T07:29:50.430084 | 2023-08-09T07:24:42 | 2023-08-09T07:24:42 | 76,222,419 | 18,118 | 3,828 | NOASSERTION | 2023-09-12T07:37:07 | 2016-12-12T04:39:54 | C++ | UTF-8 | C++ | false | false | 2,628 | hpp |
// Copyright Aleksey Gurtovoy 2000-2004
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// Preprocessed version of "boost/mpl/modulus.hpp" header
// -- DO NOT modify by hand!
namespace mars_... | [
"garryyan@tencent.com"
] | garryyan@tencent.com |
b1c6e8b0d1793a853cebffba5dd3bd4e88197797 | 6fb133f8b08b7fb442a1154820ef45e8d38cd3e9 | /1701.cpp | 7ef8cbbfc3986e2987b6942a0776c655b95fd492 | [] | no_license | SungMinCho/BOJ | 8a2bbf823d709bb41d4d1ba02f1dd135baba7bfb | 72e7ba70f9418644603b5349f6c79faaa0f07235 | refs/heads/master | 2020-04-12T11:16:57.923229 | 2018-12-25T12:21:24 | 2018-12-25T12:21:24 | 162,454,161 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 987 | cpp | #include <stdio.h>
#include <vector>
#include <stack>
#include <queue>
#include <set>
#include <map>
#include <string>
#include <algorithm>
#include <iostream>
#include <climits>
using namespace std;
inline int max(int a, int b) { return a > b ? a : b; }
void getPi(const string& s, vector<vector<int>>& pi) {
int m... | [
"tjdals4565@gmail.com"
] | tjdals4565@gmail.com |
1419cac8e9fe24e5839ba092c53f6bd7eb563f5e | da16754e5fb7d43db986d94d1642a5a9a8213c03 | /services/audio/public/cpp/input_ipc_unittest.cc | 634bc8c2b6372dcee53d13b5057096c66abc1398 | [
"BSD-3-Clause"
] | permissive | tigercosmos/labium | 8fd6c91f2d956c8e838c4991723b41f55fafab8f | 6be29d13da321139520e860d9aff958592d42552 | refs/heads/master | 2020-03-19T05:23:51.854102 | 2018-06-03T17:46:56 | 2018-06-03T18:08:41 | 135,926,710 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,837 | cc | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "services/audio/public/cpp/input_ipc.h"
#include "base/test/scoped_task_environment.h"
#include "media/mojo/interfaces/audio_data_pipe.mojom.h"
... | [
"b04209032@ntu.edu.tw"
] | b04209032@ntu.edu.tw |
64d4c86a59dc61f3aabfdb87c8657de45d00a872 | 63e58eb2b62c1ebc77c336ba0043518d6f6daa8f | /src/core/NEON/kernels/arm_gemm/kernels/a64_smallK_hybrid_s8s32_dot_4x6/a55.cpp | 2d6d2f064ce0061ea56f5ab91de8609e60d6f0bc | [
"MIT",
"LicenseRef-scancode-dco-1.1"
] | permissive | shenmayufei/ComputeLibrary | 5c2445d5e6fb88ee1c6a3f2b91bf12a705445a24 | 18b685f5d09ba07aa54e050f881a0befe3e36047 | refs/heads/master | 2022-12-10T07:30:58.523491 | 2020-08-21T09:26:22 | 2020-08-21T09:26:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 249,121 | cpp | /*
* Copyright (c) 2019 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* deal in the Software without restriction, including without limitation the
* rights ... | [
"bsgcomp@arm.com"
] | bsgcomp@arm.com |
1643f4ee6f89b94c272a33c342fe194808996769 | 953da97a68ec332c5dafa716900255e158d5b045 | /swift/lib/SILOptimizer/Transforms/SILCodeMotion.cpp | edc74a9e2e93a1692a736913dfe09251ae5ed3cc | [
"Apache-2.0",
"Swift-exception"
] | permissive | sysidos/swift-source | e4e129e01ca2059b42f54a452877a696f8ddf185 | 3b7e9c4b8bea53ffb3f74a8be6c42eb939296363 | refs/heads/master | 2022-12-01T16:26:00.004958 | 2020-08-07T11:55:06 | 2020-08-07T11:55:06 | 285,810,528 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 65,450 | cpp | //===--- SILCodeMotion.cpp - Code Motion Optimizations --------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... | [
"satish.babariya@gmail.com"
] | satish.babariya@gmail.com |
765887cc58783e550f298f7773e5f27463548a22 | afcb8a2f000099ec415ee72021ea2533030184fd | /include/Nazara/VulkanRenderer/VulkanShaderModule.inl | 5b9fc17d3381999386d167161099f20dad4b4f81 | [
"GPL-3.0-only",
"MIT",
"BSD-3-Clause",
"LicenseRef-scancode-proprietary-license",
"Apache-2.0"
] | permissive | NazaraEngine/NazaraEngine | b67397af8a355bed0389daafd3463f0695a1ab92 | 1b9c19fd788e6116984c2466bad0b75047012a6a | refs/heads/main | 2023-09-04T10:08:48.321299 | 2023-08-31T16:01:59 | 2023-08-31T16:01:59 | 4,192,801 | 207 | 23 | MIT | 2023-09-09T20:09:05 | 2012-05-01T14:08:17 | C++ | UTF-8 | C++ | false | false | 525 | inl | // Copyright (C) 2023 Jérôme "Lynix" Leclercq (lynix680@gmail.com)
// This file is part of the "Nazara Engine - Vulkan renderer"
// For conditions of distribution and use, see copyright notice in Config.hpp
#include <Nazara/VulkanRenderer/Debug.hpp>
namespace Nz
{
inline const Vk::ShaderModule& VulkanShaderModule::G... | [
"lynix680@gmail.com"
] | lynix680@gmail.com |
06c891e193d0b2a4373e12306efff9ac8b99a9fd | a3e63cbaa9a2b964d587c03f95ae09d4ec839fbf | /tests/gtests/test_convolution_backward_weights.cpp | 4a90211f30a7d158f3fd50dd1f056b65ed09070c | [
"Intel",
"Apache-2.0"
] | permissive | chtlp/mkl-dnn | 025cd7b413da7b6d35ab50d6edc31202b622c1ae | 0fc7bd337d827d310d029e5f4219eaf72ca12825 | refs/heads/master | 2021-01-11T10:21:01.072740 | 2016-10-10T04:01:06 | 2016-10-10T04:01:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,482 | cpp | /*******************************************************************************
* Copyright 2016 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.o... | [
"mikhail.istomin@intel.com"
] | mikhail.istomin@intel.com |
1bf16967671ff1152887c462bfe3a94610ff4815 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/git/gumtree/git_old_hunk_3732.cpp | 45cfdef9c064c36b631daf4223cb7564bd7ae865 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 806 | cpp | return df->size;
}
if (!driver->textconv)
die("BUG: fill_textconv called with non-textconv driver");
if (driver->textconv_cache && df->sha1_valid) {
*outbuf = notes_cache_get(driver->textconv_cache, df->sha1,
&size);
if (*outbuf)
return size;
}
*outbuf = run_textconv(driver->textconv, df, &siz... | [
"993273596@qq.com"
] | 993273596@qq.com |
91cc7453f93bce1b069d75b0629d865952a80881 | b38ae10e095ca5a73f47d45c80943f24265fdd1f | /cpp/map_crash.cpp | 12f82742ef99ccd02a3687255c93790d2b29f8e1 | [] | no_license | sarathmlp/archives | 7b88692de001ddf16e6370089443feb2499eb0b2 | 7016fabdb4a403f4c6be312ad16bb0b206498758 | refs/heads/master | 2023-01-10T02:44:26.221193 | 2017-04-20T06:50:16 | 2017-04-20T06:50:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 699 | cpp | #include <iostream>
#include <map>
#include <cstdlib>
#include <cstring>
using namespace std;
#define map map
int main()
{
typedef map<unsigned, string> var;
var* v1= new var;
// var* v1= (var*) malloc(sizeof(var));
// memset(v1,0,sizeof(var));
v1->insert(pair<unsigned,string>(0, "Frog"));
v1-... | [
"sarathmlp@gmail.com"
] | sarathmlp@gmail.com |
ccd0ea9d4759160a717733733a5c3733bf2420d4 | b816f8eaa33e1e74b201e4e1c729cb2e54c82298 | /riegeli/base/stable_dependency.h | d91b529229d049a1747817be1b10e058140a6731 | [
"Apache-2.0"
] | permissive | google/riegeli | b47af9d6705ba7fc4d13d60f66f506e528fa0879 | c2f4362609db7c961c7de53387931f0901daf842 | refs/heads/master | 2023-08-17T16:54:54.694997 | 2023-08-11T13:33:07 | 2023-08-11T13:36:05 | 116,150,035 | 366 | 59 | Apache-2.0 | 2023-04-09T21:13:32 | 2018-01-03T15:05:56 | C++ | UTF-8 | C++ | false | false | 7,214 | h | // Copyright 2018 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | [
"qrczak@google.com"
] | qrczak@google.com |
087f5816d9561638b2683b5a726b971c20b35ed8 | fda134cfb6771f14439d783d7d1f3d30a3a4d584 | /Ethereal/Private/Characters/Enemy/Standard/UndeadWarrior.cpp | 4cf9e4f3d104b1d705332d5ca2a0ba8031b6d9dc | [
"Apache-2.0"
] | permissive | Soleyu/EtherealLegends | b01562b7bfd48ed025faa2ba43947b5bfb9e3b2a | 69c6107dba3b4c3598d72f7cee9f6a68aa71cd34 | refs/heads/master | 2021-01-23T20:38:44.073943 | 2017-04-25T22:10:53 | 2017-04-25T22:10:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,272 | cpp | // © 2014 - 2017 Soverance Studios
// http://www.soverance.com
// 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 b... | [
"scott.mccutchen@soverance.com"
] | scott.mccutchen@soverance.com |
0e608b91a1e2ab2b111fab3c2a97001aec1f0a5c | b38e79b60909104a069f3f9a8a0fab64adf07665 | /src/solver.hpp | 281d2189f5d2ef053558e1d5f8a40253e88a7b43 | [] | no_license | pyrrhicPachyderm/interaction-partitioning | ec8b157195f5fa853092c97b4390504425355699 | 8d08ccd69159b5b2970ddbf48d5f85df4ee10dbb | refs/heads/master | 2023-04-18T19:29:47.347692 | 2023-02-25T08:32:20 | 2023-02-25T08:32:20 | 398,422,947 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,017 | hpp | #ifndef SOLVER_HPP
#define SOLVER_HPP
#include "grouping.hpp"
#include "data.hpp"
#include "parameters.hpp"
class Solver {
protected:
Model model;
Data data;
public:
Solver(Model model, Data data): model(model), data(data) {};
protected:
const Eigen::VectorXd &getObservations() {
return data.getObservat... | [
"pyrrhicpachyderm@gmail.com"
] | pyrrhicpachyderm@gmail.com |
18688151bde566a78207d4722c32b75dd9d83488 | 3f72804688e594a7426aeced8e154535f44a79dc | /src/masternodeconfig.cpp | 5e82cfb90bd9b4d8c50107ec6ff6e8fbd67910ea | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | cxccoin/cxc | 9d38bc324b096acef6275ac984837fd0c7dba4ac | afef248557cb315a99453a0622d502c79528ca57 | refs/heads/master | 2023-02-01T01:11:01.562897 | 2020-12-16T02:45:42 | 2020-12-16T02:45:42 | 321,847,308 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,210 | cpp | // Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
// clang-format off
#include "net.h"
#include "masternodeconfig.h"
#include "util.... | [
"koipayment.cxc@gmail.com"
] | koipayment.cxc@gmail.com |
d0345fe460bca0cbb21362742642abbd20f6a8df | 6ab9a3229719f457e4883f8b9c5f1d4c7b349362 | /seletiva/IME-USP2009/estiagem.cpp | 26cb3135fbc5fdc2b31465b5515cdc875a6457ac | [] | no_license | ajmarin/coding | 77c91ee760b3af34db7c45c64f90b23f6f5def16 | 8af901372ade9d3d913f69b1532df36fc9461603 | refs/heads/master | 2022-01-26T09:54:38.068385 | 2022-01-09T11:26:30 | 2022-01-09T11:26:30 | 2,166,262 | 33 | 15 | null | null | null | null | UTF-8 | C++ | false | false | 865 | cpp | #include <cstdio>
#include <algorithm>
#include <cstdlib>
#include <cmath>
using namespace std;
struct city {
int x, y, cmed;
}c[1000];
bool ord(city a, city b){
return (a.cmed < b.cmed);
}
int main(void){
int i, N, tp, tx, ty;
bool first;
for(int cnum = 1; scanf("%d",&N) && N != 0; cnum++){
for(i = tx = ty = ... | [
"mistermarin@gmail.com"
] | mistermarin@gmail.com |
aca25e3351d74f6bc234c07244b9fe5df4673d12 | 1ca22c3dead23a2924f5b6aeb7e87abb33235ce4 | /WinDiff/DefineFileFormatDlg.h | 7b5a3856580cd318fbf227854849723bae06e969 | [] | no_license | bienhuynh/Big-Numbers | 01379a31f32993e881f92d253a40bef539823cbf | 54470c914bbceca91120a74ca139bca29a9f983e | refs/heads/master | 2021-01-22T19:17:58.077391 | 2017-01-18T19:27:33 | 2017-01-18T19:27:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,038 | h | #pragma once
#include "resource.h"
#include "FileFormat.h"
class CDefineFileFormatDlg: public CDialog {
public:
CDefineFileFormatDlg(FileFormat ¶m, const String &sampleline, CWnd *pParent = NULL);
FileFormat &m_param;
enum { IDD = IDD_DIALOGCOLUMNS };
UINT m_columnFrom;
UINT m_columnTo;... | [
"jesper.gr.mikkelsen@gmail.com"
] | jesper.gr.mikkelsen@gmail.com |
0ae23d8ae5865bc84d2a005bf2d069ba758473de | b27f390c3b3df315497c97d997a1019a42d6662f | /renderer/abstract_renderable.hpp | ba002f5af8a66425d87fe4f35dd0d41ac9eecae4 | [
"MIT"
] | permissive | cmaughan/Granite | 5df9cb5869d9b8e1ba26d8c6e4a3dcb8f71d37c9 | a7a2e62e8a60dc4da50a841d3954f0f4cd5c0039 | refs/heads/master | 2021-06-22T21:26:22.703346 | 2017-08-15T06:50:49 | 2017-08-15T06:50:49 | 100,508,734 | 1 | 0 | null | 2017-08-16T16:13:26 | 2017-08-16T16:13:26 | null | UTF-8 | C++ | false | false | 2,326 | hpp | /* Copyright (c) 2017 Hans-Kristian Arntzen
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, ... | [
"maister@archlinux.us"
] | maister@archlinux.us |
bd52d82a7d859f9de19e13c7a55762dc01792126 | 21f30e38d4b726fb6d880a9e59fa202e2aebe50a | /Voxels/Renderer.cpp | 5f35b5bb513804c86068c8214bea5bbbed8fb44d | [] | no_license | GeraldBostock/Voxel-Engine | a12f0f722f88c78be564e473855b5a6290ca24d1 | 484ce38ceb3eb971fb636251481d468e4004a6ff | refs/heads/master | 2021-09-07T01:21:48.418748 | 2018-02-14T21:40:44 | 2018-02-14T21:40:44 | 120,044,004 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 620 | cpp | #include "Renderer.h"
Renderer::Renderer()
{
}
Renderer::~Renderer()
{
}
void Renderer::prepare()
{
glEnable(GL_DEPTH_TEST);
glClearColor(0.4f, 0.79f, 0.8f, 1.0f);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
}
void Renderer::renderMesh(Mesh* mesh)
{
glBindVertexArray(mesh->getVaoID());
//glBindVerte... | [
"doga.uzunali@gmail.com"
] | doga.uzunali@gmail.com |
8212723b6c3cad8c1b9cfcf4bca1d624c2587fbc | 320a98c766f78f0b964f92cf4fb9cc16a9e9a715 | /MonsterForest/Include/ObjectScript/Shield.cpp | 8c00ae8a44d5b76138a6e54babee7474543ee23b | [] | no_license | LipCoding/ProjectGOD | 058b217ba7705da3b1d38c2cf40ae67fcf462aaa | c63462d800cbbcb36d7fc0a11d909f77f287c980 | refs/heads/master | 2022-03-12T21:04:53.374351 | 2019-10-16T02:53:07 | 2019-10-16T02:53:07 | 166,417,935 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 721 | cpp | #include "Shield.h"
#include "Component/Transform.h"
#include "GameObject/GameObject.h"
CShield::CShield()
{
SetTag("Shield");
SetTypeName("CShield");
SetTypeID<CShield>();
m_pArm = NULL;
}
CShield::CShield(const CShield & shield) :
CScript(shield)
{
m_fSpeed = shield.m_fSpeed;
m_pArm = NULL;
}
CShield::~CShi... | [
"sb921204@naver.com"
] | sb921204@naver.com |
b67d61a54a0bb7f86654215bf556319e048ab15e | a3fe1a1c275a04799536166a5b278a0b590592ff | /bin/sinsy.cpp | 61b735891cf0b3c0a307dcaba3c4136870987e51 | [
"BSD-3-Clause"
] | permissive | lidianxiang/sinsy0.91 | d4b6e160be0b58a26d5d3d60084ba374bef646b0 | 249bd757c975436824b88aa773ecb4078eb4d696 | refs/heads/master | 2020-07-31T06:55:58.779982 | 2018-06-26T21:51:49 | 2018-06-26T21:51:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,231 | cpp | /* ----------------------------------------------------------------- */
/* The HMM-Based Singing Voice Synthesis System "Sinsy" */
/* developed by Sinsy Working Group */
/* http://sinsy.sourceforge.net/ */
/* -----------------------------... | [
"klimashevskaya.anastasia@gmail.com"
] | klimashevskaya.anastasia@gmail.com |
e0363c48eecafb0046a218d46114fdd9fafec0c2 | 23ace58d05876953cb78ff44f963b8e79070889c | /codeforces/1041C.cpp | 21b98b9b193fd0c231684cd2ff774a600df98e67 | [] | no_license | InTheBloodHorse/ACM | ae9d2fccb33efee2d54b530eba0b0640aff5ae43 | 7a1a5c7d3b5e1ede7c62b484f91e89bcf012bd5d | refs/heads/master | 2020-03-28T09:01:59.552044 | 2019-04-30T13:37:58 | 2019-04-30T13:37:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 731 | cpp | #include<bits/stdc++.h>
using namespace std;
struct node{
int x;
int index;
}po[200005];
map<int,int> m;
priority_queue<int,vector<int>,greater<int> > q;
int cmp(node a,node b){
return a.x < b.x;
}
int cmp_index(node a,node b){
return a.index < b.index;
}
int main()
{
int n,m1,d;
cin >> n >> m1 >> d;
for(in... | [
"2495088064@qq.com"
] | 2495088064@qq.com |
0425e480878f7139d7f7fb6e3981159d406211f0 | cacf83ff60d8cfdf53ae82522e2b2acf903cbfaa | /NBodyOMPSerial.cpp | 145035ebd155e85f1cff14407529d5a1962b5b55 | [] | no_license | irfannurhakim/uas-sbt-takehome | 443313bccced5a93c2b4faaf074e07aeb6050f0a | 6dee3de629fbc8f65ab1e67464290d267156ba38 | refs/heads/master | 2021-01-02T09:44:21.218422 | 2012-12-13T09:54:17 | 2012-12-13T09:54:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,694 | cpp | #include <stdlib.h>
#include <stdio.h>
#include <cmath>
#include <ctime>
//#include <omp.h>
using namespace std;
int N=1600;
float *x, *y, *z, *m;
void init_matrix(float *a, float *b, float *c, float *m) {
for (int i = 0; i < N; i++) {
a[i]= (float) i+1;
b[i]= (float) i+1;
c[... | [
"myfunareaa@gmail.com"
] | myfunareaa@gmail.com |
51d406f9e087dc4c53271b6043df4b601d869342 | c726145075755c6d3d36b81af64e0f4049451da4 | /include/nme/Extent.h | 40aaed3798dd06c3cb69e2e12fff484a3df37fd3 | [
"MIT"
] | permissive | haxenme/nme | edf20c532aebb7dee24300826fbb39a2d92f4e99 | 059bf21844a13fdcf30633b7d53ce4a3daae17bf | refs/heads/master | 2023-08-17T00:47:15.797892 | 2023-08-13T06:26:32 | 2023-08-13T06:26:32 | 5,051,566 | 205 | 54 | MIT | 2023-02-27T11:03:40 | 2012-07-14T22:19:48 | C | UTF-8 | C++ | false | false | 3,234 | h | #ifndef NME_EXTENT_H
#define NME_EXTENT_H
namespace nme
{
template<typename T_>
struct Extent2D
{
T_ minX,maxX;
T_ minY,maxY;
bool validX,validY;
Extent2D() : validX(false), validY(false)
{
minX = minY = maxX = maxY = 0;
}
template<typename P_>
inline void... | [
"gamehaxe@gmail.com"
] | gamehaxe@gmail.com |
53d40d3a8609450a0bddea75c5722db1b9c76ac9 | 88ae8695987ada722184307301e221e1ba3cc2fa | /third_party/nearby/src/internal/test/fake_task_runner_test.cc | e778d0ae370fe6b1b4621732d3e35b33c8865eb7 | [
"BSD-3-Clause",
"Apache-2.0",
"LGPL-2.0-or-later",
"MIT",
"GPL-1.0-or-later",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | iridium-browser/iridium-browser | 71d9c5ff76e014e6900b825f67389ab0ccd01329 | 5ee297f53dc7f8e70183031cff62f37b0f19d25f | refs/heads/master | 2023-08-03T16:44:16.844552 | 2023-07-20T15:17:00 | 2023-07-23T16:09:30 | 220,016,632 | 341 | 40 | BSD-3-Clause | 2021-08-13T13:54:45 | 2019-11-06T14:32:31 | null | UTF-8 | C++ | false | false | 4,658 | cc | // Copyright 2022-2023 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 t... | [
"jengelh@inai.de"
] | jengelh@inai.de |
01aea30d99b29fc9a2145535a465dd8eee82d4fd | a3c7d13d1204d06e14537a6152d1e33fca16419f | /GesturesVisualizer/Source/Model/Vertex.h | daa30afe3533823a5bdb673e755ad20b28e6044b | [
"MIT"
] | permissive | Victorma/LeapGesture-library | 5648b64895fd2b912394918f776db7e508aaf867 | 31c620932648aa9ade4b71f5b091bc405ca19955 | refs/heads/master | 2021-01-17T21:23:32.425702 | 2016-04-02T13:28:43 | 2016-04-02T13:28:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 848 | h | #ifndef VERTEX_H_INCLUDED
#define VERTEX_H_INCLUDED
#include <iostream>
#include <math.h>
class Vertex
{
public:
Vertex() {}
Vertex(float x, float y, float z);
float getX() const
{
return this->x;
}
void setX(float x)
{
this->x = x;
}
float getY() const
{
return this->y;
}
void setY(flo... | [
"katarzyna.zjawin@gmail.com"
] | katarzyna.zjawin@gmail.com |
94ffdf08621311902d59090ed2265057180037c8 | 2fbf5b6d174c1c46eedd1b23f31af11a20ee49d6 | /Include/10.0.14393.0/winrt/Windows.ApplicationModel.VoiceCommands.h | 51327ee8779dfb23aef09c3ff041534669615ef6 | [] | no_license | ojdkbuild/tools_toolchain_sdk10_1607 | f33e01ee825bed4cf09db88844658de9fb84bc17 | a3b2cdc2d3e74f81484514056b17ccc031df6739 | refs/heads/master | 2021-08-30T07:23:14.674769 | 2017-12-16T18:04:05 | 2017-12-16T18:04:05 | 114,480,401 | 2 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 312,322 | h |
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 8.01.0618 */
/* @@MIDL_FILE_HEADING( ) */
/* verify that the <rpcndr.h> version is high enough to compile this file*/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__... | [
"akashche@redhat.com"
] | akashche@redhat.com |
3841fa2c475d375063d1c8820397cbc152fe01c8 | c6885cb056876cf02998e71c70ecf756506798ff | /MemoryAllocator/Private/Utilities.cpp | ca80c8e5e53652364ab279b969be041d222d0d1e | [] | no_license | Frankjaamy/ParkingLord-GameEngine- | 1d0a355138b7586effd4ebc4dbece84b209ae550 | 785d5be30bb7dd42890684530b3dbaee9ce98909 | refs/heads/master | 2021-05-15T10:46:37.735233 | 2017-10-25T00:58:13 | 2017-10-25T00:58:13 | 108,200,128 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,503 | cpp | #include "Utilities.h"
#include "Utilities\MyOwnAssert.h"
namespace AllocatorTools {
void swapBlock(DescriptionBlock * p1, DescriptionBlock * p2) {
if (p1 == p2) {
return;
}
void * p = p2->pBlock;
size_t size = p2->iBlockSize;
intptr_t offset = p2->offset;
p2->iBlockSize = p1->iBlockSize;
p2->pBloc... | [
"u1072146@ad.utah.edu"
] | u1072146@ad.utah.edu |
cf9a08db70bfc3a14980742f7573ced3e0956f81 | aef98b9f077dcc538bb0dc6ec8247ac5f87bbb48 | /src/predicates.cpp | 2c9881df6258414818433b0ed4288a4c7fa90b00 | [] | no_license | bastikr/bakr | aa31ed1367a996a6ac28a5547afcc57b4545876d | c6de566e4930065a550305951f6fb31b8742531a | refs/heads/master | 2020-04-11T21:48:34.570919 | 2018-12-19T06:13:35 | 2018-12-19T06:13:35 | 162,116,579 | 0 | 0 | null | 2018-12-18T15:30:45 | 2018-12-17T10:54:49 | C++ | UTF-8 | C++ | false | false | 1,945 | cpp | #include "bakr/predicates.h"
namespace bakr {
namespace predicate {
bool is_collinear(const IntPoint& a, const IntPoint& b, const IntPoint& c) {
return (b.X - a.X) * (c.Y - a.Y) == (c.X - a.X) * (b.Y - a.Y);
}
bool is_left(const IntPoint& a, const IntPoint& b, const IntPoint& c) {
return (b.X - a.X) * (c.Y - a.... | [
"basti.kr@gmail.com"
] | basti.kr@gmail.com |
eebd271c77398cccb19787b0c7a360342a669c48 | 24409cb8160b821503bf1366e7b2a725042fa280 | /test/InputReaderTest.cpp | 0d75b096c053ccea42d70e8ec936793eb0b9dee1 | [] | no_license | peferreira/networkSimplexTest | 1665fe6ac4e8a3eef765f0dd18d4d4968530aaea | 5bf97111fb26407707457b6178a12b3073abb098 | refs/heads/master | 2016-09-03T06:35:59.748699 | 2014-07-09T07:25:27 | 2014-07-09T07:25:27 | 21,486,820 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 836 | cpp | #include "gtest/gtest.h"
#include "InputReader.h"
#include "Graph.h"
class InputReaderTest: public ::testing::Test {
protected:
InputReader inputReader;
};
TEST_F(InputReaderTest, inputReaderOpenFile){
Graph *G;
G = new Graph();
ASSERT_EQ(1,inputReader.loadFile(G));
}
TEST_F(InputReaderTest, checkInputReadsCo... | [
"peferre89@gmail.com"
] | peferre89@gmail.com |
01e47851f653731f9d4758cd7fe06a219ba6dce1 | 71501709864eff17c873abbb97ffabbeba4cb5e3 | /llvm13.0.0/flang/lib/Semantics/check-directive-structure.h | 05b1a94a2d7664c275f8853059a692917265d99d | [
"LLVM-exception",
"Apache-2.0"
] | permissive | LEA0317/LLVM-VideoCore4 | d08ba6e6f26f7893709d3285bdbd67442b3e1651 | 7ae2304339760685e8b5556aacc7e9eee91de05c | refs/heads/master | 2022-06-22T15:15:52.112867 | 2022-06-09T08:45:24 | 2022-06-09T08:45:24 | 189,765,789 | 1 | 0 | NOASSERTION | 2019-06-01T18:31:29 | 2019-06-01T18:31:29 | null | UTF-8 | C++ | false | false | 19,149 | h | //===-- lib/Semantics/check-directive-structure.h ---------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | [
"kontoshi0317@gmail.com"
] | kontoshi0317@gmail.com |
ccf0e6677339a27f4ccd81dba265d3675378bafe | a09400aa22a27c7859030ec470b5ddee93e0fdf0 | /stalkerrender/source/r3/r3_rendertarget_phase_scene.cpp | 7bfce61f9607f8c786fe83846af3d6e25e88d2b8 | [] | 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 | 5,817 | cpp | #include "stdafx.h"
// startup
void CRenderTarget::phase_scene_prepare ()
{
PIX_EVENT(phase_scene_prepare);
// Clear depth & stencil
//u_setrt ( Device.dwWidth,Device.dwHeight,HW.pBaseRT,NULL,NULL,HW.pBaseZB );
//CHK_DX ( HW.pDevice->Clear ( 0L, NULL, D3DCLEAR_ZBUFFER|D3DCLEAR_STENCIL, 0x0, 1.0f, 0L) );
// Igor: ... | [
"i-sobolevskiy@mail.ru"
] | i-sobolevskiy@mail.ru |
53725b2fc44727ed428ea6b9764bcc2e3ce74b48 | a2111a80faf35749d74a533e123d9da9da108214 | /raw/pmsb13/pmsb13-data-20130530/sources/24xc47o54r0zzgyu/2013-05-16T16-18-51.817+0200/sandbox/my_sandbox/apps/SeqDPT/demultiplex_test.cpp | 81495713bff48994bd334dced70ac7747c519e36 | [
"MIT"
] | permissive | bkahlert/seqan-research | f2c550d539f511825842a60f6b994c1f0a3934c2 | 21945be863855077eec7cbdb51c3450afcf560a3 | refs/heads/master | 2022-12-24T13:05:48.828734 | 2015-07-01T01:56:22 | 2015-07-01T01:56:22 | 21,610,669 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,102 | cpp | #undef SEQAN_ENABLE_TESTING
#define SEQAN_ENABLE_TESTING 1
#include <seqan/find.h>
#include <seqan/basic.h>
#include <seqan/sequence.h>
#include <seqan/index.h>
#include <seqan/seq_io.h>
#include "demultiplex.h"
using namespace seqan;
SEQAN_DEFINE_TEST(check_test)
{
StringSet<String<Dna5Q> > seqs;
appendValue(seqs... | [
"mail@bkahlert.com"
] | mail@bkahlert.com |
e2313c2f45a93c9184d519f3adf58ecc97787cd5 | 9e682ad0654d72f470d88897cd6452d12ced24bc | /main/diamond.cpp | cfb12443f100e530613f0c79b685ef83e5b86cf2 | [] | no_license | sakuya213/figures-c-- | c9bc20e1f8a632f65f2183670c312c4bd9c40a67 | a88c5139d5c8ea3497a5cf3dd6fc1531d7e54a16 | refs/heads/master | 2020-05-18T02:49:12.768932 | 2015-01-20T09:32:19 | 2015-01-20T09:32:19 | 29,163,669 | 0 | 1 | null | 2015-01-24T00:41:53 | 2015-01-13T00:07:02 | C++ | UTF-8 | C++ | false | false | 881 | cpp | #include "diamond.h"
#include "point.h"
#include "figure.h"
#include <cmath>
Diamond::Diamond(Point _a, Point _b, Point _c, Point _d){
this->points[0] = _a;
this->points[1] = _b;
this->points[2] = _c;
this->points[3] = _d;
}
double Diamond::getCircumference()
{
double cir = 0;
for(int i=0;i<4;i++){
cir += sqr... | [
"jaroslaw.kotlorz@gmail.com"
] | jaroslaw.kotlorz@gmail.com |
cdd4b171cd0ea2288ecfc2aff385bc1e95bc7781 | 11c81d3034acbec8c1c6b630e9cc2b8917371b5e | /src/lexer.cpp | 49b85c318f3e0adefecf1366616e19b49c4217bb | [] | no_license | Embraser01/INSA-GL-Compilo | 18f50747386edaa24a1e1e028a804e2fa852d9b3 | 038c0c1eb15a38f97d8fd9fc94f442399f366667 | refs/heads/master | 2021-03-19T18:48:31.686148 | 2018-02-26T16:11:22 | 2018-02-26T16:11:22 | 121,745,284 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,517 | cpp | #include "lexer.h"
Symbole *Lexer::Consulter() {
isConsumed = true;
if (!tampon) {
if (tete == flux.length())
tampon = new Symbole(FIN);
else {
switch (flux[tete]) {
case '(':
tampon = new Symbole(OPENPAR);
tete++... | [
"embraser01@gmail.com"
] | embraser01@gmail.com |
ae14cdd6f486498b4a74d11e3f5490ed3524b3b4 | 2fd8cd1b9db4e9c1605ca306ac86f2cdab1af3e8 | /src/test_std_string_assign.cpp | 01c054d650a9404d0fd79c2f36e1b6dc5e34403c | [] | no_license | commshare/testCPP | f2642eabd0c65669f479e4db6791ade727257bc7 | 81ec9e84df7f133513335ce55ad9b17c38cb7910 | refs/heads/master | 2020-04-05T14:38:56.977803 | 2020-02-25T09:23:51 | 2020-02-25T09:23:51 | 41,774,178 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 504 | cpp | /*
如何在VSCode内编译运行C++?
http://www.jianshu.com/p/d0350f51e87a
*/
#include<string>
#include<iostream>
#include <cstdio>
using namespace std;
main()
{
string s("12345asdf");
string a=s.substr(0,4); //获得字符串s中 从第0位开始的长度为4的字符串
cout<<a<<endl;
string str1, str2 = "War and Peace";
str1.assign( str2, 4, 3... | [
"zhangbincodec@gmail.com"
] | zhangbincodec@gmail.com |
be2749b5472c0dbb0c1d45bcf8c35c183e2d327e | 7826b906ac2437b116cf08e1236404ffe31dbd3f | /4 udp networking/4 Chat complete/main.cpp | e4132d01b596184588cc9f8ff82b0cebd12f5121 | [] | no_license | eme64/SFML-Coding | eb0c1f1236a1d273ecfd50b1f88e6913da0d3b3c | 59313ccbdeec63cb8f2392adc15a49d8dadfe883 | refs/heads/master | 2023-04-28T16:27:50.262109 | 2023-04-20T11:40:12 | 2023-04-20T11:40:12 | 118,279,971 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 36,818 | cpp | #include <stdlib.h>
#include <iostream>
#include <cmath>
#include <cstddef>
#include <cstring>
#include <functional>
#include <SFML/Graphics.hpp>
#include <SFML/Network.hpp>
#include <list>
#include <queue>
#include <map>
#include <time.h>
struct NServerClient_identifier;
struct NServerClient;
struct NServer;
struct... | [
"emanuel.peter@hotmail.com"
] | emanuel.peter@hotmail.com |
a0c7a23dd57c4b1a054286a1be1a458f3b66ab07 | 788b4664f114e03e2d84060615f5451dc662d66e | /drop/container_demo.h | d3c111b8bbc61d43384f73eedb6386f4004436ed | [] | no_license | zhouxindong/rola | dbdd7fb3bf034ed084ac67efcb9b59b6de0bb657 | 04b8b039b8786ee123c3a85467869c7708da185d | refs/heads/main | 2023-07-29T10:58:24.271940 | 2021-08-27T07:30:13 | 2021-08-27T07:30:13 | 305,242,132 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,471 | h | #include <stddef.h>
#include <utility>
// 1. assignable model
// 2. constructible model
template <class T, size_t N>
struct block
{
T data[N];
typedef T value_type;
typedef value_type* pointer;
typedef const value_type* const_pointer;
typedef value_type& reference;
typedef const value_type& const_r... | [
"zhouxindong@163.com"
] | zhouxindong@163.com |
1ae64210c48d3af26a5db082e15d9943eb67925a | 2d034916c594009f331d6a75d0b1c523f7895f0c | /CH4.4_1/CH4.4_1/CH4.4_1.cpp | f760996961f80d264b026afbe906e92f94d0bfa0 | [] | no_license | abagde93/Cplusplus-tutorials | d23684ba31e90d7700a7c0b38f98c9210e9885c6 | 18559c1900da924360c9f53513766a5e030c0b85 | refs/heads/master | 2021-01-21T05:21:14.688212 | 2017-03-10T08:07:15 | 2017-03-10T08:07:15 | 83,183,039 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,130 | cpp | #include "stdafx.h"
#include <iostream>
//Define Advertising struct
struct Advertising
{
int adsShown;
double clickThroughRatePercentage;
double averageEarningsPerClick;
};
void printAdvertising(Advertising ad)
{
using namespace std;
cout << "Number of ads shown: " << ad.adsShown << endl;
cout << "Click through... | [
"ajinkya.abhijit.bagde@gmail.com"
] | ajinkya.abhijit.bagde@gmail.com |
faf173041cc4a01007f6ae8ac82dda30d78b4871 | 87a5bd6570bbc22f389a8f5c2cee7b7a3ec512e7 | /easy/18_ContainsDuplicate_II.cpp | 173461d51d8c9c63ad480eae6c8116e69de45f99 | [] | no_license | pdixit26/leetcode | 542a80b3fc3769f1df888d54a24122fdd946eb31 | 98ac395badfc60d546cf6d480cdd9dd27f7de818 | refs/heads/master | 2020-04-23T11:34:32.352118 | 2019-03-03T16:59:45 | 2019-03-03T16:59:45 | 171,140,943 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 546 | cpp | Given an array of integers and an integer k, find out whether there are two distinct indices i and j in the array such that nums[i] = nums[j] and the absolute difference between i and j is at most k.
SOlution:
public:
bool containsNearbyDuplicate(vector<int>& nums, int k) {
map<int, int> mp;
for(i... | [
"pdixit26@gmail.com"
] | pdixit26@gmail.com |
5108759e1f5782b30a1a080f4c3e44ce9b865b76 | b16e2f8cc94df8320f9caf8c8592fa21b1f7c413 | /HDUOJ/6343/greedy.cpp | 977434286872bd364a533a79d87dda26c64b4742 | [
"MIT"
] | permissive | codgician/Competitive-Programming | 000dfafea0575b773b0a10502f5128d2088f3398 | 391f3ce9b89b0a4bbbe3ff60eb2369fef57460d4 | refs/heads/master | 2022-06-13T04:59:52.322037 | 2020-04-29T06:38:59 | 2020-04-29T06:38:59 | 104,017,512 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 822 | cpp | #include <iostream>
#include <cstdio>
#include <algorithm>
#include <cmath>
#include <string>
#include <cstring>
#include <iomanip>
#include <climits>
#include <stack>
#include <queue>
#include <vector>
#include <set>
#include <map>
#include <functional>
#include <iterator>
using namespace std;
#define SIZE 100010
lo... | [
"codgician@users.noreply.github.com"
] | codgician@users.noreply.github.com |
633a67910c62bdf882b340848f9cb39acb343f0b | 2cd5288a26b969775c59be81d71c2ae2ad995070 | /Compilation/Essay/Interoperation/Variable.h | 0a993a43a4ad9d736eca18cd4be17c6b36d2087c | [] | no_license | ArcaneSoftware/Dominion.Lexyacc | 3f30cccf6f409e818d9cd1314c07d0999c8310c2 | 1f6035a03dfb28b3811997a3d33093af6c9f0700 | refs/heads/master | 2022-06-16T10:26:54.003065 | 2017-03-10T01:53:31 | 2017-03-10T01:53:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,200 | h | //********************************************************************************************************************//
//ORGANIZATION:
//AUTHOR:
//SUMMARY:
//********************************************************************************************************************//
#pragma once
#include "Dominion/Compilat... | [
"bogers.peng@hotmail.com"
] | bogers.peng@hotmail.com |
0d2e6e2ef6506050658413039c4261e0c5fa703d | 0f3b837e02f39a15908a2bb4eb65ff283392889f | /StateMachine_t/State.cpp | 13932eda2c2fed369e068f4f7e228e0e9cae1ec9 | [] | no_license | maxagi/State_Machine | 684c7049ee891f8b4da14ad44c28880b302c7555 | 62087eba716f3e38b36cc1ffdd29dab5bde76a93 | refs/heads/master | 2020-04-05T23:41:59.512137 | 2014-06-30T06:50:30 | 2014-06-30T06:50:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 348 | cpp | #include "State.h"
using namespace std;
void State::serialize(Archive& stream) {
if (stream.isStoring())
{
stream << state_id << accepting;
}
else
{
id_type id;
stream >> id;
*(const_cast<State::id_type *>(&state_id)) = id;
int _accepting;
stream >> _accepting;
*(const_cast<State::id_type *>(&acc... | [
"maxagi.tau@gmail.com"
] | maxagi.tau@gmail.com |
39b6fce2ef881d7f9c279cc06e27551ab3c66b36 | 093858c8a1ba13d532d6a1e53da5d512b3aeecd6 | /Code/Sandbox/Engine/command.h | 6335ba894db0a9f1f9e0a7727699b05ea3280b8c | [] | no_license | aaronwhitesell/Sandbox | f941f5044631d5d4431159f74716f1eb61f5ee35 | 165bf831991533b83f8da67689541bcd46102217 | refs/heads/master | 2021-01-16T00:57:09.841602 | 2015-10-08T02:48:35 | 2015-10-08T02:48:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 640 | h | #ifndef COMMAND_H
#define COMMAND_H
#include "category.h"
#include <SFML/System/Time.hpp>
#include <functional>
#include <cassert>
class SceneNode;
struct Command
{
typedef std::function<void(SceneNode&, sf::Time)> Action;
Command();
Action action;
unsigned int category;
};
templ... | [
"axwhitesell@gmail.com"
] | axwhitesell@gmail.com |
a267a459d1fb41f76f8b46c766377e884a910919 | 49106617ca04757bdf5ef5da3e3a47abcb607d46 | /src/RcppExports.cpp | 0a10ffb2072a173bbc1092d7016d8c033d2c3b58 | [] | no_license | Caiyunnn/StatComp20040 | 7e8cc5587b85f298b3605bd97b6ba7376eb92b1a | e250115a9ccbc8a0dca2a9224db1cb066e6d3c4b | refs/heads/master | 2023-01-30T10:24:37.557696 | 2020-12-19T15:57:53 | 2020-12-19T15:57:53 | 322,839,322 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 977 | cpp | // Generated by using Rcpp::compileAttributes() -> do not edit by hand
// Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
#include <Rcpp.h>
using namespace Rcpp;
// rwc
List rwc(double sigma, double x0, int N);
RcppExport SEXP _StatComp20040_rwc(SEXP sigmaSEXP, SEXP x0SEXP, SEXP NSEXP) {
BEGIN_RCPP
... | [
"cele_fighting@163.com"
] | cele_fighting@163.com |
31ca57ddd3517bac4a06e078d7179365902ea2c0 | 9d7a8d3e8d5df680c32fa70c73ef7c2820986187 | /.history/D05/ex03/Intern_20210311193257.cpp | cdef9b9e794cb5d54cf2867795078b3ebd9aeb11 | [] | no_license | asleonova/cpp | dc2d606e361ffdfa2013953f68bd0da4530f34bc | adfaecc238cdb63053b34b106869d3185204d73a | refs/heads/master | 2023-04-06T19:27:21.725162 | 2021-04-13T19:18:00 | 2021-04-13T19:18:00 | 337,834,070 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,318 | cpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* Intern.cpp :+: :+: :+: ... | [
"dbliss@oa-d1.msk.21-school.ru"
] | dbliss@oa-d1.msk.21-school.ru |
bdc8ee0f033acd5442ee7f7ef7a408e74128be3b | 385021ee821bedfe372f7d93b880e2a8f0821f53 | /stack/intoPost.cpp | 47e9ad5237df1ec40f4d0ee805b9a4ea1288114f | [] | no_license | indranil2507/cpp | ee0fbb9bf0d00358c356367f9b63e0f11c1b8f50 | af4221a55ba760d57b22411365377ac34e1c4938 | refs/heads/master | 2023-06-13T01:32:47.420511 | 2021-07-08T15:12:29 | 2021-07-08T15:12:29 | 327,627,448 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,259 | cpp | #include <iostream>
#include <stack>
using namespace std;
int prec(char c)
{
if (c == '^')
{
return 3;
}
else if (c == '/' || c == '*')
{
return 2;
}
else if (c == '+' || c == '-')
{
return 1;
}
else
{
return -1;
}
}
string infixToPostfix(... | [
"iindranilsaha1@gmail.com"
] | iindranilsaha1@gmail.com |
c0c90009dd253950c43e3b87c823ef47f6804ded | e74f6c3b0d224c799d069b86bb99a42aa87b3833 | /tutorials/parsing/calc_value.hpp | af9dbde6a1316cbdf6154f46cf52188425b3b10e | [] | no_license | llGuy/msdev | 1e42272fdd97a3322c41406f83dabe07ee766b6f | 9db03513fc0febcaccb542bc75f40f28a26c1721 | refs/heads/master | 2021-05-01T19:16:45.684277 | 2018-05-15T20:14:03 | 2018-05-15T20:14:03 | 121,017,766 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 613 | hpp | #include <string>
class ValueType {
public:
typedef enum {
tInt,
tStr
} Type;
private:
int m_intVal;
std::string m_strVal;
ValueType::Type m_type;
public:
ValueType(int v) : m_intVal(v), m_type(tInt), m_strVal(std::to_string(v)) {};
ValueType(const std::string & s) : m_strVal(s), m_type(tStr),... | [
"luc.rosenzweig@yahoo.com"
] | luc.rosenzweig@yahoo.com |
3d46cdd73411472df99b28a07a4a56d20757d00f | f2310a06920d9cefaf1a36e827aa7aa93b331a29 | /src/rpc/budget.cpp | b02ec8890200f9be5bfbd901cb443d5e707888ec | [
"MIT"
] | permissive | AltcoinBaggins/test | 961f19b4a27a8ecf055c791868e76b940c843412 | fccaef6927284620c224e158e6b60e3f014cdefd | refs/heads/main | 2023-06-19T13:53:52.674219 | 2021-07-14T15:15:32 | 2021-07-14T15:15:32 | 385,512,433 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 40,669 | cpp | // Copyright (c) 2014-2015 The Dash developers
//Copyright (c) 2015-2020 The PIVX developers
//Copyright (c) 2020 The earnscoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "activemasternode.h"
#includ... | [
"earnscoin@gmail.com"
] | earnscoin@gmail.com |
203e5fff7d78f71bfb77183eacafb0a55ce3c675 | 64178ab5958c36c4582e69b6689359f169dc6f0d | /vscode/wg/sdk/FBattleRoyalePoisionGasData.hpp | 977bbeb564d01b21e61bcc38a1b0f463ff1757a4 | [] | no_license | c-ber/cber | 47bc1362f180c9e8f0638e40bf716d8ec582e074 | 3cb5c85abd8a6be09e0283d136c87761925072de | refs/heads/master | 2023-06-07T20:07:44.813723 | 2023-02-28T07:43:29 | 2023-02-28T07:43:29 | 40,457,301 | 5 | 5 | null | 2023-05-30T19:14:51 | 2015-08-10T01:37:22 | C++ | UTF-8 | C++ | false | false | 6,063 | hpp | #pragma once
#ifdef _MSC_VER
#pragma pack(push, 1)
#endif
namespace PUBGSDK {
struct alignas(1) FBattleRoyalePoisionGasData // Size: 0x40
{
public:
float StartDelay; /* Ofs: 0x0 Size: 0x4 FloatProperty TslGame.BattleRoyalePoisionGasData.StartDelay */
float WarningDuration; /* Ofs: 0x4 Size: 0x... | [
"1395329153@qq.com"
] | 1395329153@qq.com |
f6e315de05db473dae5931f649d7cb7ad3dc664c | acf4934d5a781aef4c60a922108b3b766ef05f14 | /rh_renderer/blender/detail/seam_finders.hpp | 6387150ac08ae3c643ef46b8bd26dcf675c134f1 | [
"MIT"
] | permissive | HoraceKem/rh_renderer | 3207bf23e3a79b75542a266910de1db65cfee628 | 3bfdc15b1fd725ac733f33ad0fe76830dd8c927c | refs/heads/master | 2020-06-17T13:20:42.124825 | 2019-07-11T00:38:43 | 2019-07-11T00:38:43 | 195,937,081 | 1 | 0 | MIT | 2019-07-09T05:14:35 | 2019-07-09T05:14:35 | null | UTF-8 | C++ | false | false | 4,781 | hpp | /*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, instal... | [
"adisuis@seas.harvard.edu"
] | adisuis@seas.harvard.edu |
b7de0700bc429adb41b60fc7a1de18cf3214b342 | 4027ce935cdb3f145d4289d6bd3abddf0c406ce7 | /src/gapless-proto/gapless-playback/packet_state.hpp | 307f6b9437aaf8a88208df3e9d81e60e6e9a10fe | [] | no_license | bnkr/nerve | cc0dd43f227303f90d7cfad8de68eee8e714e7e7 | 54789f7aa2665c0a37a011ccdb19765223581dbe | refs/heads/master | 2016-09-06T18:47:04.469453 | 2011-03-16T22:23:38 | 2011-03-16T22:23:38 | 1,469,814 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,025 | hpp | #ifndef PACKET_STATE_HPP_31f8zdup
#define PACKET_STATE_HPP_31f8zdup
//! Seperate stateful object which builds packets.
//!
//! It must be seperate so it can exist in a higher scope than a file
//! and its audio stream. This is to be used by the audio_decoder, and
//! should never need to be touched by the other code.... | [
"bunkerprivate@googlemail.com"
] | bunkerprivate@googlemail.com |
b2de90025d7c2467d4ce9d0a1c66c06029a310e4 | 6e809cd807ae46cb0037fc73d35861c4c804a559 | /src/bounce/procedural/text/collection/ctor.cpp | d10347238f8c4194f5e6aea86bdc85f800566852 | [
"MIT"
] | permissive | cbosoft/bounce | 78b46c3c121f8400149fe232b4b4200803e1a78c | f63e5ad1aabe201debf7a9a73525e93973c34932 | refs/heads/master | 2023-05-06T07:27:29.301254 | 2021-05-23T21:31:32 | 2021-05-23T21:31:32 | 352,585,085 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 412 | cpp | #include <bounce/procedural/text/collection/collection.hpp>
#include <bounce/resources/manager.hpp>
TextCollection::TextCollection(const std::string &name)
{
ResourceManager &rm = ResourceManager::ref();
json j = rm.get_metadata("text", name);
for (const auto &[key, strings] : j.items()) {
for (co... | [
"chrismjboyle@gmail.com"
] | chrismjboyle@gmail.com |
b92f39413d28ca98c326d496d2caca95da3a3376 | a62342d6359a88b0aee911e549a4973fa38de9ea | /0.6.0.3/Internal/SDK/BTTask_OutsideGoToSittingPlace_functions.cpp | f846f6a724cadef54dbc7e082ca96b7137137bd8 | [] | no_license | zanzo420/Medieval-Dynasty-SDK | d020ad634328ee8ee612ba4bd7e36b36dab740ce | d720e49ae1505e087790b2743506921afb28fc18 | refs/heads/main | 2023-06-20T03:00:17.986041 | 2021-07-15T04:51:34 | 2021-07-15T04:51:34 | 386,165,085 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,593 | cpp | // Name: Medieval Dynasty, Version: 0.6.0.3
#include "../pch.h"
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Functions
//---------------------------------------... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
a0ce41715b59c33d89bddf1fb70477048b6bdac3 | 91e5d8a4d00cfbb1ca27567b35bf14fe66567d3f | /Codeforce/C_Number_of_Minimums_on_a_Segment.cpp | 487e78db4847d13d103524c42f4ba9263c90b280 | [] | no_license | nfpranta/Competitive-Programming-Munmud | fb968f5916f831aa026be6b5a903741690a5bd0f | 8bf954eae3f088e1ac5c7dc6ad3c77be525e165e | refs/heads/main | 2023-03-15T10:55:14.942260 | 2021-02-23T06:19:25 | 2021-02-23T06:19:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,636 | cpp |
/***
* ╔╦╗╔═╗╔═╗╔╗╔╔╦╗╔═╗╔═╗╦╦═╗ ╔╦╗╔═╗╦ ╦╔╦╗╔═╗╔═╗╔╦╗
* ║║║║ ║║ ║║║║ ║ ╠═╣╚═╗║╠╦╝ ║║║╠═╣╠═╣║║║║ ║║ ║ ║║
* ╩ ╩╚═╝╚═╝╝╚╝ ╩ ╩ ╩╚═╝╩╩╚═ ╩ ╩╩ ╩╩ ╩╩ ╩╚═╝╚═╝═╩╝
* ╦╔╗╔╔═╗╔═╗╦═╗╔╦╗╔═╗╔╦╗╦╔═╗╔╗╔ ╔═╗╔╗╔╔╦╗ ╔═╗╔═╗╔╦╗╔╦╗╦ ... | [
"moontasir042@gmail.com"
] | moontasir042@gmail.com |
8124b34a8cbd879edd7bbd984e3afec6167cbad6 | 4afee8c9d257572f138260ef725145e48ccd20c8 | /VasyaTheHipster.cpp | e027be2bc21660432941b8c85c4abbf3b21d9847 | [] | no_license | 8adam95/problems | 4f9ed06a2320d68e220e168fbcaa79eb3af95eea | cf8a878608eb3959637c4f5524b5a6e932f5a430 | refs/heads/master | 2020-12-24T16:23:27.076894 | 2016-10-02T20:40:39 | 2016-10-02T20:40:39 | 41,453,505 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 637 | cpp | #include<cstdio>
#include<cstring>
#include<iostream>
#include<vector>
#include<algorithm>
#include<map>
#include<set>
#include<list>
using namespace std;
#define REP(I, N) for(int I = 0; I , (N); I++)
#define FOR(I, A, B) for(int I = (A); I <= (B); I++)
#define FORD(I, A, B) for(int I = (A); I >= (B); I--)
#define ll... | [
"adam.szefer@gmail.com"
] | adam.szefer@gmail.com |
2106af958e3dc9908af66fbb543d3affcd8da654 | c23ee91a556db827f790e0a40829f61e82de6b2b | /kebab/lua/main.cpp | 1aad95632bd0af83c2387fdda44b0f58119b6292 | [] | no_license | newincpp/kaboom | 9fa782651de3cea20c9d8e6e664d9fff08016691 | 32b930b7f0e33a7bc3deb138ade1d390ca1ea01d | refs/heads/master | 2020-05-19T21:57:02.459650 | 2013-06-09T18:54:05 | 2013-06-09T18:54:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,023 | cpp | #include "LuaScript.h"
int main(void)
{
LuaScript l;
try {
l.loadScript("script.lua");
std::cout << l.callFun<int>("addition", 40, 1, 1) << std::endl << std::endl;
std::cout << l.callFun<char *>("is_true", true) << std::endl << std::endl;
std::cout << l.callFun<char *>("is_tru... | [
"me@theomarchal.com"
] | me@theomarchal.com |
73995b0fb4aa79322f1030d9af8f0a9635ab43cc | 7fbbb57c9de790ac01960583b331935f51cd5c53 | /TileSource.cpp | a098927750dc68764290dce0f7438ff0d2ffc831 | [] | no_license | dyjoo123/Project-Plague | 54158ca417ab58900658dfa39fcbe2bccd850400 | bd0edd50224d24b12da2530586830c9cfe83f94d | refs/heads/master | 2020-04-06T19:09:25.857620 | 2019-01-11T06:31:55 | 2019-01-11T06:31:55 | 157,727,747 | 1 | 0 | null | null | null | null | UHC | C++ | false | false | 1,878 | cpp | #include "Tile.h"
using namespace std;
void CTile::Set_Total_Population(int Population)
{
Total_Population = Population;
}
void CTile::Set_Infected_Population(int Population)
{
Infected_Population = Population;
}
void CTile::Set_Survival_Population(int Population)
{
Survival_Population = Population;
}
... | [
"45073273+wgka520@users.noreply.github.com"
] | 45073273+wgka520@users.noreply.github.com |
6264a85aa632a6111bebc546e6931034ffdeff43 | 654388d945d3545cc7b288bbcceb547bd976fbbf | /src/mesh/mesh.cpp | 166049b0a177c51b374afac0eab16825cf0f9341 | [] | no_license | vigdail/opengl-terrain | 1669550dfe8f181617209c05e9d6f7ec7779305b | 676b881432c580e20db09e8074b23aa82c9621c2 | refs/heads/master | 2023-04-02T03:36:45.149483 | 2021-04-18T06:11:31 | 2021-04-18T06:11:31 | 328,715,648 | 0 | 0 | null | 2021-04-10T15:59:44 | 2021-01-11T15:55:35 | C++ | UTF-8 | C++ | false | false | 1,599 | cpp | #include "mesh.h"
Mesh::Mesh(PrimitiveTopology topology, size_t count)
: count_{count}, topology_{topology} {
glCreateVertexArrays(1, &id_);
}
Mesh::Mesh(Mesh &&other) noexcept
: id_{other.id_},
count_{other.count_},
topology_{other.topology_},
vertex_buffers_{std::move(other.vertex_buffers... | [
"kmb2@tpu.ru"
] | kmb2@tpu.ru |
8deb0c0bbbad38aca5ff86112a7ec5fb335347bf | 80b617d761d388df43c0dc14e5ed01395be8ba16 | /Interface/listview.cpp | 23d63b8fedac0f67e99814d8f2440ec4b3c4dde6 | [] | no_license | darkgreen1112/decanat | 4fb240d6822b2207cfd45a915785ab1d6b70c40d | 9c5ffc0a466b8b61ef1377aeb14a2a6c927f44a4 | refs/heads/master | 2020-09-22T14:04:26.348702 | 2019-12-08T19:47:54 | 2019-12-08T19:47:54 | 225,232,186 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,868 | cpp | #include "listview.h"
ListView::ListView()
{
setMinimumSize(700,500);
setWindowFlags(Qt::Window);
buttonAdd = new QPushButton("Добавить");
connect(buttonAdd, SIGNAL(clicked()), this, SIGNAL(addRecord()));
layoutButton = new QHBoxLayout();
layoutButton->addWidget(buttonAdd);
table = new Q... | [
"nikitabereznix@gmail.com"
] | nikitabereznix@gmail.com |
b8f43749e5b7c7f3f3e8a5275fb2e614050cea19 | 5a685b60e95ba4e5006cd668ad76837d1e37b9b2 | /driver/format/ODBCDriver2.h | 4ce658af99a26b709873ac59b68dacee67a25531 | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | ConnectionMaster/clickhouse-odbc | c52cf8994cdf6587d347089d5a4ce725439f2409 | 63f7a84c703ac352e1c7bf48731b4b1eb4f8bf74 | refs/heads/master | 2023-04-07T14:22:40.206655 | 2021-08-03T12:30:50 | 2021-08-03T12:30:50 | 183,104,462 | 1 | 0 | Apache-2.0 | 2023-04-04T00:42:25 | 2019-04-23T22:23:17 | C++ | UTF-8 | C++ | false | false | 3,851 | h | #pragma once
#include "driver/platform/platform.h"
#include "driver/result_set.h"
// Implementation of ResultSet for ODBCDriver2 wire format of ClickHouse.
class ODBCDriver2ResultSet
: public ResultSet
{
public:
explicit ODBCDriver2ResultSet(AmortizedIStreamReader & stream, std::unique_ptr<ResultMutator> && m... | [
"d.glazachev@gmail.com"
] | d.glazachev@gmail.com |
a4b9f70aab82ed6d9181cc2cd53eb4adeb592890 | 100d2ee2f623e9dcb295ccc970d9d65e16c1a992 | /practica4/codigo/Fecha.hpp | baaa0774223bce210c7d9f761d5817693eb7902a | [] | no_license | i62vehef/IS | aa0bebfe04c1006a371cac5495a13bd7752fbb54 | f0980ee645ede5bf1c09149a23c9ff88b57753b1 | refs/heads/master | 2020-04-12T23:13:13.761827 | 2018-12-24T17:11:50 | 2018-12-24T17:11:50 | 162,812,493 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,510 | hpp | /*!
\file Fecha.hpp
\brief Fichero de la clase Fecha
*/
#ifndef _FECHA_HPP_
#define _FECHA_HPP_
// Entrada y salida
#include <iostream>
// Para controlar las precondiciones y postcondiciones mediante asertos
#include <cassert>
// Para la sobrecarga de los operadores de flujo: << y >>
using std::istream;
usi... | [
"pacovh8@gmail.com"
] | pacovh8@gmail.com |
68fa9123da10c1e4233f710a84b2c049f9664b36 | ba5c4f9d22827caaaf73a2749eb81083eda9bdf6 | /View/gestione_cd.cpp | 82f08cac5b327f5ab57d5e47cbdc24cea15a41f9 | [] | no_license | pietrogb/Qbiblio | d6136f2b9c37b05a2cd5f6a097e089df51579ed9 | 7fd18cc40a13dbfe0f2388253e1fe8e83a2899bf | refs/heads/master | 2021-05-31T03:40:14.508292 | 2016-04-15T08:28:41 | 2016-04-15T08:28:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,527 | cpp | #include "gestione_cd.h"
#include <QHBoxLayout>
#include <QVBoxLayout>
Gestione_CD::Gestione_CD(QWidget* parent) : QDialog(parent) {
setWindowTitle(tr("Gestione CD"));
qpb_insert = new QPushButton("Inserisci");
qpb_remove = new QPushButton("Rimuovi");
qpb_replace = new QPushButton("Sostituisci");
qpb_insert... | [
"gabelli29@hotmail.com"
] | gabelli29@hotmail.com |
b51bc8fc6bdb998e0f34f4dca3c6797158924039 | eb650e41938d717162cda9dcaa19f9c9fe9d3a72 | /0008_StringToInteger(atoi).cpp | e7613e18793a60be9be463632482a0a9020fc58d | [] | no_license | priaga20/LeetCode | fb2753c265ce5dc7a7d5127ee2c20b5368ab76cd | 8dcba82a91fbefecf4c140ed0326052f42b45bca | refs/heads/master | 2022-12-28T11:26:25.876562 | 2020-08-23T17:40:02 | 2020-08-23T17:40:02 | 261,287,064 | 0 | 2 | null | 2020-10-03T17:03:38 | 2020-05-04T20:21:06 | C++ | UTF-8 | C++ | false | false | 3,459 | cpp | /*Implement atoi which converts a string to an integer.
The function first discards as many whitespace characters as necessary until the first non-whitespace character is found. Then, starting from this character, takes an optional initial plus or minus sign followed by as many numerical digits as possible, and interp... | [
"priyanshi.agarwal3405@gmail.com"
] | priyanshi.agarwal3405@gmail.com |
123f49ec71193d7136f47795ac6648d30a712e96 | ac227cc22d5f5364e5d029a2cef83816a6954590 | /applications/physbam/physbam-lib/Public_Library/PhysBAM_Tools/Random_Numbers/SOBOL.cpp | 2a8a95c6e6715003c146e2fe8d5bcd40538edff1 | [
"BSD-3-Clause"
] | permissive | schinmayee/nimbus | 597185bc8bac91a2480466cebc8b337f5d96bd2e | 170cd15e24a7a88243a6ea80aabadc0fc0e6e177 | refs/heads/master | 2020-03-11T11:42:39.262834 | 2018-04-18T01:28:23 | 2018-04-18T01:28:23 | 129,976,755 | 0 | 0 | BSD-3-Clause | 2018-04-17T23:33:23 | 2018-04-17T23:33:23 | null | UTF-8 | C++ | false | false | 3,456 | cpp | //#####################################################################
// Copyright 2007, Geoffrey Irving.
// This file is part of PhysBAM whose distribution is governed by the license contained in the accompanying file PHYSBAM_COPYRIGHT.txt.
//#####################################################################
// C... | [
"quhang@stanford.edu"
] | quhang@stanford.edu |
b19b692225eb70b3637e70e3fdba4ecf46d39fbf | f89cd9cea6014fdd3689de71fdd96ea1ffa39415 | /hydroplant/hydroplant.ino | d42dfcf2b95195815d3ee748dd759246a5b24072 | [] | no_license | dymaxion-space/hydroplant | 06b480d3b87f905e44ea912a7c73c2b7b64e4d77 | 37232eafea0f40297f92f23a2070c180ac156152 | refs/heads/master | 2021-01-13T01:36:50.122475 | 2015-08-16T22:25:32 | 2015-08-16T22:25:32 | 35,031,049 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 13,666 | ino | //DYMXIØN HYDROPLANT V.0.3.2
//using cactus micro arduino compatible with wifi esp2866 by april brothers
//http://wiki.aprbrother.com/wiki/Cactus_Micro
#include <SoftwareSerial.h>
#include <Sleep_n0m1.h>
//download sleep library https://github.com/n0m1/Sleep_n0m1
//copy to arduino library folder: /Users/USERNAME/Docum... | [
"marc@dymax.io"
] | marc@dymax.io |
763f2010b42ee94837e2725f98c52c68774f675c | 095a6f53e4577fc51c7e273d41b999f7c716c887 | /gl4-sphere/sys.h | b99ea5f19ec83b529df75745730aa79fe1ea2578 | [] | no_license | nishiokozo/glew | 96d4d05404c48a83e7f172934369d5f2db73d59d | 60f2c5c03a4bb46e9b1f4b6f20645ee3d65ff8db | refs/heads/master | 2021-01-09T00:09:24.226740 | 2020-02-26T06:32:02 | 2020-02-26T06:32:02 | 242,184,150 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,364 | h | #include <iostream>
using namespace std;
#include <string>
#include <stdio.h>
#include <math.h>
#include <ctype.h>
#include <windows.h>
#include <GL/glew.h>
#include <GL/wglew.h>
// #include <AL/al.h>
// #include <AL/alut.h>
#define _line printf("--%s(%d)\n",__FILE__,__LINE__)
//class IProc
//{
//public:
// virtu... | [
"nishiokozo@gmail.com"
] | nishiokozo@gmail.com |
f62bd3d44137217d89dda02c4b731e69ced0a06f | 5a88700bfdaa47e6ed95a3a0b559527c5b31a43a | /framework/opengl_renderer/src/mm/opengl/render_tasks/blur.hpp | 603bf227896b930643e63e268322e1f27e4975f9 | [
"MIT"
] | permissive | ford442/MushMachine | 84cdc07fa1ce63605c9cc87b0586667388e657eb | dc37ad54ec02aa4c1c30cca99d965cd705b3fa2f | refs/heads/master | 2023-08-23T03:17:39.362561 | 2021-10-22T18:49:49 | 2021-10-22T18:49:49 | 425,437,241 | 0 | 0 | NOASSERTION | 2021-11-07T07:43:52 | 2021-11-07T07:12:02 | null | UTF-8 | C++ | false | false | 1,280 | hpp | #pragma once
#include "../render_task.hpp"
#include <mm/services/opengl_renderer.hpp>
#include <glm/vec2.hpp>
// fwd
namespace MM::OpenGL {
class Shader;
class Buffer;
class VertexArrayObject;
}
namespace MM::OpenGL::RenderTasks {
// this task expects to read and write to textures
class Blur : public RenderTa... | [
"green@g-s.xyz"
] | green@g-s.xyz |
0efc62b8f1a770ef8ce7c56efb9d1c2a8d2b8b7c | 7224d3b1478efa0a4bb9a46035516264a92a9770 | /Part1/DataStructure/test/WeightedQuickUnionUFTests.cpp | 2b4f6739118c6f2e5fb7adca7db2f9163c4718ae | [] | no_license | Aborgen/Algorithmic_Work | 2be7973ae6a76d0b410ecad682adc897f1c97980 | 1632e156f8d526e2a3da2136b115020d1265cd81 | refs/heads/master | 2020-08-04T17:25:41.018335 | 2019-10-17T18:56:37 | 2019-10-17T18:56:37 | 212,219,414 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,060 | cpp | #include "catch.hpp"
#include "../WeightedQuickUnionUF.h"
SCENARIO("Testing weighted quick-union implementation")
{
using namespace Part1;
SECTION("Check initialized values")
{
DataStructure::WeightedQuickUnionUF UF(10);
std::vector<int> expected{ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 };
for (int i = 0; i < UF.count()... | [
"alexanderborgen@gmail.com"
] | alexanderborgen@gmail.com |
d83d2431c0df013204fbc62c9d5363f2405e5f2e | d8f11773a849d7cffb869dee8e6bc8cd9e8f235b | /loggerSrv/Logger.cpp | 860f02f27fa06287dae77f763fc4802abb314e5d | [] | no_license | wwxhero/alogger_unity | a8028c12ca24a6c995a1f06a12d038e9c71b77e4 | ca05be4e168066e47a8c2f5439c0395820f2b8b1 | refs/heads/master | 2021-10-25T21:24:31.747838 | 2021-10-14T21:56:20 | 2021-10-14T21:56:20 | 248,801,939 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,314 | cpp | // Logger.cpp : Implementation of CLoggerCOM
#include "stdafx.h"
#include "Logger.h"
#include "dllmain.h"
STDMETHODIMP CLoggerCOM::Create(BSTR path)
{
if (NULL != m_pLogger)
CLogger::DeleteLogger(m_pLogger);
_bstr_t pathLogger(path, false);
m_pLogger = CLogger::CreateLogger(pathLogger);
#ifdef _DEBUG
m_strPath ... | [
"wanxin-wang@uiowa.edu"
] | wanxin-wang@uiowa.edu |
20d4974abc905441308f088b08193ff5862f5490 | c6ecad18dd41ea69c22baf78dfeb95cf9ba547d0 | /src/boost_1_42_0/libs/type_traits/test/decay_test.cpp | 80d509911dd640ef0afaaf202ce222e69d4dfc90 | [
"BSL-1.0"
] | permissive | neuschaefer/qnap-gpl | b1418d504ebe17d7a31a504d315edac309430fcf | 7bb76f6cfe7abef08777451a75924f667cca335b | refs/heads/master | 2022-08-16T17:47:37.015870 | 2020-05-24T18:56:05 | 2020-05-24T18:56:05 | 266,605,194 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,717 | cpp |
// (C) Copyright John Maddock & Thorsten Ottosen 2005.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#include "test.hpp"
#include "check_integral_constant.hpp"
#ifdef TE... | [
"j.neuschaefer@gmx.net"
] | j.neuschaefer@gmx.net |
f2e1df03a633eee0701f8816f29d0a1a71bf6eb6 | 98ce631cf28c6df1695636633d430f37197548a0 | /MyCppGame/Classes/LayerMenuLevel.h | 151572c538cd1d7085aa40b033348bd848327427 | [] | no_license | phanngoc/bombay1 | 35ce625957df088632fc9a63659e457a50b4c1ed | f51ebbbc821c51583b76cc5d7bf1a43aa11c0198 | refs/heads/master | 2020-05-07T11:10:09.981179 | 2014-05-20T03:50:48 | 2014-05-20T03:50:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 498 | h | #ifndef LAYER_MENU_LEVEL_H
#define LAYER_MENU_LEVEL_H
#include "cocos2d.h"
#include "SlidingMenu.h"
#include "LogicGame.h"
#include "Config.h"
#include "Process.h"
#include "ResourceManager.h"
#include "WrapSlidingMenu.h"
#include "MainScreen.h"
class LogicGame;
extern LogicGame *logicgame;
USING_NS_CC;
class LayerMenu... | [
"phann123@yahoo.com"
] | phann123@yahoo.com |
3a4599fb44e97a65918b2289dc16838195826e3a | f0a26ec6b779e86a62deaf3f405b7a83868bc743 | /Engine/Plugins/Experimental/Paper2D/Source/Paper2DEditor/Private/FlipbookAssetTypeActions.cpp | 4f0c8002e8b201deb908f9177fecca105e0c20b7 | [] | no_license | Tigrouzen/UnrealEngine-4 | 0f15a56176439aef787b29d7c80e13bfe5c89237 | f81fe535e53ac69602bb62c5857bcdd6e9a245ed | refs/heads/master | 2021-01-15T13:29:57.883294 | 2014-03-20T15:12:46 | 2014-03-20T15:12:46 | 18,375,899 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,396 | cpp | // Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
#include "Paper2DEditorPrivatePCH.h"
#include "FlipbookAssetTypeActions.h"
#include "FlipbookEditor/FlipbookEditor.h"
#define LOCTEXT_NAMESPACE "AssetTypeActions"
//////////////////////////////////////////////////////////////////////////
// FSpriteAssetTy... | [
"michaellam430@gmail.com"
] | michaellam430@gmail.com |
11d6661a4adb47c747bd68e783ed514a625535b8 | c559951b24afb012a5797dbd71edf55e53ddc4ce | /src/humanpose_camera.cc | 9fff55893e25040ea41528d6350d91a8b21f0c9a | [] | no_license | Eashwar93/coral_edgetpu_video_inference | 3b7a6ccdfb11bee9dcd13a9ddd3d0f4fb0c2a79b | 9a60553c957b2597e4bc7081576010988fe53ebb | refs/heads/master | 2022-09-11T15:59:37.513765 | 2020-06-02T10:10:00 | 2020-06-02T10:10:00 | 268,625,003 | 10 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,378 | cc | //
// Created by eashwara on 23.05.20.
//
#include <algorithm>
#include <iostream>
#include <memory>
#include <ostream>
#include <string>
#include "edgetpu.h"
#include "img_prep.h"
#include "humanpose_engine.h"
#include "cxxopts.hpp"
#include "opencv2/opencv.hpp"
cxxopts::ParseResult parse_args(int argc, char** argv... | [
"eashwar.s.erahan@gmail.com"
] | eashwar.s.erahan@gmail.com |
efa95b1492fe0db145dd27f5368e3471221fed43 | b674642b778c11161175f8843aadc5f20860608c | /MultiThread3/MultiThread3.h | d13712429cc0c94d33ed5b36717c5878ee13c1f3 | [] | no_license | Doufang/PistonRing | fbce91d2164ffd1e26dcddc14d4bb29ee729b449 | 223ddd5bdc843036ecb24c243caac26f8f782caa | refs/heads/master | 2016-08-13T00:31:32.255490 | 2016-03-15T09:42:14 | 2016-03-15T09:42:14 | 53,906,969 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 492 | h |
// MultiThread3.h : PROJECT_NAME 应用程序的主头文件
//
#pragma once
#ifndef __AFXWIN_H__
#error "在包含此文件之前包含“stdafx.h”以生成 PCH 文件"
#endif
#include "resource.h" // 主符号
// CMultiThread3App:
// 有关此类的实现,请参阅 MultiThread3.cpp
//
class CMultiThread3App : public CWinApp
{
public:
CMultiThread3App();
// 重写
public:
virtual BOO... | [
"junr0822@163.com"
] | junr0822@163.com |
8c179586cba6b29e53e5d0a67aab56a00ecb5707 | cbd13623694311644ad1b097c78989434ce35379 | /Algorithms/MatrixTerm.h | 04379f74ea59f1deb003d22ad71ea18616a6a4f7 | [] | no_license | antasis9/Algorithms | f6bf1662c7231c0737214c67b357509abfad2cd7 | a441c40c46f8d52790e1b67187c69dba47b47b63 | refs/heads/master | 2021-01-01T05:31:53.533403 | 2015-10-19T13:55:04 | 2015-10-19T13:55:04 | 38,183,187 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 107 | h | #pragma once
class MatrixTerm
{
public:
MatrixTerm();
~MatrixTerm();
public:
int row, col, value;
};
| [
"antasis9@gmail.com"
] | antasis9@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.