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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
92abeb29bdf51d7d32c9e977f0a372bfe0ca2d21 | 6915155b31bfd3f945d2da6b51cdda9037b68f2f | /schlee_qt/024_falloff_buttons/main.cpp | 31fddc9136991d8e7915f7fe70d12fc49591d426 | [] | no_license | AxelStoneX/tutorial | 86c1e5cdaa749fb2a109d0a8ed51153194a23d03 | eef7e73da27de342094958ff836fb87258d6a53f | refs/heads/master | 2021-01-11T16:46:30.602132 | 2017-01-23T18:16:58 | 2017-01-23T18:16:58 | 79,669,825 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 385 | cpp | #include "mainwindow.h"
#include <QApplication>
#include <QtWidgets>
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
QPushButton cmd("Menu");
QMenu* pmnu = new QMenu(&cmd);
pmnu->addAction("Item1");
pmnu->addAction("Item2");
pmnu->addAction("&Quit", &app, SLOT(quit()));
... | [
"kongol@live.ru"
] | kongol@live.ru |
86bc20288809bb8f1215dbee660172d12e66ae8d | fa59c8294096f9019a1a10e556a1d4ba6f19eed0 | /include/eagine/memory/buffer.hpp | 1ef13377544e257d311f15cb0f09ec10e1defb58 | [
"BSL-1.0"
] | permissive | flajann2/oglplu2 | 35312df54eda8f90039127893acccc200c6f0ea3 | 5c964d52ae3fa53cbd7b8a18f735c25d166092cb | refs/heads/master | 2020-04-23T08:15:11.733546 | 2019-02-02T18:40:19 | 2019-02-02T18:40:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,129 | hpp | /**
* @file eagine/memory/buffer.hpp
*
* Copyright Matus Chochlik.
* 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
*/
#ifndef EAGINE_MEMORY_BUFFER_HPP
#define EAGINE_MEMORY_BUFFER_HPP
#include "block.hp... | [
"chochlik@gmail.com"
] | chochlik@gmail.com |
67f4af331ab9d3cb2e48a8f28291e3f09cab7aed | 73e9d2c0da0748799af2a1939c4f62d8d95c5f51 | /c++/501 - Find Mode in Binary Search Tree.cpp | 55e5459c7364cd891e6d2396d1321a8166cefc89 | [] | no_license | jaymody/leetcode | bcc95e023d30ec8a0007dbfdbfd6f6798fb64631 | 20ca7d6148a9ce66a91d6c147f34097bd681ad4d | refs/heads/master | 2021-06-28T11:35:24.038139 | 2020-12-19T20:25:48 | 2020-12-19T20:25:48 | 197,073,473 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,444 | cpp | // 501
// Find Mode in Binary Search Tree
// https://leetcode.com/problems/find-mode-in-binary-search-tree/submissions/
// c++
// easy
// O(n^2)
// O(n)
// tree
/**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x),... | [
"jaykmody@gmail.com"
] | jaykmody@gmail.com |
8b857aafefcdbc63d9a9250817d04455570fe9b4 | ebfe9aef86a7d98d28f58f9b36d10b8c211e5e21 | /bin/vertexBinning.h | b10a25983168cb0475931dfac3768e1434949f13 | [] | no_license | lattaud/NewGammaJet | a3b47bad121ae5f6e8e029b5bdae0a4dfc176a46 | e5278b938f67b6435e8d04e7b0e4066095bc45e2 | refs/heads/master | 2020-06-28T20:37:35.267709 | 2018-06-14T07:25:41 | 2018-06-14T07:25:41 | 74,473,629 | 0 | 3 | null | 2018-03-28T15:15:58 | 2016-11-22T13:11:08 | C++ | UTF-8 | C++ | false | false | 1,398 | h | #pragma once
#include <cmath>
#include <vector>
#include <utility>
class VertexBinning {
public:
VertexBinning() {
fillVertexBins();
}
int getVertexBin(int n) {
std::vector<std::pair<int, int> >::const_iterator it = mVertexBins.begin();
for (; it != mVertexBins.end(); ++it) {
... | [
"federico.preiato@roma1.infn.it"
] | federico.preiato@roma1.infn.it |
7df96eddfde48e1c81037bf2cafdfa8535dc4b88 | 464aa9d7d6c4906b083e6c3da12341504b626404 | /src/lib/math/unit_test/test_blend_transform.cpp | d0ea5317adc7b4ec06be9f304cd3809bf7a2793b | [] | no_license | v2v3v4/BigWorld-Engine-2.0.1 | 3a6fdbb7e08a3e09bcf1fd82f06c1d3f29b84f7d | 481e69a837a9f6d63f298a4f24d423b6329226c6 | refs/heads/master | 2023-01-13T03:49:54.244109 | 2022-12-25T14:21:30 | 2022-12-25T14:21:30 | 163,719,991 | 182 | 167 | null | null | null | null | UTF-8 | C++ | false | false | 1,814 | cpp | /******************************************************************************
BigWorld Technology
Copyright BigWorld Pty, Ltd.
All Rights Reserved. Commercial in confidence.
WARNING: This computer program is protected by copyright law and international
treaties. Unauthorized use, reproduction or distribution of thi... | [
"terran.erre@mail.ru"
] | terran.erre@mail.ru |
4de11b417b247cec9edd9e4dbd2e76293aa4c4d9 | 4db34f4ac120894642ff9404a2d06af2e3d5a3f3 | /bmjcui/src/ui/trojancheck/trojancheckwidget.cpp | c0b36abe639e5dcbf7639db56308250f04218163 | [] | no_license | zhanrui/apollo | a233449f27d7469e9d33d76bd4709bd05815ddc1 | a43c007c9db340797b56649bc2b396d21ca50023 | refs/heads/master | 2020-05-19T18:55:37.053102 | 2015-05-24T22:45:54 | 2015-05-24T22:45:54 | 29,225,236 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 10,596 | cpp | #include "trojancheckwidget.h"
#include "src/ui/base/basestylewidget.h"
#include "src/ui/base/staticbutton.h"
#include "src/ui/base/commonwidget.h"
#include "src/ui/commoncheck/tabbutton.h"
#include "src/ui/commoncheck/mydelegate.h"
#include "src/common/globals.h"
#include "src/common/common.h"
#include <QLabel>
#incl... | [
"root@localhost.localdomain"
] | root@localhost.localdomain |
909b4559ac9796d88a1f75cedc016111ac22ed2a | 5ef9c03f47708bd0dc95d76a53369e51c5617944 | /lib-h3/lib-spiflashstore/src/spiflashstore.cpp | 31e4dc36644243aecfc15fd179936607980a2628 | [
"MIT"
] | permissive | hermixy/allwinner-bare-metal | 87dcc033884b990609669559428d7e35e191afa6 | ea55715ac31942d7af3a6babba29514c8a2f0d49 | refs/heads/master | 2023-09-02T08:21:25.074808 | 2021-10-12T09:57:52 | 2021-10-12T09:57:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,490 | cpp | /**
* @file spiflashstore.cpp
*
*/
/* Copyright (C) 2018-2020 by Arjan van Vught mailto:info@orangepi-dmx.nl
*
* 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, incl... | [
"uli@basicengine.org"
] | uli@basicengine.org |
500ff0fe9435846d9cb2d8e015e0348749d49654 | 86f9dd1176a3aa6f7a9b472d91de97791c19ae2d | /Domains/RoverPOIDomain/RoverPOIDomain.cpp | 812c1a6132a73c299f144cf24635ae1c861304b6 | [] | no_license | MorS25/libraries | 6139f3e6856cdad836930fa51c4790a896ed8dc0 | d595819ab2aabbe7b34e0c33898b4682b40532d3 | refs/heads/master | 2021-05-31T05:36:47.396330 | 2015-09-19T00:53:52 | 2015-09-19T00:53:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,000 | cpp | #include "RoverPOIDomain.h"
/*
RoverPOIDomain::RoverPOIDomain(void):nPOIs(10),teleportation(false)
{
}
RoverPOIDomain::~RoverPOIDomain(void)
{
}
void RoverPOIDomain::initializeRoverDomain(bool usingTypesSet, bool teleportationSet, std::string rewardSet, bool firstInitialization){
//printf("Deprecated functions re... | [
"carrie.rebhuhn@gmail.com"
] | carrie.rebhuhn@gmail.com |
a46129e7bf56301a7dade7e1f826ed7489e94250 | 9866acd66b81d25e74195a22f9f5867d166b1380 | /gc/src/qnx/control/speed/chassis.h | 63f0d316879ec0037c9576e5ee21a2465976a5e2 | [] | no_license | John-Nagle/Overbot | af45bcba87ddf1442c44830cc966cdb4b5107fef | 80c56adb16b673ff7d667ac3d6ed4a0ee36e25a3 | refs/heads/master | 2020-04-15T20:37:27.263381 | 2019-01-10T06:36:19 | 2019-01-10T06:36:19 | 165,001,886 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,386 | h | //
// File: chassis.h -- interface to the Overbot Polaris Ranger with Galil controllers
//
//
// John Nagle
// Team Overbot
// November, 2004
//
//
#ifndef CHASSIS_H
#define CHASSIS_H
#include <time.h>
#include "simplecontroller.h"
#include "throttlecontroller.h"
#include "transmissioncontroller.h"
#include "brakec... | [
"nagle@sitetruth.com"
] | nagle@sitetruth.com |
63c3538600d768e6f735afb4f5316b2901072777 | 0287787791d1fd921590a988bae5adce2299e218 | /hrs/src/business/idgen/EmpIdGen.cpp | 378708f559f4872c6a6699a608e33ecab5a17401 | [] | no_license | samridhi22/HRSapp | a41922e8c443982b8a2865946300b2c731581a76 | 79a66db7181d9cdb44356ff62f02411fe439c63e | refs/heads/master | 2021-01-21T08:44:09.487822 | 2016-07-13T05:02:07 | 2016-07-13T05:02:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,908 | cpp | #include <fstream>
#include <iostream>
#include<string>
#include<common/GeneralException.h> // must be declared before DBException.
#include<dao/DAOConstants.h>
#include<dbaccess/ODBCConnection.h>
#include<dbaccess/ODBCResultSet.h>
#include<dbaccess/ODBCStatement.h>
#include<dbaccess/dbAccess.h>
#include<dbaccess/DB... | [
"sankit.acharya@gmail.com"
] | sankit.acharya@gmail.com |
04fd92d270b58ad8de84092dea2f771a5bf032f9 | 834ede1ca23230af8c3dec93585fd9ba8b05780a | /src/enemyAnimate.h | a8723f42beba3216da380b6ab30b8f1bf11baf07 | [] | no_license | mintos5/quickBall | 6010d47785046c0f2f4306baada6a5bfa8cde47f | ca238a10e1dad68e93359627775cddda3d9d0b31 | refs/heads/master | 2021-04-30T22:18:39.313681 | 2016-12-14T18:25:28 | 2016-12-14T18:25:28 | 74,216,940 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 842 | h | //
// Created by michal on 7.12.2016.
//
#ifndef PPGSO_ENEMYA_H
#define PPGSO_ENEMYA_H
#include <mesh.h>
#include <shader.h>
#include <texture.h>
#include <meshAnimate.h>
#include "object.h"
#include "scene.h"
class enemyAnimate : public Object {
public:
enemyAnimate();
enemyAnimate(bool combiAnimation);
... | [
"michal.skuta@gmail.com"
] | michal.skuta@gmail.com |
3777d770b84763c168128288bf781f352539c8f9 | 09a4962b93c196f2f8a70c2384757142793612fd | /Dripdoctors/build/Android/Preview/Dripdoctors/app/src/main/include/Uno.Diagnostics.FreeEvent.h | 833a96a93272c5de341c9fa1b93c5bf1216a00fa | [] | no_license | JimmyRodriguez/apps-fuse | 169779ff2827a6e35be91d9ff17e0c444ba7f8cd | 14114328c3cea08c1fd766bf085bbf5a67f698ae | refs/heads/master | 2020-12-03T09:25:26.566750 | 2016-09-24T14:24:49 | 2016-09-24T14:24:49 | 65,154,944 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 617 | h | // This file was generated based on C:\ProgramData\Uno\Packages\UnoCore\0.32.2\Source\Uno\Diagnostics\$.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.Diagnostics.ProfileEvent.h>
namespace g{namespace Uno{namespace Diagnostics{struct FreeEvent;}}}
namespace g{
namesp... | [
"jimmy_sidney@hotmail.es"
] | jimmy_sidney@hotmail.es |
1afe9898e52901e3e5bca877ad8b4700a5aa2495 | 49e9e128aa9a26fca92106297c71370eadcd8a8d | /Arrays read and print 2D array.cpp | 84aea172a394059236283d9f06dd1e3091544186 | [] | no_license | Niharika-Sunnam/Niharika | 17576e21ae89c6e6717d2a7f11f4ec179cec4f71 | 1aecb366684e8d6280847c736ef5affb373b9587 | refs/heads/main | 2023-06-30T06:07:48.633190 | 2021-08-07T06:57:49 | 2021-08-07T06:57:49 | 377,099,895 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 470 | cpp | #include<stdio.h>
int main()
{
int arr1[3][3],i,j;
printf("\n\nRead a 2D array of size 3x3 and print the matrix :\n");
printf("Input elements in the matrix :\n");
for (i=0;i<3;i++)
{
for(j=0;j<3;j++)
{
printf("element - [%d],[%d] : ",i,j);
scanf("%d",&arr1[i][j]);
}
}
printf("\nThe matr... | [
"noreply@github.com"
] | noreply@github.com |
da478dc4f4a557501db7002b6f974d182ea1ea0a | ea12a42ba43f23bfcdf7d6c97ba658cc7cf07e89 | /src/analysisgraph.hpp | 3e2b08d459aecde78abc44b60543d45cffa7a6fc | [
"MIT"
] | permissive | svenojavee/hydra | 16cbd4d9416087920cfd8e3453ea9cfc47b8c663 | cbbf70867b016d2e8b016d373cc1e0dd044bd5ca | refs/heads/master | 2022-12-19T15:33:41.223814 | 2020-10-05T18:33:29 | 2020-10-05T18:33:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 498 | hpp | #ifndef ANALYSISGRAPH_H
#define ANALYSISGRAPH_H
#include <cstddef>
#include <vector>
class BayesRRmz;
class AnalysisGraph
{
public:
AnalysisGraph(BayesRRmz *bayes, size_t maxParallel = 12);
virtual ~AnalysisGraph();
virtual void exec(unsigned int numInds,
unsigned int numSnps,
... | [
"kousathanas.a@gmail.com"
] | kousathanas.a@gmail.com |
d44f407a49e3ff4bd4cb9b62ecb24c60b9c75446 | 1fbb86a68429b4a013e4dd5536bd11b5f01bd481 | /libs/glbinding/include/glbinding/gl43core/values.h | cb1410cd697880d0bc06f0664d9875235272b552 | [
"MIT"
] | permissive | drzajwo/UJ-Programowanie-grafiki-3D | e1dfcf0c6ba7706eada293425262905588136f26 | 9e76ed4d528208bb18525e2b5e80a74944a9b67d | refs/heads/master | 2020-08-28T12:06:27.049514 | 2019-11-23T12:49:47 | 2019-11-23T12:49:47 | 217,693,941 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 205 | h |
#pragma once
#include <glbinding/nogl.h>
#include <glbinding/gl/values.h>
namespace gl43core
{
using gl::GL_INVALID_INDEX;
using gl::GL_TIMEOUT_IGNORED;
} // namespace gl43core
| [
"Iwo.Wojciechowski@pega.com"
] | Iwo.Wojciechowski@pega.com |
52195bf98020d931fe10cd49dc9b116a1583aef8 | a06a9ae73af6690fabb1f7ec99298018dd549bb7 | /_Library/_Include/boost/icl/detail/interval_morphism.hpp | 4b2f88573cc3270f8045cd1a5e66b6fd92b35491 | [] | no_license | longstl/mus12 | f76de65cca55e675392eac162dcc961531980f9f | 9e1be111f505ac23695f7675fb9cefbd6fa876e9 | refs/heads/master | 2021-05-18T08:20:40.821655 | 2020-03-29T17:38:13 | 2020-03-29T17:38:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,522 | hpp | ////////////////////////////////////////////////////////////////////////////////
// interval_morphism.hpp
/*-----------------------------------------------------------------------------+
Copyright (c) 2008-2009: Joachim Faulhaber
+------------------------------------------------------------------------------+
Distri... | [
"adm.fael.hs@gmail.com"
] | adm.fael.hs@gmail.com |
82f357fd409c86af1774b6e0688f621e08ccef8a | 2865d0fd61bc33d1d10f73460508de64601b8f24 | /OREZ_Reconstruct/orez_reconstruct.h | 022464f3adc0f4020d1e598829465a667bcfa8a6 | [] | no_license | XungangYin/ZERO | 85c4f0d5982e79e26116864af55c591c929b6d36 | ffb4d53cd43a8e956f8040df0f6f69cb00b0c966 | refs/heads/master | 2020-04-14T23:19:41.451374 | 2019-04-02T07:09:09 | 2019-04-02T07:09:09 | 164,198,622 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 975 | h | #ifndef OREZ_RECONSTRUCT_H
#define OREZ_RECONSTRUCT_H
#include "orez_reconstruct_global.h"
#include "../common.h"
#include "../Common/common.h"
#include <pcl/surface/poisson.h> //泊松
#include <pcl/surface/marching_cubes.h> //mc重建
class OREZ_RECONSTRUCTSHARED_EXPORT OREZ_Reconstruct
{
public:
OREZ_Reconstruct();
... | [
""
] | |
13a1ee558431b6c85782bf55f8f0780b7bc90f7a | e8a562e13ca47764ba96cb47b9e0c477447a6296 | /graph/cycle_detection/verifier.cpp | 3a00c766881ef44ac8e376f9e854aca56da34c9a | [
"Apache-2.0"
] | permissive | yosupo06/library-checker-problems | 0600700ee39a7b32fdec635076d75ee270c0e636 | 9d8930c908153adc3bd3f50999d782c89f666725 | refs/heads/master | 2023-08-22T19:59:02.303444 | 2023-08-10T07:58:08 | 2023-08-10T07:58:08 | 189,480,738 | 440 | 129 | Apache-2.0 | 2023-09-12T08:39:13 | 2019-05-30T20:49:42 | C++ | UTF-8 | C++ | false | false | 406 | cpp | #include "testlib.h"
#include "params.h"
#include <set>
#include <utility>
int main() {
registerValidation();
int N = inf.readInt(N_MIN, N_MAX);
inf.readSpace();
int M = inf.readInt(M_MIN, M_MAX);
inf.readChar('\n');
for(int i=0; i<M; i++) {
int u = inf.readInt(0, N-1);
inf.readSpace();
int v = inf.rea... | [
"y.sugie.15739d@gmail.com"
] | y.sugie.15739d@gmail.com |
bf9c4e33809b366f7d87a5641a15f509e16089af | a33aac97878b2cb15677be26e308cbc46e2862d2 | /program_data/PKU_raw/58/313.c | af0c6662fa31a456cacdf61eea2fdd855de5e743 | [] | no_license | GabeOchieng/ggnn.tensorflow | f5d7d0bca52258336fc12c9de6ae38223f28f786 | 7c62c0e8427bea6c8bec2cebf157b6f1ea70a213 | refs/heads/master | 2022-05-30T11:17:42.278048 | 2020-05-02T11:33:31 | 2020-05-02T11:33:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,165 | c | int main()
{
char sen[200][90];
int i,n,p,j,len,q;
cin>>n;
cin.ignore();
for(i=1;i<=n;i++)
{
cin.getline(sen[i],90);
}
for(i=1;i<=n;i++)
{
q=0;
p=0;
len=strlen(sen[i]);
if(len==1)
{
if(sen[i][0]=='_'||(sen[i][0]>='a'&&sen[i][0]<='z')||(sen[i][0... | [
"bdqnghi@gmail.com"
] | bdqnghi@gmail.com |
e32c24d268c1515931f785a7382377147171a712 | acd26d78390e5943690d4966f4392010acf85c7d | /PrevisUI/Source/PrevisUIEditor/Menu/MenuBar.cpp | 21b4a38713b965405ec2ba60382cd659dd19facb | [] | no_license | OlivierArgentieri/save_unrealPrevisTools | 494156b970a77dc6669ae3042baf8114400838e1 | 272099913eb9b9b47a0c32b7901aeb38923729ae | refs/heads/main | 2023-03-01T03:30:29.609619 | 2021-02-04T13:01:47 | 2021-02-04T13:01:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,568 | cpp | #include "MenuBar.h"
void FMenuBar::OnStartupModule()
{
if (!IsRunningCommandlet())
{
// Store a reference to the level editor
FLevelEditorModule& LevelEditorModule = FModuleManager::LoadModuleChecked<FLevelEditorModule>("LevelEditor");
// Store a reference to the extensibility manager
TSharedPtr<FExtensib... | [
"olivierargentieri@gmail.com"
] | olivierargentieri@gmail.com |
ac4fb3631e627a64372f68394563978646565895 | fea779942fbbe4e3c03cb9bc78b0a99e56cb17e5 | /cpp/m4engine/src/region.cpp | 9c5d3939a91782dd5223656b77cca2e15d308afb | [] | no_license | jesuscraf/peopletech | 66e372af07f9a3dd4660ef14b93daddf92a5e3c8 | 3ab9470cf2e7cb7a44baf4185710cb707f081ff4 | refs/heads/master | 2021-09-03T13:37:13.701453 | 2018-01-09T11:49:34 | 2018-01-09T11:49:34 | 114,750,048 | 0 | 0 | null | null | null | null | ISO-8859-3 | C++ | false | false | 11,612 | cpp | //==============================================================================
//
// (c) Copyright 1991-1997 Meta Software M.S., S.A
// All rights reserved.
//
// Module: <modulo>
// File: region.cpp
// Project:
// Author: Meta Software M.S. , S.A
// Date:7/18/97
// Language: ... | [
"jesusc@meta4.com"
] | jesusc@meta4.com |
bcabdb3d92cf4e4c728991013d0c092199e5e3d2 | 299f5e3a469a2d888496ff81f660f1f26cfcb01c | /core/sse_matrix.cc | e83c3945921e3c3e76f20fc3c7bb495fe84d9dc6 | [] | no_license | SRaimondi/pixel | 2ecdb1d159e76c92ab8de53ad4aa2f132091925b | fd5cc8d956d37db852f800758a160924a9637c01 | refs/heads/master | 2020-02-26T17:25:35.192005 | 2016-11-12T22:04:21 | 2016-11-12T22:04:21 | 71,735,696 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,391 | cc | /*
* The MIT License
*
* Copyright 2016 simon.
*
* 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, m... | [
"simo@cleverit.ch"
] | simo@cleverit.ch |
da2259d83f09981097624bebdc24eee906446e91 | cf8ddfc720bf6451c4ef4fa01684327431db1919 | /SDK/ARKSurvivalEvolved_TurretWarningLong_classes.hpp | 0b22a1de16d6292adcb89d9cf8db48d60fc63c47 | [
"MIT"
] | permissive | git-Charlie/ARK-SDK | 75337684b11e7b9f668da1f15e8054052a3b600f | c38ca9925309516b2093ad8c3a70ed9489e1d573 | refs/heads/master | 2023-06-20T06:30:33.550123 | 2021-07-11T13:41:45 | 2021-07-11T13:41:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 803 | hpp | #pragma once
// ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_TurretWarningLong_structs.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Classes
//-------------------------------------------------------... | [
"sergey.2bite@gmail.com"
] | sergey.2bite@gmail.com |
f4c770a7f5827f4c07b3c954f1db9a72759687f2 | 337c527999a16059b99bdb4fb07424730b871c6f | /gtest/LearningGtest/tests/hello_test.cc | 4899a97bc42cb768ac415d6442040a4ea9ab42dc | [
"Apache-2.0"
] | permissive | JuhunC/SelfStudy | 5a94b46f7a0f9071baae679761870143bc25008a | 0742bfa96be588c04a8a2eaed6e3eeaa0a9ce52a | refs/heads/main | 2023-07-05T11:59:56.412601 | 2021-08-05T14:24:07 | 2021-08-05T14:24:07 | 363,918,108 | 0 | 0 | null | 2021-05-21T14:02:52 | 2021-05-03T12:12:57 | null | UTF-8 | C++ | false | false | 230 | cc | #include <gtest/gtest.h>
// Demonstrate some basic assertions.
TEST(HelloTest, BasicAssertions)
{
// Expect two strings not to be equal.
EXPECT_STRNE("hello", "world");
// Expect equality.
EXPECT_EQ(7 * 6, 42);
} | [
"a71790890@gmail.com"
] | a71790890@gmail.com |
534c6160d88f37fd72bf0146c6f8314cc0df33d0 | aab3ae5bb8ce591d29599f51f5fb4cd9c5b05f38 | /SourceCode/Physics/Support/BSP.cpp | 822eae925e40c35e22938cf5767679aefb7527d7 | [] | no_license | S-V/Lollipop | b720ef749e599deaf3fbf48b1e883338dcb573c3 | eca4bfe6115437dc87f638af54a69de09956cbfb | refs/heads/master | 2022-02-09T04:59:17.474909 | 2022-01-25T20:20:20 | 2022-01-25T20:20:20 | 43,964,835 | 11 | 1 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 19,342 | cpp | /*
=============================================================================
File: BSP.cpp
Desc:
=============================================================================
*/
#include <Physics_PCH.h>
#pragma hdrstop
#include <Physics.h>
#include <Physics/Collide/Shape/pxShape_Convex.h>
#include <Physics/Colli... | [
"myspace@inbox.ru"
] | myspace@inbox.ru |
cf8b207f38f2d7fb68faf8bf5479cabbb2cd9be0 | 696e35ccdf167c3f6b1a7f5458406d3bb81987c9 | /chrome/browser/extensions/api/management/chrome_management_api_delegate.cc | 6a9ab04ba5f45f02534f00d68b40b00cba949cda | [
"BSD-3-Clause"
] | permissive | mgh3326/iridium-browser | 064e91a5e37f4e8501ea971483bd1c76297261c3 | e7de6a434d2659f02e94917be364a904a442d2d0 | refs/heads/master | 2023-03-30T16:18:27.391772 | 2019-04-24T02:14:32 | 2019-04-24T02:14:32 | 183,128,065 | 0 | 0 | BSD-3-Clause | 2019-11-30T06:06:02 | 2019-04-24T02:04:51 | null | UTF-8 | C++ | false | false | 14,279 | cc | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/extensions/api/management/chrome_management_api_delegate.h"
#include <memory>
#include "base/callback_helpers.h"
#include "base... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
2505f922b79f390a2a22dc06016ee5981c7b0899 | c2a1c834cb35cfacc000a8116c671455ed1704ca | /trie.cc | f494b29e4fe25e751bda14d65f6a5a406be5053f | [] | no_license | rollschild/MyAlgorithms | a4ece400bd5730999efcf7a5afc0fdc29eecf50d | cff86bbad5cca099b26467e06e4fe23ed9ce8840 | refs/heads/master | 2021-06-05T07:58:03.293145 | 2020-01-25T20:09:15 | 2020-01-25T20:09:15 | 111,488,428 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,811 | cc | /* Trie
*/
#include <iostream>
#include <vector>
#define ALPHABET 26
using namespace std;
struct TrieNode {
// vector<TrieNode*> children(ALPHABET);
bool is_end;
TrieNode* children[ALPHABET];
};
TrieNode* make_node() {
TrieNode* node = new TrieNode();
for (auto trie_node_ptr : node->children) {
trie_... | [
"rollschild@protonmail.com"
] | rollschild@protonmail.com |
5e3cb9053c135c80bc6f32dfbd9ad55f7c80679a | 0e61dc2a18ced57b91b81fff43b1c2b59e0154cc | /findMinimum/findMinimum/findMinimum.cpp | ae016dfa90a19ac25ac3c7f057af5d100a7f0584 | [] | no_license | rockdonald2/leetcode | 53179a4435e9ad4582432c435a51c3f22cee1cd4 | 2256ab0a0a00d307bec581b08eae00a83e76a49c | refs/heads/master | 2021-07-13T14:26:03.327928 | 2021-02-20T13:42:13 | 2021-02-20T13:42:13 | 238,773,596 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 686 | cpp | #include <iostream>
#include <vector>
using namespace std;
int findMin(vector<int>& nums) {
if (nums.size() == 1) return nums[0];
if (nums.empty()) return -1;
int left = 0, right = nums.size() - 1, mid;
if (nums[left] < nums[right]) return nums[left];
while (left <= right) {
mid = left + (right - left) / 2;... | [
"rockdonald2@gmail.com"
] | rockdonald2@gmail.com |
3123db8d24352ccd89b207e4fa8e5f3daf7d496c | 9a687607c91f13c53f06d92f78579b838fc227a7 | /common/common/PlatformUtil.cpp | cf85bf667700a9239d75c1cc663fef246e458a65 | [
"MIT"
] | permissive | lemontreehuang/cef-demos | 3ca80a60a3707c0febcd66adf68370f93b4b0bbc | 29386b72312231634f86c03e36763f2a2dfdf064 | refs/heads/master | 2020-06-21T06:38:45.474677 | 2019-04-03T17:16:44 | 2019-04-03T17:20:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,885 | cpp | // CEF-Demos
// Copyright (c) 2019 Borislav Stanimirov
//
// Distributed under the MIT Software License
// See accompanying file LICENSE.txt or copy at
// http://opensource.org/licenses/MIT
//
#include "PlatformUtil.hpp"
#if defined(_WIN32)
# include <Windows.h>
#else
# include <dlfcn.h>
# include <unistd.h>
#en... | [
"b.stanimirov@abv.bg"
] | b.stanimirov@abv.bg |
381a69934cc9bcc0cb8b073bddfbc9f2e69e51db | d5cef2c6bcb7188cb7c917c450528cf37e98bc5e | /ArchaicDomination/BitmapFont.h | 8d686b8edf30f509a78b1f7d80942ecd27864fef | [] | no_license | ahfawaz/ArchaicDomination | 3fa809e720cca8140514a7af6f2efeaf72a7a794 | af6c4bbabb47f76702b288faa6175d04a866d9df | refs/heads/master | 2021-01-10T14:58:56.915798 | 2016-03-16T07:04:27 | 2016-03-16T07:04:27 | 54,007,385 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 980 | h | ////////////////////////////////////////////////////
// File: CBitmapFont.h
// Purpose: Loads in the bitmap font to be used by
// Other classes throughout the project
//
// Author: Joshua Ford (joshua.c.ford@gmail.com)
// Course: SGP 1310
////////////////////////////////////////////////////
#pragma once
#include <W... | [
"gamer3780@hotmail.com"
] | gamer3780@hotmail.com |
8496d4482ee899b39a7a623df9cd67cf5e8508d9 | 2cf838b54b556987cfc49f42935f8aa7563ea1f4 | /aws-cpp-sdk-kinesisanalyticsv2/include/aws/kinesisanalyticsv2/model/UpdateApplicationMaintenanceConfigurationRequest.h | 43288697293dcbfd69c8a602d1368693403e4bed | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | QPC-database/aws-sdk-cpp | d11e9f0ff6958c64e793c87a49f1e034813dac32 | 9f83105f7e07fe04380232981ab073c247d6fc85 | refs/heads/main | 2023-06-14T17:41:04.817304 | 2021-07-09T20:28:20 | 2021-07-09T20:28:20 | 384,714,703 | 1 | 0 | Apache-2.0 | 2021-07-10T14:16:41 | 2021-07-10T14:16:41 | null | UTF-8 | C++ | false | false | 5,443 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2_EXPORTS.h>
#include <aws/kinesisanalyticsv2/KinesisAnalyticsV2Request.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
95edf215d41a681c2e9fca0d4d2e8e2498ceb03b | c3106e8b2d46dc5c23dd1797b00462f2873dd321 | /Codeforces/Contest1486/A.Shifting_Stacks.cpp | ebad52408d0c8e26cce65c51b25fadf9603d4413 | [] | no_license | cppaymurat/Codeforces_contests | 00dfa66b6b3ce60566c044633ba3a4bd731356fb | 2e900f372af6c67b07f8700a60baa0bdb24d9b2e | refs/heads/main | 2023-05-25T07:41:23.063186 | 2021-06-06T14:26:06 | 2021-06-06T14:26:06 | 374,211,344 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 789 | cpp | #include <bits/stdc++.h>
#include <stdio.h>
using namespace std;
#define all(v) v.begin(), v.end()
#define eb emplace_back
#define ll long long
void solve() {
int n;
cin >> n;
vector<ll> a(n + 1);
ll s = 0;
bool ok = 1;
for(int i = 0; i < n; i += 1) {
cin >> a[i];
}
vector<ll> need(n);
for(int i... | [
"cppaymurat@gmail.com"
] | cppaymurat@gmail.com |
39d07542e30e96fb4e5c9757ba61e4c4c274baa1 | b5e2f65f372c471f0901d3f5c361e2e90dd14cf9 | /Framework/MetroidGameContent/SamusAnimation.h | 4c36c346d441b96c68a5899e3c1c17166d724c4d | [] | no_license | tonykhoapro/Metroid | e6f9089d3b0334126184749dc7e93ade07ed0dc8 | 569e497342f352fef9f4d8240d13c667b7079c76 | refs/heads/master | 2021-05-10T21:55:13.100817 | 2018-01-20T15:52:01 | 2018-01-20T15:52:01 | 118,242,865 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,204 | h | #pragma once
#include "GameFramework\GameComponent\AnimationController.h"
class MetroidCharacter;
class SamusAnimation : public AnimationController
{
public:
SamusAnimation();
virtual ~SamusAnimation();
virtual void OnSpawn() override;
virtual void Update() override;
virtual void LateUpdate() override;
inline... | [
"TONY@DESKTOP-3IOI83V"
] | TONY@DESKTOP-3IOI83V |
6a76e77095d26ceb7f772b852429b3f472f8d726 | 970f7c9f5b2f80f4cb6b11cf33a6349047c3b4e2 | /Tues/145.binary-tree-postorder-traversal.35792090.ac.cpp | c39b4f98e18b9dcbc4851e224248fe797428a9eb | [] | no_license | claireyuan92/expressCourse | 02b36e3b54915a668ba8c986f67093705c5b932f | 2de236894f41c3587fe9fd53d6dc21e3726b9610 | refs/heads/master | 2021-01-25T09:14:25.097211 | 2017-08-22T07:19:29 | 2017-08-22T07:19:29 | 93,800,028 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 486 | cpp | /**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
vector<int> res;
public:
vector<int> postorderTraversal(TreeNode* root) {
if(!... | [
"claireyuan92@gmail.com"
] | claireyuan92@gmail.com |
47583c06a65870aed4fdcec3a880d90425c76174 | 9804b34b1ac01c5873401779875154a675223d3c | /arduino/Project Backup/Project 1.2.2020/loop/setup.ino | 44813493e3140f267eb33b0e6ddba27280c9072d | [] | no_license | AnushkaX/Hik | ad364c5dba98ceb79ad5bdaf54c202087ffb9cad | 41615256d5f93b9184fbd06c87c5a8ce8d4633d7 | refs/heads/master | 2020-12-04T04:27:14.306547 | 2020-02-27T06:07:13 | 2020-02-27T06:07:13 | 231,611,884 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,163 | ino | #include <Servo.h>
//-------color sensor----------
#define Color_S0 3
#define Color_S1 4
#define Color_S2 5
#define Color_S3 6
#define Color_sensorOut 2
int frequency = 0;
//-------------------------------
//--------Servo-----------
Servo BigServo;
Servo SmallServo;
#define smallServoPin 5
#define bigServoPin 10
//-... | [
"anushka.mutusinghe@gmail.com"
] | anushka.mutusinghe@gmail.com |
2cb17fe41965aa4a7c6a5f38a3248826e16d8060 | c1a27f6c8f1595b0f595b03ecf026e6121ac1ab4 | /BackupSystem/Trimming.h | 8c828bdf946b4676c7815f7730bfd99d4413e88b | [] | no_license | aogavrilov/Backups | 1e82a7e3d3f2e51b6adacb849f209e0befc334a5 | 6ac5f0dcd42aa141c529360321f8223f04e54d06 | refs/heads/master | 2023-01-13T20:16:45.551109 | 2020-11-27T20:22:25 | 2020-11-27T20:22:25 | 305,348,216 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,334 | h | //
// Created by Alexey on 20.10.2020.
//
#ifndef BACKUPS_TRIMMING_H
#define BACKUPS_TRIMMING_H
using namespace std;
#include <vector>
#include "Backup.h"
class Trimming{
protected:
Backup backup;
public:
Trimming(Backup backup) : backup(backup){};
virtual vector<bool> FilterPointsForRemove();
Back... | [
"alexgavrilov28@gmail.com"
] | alexgavrilov28@gmail.com |
2f85401fd10ea58218f877c4b94f9b41baee4be0 | 1337a747db741d24a11cf10d3c4b0c9d173f8a6d | /Libraries/gtkmm/include/glibmm/giomm/private/dbusinterface_p.h | 1afe76642f91936b691e4c23ae35349008bd72a9 | [
"MIT"
] | permissive | iCodeIN/Wings | 0a1c17979439fc17e9bd55c43a7cc993973a3032 | 1dbf0c88cf3cc97b48788c23abc50c32447e228a | refs/heads/master | 2021-06-12T22:29:07.009637 | 2017-03-19T07:10:42 | 2017-03-19T07:10:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,384 | h | // -*- c++ -*-
// Generated by gmmproc 2.46.2 -- DO NOT MODIFY!
#ifndef _GIOMM_DBUSINTERFACE_P_H
#define _GIOMM_DBUSINTERFACE_P_H
#include <glibmm/private/interface_p.h>
#include <gio/gio.h>
#include <glibmm/private/interface_p.h>
namespace Gio
{
namespace DBus
{
class Interface_Class : public Glib::Interface_Cla... | [
"utilforever@gmail.com"
] | utilforever@gmail.com |
42de93b3a76c3340c9871be2ee28a7deb8c14249 | 2ad789090db7a377f746413e397b603c76f547fa | /V-REP_PRO_EDU_V3_6_0_Ubuntu16_04/programming/bluezero/include/cppzmq/tests/testutil.hpp | 6bb41fac54e6b5469ec9c07c72f3a0a82cd55ac1 | [
"MIT",
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | JasonLeeUT/Robotics | 442b8217918a32b3e8df454b9890ab83280ee7f3 | 7e21e5d18b42cfcaafd01b0243f221a051692f11 | refs/heads/master | 2023-01-23T00:14:41.801025 | 2020-11-19T02:23:55 | 2020-11-19T02:23:55 | 314,112,186 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,375 | hpp | #pragma once
#include <gtest/gtest.h>
#include <zmq.hpp>
#if defined(ZMQ_CPP11)
#include <array>
class loopback_ip4_binder
{
public:
loopback_ip4_binder(zmq::socket_t &socket) { bind(socket); }
std::string endpoint() { return endpoint_; }
private:
// Helper function used in constructo... | [
"18811526516@163.com"
] | 18811526516@163.com |
0006ab04b28c334050812633bc6645f24896bcdf | e61f5b7a23c3b1ca014e4809e487e95a65fc3e2c | /Source/BansheePhysX/Source/BsPhysXBoxCollider.cpp | ffe440e5fe66393d1a75c76c53918252bc099f73 | [] | no_license | ketoo/BansheeEngine | 83568cb22f2997162905223013f3f6d73ae4227e | 1ce5ec1bb46329695dd7cc13c0556b5bf7278e39 | refs/heads/master | 2021-01-02T08:49:09.416072 | 2017-08-01T15:46:42 | 2017-08-01T15:46:42 | 99,069,699 | 1 | 0 | null | 2017-08-02T03:48:06 | 2017-08-02T03:48:06 | null | UTF-8 | C++ | false | false | 1,638 | cpp | //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
//**************** Copyright (c) 2016 Marko Pintera (marko.pintera@gmail.com). All rights reserved. **********************//
#include "BsPhysXBoxCollider.h"
#include "BsPhysX.h"
#include "PxP... | [
"bearishsun@gmail.com"
] | bearishsun@gmail.com |
e947ee59720b00c8edf448d1b419d171ecccaf3b | 4ee1a4147938da3265c85e7b447282e0f5d9fcb9 | /Gloggly/GLoggly/HeaderInfo.cpp | b8b0cf1e9fe99a86f41aec75f3111c0f6cd13015 | [] | no_license | YeonchulKim/GeniChartTools | c9f58a024585dbb91acafd049a0f3bce875e4f26 | 58c6fa2929e7c7221889aa8ae03afb30cfde3152 | refs/heads/master | 2021-05-07T15:52:11.207493 | 2017-11-01T23:06:37 | 2017-11-01T23:06:37 | 108,549,939 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 161 | cpp | #include "StdAfx.h"
#include "HeaderInfo.h"
CHeaderInfo::CHeaderInfo(void)
{
m_Header.resize(COUNT);
}
CHeaderInfo::~CHeaderInfo(void)
{
m_Header.clear();
}
| [
"softiron.kim@gmail.com"
] | softiron.kim@gmail.com |
af097ed3f047e0f058b4f5ca8cb20d3e3893842f | 8dff0d8850bc7f1e5ecfbb50592f530809a15ec8 | /TopTagger/include/TTModule.h | bc74a7d99d132eac3e76e8e9eba71ec1e569039b | [] | no_license | zhenbinwu/TopTagger | 3dee3b5e7b41aa502264541c05015168fb3dfbf6 | fab6957fc53eb16550a3de8b96e54a02ec418f0a | refs/heads/master | 2020-12-03T04:03:16.205013 | 2017-06-06T20:41:25 | 2017-06-06T20:41:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 641 | h | #ifndef TTMODULE_H
#define TTMODULE_H
#include "TopTagger/TopTagger/include/TTMFactory.h"
#include <functional>
class TopTaggerResults;
namespace cfg
{
class CfgDocument;
}
//Base Object for Top Taggger Modules
class TTModule
{
private:
protected:
public:
virtual void getParameters(const cfg::Cf... | [
"pastika@cern.ch"
] | pastika@cern.ch |
9497a13fb7512bf474cbe909cd17dc3f06bb96b0 | 02f9a317672c08aaa8a8c32a3486a4f368febdd4 | /MoneyClass.cpp | 225656868a48f1f2941e095032a0e81b51695b1c | [] | no_license | Akantonio/Homework3 | cbf8a4c0e59d5ac608efff765e490e58b9c1a124 | 425f89a8add88e66f8f37a7661b46df198826482 | refs/heads/master | 2023-03-10T05:27:38.045335 | 2021-02-27T04:59:54 | 2021-02-27T04:59:54 | 341,785,104 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,081 | cpp | //
// Created by Adrian Antonio on 2/23/2021.
//
#include "MoneyClass.h"
Money::Money(): _value(0) {
}
Money::Money(double amount){
_value= amount*100+0.5;
}
Money::Money(int dollar, int cents){
if(cents<0){
_value= -1*(dollar*100-cents);
}else {
_value = dollar * 100 + cents;
}
}
... | [
"adrianvantonio@yahoo.com"
] | adrianvantonio@yahoo.com |
3f2780e5578de418ba7356a325d6f05737a00dc9 | 6fd4e46a21502a07ae9dd0ac04691ea6fbda18db | /MusicPlayer2/strcpcvt.cpp | 6a112d1e8fef49932afa992fd0c6e28184535b46 | [
"MIT"
] | permissive | devcxx/MusicPlayerPlus | 27aca3a895c6b77f61240079529c5d342be53930 | ffbcce181308cc516be9377e75a4c8a82cc9c16b | refs/heads/master | 2020-05-22T08:25:51.907575 | 2019-05-13T16:29:00 | 2019-05-13T16:29:00 | 186,277,442 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,669 | cpp | #include "stdafx.h"
#include "strcpcvt.h"
std::string cvt::utf8ts(const std::string& utf8)
{
// convert an utf8 string to widechar
__int32 nLen = ::MultiByteToWideChar(CP_UTF8, 0, utf8.c_str(), utf8.size(), NULL, 0);
wchar_t* lpszW = NULL;
lpszW = new wchar_t[nLen];
__int32 nRtn = ::MultiByteToWideChar(CP_UTF8, ... | [
"devcxx@gmail.com"
] | devcxx@gmail.com |
3e4360253fc6ff8f2f104ae0972c4a8196c01e90 | 030e2b6547d937956716ac484de829b19a35a644 | /src/model.cpp | 0cc85cbd0cca8adf87660b7c814e0c6de95527cc | [] | no_license | sigsegv/tinyrenderer | cc5bbb253c5d7522ef1208aa69d3d29978ad5eca | ec474a7de868d210917b2827341a693cd112bd20 | refs/heads/master | 2021-01-02T08:53:27.604046 | 2019-12-31T01:37:24 | 2019-12-31T01:37:24 | 99,086,354 | 0 | 1 | null | 2018-01-08T05:35:01 | 2017-08-02T07:29:36 | C++ | UTF-8 | C++ | false | false | 3,901 | cpp | #include "model.hpp"
#include <fstream>
#include <sstream>
model::model()
{
}
void model::load_from_disk(const std::string& filepath)
{
std::ifstream fin(filepath);
if(!fin.is_open()) throw std::runtime_error("unable to open file " + filepath);
std::string line;
while(!fin.eof())
{
st... | [
"sigsegv@users.noreply.github.com"
] | sigsegv@users.noreply.github.com |
e922ed63db494a05bbcc9cd33d8809aeef317b82 | b7f3edb5b7c62174bed808079c3b21fb9ea51d52 | /third_party/blink/common/privacy_budget/scoped_identifiability_test_sample_collector.cc | 2dc799a72fb7301308ba9a632bc0dc29f6f3183c | [
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"BSD-3-Clause"
] | permissive | otcshare/chromium-src | 26a7372773b53b236784c51677c566dc0ad839e4 | 64bee65c921db7e78e25d08f1e98da2668b57be5 | refs/heads/webml | 2023-03-21T03:20:15.377034 | 2020-11-16T01:40:14 | 2020-11-16T01:40:14 | 209,262,645 | 18 | 21 | BSD-3-Clause | 2023-03-23T06:20:07 | 2019-09-18T08:52:07 | null | UTF-8 | C++ | false | false | 1,884 | cc | // Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/blink/public/common/privacy_budget/scoped_identifiability_test_sample_collector.h"
#include <memory>
#include "base/notreached.h"
... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
61e72403031bc7480741c7316d48266bf25362f3 | fef58dcd0c1434724a0a0a82e4c84ae906200289 | /usages/0xF5ED37F54CD4D52E.cpp | 492b4c14b1b8a53131413d678fd27d4c3d70eebe | [] | no_license | DottieDot/gta5-additional-nativedb-data | a8945d29a60c04dc202f180e947cbdb3e0842ace | aea92b8b66833f063f391cb86cbcf4d58e1d7da3 | refs/heads/main | 2023-06-14T08:09:24.230253 | 2021-07-11T20:43:48 | 2021-07-11T20:43:48 | 380,364,689 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 399 | cpp | // am_cp_collection.ysc @ L9480
void func_174()
{
int iVar0;
iVar0 = 0;
while (iVar0 < Local_151.f_709)
{
if (HUD::DOES_BLIP_EXIST(vLocal_134[iVar0 /*3*/]))
{
HUD::REMOVE_BLIP(&(vLocal_134[iVar0 /*3*/]));
GRAPHICS::DELETE_CHECKPOINT(vLocal_134[iVar0 /*3*/].f_1);
}
iVar0++;
}
i... | [
"tvangroenigen@outlook.com"
] | tvangroenigen@outlook.com |
7dce3de425fdcee13483351dd91259a0ea095b48 | 2da78138f1e76fc90d2c36e68f680104001a8d1c | /include/Usb.h | 4c23e7e211c63e11e53b5b5080297826e9976ded | [] | no_license | chriscottingham/armbase | 134472e24e054c342a8bc661d8f91805bad18769 | 31cb23e70b6daf7791b7f56cb0df8dbd3ad0367b | refs/heads/master | 2023-06-22T19:55:14.662461 | 2021-07-26T05:21:44 | 2021-07-26T05:21:44 | 387,533,729 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 246 | h | /*
* Usb.h
*
* Created on: Jul 25, 2021
* Author: becomingguru
*/
#ifndef USB_H_
#define USB_H_
class Usb {
public:
Usb() {
// enable HSE and PLL
// USBCLK == 48mhz
// must use crystal
}
virtual ~Usb();
};
#endif /* USB_H_ */
| [
"becomingguru@gmail.com"
] | becomingguru@gmail.com |
f0fd839430aaf758f5cce1fb8f3194126126394d | 023f436215c061f452a3d29d0b3e6a39c2c2c667 | /C++/RacingCarClassBase.cpp | 88b49b9d08e7a44f0beb73832fa810a07ddf0cc7 | [] | no_license | LeeHwangLae/GitStudyTest | 1d74b55ac7590393992de303e8739e307a1245d1 | 3ef963c95b7385158e07689f98b12e8844de1d1b | refs/heads/master | 2020-12-24T07:28:42.214905 | 2016-08-23T16:17:23 | 2016-08-23T16:17:23 | 58,366,010 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,255 | cpp | #include <iostream>
using namespace std;
namespace CAR_CONST
{
enum MyEnum
{
ID_LEN = 20,
MAX_SPD=200,
FUEL_STEP=2,
ACC_STEP=10,
BRK_STEP=10
};
}
class Car
{
private:
char gamerID[CAR_CONST::ID_LEN];
int fuelGauge;
int curSpeed;
public:
void InitMembers(char*ID, int fuel);
void ShowCarState(); //상태... | [
"lhl30927@naver.com"
] | lhl30927@naver.com |
766f0c9ef81ecf272efc2d6d12408bc074277607 | 27b4b5e3ed16b47588a182af40c601d9a930a4ba | /side.cpp | 80d5ceda986b700ad95cceab82ef6085c073272e | [] | no_license | awtcode/dylink_static_member | 829414ad51b7a744032e1787195c3644066d8604 | 0d861a9664659b9b97cb1d97d0c00b8b2b10e707 | refs/heads/master | 2020-03-25T13:52:12.567609 | 2018-08-07T09:04:30 | 2018-08-07T09:04:30 | 143,846,746 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 732 | cpp | #include "header.h"
#include "emscripten.h"
#include <dlfcn.h>
#include <stdio.h>
EMSCRIPTEN_KEEPALIVE int x = 123;
EMSCRIPTEN_KEEPALIVE int global::value = 7;
extern "C" {
void loadlib();
}
extern bool sidey2(int i);
typedef bool (*sideyPODfunc)(int num);
EMSCRIPTEN_KEEPALIVE bool sidey(int ... | [
"kevin.cheung@autodesk.com"
] | kevin.cheung@autodesk.com |
c49ee0176103ee6c3eb498c5bd05e741405e6cbd | fa5b582ea330470071c36f8aa0269b4a79ba211e | /src/main/avikodak/sites/codechef/contest/qbit15/qbit04.h | f959bf098a4c4da6df159c752ee0f1e657d82407 | [] | no_license | umairsajid/algos_v2 | a5cb68a9163cb5483e7b5bd410acbd38115db423 | a3aea98a698b9723693dcb23794be09fbc4e7cd5 | refs/heads/master | 2020-12-26T00:36:12.711989 | 2015-12-17T05:34:11 | 2015-12-17T05:34:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,489 | h | /****************************************************************************************************************************************************
* File Name : qbit04.h
* File Location : /home/avikodak/Desktop/projects/algos_v2/src/main/avikodak/sites/codechef/contest/qbit15/qbit... | [
"avinashk@vaycayhero.com"
] | avinashk@vaycayhero.com |
bedcb685539f6717909330dcd2808997e2a88be6 | 618e345bd49738101d1720fbe94896aa953a64ba | /VINS/src/utility/utility.cpp | e8d382775d0706ed425c359e472a8182b72c9817 | [] | no_license | 0iui0/slam_play | 16174cf10d5c56b5811ac553e8677ca29c7300cd | d8dd535b9bf550a5d6172a082c3d35f15a554d82 | refs/heads/main | 2023-08-01T15:56:35.869318 | 2021-09-30T10:28:48 | 2021-09-30T10:28:48 | 382,791,469 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 441 | cpp | #include "utility/utility.h"
Eigen::Matrix3d Utility::g2R(const Eigen::Vector3d &g) {
Eigen::Matrix3d R0;
Eigen::Vector3d ng1 = g.normalized();
Eigen::Vector3d ng2{0, 0, 1.0};
R0 = Eigen::Quaterniond::FromTwoVectors(ng1, ng2).toRotationMatrix();
double yaw = Utility::R2ypr(R0).x();
R0 = Utility... | [
"iui@iui.com"
] | iui@iui.com |
b3be23b4e2cf2d4c307f31d562e328d156d64493 | 85b9ce4fb88972d9b86dce594ae4fb3acfcd0a4b | /build/Android/Preview/Global Pot/app/src/main/include/Fuse.Controls.Navigator.NavPage.h | 0d7e39d8d00d303f0a4afedab0536bc386db8acf | [] | no_license | bgirr/Global-Pot_App | 16431a99e26f1c60dc16223fb388d9fd525cb5fa | c96c5a8fb95acde66fc286bcd9a5cdf160ba8b1b | refs/heads/master | 2021-01-09T06:29:18.255583 | 2017-02-21T23:27:47 | 2017-02-21T23:27:47 | 80,985,681 | 0 | 0 | null | 2017-02-21T23:27:48 | 2017-02-05T10:29:14 | C++ | UTF-8 | C++ | false | false | 1,071 | h | // This file was generated based on C:\Users\EliteBook-User\AppData\Local\Fusetools\Packages\Fuse.Controls.Navigation\0.44.1\$.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.Object.h>
namespace g{namespace Fuse{namespace Controls{struct Navigator__NavPage;}}}
namespac... | [
"girr.benjamin@gmail.com"
] | girr.benjamin@gmail.com |
c2e24ee5c41680654a2de0f7132de0572d2ef2a4 | 7189b85150a21412598291fa29896423a27e434a | /chrome/browser/chromeos/login/screens/update_required_screen.cc | ff00a92752bcdcaa31975b4e8d6b7110c9424022 | [
"BSD-3-Clause"
] | permissive | Cicko/chromium | 328a49cbfa25e7e4e9f27e4510f2f81ab6410384 | 63c6b9d55f6b866d3aa9719dab956ef7940c1dab | refs/heads/master | 2022-11-09T17:04:16.402973 | 2020-02-03T15:21:47 | 2020-02-03T15:21:47 | 238,001,913 | 1 | 0 | BSD-3-Clause | 2020-02-03T15:49:33 | 2020-02-03T15:49:32 | null | UTF-8 | C++ | false | false | 11,016 | cc | // Copyright (c) 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.
#include "chrome/browser/chromeos/login/screens/update_required_screen.h"
#include <algorithm>
#include <utility>
#include "ash/public/cpp/login_scr... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
32cb3bcf559c6aedc1d3ac0a5cb10693030910ba | 12f89e55b9c1e408eb413c5d1510c8786bdf82ae | /bigger-greater/bigger-greater.cpp | 7b057db364ba4e78e8b347fb4d9972e1561a8c30 | [] | no_license | e-zhang/hackerrank | 519ec4b9b814eed8db40c04675b9700134837323 | b2ca2680b22787e3446a45e0d0362e08349d82ee | refs/heads/master | 2021-01-10T12:27:37.563948 | 2016-02-23T21:54:55 | 2016-02-23T21:54:55 | 48,349,161 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,236 | cpp | #include <iostream>
#include <algorithm>
#include <string>
using namespace std;
void lexicographicNext( string& word )
{
if( word.empty() || word.size() < 2 )
{
word = "no answer";
return;
}
int i = word.size() - 2;
// find the largest index from the end where all the indic... | [
"eczhang530@gmail.com"
] | eczhang530@gmail.com |
d6dde51f87e0c784f562eec5ee15fa4ab799635a | fef30dd6a425dbbccf1d93d3c2985e23da3005bc | /Week04-Recurrence/598D - Igor In the Museum.cpp | 59840bf8d94e08125cab6b1d5f186bb1657cfa9d | [
"MIT"
] | permissive | AAlab1819/SutedjaTheHoPing-01082170006 | ada3ef3340eb69d88149a9ae9186151c1aab5c4c | 01aba17a1d667297e26379c762f3662d269f7cf5 | refs/heads/master | 2020-03-27T14:58:53.031749 | 2018-11-14T09:20:42 | 2018-11-14T09:20:42 | 146,690,961 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,263 | cpp | #include <bits/stdc++.h>
using namespace std;
int ans = 0;
int keyCount = 0;
char museumSize[1000][1000];
int answer[1000000] = {0};
int key[1000][1000] = {0};
int maxX, maxY;
void floodFill(int x, int y)
{
if(x < 0 || x >= maxX || y < 0 || y >= maxY) return;
if(key[x][y] != 0) return;
if(mu... | [
"noreply@github.com"
] | noreply@github.com |
cba2d6ca76b79476ea72b992f258bb35bcc1dc72 | e37d0e2adfceac661fbd844912d22c25d91f3cc0 | /CPP-Programming-Principles/chapter04-computation/ex21_search_score.cpp | 53e1262e8ca597d5426fa76ce7bffe1ab77a29cb | [] | no_license | mikechen66/CPP-Programming | 7638927918f59302264f40bbca4ffbfe17398ec6 | c49d6d197cad3735d60351434192938c95f8abe7 | refs/heads/main | 2023-07-11T20:27:12.236223 | 2021-08-26T08:50:37 | 2021-08-26T08:50:37 | 384,588,683 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,198 | cpp | #include "../text_lib/std_lib_facilities.h"
int main()
{
// Accept name value pairs, store them in vectors, print them in the end.
vector<string> names;
vector<int> scores;
string name = "";
int score = 0;
bool end = false;
bool repeat = false;
while (!end) {
cout << "E... | [
"noreply@github.com"
] | noreply@github.com |
d89453c5eb25525818bb0f93af6296a74b14472e | 3fc84a7fe3cb00d26e971394744fb8af058a46c0 | /Project-qt+chartDirector/chartdir_cpp_win64/ChartDirector/cppdemo/hbarmeterorientation/hbarmeterorientation.cpp | 3a9ad41e1c53f511881a88397a185d3b0f0ee752 | [
"IJG"
] | permissive | BIbiLion/LSWuqiankun | 5f344954b7dafec85d342766f0a3a8cb4961dd42 | 6257db4a3b11612c9b0419ae71104f8dfe33b8e9 | refs/heads/master | 2020-12-24T07:36:08.033393 | 2017-02-03T01:35:14 | 2017-02-03T01:35:14 | 59,795,750 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,406 | cpp | #include "chartdir.h"
void createChart(int chartIndex, const char *filename)
{
// The value to display on the meter
double value = 75.35;
// The bar colors for the meters
int barColor[] = {0x0088ff, 0x00cc00, 0x8833dd, 0xff8800};
// Create a LinearMeter object of size 260 x 80 pixels with very li... | [
"wqiankun89@163.com"
] | wqiankun89@163.com |
981a096fc73d7cd78d35081db9bd5a51ae42846a | 3605efd8f98f1927f142a36aa8511a26d6e5c575 | /src-arduino/xbee/XBee.ino | 49901e70a2f71a0d828990654e83a6371f3c5f7d | [] | no_license | lavirott/iot-com-tutorials | d0f08d8d0c4d3622d958efce0c7608b4efe74578 | fb2b739066aa63db49560a0c3ed180b7549335d7 | refs/heads/master | 2020-04-12T09:49:47.184345 | 2019-03-22T07:28:12 | 2019-03-22T07:28:12 | 162,409,548 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 562 | ino | #include <multiprotocolShield.h>
#include <Wire.h>
#include <MCP23008.h>
char buffer[51] = {0x7E, 0x00, 0x2F, 0x00, 0xE1, 0x00, 0x13, 0xA2, 0x00, 0x40, 0xE4, 0x04, 0x3F, 0x00, 0x48, 0x65, 0x6C, 0x6C, 0x6F, 0x20, 0x66, 0x72, 0x6F, 0x6D, 0x20, 0x4E, 0x6F, 0x64, 0x65, 0x2D, 0x52, 0x45, 0x44, 0x21, 0x20, 0x49, 0x74, 0x27,... | [
"stephane@lavirotte.com"
] | stephane@lavirotte.com |
0b72ac34dd3cb8daeb4189a73bcff7021a33a5a8 | ae392a6e5a9996b06df427f1e22e8e4357fc2faf | /src/libwalletqt/PendingTransaction.h | 34576cbca65cd88c564a2b2979f3aa56972fbe9b | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | trublud/kickasscoingui | 6cf5d3f58daf0186bfa00ccc58fe6dafa5e148e1 | 74ac40e5ffed0a83585f09a5b2653eec7b8c3af2 | refs/heads/master | 2020-06-19T15:58:32.629286 | 2019-07-13T23:31:00 | 2019-07-13T23:31:00 | 196,773,529 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,351 | h | // Copyright (c) 2014-2019, The KickAssCoin Project
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are
// permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the above copyright notice, this list... | [
"xmindpingx@gmail.com"
] | xmindpingx@gmail.com |
57d0b081f9845d474554012875fcf47c73a36b88 | c57819bebe1a3e1d305ae0cb869cdcc48c7181d1 | /src/qt/src/3rdparty/webkit/Source/WebCore/bridge/jni/JavaMethodJobject.cpp | 2f2802ca0c244f09954338c20610d51125216e65 | [
"BSD-2-Clause",
"LGPL-2.1-only",
"LGPL-2.0-only",
"Qt-LGPL-exception-1.1",
"LicenseRef-scancode-generic-exception",
"GPL-3.0-only",
"GPL-1.0-or-later",
"GFDL-1.3-only",
"BSD-3-Clause"
] | permissive | blowery/phantomjs | 255829570e90a28d1cd597192e20314578ef0276 | f929d2b04a29ff6c3c5b47cd08a8f741b1335c72 | refs/heads/master | 2023-04-08T01:22:35.426692 | 2012-10-11T17:43:24 | 2012-10-11T17:43:24 | 6,177,895 | 1 | 0 | BSD-3-Clause | 2023-04-03T23:09:40 | 2012-10-11T17:39:25 | C++ | UTF-8 | C++ | false | false | 5,893 | cpp | /*
* Copyright (C) 2003, 2004, 2005, 2007, 2009 Apple Inc. All rights reserved.
* Copyright 2010, The Android Open Source Project
*
* 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 c... | [
"ariya.hidayat@gmail.com"
] | ariya.hidayat@gmail.com |
e5592301c52b64fd90090b716669846545e96cd6 | 5f2316f5894a1cd4a0fc5d40e1dc90f6f5021dce | /Publications/DPC++/Ch14_common_parallel_patterns/fig_14_17_nd_range_reduction.cpp | 7e9fda2d00b4ed70f2341172ebc55c6544c2be88 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | citian-intel/oneAPI-samples | 0cf4dda959e7356bd7c4f5eca2eaec7be07d6666 | 5a497758b16224555ff18fb3bbe8932a1e962251 | refs/heads/master | 2023-08-13T22:26:12.370147 | 2021-10-08T16:35:22 | 2021-10-08T16:35:22 | 297,386,964 | 0 | 0 | MIT | 2020-09-21T15:47:33 | 2020-09-21T15:47:32 | null | UTF-8 | C++ | false | false | 1,101 | cpp | // Copyright (C) 2020 Intel Corporation
// SPDX-License-Identifier: MIT
#include <CL/sycl.hpp>
#include <cstdio>
#include <numeric>
using namespace sycl;
using namespace sycl::ONEAPI;
int main() {
using memory_order = sycl::ONEAPI::memory_order;
using memory_scope = sycl::ONEAPI::memory_scope;
constexpr siz... | [
"noreply@github.com"
] | noreply@github.com |
b5687d24bd9394b9621e6d42ca7af6aab84cacc0 | 0e98b34801d429bca8020e2a7b73944350ac6f0e | /C+.0406/C+.0406/数据库连接池.cpp | 2d5d1bd9c7873f62994793969380d316903f2765 | [] | no_license | STong01/-2 | a3759734210e3dec7ff97c1e8e7b2c694ca376ee | 546d2e6b02c789e146b07e72e8e738fdaebcf827 | refs/heads/master | 2021-02-03T21:22:14.152907 | 2020-07-21T06:56:52 | 2020-07-21T06:56:52 | 243,542,337 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 495 | cpp | #include <iostream>
#include <fstream>
#include <algorithm>
#include <string>
#include <set>
using namespace std;
int main()
{
int n;
while (cin >> n)
{
set<string> pool;
string id, con;
int maxSize = 0;
for (int i = 0; i < n; ++i)
{
cin >> id >> con;
if (con == "connect")
pool.insert(id);
e... | [
"1461638919@qq.com"
] | 1461638919@qq.com |
067c092838a63fd108bfe61db36b248f03097f7c | 62816626aca6f4ed73ef576c0dfdf1c586ca7a9d | /VSL/source/vsGLInfoLib.cpp | 73ae6c02c473689292958783af9997138ed7790e | [] | no_license | pfac/CG-MV | 7274aaa6d7cb075513f23f00a7323e2c278c7e4a | e5b90f80c3cbea52eb7ef3957303e1526c2bebca | refs/heads/master | 2020-04-05T21:35:51.341005 | 2012-02-22T04:27:22 | 2012-02-22T04:27:22 | 3,112,668 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 57,408 | cpp | /** ----------------------------------------------------------
* \class VSGLInfoLib
*
* Lighthouse3D
*
* VSGLInfoLib - Very Simple GL Information Library
*
*
* \version 0.1.0
* - Initial Release
*
* This class provides information about GL stuff
*
* Full documentation at
* http://www.lighthouse3d.com/v... | [
"mpalhas@gmail.com"
] | mpalhas@gmail.com |
bb84d14479e0d62b13fe0d9c4c8f98a1a555c13d | 8124ed12e1c37d204f697f35e941e007b330535e | /TestWork_2/B.2.cpp | 8eea323b0d70f6ac1af2ced7a4f9089799a3ec59 | [] | no_license | Alexkkir/Sphere-Algorithms | 28c9010d26746a113c2a07a40f11b91f987486dc | 8c360b3d7222f67dbbd7a134b54395e6a95469a2 | refs/heads/master | 2022-12-18T22:59:28.465737 | 2020-09-18T10:08:12 | 2020-09-18T10:08:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 402 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
ios::sync_with_stdio(0);
cin.tie(0);
multiset<long long> S;
int N, K;
long long a;
cin >> N >> K;
for(int i = 0; i < N; ++i) {
cin >> a;
if(S.size() < K)
S.insert(a);
else
if(a > *(S.begin())) {
S.erase(S.begin());
S.insert(a);
}... | [
"13sergey78@mail.ru"
] | 13sergey78@mail.ru |
fa20bafe15a697bd15d1026a04f7bc111b03b6d7 | c588c442150354d4b6b0005982cbc9eb760ff7bd | /include/KeyfileIncIndex.hpp | fce81a2c0a5f354cb4f1f9ca123fc5621b32fdec | [
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | danrugeles/retrieval-algorithms | 548d593637e9ecc2029b89fa2e0e15e7b10310e7 | 970a645107200a79e6f5a8ef62a34d54bc72f254 | refs/heads/master | 2020-05-29T15:35:00.906805 | 2013-02-19T02:22:56 | 2013-02-19T02:22:56 | 8,242,635 | 2 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 12,564 | hpp | /*==========================================================================
* Copyright (c) 2001 Carnegie Mellon University. All Rights Reserved.
*
* Use of the Lemur Toolkit for Language Modeling and Information Retrieval
* is subject to the terms of the software license set forth in the LICENSE
* file included... | [
"danrugeles.danrugeles@gmail.com"
] | danrugeles.danrugeles@gmail.com |
f61eb6c01bf3a9c9232bd1cbb0245d57415b8c79 | 73ee941896043f9b3e2ab40028d24ddd202f695f | /external/chromium_org/chrome/browser/download/download_path_reservation_tracker_unittest.cc | 06183a54cfa893b91e10af535be290b5ba5564b2 | [
"BSD-3-Clause"
] | permissive | CyFI-Lab-Public/RetroScope | d441ea28b33aceeb9888c330a54b033cd7d48b05 | 276b5b03d63f49235db74f2c501057abb9e79d89 | refs/heads/master | 2022-04-08T23:11:44.482107 | 2016-09-22T20:15:43 | 2016-09-22T20:15:43 | 58,890,600 | 5 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 24,026 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/file_util.h"
#include "base/files/file_path.h"
#include "base/files/scoped_temp_dir.h"
#include "base/memory/weak_ptr.h"
#include "base... | [
"ProjectRetroScope@gmail.com"
] | ProjectRetroScope@gmail.com |
151be93d32cd64d5c962f4a9f496744a3f46d0cf | 24402270bbae693e18316e7519e4043261d7e9f5 | /PAT-Advanced-1029.cpp | 9be100df1a5c7a2345f0a97da94f2719603ada73 | [] | no_license | Lemon-XQ/PAT-Advanced | e240a69a65c0af5ebe83fd1144af3c86ff6ee60c | 4a32066b4781315960e58e108b2d1466d44a0a73 | refs/heads/master | 2020-03-29T18:15:04.105405 | 2018-10-04T16:14:00 | 2018-10-04T16:14:00 | 150,201,653 | 2 | 0 | null | null | null | null | GB18030 | C++ | false | false | 749 | cpp | #include <iostream>
#include <algorithm>
using namespace std;
const int INF=0x7fffffff;
#define size 200001
int arr[size];
int main(){
int N1,N2,i=0,j=0;
scanf("%d",&N1);
for(int i=0;i<N1;i++){
scanf("%d",&arr[i]);
}
arr[N1]=INF;
scanf("%d",&N2);
int mid=(N1+N2-1)/2,count=0,num;
scanf("%d",... | [
"lemonxq1997@gmail.com"
] | lemonxq1997@gmail.com |
e57074accd8cc21f71a285254d158a13b0319576 | ef6ba4bfd67da540fd8b65124c96158b60f185dd | /04_PlanetInvader/meshfield.h | f42fedb12af3ffa51bc3d3900d67dcbbb8665f8f | [] | no_license | eisuke1222/ESfile | 91d0c7f20aebded38149597380fbc0ccfbc2b194 | 74f4cd3e520981051336053cd04e04d2d1fd7615 | refs/heads/master | 2020-04-27T20:30:56.204189 | 2019-03-18T04:34:24 | 2019-03-18T04:34:24 | 174,650,195 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 2,308 | h | //=============================================================================
//
// メッシュフィールド処理 [meshfield.h]
// Author : Eisuke Sakagawa
//
//=============================================================================
#ifndef _MESHFIELD_H_
#define _MESHFIELD_H_
//**************************************************... | [
"eisuke1222z3@gmail.com"
] | eisuke1222z3@gmail.com |
24cf14fb4b52f0e3775a564445e2d45ec504fbdd | f83ef53177180ebfeb5a3e230aa29794f52ce1fc | /ACE/ACE_wrappers/TAO/tao/ORB_Core.h | 6832bac73a7f795e4112eb49b3bb15092fceef21 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-proprietary-license",
"LicenseRef-scancode-sun-iiop"
] | permissive | msrLi/portingSources | fe7528b3fd08eed4a1b41383c88ee5c09c2294ef | 57d561730ab27804a3172b33807f2bffbc9e52ae | refs/heads/master | 2021-07-08T01:22:29.604203 | 2019-07-10T13:07:06 | 2019-07-10T13:07:06 | 196,183,165 | 2 | 1 | Apache-2.0 | 2020-10-13T14:30:53 | 2019-07-10T10:16:46 | null | UTF-8 | C++ | false | false | 48,198 | h | // -*- C++ -*-
// ===================================================================
/**
* @file ORB_Core.h
*
* @author DOC Center - Washington University at St. Louis
* @author DOC Laboratory - University of California at Irvine
*/
// ===================================================================
#if... | [
"lihuibin705@163.com"
] | lihuibin705@163.com |
f5237409496c3a653a11282f8f3256c7ea99714d | 19d41c4ae325277636383885388c83dd1555f8cf | /zerojudge/d105.cpp | f2a3dc5a401adf02d34e24c73888b9df545bf258 | [] | no_license | henrytsui000/online-judge | 5fd0f7b5c747fb5bfd5f84fb616b9f7346e8abaf | 337aa1d52d587fb653ceeb8b3ee64668804f5b13 | refs/heads/master | 2022-05-28T13:56:04.705485 | 2022-05-19T13:33:43 | 2022-05-19T13:33:43 | 226,999,858 | 3 | 0 | null | 2022-02-02T03:22:06 | 2019-12-10T01:10:15 | C++ | UTF-8 | C++ | false | false | 521 | cpp | #include<bits/stdc++.h>
using namespace std;
#define rep(i,n) for(ll i=0;i<(ll)n;i++)
#define endl '\n'
#define IOS ios_base::sync_with_stdio(0);cin.tie(0)
using ll = long long;
#define ij i<<','<<j<<": "
ll n,m;
#define MAXN 30
ll dp[30][30];
ll ans=0;
int main(){
IOS;
cin>>n>>m;
rep(i,n)
rep(j,m)
... | [
"henrytsui000@gmail.com"
] | henrytsui000@gmail.com |
907bf3ada8475e18c2b859d1e42755430132cbfd | 607e69f9e4440ef3ab9c33b7b6e85e95b5e982fb | /deps/museum/6.0.1/art/runtime/base/histogram.h | 1dbc6595bd233c155c8d9b8bba9ebed634702e0f | [
"Apache-2.0"
] | permissive | simpleton/profilo | 8bda2ebf057036a55efd4dea1564b1f114229d1a | 91ef4ba1a8316bad2b3080210316dfef4761e180 | refs/heads/master | 2023-03-12T13:34:27.037783 | 2018-04-24T22:45:58 | 2018-04-24T22:45:58 | 125,419,173 | 0 | 0 | Apache-2.0 | 2018-03-15T19:54:00 | 2018-03-15T19:54:00 | null | UTF-8 | C++ | false | false | 4,558 | h | /*
* Copyright (C) 2013 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... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
d3152d4f72dd7ba8eaaf88c015b2ef115c6d804c | 51efb0b6dac397477499eed32b4b92dbe1ce18da | /src/p4_main.cpp | c9ad46f6528c163e1b4ee261b1d80d2d6336a427 | [
"MIT"
] | permissive | fneiva2006/supervisory-simulator | eec883e4bbe6f5e7f05d5f0f3757dd3f6f7455d4 | 0e451f35afd111496cf8a25c6a9402a6f95860ea | refs/heads/master | 2022-08-30T04:40:09.294686 | 2020-05-31T15:32:54 | 2020-05-31T15:32:54 | 268,308,425 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 10,006 | cpp | #include "p4_ops.h"
/* Control HANDLES */
HANDLE ghExitEvent = NULL; // Evento encerramento do programa
HANDLE ghExibeOpSem = NULL; // Semáforo liga/desliga módulo
/* OP List HANDLES */
HANDLE ghListaOPMappedFile = NULL; //
HANDLE ghPermissaoLeituraOPSem = NULL;
HANDLE ghPermissaoEscritaOPSem = NULL;
HANDLE ... | [
"fneiva2006@hotmail.com"
] | fneiva2006@hotmail.com |
c09abbc2c7a46b9d24896ebfb4546ddc7c96226d | 5d83739af703fb400857cecc69aadaf02e07f8d1 | /Archive2/cd/7bc6734eb84d8d/main.cpp | 4bc743e7378c7b07aca9eda535c1146d56cf22e5 | [] | no_license | WhiZTiM/coliru | 3a6c4c0bdac566d1aa1c21818118ba70479b0f40 | 2c72c048846c082f943e6c7f9fa8d94aee76979f | refs/heads/master | 2021-01-01T05:10:33.812560 | 2015-08-24T19:09:22 | 2015-08-24T19:09:22 | 56,789,706 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,107 | cpp |
#include <type_traits>
#include <utility>
#include <iomanip>
#include <iostream>
namespace {
template<class U, class T>
static auto
has_member_f_impl(signed)
-> decltype(
std::declval<T&>().f(std::declval<U&>()),
std::true_type{}
)
;
template<class, class>
static std::false_type
has_member_f_impl(... | [
"francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df"
] | francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df |
0ae7ae770fa107ec496a54dde53e9731519b1635 | 3cc1cd3909fb054fd5501017235858a3e926b5b7 | /src/resqml2_2/CmpLineFeature.cpp | 354d1b4d8c3c5659f020693493205f459152bedc | [
"GPL-1.0-or-later",
"LicenseRef-scancode-proprietary-license",
"BSL-1.0",
"Apache-2.0"
] | permissive | mpoudret/fesapi | 3a264639ff0c1faa07d4ff113f222bedca0c232a | 5aff682d8e707d4682a0d8674b5f6353be24ed55 | refs/heads/master | 2021-06-23T11:34:44.920100 | 2021-03-15T15:26:14 | 2021-03-15T15:26:14 | 152,227,959 | 0 | 0 | Apache-2.0 | 2018-10-09T09:54:04 | 2018-10-09T09:54:04 | null | UTF-8 | C++ | false | false | 2,170 | cpp | /*-----------------------------------------------------------------------
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under ... | [
"noreply@github.com"
] | noreply@github.com |
364e704cf0dbec608b6df1c1e2c0deec045a598f | 748705e88fc2decb21871dcdacb7392037412c7c | /C++练习/test11-19完成对整数和小数的排序,接口中传入缺省参数(排序规则)/test11-19完成对整数和小数的排序,接口中传入缺省参数(排序规则)/main2.cpp | cfea8789a0c55a5e78c63cbfa83081e6b9601581 | [] | no_license | YangXxin1/persistence | 96ebe1d79e4b179cd3c03fcf5becaa30d7c0e659 | 79916f63576a1fdb5849a8f799696c0ea31036ec | refs/heads/master | 2022-12-06T05:23:48.117569 | 2020-09-02T10:07:44 | 2020-09-02T10:07:44 | 178,318,682 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 952 | cpp | #include <iostream>
using namespace std;
void InsertSort(int * src, int n)
{
int i, j;
int tmp;
for (i = 1; i < n; ++i)
{
tmp = src[i];
for (j = i; j > 0 && src[j - 1] > tmp; --j)
{
src[j] = src[j - 1];
}
src[j] = tmp;
}
}
void shellSort(int* src, int n)
{
int i, j, k;
int gap;
int tmp;
for... | [
"yx140513@163.com"
] | yx140513@163.com |
82465516e53ab94951fdf7eb231788aaaf6bdb5d | 8ce8354aaf1e39e278ffc0bab22e57675d3c4a90 | /libbsn/test/test_configuration.h | 3076de0c253052fe00be9e3c45e4302ce902fb35 | [] | no_license | rdinizcal/bsn | b82dc2926178320f488b8798e9be3ae0449c0f21 | f51d7e6d30e04847b3d0b3223a63ed723858339e | refs/heads/master | 2022-01-13T00:48:04.861834 | 2019-01-28T18:09:53 | 2019-01-28T18:09:53 | 104,138,457 | 2 | 0 | null | 2019-01-09T20:34:24 | 2017-09-19T23:03:27 | C++ | UTF-8 | C++ | false | false | 5,195 | h | #include <cxxtest/TestSuite.h>
#include <iostream>
#include "bsn/configuration/SensorConfiguration.hpp"
using namespace std;
using namespace bsn::range;
using namespace bsn::configuration;
class SensoConfigurationTestSuite: public CxxTest::TestSuite{
Range l;
Range m1;
Range m2;
Range h1;
Ran... | [
"leo.ms097@gmail.com"
] | leo.ms097@gmail.com |
96fb74b595bce7f400939f1a98727f3046f1745f | ee1423adcd4bfeb2703464996171d103542bad09 | /dali-core/dali-core-HEAD-5d42e5d/automated-tests/dali-test-suite/images/utc-Dali-Image.cpp | 119ed7eabee8013fa8ba16ac426febca10d0ddba | [
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-flora-1.1"
] | permissive | sak0909/Dali | 26ac61a521ab1de26a7156c51afd3cc839cb705a | 0b383fc316b8b57afcf9a9e8bac6e24a4ba36e49 | refs/heads/master | 2020-12-30T12:10:51.930311 | 2017-05-16T21:56:24 | 2017-05-16T21:57:14 | 91,505,804 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 35,669 | cpp | //
// Copyright (c) 2014 Samsung Electronics Co., Ltd.
//
// Licensed under the Flora License, Version 1.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://floralicense.org/license/
//
// Unless required by applicable law or a... | [
"sak0909@outlook.com"
] | sak0909@outlook.com |
609947f631bd738a1d8f790620b7fd37401eef73 | e5c71f0b8488fc6a43ba5b1ca655d202f3350761 | /counting_bits_till_n.cpp | 69b8b343a1833cac489e20ea071eace735023c41 | [] | no_license | Singroha-S/Bit-Manipulation | c564ab1dade33bcb76a5e32ade695536c8f472da | 2aa424fbd9b8b266f187e9547664d09fb0dc6caa | refs/heads/main | 2023-07-13T18:27:41.034158 | 2021-08-30T16:51:24 | 2021-08-30T16:51:24 | 393,628,773 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 381 | cpp | #include<bits/stdc++.h>
using namespace std;
int count(int c)
{
int cnt=0;
while(c)
{
c=c & (c-1);
cnt++;
}
return cnt;
}
void fn(int n)
{
int a[n];
for(int i=0;i<=n;i++)
{
a[i]=count(i);
}
for(int i=0;i<=n;i++)
{
cout<<a[i]<<" ";
}
}
in... | [
"noreply@github.com"
] | noreply@github.com |
1e09821d3208339891c684245ac764e867daa037 | 56ee04007eac69701f0bb4421046eb558b24f6d6 | /abc187/d.cpp | 99bdd5a67d6331727d373dca44b84b90dbc886bb | [] | no_license | tsuba3/atcoder | e5789515d96079a386843f744f0cf594ec663a24 | d397e98686cae982b431c098ec288d2994c33152 | refs/heads/master | 2021-07-01T21:31:45.429120 | 2021-02-20T13:40:24 | 2021-02-20T13:40:24 | 224,573,527 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,461 | cpp | /* _
_ooOoo_
o8888888o
88" . "88
(| -_- |)
O\ = /O
____/`---'\____
.' \\| |// `.
/ \\||| : |||// \
... | [
"tsubasa.afe@gmail.com"
] | tsubasa.afe@gmail.com |
0e4179c98bf628a506bad7106e61ea646b598f32 | d90566c011088f1815e70d58445a52d8479135b5 | /udpserver/udpserver/main.cpp | 0f46857017d53c7f6c07f2a9ee9b961f279f9421 | [] | no_license | lordstone/Trial_TCPIP_server_client | 91b3063adef0e3791ab9ee59f8c75d0ad633556a | 0af420d0b29067472ef10cf99400e22664a4db8f | refs/heads/master | 2021-01-10T07:35:12.561790 | 2016-03-27T04:35:42 | 2016-03-27T04:35:42 | 54,806,887 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,492 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <iostream>
#include <netdb.h>
#define BUFSIZE 2048
#define CUSTOM_SERVER_PORT 9292
#define CUSTOM_CLIENT_PORT 2929
using namespace std;
void error(const char... | [
"chengxis@usc.edu"
] | chengxis@usc.edu |
ff87ab58cd18081dbc29a2694ef88aca6c8aa14c | ba4db75b9d1f08c6334bf7b621783759cd3209c7 | /src_main/engine/audio/private/snd_dev_common.h | f32c1741434c029fc28be5b907aa8a7eccffbf8f | [] | no_license | equalent/source-2007 | a27326c6eb1e63899e3b77da57f23b79637060c0 | d07be8d02519ff5c902e1eb6430e028e1b302c8b | refs/heads/master | 2020-03-28T22:46:44.606988 | 2017-03-27T18:05:57 | 2017-03-27T18:05:57 | 149,257,460 | 2 | 0 | null | 2018-09-18T08:52:10 | 2018-09-18T08:52:09 | null | WINDOWS-1252 | C++ | false | false | 2,851 | h | //========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============//
//
// Purpose: Device Common Routines
//
//=====================================================================================//
#ifndef SND_DEV_COMMON_H
#define SND_DEV_COMMON_H
#pragma once
class CAudioDeviceBase :... | [
"sean@csnxs.uk"
] | sean@csnxs.uk |
f1a7872e43e2438d2ad79693c93b529da2ad43ff | 85cc3a99d62ab295e1015b9d91c70cf3ef5adf72 | /Sparky-core/src/graphics/shaders/Shader.cpp | ef37fc4e9c05384591e34932a2c3fbf247c86274 | [
"Apache-2.0"
] | permissive | JarofJava/Sparky | 9f7376159bab8f19efa52c4d80df094e158a7900 | 78509ab53588368c6182edf43542f05dcdc80293 | refs/heads/master | 2021-01-15T03:43:17.074542 | 2015-11-25T05:50:15 | 2015-11-25T05:50:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,013 | cpp | #include "Shader.h"
#include <GL/glew.h>
namespace sparky { namespace graphics {
Shader::Shader(const char* name, const char* vertSrc, const char* fragSrc)
: m_Name(name), m_VertSrc(vertSrc), m_FragSrc(fragSrc)
{
m_ShaderID = Load(m_VertSrc, m_FragSrc);
}
Shader::Shader(const char* vertPath, const char* fra... | [
"cherno21@hotmail.com"
] | cherno21@hotmail.com |
98099a5d956f847736ed9fa9b39b5c6251116347 | 24f8cfae88683b91c55b027fd2ad39316d90906c | /features/sift.cc | 492f32a9f1bd30fd577f510d048d9ba75f074a89 | [] | no_license | sld66320/mySFM | 63afb83f8f657c893c815678b76e5cb98df5f679 | 9be8469d5f1bda95b4339c2095d919820263b29c | refs/heads/master | 2023-05-04T19:22:41.140674 | 2021-05-03T08:02:53 | 2021-05-03T08:02:53 | 337,611,143 | 9 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 35,055 | cc | /*
* Copyright (C) 2015, Simon Fuhrmann
* TU Darmstadt - Graphics, Capture and Massively Parallel Computing
* All rights reserved.
*
* This software may be modified and distributed under the terms
* of the BSD 3-Clause license. See the LICENSE.txt file for details.
*/
#include <iostream>
#include <fstream>
#inc... | [
"q2296054658@qq.com"
] | q2296054658@qq.com |
fedb8c9cb5b71e578ad0fd5a381aac47835c6202 | 238edf5919d6653e0c63552229ac9f48e33ba274 | /AccountData v2/testUserClass.cpp | 6d295fc767dee813f4150dbe38a2abe337a5e6d2 | [] | no_license | elnasty/222_A1 | 9a5b22cb282df9e5185c47250362b8a0fc0247de | 99b9fbd29da3888ed83389045bab122aa3e38d92 | refs/heads/master | 2021-05-05T00:32:17.041262 | 2018-02-21T02:47:01 | 2018-02-21T02:47:01 | 119,502,345 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,294 | cpp | #include "User.cpp"
int main ()
{
//Testing constructors
User user;
User user1 ("S12345", "abc123", "abc.gmail.com");
User user2 ("54321", "12345", "maybenot.gmail.com");
//Test mutators
user2.setStaffID ("setala");
user2.setPwd("setpw");
user2.setEmail("set.gmail.com");
user2.setAccLock (true)... | [
"Dell@Dell-PC"
] | Dell@Dell-PC |
81579646f273e3626b3d180bd262fa407ddfe97f | c67459b3e834e044db19e8d58e460ec69713e503 | /include/polynomial/Polynomial.h | d18ecfc3761c6f514dc07a3d5b5260896c589cde | [] | no_license | levistovall/dog-ate-loaf | 17db38c011b8c48dac29c5a64c3239ec3ad72174 | 100d6536f5a88876d898412a0c65ad81c016f9b3 | refs/heads/master | 2021-04-27T12:51:26.388838 | 2019-05-05T20:01:58 | 2019-05-05T20:01:58 | 122,427,876 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,102 | h | #ifndef POLYNOMIAL_H_
#define POLYNOMIAL_H_
#include <map>
#include <vector>
#include <iostream>
#include <math.h>
#include <typeinfo>
#include <initializer_list>
#include "Rational.h"
/*
* The class template Polynomial<T> can represent a sum of products of scalars and variables
* of any order but cannot represent... | [
"levi.stovall713@gmail.com"
] | levi.stovall713@gmail.com |
1150764899bd035a85eb0f69741020b8950a6389 | 9ecbc437bd1db137d8f6e83b7b4173eb328f60a9 | /gcc-build/i686-pc-linux-gnu/libjava/java/sql/Time.h | 5070468f21da1ac2ff15882032e1c9acbd38e760 | [] | no_license | giraffe/jrate | 7eabe07e79e7633caae6522e9b78c975e7515fe9 | 764bbf973d1de4e38f93ba9b9c7be566f1541e16 | refs/heads/master | 2021-01-10T18:25:37.819466 | 2013-07-20T12:28:23 | 2013-07-20T12:28:23 | 11,545,290 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 766 | h | // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __java_sql_Time__
#define __java_sql_Time__
#pragma interface
#include <java/util/Date.h>
extern "Java"
{
namespace java
{
namespace sql
{
class Time;
}
namespace text
{
class SimpleDateFormat;
}
}
};
c... | [
"giraffe410@126.com"
] | giraffe410@126.com |
c905e9da6f2c33553dbd6bed45248bdb887e2a74 | d7bd0cd8e016fc213ac3e0149487c77e8ef523ba | /Algorithmic_Problem_Solving/rec6_5.cpp | f7db1a222f7a37cbe53e9875d7049d8c2c418bb4 | [] | no_license | Michael98Liu/Competitive-Programming | eafa6fa063efedeec8da10a85ad7a9b8900728b3 | dc5752a1e90bcd3a908e7f307776baf0d349af34 | refs/heads/master | 2021-01-01T20:03:04.073372 | 2019-02-14T15:31:39 | 2019-02-14T15:31:39 | 98,750,625 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 453 | cpp | #include <iostream>
#include <vector>
#include <math.h>
using namespace std;
int main(){
int t;
int n;
int num;
scanf("%d\n", &t);
for( int i =0; i< t; i++ ){
vector<int> canvas;
scanf("%d\n", &n);
for( int j= 0; j < n; j++ ){
scanf("%d\n", &num);
c... | [
"liufengyuan1998@hotmail.com"
] | liufengyuan1998@hotmail.com |
a26d1be3547adc999df23c3bd4b5dec0f46538d3 | 1577e1cf4e89584a125cffb855ca50a9654c6d55 | /WebKit/Source/ThirdParty/ANGLE/src/libANGLE/angletypes.cpp | 95f9c9501b6b1442b71774e3ae98a5a3f6c51222 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | apple-open-source/macos | a4188b5c2ef113d90281d03cd1b14e5ee52ebffb | 2d2b15f13487673de33297e49f00ef94af743a9a | refs/heads/master | 2023-08-01T11:03:26.870408 | 2023-03-27T00:00:00 | 2023-03-27T00:00:00 | 180,595,052 | 124 | 24 | null | 2022-12-27T14:54:09 | 2019-04-10T14:06:23 | null | UTF-8 | C++ | false | false | 33,271 | cpp | //
// Copyright 2013 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// angletypes.h : Defines a variety of structures and enum types that are used throughout libGLESv2
#include "libANGLE/angletypes.h"
#include ... | [
"opensource@apple.com"
] | opensource@apple.com |
0fbaf8260a39755f49c1eff1d38a0a401da80b4f | d19c27c64206429c3c412b2c87f5d550efbc6a9b | /src/transform/gcx/pathstepexpression.h | 08e6b051de5607f9f18e2eb3585dc5f8db117860 | [
"BSD-3-Clause"
] | permissive | aep/asgaard-aera | 9823b6334cbccc6bc9072aa72be15d9c4061ed06 | 90b021a1ba65d80f19af1689e7c724631cf05ae9 | refs/heads/master | 2021-01-21T08:01:13.494678 | 2012-05-19T14:59:54 | 2012-05-19T14:59:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,268 | h | /*
| Author: Michael Schmidt;
| Gunnar Jehl (multi-step paths/aggregate functions/optimizations)
===========================================================================
===========================================================================
| Software License Agreement (BSD License)
|
| Copyrig... | [
"aep@localhost.localdomain"
] | aep@localhost.localdomain |
1cd28019f65db30869125aa68f0040026fa638dd | 54a0e4f3f7df67cda627b13f88243c6d94058b90 | /lab2/lab2.cpp | 5d78e6af18e9d101e8813f5eec57ed44ecc92260 | [] | no_license | jacobhilty/Jacobhilty-csci20-fall2016 | 11060b349c70278440ea949c20563146ea74fb05 | 34b2f010f6caba2dfd5544885c495721d09a7f45 | refs/heads/master | 2020-11-30T13:53:49.381013 | 2016-09-06T09:54:20 | 2016-09-06T09:54:20 | 66,402,110 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 596 | cpp | //Jacob hilty
//8/25/16
//Creating an algorithm in comments, finished at home.
//1. Computer chooses any number between 1 and 10 that the user cannot see
//2. User picks number between 1 and 10
//3. if user's chosen number is the same as number chosen by the compputer, user is awarded 10 points.
//4. if user's chosen ... | [
"jhilty001@student.butte.edu"
] | jhilty001@student.butte.edu |
11854da4f9625a93e1706cd22c1817d31a832012 | 0df48df9ed35e5995af25812137dc0d9d42f96dc | /sketch/RealtekQuadcopter/mpuxxxx.cpp | f67b0be2e28e15275a37f9f13c8f56edb14cb137 | [
"MIT"
] | permissive | ambiot/amb1_arduino | 81539be6ba18a13cc2a33ec37021c5b27684e047 | 16720c2dcbcffa2acee0c9fe973a959cafc3ba8c | refs/heads/dev | 2023-06-08T15:27:52.848876 | 2023-06-07T02:38:24 | 2023-06-07T02:38:24 | 232,280,578 | 9 | 7 | null | 2022-06-01T08:51:01 | 2020-01-07T08:37:52 | C | UTF-8 | C++ | false | false | 6,303 | cpp | /*
The mpuXXXX.cpp is placed under the MIT license
Copyright (c) 2016 Wu Tung Cheng, Realtek
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... | [
"zhangzhenwu@realtek-sg.com"
] | zhangzhenwu@realtek-sg.com |
644a9aadfdaa900e9328d51c1f3c14c55eef1f33 | c1d39d3b0bcafbb48ba2514afbbbd6d94cb7ffe1 | /source/deps/illa/webp_imagecomposer.cpp | 1fbc0969a7b7e9e0b2d6ea8846c2781603c65018 | [
"IJG",
"MIT"
] | permissive | P4ll/Pictus | c6bb6fbc8014c7de5116380f48f8c1c4016a2c43 | 0e58285b89292d0b221ab4d09911ef439711cc59 | refs/heads/master | 2023-03-16T06:42:12.293939 | 2018-09-13T18:19:30 | 2018-09-13T18:19:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,060 | cpp | #include "webp_imagecomposer.h"
#include "surfacemgr.h"
namespace Img {
void WebpImageComposer::SetCanvasSize(Geom::SizeInt newSize)
{
std::lock_guard<std::mutex> l(m_mutFrames);
m_dims = newSize;
}
void WebpImageComposer::SetBackgroundColor(Img::Color backgroundColor)
{
std::lock_guard<std::mutex> l(m_mut... | [
"pontus@mardnas.se"
] | pontus@mardnas.se |
9b5cacbb9deb8b39c364b4d2e95b8bb92e6887e9 | cbbca5fba9870b62c2546642c6bf38d02a19b374 | /Headers/Graphics/ITransform.h | ef5f55ebe0374c5d23099f9ed839cb3c65f5c845 | [] | no_license | jul1278/SimpleComponents | 4383f35d6e7399a22ce540e57870dfb97150d59c | 6e98c96092bb44a83b14435fc9f32a5b1c074c8a | refs/heads/ComponentCollections | 2020-12-11T04:13:28.425645 | 2016-12-13T00:12:12 | 2016-12-13T00:12:12 | 46,651,081 | 0 | 1 | null | 2016-05-08T15:45:26 | 2015-11-22T07:38:29 | C++ | UTF-8 | C++ | false | false | 197 | h | #ifndef ITRANSFORM_H
#define ITRANSFORM_H
struct TransformComponent;
class ITransform
{
public:
virtual ~ITransform() {}
virtual TransformComponent* operator()() = 0;
};
#endif // ITRANSFORM_H | [
"jul1278@gmail.com"
] | jul1278@gmail.com |
80aed4fa8131d6cb15b7bcb7166b61be6559a44b | f6d271233b8a91f63c30148cdcdb86341ba45c2f | /external/TriBITS/tribits/examples/TribitsExampleProject/packages/with_subpackages/b/tests/testlib/b_test_utils.hpp | c0436a413900f739a8cc26ca779849a9cafbdfd9 | [
"BSD-2-Clause",
"BSD-3-Clause",
"GPL-1.0-or-later",
"LicenseRef-scancode-other-permissive",
"MIT"
] | permissive | wawiesel/BootsOnTheGround | 09e7884b9df9c1eb39a4a4f3d3f8f109960aeca0 | bdb63ae6f906c34f66e995973bf09aa6f2999148 | refs/heads/master | 2021-01-11T20:13:10.304516 | 2019-10-09T16:44:33 | 2019-10-09T16:44:33 | 79,069,796 | 4 | 1 | MIT | 2019-10-09T16:44:34 | 2017-01-16T00:47:11 | CMake | UTF-8 | C++ | false | false | 207 | hpp | #ifndef WITHSUBPACKAGES_B_TEST_UTILS_HPP
#define WITHSUBPACKAGES_B_TEST_UTILS_HPP
#include <string>
namespace WithSubpackages {
std::string b_test_utils();
}
#endif // WITHSUBPACKAGES_B_TEST_UTILS_HPP
| [
"ww5@ornl.gov"
] | ww5@ornl.gov |
9a8661d74c8781d15c69970f3a18e7de6e558e33 | 0f732387ddd27d25996bf092e1368c3bad1da62e | /Stack/main.cpp | 0697afdfda8ae33e337cea6291b9a7a36b7c401a | [] | no_license | abdelrahmaneltohamy/data-structure | f462a0d815c8af34af4c6f0b7097aa5c9e9cc084 | e0da5fcfd078f0e39560e655aab5ef3cb781d45d | refs/heads/master | 2022-05-28T13:10:57.053175 | 2020-04-27T12:15:50 | 2020-04-27T12:15:50 | 259,306,010 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,224 | cpp | #include <iostream>
using namespace std;
template <class StackElemType>
class Stack {
public:
Stack(int Size)
{
if(Size<1)
throw"cannot construct an empty stack";
stackArray = new StackElemType[Size];
arraySize = Size;
topIndex = -1; // Point at no where in the array
... | [
"60628831+abdelrahmaneltohamy@users.noreply.github.com"
] | 60628831+abdelrahmaneltohamy@users.noreply.github.com |
81dc22244fdc5b03b610f3951de1a7a23fd5d97f | df19cfb9c58cfd620ca033421f29f52bb8c69511 | /DevMathvector.h | 17c81daec42348baedf042f2fc4cdb02a96fa17c | [] | no_license | devanob/SolarSystem | c987e5084581b34bb28c161c2a8ebc948e1b370a | 623e336d4dd35ee4dd38cb644ad07b5721a73987 | refs/heads/master | 2020-07-12T05:11:14.144938 | 2019-09-07T17:11:59 | 2019-09-07T17:11:59 | 204,727,045 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,780 | h | #ifndef DevMathVECTOR_H
#define DevMathVECTOR_H
#include <vector>
#include <utility>
#include <algorithm>
#include <stdexcept>
#include <mutex>
namespace DevMath {
class generic_error : public std::exception{
public:
generic_error(){
this->error_mssg =(char*)"Error:Unknown";
}
generic... | [
"browndevano@gmail.com"
] | browndevano@gmail.com |
7b23b562c585d1d8d9d460994be9f3ba9adaa8cf | 2b090d51eb8b0603a02a82f03c7f8bd1a3b90893 | /CCO/DMOJ Mock CCO/ccoprep3p2.cpp | 57cacd582dfe3c18d38ceb339b40cd5a5ac2b7d4 | [] | no_license | AnishMahto/Competitive-Programming-Code-and-Solutions | eecffc3a2c72cf557c48a25fa133a3a2b645cd69 | 20a7bed2cdda0efdb48b915fc4a68d6edc446f69 | refs/heads/master | 2020-04-28T14:13:25.614349 | 2019-03-13T03:07:50 | 2019-03-13T03:07:50 | 175,331,066 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,060 | cpp | #include <iostream>
#include <cstdio>
#include <deque>
#include <string.h>
using namespace std;
long long n, L, dp[3*1000002];
deque <long long> pts;
long long sum[3*1000002];
//(dp[x] + X^2, X)
double slope (long long f, long long s) {
return (double)((dp[f] + sum[f]*sum[f])-(dp[s] + sum[s]*sum[s]))/(double)(2*(su... | [
"anish.mahto99@gmail.com"
] | anish.mahto99@gmail.com |
e3f73241cfde8e26693c8e85ac7617aa900280b9 | 9dc7f37e290c03d27172ef211fac548d08ec83c6 | /Testing/testReceiveVideo.cxx | ce326cad6022eaba256b11f445d8eeefe6000c3a | [
"Apache-2.0"
] | permissive | Sunderlandkyl/OpenIGTLinkIO | cd8414ae08add54372e0c6e0facba5984ca3ec48 | 4b792865f07e0dbc812c328176d74c94a5e5983c | refs/heads/master | 2022-11-01T01:09:22.149398 | 2018-01-12T04:03:04 | 2018-01-24T03:08:33 | 120,339,747 | 0 | 0 | null | 2018-02-05T17:45:29 | 2018-02-05T17:45:28 | null | UTF-8 | C++ | false | false | 3,601 | cxx | #include <string>
#include "igtlioLogic.h"
#include "igtlioConnector.h"
#include "vtkTimerLog.h"
#include "vtkImageData.h"
#include "igtlioVideoConverter.h"
#include "vtkMatrix4x4.h"
#include <vtksys/SystemTools.hxx>
#include "igtlioVideoConverter.h"
#include <vtkImageDifference.h>
#include "IGTLIOFixture.h"
#include "... | [
"leochan2009@hotmail.com"
] | leochan2009@hotmail.com |
7b7cbd42e0739a3ede1386fdcb8a69db641126d7 | 3c378513afb8e6c2680715c91c31845b67e71885 | /src/KScheme_4Bit_IU.cpp | 83f6e2757c6451b54b037899acefdb27fbbfd6f9 | [] | no_license | yingfeng/integer_encoding_library_sparklezzz | 582f21140a0c6cccae692f8e92464b8a1f093674 | 8ba46561cde38920674f4789f4f413ceed45ef6b | refs/heads/master | 2021-01-17T12:26:12.838738 | 2015-01-14T13:37:40 | 2015-01-14T13:37:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,082 | cpp | /*
* KScheme_4Bit_IU.cpp
*
* Created on: 2013-2-25
* Author: zxd
*/
#include "KScheme_4Bit_IU.hpp"
using namespace paradise::index;
int KScheme_4Bit_IU::encodeUint32(char* des, const uint32_t* src, uint32_t encodeNum) {
return encode<uint32_t> (des, src, encodeNum);
}
int KScheme_4Bit_IU::decodeUint32(uin... | [
"xdzhang@yahoo-inc.com"
] | xdzhang@yahoo-inc.com |
c1f50da97d8be27015d66d945985365b2ca7418b | 93a113f11d064f099b96031c2eeafb76d41ac948 | /summer/7.25.1.cpp | 3449a474dc42ac0dddf792649bf63ad0bd1459d4 | [] | no_license | yyc794990923/Algorithm | 00905cc64351f8342059594adfa02e51714c070b | 9c31f315540c4797fdc4336cebc1361a3765cc8e | refs/heads/master | 2021-01-20T01:53:38.108368 | 2017-07-25T09:37:32 | 2017-07-25T09:37:32 | 89,342,048 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 614 | cpp | /*************************************************************************
> File Name: 7.25.1.cpp
> Author: yanyuchen
> Mail: 794990923@qq.com
> Created Time: 2017年07月25日 星期二 14时51分13秒
************************************************************************/
#include<iostream>
using namespace std;
int gcd(int a... | [
"yanyuchen@xiyoulinux.org"
] | yanyuchen@xiyoulinux.org |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.