blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
95565e0f21684b1eb6e23e1df18c4a27373fa232 | 214838dc887c044c7b10f26a6fd85ee231ad8107 | /vendor/github.com/google/protobuf/src/google/protobuf/compiler/java/java_map_field_lite.h | df5fe64d5099c279bcf499b3b9c8ef633606f2c8 | [
"Apache-2.0",
"LicenseRef-scancode-protobuf"
] | permissive | coolbreeze000/ovs-gnxi | 5c486e192bad4880bff6ea38f6969417986fd262 | ad9c0bf3565a3cf8dfe5ca9929c2632a57fd279b | refs/heads/master | 2021-04-18T21:31:53.828567 | 2019-04-22T21:01:02 | 2019-04-22T21:01:02 | 126,850,919 | 2 | 1 | Apache-2.0 | 2019-04-22T21:01:03 | 2018-03-26T15:36:47 | Go | UTF-8 | C++ | false | false | 3,491 | h | // Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// https://developers.google.com/protocol-buffers/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// ... | [
"dherkel@google.com"
] | dherkel@google.com |
ea3d3212e74c75fdf86e2add037f1853f86f969a | 4646f97a4dee8f80b2da891d7d73f926d4e6e79d | /src/Graph.h | 43cca70048fa353d6a0be729111d587ddbf09e7d | [] | no_license | TobiasForner/DBGPThesis | d22db5c4037c6cfe41d126834cdf7a9a4b9cdd74 | 938ef33870f22935387a2abd708ee4975dff8839 | refs/heads/master | 2021-01-16T08:24:40.127259 | 2020-03-16T10:29:47 | 2020-03-16T10:29:47 | 243,041,019 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,982 | h | //
// Created by tobias on 24.10.19.
//
#ifndef DBGTTHESIS_GRAPH_H
#define DBGTTHESIS_GRAPH_H
#include "vector"
#include "Edge.h"
#include "DoublyLinkedList.h"
namespace decomposition_tree {
/**
* class representing an undirected graph
*/
class Graph {
private:
//number of nodes (dyn... | [
"t.forner@tum.de"
] | t.forner@tum.de |
b91494ad370f4a32fdbe563e2b046b99670848db | 30bdd8ab897e056f0fb2f9937dcf2f608c1fd06a | /Graphs/2662.cpp | 0471ece83b049a4f124b83180e5dbe805014eddb | [] | no_license | thegamer1907/Code_Analysis | 0a2bb97a9fb5faf01d983c223d9715eb419b7519 | 48079e399321b585efc8a2c6a84c25e2e7a22a61 | refs/heads/master | 2020-05-27T01:20:55.921937 | 2019-11-20T11:15:11 | 2019-11-20T11:15:11 | 188,403,594 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 809 | cpp | #include <bits/stdc++.h>
using namespace std;
int n, m, k, nm, x, y;
vector<pair<int, int> > ans[100101];
void nxt() {
x = x + ((y & 1) ? -1 : 1);
if(x == n || x == -1) {
y++;
if(x == -1) x = 0;
else x = n-1;
}
nm--;
}
int main() {
s... | [
"mukeshchugani10@gmail.com"
] | mukeshchugani10@gmail.com |
8568a2d8452a70bf96eddb3f6359600915f4ef53 | b5092515162282e7e2cf2d23a290244b1c599826 | /July'20/July_12_Reverse_Bits.cpp | c2f6875088cb2f41bfff37928bcbe2fd4de30da5 | [] | no_license | priyanshisharma/Leetcoding-Challenge | 6ccff0a601108c80df2155600cfd6470298eead2 | 58106095527366203b264710f08692115a04855e | refs/heads/master | 2023-08-24T18:11:50.644428 | 2021-10-31T08:09:42 | 2021-10-31T08:09:42 | 260,410,929 | 34 | 88 | null | 2021-10-31T16:30:12 | 2020-05-01T08:22:01 | C++ | UTF-8 | C++ | false | false | 566 | cpp | class Solution {
public:
uint32_t reverseBits(uint32_t n) {
uint32_t ret = 0, power = 31;
//power is 31, for num at location i new location is 31-i , index starts from 0 {2 to the power 0 is the first position}
while (n != 0)
{
ret += (n & 1) << power;
... | [
"noreply@github.com"
] | priyanshisharma.noreply@github.com |
f26256e8c351a05733d6a8c62b1db920c5c55069 | 89baaf8c0c01a6b9c2a442ff57a0526dc1930c05 | /coding blocks lectures and programs/NAME_IN_SHORTHAND.cpp | 5cfb8b78a7bce26c439dfc2fa754dc489242787c | [] | no_license | prateekrawal/coding_blocks_launchpad | a9a8c1998ed162b45122a9ffc733049b8bb19bdc | 10ef1ba2280255154c7531fd28a8bd7efcaa2ba9 | refs/heads/master | 2020-03-21T22:08:52.664393 | 2017-12-21T09:24:55 | 2017-12-21T09:24:55 | 139,106,875 | 1 | 0 | null | 2018-06-29T05:54:24 | 2018-06-29T05:54:24 | null | UTF-8 | C++ | false | false | 1,334 | cpp | #include<bits/stdc++.h>
using namespace std;
int get_word_count(char *a)
{
int i=0;
char prev='\0';
int count=0;
while(a[i]!='\0')
{
if(a[i]==' ')
{
if(prev!='\0' && prev!=' ')
count++;
}
prev=a[i];
i++;
}
i... | [
"harshitaggarwal283@yahoo.com"
] | harshitaggarwal283@yahoo.com |
6c84e5a28ae16e96cbe985be29e5f3c7d9330ee3 | f2931c3100f2608ba685de33fe9adacebf57c467 | /TGFlux.hh | dbd0d3ca736005c08fef7d0e7ae16746121f35c2 | [] | no_license | jlabsolid/evgen_BHphoton | bebe6a95271c074ae396c8d552794db6048fbffb | 557a69163c8b936af9e96695f070de845ee27b1e | refs/heads/master | 2021-04-15T04:18:56.639475 | 2018-03-21T21:39:46 | 2018-03-21T21:39:46 | 126,244,573 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 670 | hh | #ifndef TGFlux_HH
#define TGFlux_HH
#include <TF1.h>
class TGFlux
{
public:
TGFlux(double Mtarg = 0.9383, double Eb = 5.76);
double GetFlux(double W, double Q2) const;
double GetIntegrFlux(double W, double Q2_1, double Q2_2) const; // Flux Integrated over Q2 from Q2_1 to Q2_2
double GetIntegrFlux(double W, do... | [
"zwzhao@jlab.org"
] | zwzhao@jlab.org |
6d79547cf3055d5ca1d8e6e06f44e9f3867a0554 | 1a5a3b9f8675000cf94b1a6797a909e1a0fcc40e | /src/client/src/Util/CDSound.h | 5fd10605847b01a138b64cb0d3f6433608e5a237 | [] | no_license | Davidixx/client | f57e0d82b4aeec75394b453aa4300e3dd022d5d7 | 4c0c1c0106c081ba9e0306c14607765372d6779c | refs/heads/main | 2023-07-29T19:10:20.011837 | 2021-08-11T20:40:39 | 2021-08-11T20:40:39 | 403,916,993 | 0 | 0 | null | 2021-09-07T09:21:40 | 2021-09-07T09:21:39 | null | UHC | C++ | false | false | 4,570 | h | #ifndef __DLL_DSOUND_H
#define __DLL_DSOUND_H
#include <mmsystem.h>
#include <dsound.h>
//-------------------------------------------------------------------------------------------------
typedef struct tagSOUNDDATA t_sounddata;
typedef struct tagWAVEDATA t_wavedata;
#define SAFE_DELETE(p) { if(p) { delete... | [
"ralphminderhoud@gmail.com"
] | ralphminderhoud@gmail.com |
d2db586c7a8b9226028591c825df99a5d6bdf245 | 0390960b0a6de79ba39bee40e13a1cd639a04e5e | /滑雪(大数据)/源.cpp | 208445f52ab686b8995e95d6be532170451f5407 | [] | no_license | vivia1994/SummerTest5 | ee8db45ec0268b924b87f05027e6901584189bb8 | 11b15844529f43ac44124ba8e28da26e1623e804 | refs/heads/master | 2021-01-20T19:26:19.158057 | 2016-07-04T13:09:21 | 2016-07-04T13:09:21 | 61,603,211 | 3 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,084 | cpp | #include<iostream>
#include<string.h>
using namespace std;
int A[101][101],h[101][101];
int row, col;
int GetH(int r, int c)
{
if (h[r][c]!=-1)
return h[r][c];
int max = 1;
int tmp;
//上边界
if (r - 1 >= 1 && A[r - 1][c] < A[r][c])
{
tmp = GetH(r - 1, c)+1;
if (tmp > max)
max = tmp;
}
//左边界
if (c - 1 >... | [
"leiwei183@163.com"
] | leiwei183@163.com |
fa66691f2b1283b6121cb4b54db6023376633aad | 71678fe1cd31568a09935af4df4555de99bd5e27 | /13.CopyControl/48/String.cpp | 0b9b0a7bee581ca756e8f831fd22648a3cedb34b | [] | no_license | aFleetingTime/Cpp | 31e51a5fd3b84a8f79fa8c4b25326ea7ea20ab67 | 88c0f80c096cb4c24d611cbf89da25d8a63fe63f | refs/heads/master | 2021-01-25T13:19:23.474468 | 2018-08-08T14:32:50 | 2018-08-08T14:32:50 | 123,560,040 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,744 | cpp | #include "String.h"
std::allocator<char> String::alloc;
String::String() : String("") {}
String::String(const char *cstr)
{
setPoint(allocCopyMemory(cstr, getEndPoint(cstr)));
std::cout << "String(char*) " << first << std::endl;
}
String::String(const String &str)
{
setPoint(allocCopyMemory(str.begin(), str.end(... | [
"liunian320@outlook.com"
] | liunian320@outlook.com |
abb6d08d61c4b5f618c9573b6222a268769ebbae | f65b125dd2e0abd1da989418736fbee883d57c6f | /src/vedittab.h | 2b7f59abb3e26876894aa7d8f2adffe2bea094d5 | [
"MIT",
"BSD-3-Clause",
"GPL-3.0-only",
"ISC",
"Apache-2.0"
] | permissive | maozhiyong/vnote | ddeef3299514cb2ec0382bb3042b9584b31e216c | c27e51bdee5fae2ec0a4e8fa6babeaa1f8aa2ffc | refs/heads/master | 2020-03-12T09:06:20.590690 | 2018-06-04T04:55:41 | 2018-06-04T04:55:41 | 130,544,854 | 1 | 0 | MIT | 2018-06-04T04:55:41 | 2018-04-22T07:24:11 | C++ | UTF-8 | C++ | false | false | 6,056 | h | #ifndef VEDITTAB_H
#define VEDITTAB_H
#include <QWidget>
#include <QString>
#include <QPointer>
#include "vtableofcontent.h"
#include "vfile.h"
#include "utils/vvim.h"
#include "vedittabinfo.h"
#include "vwordcountinfo.h"
class VEditArea;
class VSnippet;
// VEditTab is the base class of an edit tab inside VEditWindo... | [
"tamlokveer@gmail.com"
] | tamlokveer@gmail.com |
7762d58eeb6d2e5dd749675b96ea610a69084f11 | d251464e8a3220ed4e98cee2f59727a070ede219 | /include/device/numeric.hpp | e43f5bb83f7cfa2e1f6d2572f0883de54f1df1fb | [] | no_license | samfairman/larbed_input_data_preparation | 802215786c8233e4da63f504808a2b10dbd00721 | cc5f25a36436fa02eec971ef3aed120da421392a | refs/heads/master | 2022-04-02T01:34:45.857203 | 2020-01-23T09:54:29 | 2020-01-23T09:54:29 | 235,591,346 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 382 | hpp | #ifndef _NUMERIC_HPP_INCLUDED_DSIOUFALSKFDJN498HFDKSJHASFDKJB4EUHAFSKJHFDAKJFDFH
#define _NUMERIC_HPP_INCLUDED_DSIOUFALSKFDJN498HFDKSJHASFDKJB4EUHAFSKJHFDAKJFDFH
#include <device/numeric/accumulate.hpp>
#include <device/numeric/inner_product.hpp>
#include <device/numeric/static_inner_product.hpp>
#endif//_NUMERIC_HPP... | [
"sam.fairman2@gmail.com"
] | sam.fairman2@gmail.com |
bd92b1274e34e3195f6355fee3d00f4fda64c1a1 | 8aa7dec802fed3ee34f75b48b19e5dd26d477e46 | /813-largest-sum-of-averages/813-largest-sum-of-averages.cpp | 3d81519bc8c4523e853f768cd244fc9853277f2d | [] | no_license | niranjan35/coding-practise | 8508e6dddef068e2d08fdce8614929c2cf22fff2 | 1f1613e51c85caeec8f0d08acd2a8a5500c463cf | refs/heads/master | 2022-07-31T17:34:57.936989 | 2022-07-18T07:39:19 | 2022-07-18T07:39:19 | 134,059,662 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,050 | cpp | class Solution {
public:
double dp[110][110];
int sum[110];
double largestSumOfAverages(vector<int>& nums, int k) {
int n=nums.size();
for(int i=0;i<n;i++) {
for(int j=0;j<k;j++) {
dp[i][j]=0;
}
}
for(int i=0;i<n;i++) {
if(i... | [
"niranjanbodiga3535@gmail.com"
] | niranjanbodiga3535@gmail.com |
09cb41185ab62282bcc222fea6c2b0113cc6dd41 | 3f38a2aaf0b768752e0eb28176f306bb34ad1033 | /solutions/CSES/Static Range Minimum Queries.cpp | 9b4ea8e17114b5b370a9c4eb920fc9cff28946e3 | [] | no_license | ahmadkkhaled/competitive-programming | 4c0adaa7051ce89377402751531d1a1c67867b5e | 890a5cee244342071c3a67f24f243e5f75d9825c | refs/heads/master | 2021-11-27T00:20:27.587179 | 2021-09-21T18:45:32 | 2021-09-21T18:45:32 | 151,935,856 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 869 | cpp | #include <bits/stdc++.h>
using namespace std;
#define nl '\n'
template<typename T>
ostream& operator<<(ostream& os, const vector<T> &v) {
for(const T &val: v)
os << val << ' ';
return os;
}
const int N = 2e5 + 7;
const int LOG = 18;
int a[N];
int mn[N][LOG];
int msb(int x){
return 31 - __builti... | [
"36166958+ahmadkkhaled@users.noreply.github.com"
] | 36166958+ahmadkkhaled@users.noreply.github.com |
83a49e81d503a4706b963472121922ab390fb30e | 773357b475f59bbdde3a2de632638fef976e330a | /src/RenderDefs.h | b6593d98e2aced3201c4c84c30fb28ff4d12f9d1 | [
"MIT"
] | permissive | q4a/GLKeeper | 568544cc86a88536f104f7f38d6e018a62e47510 | a2207e2a459a254cbc703306ef92a09ecf714090 | refs/heads/master | 2022-11-25T08:32:44.100454 | 2020-06-26T11:36:25 | 2020-06-26T11:36:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,178 | h | #pragma once
// forwards
class DebugRenderer;
class RenderManager;
class RenderProgram;
class MeshMaterial;
enum eRenderPass
{
eRenderPass_Opaque,
eRenderPass_Translucent,
eRenderPass_Count,
};
decl_enum_strings(eRenderPass);
// render context
class SceneRenderContext
{
public:
SceneRenderCon... | [
"codename.cpp@gmail.com"
] | codename.cpp@gmail.com |
6cab8bf7e6611fcd1d38c896b29355f9d29c4783 | 72414e441408d6d63d24e2154a3694e243a4f2a9 | /Multi-JSON-Interface/include/mjsoni/generic_json_config_reader.hpp | 0df3276345768bd2864c7b2ee4ca5c86dbfdfb8b | [
"Apache-2.0",
"BSD-3-Clause",
"MIT"
] | permissive | IAmTrial/Multi-JSON-Interface | 75f11174ae17b83e90a59ff6d33675af8f3f02c7 | 95f9e6c2d953af9e104a9f43532ef17daaf2f1bb | refs/heads/master | 2021-06-16T16:15:49.814767 | 2021-04-07T03:29:16 | 2021-04-07T03:29:16 | 192,013,888 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,840 | hpp | /**
* Multi JSON Interface
* Copyright (C) 2019 Mir Drualga
*
* This file is part of Multi JSON Interface.
*
* 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.ap... | [
"IAmRealTrial@gmail.com"
] | IAmRealTrial@gmail.com |
215cb264a60394fa7049e7865c3d569eb93a4465 | c1466e0815558818829d51326d445df6ffad9c17 | /structure/massive17.cpp | 8d2d183f0d84aa7242c52e117e1e9c159e4572bf | [] | no_license | ojaster/first_project | 2177bc78d6a6000862a306ebce71d2cdeee8d475 | 0a09308acd6270085959251ca8892dc22d272cfb | refs/heads/master | 2021-07-07T13:04:51.200496 | 2020-06-25T10:52:08 | 2020-06-25T10:52:08 | 129,524,939 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 269 | cpp | #include <iostream>
using namespace std;
int main(){
int k[6];
for(int i = 0; i<6; i++){
cin>>k[i];
}
int last = k[5];
cout<<"----"<<endl;
for( int i = 0; i<6; i++ ) {
k[i]= k[i] * (int) last;
cout<<k[i]<<endl;
}
} | [
"daniil.gusev@icloud.com"
] | daniil.gusev@icloud.com |
61d75f47bbfabda68cb3277de17270ae9d61ecfa | 46f53e9a564192eed2f40dc927af6448f8608d13 | /media/cast/sender/h264_vt_encoder_unittest.cc | 04f3d629da95b23a9d9f8786347b5eb691ddacfd | [
"BSD-3-Clause"
] | permissive | sgraham/nope | deb2d106a090d71ae882ac1e32e7c371f42eaca9 | f974e0c234388a330aab71a3e5bbf33c4dcfc33c | refs/heads/master | 2022-12-21T01:44:15.776329 | 2015-03-23T17:25:47 | 2015-03-23T17:25:47 | 32,344,868 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 11,179 | cc | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <queue>
#include "base/bind.h"
#include "base/command_line.h"
#include "base/message_loop/message_loop.h"
#include "base/test/launcher/unit_test... | [
"scottmg@chromium.org"
] | scottmg@chromium.org |
3804f7d0537814ee3ced368895cd3fab83a707a6 | 6c9281f226df8a9c743dd0a2e0c185ba01de2060 | /Game/Main.cpp | 0c81538d0ed5150dd0895726513de59c3a4f398e | [] | no_license | KonstantinTomashevich/GamedevResourcePackerTestProject | a84f082bea42c65a781ad1d0ecaa0a70d0be6cd5 | 05aa60229c63c6aebda9fe0c50282cc88b392306 | refs/heads/master | 2020-07-26T01:52:08.764623 | 2020-02-07T10:41:46 | 2020-02-07T10:41:46 | 208,493,982 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,522 | cpp | #include <ResourceSubsystem/Core.hpp>
#include <ResourceSubsystem/Defines.hpp>
#include <ResourceSubsystem/Ids.hpp>
#include <ResourceSubsystem/DataObjects/TileMap.hpp>
#include <ResourceSubsystem/DataObjects/TileSet.hpp>
#include <ResourceSubsystem/DataObjects/MapObjectSet.hpp>
#include <exception>
#include <boost/l... | [
"ekit.mail@gmail.com"
] | ekit.mail@gmail.com |
02374a357553bf2e929ee08e868a1046d58bc2e4 | c2d0dd60ef40d3514aed93026c37b5f18804c525 | /src/physicscore/collisionshapes/collisionshape.h | 22d53d7de970de05a03850f33b31e6d9d4ed6eff | [] | no_license | mansisaksson/yet_another_game_engine | ffeedf384961df4b07d52871691748c3a058fc6a | d92baa5b9cb52d125824c5ec83715415b6525d9a | refs/heads/master | 2021-07-05T23:25:41.458975 | 2020-12-06T09:19:27 | 2020-12-06T09:19:27 | 212,355,836 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 604 | h | #pragma once
enum class shape_type
{
invalid,
box,
sphere,
capsule
};
class collision_shape
{
private:
shape_type m_shape_type;
public:
collision_shape()
: m_shape_type(shape_type::invalid)
{
}
collision_shape(shape_type shape_type)
: m_shape_type(shape_type)
{
}
inline shape_type get_shape_type(... | [
"mans.95.isaksson@gmail.com"
] | mans.95.isaksson@gmail.com |
142e7648587b7142b56bccc9747617ba1adc9217 | 057e1322219d15eea892f9b8f80e83a3513ed27d | /the hunter/Client/Dx11Engine/Include/Core/Dx11TimerManager.cpp | 59048647bb67b99616cfc3e7530d5d6c04d0ca1e | [] | no_license | KPUTeam/The-Hunter | 06b3fa23f8a63f5d681ca2c70bbe5484b4740bd0 | 5702438b10c3df7f0d92db14348a6c9fef41ed27 | refs/heads/master | 2021-01-12T03:57:54.466231 | 2017-08-21T00:44:29 | 2017-08-21T00:44:29 | 81,659,237 | 0 | 1 | null | 2017-04-10T14:53:47 | 2017-02-11T14:47:09 | C++ | UTF-8 | C++ | false | false | 950 | cpp | #include "Dx11TimerManager.h"
#include "Dx11Timer.h"
DX11_USING
DX11_SINGLE_DEFINITION(CDx11TimerManager)
CDx11TimerManager::CDx11TimerManager()
{
SetTypeName<CDx11TimerManager>();
}
CDx11TimerManager::~CDx11TimerManager()
{
Safe_Release_Map(m_mapTimer);
}
bool CDx11TimerManager::Init()
{
CDx11Timer* pTimer = C... | [
"aiuv0324@gmail.com"
] | aiuv0324@gmail.com |
b67799fd4e126398d933f93e2828e97166bd10df | a563e5fc2acf7103453ac23e85130b5571f78df1 | /RGAME1/core/GDevices.h | b1a1aabcbdfdf4322d1828c68c4794cfc10e0814 | [] | no_license | baifan233/RGame | fdc7f5534b38388acfa43951328a75df542e4be2 | f43194e620aa7235d75529a0a783002fa3f4d208 | refs/heads/master | 2022-11-27T23:47:41.489539 | 2020-08-10T14:50:47 | 2020-08-10T14:50:47 | 284,248,885 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 6,271 | h | #pragma once
#include"framework.h"
#include"Resource.h"
#include"GameLogRecorder.h"
struct RMouseptPointer { int* x; int* y; };
class GDevices
{
//Input System
private:
LPDIRECTINPUT8 inp_dinputDeivce = NULL; //dinput8设备
LPDIRECTINPUTDEVICE8 inp_KeyBoard = NULL; //键盘设备
LPDIRECTINPUTDEVICE8 inp_Mouse = NULL; ... | [
"ab2942704765@163.com"
] | ab2942704765@163.com |
514f4f3332d840590abc2d9cc10889b75ebf415f | f05c77c783902a3fff2ae1be09f7ccc629cc4c46 | /forPracticeC++/compareString.cpp | ff0a5e23c03b005e8321cbf979083e322e0f5438 | [] | no_license | piyushac123/PracticeProblems | c3eba2f405b5683629ff69883eaee2b0364193cf | 819ce8b8254dff2c139e6b82c420f93c693bc8f7 | refs/heads/master | 2020-04-09T04:54:06.708739 | 2018-12-02T12:02:13 | 2018-12-02T12:02:13 | 160,042,443 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,740 | cpp | #include<iostream>
#include<string.h>
using namespace std;
class use{
public:
int checkRange(int val){
if((val>=65&&val<=90)||(val>=97&&val<=122)){
return 1;
}
return 0;
}
int compare(char val1,char val2){
int a=val1,b=val2;
if(a>b){
return 1;
}
else if(a<b){
return -1;
}
return 0;
}
};
... | [
"piyush.chincholikar@gmail.com"
] | piyush.chincholikar@gmail.com |
f7b6715382ed9e9f7fde4f07fa7bf5ff06431223 | ffa83215d4a44581f44173100331bda1900b24fe | /build/iOS/Preview/include/Uno.UX.UXValueBindingArgumentAttribute.h | a1c71110895ddf2fa33d9c095512aab721fd908f | [] | no_license | imkimbosung/ARkit_fuse | 167d1c77ee497d5b626e69af16e0e84b13c54457 | 3b378d6408551d6867f2e5b3d7d8b6f5114e7f69 | refs/heads/master | 2020-04-19T02:34:33.970273 | 2019-02-04T08:26:54 | 2019-02-04T08:26:54 | 167,907,696 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 837 | h | // This file was generated based on /usr/local/share/uno/Packages/UnoCore/1.10.0-rc1/Source/Uno/UX/Attributes/UXValueBindingArgumentAttribute.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.Attribute.h>
namespace g{namespace Uno{namespace UX{struct UXValueBindingArgume... | [
"ghalsru@naver.com"
] | ghalsru@naver.com |
70cb0218d303eb7494869e3fb8573d9e47e8d69e | c0c44b30d6a9fd5896fd3dce703c98764c0c447f | /cpp/include/symbian-r6/Nav2ErrorSymbian.h | 256f7fc96b8d478006cba05c3e5d8c3b03e3af94 | [
"BSD-3-Clause"
] | permissive | wayfinder/Wayfinder-CppCore-v2 | 59d703b3a9fdf4a67f9b75fbbf4474933aeda7bf | f1d41905bf7523351bc0a1a6b08d04b06c533bd4 | refs/heads/master | 2020-05-19T15:54:41.035880 | 2010-06-29T11:56:03 | 2010-06-29T11:56:03 | 744,294 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,148 | h | /*
Copyright (c) 1999 - 2010, Vodafone Group Services Ltd
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 condit... | [
"hlars@sema-ovpn-morpheus.itinerary.com"
] | hlars@sema-ovpn-morpheus.itinerary.com |
07be78b1f422404f3849e65fea60f44691a6b7f2 | c78c926155760aa63d24ad26b3356f6d19398f69 | /HDOJ/基础题/AC代码/1_20/1003_Max Sum(区间最大和)(DP).cpp | b04396d5808f59140447a283fb0e73d2cf7dc716 | [] | no_license | fhyPayaso/ACM | 34c26aff0697ef0e7956cd03e30f13739a286466 | 0c7f4bf298e9a164f8a5ae140f30f441ccc226dc | refs/heads/master | 2021-08-30T05:04:53.518780 | 2017-12-16T03:39:10 | 2017-12-16T03:39:10 | 114,429,801 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 833 | cpp | #include<iostream>
#include<cstring>
#include<algorithm>
using namespace std;
int maxn=100000+10;
struct no
{
int val;
int l,r;
}sum[100010];
int main()
{
int t,ok=0;
cin>>t;
for(int ti=1;ti<=t;ti++)
{
int n,m=-2000,left,right;
cin>>n;
for(int i=1;i<=n;i++)
{
int temp;
cin>>temp;
if(i=... | [
"410619823@qq.com"
] | 410619823@qq.com |
babb4dfa4f8da882b755118edb4c20e610d46c1e | 307cdf04a3ab90a2d91ad9210daf4357a1c205bd | /Sistema_experto/lista.h | 7a335558a7159ee36ee3e94f755e66903e9c59b4 | [] | no_license | luisthmn/ED_Parcial3 | 43f6ddab45766c05e067a3df6abd4c88ca5e9cb0 | e9088e5afe5f0b8cf5ec6c390999f10cccaf7a02 | refs/heads/master | 2020-05-23T19:46:53.669067 | 2019-05-17T07:39:38 | 2019-05-17T07:39:38 | 186,917,809 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,093 | h | #ifndef LISTA_H_INCLUDED
#define LISTA_H_INCLUDED
#include "lista_arcos.h"
#include "lista_nodos.h"
using namespace std;
//En este archivo se encuentra la clase de la lista auxiliar junto con la estructura de nodos auxiliares
struct caja2;
//------------------------------------------------------------------------
str... | [
"33427296+luisthmn@users.noreply.github.com"
] | 33427296+luisthmn@users.noreply.github.com |
d8ace6812e0141780867886c2f0ec792692387d7 | 40150c4e4199bca594fb21bded192bbc05f8c835 | /build/iOS/Preview/include/Fuse.Entities.Light.h | 6f0b2a1adea8140ec9848ffa463fd527c9927282 | [] | no_license | thegreatyuke42/fuse-test | af0a863ab8cdc19919da11de5f3416cc81fc975f | b7e12f21d12a35d21a394703ff2040a4f3a35e00 | refs/heads/master | 2016-09-12T10:39:37.656900 | 2016-05-20T20:13:31 | 2016-05-20T20:13:31 | 58,671,009 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,910 | h | // This file was generated based on '/usr/local/share/uno/Packages/Fuse.Entities/0.27.14/$.uno#5'.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Fuse.Entities.Component.h>
#include <Uno.Float3.h>
namespace g{namespace Fuse{namespace Entities{struct Entity;}}}
namespace g{name... | [
"johnrbennett3@gmail.com"
] | johnrbennett3@gmail.com |
c1854d2d6da0b2352d8fcbab3c92ca494c900e89 | 26d3688d1839717de6edec3aa6fa60fb1fe3483d | /src/math/primitives.cpp | 012ec156a1e8e678b8a82b9edc6e99a969cab824 | [
"MIT"
] | permissive | wouterboomsma/quickstep | 7d91c8070dca9f0d1d5ac30a38a9e159224a5e13 | a33447562eca1350c626883f21c68125bd9f776c | refs/heads/master | 2021-01-22T19:25:45.689105 | 2017-04-19T09:25:23 | 2017-04-19T09:25:23 | 88,726,115 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,979 | cpp | /*
LoopTK: Protein Loop Kinematic Toolkit
Copyright (C) 2007 Stanford University
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your o... | [
"fonseca.rasmus@gmail.com"
] | fonseca.rasmus@gmail.com |
8bd31d0be2430cecf878b20a8cc7820b355dbc48 | 1660665a327c1ae59d4ee58a75f35ffbb4da8601 | /code for data structure/qune/queue base array/queue_baseArray/QueType.cpp | bfc726e2486f407abfcae2334145ead6cbc8650f | [] | no_license | Abdo-Gamal/DataStructur | aed474f6655cf6fcf9ff9d4fa35c1a0d319dd781 | 236f2d0e2600e74e0b78f0d421ddc593da3f8952 | refs/heads/main | 2023-04-15T12:46:21.077046 | 2021-04-30T15:26:40 | 2021-04-30T15:26:40 | 363,175,499 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,798 | cpp | #include "QueType.h"
QueType::QueType(int max)
// Parameterized class constructor
// Post: maxQue, front, and rear have been initialized.
// The array to hold the queue elements has been dynamically
// allocated.
{
maxQue = max + 1; //as there are one place will be empty
front = maxQue - 1... | [
"abdulrahmangamalahmedgaber@gmail.com"
] | abdulrahmangamalahmedgaber@gmail.com |
11cf59d34e437c3fcf6a7c3823b9c83d1b013ef9 | b4881b5b71c66b5210bf05cf10bfd1cc1bf2822d | /modulo_gps/src/GPS_Management.cpp | 31c2be5c09171110f8a43634a739b2870291f80e | [] | no_license | grvcPerception/gps_measurements | 679798f0ef804453061a462dd0542f74235c5dc9 | 2a0ac64e7d11b5109fd8967a6b4f5d83c9607f1a | refs/heads/master | 2021-04-15T18:05:27.122187 | 2018-07-19T09:27:48 | 2018-07-19T09:27:48 | 126,209,958 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 34,096 | cpp | /**
@file GPS_Management.cpp
@brief Implementación de la clase GPS_Management
@author Carlos Amores
@date 2013,2014,2015
*/
#include <string.h>
#include "modulo_gps/GPS_Management.h"
using namespace std;
/**
* Constructor de la clase
*/
GPS_Management::GPS_Management(const char *pDev){
port_opened=false;... | [
"JLPaneque94@gmail.com"
] | JLPaneque94@gmail.com |
923cec86eae5210fa7b005d2022697ceabe42798 | d597d667bade224bc70b739205b454e3ec6e04ab | /effects/008_res.cpp | c172be9db84ae7fb92e0f05a3bc85557e6c02cb8 | [] | no_license | templeblock/lovefx | 09b1919b5e60c0f30a92cf0efb07ea407ebb46d0 | fb6a6b3c9c07119dd824c300b414d7fd3fd09d8b | refs/heads/master | 2021-04-29T08:10:59.302327 | 2016-03-07T17:59:55 | 2016-03-07T17:59:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,280 | cpp | #include "../startupfx.h"
#if (STARTUPFX_ID==8)
#include "../lovefx.hpp"
#include "../thirdparty/glm/glm.hpp"
#include "../thirdparty/glm/gtc/matrix_transform.hpp"
#include "../thirdparty/glm/gtc/type_ptr.hpp"
// ----------------------------------------------------------------------------- VARIABLES
GLuint fsquad;
LFX... | [
"largo.etf@gmail.com"
] | largo.etf@gmail.com |
091c5074c0c65595b953704519fe117492ecd28c | cfa94c2db14fbbe2558be933d00c26bec11c7b4b | /platform/win32/win32cpuid.cpp | 7c107212ca4a72b7b84b7f90a6c4ffe188f4595f | [] | no_license | bsdf/trx | 5c74ec9b03dff287b8d89e00cac37e78f13cd54f | 4de6530036d05021a95e19c99cefc94a0c80c303 | refs/heads/master | 2021-01-10T18:50:25.815304 | 2011-10-04T01:39:30 | 2011-10-04T01:39:30 | 2,496,549 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,972 | cpp | /* -*- Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 4 -*- */
/* vi: set ts=4 sw=4 expandtab: (add to ~/.vimrc: set modeline modelines=5) */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 ... | [
"EMAILBEN145@gmail.com"
] | EMAILBEN145@gmail.com |
96d5bf1f9af47ef52adc095fbc5ab40573811991 | 49a8e5ed3d46724984391d7c3c110553c5f4a4d9 | /Heap_Priority_Queues/ArrayMaxHeap.h | 24cc5d75af7e38a7a3679811bf3bec0522804560 | [] | no_license | EasonJia9598/Heap_Priority_Queues | 976a0d37a500ab0569724a159f6da1096cd4b19e | 34973441203d463c6f1bd1a05685bf89fa7bf062 | refs/heads/master | 2020-03-12T13:03:08.420591 | 2018-04-23T02:59:34 | 2018-04-23T02:59:34 | 130,632,841 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,229 | h | //
// ArrayMaxHeap.hpp
// HeapSort
//
// Created by WillJia on 08/04/2018.
// Copyright © 2018 Zesheng Jia A00416452. All rights reserved.
//
#ifndef ArrayMaxHeap_hpp
#define ArrayMaxHeap_hpp
#include <stdio.h>
#include "HeapInterface.h"
#include "PrecondViolatedExcep.h"
#include <math.h>
template <class ItemType... | [
"will.jia.sheng@gmail.com"
] | will.jia.sheng@gmail.com |
d583e1808c8c86bb88991ff804bde1dc886e4f35 | 1d8cff4ae94d2312c5386b6c64db795f18e7168e | /topics/openacc/solutions/diffusion/diffusion2d_openacc_mpi.cpp | fa76a4111e34b7ee3e37206b9e7cea1fa91dac73 | [] | no_license | pkestene/SummerSchool2017 | 3655257b338c5a85cba764ad39171e965a490901 | 5ff663029f896cc157e535dc09bf273262104052 | refs/heads/master | 2020-11-23T20:58:59.122116 | 2019-12-25T16:17:39 | 2019-12-25T16:17:39 | 227,818,602 | 1 | 0 | null | 2019-12-13T10:51:38 | 2019-12-13T10:51:37 | null | UTF-8 | C++ | false | false | 4,753 | cpp | #include <iostream>
#include <mpi.h>
#include "diffusion2d.hpp"
#include "util.h"
// 2D diffusion example
// the grid has a fixed width of nx=128
// the use specifies the height, ny, as a power of two
// note that nx and ny have 2 added to them to account for halos
int main(int argc, char** argv) {
// set up par... | [
"karakasis@cscs.ch"
] | karakasis@cscs.ch |
5a4918f7fbc5ac70c6ecf1a5170b0402dbd7961b | 4e8fb3672f0c561bf85bd8230c5492e4457f33d1 | /dev/src/GameEditor/InspectorProperty.cpp | ece4a78e7bcf9aeaea81b7884d69d79f20e215e9 | [] | no_license | lythm/ld3d | 877abefefcea9b39734857714fe1974a8320fe6c | 91de1cca7cca77c1f8eae8e8a9423abc34f9b38f | refs/heads/master | 2020-12-24T15:23:29.766231 | 2014-07-11T04:42:49 | 2014-07-11T04:42:49 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,089 | cpp | // InpsectorProperty.cpp : 实现文件
//
#include "stdafx.h"
#include "GameEditor.h"
#include "InspectorProperty.h"
#include "afxdialogex.h"
#include "InspectorPanel.h"
// CInpsectorProperty 对话框
IMPLEMENT_DYNAMIC(CInspectorProperty, CDialogEx)
CInspectorProperty::CInspectorProperty(CString name, ld3d::Property* pProp,... | [
"lythm780522@gmail.com"
] | lythm780522@gmail.com |
75a7d82a876f53a39dd91756ff2c66c4873420e6 | e1a09dc27075171d218ccc6f0021d655e62eb30d | /src/tssl/fileObject.h | 52bc66ab2c6563acf2c2961e762c2400ac612d8f | [] | no_license | bansheerubber/torquescript-interpreter | edae71fcd9fe5a4d4dc2d3e6cbd1ac2c20fac402 | 01779d678703a9b6ab70a225fd53b2c9a8a4b381 | refs/heads/master | 2023-08-21T18:03:57.582151 | 2021-10-02T23:58:17 | 2021-10-02T23:58:17 | 366,219,031 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,415 | h | #pragma once
#include <fstream>
#include <string>
#include "../interpreter/entry.h"
#include "../interpreter/object.h"
using namespace std;
namespace ts {
class Engine;
namespace sl {
enum FileObjectMode {
NOT_OPEN,
READ,
WRITE,
APPEND,
};
class FileObject {
public:
void open(const ch... | [
"gary.cactus.email@gmail.com"
] | gary.cactus.email@gmail.com |
929ad0669a5e208d7336b0efbbba37a7c8b54bba | 7d07a4453b6faad6cbc24d44caaa3ad1ab6ebe7f | /src/common/dircmn.cpp | b449b0c1d87b39fe7d65637bbe6242cece5103d6 | [] | no_license | rickyzhang82/wxpython-src-2.9.4.0 | 5a7fff6156fbf9ec1f372a3c6afa860c59bf8ea8 | c9269e81638ccb74ae5086557567592aaa2aa695 | refs/heads/master | 2020-05-24T12:12:13.805532 | 2019-05-17T17:34:34 | 2019-05-17T17:34:34 | 187,259,114 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,831 | cpp | ///////////////////////////////////////////////////////////////////////////////
// Name: src/common/dircmn.cpp
// Purpose: wxDir methods common to all implementations
// Author: Vadim Zeitlin
// Modified by:
// Created: 19.05.01
// RCS-ID: $Id: dircmn.cpp 71355 2012-05-04 20:35:31Z VZ $
// Copy... | [
"rickyzhang@gmail.com"
] | rickyzhang@gmail.com |
2e89ae4b9c904864b1afd73213dcb92176b23125 | 96eb30bbf3237b9419c254008ff5bac5c3ebc3ab | /multicord_v1/FC_01_ButtonAddition/FC_01_ButtonAddition.ino | 1519c268ea4a7ad0d2cb4faf9588773c87d0f993 | [] | no_license | dovydasgulbinas/arduino-projects | 238178e7d3302afef300a884b644759c1fbe9c6b | 5d4162d034eb090bb4db0b8fea8747a7fefbea6f | refs/heads/master | 2021-06-06T20:49:42.661729 | 2016-12-03T22:16:58 | 2016-12-03T22:16:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,179 | ino |
#include <Wire.h>
#include <TimerOne.h>
#define interruptPin_1 (2)// pin 0 hardware interrupt used for dimmer circuit
#define socketPin_B0 (3) // Socket pin BASIC0
#define socketPin_B1 (4) // Socket pin BASIC1
#define socketPin_D0 (5) //Socket pin w/ DIMMER
#define dimmerPin (6) //nuspresti veliau
#define buttonPin_... | [
"dovydasgulbinas@gmail.com"
] | dovydasgulbinas@gmail.com |
3e50a4f98b39c9fa10b7dfca4424aae6eba85db2 | fb825df2e5ac8de24e7a2495f212c45c06389c05 | /Drawing App/matrix.h | 63bb20eec3696e4ebe46904e8c1006db1152c6bf | [] | no_license | boesigerg/MSOE_Projects | 2b73d1086a9e1ae3e2a1227830a0d6c9a41a09ba | 43fe4c30b7e911c956a727510c82339a2777a140 | refs/heads/master | 2021-08-28T00:39:23.318223 | 2017-12-10T22:23:56 | 2017-12-10T22:23:56 | 113,696,824 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,466 | h | /**
* matrix.h - declaration of matrix class. This class will be
* capable of represting a Matrix as a first-class type.
*
* Do not change any public methods in this file unless otherwise instructed.
*
* For CS321. (c) 2014 Dr. Darrin Rothe
*/
// compile guard
#ifndef MATRIX_H
#define MATRIX_H
#include... | [
"noreply@github.com"
] | boesigerg.noreply@github.com |
9a08fcee80c1b26d28c713da839f2ace03656df7 | 0fe66feeb075fe5bf88b3b7da5c13c0d0da09dc1 | /SmartHouse/SmartHouseMain/Commands.h | de50d04223e462905a7b8cfc13427bfbf78c8436 | [] | no_license | loshadka1980/SmartHouse | 7f7e45afb4125585c7f835aa0c1fcdf45cf58242 | e007a26cd67bd74397f70bf8f4530519ff6790ff | refs/heads/master | 2021-01-10T07:35:05.919752 | 2016-04-09T21:58:28 | 2016-04-09T21:58:28 | 36,606,236 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 535 | h | #pragma once
#include <vector>
using SingleCommandDesc = std::pair<int, bool>;
struct CommandDesc
{
CommandDesc(){};
CommandDesc(const SingleCommandDesc& singleCommand){ listOfCommands.push_back(singleCommand); }
void addSingleCommand(int id, bool status)
{
listOfCommands.push_back(std::pair<int, bool>(id, stat... | [
"roschin001@ramble.ru"
] | roschin001@ramble.ru |
82e076cdf0ed017ee98e6c79a1f8334cdd161ac8 | 00e2c6ef96decc736ffce22e59dcdfffda478a5c | /1_sem_ZS_2019-20/ZPRPR1/programy/programy k prednaskam/02_prednaska/02p02.cpp | d5fcadc72ab97757b0b527b7f20953db1d6a56ad | [] | no_license | nfssfn/FIIT | cd69a9ca780a6275111d79963a2b7b38800db241 | 18e20826c5da0dc1f30c5af7771db48368e4e6ad | refs/heads/master | 2023-08-11T10:57:13.547550 | 2021-09-22T19:04:59 | 2021-09-22T19:04:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 279 | cpp | // realne konstanty: prevod cm na inch
#include <stdio.h>
int main()
{
int vyska_cm = 0xAA;
double vyska_inch;
vyska_inch = vyska_cm * .393701;
printf("vyska: %d cm = %f inch\n", vyska_cm, vyska_inch);
printf("vyska: %f mikrometrov\n\n", vyska_cm * 1e4);
return 0;
}
| [
"emmachac@gmail.com"
] | emmachac@gmail.com |
c0aa9cd8f6309fe7603006684692eb74af180e29 | 36fe018f06ce51d576eeb50b8601d0d386b19880 | /Lab/lab5test/Cat.cpp | f55a0bf5629d5df5f12fb2d190d5a53195749698 | [] | no_license | ParanoidMarvin0/CS115 | 50e18635aa72a383198454e45f9139d260ede5cf | 4a81a458d2736548dbe2771d7a22b87484772aeb | refs/heads/master | 2020-04-01T19:18:24.378470 | 2018-12-06T00:54:13 | 2018-12-06T00:54:13 | 153,547,325 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,991 | cpp | #include "Cat.h"
#include <iostream>
using namespace std;
void initCat (Cat& cat, double l, double h, double tL, string eC, string fCl, const string furCol[])
{
int i = 0;
cat.length = l;
cat.height = h;
cat.tailLength = tL;
cat.eyeColour = eC;
cat.furClassification = fCl; //long, medium, short, none... | [
"paranoidmarvin0@gmail.com"
] | paranoidmarvin0@gmail.com |
29b2e095777c9214cc1f91bc83d472fdfcf0f9e5 | 188fb8ded33ad7a2f52f69975006bb38917437ef | /Fluid/processor0/0.42/meshPhi | 4faca5d955e98e13d48a9b8bf039f5f9550ecd65 | [] | no_license | abarcaortega/Tuto_2 | 34a4721f14725c20471ff2dc8d22b52638b8a2b3 | 4a84c22efbb9cd2eaeda92883343b6910e0941e2 | refs/heads/master | 2020-08-05T16:11:57.674940 | 2019-10-04T09:56:09 | 2019-10-04T09:56:09 | 212,573,883 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,021 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
... | [
"aldo.abarca.ortega@gmail.com"
] | aldo.abarca.ortega@gmail.com | |
2ba92ed8fe68e0509dd5b08ea4dbbc9b88e41833 | 2536dc36d24a6c4783597f00e57fdd899189c4cb | /Multiples.cpp | 03b0df24399395e060617c8f1de5bc15a8f32ef1 | [
"MIT"
] | permissive | aaryan0348/E-Lab-Object-Oriented-Programming | 363a2375cba9e89c5d50a0d84a3cc7cb644a9f6c | 29f3ca80dbf2268441b5b9e426415650a607195a | refs/heads/master | 2020-07-11T23:34:14.945864 | 2019-09-04T09:17:20 | 2019-09-04T09:17:20 | 204,666,504 | 0 | 0 | MIT | 2019-08-27T14:50:35 | 2019-08-27T09:20:35 | null | UTF-8 | C++ | false | false | 327 | cpp | #include <iostream>
using namespace std;
class base
{
public:
virtual void mTable()=0;
};
class derived:public base
{
public:int a;
void mTable(){for(int i=0;i<5;i++)cout << a*(i+1)<<" ";};
void input(){cin >> a;}
};
int main()
{
base *b;
derived d;
b=&d;
d.input();
b->mTable();
retur... | [
"noreply@github.com"
] | aaryan0348.noreply@github.com |
c08bd1a2e30058134c1339d14f6b7246069f3a57 | 4ad26968ff4256966992edb434570332b8cb5853 | /HairChange/HairChange/boost/compute/random/bernoulli_distribution.hpp | 8a88236f7bdc1f2e97dbbc1ac03c945fdd8c5660 | [
"MIT"
] | permissive | daliborristic883/HairColorChange | 582bcbe5dfd9f670438e1d770b8221c756929640 | 286ef0a8c89c4f63072ee8c8404178aac897cad5 | refs/heads/master | 2022-08-02T04:25:35.032365 | 2020-05-29T19:48:25 | 2020-05-29T19:48:25 | 267,933,189 | 19 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 2,852 | hpp | //---------------------------------------------------------------------------//
// Copyright (c) 2014 Roshan <thisisroshansmail@gmail.com>
//
// 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
//
// See http://b... | [
"daliborristic883@gmail.com"
] | daliborristic883@gmail.com |
e97c8a56a3856893a599cbf85e633ff1f58a5c22 | ee0b1e7bcb3f6feb57ef7475ec0e8369f41f0bb3 | /Array/CombinationSum.cpp | efb2f5977044cc78cf13432131ceb4a951ab2a09 | [] | no_license | AlexLai1990/LintCode_OJ_-_- | c9d3cfa7f83a61ba98c36c59950ae28cdeb905f0 | 9125c384e6f75b1039546727f1d41a165645d645 | refs/heads/master | 2020-12-24T08:18:09.293613 | 2015-03-16T07:11:57 | 2015-03-16T07:11:57 | 27,499,993 | 2 | 1 | null | 2016-08-09T00:24:48 | 2014-12-03T17:56:49 | C++ | UTF-8 | C++ | false | false | 1,204 | cpp | class Solution {
public:
/**
* @param candidates: A list of integers
* @param target:An integer
* @return: A list of lists of integers
*/
vector<vector<int> > combinationSum(vector<int> &candidates, int target) {
// write your code here
vector<vector<int> > m_ret;
if ... | [
"xincheng.lai@gmail.com"
] | xincheng.lai@gmail.com |
4cc33c5b2b8f8ff36cf15ad1b421e4fbdb444692 | b7cb693df78d0b79ef52ee9ed5e31abe9cfafbac | /C++Tut/PrintingMDArrays_35.cpp | 973a41854dc83062198012d6d90e9719b93609af | [
"MIT"
] | permissive | dedhun/Ded_CP | 43dbda6a5448772be2ef002bb51577306be284ac | 593abfbf703199f748633600041c251c39d76cfe | refs/heads/master | 2022-11-07T04:41:23.275173 | 2020-06-25T00:33:32 | 2020-06-25T00:33:32 | 274,648,638 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 340 | cpp | //
// Created by Jihun on 6/24/2020.
//
#include <iostream>
using namespace std;
int main() {
int bertha[2][3] = {{1, 2, 3}, {7, 8 , 9}};
for (int row=0; row < 2; row++) {
for (int column = 0; column < 3; column++) {
cout << bertha[row][column] << " ";
}
cout ... | [
"noreply@github.com"
] | dedhun.noreply@github.com |
a968bcd8bb087fd57c43dc7446b224f664436f54 | d31c4ca988650b26a2998d3d62d659c878325402 | /Table.cpp | 6a256b435e00333a5609cf81a6bd9aba15e7844b | [] | no_license | msalguero/ProyectoOrganizacion | e911598c19df93c5927d06f2db36de4d91e758a2 | 5a7d0785b1fb94275b645980ccdaec2713b76125 | refs/heads/master | 2020-05-19T15:47:39.191822 | 2014-12-16T02:28:07 | 2014-12-16T02:28:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,040 | cpp | #include "Table.h"
#include <QDebug>
Table::Table(char* nombre="")
{
//ctor
metaData = new MetaDataReg(nombre);
// metaData->setName(nombre);
registros = new Lista<Register*>();
}
Table::~Table()
{
//dtor
}
void Table::agregarRegistro(char* data)
{
Register* registro = new Register(metaData);
... | [
"msalguero@unitec.edu"
] | msalguero@unitec.edu |
0902ba34f4568bb664714965894a661628738fa6 | bd1fea86d862456a2ec9f56d57f8948456d55ee6 | /000/067/946/CWE122_Heap_Based_Buffer_Overflow__cpp_CWE193_char_memcpy_73b.cpp | ff24a997d22a6094f41bd683100073d696a046a1 | [] | no_license | CU-0xff/juliet-cpp | d62b8485104d8a9160f29213368324c946f38274 | d8586a217bc94cbcfeeec5d39b12d02e9c6045a2 | refs/heads/master | 2021-03-07T15:44:19.446957 | 2020-03-10T12:45:40 | 2020-03-10T12:45:40 | 246,275,244 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,900 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE122_Heap_Based_Buffer_Overflow__cpp_CWE193_char_memcpy_73b.cpp
Label Definition File: CWE122_Heap_Based_Buffer_Overflow__cpp_CWE193.label.xml
Template File: sources-sink-73b.tmpl.cpp
*/
/*
* @description
* CWE: 122 Heap Based Buffer Overflow
* BadSource: Allocate mem... | [
"frank@fischer.com.mt"
] | frank@fischer.com.mt |
3d512a3db41778cbb1175a3b03aa01c867f7fda8 | 40f25cc8b7f86bb04afbdba88aea16243a3143c1 | /NUMB3RS/numb3rs.cpp | 44494e3b5ccc7203a84d76a321361b1f663369bb | [] | no_license | rlaskarb09/AlgorithmProblemSolvingStrategies | 5b342f30fc6c44b29da5e4e9770de7975439af74 | 30aef078a23e2c9ff90a9048c8b01321d8405398 | refs/heads/main | 2023-01-13T22:41:58.026992 | 2020-11-04T06:23:16 | 2020-11-04T06:23:16 | 304,533,112 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,879 | cpp | #include <bits/stdc++.h>
using namespace std;
const int MAX_TEST_CASES = 50;
const int MAX_CITIES = 50;
const int MAX_DAYS = 100;
double transfer[MAX_CITIES][MAX_CITIES];
double locateProb[MAX_DAYS + 1][MAX_CITIES];
void calcLocateProb(int numOfCities, int days) {
for (int i = 1; i <= days; ++i) {
for (... | [
"rlaskarb09@naver.com"
] | rlaskarb09@naver.com |
0bc536af5c46d15aa2d7ae5e726ba313235e1094 | 6c6ac89ff6f86ad25396e5a90944e94efefbad38 | /source/RSErasureEncoder.cpp | 00c963a748b895104d09b1b8400ed6278088b377 | [] | no_license | mattlentz/ebn-sddr | dbc1614111eb73ef36770e519e1ed63290f34174 | 0573df54fe672321f4c30e009e0309b890d9f6d1 | refs/heads/master | 2021-04-09T16:46:46.889716 | 2015-05-28T18:57:30 | 2015-05-28T18:57:30 | 21,573,151 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,591 | cpp | #include "RSErasureEncoder.h"
extern "C"
{
#include "jerasure/jerasure.h"
#include "jerasure/reed_sol.h"
}
using namespace std;
RSErasureEncoder::RSErasureEncoder(const RSMatrix &matrix)
: matrix_(matrix),
partSymbols_(matrix.getNumParts()),
partSymbolPtrs_(matrix.getNumParts()),
symbols_((matrix.K... | [
"mlentz@cs.umd.edu"
] | mlentz@cs.umd.edu |
27f3063403114099561a9d151fc46c79c1fb05ec | 9fbb56ec06ecbb1c8b864164def247ad8d6aa64e | /Lecturer.cpp | 4f481083641102357bdfe388d1929c3e97680f01 | [] | no_license | hadeson/USTHStudentManagement_NEW | fd8209c2613d38bd9d1e31262b26ebeb5c599e86 | 6ab9ed48193217c2bcd51c65803c6e4939bbe3a6 | refs/heads/master | 2016-09-06T08:38:01.110178 | 2014-03-21T06:30:05 | 2014-03-21T06:30:05 | 17,580,902 | 0 | 2 | null | 2014-03-10T04:00:56 | 2014-03-10T03:38:14 | C++ | UTF-8 | C++ | false | false | 815 | cpp | #include "Lecturer.h"
Lecturer::Lecturer():Person() {
}
Lecturer::~Lecturer() {
field = "";
title = "";
years = 0;
}
Lecturer::Lecturer (int id, string name, string dOB, string address,
string field, string title, int years)
:Person (id, name, dOB, address) {
this->field = field;
this->title = titl... | [
"caothanhson94@gmail.com"
] | caothanhson94@gmail.com |
6deae650fc3f54b9ff351af99a5664f10489bd6a | 69957429158cc2baff2b718b8d0e54c4dd4661b8 | /chap07/list0709.cpp | 4064ded6a6de91b3d817b3e3f5674e5087968546 | [] | no_license | chc1129/MeikaiCpp | d7bbbab37a7f7ab7de5d467d097ef2dd8b5ad5f4 | 4140133fbb87f9644ce62aa1b2ef470b16afca72 | refs/heads/main | 2023-04-12T13:39:55.451715 | 2021-05-02T02:12:13 | 2021-05-02T02:12:13 | 357,937,061 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 723 | cpp | // 配列の要素の並びを反転する(関数版)
#include <iostream>
using namespace std;
//--- 要素数nの配列aの並びを反転する ---//
void reverse(int a[], int n)
{
for (int i = 0; i < n / 2; i++) {
int t = a[i];
a[i] = a[n - i - 1];
a[n - i - 1] = t;
}
}
int main()
{
const int n = 5; // 配列cの要素数
int c[n];
for (int i = 0; i < n... | [
"chc1129@gmail.com"
] | chc1129@gmail.com |
c4fb5092dec43e6ea5f4920081cd909a5094c59d | 3901c417970b095021a284dac0ce6eabc9e1db1e | /include/terrainclass.h | cfffa3238aaddda3f343d9d5b365073b8d6555d8 | [] | no_license | manituan/DirectX-10-Engine | 518e85f2e29b03b22b729dcf8ef98a4409d2e373 | a922cf299c18aeb45db4af0545faa280c823eb29 | refs/heads/master | 2021-01-19T08:15:51.227389 | 2012-05-12T13:32:59 | 2012-05-12T13:32:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,788 | h | ////////////////////////////////////////////////////////////////////////////////
// Filename: terrainclass.h
////////////////////////////////////////////////////////////////////////////////
#ifndef _TERRAINCLASS_H_
#define _TERRAINCLASS_H_
/////////////
// GLOBALS //
/////////////
const int TEXTURE_REPEAT =... | [
"manituan@gmail.com"
] | manituan@gmail.com |
1636bb65dec99f9e3ed8e56294e8d6746539004a | 542c81463a14d3918b986a1f997e1dde4bad6ca1 | /lamp_basic.ino | 94bf1efdc0067ce516632f5c627917092699d420 | [
"MIT"
] | permissive | westberliner/lamp_basic | 0d5d368164c2015208ce4422572457382d8f12cf | 6e900e8d013c68075f49150da11830d1ce7ac113 | refs/heads/master | 2021-01-21T17:24:09.760821 | 2017-05-21T11:05:43 | 2017-05-21T11:05:43 | 91,951,046 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,314 | ino | /**
* lamp basic
* sleep time - https://github.com/esp8266/Arduino/issues/1381
* connects to wifi
* connects to mqtt
* just waits and toggle lamp
*
*/
/**
* GPIO Mapping
* static const uint8_t D0 = 16; // Reset - Deep Sleep
* static const uint8_t D1 = 5;
* static const uint8_t D2 = 4;
* static c... | [
"patrick@westberliner.net"
] | patrick@westberliner.net |
8a343254c721ffa95425e7e13b649ebbb3c6a054 | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/squid/old_hunk_5060.cpp | fb233487d06c6ad1ec3b935579c4fdf41a3e6e60 | [] | no_license | ccdxc/logSurvey | eaf28e9c2d6307140b17986d5c05106d1fd8e943 | 6b80226e1667c1e0760ab39160893ee19b0e9fb1 | refs/heads/master | 2022-01-07T21:31:55.446839 | 2018-04-21T14:12:43 | 2018-04-21T14:12:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 340 | cpp | req->action = xstrdup(q);
}
make_pub_auth(req);
debug(1) fprintf(stderr, "cmgr: got req: host: '%s' port: %d uname: '%s' passwd: '%s' auth: '%s' oper: '%s'\n",
safe_str(req->hostname), req->port, safe_str(req->user_name), safe_str(req->passwd), safe_str(req->pub_auth), safe... | [
"993273596@qq.com"
] | 993273596@qq.com |
8e8ac9244adddbedb4b47877a067918f1f9dbd8b | a7e734a32c5684c229da502ef57edb3c69a65885 | /add_edit_forms/addoredit_gak_bally.cpp | 2b6a000cbfd0edb0c612e71d7b9593ca85feb5c9 | [] | no_license | lingnanxiaocai666/kafpocs | 8eb57f3105006fde424284f7cc334de8161cc767 | f3302e875232cc1eb3e07c4555e97dd78f2ab7db | refs/heads/master | 2021-05-17T06:55:54.337849 | 2014-05-14T09:08:13 | 2014-05-14T09:08:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,737 | cpp | #include "addoredit_gak_bally.h"
#include "ui_addoredit_gak_bally.h"
#include "delegates/readonlydelegate.h"
#include "delegates/checkboxdelegate.h"
#include "delegates/spinboxdelegate.h"
addoredit_gak_bally::addoredit_gak_bally(QWidget *parent, int id_gak) :
QDialog(parent),
id_gak(id_gak),
ui(new Ui::add... | [
"kanbodows@mail.ru"
] | kanbodows@mail.ru |
396207f18cac34261e5eebee5a4e14c73f3f4fc6 | 3e4fd5153015d03f147e0f105db08e4cf6589d36 | /Cpp/SDK/GenericResourceWidget_functions.cpp | 3c618dc8d43247ac0f7706a689dbefcd5abc99df | [] | no_license | zH4x-SDK/zTorchlight3-SDK | a96f50b84e6b59ccc351634c5cea48caa0d74075 | 24135ee60874de5fd3f412e60ddc9018de32a95c | refs/heads/main | 2023-07-20T12:17:14.732705 | 2021-08-27T13:59:21 | 2021-08-27T13:59:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,631 | cpp | // Name: Torchlight3, Version: 4.26.1
#include "../pch.h"
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Functions
//---------------------------------------------... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
9b04a8404a9944b729fb791c40bf78e2930f9943 | a5ab2164769f7ddfdb5c8406f5c145821562442d | /Charts/vtkPlotLine.cxx | 28ae83a0f3299781b7337b49327cc9d3becd1fb1 | [
"BSD-3-Clause"
] | permissive | huayang/VTK | 68c7e59a54503dc5c368f5ee2de455d59a2a9e79 | 98226aade65cd9ecf3f7bcfbe26967a8f6687ce1 | refs/heads/master | 2021-01-17T16:25:42.602388 | 2010-05-16T19:09:49 | 2010-05-16T19:09:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,859 | cxx | /*=========================================================================
Program: Visualization Toolkit
Module: vtkPlotLine.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is d... | [
"marcus.hanwell@kitware.com"
] | marcus.hanwell@kitware.com |
ed0e51fe555ad399efdff01564e932f8bdcce4b1 | dfc94e9e7dfc9adaf3c6730ae874acd59a1a3232 | /Source/Engine/World/Entities/E_SoundEmitter.h | 9cc3c9e56c7c701ada94daa30836b0c12a47a6fa | [] | no_license | joeriedel/Radiance | c0685d924e3d9414ee2f40047dd9c07f78317261 | 557ba94e7a55635561ab8776682b6aac1454ccea | refs/heads/master | 2021-01-09T20:05:23.177522 | 2014-10-27T02:00:10 | 2014-10-27T02:00:10 | 60,389,459 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 672 | h | // E_SoundEmitter.h
// Copyright (c) 2010 Sunside Inc., All Rights Reserved
// Author: Joe Riedel
// See Radiance/LICENSE for licensing terms.
#pragma once
#include "../Entity.h"
#include <Runtime/PushPack.h>
namespace world {
class RADENG_CLASS E_SoundEmitter : public Entity
{
E_DECL_BASE(Entity);
public:
E_Sou... | [
"joe@sunsidegames.com"
] | joe@sunsidegames.com |
4494a9b88539b3d09c9fb07f8db2bc8b240c5365 | 818919bf2b335ee5faf8a282dc1eecf034a656e2 | /sources/src/streamitemwidget.cpp | 0f0834115f41289367f8ce7ec623a25b2fa06a84 | [] | no_license | Oyuret/liveGUIMobile | a373d051a7664b41fe381ce5f36252a1b363187c | e764c16d808bc246c18d8b176b09cc1b0d1abac0 | refs/heads/master | 2021-01-23T13:28:48.197539 | 2014-09-09T14:40:13 | 2014-09-09T14:40:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 777 | cpp | #include "../include/streamitemwidget.h"
#include "ui_streamitemwidget.h"
StreamItemWidget::StreamItemWidget(const Stream &stream) :
QWidget(),
ui(new Ui::StreamItemWidget),
stream(stream)
{
ui->setupUi(this);
ui->streamerName->setText(stream.getDisplayName());
ui->gameText->setText(stream.getG... | [
"yuris@kth.se"
] | yuris@kth.se |
31339713c8864fcad45b9a70ffd62abe39703e00 | 05e1f94ae1a5513a222d38dfe4c3c6737cb84251 | /Mulberry/branches/users/kenneth_porter/FromTrunk/Sources_Common/HTTP/HTTPClient/CHTTPRequestResponse.h | 1bb8cdad27a1abd30d84cd932d66472cc1234cb8 | [
"Apache-2.0"
] | permissive | eskilblomfeldt/mulberry-svn | 16ca9d4d6ec05cbbbd18045c7b59943b0aca9335 | 7ed26b61244e47d4d4d50a1c7cc2d31efa548ad7 | refs/heads/master | 2020-05-20T12:35:42.340160 | 2014-12-24T18:03:50 | 2014-12-24T18:03:50 | 29,127,476 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,764 | h | /*
Copyright (c) 2007 Cyrus Daboo. 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 re... | [
"svnusers@a91246af-f21b-0410-bd1c-c3c7fc455132"
] | svnusers@a91246af-f21b-0410-bd1c-c3c7fc455132 |
a705f7c3d2dd188e9b083600c802d3d284f498f1 | 629ca14b68ad60ff69bb5c07dccc87ec36b57920 | /Mutex/incrementworker.cpp | 42d16426ea9d20f43c1525b23da7ad33ba3bdf1f | [] | no_license | djhamo/UDEMY_curso_Multi-Threading_IPC_Qt_C | b7d54965e080052af8679156db291602775eb250 | 52263e8c75eea9d570109bea44d4ee0237f885a8 | refs/heads/main | 2023-03-28T05:56:14.621716 | 2021-03-15T17:01:38 | 2021-03-15T17:01:38 | 348,054,126 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 312 | cpp | #include "incrementworker.h"
IncrementWorker::IncrementWorker(bool *stop, PrintDevice *print_device, QObject *parent):
QThread(parent), m_stop(stop), m_print_device(print_device)
{
}
void IncrementWorker::run()
{
while(!(* m_stop)) {
msleep(1500);
m_print_device->increment();
}
}
| [
"djhamo@gmail.com"
] | djhamo@gmail.com |
a21ddc7dbf58456a6b4a6e8bfe713497c07a01e4 | 5f9872ab687193d58145d05fedfa196c8184551a | /include/grpc_cb/server.h | 8457df2485b88a71c31dd6cd894c16fd70f89a5e | [
"Apache-2.0"
] | permissive | parkheeyoung/grpc_cb | aa03f8fff908bc2d490a44c0dd75f0013b3ddc2a | 1c666f9a9d8757585274984eaaaad1211769486a | refs/heads/master | 2020-06-14T01:37:16.133440 | 2016-12-04T08:23:23 | 2016-12-04T08:23:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,180 | h | // Licensed under the Apache License, Version 2.0.
// Author: Jin Qing (http://blog.csdn.net/jq0123)
#ifndef GRPC_CB_SERVER_H
#define GRPC_CB_SERVER_H
#include <unordered_map>
#include <vector>
#include <grpc/support/time.h> // for gpr_inf_future()
#include <grpc_cb/impl/completion_queue_sptr.h> // for Completion... | [
"jinq0123@163.com"
] | jinq0123@163.com |
03cf2d230d5c1c383e4086c5f90c154d3f7cf618 | c2d270aff0a4d939f43b6359ac2c564b2565be76 | /src/components/variations/service/variations_service.cc | cfe54772e8feb7514488b8403e90007781c1da48 | [
"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 | 31,966 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/variations/service/variations_service.h"
#include <stddef.h>
#include <stdint.h>
#include <utility>
#include <vector>
#include... | [
"rdeshm0@aptvm070-6.apt.emulab.net"
] | rdeshm0@aptvm070-6.apt.emulab.net |
539a947abcff63eca30c7f836e023cc842a54bfa | 8663abfc8bbaf09af99dcba5ec88aac752d2e28e | /DP_speed_planner/include/DP_speed_planner.h | 9c5655a0032e48cb3741042caad4a2c03c107a52 | [] | no_license | owenliu-rdc/apollo_and_-autoware_path_planner | 7a393cd581fccde13a2fc53a2cebdb0aef44b1b0 | 762c06b71cfb848e314e2d8ea3ace4b37083a109 | refs/heads/master | 2023-08-27T04:54:56.708092 | 2020-09-27T01:43:08 | 2020-09-27T01:43:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,989 | h |
#include <array>
#include <vector>
#include <iostream>
#include <limits>
#include <algorithm>
#include <unordered_map>
#include <string>
#include <memory>
#include <future> // std::async, std::future
#include <chrono> // std::chrono::milliseconds
class Box2d
{
public:
Box2d(const std::vector<double> ¢er, cons... | [
"373605178@qq.com"
] | 373605178@qq.com |
17c58a2d16ab716e76504594e711fdb4c2a7d566 | 6460d398e781345c129b960bbc338aa3973e50bf | /Server/CommandSystem/CommandCharacter/CommandCharacterDrop.cpp | 85c524669c4abd1d0884d2cb291c69020c9576c8 | [] | no_license | gaoyang853/Mahjong_Server | 2d1f8bfe72ba63b681f0a4ecfeee41aa6f777c69 | 86df209d45671c52c2a146437affc9e30f66d742 | refs/heads/master | 2021-06-22T01:39:05.546585 | 2017-08-23T16:24:43 | 2017-08-23T16:24:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 821 | cpp | #include "CommandHeader.h"
#include "CharacterPlayer.h"
#include "PacketHeader.h"
#include "NetServer.h"
#include "CharacterData.h"
void CommandCharacterDrop::execute()
{
CharacterPlayer* player = static_cast<CharacterPlayer*>(mReceiver);
player->dropMahjong(mIndex);
SCRequestDropRet* requestDropRet = static_cast... | [
"785130190@qq.com"
] | 785130190@qq.com |
022922e7433d7f4aacf7c6b84284f2130c070355 | 55d560fe6678a3edc9232ef14de8fafd7b7ece12 | /boost/circular_buffer/base.hpp | 756bd13eb0408123ac460c1a7fc1f1443f74b1eb | [
"BSL-1.0"
] | permissive | stardog-union/boost | ec3abeeef1b45389228df031bf25b470d3d123c5 | caa4a540db892caa92e5346e0094c63dea51cbfb | refs/heads/stardog/develop | 2021-06-25T02:15:10.697006 | 2020-11-17T19:50:35 | 2020-11-17T19:50:35 | 148,681,713 | 0 | 0 | BSL-1.0 | 2020-11-17T19:50:36 | 2018-09-13T18:38:54 | C++ | UTF-8 | C++ | false | false | 157,279 | hpp | // Implementation of the base circular buffer.
// Copyright (c) 2003-2008 Jan Gaspar
// Copyright (c) 2013 Paul A. Bristow // Doxygen comments changed.
// Copyright (c) 2013 Antony Polukhin // Move semantics implementation.
// Copyright (c) 2014 Glen Fernandes // C++11 allocator model support.
// Use, modi... | [
"james.pack@stardog.com"
] | james.pack@stardog.com |
d463eaf0fd8aebb08432c4ba8e805402b1e539be | f4043b2fb90fe7f956d959df8c421760ef1d5fab | /ch11/copy2.cpp | 08af757eeb3b4f74598655b6ab0884ff22a631d0 | [
"MIT"
] | permissive | bashell/CppStandardLibrary | 41de8c71e119521b3f878eb24dbf6b8daba1c1e0 | 2aae03019288132c911036aeb9ba36edc56e510b | refs/heads/master | 2020-12-30T22:09:10.049502 | 2017-02-15T07:11:13 | 2017-02-15T07:11:13 | 68,666,712 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 564 | cpp | #include "algostuff.hpp"
using namespace std;
int main()
{
vector<char> source(10, '.');
for(int c = 'a'; c <= 'f'; ++c)
source.push_back(c);
source.insert(source.end(), 10, '.');
PRINT_ELEMENTS(source, "source: ");
vector<char> c1(source.cbegin(), source.cend());
copy(c1.cbegin()+... | [
"nju.liuc@gmail.com"
] | nju.liuc@gmail.com |
f01f0ea50771b5771121435d720705730402d4d3 | a17207bda73fe017746b90f1d85e96f0326454aa | /week_01/code_wars/myeong/200828_GetMiddle.cpp | fb1b94234dbbad922b167b630436aac4ce7a1d08 | [] | no_license | st102/2020-1st-St102-Algorithm-Sprint | 6ad494edb626b63533c8ac00f23d1a16f913bd2b | 85a9d961895170f47da85df84dde99ea5a545861 | refs/heads/master | 2022-12-20T16:12:58.098292 | 2020-10-06T07:52:44 | 2020-10-06T07:52:44 | 289,298,228 | 0 | 1 | null | 2020-10-10T06:28:17 | 2020-08-21T15:07:03 | C++ | UTF-8 | C++ | false | false | 302 | cpp | std::string get_middle(std::string input)
{
int mid;
mid=input.length()/2;
if ( input.length()==1 ) {
return input;
}
else if ( input.length()%2==1 && input.length()!=1 ) {
return input.substr(mid,1);
}
else if ( input.length()%2==0 ) {
return input.substr(mid-1,2);
}
} | [
"mg0454@naver.com"
] | mg0454@naver.com |
d461d590c669d3556b8d5dd8b6c8202348640933 | de75637338706776f8770c9cd169761cec128579 | /VHFOS/Viet heroes - Fight or Surrender/RealisticWater.h | dc0520c7d725002b13d58b08bfb4f9b145268dce | [
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-other-permissive"
] | permissive | huytd/fosengine | e018957abb7b2ea2c4908167ec83cb459c3de716 | 1cebb1bec49720a8e9ecae1c3d0c92e8d16c27c5 | refs/heads/master | 2021-01-18T23:47:32.402023 | 2008-07-12T07:20:10 | 2008-07-12T07:20:10 | 38,933,821 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,041 | h | /*
* Copyright (c) 2007, elvman
* 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 co... | [
"doqkhanh@52f955dd-904d-0410-b1ed-9fe3d3cbfe06"
] | doqkhanh@52f955dd-904d-0410-b1ed-9fe3d3cbfe06 |
e094d503e9bf5dc846fb0b53226eb1006a622981 | e1831f6315475599eff1d05b20e44f7b9413517f | /SafeComplan/src/utils/generatetrajectory.cpp | ac6d02cc947f56688c68201213f959901566142e | [
"BSD-3-Clause"
] | permissive | vighv/mae6770project | bf2ba350bd73a08aa72a334c87babf9346966100 | 091c518292b3363fce56f9015d4ef4a979f9a60c | refs/heads/master | 2021-08-28T03:03:18.094703 | 2017-12-11T04:30:07 | 2017-12-11T04:30:07 | 111,724,737 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,847 | cpp | #include <iostream>
#include <fstream>
#include <sys/time.h>
#include "stdlib.h"
#include "primitive.h"
#include "readinputs.h"
#include "extractoutput.h"
unsigned int max_traj_length = 30;
void generateZ3File(prim_vec_t , pos_vec_t , workspace_t );
void printTimeDifference(double wcts, double wcte)
{
double dur... | [
"vv94@cornell.edu"
] | vv94@cornell.edu |
e841c39c39cefc5defb130beca93aef20ef20766 | 5fafb2bdfa0b886a51b35b6414b694ae7e78c811 | /src/test/script_P2PKH_tests.cpp | 31e78566339ecc884fb688226dea5691f4529c3c | [
"MIT"
] | permissive | ahayder/Wolfcoin | 0dcc2322a19136a211360e8eea68d28495eba7d1 | 3bf0122e2bdd242af8c0e4435372874abe867194 | refs/heads/master | 2020-04-23T17:48:42.224491 | 2019-03-04T12:29:58 | 2019-03-04T12:29:58 | 171,345,315 | 1 | 0 | MIT | 2019-02-18T19:42:21 | 2019-02-18T19:42:20 | null | UTF-8 | C++ | false | false | 2,245 | cpp | // Copyright (c) 2012-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "script/script.h"
#include "test/test_wolfcoin.h"
#include <boost/test/unit_test.hpp>
BOOST_FIXTURE_TEST_SUITE(scr... | [
"BigBitsCode@gmail.com"
] | BigBitsCode@gmail.com |
c32854d6d41becd5870954b3bb9c228c3d371587 | 5d01a2a16078b78fbb7380a6ee548fc87a80e333 | /ETS/EtsEod/EtsEodManager/EodCommandLineInfo.h | 838b8fba3df80e1fcab8ddb9c112e9c5dcee5101 | [] | no_license | WilliamQf-AI/IVRMstandard | 2fd66ae6e81976d39705614cfab3dbfb4e8553c5 | 761bbdd0343012e7367ea111869bb6a9d8f043c0 | refs/heads/master | 2023-04-04T22:06:48.237586 | 2013-04-17T13:56:40 | 2013-04-17T13:56:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 398 | h | #pragma once
#include "afxwin.h"
class CEodCommandLineInfo :
public CCommandLineInfo
{
public:
CEodCommandLineInfo(void) : m_bIsBackground(false) {};
~CEodCommandLineInfo(void) {};
virtual void ParseParam(const TCHAR* pszParam, BOOL bFlag, BOOL bLast);
#ifdef _UNICODE
virtual void ParseParam(const ch... | [
"chuchev@egartech.com"
] | chuchev@egartech.com |
b21c63d75dd48118d04938eb57f2680c00fb43d7 | f9276bd683b37570f26483b32652e1d6816940b2 | /server/sawa_admin.h | b9b83b12329dc237ae8a36f8014d344f8bf68c30 | [] | no_license | lpoulain/SaWa | 81d73f39b64f69436ec4c5206afcb3f74b2bd65a | 1994be6c1620c5286468c8e0ac700219c34d60af | refs/heads/master | 2020-03-09T22:00:24.231423 | 2018-06-18T03:04:12 | 2018-06-18T03:04:12 | 129,024,473 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 308 | h | class AdminInterface {
int socket_desc;
pthread_t *thread;
void statCommand(int);
void processCommand(int, uint8_t *, int);
void readCommand(int);
static void *connectionHandler(void *);
public:
AdminInterface();
~AdminInterface();
};
extern AdminInterface *admin;
| [
"laurent.poulain@gmail.com"
] | laurent.poulain@gmail.com |
cab372c10a75c89a03d7702b271ca2c2b7422a1a | fbc3b7b48bdcc58bdcad5cdc70835939cc5e8d63 | /Projects/MasterMindConsole/MastermindGameApp.cpp | 25ad7f9b73af53bd5460f8eb606207c094dc02a4 | [] | no_license | cyrjac/CppExample | 39d1e734e89bf432d8ba27ae85dd0468ddc70bf5 | d8b0027ef38ed897e63750d5e4bd78f2237ed88e | refs/heads/main | 2023-02-13T05:26:25.582074 | 2021-01-04T18:57:16 | 2021-01-04T18:57:16 | 313,106,901 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,136 | cpp | // MastermindGameApp.cpp : Ce fichier contient la fonction 'main'. L'exécution du programme commence et se termine à cet endroit.
//
#include <iostream>
#include <string>
#include "MastermindUserPlays.h"
#include "MastermindAlgoPlays.h"
#include "MastermindGameApp.h"
int main()
{
bool wIsRunning = true;
std:... | [
"cyrjac@outlook.com"
] | cyrjac@outlook.com |
503c533d95c0af5ff01aca4d25eea660cca19fcc | 783be3f6e5147efa8f1b415776cbab70dc481a03 | /torch/csrc/distributed/c10d/reducer.h | 6606cf6488e3cae9728f00455450746dcb42b9e9 | [
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla",
"Apache-2.0",
"BSD-2-Clause"
] | permissive | mkolod/pytorch | d6a5fc5336adc15cca6243554083970d1dde8ae5 | 7ae0263e1bf1482cba79361f991d11a85b35cde6 | refs/heads/master | 2020-05-04T19:03:05.751038 | 2019-04-03T21:37:54 | 2019-04-03T21:43:07 | 179,377,415 | 0 | 0 | NOASSERTION | 2019-04-03T22:08:22 | 2019-04-03T22:08:22 | null | UTF-8 | C++ | false | false | 5,285 | h | #pragma once
#include <atomic>
#include <memory>
#include <mutex>
#include <tuple>
#include <unordered_map>
#include <vector>
#include <c10d/ProcessGroup.hpp>
#include <torch/csrc/autograd/function.h>
#include <torch/csrc/autograd/variable.h>
namespace c10d {
class Reducer {
public:
// The constructor takes a ve... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
14d17c5fedb2495a290a39b5e6e8208f4f44629f | ac28172d0892a8c5f71f7d037687854dc2315b48 | /src/qt/coincontroldialog.cpp | e5e3072f19761605461649cd4a895fc2e62d45bf | [
"MIT"
] | permissive | biyanzu029201/ASEAN-Coin-Cash | d7005b2df21b722c8cd48ea0a0f3d4181e7ac64e | fd51982ffb12e3604acbefb1e9673f9a5e72d4d4 | refs/heads/master | 2020-04-02T03:57:35.217521 | 2018-10-21T09:38:03 | 2018-10-21T09:38:03 | 153,991,195 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 37,916 | cpp | // Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "coincontroldialog.h"
#... | [
"ernestovps@gmail.com"
] | ernestovps@gmail.com |
18123968ff62c75ddb1b746f088b5c8b757f50bc | eac24bb9ac49967d531dda4e169664e74e85d2ba | /a_motor_Temp.h | e4074c80b8cb138f12b52b7981f1cd087a8e5d2f | [] | no_license | AlfredoBalli/TexasStateSeniorDesign | c8a1158a6afc8af84f4638adaa293b1814485c90 | 9fa5ce10ac1c73903b33761e206becfe80d09c1a | refs/heads/master | 2020-04-09T06:38:23.374673 | 2018-12-03T04:02:47 | 2018-12-03T04:02:47 | 160,121,084 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 758 | h |
#ifndef m_Temp_h
#define m_Temp_h
#include "Arduino.h"
class a_motor_Temp
{
private:
bool _temp_Flag1;
bool _temp_Flag2;
int _temp_Counter1;
int _temp_Counter2;
int _temp_Sample_Ammt;
float _temp_Cumalitive_Sample;
float _... | [
"noreply@github.com"
] | AlfredoBalli.noreply@github.com |
d918db38cc7db42472ad10908cd7d52963d36992 | 3333edce8305b199431da4ed1e2bbe9bf5aef175 | /BOJ/1000~/1978/src.cpp | a10109cccec6939e8839a1387a18854eef9c4298 | [] | no_license | suhyunch/shalstd | d208ba10ab16c3f904de9148e4fa11f243148c03 | 85ede530ebe01d1fffc3b5e2df5eee1fa88feaf0 | refs/heads/master | 2021-06-07T10:45:58.181997 | 2019-08-11T13:14:48 | 2019-08-11T13:14:48 | 110,432,069 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 331 | cpp | #include <iostream>
using namespace std;
int num[1001];
int main(){
for(int i=2; i<=1000; i++){
for(int j=1; i*j<=1000; j++){
num[i*j]++;
}
}
int N;
cin >> N;
int ans=0;
while(N-->0){
int tmp;
cin >>tmp;
if(num[tmp]==1) ans++;
}
cout... | [
"b215220@daum.net"
] | b215220@daum.net |
9f1d4695e3636b450d3a55af18ddd46dedf63995 | 2e62eded4a05a565aa67c2557fed94d2dd2965cf | /Telemed测温监控系统设备配置/Telemed测温监控系统设备配置/common.cpp | 2b1c5cf54211fd73a42f1c80851d86541bce5081 | [] | no_license | jielmn/MyProjects | f34b308a1495f02e1cdbd887ee0faf3f103a8df8 | 0f0519991d0fdbb98ad0ef86e8bd472c2176a2aa | refs/heads/master | 2021-06-03T11:56:40.884186 | 2020-05-29T09:47:55 | 2020-05-29T09:47:55 | 110,639,886 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 5,474 | cpp | #include <time.h>
#include "common.h"
#include <setupapi.h>
CGlobalData g_data;
IConfig * g_cfg_area = 0;
std::vector<TArea *> g_vArea;
// The following define is from ntddser.h in the DDK. It is also
// needed for serial port enumeration.
#ifndef GUID_CLASS_COMPORT
DEFINE_GUID(GUID_CLASS_COMPORT, 0x86e0... | [
"jielmn@aliyun.com"
] | jielmn@aliyun.com |
3373a17045bddda81bc3269399975a1a58de4687 | 1151fbeca1fc58b83420de3b215da0ecc53d5fb6 | /src/include/io_tool.h | bb61b21a1442f39a8475960a10df51cc7437544e | [
"MIT"
] | permissive | junior-2016/lisp-simulator | b9b49e2352f19516c291426093044b3740664009 | e73c8819935f8d4d60cbf4ea4f4bca43c7b5db17 | refs/heads/master | 2020-05-20T23:33:22.196460 | 2019-05-29T17:29:13 | 2019-05-29T17:29:13 | 185,803,667 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 980 | h | //
// Created by junior on 19-5-9.
//
#ifndef LISP_SIMULATOR_IO_H
#define LISP_SIMULATOR_IO_H
#include "lisp.h"
namespace lisp {
template<typename ... Args>
void output(FILE *file, const char *fmt, Args &&... args) noexcept {
if (file == STDERR) {
std::this_thread::sleep_for(DELAY_FOR_ERR... | [
"457030053@qq.com"
] | 457030053@qq.com |
0213a6061378a5d0bfff0b7a19957f25738da337 | c74d7751ef4f52980acb71536b66c840a31ddcda | /220d/WebKit-faust/WebKit-faust.app/Contents/Frameworks/10.6/WebCore.framework/Versions/A/PrivateHeaders/InspectorFrontend.h | e7adf1372115cd358f9b4b95a4d646068f28bbbe | [] | no_license | e7mac/Stanford | f0199a97e8cc9eb4d8e7619cc818d92bf3d8f38f | 52075da0a7a7bc893697ea213185ce6767726711 | refs/heads/master | 2020-03-20T07:34:34.277747 | 2020-01-16T01:05:12 | 2020-01-16T01:05:12 | 7,416,285 | 59 | 46 | null | null | null | null | UTF-8 | C++ | false | false | 20,612 | h | // File is generated by WebCore/WebCore/inspector/CodeGeneratorInspector.py
// 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.
#ifndef InspectorFrontend_h
#define InspectorFrontend_h
#include "Inspect... | [
"mayank.sanganeria@leanplum.com"
] | mayank.sanganeria@leanplum.com |
5e2cfe35e55d85d8cfebd2b4fa57f9c3a6aca03c | d2bb8b920f5d1d23f3db2d1256d1fd6213940014 | /engine/Engine.Core/src/core/window/WindowMessage.h | babcf00d4bbedba292f49af1a7845ddd2846f77c | [
"MIT"
] | permissive | ZieIony/Ghurund | 726672d56838d18b6dd675f304feee1d95a296bd | 0ce83cabd91f7ac71286dcd8e12d486bed2d75cf | refs/heads/master | 2023-08-17T08:14:19.548027 | 2022-02-12T16:33:32 | 2022-02-12T16:34:54 | 124,959,579 | 91 | 9 | null | null | null | null | UTF-8 | C++ | false | false | 195 | h | #pragma once
#include <Windows.h>
namespace Ghurund::Core {
struct WindowMessage {
unsigned int code;
WPARAM wParam;
uint64_t time;
POINT mousePos;
};
}
| [
"niewartotupisac@gmail.com"
] | niewartotupisac@gmail.com |
b5c323b1e08f1070bdf77aef0bb082e37e951450 | 7db0da6d1182fe5514005f37a5bfd311f9c2467e | /July CookOff 2020/ORTHODOX.cpp | 7d285707da20bf929d73ce650d3d28be1fc4857e | [] | no_license | iamarjun45/codechef | bf8b8a6f1fb153d42858365f08f00e695f22a79c | 549b3810b12efc035c4a0dacaabacf745fdacd46 | refs/heads/master | 2023-01-01T08:42:45.709179 | 2020-10-26T18:22:07 | 2020-10-26T18:22:07 | 290,109,077 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 913 | cpp | #include<bits/stdc++.h>
#define MOD 1000000007
#define int long long
using namespace std;
//#include <ext/pb_ds/assoc_container.hpp>
//using namespace __gnu_pbds;
//typedef tree<int,null_type,less<int>,rb_tree_tag,tree_order_statistics_node_update> ordered_set;
int n;
vector<int> A;
void gogo() {
unorde... | [
"noreply@github.com"
] | iamarjun45.noreply@github.com |
8a78873d06ebc6b85e857d220fd741a0fadde1a1 | 00844495757e7f6b05c8abf46eb131e4eee16ca9 | /PrintPDF/excel/CFont0.h | 0c4b30cab650bb75c8ce3f12c96be95b2464ab32 | [] | no_license | byaizz/PrintfPDF | f63048c407574ab18765498736536f41434a6a7f | 6b6af575f4f5bb28fe433190c43b77091b531d52 | refs/heads/master | 2020-07-03T23:58:45.462063 | 2019-06-03T03:00:55 | 2019-06-03T03:01:17 | 202,092,465 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 6,120 | h | #pragma once
// 从类型库向导中用“添加类”创建的计算机生成的 IDispatch 包装器类
//#import "C:\\Program Files\\Microsoft Office\\Office15\\EXCEL.EXE" no_namespace
// CFont0 包装器类
class CFont0 : public COleDispatchDriver
{
public:
CFont0() {} // 调用 COleDispatchDriver 默认构造函数
CFont0(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
CFont... | [
"410389821@qq.com"
] | 410389821@qq.com |
2357aee8715e195cdfffdf0ad1ffd3104fb1555b | 6f1a8bae3b7916b94bf0409288a3a80692d8e4d3 | /Arduino/CS362/rgenov2Lab5/rgenov2Lab5.ino | 4703b1d4c124e676ac7c4b271c3bacd67140eaa3 | [] | no_license | Rg3n0v4/schoolProjects | 8acf490abf9a5c0ecc840b41c4b55747765d81e8 | c959b7e31d8dd5b7ea8138dd66447e42907de85d | refs/heads/master | 2023-02-15T03:10:50.156762 | 2021-01-11T18:29:47 | 2021-01-11T18:29:47 | 286,540,842 | 0 | 0 | null | 2020-08-19T15:16:32 | 2020-08-10T17:40:13 | null | UTF-8 | C++ | false | false | 2,349 | ino | // Raphael Genova - 667495961
// Lab 5 - Multiple Inputs and Outputs
// Description - be able to have my Arduino have two unconnected things at te same time, using multiple inputs
// and outputs. Also be able to read and write analog inputs and outputs
// Assumption - being able to adjust the volume on a... | [
"rgenov2@uic.edu"
] | rgenov2@uic.edu |
2e96f77de6451921145cbc477dfec6844aa26c8b | c29752627f2ea11d293823bfdf8d3a6bd6f39c06 | /C Memory Management/C Memory Management.cpp | 8507eb933be7d6e33e8e272d25b6c1095492a669 | [] | no_license | lukaszbednarz/C_Memory_Management | 86fa3545911853c6e11a5dbcc493c0bfd07d4759 | 8082ddf4f4bf4946c7c84a22ca680c0664750480 | refs/heads/master | 2021-01-10T07:38:48.895808 | 2016-03-08T17:18:56 | 2016-03-08T17:18:56 | 53,431,054 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 161 | cpp | // C Memory Management.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
int _tmain(int argc, _TCHAR* argv[])
{
return 0;
}
| [
"lbednarz@qti.qualcomm.com"
] | lbednarz@qti.qualcomm.com |
e4676d80775a10853be8a9f27fd7cd2cebdb1476 | 69a0fc15ed9311fb4455b6ba09f205f0ac14ea2c | /modify.cpp | 7c4aa824eaa1aa96f7a0db329c8dfcf9e23b1b02 | [] | no_license | obourat/MaquetteMimosa | fda98733d2cfc6d2ee29741a9cda046940f5664f | 1034d847145add8f18e1711e2bc52c3c01665f73 | refs/heads/master | 2020-12-03T20:56:06.318974 | 2016-08-22T13:04:40 | 2016-08-22T13:04:40 | 66,273,167 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,651 | cpp | #include "modify.h"
#include "ui_modify.h"
#include "alllisting.h"
using namespace std;
Modify::Modify(AllListing *allListing,QWidget *parent) :
QDialog(parent),
ui(new Ui::Modify),
allListing(allListing)
{
ui->setupUi(this);
QString updateNom, updateEdition, updateSocPri;
updateNom = allList... | [
"noreply@github.com"
] | obourat.noreply@github.com |
00fefab77d76f8fc926f6192c488a63dba76f85d | 6a2d1800e25e3624b315c21f9598b4442c8d80b6 | /sdk/core/azure-core/inc/azure/core/internal/log.hpp | 28a99bf1669ef296313f54d0dd9d9b26671911cb | [
"MIT",
"BSD-3-Clause",
"curl",
"LGPL-2.1-or-later",
"LicenseRef-scancode-generic-cla"
] | permissive | katmsft/azure-sdk-for-cpp | e3f76ebe9c1a176050f64b9fb0658031b95ec02b | d99f3ab8e62fff5c65c49aea91aba3c2a422a7d1 | refs/heads/master | 2021-09-11T14:52:51.875720 | 2021-01-28T09:21:59 | 2021-01-28T09:21:59 | 248,464,376 | 0 | 0 | MIT | 2020-08-27T05:37:44 | 2020-03-19T09:41:59 | C++ | UTF-8 | C++ | false | false | 418 | hpp | // Copyright (c) Microsoft Corporation. All rights reserved.
// SPDX-License-Identifier: MIT
#pragma once
#include "azure/core/logging/logging.hpp"
namespace Azure { namespace Core { namespace Logging { namespace Details {
bool ShouldWrite(LogClassification const& classification);
void Write(LogClassification co... | [
"noreply@github.com"
] | katmsft.noreply@github.com |
b2ed0c60dd866038a13d6c37aaefcf71ec34915b | f043ac0aa15a28e9c9af1ab9f0b9a0dec02057a8 | /HugeCTR/include/data_readers/parquet_data_reader_worker.hpp | 40a16d0a00a7b9c5dfde62d602b00bb2bc7ee3e6 | [
"Apache-2.0"
] | permissive | dendisuhubdy/HugeCTR | 9fe1f1bedd13df6f64115c45a3282549c5c824c6 | 849be3fde24f91d2f0b389830a0d427617fd40b4 | refs/heads/master | 2022-12-29T08:44:09.244236 | 2020-10-05T12:10:38 | 2020-10-05T12:10:38 | 301,602,662 | 0 | 0 | Apache-2.0 | 2020-10-06T03:24:53 | 2020-10-06T03:23:14 | null | UTF-8 | C++ | false | false | 23,256 | hpp | /*
* Copyright (c) 2020, NVIDIA CORPORATION.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | [
"zehuanw@nvidia.com"
] | zehuanw@nvidia.com |
3bc100abbd4f922896338eb98fd0ca6dff0f4389 | a36131551ca27e752372cd999eb51c29dcd501e1 | /SevSeg_Counter4.1.1.ino | ddffbfa48f3e98f71f419c1c38a5506acf0f1fd3 | [] | no_license | cshs20120831/Arduino_lab04 | 288f8da0afb24737b5dab11d57fce915b5b5cac2 | 79f5cfe826e2828a24a7172b4acfa81fb0fdf6f1 | refs/heads/master | 2021-01-19T07:16:19.809355 | 2017-04-10T11:37:10 | 2017-04-10T11:37:10 | 87,532,572 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,001 | ino | #include "SevSeg.h"
SevSeg sevseg;
float Analogin;
void setup()
{
byte numDigits = 4;
byte digitPins[] = {7,3,4,8};
byte segmentPins[] = {6,5,10,12,13,2,9,11};
pinMode(A0,INPUT_PULLUP);
pinMode(A1,INPUT_PULLUP);
bool resistorsOnSegments = false; // 'false' means resistors are on digit pins
byte hardwa... | [
"noreply@github.com"
] | cshs20120831.noreply@github.com |
cd893903bbd00ac47444f9bff667d50e3b82b114 | 73ee941896043f9b3e2ab40028d24ddd202f695f | /external/chromium_org/chrome/browser/chromeos/chrome_browser_main_chromeos.h | df86349d1225e5ae57d647f16930f58dec1f107b | [
"BSD-3-Clause"
] | permissive | CyFI-Lab-Public/RetroScope | d441ea28b33aceeb9888c330a54b033cd7d48b05 | 276b5b03d63f49235db74f2c501057abb9e79d89 | refs/heads/master | 2022-04-08T23:11:44.482107 | 2016-09-22T20:15:43 | 2016-09-22T20:15:43 | 58,890,600 | 5 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 3,233 | h | // 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.
#ifndef CHROME_BROWSER_CHROMEOS_CHROME_BROWSER_MAIN_CHROMEOS_H_
#define CHROME_BROWSER_CHROMEOS_CHROME_BROWSER_MAIN_CHROMEOS_H_
#include "base/memory... | [
"ProjectRetroScope@gmail.com"
] | ProjectRetroScope@gmail.com |
5ea44edbf3e4a9209b8675eb1d364c0630c1a8a8 | 1b9b2f5733bd1f63f0a02367d85060ec8240007e | /server.cpp | 9ceb36e102131d8e8378d2bcf7398789e3328014 | [] | no_license | matiTechno/sockets | 5a8973ee585fe69ff82d1ad1403fadbeae488b71 | cc464f3bb9aeac74cefe583bd1012bdf301508b0 | refs/heads/master | 2020-03-14T14:20:02.845266 | 2018-10-04T08:50:59 | 2018-10-04T08:50:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,745 | cpp | #include <stdio.h>
#include <fcntl.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netdb.h>
#include <unistd.h>
#include <arpa/inet.h>
#include <assert.h>
#include <errno.h>
#include <string.h>
#include <signal.h>
#include <time.h>
#include <netinet/tcp.h>
#include "Array.hpp"
template<typename T>
T min(T ... | [
"mateusz.macieja8@gmail.com"
] | mateusz.macieja8@gmail.com |
1becb4ec5854ca2271cf8938934b9446aadf54b7 | 29d7129d8459e751061e7f30582e5c8a009e85c1 | /loop-functions/gianduja/GiandujaBeaconAggregationLoopFunc.cpp | 093b9e0f1f6e62cc83d5970435682b4c6661fe0a | [
"MIT"
] | permissive | demiurge-project/experiments-loop-functions | 88ced1d0d1c42116f1338ec5015dd72dd7f23a08 | 02333bd2ee3a99cb31a1d7da5cb8067df79a4167 | refs/heads/master | 2023-08-14T10:24:00.161414 | 2022-11-16T16:48:11 | 2022-11-16T16:48:11 | 117,963,055 | 0 | 5 | MIT | 2020-10-19T09:15:24 | 2018-01-18T09:42:55 | C++ | UTF-8 | C++ | false | false | 7,675 | cpp | #include "GiandujaBeaconAggregationLoopFunc.h"
/****************************************/
/****************************************/
GiandujaBeaconAggregationLoopFunction::GiandujaBeaconAggregationLoopFunction() {
m_fRadius = 0.3;
m_cCoordSpot1 = CVector2(0.5,0.5);
m_cCoordSpot2 = CVector2(-0.5,0.5);
m_unCost... | [
"ken@kenh.fr"
] | ken@kenh.fr |
48384343c3c7dcfb7978531a3a21247bdba52af5 | 47bae215224de3df826ed22dae557315c7d48d73 | /C_OFFER/Chapter5_OptimizationSpaceTime/40_KLeastNumbers.cpp | 7c3eb0abf4342ee9ca542feda88a286280718cac | [] | no_license | lgtcarol/BasicAlgorithm | ba3d15f03274397e6b01038759c6c48c798e5f52 | a9db9824f2c08e5f3340c08efa497a77045eecc9 | refs/heads/master | 2020-03-28T18:40:10.528191 | 2019-09-10T03:47:10 | 2019-09-10T03:47:10 | 148,900,023 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,115 | cpp | // 面试题40:最小的k个数
// 题目:输入n个整数,找出其中最小的k个数。例如输入4、5、1、6、2、7、3、8
// 这8个数字,则最小的4个数字是1、2、3、4。
#include <cstdio>
#include "Utilities\Array.cpp"
#include <set>
#include <vector>
#include <iostream>
#include <functional>//该头文件中定义的两个结构greater和less都重载了操作符()
using namespace std;
/**
1. 比上题特征更明显适合快排
2. 同样确定到目标为k-... | [
"noreply@github.com"
] | lgtcarol.noreply@github.com |
79af7938589ecbfaf8fa54c3626e987078a6385e | a0a620497a3c3d2676bdc8fa17ff51f59754f7b4 | /451B.cpp | f28463600c4d165ec84c523d099ffe071fba5248 | [] | no_license | Sahilkalamkar/Codeforces_Solutions | 3da7b79e5acad2189b8e7f662242040700e18f56 | b9045b13003ea80276900a068f120a5bbd8fbbde | refs/heads/master | 2021-10-27T07:18:46.664126 | 2020-10-31T16:38:19 | 2020-10-31T16:38:19 | 216,762,951 | 8 | 17 | null | 2020-10-31T16:38:20 | 2019-10-22T08:31:50 | C++ | UTF-8 | C++ | false | false | 1,167 | cpp | /*
* Author: Akansha(akansha_2202)
* Date : 22/10/2019
*/
#include<bits/stdc++.h>
using namespace std;
int main(){
int n;
cin>>n;
int a[n];
int b[n];
int c[n];
for(int i=0;i<n;i++){
cin>>a[i];
c[i]=a[i];
}
for(int j=0;j<n;j++){
b[j]=0;
}
for(int i=0;i<n;i++){
if(i==0){
if(a[i]>a[i+1]){
b[i... | [
"mini.akansha007@gmail.com"
] | mini.akansha007@gmail.com |
fc7bb753628476c653578af0c6d92f9bc94a0957 | 7c5930680d1e1c6baaa37c679929d35d38bdb27f | /vacancy_visualize_vtk.cpp | 31d347c0f8a391823904dfa958819b88d3ee41f3 | [] | no_license | divergentscott/ack | 60bedeb1e3e3293411c6e49c2589b074d185bf14 | d746d3a4726419240a19ff46878e9220b8cf5f51 | refs/heads/master | 2021-08-09T17:16:47.266238 | 2020-08-21T21:20:50 | 2020-08-21T21:20:50 | 215,874,789 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,711 | cpp | #include <vtkRenderer.h>
#include <vtkSmartPointer.h>
#include <vtkSVGExporter.h>
#include "vacancy_visualize_vtk.h"
#include <vtkActor.h>
#include <vtkCellArray.h>
#include <vtkNamedColors.h>
#include <vtkPolyData.h>
#include <vtkPolyDataMapper.h>
#include <vtkPolygon.h>
#include <vtkProperty.h>
#include <vtkRender... | [
"sscott@divergent3d.com"
] | sscott@divergent3d.com |
051c0ab4b7864637449c4f93f39fa5f240c4ad92 | 7cf5dc55a252076ab51a77ef5c4ea8ad3dbc5809 | /src/KMeans.cpp | 6147f99c88e58d74a5df42eaacd601e8360df00c | [
"BSD-2-Clause-Views",
"BSD-2-Clause"
] | permissive | rmjarvis/TreeCorr | f607eca752de6f88b9a9625de61725f232d8d4e8 | 3b6b5b376e02cceac7f6c493c25cc397d8a41454 | refs/heads/releases/4.3 | 2023-09-01T05:27:54.309814 | 2023-04-12T18:33:35 | 2023-04-12T18:33:35 | 22,117,429 | 98 | 42 | NOASSERTION | 2023-08-11T23:18:20 | 2014-07-22T19:19:26 | Python | UTF-8 | C++ | false | false | 40,156 | cpp | /* Copyright (c) 2003-2019 by Mike Jarvis
*
* TreeCorr is free software: 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 ... | [
"michael@jarvis.net"
] | michael@jarvis.net |
dcee1cc21e019322a95368c8b57bb19b8ff34b1d | 7cccf08fd75619d9edf7e4d651be7c17cb166717 | /DisplayImage.cpp | 6df3e1cfe3a70c9220d04cc1b2130415d9c65b6a | [] | no_license | skho513/Chocolate-Detection-and-Analysis | f4c2f190267da203afdf286993bef53b6c0cac46 | ae9f4780090ab84975fea55ba6b670fc4d648957 | refs/heads/master | 2021-01-02T09:21:30.291151 | 2017-08-03T06:26:11 | 2017-08-03T06:26:11 | 99,194,353 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,618 | cpp | #include "opencv2/highgui/highgui.hpp"
#include "opencv2/imgproc/imgproc.hpp"
#include "opencv2/opencv.hpp"
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <fstream>
#include <vector>
#include <string>
#include <math.h>
using namespace cv;
using namespace std;
Mat src; Mat src_HSV;
Mat src2; Mat s... | [
"skho591@aucklanduni.ac.nz"
] | skho591@aucklanduni.ac.nz |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.