blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a5d8e840caf16dfe3670ac8cb0fd0b409e21bc56 | cb53a0cff7733bc8f5c70597009580287543bb72 | /AutoSave/2010/inc/dbfiler.h | 872905a7349a40193f2968c58fc46185e32b394f | [
"MIT"
] | permissive | 15831944/AllDemo | d23b900f15fe4b786577f60d03a7b72b8dc8bf09 | fe4f56ce91afc09e034ddc80769adf9cc5daef81 | refs/heads/master | 2023-03-15T20:49:15.385750 | 2014-08-27T07:42:24 | 2014-08-27T07:42:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 28,410 | h | //
#ifndef AD_DBFILER_H
#define AD_DBFILER_H
//
// (C) Copyright 1993-2009 by Autodesk, Inc.
//
// Permission to use, copy, modify, and distribute this software in
// object code form for any purpose and without fee is hereby granted,
// provided that the above copyright notice appears in all copies and
// t... | [
"lixiaolei2005-12@163.com"
] | lixiaolei2005-12@163.com |
683fab6bf0ffd789ade813241180fc0910bf52e1 | 0d0e78c6262417fb1dff53901c6087b29fe260a0 | /vpc/include/tencentcloud/vpc/v20170312/model/ModifyIp6AddressesBandwidthResponse.h | c6d87475a6f731e993d632743c3bc05fa9672b46 | [
"Apache-2.0"
] | permissive | li5ch/tencentcloud-sdk-cpp | ae35ffb0c36773fd28e1b1a58d11755682ade2ee | 12ebfd75a399ee2791f6ac1220a79ce8a9faf7c4 | refs/heads/master | 2022-12-04T15:33:08.729850 | 2020-07-20T00:52:24 | 2020-07-20T00:52:24 | 281,135,686 | 1 | 0 | Apache-2.0 | 2020-07-20T14:14:47 | 2020-07-20T14:14:46 | null | UTF-8 | C++ | false | false | 1,639 | h | /*
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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
... | [
"zhiqiangfan@tencent.com"
] | zhiqiangfan@tencent.com |
5785b2fbbdde4716000b82397604cfc5ae5233c7 | e28883f9bde3f604dd9e8b265e234d7f28c7b2f9 | /SJMQuant/SJMTradeInfra/Include/SJMHttpBundle/SJMHttpResponseStatus.h | b775feb20a5c149ad8e13fad6d119e340bee4459 | [] | no_license | sjmohap/SJMQuant | 64c097e5ba639dd0c004fce46f7fd8ca8c3c87c9 | 879eacf48bd2c83cbd05ab28f308ea5f740f100a | refs/heads/master | 2020-03-28T08:49:38.994596 | 2018-11-19T04:28:08 | 2018-11-19T04:28:08 | 147,992,319 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 421 | h | #pragma once
#include <string>
#include <SJMHttpBundle/SJMHttpBundleCommonDef.h>
class DLL_SJMHTTPBUNDLE SJMHttpResponseStatus
{
public:
SJMHttpResponseStatus(unsigned response_status, const std::wstring& cs);
SJMHttpResponseStatus() = default;
bool wasSuccess() const;
unsigned getStatusCode() const;
std::wstri... | [
"sjm0005@yahoo.in"
] | sjm0005@yahoo.in |
6e258004e2129269b5db2587fa56869e05ed4e8f | 66e6360325b781ed0791868765f1fd8a6303726f | /LQSearch/MiscellaneousPlots/7234PASFigure1SameFile/Comparison.cpp | 7a9de896256cd8ccda60f0b17d6ed73ac24c3e86 | [] | no_license | alintulu/FHead2011PhysicsProject | c969639b212d569198d8fce2f424ce866dcfa881 | 2568633d349810574354ad61b0abab24a40e510e | refs/heads/master | 2022-04-28T14:19:30.534282 | 2020-04-23T17:17:32 | 2020-04-23T17:17:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,112 | cpp | #include <string>
#include <vector>
#include <iostream>
using namespace std;
#include "TFile.h"
#include "TTree.h"
#include "TChain.h"
#include "TH1D.h"
#include "TH2D.h"
#include "PlotHelper2.h"
#include "SetStyle.h"
#include "ReadLQ3Tree.h"
#include "TauHelperFunctions2.h"
int main();
void ReadSample(string Input,... | [
"yichen@positron01.hep.caltech.edu"
] | yichen@positron01.hep.caltech.edu |
ac2cc23ebb8152390e54b13cbb3d9d12f7f29a6f | 0179363e16864f8c9fa5445898c1237ef2e83901 | /Sorting and Searching(Day 1)/two people meet each other.cpp | 3db439d3be6935583e4a09eff2722979a9c327a3 | [] | no_license | himanshu-sagar/CP_CipherSchools | 4a051efe010e10a0745e6561f9268d5075a8dfaf | 1c824f06d8d5d78330e5b509bf24a486c7102796 | refs/heads/master | 2023-03-10T21:06:35.063386 | 2021-02-22T17:22:17 | 2021-02-22T17:22:17 | 338,584,675 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 785 | cpp | #include<bits/stdc++.h>
using namespace std;
// time: O(n) space: O(1)
bool checkMeeting(int a,int jump1,int b,int jump2)
{
if(a>b && jump1>=jump2)
return false;
if(b>a && jump2>=jump1)
return false;
if(a<b)
{
swap(a,b);
swap(jump1,jump2);
}
while(a>=b)
{
... | [
"49094337+sagar-ML-Developer@users.noreply.github.com"
] | 49094337+sagar-ML-Developer@users.noreply.github.com |
cd172cedbce6b819f938c36afac04be234c328cc | 57ac1261f06a461c636d6ccc7aa7881f024eb6c7 | /myMotorizedPinwheel/myMotorizedPinwheel.ino | 5c53b6092185e8b9b2c45148c7deba20eed91899 | [] | no_license | rwbot/arduino | 8c57767efcbb3795847f59c907f5cfc1f9fd5807 | e9d5ad531f9acbee5551c56ab30e9908ea97a622 | refs/heads/master | 2020-03-07T15:30:33.252927 | 2018-03-31T17:53:27 | 2018-03-31T17:53:27 | 127,556,724 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 369 | ino | const int potPin = A0;
const int motorPin = 9;
int potVal;
int potSpeed;
void setup() {
// put your setup code here, to run once:
pinMode(potPin, INPUT);
pinMode(motorPin, OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
potVal = analogRead(potPin);
potSpeed = map(potVal, 0, 1023,... | [
"christopher.rowe@trincoll.edu"
] | christopher.rowe@trincoll.edu |
7da644c9cdb5c2bb2591e8c1e20a28a62d258eb7 | fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd | /third_party/WebKit/Source/bindings/core/v8/ScriptEventListener.cpp | 7680ad57152d5c7249360c3d1ae9bcddd43c7dad | [
"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 | wzyy2/chromium-browser | 2644b0daf58f8b3caee8a6c09a2b448b2dfe059c | eb905f00a0f7e141e8d6c89be8fb26192a88c4b7 | refs/heads/master | 2022-11-23T20:25:08.120045 | 2018-01-16T06:41:26 | 2018-01-16T06:41:26 | 117,618,467 | 3 | 2 | BSD-3-Clause | 2022-11-20T22:03:57 | 2018-01-16T02:09:10 | null | UTF-8 | C++ | false | false | 6,196 | cpp | /*
* Copyright (C) 2009 Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditio... | [
"jacob-chen@iotwrt.com"
] | jacob-chen@iotwrt.com |
b680dd808607a677da5139673dfd51b8e3c10ffb | 32e910f5440c10b384bb26b5555ac7adb77540ee | /src/3rd_party/apache-log4cxx-0.10.0/src/main/include/log4cxx/helpers/socket.h | 2f1636b72dc76919f8d6b16f23ce4ffcfcbfe0f1 | [
"Apache-2.0"
] | permissive | smartdevicelink/sdl_core | 76658282fd85b16ed6d91d8d4087d8cd1353db76 | 7343fc72c12edc8ac42a62556c9e4b29c9408bc3 | refs/heads/master | 2022-11-04T12:17:58.725371 | 2022-10-26T15:34:13 | 2022-10-26T15:34:13 | 24,724,170 | 269 | 306 | BSD-3-Clause | 2022-10-26T15:34:15 | 2014-10-02T15:16:26 | C++ | UTF-8 | C++ | false | false | 3,477 | h | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... | [
"jjdickow@gmail.com"
] | jjdickow@gmail.com |
701025bac5c59cf2082c56629286cda43c115a8f | 8924ecbe1c4c9c677794718622a6fd599fdc953a | /DevMng/SockProcLD.h | 9a9fdc8e31c560ac2045b72126f5ac444dc18f4b | [] | no_license | pheonixsn/hcj | 5ddf4d1ff363e0f1d331003d881c81fae4751ce2 | 440330d2483a14338ebb4f3033560e5552c84215 | refs/heads/master | 2021-01-14T12:30:49.213533 | 2016-09-16T06:31:42 | 2016-09-16T06:31:42 | 68,353,336 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 317 | h | #pragma once
#include "stdafx.h"
#include "sockproc.h"
class CSockProcLD :
public CSockProc
{
public:
CSockProcLD(void);
~CSockProcLD(void);
int ProcessMessage(SOCK_CMD_Frame * pFrameReq, SOCK_CMD_Frame * pFrameRsp);
int VideoInfoCfgGet(SOCK_CMD_FrameDVideoInfoCfgGetRsp * cfg);
int ResetData(void);
};
| [
"pheonixsn@gmail.com"
] | pheonixsn@gmail.com |
732080fc1f5ac0eef5c86040b8a6c4a1b2285440 | 361e27f326afd55e2d5772dd3f3b9d6ba7623858 | /service/notification/examples/tizen/NSSampleConsumerApp/inc/nsmain.h | 91c99c0477f4486e5c1c7b0fb5a4022bbe3f75cd | [
"Apache-2.0",
"GPL-2.0-only",
"MIT",
"BSD-3-Clause"
] | permissive | rzr/iotivity | 2a2b2b23b855124e705d69c97a7b55be59ed533f | 5d41e89f9f38d6d85fea47010729013c97410bb8 | refs/heads/master | 2022-05-30T19:35:55.767449 | 2021-08-13T15:32:19 | 2021-08-16T16:25:50 | 29,478,581 | 2 | 0 | Apache-2.0 | 2021-08-16T16:25:51 | 2015-01-19T15:57:55 | C++ | UTF-8 | C++ | false | false | 2,068 | h | /******************************************************************
*
* Copyright 2017 Samsung Electronics 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
*
... | [
"uzchoi@samsung.com"
] | uzchoi@samsung.com |
3e41d25b00b1701ceba395a4dd8182c3851039ae | 012f0800c635f23d069f0c400768bc58cc1a0574 | /hhvm/hhvm-3.17/hphp/runtime/base/data-walker.cpp | 20960d0a985324094256d884a53b7676268bac0a | [
"Zend-2.0",
"BSD-3-Clause",
"PHP-3.01"
] | permissive | chrispcx/es-hhvm | c127840387ee17789840ea788e308b711d3986a1 | 220fd9627b1b168271112d33747a233a91e8a268 | refs/heads/master | 2021-01-11T18:13:42.713724 | 2017-02-07T02:02:10 | 2017-02-07T02:02:10 | 79,519,670 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,949 | cpp | /*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010-2016 Facebook, Inc. (http://www.facebook.com) |
+---------... | [
"peiqiang@huawei.com"
] | peiqiang@huawei.com |
dc2ce9413285fc2babb0a6c7f252e1c7be4d59ab | 8aa47dd44e58164a90597bebcd99e9ded6430e5e | /Phase 2 misc Files/Variables/Real.h | 96130e73a6c592367aac55bfea5c45856bbc2971 | [] | no_license | froyvalencia/Machine_Instruction_Simulator_VM | 338d5c227f2c0608dca3d067127c329119297f6b | dfc9652d6ea049f8b2eedae12a54f85278f8c750 | refs/heads/master | 2021-05-01T18:46:11.387135 | 2016-12-12T23:22:54 | 2016-12-12T23:22:54 | 71,618,268 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,313 | h | /*
@author Froylan Valencia, Brian Nguyen
Real Header class
Expected instrucion line input:
VAR<name>,<type>,<optional:sizeincaseofstringonly>,<defaultvalue>
VAR$myfloat,REAL,12.1
Real class inherits from Number which will recieve a double as the value parameter after having recognized the type in a VAR
*/
... | [
"froyvalencia@gmail.com"
] | froyvalencia@gmail.com |
666444029f7880af087e1ca56c19b3488671c16a | 199a69cf48121ab0643c9cafd4acd4cf879fe569 | /cnt_txt_lib/cnt_txt.cpp | 2fcaa64c9154e719379597d04e1af92c2de06eab | [] | no_license | Marwin34/battle_arena | 8bff12ce52d1f0a99561ef45baca2f67fcb0c338 | 8fb6149a80c6df0b7f52b01b779319b7a99e6410 | refs/heads/master | 2022-04-07T23:16:32.787591 | 2020-02-05T15:43:56 | 2020-02-05T15:43:56 | 238,187,041 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,517 | cpp | #include "cnt_txt.hpp"
Counter::Counter(int red, int green, int blue, int charSize)
{
font.loadFromFile("resources/font/arial.ttf");
text.setString("0");
text.setFont(font);
text.setCharacterSize(charSize);
color.r = red;
color.g = green;
color.b = blue;
text.setFillColor(color);
}
vo... | [
"marcinwojsik@wp.pl"
] | marcinwojsik@wp.pl |
3d35e685f9b5ba819f173943228d8fddbad1af46 | 400d42521f805addafe6d240ed90b753bbaa9dc6 | /main.cpp | de0503875f0cb21cf57cc677609c7a20b1166cf9 | [] | no_license | codenome-trainings/locacao_de_carros_cpp | 5b03d74d402435efb75b990d36da788bc3c5a072 | ed4bd6f7d0ab8c0b6c1ff39c250b2fa0e7dfa1f5 | refs/heads/master | 2021-06-14T12:15:28.984063 | 2017-02-12T17:47:18 | 2017-02-12T17:47:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,500 | cpp | #include <iostream>
#include <stdio_ext.h>
using namespace std;
#define MAX_CLIENTES 100
#define MAX_CARROS 100
#define MAX_ALUGUEL 100
typedef struct Data {
int dia;
int mes;
int ano;
} Data;
typedef struct Cliente {
int id;
string nome;
Data dataDeNascimento;
string cpf;
} Cliente;
in... | [
"thiagocunha.java@gmail.com"
] | thiagocunha.java@gmail.com |
06601cf611a274aadfd132f6171fd815ff9d7767 | 6369571344b2d1c1f91a7d6561f715c633bc173a | /fileIO/read.cpp | a48393b053db6528c0c01b4495298f2093d23757 | [] | no_license | pjaluka13/C-Programs | d7ce4a6acb8fffa9716d8169477378c2403b46b2 | 3e8e6b2cc77478804db731f283d34619120c6d52 | refs/heads/master | 2020-08-23T03:28:05.588135 | 2019-10-21T09:57:05 | 2019-10-21T09:57:05 | 216,534,073 | 0 | 0 | null | 2019-10-21T09:51:34 | 2019-10-21T09:51:34 | null | UTF-8 | C++ | false | false | 400 | cpp | #include <iostream>
#include <fstream>
#include <cstdlib>
using namespace std;
int main(){
char filename[50];
ifstream ip;
cin.getline(filename, 50);
ip.open(filename);
if(!ip.is_open()){
std::cout << "File Name does not Exists" << '\n';
exit(EXIT_FAILURE);
}
char word[50];
ip >> word;
... | [
"tpatil2@mail.csuchico.edu"
] | tpatil2@mail.csuchico.edu |
52139866928f6a79636d861e98818f6cab29d05a | ee8b61d66df872872ef4c0bb9d05f710e6740941 | /include/Avl.h | 069f209bf447e01e8104acb0a6a87758136d7928 | [] | no_license | ahmetmgurer/AVL_tree_with_stack_structure | 3735c07078e9d79cbd96f285aeca9ff4d9f265d4 | 9722a8a04aa6fd732890eed99d04e47cd14028bf | refs/heads/master | 2022-12-31T21:08:51.561916 | 2020-09-24T13:44:07 | 2020-09-24T13:44:07 | 298,291,665 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 499 | h | #include "Kisi.h"
using namespace std;
class Avl
{
public:
Kisi *root;
Kisi *yeni;
Avl();
void Travel(Kisi *&);
Kisi* InsertNew(Kisi *&, const string&,int, const string&);
void updateStack(Kisi *&);
void resetStackFeatures(Kisi *&);
void PostOrder(Kisi *);
void StackOperations(Kisi *&);
int max(int , int );
... | [
"ahmetmgurer@outlook.com"
] | ahmetmgurer@outlook.com |
11166338120094078e59c97d32dd9638b816ff81 | fad23560ef8e8edc1f7f8f54810a0434c449bd84 | /include/cnn4/test_cnn4.hpp | 4a883206c514dedd47baf8d0065c4e82c5e89c3a | [] | no_license | hyglvy/cstd | 7a181d802140534cf1d3a8f3587e0fcbd6ccc233 | fd30c093fd1855b18dd562e4f7f0e8cd3c6d9bd1 | refs/heads/master | 2020-04-12T10:06:39.923670 | 2018-12-18T09:58:30 | 2018-12-18T09:58:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 765 | hpp |
#pragma warning(disable: 4267)
#pragma warning(disable: 4244)
#include "wstd/utime.hpp"
#include "wstd/string.hpp"
#include <direct.h>
//#include "cnn4.hpp"
//#include "test/test_all.hpp"
struct Net;
Net* net_new();
void net_del(Net* net);
int net_loadjson(Net* net, const char* fn);
int net_train(Net* net);
int tes... | [
"31720406@qq.com"
] | 31720406@qq.com |
c76a9e57b4f7e2c857fcd3eee03f3ccc0ac44125 | 7c253960e417cdd74c5f063bc7fe4bd8c4b4686c | /tests/src/cbor/cbor_tests.cpp | 994a5cfe9b890944a6a6b2303bb6a7150f2033d6 | [
"BSL-1.0",
"MIT"
] | permissive | jhandley/jsoncons | 25f0b5d0f3be56a62098a81ad72455ee8b793324 | 7bdb8b9382e0acb6ad023372b3f1bd421194cf13 | refs/heads/master | 2022-08-31T00:25:47.071090 | 2020-05-15T20:53:26 | 2020-05-15T20:53:26 | 264,296,042 | 0 | 0 | NOASSERTION | 2020-05-15T20:50:12 | 2020-05-15T20:50:12 | null | UTF-8 | C++ | false | false | 6,467 | cpp | // Copyright 2016 Daniel Parker
// Distributed under Boost license
#if defined(_MSC_VER)
#include "windows.h"
#endif
#include <jsoncons/json.hpp>
#include <jsoncons_ext/cbor/cbor.hpp>
#include <sstream>
#include <vector>
#include <utility>
#include <ctime>
#include <limits>
#include <catch/catch.hpp>
using namespace ... | [
"danielaparker@yahoo.com"
] | danielaparker@yahoo.com |
ffed165cc8a956411226da567ff2924fc5ae4d10 | e105784455826d3af3670b74b64bf2f0e4fc2f0e | /131.cpp | 8057d71797b5bf36cd151592aeae25c946a96c16 | [] | no_license | summylight/leetcode | 076b4a1ef60c657180d2bcf9f77b05bfd5a709ad | 7a6049eee5ad5e30061e05d400af536ad3418202 | refs/heads/master | 2020-08-25T02:22:18.817586 | 2019-10-23T02:13:10 | 2019-10-23T02:13:10 | 216,948,040 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 136 | cpp | #include<iostream>
#include <vector>
#include <string>
using namespace std;
vector<vector<string>> partition(string s) {
} | [
"summylight@163.com"
] | summylight@163.com |
f95813ae26b5476a402f5ab3aee3dea8d49e7f65 | 56fcab9393f0ec379e2abb00d2d8eda36f64e823 | /uintah/kokkos_src/CCA/Components/MPM/ConstitutiveModel/Biswajit/Models/InternalVariableModel.cc | 8a328b45a38b36b55c51f3aa6a59400ec7b634c4 | [
"CC-BY-4.0",
"MIT"
] | permissive | damu1000/hypre_ep | 4a13a5545ac90b231ca9e0f29f23f041f344afb9 | a6701de3d455fa4ee95ac7d79608bffa3eb115ee | refs/heads/master | 2023-04-11T11:38:21.157249 | 2021-08-16T21:50:44 | 2021-08-16T21:50:44 | 41,874,948 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,323 | cc | /*
* The MIT License
*
* Copyright (c) 1997-2017 The University of Utah
*
* 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
* right... | [
"damodars@sci.utah.edu"
] | damodars@sci.utah.edu |
961fb01fdbf35f8be0bf854f2c1430778196c0a0 | b9735d8af7a081b7e39fb2ff09377dcce19f49b5 | /HElib/src/Test/Test_ThinBootstrapping.cpp | db5807218ba320ab717fb5dcb389e8bcbc306170 | [
"Apache-2.0"
] | permissive | MarbleHE/Marble | acdd49b06e3df5157767c709ffe0583f61fce193 | 691f0519cb2ea60808f93b1cdb09409ce24cdedb | refs/heads/master | 2021-06-20T04:22:08.063794 | 2020-12-23T12:26:47 | 2020-12-23T12:26:47 | 144,953,290 | 13 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,406 | cpp | #include "../FHE.h"
#include "../EncryptedArray.h"
#include "../matmul.h"
#include <NTL/BasicThreadPool.h>
static bool noPrint = true;
static long mValues[][14] = {
//{ p, phi(m), m, d, m1, m2, m3, g1, g2, g3,ord1,ord2,ord3, c_m}
{ 2, 48, 105, 12, 3, 35, 0, 71, 76, 0, 2, ... | [
"alexander.viand@inf.ethz.ch"
] | alexander.viand@inf.ethz.ch |
4e795a9ac65f4f42bd5ab40b91c0da0b35d58390 | 833a483f74e12c36ab030458ca0bfd7426254964 | /include/core/ycommon.hpp | 83cba5856966e9651639e3c0a16b7f0ad2140d74 | [
"BSD-3-Clause",
"curl",
"MIT",
"LicenseRef-scancode-public-domain"
] | permissive | flyinskyin2013/yLib | 28a21848c88df544162b1c9f40748f9afbe21d30 | 0872a3b69ee80a1a46ae0fc9c9a06cb9fcc25c05 | refs/heads/master | 2023-06-24T06:47:00.132507 | 2021-12-12T10:25:51 | 2021-12-12T10:25:51 | 142,399,267 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,919 | hpp | /*
Copyright (c) 2018 - 2021 flyinskyin2013 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 of conditions and the... | [
"sky@sky-home.com"
] | sky@sky-home.com |
f0cbe56f468195bf6b976e91dc1587aaeed9c241 | 54f352a242a8ad6ff5516703e91da61e08d9a9e6 | /Source Codes/CodeJamData/13/42/4.cpp | 462cee1fc813219818cbb23d7c965622389001fe | [] | no_license | Kawser-nerd/CLCDSA | 5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb | aee32551795763b54acb26856ab239370cac4e75 | refs/heads/master | 2022-02-09T11:08:56.588303 | 2022-01-26T18:53:40 | 2022-01-26T18:53:40 | 211,783,197 | 23 | 9 | null | null | null | null | UTF-8 | C++ | false | false | 1,943 | cpp | #include <cstdio>
#include <numeric>
#include <iostream>
#include <vector>
#include <set>
#include <cstring>
#include <string>
#include <map>
#include <cmath>
#include <ctime>
#include <algorithm>
#include <bitset>
#include <queue>
#include <sstream>
#include <deque>
using namespace std;
#define mp ... | [
"kwnafi@yahoo.com"
] | kwnafi@yahoo.com |
b8cf0adac7e7747694a0a954ac437db6be647b49 | 819875a388d7caf6795941db8104f4bf72677b90 | /chrome/browser/intents/.svn/text-base/web_intents_registry_factory.cc.svn-base | f6e75c929b9d0e67a99226e647c3a5846b12f22f | [
"BSD-3-Clause"
] | permissive | gx1997/chrome-loongson | 07b763eb1d0724bf0d2e0a3c2b0eb274e9a2fb4c | 1cb7e00e627422577e8b7085c2d2892eda8590ae | refs/heads/master | 2020-04-28T02:04:13.872019 | 2012-08-16T10:09:25 | 2012-08-16T10:09:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,643 | // 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 "chrome/browser/intents/web_intents_registry_factory.h"
#include "base/memory/singleton.h"
#include "chrome/browser/extensions/extension_sys... | [
"loongson@Loong.(none)"
] | loongson@Loong.(none) | |
e957e31f682348860100c0e6fdff4c5cee2961c9 | cbd0828085aef90573bcc156dd2896a072a31e19 | /src/qt/transactionrecord.h | 9621141743b70c60d48729b9413c5019b323e845 | [
"Apache-2.0",
"MIT"
] | permissive | cruzezy/newbitcoin | 77be346a907c4d7c73b628830c142b5be5f0e016 | 7767d558c5047e9f11e2e5eb9bf3f885a03adb08 | refs/heads/master | 2020-05-31T14:41:21.555143 | 2019-06-08T11:53:28 | 2019-06-08T11:53:28 | 190,334,840 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,410 | h | // Copyright (c) 2011-2013 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef NETGOLD_QT_TRANSACTIONRECORD_H
#define NETGOLD_QT_TRANSACTIONRECORD_H
#include "amount.h"
#include "uint256.h"
#inc... | [
"20241460@qq.com"
] | 20241460@qq.com |
2c3fa29d815031fb283f1d320fb00df102903a83 | 9812878facb228acb985b187e1e043c78b64a698 | /2016-04-14/Empty Position/main.cpp | e5965852ec7d98ade3512b9c2a0860ba2ac60b83 | [] | no_license | sparrow72/CS201R | a3a4a1bcf1f3c1fa04ec6d2d6f4a4442042fb3b2 | 4fca868ee340318f647b385bd583eb189bceb9bd | refs/heads/master | 2020-12-29T00:56:00.617937 | 2016-04-14T23:42:16 | 2016-04-14T23:42:16 | 56,274,217 | 0 | 0 | null | 2016-04-14T22:35:42 | 2016-04-14T22:35:41 | null | UTF-8 | C++ | false | false | 551 | cpp | #include <iostream>
#include <cstdlib>
#include <ctime>
#include <string>
using namespace std;
int main()
{
float gpas[] = { 4.0, 3.0, -1, 2.0, 3.0, 3.5, -1, 3.2 };
float newGpa = 3.4;
int emptyIndex = -1;
for ( int i = 0; i < 8; i++ )
{
if ( gpas[i] == -1 )
{
emptyInd... | [
"racheljmorris@gmail.com"
] | racheljmorris@gmail.com |
4cc18eae7f2f24a5bc38e7fabebcfb79b17e70c2 | 62d5d3329e8649ce3b918780a609476b89358536 | /Classes/GraphNode.cpp | 90bf39adaad23a874cf86e4846c2876529c9a0f2 | [] | no_license | JackLinMaker/PathFinder | 3d2b6225e6d318435f3791efae29d3ffc2bdddd7 | 567bae23127e530600ff1cca3fc23a7252d4e879 | refs/heads/master | 2016-09-05T12:26:59.657874 | 2014-11-27T15:28:02 | 2014-11-27T15:28:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 661 | cpp | //
// GraphNode.cpp
// PathFinder
//
// Created by 林光海 on 14-11-27.
//
//
#include "GraphNode.h"
GraphNode* GraphNode::create(int index)
{
GraphNode* node = new GraphNode();
if(node && node->init(index)) {
node->autorelease();
return node;
}
CC_SAFE_DELETE(node);
return NULL;
}
... | [
"jacklinmaker@gmail.com"
] | jacklinmaker@gmail.com |
6eed4fe53806733c16e2679435b1c1a60f726ee4 | c612f9fd2fba45dfeaf2cb27884b30f520287f77 | /chrome/browser/apps/app_service/app_service_test.cc | e9211ca98049740602ba9b34d8a5f67c7561e519 | [
"BSD-3-Clause"
] | permissive | Turno/chromium | c498ab6d3c058d737b17439029989f69f58fe9c7 | 4e5eb9aba6c91df5e965f3eecd76c3ae17b0b216 | refs/heads/master | 2022-12-07T22:58:55.989642 | 2020-08-10T12:03:21 | 2020-08-10T12:03:21 | 286,471,394 | 1 | 0 | BSD-3-Clause | 2020-08-10T12:39:55 | 2020-08-10T12:39:54 | null | UTF-8 | C++ | false | false | 2,127 | cc | // Copyright 2016 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/apps/app_service/app_service_test.h"
#include "base/run_loop.h"
#include "chrome/browser/apps/app_service/app_service_proxy.h"
#... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
ecc42ecd64cf4a14d0b1cb2abd5b9b99ea02b258 | 3bda6350083b34b387c31f0b9761bedb156551db | /pair_style_gauss-erfc.cpp | 4fd5be7a84848ec423343dbc8a03423d7696e61b | [] | no_license | jonqdoe/mpi2 | 12277212efe5101ca34bbbb15ad12dcffd2ba881 | 6a09c9987158916e0dfd9762302b98fd0ca9f20f | refs/heads/master | 2020-04-24T05:52:10.333114 | 2019-08-18T21:59:25 | 2019-08-18T21:59:25 | 171,744,803 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,774 | cpp | #include "globals.h"
#include "pair_style_gauss-erfc.h"
#include "field_component.h"
void GaussianErfc::Initialize_GaussianErfc(double Ao, double sigma_squared,
double Rp, double xi, int alloc_size, FieldComponent A, FieldComponent B) {
Initialize_PairStyle(alloc_size, A, B) ;
printf("Setting up Gaussian-E... | [
"rrig@seas.upenn.edu"
] | rrig@seas.upenn.edu |
bc362d04e91e2bce8bd3dc779d42a367520e7cd5 | ff3c7d81878d6577a99daee0fe107bdb4a821782 | /problem2.cpp | f26949472f82e16d3b3051b49e9d8e81eb6769c0 | [] | no_license | tristanhanna/DataStructures | 363e625d94e3b837ea368e1a5891e0e136b01a74 | 2f484eb7f3075daf6613393a01ea3125596a7895 | refs/heads/master | 2020-07-14T05:16:16.971420 | 2019-08-29T20:54:53 | 2019-08-29T20:54:53 | 205,247,664 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,117 | cpp | #include <iostream>
#include <fstream>
#include <sstream>
#include <vector>
using namespace std;
struct User{
string username;
float gpa;
int age;
};
void addUser(vector<User> *users, string _username, float _gpa, int _age){
User user;
user.username=_username;
user.gpa=_gpa;
user.age=_... | [
"noreply@github.com"
] | noreply@github.com |
308d134524785ee8aeb83f911906c8acc0d09595 | 3282ccae547452b96c4409e6b5a447f34b8fdf64 | /SimModel_Python_API/simmodel_swig/SimModel_Dll_lib/framework/SimFlowMover_ReturnFan.cxx | afb779533578a303f25351dc0717ff4b9d852e5d | [
"MIT"
] | permissive | EnEff-BIM/EnEffBIM-Framework | c8bde8178bb9ed7d5e3e5cdf6d469a009bcb52de | 6328d39b498dc4065a60b5cc9370b8c2a9a1cddf | refs/heads/master | 2021-01-18T00:16:06.546875 | 2017-04-18T08:03:40 | 2017-04-18T08:03:40 | 28,960,534 | 3 | 0 | null | 2017-04-18T08:03:40 | 2015-01-08T10:19:18 | C++ | UTF-8 | C++ | false | false | 14,035 | cxx | // Copyright (c) 2005-2014 Code Synthesis Tools CC
//
// This program was generated by CodeSynthesis XSD, an XML Schema to
// C++ data binding compiler.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Fre... | [
"cao@e3d.rwth-aachen.de"
] | cao@e3d.rwth-aachen.de |
1b5b8f301a7b63796aa21f718049690810966a7a | 900b128f526a4d2274014dc6bfb28a163cddc971 | /src/cachesim_driver.cpp | e1e10c72a1b5cd8360d00b28881d6e4c0bb24ef1 | [] | no_license | ConnerBluck/Cache-Hierarchy-Simulator | 63c89fb555f92f9a895a8892384571be5d35fad2 | f530c197f3b05548a73adb925deefd7e3380d35a | refs/heads/main | 2023-07-08T13:40:55.215490 | 2021-08-19T23:12:45 | 2021-08-19T23:12:45 | 398,093,244 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,834 | cpp | /**
* @file cache_driver.c
* @brief Trace reader and driver for the CS 4290 Summer 2021 Project 1
*
* Project 1 trace reader and driver. Do not modify this file!
*
* @author Anirudh Jain
*/
#include <getopt.h>
#include <unistd.h>
#include <cstdarg>
#include <cinttypes>
#include <cstdio>
#include <cstdbool>
#i... | [
"noreply@github.com"
] | noreply@github.com |
a0fac577f17a26f6815db79f3e3719d708f85792 | 48a5a1240fe963919e41ddbadbc0a6f0006d1f32 | /Códigos/I_O_P1.ino | 8044515456d481690bedd3996a8ae2121962a032 | [] | no_license | itam-sdi-11561-spring-2019/practica-2-los-lupitos-y-diego | 4b686a23d4d186839c7c47b76b893d5b8c73b5cf | 6789f6f1283da58ab011bc8095fa3783be97fa93 | refs/heads/master | 2020-04-24T14:11:04.702120 | 2019-02-26T04:28:05 | 2019-02-26T04:28:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 347 | ino | void setup() {
// put your setup code here, to run once:
DDRB = B00100000;
}
void loop() {
// put your main code here, to run repeatedly:
asm volatile(
"cbi %0, %1 \n" \
"sbis %2, %3 \n" \
"sbi %0, %1 \n" \
: : "I" (_SFR_IO_ADDR(PORTB)), "I" (PORTB5), "I" (_SFR_IO_ADDR(PINB)), "I" (PINB5) :... | [
"noreply@github.com"
] | noreply@github.com |
56baff9d6911c506639ea019cfbf3a247e836599 | b22588340d7925b614a735bbbde1b351ad657ffc | /athena/Trigger/TrigHypothesis/TrigLongLivedParticlesHypo/src/TrigCaloRatioHypo.cxx | 7eaac563567e21fe4158fbffb4f4dbcc855df1fb | [] | no_license | rushioda/PIXELVALID_athena | 90befe12042c1249cbb3655dde1428bb9b9a42ce | 22df23187ef85e9c3120122c8375ea0e7d8ea440 | refs/heads/master | 2020-12-14T22:01:15.365949 | 2020-01-19T03:59:35 | 2020-01-19T03:59:35 | 234,836,993 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,268 | cxx | /*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
*/
// ************************************************************
//
// NAME: TrigCaloRatioHypo.cxx
// PACKAGE: Trigger/TrigHypothesis/TrigLongLivedParticlesHypo
//
// AUTHOR: Andrea Coccaro
// EMAIL: Andrea.Coccaro AT cern.ch
//
/... | [
"rushioda@lxplus754.cern.ch"
] | rushioda@lxplus754.cern.ch |
9a9da6752eae7cbfecb4b081364943720ec6cc55 | 867748c43510579840e061f2fa23ce46f6d7c87c | /code/timer/heaptimer.hh | 2fa032ba43f403eee3dfa6eebcce4f3e67ad5849 | [] | no_license | IceCream-jy/HTTPWebServer | 22c45689deab9b2517e0bae345ef6df3f8517cdb | 9b845b0958b3ade170f20ea6d729ad45c1d1a2ef | refs/heads/main | 2023-05-29T09:39:19.996463 | 2021-06-04T01:27:28 | 2021-06-04T01:27:28 | 346,352,459 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,416 | hh | #ifndef _HEAP_TIMER_H_
#define _HEAP_TIMER_H_
#include <queue>
#include <unordered_map>
#include <time.h>
#include <algorithm>
#include <arpa/inet.h>
#include <functional>
#include <assert.h>
#include <chrono>
#include "../log/log.hh"
typedef std::function<void()> TimeoutCallBack;
typedef std::chrono::high_resolut... | [
"304754843@qq.com"
] | 304754843@qq.com |
8f36ef220d6677d3ccd35f04037c55d3d75ccb84 | 7f867a8769ee44363ea5b7d2b71be6f8e54474b0 | /Crawler/LinkRepository/LinkStatus.hpp | a20f71b27453378ee047400a202918de637a5865 | [] | no_license | zakariannn/searchengine | ce3b5d50eddcf8634f4388b4668b1f15f4d89b2b | e2a59015d0f817220b8b89c6d30a0832e4973a66 | refs/heads/main | 2023-05-01T14:52:05.316941 | 2021-05-26T09:10:43 | 2021-05-26T09:10:43 | 341,845,666 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 123 | hpp | #ifndef LINK_STATUS
#define LINK_STATUS
enum class LinkStatus
{
WAITING = 0,
SUCCESS = 1,
ERROR = 2
};
#endif | [
"marina.zakaryan.5@gmail.com"
] | marina.zakaryan.5@gmail.com |
9240ecb5fee333367ec0475b54060f3933b10d67 | 9cb84563351e742501af429dbb17198dd7aaa345 | /huobi_futures/linear_swap/restful/response/account/GetAccountInfoResponse.hpp | 85cd200dfa2b1e2e8c7ac2690ed4b1ee78bb5510 | [] | no_license | hbdmapi/huobi_futures_Cpp | c22ebeaac4ae32d371e4ef3ce925dceefc28b605 | 66e59178c20b58c28ebf3c06c0f0f9b209da9c69 | refs/heads/master | 2023-04-19T05:07:15.712360 | 2021-05-06T03:36:22 | 2021-05-06T03:36:22 | 324,038,739 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,011 | hpp | #pragma once
#include <string>
using std::string;
#include "huobi_futures/json_struct/json_struct.h"
#include <vector>
#include <optional>
namespace huobi_futures
{
namespace linear_swap
{
namespace restful
{
namespace response_account
{
struct GetAcco... | [
"3140618@163.com"
] | 3140618@163.com |
d5d0950fd6bceb0582698180937d14ee2acdabb2 | ad2e78e30d89780412546cbd9ca7e63bf317899b | /Semester 2/Exercise2/Exercise2/Polynomial.cpp | bdd56fd265ff70d61477186fa389f7c95d7854d1 | [] | no_license | RocketSkates/SchoolNew | a6eb619b3fef221c9c92c599250f9d5ee8f4ad4f | a695cdafcaa69ede2092980ee47cdcb5fd5e68b4 | refs/heads/master | 2020-05-27T23:05:02.409991 | 2017-11-01T12:48:22 | 2017-11-01T12:48:22 | 82,576,659 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,559 | cpp | #include "Polynomial.h"
Polynomial::Polynomial() :numMonoms(0) {
for (int i = 0; i < MAX_Monoms; i++)
poly[i] = NULL;
}
Polynomial::~Polynomial() {
for (int i = 0; i < MAX_Monoms; i++)
delete poly[i];
}
Polynomial::Polynomial(const Polynomial & poly1) {
numMonoms = poly1.GetNum();
for (int i = 0; i < numMo... | [
"sigal.gurman@gmail.com"
] | sigal.gurman@gmail.com |
3172404bf8524300b46692f07c4fa497b06dc6f6 | bc9ab0fa7a51d03e194d2ab573f9bfdb00f0267c | /OpenGL/src/GameObject/GameObjectManager.cpp | 6bf8cec0591a40da86bde0e3b0c677404cf31d9a | [] | no_license | shashagit/BocksEngine | 24a92a90ee01e2aa1f06a72fd2ce9c865035a2a5 | e0efcea6788b14af01c2040e871303fec86661e6 | refs/heads/master | 2022-04-08T15:30:24.676470 | 2019-11-18T17:24:20 | 2019-11-18T17:24:20 | 211,177,732 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,521 | cpp | /* Start Header -------------------------------------------------------
Copyright (C) 20xx DigiPen Institute of Technology.
Reproduction or disclosure of this file or its contents without the prior
written consent of DigiPen Institute of Technology is prohibited.
File Name: <put file name here>
Purpose: <explain t... | [
"devshashwatpandey@gmail.com"
] | devshashwatpandey@gmail.com |
2bef4cd6c8d18652def114b1396c69e869ae9f0c | e9f54dc20a1a1f52ed846d0f108824f0886d97fc | /aeda1920_fp09/Tests/jogador.h | b9a7317b4fc3e3d7b6bb0715f52a4e5bb32ca0f4 | [] | no_license | marianaramos37/AEDA_feup | 68dbd5fa3738e5257727a4e3cad1dca53ae57a1a | 2324c50751a5a4820cf35a43cd1203edfb352319 | refs/heads/main | 2022-12-27T20:31:04.043433 | 2020-10-07T18:07:28 | 2020-10-07T18:07:28 | 302,119,480 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 898 | h | #ifndef JOGADOR_H_
#define JOGADOR_H_
#include "aposta.h"
#include <string>
using namespace std;
//a alterar
struct apostaHash
{
int operator() (const Aposta & ap) const
{
return ap.getNumeros().size();
}
bool operator() (const Aposta & ap1, const Aposta & ap2) const
{
tabHInt::const_iterator ... | [
"7marianaramos@gmail.com"
] | 7marianaramos@gmail.com |
3dc40cad43e270129dc12419ea86261e9a100529 | a575bb4ba5b842dcc4b00148a3fb17ef575a0fc3 | /urm.h | 811ec2401629baa76b2929a57451714e6db98971 | [] | no_license | Jakjm/URM | 8f1d1682e788fd5f6a240dba7b0390adae5a0da0 | a15449ac58e0f3a2a58a50d95053247ca9b16ccd | refs/heads/master | 2022-07-14T13:25:57.248071 | 2020-05-14T07:05:12 | 2020-05-14T07:05:12 | 260,367,935 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 309 | h | #include <vector>
#include <map>
using namespace std;
class V_Instruction;
class URM{
public:
vector<int> *variables;
vector<V_Instruction*> *instructions;
map<string,int> varMap;
int programCounter;
URM(vector <V_Instruction*> *instructions,vector <int> *vars,map <string,int> varMap);
void run();
};
| [
"jakj3m@gmail.com"
] | jakj3m@gmail.com |
b398a470cf7d3de9bf06450b6af28f6ee05a3e2e | 5fed51550227689ab197910b1b3a3b55fdcdec85 | /include/bakkesmod/wrappers/GameObject/RumbleComponent/VelcroPickup.h | 42c0fef505edf15953c63d0dcf317ffaa6e05803 | [
"MIT"
] | permissive | GodGamer029/SuperSonicML | 6f57dc58804d9189706540b4a7b4d281dde6e501 | 2b0a446d6f206dd365661806ab29f8672c9b7adb | refs/heads/master | 2022-12-23T04:05:22.158352 | 2020-10-03T15:36:22 | 2020-10-03T15:36:22 | 262,556,810 | 8 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,764 | h | #pragma once
template<class T> class ArrayWrapper;
template<typename T> class StructArrayWrapper;
#include "../../WrapperStructs.h"
#include "../.././GameObject/RumbleComponent/RumblePickupComponentWrapper.h"
class BallWrapper;
class CarWrapper;
class RBActorWrapper;
class BAKKESMOD_PLUGIN_IMPORT VelcroPickup : public... | [
"godgamer029@gmail.com"
] | godgamer029@gmail.com |
63c3fe43baece3a463802ced384d03ecfbbb57c3 | 97e9f7e62763e88b6b3af7d0441d916232cabc0e | /poly3.cpp | 3e79f097f35c02c61c4082ac027aea06cf6e3858 | [] | no_license | prabhhav/cpluspluscpp | afddb1d2fc8b025cd8f85c4947ef7a32f9732dee | 3d6e524185e4d5481111c88495737f590c6f62a8 | refs/heads/master | 2020-12-30T04:06:46.431122 | 2020-06-01T11:38:13 | 2020-06-01T11:38:13 | 238,854,791 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 359 | cpp | #include <iostream>
using namespace std;
class Animal { // base class declaration.
public:
string color = "Black";
};
class Dog: public Animal // inheriting Animal class.
{
public:
string color = "Grey";
};
int main(void) {
An... | [
"noreply@github.com"
] | noreply@github.com |
73972699c56d2996edcb53afc79f9b628fd2c97a | 58f46a28fc1b58f9cd4904c591b415c29ab2842f | /chromium-courgette-redacted-29.0.1547.57/chrome/browser/chromeos/login/user_manager_impl.cc | 049b604c503c0e56a240067958467344718f0767 | [
"BSD-3-Clause"
] | permissive | bbmjja8123/chromium-1 | e739ef69d176c636d461e44d54ec66d11ed48f96 | 2a46d8855c48acd51dafc475be7a56420a716477 | refs/heads/master | 2021-01-16T17:50:45.184775 | 2015-03-20T18:38:11 | 2015-03-20T18:42:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 66,458 | cc | // Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/chromeos/login/user_manager_impl.h"
#include <cstddef>
#include <set>
#include "ash/shell.h"
#include "base/bind.h"
#includ... | [
"Khilan.Gudka@cl.cam.ac.uk"
] | Khilan.Gudka@cl.cam.ac.uk |
d5dd77dac3097956250cf5c64cb41e2f7df306b2 | 948f4e13af6b3014582909cc6d762606f2a43365 | /testcases/juliet_test_suite/testcases/CWE121_Stack_Based_Buffer_Overflow/s06/CWE121_Stack_Based_Buffer_Overflow__CWE806_char_declare_ncat_82.h | 2f09730a8a540e1ebb6d7d149a16420790531ef9 | [] | no_license | junxzm1990/ASAN-- | 0056a341b8537142e10373c8417f27d7825ad89b | ca96e46422407a55bed4aa551a6ad28ec1eeef4e | refs/heads/master | 2022-08-02T15:38:56.286555 | 2022-06-16T22:19:54 | 2022-06-16T22:19:54 | 408,238,453 | 74 | 13 | null | 2022-06-16T22:19:55 | 2021-09-19T21:14:59 | null | UTF-8 | C++ | false | false | 1,361 | h | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE121_Stack_Based_Buffer_Overflow__CWE806_char_declare_ncat_82.h
Label Definition File: CWE121_Stack_Based_Buffer_Overflow__CWE806.label.xml
Template File: sources-sink-82.tmpl.h
*/
/*
* @description
* CWE: 121 Stack Based Buffer Overflow
* BadSource: Initializ... | [
"yzhang0701@gmail.com"
] | yzhang0701@gmail.com |
22d6bed54c52cf1942052c5abbf0b44fb1081780 | 9740c92e917aaf2991ff08238eb87ed8f7323a59 | /test/test_thread/NonCopyable.h | ab5c93a033ac6923b1ac8d128c2a4052fe3caf24 | [
"MIT"
] | permissive | gggin/RaySync | f37d89ce5089c4981639290b2c74a993cbf8e46f | 89cb317b4f3b67bd62d1de54d4c46c557fe90ae0 | refs/heads/master | 2021-01-10T11:24:29.435958 | 2015-12-16T10:14:59 | 2015-12-16T10:14:59 | 46,699,051 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 276 | h | #ifndef NONCOPYABLE_H_
#define NONCOPYABLE_H_
class NonCopyable
{
public:
NonCopyable() {}
~NonCopyable() {}
private:
NonCopyable(const NonCopyable &);
void operator=(const NonCopyable &);
};
#endif /*NONCOPYABLE_H_*/
| [
"fm369o802340@163.com"
] | fm369o802340@163.com |
2e1df0793335a96faaabb93be18a741befbbe3f6 | b6e92e4f4207421acaa20551b7042477f0410668 | /engine/engine/ManagerTexture.cpp | 268a301e3b6a078ccd5f57ef206a81d847be7398 | [] | no_license | Meldow/CGJ-Chess | f18b6917ec849f2e15097493c522b85e3a50cbd9 | aea8427538d4db361445739c41a55011120777b3 | refs/heads/master | 2016-08-12T17:06:02.951388 | 2016-01-25T12:57:23 | 2016-01-25T12:57:23 | 47,121,351 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 807 | cpp | #pragma once
#include "ManagerTexture.h"
#include <iostream>
SINGLETON_IMPLEMENTATION_NO_CONSTRUCTOR(ManagerTexture)
ManagerTexture::ManagerTexture() {}
void ManagerTexture::add(char* name, Texture* texture) {
textures.insert(std::pair<char*, Texture*>(name, texture));
}
Texture* ManagerTexture::get(char* name) {
... | [
"alexandremacc@gmail.com"
] | alexandremacc@gmail.com |
583bbe80dc50f27ad3e383af3b9207988f6f5c5c | 50457fc28800b3cf2f25e06478f33981a1a626dc | /Facebook-Hackercup/2019/qualification/mr_x.cpp | 8e1f1df17a3fec9d7690c164e2ce6815969b38d4 | [] | no_license | h-sinha/CP-codes | 5b1ef5021b7fd180b518270ffdb12997dc8d367b | 937174c73d1c80114de4535a6908122158366ad4 | refs/heads/master | 2021-07-20T18:47:00.500294 | 2021-07-06T05:11:57 | 2021-07-06T05:11:57 | 159,954,721 | 2 | 2 | null | 2020-01-07T18:57:28 | 2018-12-01T14:51:44 | C++ | UTF-8 | C++ | false | false | 2,484 | cpp | #include<bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace __gnu_pbds;
using namespace std;
#define DEBUG
#ifdef DEBUG
#define debug(...) __f(#__VA_ARGS__, __VA_ARGS__)
template <typename Arg1>
void __f(const char* name, Arg1&& arg1){
cerr << name << " : " ... | [
"harsh.26020@gmail.com"
] | harsh.26020@gmail.com |
5fee67c3a2c387a4c63e71c548d22df10029f609 | 8bc16b2510188db604429e93c44a0d3393dbc3c2 | /PureBasic/AlembicCurves.h | 1f8fdc3b384e999bf6d5d07cbc05c772ddc6f4de | [] | no_license | benmalartre/Booze | f3e497a5792c2b9ce0b4fb17d5c11aebdb13a9aa | f3537f667deb6447ce9b65074d32e028f6fefc2b | refs/heads/master | 2020-07-09T22:06:03.921219 | 2019-04-19T21:13:22 | 2019-04-19T21:13:22 | 94,262,542 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,106 | h | #ifndef _ALEMBIC_CURVE_H_
#define _ALEMBIC_CURVE_H_
#include "AlembicObject.h"
BOOZE_NAMESPACE_OPEN_SCOPE
struct ABC_Curves_Sample_Infos
{
uint64_t m_numPoints;
uint64_t m_numCurves;
uint64_t m_sampleindex;
bool m_hasWidth;
bool m_hasUV;
bool m_hasNormal;
bool m_hasWeight;
bool m_hasOrder;
bool m_hasKnot;
}... | [
"benmalartre@hotmail.com"
] | benmalartre@hotmail.com |
dfbd8a0fdf720fea729d4cb2488e248823f7f0e1 | 3267680798c8d637d07aeb8d0a93c2bc09a1571f | /sesiones/12 sesion/ejercicio12.12.cpp | c4d61c4ea172869a6ef0826b3ca11a4ea1791c3c | [] | no_license | antOnioOnio/Fundamentos-De-Programacion | 05c5cbd502b9181ecfbaf7e0fac940a073698410 | 84bc7aeb7302c6db81f5577a5c9961f306f84183 | refs/heads/master | 2020-04-20T22:12:35.458997 | 2019-02-04T19:19:41 | 2019-02-04T19:19:41 | 169,132,079 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,435 | cpp | /*Sobre la clase SecuenciaCaracteres añada el método para eliminar un bloque, desde un determinado valor a otro determninado valor.*/
#include <iostream>
using namespace std;
struct FrecuenciaCaracteres{
char caracter;
int frecuencia;
};
class SecuenciaCaracteres{
private:
static const int TAMANIO... | [
"noreply@github.com"
] | noreply@github.com |
836af18775f6a0eca8ac1fadcdaa9ac332c32c5c | 458e8e86d7784b919a0bb80b6cd6654bc7771e68 | /ontology_model/my_work/agents_c_plus/0.5.0/problem-solver/cxx/factual_knowledge_similarity_calculation/keynodes/keynodes.cpp | 3671ba17bca4f7898fa23352899ab3438a9cb9ad | [] | no_license | liwenzu/BSUIR-OSTIS | 50090993810695d0384ef2e0f1225d630370f2f1 | 980d4628567912c816f333fd4c4d5ea7f195cab3 | refs/heads/master | 2022-09-21T06:24:29.684173 | 2022-09-14T19:30:24 | 2022-09-14T19:30:24 | 218,078,699 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 629 | cpp | /*
* This source file is part of an OSTIS project. For the latest info, see http://ostis.net
* Distributed under the MIT License
* (See accompanying file COPYING.MIT or copy at http://opensource.org/licenses/MIT)
*/
#include "keynodes.hpp"
#include <sc-memory/cpp/sc_memory.hpp>
namespace facknowsimcalcu
{
ScAdd... | [
"lwzzggml@gmail.com"
] | lwzzggml@gmail.com |
5e62e25b8724258d902b24008ae4b243f25e5616 | e6e73055224d5b006012340bc00670bace121ba6 | /libiop/benchmarks/benchmark_gf64.cpp | 4a34a2df889bd45b4880317e956106b06d2cda81 | [
"MIT"
] | permissive | AntoineRondelet/libiop | 459939b6edd41f3a9de0b4726019bb3196372cff | e73e241b6c750f7713cf59eeaa94b34f4f1fb3b9 | refs/heads/master | 2021-01-09T00:39:02.457411 | 2020-02-21T17:08:42 | 2020-02-21T17:08:42 | 242,190,775 | 0 | 0 | MIT | 2020-02-21T17:08:53 | 2020-02-21T17:08:52 | null | UTF-8 | C++ | false | false | 3,887 | cpp | #include <cmath>
#include <cstddef>
#include <vector>
#include <benchmark/benchmark.h>
#include "libiop/algebra/fields/gf64.hpp"
#include "libiop/algebra/utils.hpp"
namespace libiop {
static void BM_gf64_mul_vec(benchmark::State &state)
{
const size_t sz = state.range(0);
const std::vector<gf64> avec = rando... | [
"dojha12@gmail.com"
] | dojha12@gmail.com |
eaeee1723cf10f03c6ba53c4dc8c4ba34daa1edb | fe072ecf40220abc178c3281a663b94d34d82558 | /Filter.h | 8aae4b9d5fddcaf516c60a9fa59a803d40ea8819 | [] | no_license | connortribbett/CPP-AVX2-OpenMP-3x3-Image-Filtering-Algo | 9705e6a377cff5302eb6d974f0f507d9b12f7c37 | e624617e30ab8bf841edef0c11399f58046981e4 | refs/heads/master | 2023-05-08T11:11:47.176626 | 2021-05-07T05:37:20 | 2021-05-07T05:37:20 | 222,013,699 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 597 | h | //-*-c++-*-
#ifndef _Filter_h_
#define _Filter_h_
#include <immintrin.h>
using namespace std;
struct __2in3Filter{
__m256 upper;
__m256 middle;
__m256 lower;
};
struct __2in3Filter128{
__m128 upper;
__m128 middle;
__m128 lower;
};
class Filter {
float divisor;
int dim;
float *data;
public:
Filt... | [
"noreply@github.com"
] | noreply@github.com |
353e76cc63861701767559726f8a8dfbd63908e5 | d5eb860b97dac6b0f45aaa7dbab66b0ad884dfbf | /CF-Upsolving v001/Solutions/red_maple/I/main.cpp | a3c82f68b4b62ee8415958d2871e0aa820c2306b | [
"MIT"
] | permissive | gmeligio/axon_training | 97c6a0ca43a340d0805fd059f9bfa4b2cd85a46b | 657f181b732265856c71e97697bfde2062744e5a | refs/heads/master | 2020-05-18T12:11:41.531964 | 2019-05-30T20:38:45 | 2019-05-30T20:38:45 | 184,400,460 | 1 | 0 | MIT | 2019-05-01T10:25:36 | 2019-05-01T10:25:35 | null | UTF-8 | C++ | false | false | 1,675 | cpp | /*
Date 05/13/2019
Brenda E Ramirez.
*/
#include <bits/stdc++.h>
#include <limits.h>
#include <algorithm>
#include <numeric>
#include <ext/pb_ds/assoc_container.hpp>
using namespace __gnu_pbds;
using namespace std;
#define imie(...) " [" << #__VA_ARGS__ ": " << (__VA_ARGS__) << "] "
#define endl '\n'
using... | [
"bem3ly@gmail.com"
] | bem3ly@gmail.com |
08f883438532d4260c559c538857e62389cbfef1 | 9b25cb49b6b30ee5d86bfdf4e2a52f72a9d790a2 | /Snakes/Snake/SnakeField.cpp | 3ac25a7b59cd10e43df7b99e1f722f6882e4ae57 | [] | no_license | ifanzilka/Snakes | de81d7cba74ec6a2384175e717666054d8349716 | e1300721cbfba67bf9a61e804ac77ac2fd6d80cd | refs/heads/master | 2020-09-14T06:08:31.141643 | 2019-11-20T23:19:50 | 2019-11-20T23:19:50 | 223,044,046 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 4,324 | cpp | #include "SnakeField.h"
#include <SFML/Graphics.hpp>
#include <windows.h>
#include <time.h>
using namespace sf; // libary sfml
void SnakeField::draw_Game()
{
//draw
window.clear();
//draw map
for (int i = 0; i < N; i++)
{
for (int j = 0; j < M; j++)
{
sprite1.setPosition(i*size, j*... | [
"noreply@github.com"
] | noreply@github.com |
05b82c3ed00050940d17e227135c47de2d1f377f | 0bb3f3cd3c370302f9b85d906b1d4473e1687a56 | /second/312_Burst_Balloons/sol.cpp | 74016ebee830e04bf104a14575035bbfae41edd7 | [] | no_license | yongjianmu/leetcode | 5f1ad1a0a8e5ada01221165022d74933ed3db5e3 | 563a42bee9e0cb4111c3fe49a9fbfa77d381811f | refs/heads/master | 2021-09-08T22:00:40.339589 | 2021-08-31T09:08:39 | 2021-08-31T09:08:39 | 60,553,872 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,240 | cpp | #include "../include/header.h"
/*
Given n balloons, indexed from 0 to n-1. Each balloon is painted with a number on it represented by array nums. You are asked to burst all the balloons. If the you burst balloon i you will get nums[left] * nums[i] * nums[right] coins. Here left and right are adjacent indices of i. ... | [
"Yongjian@yongjiandembp.uconnect.utah.edu"
] | Yongjian@yongjiandembp.uconnect.utah.edu |
81731980cf24b0c922a89232d2a427c1e049ee67 | 2f4f95bee60d3be5e7489e92f7fc46a2eab24e73 | /VANETSim/src/inet/transport/rtp/reports_m.cc | 3c3f76678f46c02e07df5a2544d0a6c53299334a | [] | no_license | daliaaaa/VANETProject | 72bbb2211e8df9e9a103036361a787c1dce05126 | 263b604ce0924999ea6d5d72b812f1a236818461 | refs/heads/master | 2021-01-18T08:47:34.863194 | 2016-04-10T20:19:10 | 2016-04-10T20:19:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,213 | cc | //
// Generated file, do not edit! Created by nedtool 4.6 from inet/transport/rtp/reports.msg.
//
// Disable warnings about unused variables, empty switch stmts, etc:
#ifdef _MSC_VER
# pragma warning(disable:4101)
# pragma warning(disable:4065)
#endif
#include <iostream>
#include <sstream>
#include "reports_m.h"
U... | [
"siroisjo@gmail.com"
] | siroisjo@gmail.com |
d1835c6ac9e37f6287fa96a4cbc5e44465f253f3 | 764d59d448c032dd853d8c4df95a23590f088b59 | /src/main.cpp | 54534e80417890f57bc1f9da405da2a67b690ba9 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | fire/flow-avatar-asset-pipeline | 29d842068359a71149b402a736ddc1a4da544da0 | 85e9bcbf413865307a58115c32315965a0c22376 | refs/heads/main | 2023-05-31T13:55:36.578218 | 2021-04-30T01:39:16 | 2021-04-30T01:39:16 | 376,369,022 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,499 | cpp | /* avatar-build is distributed under MIT license:
*
* Copyright (c) 2021 Kota Iguchi
*
* 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 limit... | [
"developer@infosia.co.jp"
] | developer@infosia.co.jp |
276919294e86ebff18ec203a0eb9641bbc76d43a | c0caed81b5b3e1498cbca4c1627513c456908e38 | /src/protocols/magnesium/util.hh | 3b584d6c98a5fffa48ff21eed574296a0fd3f78b | [] | no_license | malaifa/source | 5b34ac0a4e7777265b291fc824da8837ecc3ee84 | fc0af245885de0fb82e0a1144422796a6674aeae | refs/heads/master | 2021-01-19T22:10:22.942155 | 2017-04-19T14:13:07 | 2017-04-19T14:13:07 | 88,761,668 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 4,300 | hh | // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
// vi: set ts=2 noet:
//
// (c) Copyright Rosetta Commons Member Institutions.
// (c) This file is part of the Rosetta software suite and is made available under license.
// (c) The Rosetta software is developed by the co... | [
"malaifa@yahoo.com"
] | malaifa@yahoo.com |
1606340f92905f1b86bf45eb45d421573d7dcd20 | 56d1226dfefc93768a5f60ce15d1d7ca9bd58a08 | /ddraw/IDirectDrawGammaControl.cpp | e9abe7fe5463388d979ca4b5f2501f08ee306f58 | [
"Zlib",
"GPL-1.0-or-later"
] | permissive | elishacloud/dxwrapper | ef6e047a6c49b98b74bf0adcff80740e8c0fff42 | 258bc970a72c7a4bd89449527a537e6912acbfb3 | refs/heads/master | 2023-08-17T06:13:06.649077 | 2023-08-16T21:17:18 | 2023-08-16T21:17:18 | 81,271,358 | 968 | 83 | Zlib | 2023-08-22T19:56:05 | 2017-02-08T00:58:26 | C | UTF-8 | C++ | false | false | 3,592 | cpp | /**
* Copyright (C) 2023 Elisha Riedlinger
*
* This software is provided 'as-is', without any express or implied warranty. In no event will the
* authors be held liable for any damages arising from the use of this software.
* Permission is granted to anyone to use this software for any purpose, including co... | [
"elisha@novicemail.com"
] | elisha@novicemail.com |
129f655f81b1652dacade23e78bb23d6b4a8d3d1 | 258cc0f1875b16d8ec8e75592be90f79e59a9fe0 | /Onboard-SDK-ROS-4.0.1/include/dji_osdk_ros/payload_device_node.h | f94977e43587cb74186dc4ab51c659d32c90e8fc | [] | no_license | CatchACat083/Onboard-SDK-ROS_Detection-Geolocation | 93cf2085352ce64c8b3d2ba4e8cf3e167c907add | 020649a3790b1bac16196be21333b33073f2b36a | refs/heads/master | 2023-03-03T04:54:03.265372 | 2021-02-02T08:55:13 | 2021-02-02T08:55:13 | 335,208,771 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,761 | h | /** @file payload_device_node.h
* @version 4.0
* @date May 2020
*
* @brief sample node of payload device.
*
* @Copyright (c) 2020 DJI
*
* 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 So... | [
"linbosen083@gmail.com"
] | linbosen083@gmail.com |
3344b25e5d6c9b7e4d5efeb965bf7ccf50a67f77 | 0958cceb81de1c7ee74b0c436b800a1dc54dd48a | /wincewebkit/WebKit2/Shared/Plugins/NPIdentifierData.cpp | 61ebbbe0fd2710d5866a481edfd33fbf9e105258 | [] | no_license | datadiode/WinCEWebKit | 3586fac69ba7ce9efbde42250266ddbc5c920c5e | d331d103dbc58406ed610410736b59899d688632 | refs/heads/master | 2023-03-15T23:47:30.374484 | 2014-08-14T14:41:13 | 2014-08-14T14:41:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,060 | cpp | /*
* Copyright (C) 2010 Apple Inc. 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 of condi... | [
"achellies@163.com"
] | achellies@163.com |
916137b2f04c905ba78573593d5a1c57e33b4b9b | 002371578ec2ec1a35e1b30a9413a29b7bed8e25 | /item.h | 9a774efc878474bb1141c7ab75cd42b1d2754ce9 | [] | no_license | marcokstephen/bbchallenge | a165f1ce9f5df1a5850414818cf88d8a27a8fd80 | ed1b78a430c1030f0e2209f4c79a3219109d891b | refs/heads/master | 2022-01-06T15:24:47.546667 | 2019-07-20T20:43:50 | 2019-07-20T20:43:50 | 197,978,987 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 625 | h | #ifndef INCLUDED_ITEM_H
#define INCLUDED_ITEM_H
#include <sstream>
class Item {
public:
Item(char key, int row, int column, int attack, int defense);
const char& key() const;
int& row();
int& column();
int& attack();
int& defense();
bool& equipped();
private:
char d_key;
int ... | [
"marcok.stephen@gmail.com"
] | marcok.stephen@gmail.com |
31ba776b650406ec8bd41343e4ee8039eec72f8a | f621325245a4157d3d4c363095b43ae522da44d0 | /W3/insertionSort.cpp | 94b1dcf368c70b2c261e062377cdc2796db59999 | [] | no_license | shlokalm/DAA | 7951f83923be2ac41c489fb8b3ed6276efb037c2 | a7c7e57f9d9c90e2744012e05ef5bfbef045cbea | refs/heads/main | 2023-08-26T19:58:26.402064 | 2021-11-12T16:38:10 | 2021-11-12T16:38:10 | 386,038,937 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 733 | cpp | #include <bits/stdc++.h>
using namespace std;
void insort(int *ar, int n)
{
int i,j;
int comps = 0, shifts = 0, key;
for (i=1;i<n;i++)
{
key = ar[i];
j = i-1;
while (j>=0 && ar[j]>key)
{
comps ++;
shifts ++;
ar[j+1] = ar[j];
... | [
"shlokbishtalm@gmail.com"
] | shlokbishtalm@gmail.com |
b365350a6cf92ea947b8d971c74cd45d4c7fd3a4 | 3eb180a2400c7b1829664a39375f69cc24d1f0b8 | /src/net/drivers/input/inputdriver.h | 5c17f7423b3f241b8abe8e3dec46fda3a42382d4 | [] | no_license | skifcorp/amigo | 86b3ca3190f9951178ce3be641f1e6b05c7dec8f | e1c417286b0bd0077e97f6dd856ad5bca489987b | refs/heads/master | 2021-01-10T03:22:20.551290 | 2016-02-15T06:27:40 | 2016-02-15T06:28:06 | 51,735,393 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 996 | h | #ifndef __INPUT_H_
#define __INPUT_H_
#include "inputconnection.h"
#include <memory>
#include <set>
using std::set;
using std::shared_ptr;
class InputDriver;
typedef shared_ptr<InputDriver> InputDriverPtr;
class InputDrivers
{
public:
InputDrivers (){}
void append (InputDriverPtr p)
{
drivers.insert (p)... | [
"amotsok@gmail.com"
] | amotsok@gmail.com |
55d689174c2b98057a28ced3efb25e2c6f9e7afc | f3a35f1e9d803a1ad409bec1e58024e825f87141 | /08/GraduDeMIS/GraduDeMIS.cpp | 8419023ea474941e5fd15c973508021127da7021 | [] | no_license | xuezchuang/C-Project | ed4406f913e853b981063e726ab505ada36b1f90 | 4d5a64429fde2d37ba77974dd6cf7526833e55be | refs/heads/master | 2020-03-24T20:04:26.082584 | 2017-11-14T10:11:40 | 2017-11-14T10:11:40 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,054 | cpp | // GraduDeMIS.cpp : Defines the class behaviors for the application.
//
#include "stdafx.h"
#include "GraduDeMIS.h"
#include "GraduDeMISDlg.h"
#include "odbcinst.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
CString selectID;
CString strExternUser;
bool bstuExternF... | [
"1182741213@qq.com"
] | 1182741213@qq.com |
0c508a0b8c0b2f64795c8581dff8e8229b7f7038 | bbad11a2f0edc04125717ed0114d797148a93f89 | /hcs08_programinstruction.cpp | 2cc53a4291b5b8b8d8ee257b26cae700c029cbb3 | [] | no_license | Brick1x1/MC9S08dbg | 8716eba23591ed2af65e91fff2f33e01f35f84d7 | 5e6819e2316781abddec7be88eb1c38ce3675dc4 | refs/heads/master | 2023-02-16T21:22:16.164562 | 2020-11-01T21:24:32 | 2020-11-01T21:24:32 | 293,360,899 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 390 | cpp | #include <iostream>
#include <string>
#include <cstring>
#include <cstdlib>
#include "hcs08_programinstruction.h"
using namespace std;
hcs08_ProgramInstruction::hcs08_ProgramInstruction(unsigned short p_startAddr , char *p_disassembleText, int p_instructionLength)
{
startAddr = p_startAddr;
strcpy(disassembleT... | [
"jens.noergaard@outlook.com"
] | jens.noergaard@outlook.com |
9eee9cd8f83184eaf7adae52df3bdbc3bbd38332 | 6559c9c66342c546f41ced1548d239fbfea0d7c9 | /Ramjet_Core/Core/Managers/Mesh_Manager.h | 2f98a52606b7cb21aa8ea72058b18baa4fa033c5 | [] | no_license | Fox3medium/RamjetEngine | e8f3cdbd74dc3e846974ebd3f6fb6c12415d0808 | 1b6c83f51821d94a8b35720bc09d6a4d28741fa9 | refs/heads/master | 2022-01-28T13:54:55.575843 | 2019-07-17T21:45:24 | 2019-07-17T21:45:24 | 194,148,095 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,169 | h | #pragma once
#include <CoreBasicInclude.h>
#include <Core/Common.h>
#include <Utils/types.h>
#include <Utils/Maths/maths.h>
#include <Rendering/Renderer/Buffers/VertexArray.h>
#include <Rendering/Renderer/Models/Sprite.h>
#include <Rendering/Renderer/Models/Mesh.h>
#include <Rendering/Material/Material.h>
namespace ... | [
"rmdirsudosu@gmail.com"
] | rmdirsudosu@gmail.com |
f5a02604a882767e4156fe48c543298d5966c53b | 6767c4eebaf795f478f5d8800b760d4c20131f84 | /inference-engine/tests/functional/plugin/cpu/shared_tests_instances/low_precision_transformations/variadic_split_transformation.cpp | 214f9f421f432f200d8806fd62ee4fcba07dd8f3 | [
"Apache-2.0"
] | permissive | jgespino/openvino | 4a9beb4e4beeae8a67bf3d3218505ccdacae1bec | 38c41b1ee34797f6ab1c49bbcc0275bd214e39d2 | refs/heads/master | 2023-01-12T21:31:53.957655 | 2020-11-06T14:28:33 | 2020-11-06T14:28:33 | 289,012,265 | 0 | 0 | Apache-2.0 | 2020-10-01T17:33:27 | 2020-08-20T13:22:35 | null | UTF-8 | C++ | false | false | 3,263 | cpp | // Copyright (C) 2020 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include <vector>
#include <gtest/gtest.h>
#include "low_precision_transformations/variadic_split_transformation.hpp"
#include "common_test_utils/test_constants.hpp"
using namespace LayerTestsDefinitions;
namespace {
const std::vect... | [
"noreply@github.com"
] | noreply@github.com |
a7916afdcd20b13f6f9bbd9b75b819feb653b164 | 0219c8953c98eebccba7957ad0ca371403aa225a | /framework/include/cgv/base/base.h | a85c2141d1ec1e2039f9bfa44536df2ae5014c67 | [] | no_license | TomKopp/CG1 | 6db282a2b73fcff6a08eb53fbf08c91ac884c25c | 857ee13f7a911c506bb9b20cb5600d3097d62b83 | refs/heads/master | 2023-02-06T12:01:08.379385 | 2020-12-26T15:49:29 | 2020-12-26T15:49:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,943 | h | #pragma once
#include <cgv/type/info/type_name.h>
#include <cgv/reflect/reflection_handler.h>
#include <cgv/data/ref_ptr.h>
#include <iostream>
#include <cgv/type/lib_begin.h>
namespace cgv {
namespace type {
namespace info {
struct CGV_API type_interface;
/// pointer to const type interface
typ... | [
"witzbould@live.com"
] | witzbould@live.com |
d135eb6123bdda61f9c9d9cf0e959f77d69d123d | 5f9888aa5ea9a82dc3dd6254ef9284fbaf4ced75 | /psp案例修改/main_public.h | b6893c30035806f2247a0f8e1993bd035ebf38ce | [] | no_license | xuqingjie/pspproject | a805f21e876c3977cae79b0e9117ec157cd55867 | 7f1373415f55cdfee79ff09024aa1944ab4ce27c | refs/heads/master | 2021-01-22T17:34:02.885794 | 2016-06-05T00:36:33 | 2016-06-05T00:36:33 | 60,408,689 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,006 | h | #pragma once
/*
此模块作为时间日志记录的公共部分
主要实现的功能
1.定义公共类:时间日志记录 时间 记录名称 事件 时间id;
其他 想起来再说
作者:徐庆杰
时间:2016-5-30
修改历史:2016-5-30 创建
*/
#include"public.h"
//公共类的规定
struct Time
{
int year;
int month;
int day;
int hour;
int minute;
};
class Timerecord
{
public:
char title[100];
char incident[500];
Time s_time;
Time e_ti... | [
"861538803@qq.com"
] | 861538803@qq.com |
42373cdb519390c51783be5088d91a4f4a255f0c | 3e731150a1a5e5211eae36b163be2505fd55d6b3 | /trabajo/include/latapeones.h | 7df77c455b1d04d40e90ad458ef21b2e5826251f | [] | no_license | jesus-lop-puj/IG | 2f19a8d056837fe72e0659685ab9027e7dead9e2 | 2045d97b0763802ab3c03482eb95c5245eb59762 | refs/heads/main | 2023-02-22T05:38:51.779491 | 2021-01-22T10:04:06 | 2021-01-22T10:04:06 | 316,946,154 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,123 | h | // Nombre: Jesús, Apellidos: López Pujazón, DNI/pasaporte: 26523483K (DDGG IG curso 20-21)
#ifndef LATAPEONES_H
#define LATAPEONES_H
#include "objeto3d.h"
#include "grafo-escena.h"
class LataPeones: public NodoGrafoEscena{
public:
LataPeones();
};
class PeonMadera: public NodoGrafoEscena{
public:
... | [
"jesuslopezpujazon@gmail.com"
] | jesuslopezpujazon@gmail.com |
7acd49df8bc138b2ad1dadb96a7f46cad0217ca9 | 3e422f11c0c38087553f42891f05548081bc9f4d | /src/kll/Behaviours/Behaviour.cpp | a3ab308c491a9e40a5a4c5d060cfb8b43b47f643 | [
"MIT"
] | permissive | damian0815/kll | 75381e0ca6b878add71e659a29854815a3f313d2 | 85998f89c2a32f6678c0d5f2d2c2ca4819433e57 | refs/heads/master | 2021-01-12T09:10:30.623738 | 2017-04-03T19:24:19 | 2017-04-03T19:24:19 | 76,783,457 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 74 | cpp | //
// Created by Damian Stewart on 10/12/2016.
//
#include "Behaviour.h"
| [
"damian@frey.NOSPAMco.nz"
] | damian@frey.NOSPAMco.nz |
f1d0397c6331e7352cf0dded1ba9df160eb5f462 | 86ecdaacf878288c9bd6a1656b5fc33283849498 | /GuiLite.h | 71d1ec509d4297b0de139c205c30e7441712e01a | [] | no_license | perseverance51/c_star | 90e66660378d92607d3f43514b9141cfc0f6c049 | 015325c971df344ea4be48e8f02b0b521d9b1172 | refs/heads/master | 2023-07-04T07:02:27.275605 | 2021-08-07T02:54:19 | 2021-08-07T02:54:19 | 393,560,135 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 125,321 | h | #pragma once
#define REAL_TIME_TASK_CYCLE_MS 50
#define MAX(a,b) (((a)>(b))?(a):(b))
#define MIN(a,b) (((a)<(b))?(a):(b))
#define GL_ARGB(a, r, g, b) ((((unsigned int)(a)) << 24) | (((unsigned int)(r)) << 16) | (((unsigned int)(g)) << 8) | ((unsigned int)(b)))
#define GL_ARGB_A(rgb) ((((unsigned int)(rgb)) >> 24) ... | [
"perseverance51@126.com"
] | perseverance51@126.com |
66e5dfefdd36177da65c2e84deaae1690f726eb7 | e8dd6e3001d14ac07f9b10d1960b2384827ab20b | /examples/gaussian-process-regression/main.cpp | aa42febafd74326f3c84351ae3d5bc68fa2a6c5e | [
"MIT"
] | permissive | giovastabile/mathtoolbox | 8c3ceb7497c2099016e58fbd3939459eff15ce63 | 5fcbaa1b0287f6715d2a3e4172e2a4e28e7604c3 | refs/heads/master | 2020-05-20T06:16:33.453557 | 2019-05-07T00:40:43 | 2019-05-07T00:40:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,357 | cpp | #include <vector>
#include <random>
#include <iostream>
#include <fstream>
#include <string>
#include <cmath>
#include <Eigen/Core>
#include <mathtoolbox/gaussian-process-regression.hpp>
using Eigen::VectorXd;
using Eigen::MatrixXd;
namespace
{
std::random_device seed;
std::default_random_engine engine(seed()... | [
"yuki@koyama.xyz"
] | yuki@koyama.xyz |
24aa6031f255998a1a4f5442509b1f65c1319ac2 | b8c7d99801e446ed5159ae8d0a10235b778ced0f | /physics/layerRef.cpp | c944f391cc3e6dcaf1827194fd1af06a111967f1 | [
"MIT"
] | permissive | iomeone/Physics3D | ac24ac975172bf912758c50443f0228a1ce4cce0 | f9abe877d5c4dae0c9473969f219be796416785f | refs/heads/master | 2022-11-29T05:58:23.500223 | 2020-08-18T08:48:40 | 2020-08-18T08:48:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 723 | cpp | #include "layerRef.h"
#include "layer.h"
void LayerRef::notifyPartBoundsUpdated(const Part* updatedPart, const Bounds& oldBounds) {
if(layer != nullptr) layer->trees[static_cast<int>(subLayer)].updateObjectBounds(updatedPart, oldBounds);
}
void LayerRef::notifyPartGroupBoundsUpdated(const Part* mainPart, const Bound... | [
"lennart.vanhirtum@gmail.com"
] | lennart.vanhirtum@gmail.com |
45d5f6a43daab62d2066780b875a95614446f0f2 | d97735ef39079b45f89e4381965cd1026c6ba2ec | /AggOO-0.1.7/AggOO/include/agg_svg_path_renderer2.h | 6e8d551b6435cde12398fb52d96f465e5fb225d9 | [
"BSD-3-Clause"
] | permissive | prepare/Graphics2DVariants | 36d0bb503ecc00ae9b19a704830310597e272af6 | 0f59169b332e23b166adcad63e5427de2449bf70 | refs/heads/master | 2021-01-22T05:33:29.575665 | 2014-11-18T13:39:28 | 2014-11-18T13:39:28 | 22,535,508 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,261 | h |
/*! $Id: agg_svg_path_renderer2.h,v 1.1 2007/05/23 12:36:36 dratek Exp $
* @file agg_svg_path_renderer2.h
* @author Chad M. Draper
* @date May 7, 2007
* @brief A subclass of agg::svg::path_renderer which allows for vertex retrieval.
*
* Derived from agg::svg::path_renderer. path_renderer2 imp... | [
"wintercoredev@gmail.com"
] | wintercoredev@gmail.com |
e402d0b76a45e85b2eb0c18a671274be666f0431 | aac2f7b52c9104f683b98f88bfa40ec9e89ad360 | /课程c++代码/大一上程序设计代码/我写的木马/10-6/123/main.cpp | c6ebc22a323a25d223fb2e97897dcdec97a347f7 | [] | no_license | sjyjytu/My-All-Code | 988a21429782b9901a0ee3c4cd19e73e9521f685 | 0456bcc8b6fe7aabb58b747facfb92b578371912 | refs/heads/master | 2020-05-04T00:33:07.525129 | 2019-04-02T02:47:08 | 2019-04-02T02:47:08 | 178,886,944 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 342 | cpp | #include <iostream>
#include<stdlib.h>
using namespace std;
int main()
{
cout <<"\aOperation\"HyperHype\"is now activated!\n";
cout <<"Enter your agent code:______\b\b\b\b\b\b";
long code;
cin>>code ;
cout<<"\aYou entered"<<code<<"...\n";
cout<<"\aCode verified!Proceed with Plan Z3!\n";
return 0;
... | [
"1332372004@qq.com"
] | 1332372004@qq.com |
5b7b5e406aca25be290ca910ee95bad4a751731f | 287dc1683f7e19a5239c2b8addbc8531809f9177 | /mooc43-bobo-algo/Play-with-Algorithms-master/08-Minimum-Span-Trees/Course Code (C++)/05-Implementation-of-Optimized-Prim-Algorithm/Edge.h | a3826cab12c6b0da513db59834135466a8d202a0 | [
"Apache-2.0"
] | permissive | yaominzh/CodeLrn2019 | ea192cf18981816c6adafe43d85e2462d4bc6e5d | adc727d92904c5c5d445a2621813dfa99474206d | refs/heads/master | 2023-01-06T14:11:45.281011 | 2020-10-28T07:16:32 | 2020-10-28T07:16:32 | 164,027,453 | 2 | 0 | Apache-2.0 | 2023-01-06T00:39:06 | 2019-01-03T22:02:24 | C++ | UTF-8 | C++ | false | false | 1,569 | h | //
// Created by liuyubobobo on 9/26/16.
//
#ifndef INC_05_IMPLEMENTATION_OF_OPTIMIZED_PRIM_ALGORITHM_EDGE_H
#define INC_05_IMPLEMENTATION_OF_OPTIMIZED_PRIM_ALGORITHM_EDGE_H
#include <iostream>
#include <cassert>
using namespace std;
// 边
template<typename Weight>
class Edge{
private:
int a,b; // 边的两个端点
... | [
"mcuallen@gmail.com"
] | mcuallen@gmail.com |
cf0aef65a92fe734f037e6fba13e61dffe16e938 | 00a05ffcb21d87b295618badafb3ab9ea623f445 | /marktest.cc | 72fda68cb74bf4c9ddfe52775d0f49e6adec2464 | [] | no_license | lets-make-something/camserv | ca39253292eabc6b1a2785cba94506a85c91406a | 078af95ffa353bbae19d9e87a34da7274c40f153 | refs/heads/master | 2021-08-30T10:26:48.912563 | 2017-12-17T14:06:30 | 2017-12-17T14:06:30 | 107,996,954 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,235 | cc | #include "markpos.h"
#include "png/png.h"
#include <fstream>
#include <stdint.h>
#include <vector>
#include <random>
#include <algorithm>
#include <array>
#include <map>
void writestepcolor(const char *name, uint8_t *mono, int width, int height) {
using namespace std;
vector<uint8_t> data;
data.re... | [
"wate@wate.jp"
] | wate@wate.jp |
9598e7a80304f492686d7a39a46ecf0310986338 | 190219e4aca487f7c65de81484b993b362825131 | /v2/external/llvm-2.8/lib/CodeGen/SimpleRegisterCoalescing.h | 855bdb98b36c6de2ec2b03f4c6fa0ff381a9149d | [
"NCSA",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | dilawar/ahir | b6a56ed5c61f121c09ef6636d7dd2752d97529b5 | 9c5592a4df7a47b9c1e406778cc7c17316bcfb4e | refs/heads/master | 2021-07-14T18:04:20.484255 | 2020-07-26T20:18:34 | 2020-07-26T20:18:34 | 184,123,680 | 1 | 0 | NOASSERTION | 2019-04-29T18:34:26 | 2019-04-29T18:34:26 | null | UTF-8 | C++ | false | false | 7,889 | h | //===-- SimpleRegisterCoalescing.h - Register Coalescing --------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"dilawars@ncbs.res.in"
] | dilawars@ncbs.res.in |
981a65929bcfd3612780278eb947ed053e3057eb | cec628def1aad94ccbefa814d2a0dbd51588e9bd | /cnd.completion/test/unit/data/org/netbeans/modules/cnd/completion/cplusplus/hyperlink/ClassMembersHyperlinkTestCase/IZ144062.cc | a46ecd6dfdf42cbdbbfacbf7cb7d8d417862c959 | [] | no_license | emilianbold/netbeans-releases | ad6e6e52a896212cb628d4522a4f8ae685d84d90 | 2fd6dc84c187e3c79a959b3ddb4da1a9703659c7 | refs/heads/master | 2021-01-12T04:58:24.877580 | 2017-10-17T14:38:27 | 2017-10-17T14:38:27 | 78,269,363 | 30 | 15 | null | 2020-10-13T08:36:08 | 2017-01-07T09:07:28 | null | UTF-8 | C++ | false | false | 276 | cc | static void type_test()
{
struct Uni {
int ii;
unsigned bit1:1;
unsigned bit2:2;
union {
int j;
char c;
} u;
void foo(int x) {
int y = x + 1;
}
} uni;
struct Uni2{}uni2;
}
| [
"alexey_vladykin@netbeans.org"
] | alexey_vladykin@netbeans.org |
070ef6fb8e15632521d11c1bc7db1d8d264f94af | 13822ad67648e1294a16f3a0ef5e7893b9bc46bc | /xtree_interface/PrintGraphSet.hpp | e6c56fe33e687a98463f9064aff12e75a85955ce | [] | no_license | mlikt/ft_container | 5493d66c1bdfe73518919cbf83c335bf91e64cf7 | 03ef4784d9fd0399b02aa51c73222f7af99d4e4e | refs/heads/master | 2023-08-29T21:00:46.062720 | 2021-11-12T22:38:35 | 2021-11-12T22:38:35 | 409,779,883 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,070 | hpp | #ifndef __PGS__
#define __PGS__
#define BLACK "\033[22;2m"
#define YELLOW "\033[22;33m"
#define RED "\033[22;31m"
#define GREEN "\e[0;32m"
#define BLUE "\033[40;34m"
#define RESETCOLOR "\033[0m"
#define ON 1
#define OFF 0
namespace ft {
template <class tree_traits>
void xtree<tree_traits>::PrintGraphSe... | [
"mlikt@ev-j4.kzn.21-school.ru"
] | mlikt@ev-j4.kzn.21-school.ru |
92ae2535762892e342e6c7733589f80c8a72afd4 | 8374f90034628900e3b2be5b0727158bef540a98 | /考核二.cpp | 21c499d1b92682f54e4d53845302a9e25f7416cf | [] | no_license | QAQAQAQAQQAQ/exam | 19820261c73df2262af7e2626baf500b81fe49de | d39c32f117a0ac4fed13dee5dff78c2dd7e4f94a | refs/heads/main | 2023-08-20T18:24:11.733009 | 2021-10-29T08:33:06 | 2021-10-29T08:33:06 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,039 | cpp | #include <iostream>
#include <cstdio>
using namespace std;
const int Edge = 500;//设定一个边界的值
int n, m, a = 0;//m,n为边界的值 a为最后结果的值
int F[Edge][Edge];//利用边界创建二维数组
int dx[4] = { -1,0,1,0 };
int dy[4] = { 0,-1,0,1 };
void dfs(int x, int y)
{
if (x<0 || x>n + 1 || y<0 || y>m + 1||F[x][y])
return;
F[x][y] ... | [
"noreply@github.com"
] | noreply@github.com |
e6c725ff35068848af6992d4bd39c219bf085ec4 | 53662d3cb19f44f1a344a48e10d65c0c36b0d50e | /components/integratedHand/src/touchpointsI.h | b91e69a4ed744a52091bde14be394561eb1fe95d | [] | no_license | robocomp/euroage-tv | 7b639338169ecb67470abde056732a4cbcebedf9 | 8aaa4c668a46ad1dea869ff3b6c826769b20eac6 | refs/heads/master | 2021-06-24T19:59:26.425779 | 2019-08-29T11:07:01 | 2019-08-29T11:07:01 | 140,541,711 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,216 | h | /*
* Copyright (C)2019 by YOUR NAME HERE
*
* This file is part of RoboComp
*
* RoboComp is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your ... | [
"orensbruli@gmail.com"
] | orensbruli@gmail.com |
b4918b4665d5a0b648891faff91a54fa46b64a3b | 7e2dec5d88ac1403340f76eb13aea42682726008 | /src/vk/video_profile.h | 8546360ba3d00a7344bf8b782a2d43a9d99f0e6b | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | ogukei/fuurin | 84f94f74fbed31dd5ec2dea7c1d2f1b3d267daec | f6109e56661aa977459e7d4b01eac60e3cc0d66f | refs/heads/master | 2023-06-01T10:05:16.633864 | 2021-06-13T21:26:15 | 2021-06-13T21:26:15 | 365,659,214 | 1 | 0 | MIT | 2021-06-13T21:26:15 | 2021-05-09T03:31:13 | C++ | UTF-8 | C++ | false | false | 868 | h |
#pragma once
extern "C" {
#define VK_ENABLE_BETA_EXTENSIONS
#include <vulkan/vulkan.h>
}
#include <memory>
namespace vk {
class Device;
class VideoProfile {
private:
VkVideoProfileKHR profile_;
VkVideoProfileKHR profile_with_ext_;
VkVideoDecodeH264ProfileEXT decode_h264_profile_;
std::shared_ptr<vk::Devi... | [
"noreply@github.com"
] | noreply@github.com |
626c58435420bbe6477ce0e0ec468819cd8184d3 | 04a540847c1333c987a1957fd8d31197c594f6bb | /BOJ/12100_2_1.cpp | 42a952a2d910327f25b74185eb93221b76bd1445 | [] | no_license | k8440009/Algorithm | fd148269b264b580876c7426e19dbe2425ddc1ab | a48eba0ac5c9f2e10f3c509ce9d349c8a1dc3f0c | refs/heads/master | 2023-04-02T16:06:10.260768 | 2023-04-02T11:04:32 | 2023-04-02T11:04:32 | 200,506,643 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,408 | cpp | // 2048 (easy) 2회차
// https://www.acmicpc.net/problem/12100
/*
4
2 2 2 2
0 0 0 0
0 0 0 0
0 0 0 0
*/
#include <iostream>
#include <queue>
using namespace std;
const int MAX = 20 + 2;
int N, answer;
int board[MAX][MAX];
void print_board(int src[MAX][MAX])
{
cout << '\n';
for (int r = 0; r < N; r++)
{
for (int c =... | [
"sungslee@student.42seoul.kr"
] | sungslee@student.42seoul.kr |
9268e3277f53edb22efb921d47489e76c38de113 | d4a4778a22065bdca785ead59b04ec6f6f11f9e6 | /quant/src/stock_info.cpp | e7ad04da83120f7f4f38f7cda3aa3d538d83e2ae | [] | no_license | zjpanghao/quant-choices | d85a05b8122d50523284939490b942d054fe0003 | 51c58882e243b3199bde490b7011bff99e3c73f0 | refs/heads/master | 2021-01-15T17:50:08.038987 | 2017-10-25T09:10:21 | 2017-10-25T09:10:21 | 99,760,907 | 0 | 0 | null | 2017-10-25T09:10:22 | 2017-08-09T03:23:29 | C++ | UTF-8 | C++ | false | false | 1,296 | cpp | #include "stock_info.h"
namespace stock_info {
std::mutex StockLatestInfo::mutex_;
StockLatestInfo* StockLatestInfo::GetInstance() {
static StockLatestInfo info;
return &info;
}
bool StockLatestInfo::UpdateCssInfo(const std::map<std::string, CssInfo> &css_map) {
LOG(INFO) << "UpdateCssInfo: " << css_map.size();... | [
"panghao@slave5.(none)"
] | panghao@slave5.(none) |
9eadb0032a4cc3df3766e705673e84d5eb9e2712 | 5f81b8e48e6bf5d751e320486187df10f5892b07 | /circle.cpp | b7928936a65532f263d1f1a476ebfe4721a2b0a7 | [] | no_license | trpham/Geometric-Shape-Classes | 9acc00b1ca0787954b1a85b7fbfdb5e0545e41fa | 1c1128d5d1d61cd12a647db7adae3f3c2a0c9cab | refs/heads/master | 2021-01-19T06:05:59.690484 | 2015-07-02T04:34:12 | 2015-07-02T04:34:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,155 | cpp | /**
* Program name: Circle.cpp
* Discussion: Cirlce Class Implementation
* Written By: Truong Pham
* Date: 2014/12/11
*/
#include "circle.h"
Circle::Circle() : center(Point(Fraction(0, 1),
Fraction(0, 1))), radius(Fraction(0, 1)) {
}
Circle::Circle(Circle& cir) : center(cir.center)... | [
"phamcse@gmail.com"
] | phamcse@gmail.com |
38dd93a98abed591a8d426d38a62c2164f7b2fa0 | 1000804c885ccf3cee9cb2733a4fc22d9a3a5100 | /Week_04/45. Jump Game II.cpp | 959603f60ac4d265b71bd3b07a6d0869d2e8d604 | [] | no_license | winter-ldm/algorithm012 | 48eddedc8458c80c20e5abde0f039c000f01615e | b028350213ecc8f863d57ee5e127288c876a8a4d | refs/heads/master | 2022-12-13T11:34:52.835953 | 2020-09-13T09:09:29 | 2020-09-13T09:09:29 | 280,853,445 | 1 | 0 | null | 2020-07-19T11:41:59 | 2020-07-19T11:41:58 | null | UTF-8 | C++ | false | false | 731 | cpp | /**
* 从能走的范围里面选出一次能跨过过大的步数,然后又从该位置找出能跨过的最大步数,当前面跨过的步数+当前的最大步数能跨到最后一个位置即为所求
**/
class Solution {
public:
int jump(vector<int>& nums) {
int step = 0, start = 0, end = 0, flag = 0, n = nums.size() - 1;
while (end < n) {
step++;
int endflag = end + 1;
for (int i = ... | [
"2402048517@qq.com"
] | 2402048517@qq.com |
a7ad4d6da7111453e84ab848a81c1b8972eba57d | a4324c8deb4e0a403e32bb511d16dbce6e376c6b | /c++程序设计进阶/week1/位运算.cpp | 1d37a7def2b67127c0fdad3545c9db7de9c3660f | [] | no_license | Ge-yuan-jun/coursera-peking-university | 2a0f860b246f0fcc09b646a027e14e7da5bb9472 | ae4f2e5bb57d5ee03be9388807f3a78165d3d60c | refs/heads/master | 2021-02-27T13:43:43.417165 | 2017-03-14T06:29:34 | 2017-03-14T06:29:34 | 40,311,833 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 228 | cpp | #include <stdio.h>
int main () {
int n1 = 15;
short n2 = -15;
unsigned short n3 = 0xffe0;
char c = 15;
n1 = n1 >> 2;
n2 >>= 3;
n3 >>= 4;
c >>= 3;
printf("n1=%d,n2=%x,n3=%x,c=%x",n1,n2,n3,c);
} | [
"daydaygyj@gmail.com"
] | daydaygyj@gmail.com |
f44d353b1c786d79a03c7567c17ce13661b7437d | 9644bf4e8daa8a38e7b23288ea04667ffe3c4b7e | /Main/SharpMemoryLcd.cpp | a85d86dcb33b202ec9fcf98f3bfd2ea7de58a857 | [
"MIT"
] | permissive | Ideely/Metering-Project | cb5671138c97c9c0c8347c0e35d5c9766b246885 | 63e96721f0f4587e117e938400b36fbf9ae52bdb | refs/heads/master | 2019-01-22T10:17:05.115075 | 2015-03-02T20:41:23 | 2015-03-02T20:41:23 | 30,617,771 | 0 | 1 | null | 2015-02-20T03:25:59 | 2015-02-10T22:22:53 | C++ | UTF-8 | C++ | false | false | 8,185 | cpp | #include "SharpMemoryLcd.h"
#include <avr/pgmspace.h>
static const int DISP = 2;
static const int EXTC = 3;
static const int EXTM = 4; //this can just be pulled high on your PCB if you need the pin
static const int SI = 11;
static const int SCS = 12;
static const int SCL... | [
"larkincrain@gmail.com"
] | larkincrain@gmail.com |
e328d0a6dbc2adb2615e101128865e2ea2efcfb5 | f7961da64ae861207a8682b72d10530fb7fde536 | /sensor_rx_tx.ino | f5c6148b7619fa83b6eba325b2cc0fdd8f79cd82 | [] | no_license | joinarun/lora_water_level | fef24e7e4843c8e32da627325e72b3e044e2f235 | 377731d57bf378e6a679a3d92c79007aee6b7314 | refs/heads/main | 2023-06-30T16:26:28.677368 | 2021-07-23T19:56:31 | 2021-07-23T19:56:31 | 378,715,676 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,258 | ino | #include <SPI.h> // include libraries
#include <LoRa.h>
const int csPin = 7; // LoRa radio chip select
const int resetPin = 6; // LoRa radio reset
const int irqPin = 1; // change for your board; must be a hardware interrupt pin
String outgoing; // outgoing message
byt... | [
"noreply@github.com"
] | noreply@github.com |
cdc9a48f18a2ab346a430eefe50b1e5079de15dd | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /device/bluetooth/test/test_bluetooth_advertisement_observer.h | d981a2ccbe09b68135c2e795494431df05f0d7fb | [
"BSD-3-Clause"
] | permissive | Samsung/Castanets | 240d9338e097b75b3f669604315b06f7cf129d64 | 4896f732fc747dfdcfcbac3d442f2d2d42df264a | refs/heads/castanets_76_dev | 2023-08-31T09:01:04.744346 | 2021-07-30T04:56:25 | 2021-08-11T05:45:21 | 125,484,161 | 58 | 49 | BSD-3-Clause | 2022-10-16T19:31:26 | 2018-03-16T08:07:37 | null | UTF-8 | C++ | false | false | 1,356 | h | // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef DEVICE_BLUETOOTH_TEST_TEST_BLUETOOTH_ADVERTISEMENT_OBSERVER_H_
#define DEVICE_BLUETOOTH_TEST_TEST_BLUETOOTH_ADVERTISEMENT_OBSERVER_H_
#include <u... | [
"sunny.nam@samsung.com"
] | sunny.nam@samsung.com |
94173717fe7045440906edc577f2ba045aab761a | 8e127cd373176709b122e135cd240d1572639e29 | /CG/C++/Trabalho2/Ex03/main.cpp | a47cb1e4521f11515dfc0f36093f106bf215dd6e | [] | no_license | maiconwazo/furb6_g1 | 3f14746520dafb74209a7d0c3fe9fff7637c98c0 | a6fb02e44d72eef31ea5372db4cdb4daccdd9b6e | refs/heads/master | 2023-08-03T08:42:27.863938 | 2021-09-10T18:47:14 | 2021-09-10T18:47:14 | 99,973,320 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,051 | cpp | #define _USE_MATH_DEFINES
#include "..\Dependencies\glew\glew.h"
#include "..\Dependencies\freeglut\freeglut.h"
#include <math.h>
#include <cmath>
#include <iostream>
double RetornaX(double angulo, double raio)
{
return (raio * cos(M_PI * angulo / 180.0));
}
double RetornaY(double angulo, double raio)
... | [
"maiconsantos2501@gmail.com"
] | maiconsantos2501@gmail.com |
5ed28e5dce7fe1bc46a182ffebd2d978579fb48a | b6d40ef857c574404cada4f372f873d539ab604d | /Source/ToonTanks/Pawns/PawnTurret.cpp | b5cdfa58ea807215ba5f8e1946433b9b7ca05103 | [] | no_license | aeche95/ToonTanks | cb7fa85d371bb2c6663e085a8494bb90039856a2 | f1d4576fdd7e0f29531e95d3916cf2add7a66f81 | refs/heads/master | 2023-02-20T17:16:01.649831 | 2021-01-28T16:08:57 | 2021-01-28T16:08:57 | 333,811,022 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,154 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "PawnTurret.h"
#include "Kismet/GameplayStatics.h"
#include "PawnTank.h"
// Called when the game starts or when spawned
void APawnTurret::BeginPlay()
{
Super::BeginPlay();
GetWorldTimerManager().SetTimer(FireRateTimerHandle... | [
"aecheverri.1995@gmail.com"
] | aecheverri.1995@gmail.com |
eb184bbbed623745ebdc050db453eab0ecd33072 | c9b8a2e06f0f33281a6f1dcf4fc6819f42259f75 | /Export/windows/cpp/obj/include/openfl/_internal/renderer/canvas/CanvasGraphics.h | db6233a2e5ec8c4b89e4c8acbd8f0f75da96eafb | [] | no_license | AppOlogies/mutant-helper | 7b4732b1ad2979a221f83eef24b7c73f90c6b8b9 | 2be5653846ee529e5a3d4d02112b98c30ba33bde | refs/heads/master | 2016-09-01T11:26:15.417217 | 2015-11-03T16:44:24 | 2015-11-03T16:44:24 | 43,067,958 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,930 | h | #ifndef INCLUDED_openfl__internal_renderer_canvas_CanvasGraphics
#define INCLUDED_openfl__internal_renderer_canvas_CanvasGraphics
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS3(openfl,_internal,renderer,RenderSession)
HX_DECLARE_CLASS4(openfl,_internal,renderer,canvas,CanvasGraphics)
HX_DECLARE_CLASS2(op... | [
"magnusjohansson82@gmail.com"
] | magnusjohansson82@gmail.com |
28688edeb868bd7f1f52cb5ea40575186f874c65 | 1f7e2b9d209a04542d0a04524a129a74215eae25 | /PAD2_Praktikum3_lars/travelagency.h | 5522b159520c80812deb0263c08141ed787e9b1b | [] | no_license | panexe/h_da_PAD2_Malcherek | 346540ea4500768352efa197029b6cd5b528c735 | 49830bc756b8ce2eb5659b182d2776c259d7e31b | refs/heads/master | 2020-05-04T15:41:13.810127 | 2019-06-15T13:19:03 | 2019-06-15T13:19:03 | 179,252,080 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 746 | h | #ifndef TRAVELAGENCY_H
#define TRAVELAGENCY_H
#include <vector>
#include "booking.h"
#include "travel.h"
#include "customer.h"
class TravelAgency
{
std::vector<Booking*> allBookings;
std::vector<Travel*> allTravels;
std::vector<Customer*> allCustomers;
int getHighestId();
public:
TravelAgency();... | [
"larslpt@gmail.com"
] | larslpt@gmail.com |
44e3a306677cdc960d309e49547cde860e0f3b27 | 609d6fc5e87838cfa0f9ac574d0791ba775ae107 | /src/petri.hpp | 4990ac35aa440117026bdf393ab9b0861a2c8156 | [] | no_license | ftZHOU/petri-network | c056cdcb6ad10ee5bdf0d39589d10be9e0937df8 | b5c3b813b6bace1f3607ce6ab8f09fa41f8f0242 | refs/heads/master | 2021-08-07T13:53:57.116190 | 2017-11-08T08:16:40 | 2017-11-08T08:16:40 | 109,946,607 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 43 | hpp | #pragma once
#include <petriNetwork.hpp>
| [
"ftzhou@outlook.com"
] | ftzhou@outlook.com |
37b5eec3aed4b81507e107a58096af768c03edd6 | c48435fa9ea66653c5fbc021533265b5dca04769 | /src/cpp/AlnGraphBoost.cpp | e0537bb41850dde53a8511b0e0696e5b970ee047 | [] | no_license | jgurtowski/pbdagcon_python | 544b647fb23d0fdd1766090f9fcca0bc405c4406 | 5c1ff1a26ddedac142855593b5d2a1fdbd82f5a2 | refs/heads/master | 2016-08-05T14:48:13.061829 | 2015-08-21T12:29:42 | 2015-08-21T12:29:42 | 41,154,670 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 15,439 | cpp | #include <cstdint>
#include <cfloat>
#include <cassert>
#include <string>
#include <queue>
#include <map>
#include <vector>
#include <boost/format.hpp>
#include <boost/graph/graph_traits.hpp>
#include <boost/graph/adjacency_list.hpp>
#include <boost/graph/graphviz.hpp>
#include <boost/utility/value_init.hpp>
#include "... | [
"a@b"
] | a@b |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.