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 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
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 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ee1803840a6f13212443941c783def9a6634efb8 | 300d44411df8b4142b03b0a71cc282e9d2a14347 | /src/util/net_util.cpp | bb63fab0b49d8c522a13cc9307c5ecc4915c16d0 | [
"MIT"
] | permissive | abdulabbas/Multiverso | d0ebacc02eaacfbe818bf84f49633530ce53682e | 143187575d1cfa410100037b8aea2e767e0af637 | refs/heads/master | 2021-01-11T15:18:01.710097 | 2016-12-08T05:51:01 | 2016-12-08T05:51:01 | 80,324,507 | 1 | 0 | null | 2017-01-29T02:21:47 | 2017-01-29T02:21:47 | null | UTF-8 | C++ | false | false | 2,893 | cpp | #include "multiverso/util/net_util.h"
#include <string>
#include "multiverso/util/log.h"
#ifdef _MSC_VER
#include "winsock2.h"
#include "iphlpapi.h"
#pragma comment(lib, "IPHLPAPI.lib")
#else
#include <net/if.h>
#include <arpa/inet.h>
#include <ifaddrs.h>
#include <netinet/in.h>
#endif
namespace multiverso {
namespa... | [
"gf0109@gmail.com"
] | gf0109@gmail.com |
f398e503476c3c55bfc5b7856969df9da7743544 | 8cf763c4c29db100d15f2560953c6e6cbe7a5fd4 | /src/qt/qtbase/src/plugins/platforms/android/androidjniclipboard.cpp | e217ca361e71562081c9ec93ed341a42fa3d198a | [
"LGPL-2.0-or-later",
"LGPL-2.1-only",
"GFDL-1.3-only",
"Qt-LGPL-exception-1.1",
"LicenseRef-scancode-digia-qt-commercial",
"LGPL-3.0-only",
"GPL-3.0-only",
"LicenseRef-scancode-digia-qt-preview",
"LGPL-2.1-or-later",
"GPL-1.0-or-later",
"LicenseRef-scancode-unknown-license-reference",
"GPL-2.0... | permissive | chihlee/phantomjs | 69d6bbbf1c9199a78e82ae44af072aca19c139c3 | 644e0b3a6c9c16bcc6f7ce2c24274bf7d764f53c | refs/heads/master | 2021-01-19T13:49:41.265514 | 2018-06-15T22:48:11 | 2018-06-15T22:48:11 | 82,420,380 | 0 | 0 | BSD-3-Clause | 2018-06-15T22:48:12 | 2017-02-18T22:34:48 | C++ | UTF-8 | C++ | false | false | 2,921 | cpp | /****************************************************************************
**
** Copyright (C) 2012 BogDan Vatra <bogdan@kde.org>
** Contact: http://www.qt-project.org/legal
**
** This file is part of the plugins of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Licensees holding vali... | [
"ariya.hidayat@gmail.com"
] | ariya.hidayat@gmail.com |
aeb508b539f9d17fe36dd334a78dbcec6930e144 | f874d797cb9cdb5ed99a549cde916544111d1efd | /Source/EpidemicVectors/FindPlayerQueryContext.cpp | d6bd686b81f5e80aa70f7a26f4dbbdf73ca56942 | [] | no_license | danbatis/EV_unreal | 509e21bf986889488e9bf00d7ba9fb6a50acee55 | 252e81a96a9aa3bef70596c9b001c10a3e87b6f9 | refs/heads/master | 2021-07-22T02:26:26.345722 | 2019-01-04T11:11:24 | 2019-01-04T11:11:24 | 147,954,708 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 934 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "FindPlayerQueryContext.h"
#include "EnvironmentQuery/EnvQueryTypes.h"
#include "EnvironmentQuery/Items/EnvQueryItemType_Actor.h"
#include "MutationCtrl.h"
void UFindPlayerQueryContext::ProvideContext(FEnvQueryInstance& QueryIns... | [
"danielbatista.contato@gmail.com"
] | danielbatista.contato@gmail.com |
70ff54fb0e8ec97790ff98fcbd5c5bab63766681 | 70d5afefb1840f87ecec74f357028daf2f795e7b | /Src/Server/test_log.cpp | 1773d2cbe6ada0662f9d7d0b45fcdcf5374fe836 | [] | no_license | huweiqing915/spell_correct | 07f3fea78546839f0195d44b958690643f66bb48 | 1d6e1354c8baf327ac8800b2e4bfcadc46bf8e40 | refs/heads/master | 2020-05-18T05:18:54.921978 | 2014-05-12T12:13:04 | 2014-05-12T12:13:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 411 | cpp | /*************************************************************************
> File Name: test_log.cpp
> Author: huwq
> Mail:huweiqing915@gmail.com
> Created Time: 2014年05月08日 星期四 14时34分17秒
************************************************************************/
#include "Log.h"
int main()
{
int a = 2;
if(a > ... | [
"huweiqing915@gmail.com"
] | huweiqing915@gmail.com |
22256b7db339301e1b091860114ab729e305668a | 8481b904e1ed3b25f5daa982a3d0cafff5a8d201 | /C++/BZOJ/BZOJ 1725.cpp | b47c06085ec02f2b09b35101b4e1aefa799a20bf | [] | no_license | lwher/Algorithm-exercise | e4ac914b90b6e4098ab5236cc936a58f437c2e06 | 2d545af90f7051bf20db0a7a51b8cd0588902bfa | refs/heads/master | 2021-01-17T17:39:33.019131 | 2017-09-12T09:58:54 | 2017-09-12T09:58:54 | 70,559,619 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 847 | cpp | #include<iostream>
#include<cstdio>
#include<cmath>
using namespace std;
int n,m;
int map[14];
int mi[14];
long long f[14][5000];
int main()
{
int i,j,k;
long long ans=0;
mi[0]=1;
for(i=1;i<=13;i++)
mi[i]=2*mi[i-1];
scanf("%d%d",&n,&m);
for(i=1;i<=n;i++)
for(j=1;j<=m;j++)
{
scanf... | [
"751276936@qq.com"
] | 751276936@qq.com |
b2669dffd24a157a7c3f7ad2163c337c25b76e31 | 1cc631c61d85076c192a6946acb35d804f0620e4 | /Source/xfx_core/renderer/xfx_drawtools.h | f5c32f0c04fbb8b63c283e15d01936c3d543b018 | [] | no_license | reven86/dreamfarmgdk | f9746e1c0e701f243c7dd2f14394970cc47346d9 | 4d5c26701bf05e89eef56ddd4553814aa6b0e770 | refs/heads/master | 2021-01-19T00:58:04.259208 | 2016-10-04T21:29:28 | 2016-10-04T21:33:10 | 906,953 | 2 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 10,536 | h | // File xfx_drawtools.h |
// |
// Created by: Andrew "RevEn" Karpushin |
// ... | [
"reven86@gmail.com"
] | reven86@gmail.com |
142e10b23f9d5cfa24c1396fdf209b239064b161 | 0675bb9d14d2a2df08f4214d97f98fa62ceacb3e | /patbasic/test1053.cpp | 2674fb0e1cc59248d0077f4769abac87262657fb | [
"MIT"
] | permissive | S96EA/PATBasic | 178576a06092e507ea0122e58272fe6979c68508 | 6215232750aa62cf406eb2a9f9c9a6d7c3850339 | refs/heads/master | 2022-01-06T22:38:31.767318 | 2019-05-31T13:28:41 | 2019-05-31T13:28:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 796 | cpp | //
// Created by neild47 on 18-4-29.
//
#include <iostream>
using namespace std;
int test1053() {
int maybeNum = 0, mustNum = 0;
int numPeople, D;
double threshold;
cin >> numPeople >> threshold >> D;
for (int i = 0; i < numPeople; i++) {
int day;
cin >> day;
int numLowerT... | [
"neild47@163.com"
] | neild47@163.com |
4ac0f580b82eb5a9d53bd678dde8c9e0c22ff9c8 | 641fa8341d8c436ad24945bcbf8e7d7d1dd7dbb2 | /ios/chrome/test/testing_application_context.h | 0f6af8e4deedaf4bc5a475f9c7bd5cdcfa5e47fd | [
"BSD-3-Clause"
] | permissive | massnetwork/mass-browser | 7de0dfc541cbac00ffa7308541394bac1e945b76 | 67526da9358734698c067b7775be491423884339 | refs/heads/master | 2022-12-07T09:01:31.027715 | 2017-01-19T14:29:18 | 2017-01-19T14:29:18 | 73,799,690 | 4 | 4 | BSD-3-Clause | 2022-11-26T11:53:23 | 2016-11-15T09:49:29 | null | UTF-8 | C++ | false | false | 2,496 | h | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef IOS_CHROME_TEST_TESTING_APPLICATION_CONTEXT_H_
#define IOS_CHROME_TEST_TESTING_APPLICATION_CONTEXT_H_
#include <memory>
#include "base/macros.h"... | [
"xElvis89x@gmail.com"
] | xElvis89x@gmail.com |
2d405fde4d379b3dc6e4de8fbb6246ff48b9160e | 4a2380e6896cb2251fca27af8030b3369dedfc18 | /experiment_3_TCRT5000_test/experiment_3_TCRT5000_test.ino | 32bfd7e2194aafe803cbf4f879ab13e9898f9cc1 | [
"MIT"
] | permissive | ghallberg-nbtt/congenial-tribble | 82c661f594532e0b2c50e991406a79d8a64d78d7 | ff52b68edf79485c53d6bda3c94c89875b5ea919 | refs/heads/main | 2023-02-28T07:59:48.603696 | 2021-02-04T17:39:48 | 2021-02-04T17:39:48 | 320,844,461 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 603 | ino | /*
TCRT5000 Test
Copyright 2020 Gary Hallberg
Licensed under MIT https://github.com/ghallberg-nbtt/congenial-tribble/blob/master/LICENSE
*/
const int DO_PIN = 5;
const int AO_PIN = 2;
void setup() {
pinMode (DO_PIN, INPUT); //Read DO from sensor
Serial.begin (9600);
}
void loop() {
int DO ... | [
"noreply@github.com"
] | ghallberg-nbtt.noreply@github.com |
1465b7d1d9f9060f1985845eda39ebb3b356c814 | b3abc64d675731cd8b0b04d655b1713f585599fa | /Ejercicios/EjerciciosRelacion3/Ejercicio15E.cpp | 27c6339bee925e8818244d939947738868d1771e | [
"Apache-2.0"
] | permissive | JArandaIzquierdo/FundamentosDeProgramacion | a3808836ab29629662a272b46b16ec2117d8cbd1 | c7c8e79c880de511c3667796356ffa265b021eb2 | refs/heads/master | 2021-05-04T10:03:42.807157 | 2017-11-30T23:47:15 | 2017-11-30T23:47:15 | 43,295,671 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,408 | cpp | #include <iostream>
using namespace std;
class Recta{
private:
int a,b,c;
public:
//Contruector de la clase recta
Recta(int a, int b, int c){
setCoeficientes(a,b,c);
}
//Metodo de la clase para obtener la pendiente
double calcularPendiente(){
double pendiente = (a * -1) / b;
... | [
"j.arandaizquierdo@gmail.com"
] | j.arandaizquierdo@gmail.com |
0dc547973fca491c60026d5bb37023dc468ebbf7 | 578f1e3e65c67db94b0abc4967e690004247c3b2 | /harbour/contests/summerbreak/contest5/a.cpp | ee6393c02d9bb34e9203251aa23c809f5d6ac6a5 | [] | no_license | Farrius/cp | 028146987efaf43be8d8e653014b8fb2d616c288 | 341faf32de77e566a12bc68819b4e81ed94c0030 | refs/heads/master | 2023-08-16T15:01:20.678334 | 2021-09-26T17:17:14 | 2021-09-26T17:17:14 | 298,070,687 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,653 | cpp | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
ll pw (int n) {
return n * 1LL * n;
}
ll q (int x, int y, int z) {
return pw(x - y) + pw(x - z) + pw(y - z);
}
int main () {
ios_base::sync_with_stdio(0); cin.tie(0);
int t;
cin >> t;
while (t--) {
int n1, n2, n3;
... | [
"oscargarries@gmail.com"
] | oscargarries@gmail.com |
0952f6f0371a7cb31232aff1db5d2c787b56e780 | 9a7ee256bc1e30c4ea2c58681df26b71c2e86f5b | /NodeMCU.ino | 99f9eb7a4d56b0098f6def4c1f6cbbadb99ece79 | [] | no_license | Mansiswami/iot | 7b314510b75b9fa7771b9b809b47182c164832c8 | 59d9dbd642dd74410f1ba9d8467accd6deab108c | refs/heads/master | 2020-04-02T10:15:29.044523 | 2018-10-23T13:48:49 | 2018-10-23T13:48:49 | 154,331,249 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,386 | ino |
#define BLYNK_PRINT Serial
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
#include <MQ2Lib.h>
char auth[] = "ENTER BLYNK AUT CODE";
char ssid[] = "ENTER NETWORK NAME";
char pass[] = "ENTER NETWORK NAME";
int pin = A0;
float lpg = 0, co = 0, smoke = 0;
BlynkTimer timer;
MQ2 mq2(pin, true);
void ... | [
"noreply@github.com"
] | Mansiswami.noreply@github.com |
ff8ad0867858ac008ba34c1e82c70b6c8afd63f4 | 775d485029b2250947cbf0b314467e3c9c70ba86 | /src/storage/fshost/block-device-manager-test.cc | 784580403eebce3c6a9d8fc87ace3acf6f28774e | [
"BSD-2-Clause"
] | permissive | yueyedeai/fuchsia | c8c2ad54dcf91842832ddd6bdfe19d6bfe587be2 | cbb6c89423ba2f8ac76300834796d15b13a98f40 | refs/heads/master | 2023-06-19T18:39:46.045730 | 2021-07-15T22:45:50 | 2021-07-15T22:45:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,887 | cc | // Copyright 2020 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/storage/fshost/block-device-manager.h"
#include <fuchsia/hardware/block/volume/llcpp/fidl.h>
#include <lib/fdio/cpp/caller.h>
#include <sys/... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
f25501cc3a527ad9c399160e0da7b80bb96e6502 | 09e5cfe06e437989a2ccf2aeecb9c73eb998a36c | /modules/cctbx_project/scitbx/array_family/versa_plain.h | 9d582a7751a10c6278f932b6aa4ad395d13cf407 | [
"BSD-3-Clause-LBNL",
"BSD-3-Clause"
] | permissive | jorgediazjr/dials-dev20191018 | b81b19653624cee39207b7cefb8dfcb2e99b79eb | 77d66c719b5746f37af51ad593e2941ed6fbba17 | refs/heads/master | 2020-08-21T02:48:54.719532 | 2020-01-25T01:41:37 | 2020-01-25T01:41:37 | 216,089,955 | 0 | 1 | BSD-3-Clause | 2020-01-25T01:41:39 | 2019-10-18T19:03:17 | Python | UTF-8 | C++ | false | false | 7,354 | h | #ifndef SCITBX_ARRAY_FAMILY_VERSA_PLAIN_H
#define SCITBX_ARRAY_FAMILY_VERSA_PLAIN_H
#include <scitbx/error.h>
#include <scitbx/array_family/shared_plain.h>
namespace scitbx { namespace af {
template <typename ElementType,
typename AccessorType = trivial_accessor>
class versa_plain : public shared_pla... | [
"jorge7soccer@gmail.com"
] | jorge7soccer@gmail.com |
b3a96652c0f30b9c2e1c63829c9ba403057c3f3a | a62342d6359a88b0aee911e549a4973fa38de9ea | /0.6.0.3/External/SDK/UI_Management_NPCLabels_classes.h | e30bb1bee2c93a22969a261924d5ecec3973645f | [] | 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 | 2,951 | h | #pragma once
// Name: Medieval Dynasty, Version: 0.6.0.3
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//-----------------------------------------------... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
f822834c6fe9b5d40611e37e310a002ce2fe909e | bb8b260a17993c149264bbc722814878a209952b | /src/server_mock/server_mock.cpp | e8ccf988950090bf702398030b9a607098b6a4d9 | [] | no_license | torbjoernk/ServerMockCpp | 469a5256cc38171426a3bac067871b238038e17c | e4c315d47c2771b6f7895498e7224d5e4d082c3a | refs/heads/master | 2021-01-22T04:53:42.262497 | 2017-02-11T20:26:01 | 2017-02-11T20:26:01 | 81,596,143 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 95 | cpp | #include "server_mock/server_mock.hpp"
namespace server_mock {
} // namespace server_mock
| [
"t.klatt.oss@mailbox.org"
] | t.klatt.oss@mailbox.org |
bc821330650f1c03fcfba8bc2fa1f5b1a20a7e7e | 2b097411c5f7cd6ca6636d79f0d130825b54b6ab | /pwiz/analysis/passive/RegionTIC.hpp | d16617c6f45fd2369f7acfe414cad06f054bf6e3 | [
"Apache-2.0"
] | permissive | AlexandreBurel/pwiz-mzdb | 85ebd00d6d4556bf207224b4116956122b0f8a0e | d039e2d8ab81bf0d9176b6af311720bc2c924a4d | refs/heads/master | 2021-01-18T17:58:47.382718 | 2016-11-30T14:13:30 | 2016-11-30T14:13:30 | 50,989,641 | 0 | 0 | null | 2016-02-03T09:41:16 | 2016-02-03T09:41:16 | null | UTF-8 | C++ | false | false | 2,767 | hpp | //
// $Id: RegionTIC.hpp 7297 2015-03-12 05:30:33Z paragmallick $
//
//
// Original author: Darren Kessner <darren@proteowizard.org>
//
// Copyright 2008 Spielberg Family Center for Applied Proteomics
// Cedars-Sinai Medical Center, Los Angeles, California 90048
//
// Licensed under the Apache License, Version 2.0 (... | [
"cram@hotmail.fr"
] | cram@hotmail.fr |
cd0ad17bdec1db82e6d7530b4fd9895f049579d6 | b4f9d8a15aa892445c9676abbfeb0333e78c458e | /YART-Test/src/math/boundingbox.cpp | 674a24b5f697dea2b880c520a3de29d266c8ebe3 | [] | no_license | junnys6018/YART | b9dc4bbb24e392499f4cd696038b498e72bcdf28 | 57ed173e9115b787cac5f0196ca22d0a686b8e40 | refs/heads/master | 2023-06-30T05:29:45.630344 | 2021-07-15T09:42:55 | 2021-07-15T09:55:14 | 337,949,841 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,770 | cpp | #include <catch_amalgamated.hpp>
#include <yart.h>
using namespace yart;
using namespace Catch;
TEST_CASE("Bounds3f Ray Intersection", "[math][bounds]")
{
Bounds3f bound({0, 0, 0}, {3, 4, 5});
Ray miss({-1, -1, -1}, {-1, -1, -1});
Ray hitOnce({2, 2, 2}, {1, 0, 0});
Ray hitTwice({2, -1, 2}, {0, 1, 0});... | [
"junkanglim1@gmail.com"
] | junkanglim1@gmail.com |
84de2a1bb0391fc31ad375ab4dae334765e828e5 | a7e40f5b729e46c7555943efce48f726820b95c3 | /src/bh_src/Src/Modules/Perception/BallPerceptor.h | eceb4ecf936a4fb5896cd15db9f0272f38c13e8d | [] | no_license | uchile/bh-motion_ros-pkg | 995f7e9b41da22a9f190b991622333b47942aaae | 5aac68185f6ac0b48b4241b09c85734c9c59b642 | refs/heads/master | 2016-09-06T21:38:42.112878 | 2013-06-21T20:35:09 | 2013-06-21T20:35:09 | 10,834,419 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,653 | h | /**
* @file BallPerceptor.h
* This file declares a module that provides the ball percept.
* @author Colin Graf
*/
#pragma once
//#include "Tools/Module/Module.h"
#include "Representations/Configuration/FieldDimensions.h"
#include "Representations/Infrastructure/Image.h"
#include "Representations/Perception/CameraMatr... | [
"dleottau@ing.uchile.cl"
] | dleottau@ing.uchile.cl |
762909fe402b3b1cc7661abef5fdbfaa80b9569a | f8809a053cb8d9ea002e4c0877b7279176862c09 | /Main.cpp | 04883f7e822e4b00c272f88db5709d07ff97c947 | [] | no_license | KeatonMueller/chopsticks | 8de19bb3094dd9f26cfefc161c7b48fe1b4afb0d | 767891a623d691c0967ef9f1ebed7351eb5f5919 | refs/heads/main | 2023-06-12T07:33:14.714526 | 2021-07-08T22:07:11 | 2021-07-08T22:07:11 | 381,895,463 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 572 | cpp | #include <iostream>
#include "Util.h"
#include "Game.h"
#include "Player.h"
#include "HumanPlayer.h"
#include "MinimaxPlayer.h"
int main()
{
// ask user for player types
uint8_t input = getInput("Is Player 1 a [1] Human, or [2] Computer: ", 1, 2);
Player* p0 = input == 1 ? (Player*)new HumanPlayer(0) : (Player*)ne... | [
"kmueller135@gmail.com"
] | kmueller135@gmail.com |
9244975b5e837a20ef58f07d1deb64e6aefef486 | ba3df612e34f8e955855ffd223c475fb697605c0 | /third_party/spirv-tools/source/fuzz/fuzzer_pass_adjust_function_controls.cpp | b38bd212c74f4d9b25473d59421d9b69263bde3b | [
"CC0-1.0",
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0",
"LicenseRef-scancode-generic-cla"
] | permissive | dugufly/filament | c36cb53cdf206b34ffbd6255e5452ac44258329a | 342deb5a64d5e4f49c0bb91d8411ee28f552d0b1 | refs/heads/main | 2023-08-27T19:56:28.937849 | 2021-11-12T17:52:58 | 2021-11-12T17:52:58 | 428,117,105 | 1 | 0 | Apache-2.0 | 2021-11-15T04:00:59 | 2021-11-15T04:00:59 | null | UTF-8 | C++ | false | false | 2,900 | cpp | // Copyright (c) 2019 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 ... | [
"noreply@github.com"
] | dugufly.noreply@github.com |
e4208cd8e28f15c80dde347334d2214c5d64f07d | 32ebfb8f265d0516f281cada2a3550a91903e2ac | /StringTopics/solution_longest_substring_3.cpp | efb5b83447a7d62bd764ab64a16c7b7fbf39774f | [] | no_license | akun1993/Leetcode | b73823836a3abcf4adbf51957852e2d4e78e069a | bfe49541da3b11b55b89560fed306471e3f92aee | refs/heads/master | 2020-06-20T07:13:03.555964 | 2019-07-27T02:02:04 | 2019-07-27T02:02:04 | 197,038,221 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,402 | cpp | #include "solution_longest_substring_3.h"
int SolutionLongestSubstring::lengthOfLongestSubstring(std::string s)
{
if (s.size() <= 1)
return s.size();
int sum[256] = {0};
int max_len = 0;
int tmp = 0;
int begin = 0;
for (size_t i = 0; i < s.size(); ++i)
{
int idx = s[i];... | [
"445426779@qq.com"
] | 445426779@qq.com |
74e6d8ce2f08512fa73efc49c3cdf198da90c396 | cc4cbf58208c1e3e77b8a4784be12957157e9782 | /kpk/kpk-data/Name.cpp | f38edae3a87a15c14152b7705a912235b0b700c2 | [] | no_license | mkyzyma/qt-projects | 1c19cc51b17a80f3431389ee94be92253bc95a93 | 5d6de17d3e532e77bf97974c784f1bbb43ea7a09 | refs/heads/master | 2020-04-06T03:33:25.249869 | 2016-09-12T12:43:03 | 2016-09-12T12:43:03 | 36,111,694 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 996 | cpp | #include "Name.h"
namespace kpk {
namespace data {
QString Name::
first() const
{
return _first;
}
void Name::
first(const QString &first)
{
_first = first;
_full = combine();
}
QString Name::
last() const
{
return _last;
}
void Name::
last(const QString &last)
{
_last = last;
_full = combi... | [
"mkyzyma@gmail.com"
] | mkyzyma@gmail.com |
09ba0e09b51c706695f4ce1900fb93609d0fcf43 | 6b7a2e6ab2386e1c6672ebbc9341ad2e0b055a58 | /Super_Mario_Bros3-main/Super_Mario_Bros3/MovingRock.cpp | a5ca3732844d386a5ce53d4b78aeb330a7cdf706 | [] | no_license | RiverO2442/GameMario | ed71dde8b9dd837a32e8380c012f455575be27b9 | 96e4bfa8e347b3dd20f354b3753686fc0eb0b9b5 | refs/heads/main | 2023-02-24T18:34:59.220875 | 2021-01-12T11:06:36 | 2021-01-12T11:06:36 | 305,049,136 | 0 | 0 | null | 2021-01-12T08:11:57 | 2020-10-18T07:45:02 | C++ | UTF-8 | C++ | false | false | 2,026 | cpp | #include "MovingRock.h"
CMovingRock::CMovingRock()
{
SetState(MOVING_ROCK_STATE_IDLE);
SetPosition(12000, 12000);
}
void CMovingRock::GetBoundingBox(float& l, float& t, float& r, float& b)
{
l = t = r = b = 0;
}
void CMovingRock::Update(DWORD dt, vector<LPGAMEOBJECT>* coObjects)
{
CGameObject::Update(dt);
... | [
"18520716@gm.uit.edu.vn"
] | 18520716@gm.uit.edu.vn |
4f810c6451a4e643007f0efe623a3345ec5b0c0b | 6e0ef05eba666f65f981d1dcd83b777a6caf3627 | /HW5/non-split/GaussFilter.cpp | 11dc1b6ed9640af08daabbaf899c0ddf78808688 | [] | no_license | infinite-vigilant/EE6470 | 9b5d4e169b132829c2626f27ed9f285560504870 | bb163c57905f289bf4ac47a5aff392eca68d5bc6 | refs/heads/main | 2023-06-11T18:01:11.940171 | 2021-07-02T20:15:01 | 2021-07-02T20:15:01 | 348,124,527 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,780 | cpp | #include <cmath>
#ifndef NATIVE_SYSTEMC
#include "stratus_hls.h"
#endif
#include "GaussFilter.h"
GaussFilter::GaussFilter( sc_module_name n ): sc_module( n )
{
#ifndef NATIVE_SYSTEMC
#endif
SC_THREAD( do_filter );
sensitive << i_clk.pos();
dont_initialize();
reset_signal_is(i_rst, false);
#ifndef NATIVE_... | [
"noreply@github.com"
] | infinite-vigilant.noreply@github.com |
5bc0b13743acfbfde6f09a72ca5355ec78ca53e7 | 6250f3343eff1638912510b66ed936c59796635a | /include/toolkit/thirdparty/stlsoft/STLSoft/include/winstl/filesystem/file_creation_functions.h | 7d483fa0bea277aca3cccfb0683bb585ab008ce7 | [
"Apache-2.0"
] | permissive | nneesshh/mytoolkit | b4b242307a6603bc5785bc130de8f4d3b5ea9265 | 336ae9c7077c8687a8cf8a2ce4aec804c28ab90c | refs/heads/master | 2020-04-05T15:18:07.985547 | 2018-12-17T11:36:07 | 2018-12-17T11:36:07 | 156,961,652 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 6,650 | h | /* /////////////////////////////////////////////////////////////////////////
* File: winstl/filesystem/file_creation_functions.h
*
* Purpose: File creation functions.
*
* Created: 12th September 2005
* Updated: 19th February 2017
*
* Home: http://stlsoft.org/
*
* Copyright (c) 2005-2... | [
"nneesshh@163.com"
] | nneesshh@163.com |
7c2836e52f593df88e54507f4a64f8207c4573cd | 5a60d60fca2c2b8b44d602aca7016afb625bc628 | /aws-cpp-sdk-route53resolver/include/aws/route53resolver/model/GetResolverEndpointResult.h | 1d7c23bac42563ec7195d5fb918f63080613374e | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | yuatpocketgems/aws-sdk-cpp | afaa0bb91b75082b63236cfc0126225c12771ed0 | a0dcbc69c6000577ff0e8171de998ccdc2159c88 | refs/heads/master | 2023-01-23T10:03:50.077672 | 2023-01-04T22:42:53 | 2023-01-04T22:42:53 | 134,497,260 | 0 | 1 | null | 2018-05-23T01:47:14 | 2018-05-23T01:47:14 | null | UTF-8 | C++ | false | false | 2,282 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/route53resolver/Route53Resolver_EXPORTS.h>
#include <aws/route53resolver/model/ResolverEndpoint.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
class A... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
724a534b507a4b3c3c642e81b3133b31023a96af | 1ba9296a1327a7ba2c7b31ec338349dcd2210b59 | /src/compat/assumptions.h | 1ef5ebe843c677112151b3f00568c521711729c9 | [
"MIT"
] | permissive | zmiguel/OxedCoin-Core | b8d61a8fc6d9ba95040ccf3ed98382f942e93d25 | e2ff080dbcd29ec3aa3bd9330f7f7b628d56ffe3 | refs/heads/main | 2023-03-20T22:24:13.434735 | 2021-03-17T01:53:16 | 2021-03-17T01:53:16 | 348,143,839 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,197 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2019 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
// Compile-time verification of assumptions we make.
#ifndef BITCOIN_COMPAT_ASSU... | [
"zmiguel.alves@gmail.com"
] | zmiguel.alves@gmail.com |
21484dbe5c70410470edfafc966e81a694700b4e | 32c5423077b645209a39baf787a0abd9603f76f7 | /applications/turing/cpp/main.cpp | 7b546981c9c498bd646b8fa7b81ab919b6c2afc6 | [
"MIT"
] | permissive | beckerrh/simfemsrc | 73364dadb75142448a3f3694584b1839e6b20575 | d857eb6f6f8627412d4f9d89a871834c756537db | refs/heads/master | 2022-06-27T19:44:53.482396 | 2022-06-02T15:52:13 | 2022-06-02T15:52:13 | 157,715,420 | 0 | 0 | MIT | 2019-01-31T10:58:53 | 2018-11-15T13:24:18 | C++ | UTF-8 | C++ | false | false | 1,553 | cpp | #include <Mesh/mesh.hpp>
#include <Mesh/enums.hpp>
#include "solver.hpp"
#include <Solvers/options.hpp>
/*---------------------------------------------------------*/
void test(meshEnums::meshtype type)
{
int partion_id=1;
bool construct_bdrymeshes=true;
std::shared_ptr<mesh::MeshInterface> mesh = mesh::Mesh:... | [
"roland.becker@univ-pau.fr"
] | roland.becker@univ-pau.fr |
3228f4e48a531b14daf6be3f267ff62dca591761 | 81531cebd6aa377aa68e6e4b3083fe33fbdf12df | /Greedy/Shop in Candu Store.cpp | 3e01057437e4f05d15c6ed86f3e492f149699765 | [] | no_license | dheerajsharma0401/GeeksForGeeks-Solutions | afc1c77f51c46ac6a9bf3186479a334f46d037f5 | c1b2cde0aa0faef66455b76aa427369cec7fb1e0 | refs/heads/main | 2023-07-22T22:38:00.765844 | 2021-08-21T11:06:45 | 2021-08-21T11:06:45 | 397,887,879 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 806 | cpp | class Solution
{
public:
vector<int> candyStore(int candies[], int N, int K)
{
// Write Your Code here
//vector<int> vec;
// vector<int> formin;
sort(candies,candies+N);
int start=0,end=N-1;
int mincount=0,maxcount... | [
"noreply@github.com"
] | dheerajsharma0401.noreply@github.com |
8e7f1341c3405154f17487f6f163e1fe6469ec63 | ac8a258a53b06468fceb9ea56d3c889313f10478 | /Twilix/GlInit.hpp | 42af55724d273980a2bb7cd0a1fa023aac9a46db | [
"MIT"
] | permissive | MixaPlt/Twilix | 1a6af18de7b06a69024c24f344153878bec9e766 | 40e6142e14a2b4cfd36300814adafb97129296a3 | refs/heads/master | 2021-04-30T09:39:15.198091 | 2018-04-11T21:28:34 | 2018-04-11T21:28:34 | 120,754,140 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 361 | hpp | #pragma once
#include <SFML/Graphics.hpp>
#include <SFML/OpenGL.hpp>
bool glInit()
{
glEnable(GL_DEPTH_TEST);
glDepthMask(GL_TRUE);
glClearDepth(1.f);
glEnable(GL_TEXTURE_2D);
glEnableClientState(GL_VERTEX_ARRAY);
glEnableClientState(GL_TEXTURE_COORD_ARRAY);
glDisableClientState(GL_NORMAL_ARRAY);
glDisableC... | [
"MixaPlt@hotmail.com"
] | MixaPlt@hotmail.com |
768ade59f1f1cbaba410881b665a3603198c41b2 | 061ec60f27a52a2a02363b443a2c30fe878bd88b | /src/Colour.cpp | f18991bd5c97218ff8fc61e20055971c59ba01f4 | [
"MIT"
] | permissive | dgavedissian/dawn-gfx | 2c6a2bd53932dd753b972817cda313e92f488901 | cdb0b2f6cf9c2df5712ec49195549f40313860ea | refs/heads/develop | 2020-09-28T08:33:36.448580 | 2020-01-27T15:49:19 | 2020-01-27T15:49:19 | 226,734,703 | 5 | 1 | MIT | 2020-01-27T15:49:20 | 2019-12-08T21:30:55 | C++ | UTF-8 | C++ | false | false | 932 | cpp | /*
* Dawn Graphics
* Written by David Avedissian (c) 2017-2020 (git@dga.dev)
*/
#include "Colour.h"
namespace dw {
namespace gfx {
Colour::Colour() : components_{0.0f, 0.0f, 0.0f, 1.0f} {
}
Colour::Colour(float r, float g, float b, float a) : components_{r, g, b, a} {
}
float Colour::r() const {
return compon... | [
"git@dga.dev"
] | git@dga.dev |
9ebda16c1f177a467b9f84b240a3d6c8e1603752 | d9a0eea0107aa46baa21e3a09e3112bac9e7ccbe | /Assignment2/assignment2.cpp | 2d976f941114459e44be8ce7a22862f3b4bf9dc3 | [] | no_license | onkardeshpande100/ADSL | c60e36f03b2fe88711a52016b095cf427493a48c | 8c775cca7eab73a46f5f68535c3eaa5ba5a4d1b4 | refs/heads/master | 2020-09-06T00:58:09.949334 | 2019-11-07T15:28:12 | 2019-11-07T15:28:12 | 220,265,207 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,560 | cpp | //============================================================================
// Name : assignment2.cpp
// Author : Onkar Deshpande(21315)
// Version :
// Copyright : Your copyright notice
// Description : Hello World in C++, Ansi-style
//==============================================================... | [
"noreply@github.com"
] | onkardeshpande100.noreply@github.com |
73aa084bd9327835750fed2fa1fa2ead73d04df9 | d732c881b57ef5e3c8f8d105b2f2e09b86bcc3fe | /src/module-model_obj/VType_Bevel.cpp | e2dc6f2382ce09ed92cdf2635482a9f5d7ce53e3 | [] | no_license | gura-lang/gurax | 9180861394848fd0be1f8e60322b65a92c4c604d | d9fedbc6e10f38af62c53c1bb8a4734118d14ce4 | refs/heads/master | 2023-09-01T09:15:36.548730 | 2023-09-01T08:49:33 | 2023-09-01T08:49:33 | 160,017,455 | 10 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,544 | cpp | //==============================================================================
// VType_Bevel.cpp
//==============================================================================
#include "stdafx.h"
Gurax_BeginModuleScope(model_obj)
//------------------------------------------------------------------------------
//... | [
"ypsitau@nifty.com"
] | ypsitau@nifty.com |
2c3628630e99426e571b704405d5f7fadfa1a8da | c0d4873f21076d5c64e6443b8a8ec431be076f79 | /Burst/src/Actor/Stage/StageDestroyBase.h | 2dc25a04bd7cd672e75f668dcaf85c1fe2714bcc | [] | no_license | shitensyo/Burst_3DShootingGame | ffccab63cf24fe8ceeb78cc165e925271226d55a | 608af42b6a104ed0b8048514ef2df1c5cc5cd142 | refs/heads/master | 2021-01-23T03:05:08.856405 | 2017-04-11T02:42:10 | 2017-04-11T02:42:10 | 86,047,475 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 351 | h | #pragma once
#include "../Base/Actor.h"
#include <vector>
//ステージ(山)
class StageDestroyBase : public Actor {
public:
//コンストラクタ
StageDestroyBase(IWorld* world);
private:
//更新
virtual void OnUpdate(float deltaTime) override;
//描画
virtual void OnDraw() const override;
private:
//スケール
float scale;
}; | [
"守屋太郎"
] | 守屋太郎 |
416b3ba66c9405213539fb8e62d773807bd872b0 | 0a3e8b4b6af07a4dee1b059a99d59f902288dc38 | /24/main.cpp | 2487cba0e9c19998db181ab39c9671f440bf4c89 | [] | no_license | bozhicheng91/qt | a558f38bdc7fdb285c5289037651923530edac50 | 6e56a0e6f9a6ec1961fa47995598ec81453e5a4f | refs/heads/master | 2020-05-29T08:40:28.574073 | 2016-10-04T14:13:34 | 2016-10-04T14:13:34 | 69,653,154 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 178 | cpp | #include "mainwindow.h"
#include <QApplication>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
PaintedWidget pw;
pw.show();
return a.exec();
}
| [
"bozhicheng91@gmail.com"
] | bozhicheng91@gmail.com |
973dbe8ad5a780a8669ab5c807b61c735912bda5 | 83bacfbdb7ad17cbc2fc897b3460de1a6726a3b1 | /third_party/WebKit/Source/core/paint/ViewPainter.h | 2e26d4852ff0c3c70121b2f13eb2406923380084 | [
"BSD-3-Clause",
"LGPL-2.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-1.0-or-later",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"Apache-2.0"
] | permissive | cool2528/miniblink49 | d909e39012f2c5d8ab658dc2a8b314ad0050d8ea | 7f646289d8074f098cf1244adc87b95e34ab87a8 | refs/heads/master | 2020-06-05T03:18:43.211372 | 2019-06-01T08:57:37 | 2019-06-01T08:59:56 | 192,294,645 | 2 | 0 | Apache-2.0 | 2019-06-17T07:16:28 | 2019-06-17T07:16:27 | null | UTF-8 | C++ | false | false | 616 | h | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef ViewPainter_h
#define ViewPainter_h
namespace blink {
class LayoutPoint;
struct PaintInfo;
class LayoutBox;
class LayoutView;
class ViewPainter... | [
"22249030@qq.com"
] | 22249030@qq.com |
7b97034d3595a195d25935e4c8e65b032258a8a9 | 5114b783181d73fb7103b5124f4ed6703b36a1c5 | /HelloWorld.cpp | bc16422d9f8ae9053c61557ac86eb26fad4499f4 | [] | no_license | mtmilke/HelloWorldMilke | e2c34601d833203c3b06544687683ad7ec7bb4b6 | e28c96d0405c582dc9fdcf4c5efa80c3aa180858 | refs/heads/master | 2020-04-12T22:20:18.110058 | 2016-09-12T18:10:49 | 2016-09-12T18:10:49 | 68,034,855 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 425 | cpp | //============================================================================
// Name : HelloWorld.cpp
// Author : Miles Milke
// Version :
// Copyright : Your copyright notice
// Description : Hello World in C++, Ansi-style
//==========================================================================... | [
"mmilke2017@2017-miles-milke.mka.org"
] | mmilke2017@2017-miles-milke.mka.org |
6c24891f8d23dc1e3f3d26b636803107dc4cf223 | 1600a936c5d7600d6ec43adf2d35270ebed33870 | /Binary Trees/height_balance_tree.cpp | d953387608f321fae5ddf64703180fec6df7086c | [] | no_license | farhan787/dsa-fundamentals | 4b37518f36f3d5d29eadf4077379677c7c4d72fd | 59323f92e6263b096dc2a16a7f51f61a8f02b7b4 | refs/heads/master | 2023-01-13T16:15:47.838481 | 2020-11-19T09:33:14 | 2020-11-19T09:33:14 | 203,385,039 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,891 | cpp | #include <iostream>
#include <queue>
using std::cin;
using std::cout;
using std::endl;
using std::max;
using std::queue;
class Node {
public:
int data;
Node* left;
Node* right;
Node(int data) {
this->data = data;
left = right = NULL;
}
};
Node* buildTree(Node* root) {
int ... | [
"farhanshah.96930012@gmail.com"
] | farhanshah.96930012@gmail.com |
2fb33bc7f6bfda6d1ffc499646ef085aadb2c48f | db6d157abcb5685cc322b9298edc5b41998eebb9 | /src/get.cpp | 9f4928754a22a62dc263bd11b9fd38b1c346d419 | [
"MIT"
] | permissive | evandowning/neo4j-benchmark | e631f886d02fcb3e06404aa8d3ae4d2123f8d1bf | 16cd8ca1e73ef3500375fd6fe721683c15f9e069 | refs/heads/master | 2020-05-24T10:25:49.981116 | 2019-05-19T19:04:44 | 2019-05-19T19:04:44 | 187,228,231 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 597 | cpp | #include <stdlib.h>
#include "get.h"
#include "first.h"
#include "second.h"
#include "third.h"
#include "fourth.h"
#include "batch.h"
#include "unwind.h"
#include "loadcsv.h"
struct ALG *getAlg(int c){
switch(c) {
case 0:
return &getFirst;
case 1:
return &getSecond;
... | [
"2077950+evandowning@users.noreply.github.com"
] | 2077950+evandowning@users.noreply.github.com |
b425beb7fb241124e8af47bb5a95fdba9b9f3df2 | 536656cd89e4fa3a92b5dcab28657d60d1d244bd | /third_party/blink/renderer/modules/encryptedmedia/media_key_status_map.cc | 7d481b963b60c764944590d1f421c3f25df6d29c | [
"LGPL-2.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-1.0-or-later",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | permissive | ECS-251-W2020/chromium | 79caebf50443f297557d9510620bf8d44a68399a | ac814e85cb870a6b569e184c7a60a70ff3cb19f9 | refs/heads/master | 2022-08-19T17:42:46.887573 | 2020-03-18T06:08:44 | 2020-03-18T06:08:44 | 248,141,336 | 7 | 8 | BSD-3-Clause | 2022-07-06T20:32:48 | 2020-03-18T04:52:18 | null | UTF-8 | C++ | false | false | 5,413 | cc | // Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/blink/renderer/modules/encryptedmedia/media_key_status_map.h"
#include "third_party/blink/public/platform/web_data.h"
#include "thi... | [
"pcding@ucdavis.edu"
] | pcding@ucdavis.edu |
1a512de78ef5018371cbe7461ce9fa918ac376b1 | da53bce64af39a5e263ad21a47e9f16fd79ddc2d | /FrontEnd/ecell3Module/libecs/Polymorph.hpp | 005ce10858bf7c09b6176e07caa6f73ec8783686 | [] | no_license | ecell/spatiocyte-standalone | e7a1c5d1bdb341270461b34d972ae613b6127d5f | 2240138664d202fde0c3944f81f131142979dd65 | refs/heads/master | 2021-01-10T20:40:19.230397 | 2012-12-05T04:39:58 | 2012-12-05T04:39:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 55,408 | hpp | //::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
//
// This file is part of the E-Cell System
//
// Copyright (C) 1996-2010 Keio University
// Copyright (C) 2005-2009 The Molecular Sciences Institute
//
//:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::... | [
"knishida@riken.jp"
] | knishida@riken.jp |
aa8dd9ccc47cb21980fb6ab1ab490ccb3a7df1a4 | c3783386dd1f24037bca051351f6be743e6593e8 | /Project1/extClockType.cpp | 8bc085a65630dcd8d7daefc720d4f938479dfa53 | [] | no_license | FordTang/G189_DataStructuresCplusplus | 625a500a2de8ae5bbb4055320ca0591f08e88a32 | b099b4c602a215726154c32fc84363c875fc2b78 | refs/heads/master | 2021-01-22T03:13:11.585793 | 2015-07-23T05:57:23 | 2015-07-23T05:57:23 | 39,539,474 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,552 | cpp | //**********************************************************
// Author: Ford Tang
//
// Implementation file extClockType.cpp
// This file extends the functions of clockTypeImp to
// include the operations of timezones.
//**********************************************************
#include "extClockType_H.h"
#include... | [
"FordTang@gmail.com"
] | FordTang@gmail.com |
426d3c9a269888887b59b2bc30b54c12ba239f2d | 24e3d5b407bb996880656ca27c9dd018648cb9fe | /code/rendering/shaderprogram.hpp | 7058cb3c7fce4a8b9e43e2614f423dd0d573a926 | [] | no_license | BillyTortellini/UppEngineGT | 53e6cdcee36fc5dc887a2af58902bf9ebb44103a | 0a0202153ee24ff88b24f74345c4453580f115a7 | refs/heads/master | 2020-12-09T05:27:29.463157 | 2020-02-25T22:14:28 | 2020-02-25T22:14:28 | 233,205,674 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,533 | hpp | #ifndef __SHADERPROGRAM_HPP__
#define __SHADERPROGRAM_HPP__
// Includes
#include "../utils/string_utils.hpp"
// OpenGL untils
GLuint createShaderFromSource(const char* source, GLenum type)
{
// Create shader id
GLuint id = glCreateShader(type);
assert(id != 0, "glCreateShader failed!\n");
// Compile
... | [
"Martin.Rupp@gmx.net"
] | Martin.Rupp@gmx.net |
fbdff63b3c041aca0ab64fe42c0edda36ab9ffe7 | ac9e9883828152361f66f2e2749182331a530f30 | /src/test/wallet_tests.cpp | 2e98a772d50f536a31bd2a7e3bcedfab842b3a3f | [
"MIT"
] | permissive | Librechain/bytecoin | 9ae6a8074e5bc426bd2c090184052ecdc3c62b13 | 3318fdfa368f20b5bb4a899336ce411b6256c4f4 | refs/heads/master | 2021-08-27T15:22:38.086154 | 2015-01-04T09:04:07 | 2015-01-04T09:04:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,102 | cpp | #include <boost/test/unit_test.hpp>
#include "main.h"
#include "wallet.h"
// how many times to run all the tests to have a chance to catch errors that only show up with particular random shuffles
#define RUN_TESTS 100
// some tests fail 1% of the time due to bad luck.
// we repeat those tests this many times and onl... | [
"qiao@centos6.(none)"
] | qiao@centos6.(none) |
1829c19afb54a065b91a32d323ef2928de5298f8 | 383e2f4cfcca36c17d9e87a03e1422ccb2303bcb | /leetcode/solutions/485.max-consecutive-ones/max-consecutive-ones.cpp | a9b3acae0d19cf16dd55cd9d855d2158918e36c9 | [] | no_license | lawinse/AlgorithmExercises | 28b1893ab2d5d300785edaf8bda7adb203a5e70c | 3cbdd9ce4a4dfff0e1890819a2418a96346dae9a | refs/heads/master | 2021-01-01T19:53:38.115873 | 2017-08-10T15:05:27 | 2017-08-10T15:05:27 | 98,711,898 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 319 | cpp | class Solution {
public:
int findMaxConsecutiveOnes(vector<int>& nums) {
int n = nums.size();
if (n==0) return 0;
int cur = 0, ans = 0;
for (auto it:nums) {
if (it == 1) cur++;
else ans = max(cur, ans), cur = 0;
}
return max(ans,cur);
}
}; | [
"fjfzbwj@163.com"
] | fjfzbwj@163.com |
22cc7bbdbe80c3ab9c1d2727f71b91a69db576f3 | 1257aff946c1f1e1b1528dbce3a672c476a05b88 | /src/qt/optionsdialog.cpp | 855407f7613ce73da9b25d8a035e28def89f1b88 | [
"MIT"
] | permissive | CoiningPress/BitBronze | 459a83fb9ead3b913c6d283afcfd098837a63b52 | e17c0bbb50f0fca5bed37e0646a5ec81a6769fc7 | refs/heads/master | 2021-01-19T14:20:46.729525 | 2015-12-12T12:44:13 | 2015-12-12T12:44:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,336 | cpp | // Copyright (c) 2011-2013 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "optionsdialog.h"
#include "ui_optionsdialog.h"
#include "bitcoinunits.h"
#include "monitoreddatamapper.h"
#include ... | [
"sushinotomato@hotmail.com"
] | sushinotomato@hotmail.com |
b9e8dfbc5c8e0d104c337b589daffe3c057bf9d7 | ec68c973b7cd3821dd70ed6787497a0f808e18e1 | /Cpp/SDK/GeometryCache_parameters.h | 5545649b96f852ff700a3d35b468fd2b43c0a8b1 | [] | no_license | Hengle/zRemnant-SDK | 05be5801567a8cf67e8b03c50010f590d4e2599d | be2d99fb54f44a09ca52abc5f898e665964a24cb | refs/heads/main | 2023-07-16T04:44:43.113226 | 2021-08-27T14:26:40 | 2021-08-27T14:26:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,389 | h | #pragma once
// Name: Remnant, Version: 1.0
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Parameters
//---------------------------------------------------------... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
f8de9b7e29357aa053067d9cd670f231ac50c950 | d9806fece7a4ec9519db65d65d7859ad2629a2a5 | /CoolFormat/MyBCGPRibbonStatusBarPane.h | 598eaceae6d9f82e84737dd0b9f74de4228863b0 | [] | no_license | akof1314/CoolFormat | 9eb654cf795425088d2e7ac4c432b3ea0f666be5 | f107a0ff38e2de24c91adbf59c9caaf1d40909a2 | refs/heads/develop | 2022-08-09T22:53:44.437725 | 2018-05-28T13:24:13 | 2018-05-28T13:24:13 | 27,533,937 | 570 | 154 | null | 2021-04-05T10:54:28 | 2014-12-04T09:50:49 | C++ | GB18030 | C++ | false | false | 907 | h | /**
* @file MyBCGPRibbonStatusBarPane.h
* @brief 扩展CMyBCGPRibbonStatusBarPane实现不绘制箭头
* @author 无幻
* @date 2015-01-12
* @details
*/
#pragma once
//////////////////////////////////////////////////////////////////////////
// CMyBCGPRibbonStatusBarPane 命令目标
class CMyBCGPRibbonStatusBarPane : public CBCGPRibbonStatusBarPa... | [
"kof1234@sina.com"
] | kof1234@sina.com |
f528063c5a9255fed8b43e0b26f29fac86f2fc51 | 3ffe3f6a908b9bb330df19afe04f552b88e97d6e | /GameEngine/src/comp_transform.cpp | 312cbb87fc346aae1285544da695cc7d5da29206 | [] | no_license | yongedevil/GameEngine | c42a45387bb284e4d5d8100dda0db6bf96a8c958 | 3a69926020d72e2e76d2c88e7a81a14db136e31a | refs/heads/master | 2020-04-01T15:47:20.196693 | 2015-02-09T15:24:45 | 2015-02-09T15:24:45 | 27,152,893 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 459 | cpp | #include "comp_transform.h"
using namespace GameEngine;
Transform::Transform()
{
m_pos = Vector3f();
m_rot = Quaternionf();
}
Transform::~Transform()
{
}
void Transform::init(Entity *ent)
{
Component::init(ent);
}
void Transform::update(float dt)
{
}
void Transform::destroy()
{
Component::destroy();
}
void ... | [
"briicely@gmail.com"
] | briicely@gmail.com |
e067d38c5421a2b6c17cdf64821646a14d54483f | 41775332a6e8682a8e4824997338e33b14c174ed | /winui/input/tsf/tsfapps/immpad-level3-step3/TextInputCtrl.cpp | b24675a1887ec15e50932246c363aaff045e7757 | [
"MIT"
] | permissive | shiami/tsf-sample-ime-win7 | d1ac8c05d238c754661e3fdbf89e6f4a8d38d951 | 39b445c64905abc018cb69a05427f1237da77f50 | refs/heads/master | 2020-12-27T18:41:10.436664 | 2020-01-29T12:23:18 | 2020-01-29T12:23:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,317 | cpp | #include "private.h"
#include "commdlg.h"
//
// MSIME.H can be found in http://msdn2.microsoft.com/en-us/library/ms970233.aspx
//
#include "msime.h"
#include "TextInputCtrl.h"
extern HINSTANCE g_hInst;
extern UINT WM_MSIME_MOUSE;
#define TEXTINPUTCTRL_CLASSNAME TEXT("TextInputCtrlClassName")
#define TIMER... | [
"nathancorvussolis@gmail.com"
] | nathancorvussolis@gmail.com |
fff2bfcd791fe87530a7b872d1d23b4d8403da5e | e7638789f7a0a38303db0582501a48d0045a9c56 | /Arduino/libraries/BTCustom/BTCustom.h | 7fc39f19964a1e713e26b5be335f099cdc931edd | [] | no_license | dbecker1/I2P-Scoreboard | d347496bcd4ec108c297d86bec24493933cd7bcf | 02172064e4beeaf2515193404ab400f05aaa22e5 | refs/heads/master | 2021-03-27T11:42:37.224219 | 2017-12-05T15:07:17 | 2017-12-05T15:07:17 | 101,232,993 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 306 | h | #include "Arduino.h"
#include <SoftwareSerial.h>
class BTCustom
{
public:
BTCustom(int RXPin, int TXPin);
bool command(long timeout, char* command, char* temp);
String read();
private:
int _rx;
int _tx;
int timeout;
SoftwareSerial * UART;
}; | [
"dbecker.fl@gmail.com"
] | dbecker.fl@gmail.com |
763f21c730c0d538bec0a0f8993eedc29553da45 | 363f7c232859cda57a18b97cc0c3446a95c49ecd | /inc/GraphList.hh | 4388526583a40d61c151bfac948fd870f8500795 | [] | no_license | emilia-szymanska/Kings_nightmare | 5acda5864050e90eb08a0f17a174fd3801d8ab66 | 815e56b6f67fb15c60041329e2c3b91668bd93b4 | refs/heads/master | 2022-12-02T18:55:49.489031 | 2020-08-21T17:41:56 | 2020-08-21T17:41:56 | 263,936,873 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 614 | hh | #ifndef GRAPHLIST_HH
#define GRAPHLIST_HH
#include <vector>
using namespace std;
class GraphList
{
unsigned int numberOfElements;
vector<vector<pair<int, int> > > listGraph;
public:
GraphList(unsigned int NoE = 0)
{
this->numberOfElements = NoE;
this->listGraph.resize(NoE);
}
void insertEdge(unsi... | [
"emiliaszym@gmail.com"
] | emiliaszym@gmail.com |
7706cb8de1a63c8f6d83cfbb0ec0ceb91a42471e | fb0aec7c279dbf539472ffd3be2de989a62698ed | /src/include/socket.hpp | 52243f61f4b26274ad62e82691e0925b8642b552 | [] | no_license | hsinewu/http-server | 5dd76f82558ecebd694e4b24936cd6a92793ebc3 | a66ea793a3702f7c2a1a762cef2105b95e9c1342 | refs/heads/master | 2021-06-17T06:00:52.495428 | 2020-01-21T04:15:00 | 2020-01-21T04:15:00 | 177,964,377 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 313 | hpp | #pragma once
#include <netinet/in.h>
#include <string>
class Socket {
private:
int socket_fd;
socklen_t addrlen;
struct sockaddr_in info;
Socket(int);
public:
Socket();
~Socket();
void listen(int);
Socket* accept();
std::string read();
void write(std::string);
};
| [
"extraordinary1022@gmail.com"
] | extraordinary1022@gmail.com |
efa161b8329973095f28d6f5b11c0568428d8002 | 9d13d7fc23e96cb35ddc0f5bba309d0478b4a253 | /codeforces/problemset/1041C.cpp | 3b96a54212ff158197564b62a906e0e8b59ff1f1 | [] | no_license | mayankDhiman/cp | 68941309908f1add47855bde188d43fe861b9669 | c04cd4aaff9cedb6328dff097675307498210374 | refs/heads/master | 2021-07-22T04:05:46.968566 | 2021-02-05T16:17:58 | 2021-02-05T16:17:58 | 241,451,797 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 886 | cpp | #include <bits/stdc++.h>
using namespace std;
#define ll long long
int main()
{
ll n, m, d; cin >> n >> m >> d;
set < pair<ll, ll> > a;
for (ll i = 0; i < n; i ++){
ll t; cin >> t;
a.insert({t, i});
}
vector <ll> ans(n);
ll cnt = 0;
while(!a.empty())
{
cnt +... | [
"mdhiman536@gmail.com"
] | mdhiman536@gmail.com |
ac309dd26a683f6565dcfa20c4b3583a09225c4f | bd6c51e5c847491f9f3b632f230333f7b4f2edbb | /scr/Enemy.h | cb4dc3c9d2e2e6e49de564c62bbb7acce3c43014 | [] | no_license | AxlWest/Rogue-Letters | 3113b9663b9ec659ff2962b25fe5db87fc2e3b83 | ea028ee06489ccfe3e8a6152acbfec6cbeba9a8d | refs/heads/master | 2020-05-21T20:53:42.015130 | 2017-07-02T16:55:04 | 2017-07-02T16:55:04 | 64,789,960 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,723 | h | #pragma once
#include <iostream>
using std::string ;
class Enemy
{
private :
int healthPoints ; //How much damage the enemy can take before he dies
int dodgeChance ; //The chance that the enemy will avoid an incoming hit
int chanceToHit ; //The chance that the enemy will hit its oponant
int speed ; //Det... | [
"axlwest@hotmail.com"
] | axlwest@hotmail.com |
fa64cc7b1c4167eb13f79ce65a343484bad295d1 | 5267d19b48892b2465b14b984d433973db189d99 | /PriorityQueue.cpp | 4db84796e4eb242203ab8b8e9bc9f332d25d4753 | [] | no_license | love2986/algorithms | 8f7b36b97f6e665f55e2fac1660a9a0d9e89a9b4 | 1dfe192a5f65fb696de8dc4dbcb3d50292c63d14 | refs/heads/master | 2021-07-22T21:12:12.573327 | 2017-11-03T01:37:45 | 2017-11-03T01:37:45 | 104,893,794 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,378 | cpp | //2015005632_장혜정
#include <stdio.h>
#include <stdlib.h>
void INSERT(int heap[], int cur){
while( (cur > 1) && ( (heap[cur] >= heap[(cur/2)]) ) ){ // compare with parent node
int tmp = heap[cur];
heap[cur] = heap[(cur/2)];
heap[(cur/2)] = tmp;
cur = cur/2;
}
}
void MAX_HEAPIFY(in... | [
"jhjlove2986@gmail.com"
] | jhjlove2986@gmail.com |
59d58cc88711a2bf4bac5cbc348d51e0026d4499 | 812ecbcde02637f182a005538a066bca68fe752f | /vcreatorproject.cpp | ea83ae8b45bc9426c603a523ff9f5b16fe5e6697 | [] | no_license | crackedmind/Vcreator | a2c2b793667c68e3ba964ab291a6b1ad67aaec39 | d21035cc4c9e95ae644ce91d03b804148522e7b9 | refs/heads/master | 2023-06-01T23:58:13.227548 | 2021-06-23T03:41:48 | 2021-06-23T03:41:48 | 343,873,881 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,779 | cpp | #include "vcreatorproject.h"
#include "vcreatorconstants.h"
#include "ide.h"
#include <projectexplorer/buildsystem.h>
#include <projectexplorer/buildtargetinfo.h>
#include <projectexplorer/kitmanager.h>
#include <projectexplorer/projectexplorerconstants.h>
#include <projectexplorer/projectnodes.h>
#include <p... | [
"digital.stream.of.mind@gmail.com"
] | digital.stream.of.mind@gmail.com |
2a773b5c5a649b0091e092fb6a40bb3321f457e5 | 768f5ae42a586cf5a4cd21144d2b68cd306330cc | /SDK/Shared/Interfaces.h | a8bc541ac23601e2c048ebfeede12c281ea0500e | [] | no_license | amujic/MicrosoftHLSSDK | a303374823381e75a4adc12f4ac4ff18dd5537ca | b386e29c257e21d169080d7e8793a320f641a8d0 | refs/heads/master | 2020-12-25T01:43:20.409761 | 2015-07-30T13:57:32 | 2015-07-30T13:57:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,067 | h | /*********************************************************************************************************************
Microsft HLS SDK for Windows
Copyright (c) Microsoft Corporation
All rights reserved.
MIT License
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and a... | [
"pghosh@microsoft.com"
] | pghosh@microsoft.com |
26bf73c5546f2d67ed96e37c0d142a2520563ac9 | 924215e252c1044dde281f0ce1a9c179de233967 | /include/node_range.hpp | 808a28696248886a70cb7511dbb791008cdbf5cf | [] | no_license | CppPhil/custom_caf-vec | 9ff8c292644229cd2e3799795e21693b7d26601a | 478e06ef9f47ea57372b0895124abcd50b7049b7 | refs/heads/master | 2022-04-21T23:19:01.870819 | 2020-04-12T21:01:31 | 2020-04-12T21:01:31 | 244,367,481 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 196 | hpp | #pragma once
#include "entity_set_range.hpp"
namespace vec {
class node_range : public entity_set_range {
public:
node_range(const entity_set& xs, const caf::node_id& y);
};
} // namespace vec
| [
"CppPhil@users.noreply.github.com"
] | CppPhil@users.noreply.github.com |
c6ba35483b0c53b6957afc6f10f1bac6ad8d37b8 | 229980e82ae989ef2b5c7a52bdf188a3c43fcf7c | /300-399/344A-Magnets.cpp | 1cefd48597e5a26d80233046b89261e1cd8a92bf | [] | no_license | aminhl/CodeForces | 8626419b405991e8498d19dea37665b384567193 | ee233ff22cdded0415944cbbb9b5520b86d4086b | refs/heads/master | 2023-06-15T08:07:13.875313 | 2021-07-17T20:37:51 | 2021-07-17T20:37:51 | 385,218,461 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 294 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
int number;
cin >> number;
int magnet,temp=0,cmpt=0;
for (int i = 0; i <number ; ++i) {
cin >> magnet;
if (magnet != temp){
cmpt++;
}
temp = magnet;
}
cout << cmpt << endl;
}
| [
"amin.hlel@esprit.tn"
] | amin.hlel@esprit.tn |
82ad5b8791f8c8e6524d7e9fe9eac1fca0107dbe | 6a44ddc6cf540e25b5b306925253983f98e196e2 | /Task9-Spike_GameStateManagement/state_about.h | 0dcfba39ebeb53e4e7f5ceca0831cdbe159a9a48 | [] | no_license | David-Sam22/Zorkish | 0df62f369d704905743050b5397031fa0e1ccaa1 | 68d83d7bf01be32680807db61d0642ded9283b10 | refs/heads/master | 2020-11-23T22:19:51.261852 | 2019-12-23T05:28:45 | 2019-12-23T05:28:45 | 227,844,153 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 159 | h | #pragma once
#include "state.h"
class state_about: public state
{
public:
void handle() override;
//void show_state() override;
//string currentstate;
};
| [
"57039580+David-Sam22@users.noreply.github.com"
] | 57039580+David-Sam22@users.noreply.github.com |
61c26e568e27919c9d11677121012dd768a8b404 | 60b0622e5ac33ffb1bee45e0c6b3b5362c7840dd | /C++ Practice/Trees/secondLargestElementBT.cpp | d5670b1948d7d90cc2b8d35ef36aae12fe140e04 | [] | no_license | the-coder-dude/100DaysofCode | 4b8b9bf8f28a6df15301b921118a7760faf6158f | 32c1c4a557371e5e6ec3658a481e6b8cb1b611bf | refs/heads/master | 2023-03-31T18:32:17.499001 | 2021-04-10T18:28:31 | 2021-04-10T18:28:31 | 276,176,086 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,043 | cpp | #include<bits/stdc++.h>
using namespace std;
struct Node
{
int key;
Node *left, *right;
};
Node *newNode(int item)
{
Node *temp = new Node;
temp->key = item;
temp->left = temp->right = NULL;
return temp;
}
void secondLargestUtil(Node *root, int &c)
{
if (root == NULL || c >= 2)
return;
s... | [
"prateekpardeshi6@gmail.com"
] | prateekpardeshi6@gmail.com |
ac2c163da938cd63f6a37ed3f8bcb8b6aab34161 | b7f3edb5b7c62174bed808079c3b21fb9ea51d52 | /remoting/codec/webrtc_video_encoder_gpu.cc | 64c02744f2758f0fcb6494968243dbd8b87e2033 | [
"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 | 11,157 | cc | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "remoting/codec/webrtc_video_encoder_gpu.h"
#include <memory>
#include <utility>
#include "base/bind.h"
#include "base/bind_helpers.h"
#include... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
d8e5d9b993aa523108a2f09db87f9b19e6812d5b | fe6e4cd0556d7872b9087b7e39f799e155fbe29b | /Examples/CPP/Miscellaneous/SaveCostOverviewReport.h | aacc141882eb287b848c9926aa85f2b6012a5b7b | [
"MIT"
] | permissive | aspose-tasks/Aspose.Tasks-for-C | fce2e3acaee2ffb149b6a09236067d372675f283 | 440a9de8942f7fbd5e910bb84caa24bad1b26bc9 | refs/heads/master | 2023-04-27T07:52:05.856582 | 2023-04-19T06:46:19 | 2023-04-19T06:46:19 | 216,181,405 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,067 | h | #pragma once
/*
This project uses Automatic Package Restore feature of NuGet to resolve Aspose.Tasks for .NET API reference
when the project is build. Please check https:// Docs.nuget.org/consume/nuget-faq for more information.
If you do not wish to use NuGet, you can manually download Aspose.Tasks for .NET API from ... | [
"muzammil.khan@aspose.com"
] | muzammil.khan@aspose.com |
e4efcce367b57a496cdb137757c9136757817051 | 33035c05aad9bca0b0cefd67529bdd70399a9e04 | /src/boost_beast_zlib_deflate_stream.hpp | 0ecde69e6336db86a425fa21120dcb03bcafa652 | [
"LicenseRef-scancode-unknown-license-reference",
"BSL-1.0"
] | permissive | elvisbugs/BoostForArduino | 7e2427ded5fd030231918524f6a91554085a8e64 | b8c912bf671868e2182aa703ed34076c59acf474 | refs/heads/master | 2023-03-25T13:11:58.527671 | 2021-03-27T02:37:29 | 2021-03-27T02:37:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 47 | hpp | #include <boost/beast/zlib/deflate_stream.hpp>
| [
"k@kekyo.net"
] | k@kekyo.net |
981e7b74a1b5bb7a961ba020ee4ce4913cc2e348 | 9538cbe51265e4509392dc4b99d50a2b88d0c617 | /Computer_Science_101/Assignment_7/source-files/4.cpp | 3c659ca189520f1180c9ddaf38f7a06eebbbdbf2 | [] | no_license | ChiInCheang/College_Projects | 211dfba257391d32de540046371f08a53624a0a0 | 25aad7ec1706bc57cf491047d26ce3faa225ff3b | refs/heads/master | 2021-08-23T09:24:38.913070 | 2017-12-04T13:10:00 | 2017-12-04T13:10:00 | 113,048,213 | 0 | 0 | null | 2017-12-04T13:47:59 | 2017-12-04T13:47:58 | null | UTF-8 | C++ | false | false | 1,346 | cpp | #include <iostream>
#include <random>
#include <ctime>
using namespace std;
struct rectangle {
double length = 1.0f;
double width = 1.0f;
double area = 1.0f;
} rectangle1;
double get_length();
double get_width();
double get_area();
void display_data(double, double, double);
int main() {
... | [
"jeandsmith27@gmail.com"
] | jeandsmith27@gmail.com |
70994eeaaa05160d4a99713fc2c07d750492d1c8 | 817dc9bebf0d278fcf474f31a77cb23ada61056c | /QL/Common/QLSvrMgn/QLSvrMgn/MyCtrlEx/Outlook/MyOutlookBarPane.h | dd118d7061a81d7cb964512cb2a4e30f680fbce7 | [] | no_license | dudugi/NewForTortoise | 6f7d82cea00b49af3c38f1e332937ce3edf894b4 | 685ba32e8d7ee16c22f115b681a21f3d4e3fddf8 | refs/heads/master | 2022-02-08T11:56:42.102049 | 2022-01-25T07:02:47 | 2022-01-25T07:02:47 | 196,016,007 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 512 | h | #pragma once
// CMyOutlookBarPane
class CMyOutlookBarPane : public CMFCOutlookBarPane
{
DECLARE_DYNAMIC(CMyOutlookBarPane)
public:
CMyOutlookBarPane();
virtual ~CMyOutlookBarPane();
BOOL AddItem(const int iIconIndex, LPCTSTR lpszLabel, UINT iIdCommand, CImageList& images, int iInsertAt = -1, BOOL bAlphaBlend = ... | [
"du_chen_hi@126.com"
] | du_chen_hi@126.com |
38c6b9fce29eb6560dbfbdca227e293018bf2668 | 28cc90c5ddd8066ad6808c3ef9651565c6b73f96 | /xAODAnaHelpers/Cluster.h | 9c3d300436c66d838c50571bb63fd4f3d7cbee49 | [
"Apache-2.0"
] | permissive | UCATLAS/xAODAnaHelpers | 5899293fb366868a2d64005df0c5e530914dcada | 8a1dfc9a4ec09e22ff586c1a57369004dde63234 | refs/heads/main | 2023-09-01T14:40:02.359167 | 2023-08-16T17:56:48 | 2023-08-16T17:56:48 | 35,496,971 | 46 | 142 | Apache-2.0 | 2023-09-01T20:38:28 | 2015-05-12T15:38:14 | C++ | UTF-8 | C++ | false | false | 205 | h | #ifndef xAODAnaHelpers_Cluster_H
#define xAODAnaHelpers_Cluster_H
#include "xAODAnaHelpers/Particle.h"
namespace xAH {
class Cluster : public Particle { };
}//xAH
#endif // xAODAnaHelpers_Cluster_H
| [
"noreply@github.com"
] | UCATLAS.noreply@github.com |
a495dd5f5ca40176316714d463e089642b8044f9 | e10dc85c012ddf9351ae40e2de676bddc4ad0c26 | /workerManager.cpp | 8127de99221325b4c53aa22c6104658c41cde01e | [] | no_license | Maxwell-ZT/manage-system | d8b008796c27cbabeceb1d9759135bc4f90a4c65 | dcc5688b1a1dc7dcc0a0dcdd93308427dea36b40 | refs/heads/main | 2023-07-14T20:21:18.331757 | 2021-08-25T09:06:09 | 2021-08-25T09:06:09 | 399,740,567 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,362 | cpp | #include "workerManager.h"
workerManager::workerManager()
{
ifstream ifs(filename, ios::in);
if (!ifs.is_open()) {
this->m_Empnum = 0;
this->m_EmpArray = NULL;
this->m_fileisEmpty = true;
ifs.close();
return;
}
char ch;
ifs >> ch;
if (ifs.eof()) {
this->m_Empnum = 0;
this->m_EmpArray = NULL;
this... | [
"2681797334@qq.com"
] | 2681797334@qq.com |
57f0d293236e72317d3025e9685fee10dafcbfda | 968a4cb2feb13518940f9d125c4d6b5ae2094595 | /Servers/Common/vtkPVCompositeDataInformationIterator.h | ab6b4aeb97db68397e99e8bfd781f432308dcfd2 | [
"LicenseRef-scancode-paraview-1.2"
] | permissive | wildmichael/ParaView3-enhancements-old | b4f2327e09cac3f81fa8c5cdb7a56bcdf960b6c1 | d889161ab8458787ec7aa3d8163904b8d54f07c5 | refs/heads/master | 2021-05-26T12:33:58.622473 | 2009-10-29T09:17:57 | 2009-10-29T09:17:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,662 | h | /*=========================================================================
Program: ParaView
Module: $RCSfile: vtkPVCompositeDataInformationIterator.h,v $
Copyright (c) Kitware, Inc.
All rights reserved.
See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
This software ... | [
"utkarsh"
] | utkarsh |
6bc006385a2e17c16924f0f0b6a7f39076e83c47 | 6bc581e3091792b9b3f2c38698c9e693017503c6 | /Thirdparty/GeographicLib-1.48/dotnet/NETGeographicLib/OSGB.h | 0f5c751fea49aaed5708ae9fe3d3f69675f86f38 | [
"MIT"
] | permissive | HanjieLuo/ublox_gps_ros | dcaed380d4a9eccc9da2b6eac89d25696d685551 | 8417df720520453e07a240804174e0a8cede2762 | refs/heads/master | 2022-11-22T13:58:47.483452 | 2020-08-03T09:05:43 | 2020-08-03T09:05:43 | 284,650,572 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,259 | h | /**
* \file NETGeographicLib/OSGB.h
* \brief Header for NETGeographicLib::OSGB class
*
* NETGeographicLib is copyright (c) Scott Heiman (2013)
* GeographicLib is Copyright (c) Charles Karney (2010-2012)
* <charles@karney.com> and licensed under the MIT/X11 License.
* For more information, see
* https://... | [
"luohanjie@gmail.com"
] | luohanjie@gmail.com |
a4c567faffa5bcdadfbe9ae0ebb10c6e0dded915 | a07d3a2e13df59bb9b47e0e789b11fa72a2197db | /KLargestElementInStream/CPP/KLargestElementInStream.cpp | d953dc4ecab87b567d4cb0a97113addc6fc933eb | [] | no_license | wcsanders1/LeetCode | 38647965fd58927f59d375b72bbf38e4c901c3c8 | b569d6cca85e7b2bdb567e3db7422e9b0aa72aa3 | refs/heads/master | 2023-08-27T23:54:48.139831 | 2023-08-22T09:47:16 | 2023-08-22T09:47:16 | 253,105,355 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,392 | cpp | // https://leetcode.com/problems/kth-largest-element-in-a-stream/
#include <vector>
#include <unordered_set>
#include <queue>
using namespace std;
class KthLargest
{
public:
KthLargest(int k, vector<int> &nums) : k(k), nums(nums)
{
sort(this->nums.begin(), this->nums.end());
}
int add(int val)
{
if... | [
"william.sanders076@gmail.com"
] | william.sanders076@gmail.com |
0734dca1bf69d595e3ec3a8d672c88a2669ae1c8 | 1209df6dc47e3364d1af76bd6c32a9071e9b86be | /x.h | f9c88e9277b02db00ea117db52c500be48a65c6c | [] | no_license | mxjwkv/ulp_libclass | ae22aec4b989a758c29057504c314f25946feb40 | 2ac265e1253c5d11239f5f38766be61e1c284129 | refs/heads/master | 2016-09-06T04:37:59.281538 | 2015-09-05T23:49:55 | 2015-09-05T23:49:55 | 41,574,593 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 280 | h | // x.h 18-JUL-2012
#pragma once
class x
{
public:
x(int a, int b); // constructor interface
void display(); // print an x object
void seta(int a);
void setb(int b);
int geta();
int getb();
~x(); // destructor
private:
int _a;
int _b;
};
| [
"mxjwkv@gmail.com"
] | mxjwkv@gmail.com |
2c242ed3572642ad6c98bbc49e6bf48a1ae6792b | 9a06196b6348d7fe6def6d900e2725406a3decc6 | /original_content/3rdparty/ceres-solver/internal/ceres/array_utils.cc | 32459e6dcd980e7df450f1838e9cef12b7457dd1 | [
"MIT",
"BSD-3-Clause"
] | permissive | Mingrui-Yu/slambook2 | 592b38d1986e1c82eb45296bc5cfd28a4a0c8f64 | d31273192bd9fb5ac618f147105082022c87a005 | refs/heads/master | 2020-09-04T22:00:05.960047 | 2019-12-31T00:19:21 | 2019-12-31T00:19:21 | 219,903,430 | 1 | 0 | MIT | 2019-11-06T03:23:11 | 2019-11-06T03:23:10 | null | UTF-8 | C++ | false | false | 3,510 | cc | // Ceres Solver - A fast non-linear least squares minimizer
// Copyright 2015 Google Inc. All rights reserved.
// http://ceres-solver.org/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of so... | [
"1249682625@qq.com"
] | 1249682625@qq.com |
c233b221c10dcbadb973ba5030bf072bb35501bd | 91a882547e393d4c4946a6c2c99186b5f72122dd | /Source/XPSP1/NT/printscan/print/drivers/usermode/unidrv2/control/intfuni.cxx | 0ee802429f19a926076bfd96cdd1b4a764a1c613 | [] | no_license | IAmAnubhavSaini/cryptoAlgorithm-nt5src | 94f9b46f101b983954ac6e453d0cf8d02aa76fc7 | d9e1cdeec650b9d6d3ce63f9f0abe50dabfaf9e2 | refs/heads/master | 2023-09-02T10:14:14.795579 | 2021-11-20T13:47:06 | 2021-11-20T13:47:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,656 | cxx | /*++
Copyright (c) 1996-1999 Microsoft Corporation
Module Name:
intfuni.cpp
Abstract:
Interface implementation of Windows NT unidriver OEM rendering plugins
Environment:
Windows NT Unidriver.
Revision History:
01/18/98 -ganeshp-
Initial framework.
--*/
#define INITGUID
#include "u... | [
"support@cryptoalgo.cf"
] | support@cryptoalgo.cf |
2f1a26eb52d2287144e50181f5d35e6d8b4d234f | 60bd79d18cf69c133abcb6b0d8b0a959f61b4d10 | /libraries/Soundex/Soundex.h | d335d8a05a399e7f05ee62f72108088991479351 | [
"MIT"
] | permissive | RobTillaart/Arduino | e75ae38fa6f043f1213c4c7adb310e91da59e4ba | 48a7d9ec884e54fcc7323e340407e82fcc08ea3d | refs/heads/master | 2023-09-01T03:32:38.474045 | 2023-08-31T20:07:39 | 2023-08-31T20:07:39 | 2,544,179 | 1,406 | 3,798 | MIT | 2022-10-27T08:28:51 | 2011-10-09T19:53:59 | C++ | UTF-8 | C++ | false | false | 917 | h | #pragma once
//
// FILE: Soundex.h
// AUTHOR: Rob Tillaart
// VERSION: 0.1.4
// DATE: 2022-02-05
// PURPOSE: Arduino Library for calculating Soundex hash
// URL: https://github.com/RobTillaart/Soundex
#include "Arduino.h"
#define SOUNDEX_LIB_VERSION (F("0.1.4"))
#define SOUNDEX_MIN_LENGTH ... | [
"rob.tillaart@gmail.com"
] | rob.tillaart@gmail.com |
2a371476332537f41b30f0d8ac2ebedb75c531f3 | 0ecaebcfa4eda51972f7424b273932dc4b2b9ba1 | /EDUtilities/float3.h | 5b5b8eccd7d63fbd5b542c87651315c328e7ee28 | [] | no_license | MrPants23/ED1 | e35f2bdb407997c3133e5b32cb6bd416d9245eae | b98412318a4d8edd73a0cc76e1d6d4fec9e9fba7 | refs/heads/master | 2016-09-11T02:57:50.851386 | 2012-09-24T18:02:15 | 2012-09-24T18:02:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,910 | h | #ifndef FLOAT3_CLASS_H
#define FLOAT3_CLASS_H
#include <math.h>
#pragma push_macro("new")
#undef new
#include <d3dx9math.h>
#pragma pop_macro("new")
#include "InternalOutput.h"
namespace EDUtilities
{
// A simple class used to define a 3d floating point vector
// with common functionality
class float3
... | [
"mrpants23@gmail.com"
] | mrpants23@gmail.com |
19cc06b64fe80455256e91dc3a0d62c0812fb291 | 19ab40452cff93a9e5720a46d85bac7ccba11788 | /CareerCup/google/sortMatrix.cpp | dc91f84816f347a6c41b5018e381e6ed0854475c | [] | no_license | kyduke/Coding | 8728e19d40872d82da20f813e12ec5fea7cd6742 | 4f6ae9aa144dfe3171a00a572980d2b5cc3a81a9 | refs/heads/master | 2022-03-05T16:16:06.608380 | 2022-02-18T01:38:31 | 2022-02-18T01:38:31 | 25,638,209 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,229 | cpp | // https://careercup.com/question?id=5174694727647232
#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
void printMatrix(vector<vector<int>>& matrix) {
int column, row, i, j;
column = matrix.size();
if (column == 0) return;
row = matrix[0].size();
for (i = 0; i < column; i++) {
... | [
"kyduke@gmail.com"
] | kyduke@gmail.com |
958b50a0646c3072ab692f9b131fe2248ff431ce | e7e658d33a863bb7d41352d941aeeb7a32013191 | /gl/GLSL.h | 4d77c885af5963fbebd81dbcd0581c1450133c59 | [] | no_license | DarshLin/Chessboard | 28e456f55e79424b26895ad106a5093c06bf843d | d68258659143a6c510abcd89f21db328eee00cb5 | refs/heads/master | 2021-07-03T14:15:59.304125 | 2017-09-25T20:59:17 | 2017-09-25T20:59:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,414 | h | /* =====================================
GLSL.h - GLSL support
Copyright (c) Jules Bloomenthal, 2011
All rights reserved
=====================================
*/
#ifndef GLSL_HDR
#define GLSL_HDR
#include "mat.h"
GLuint InitShader(const char *vertexShader,
const char *fragmentShader,
... | [
"darshlin714@gmail.com"
] | darshlin714@gmail.com |
b94932d43fb5088521e9c7977744832b5a23c3a0 | 3acd576f356bb3ada392b9cc77c6bd681360d2ef | /client/Loader/main.cpp | 832d934aa666fac728a9396d84d0a7dab833a9c4 | [] | no_license | gmh5225/csgo-xenforo-loader | 4b74452419c16dde63b99adec6a09bde8b2cabc2 | 4daf3166b19cb77424890ee0940b98d2ae777ac2 | refs/heads/main | 2023-04-16T03:11:04.616042 | 2021-04-27T15:03:54 | 2021-04-27T15:03:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,122 | cpp | #include "main.hpp"
using namespace std;
static string username;
static string password;
static string stop;
namespace uLoader
{
bool check_version()
{
string server_version = WebClient::DownloadString(xorstr_("https://") + Globals::server_side.server + xorstr_("/client/client.php?key=")... | [
"noreply@github.com"
] | gmh5225.noreply@github.com |
36149d0407f817e9161298ee18743a2d59053bba | 88343b7efa89d20328df5be4961cf71c0a4ca15e | /Cpp/1290. Convert Binary Number in a Linked List to Integer.cpp | ed6c92f1e7d6a8a79291cf774620e6b3ff0fd957 | [] | no_license | tonycar12002/leetcode | 5396f4fb683edd4bad993968178e01621f4e656b | 7334c7056bdbd041efa63610f9a9d378620c1cd8 | refs/heads/master | 2021-07-21T19:09:15.373392 | 2021-07-05T13:20:20 | 2021-07-05T13:20:20 | 185,445,635 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 777 | cpp | /*
Author: Tony Hsiao
Date: 2021/06/10
Topic: 1290. Convert Binary Number in a Linked List to Integer
Speed: 0 ms, 8.2 MB
Note:
*/
#include <iostream>
#include <vector>
#include <algorithm>
#include <queue>
#include <list>
#include <map>
#include <unordered_map>
using namespace std;
/**
* Definition for singly-linked ... | [
"tonycar12002@gmail.com"
] | tonycar12002@gmail.com |
46f7ce6939da38966c888081169b534e780fcb75 | 372778929c2c482fd0c92de3e7fbf3478725b9bb | /3dboid/Block.cpp | e890250221a9c2b7d5bc4345d15b4fdf75b62bc2 | [] | no_license | ishidur/3dBoidSimulator | 148a6f1c290b6f79bc9afd18bc5cd3a2a9c35816 | d4b9bbe52b56a8da1a92edd6e44f4f70632ab6a2 | refs/heads/master | 2021-09-23T15:30:08.520235 | 2017-12-17T09:29:08 | 2017-12-17T09:29:08 | 90,876,225 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 600 | cpp | #include "stdafx.h"
#include "Block.h"
Block::Block(double _x, double _y, double _z, double _r)
{
x = _x;
y = _y;
z = _z;
r = _r;
}
void Block::setColor(double _red, double _green, double _blue)
{
red = _red;
green = _green;
blue = _blue;
}
void Block::drawBlock()
{
int slice = 10;
GLfloat color[] = {GLfloa... | [
"ishidu-ryota-fz@ynu.jp"
] | ishidu-ryota-fz@ynu.jp |
e1ee8d9b42810d46c96625eb8cc02de7a7fc7f9d | 5580d5d6d16ec43f3c6518eeceb35e59afa17090 | /include/Spinnaker/Interface/IChunkData.h | 01f30b1fe494bc7e70534c3746e5aefae1e2af5f | [] | no_license | koelkast/spinnaker-spout-cinder | 35e81a897417315ff1b0247e6b73c7785e08774c | 853d590a1c3a971f904b0941a5c4fa90befd5f60 | refs/heads/master | 2020-03-21T20:03:27.780498 | 2018-05-14T08:20:36 | 2018-05-14T08:20:36 | 138,984,141 | 0 | 0 | null | 2023-01-31T10:34:30 | 2018-06-28T07:43:53 | C++ | UTF-8 | C++ | false | false | 3,607 | h | //=============================================================================
// Copyright © 2017 FLIR Integrated Imaging Solutions, Inc. All Rights Reserved.
//
// This software is the confidential and proprietary information of FLIR
// Integrated Imaging Solutions, Inc. ("Confidential Information"). You
// shall no... | [
"mattijs.kneppers@mediamonks.com"
] | mattijs.kneppers@mediamonks.com |
bad1f2458c48d5c0b780eec0efe6db41df811788 | e7fadeaa0be7f681722dccde42f92f1c6ee16a9b | /cdn/src/model/DeleteUsageDetailDataExportTaskRequest.cc | 29c89febc2ce34cd9dd0b8bbca898d6f12a297af | [
"Apache-2.0"
] | permissive | ELLIEbleu/aliyun-openapi-cpp-sdk | 5a360447016d7fc32420907d0152e5aab43eeb9b | 9b7dbef9c81c814a5fd519250b621d44339d3497 | refs/heads/master | 2020-04-10T21:08:54.368882 | 2018-12-06T02:28:48 | 2018-12-06T02:28:48 | 161,288,710 | 2 | 0 | null | 2018-12-11T06:38:23 | 2018-12-11T06:38:23 | null | UTF-8 | C++ | false | false | 7,572 | cc | /*
* 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... | [
"yixiong.jxy@alibaba-inc.com"
] | yixiong.jxy@alibaba-inc.com |
2582ccb2cd326ecf44cc3f2458c17f0371e5b410 | 68eec47af647e7066faf0e796c8a85b5be7dacd1 | /vendor/opencv/modules/core/src/ocl_deprecated.hpp | 3cf261b8e764ad8ae37762b511d9b1e3d0e6d611 | [
"MIT",
"BSD-3-Clause"
] | permissive | urastogi885/humanDetectionModule | 644670fad1e0eca849e118bd0d7219dcdf0bdd8f | 9b770ae61fdf04ebc4d689a6a24efe38d0c71f63 | refs/heads/master | 2023-02-04T11:20:24.003281 | 2023-02-03T21:46:16 | 2023-02-03T21:46:16 | 214,243,876 | 3 | 4 | NOASSERTION | 2019-12-11T15:55:55 | 2019-10-10T17:25:03 | C++ | UTF-8 | C++ | false | false | 47,814 | hpp | // This file is part of OpenCV project.
// It is subject to the license terms in the LICENSE file found in the top-level directory
// of this distribution and at http://opencv.org/license.html.
/*
Part of the file is an extract from the standard OpenCL headers from Khronos site.
Below is the original copyright.
*/... | [
"aruna11baijal@gmail.com"
] | aruna11baijal@gmail.com |
469627ae3263fb999c7314a9bb40b97b8ec544b6 | a182c912bdcdae1b7e749e3e9593fc57436b93ea | /Codeforces Accepted Solutions/839C- Journey.cpp | a0726a89f5ada6ce27a1130cce4327877aabf589 | [] | no_license | assemhossam99/Problem-Solving | ea1eb4bf0034b742c077a31898f6a03eb7dcb18a | d4dc3da94f6ac822091f9be7a1dc7cb3c7a915fd | refs/heads/main | 2023-05-15T17:31:47.736334 | 2021-06-14T19:48:38 | 2021-06-14T19:48:38 | 328,041,557 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 981 | cpp | #include <bits/stdc++.h>
#define assem99 ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0);
#define ll long long
#define ld long double
#define endll '\n'
#define sz(a) (int)(a).size()
#define RWFile freopen("input.txt","r",stdin); freopen("output.txt","w",stdout);
int dx[] = { 0, -1, 0, 1, -1, 1, -1, 1 };
in... | [
"noreply@github.com"
] | assemhossam99.noreply@github.com |
472d9bfe15bc5edb32cc8b607f77a8b2f5a4945c | 0151e6d6813ceaa4aa846a87ff579b25c5a72906 | /infer/tests/codetoanalyze/cpp/pulse/taint/basics.cpp | dced043976e78ac47a4c0e69419d2e7315494d1c | [
"MIT",
"GPL-1.0-or-later"
] | permissive | pombredanne/infer | c72ad7351bc2af88369946ad341005769dbabf10 | 8df0409c946a87e0b24fce8c2b595f5ea0c196a0 | refs/heads/master | 2022-05-14T20:40:36.938325 | 2022-05-11T09:31:12 | 2022-05-11T09:31:12 | 272,196,254 | 0 | 0 | MIT | 2020-06-14T12:19:25 | 2020-06-14T12:19:25 | null | UTF-8 | C++ | false | false | 4,901 | cpp | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <atomic>
#include <chrono>
#include <string>
extern void* __infer_taint_source();
extern void __infer_taint_sink(void*);
... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
ef7c63f30a2516cba8055e1a30d3fc26ddc84e00 | 7ad3741a8f29161605d574ff3631150255895ecd | /ex8-多进制大数加减乘/二进制版_Binary Number Version.cpp | 094ef6c99a4f6b3ec73c5d904980381148d990d6 | [] | no_license | JezaChen/Mathematical-Base-for-Information-Safety | 5ac0f61df861ff28ea38c2ac8ad3c7d8ef55943e | 1b4bb433505b76aff2b2ce50d1fff760184a6e2c | refs/heads/master | 2021-01-23T15:03:53.241263 | 2017-12-13T05:00:30 | 2017-12-13T05:00:40 | 102,697,362 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,348 | cpp | #include <iostream>
#include <algorithm>
#include <utility>
using namespace std;
class BinNumber
{
private:
string value;
static string singleMultiplication(const string &a, char k)
{
//二进制的单位乘比较水
if (k == '0')
return "0";
return a;
}
//往后面塞零
static string... | [
"jeza@vip.qq.com"
] | jeza@vip.qq.com |
11a3a5b227744c810a96219a43bfbf3e0b9d01b5 | ee943a4444cfdb9114c297351212791dc2245042 | /Assingment_3/MatrixIteration.cpp | 9900df250311bd2876574980e6600359332bc96d | [] | no_license | himal77/OpenCL_Matrix | 342cfc9f606e9d726582fbfbffba5de80d235bd9 | eedf05289c36118595e68deb985d7bf6e326fc2b | refs/heads/master | 2023-04-01T06:52:28.302975 | 2021-04-10T17:13:04 | 2021-04-10T17:13:04 | 323,067,540 | 0 | 0 | null | 2021-01-26T21:24:52 | 2020-12-20T12:33:52 | C++ | UTF-8 | C++ | false | false | 9,618 | cpp | /**
* Matrix Iteration with OpenCL
*
* @Author Himal Puri
*/
#include "CL/opencl.h"
#include <iostream>
#include <fstream>
#include <string>
#include <cstdio>
#include <iomanip>
#include "random"
#include "chrono"
#define MATRIX_SIZE 2048
const size_t GROUP_SIZE = 32;
#define ITERATION 100
#define KERNEL_FILE "... | [
"purihimal9@gmail.com"
] | purihimal9@gmail.com |
0e522ab941aa5888bec156710e71f8af9f0e26a6 | 19af1a11509579d6bd58325499b4cb20cebc79f8 | /MixFiles/iterators.cpp | c8e3869b1d5c54bfd5f8d8352dd13594461191de | [
"MIT"
] | permissive | hvats16/Cpp_Programs | bf080c8f14690f82b679908b730fb2d5120b99dd | 5afaf4028cc1092580999d944d52630f0a660301 | refs/heads/master | 2023-05-11T10:01:35.531817 | 2023-05-09T16:32:18 | 2023-05-09T16:32:18 | 211,690,084 | 4 | 2 | MIT | 2020-10-26T13:51:10 | 2019-09-29T16:13:48 | C++ | UTF-8 | C++ | false | false | 865 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
vector<int> v = {2,
3,
4,
5,
6,
7,
8};
for (int i = 0; i < v.size(); i++)
{
// cout << v[i] << " ";
}
// ... | [
"hvats16@gmail.com"
] | hvats16@gmail.com |
07b40c549b148b2b7de1bad03a0e6d1169b77057 | b051d42713887e9b93ba2a872bd362325aa5c6aa | /embedded/barometer/bmp388_test.cc | 3a9afae87bf29884ede5b5cae0b50de01867f0cb | [
"MIT"
] | permissive | build-week/hover-jet | ceffa13db969b7da5aefc7665252d40d517a0f59 | 328eba8156c8feebdd2b428c9ba129c7e2fd0385 | refs/heads/master | 2023-07-06T23:17:21.157836 | 2023-06-27T02:21:41 | 2023-06-27T02:21:41 | 157,023,341 | 10 | 6 | MIT | 2023-06-27T02:21:42 | 2018-11-10T21:32:11 | C++ | UTF-8 | C++ | false | false | 788 | cc | //%deps(bmp388)
#include "third_party/bmp388/Adafruit_BMP3XX.hh"
#include <iostream>
#include <unistd.h> // usleep
#include "third_party/bmp388/bmp3_defs.h"
int main() {
Adafruit_BMP3XX bmp = Adafruit_BMP3XX("/dev/i2c-1");
if (!bmp.begin()) {
std::cout << "Failed to init BMP388 sensor" << std::endl;
return 1;
... | [
"masonfturner@outlook.com"
] | masonfturner@outlook.com |
a02adc7af96d40b41543dfba6be4a77541014dae | 61018f72aec51d51dd2d81b5e0b8b4095b167fd3 | /Lecture 11_Dec/main.cpp | 3f13367e53af96045a2be3498f239eea0f5fb49a | [] | no_license | sgmakgg/Cplusplus | 691936717a4c3ecfc38d07eb714887418e11d281 | 5e216803a771cfd7cd51f185dd705eaeb1741550 | refs/heads/master | 2023-05-11T13:17:36.892974 | 2018-01-08T08:16:43 | 2018-01-08T08:16:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 923 | cpp | #include <iostream>
#include "Date.h"
Date::Date(int day, int month, int year) {
_day = day;
_month = month;
_year = year;
}
bool Date::operator>(Date const& date) {
if(_year > date._year){
return true;
}
if(_month > date._month){
return true;
}
if (_day > date._day) {
... | [
"sgmak@me.com"
] | sgmak@me.com |
c07e3946996ab3d78efb0b59b60ac09ee464d040 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/git/gumtree/git_repos_function_4634_git-2.6.0.cpp | d0478b07d27772bd19c28319b277560cea342866 | [] | 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 | 235 | cpp | static int path_is_beyond_symlink(const char *name_)
{
int ret;
struct strbuf name = STRBUF_INIT;
assert(*name_ != '\0');
strbuf_addstr(&name, name_);
ret = path_is_beyond_symlink_1(&name);
strbuf_release(&name);
return ret;
} | [
"993273596@qq.com"
] | 993273596@qq.com |
3ba5e04525eb7264d1b5e357837af9b570bf0f83 | fe00ef9e5f616043b3e36b99d4824f76a1b8ac58 | /main.cpp | 848492a60c8ea1229243cd58884fd656bc52f1e6 | [] | no_license | lihao0214/kinect4anim | f94e3a402324d152dd06f2d597ef4dd401ec24fe | 5e3678a233cab62f227d197e8d91377db7872b25 | refs/heads/master | 2021-01-17T11:57:25.680117 | 2013-03-01T07:53:06 | 2013-03-01T07:53:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,295 | cpp | /*
* This file is part of the OpenKinect Project. http://www.openkinect.org
*
* Copyright (c) 2010 individual OpenKinect contributors. See the CONTRIB file
* for details.
*
* This code is licensed to you under the terms of the Apache License, version
* 2.0, or, at your option, the terms of the GNU General Public... | [
"zdglaze.s@centrum.cz"
] | zdglaze.s@centrum.cz |
14bbeee8ea22940b98281dc7ef103da7c558706c | 4dbda871cdfb6ae24ca7c45325de5013bed8a239 | /bithorded/server/client.cpp | 8f0d5a365c734f427d1ce0d66e644b715546c03b | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | testmana2/bithorde | 28c712148b3252b9ee3242110191c6144d906344 | 14b6e8edabe8f6460c5158a9c5144abfd801c4ec | refs/heads/master | 2021-05-16T17:26:13.678524 | 2017-01-24T00:25:20 | 2017-01-24T00:25:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,893 | cpp | /*
Copyright 2016 Ulrik Mikaelsson <ulrik.mikaelsson@gmail.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 requir... | [
"ulrik.mikaelsson@gmail.com"
] | ulrik.mikaelsson@gmail.com |
f5e46c3a164b9f244b0ad9f7fb772a5a55edb552 | 12bee7a99814ce7824a7514a88fd5591f4c02b5e | /load.h | 731bb9e0c350550f0437f31fcb9deefd2495d064 | [] | no_license | click-gz/keshe | 9c99b91bc02ac9ab5e14da82dd62a995936ea298 | 828f9389125e1a35f15d4d749d781f91170ca5c3 | refs/heads/master | 2022-07-16T12:16:25.626385 | 2020-05-16T14:22:20 | 2020-05-16T14:22:20 | 264,086,347 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 323 | h | #pragma once
#include<string>
using namespace std;
struct load {
char name[20];
char password[20];
};
class loadperson {
protected:
load exp;
public:
loadperson();
loadperson (char n[20], char s[20]);
int loadfirst(int i);
int check(char name[20], char p[20]);
void changeload(int i=0);
void saveloadperson();
... | [
"2437954492@qq.com"
] | 2437954492@qq.com |
d0a9295fce5ef5ff7c5efe93e976c11d1a085a57 | 5a565ee6dfe2a17a47f6767e8e5f64a202e0c367 | /src/Render/TestRenderer.h | 886562328d5d32e3bacf217253889d505f7dd3b2 | [] | no_license | CHKingSun/KEngine | 85eba9f0949bee8c26993d8c4b61f784bc8ecb97 | 927d4556b9220ff223e538baaebcf338777b8735 | refs/heads/master | 2020-03-14T15:19:31.843045 | 2018-06-07T18:41:06 | 2018-06-07T18:41:06 | 131,673,356 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,767 | h | //
// Created by KingSun on 2018/06/01
//
#ifndef KENGINE_TEST_RENDERER_H
#define KENGINE_TEST_RENDERER_H
//just for test.
#include "./Renderer.h"
#include "./Buffer/ShadowMap.h"
#include "../Core/Material/Texture.h"
#include "../Core/Light/PointLight.h"
#include "../Core/Camera/Camera.h"
#include "../Object/Plane.h... | [
"chkingsun@gmail.com"
] | chkingsun@gmail.com |
731c66f585786c0b8d8ac33216852f5deefef360 | f84a2e3fb4012d2fa6d04df4fe97295615755e1c | /protocol/mcbp/libmcbp/feature_test.cc | 02efd48ed845c01207fe627cf29b850b31fc4dc5 | [] | no_license | Chippiewill/kv_engine | a01d2a0f201e7f89275c3268f4403771212fa8b9 | fe95c63e8d532cf6f519a7ca3c19e9e8f844b845 | refs/heads/master | 2021-01-19T17:31:57.674217 | 2017-08-21T09:49:07 | 2017-08-22T13:35:37 | 101,068,612 | 0 | 0 | null | 2017-08-22T13:55:29 | 2017-08-22T13:55:29 | null | UTF-8 | C++ | false | false | 2,228 | cc | /* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/*
* Copyright 2017 Couchbase, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* ... | [
"trond.norbye@gmail.com"
] | trond.norbye@gmail.com |
683481620d4f9302c1af74c01d5ee3b05a03db2f | 2c2bc634cc3e708d1fdbe05880ef408a8c705cf7 | /abc/043/b.cpp | 24af9bd59b2cb580fd0a3bd30890f20896342d88 | [] | no_license | colorbox/AtCoderLog | 5d956bc9df527b06c5adb440eaa29b95fec9ed3f | de38f3acb13648419e84419a056f29387e7b15ad | refs/heads/master | 2021-06-20T06:19:55.480366 | 2021-02-19T14:14:34 | 2021-02-19T14:14:34 | 178,894,636 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 317 | cpp | #include<bits/stdc++.h>
#define rep(i,n) for(int i = 0; i < (n); i++)
#define ll long long
using namespace std;
int main(){
string s;
cin>>s;
string r;
rep(i,s.size()){
if(s.at(i)=='B'){
if(r.size()!=0)r.erase(r.size()-1);
}else{
r+=s.substr(i,1);
}
}
cout<<r;
return 0;
}
| [
"colorbox222@gmail.com"
] | colorbox222@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.