blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0abbedd51fa5c47045289baf464ba3ec2e02177d | f72ca04c390b6ea4d49a8e53262288738ad02ef0 | /xr3core/h/xr/debug.hpp | f69dbfc0ae5124c6332d17432ed958c6a3ea14f7 | [
"BSD-2-Clause"
] | permissive | zyndor/xrhodes | cae4c0b12995cb206bfb46b755241d57b40489af | 995618bc82dc8e562c9ae1e6afc2ac795aeb517b | refs/heads/master | 2022-07-28T04:22:15.117802 | 2022-07-10T16:57:09 | 2022-07-10T16:57:09 | 153,730,253 | 9 | 0 | BSD-2-Clause | 2021-02-19T15:39:29 | 2018-10-19T05:20:10 | C++ | UTF-8 | C++ | false | false | 5,379 | hpp | #ifndef XR_DEBUG_HPP
#define XR_DEBUG_HPP
//==============================================================================
//
// XRhodes
//
// copyright (c) Gyorgy Straub. All rights reserved.
//
// License: https://github.com/zyndor/xrhodes#License-bsd-2-clause
//
//====================================================... | [
"gyorgy@nuclearheart.com"
] | gyorgy@nuclearheart.com |
7357d5d6b1a26c8e34981ae641148198e4e0f388 | 8fea82d0c844357b63bfe6950fa03474cd8f10d5 | /Tutorial/GacUI_Controls/TextEditor/UI/Source/AboutWindow.cpp | 9f0f9b30c0a434cf9296a2196f9dfa68005e8352 | [] | no_license | wuzeen/Release | 2a869d60b2452009b3267894a9ec35890adb8ddb | 85478ae79719d4716e22041016ddd1c90d977ad4 | refs/heads/master | 2021-07-06T06:09:21.255447 | 2017-09-28T15:33:10 | 2017-09-28T15:33:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,511 | cpp | /***********************************************************************
!!!!!! DO NOT MODIFY !!!!!!
GacGen.exe Resource.xml
This file is generated by Workflow compiler
https://github.com/vczh-libraries
***********************************************************************/
#include "Demo.h"
/* CodePack:BeginIgnor... | [
"vczh@163.com"
] | vczh@163.com |
a3753bc5bca7feac377556b35c046cd0c69a5f4f | 429113ad9528c7e5391fb0e9dfaaa6180db086d1 | /C++/PR5/Vector.cpp | a3dd8cd118e05612b554fb6faf52fe15dfb53a22 | [] | no_license | dbarashev/SPbAU | b868d601ba2ff64a9e2a4bbb1b39128eef5932a9 | f524896afe779f3e2d40aa58b9175dd7f54bd2bd | refs/heads/master | 2020-05-25T14:17:50.724756 | 2013-11-22T21:41:33 | 2013-11-22T21:41:33 | 14,721,313 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,412 | cpp | #include "Vector.hpp"
#include <cstdio>
#include <cassert>
#include <algorithm>
Vector::Vector(size_t initialSize, int value) :
increase_factor(2.0),
size(initialSize),
capacity(std::max(initialSize, 16ul)),
data(new int[capacity])
{
std::fill(data, data + size, value);
}
Vector::Vector(Vector const &other) :
... | [
"doxxerACM@gmail.com"
] | doxxerACM@gmail.com |
7e99a1f7a2b526cb065290b231a222b37fd5e3df | b1ecf5efbcacbb274898e29e7ee542e59ef93916 | /Graph prblm/Graph Merathon/Longest path in a tree .cpp | a1fbc23d8adb1355fe48ef2671427ed7dcf4dc03 | [] | no_license | abufarhad/Programming | 92160c224578be116b2bb1e957ea105640a83ee6 | 282bf4df6c47817cb5d96ccee7dc2953438e8e11 | refs/heads/master | 2021-06-16T17:07:14.095691 | 2021-03-23T17:22:13 | 2021-03-23T17:22:13 | 180,426,830 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 971 | cpp | #include<bits/stdc++.h>
#include<stdio.h>
using namespace std;
#define ll long long
#define scl(n) scanf("%lld", &n)
#define fr(i,n) for (ll i=0;i<n;i++)
#define fr1(i,n) for(ll i=1;i<=n;i++)
#define pfl(x) printf("%lld\n",x)
#define pb ... | [
"abufarhad15@gmail.com"
] | abufarhad15@gmail.com |
eee0a6a3bd59eecb91307b35e2d93433f723ebf1 | 31f75edeef8c2f825f02c608bd63d427dfa1e147 | /Homework4/ofxRollercoaster/src/ofApp.h | 5e9e98d1eb1d946dfea3f2c2deb333687df9b10f | [] | no_license | jeffsetter/Music256a | 23c2b2945fe50e5d9fef2d196741fe56f5f3a2f0 | 12c135fa87744794a82648d22418449a4617b8ad | refs/heads/master | 2020-12-02T10:14:05.839668 | 2016-12-10T03:34:57 | 2016-12-10T03:34:57 | 70,084,295 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,237 | h | #pragma once
#include "ofMain.h"
#include "sizeDefs.h"
#include "objects.h"
enum Direction {
Straight, Up, Down, Right, Left
};
typedef struct {
ofBoxPrimitive hBar;
ofBoxPrimitive vBar;
void setup() {
hBar.setHeight(20);
hBar.setWidth(RAIL_OFFSET * 2);
hBar.setDepth(70);
vBar.setHeight(50);
vBar.setW... | [
"setter@stanford.edu"
] | setter@stanford.edu |
46cc23906a0eb4de54b60207c6ae9018ef4cb275 | 18bb98bfd36f63fd3b6f3443fc3f04b0a9228a59 | /UserListCtrl.h | e563eeed70a545252ae26cb794dd465ef4ab121e | [] | no_license | anzhsoft/Readings | c0909b540957aab9a8172a300d31e4c8c445dd56 | 72795df2556273ac168e8729ecae87b25e46d6c1 | refs/heads/master | 2020-04-06T05:21:43.719490 | 2014-01-04T11:18:39 | 2014-01-04T11:18:39 | 15,630,264 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,453 | h | #if !defined(AFX_USERLISTCTRL_H__9B235BBA_42CB_4BC3_A0A8_411BB5852096__INCLUDED_)
#define AFX_USERLISTCTRL_H__9B235BBA_42CB_4BC3_A0A8_411BB5852096__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// UserListCtrl.h : header file
//
//////////////////////////////////////////////////////////////////... | [
"anzhsoft@gmail.com"
] | anzhsoft@gmail.com |
42b7a7be074ed55f923b8bf50cdad74e31275729 | 26d5c0a2cc368c48e3ae82ddbe47969154066556 | /c++/practise/3_practise/2_29_for.cpp | ac75dd0c72f5f3d8f8df886395b8a142d53d480a | [] | no_license | liujuan525/fudan | b793a51ce31d59822062c3597717dead91ef134c | 6e7487a7dea2a32c345990fadbd4c010cfb0ee40 | refs/heads/master | 2023-06-05T17:49:18.676965 | 2021-06-23T08:14:19 | 2021-06-23T08:14:19 | 254,825,874 | 1 | 0 | null | 2020-05-31T12:50:05 | 2020-04-11T08:37:37 | C++ | UTF-8 | C++ | false | false | 682 | cpp | // 用穷举法找出 1-100 间的质数并显示出来。分别使用 while,do...while,for循环语句实现
#include <iostream>
using namespace std;
// 质数:一个大于 1 的自然数,除了 1 和 它自身之外不能被其它自然数整除的数
int main()
{
int N = 0;
for (int i = 2; i < 100; i++)
{
bool flag = true;
for (int j = 2; j < i; j++)
{
if (i % j == 0)
... | [
"liujuan@liujuandeMacBook-Pro.local"
] | liujuan@liujuandeMacBook-Pro.local |
0157e3c27b66e796348a45ea59660c487161ba73 | 8ad1e3fc2e58089cb68a4da0fcbe3f4d4ec2871c | /qualification-round/include/Book.hpp | 1ce0821145ec3db1e12718242c3a0dbd82b4228d | [] | no_license | whichxjy/Hash-Code-2020 | 5748becc98f2c74862dc47369fc9d2794634a2ac | 636f3ceb364128e4a24eaf3430acc15226cb2182 | refs/heads/master | 2021-01-08T12:41:06.768923 | 2020-02-21T02:22:57 | 2020-02-21T02:22:57 | 242,029,955 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 157 | hpp | #ifndef _BOOK_HPP_
#define _BOOK_HPP_
struct Book {
int index;
int score;
Book(int index, int score) : index(index), score(score) {}
};
#endif | [
"whichxjy@gmail.com"
] | whichxjy@gmail.com |
9635701bd746574c8a79ed135aadfe445515d329 | a52ca01fcd1250ce5dbbdd969f85cbd72255d69f | /EngineUAB/Code/GUI/Controls/GUIImage.h | fa09adb55a619852deddcfdb7c1e4c25941eddbd | [] | no_license | kusku/red-forest | b089c8a76ed211ec126e07a32cd5c2cee90f6c12 | 24a104f06cce6031a66a6a920c0c170d059f38fb | refs/heads/master | 2021-01-10T08:00:46.367896 | 2012-10-26T02:35:34 | 2012-10-26T02:35:34 | 53,213,277 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,830 | h | //----------------------------------------------------------------------------------
// CSlider class
// Author: Enric Vergara
//
// Description:
// A Image..
//----------------------------------------------------------------------------------
#pragma once
#ifndef INC_IMAGE_H
#define INC_IMAGE_H
#include "R... | [
"mcuscullola@gmail.com"
] | mcuscullola@gmail.com |
2d8f095b15748cb6dc28e7a23932117d60b32293 | 858f566155244ae25f49b0cc8ad054a5664d2c25 | /src/graphics/g3d/model/MeshPart.cpp | 355a0ddb9260539626231761f1e7650a6783b43c | [] | no_license | ccour004/libgdxpp | ba0f910c175bb37f35b50ce70a9858d26f164a4c | 53dcf598978836ec5993ad21c0808058f97a5801 | refs/heads/master | 2021-01-23T05:46:04.621145 | 2017-09-11T14:01:43 | 2017-09-11T14:01:43 | 92,987,795 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 68 | cpp | #include "MeshPart.h"
BoundingBox MeshPart::bounds = BoundingBox(); | [
"ccour004@gmail.com"
] | ccour004@gmail.com |
7e85a0cd7cd7859c4ba655c0a675bc207039ed76 | ee36265f8b51b9fd2abe219b293ead7bfc3e306c | /BinarySearch/SearchInRotatedSortedArray.cpp | 49aef99a91ba57145c61393ca3117c626045b60b | [] | no_license | shakti-rajput/Coding | 7d0ce524415413adf800c6b67070344cb8ddc018 | 3e7b145ff60dc705e2d50498a764cf6e6a0a09a3 | refs/heads/master | 2022-04-28T08:33:16.257092 | 2022-04-07T12:57:11 | 2022-04-07T12:57:11 | 122,243,215 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,280 | cpp | class Solution {
public:
int binSearch(vector<int>& arr,int lo,int hi,int target)
{
while(lo<=hi)
{
int mid =lo+(hi-lo)/2;
if(arr[mid]==target)
return mid;
else if(arr[mid]<target)
lo=mid+1;
else
hi=m... | [
"shakti@availfinance.in"
] | shakti@availfinance.in |
8eacf656bad57731d5cbc025c201b6e4fe1b9ce0 | 9fcf6505213b669b291ceda13392a01c53c858b4 | /autonomous_car/esp.hh | ea1eb1dceef9635b0859e3bcd18dab8566a2f8d9 | [] | no_license | Watscob/arduino_car | 1e6a99ea23a88e3f01d93d7da0aef227cba7b74f | d48420db061e2d5c1c212687e9343877d7e712f6 | refs/heads/master | 2023-08-11T15:51:01.443099 | 2021-09-26T14:53:46 | 2021-09-26T14:53:46 | 314,654,074 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 818 | hh | #pragma once
#include <Arduino.h>
enum Request
{
REQUEST_UNDEFINED, // 0
REQUEST_SPEED_PLUS, // 1
REQUEST_SPEED_MINUS, // 2
REQUEST_MIN_SPEED, // 3
REQUEST_MAX_SPEED, // 4
REQUEST_GO_FORWARD, // 5
REQUEST_GO_BACKWARD, // 6
REQUEST_ROTATE_LEFT, ... | [
"etienne.chanudet@epita.fr"
] | etienne.chanudet@epita.fr |
cdbd36d1d442bd71b2fbb4fa44bf11e2ba230e9e | ef8914233abc7f1508e182c5ffbef0ec2d25c271 | /raaGraphToolQt/raaGraphHud.h | 718ef879710d03b8ceb901c9c88d9741b48376ac | [] | no_license | trebornipsa/raaGraphTool | 656a49ebb236f3d19b8b8287878416a1e5ce9239 | 79f51fee80a5b853086ccd68f114ad1de470f768 | refs/heads/master | 2021-01-12T14:06:52.790313 | 2016-10-06T15:11:17 | 2016-10-06T15:11:17 | 70,153,927 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,022 | h | #pragma once
#include <map>
#include <string>
#include <osg/Drawable>
class raaGraphPlot;
typedef std::map<std::string, raaGraphPlot*> raaPlots;
class raaGraphHud : public osg::Drawable::DrawCallback
{
public:
raaGraphHud();
virtual ~raaGraphHud();
virtual void drawImplementation(osg::RenderInfo &, const osg::Dr... | [
"R.Aspin@salford.ac.uk"
] | R.Aspin@salford.ac.uk |
0f842b767ba64cb46cd0391095be943dad9b8cf1 | 36b5eabb25b2b2d9bf01e26b4ba6728e234c4c96 | /codeforces/Edu96G.cpp | 839d7e22bf4c1e1e113edcf72b9a979174a48013 | [] | no_license | king7282/algorithm | e5d5dbf6ba9e723ffadeca7a1a08e7e6bf362065 | 871507ca7647e95bcd7d86988147559252755670 | refs/heads/master | 2023-06-29T04:14:10.056548 | 2021-07-28T00:29:50 | 2021-07-28T00:29:50 | 293,427,801 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,151 | cpp | #include <stdio.h>
#include <algorithm>
#include <vector>
#include <cstring>
#include <climits>
#include <queue>
struct info {
int val, num, bitmask;
};
int need_mask[20];
long long weights[19], dp[19][19][1 << 18], degree[19], result[19];
std::vector<int> graph[19], order, reverse[19];
bool check[19][19][1 << 18];
... | [
"juyj7282@gmail.com"
] | juyj7282@gmail.com |
f05bb717e89a74704a0c4a5f1768c90c9a9851fe | 00da795e529b9c8acd4e20dcedaa68db9015f449 | /Geeks4Geeks/Trees/printroottoleaf.cpp | ef6b84a9ff823ae342a1ddc762580c74a6d0829a | [] | no_license | nitish11/coding-practices | f557c24babc9ac210da429dfc184d9294feeeb27 | 85a38d71165b71c535f020fe2e7edd095588b854 | refs/heads/master | 2021-01-01T05:31:53.599731 | 2014-07-09T12:56:29 | 2014-07-09T12:56:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,694 | cpp | using namespace std;
#include<iostream>
#include<cstdio>
#include<cstring>
#include<cstdlib>
#include<cmath>
#include<string>
#include<vector>
#include<map>
#include<queue>
#include<algorithm>
typedef long long int int64;
struct node
{
int data;
struct node* left;
struct node* right;
};... | [
"nitish.bhardwaj11@gmail.com"
] | nitish.bhardwaj11@gmail.com |
b57417425b3a20f85541a87e01d9c16bc69a32a1 | 51bbfe4653e7ba7c95e7822151b2f8b59ca8083c | /microsoft/LightGBM-1/src/io/sparse_bin.hpp | 5e458a2a696b283e41711f82bf6fa45a9ea38a94 | [
"MIT"
] | permissive | Ankitvaibs/Virus | 8a744ba01ba2b1e09fea95aeacd37518261cd187 | debf3a893ee3cf328e155b1eb760ce2b7290043a | refs/heads/master | 2020-04-29T03:07:12.010478 | 2019-03-18T03:22:49 | 2019-03-18T03:22:49 | 175,797,516 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,440 | hpp | #ifndef LIGHTGBM_IO_SPARSE_BIN_HPP_
#define LIGHTGBM_IO_SPARSE_BIN_HPP_
#include <LightGBM/utils/log.h>
#include <LightGBM/bin.h>
#include <LightGBM/utils/openmp_wrapper.h>
#include <cstring>
#include <cstdint>
#include <limits>
#include <vector>
namespace LightGBM {
template <typename VAL_T>
class SparseBin;
co... | [
"42571581+Ankitvaibs@users.noreply.github.com"
] | 42571581+Ankitvaibs@users.noreply.github.com |
529f9dfcfe77a4f642fe75eda2402f8c0977a49f | 1fcdb2bc2c7f75f6aed466119a4b1c53777f0b7a | /holly_inlet_LRR_RSM_noturbulence/5/phi | 24e0d48773563c14fbec5eda2217b0763680b93b | [] | no_license | bshambaugh/openfoam-experiments3 | b32549e80836eee9fc6062873fc737155168f919 | 4bd90a951845a4bc5dda7063e91f6cc0ba730e48 | refs/heads/master | 2020-04-15T08:17:15.156512 | 2019-01-15T04:31:23 | 2019-01-15T04:31:23 | 164,518,405 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,616 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 4.1 |
... | [
"brent.shambaugh@gmail.com"
] | brent.shambaugh@gmail.com | |
f5bd60b527ef48a625886f49e1e9686c1d946f75 | 95091219c4006af6622053e99425daf8d84c39e5 | /main.cpp | af6f9bed1b9a07eb6d9f955ef813a7e2250f9ee6 | [] | no_license | anuraags/vulkan-tutorial | 14bb8653d501ce22bc4f5dba5a0f8a7d99dfebd8 | 0d234987581f8d31bb34f912b2816e51bd19d405 | refs/heads/master | 2023-08-07T08:22:51.090697 | 2021-10-03T02:54:16 | 2021-10-03T02:54:16 | 411,900,128 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 445 | cpp | #define GLM_FORCE_RADIANS
#define GLM_FORCE_DEPTH_ZERO_TO_ONE
#include <glm/vec4.hpp>
#include <glm/mat4x4.hpp>
#include <iostream>
#include "VulkanApplication.h"
int main() {
VulkanApplication app("Vulkan Application", 800, 600);
try {
app.init();
while (app.step()) {};
app.cleanup();
... | [
"anuraag.sridhar@gmail.com"
] | anuraag.sridhar@gmail.com |
820febb6955e2d22645372e9ca3696b56885ca16 | c8fc2703cce588d28dd9583e523f7f78378e3fd3 | /bit_manipulation/count_number_of_ones_in_1_to_n.cpp | 422f2f93b750324b2bcef82d6ce5e238478b6103 | [] | no_license | ngangwar962/C_and_Cpp_Programs | e4da2951b1a8c0091df26e363227488e279a9caa | 396d4313d2451e073811c0657f068829db10bcd5 | refs/heads/master | 2020-06-19T14:20:19.749116 | 2019-08-10T16:54:09 | 2019-08-10T16:54:09 | 196,741,346 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 268 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int i,j,k;
int n;
cin>>n;
long int count=0;
int NO_OF_BITS=sizeof(int)*8;
for(i=1;i<=n;i++)
{
for(j=0;j<NO_OF_BITS;j++)
{
if(i&1<<j)
{
count++;
}
}
}
cout<<count<<"\n";
return 0;
}
| [
"ngangwar962@gmail.com"
] | ngangwar962@gmail.com |
2b4830e1b2aa6cbba355e061747c4262afd32120 | 2d5db0df3c23f9251d7a71d4f42341078b31d6a8 | /t4.cpp | 4d561073e4eee455ba62958ef1870200d723d6f1 | [] | no_license | justfornamesake/coding | 381e7e0e6b1f25d325d8a8bd83321c5e5c43338d | 6fe2ecb61e0a28bc50573d0dfba106ab8bbe7ce0 | refs/heads/master | 2020-06-04T20:23:45.881340 | 2019-06-16T10:40:51 | 2019-06-16T10:40:51 | 192,178,973 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 926 | cpp | #include <bits/stdc++.h>
using namespace std;
struct node{
int data;
node *left;
node *right;
};
node *insert(node *root,int data){
if(root==NULL){
root=new node();
root->data=data;
root->left=root->right=NULL;
}
else if(root->data>=data){
root->left=insert(root->left,data);
}
else{
root->right=insert... | [
"satyajeetjha06@gmail.com"
] | satyajeetjha06@gmail.com |
6e3ffb825ef2036af381a47e722ddddc0be639ac | c2d270aff0a4d939f43b6359ac2c564b2565be76 | /src/chrome/browser/ui/views/location_bar/location_bar_bubble_delegate_view.h | 32cb9e84ef28ee8107f6e297b7df2da1741d33a0 | [
"BSD-3-Clause"
] | permissive | bopopescu/QuicDep | dfa5c2b6aa29eb6f52b12486ff7f3757c808808d | bc86b705a6cf02d2eade4f3ea8cf5fe73ef52aa0 | refs/heads/master | 2022-04-26T04:36:55.675836 | 2020-04-29T21:29:26 | 2020-04-29T21:29:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,832 | 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 CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_BUBBLE_DELEGATE_VIEW_H_
#define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_BUBBLE_DELEGAT... | [
"rdeshm0@aptvm070-6.apt.emulab.net"
] | rdeshm0@aptvm070-6.apt.emulab.net |
622b2caf41c8946d7dfb6b3e45ea115c59522d9b | badddc303f57c1f2bc62842efdfc7afbbc10e7f5 | /include/dynd/callables/unique_callable.hpp | 91f7edd7b68ef286d9c92a217b7b0a9dbb244e5a | [
"BSL-1.0",
"BSD-2-Clause"
] | permissive | corsy/libdynd | 9a144b277adca2c9d5412c8a62503cc0a595684e | 8d9c2aa8fc15017940602739f9a06eb7b9eed5ca | refs/heads/master | 2021-01-22T07:35:35.365650 | 2016-03-24T05:01:03 | 2016-03-24T05:01:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,602 | hpp | //
// Copyright (C) 2011-15 DyND Developers
// BSD 2-Clause License, see LICENSE.txt
//
#pragma once
#include <dynd/callables/base_callable.hpp>
#include <dynd/kernels/unique_kernel.hpp>
namespace dynd {
namespace nd {
class unique_callable : public base_callable {
public:
unique_callable() : base_callable(... | [
"hi@irwinzaid.com"
] | hi@irwinzaid.com |
1cab063add36ecde484230c531735520bcb91cf3 | 30dd9ff200f97b525b069577471d23387b23970b | /src/sensing/driver/ublox/ublox_gps/include/ublox_gps/callback.h | 9db1834885c5cd3017d60335371387bbdcbb35fc | [] | permissive | ColleyLi/AutowareArchitectureProposal | cd544ef913e3c49852d385883c3e3ee5b518b1b8 | 80ac2a8823d342e5a1e34703dbde27e8e9b5cd98 | refs/heads/master | 2022-04-18T01:41:53.649137 | 2020-04-21T12:18:58 | 2020-04-21T12:18:58 | 257,659,506 | 2 | 0 | Apache-2.0 | 2020-04-21T17:03:50 | 2020-04-21T17:03:49 | null | UTF-8 | C++ | false | false | 8,438 | h | //==============================================================================
// Copyright (c) 2012, Johannes Meyer, TU Darmstadt
// All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
// * Redi... | [
"yukky.saito@gmail.com"
] | yukky.saito@gmail.com |
c4642e5b1f9a79206c5a974caac0faefac399319 | dd6de2549e1ba47627b82cf408fd46072b7856f6 | /MXCommon/include/MxSoundManager.h | 878b2b1b0882aa92ce3234c9c6ffec717e32466b | [] | no_license | mylifecode/SYprojectcode | 36e5459a2527b9d45f2413c9b78f0f9fb9f6d4e2 | 7328a9b7667bc2d1d03204e84f41f8873b5c3680 | refs/heads/master | 2022-04-14T08:10:25.417006 | 2020-04-11T01:33:08 | 2020-04-11T01:33:08 | 195,399,969 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,283 | h | #pragma once
#include "MXCommon.h"
#include<string>
#include<map>
#include "bass.h"
/**
该类主要用于播放音频文件,可支持同时播放多个不同的音频文件,但不支持同时播放相同的音频文件
*/
class MXCOMMON_API MxSoundManager
{
private:
MxSoundManager(void);
~MxSoundManager(void);
public:
enum PlayState
{
PS_Playing,
PS_Stopped,
PS_NotReady,
PS_Paused,
PS... | [
"332437798@qq.com"
] | 332437798@qq.com |
503fce962d04f92dc7fbf236171037ef175d27ba | e3dcfd12bd1c565283c1ee2c1cb06a003f01577d | /Scene_graph/Scene_graph/supervoxel_clustering.cpp | 3b0996dd0320eaa9c7279256330f7680c1afdd82 | [] | no_license | yifeishi/proactive-learning-on-scenes | a0957579f4e445fe74d50045d2dc5a4b6af563db | becda902f47a6c610a29e728d0dd159c4322e9ca | refs/heads/master | 2021-05-28T08:22:29.433283 | 2014-12-19T13:31:59 | 2014-12-19T13:31:59 | 28,232,013 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,114 | cpp | #include <pcl/point_types.h>
#include <pcl/impl/instantiate.hpp>
#include "supervoxel_clustering.hpp"
#include <pcl/octree/impl/octree_pointcloud_adjacency.hpp>
#include <pcl/octree/impl/octree_pointcloud.hpp>
#include <pcl/octree/impl/octree_base.hpp>
#include <pcl/octree/impl/octree_iterator.hpp>
template class pcl... | [
"hao.li@siat.ac.cn"
] | hao.li@siat.ac.cn |
b6e23df37484fbf584a1d0d925bdf422c641caa2 | 3b107aa31c9b8905410e72a5783f314d2bffa9cd | /range_tone/range_tone.ino | 689fb8444180a5e49949ff844293b539851f8a4a | [] | no_license | dcbriccetti/arduino-lessons | d530bd53ee4ea29989181075852be116523ac25a | 1b7b44a2893d51bdeadb8c35899359baca1ce9fa | refs/heads/master | 2020-04-20T02:07:20.609987 | 2019-09-13T00:51:58 | 2019-09-13T00:51:58 | 25,756,681 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,041 | ino | #include "SRF05.h"
#define TRIGGER 4
#define ECHO 5
#define LED 6
#define SPEAKER 12
#define MAX_CM 200
#define PLAYMODE_CONTINUOUS 1
#define PLAYMODE_ARPEGGIO 2
SRF05 Sensor(TRIGGER, ECHO, MAX_CM, 0);
void setup() {
pinMode(LED, OUTPUT);
Sensor.Unlock = true;
}
void loop() {
Sensor.Read();
float cm = Sensor... | [
"daveb@davebsoft.com"
] | daveb@davebsoft.com |
77f2d99e66da0b272d3154088613f81db1f08618 | 8af1c8d72e6b7e9471987f945ebff059278da526 | /CMSIS/DSP/Testing/Include/Tests/DistanceTestsF32.h | fdddaed78998c16f60315872b8d35b5203bedb4d | [
"Apache-2.0"
] | permissive | WMXZ-EU/CMSIS_5 | 8899559de35d76516982536cd810f8af839e0c77 | 572825384134b9c7dcda421e357e9bcc433fb5fb | refs/heads/develop | 2021-01-12T14:54:15.304086 | 2020-06-09T17:18:14 | 2020-06-09T17:18:14 | 72,098,551 | 0 | 0 | Apache-2.0 | 2020-06-09T17:18:15 | 2016-10-27T10:42:38 | C | UTF-8 | C++ | false | false | 903 | h | #include "Test.h"
#include "Pattern.h"
class DistanceTestsF32:public Client::Suite
{
public:
DistanceTestsF32(Testing::testID_t id);
virtual void setUp(Testing::testID_t,std::vector<Testing::param_t>& paramsArgs,Client::PatternMgr *mgr);
virtual void tearDown(Testing::tes... | [
"Christophe.Favergeon@arm.com"
] | Christophe.Favergeon@arm.com |
22133cd639ad554f28972202c16a8ae0442cd38c | f07ba658d2ab736bea063c89dfaa876d5ddaa483 | /factoria/TrianguloIsosceles.h | d3c11fca7fcc480c0c1b55dd5f64f176ff982db5 | [] | no_license | jmunozpoveda/patrones | b17d8915d6c2cfcb0efc504dcf603558f5c10a47 | b9bbb551f392e94ea21315f2e0396263eeb6518c | refs/heads/master | 2021-12-24T21:39:10.013210 | 2016-04-15T15:29:52 | 2016-04-15T15:29:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 228 | h | #ifndef __TRIANGULO_ISOSCELES__
#define __TRIANGULO_ISOSCELES__
#include "Triangulo.h"
class TrianguloIsosceles: public Triangulo
{
public:
TrianguloIsosceles(int l1, int l2, int l3);
char* getDescription();
};
#endif | [
"jmp4281@hotmail.com"
] | jmp4281@hotmail.com |
b510c78c5cef1a653341699ce09bf987aee537de | 6a165bd09d8303ba99ed25cee93af985fb361f41 | /main.cpp | e869f72ebf46f64999162aca796f88cdb3dcd294 | [] | no_license | Pashamks/Book-List | 80b257c1c7b9d8518d195df98e8de065d4fe5d4a | fad7d015cce0b445a8ce33eefea0008cf31a229e | refs/heads/main | 2023-06-20T10:10:53.492059 | 2021-07-10T13:08:00 | 2021-07-10T13:08:00 | 384,697,444 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 691 | cpp | #include "listwindow.h"
#include <QApplication>
#include<QLabel>
#include<QMovie>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
ListWindow w;
QFile stuleShitFile("C:/Users/38095/Desktop/Qt/lab_6/Obit.txt");
stuleShitFile.open(QFile::ReadOnly);
QString stuleShit1 = QLatin1String(st... | [
"74491257+Pashamks@users.noreply.github.com"
] | 74491257+Pashamks@users.noreply.github.com |
e422f12f8e6f132772baccebf1744af88fb03ba7 | 41f52b15ab4c256ed5579f65520d1dee949613b8 | /tensorflow/compiler/xla/service/hlo_graph_dumper_test.cc | 7b0f937f383a416f805a799bd6787afe15b324b0 | [
"Apache-2.0"
] | permissive | ychen404/TensorFlowPlus | c029ad2a77850cc6f141c13a4c10925e0a92d771 | d4fcbe7278b983b6f736acf2d948e1f7954ca7e6 | refs/heads/master | 2022-10-15T16:59:37.683864 | 2017-10-04T23:28:02 | 2017-10-04T23:28:02 | 210,258,338 | 1 | 0 | Apache-2.0 | 2022-10-04T23:54:20 | 2019-09-23T03:37:58 | C++ | UTF-8 | C++ | false | false | 4,635 | cc | /* Copyright 2017 The TensorFlow Authors. 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 by applicable law or a... | [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
3628ae5537a30b1dc5f6c40e21cc4750c1f11b8c | 01837a379a09f74f7ef43807533093fa716e71ac | /src/utils/xulrunner-sdk/nsIRedirectChannelRegistrar.h | 43b0eb5792f356f396f46d21f96ecfea195ad002 | [] | no_license | lasuax/jorhy-prj | ba2061d3faf4768cf2e12ee2484f8db51003bd3e | d22ded7ece50fb36aa032dad2cc01deac457b37f | refs/heads/master | 2021-05-05T08:06:01.954941 | 2014-01-13T14:03:30 | 2014-01-13T14:03:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,663 | h | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM e:/builds/moz2_slave/rel-m-rel-xr_w32_bld-000000000/build/netwerk/base/public/nsIRedirectChannelRegistrar.idl
*/
#ifndef __gen_nsIRedirectChannelRegistrar_h__
#define __gen_nsIRedirectChannelRegistrar_h__
#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif
... | [
"joorhy@gmail.com"
] | joorhy@gmail.com |
455c10564e2438a8de1ac843ec885d09c385ea4b | 79d07f18c18e058efbf3a230f4e43bec3c2428c3 | /Modules/Source/Basic_MNIST_Test/Source/Basic_MNIST_Test.cpp | bc750d05bb1f5f94cec8a9685c375630e6813b50 | [
"MIT"
] | permissive | Robot-Fromage/ANN_MNIST_NumberGenerator | a2dc544b05fe5aae6b55f256e44b80030fcf5a76 | d448ae0523144c33b21f2df744587d2a5c09b7c0 | refs/heads/master | 2020-06-30T02:32:37.882794 | 2019-08-06T13:34:23 | 2019-08-06T13:34:23 | 200,694,025 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,812 | cpp | /*************************************************************************
*
* ANN_MNIST_NumberGenerator
*__________________
*
* Basic_MNIST_Test/main.cpp
* Layl
* Please refer to LICENSE.md
*/
#include <iostream>
#define DNN_USE_IMAGE_API
#include "tiny_dnn/tiny_dnn.h"
// rescale output to 0-100
template <typena... | [
"code@clementberthaud.com"
] | code@clementberthaud.com |
5f2dfc1e2eacc1b3f5b10a1e3625696a9b2bb5af | 08d3e4ceb86c17559bcaf8e2b6f649eec7d295e4 | /dialog.h | b24dda153011510dbda1c18af81b7bf336d57ae5 | [] | no_license | logan011/Terminal_watch_client | 7bded30cfe98d1693e184c9bcb1bfb66380ead1e | d904ff6d3740837152cec248eb4f3867921ee48c | refs/heads/master | 2020-04-10T15:35:49.351826 | 2013-10-23T13:32:20 | 2013-10-23T13:32:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 429 | h | #ifndef DIALOG_H
#define DIALOG_H
#include <QDialog>
#include <QTime>
#include<QDate>
#include "widget.h"
namespace Ui {
class Dialog;
}
class Dialog : public QDialog
{
Q_OBJECT
public:
explicit Dialog(QWidget *parent = 0);
~Dialog();
public slots:
void slotShowDialog();
void slotSaveData();
signa... | [
"roman-ostash@yahoo.com"
] | roman-ostash@yahoo.com |
25d61aa27514968c502e7230d3bb62bd2a6f1a5c | 233a9c9d99557ce9e54da126c8c7cb813bb051d2 | /common/src/observer.h | 534fba4417ce7138d253fd2937f4323b6d9d7aa9 | [] | no_license | maattam/engine | 1c512b9bd43257c659489d3ab7b02575689b3ca5 | 562de4bf2ade38c6bc3ecd7050763f49f7fa7fbb | refs/heads/master | 2022-09-29T02:47:08.499123 | 2014-10-26T08:36:14 | 2014-10-26T08:36:14 | 269,517,821 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 408 | h | //
// Author : Matti Määttä
// Summary :
//
#ifndef OBSERVER_H
#define OBSERVER_H
#include "observable.h"
template<typename ObserverType>
class Observer
{
public:
Observer();
virtual ~Observer();
typedef Observable<ObserverType> ObservableType;
void _setObservable(ObservableType* obs);
privat... | [
"lesetus@gmail.com"
] | lesetus@gmail.com |
c36d34ee93c58ad4514e12e645467d23537dce23 | 559207eb5beae4ba9fd638d19bd3009cbe3a6d11 | /src/third_party/chromium/src/base/id_map_unittest.cc | feb150b1dab2677ccb3e959735ac0542d8bf7ab3 | [
"Apache-2.0"
] | permissive | voku/mod-spdy | 2a8989668fe0c0f0de48c0b7ecd85b5b5b554ed1 | bcfb388cbc5415ee660c2b5dbcf61f6f43c2a5ca | refs/heads/master | 2023-04-05T09:50:46.847114 | 2015-03-19T17:58:09 | 2015-03-19T17:58:09 | 32,537,692 | 0 | 0 | NOASSERTION | 2023-04-04T01:40:41 | 2015-03-19T17:56:26 | C++ | UTF-8 | C++ | false | false | 4,603 | cc | // Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "base/id_map.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace {
class IDMapTest : public testing::Test {
};
class TestObject {... | [
"ptrck@blck.io"
] | ptrck@blck.io |
03b49aecc6c054e81c545e78a9f408b36c7e8f98 | d9cfe5dd9bcbd5e168c780c0f4ede892b9e9df63 | /pfs-debby/include/pfs/debby.hpp | 5cc07aa7e0e2cfd67405b0b8abd1efb516b5f809 | [] | no_license | semenovf/archive | c196d326d85524f86ee734adee74b2f090eac6ee | 5bc6d21d072292dedc9aa4d7a281bc75a1663441 | refs/heads/master | 2022-05-30T11:04:17.315475 | 2022-04-27T03:33:56 | 2022-04-27T03:33:56 | 130,155,339 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 252 | hpp | /**
* @file debby.hpp
* @author wladt
* @date Jan 14, 2014
*/
#ifndef __PFS_DEBBY_HPP__
#define __PFS_DEBBY_HPP__
#include <pfs/debby/debby.hpp>
#include <pfs/debby/database.hpp>
#include <pfs/debby/statement.hpp>
#endif /* __PFS_DEBBY_HPP__ */
| [
"fedor.v.semenov@gmail.com"
] | fedor.v.semenov@gmail.com |
a7f8dd8dfd8e404dc5756a57f963fa3efe5c2d4e | ad687256cd7763ffbb9f211129af69bc952ccc40 | /mainwindow.h | e497686922edb87fe29d6bc22cfe52d0f518f576 | [] | no_license | bkubicek/illuminat | 66c3376eda1f5cf73fe9c60dca1af6e109e99e9a | 50f8934e0cd931d03c1ef049aacd3fe21fd1f3b2 | refs/heads/master | 2021-01-25T03:27:20.389679 | 2014-09-18T07:02:38 | 2014-09-18T07:02:38 | 24,025,312 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 469 | h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include "stlfile.h"
class QSlider;
class QPushButton;
class Motion;
class Illuminator;
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
MainWindow(QWidget *parent = 0);
~MainWindow();
Illuminator *il;
QSlider *sl;
... | [
"kubicekätgmx.at"
] | kubicekätgmx.at |
e36b158d1d484da0b0e12e8fa8af410b1e9da5df | df986f7ce0b65230695b647d37ba5b3cae1fc524 | /ScrollableText/Font.cpp | 06cb25cc4941cb8b18432274d21b7e6c4673ec38 | [] | no_license | zsloss/scrollable-text | e3746c8003e7977d3d6d188a638704da5a0cc339 | a4a337e106e7c6b7f7b5113647cd5c34903988be | refs/heads/master | 2021-01-20T18:58:31.026378 | 2016-07-10T15:12:53 | 2016-07-10T15:12:53 | 60,432,575 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,714 | cpp | #include "Font.h"
#include <SDL_image.h>
#include <fstream>
#include <iostream>
#include <string>
#include <sstream>
Font::Font(const std::string name, SDL_Renderer *renderer)
{
_renderer = renderer;
load_info(name + ".fnt");
load_texture();
}
Font::~Font()
{
SDL_DestroyTexture(_texture);
_t... | [
"zachary.sloss@gmail.com"
] | zachary.sloss@gmail.com |
c31312d8a2bbe394e9b6142b76623379627d6f95 | 3ae912cbb3dcc1d0472f7ed0931f9718ba6b3da6 | /Console Library/Inventory.h | 1f91c61ec1493c71842f9ddae611c58bceb74579 | [] | no_license | black-licorice/Library | 4b98d10cf444a3338f395c2cb3495f941b7cb53e | 5914a03221a94e622f1fe4d3c8d607543f888997 | refs/heads/master | 2023-03-05T17:08:10.104488 | 2021-02-20T11:10:32 | 2021-02-20T11:10:32 | 336,062,095 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 415 | h | #pragma once
#include "Book.h"
#include <vector>
class Inventory
{
private:
std::vector<Book> m_Books;
Book* m_getBookById(int index, std::string title);
public:
int getVBooksSize();
Book getCopyAtIndex(int index);
void addBook(Book book);
void removeBookByTitle(std::string title);
Book* findBookByTitle(std::str... | [
"judahtrembe@gmail.com"
] | judahtrembe@gmail.com |
2622e8d2ec78494866b39a51e322ae414a50e775 | f37473ebcd9f96dc5e7c53baf19646d453a77c6e | /nmcs-iter-level-2.cpp | fc7690e1fd17fcd17add2d8dbfa3353c77bf08ff | [] | no_license | jamek1990/MCTS | 4139440c244ea97562c147375038c9d3964ec41c | 4787cc3db983c47f84e3cc20ecb315ef7856216e | refs/heads/master | 2023-06-09T14:29:45.742766 | 2023-05-31T11:06:43 | 2023-05-31T11:06:43 | 7,212,891 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,718 | cpp | #include<iostream>
#include<vector>
#include<algorithm>
#include <cstdio>
#include <sstream>
#include <iostream>
#include <fstream>
#include <math.h>
#include <time.h>
//#include <gsl/gsl_math.h>
//#include <gsl/gsl_rng.h>
//#include <gsl/gsl_randist.h>
//#include "generator.h"
using namespace std;
//generator g;
//
... | [
"kjamroz@o2.pl"
] | kjamroz@o2.pl |
957cf4fa08391eb33ecc57ef63b0dd8f11637a8b | 2c4c827f38412e6d01f0b2c7ead80371e793ac2c | /agui/root.cc | 879c74b6e1fb7b3a5f4ab381aece79482c4d904a | [
"BSD-3-Clause"
] | permissive | chuxuewen/Avocado | 1df0fb4af165638fae3113026bc5fa94dfc4cefd | 8ab3614f690c4ca62d360bdbd32fcf65af204327 | refs/heads/master | 2020-12-02T10:08:34.379994 | 2017-07-09T15:01:54 | 2017-07-09T15:01:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,063 | cc | /* ***** BEGIN LICENSE BLOCK *****
* Distributed under the BSD license:
*
* Copyright (c) 2015, louis.chu
* 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... | [
"chuxuewen@gochinatv.com"
] | chuxuewen@gochinatv.com |
8d445b165f960ce8ea81440b7e5c24a0c81c1403 | 104f4cef1fc9ee73e04e7c1100897f720fb57011 | /graphs/wfs.tpp | 957b00322da7637a2a6693ffaa354f3ee5e880ed | [] | no_license | Demiurg-in-real/algorithms | a2c9aaa90e717d6a03a222d2be96d65489e6fa27 | 9ca1f8f9c623a541d2d9834734c03b163e11ca86 | refs/heads/master | 2021-02-10T08:02:11.616838 | 2020-10-02T13:09:55 | 2020-10-02T13:09:55 | 244,363,834 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 422 | tpp | void WFS::wfs(size_t start){
std::stack<std::pair<bool,std::vector<int>>> que;
que.push(gr[start]);
std::pair<bool, std::vector<int>> x;
while(!que.empty()){
x = que.top();
que.pop();
for(size_t i = 0; i<gr.size();i++) {
if(x == gr[i]){
visited.push_back(i);
gr[i].first = true;
break;
}
}
... | [
"bezginandrew@gmail.com"
] | bezginandrew@gmail.com |
2185b6f86b88809282b9a98d672a36e0ae02de4d | 92365dad5ab950192e086d2dec3da4f9123a2a90 | /leetcode/213. House Robber II/solution.cpp | adee57c808bc7e10435b9e4378db27f93367ddc0 | [] | no_license | roachsinai/Coding_Interviews | e2fec89c57e53fdccb55d103486685cc0d5a4a21 | bf39ee91f6b7b241067a7be79bf0023000d8c7a7 | refs/heads/master | 2020-12-26T16:48:24.749461 | 2019-01-12T09:07:39 | 2019-01-12T09:18:59 | 63,310,037 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,288 | cpp | // 暴力法,就是循环所有可能得到最大的解
// 实际上在环中的房子,两个相邻的房子在最优解中最后有三种状态:前一个被偷,后一个被偷,两个都没有被偷。
// 这样的话,假如第i个房子不偷,那么i+1个房子可偷可不偷,这就和第一道题一样了。同样,在另第i+1个房子不偷,最优解肯定在这两个结果中。
#include <algorithm>
class Solution {
public:
int rob(vector<int>& nums) {
if (nums.size() == 0)
return 0;
else if (nums.size() == 1)
... | [
"roachsinai@qq.com"
] | roachsinai@qq.com |
16ae9ad54657fd63f0c2b76f4195d06195aaee0b | d80450ee8f8a90000947ed84c079988b47b1d2d6 | /src/ZkGame/Entities/PlayerEntity.cpp | 44014171a8c1e92d8a5480bb6908e2dc4acf5c4d | [] | no_license | Tommalla/zoldak | bc7b839cda2be829ad64e9258c10ff00576534cc | 0db9b54232b60a0adea13659813d9050ff8dd11d | refs/heads/master | 2021-01-18T12:33:13.786972 | 2015-03-12T13:43:05 | 2015-03-12T13:43:05 | 27,772,651 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,796 | cpp | #include <SFML/Graphics.hpp>
#include <SFML/Window.hpp>
#include <Box2D/Box2D.h>
#include <cmath>
#include <algorithm>
#include <memory>
#include <utility>
#include <QtCore>
#include <QDebug>
#include "../../ZkCommon/Constants.hpp"
#include "../../ZkCommon/LibraryCast.hpp"
#include "PlayerEntity.hpp"
#include "Med... | [
"piodul@op.pl"
] | piodul@op.pl |
916451cbe925c9908991bcc76789f01a1ed3fab0 | d396697011aa127c517372383bb56675ef6b4318 | /practiceCode/practiceCode/B746.cpp | bffe08869d687432b10756b6c25e879b6b9c274e | [] | no_license | Quach2502/hello-world | f7afa3edff1bfb5db5eb5dd66474f4ad5000f22b | 9932368ac24e907b138d3f5e744a28dfc5874bd3 | refs/heads/master | 2021-01-09T20:47:02.399667 | 2017-08-30T07:42:26 | 2017-08-30T07:42:26 | 63,652,315 | 0 | 0 | null | 2016-07-19T02:21:41 | 2016-07-19T02:17:30 | null | UTF-8 | C++ | false | false | 671 | cpp | //#include <iostream>
//#include <set>
//#include <vector>
//#include <algorithm>
//#include <string>
//#include <unordered_map>
//#include <unordered_set>
//typedef long long ll;
//void main()
//{
// std::ios::sync_with_stdio(false);
// std::unordered_map<std::string, std::string> dict;
// int n(0);std::cin>>n;
// std... | [
"quachdung2502@gmail.com"
] | quachdung2502@gmail.com |
68bdea7beea268d39ebd073b7615ab17ddf1992c | 20a277e4e8a4ad949c97e3e4cc6b7ef11cf5ae0b | /Recursion/Backtracking/nqueen.cpp | 38c16c363b0998b818e76c498e4a2940b6148128 | [] | no_license | Neilketchum/Compedetive-Programing | da265ffc218f63b87bd67160512c8f342f506702 | bd007eed7c1ae9e5b2dfe809ce9349b9d04ae7f5 | refs/heads/master | 2022-11-24T19:03:51.548401 | 2020-07-31T11:28:54 | 2020-07-31T11:28:54 | 269,554,949 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,731 | cpp | #include <bits/stdc++.h>
using namespace std;
bool isSafe(int board[10][10],int i,int j,int n){
//Checking for Col
for(int row = 0;row < i;row++){
if(board[row][j] == 1){
return false;
}
}
// Checking for Left Diagonal
int x = i;
int y = j;
while(x>=0... | [
"daipayanh@gmail.com"
] | daipayanh@gmail.com |
8866173af449f9fe4f901e3c80b70492be8f6524 | 8ceb5757987e2e19ef9d6fae54a8f2babebe1976 | /05/A.cpp | 82af870f48a2b79406b21456fd8ac34d72befd88 | [] | no_license | salavay/algorithms_labs | 2dd361811212fb729c4aa9cd8dd6ca91d14eeaf1 | 5a39da854ef0c5942be35d92d1dfa15ab229a3c9 | refs/heads/master | 2023-03-30T19:03:33.489973 | 2021-03-30T14:13:39 | 2021-03-30T14:13:39 | 353,020,901 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,098 | cpp | #include <bits/stdc++.h>
using namespace std;
struct vertex {
int value;
int height = 1;
vertex *left = nullptr;
vertex *right = nullptr;
vertex(int value) {
this->value = value;
}
};
class AVL_tree {
private:
vertex *root;
int getHeight(vertex *a) {
if (a != nullptr) {
return a->heigh... | [
"salavat2002@gmail.com"
] | salavat2002@gmail.com |
85940cd4bcd3dfe2e94cface5de77fea8b09e0b6 | 3e578d170d93f7492e9c6659c5066542addc1113 | /TestNetworks/TimingTest2/TimingTest2.cpp | d5abdc35e3cf9b0262eee82f1fb03458848b6b9c | [
"Artistic-2.0"
] | permissive | caomw/cppfbp | ffb20f0e6c5171e91341e3250273636f31929f82 | f1a20ea29b7d00f0e74d36c86234f8ea2d4efbea | refs/heads/master | 2021-01-18T01:05:24.085942 | 2014-09-29T15:30:56 | 2014-09-29T15:30:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,977 | cpp | // TimingTest2.cpp : Defines the entry point for the console application.
#include "thxdef.h"
#include <stdio.h>
#define _CRTDBG_MAP_ALLOC
#include <stdlib.h>
#include <crtdbg.h>
/* This is not the THREADS internal structure - this
is a structured representation of the free-form connection list
Using fibres...
Th... | [
"jpaulmorr@gmail.com"
] | jpaulmorr@gmail.com |
d4fa5ad4824f12739b8fcd5192179e4034b5bce2 | ae526c5669bda2992fb550e8b655203f2911f3af | /examples/example-cpp-app/cocos2d/extensions/Particle3D/PU/CCPUOnVelocityObserver.cpp | 92d370028c2e38d2e12b79a1b93874adeee961d0 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | bugsnag/bugsnag-cocos2dx | 681e5237031c49acc7f0261ab012a718cccb5ea4 | 2bf8fb015a939aba5cfde6851e94bdd844e3f8a0 | refs/heads/next | 2022-09-14T16:59:57.085853 | 2022-09-14T12:22:28 | 2022-09-14T12:22:28 | 223,420,560 | 1 | 2 | MIT | 2022-09-14T12:22:30 | 2019-11-22T14:28:55 | C++ | UTF-8 | C++ | false | false | 3,253 | cpp | /****************************************************************************
Copyright (C) 2013 Henry van Merode. All rights reserved.
Copyright (c) 2015-2016 Chukong Technologies Inc.
Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge,... | [
"iskanamagus@gmail.com"
] | iskanamagus@gmail.com |
0f00d1481a413a9acab77ff6ca5a4b7b3dc09452 | 8b8bcfc5f7e1d82f80349972e1948358f54fd3a0 | /SampleCode/misc.h | 2dff758c231299fecfbeaf356b19e898a724fc60 | [] | no_license | sharperM/mspCode | 0387138d20b4a94e50c1cb672fc857938f4d7d29 | 186d7d0e41b357214adcbfcd4cba3c857ffcf40a | refs/heads/master | 2021-01-17T13:13:49.244420 | 2016-06-07T09:58:43 | 2016-06-07T09:58:43 | 16,302,156 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 345 | h | #pragma once
#include <windows.h>
#include <objidl.h>
#include <gdiplus.h>
#include <atldef.h>
#include <atlconv.h>
#include <atlalloc.h>
using namespace Gdiplus;
class GDIplusLib
{
private:
GdiplusStartupInput gdiplusStartupInput;
ULONG_PTR gdiplusToken;
GDIplusLib();
public:
~GDIplusLib();
static GDI... | [
"mshaopei@gmail.com"
] | mshaopei@gmail.com |
890cf631806581b1b2b8ef49a83c09a46d6aaca1 | 00add89b1c9712db1a29a73f34864854a7738686 | /packages/utility/archive/src/Utility_HDF5OArchive.cpp | ff23deecfe1277daca3b4932adf6f3b115652536 | [
"BSD-3-Clause"
] | permissive | FRENSIE/FRENSIE | a4f533faa02e456ec641815886bc530a53f525f9 | 1735b1c8841f23d415a4998743515c56f980f654 | refs/heads/master | 2021-11-19T02:37:26.311426 | 2021-09-08T11:51:24 | 2021-09-08T11:51:24 | 7,826,404 | 11 | 6 | NOASSERTION | 2021-09-08T11:51:25 | 2013-01-25T19:03:09 | C++ | UTF-8 | C++ | false | false | 4,180 | cpp | //---------------------------------------------------------------------------//
//!
//! \file Utility_HDF5OArchive.cpp
//! \author Alex Robinson
//! \brief HDF5 output archive class definition
//!
//---------------------------------------------------------------------------//
// Boost Includes
#include <boost/archi... | [
"aprobinson@wisc.edu"
] | aprobinson@wisc.edu |
0c66448894b5c2fae517e82758c138c9e50a57dc | 2837839d3149152a8b7c2ee8d189473dbb9754f1 | /SceneDebug/SystemMain.h | 7ca12e396a1546d73bf925b21199a54d2f487311 | [] | no_license | takowasaby/SceneDebug | 50e586cfcc1f46eeff41206b051938917d5f687d | 43d85f17d0e15ee4be50e1ce21f919b88d4ecde9 | refs/heads/master | 2020-03-26T17:54:37.901997 | 2018-08-19T10:52:07 | 2018-08-19T10:52:07 | 145,186,753 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 346 | h | #pragma once
#include "SceneChanger.h"
class SystemMain : public SceneChanger
{
public:
SystemMain() = default;
~SystemMain() = default;
bool initialize() const;
void finalize() const;
void main();
void onSceneChanged(const eScene scene, const Parameter& parameter, const bool stackClear) override {};
void onScen... | [
"31348840+takowasaby@users.noreply.github.com"
] | 31348840+takowasaby@users.noreply.github.com |
7059da8a751ad84728d92b5d96f0667534c502d1 | 724c0ee36c0e6262f143d965f2e5f894a31cbb16 | /c,c++/bitwise/2013/41.cpp | 0486051363f6d1108715f4b80317cdf0cf358546 | [] | no_license | amit-mittal/Programming-Questions-Practice | bf5fe47ba1b074960ad33eb2e525baaf99a85336 | 899995ff49cdf1ef77cc9327feb2fbed7b5c94fe | refs/heads/master | 2021-09-04T15:27:52.569111 | 2018-01-19T21:03:31 | 2018-01-19T21:03:31 | 117,618,138 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,596 | cpp | #include<iostream>
#include<stdio.h>
#include<vector>
using namespace std;
vector<long long int[4][4]> pre;
#define MOD 1000000007
void multiply(long long int a[][4],long long int b[][4]){
long long int c[4][4]={0},i,j,k;
for(i=0;i<4;++i){
for(j=0;j<4;++j){
for(k=0;k<4;++k){
a[i][k]%=MOD;
b[k][j]%=M... | [
"Administrator@Amit-Laptop.fareast.corp.microsoft.com"
] | Administrator@Amit-Laptop.fareast.corp.microsoft.com |
fc11a9809d44370be0e4892ea065ca97e9159ba2 | 73a8f3c9c640af08acbefe657bff62e3d1751fc2 | /Dependencies/Qt-5.4.1/include/QtXmlPatterns/5.4.1/QtXmlPatterns/private/qbuiltinnodetype_tpl_p.h | 008b32588ef6b06be47251579a6e855c363d216f | [] | no_license | knight666/pitstop | 8d5ad076a71055803df1601e1df1640430ad56ca | 4e541d90507f38f36274e50b0d702a284d648e27 | refs/heads/master | 2020-07-10T00:51:28.141786 | 2019-08-24T20:08:02 | 2019-08-24T20:08:02 | 204,123,196 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,805 | h | /****************************************************************************
**
** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the QtXmlPatterns module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License U... | [
"knight666+github@gmail.com"
] | knight666+github@gmail.com |
7926a4a9e268a766b05cbf1a991e01355a5fd4f9 | cb1909b06c3dac07d2ab9569f47dd287364a67d0 | /src/core/ffStream.hpp | ea947ab87fe36189ec844f0cd02f67be99a69e49 | [] | no_license | zhangguof/mkrkr | 34c3215ac05fcfbdf823b48df4d5dd8c814f5e54 | b99bb4b757309f64dbbcbcc9bd04c9c7939dfa6c | refs/heads/master | 2021-06-22T18:27:54.900399 | 2020-12-21T14:42:57 | 2020-12-21T14:42:57 | 175,441,180 | 6 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 13,032 | hpp | #ifndef _FF_STREAM_H_
#define _FF_STREAM_H_
#include <string>
#include "SDL.h"
#include <string>
#include "safeQueue.hpp"
#include <string.h>
#ifdef __cplusplus
extern "C" {
#endif
#include "libavcodec/avcodec.h"
#include "libavformat/avformat.h"
#include "libswresample/swresample.h"
#include "libavutil/opt.h"
#incl... | [
"zhangguof@gmail.com"
] | zhangguof@gmail.com |
c1b053fe91f13b414f8434b784a059c8b29f4a94 | 3b1489bdd63cd53770a066e6f90a13ef3286bfe7 | /include/cinder/vr/openvr/Controller.h | fbff03a9b24621ad12d2a3c96bcb5e3dbced02cc | [] | no_license | seph14/Cinder-VR | cc996f6b470e851d2c80370d0acefc9ecafbaa1a | 511d3c9422ff8012d3ee4d0dccb3ecbdfab07464 | refs/heads/master | 2021-01-12T19:44:17.842838 | 2017-02-16T20:02:59 | 2017-02-16T20:02:59 | 64,486,455 | 1 | 0 | null | 2016-07-29T14:22:05 | 2016-07-29T14:22:03 | null | UTF-8 | C++ | false | false | 4,516 | h | /*
Copyright 2016 Google Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, softwar... | [
"s@solid-jellyfish.com"
] | s@solid-jellyfish.com |
d0ef658dc125df1f5e74716b1e6edfa6628ac39e | b1b734ab75a6fe114733d3c0b8ca5046d54b407d | /third_party/ComputeLibrary/src/runtime/CL/functions/CLFullyConnectedLayer.cpp | 68c6576a7951b853c8714cc6f0140a73d455c226 | [
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla",
"BSD-2-Clause",
"Apache-2.0",
"MIT"
] | permissive | waybarrios/video_nonlocal_net_caffe2 | 754fea2b96318d677144f16faadf59cb6b00189b | b19c2ac3ddc1836d90d7d0fccb60d710c017253e | refs/heads/master | 2020-04-20T03:15:12.286080 | 2019-01-31T20:44:01 | 2019-01-31T20:44:01 | 168,593,110 | 0 | 0 | Apache-2.0 | 2019-01-31T20:40:40 | 2019-01-31T20:40:39 | null | UTF-8 | C++ | false | false | 15,575 | cpp | /*
* Copyright (c) 2017 ARM Limited.
*
* SPDX-License-Identifier: MIT
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* deal in the Software without restriction, including without limitation the
* rights ... | [
"gemfield@civilnet.cn"
] | gemfield@civilnet.cn |
8f3713fd690223c15a71a5fb8c4c2590998d7e66 | d3483de380893ec9982df64cb70e4c0b2096591b | /PerformDecomp/src/RootInterface/ScanGrabber.cpp | d6e0d2ca88a41aab190754c87b82221a07131400 | [] | no_license | jmatta1/SourceDecomposition | 9bd4830ab6c270ddf272ff7fb19b48ff060b0f45 | 76108385084fad4dccdbefa24e444552d044f22c | refs/heads/master | 2021-01-01T18:25:16.086506 | 2017-09-08T15:05:57 | 2017-09-08T15:05:57 | 98,332,218 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,391 | cpp | #include"ScanGrabber.h"
#include<sstream>
#include<TFile.h>
#include<TH1.h>
namespace ScanInternal
{
static const int DetNums[105] =
{
8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 1... | [
"jamesmatta@gmail.com"
] | jamesmatta@gmail.com |
b2c12a0123501a0bee669035581f2aa68f26dc09 | 82a3e40b75d0cc4250998702c2bff873590d92db | /src/data/criterion.h | caec74b8e2752a608994916d2ae8abaa901c7828 | [] | no_license | PavelAmialiushka/Aera.demo | 12c7981d0883e8b832c2f3e72fee14234cdeb3b0 | 4beeb315a99da6f90a87ba0bb5b3dffa6c52bd2d | refs/heads/master | 2021-10-11T14:41:00.180456 | 2019-01-27T13:38:21 | 2019-01-27T13:38:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,927 | h | //////////////////////////////////////////////////////////////////////////
//
// data library
//
// Written by Pavel Amialiushka
// No commercial use permited.
//
//////////////////////////////////////////////////////////////////////////
#pragma once
#include "data_fwrd.h"
#include "stage.h"
#include "utilites/serl/A... | [
"Amialiushka@gmail.com"
] | Amialiushka@gmail.com |
2bd4af011a091e2c6be03fab426f655bbdd9574c | 7f69fb7f33bd449cb305305a898e2827b3f8d6ba | /MoviesProject/movie.cpp | 76e451aa11f07a3ad39071d01e19db0afd2cc2e3 | [] | no_license | simonpals/Hash_table_movies | dc9be9f6d9bb4ee48a75989ae52bb1fe9bae4565 | 8d0dc187cc7e1391b3955967b59ab0d7f1f69510 | refs/heads/master | 2022-11-29T00:44:29.902997 | 2020-08-11T20:37:08 | 2020-08-11T20:37:08 | 286,842,874 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,456 | cpp | #include "movie.h"
Movie::Movie()
: Movie("","","",0)
{
}
Movie::Movie(std::string title, std::string leadActorActress, std::string description, int yearReleased)
{
next = nullptr;
prev = nullptr;
this->title = title;
this->leadActorActress = leadActorActress;
this->description = description;... | [
"semenyshyn@nltu.edu.ua"
] | semenyshyn@nltu.edu.ua |
fb049d120d89e9208602f24ab2fac009496161c4 | d0c44dd3da2ef8c0ff835982a437946cbf4d2940 | /cmake-build-debug/programs_tiling/function14468/function14468_schedule_18/function14468_schedule_18.cpp | 171426636ae3fcf4fd513811e824a20a3b2a4c88 | [] | no_license | IsraMekki/tiramisu_code_generator | 8b3f1d63cff62ba9f5242c019058d5a3119184a3 | 5a259d8e244af452e5301126683fa4320c2047a3 | refs/heads/master | 2020-04-29T17:27:57.987172 | 2019-04-23T16:50:32 | 2019-04-23T16:50:32 | 176,297,755 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,493 | cpp | #include <tiramisu/tiramisu.h>
using namespace tiramisu;
int main(int argc, char **argv){
tiramisu::init("function14468_schedule_18");
constant c0("c0", 8192), c1("c1", 128), c2("c2", 64);
var i0("i0", 0, c0), i1("i1", 0, c1), i2("i2", 0, c2), i01("i01"), i02("i02"), i03("i03"), i04("i04"), i05("i05"), ... | [
"ei_mekki@esi.dz"
] | ei_mekki@esi.dz |
58f9ad1ab90143f8c10f1cbb480c509e239dc390 | a6d6768f0cb3cf60ead4861f3d0956542647e2be | /src/include/ontologyRecord.h | 1e294ab5a5c03b54d21571510dd1ed4c57af283b | [] | no_license | mclumd/MCL | d8707e7b85476a6f926757980b1f7313915cbe60 | 90c6a70187ab13e8ba664038eb2205f9667f8607 | refs/heads/master | 2020-04-12T05:46:15.173170 | 2014-02-06T23:35:57 | 2014-02-06T23:35:57 | 16,597,476 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,052 | h | #include "mclEntity.h"
#include <map>
using namespace std;
namespace metacog {
class mclFrame;
class ontologyRecord : public frameComponent {
public:
ontologyRecord(mclFrame* the_frame);
virtual ~ontologyRecord() {};
virtual string toString();
virtual vector<string> nodeNames()=0;
virtua... | [
"e.hand@live.com"
] | e.hand@live.com |
e3fcdf1679734d54a728a0c5b6496f687836474d | 2147d0d957b3189d0a87fd31d84812556bb379f5 | /vlib/ssci/bio/bioseqalignQrySub.cpp | 14de9f9d9487604774a443a30f864423689b7cac | [] | no_license | kkaragiannis/DVG-profiler | 74d894f44c4f6e752e943ff2b0f4e2aaa473300c | a35e65ef255ab3dc90da1e1087d5c4a7a9b41e0a | refs/heads/master | 2020-04-11T08:53:07.643424 | 2018-12-14T01:26:04 | 2018-12-14T01:26:04 | 161,658,993 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 26,608 | cpp | /*
* ::718604!
*
* Copyright(C) November 20, 2014 U.S. Food and Drug Administration
* Authors: Dr. Vahan Simonyan (1), Dr. Raja Mazumder (2), et al
* Affiliation: Food and Drug Administration (1), George Washington University (2)
*
* All rights Reserved.
*
* The MIT License (MIT)
*
* Permission is hereb... | [
"anton.golikow@gmail.com"
] | anton.golikow@gmail.com |
4aa941cb152ebe759e21c7352cfb713bf135d6d1 | 565c1b6ca0c24ef10397b8d8a96ecac378e58a9c | /ftag/semaphore.hpp | e38b7d1dc1906d4a49c9192fae17184d8eaa4181 | [
"BSD-2-Clause"
] | permissive | faljse/ftag | 419cc588e3bd17f9b06295b1cb8d46d619256202 | 499bb92acaa55aa0409b3a10d7d8be0ce9e845a1 | refs/heads/master | 2020-04-22T04:59:40.765894 | 2019-02-19T13:31:47 | 2019-02-19T13:31:47 | 170,143,552 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 755 | hpp |
class Semaphore
{
private:
std::mutex mutex_;
std::condition_variable condition_;
unsigned long count_ = 0; // Initialized as locked.
public:
Semaphore() {
}
Semaphore(int count) {
count_ = count;
}
void notify() {
std::unique_lock<decltype(mutex_)> lock(mutex_... | [
"user@localhost.localdomain"
] | user@localhost.localdomain |
629d8fda0c842731724fc0ef9a5f7d9f08a515d4 | 7b5d5a9c61a74a35af817c8a513062bd56987235 | /Placement Preparation-II/DP/permutation_coefficient.cpp | 60c7d22035ed16355378ad86e50abc4ed2c18f93 | [] | no_license | amanr11314/PLACEMENT-PREPARATION | f3d5b9b1daa6a56e58f3dffb8d1d0f45c4be258b | f854dda0718dc5dd56328412226f112df92fd514 | refs/heads/master | 2023-06-24T16:23:16.021832 | 2021-07-30T05:07:44 | 2021-07-30T05:07:44 | 271,448,245 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 921 | cpp | //To efficiently compute nPr:-
/**
* nPr is calculated by using relation :--
* nPr = (n-1)P(r) + r * (n-1)P(r-1)
* _______________________________________
* Another best approach is to notice that:--
* P(10,2) = 10 * 9
* P(10,3) = 10 * 9 * 8
* i..e P(n,r) = n * (n-1) ..*(n-r+1)
* */
#include<bits/stdc++.h>
us... | [
"amanr11314@gmail.com"
] | amanr11314@gmail.com |
d03ab7e2f4eb45e5f0668bace12410dbefd9d04c | 28ebd798251e6bc38d04706d702f803ebe1c61bd | /classical/GRIDSUM1.cpp | ce4084f0c9a789322e8d328f3913976018441388 | [] | no_license | Sidhbtu/spoj-solution | 484bae87e7f6c20275795deb66c5b35dc8c301e4 | 6461a47357ad014f12abcf229e9e31f0334afca8 | refs/heads/master | 2022-02-08T21:54:57.478153 | 2019-08-13T22:22:35 | 2019-08-13T22:22:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,552 | cpp | // GRIDSUM1 - 2x2 Subgrid Sum Problem (medium)
// http://www.spoj.com/problems/GRIDSUM1/
#include <vector>
#include <string>
#include <algorithm>
#include <iostream>
#include <functional>
#include <iomanip>
#include <cstdio>
#include <queue>
#include <cstring>
#include <cstdlib>
#include <cassert>
#include <stdio.h>
#... | [
"boy19ykienandon@yahoo.com.vn"
] | boy19ykienandon@yahoo.com.vn |
72b7dcce4dcf37542a206bcc849c9ff35689d016 | 26458cd5a4aa8db6bfb42de54f5027e5a5e2d214 | /Script/JavaScript/SpiderMonkey/src/Array.cpp | 78fa71455fc344eaa3f54a040ae0f8ab17a21ae8 | [] | no_license | oscommonjs/sandbox | 184be2c648cb077e8cad2556ed615db7ae50d643 | 798c5f5258cb0e8cae02386e050b289a74acd272 | refs/heads/master | 2021-01-25T11:44:10.403338 | 2013-03-24T15:21:21 | 2013-03-24T15:21:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,480 | cpp | //
// Array.cpp
//
// $Id$
//
// Library: JavaScript
// Package: SpiderMonkey
// Module: Array
//
// Implementation of Array
//
// Copyright (c) 2006, Applied Informatics Software Engineering GmbH.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are per... | [
"fbraem@users.sourceforge.net"
] | fbraem@users.sourceforge.net |
b9293397b900f53142b5e3e2fe3eb7aa7b1fda5e | 753244933fc4465b0047821aea81c311738e1732 | /core/target/cpp-Os/ts26/include/TS26.h | 4dfe6356884397822f8b3ba4fd09ab1be6a2b06c | [
"MIT"
] | permissive | mboussaa/HXvariability | abfaba5452fecb1b83bc595dc3ed942a126510b8 | ea32b15347766b6e414569b19cbc113d344a56d9 | refs/heads/master | 2021-01-01T17:45:54.656971 | 2017-07-26T01:27:49 | 2017-07-26T01:27:49 | 98,127,672 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 1,183 | h | // Generated by Haxe 3.3.0
#ifndef INCLUDED_TS26
#define INCLUDED_TS26
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS0(TS26)
HX_DECLARE_CLASS1(utest,Runner)
class HXCPP_CLASS_ATTRIBUTES TS26_obj : public hx::Object
{
public:
typedef hx::Object super;
typedef TS26_obj OBJ_;
TS26_obj();
public:
... | [
"mohamed.boussaa@inria.fr"
] | mohamed.boussaa@inria.fr |
7e346d733a4aaaae643f75dfc1c15203813a85aa | 993cb140cd01fd70ae7338b9f16d59f1b1362bea | /1146.cpp | c990fb75dba0a20c06bab963ca13023b7bc62c7a | [] | no_license | blowing-wind/pat_advanced | 6d52638641c87cefc42936e59af603ec953554fc | 1f920e5ccfab7c8bbbe3803be43413cf1c302892 | refs/heads/master | 2021-06-23T04:23:22.816100 | 2019-07-04T08:12:43 | 2019-07-04T08:12:43 | 143,998,786 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 739 | cpp | #include <iostream>
#include <vector>
using namespace std;
vector<vector<int>> G;
bool judge(vector<int> inDegree);
int main()
{
int N, M, K;
cin >> N >> M;
G.resize(N + 1);
vector<int> inDegree(N + 1, 0);
int i, v, w;
for (i = 0; i < M; i++)
{
cin >> v >> w;
G[v].push_back(w);
inDegree[w]++;
}
cin >> ... | [
"lxc1019no1207@gmail.com"
] | lxc1019no1207@gmail.com |
93fbca78db7c28e2e6cf23c71a412fd6360aaafa | b3bdb9503391e82b95c120d841e7aeba4b162206 | /ch4/4.10.cpp | eac3bb763ff9fbd72d5225df09d846c332a311ca | [] | no_license | winterfell30/Cpp-Concurrency-in-Action | 33814fb627903cd19d4b4f1b47061b308895f764 | 192d734bf0ce6510c532906eecff6f3833b7a513 | refs/heads/master | 2021-01-18T17:55:18.474163 | 2018-11-17T05:12:36 | 2018-11-17T05:12:36 | 86,824,537 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 790 | cpp | #include <future>
void process_connection(connection_set& connections)
{
while (!done(connections))
{
for (connection_iterator connection = connections.begin(), end = connections.end();
connection != end; ++connection)
{
if (connection->has_incoming_data())
... | [
"m17862917336@163.com"
] | m17862917336@163.com |
22de9885946c52c508cc4dca09499e69fb3350a4 | da94b9bd63a9eb355e41385521c7ba43b3c43cf9 | /src/Mesh/CNodeElementConnectivity.hpp | fb3109cc091bf13fec10415a900133ac8f7493e8 | [] | no_license | zhanggjun/coolfluid3 | 9630cc4c4e6176d818ad20c9835ba053ce7c7175 | 04a180e1f8fdc20018dd297c00a273462e686d03 | refs/heads/master | 2023-03-26T02:54:11.595910 | 2011-08-09T07:52:37 | 2011-08-09T07:52:37 | 526,964,683 | 1 | 0 | null | 2022-08-20T15:25:58 | 2022-08-20T15:25:57 | null | UTF-8 | C++ | false | false | 2,847 | hpp | // Copyright (C) 2010 von Karman Institute for Fluid Dynamics, Belgium
//
// This software is distributed under the terms of the
// GNU Lesser General Public License version 3 (LGPLv3).
// See doc/lgpl.txt and doc/gpl.txt for the license text.
#ifndef CF_Mesh_CNodeElementConnectivity_hpp
#define CF_Mesh_CNodeElementCo... | [
"ir.willem.deconinck@gmail.com"
] | ir.willem.deconinck@gmail.com |
3b25797829b4aec345c9abac309bba34916042a9 | fa63c487c5b5682b2e085fb720a8cb62192079a1 | /Source/Urho3D/UI/Window.cpp | 8006849441f058d4bed1f5b7df712d9bd4e648a2 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | Geniok/Dviglo | cdc9d497b75ab7595b1224efc8526367ae8565ea | e2ddbf90377e6734570ea83b24385fd535cfa126 | refs/heads/master | 2023-05-06T20:22:52.971847 | 2021-05-29T10:33:24 | 2021-05-29T10:33:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,041 | cpp | // Copyright (c) 2008-2021 the Urho3D project
// Copyright (c) 2021 проект Dviglo
// Лицензия: MIT
#include "../Precompiled.h"
#include "../Core/Context.h"
#include "../Input/InputEvents.h"
#include "../UI/Cursor.h"
#include "../UI/UI.h"
#include "../UI/UIEvents.h"
#include "../UI/Window.h"
#include "../DebugNew.h"
... | [
"1vanK@users.noreply.github.com"
] | 1vanK@users.noreply.github.com |
e013905a3372ca035293fa461842151c96bc8cda | a503c2c354569db02294f936f799b727326ad9ed | /src/dialect/krnl/krnl_types.cpp | 48ac166e33be80e8456171b7ad2ba9b47310d60d | [
"Apache-2.0"
] | permissive | tungld/ONNF | dd0be81887f1d3ead437267a32c9d8fe00fac8ae | 937bbec2655fcc6fae69bb6e07ff8f5843b9d219 | refs/heads/master | 2020-12-01T11:31:17.607259 | 2020-02-13T05:50:05 | 2020-02-13T05:50:05 | 230,617,547 | 0 | 0 | Apache-2.0 | 2019-12-28T14:02:51 | 2019-12-28T14:02:50 | null | UTF-8 | C++ | false | false | 323 | cpp | //===--------------------- krnl_types.cpp - MLIR Operations ---------------===//
//
// Copyright 2019 The IBM Research Authors.
//
// =============================================================================
//
//===----------------------------------------------------------------------===//
#include "krnl_types.hp... | [
"gheorghe-teod.bercea@ibm.com"
] | gheorghe-teod.bercea@ibm.com |
4bde56e2311e5b38db62066d951ed3d65c6bb8d4 | 7b9b73f430e422e6420fba5534afcee7b1eb044c | /leetcode/260.single-number-iii.cpp | 967d19e56564444c936f03b42ecc265f0c95c8f2 | [] | no_license | imsong52/Q.solution | 5a5b26f0be8a0b49acd9932378b228792a775e4a | 47b732e28c61ba242c96db245f49eb0c8498ebf6 | refs/heads/master | 2020-04-30T14:18:57.482616 | 2018-10-28T02:14:09 | 2018-10-28T02:14:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,174 | cpp | /*
* [260] Single Number III
*
* https://leetcode.com/problems/single-number-iii
*
* Medium (49.93%)
* Total Accepted: 60357
* Total Submissions: 120846
* Testcase Example: '[1,2,1,3,2,5]'
*
*
* Given an array of numbers nums, in which exactly two elements appear only
* once and all the other elements ... | [
"skygragon@gmail.com"
] | skygragon@gmail.com |
dee987f4bae19b9dc592e45c081565659e68d8f5 | dca7c72b1e992a7ac8a9f2123185c3da1147a270 | /atcoder.jp/abc099/abc099_c/Main.cpp | 7bc069b955cf1286804fca9b25847b8592574cfc | [] | no_license | eTakazawa/procon-archive | 4182d3d65016414c124bd03d352c1363b3fe7e70 | 15ef2e892ed3bdbd86641ad88a9ccf64156b9cdb | refs/heads/master | 2021-04-21T04:36:13.418633 | 2020-08-31T14:18:28 | 2020-08-31T14:18:28 | 249,749,882 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 930 | cpp | #include <bits/stdc++.h>
using namespace std;
int main(void) {
int N;
cin >> N;
int a = 9;
vector<int> dr;
dr.push_back(1);
for (int i = 1;; i++) {
dr.push_back(a);
a *= 9;
if (a > N) break;
}
a = 6;
for (int i = 1;; i++) {
dr.push_back(a);
a *= 6;
if (a > N) break;
}
so... | [
"takazawa621@gmail.com"
] | takazawa621@gmail.com |
87e885f35208455813b5038eb7f0dd70f98dd392 | 304ce70f24d1f5a2809d0313506595353be31f1b | /test/source/contadapt/bitset1.cpp | 297d11ee347333507fecd52572d287e760b312a1 | [
"Unlicense"
] | permissive | kensou24/CppStandardV2 | a401837c6d81277a0da149b22ba30adc7cd19952 | 3d801e93e76f765ba3ae579af8e4c8beb87fab94 | refs/heads/master | 2023-03-11T03:20:41.629340 | 2021-02-22T00:49:38 | 2021-02-22T00:49:38 | 325,675,752 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,439 | cpp | /* The following code example is taken from the book
* "The C++ Standard Library - A Tutorial and Reference, 2nd Edition"
* by Nicolai M. Josuttis, Addison-Wesley, 2012
*
* (C) Copyright Nicolai M. Josuttis 2012.
* Permission to copy, use, modify, sell and distribute this software
* is granted provided this copyr... | [
"kensou.24@hotmail.com"
] | kensou.24@hotmail.com |
5c93e612a695914c5977ba91b3f43a4a5dbf799d | ae749189ba676971203c9f1dfbbb5cc0f9415b18 | /Algorithm/e-olymp/0482_plutka_100.cpp | 9f4075719d2e5e6c01c51e00ed69a053b396e9e9 | [] | no_license | sergiiGitHub/Demo | 55c7db8d949170b30fad0a1e159ff4304f2a0f9d | 52f2df67c1f3a1fedd009c216de9d461cb5d086c | refs/heads/master | 2021-11-26T14:57:30.384503 | 2021-11-24T11:10:59 | 2021-11-24T11:10:59 | 36,115,459 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,307 | cpp | #include <stdio.h>
#include <iostream>
using namespace std;
#define M 3
#define N 31
#define SIZE_TABLE 1 << M
int calcTabel[SIZE_TABLE][SIZE_TABLE];
void makeCanTable(){
int size = SIZE_TABLE;
for ( int y = 0, x = size-1; y < size; ++y ){
calcTabel[ y ][ x - y ] = true;
}
calcTabel[ 1 ][ ... | [
"m.sergiigithub@gmail.com"
] | m.sergiigithub@gmail.com |
093ee489fd00369e65bd01307f325ab14061c8ee | 3f41a239bb54723cd446a1ade0bf618bf56fc57a | /src/qt/splashscreen.cpp | 210532e39ede5da869add3bfc5317d6800ec3bed | [
"MIT"
] | permissive | pixicoin/pixicoin | d022026d55fc0b17510e241c3221ab1d7a8bdaa9 | e6255872395a351cce7c412297dc732d47e69597 | refs/heads/master | 2021-01-16T20:34:09.666825 | 2014-01-10T09:06:15 | 2014-01-10T09:06:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,853 | cpp | #include "splashscreen.h"
#include "clientversion.h"
#include "util.h"
#include <QPainter>
#undef loop /* ugh, remove this when the #define loop is gone from util.h */
#include <QApplication>
SplashScreen::SplashScreen(const QPixmap &pixmap, Qt::WindowFlags f) :
QSplashScreen(pixmap, f)
{
// set reference poi... | [
"pixicoin@gmail.com"
] | pixicoin@gmail.com |
5c5a1b710f96a28a03de4917ec9272746dc825d3 | 27767fec931b598954cc354dd4a4bf604c50eab1 | /Inference/shuffleUnit.h | 1e1737cd6d8f8bebb8827d6d4088470de1b02c11 | [] | no_license | sysu-eda/Distributed-CNN-Inference | 092701b73c9e3602be768b02736df8bb13c61a22 | a717274a8f0a1426949676dd5741d649b4ab81e7 | refs/heads/main | 2023-03-13T07:38:16.757646 | 2021-02-26T04:11:01 | 2021-02-26T04:11:01 | 314,996,278 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,167 | h | #ifndef _EASY_UNIT_
#define _EASY_UNIT_
#include "opWrapper.h"
namespace opWrapper{
class shuffleUnit
{
public:
shuffleUnit(Tensor * input, Tensor * output, int bn, int in_d, int out_d) //const std::string &base_filename, const std::string &conv_number
{
std::string dp;
branch_number = bn;
... | [
"dujingsu@163.com"
] | dujingsu@163.com |
4087be0d1d2765dabc3b5c63f420a0843227057a | 38c10c01007624cd2056884f25e0d6ab85442194 | /third_party/pdfium/fpdfsdk/src/fpdfdoc.cpp | 8a4d619292aeb322dea564cca36ddc2c36660e2d | [
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | permissive | zenoalbisser/chromium | 6ecf37b6c030c84f1b26282bc4ef95769c62a9b2 | e71f21b9b4b9b839f5093301974a45545dad2691 | refs/heads/master | 2022-12-25T14:23:18.568575 | 2016-07-14T21:49:52 | 2016-07-23T08:02:51 | 63,980,627 | 0 | 2 | BSD-3-Clause | 2022-12-12T12:43:41 | 2016-07-22T20:14:04 | null | UTF-8 | C++ | false | false | 11,672 | cpp | // Copyright 2014 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#include "../../public/fpdf_doc.h"
#include "../include/fsdk_define.h"
namesp... | [
"zeno.albisser@hemispherian.com"
] | zeno.albisser@hemispherian.com |
15cface1b2b803556e97ba451787481105d3c3c2 | e52327e0c890b24349222a5e0e0a5e1ca247c02f | /src/qt/masternodelist.h | 4ed441932c1e44648fd06f943b466a9af4b0277a | [
"MIT"
] | permissive | oryxian/oryxcoin | 33910e64cf188f2005ef2be28785935eee202c3c | bcd9f790f468f87714afe38c0936c176f4d302c3 | refs/heads/master | 2020-04-23T07:12:23.028248 | 2019-02-16T12:22:45 | 2019-02-16T12:22:45 | 140,945,061 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,865 | h | // Copyright (c) 2014-2016 The Dash Developers
// Copyright (c) 2016-2017 The PIVX developers
// Copyright (c) 2017-2018 The Oryxcoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef MASTERNODELIST_H
#define MA... | [
"39878257+oryxian@users.noreply.github.com"
] | 39878257+oryxian@users.noreply.github.com |
d7782efb6a280ab3fcea553a3e1079fbbc74c244 | 5cf5223da2bf49af7f5a8ecde4d1cb31536f5ce7 | /extras/apps/ngs_roi/roi_feature_projection.cpp | c18e857a192fa11eaf8e506e7c43edeb5781441c | [
"BSD-3-Clause"
] | permissive | jwillis0720/seqan | e579f8419cec7f330eb1fe29838c5c098ee57240 | 36b300b8c4c42bbfc03edd3220fa299961d517be | refs/heads/master | 2020-12-02T15:06:46.899846 | 2015-01-10T08:59:05 | 2015-01-10T08:59:05 | 27,658,559 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 40,577 | cpp | // ==========================================================================
// NGS: Regions of Interest Analysis
// ==========================================================================
// Copyright (c) 2012-2013, Bernd Jagla, Institut Pasteur
// All rights reserved.
//
// Redistribution and us... | [
"holtgrew@e6417c60-b987-48fd-844e-b20f0fcc1017"
] | holtgrew@e6417c60-b987-48fd-844e-b20f0fcc1017 |
a1bb65dbbb43c640ddea4080c937b14871145b2a | 56b87dd6e4e2f9142a55c637cda8eb5ea357805f | /src/triggers/SingleTkTauEta.cpp | 553781542e992743dfb11176e1107b56507019c8 | [] | no_license | nsahoo/MenuGeneration | acdaafaa6caf2cdfea85e22f98ac549bffeac5ff | 8859b21722196b8415421f7fcb0ce042379493b2 | refs/heads/master | 2020-06-10T18:10:51.968536 | 2014-08-11T16:21:13 | 2014-08-11T16:21:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,007 | cpp | #include "SingleTkTauEta.h"
#include <stdexcept>
#include "../implementation/RegisterTriggerMacro.h"
#include "l1menu/L1TriggerDPGEvent.h"
#include "UserCode/L1TriggerUpgrade/interface/L1AnalysisDataFormat.h"
namespace l1menu
{
namespace triggers
{
/* The REGISTER_TRIGGER macro will make sure that the given tri... | [
"brianwiner@gmail.com"
] | brianwiner@gmail.com |
4c2f78f8922507ee6940ced6ae6fde88013b607a | 39e38c0be28ce52f8e42d8329efcfcbbe5b24e84 | /ETMX05/2.cpp | b41c8a2cc5554f01cf48093ffdb99a28c8bc0994 | [] | no_license | shailesh1001/CODECHEF | bba2460f3a8ee2f61537fd67c1ed6add22a8e135 | 450a54d3513987691f96c2935b74362a119ab1f9 | refs/heads/master | 2021-01-17T20:51:28.200912 | 2014-11-18T16:04:04 | 2014-11-18T16:04:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 399 | cpp | //Author : pakhandi
//
using namespace std;
#include<iostream>
#include<cstdio>
#include<cstdlib>
#include<algorithm>
#include<cmath>
#include<cstring>
#define wl while
#define fl(i,a,b) for(i=a; i<b; i++)
int main()
{
char str[10000];
scanf("%s", str);
int len=strlen(str);
if(len<3)
printf("0");
else
{... | [
"asimkprasad@gmail.com"
] | asimkprasad@gmail.com |
46cfbf1f85d0b8daed4b478d478e1f109896538a | 30799ddd251fb15c347c0441aa881dadaa1d4918 | /Hackerrank/NewYearChaos.cpp | bcfc62b20b686312166dbe2491a14ad7fb55e8a7 | [] | no_license | AsutoshPadhi/Competitve-Programming | e7d696653b2df52f2cd91c3d3acb5d3047d42f1e | b77d07b8cb7b4c3d59e76e50912da48c086ec324 | refs/heads/master | 2020-06-11T22:56:52.672432 | 2020-04-22T03:21:50 | 2020-04-22T03:21:50 | 194,113,986 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 822 | cpp | #include <iostream>
using namespace std;
int main()
{
int t;
cin>>t;
while(t-->0)
{
int n;
cin>>n;
int arr[n];
for(int i=0; i<n; i++)
{
cin>>arr[i];
}
int cnt=0, flag=1;
for(int i=0; i<n; i++)
{
if(arr[i]-(... | [
"2015asutosh.padhi@ves.ac.in"
] | 2015asutosh.padhi@ves.ac.in |
5eb8ed1f2258aa3d703110197fc2857b613c1e6f | 6a6193dc6dc8a49cf92846d8011c1f37c7c1fb48 | /tools/halide_malloc_trace.h | 0018e555656cf3d7af9bab7ef3d3950659d8cb32 | [
"MIT"
] | permissive | StanfordAHA/Halide-to-Hardware | ac10c68fea5a295a8556284bec67dbd1ab8feffc | 135c5da2587e6f6b17b2e9352a456a645367ad4e | refs/heads/master | 2023-08-31T07:00:40.869746 | 2021-10-20T19:16:51 | 2021-10-20T19:17:08 | 167,240,813 | 76 | 14 | NOASSERTION | 2023-09-06T00:09:25 | 2019-01-23T19:25:20 | C++ | UTF-8 | C++ | false | false | 3,358 | h | #ifndef HALIDE_MALLOC_TRACE_H
#define HALIDE_MALLOC_TRACE_H
//---------------------------------------------------------------------------
// The custom trace allocator can be used in an application by calling:
//
// halide_enable_malloc_trace();
//
// When the app is run, calls to halide_malloc/free will produce out... | [
"dpalermo@codeaurora.org"
] | dpalermo@codeaurora.org |
b2cbbdf0506e4e0f2d6e6a3349ebf196f32a69d3 | bd7493522a7f2283408774c55107a04c5906252d | /Menu.cpp | 0b5af08022c777230f3d24bc765a79782bb06493 | [
"MIT"
] | permissive | a-recknagel/dodgson | ea5f43cc66a05d334fe80b1ae2238ddd3ba84ea0 | 81027ec83e0b2b0cf2f001d0980db2a57fca7220 | refs/heads/main | 2023-02-26T11:36:36.762838 | 2021-02-07T21:22:36 | 2021-02-07T21:22:36 | 336,889,033 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,518 | cpp | #include "Menu.h"
#include <iostream>
#include <fstream>
#include <ctime>
#include <cmath>
#include <future>
#include <algorithm>
#include "Baseline.h"
#include "DepthFirstSearch.h"
#include "UniformCostSearch.h"
#include "SmartCache.h"
#include "IterativeDFS.h"
#include "Logger.h"
using namespace std;
long g_countBe... | [
"arecknag@gmail.com"
] | arecknag@gmail.com |
be2aa86975fac67b39b8b4db21747864a4295fb4 | 15e95a7a599753c152de95c45531daba882e6fe2 | /src/core/script/script_num.h | 5ccbae9671c7477b5b843578baa6578765472106 | [
"MIT"
] | permissive | herculas/StdChain | 13d7cff418545612d1ed85d3dc345ced019d23c3 | 4001f9c62bf9e70ea23a84e54bef4a01ab10f913 | refs/heads/main | 2023-09-01T05:25:09.073922 | 2021-03-31T07:40:52 | 2021-03-31T07:40:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,744 | h | #ifndef STDCHAIN_CORE_SCRIPT_NUM_H
#define STDCHAIN_CORE_SCRIPT_NUM_H
#include <cstdint>
#include <cstdlib>
#include <vector>
class ScriptNum {
private:
static const size_t DEFAULT_MAX_NUM_SIZE = 4;
int64_t value;
public:
explicit ScriptNum(const int64_t &n);
ScriptNum(const std::vector<unsigned cha... | [
"wurahara@163.com"
] | wurahara@163.com |
0038058b7252b1694ee3fe894be81a66d997189c | e055c4e76ab1da03db14c0fdf9908e9d63115ca0 | /zco/2014/smart_phone.cpp | 1681e6d3eff1eda9dedf3c0506f9c71b345c6b92 | [] | no_license | pmdev15/competitiveprogramming | 2514fca2015de83256d65d4ed1224dd823d3ea61 | 2cbe16934df7bd74b413fcf1208c0b250e30af16 | refs/heads/main | 2023-03-15T00:26:09.870133 | 2021-03-16T14:35:22 | 2021-03-16T14:35:22 | 316,480,373 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 397 | cpp | #include <bits/stdc++.h>
using namespace std;
int main(int argc, char const *argv[])
{
long long int n;
cin >> n;
int arr[n];
for (int i = 0; i < n; i++)
{
cin >> arr[i];
}
sort(arr, arr + n);
long long int maxr = 0;
for (int j = 0; j < n; j++)
{
maxr = max(ma... | [
"pmdev1566@gmail.com"
] | pmdev1566@gmail.com |
b094a001cfe1167debe4683843785f1978c67b9d | 1e8b0df7c04daf0143eaea1793288d654d5eca16 | /AStar_Simulation/EnemyManager.cpp | 7a7041755ac5f4dcd78086e55473a40af42c204f | [] | no_license | dlwlxns4/AStar_Algorithm_Simulation | 3ef9d39a63fa91ec05fd0d9676be765a55eb5a2b | f11698c9d9aa5c47297050400b52f01f3a8c8e00 | refs/heads/main | 2023-08-13T04:46:24.764312 | 2021-10-08T15:59:23 | 2021-10-08T15:59:23 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,746 | cpp | #include "EnemyManager.h"
#include "Enemy.h"
HRESULT EnemyManager::Init()
{
enemyMaxCount = 10;
// 데이터타입 : Enemy* 데이터를 10개를 생성, 삽입
vecEnemys.resize(enemyMaxCount);
for (int i = 0; i < enemyMaxCount; i++)
{
vecEnemys[i] = new Enemy;
vecEnemys[i]->Init();
POINTFLOAT pos{ 100.0f + (i % 5) * 100.0f, 100.0f + ... | [
"dlwlxns4@gmail.com"
] | dlwlxns4@gmail.com |
4a6aab114ff83ee8f7e6b2757794402cb95714fc | c57209b5e792ec10f39367a76f279e9b572d62fc | /src/lib/cg/tests/TestCgConst.cpp | b61caa66fea69a33f2e26c7511bb4323d8a2122f | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | jrk/PostHaste | 87302cb9a240a40fc378df01f26d567b30f1d86c | 279f32daa751fbb364426b7cfce9a32bbe070214 | refs/heads/master | 2021-01-25T02:28:54.875393 | 2010-01-24T23:52:31 | 2010-01-24T23:52:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,879 | cpp | #include "cg/CgConst.h"
#include "cg/CgTypes.h"
#include "ir/IRValues.h"
#include "ir/IRTypes.h"
#include "util/UtLog.h"
#include <gtest/gtest.h>
#include <iostream>
#include <llvm/Constants.h>
#include <llvm/LLVMContext.h>
#include <llvm/Module.h>
class TestCgConst : public testing::Test {
public:
UtLog mLog;
... | [
"markleone@gmail.com"
] | markleone@gmail.com |
fca3da7ca3fa4c0da6255f570a09df3e3dde03cc | 948f4e13af6b3014582909cc6d762606f2a43365 | /testcases/juliet_test_suite/testcases/CWE78_OS_Command_Injection/s06/CWE78_OS_Command_Injection__wchar_t_console_w32_spawnv_83_bad.cpp | 6d811f59c8ba2761d1ee47805f62d5a5cb7e58df | [] | 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 | 2,366 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE78_OS_Command_Injection__wchar_t_console_w32_spawnv_83_bad.cpp
Label Definition File: CWE78_OS_Command_Injection.strings.label.xml
Template File: sources-sink-83_bad.tmpl.cpp
*/
/*
* @description
* CWE: 78 OS Command Injection
* BadSource: console Read input f... | [
"yzhang0701@gmail.com"
] | yzhang0701@gmail.com |
598a8488ceebba8231081f0fea6bf1653c1c3e4b | 6f9ca9684edca7c507062744c9cbcbf91d8a9f02 | /src/AdjustPrice/AdjustPriceGoodsSelectListView.h | 22fa87bb41154b53acd120673a48f1c1c885bb6b | [] | no_license | yangchenglin815/kmis | e039a32c42965ccfc8a6b4396f6264eec24a2e76 | d06bafa60c9a87b5ed5617adc0a39a82ec0c89d7 | refs/heads/master | 2020-05-04T06:39:25.653287 | 2019-07-25T03:14:03 | 2019-07-25T03:14:03 | 179,011,069 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,865 | h | #ifndef ADJUSTPRICEGOODSSELECTLISTVIEW_H
#define ADJUSTPRICEGOODSSELECTLISTVIEW_H
#include <QListView>
#include <QStyledItemDelegate>
#include <QStandardItemModel>
#include "adjustpricedata.h"
class AdjustPriceGoodsSelectDelegate : public QStyledItemDelegate
{
public:
AdjustPriceGoodsSelectDelegate(QObject* paren... | [
"ycldream815@gmail.com"
] | ycldream815@gmail.com |
2ca293153a9608bf77bd596ea6235b65ccf7a01f | 26b37be005cc4661b4d28b8ced3410c1208597e2 | /tests/base/include/chrono.hpp | d2718e9e91411abd23bc361370d6c09f7ccef1a1 | [] | no_license | kleopatra999/yas | 9d8864fb8704b0293a35fea9e1f241c8e2f29ad4 | 965ea5c2ac2fc32c148a38ebf58bdb32aca4b820 | refs/heads/master | 2021-01-19T09:58:35.664509 | 2017-04-09T09:32:38 | 2017-04-09T09:32:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,896 | hpp |
// Copyright (c) 2010-2017 niXman (i dot nixman dog gmail dot com). All
// rights reserved.
//
// This file is part of YAS(https://github.com/niXman/yas) project.
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
... | [
"i.nixman@autistici.org"
] | i.nixman@autistici.org |
d15a15e212151dc69968f6a270fb44b2b0a8c33e | e9025d80026f7d00e0fd69e0ee7e0f97533bd630 | /Global round/round1/D.cpp | b393e68d68958fd90aad2c56ec558b55e104c0a8 | [] | no_license | rishup132/Codeforces-Solutions | 66170b368d851b7076c03f42c9463a2342bac5df | 671d16b0beec519b99fc79058ab9035c6f956670 | refs/heads/master | 2020-04-12T04:32:10.451666 | 2019-03-22T14:04:31 | 2019-03-22T14:04:31 | 162,298,347 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 766 | cpp | #include <bits/stdc++.h>
// #define int long long
// #define mod 1000000007
using namespace std;
int a[1000010];
int32_t main()
{
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int n,m;
cin >> n >> m;
for(int i=0;i<n;i++)
{
int x;
cin >> x;
a[x]++;
}
int ... | [
"rishupgupta132@gmail.com"
] | rishupgupta132@gmail.com |
0618dc18f2c648d5bc46d3a7006c78e008c0d8b3 | 1e0ffb3ac40fbb4ef9816eec5e8a05e68e827c61 | /bindings/node/binding.cc | ebee2c5093050eb5939a41d78036497a72920b8b | [] | no_license | richardjdare/tree-sitter-common-lisp | 5ee8a0fe38a2e7d125d5cbf05d5476e2951c64f6 | 6c1944963dc662fb0be386a9a72cccde10927bdf | refs/heads/master | 2023-07-25T22:04:27.275888 | 2021-09-09T15:23:24 | 2021-09-09T15:23:24 | 404,748,952 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 861 | cc | #include "tree_sitter/parser.h"
#include <node.h>
#include "nan.h"
using namespace v8;
extern "C" TSLanguage * tree_sitter_sexp();
namespace {
NAN_METHOD(New) {}
void Init(Local<Object> exports, Local<Object> module) {
Local<FunctionTemplate> tpl = Nan::New<FunctionTemplate>(New);
tpl->SetClassName(Nan::New("L... | [
"richardjdare@googlemail.com"
] | richardjdare@googlemail.com |
5e9f16fab559e71c5c49c2335c829293e03d5fba | 99e63f2bba8b91300601577be8af451603efc3dd | /LCD1602.cpp | d50be91f49620aa8cb1fc28653f5dc3df308ac19 | [] | no_license | caoyuan96421/PushToGo_L476 | 704f8900522c149fc44a299c4689dad07faaf1e5 | e5a6b1fdccc207b3e2aca8a0332786db289bf030 | refs/heads/master | 2022-01-26T18:54:45.686038 | 2021-12-26T09:10:15 | 2021-12-26T09:10:15 | 200,592,221 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,779 | cpp | /*
* LCD1602.cpp
*
* Created on: Jul 18, 2019
* Author: caoyu
*/
#include "LCD1602.h"
#include "rtos/ThisThread.h"
#include "mbed_wait_api.h"
#include <stdarg.h>
#include <chrono>
#include "printf.h"
using namespace std::chrono_literals;
LCD1602::LCD1602(PinName rs, PinName rw, PinName en, P... | [
"caoyuan96421@gmail.com"
] | caoyuan96421@gmail.com |
c1a43ffa98c17b2cea0381b2f40fa245271f5b4d | 4042764ea638e7011afe3880b5c5f3fbcecdbc3d | /src/qt/darksendconfig.cpp | 4f9d05ec0cd4f823550e87f3f51939f219fbfda1 | [
"MIT"
] | permissive | deduwka/RLN.V.1.0 | e5f8545d276563dd04bbd592f0f3a74e6c00c3ad | 6e2e30775e8ba8617ba9e5723fb8f1727cb311c1 | refs/heads/master | 2020-04-01T17:21:30.587568 | 2018-10-12T16:26:45 | 2018-10-12T16:26:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,431 | cpp | #include "darksendconfig.h"
#include "ui_darksendconfig.h"
#include "bitcoinunits.h"
#include "darksend.h"
#include "guiconstants.h"
#include "optionsmodel.h"
#include "walletmodel.h"
#include <QMessageBox>
#include <QPushButton>
#include <QKeyEvent>
#include <QSettings>
DarksendConfig::DarksendConfig(QWidget *paren... | [
"redlotusnetwork@gmail.com"
] | redlotusnetwork@gmail.com |
dd98b3108548d16112c26ad3fa9781bc8616adeb | 598737b786a20889dc6acd468478baf4972535b3 | /src/dist/atf/atf/tests.cpp | 161c64de8e34397cfdb545ed42ef44dd6d899e15 | [
"FSFUL",
"LicenseRef-scancode-unknown-license-reference",
"BSD-4-Clause"
] | permissive | shisa/shisa-netbsd | 5c8e289de2a48b6d8f39bd3add9ca4ea48fec1da | 28d999d1c25107c126e0a458a97b9397aae592ef | refs/heads/master | 2021-01-01T05:33:32.619808 | 2008-05-26T04:27:54 | 2008-05-26T04:27:54 | 32,793,680 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 27,373 | cpp | //
// Automated Testing Framework (atf)
//
// Copyright (c) 2007 The NetBSD Foundation, 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... | [
"keiichi@mobilegravity.sfc.wide.ad.jp"
] | keiichi@mobilegravity.sfc.wide.ad.jp |
e80262832e66267bfc6363cef7593577fb943247 | 4f07dffbbc1dcf3c06c33219296eb72d99b08ab0 | /ui/keyboard/container_fullscreen_behavior.h | 66a6ad555c349fc1590930da2efde1d6e191d91d | [
"BSD-3-Clause"
] | permissive | zeyiwu/chromium | 4815e89f8a9acd0e9e6957dc2be6e6d6f4995a52 | 2969192f368b295477a3348584160a854fd3316b | refs/heads/master | 2023-02-21T20:39:29.821478 | 2018-05-22T02:04:26 | 2018-05-22T02:04:26 | 134,348,434 | 1 | 0 | null | 2018-05-22T02:16:57 | 2018-05-22T02:16:57 | null | UTF-8 | C++ | false | false | 1,106 | h | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_KEYBOARD_CONTAINER_FULLSCREEN_BEHAVIOR_H_
#define UI_KEYBOARD_CONTAINER_FULLSCREEN_BEHAVIOR_H_
#include "ui/aura/window.h"
#include "ui/keyboa... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.