blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 6 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 26 | license_type stringclasses 2
values | repo_name stringlengths 7 95 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 57
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 197k 639M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 11
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 34
values | src_encoding stringclasses 18
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 11 9.86M | extension stringclasses 27
values | content stringlengths 11 9.86M | authors listlengths 1 1 | author stringlengths 0 70 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1a1b0bff42be8f50a3c0bd64ad1f559003771dfc | 803c5084fb83c1b50c3bd0734f48f30792f783e1 | /leetcode/1306.cc | 34633aba4161f7e47a3f76877c9adf1d4c21d532 | [] | no_license | guilhermeleobas/maratona | 9627570276d4fd843918013c1fd5a702bbada0e4 | 5d46263b335d2e70b0156001116f7030a068cf5a | refs/heads/master | 2022-09-20T11:28:26.367178 | 2022-09-05T05:20:43 | 2022-09-05T05:20:43 | 21,397,024 | 5 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 616 | cc | class Solution {
public:
void traverse(vector<int>&arr, vector<bool>& memo, int pos){
if (pos < 0 || pos >= arr.size())
return;
if (memo[pos])
return;
memo[pos] = 1;
traverse(arr, memo, pos+arr[pos]);
traverse(arr, memo, pos-arr[pos]);
}
bool c... | [
"noreply@github.com"
] | noreply@github.com |
ae6aaf6c3bc8d80c912e00f605f165b1aba73778 | b2b4147268b2b3bedef9ba0e8dc42392ae00c520 | /source/models/performance_model/link_activity_trace_manager.cc | 6058020101827c5e4b20db0fd82fc0321c2417b2 | [] | no_license | allenhsin/ThermalSimulator | 3730b5097e49da6f5876dbed668e2a9902f424eb | f045aff7a97fabe0d280d62d4145d992574d6ef7 | refs/heads/master | 2021-01-10T14:24:10.884642 | 2015-02-10T02:36:44 | 2015-02-10T02:36:44 | 8,466,636 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,610 | cc |
#include <cassert>
#include <cstring>
#include <string>
#include "source/models/performance_model/link_activity_trace_manager.h"
#include "source/models/performance_model/performance_constants.h"
#include "source/models/performance_model/bit_sequence.h"
#include "source/models/performance_model/random_bit_sequence.h"... | [
"yhchen@mit.edu"
] | yhchen@mit.edu |
b30efc6e2c71eafb8a1e57d5da867afeff3772ab | a1df6d44dc67599d20ce5aa98a41938c43cc57da | /bit_mani.cpp | d6a6989043d4fdbf2c6a37ea4dae751725922ea3 | [] | no_license | Git-Pratik97/bit_challenges | a1f9ccfd8fac0d5e97ea84839c101e2985f28e63 | 7031de15fe6a0dcccf02cb4a2f499a416c9d069d | refs/heads/main | 2023-06-04T16:26:23.098183 | 2021-06-14T16:07:12 | 2021-06-14T16:07:12 | 376,882,465 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 781 | cpp | #include<iostream>
using namespace std;
int get_bit(int n, int pos)
{
return ((n & (1 << pos)) != 0);
}
int set_bit(int n, int pos)
{
return (n | (1 << pos));
}
int clear_bit (int n, int pos)
{
int mask = ~(1 << pos);
return(n & mask);
}
int update_bit(int n, int pos, int value)... | [
"noreply@github.com"
] | noreply@github.com |
4f07b8f2a4f04cea60ef5253345ef71eec689d37 | c120f72a42d2f202fc50e3569ae217220359a49c | /.history/src/main_20210723162804.cpp | c537f59613f84b70dd1b64d1461b07fd18cecf60 | [] | no_license | zlatkovnik/Crius | c5888fca8c2c572ce5b151adf6073f965b3914d6 | 414fb380823c5a38e33dd47818487290405ecde7 | refs/heads/main | 2023-07-07T04:35:12.126132 | 2021-08-09T14:51:03 | 2021-08-09T14:51:03 | 388,804,001 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,624 | cpp | #include <glad/glad.h>
#include <GLFW/glfw3.h>
#include <iostream>
#include "shader.h"
#include "mesh.h"
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
void framebuffer_size_callback(GLFWwindow* window, int width, int height);
void processInput(GLFWwindow *window);
/... | [
"zlatkovnik@dualsoft.net"
] | zlatkovnik@dualsoft.net |
bf2d315235dd9751ca0e8a5641e1506e0a5f8584 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5744014401732608_1/C++/yuukiAsuna/practice.cpp | f11741392c4f8b8d90fe06e26755001f71ff59ab | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,205 | cpp | #include <bits/stdc++.h>
#define PB push_back
#define FT first
#define SD second
#define MP make_pair
#define INF 0x3f3f3f3f
using namespace std;
typedef long long LL;
typedef unsigned long long ULL;
typedef pair<int,int> P;
const int N = 55,MOD = 7+1e9;
int G[N][N];
int main()
{
freopen("in.txt","r"... | [
"alexandra1.back@gmail.com"
] | alexandra1.back@gmail.com |
d7dc30bed94d52a7479794578bc5b668cc942486 | 85a2d8f6565fb8c55fa1cf2c2dc9e3ebff6093b8 | /factory/libpainter/Painter.h | 24136325aa7a4af497784062ca5df4b7d0bebabc | [] | no_license | klwxsrx/ood-course | eeaa2002b66deeb886d4a718bca437439da39a37 | 449b3e8c62fc2d9f73b7829170826ea83e20b5f5 | refs/heads/master | 2021-09-22T05:05:38.934710 | 2018-06-21T16:13:32 | 2018-06-21T16:13:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 156 | h | #pragma once
#include "IPainter.h"
class CPainter : public IPainter
{
public:
void DrawPicture(IPictureDraft const& draft, ICanvas& canvas) override;
};
| [
"Slavyan58@yandex.ru"
] | Slavyan58@yandex.ru |
32d6f31bf94eb4f4ac23fab93e7b985097b6d724 | 03af5552b327510cd100fc2f5aa0ca9f867a40a4 | /log_test.cpp | 3423616125985f91d1384315462837bb71285264 | [] | no_license | ICKelin/clog | 424b8fc5daff750f071aae3ae63fb764ed279b41 | 7600864382819f07319dbb9991286a425fd025fc | refs/heads/master | 2021-01-19T17:28:14.454224 | 2017-04-11T16:05:34 | 2017-04-11T16:05:34 | 88,324,831 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,468 | cpp | #ifdef _WIN32
#include <windows.h>
#else
#include <stdio.h>
#include <pthread.h>
#include <sys/types.h>
#include <sys/syscall.h>
#include "printlog.h"
#endif
#ifdef _WIN32
DWORD WINAPI thread_func(LPVOID param) {
#else
void *thread_func(void *args) {
#endif
for (int i = 0; i < 100; i++) {
_printlog(__FILE__, __L... | [
"995139094@qq.com"
] | 995139094@qq.com |
825c76065629a593b20169f8be58bf6a1c42a847 | 157c466d9577b48400bd00bf4f3c4d7a48f71e20 | /Source/ProjectR/GameState/Tutorial/TutorialState.h | 126d7b86732634727bead1408f1707c5c12af064 | [] | no_license | SeungyulOh/OverlordSource | 55015d357297393c7315c798f6813a9daba28b15 | 2e2339183bf847663d8f1722ed0f932fed6c7516 | refs/heads/master | 2020-04-19T16:00:25.346619 | 2019-01-30T06:41:12 | 2019-01-30T06:41:12 | 168,291,223 | 8 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 399 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameState/IGameState.h"
#include "TutorialState.generated.h"
/**
*
*/
UCLASS()
class PROJECTR_API UTutorialState : public UIGameState
{
GENERATED_BODY()
public:
UTutorialState();
vo... | [
"happycap88@gmail.com"
] | happycap88@gmail.com |
99d6661de88d434e5d16276edf3ff0b756db917a | 051fdf2715925ea6752a053f2bc828ed7bfe0233 | /Engine/Source/Helper/Camera.h | 2255b95bba21c4a8c3a25174b43fe54eca39a3c3 | [] | no_license | SizzlingCalamari/fs12-engine | f6607461bd66fceb5c2a8a446bbe5e4228791d1d | 22bf3763f7dd09cae56f58881def6421cc64c933 | refs/heads/master | 2016-08-12T12:26:54.771382 | 2012-03-16T22:49:38 | 2012-03-16T22:49:38 | 51,328,555 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,885 | h | /*=====================================================================
Camera.h : Declaration of the CCamera class.
Author : Christopher Baptiste
Version: v1.0a
Licence : GNU GENERAL PUBLIC LICENSE
Copywrite (C) 2006, 2007
Christopher Baptiste
Full Sail... | [
"luislairet@gmail.com"
] | luislairet@gmail.com |
aa397f95f3882699ff4e8632a42875db1191fba2 | 1644ef09ef48aaa4f1b87ad115596d0789085d58 | /MyExercises/c++primer/5.18textin3.cpp | 39e41012bcfb50d2ae62f5a33317b6212e3947d8 | [
"Apache-2.0"
] | permissive | smilliy/fairy | 4ed7ec0ab097017bddcf5a1162b36f4dbd8a6691 | c104beb35d2329787b3264a9102c44b2bafb973f | refs/heads/master | 2021-05-23T01:59:20.748129 | 2020-04-25T08:43:08 | 2020-04-25T08:43:08 | 253,183,168 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 342 | cpp | // textin3.cpp -- reading chars to end of file
#include <iostream>
int main()
{
using namespace std;
char ch;
int count = 0;
cin.get(ch);
while(cin.fail() == false) // test for EOF
{
cout << ch;
++count;
cin.get(ch);
}
cout << endl << count << " characters read... | [
"dongxiao_7@163.com"
] | dongxiao_7@163.com |
b6f08e1d4bdc2aa65adf534fd60a1b22f9719a6d | e39a0354db4013d2a8aec4a4565cfb5f6443ae8f | /UVa/UVa674.cpp | 3c1169adb929206cbb7f9528ff0494bc31805bc7 | [] | no_license | YimingPan/UVa-Solution | 8afd41673ff3aeebcedbfbf379247af5e2a6eca4 | 92862dcfc49baed97ea72f4467f12f8d588a9010 | refs/heads/master | 2021-09-09T21:52:13.645907 | 2018-03-19T22:48:06 | 2018-03-19T22:48:06 | 116,416,034 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 697 | cpp | #include <cstdio>
#include <cstring>
int dp[7500][6];
int m[6] = {0,1,5,10,25,50};
int dfs_dp(int n, int k)
{
if(dp[n][k]>0)
return dp[n][k];
if(k == 0 && n == 0)
return dp[n][k] = 1;
if(k == 1 || n == 1)
return dp[n][k] = 1;
if(n < m[k])
return dp[n][k] = dfs_dp(n,k-1)... | [
"yimingp@andrew.cmu.edu"
] | yimingp@andrew.cmu.edu |
cc515da8c8462ef82c349c842ddfd4cf4079167a | ed5926ae512e238af0f14655a3187d7e7fbf7ef7 | /chromium2/chrome/browser/ash/policy/dlp/files_policy_notification_manager.cc | 25d5ec4b0feeb00b10b17fecaf7fa9d070120c65 | [
"BSD-3-Clause"
] | permissive | slimsag/mega | 82595cd443d466f39836e24e28fc86d3f2f1aefd | 37ef02d1818ae263956b7c8bc702b85cdbc83d20 | refs/heads/master | 2023-08-16T22:36:25.860917 | 2023-08-15T23:40:31 | 2023-08-15T23:40:31 | 41,717,977 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 48,296 | cc | // Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/ash/policy/dlp/files_policy_notification_manager.h"
#include <cstddef>
#include <memory>
#include <string>
#include "base/check.h"
#include "base/che... | [
"stephen@sourcegraph.com"
] | stephen@sourcegraph.com |
6a352c97ff60ff8045ad535408f69906c7232ee8 | 52950b2783a7aebf23689c9c5397cf381d0dde7d | /oss/eblearn_1.2_r2631/core/libeblearn/include/ebl_ebm.hpp | 24cf16eb7e92f56a58543497fd0a897c2203f54e | [
"LicenseRef-scancode-warranty-disclaimer",
"BSD-2-Clause"
] | permissive | zhouyong64/academiccoder | 9b4a8f9555b99dc364a0c0e4157faa582b542e90 | 5415a43889a18795fb98960ff7700dbcdd5138df | refs/heads/master | 2020-05-17T11:46:15.143345 | 2017-12-05T06:57:14 | 2017-12-05T06:57:14 | 29,723,245 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,505 | hpp | /***************************************************************************
* Copyright (C) 2012 by Yann LeCun, Pierre Sermanet *
* yann@cs.nyu.edu, pierre.sermanet@gmail.com *
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provid... | [
"snowalvie@gmail.com"
] | snowalvie@gmail.com |
ade6fdf199fdc32fa273b647b39296c30eb068ab | 24ce143a62abc3292c858fc17964c753106c8e3f | /closestInBST.cpp | 9525fded17ab0b559c3713e2b14acac0b372e7f6 | [] | no_license | code-ayush07/Daily-DSA | 5249ce654b4bbe0d7f3beded3bfa0b6844299fbe | 3f4f69266b40141bc683c553a735bf58f3aef8ae | refs/heads/master | 2023-02-22T09:18:08.279554 | 2021-01-28T16:00:31 | 2021-01-28T16:00:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 305 | cpp | int ans;
int k;
void inOrder(Node* root)
{
if(root == NULL)
{
return;
}
inOrder(root->left);
ans = min(ans, abs(root->data - k));
inOrder(root->right);
}
int minDiff(Node *root, int K)
{
ans = INT_MAX;
k =K;
inOrder(root);
return ans;
}
| [
"ayushsingh1315@gmail.com"
] | ayushsingh1315@gmail.com |
83916b8d2be0d97d432fb5fb255a39970e8b2bfc | 5504604c135cc7d171c6cfedb055416fd24e98ab | /Snake from NOKIA 3310/TTT_Menu.cpp | 6e16ce3146f2fd0cc4081efbb4c3d81f39554354 | [] | no_license | hakerg/Snake-from-NOKIA-3310 | 5732c5bada6f74b795be39b2d34f2effc8afc388 | 384e9e2ea1db6a1ea49ddf7bede35e900c604f9b | refs/heads/master | 2020-03-22T05:53:12.468756 | 2018-07-03T20:40:23 | 2018-07-03T20:40:23 | 139,597,010 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 406 | cpp | #include "TTT_Menu.h"
#include "Scene_Manager.h"
#include "TTT_New_Select.h"
#include "TTT_Gameplay.h"
TTT_Menu::TTT_Menu() : Menu({ 0 }, { "Nowa gra", "Demo" })
{
}
TTT_Menu::~TTT_Menu()
{
}
void TTT_Menu::item_selected(int id)
{
switch (id)
{
case 0:
Scene_Manager::go_to_scene(new TTT_New_Select);
break... | [
"grzegorzabedzki@gmail.com"
] | grzegorzabedzki@gmail.com |
0e33dac51ab2a0a71c3c19bf58387115bcca2a9d | bdb1e24f0a0be7fd2d1c1a202fdb6f33b0b23dac | /Source/Utility/MythForest/Component/EnvCube/EnvCubeComponent.cpp | 4ec6bcd2c3570b8c6d68f559116ae96a11f6a53a | [
"MIT"
] | permissive | paintdream/PaintsNow | 42f297b9596d6f825017945d6ba24321fab0946e | 71581a89585594c3b898959cea5ee9c52c9249ed | refs/heads/master | 2023-08-17T13:52:49.714004 | 2023-08-07T14:21:01 | 2023-08-07T14:21:01 | 162,007,217 | 11 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 923 | cpp | #include "EnvCubeComponent.h"
#include "../../Entity.h"
using namespace PaintsNow;
EnvCubeComponent::EnvCubeComponent() : range(1.0f, 1.0f, 1.0f), strength(1.0f) {}
EnvCubeComponent::~EnvCubeComponent() {}
Tiny::FLAG EnvCubeComponent::GetEntityFlagMask() const {
return Entity::ENTITY_HAS_RENDERCONTROL | Renderable... | [
"paintdream@paintdream.com"
] | paintdream@paintdream.com |
d56647bed1bfdff6848058142a1de7031769b9c9 | b97934b847014836a26b558ff06b8d784f78315f | /source/warlords.cpp | 1280124904e87499cf34c7050d9bf637a2ceeda5 | [] | no_license | ChrisPierce-StuphLabs/Warlords | 2d494e3823339523b2519febfeff18e396e5b99a | 5f6f4052dced7067c1d43f25a7d8b5cfe8b61702 | refs/heads/master | 2020-04-10T14:05:29.153021 | 2012-08-12T21:09:28 | 2012-08-12T21:09:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,302 | cpp | /*
Christopher Pierce
Warlords game
Written 08/01/2012
Last Modified 08/01/2012
Game pits zues vs poseidon vs hades in a
pokemon-like text based fighter game
*/
#include <iostream>
#include <iomanip>
#include <stdlib.h>
using namespace std;
struct warlord
{
string name;
string type;
string weakness;
unsigne... | [
"crizpiz@gmail.com"
] | crizpiz@gmail.com |
4768b9e4aaf3fa302ef2141cf198e782f51496cb | d524724bee969c8c698daf61a3a047ad834f3543 | /src/PathCompare.cxx | 410ca1c67867da36d769991069de90a24968733f | [] | no_license | michelamichela/ITK-TubularGeodesics | 69f59120c5bc3ebd64b8bb62ce07eb403f7513ba | 426edc6b82fc4384da04f1f50d54f9874a56fa1d | refs/heads/master | 2020-12-25T20:09:13.895887 | 2013-04-07T02:53:50 | 2013-04-07T02:53:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,661 | cxx | //**********************************************************
//Copyright 2012 Fethallah Benmansour
//
//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/LICEN... | [
"fethallah@gmail.com"
] | fethallah@gmail.com |
f9bf834195002699dc24cacded70a6d88316b36e | 463c3b62132d215e245a097a921859ecb498f723 | /lib/dlib/sockstreambuf/sockstreambuf_kernel_abstract.h | 04c337e5cfc4677ca8bd1bcda5f70a487012d426 | [
"LicenseRef-scancode-unknown-license-reference",
"BSL-1.0"
] | permissive | athulan/cppagent | 58f078cee55b68c08297acdf04a5424c2308cfdc | 9027ec4e32647e10c38276e12bcfed526a7e27dd | refs/heads/master | 2021-01-18T23:34:34.691846 | 2009-05-05T00:19:54 | 2009-05-05T00:19:54 | 197,038 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,545 | h | // Copyright (C) 2003 Davis E. King (davisking@users.sourceforge.net)
// License: Boost Software License See LICENSE.txt for the full license.
#undef DLIB_SOCKSTREAMBUF_KERNEl_ABSTRACT_
#ifdef DLIB_SOCKSTREAMBUF_KERNEl_ABSTRACT_
#include <iosfwd>
#include <streambuf>
#include "../sockets/sockets_kernel_abstr... | [
"jimmy@DGJ3X3B1.(none)"
] | jimmy@DGJ3X3B1.(none) |
1175ac6ba349d990c3a00bbbdd5087f78c025f21 | 26c8107be3d1a212c2e426fc8fe7892a8db98b5a | /mountainpaths.cpp | f18e891800fdaddd629eb7236f0877aabe2eb301 | [] | no_license | mikeyroush/mountain-paths | a50c21337b15f435e24712469d37d0166e293d3b | 0f0af6f3c2a2961bb5d68c999989008bb773f07b | refs/heads/master | 2020-12-02T15:09:26.728220 | 2020-01-02T23:56:16 | 2020-01-02T23:56:16 | 231,044,919 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,395 | cpp | //
// main.cpp
// mountain paths
//
// Created by Mikey Roush on 9/28/17.
// Copyright © 2017 Michael Roush. All rights reserved.
//
#include "functions.h"
int main() {
//Initializing variables and asking for user inputs.
//**********************************************************************
string ... | [
"noreply@github.com"
] | noreply@github.com |
85b6390ee1ac5147725fd4b0df9b25a07f23cd48 | 9fdf8ef1498e64fdfebb0313e0152707efb92e8c | /src/dpp/events/guild_update.cpp | 311ad6f74850b32d08efafcfe92bbf78550bcde7 | [
"Apache-2.0"
] | permissive | michaelschuff/DPP | b6d56b4cb73f6d349860021a905a8368816b075c | 3ce5716502bb527b5e3b806a2376929cc9c16cab | refs/heads/master | 2023-08-16T23:46:34.148048 | 2021-09-20T21:51:33 | 2021-09-20T21:51:33 | 408,591,593 | 0 | 0 | Apache-2.0 | 2021-09-20T20:31:21 | 2021-09-20T20:31:20 | null | UTF-8 | C++ | false | false | 2,303 | cpp | /************************************************************************************
*
* D++, A Lightweight C++ library for Discord
*
* Copyright 2021 Craig Edwards and D++ contributors
* (https://github.com/brainboxdotcc/DPP/graphs/contributors)
*
* Licensed under the Apache License, Version 2.0 (the "License... | [
"craigedwards@brainbox.cc"
] | craigedwards@brainbox.cc |
9354af605e044b8ae52b76d9d914793c6c4773bf | 36183993b144b873d4d53e7b0f0dfebedcb77730 | /GameDevelopment/Ultimate 3D Game Engine Design and Architecture/BuildingBlocksEngine/source/temp/RigidBox.cpp | 4b5a63b139321ad8dd8d2378ee446b27dffdf1c1 | [] | no_license | alecnunn/bookresources | b95bf62dda3eb9b0ba0fb4e56025c5c7b6d605c0 | 4562f6430af5afffde790c42d0f3a33176d8003b | refs/heads/master | 2020-04-12T22:28:54.275703 | 2018-12-22T09:00:31 | 2018-12-22T09:00:31 | 162,790,540 | 20 | 14 | null | null | null | null | UTF-8 | C++ | false | false | 2,076 | cpp | /*
Building Blocks Engine
Ultimate Game Engine Design and Architecture (2006)
Created by Allen Sherrod
*/
#include<RigidBox.h>
DECLARE_ENGINE_NAMESPACE
RigidBox::RigidBox()
{
m_width = 0.0f;
m_height = 0.0f;
m_depth = 0.0f;
m_obb.SetAxis1(Vector3D(1.0f, 0.0f, 0.0f));
m_obb.SetAxis2(Vector... | [
"alec.nunn@gmail.com"
] | alec.nunn@gmail.com |
3c8ccfbf6866e88d63740e0c5ae101e36a3070b7 | 8bee6c7e6613a87b1e78572f49b8b04411a51974 | /4pheptinhcoban.cpp | 84f3ac006fa3c3015d5a1307ec715b7c4b877343 | [] | no_license | Tanphong15987532/BT-GIT2 | 59480da4b3b701f4223b4d119811bc04addba48c | 21f9a68a9988bdb11166ef347025706a9e87b0df | refs/heads/master | 2023-01-02T01:35:42.626991 | 2020-10-30T16:06:06 | 2020-10-30T16:06:06 | 308,634,009 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 789 | cpp | #include <iostream>
using namespace std;
int tong(int a, int b);
int hieu(int a, int b);
int tich(int a, int b);
float thuong(int a, int b);
int main()
{
cout << "DAY LA CHUONG TRINH DE THUC HANH GIT";
int a = 10;
int b = 2;
int tongab= tong(a,b);
int tichab= tich(a,b);
float thuongab= thuong(a,b);
cout<<"... | [
"auhuenhu2015@gmail.com"
] | auhuenhu2015@gmail.com |
340a110a9c1f8629ea77039e0ac72fe4f55a6a35 | eb3a61fe2726650416e9957469d9bb62454360c5 | /src/vm/misc/Utils.cpp | fd21841cd831a6fa42b82a7d57012ce46044be14 | [
"MIT"
] | permissive | 215559085/ccvm | 2d237089c877da29eac21f66a6b0d4cc69b170cd | 483a3ea4081f3ed9513d6811bfa1573e8eb52ad2 | refs/heads/master | 2020-12-14T14:07:23.072431 | 2020-02-12T07:08:00 | 2020-02-12T07:08:00 | 234,766,806 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,043 | cpp | //
// Created by Admin on 2020/1/20.
//
#include "Utils.h"
#include "../Runtime/JavaTypes/JType.h"
#include "../Runtime/JRuntiemEnv/JRuntimeEnv.h"
#include <typeinfo>
JType* cloneValue(JType* value) {
if (value == nullptr) {
return nullptr;
}
JType* dupvalue{};
if (typeid(*value) == typeid(JDou... | [
"215559085@qq.com"
] | 215559085@qq.com |
b6b54f4e92f33df6b45600613fe92b0c828feda2 | c7204f8930f6b6618d67b5e59e5bec375ef5caef | /Source/PluginProcessor.cpp | 1a156d6a8163be44873790e29d4aaba4d55af6ef | [] | no_license | smacla200/AmbiEncoder | caaf9c0c6280546a4a7d5e0440141d40a9e05838 | 4bc383ee4f4783599483c3ab0dd256c98bfefe96 | refs/heads/master | 2021-01-22T10:56:27.782866 | 2017-02-15T13:45:46 | 2017-02-15T13:45:46 | 82,054,533 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,156 | cpp | /*
==============================================================================
This file was auto-generated!
It contains the basic framework code for a JUCE plugin processor.
==============================================================================
*/
#include "PluginProcessor.h"
#inc... | [
"smacla200@lab-m329-mac-13.enterprise.gcal.ac.uk"
] | smacla200@lab-m329-mac-13.enterprise.gcal.ac.uk |
2ab4f3ca94b7dde62272f3393105bd494db26ee0 | a6ef9674622f6e7c46ac31f4cfffbd568ff4f97e | /SteadyState_Rectangular_0_dt2t10000/processor0/10000/p | 765a98063e48cab8d2b9bee6dd4ca1806a9a12f5 | [] | no_license | jhargun/FluidIP | 4c3f6d9a87ed8ce24ed692a9bf939a9ca04222f6 | d6e0f20c1f5e1f86c160497be9d632e6d17abbf7 | refs/heads/master | 2022-08-26T02:34:26.327956 | 2020-05-26T22:33:29 | 2020-05-26T22:33:29 | 266,886,503 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 590,810 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*-------... | [
"48771820+jhargun@users.noreply.github.com"
] | 48771820+jhargun@users.noreply.github.com | |
82a5805681d4cf4032ab573512ea5dd4ff1d745d | fd2395ea3e33f64c791368519263b7b74cc2be78 | /parsec/facesim/src/Public_Library/Read_Write/READ_WRITE_FUNCTIONS.h | 41088a220d42ff00e40eb792af7461c71ebf6afa | [] | no_license | lucashmorais/taskdep-suit | ca127a6ed864cbebac6181c39e311523a63f9337 | 66ca8115ae1084516f30e52f56eabad542639e5a | refs/heads/master | 2022-09-29T11:26:36.310892 | 2022-04-04T14:15:26 | 2022-04-04T14:15:26 | 175,003,350 | 0 | 0 | null | 2021-04-13T20:33:57 | 2019-03-11T13:13:56 | C | UTF-8 | C++ | false | false | 18,288 | h | //#####################################################################
// Copyright 2004, Eran Guendelman, Igor Neverov, Andrew Selle, Eftychios Sifakis.
// This file is part of PhysBAM whose distribution is governed by the license contained in the accompanying file PHYSBAM_COPYRIGHT.txt.
//###########################... | [
"sirmochi45@gmail.com"
] | sirmochi45@gmail.com |
78a550f4822f0a0e0583076d65a93a601575e1bf | 2109eb2c8d56abd83376401b21cafe6815c49ff2 | /HP3d/CellIdTests.cpp | b1dc4756210e200153bc1d7dc14d20c7fd64ebd6 | [] | no_license | cosmi/hp3d2 | d89d5d0ff9791d6f2e1a721f7519916ce7d69629 | 7a5e3b831fef9d32176def9456488cbf1c73ce2d | refs/heads/master | 2020-04-06T03:40:58.988383 | 2015-11-21T12:17:24 | 2015-11-21T12:17:24 | 37,082,413 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 859 | cpp | //
// CellIdTests.c
// HP3d
//
// Created by Marcin on 03.08.2015.
// Copyright (c) 2015 Marcin. All rights reserved.
//
#include "CellIdTests.h"
#include "TestCommons.h"
void testCellIdOperations() {
CHECK_EQ("Valid half", CellId<2>::getForSize({4, 4}), CellId<2>::getForSize({4, 8}).getHalf());
CHECK_EQ(... | [
"marcin@swmansion.com"
] | marcin@swmansion.com |
691066a9f3540b8b2cb04b881c98f4216da53080 | 22f801ef0ad614dfe3584cc88e8ee9af4423d504 | /MbedQuadCopter/SystemCalibrators/CalibrationControllers/IMUSensors/SensorCalibrationControllers/XYZAxisCalController/XYZAxisCalController.h | fa0a9760bc533581e405f10caf52925ff9046bc3 | [] | no_license | Scubaboy/MbedQuad | 007ee11a7dd5be4daea306a6f955c5a866a3c2e4 | 5a02ce4d27cc66224c20403d99a941a4245755b5 | refs/heads/master | 2021-01-10T15:36:52.590917 | 2015-11-06T15:46:54 | 2015-11-06T15:46:54 | 45,548,575 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,786 | h | #ifndef XYZAxisCalController_H
#define XYZAxisCalController_H
#include "BaseCalibrationController.h"
#include "BaseDataStorageController.h"
#include "UserResponce.h"
#include "SensorBase.h"
#include "BaseThreeAxisFlightData.h"
#include "XYZAxisMinMax.h"
#include "XYZAxisCalCtrlTypes.h"
class XYZAxisCalContro... | [
"robin@robincawsey.plus.com"
] | robin@robincawsey.plus.com |
a8e24863950bcff5b5470a01e7390bd7cf580b8f | a81c07a5663d967c432a61d0b4a09de5187be87b | /ash/wm/workspace/backdrop_controller.h | 55934106f04b0ce298c5a9d740bc5dc48174672a | [
"BSD-3-Clause"
] | permissive | junxuezheng/chromium | c401dec07f19878501801c9e9205a703e8643031 | 381ce9d478b684e0df5d149f59350e3bc634dad3 | refs/heads/master | 2023-02-28T17:07:31.342118 | 2019-09-03T01:42:42 | 2019-09-03T01:42:42 | 205,967,014 | 2 | 0 | BSD-3-Clause | 2019-09-03T01:48:23 | 2019-09-03T01:48:23 | null | UTF-8 | C++ | false | false | 5,111 | 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 ASH_WM_WORKSPACE_BACKDROP_CONTROLLER_H_
#define ASH_WM_WORKSPACE_BACKDROP_CONTROLLER_H_
#include <memory>
#include "ash/accessibility/accessibil... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
11c27b4e9ebcddcab3371cacaf69fcb4017c0eae | d743b2d40957a3c07e8bfc03ea69e459c96ace56 | /271 Encode and Decode Strings/271.cpp | bc0c3b450c24003266376041211cf5e8931a6bb2 | [] | no_license | TakuyaKimura/Leetcode | f126e72458f7a1b6eb8af9dd874fc2ee77eefe01 | 6f68ed674a3de7d2277c256583c67dda73092dc0 | refs/heads/master | 2021-01-10T21:39:48.227089 | 2016-02-06T11:08:29 | 2016-02-06T11:08:29 | 40,781,363 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,070 | cpp | /*
Design an algorithm to encode a list of strings to a string.
The encoded string is then sent over the network and is decoded back to the original list of strings.
Machine 1 (sender) has the function:
string encode(vector<string> strs) {
// ... your code
return encoded_string;
}
Machine ... | [
"TakuyaKimura@users.noreply.github.com"
] | TakuyaKimura@users.noreply.github.com |
9372ab017561f58564eb5ff0d515e9785f977825 | daffb5f31e4f2e1690f4725fad5df9f2382416e3 | /Template/FFT_2D.h | 132a166e329dbde3c350db5a56357371522fd3ce | [] | no_license | cuom1999/CP | 1ad159819fedf21a94c102d7089d12d22bb6bfa2 | 4e37e0d35c91545b3d916bfa1de5076a18f29a75 | refs/heads/master | 2023-06-02T01:57:00.252932 | 2021-06-21T03:41:34 | 2021-06-21T03:41:34 | 242,620,572 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,235 | h | typedef complex<double> base;
namespace FFT_2D {
vector<int> inv_fft;
vector<base> roots;
void preCalcFFT(int n, bool inv) {
inv_fft.resize(n);
int j = 0;
for(int i=1; i<n; i++)
{
int bit = (n >> 1);
while(j >= bit)
{
j -= bit;
bit >>= 1;
}
j += bit;
inv_fft[i] = j;
}
root... | [
"lephuocdinh99@gmail.com"
] | lephuocdinh99@gmail.com |
e0e177deef27292d1b920bd8c7d02ea7828d33e5 | 8be1a777adcd1c80d828e87a3f70c13566d73f43 | /Analyser/Machines.hpp | cd64edd33602330497592e9f18637a03cfa203e5 | [
"MIT"
] | permissive | ajacocks/CLK | d42249c12afae6bbc1253cb1a556b6c6a9f22be5 | 5f39938a192f976f51f54e4bbaf6d5cded03d48d | refs/heads/master | 2022-07-30T03:58:53.285448 | 2020-05-11T04:52:51 | 2020-05-11T04:52:51 | 262,941,152 | 0 | 0 | MIT | 2020-05-11T04:48:30 | 2020-05-11T04:48:30 | null | UTF-8 | C++ | false | false | 379 | hpp | //
// Machines.h
// Clock Signal
//
// Created by Thomas Harte on 24/01/2018.
// Copyright 2018 Thomas Harte. All rights reserved.
//
#ifndef Machines_h
#define Machines_h
namespace Analyser {
enum class Machine {
AmstradCPC,
AppleII,
Atari2600,
AtariST,
ColecoVision,
Electron,
Macintosh,
MasterSystem,
... | [
"thomas.harte@gmail.com"
] | thomas.harte@gmail.com |
e2de38bd80bf2cfa5e38ca90f4721f5caee5acb0 | 04d0e82e894777fa64303627804af494275f39bb | /common/errutils.hpp | c312e8eb4695597146dc5846cbcd00e46e90956e | [
"MIT"
] | permissive | avtomaton/toolchain-cpp | 1723d6e3f92327457dab54f9ef67d21c035f2318 | 69868a2b8328f5cf30f134303210d0306f76901e | refs/heads/master | 2020-05-22T03:57:08.290711 | 2017-09-14T18:15:36 | 2017-09-14T18:15:36 | 53,838,481 | 1 | 1 | null | 2016-06-07T10:53:34 | 2016-03-14T08:18:15 | C++ | UTF-8 | C++ | false | false | 3,405 | hpp | #ifndef AIFIL_UTILS_ERRUTILS_H
#define AIFIL_UTILS_ERRUTILS_H
#include <string>
#include <sstream>
#include <stdexcept>
#include <mutex>
#include <atomic>
#include <csignal>
#include "c_attribs.hpp"
#include "logging.hpp"
#include "errstream.hpp"
#ifdef __GNUC__
#define FUNC_SIGNATURE __PRETTY_FUNCTION__
#elif defi... | [
"avtomaton@gmail.com"
] | avtomaton@gmail.com |
fcc1a4741856cc3171b6d10e86fd1f1907cece2b | 39c885e8a20b9e7146f351fa43513837630f1ded | /webpagetest/agent/browser/ie/pagetest/PagetestReporting.h | 56b071b4f9dea415ef11b0cae585b63787b1d69a | [] | no_license | youleiy/di | 3f95ccef08708a48e7c265249b445bf1e80bdb06 | a82782560b22df665575e662ea4c888d22e79f96 | refs/heads/master | 2021-01-14T09:41:57.667390 | 2014-01-01T04:27:20 | 2014-01-01T04:27:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,723 | h | /*
Copyright (c) 2005-2007, AOL, LLC.
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 conditions and... | [
"drupal@owenbarton.com"
] | drupal@owenbarton.com |
4f956d128ed55e3cb2b61688a8b3cfe0d8ba024f | 33691f66e73fdfe7d90caebf51bc39b60ffd8a38 | /UserInterface/EntityOperation.cpp | be6b0b123dbb59768ea8a5f58f855d193930186b | [] | no_license | Frenor/CCCP | 9bc494dc5ed0bc049dc71a3735897ea33e663bbf | 91994c73af62aa6f3c1b7a812ee1ae6f8092a30a | refs/heads/master | 2020-05-07T09:23:06.667397 | 2014-11-24T16:30:43 | 2014-11-24T16:30:43 | 25,698,291 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,376 | cpp | #include "EntityOperation.h"
EntityOperation::EntityOperation(QObject* model, QObject *parent) : QObject(parent)
{
resetOperation();
connect(model, SIGNAL(activeEntityChanged(Entity*)), this, SLOT(newSelection(Entity*)));
connect(model, SIGNAL(entityDeleted(Entity*)), this, SLOT(removeEntity(Entity*)));
connect(t... | [
"fredrik@nordmoen.com"
] | fredrik@nordmoen.com |
5d5f1d38972a784ba303c4b9a08f68264d7aaa24 | 3e24f8a6c68bdb0a863ac4a430ccc781df37be5f | /multibody/multibody_tree/math/test/transform_test.cc | a4c6409d50082a999a97def40b51b50947b4d906 | [
"BSD-3-Clause"
] | permissive | BachiLi/drake-distro | dd4bfd2eb19a16b7a762ca7525564d7b487c9a1d | 100d08731818a204337207de59fc20251b17b642 | refs/heads/master | 2021-09-06T16:57:58.175967 | 2018-02-08T18:55:32 | 2018-02-08T18:55:32 | 109,608,467 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,589 | cc | #include "drake/multibody/multibody_tree/math/transform.h"
#include <gtest/gtest.h>
namespace drake {
namespace multibody {
namespace math {
namespace {
using Eigen::Matrix3d;
using Eigen::Vector3d;
constexpr double kEpsilon = std::numeric_limits<double>::epsilon();
// Helper function to create a rotation matrix a... | [
"noreply@github.com"
] | noreply@github.com |
b6b6f3c8d997005fe16894cf66792289ccbca038 | aa07db86d2abb542f04f3652dbff85c2d3aecdbd | /Chimera/AlertSystem.h | bfd3531f384994717daaccdb1fcdaaf5c924ff70 | [] | no_license | KaufmanLabJILA/Chimera-Control-Master | 3604ed5be843388e113ffe47aee48b4d41c2c0bf | 8ae17f4f562ca899838f6fbea71fc431981efe98 | refs/heads/master | 2023-08-21T10:24:30.614463 | 2022-01-18T22:42:35 | 2022-01-18T22:42:35 | 105,817,176 | 6 | 3 | null | 2019-08-15T16:57:10 | 2017-10-04T20:52:16 | C++ | UTF-8 | C++ | false | false | 1,280 | h | #pragma once
#include "Control.h"
#include <Mmsystem.h>
#include <mciapi.h>
#include "cameraPositions.h"
#pragma comment(lib, "Winmm.lib")
class AlertSystem
{
public:
AlertSystem() : alertMessageID{ 0 }
{
// load the music!
mciSendString( cstr( str( "open \"" ) + MUSIC_LOCATION + "\" type mpegv... | [
"KaufmanLabJILA@gmail.com"
] | KaufmanLabJILA@gmail.com |
3f28fdcdd049ec06895b3ffc7e0a9946ca85cc02 | 7e167301a49a7b7ac6ff8b23dc696b10ec06bd4b | /prev_work/opensource/fMRI/FSL/fsl/extras/include/boost/boost/mpl/replace_if.hpp | a284442392c0538f95c3fb780143637ed0f92ca0 | [
"BSL-1.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Sejik/SignalAnalysis | 6c6245880b0017e9f73b5a343641065eb49e5989 | c04118369dbba807d99738accb8021d77ff77cb6 | refs/heads/master | 2020-06-09T12:47:30.314791 | 2019-09-06T01:31:16 | 2019-09-06T01:31:16 | 193,439,385 | 5 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 1,891 | hpp |
#ifndef BOOST_MPL_REPLACE_IF_HPP_INCLUDED
#define BOOST_MPL_REPLACE_IF_HPP_INCLUDED
// Copyright Aleksey Gurtovoy 2000-2004
// Copyright John R. Bandela 2000-2002
// Copyright David Abrahams 2003-2004
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy a... | [
"sejik6307@gmail.com"
] | sejik6307@gmail.com |
ab1b0f78db0607d3feb3ea39e41b755cc63a43bb | 2f86f968f01a99b4b9fd69d3f6e889ac4fe53d44 | /queue.cpp | bd3d0d539e715db385ea498adeb492ea8c48e8fa | [] | no_license | sundarsaravanan/CPP-Programs | 97cd1b5efacef89c0264e95cba18f06b601ed280 | 6017256065c92be0b769b0d6553e75ac3155a1bf | refs/heads/master | 2021-01-12T05:37:39.569301 | 2017-01-23T17:28:26 | 2017-01-23T17:28:26 | 77,149,877 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 481 | cpp | #include<iostream>
using namespace std;
int f,r;
class queue
{
public:
char a[20];
queue()
{
f=0;
r=-1;
}
void deq()
{
int i=1;
while(f<=r)
{
cout<<i<<"."<<a[f++];
i++;
}
}
void enq(char x)
{
a[++r]=x;
}
};
int main()
{
int no,i;
char a;
queue q;
cout<<"Enter total number of processes\... | [
"sundarsaravanan96@gmail.com"
] | sundarsaravanan96@gmail.com |
e5bdd92e7966080572b7fee3ae33d01bec2dae1b | c3c96be8ae1142460034c2aea83dff5f5bb8cb98 | /11742.cpp | 5ebffbf0e85959abb6e28b803c5eb34100699020 | [] | no_license | shakilaust/Uva-Solve | 332016f01499e7c06e467efe6fb9422c3b8bd2de | a9bd40fe9e44547f920538fb2f142bb927216e8c | refs/heads/master | 2020-04-06T07:03:33.488459 | 2018-08-15T11:24:34 | 2018-08-15T11:24:34 | 15,436,062 | 5 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 3,627 | cpp | //BISMILLAHIRRAHMANIRRAHIM
/*
manus tar shopner soman boro
all my suceesses are dedicated to my parents
The true test of a man's character is what he does when no one is watching.
Author :: Shakil Ahmed
.............AUST_CSE27.........
prob ::
Type ::
verdict::
*/
#include <bits/stdc++.h>
#define pb push... | [
"shakil.austcse27@gmail.com"
] | shakil.austcse27@gmail.com |
a7517968854d47cde5013b1da37d448bf4d919ea | 80b9d1acd4268f4abc911ecd7ee289eae6812e97 | /lib/AFE_APIs/AFE-API-MQTT-Domoticz.cpp | 6f73ec571995b6d9b343c9ab28858ad5efb15238 | [
"MIT"
] | permissive | ziyo98/AFE-Firmware | c12138e2b73e99dcb4bc832da758031cbff8f4af | 6676c8d5e5aae3675a1500a5b3ddfb9b36543d22 | refs/heads/master | 2020-12-29T08:01:55.061894 | 2020-01-26T18:03:11 | 2020-01-26T18:03:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,956 | cpp | /* AFE Firmware for smart home devices, Website: https://afe.smartnydom.pl/ */
#include "AFE-API-MQTT-Domoticz.h"
#ifdef AFE_CONFIG_API_DOMOTICZ_ENABLED
AFEAPIMQTTDomoticz::AFEAPIMQTTDomoticz() : AFEAPI(){};
#ifdef AFE_CONFIG_HARDWARE_LED
void AFEAPIMQTTDomoticz::begin(AFEDataAccess *Data, AFEDevice *Device,
... | [
"github@adrian.czabanowski.com"
] | github@adrian.czabanowski.com |
abb0546a19321df5418d26c2ac48176d225a217d | a3a363c4a5cd807147d88db04439f25bc2444033 | /poseidon/src/singletons/magic_daemon.hpp | 2382d3e1f7a747a2a6a92cd1ca72f9543cf55bf1 | [
"Apache-2.0"
] | permissive | nail-lian/poseidon | 2fb93a3d2b85f74e090cc08259832fe44eab106a | 2110e7fd3069ba3d3570a264d5a7d9f57853f201 | refs/heads/master | 2020-04-17T16:57:06.746847 | 2018-10-29T02:49:13 | 2018-10-29T02:49:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 443 | hpp | // 这个文件是 Poseidon 服务器应用程序框架的一部分。
// Copyleft 2014 - 2018, LH_Mouse. All wrongs reserved.
#ifndef POSEIDON_SYSTEM_MAGIC_DAEMON_HPP_
#define POSEIDON_SYSTEM_MAGIC_DAEMON_HPP_
#include <cstddef>
namespace Poseidon {
class Magic_daemon {
private:
Magic_daemon();
public:
static void start();
static void stop();
st... | [
"lh_mouse@126.com"
] | lh_mouse@126.com |
19770e81fdf4f96667f86897cf783e8ff9ed7f69 | 6c18626c9bce92960a632d5fa9fde3764b3c1be5 | /database-struct/链表/链表/普通单链表.cpp | 63e276dc1941f7ab9a1c2da8d388677504c3cc36 | [] | no_license | 520MianXiangDuiXiang520/C | 992242f55f7ab5e912dfa9063a85e1be0cec0451 | cb771bf1948e72d1b8161b7b06765971b7cc6cee | refs/heads/master | 2020-04-08T04:09:57.016559 | 2019-01-07T04:51:16 | 2019-01-07T04:51:16 | 159,005,573 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,249 | cpp | /*普通单链表的创建 creat() */
/*输出单链表中个节点的值 display() */
/*在单链表中查找第i个节点的值 find() */
/*插入 add() */
/*删除 dele() */
#include<stdio.h>
#include<stdlib.h>
typedef struct link{
int info;
link *next;
}link;
/*建立一个空的单链表*/
link *none()
{
return NULL;
}
/*前插法创建单链表*/
link * creat_q()
{
link *head,*s;
int info,num,i;
i = 0;
hea... | [
"15364968962@163.com"
] | 15364968962@163.com |
93482662ca763e7f1d7e5131a36e03717eaca188 | 82cf52765e312da0860a601076addbbccabfd0ba | /Demo2.ino | cc35040400763b1490c033b2c3a824c3f7e884d3 | [] | no_license | Seed-lab-team-8/Demo2Final | 5ba0e727907a616b0c78928e16ad356d4e15f3b7 | 3c979072d35460209f0709e9bfa20aa5258d5424 | refs/heads/main | 2023-04-21T08:18:41.426619 | 2021-05-03T18:52:03 | 2021-05-03T18:52:03 | 361,867,109 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,072 | ino | #include <Wire.h>
#include <Encoder.h>
#define SLAVE_ADDRESS 0x04
byte data[32];
void forward(int dist);
void turn(int angle);
void circle();
////////////////////MOTOR DRIVER PINS/////////////////////////
//Left Wheel Encoder
#define L_CHAN_A 3 //encoder channel a
#define L_CHAN_B 6 ... | [
"noreply@github.com"
] | noreply@github.com |
9c1b888b6022e5e0b9f347e4043794c721d7b2e1 | c74a1ee91fb94c3d99f577b35bc35db15adf1dc3 | /src/qt/aboutdialog.cpp | 9684102338664a8227f3014d7ed8b2b30119d9bc | [
"MIT"
] | permissive | blackgldsaw/dazzlecoin-test | 37603810069099218dd87f9cedadb87a55b68120 | 2a1670bc769473e337e35cc2d6c3798647ef469f | refs/heads/master | 2021-01-13T07:11:54.111099 | 2017-06-22T14:13:11 | 2017-06-22T14:13:11 | 95,122,791 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,116 | cpp | // Copyright (c) 2011-2013 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "aboutdialog.h"
#include "ui_aboutdialog.h"
#include "clientmodel.h"
#include "clientversion.h"
// Copyright year (... | [
"blackgldsaw@gmail.com"
] | blackgldsaw@gmail.com |
fa5de7bc27a93e6cae4aa5e33048ed83580af072 | be0282afa8dd436619c71d6118c9db455eaf1a29 | /Intermediate/Build/Win64/Design3D/Inc/Engine/AnimNode_SaveCachedPose.generated.h | a7e2126f3329473bf36b46773bc2f98c2376c499 | [] | no_license | Quant2017/Design3D | 0f915580b222af40ab911021cceef5c26375d7f9 | 94a22386be4aa37aa0f546354cc62958820a4bf6 | refs/heads/master | 2022-04-23T10:44:12.398772 | 2020-04-22T01:02:39 | 2020-04-22T01:02:39 | 262,966,755 | 1 | 0 | null | 2020-05-11T07:12:37 | 2020-05-11T07:12:36 | null | UTF-8 | C++ | false | false | 1,168 | h | // Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
==============================================================... | [
"Snake_Jenny@126.com"
] | Snake_Jenny@126.com |
94153731d76f1513dab682e97b9ae0e3f18903a4 | c5a921726a3805663d26a2dbaa47e49497931d4e | /Accelerated_C++/chap6/urls/urls.cpp | 7e8eb42052d837e5f45860d30182ccdabb36134b | [] | no_license | snowdj/cs_course | a50d07548198b4202e8abde01ec572e2cce38ab3 | fa6504cb5145d10952f4615478fa745f4b35ba13 | refs/heads/master | 2020-03-17T15:18:52.190747 | 2018-05-13T08:08:51 | 2018-05-13T08:08:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,312 | cpp |
#include <string>
#include <vector>
#include <cctype>
#include <algorithm>
#include "urls.h"
using namespace std;
vector<string> find_urls(const string& s)
{
vector<string> ret;
typedef string::const_iterator iter;
iter b = s.begin(), e = s.end();
while (b != e)
{
b = url_beg(b,e);
... | [
"jesse@liu.onl"
] | jesse@liu.onl |
4cb060f20cfff41f9a0713e2a1535746c526be00 | 8b4aca4180d5cf53f54c3c9bf39802902351cd34 | /easy/rightmostChar/rightmostChar.cpp | da693af3dee735cfa4477af6c5c4c8864c36ead1 | [] | no_license | p-lots/codeeval | 31d3b38560ea513a872b83f5eb702dda0a3346aa | aea06e6fd955920c9ba019599035796bda5a0ca6 | refs/heads/master | 2020-05-21T14:40:04.395429 | 2019-05-11T05:04:12 | 2019-05-11T05:04:12 | 186,086,439 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 693 | cpp | // https://www.codeeval.com/open_challenges/31/
// Submitted November 25, 2015
#include <iostream>
#include <fstream>
#include <sstream>
#include <string>
using namespace std;
int main(int argc, char *argv[])
{
ifstream file(argv[1]);
string line;
while (getline(file, line)) {
stringstream ss(line);
string t... | [
"paul.calotta@gmail.com"
] | paul.calotta@gmail.com |
0b1f4ff8b872db93f5c0bc97a85a61ac35f6a430 | c629cdda40748f35341e9da53faa210c90b21f89 | /src/batteries/seq/inner_reduce.hpp | fc8c7988cd61ecf5cea7cbbd15e9b667599abd02 | [
"Apache-2.0"
] | permissive | tonyastolfi/batteries | e2c9b590e620b78e03449893206ac79900d340a1 | acea1f4e10e9f7fbf97c3ab3cf30766b19130ece | refs/heads/main | 2023-08-20T01:56:24.076281 | 2023-02-06T19:32:33 | 2023-02-06T19:32:33 | 228,197,783 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,216 | hpp | //######=###=##=#=#=#=#=#==#==#====#+==#+==============+==+==+==+=+==+=+=+=+=+=+=+
// Copyright 2022 Anthony Paul Astolfi
//
#pragma once
#ifndef BATTERIES_SEQ_INNER_REDUCE_HPP
#define BATTERIES_SEQ_INNER_REDUCE_HPP
#include <batteries/config.hpp>
//
#include <batteries/optional.hpp>
#include <batteries/seq/reduce.h... | [
"tastolfi@gmail.com"
] | tastolfi@gmail.com |
6baa7990d08206e2730541953041bcd4967f61fc | d168daf4c99413cc344eb6d7bd7d66123c3ce6ae | /IntakeTest/IntakeTest.ino | 8ac0a963be80e19977df16dfb3d5c64fff380d25 | [] | no_license | SoonerRobotics/IEEE-2018-Test | cbb3a488795e54b6a12820dd68380b7d9e7a91e9 | 91d696d351d779694443da4ce9a445552255cfc0 | refs/heads/master | 2021-09-11T00:18:11.754466 | 2018-04-04T22:35:00 | 2018-04-04T22:35:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 798 | ino | #include <RobotLib.h>
#include <IEEErobot2018.h>
void setup()
{
robotSetup();
}
void loop()
{
// DO NOT RUN UNTIL INTAKE_CONSTATNS HAVE BEEN TESTED FOR AND ADDED TO INTAKECONSTANTS.H !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
while (!intake.getLowSwitch())
{
Serial.println("Reseting");
iMotor.output(-.4);
}
... | [
"32001455+Hambonaire@users.noreply.github.com"
] | 32001455+Hambonaire@users.noreply.github.com |
deef0a636bb23f51076b93f2a5f0a46138902010 | 4a6aebfe469914a52001400d7c05717207f82133 | /Scrabble.cpp | 13b8b496185fa350d884283db71627f47a66def4 | [] | no_license | jonathan-elize/ScrabbleBoard | bf77e028cd3e7b8ac983d5f5b358039b4eede717 | 4ffe8e3453c76d1e5536bea5036d98993f34a3ea | refs/heads/master | 2021-07-22T03:52:25.188676 | 2017-10-27T20:58:54 | 2017-10-27T20:58:54 | 108,594,749 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,622 | cpp | //-| --------------------------------------------------------------------------
//-| File name: Scrabble.cpp
//-| Assign ID: PROG2
//-| Due Date: September 16, 2017
//-|
//-| Purpose: Display gameboard based on data file
//-|
//-| Author: (c) 2017, jelize Jonathan Elize
//-|
//-| -----------------------... | [
"jonathan.elilze@gmail.com"
] | jonathan.elilze@gmail.com |
8dae3eeb3ff8fd7cf65c33ed1f270de98e9dbdb2 | bb55fde74de1a0afc42f76475ec63db26e7ec085 | /Chapter_04/trainOCR.cpp | 51fcd558d75d12abbc05be656297ba9f5e62c13b | [
"MIT"
] | permissive | royshil/Mastering-OpenCV-4-Third-Edition | 1dcd583f4c81477ccc335ae140cccf1173d1996d | b9757bbf8556c2a4c9f6d102bc8b356f4ce079f6 | refs/heads/master | 2020-04-24T17:13:15.834168 | 2018-12-24T08:33:34 | 2018-12-24T08:33:34 | 172,139,005 | 0 | 1 | MIT | 2019-02-22T21:46:33 | 2019-02-22T21:46:33 | null | ISO-8859-3 | C++ | false | false | 2,866 | cpp | /*****************************************************************************
* Number Plate Recognition using SVM and Neural Networks
******************************************************************************
* by David Millán Escrivá, 5th Dec 2012
* http://blog.damiles.com
*********************************... | [
"david.millan@damiles.com"
] | david.millan@damiles.com |
45bc42cf40087e23e86ecb976d4190b9e551397b | b951d03be7c20bd4d9d923bbf6cc551e8a074f37 | /display/concrete/DataIndexWrapperDisplay.h | 81e4c56d1da263ba2eb755a8ba2b0dff46aef45e | [
"BSD-3-Clause"
] | permissive | michaelmurphybrown/MinVR2 | 1cefd97fa014ed6a1f81d6200cc637b3aa64758e | 517c8a345efebb068f298cba02b6b799634135a8 | refs/heads/master | 2021-01-15T16:04:30.870858 | 2016-03-01T23:12:29 | 2016-03-01T23:12:29 | 51,666,198 | 0 | 0 | null | 2016-03-01T23:12:50 | 2016-02-13T21:15:27 | C++ | UTF-8 | C++ | false | false | 857 | h | /*
* Copyright Regents of the University of Minnesota, 2016. This software is released under the following license: http://opensource.org/licenses/GPL-2.0
* Source code originally developed at the University of Minnesota Interactive Visualization Lab (http://ivlab.cs.umn.edu).
*
* Code author(s):
* Dan Orban (d... | [
"dtorban@umn.edu"
] | dtorban@umn.edu |
ddbc6c0862ac2669bfad6f046136e173b95b1825 | 77958210b82b9dd8ec38431156901c01afafff71 | /GTEngine/Source/Graphics/GteDirectionalLightTextureEffect.cpp | 1a6d736e612aa524aa3e4fb01996cea29631a6e6 | [] | no_license | spockthegray/gtengine | b0e6d73eb84c6ea01595da49052832a69b623203 | 2115fbced08e716aa2146530369fdcfb29c8dfbe | refs/heads/master | 2021-09-09T17:27:02.553547 | 2018-03-18T13:35:47 | 2018-03-18T13:35:47 | 125,728,146 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,396 | cpp | // David Eberly, Geometric Tools, Redmond WA 98052
// Copyright (c) 1998-2018
// Distributed under the Boost Software License, Version 1.0.
// http://www.boost.org/LICENSE_1_0.txt
// http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
// File Version: 3.0.0 (2016/06/19)
#include <GTEnginePCH.h>
#include <Graph... | [
"danrae.pray@live.com"
] | danrae.pray@live.com |
e40c4aae168215a429317f0bba9d87a5b0afa640 | 43ea51859b6ae1b91417289e30979dd7f9f055d8 | /Source/GameDevTVJam/GameDevTVJamCharacter.cpp | 2282752d9de618b2fa2395608f126d08978dd06e | [] | no_license | TheCodingRook/GameDevTVJam | e8b47f8d3307c0ac08644f2d4cb8913388e05261 | be69855c5c26ac8f2a003c6a27e5f20f46c05629 | refs/heads/master | 2022-12-08T19:14:12.663993 | 2020-09-04T20:47:03 | 2020-09-04T20:47:03 | 262,843,075 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,020 | cpp | // Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
#include "GameDevTVJamCharacter.h"
#include "Camera/CameraComponent.h"
#include "Components/CapsuleComponent.h"
#include "Components/InputComponent.h"
#include "GameFramework/SpringArmComponent.h"
#include "GameFramework/CharacterMovementComponent.h"
#includ... | [
""
] | |
ddbd53f3ea1c54ba6738df6969de6571c11c15b1 | 8d3232994e1b26a78159dd979c0dbd1379bfd3f9 | /source/extensions/filters/network/zookeeper_proxy/zookeeper_utils.h | 559ef0f63093d0aed714f27f9c86f093a4c67a06 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | theopenlab/envoy | f18f492634da9996e870d28774546e43d49982ca | 3f4e4722aaaa0dd9ad43a058da9ccad9019f988a | refs/heads/master | 2020-05-07T17:24:33.002380 | 2019-07-01T08:57:15 | 2019-07-01T08:57:15 | 180,726,774 | 0 | 0 | Apache-2.0 | 2019-07-03T01:50:56 | 2019-04-11T06:15:27 | C++ | UTF-8 | C++ | false | false | 1,300 | h | #pragma once
#include <cstdint>
#include "envoy/common/platform.h"
#include "common/buffer/buffer_impl.h"
#include "common/common/byte_order.h"
#include "common/common/logger.h"
namespace Envoy {
namespace Extensions {
namespace NetworkFilters {
namespace ZooKeeperProxy {
/**
* Helper for extracting ZooKeeper data... | [
"aickck@gmail.com"
] | aickck@gmail.com |
3328dd9c0dc5f1cd4c38155b05a2c213db218818 | 4dbb45758447dcfa13c0be21e4749d62588aab70 | /iOS/Classes/Native/mscorlib_System_Collections_Generic_Dictionary_2_g3327233862.h | 7506ed0b1a5a7180a7a9242859ebd885fb8bad71 | [
"MIT"
] | permissive | mopsicus/unity-share-plugin-ios-android | 6dd6ccd2fa05c73f0bf5e480a6f2baecb7e7a710 | 3ee99aef36034a1e4d7b156172953f9b4dfa696f | refs/heads/master | 2020-12-25T14:38:03.861759 | 2016-07-19T10:06:04 | 2016-07-19T10:06:04 | 63,676,983 | 12 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,931 | h | #pragma once
#include "il2cpp-config.h"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
// System.Int32[]
struct Int32U5BU5D_t3230847821;
// System.Collections.Generic.Link[]
struct LinkU5BU5D_t375419643;
// UnityEngine.Canvas[]
struct CanvasU5BU5D_t2903919733;
// UnityE... | [
"lii@rstgames.com"
] | lii@rstgames.com |
c354f48ed99e95b7f55d93cfedb3bf69278876c5 | 933f154b469178fb9c3dd648bc985960c19290db | /initial/111_MinDepthOfBinaryTree/Solution.cpp | 60a016d93105ce6252c4e0f157a2dca40a307466 | [] | no_license | zywangzy/LeetCode | c5468ea8b108e9c1dec125fb07a5841348693f96 | df2cba28ed47938073ab1ffc984af158e3de7611 | refs/heads/master | 2021-09-29T13:39:58.151078 | 2018-11-24T22:35:04 | 2018-11-24T22:35:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 785 | cpp | #include "../IOLib.hpp"
using namespace std;
/**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
public:
int minDepth(TreeNode* root) {
if(root =... | [
"wangzhiy@usc.edu"
] | wangzhiy@usc.edu |
b8bc38d200f8dbc4b424062ed37b1d9f39ea6c2d | a54e2ee8f7ed398098505342e40c9b74a40a7985 | /OpenMP_NumIntegr/OpenMP_NumIntegr/OpenMP_NumIntegr.cpp | b7b1ee26a3d8db366584c39fd1ad029b1fd4f583 | [] | no_license | olikomarov/CuncurrentProgramming | 39f00ff9b643c7dc266eae779d8871729d9e6956 | 3b101060b85ae2c8bdc494d82cabdd2bcbad67df | refs/heads/master | 2020-04-07T05:36:20.186541 | 2018-12-31T16:38:57 | 2018-12-31T16:38:57 | 158,102,552 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,577 | cpp | #include <stdio.h>
#include <conio.h>
#include <iostream>
#include <iomanip>
#include <omp.h>
#include <list>
#include <utility>
#include <exception>
using namespace std;
struct Result
{
double timestamp, area;
};
double f(const double x);
const Result method_rectangle(const double, const double, const double, co... | [
"oli.komarov@gmail.com"
] | oli.komarov@gmail.com |
1380248cff6e2bc32b905a9b50c5d533e553ea92 | 90047daeb462598a924d76ddf4288e832e86417c | /third_party/WebKit/Source/web/AnimationWorkletProxyClientImpl.h | 147b9d12be926a16dd309f7f423b19480c5b1a53 | [
"BSD-3-Clause",
"LGPL-2.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-1.0-or-later",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"MIT",
"Apache-2.0"
] | permissive | massbrowser/android | 99b8c21fa4552a13c06bbedd0f9c88dd4a4ad080 | a9c4371682c9443d6e1d66005d4db61a24a9617c | refs/heads/master | 2022-11-04T21:15:50.656802 | 2017-06-08T12:31:39 | 2017-06-08T12:31:39 | 93,747,579 | 2 | 2 | BSD-3-Clause | 2022-10-31T10:34:25 | 2017-06-08T12:36:07 | null | UTF-8 | C++ | false | false | 1,638 | h | // Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef AnimationWorkletProxyClientImpl_h
#define AnimationWorkletProxyClientImpl_h
#include "core/dom/AnimationWorkletProxyClient.h"
#include "platform/... | [
"xElvis89x@gmail.com"
] | xElvis89x@gmail.com |
a79efa12aca5db87c0a0278b4987eba0b4da2468 | eeb8f1df33baeb1b8454df8080ac07e7fab58da8 | /Graph/levelOrder.cpp | c1f6696bc077e7597c90c58597cb07227968f14e | [] | no_license | Nirav1510/Interviewbit-solution | 02ae5c3c0101793cc7088f4cc188fdfb34719da1 | 004a0fd3b10fac4d7347ef543df40657f2dafee0 | refs/heads/main | 2023-08-16T07:50:24.688145 | 2021-09-27T07:25:21 | 2021-09-27T07:25:21 | 365,322,719 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 659 | cpp | vector<vector<int>> ans;
void solve(TreeNode *root)
{
if (!root)
return;
queue<TreeNode *> q;
q.push(root);
while (!q.empty())
{
int n = q.size();
vector<int> temp;
while (n--)
{
auto t = q.front();
q.pop();
temp.push_bac... | [
"gusainirav1@gmail.com"
] | gusainirav1@gmail.com |
c99b346ef3b6940f71b16acb16ee13d56e4c836e | 2e6c469d50a58b57f2b9941939ca0974756c1308 | /cpp/flipgameii.cpp | 648aed8572d4fa4e32a5d613c7e2a4127329d271 | [] | no_license | john15518513/leetcode | 53ed07667f234a858291789ba0d60b46b5a11a51 | 43bf3c594a71535a3f4ee9154cc72344b92b0608 | refs/heads/master | 2021-01-13T04:29:47.247101 | 2018-10-08T02:12:56 | 2018-10-08T02:12:56 | 79,729,551 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 357 | cpp | class Solution {
public:
bool canWin(string s) {
if (s == "" or s.size() <2) return false;
for (int i = 0; i < s.size()-1; i++) {
if (s.substr(i,2) == "++") {
string t = s.substr(0, i) + "--" + s.substr(i+2);
if (!canWin(t)) return true;
}
... | [
"john15518513@gmail.com"
] | john15518513@gmail.com |
eb057c0b8c8db23e12d52edcb12c9324b6fef22b | b64d20711fa857b1a5149fb1bbfdda2a627cdde6 | /cerberus_anymal_c_control_1/include/cerberus_anymal_c_control_1/controller/cpgController_j.hpp | e0c16f5aef205bd6e34e54ee205ce7f2bd54ec39 | [
"BSD-3-Clause"
] | permissive | zdkhit/cerberus_anymal_locomotion | 179c7423c2f4fa58f866e5c59c43ebc7ae5b6c28 | 0af0fe9cd26a8e80f729e031aee43da0b7062310 | refs/heads/master | 2023-02-25T12:04:17.240281 | 2021-02-01T12:38:48 | 2021-02-01T12:38:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,047 | hpp | #ifndef RAI_QUADRUPEDCONTROLLER_HPP
#define RAI_QUADRUPEDCONTROLLER_HPP
#include <ros/console.h>
#include <Eigen/Core>
#include "string"
#include "cerberus_anymal_utils/SimpleMLPLayer.hpp"
#include "cerberus_anymal_utils/IK.hpp"
#include "cerberus_anymal_utils/GraphLoader.hpp"
# define M_PI 3.1415926535897932384... | [
"zsamuel@leggedrobotics.com"
] | zsamuel@leggedrobotics.com |
f89713727423f428bc2432f531e222cbe90fd973 | ab0e423f50f77a8a35c9eee1eab2b867209d30ea | /leetcode/1. Array/019. find-the-highest-altitude.cpp | 63de14aa9b0ecb56fcc4728e8c0017be248eb7ed | [] | no_license | harshit9270/DSA-Practice | 094dee910fdd5396d24e026c0415ad41868051e3 | af769ffd117b9c523c52027172718c991e8bdc4d | refs/heads/main | 2023-08-21T21:21:05.779928 | 2021-10-04T17:07:45 | 2021-10-04T17:07:45 | 411,307,737 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 310 | cpp | // Optimized O(n)
class Solution {
public:
int largestAltitude(vector<int>& gain) {
int ans = 0, temp =0;
for(int i=0; i<gain.size(); i++){
temp += gain[i];
if(temp > ans){
ans = temp;
}
}
return ans;
}
}; | [
"noreply@github.com"
] | noreply@github.com |
6cac75219e4d8f44646bba0e106bd53789ea147b | b4ce9e80b8a5fab531136f0b6ac17128f0b60376 | /125_GeV_Correction2/Run07Signal.h | ee839de77e5de912a6cbb80b1fc1566334167b6b | [] | no_license | k579l290/Physics-Research-summer2019 | 0a3c81e5fa18c9b862cfe89e1955061fc8a4524a | 4b4e9c7b329b848b0f24912a0ea8ed846ddcc32d | refs/heads/master | 2020-12-15T19:05:53.507422 | 2020-01-21T00:13:50 | 2020-01-21T00:13:50 | 235,220,546 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 67,132 | h | //////////////////////////////////////////////////////////
// This class has been automatically generated on
// Mon Jul 1 06:32:53 2019 by ROOT version 6.14/06
// from TTree Delphes/Analysis tree
// found on file: run07_Higgs0or1Jet_PtGen_450_820_forPtReco550_750GeV.root
///////////////////////////////////////////////... | [
"k579l290@ku.edu"
] | k579l290@ku.edu |
3b96c499db119a401a909912e84ba48b322dc5e4 | 3d6aa8fe2a687ec4da38c72b2ef490ea429d1f0f | /example/snippets/juliet1.1/89_CWE762_Mismatched_Memory_Management_Routines__new_free_struct_21.cpp | f303add7f6b235a8d1c4e61748ce289abebc1afb | [] | no_license | SEDS/mangrove | 116579ad3c70ee5a0b8ae67920752514851bad17 | a7c0be6268ac87ee60a69aa9664d7c5d39aae499 | refs/heads/master | 2022-12-11T12:03:52.927574 | 2020-07-30T15:39:42 | 2020-07-30T15:39:42 | 291,787,979 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 256 | cpp | #include "std_testcase.h"
namespace CWE762_Mismatched_Memory_Management_Routines__new_free_struct_21
{
#ifndef OMITGOOD
static void goodB2G1_sink(twoints * data)
{
{
free(data);
}
data = new twoints;
goodB2G1_sink(data);
}
#endif
}
| [
"mlmarenchino@hotmail.com"
] | mlmarenchino@hotmail.com |
06424472a9ebe958df3a1a176cf5d4a168b3d4ac | df79ac6d682789aa9042b58981559e032fe17ad0 | /CF(Code Forces)/cf7.cpp | 415017025f45b26cdb2c693ad33689dbd5bf1e2c | [] | no_license | abnsl0014/Coding-Questions | 834516e25312fb170b4b4fcf7ff83a4a2df7dd9f | 45973b56698d40612956b95ad10498850fe9aaa8 | refs/heads/master | 2020-05-15T01:56:00.299033 | 2020-05-07T10:36:02 | 2020-05-07T10:36:02 | 182,039,113 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 684 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
string s;
int ch=0,ce=0,cl=0,cll=0,co=0;
cin>>s;
for(int i=0;i<s.size();i++)
{
if(s[i]=='h'&& ch==0)
{
ch++;
}
else if(s[i]=='e'&&ch!=0&&ce==0)
{
ce++;
}
else if(s[i]=='l'&&... | [
"abnsl0014@gmail.com"
] | abnsl0014@gmail.com |
b03694bc631c65d65a320ebe4ccbd5bce5f089f4 | 37fe1bba682550af3d7f4808a35c84e9d2178ceb | /Source/RobCoG/Utilities/HandInformationParser.h | be5a5cb5eb9dfa020e5346dca8f041ebe90e9c7b | [
"BSD-3-Clause"
] | permissive | yukilikespie/RobCoG_FleX-4.16 | 706ba29ff21043d015f08716c8d85544c78fe6c6 | a6d1e8c0abb8ac1e36c5967cb886de8c154b2948 | refs/heads/master | 2021-06-30T18:01:21.603607 | 2017-09-21T14:20:30 | 2017-09-21T14:20:30 | 103,666,355 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,591 | h | // Copyright 2017, Institute for Artificial Intelligence - University of Bremen
#pragma once
#include "Enums/GraspType.h"
#include "Structs/HandOrientation.h"
#include "Structs/HandVelocity.h"
/**
* This class parses the HandOrientation for all Grasp types out of ini files
*/
class ROBCOG_API HandInformationParse... | [
"andiii579@gmail.com"
] | andiii579@gmail.com |
010b2a206cf4438d16b9ec7cb4224892be35a8ac | f753c6173870b72768fe106715b5cbe8496b9a89 | /private/src/avb_streamhandler/IasAvbClockDomain.cpp | 274f972846f9b20b773cb2c5a5d8d2d7a6661fff | [
"BSL-1.0",
"BSD-3-Clause"
] | permissive | intel/AVBStreamHandler | 3615b97a799a544b2b3847ad9f5f69902fbcab6e | 45558f68e84cc85fa38c8314a513b876090943bd | refs/heads/master | 2023-09-02T13:13:49.643816 | 2022-08-04T22:47:26 | 2022-08-04T22:47:26 | 145,041,581 | 17 | 24 | NOASSERTION | 2019-04-11T23:04:57 | 2018-08-16T21:38:32 | C++ | UTF-8 | C++ | false | false | 7,885 | cpp | /*
* Copyright (C) 2018 Intel Corporation. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
/**
* @file IasAvbClockDomain.cpp
* @brief The implementation of the IasAvbClockDomain class.
* @date 2013
*/
#include "avb_streamhandler/IasAvbClockDomain.hpp"
#include "avb_streamhandler/IasAvb... | [
"keerock.lee@intel.com"
] | keerock.lee@intel.com |
c07cd4c2c9892bd063008cf87358bb9169c44474 | 794cc446d2e70c6bcdc64309fe65dd8714c9f53b | /agent.cpp | 634a41dbe2f0c5d2e0476f7d330dde5336e7a69b | [] | no_license | mlebre/Boids-Project | b144878356550c409e3cfa93ff05c8825816e59a | eea6bfaccb7ccc5253cb23eddcbc1b4bfe9f245a | refs/heads/master | 2021-01-23T09:28:02.324661 | 2015-01-16T12:06:34 | 2015-01-16T12:06:34 | 28,633,564 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,177 | cpp | //*******************************************************************
// Agent
//*******************************************************************
//===================================================================
// Librairies & Project Files
//===================... | [
"mlebre@bs406-s16-12.insa-lyon.fr"
] | mlebre@bs406-s16-12.insa-lyon.fr |
ae7d97958bbe1798a425f9f00b34d0dca4820e3b | 7df8ea3fe9e430b0f3e39afc402763edf9382c0f | /Source/ConnectFour/SelectorTile.cpp | 0a9e30ee011b7dd3dfbc74617f3f246f1fc6e30d | [
"MIT"
] | permissive | StevenCaoZRC/ConnectFour | 694bb5c9635c36dd9e0f5f815372047e9b6ea30c | 8df8bdf366d7c684736be474af130346aabfb27d | refs/heads/master | 2022-12-26T11:27:27.150038 | 2020-10-05T00:49:27 | 2020-10-05T00:49:27 | 299,800,996 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 377 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "SelectorTile.h"
ASelectorTile::ASelectorTile()
{
//Establish the Tile type for Selector tiles. This will determine its mesh
TileType = ETileTypes::SELECTOR;
}
void ASelectorTile::BeginPlay()
{
Super::BeginPlay();
//bool I... | [
"stevenzhaooooo@gmail.com"
] | stevenzhaooooo@gmail.com |
4ef853182624957acf06ee882e1c5e690ef8d852 | 1d0163d142aa6c64dc7c0e1f5cfa2b6dfa4d538d | /src/patterns.cpp | 5e3a0c24ddf5844aca449ff2e1bb27fdcc9a2703 | [] | no_license | bwlewis/rchk | 9a280f5df8bf153dd15b0b3975117e407e8a216c | bc479a2a3de00af81147567928f116956ab23b1b | refs/heads/master | 2021-05-06T04:55:57.782495 | 2018-04-18T00:49:46 | 2018-04-18T00:49:46 | 115,020,991 | 0 | 0 | null | 2017-12-21T15:37:26 | 2017-12-21T15:37:24 | null | UTF-8 | C++ | false | false | 13,479 | cpp |
#include "patterns.h"
#include <llvm/IR/CallSite.h>
#include <llvm/IR/Constants.h>
#include <llvm/IR/Instructions.h>
#include <llvm/Support/raw_ostream.h>
using namespace llvm;
bool isAllocVectorOfKnownType(Value *inst, unsigned& type) {
CallSite cs(inst);
if (!cs) {
return false;
}
Function *tgt = cs.... | [
"kalibera@cs.purdue.edu"
] | kalibera@cs.purdue.edu |
dff9d26bba4f92a3730f9a088fcc91665e4ee443 | c30f5cd2df8fb046bf20191ca0c19937ae520186 | /CentipedeHeadObjectPool.cpp | 4637679abf99811dfd2a5d62d63b3edbe82d2dff | [] | no_license | ziggysmalls/Centipede | 7865aa2a7af8df4cdd4e632b68248dc0cde5e61b | 468da6142e37801ccd4d0217d0d25157d8a942dd | refs/heads/master | 2022-04-11T11:22:42.728444 | 2019-11-28T01:10:17 | 2019-11-28T01:10:17 | 224,543,567 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 851 | cpp | #include "CentipedeHeadObjectPool.h"
#include "Game Components/TEAL/CommonElements.h"
#include "CentipedeHead.h"
CentipedeHeadObjectPool::CentipedeHeadObjectPool()
{
}
CentipedeHeadObjectPool::~CentipedeHeadObjectPool()
{
while (!recycledItems.empty())
{
delete recycledItems.top();
recycledIt... | [
"noreply@github.com"
] | noreply@github.com |
296f78f0a53e90c255c7aa9d979bd96fb83ff0c4 | 789ec1a342e7ba9e571e240696d62f998c0efe65 | /apps/ogr2ogr_lib.cpp | 2de843f9e0f0317525682e992dd5893c6de4241b | [
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"LicenseRef-scancode-warranty-disclaimer",
"MIT",
"SunPro",
"LicenseRef-scancode-info-zip-2005-02",
"BSD-3-Clause"
] | permissive | speakeasy/gdal | a76384f3e3862f6a5d1e2067357e0d10fdcb61f4 | 294b6b399f93e1d9403859cf64fba80c95156cd1 | refs/heads/master | 2020-03-08T00:11:19.509823 | 2018-04-02T19:02:55 | 2018-04-02T19:02:55 | 127,800,245 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 185,986 | cpp | /******************************************************************************
* $Id: ogr2ogr_lib.cpp 39041 2017-06-09 21:44:01Z rouault $
*
* Project: OpenGIS Simple Features Reference Implementation
* Purpose: Simple client for translating between formats.
* Author: Frank Warmerdam, warmerdam@pobox.com
*
... | [
"speakeasysky@gmail.com"
] | speakeasysky@gmail.com |
a502b3f55fb813e2adc4101111f45d5411ea1e42 | 5af910371e4763fe4d1d9519fec12c0e2ad14188 | /class/herramientas_proyecto/tabla_sprites.cpp | d6297624cc1094db1a208d48f555ef1d545a0bd8 | [
"Unlicense"
] | permissive | TheMarlboroMan/recomposed-platformer | c329c2b7ab04939c89b9c2d9a1851a29f0f099a9 | 2b2e2a7a659e1571dedbadf981fc1707be72b4b2 | refs/heads/master | 2022-10-04T09:38:33.400114 | 2022-09-13T07:27:28 | 2022-09-13T07:27:28 | 119,906,270 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,387 | cpp | #include "tabla_sprites.h"
#include <class/lector_txt.h>
#include <source/string_utilidades.h>
Tabla_sprites::Tabla_sprites(const std::string& ruta)
{
cargar(ruta);
}
Tabla_sprites::Tabla_sprites()
{
}
const Frame_sprites& Tabla_sprites::obtener(unsigned int indice) const
{
return mapa.at(indice);
}
Frame_sprite... | [
"marlborometal@gmail.com"
] | marlborometal@gmail.com |
95fb10a90355e705b11e66918dbbaa10c362c719 | e1700081b3e9fa1c74e6dd903da767a3fdeca7f5 | /libs/geodata/polygon/private/geodatapolygonproxy_displaysetting.h | aa7fa3cba41ee89cae5b94a46a1ef9858e2a0961 | [
"MIT"
] | permissive | i-RIC/prepost-gui | 2fdd727625751e624245c3b9c88ca5aa496674c0 | 8de8a3ef8366adc7d489edcd500a691a44d6fdad | refs/heads/develop_v4 | 2023-08-31T09:10:21.010343 | 2023-08-31T06:54:26 | 2023-08-31T06:54:26 | 67,224,522 | 8 | 12 | MIT | 2023-08-29T23:04:45 | 2016-09-02T13:24:00 | C++ | UTF-8 | C++ | false | false | 633 | h | #ifndef GEODATAPOLYGONPROXY_DISPLAYSETTING_H
#define GEODATAPOLYGONPROXY_DISPLAYSETTING_H
#include "geodatapolygon_displaysetting.h"
#include "../geodatapolygonproxy.h"
#include <misc/boolcontainer.h>
#include <misc/compositecontainer.h>
class GeoDataPolygonProxy::DisplaySetting : public CompositeContainer
{
public:... | [
"kskinoue@gmail.com"
] | kskinoue@gmail.com |
0935a6fe5f0baecbf2cd76fd9a54de1b9c0f6423 | 2656294d1e697f43291d40ea25487cc6dc1de3b0 | /Parser.h | 740c6b79aafdc0da27c0c8ae5f398946b5dbe7db | [] | no_license | valkovsa/Console-expression-calc-RPN- | 2b03bd047f5f65bffde9abc746e370fea1720904 | f3c6ca5e6f3b691b3e86836bc8ea833b02aaafd6 | refs/heads/master | 2021-01-09T06:27:40.887616 | 2017-02-05T11:52:45 | 2017-02-05T11:52:45 | 80,989,478 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 2,310 | h | #pragma once
#include "Header.h"
class Parser
{
private:
bool delim(char c)
{
if (c == ' ')
return true;
else
return false;
}
bool is_op(char c)
{
if (c == '+' || c == '-' || c == '*' || c == '/' || c == '%')
return true;
else
return false;
}
int priority(char op)
{... | [
"noreply@github.com"
] | noreply@github.com |
985b6e3224dff19bcb16d14686d01d02189083e9 | e68cb3d4fa89451d7cc93f1829561a81648767de | /daylight_server/server.cpp | fc7242d0ced4e448c143b3141346ce669b3ada9d | [] | no_license | jandro1111/tp5 | 0ca8b6d4a2c510fe88ce8df77b30560e66391481 | eebb9d297da116411d5c346efc3c22501935b166 | refs/heads/master | 2023-04-10T00:14:06.147039 | 2021-04-14T23:55:28 | 2021-04-14T23:55:28 | 356,311,720 | 0 | 0 | null | null | null | null | WINDOWS-1250 | C++ | false | false | 5,300 | cpp | #include "server.h"
#include <iostream>
#include <string>
#include <boost\bind.hpp>
using boost::asio::ip::tcp;
std::string make_response_string(std::string aux);
AsyncDaytimeServer::AsyncDaytimeServer(boost::asio::io_context& io_context)
: context_(io_context),
acceptor_(io_context, tcp::endpoint(tcp::v4(), 80)... | [
"aalatsis@itba.edu.ar"
] | aalatsis@itba.edu.ar |
bf8ff95df0190a71aa4c3971fb367832e7582b7e | a72a2e6a96adef9d7f6ad4b913f386c9a4a8e0a4 | /Lec-27/Permuatition.Cpp | f52a958c21636e77954abb8c5678f44627c4f11f | [] | no_license | Mohit29061999/StAndrews-Cpp | dc9d5e022e7ce351682525974da7445e000c28fe | 84025f53a2473ab3142f508fcbdd74e57662b0e8 | refs/heads/master | 2023-02-26T00:06:09.938805 | 2021-01-29T07:32:09 | 2021-01-29T07:32:09 | 298,160,687 | 18 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 550 | cpp | #include <bits/stdc++.h>
using namespace std;
void permuation(char *arr,int i){
//base case
if(arr[i]=='\0'){
cout << arr << endl;
return;
}
//try all character for current position
for(int j=i;arr[j]!='\0';j++){
//a ke place pe c and c ke place pe a
... | [
"noreply@github.com"
] | noreply@github.com |
bf5874f6bcd66d6c0fce37988bbf33da5b0700f0 | 9ead5fcc5efaf7a73c4c585d813c1cddcb89666d | /m5/src/base/fifo_buffer.hh | f6205330bd6179a862fcf72d5817cbe90f8def0a | [
"BSD-3-Clause"
] | permissive | x10an14/tdt4260Group | b539b6271c8f01f80a9f75249779fb277fa521a4 | 1c4dc24acac3fe6df749e0f41f4d7ab69f443514 | refs/heads/master | 2016-09-06T02:48:04.929661 | 2014-04-08T10:40:22 | 2014-04-08T10:40:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,707 | hh | /*
* Copyright (c) 2002-2005 The Regents of The University of Michigan
* 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
* not... | [
"chrischa@stud.ntnu.no"
] | chrischa@stud.ntnu.no |
a55f1b5f5ee7a9af04ac4d3c78620960e2a97243 | 6fffa3ff4c26e55c71bc3a9f2c062335beff2d40 | /third_party/blink/renderer/core/layout/ng/inline/ng_inline_cursor.h | bf8cc15a8df5cf7a7e28ad6983865eb1110e63c7 | [
"BSD-3-Clause",
"LGPL-2.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-1.0-or-later",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"MIT",
"Apache-2.0"
] | permissive | vasilyt/chromium | f69c311d0866090f187494fc7e335d8d08c9f264 | aa7cd16211bca96985a7149783a82c3d20984a85 | refs/heads/master | 2022-12-23T22:47:24.086201 | 2019-10-31T18:39:35 | 2019-10-31T18:39:35 | 219,038,538 | 0 | 0 | BSD-3-Clause | 2019-11-01T18:10:04 | 2019-11-01T18:10:04 | null | UTF-8 | C++ | false | false | 11,393 | h | // Copyright 2019 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 THIRD_PARTY_BLINK_RENDERER_CORE_LAYOUT_NG_INLINE_NG_INLINE_CURSOR_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_LAYOUT_NG_INLINE_NG_INLINE_CURSOR_H_
... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
5d413a08e8be5e8a35d0d9b54aed68a8eddecfc6 | d6bcfbc0173d84f25e9edb9aa49624f8af167a46 | /Communication/Network/DataClient.h | 9a8519839ac1631cf6ec62281cc00a449aa2c148 | [] | no_license | 15831944/DH1551 | 11bdba9b7904ccdbb1644a76ba44c3c5479176ea | 1bff86b4b6cc4bd4cc1a3c94900377c753f15089 | refs/heads/master | 2023-03-16T05:48:55.919303 | 2020-07-13T09:39:25 | 2020-07-13T09:39:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 530 | h | #ifndef DATACLIENT_H_
#define DATACLIENT_H_
#include "Network.h"
#include "../Common/UpgradeCommon.h"
class DataClient : public Network
{
public:
DataClient();
~DataClient();
public:
int StartConnectCastpalServer(char * pIPStr, unsigned short usPort);
int SendDataToCastpalServer(unsigned char *pBuffer, unsigned ... | [
"gongjinqiang@szmtc.com.cn"
] | gongjinqiang@szmtc.com.cn |
e5499865f332eda3dc5194013ec99ffbbf0f9a26 | 17a529c4269ae9d5429feb976be1c249980b5334 | /ResistoMetor/ResistoMetor.ino | c11a07cb06b6b0c60b52222fb12b8b4b5459f615 | [] | no_license | Kichkun/cubesat | c05edb8a124cd4b3e0563cd502cb23a7d1463f3c | 4a5296a76b02a792824f9e4cd10545310b9cbeeb | refs/heads/master | 2020-03-06T23:05:39.249184 | 2018-07-24T08:49:15 | 2018-07-24T08:49:15 | 127,123,306 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,592 | ino | // ОММЕТР (С)2013 ALEN Studio by Little_Red_Rat
// Омметр на осное ARDUINO
//
// Подключение делителя напряжения к ARDUINO
// Arduino 5V -> R1 10kOm -> Arduino Analog 0 -> R2 -> Arduino GND
int analogPin_0 = A0; // Анлоговый вход для считывания напряжения с делителя напряжения
int analogPin_1 = A1;
float Vout = 0; ... | [
"noreply@github.com"
] | noreply@github.com |
d7ea052b9475ba48d0544f4bffddcf04eb27d0be | 91a882547e393d4c4946a6c2c99186b5f72122dd | /Source/XPSP1/NT/sdktools/checksym/symbolverification.cpp | 2d329f83ed23a063851dafcda5630acaabf57c01 | [] | no_license | IAmAnubhavSaini/cryptoAlgorithm-nt5src | 94f9b46f101b983954ac6e453d0cf8d02aa76fc7 | d9e1cdeec650b9d6d3ce63f9f0abe50dabfaf9e2 | refs/heads/master | 2023-09-02T10:14:14.795579 | 2021-11-20T13:47:06 | 2021-11-20T13:47:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,261 | cpp | //+-------------------------------------------------------------------------
//
// Microsoft Windows
//
// Copyright (C) Microsoft Corporation, 1999 - 2000
//
// File: symbolverification.cpp
//
//--------------------------------------------------------------------------
// SymbolVerification.cpp: implementati... | [
"support@cryptoalgo.cf"
] | support@cryptoalgo.cf |
4acbaa2dc3badb44d91279e715c55f0dc4e8199b | afdc82729b1ae1e1a11fc0d63d4990a7972a9fd6 | /mace/ops/arm/base/deconv_2d_2x2.cc | faa06666fb70976b5cdb604ff16cbcd5234bdc39 | [
"Apache-2.0"
] | permissive | gasgallo/mace | 79e759ceb9548fa69d577dd28ca983f87a302a5e | 96b4089e2323d9af119f9f2eda51976ac19ae6c4 | refs/heads/master | 2021-06-23T19:09:24.230126 | 2021-03-02T12:23:05 | 2021-03-02T12:23:05 | 205,080,233 | 1 | 0 | Apache-2.0 | 2019-08-29T04:27:36 | 2019-08-29T04:27:35 | null | UTF-8 | C++ | false | false | 1,268 | cc | // Copyright 2020 The MACE 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 appl... | [
"luxuhui@xiaomi.com"
] | luxuhui@xiaomi.com |
2a28446a74c289b5fee46c5a471abc63382c6a0f | 572580660d475027fa349e47a078479222066726 | /Server/kennel/monitor/base/SNMP_lib.cpp | ed836470cd875fd69b1107a8e21d46b9eb2dacec | [] | no_license | SiteView/ecc82Server | 30bae118932435e226ade01bfbb05b662742e6dd | 084b06af3a7ca6c5abf5064e0d1f3f8069856d25 | refs/heads/master | 2021-01-10T21:11:37.487455 | 2013-01-16T09:22:02 | 2013-01-16T09:22:02 | 7,639,874 | 6 | 3 | null | null | null | null | GB18030 | C++ | false | false | 41,534 | cpp |
#include "SNMP_lib.h"
#ifdef SNMP_PP_NAMESPACE
using namespace Snmp_pp;
#endif
extern "C" long _ftol( double ); //defined by VC6 C libs
extern "C" long _ftol2( double dblSource ) { return _ftol( dblSource ); }
/////////////////////////////////////////////////////////////////////////////
// BasicSNMP类
//////////////... | [
"xingyu.cheng@dragonflow.com"
] | xingyu.cheng@dragonflow.com |
592cef35658bd9324055b3fbb90168a1ee4aed6b | 12ad42a6ff34ddf72f43bfeddb9f623816686747 | /lib/ui3/utils/DragMode.cpp | b299e8fd421dfee4752db9f782fd3395ab4fc263 | [] | no_license | cmann1/DustScripts | 45ba9c7161cee91e2de1056cc71b0c5314258a3b | 90a876a566461bca6aaf782455618d0c466b8d1f | refs/heads/master | 2023-04-27T05:38:08.151035 | 2023-04-24T12:54:11 | 2023-04-24T12:54:11 | 168,861,112 | 0 | 1 | null | 2021-03-27T17:46:33 | 2019-02-02T18:02:27 | C++ | UTF-8 | C++ | false | false | 127 | cpp | enum DragMode
{
Idle = 0x0,
Dragging = 0x1,
Resizing = 0x2,
Top = 0x4,
Bottom = 0x8,
Left = 0x10,
Right = 0x20,
}
| [
"thecmann1@gmail.com"
] | thecmann1@gmail.com |
05240bb95c49b66e0ad610ec107ba22eaab2f8ef | e565def47d49a21467442f7ad0ffe9a692303ff0 | /src/game_state_popup.cpp | d9ee203a5d56d594aa322caded4e0624b0adbe50 | [] | no_license | MisanthropicBit/Blockzorz-2 | 8a10dc62119ff5a8309ded3381ad5650d7a5e0d1 | 3045b4722fc7652998f0bd4e2e509796821057b6 | refs/heads/master | 2021-01-18T20:29:49.348879 | 2016-10-05T18:25:51 | 2016-10-05T18:25:51 | 20,334,643 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,546 | cpp | #include "audio_manager.hpp"
#include "color.hpp"
#include "font.hpp"
#include "game_state_manager.hpp"
#include "game_state_pop_up.hpp"
#include "graphics.hpp"
#include "particle_effect.hpp"
#include "screen.hpp"
game_state_popup::GameStatePopUp() {
fader = nullptr;
popup = nullptr;
title = nu... | [
"alexander.asp.bock@gmail.com"
] | alexander.asp.bock@gmail.com |
3ae64a05c591afc71b0bc5d109c377a8492b3ab2 | 6b84794b2b0aa23a2d2c3c5f1437001d103213ae | /Problems & Contents/URI/2-Ad-Hoc/1428-ProcurandoNessy.cpp | 3874ba2314069393027506e93b59e080d45b73d2 | [] | no_license | mtreviso/university | 2406d3782759a75ef00af4da8e4e1ed99cfb89d8 | 164dbfc13d6dddb3bdbb04957c4702d0e0885402 | refs/heads/master | 2021-01-09T08:14:21.551497 | 2016-06-09T23:19:01 | 2016-06-09T23:19:01 | 16,703,296 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 279 | cpp | #include <iostream>
#include <iomanip>
#include <cmath>
using namespace std;
int main(){
int n, a, b;
cin >> n;
while(n--){
cin >> a >> b;
int x = a-2;
int y = b-2;
int val = ceil(double(x)/3) * ceil(double(y)/3);
cout << val << endl;
}
return 0;
} | [
"marcosvtreviso@gmail.com"
] | marcosvtreviso@gmail.com |
a0c05ad6bd3465845b55a41c38c0614e5f43c2f2 | 451ff5a40071578341ca195908276992bd5396fa | /AtCoder/Educational DP/A - Frog 1.cpp | eabd2c432230555bb130bbf242acf7bddca8211b | [] | no_license | Tanjim131/Problem-Solving | ba31d31601798ba585a3f284bb169d67794af6c0 | 6dc9c0023058655ead7da7da08eed11bf48a0dfa | refs/heads/master | 2023-05-02T06:38:34.014689 | 2021-05-14T18:26:15 | 2021-05-14T18:26:15 | 267,421,671 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 828 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
#include <cstdlib>
using namespace std;
int solve(const vector <int> &heights, vector <int> &dp, int current){
if(current == 0){
return 0;
}
if(dp[current] != -1){
return dp[current];
}
int cost1 = solve(heights, dp, curren... | [
"1505082.tbf@ugrad.cse.buet.ac.bd"
] | 1505082.tbf@ugrad.cse.buet.ac.bd |
67d22e00252008eec695916738f51e3af35b237e | 8356073845231d63c578818b3043c0d3e0973c80 | /Lightoj/1316 - A Wedding Party.cpp | 4d1944b440e06d3a4ad61267f82011721bff28c2 | [] | no_license | anis028/Problem-solving | cce12d0273afbb1573c9a1eec2659f0fc363c71b | 3bc50ed9ff4d0ed1d80423a2ed1fdb1788d776b4 | refs/heads/master | 2020-07-06T19:57:54.889585 | 2019-08-21T10:20:12 | 2019-08-21T10:20:12 | 203,124,065 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,614 | cpp | #include<bits/stdc++.h>
#define db(x) printf("**%d\n",x)
#define pb push_back
#define pii pair<int,int>
#define pip pair<int,pair<int,int> >
#define mod 1000000007
#define mm(x,y) memset(x,y,sizeof(x))
#define fs first
#define sc ... | [
"emailforanis@gmail.com"
] | emailforanis@gmail.com |
71c419350f0585d552bb5e126b5531b265388401 | 027102cc45a255b3e4f818c28c7627487ae01dcb | /examples/UAlbertaBot with StarAlgo/SparCraft/source/GameState.h | 2341bc22fa6cc66c515955715c3d05cd552fc098 | [
"MIT"
] | permissive | Games-and-Simulations/StarAlgo | d5f77be45ecee2d2a0851456a5c8ce8b81cbca0a | ca0bc389db5a698de862ce2d1b14d2ae293e18b8 | refs/heads/master | 2020-04-13T15:14:56.313740 | 2019-01-01T21:29:58 | 2019-01-01T21:29:58 | 163,285,524 | 15 | 3 | MIT | 2018-12-27T11:17:00 | 2018-12-27T11:16:59 | null | UTF-8 | C++ | false | false | 7,061 | h | #pragma once
#include "Common.h"
#include <algorithm>
#include "MoveArray.h"
#include "Hash.h"
#include "Map.hpp"
#include "Unit.h"
#include "GraphViz.hpp"
#include "Array.hpp"
#include "Logger.h"
#include <memory>
typedef std::shared_ptr<SparCraft::Map> MapPtr;
namespace SparCraft
{
class GameState
{
Map * ... | [
"certicky@gmail.com"
] | certicky@gmail.com |
e06538ffb65d7be4e404db22b1b54b95bfc7ec73 | c724b322b2569cca483d2efc7e4f72891489bec6 | /arduino/IoTServer/ThingSpeak/dht11_client_dev/dht11_client_dev.ino | 15db0afd355c3a2cac033aba7b2b06b2711b4ce8 | [] | no_license | lunix983/iotelasticproject | 11417fc4359b00c4e321479a261901c23c06775f | f7509846198957d791c820901ed87729c444c79a | refs/heads/master | 2021-09-17T02:40:28.284447 | 2018-06-26T21:12:12 | 2018-06-26T21:12:12 | 124,667,788 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,674 | ino |
#include <DHT.h>
#include <SdFat.h>
#include <FreeStack.h>
#include <SdFatConfig.h>
#include <BlockDriver.h>
#include <SysCall.h>
#include <MinimumSerial.h>
#include <SPI.h>
#include <RH_RF95.h>
/*
Upload Data to IoT Server ThingSpeak (https://thingspeak.com/):
Support Devices: LoRa Shield + Arduino
Exampl... | [
"lunix983@gmail.com"
] | lunix983@gmail.com |
5253a4ec6bbf524e2face4acc81d3cc6c4e3d791 | fcb200a43b37e63df6760c33c9427131e40650c6 | /StackWithMin.h | 2bb0cd5fa3616c53eefb7e099430059ef8e32516 | [] | no_license | ruoan777/HelloGithub | 3e80d2b37a5385b61e964d7f1ffb909d0840f32b | 7399d3193c912fc15f1b87f6206418d01359d1ab | refs/heads/master | 2020-03-22T21:25:10.869717 | 2018-07-12T09:12:29 | 2018-07-12T09:12:29 | 140,686,393 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,999 | h | //==================================================================
// 《剑指Offer——名企面试官精讲典型编程题》代码
// 作者:何海涛
//==================================================================
// 面试题30:包含min函数的栈
// 题目:定义栈的数据结构,请在该类型中实现一个能够得到栈的最小元素的min
// 函数。在该栈中,调用min、push及pop的时间复杂度都是O(1)。
#pragma once
#include <stack>
#include <as... | [
"ruoan777@gmail.com"
] | ruoan777@gmail.com |
250875ce1552251d6b64b46eb8150afdba72375a | 803f0fbc5973ff31fd5faca5c0f2981b2c52a591 | /C++/CodeForces/R-486-div.3/pB.cpp | 2102c5aaf0179b7b40769685cc7a7aeae18995ba | [] | no_license | MiohitoKiri5474/CodesBackUp | 00ab52bd55732b8164a42cffd664407878f4390e | 4247fa032c8e88259dcc3992a21c510b6f2e8850 | refs/heads/master | 2023-08-09T14:46:10.445697 | 2023-08-04T01:12:58 | 2023-08-04T01:12:58 | 126,162,563 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,614 | cpp | // by. MiohitoKiri5474
#include<bits/stdc++.h>
#pragma GCC optimize ( "O3" )
#pragma loop_opt ( on )
using namespace std;
typedef long long LL;
// define tools
#define REPP(i,f,s) for ( int i = f ; i < s ; i++ )
#define REPM(i,f,s) for ( int i = f ; i >= s ; i-- )
#define REPALL(i,n) for ( auto &i: n )
#define debu... | [
"lltzpp@gmail.com"
] | lltzpp@gmail.com |
7e882256a08ab76974f4434afd45e01eadcdcd29 | 865bfdce73e6c142ede4a7c9163c2ac9aac5ceb6 | /Source/Game/UI/Scenes/UIScene_Dialog.cpp | ab59fc9e15d29c495b77aba0eb6db79936d57ee8 | [] | no_license | TLeonardUK/ZombieGrinder | d1b77aa0fcdf4a5b765e394711147d5621c8d4e8 | 8fc3c3b7f24f9980b75a143cbf37fab32cf66bbf | refs/heads/master | 2021-03-19T14:20:54.990622 | 2019-08-26T16:35:58 | 2019-08-26T16:35:58 | 78,782,741 | 6 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 2,660 | cpp | // ===================================================================
// Copyright (C) 2013 Tim Leonard
// ===================================================================
#include "Game/UI/Scenes/UIScene_Dialog.h"
#include "Engine/UI/Transitions/UISlideInTransition.h"
#include "Engine/UI/Transitions/UIFadeOutTrans... | [
"tim@programmingbytim.com"
] | tim@programmingbytim.com |
73e6f9477fa5a2e34b71976ebdb15787a0a8afd2 | 413ee35c5c3e88e9e20daa9bbef8fd74633f0449 | /GAM300_SkyLine/SkyLine/System/Physics/Physics.hpp | 514417e751d919c05dd952e11ea584139d4b04af | [] | no_license | heejae-kwon/Game-Project | 17807b177f7bcd4b5c4c6707e18267a4b013e60d | 810023c9408342f8cdfea499b3afefdddf0e3fd8 | refs/heads/master | 2021-07-16T12:19:36.872803 | 2020-07-05T14:53:30 | 2020-07-05T14:53:30 | 187,778,325 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,519 | hpp | #pragma once
#include <btBulletDynamicsCommon.h>
#include "Rigidbody.hpp"
// TO DO:
// Move btRigidBody ownership from Component::Rigidbodies to Physics
// Handle removing btRigidBody objects from Bullet's world simulator
class Physics {
public:
Physics() = delete;
// Make sure you set gravity to a negative... | [
"hjkwon93@kakao.com"
] | hjkwon93@kakao.com |
7ee48d2752e224bcf93fe2a336a5a0b2835892dc | 61070bede040a6f5318adafdd661dcb1bbe622e2 | /src/hsdk/win/direct3d/d3d10_font.h | 5646d204c6fb75c8a581595727d96bb3af030695 | [] | no_license | hanjuho/mysdk | 835694f73bc8b808b2ec87f23043f6fd63090bac | 284922ed3f962bb46124f3553e15ca7cfd94d613 | refs/heads/master | 2021-01-10T11:04:57.272796 | 2015-12-27T15:07:48 | 2015-12-27T15:07:48 | 44,182,150 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,079 | h | #pragma once
#include "d3d10_common.h"
namespace hsdk
{
namespace direct3d
{
// 설명 :
DECL_STRUCT(D3D10MY_FONTINFO)
{
// 설명 :
float left;
// 설명 :
float right;
// 설명 :
int size;
};
// 설명 :
DECL_CLASS(D3D10_Font)
{
public:
// 설명 :
INTERFACE_DECL_FUNC(initialize)(... | [
"han_juho@naver.com"
] | han_juho@naver.com |
e8319d72ded0aafd89036f4a5afb309805b35737 | a63d60c270433e84398f6be4642feb7643c0c8b0 | /BOI/BOI 2018/dna.cpp | 86c5013bb7fa4e889aa202b996d3ebb85424ba03 | [] | no_license | luciocf/Problems | 70a97784c17a106cb9e0f0ec28ac57cf58fea8c7 | 19f6000e9e6a5fe483ad4bb17e9ba50644ac954a | refs/heads/master | 2023-08-21T10:54:18.574403 | 2021-10-29T03:45:16 | 2021-10-29T03:45:16 | 169,012,579 | 8 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,187 | cpp | // BOI 2018 - DNA
// Lúcio Cardoso
#include <bits/stdc++.h>
using namespace std;
typedef pair<int, int> pii;
const int MAXN = 2e5+10;
int num[MAXN], freq[MAXN], M[MAXN], n, k, m;
bool is[MAXN];
pii q[MAXN];
bool ok(int x)
{
memset(freq, 0, sizeof freq);
int qtd = 0;
int l = 1, r = x;
for (int i = l; i <= r... | [
"noreply@github.com"
] | noreply@github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.