blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3159b6ab58e6852603056ce02664daacbdb1657d | e4b9eeac04776c9ed97d5594d5b9c05a0116ac3b | /targets/MainUi.hpp | fdaf60aa2401d3f7f7a80baa6c72d4c854b32c47 | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | permissive | solenark/CCCasterStatistics | 01739768ef891378d06f865cd4d24ccb348bfa36 | 82abad073c27efc1de46ed1f4fc0268f1439b1a9 | refs/heads/master | 2020-09-22T14:56:18.342027 | 2020-06-08T21:25:19 | 2020-06-08T21:25:19 | 225,249,045 | 3 | 1 | null | 2020-06-08T21:25:20 | 2019-12-01T23:52:33 | C++ | UTF-8 | C++ | false | false | 2,953 | hpp | #pragma once
#include "Messages.hpp"
#include "IpAddrPort.hpp"
#include "Controller.hpp"
#include "ControllerManager.hpp"
#include "KeyValueStore.hpp"
#include "MainUpdater.hpp"
#include <string>
#include <memory>
// The function to run the game with the provided options
typedef void ( * RunFuncPtr ) ( const IpAddr... | [
"mad@scientist.com"
] | mad@scientist.com |
8578a4e40647e8574d68badbf961a7c5608e45ea | 7c00555cbb57744d1d069056f5495ff44186141f | /ImgprocTest/ui/procthread.cpp | ee89926126779ded592762ea928c011ec8f0a6fe | [] | no_license | liuyang8074/mytest | f1c05f028b49aafb3dcaa8ebdf86b7f95a1c8538 | 46c6b43c0cf82f2ea63da7290e4104674ef7916c | refs/heads/master | 2020-12-07T14:04:54.342670 | 2020-02-23T16:15:07 | 2020-02-23T16:15:07 | 232,733,683 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,858 | cpp | #include "procthread.h"
#include <ImageApply.h>
#include <ImageApplyAdjustColors.h>
#include <ImageApplyAutoCrop.h>
#include <ImageApplyBWBinaray.h>
#include <ImageApplyChannel.h>
#include <ImageApplyCrop.h>
#include <ImageApplyDiscardBlank.h>
#include <ImageApplyResize.h>
#include <ImageApplyRotation.h>
#include <open... | [
"1083154502@qq.com"
] | 1083154502@qq.com |
5b33c0e02412218441edb594554b9d765b0dfe2d | 011d620d50f7ebc0c115183030847058dfbaaa85 | /src/share/launchctl_utility.hpp | a0e369d5edd6211f8f365bdb6d015d2a21efc98a | [
"Unlicense"
] | permissive | cyrusccy/Karabiner-Elements | cd2226eaf5963a633483362a6a0599eb5666322b | 90f83e487a0b6c671bc76f48c01e91fb28ae67c2 | refs/heads/master | 2020-04-01T00:18:20.429982 | 2018-10-12T00:56:00 | 2018-10-12T00:56:00 | 152,691,109 | 0 | 0 | Unlicense | 2018-10-12T03:48:50 | 2018-10-12T03:48:49 | null | UTF-8 | C++ | false | false | 1,978 | hpp | #pragma once
#include "apple_notification_center.hpp"
#include "constants.hpp"
#include <cstdlib>
#include <sstream>
#include <string>
namespace krbn {
class launchctl_utility final {
public:
static void manage_console_user_server(bool load) {
uid_t uid = getuid();
auto domain_target = (std::stringstream() ... | [
"tekezo@pqrs.org"
] | tekezo@pqrs.org |
a776d3c1b4c2f01d2c5d395f8c411af405f8745a | 74e8453feacb78eb28e70e04555d4c4f946d8a65 | /Wet2 - Impvored, AVL Tree, Linked List, Hash Table/HashTable.cpp | 45af06fffc22bc61631900bdc8a03764fb719e58 | [] | no_license | idokolman/DS | 1baeef500fab2a17ecb3253075bf1d2fa2b32a8a | c92df2e8dda763d222d260022c98143bae419466 | refs/heads/master | 2023-05-05T07:12:46.489659 | 2021-05-27T19:16:40 | 2021-05-27T19:16:40 | 371,471,914 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,481 | cpp | #include "HashTable.h"
#include "DynamicArray.h"
#include <memory>
#include <cassert>
Node TableAllocate(s32 capacity) {
try {
Node array;
array.root = new Node[capacity];
array.capacity = capacity;
array.count = 0;
return array;
} catch(std::bad_alloc &e) {
... | [
"idokolmanxp@gmail.com"
] | idokolmanxp@gmail.com |
41011cc3cd419e6dd433cd85717140a7636fa78d | 5fe9fb23e5df770cd15ead80cb48808288d6da75 | /x_math.cpp | ccc966792b63a2e32c58c74c56983611b0cb5752 | [] | no_license | DennisStanistan/stevens | bd3788f2ae74815036794a53e15e92edbacbe54b | caf92c4bf3cfce0f5461e3f22f60753593cec410 | refs/heads/master | 2022-04-06T21:27:03.051608 | 2020-02-26T09:55:46 | 2020-02-26T09:55:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 40 | cpp | #include "xentax.h"
#include "x_math.h" | [
"contact@the3096.com"
] | contact@the3096.com |
82a56eaa18603f5f810ca158f083ac183ccef12d | 612325535126eaddebc230d8c27af095c8e5cc2f | /src/sdch/open-vcdiff/src/jsonwriter_test.cc | 7a33c5d33f67c8f9d4dcd3c0b13c4fb2477efa24 | [
"BSD-3-Clause",
"Apache-2.0"
] | permissive | TrellixVulnTeam/proto-quic_1V94 | 1a3a03ac7a08a494b3d4e9857b24bb8f2c2cd673 | feee14d96ee95313f236e0f0e3ff7719246c84f7 | refs/heads/master | 2023-04-01T14:36:53.888576 | 2019-10-17T02:23:04 | 2019-10-17T02:23:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,216 | cc | // Copyright 2009 The open-vcdiff 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 ... | [
"2100639007@qq.com"
] | 2100639007@qq.com |
49e23dc25937db08524941550b7fc8ad293001ff | 6b63c83a0bb53cfb3e9fe346aec74a940bb88c65 | /3rd/PhysX/PxShared/src/foundation/include/PsMutex.h | 71b61e18c9f9905a115ec091c221bf92cd19ac2a | [] | no_license | StrongerSuperman/pvd_custom | c1723f31bcd89f80f13803e3fc13ec0d3869f54d | 1fbdd9a3612d6329f3a7433f43a44016fb19b8e3 | refs/heads/master | 2023-04-02T07:44:10.268292 | 2021-04-07T04:56:08 | 2021-04-07T04:56:08 | 294,263,633 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,770 | h | //
// 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 the following disclaimer.
// * Redistributions in bin... | [
"chenxinyu01@game.ntes"
] | chenxinyu01@game.ntes |
01b5a58f320a78ab69665bff885674f994627edf | 9467618f3b833bc1c4ce6aef73dd69b875dced78 | /Source/CustomLookAndFeel.cpp | 4422eeaae26ea25aef3976fae6028cb37a1f038a | [
"MIT"
] | permissive | musicalentropy/Font-Rendering | 614134454c5a5a185f70b3680a03ee594d64d272 | ceca9f9810284fb530ab0a71ff3a09ccde2ecab8 | refs/heads/master | 2021-01-01T15:45:04.020305 | 2015-11-10T08:07:58 | 2015-11-10T08:07:58 | 35,499,491 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,134 | cpp | /*
==============================================================================
==============================================================================
*/
#include "CustomLookAndFeel.h"
CustomLookAndFeel::CustomLookAndFeel()
{ setDefaultLookAndFeelBaseColours();
}
CustomLookAndFeel::~CustomLookAndFe... | [
"ivan.cohen@orosys.fr"
] | ivan.cohen@orosys.fr |
b0808c0732e896f077faf55bb5e03289178a66be | f00d2aca2965de52633cb79a5563292b95c6ead3 | /src/Attachments/ChordPatternAttachment/abstractchordpatternattachment.h | 68377b0e76405a6108cd81f95fadb29105b8bf33 | [] | no_license | Pfeil/CAN2 | 5311f966ff6b2f5ec2a49bc84affce378be1167c | 99a7be26ee61cbada3ae410997030cf0eff699ef | refs/heads/master | 2020-04-05T18:32:39.364518 | 2015-06-24T21:00:31 | 2015-06-24T21:00:31 | 38,547,163 | 0 | 0 | null | 2015-07-04T20:44:15 | 2015-07-04T20:44:13 | null | UTF-8 | C++ | false | false | 497 | h | #ifndef ABSTRACTCHORDPATTERNATTACHMENT_H
#define ABSTRACTCHORDPATTERNATTACHMENT_H
#include "../attachment.h"
class AbstractChordPatternAttachment : public Attachment
{
Q_OBJECT
public:
AbstractChordPatternAttachment();
virtual QString chordPattern() const = 0;
virtual void transpose( int i ) = 0;
... | [
"pascal.bies.42@gmail.com"
] | pascal.bies.42@gmail.com |
5a462183550100b5ff6c7cb9750c675d8aecc517 | 78ad1e44f0d0af91a5e2abe9a54c1316367f6266 | /3rdParty/V8/v5.7.492.77/src/objects-body-descriptors-inl.h | bffc8bdb3ef384302cf749236227aa036014581d | [
"BSD-3-Clause",
"bzip2-1.0.6",
"SunPro",
"Apache-2.0",
"ICU",
"Zlib",
"GPL-1.0-or-later",
"LicenseRef-scancode-autoconf-simple-exception",
"LicenseRef-scancode-pcre",
"WTFPL",
"ISC",
"MIT",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-proprietary-license",
"Unlic... | permissive | surajpatel11/arangodb | dbfb12cb84d02430c9ee52c831a87ac87bec2391 | e6e02233f4eed4f01232a30a1a630fe538aaf457 | refs/heads/devel | 2020-04-09T16:43:54.309659 | 2018-12-04T21:55:57 | 2018-12-04T22:10:14 | 160,461,475 | 0 | 1 | Apache-2.0 | 2018-12-05T04:56:28 | 2018-12-05T04:38:18 | C++ | UTF-8 | C++ | false | false | 22,624 | h | // Copyright 2015 the V8 project 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 V8_OBJECTS_BODY_DESCRIPTORS_INL_H_
#define V8_OBJECTS_BODY_DESCRIPTORS_INL_H_
#include "src/objects-body-descriptors.h"
namespace v8 {
namespa... | [
"willi@arangodb.com"
] | willi@arangodb.com |
b267452c98591b2633359f9cc11281730f7d1ce9 | 1a1b98a049063b542c85c5f767e1a8227baa0799 | /374.cpp | 50f3a747bcea9a077be7d29f5cb5699adeda2758 | [] | no_license | Bhabaranjan19966/COMPETITIVE-PROGRAMMING--ACCEPTED-CODE | 79fdcf60147a66efbeaf35e159195d9fb2e7695a | 9c8e0ea035e4b5cfd0c77134e54f3fe83b3e55fb | refs/heads/master | 2020-03-28T21:26:39.318002 | 2018-09-17T16:39:03 | 2018-09-17T16:39:03 | 149,156,737 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 465 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
ios_base::sync_with_stdio(false);
string s;
cin>>s;
long long i,l=0,ans=1,v=s.length();
if(v<2){cout<<"1";return 0;}
for(i=1;i<v;i++)
{
if(s[i]+s[i-1]-'0'-'0'==9)
{
l++;
}
els... | [
"bhabaranjanpanigrahi@gmail.com"
] | bhabaranjanpanigrahi@gmail.com |
828d01ae0f36ee3b219002c95e1ef16cad9bcff9 | 52b1f9d6c932b9f5cbbe6bfc233468558b516427 | /src/accumulators.h | c926f63596b83fc9999a6a1487e6dca7013800ff | [
"MIT"
] | permissive | SupportMasterNodeCommunity/smnc | 8e8edc309d3cb2e5a9f1d6896d3f8b958fd3a034 | ee13b041d2b0d7d318627faf806309bb96be65fa | refs/heads/master | 2023-04-23T23:09:46.264208 | 2021-05-11T06:10:40 | 2021-05-11T06:10:40 | 366,274,362 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,959 | h | // Copyright (c) 2017-2018 The PIVX developers
// Copyright (c) 2020-2021 The SupportMasterNodeCommunity developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef SupportMasterNodeCommunity_ACCUMULATORS_H
#define Suppor... | [
"84003423+SupportMasterNodeCommunity@users.noreply.github.com"
] | 84003423+SupportMasterNodeCommunity@users.noreply.github.com |
e4c09d37be197bea5b1231dea30ee530e64ac039 | bc06ccd9150399cf84175beba376738f6133a099 | /Maximum_Depth_of_Binary_Tree.cpp | ba8e9c33ca7e3a834a71db649f9a032bf555ef46 | [] | no_license | Argons/LeetCode | d4d667a431f45fd35bf3bbe25eaf6ed4d01c91b7 | 77a8a5aaa36cf2088db57a18028b3d2e561113d3 | refs/heads/master | 2020-12-24T16:50:30.836442 | 2014-10-19T00:51:58 | 2014-10-19T00:51:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 434 | cpp | // Given a binary tree, find its maximum depth.
// The maximum depth is the number of nodes along the longest path
// from the root node down to the farthest leaf node.
class Solution {
public:
int maxDepth(TreeNode *root) {
if (root == NULL)
return 0;
int depthLeft = 1 + maxDepth(roo... | [
"SolArgons@gmail.com"
] | SolArgons@gmail.com |
b6a021cf3d576bd5a9e7121945ba8344cac6d9d5 | c49cb882e12932bee40456a172bf4da6221b29f6 | /codeforces/1371a.cpp | 33c3f289b714b76f9546f56e816ed30b8a3510c1 | [] | no_license | alokkumar0723/codeforces | 00ca794b22379ff69b1d4022a999bcada36fb060 | 582aa0eacb7a9b9d2f6e3cdda348f4d24582cf32 | refs/heads/main | 2023-06-20T10:24:40.303269 | 2021-07-20T11:16:15 | 2021-07-20T11:16:15 | 387,690,911 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 284 | cpp | //alokkumar0723
#include<bits/stdc++.h>
using namespace std;
int main()
{
int t;
cin>>t;
while(t--){
int n;
cin>>n;
if(n%2==0){
cout<<(n/2)<<endl;
}
else{
cout<<(n/2)+1<<endl;
}
}
return 0;
} | [
"alokkumar0723@gmail.com"
] | alokkumar0723@gmail.com |
ba52ebf5c5d8ad225efe972674951227fb952a12 | d548930635b7a37c62b3b2dd50b21ca3cba01041 | /aed-arduino/wifi-8266/wifi-8266.ino | 81a7860f08f8ada4015fafe1d05a7c355d3eb843 | [] | no_license | AkaHitsuji/WEAVE-System | c256b7e01e0825f92ddfd6483cd5233d6ab61338 | 3d5fc49ca876363ff08a69927bd0c3a3a28edaf8 | refs/heads/master | 2020-03-30T23:30:04.111482 | 2018-11-11T08:27:44 | 2018-11-11T08:27:44 | 151,702,619 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,206 | ino | #include <ESP8266WiFi.h>
#include <ESP8266HTTPClient.h>
#include <ArduinoJson.h>
const char* ssid = "AndroidAP";
const char* password = "dysonintern";
void setup()
{
Serial.begin(115200);
WiFi.begin(ssid, password);
while (WiFi.status() != WL_CONNECTED)
{
delay(1000);
Serial.println("Connecting..."... | [
"pohyk123@gmail.com"
] | pohyk123@gmail.com |
09d5723988093cc5a9050be76a342c8f7c531207 | ff976c41194fdbf917b88460fad0e58762a3d2b6 | /C++/208.implement-trie-prefix-tree.cpp | 5d17cfb24b5a4eb009f99e0ed7b1a60db3d7926f | [
"MIT"
] | permissive | WilliamZhaoz/leetcode | a1333ae53331be46c6f309decca44de05f65fc21 | 2aa0eb17e272249fc225cf2e9861c4c44bd0e265 | refs/heads/master | 2021-04-26T23:33:30.836082 | 2018-11-07T09:30:48 | 2018-11-07T09:30:48 | 124,014,965 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,542 | cpp | struct TrieNode {
TrieNode* children[26];
string word;
TrieNode(): word("") {
for (auto &c : children) {
c = NULL;
}
};
};
class Trie {
public:
/** Initialize your data structure here. */
Trie() {
root = new TrieNode();
}
/** Inserts a word into t... | [
"i@zhiyuanzhao.com"
] | i@zhiyuanzhao.com |
00f6b29cb8eb0ed93b63aae86e93b36b4a75695e | d2af74201fa49b7b96603b234a39b93ea912b9b8 | /Tetris/src/Tetris.cpp | 57530678b81ad97b8d2826b3e1640d9240350ab9 | [] | no_license | TheRainstorm/game-dev-homework | 2a13f814bcf30d79bdd1705df7c10cd0d0145f82 | f3c152ea7c0bd889f939b1ae4d438f71e3efbf96 | refs/heads/master | 2021-01-13T19:24:47.082694 | 2020-03-13T09:06:21 | 2020-03-13T09:10:42 | 242,470,089 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,358 | cpp | #include <iostream>
#include <string>
#include "Tetris.h"
#include "pthread.h"
#include "OS.h"
using namespace std;
extern pthread_mutex_t g_game_state_mutex, g_draw_mutex, g_level_mutex;
Tetris::Tetris() {
m_score = 0;
m_level = 1;
m_game_state = START;
}
void Tetris::init_map() {
/*
(HEIGHT+2) * (WIDTH+2) map... | [
"1544016010@qq.com"
] | 1544016010@qq.com |
43797ae178fc57bb6cb9fba92efa06c2b39dae7d | 9fad21d3ae60b98f90c44261f2e6bb4123a3eac1 | /Discrete Math/SegmentTree/crypto.cpp | a38383e8fcb25365c0cf0ddf8218d1b39658e7b1 | [] | no_license | gshovkoplyas/ITMO | 1cee3a2d8e1b2de3e3e83014f3de0bac6896ec1a | 6790dfdc98162bb5c8cacc97c87ef35459ab59a9 | refs/heads/master | 2023-07-27T05:13:06.235336 | 2021-09-08T14:21:28 | 2021-09-08T14:21:28 | 18,344,288 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,082 | cpp | /*Grigory Shovkoplyas in the house*/
#define _CRT_SECURE_NO_WARNINGS
#include<cstdio>
#include<iostream>
#include<algorithm>
#include<cmath>
#include<cstring>
#include<string>
#include<vector>
#include<map>
#include<set>
#include<cstdlib>
#include<ctime>
using namespace std;
#define taskname "crypto"
int r;
stru... | [
"grigory.96@gmail.com"
] | grigory.96@gmail.com |
9c366a1a94e3b310bfdc9c0e562655b878204b52 | 96d2f6b9767870374097d5cebc928ca965418dce | /0200.cpp | 7a722850aee3627bed172cb9945015aa3fd31b13 | [] | no_license | ZiluZhang/LeetCode-2 | dc98f693443476f4840fc3a72939d2a0e9fda48c | 49b68dc676f025b9847bafd2432c55a12bec8ae6 | refs/heads/master | 2020-07-02T21:00:33.289158 | 2019-11-21T03:38:30 | 2019-11-21T03:38:30 | 201,664,017 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,153 | cpp | // DFS
// 注意传参数的时候用指针,否则需要copy整个object
class Solution {
public:
vector<vector<int>> dir = {{0,1},{1,0},{0,-1},{-1,0}};
int numIslands(vector<vector<char>>& grid) {
int m = grid.size();
if (m == 0) return 0;
int n = grid[0].size();
vector<vector<bool>> visited(m, vector<bool>(n, f... | [
"zhangzilu@pku.edu.cn"
] | zhangzilu@pku.edu.cn |
dcebd13fa5fd1395813625add4d14b32500cee4b | 51bbde5c2997752d0905adda28d8705702d068d1 | /4.UVA/UVA-784(Maze_Exploration)/UVA-784(Maze_Exploration)/maze_exploration.cpp | fbf357b87dcb31e0495c74a5a572d2c657779ab4 | [] | no_license | bimansaha1993/acm_practice | 11143b89cfceca6eb475d4151656895719017d47 | 8aa0462b39cb236b43a352e0f241f11caa09bbb0 | refs/heads/master | 2022-01-10T08:29:08.313635 | 2019-05-16T10:33:07 | 2019-05-16T10:33:07 | 163,805,969 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,419 | cpp | //#include<bits/stdc++.h>
#include<iostream>
#include<string>
#include<stdio.h>
using namespace std;
char arr[35][85];
int row, row_len[35],r,c;
int dx[8] = { 0, 0, -1, +1, -1, -1, +1, +1 };
int dy[8] = { -1, +1, 0, 0, -1, +1, -1, +1 };
void solve(int i, int j)
{
arr[i][j] = '#';
for (int e = 0; e < 8; e++)
{
in... | [
"="
] | = |
9605e32bedaacb329a56bf50ff967919d151a1ae | 83e8de12d7af457840de0da581ef8db1d96dc1fb | /aoj/algorithms_and_data_structures/ALDS1_3_D_AreasOnTheCrossSection.cpp | 1320b6327c3c24f08616ef31c8039ac409f7836f | [] | no_license | watchmen-r/atcoder_learning | 3b13340830f7ea32e594028eba9da88c1043b650 | 9377a439afc5fc62d1fec1fffcab33fc4565a143 | refs/heads/master | 2022-04-01T20:36:59.456628 | 2020-02-04T14:44:50 | 2020-02-04T14:44:50 | 222,950,951 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 745 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main(){
stack<int> S1;
stack<pair<int, int>> S2;
char ch;
int sum = 0;
for(int i = 0; cin >> ch; i++){
if(ch=='\\') S1.push(i);
else if(ch == '/' && S1.size() > 0){
int j = S1.top(); S1.pop();
sum += i - j;
int ... | [
"watchmen0205@yahoo.co.jp"
] | watchmen0205@yahoo.co.jp |
5f6472a8f923ac7d1ddcf2a5cd655f67b2feaa4a | 824bd369015bb137a5f105a3549e56651faf969b | /source/TileSystem/Tile.cpp | ae30c37acc180140e410be9ddd32a2b00a5ae291 | [] | no_license | kendellm/Trials-of-Mastery | 2839f8a74bbe724a1541df1c023471e7fefba3cf | 944d528291414914d8533135a0ac646fd2dcd3ee | refs/heads/master | 2021-01-20T13:48:36.852609 | 2015-09-03T20:53:31 | 2015-09-03T20:53:31 | 41,883,293 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 69 | cpp | #include "Tile.h"
CTile::CTile(void)
{
}
CTile::~CTile(void)
{
}
| [
"kendell.monrose@gmail.com"
] | kendell.monrose@gmail.com |
cbc48e309f5af9e5470cd302a290c47e94a16ebb | 0670ad2a87f4d701b6219b04c6778d8e4404a8a8 | /JOI_yosen/JOI2008D.cpp | 769ad3c6811012f518aaf8ee76f5525ea5ded978 | [] | no_license | nozomu-karai/kyopuro | f2f31bd1ef12d2c3f8a99d62c00feec9238b47b9 | 4100fb26b6215f4114c60b41cdd67f7cf12eca19 | refs/heads/master | 2023-05-05T20:30:16.784771 | 2021-05-24T04:55:24 | 2021-05-24T04:55:24 | 361,651,097 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,140 | cpp | #include<bits/stdc++.h>
#include<atcoder/all>
using namespace atcoder;
using namespace std;
typedef long long ll;
template <class T = int>
using V = vector<T>;
template <class T = int>
using VV = V<V<T>>;
#define all(x) (x).begin(), (x).end()
#define rall(x) (x).rbegin(), (x).rend()
#define rep(i,n) for(ll i=0;i<ll(n)... | [
"karai.nozomu.77c@st.kyoto-u.ac.jp"
] | karai.nozomu.77c@st.kyoto-u.ac.jp |
23286d61ea6d3234a202d6a1743c3fb791ad6eb4 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/git/gumtree/git_old_hunk_1893.cpp | 48aed73d2fadb490ef3d3a09e6308853f4bbe6f6 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,391 | cpp | unlink(rerere_path(name, "thisimage"));
unlink(rerere_path(name, "preimage"));
unlink(rerere_path(name, "postimage"));
rmdir(git_path("rr-cache/%s", name));
}
struct rerere_gc_config_cb {
int cutoff_noresolve;
int cutoff_resolve;
};
static int git_rerere_gc_config(const char *var, const char *value, void *cb)
{... | [
"993273596@qq.com"
] | 993273596@qq.com |
2dd39360e73da4e0277d8b618a1232faf329463b | 15f70e12f97c1098383a8a3b6d6ee13984bb79e7 | /Classes/Battle/unit/LQCombatSquad.cpp | aa1f9f6d8ddceb9e7eed87443fa4e077da4fa12b | [] | no_license | Crasader/FightDemo | d02cb099a3684ef45ed13ecfb30f8e3248699e48 | 6d24ab80c5f745bc053efd687fcd0d984a607987 | refs/heads/master | 2021-02-19T09:47:01.498161 | 2016-04-13T03:16:38 | 2016-04-13T03:16:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 84,725 | cpp | //
// LQCombatSquad.cpp
// SuperWarriors
// 战斗队伍
// Created by chenli on 14-6-16.
// Copyright lequworld.com
//
#include "LQCombatSquad.h"
#include "../LQBattleSession.h"
#include "LQSquadAIControl.h"
#include "LQSkillEffectListener.h"
#include "LQData.h"
#include "AudioManager.h"
LQ_NAMESPACE
const int LQCombatSqua... | [
"chenli@7ec0cbbf-2d8b-4450-83e2-257f523ed092"
] | chenli@7ec0cbbf-2d8b-4450-83e2-257f523ed092 |
e07e1b8a6dfda59e6ca6e9ef7c53cf97bd88f1d8 | cfdaf6e1fb38cd3070325ca6324f9fc67ddf354f | /ICCDEF/itkVectorFFTWRealToHalfHermitianForwardFFTImageFilter.h | 717d2d09b623a8fa602d7178e07a39f7a3d9b2df | [] | no_license | matsuij/BRAINSStandAlone | 845abc1564a37112e246cc1778f3c3cdf6bc7ba3 | 152535365a580cd6bd7eecb69bf9ac99b1d1093a | refs/heads/master | 2021-04-06T00:39:03.380821 | 2013-02-16T20:30:15 | 2013-02-16T21:01:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,115 | h | /*
* itkVectorVectorFFTWRealToHalfHermitianForwardFFTImageFilter.h
* iccdefRegistrationNew
*
* Created by Yongqiang Zhao on 5/6/09.
* Copyright 2009 UI. All rights reserved.
*
*/
#ifndef __itkVectorFFTWRealToHalfHermitianForwardFFTImageFilter_h
#define __itkVectorFFTWRealToHalfHermitianForwardFFTImageFilter_... | [
"hans-johnson@uiowa.edu"
] | hans-johnson@uiowa.edu |
aebedffcfc1bb50395ca3731ec15974439d2f1af | af1c8cdc822311856239dfe9446b199d43f71428 | /TrackFindingTracklet/src/imath_HLS.cc | 98ae3a704dd767747d2f4262a93b99b56d5d4331 | [] | no_license | L1Trk/TrackFinder | 7c8bf6f16b3d238bac16f1d4bcd9900972d63d9d | e138aa3a52702c3d2d10ae6f1e528a80405ec2c9 | refs/heads/master | 2020-04-27T22:57:18.036499 | 2019-03-28T17:48:13 | 2019-03-28T17:48:13 | 174,756,269 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,219 | cc | #include "L1Trigger/TrackFindingTracklet/interface/imath.h"
void var_inv::writeLUT(std:: ofstream& fs, HLS) const
{
for(int i=0; i<Nelements_-1; ++i)
fs<<"0x"<<std::hex<<(LUT[i]&((1<<nbits_)-1))<<std::dec<<",\n";
fs<<"0x"<<std::hex<<(LUT[Nelements_-1]&((1<<nbits_)-1))<<std::dec<<"\n";
}
void var_base::print... | [
"louise.skinnari@cern.ch"
] | louise.skinnari@cern.ch |
a5081c2cfa9b6555f9334c3468e940156d3dcf7f | 0b933ebb80380f91aff695150a2fe5823675ba9c | /src/prioritydb.h | e8fef36163b238e2f657d8e8e0112f8c8f11a3f0 | [
"MIT"
] | permissive | prismskylabs/PriorityBuffer | f8b1f2b9f6f46566b050847cb93e8fe2c862b134 | e19fdb2988f8ec2184780378dfe0297b2a91faba | refs/heads/master | 2022-04-29T09:33:29.915483 | 2022-03-19T00:37:44 | 2022-03-19T00:37:44 | 33,696,434 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,002 | h | #ifndef PRIORITY_DB_H
#define PRIORITY_DB_H
#include <memory>
#include <string>
class PriorityDB {
public:
PriorityDB(const unsigned long long& max_size, const std::string& path);
~PriorityDB();
void Insert(const unsigned long long& priority, const std::string& hash,
const unsigned lon... | [
"huu@prismskylabs.com"
] | huu@prismskylabs.com |
8441b7da82cef1acfe1053bf2669cd00595ce060 | fc3a745290005fb4989b3c6f8332224a9f89bce8 | /code/VisualManager.cpp | 4c456784e6ee7dadfe8d804d6d2b10584c01328b | [] | no_license | xiaojieguo/Medical3D | 33ed0e31a100cc0b15bda9baa605f809fceef9a4 | 85d044f6f71b38dbe8148edfd404f2be612cb189 | refs/heads/master | 2020-05-23T10:11:17.900873 | 2017-02-07T07:06:18 | 2017-02-07T07:06:18 | 80,398,730 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 157 | cpp | #include "StdAfx.h"
#include "VisualManager.h"
VisualManager::VisualManager(QObject *parent)
: QObject(parent)
{
}
VisualManager::~VisualManager()
{
}
| [
"guo7212@163.com"
] | guo7212@163.com |
a650c27f17c7d808cc107b81a0dbdecad59de1ff | 3c5c1e3836edf3e9627a64600785503d1814df51 | /build/Android/Debug/app/src/main/include/Fuse.Resources.Exif.E-66dec815.h | ffffd84f7866a4c90bccd114d653707ed750d2d5 | [] | no_license | fypwyt/wytcarpool | 70a0c9ca12d0f2981187f2ea21a8a02ee4cbcbd4 | 4fbdeedf261ee8ecd563260816991741ec701432 | refs/heads/master | 2021-09-08T10:32:17.612628 | 2018-03-09T05:24:54 | 2018-03-09T05:24:54 | 124,490,692 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,204 | h | // This file was generated based on C:/Users/Brian/AppData/Local/Fusetools/Packages/Fuse.Elements/1.6.0/Resources/Exif/Exif.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.Object.h>
namespace g{namespace Fuse{namespace Resources{namespace Exif{struct ExifAndroidImpl;}}... | [
"s1141120@studentdmn.ouhk.edu.hk"
] | s1141120@studentdmn.ouhk.edu.hk |
770e52abc58316e8b632e6ed862c3636f89398ae | 1dbf007249acad6038d2aaa1751cbde7e7842c53 | /vpc/include/huaweicloud/vpc/v2/model/NeutronDeleteFirewallRuleRequest.h | 716c8a0dd437c78471b855fa8c50ccea9f1b7474 | [] | permissive | huaweicloud/huaweicloud-sdk-cpp-v3 | 24fc8d93c922598376bdb7d009e12378dff5dd20 | 71674f4afbb0cd5950f880ec516cfabcde71afe4 | refs/heads/master | 2023-08-04T19:37:47.187698 | 2023-08-03T08:25:43 | 2023-08-03T08:25:43 | 324,328,641 | 11 | 10 | Apache-2.0 | 2021-06-24T07:25:26 | 2020-12-25T09:11:43 | C++ | UTF-8 | C++ | false | false | 1,649 | h |
#ifndef HUAWEICLOUD_SDK_VPC_V2_MODEL_NeutronDeleteFirewallRuleRequest_H_
#define HUAWEICLOUD_SDK_VPC_V2_MODEL_NeutronDeleteFirewallRuleRequest_H_
#include <huaweicloud/vpc/v2/VpcExport.h>
#include <huaweicloud/core/utils/ModelBase.h>
#include <huaweicloud/core/http/HttpResponse.h>
#include <string>
namespace Huawe... | [
"hwcloudsdk@huawei.com"
] | hwcloudsdk@huawei.com |
cce00e096d34d9f4e181e5a635c7fae8f5c1b164 | 2f6a9ff787b9eb2ababc9bb39e15f1349fefa3d2 | /inet/src/inet/routing/ospfv2/messagehandler/DatabaseDescriptionHandler.h | e4f38e7fbe750722699684311c82a7e957e6cd9a | [
"BSD-3-Clause",
"MPL-2.0",
"LicenseRef-scancode-free-unknown"
] | permissive | ntanetani/quisp | 97f9c2d0a8d3affbc709452e98c02c568f5fe8fd | 47501a9e9adbd6adfb05a1c98624870b004799ea | refs/heads/master | 2023-03-10T08:05:30.044698 | 2022-06-14T17:29:28 | 2022-06-14T17:29:28 | 247,196,429 | 0 | 1 | BSD-3-Clause | 2023-02-27T03:27:22 | 2020-03-14T02:16:19 | C++ | UTF-8 | C++ | false | false | 1,438 | h | //
// Copyright (C) 2006 Andras Babos and Andras Varga
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
... | [
"n.tanetani@gmail.com"
] | n.tanetani@gmail.com |
e325cca21de47db1b06ef69a4ead1c058b076428 | 599b5f5883b0a1379868f07f24803274af225717 | /prog3Header.h | 2a3a7a21c8d04ad9e1e7ff643f8683e6be040d0f | [] | no_license | NoahSims/CInUnix_Assignment3 | f7c9a8d90ec6f7eedbca205cd6110a9fc9cb03fb | c6057c003ec0988c6c6a79f8ab1ebd8bb0e80464 | refs/heads/main | 2023-02-19T03:39:41.454176 | 2021-01-20T21:21:14 | 2021-01-20T21:21:14 | 331,435,524 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 386 | h | /*
* Filename prog3Header.h
* Date 2/28/2020
* Author Noah Sims
* Email ngs170000@utdallas.edu
* Course CS 3377.501 Spring 2020
* Version 1.0
* Copyright 2019, All Rights Reserved
*
* Description
*
* The header file for program3
*/
void parseNums(std::string st... | [
"noahsims24@gmail.com"
] | noahsims24@gmail.com |
fa37e81773c1ff53f63ac751752adfd40591a7a2 | aceee039013092eb6449e5fa566af2d0bba0befe | /src/md5_generator_test.cc | 48c300001db8ea3c64f7d9468fc1be5b0950fa89 | [] | no_license | darkstar62/tribble-backup | 60c6709a6b05ce2c7fe3deb43fd961a4bb1cf40a | 4a50a641684b25a6ff9c2850cad2ede0fa487a00 | refs/heads/master | 2020-04-07T00:05:07.214732 | 2017-04-22T23:55:58 | 2017-04-22T23:55:58 | 22,108,074 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,044 | cc | // Copyright (C) 2013, All Rights Reserved.
// Author: Cory Maccarrone <darkstar6262@gmail.com>
#include <string>
#include <vector>
#include "src/common.h"
#include "src/md5_generator.h"
#include "glog/logging.h"
#include "gtest/gtest.h"
using std::string;
namespace backup2 {
TEST(Md5GeneratorTest, MD5Tests) {
//... | [
"darkstar6262@gmail.com"
] | darkstar6262@gmail.com |
2e8c7804db007dada0fac23ef38b14e2002432f1 | aa9750c644cbf232bd71808c08054137d8440c4f | /AABB_LineSegment_3D/main.cpp | 494544c5c1f4cf32e9f8e3eb3cb27b78a7b9dab5 | [] | no_license | IGME-RIT/physics-AABB-LineSegment-3D | 5aa3bd7e06953d4929b631328449d0be0178dc6e | 246c2f7f75d78b4833dee9f53cd9c0a38c6fc484 | refs/heads/master | 2021-01-01T04:55:27.185303 | 2017-07-14T22:56:45 | 2017-07-14T22:56:45 | 97,278,347 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 28,399 | cpp | /*
Title: AABB-Line Segment 3D collision Detection
File Name: main.cpp
Copyright © 2015
Original authors: Srinivasan Thiagarajan
Written under the supervision of David I. Schwartz, Ph.D., and
supported by a professional development seed grant from the B. Thomas
Golisano College of Computing & Information Sciences
(http... | [
"vjm9278@ad.rit.edu"
] | vjm9278@ad.rit.edu |
d19f5613a29a6b06a7ce0ab8b3886cc25ea5a203 | 25c752aedf3ebbb5f580b4d829892314fc5a55dc | /bcl/bcl/containers/DArray.hpp | 0475eba1359c9421a3c831703d21dc8d65846a47 | [
"BSD-3-Clause"
] | permissive | iamnotalone1993/dds | e8ff35d045cc8bd5fd89b9d0bae1301ca3f996ec | e8f2167c48f73d4ba739479eb59fc6d43b8c0070 | refs/heads/master | 2023-04-05T22:15:13.653446 | 2023-03-30T16:56:04 | 2023-03-30T16:56:04 | 253,201,624 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 869 | hpp | #pragma once
#include <bcl/bcl.hpp>
#include <bcl/containers/Array.hpp>
namespace BCL {
namespace distribution {
struct blocked {
};
}
template <typename T,
typename TSerialize = BCL::serialize <T>>
class DArray {
public:
size_t my_size = 0;
size_t local_size = 0;
std::ve... | [
"diepda@lapnm10.in.nm.ifi.lmu.de"
] | diepda@lapnm10.in.nm.ifi.lmu.de |
0e54944d4e3f5660bfb4513d8853aae24f5e4d46 | 29be7c52e05d32a4b02e6c0a1a6424abb2f60d57 | /fuse-qreader/Example/build/Android/Debug/app/src/main/include/Fuse.Scripting.JavaSc-523a45a7.h | c0cc12f4a70b21d3a33cf10cbcdd3a184e14391c | [
"MIT"
] | permissive | redtree0/CITOS-APP | 3b8cbc86fd88f6adb5b480035788eac08290c7a6 | 624f69770d8573dffc174f1f9540c22f19c71f14 | refs/heads/master | 2020-03-29T05:42:49.041569 | 2018-09-25T14:24:55 | 2018-09-25T14:24:55 | 149,594,359 | 0 | 0 | null | 2018-09-20T10:47:57 | 2018-09-20T10:47:57 | null | UTF-8 | C++ | false | false | 2,590 | h | // This file was generated based on C:/Users/채재윤융합IT학부/AppData/Local/Fusetools/Packages/Fuse.Scripting.JavaScript/1.9.0/ThreadWorker.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Fuse.Scripting.IThreadWorker.h>
#include <Uno.IDisposable.h>
#include <Uno.Object.h>
namespa... | [
"moter74@naver.com"
] | moter74@naver.com |
a0f95da409ad47add575537cbf22d1526e9c95bf | c28eea84e10f8422e0c6190e44af52ddbb9b4b57 | /xls/dslx/parametric_expression.h | b4f202a87029fadf671bf5eae64e73c238738b03 | [
"Apache-2.0"
] | permissive | yzhf1995/xls | bbb61288c41e11dc24750f1caf4d5f06a4b98c62 | 6756e04ab9f62440604a1d984774a2549208b0e7 | refs/heads/main | 2023-03-21T12:38:39.556194 | 2021-03-18T04:17:09 | 2021-03-18T04:17:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,846 | h | // Copyright 2020 The XLS Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed t... | [
"copybara-worker@google.com"
] | copybara-worker@google.com |
de5ad13b7756ee9e9710123650e9a0a6505de973 | 7bc58e0e6a34f3d74c2da7b367ad348e1a8862d0 | /tools/kactus2/kactus2-3.1.0/editors/ComponentEditor/fileSet/file/FileColumns.h | 6a5cdf248912b599f9a2c6b68fb20fd55c91b94d | [] | no_license | ouabache/fossi | 3069e7440597b283b657eaee11fbc203909d54aa | e780307bff0bb702e6da36df5d15305354c95f42 | refs/heads/master | 2020-07-02T08:58:41.834354 | 2017-04-06T15:59:09 | 2017-04-06T15:59:09 | 67,724,364 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 701 | h | //-----------------------------------------------------------------------------
// File: FileColumns.h
//-----------------------------------------------------------------------------
// Project: Kactus 2
// Author: Mikko Teuho
// Date: 16.10.2015
//
// Description:
// Common declarations for editing files.
//-... | [
"z3qmtr45@gmail.com"
] | z3qmtr45@gmail.com |
c3e227e8d0aad8046dd14ab57fa468c948635226 | e0fa64c9d7d1a84dc0fd634f316426ac34e0fb79 | /src/common/storage.cpp | e5bd560e3043088c3906c84ce979fc5181a368e4 | [
"MIT"
] | permissive | EQ4/airwave | 60d3a7b7a23cbe2bc8e8ec04aba5f4ed2c26a3fb | 5b3417cc36679b9697f128c43203351052b555aa | refs/heads/master | 2021-01-12T19:42:01.350267 | 2015-05-15T18:26:02 | 2015-05-15T18:26:02 | 44,583,928 | 1 | 0 | null | 2015-10-20T05:22:20 | 2015-10-20T05:22:20 | null | UTF-8 | C++ | false | false | 12,809 | cpp | #include "storage.h"
#include <fstream>
#include "common/config.h"
#include "common/filesystem.h"
#include "common/json.h"
namespace Airwave {
Storage::Storage() :
isChanged_(false)
{
reload();
}
Storage::~Storage()
{
save();
}
bool Storage::reload()
{
storageFilePath_.clear();
logSocketPath_.clear();
bi... | [
"anton.kalmykov@gmail.com"
] | anton.kalmykov@gmail.com |
1fb710997e922a0cc7e0ef357592b0801a7be155 | 5d6468a7549c003fdc17b0db12f136b5fba06b5b | /CPP/reverse_string.cpp | 6f824e184dea52f506350f7b400589de879037d1 | [] | no_license | HyobeomSo/MyProject | f4a8b0682030cb459d9dd27392f444cbb00a988f | 0f52e6b279cb17991e848cad7d1b3e8066557084 | refs/heads/master | 2020-03-31T20:10:11.955219 | 2018-10-11T06:10:50 | 2018-10-11T06:10:50 | 147,446,881 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 336 | cpp | #include <iostream>
#include <string>
using namespace std;
int main() {
string word;
cout << "type word: ";
cin >> word;
char temp;
int i, j;
for(i = 0, j = word.size() - 1; i < j; i++, j--) {
temp = word[i];
word[i] = word[j];
word[j] = temp;
}
cout << word;
... | [
"shb6850@gmail.com"
] | shb6850@gmail.com |
36418000d92900e206317f1a7e03f1ed06fab753 | da3c59e9e54b5974648828ec76f0333728fa4f0c | /messagingappbase/msgerrorwatcher/src/MsgErrorSmsDiskSpaceObserver.cpp | 7dd8eed60c1e64581a4930ff6398088857bf7b54 | [] | no_license | finding-out/oss.FCL.sf.app.messaging | 552a95b08cbff735d7f347a1e6af69fc427f91e8 | 7ecf4269c53f5b2c6a47f3596e77e2bb75c1700c | refs/heads/master | 2022-01-29T12:14:56.118254 | 2010-11-03T20:32:03 | 2010-11-03T20:32:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,233 | cpp | /*
* Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.h... | [
"none@none"
] | none@none |
590d6a4380718b971f8d9a9c4dcf25dd7bbdb042 | 77cb5a5445eb64dd9d3b07396b3e4c6c1f1f283a | /node-v12.22.1/out/Release/obj/gen/deps/v8/src/builtins/regexp-source-tq-csa.h | fd1c4613a67ccfb3029af0ebc6637c2582cb9481 | [
"LicenseRef-scancode-openssl",
"ICU",
"BSD-3-Clause",
"NAIST-2003",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-unicode",
"Artistic-2.0",
"NTP",
"Zlib",
"ISC",
"CC0-1.0",
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"MIT",
"LicenseRef-sca... | permissive | kevinchuehk/node_static | 68d908091daf646f054b9c68a02aa9659aeec521 | b3f587ff26c73ebdc16207056384f2308a9b2444 | refs/heads/main | 2023-04-21T21:13:35.575057 | 2021-05-19T04:54:46 | 2021-05-19T04:54:46 | 364,518,733 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 725 | h | #ifndef V8_GEN_TORQUE_GENERATED_______DEPS_V8_SRC_BUILTINS_REGEXP_SOURCE_TQ_H_
#define V8_GEN_TORQUE_GENERATED_______DEPS_V8_SRC_BUILTINS_REGEXP_SOURCE_TQ_H_
#include "src/compiler/code-assembler.h"
#include "src/codegen/code-stub-assembler.h"
#include "src/utils/utils.h"
#include "torque-generated/field-offsets-tq.h"... | [
"kevinchueh@ypcloud.com"
] | kevinchueh@ypcloud.com |
fec0ec04fe7c10f0866bd1bf1130b5e51e4eae1a | 946ef8032df992b7a858fd68850a7e942a3b3c51 | /sdks/ezraknet/src/Gets.cpp | be17d657e4b98d45845d2c0db260ae17896626dc | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | VortrexFTW/lhmp-old | 04fad38d99729c4abf876e8e1fac0c27e82edb6c | e0f8a849625182aa654ca2022962dcfd6b34eac7 | refs/heads/main | 2020-04-04T11:03:19.613629 | 2018-12-01T01:47:39 | 2018-12-01T01:47:39 | 155,877,417 | 1 | 1 | NOASSERTION | 2018-11-14T16:25:10 | 2018-11-02T14:28:34 | C++ | UTF-8 | C++ | false | false | 401 | cpp | #include <stdio.h>
#include <string.h>
#ifdef __cplusplus
extern "C" {
#endif
char * Gets ( char * str, int num )
{
fgets(str, num, stdin);
if (str[0]=='\n' || str[0]=='\r')
str[0]=0;
size_t len=strlen(str);
if (len>0 && (str[len-1]=='\n' || str[len-1]=='\r'))
str[len-1]=0;
if (len>1 && (str[len-2]=='\n' ||... | [
"adrianbram@gmail.com"
] | adrianbram@gmail.com |
d2aa059af3accddfb7e7fe75a76b039146f82e9e | f41fd4d3fbc2ddaa3e3ad66b6979164ee7e4d9df | /src/libpplug/message.h++ | 2edaf193bdfcf71c20c0056ac7e7d3c7e1eaf3d8 | [] | no_license | palmer-dabbelt/pplug | 17a8b142876ffb1ba7d99e9aecefb2c645318b34 | 4090eddcea2f073444448f555b0da6788df6438a | refs/heads/master | 2020-12-24T19:18:39.612496 | 2016-05-12T16:05:01 | 2016-05-12T16:05:01 | 41,394,763 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,609 | /*
* Copyright (C) 2015 Palmer Dabbelt
* <palmer@dabbelt.com>
*
* This file is part of pplug
*
* pplug is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (... | [
"palmer@dabbelt.com"
] | palmer@dabbelt.com | |
54a1e05e4c40d0ca74e4f38530c0f2c6b0b67dd2 | 2bce6da26d51c32e9ff2bda3c564136c622e596c | /source/thirdparty/libigl/include/igl/repdiag.h | 7794433745573db30665903c9640923c19f903b3 | [
"MPL-2.0",
"GPL-3.0-only",
"MIT"
] | permissive | jpcy/xatlas | 37dc66f4c2cc45130926d1d8723b94f85964a918 | f700c7790aaa030e794b52ba7791a05c085faf0c | refs/heads/master | 2023-08-15T00:11:07.888384 | 2022-07-25T23:06:01 | 2022-07-25T23:06:01 | 140,512,438 | 1,662 | 179 | MIT | 2023-08-08T17:30:59 | 2018-07-11T02:43:53 | C++ | UTF-8 | C++ | false | false | 1,667 | h | // This file is part of libigl, a simple c++ geometry processing library.
//
// Copyright (C) 2013 Alec Jacobson <alecjacobson@gmail.com>
//
// This Source Code Form is subject to the terms of the Mozilla Public License
// v. 2.0. If a copy of the MPL was not distributed with this file, You can
// obtain one at htt... | [
"young.jpc@gmail.com"
] | young.jpc@gmail.com |
5b36c2ea6bcf467fa8a72e324196b22af2ad9e31 | 0e1c44182bfa76c25064573363a6a42e231f13a7 | /pixelBoardController.h | 15c2940494bf07f0fe498cd2ff78b026a900634b | [] | no_license | fernandohar/pixelBoard | 576fa3f7f5f65df5f62ba96001fd98ff4b6e9618 | ca4f260c97471e3467758b5bbd0209ad3cf59e23 | refs/heads/master | 2023-03-23T12:42:32.168302 | 2021-03-18T06:37:11 | 2021-03-18T06:37:11 | 227,755,233 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,225 | h | #ifndef PIXEL_BOARD_CONTROLLER_H
#define PIXEL_BOARD_CONTROLLER_H
#include <WebSocketsServer.h>
#define NUM_BTNS 7
#define UP 0
#define DOWN 1
#define LEFT 2
#define RIGHT 3
#define BTNS 4
#define BTNA 5
#define BTNB 6
class PixelBoardController{
private:
WebSocketsServer* webSocket;
unsigned long startRead;
... | [
"hcm415@ha.org.hk"
] | hcm415@ha.org.hk |
42ff8c8369047f817b40867efe9c0d8320d6560c | 6436d1e6c23f9f43a8025889dc4414a3ad66acf2 | /CvGameCoreDLL/Boost-1.32.0/include/boost/spirit/core/composite/list.hpp | 25ce93ce25f634e130b5dd8965a10a169e62fb3b | [
"MIT"
] | permissive | dguenms/Dawn-of-Civilization | b710195c4f46fe11d9229182c3b1e07b77f42637 | a305e7846d085d6edf1e9c472e8dfceee1c07dd4 | refs/heads/develop | 2023-09-04T04:57:00.086384 | 2023-09-01T15:24:28 | 2023-09-01T15:24:28 | 45,362,597 | 116 | 121 | MIT | 2023-02-08T00:18:53 | 2015-11-01T23:52:28 | C++ | UTF-8 | C++ | false | false | 2,558 | hpp | /*=============================================================================
Copyright (c) 1998-2003 Joel de Guzman
Copyright (c) 2001 Daniel Nuffer
Copyright (c) 2002 Hartmut Kaiser
http://spirit.sourceforge.net/
Use, modification and distribution is subject to the Boost Software
Lic... | [
"Leoreth@94cdc8ef-5f1a-49b8-8b82-819f55b6d80d"
] | Leoreth@94cdc8ef-5f1a-49b8-8b82-819f55b6d80d |
60656f121e8b492d674fb7c96cf7ed0a53dcf504 | 73f88b9d8055c1bc5ed408319ffed9fa72af628b | /src/SoundSystem.OpenAL/ErrorCheckerAL.cpp | a33b1f32983fcfbc0f6f068985de8697104c1c36 | [
"MIT"
] | permissive | Mourtz/pomdog | 3841c015012f0bb8f4e45c3524a66ced11abd448 | b3f678033b2b41ec5bbf9c5079810b1082aa293d | refs/heads/master | 2020-12-25T04:01:47.810430 | 2015-09-10T11:57:25 | 2015-09-10T11:57:25 | 38,495,875 | 1 | 0 | null | 2015-07-07T09:48:00 | 2015-07-03T14:12:26 | C++ | UTF-8 | C++ | false | false | 1,925 | cpp | // Copyright (c) 2013-2015 mogemimi.
// Distributed under the MIT license. See LICENSE.md file for details.
#include "ErrorCheckerAL.hpp"
#include "PrerequisitesOpenAL.hpp"
#include "Pomdog/Logging/Log.hpp"
#include "Pomdog/Logging/LogStream.hpp"
#include "Pomdog/Utility/detail/Tagged.hpp"
#include <cstddef>
#include ... | [
"mogemimi@enginetrouble.net"
] | mogemimi@enginetrouble.net |
330832cd9629b0829042c5af359ff952aef9c6c9 | acff1e354047becf999e10154bac01dbf210cd4c | /Chapter-9-Container/ex9.24-visit.cpp | 6e75b3fe746014d0906d0f9439b2d1e4ca885f28 | [] | no_license | middleprince/CPP-Primer | e1f6440a6aa4c11d9f3b3b0b88579d2294d2ef53 | 345d99a4b3f41aab24598edc61a01b6f09f0ab61 | refs/heads/master | 2021-06-25T00:28:01.014655 | 2021-01-18T13:27:38 | 2021-01-18T13:27:38 | 189,856,807 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 325 | cpp | #include <iostream>
#include <vector>
using namespace std;
int main() {
vector<int> a;
cout << "#Test1: \n";
//cout << "at: " << a.at(0) << endl;
cout << "subscript: " << a[0] << endl;
cout << "front: " << a.front() << endl;
cout << "begin:: " << *a.begin() << endl;
a[0];
return 0;... | [
"hellangel.ah@gmail.com"
] | hellangel.ah@gmail.com |
f17b01b97b45ccde8e3822519d567494b82d67d2 | 48c96857072249250c5004404c0f52da3a3aed55 | /modules/nginx_mod_ffeadcpp/ngx_http_ffeadcpp_module.cpp | 61025312a99639b7baa3f6ca8cbbe15b5dba3df1 | [] | no_license | luckykelfor/ffead-cpp | 2b8b4eeb02ff20e0982802bbc307e72326a8596a | 9de346c844ba0c1efea5c24552612370dff76a43 | refs/heads/master | 2020-09-28T13:08:40.524723 | 2019-11-24T15:25:59 | 2019-11-24T15:25:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,554 | cpp | extern "C" {
#include <ngx_config.h>
#include <ngx_core.h>
#include <ngx_http.h>
}
#include "cstdlib"
#include "dlfcn.h"
#include "sstream"
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <sys/types.h>
#include <signal.h>
#include <fcntl.h>
#include <queue>
#ifdef INC_COMP
#includ... | [
"sumeet.chhetri@gmail.com"
] | sumeet.chhetri@gmail.com |
14c0a005dd721b98598328999d8355cd38943d70 | e83c55d7ac2978687ca26e1cc9443ed4a999746c | /OpenGLrememberProj/Render.cpp | 2aeaed60e0dfe01fcd7da1f2cd124b69ee2f8898 | [] | no_license | Dragoncatevelina/Kyrsovai_KG | b301199a7a33f342c6952eb7115ef54407c4a31d | 4cb3327d31fe0f1294ef789cdc07aa3d04aaf1ae | refs/heads/main | 2023-02-03T23:39:47.523815 | 2020-12-24T12:28:00 | 2020-12-24T12:28:00 | 324,151,640 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 40,875 | cpp | #include "Render.h"
#include <windows.h>
#include <GL\gl.h>
#include <GL\glu.h>
#include "GL\glext.h"
#include "MyOGL.h"
#include "MyVector3d.h"
#include "Camera.h"
#include "Light.h"
#include "Primitives.h"
#include "MyShaders.h"
#include "ObjLoader.h"
#include "GUItextRectangle.h"
#include "Texture.h"
GuiTe... | [
"73788038+Dragoncatevelina@users.noreply.github.com"
] | 73788038+Dragoncatevelina@users.noreply.github.com |
543b72bba54050ac42d3c9d978c5505cb78a2445 | b3f46d9388a1972a84137d58fa7b86132bcd2f56 | /tuan02/tuan 2-Bai 10.cpp | fd534d8bb7f9980894997f85f107ae55a9a5c17c | [] | no_license | lamthienphong-20021567/laptrinhnangcao | c236ab66bd1bc7fca0bf2b63e06efa2d75c7f6cc | 179b3aef7b9d8b456147f0ef98327160308e8a90 | refs/heads/main | 2023-04-28T05:43:10.206585 | 2021-05-13T15:28:00 | 2021-05-13T15:28:00 | 336,136,362 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 185 | cpp | #include<iostream>
#include<cstdio>
using namespace std;
int main()
{
double b,c;
int a;
cin >> a;
b = (a-32)*5/9;
c = b+273.15;
printf("%d %0.2lf %0.2lf", a, b, c);
return 0;
}
| [
"="
] | = |
d1e1fbe2f4e2de8f0be564b51d1d1340dd183a4f | a78b725e471f704a31c01e817b9b1368b2ec156e | /Source/Citybuilding/Game/CPP_GameMode.h | 4932175b1a38d4f8f9966cf3550a77a750e41ad8 | [] | no_license | Thelmarr/Citybuilding | 2f41fd937507c66c26b77cef88a0757c6cc8ec67 | da939e94594e9f8824329bea5c0e869eb785cd41 | refs/heads/master | 2020-06-27T09:09:22.865783 | 2019-11-03T14:21:33 | 2019-11-03T14:21:33 | 199,908,800 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 402 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/GameMode.h"
#include "CPP_GameMode.generated.h"
/**
*
*/
UCLASS()
class CITYBUILDING_API ACPP_GameMode : public AGameMode
{
GENERATED_BODY()
public:
ACPP_GameMode();
vi... | [
"maxv@posteo.de"
] | maxv@posteo.de |
13a19365b449264ffb01c423715e90b8d61b898e | a4d0bdc44c2dbe68305d54d5738eaebae53d9c06 | /c++/day4/zoo/Animal.h | 1990ac13336315196835750cc3467913137342d8 | [] | no_license | maryllb/all_studey | a7430dd660b4cbf57226491735040c3d18f4afd4 | eed7cf7566c8bf439b03b280a57dfc5ba140f9f5 | refs/heads/master | 2022-12-01T02:16:10.305031 | 2020-08-12T03:11:38 | 2020-08-12T03:11:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 118 | h | #pragma once
class Animal
{
public:
Animal();
virtual ~Animal();
virtual void voice() = 0;
private:
};
| [
"qingyizhu12138@163.com"
] | qingyizhu12138@163.com |
f99460afb6bfbe58edb509c193bfa0a77c986263 | 03d831f9c7a2e338a00ff89380504202a6826fff | /src/main/include/commands/ReverseMagazine.h | 08305dca872a2dd6e5a18e75f7420d861d61c3f5 | [] | no_license | Team7433/2021InfiniteRecharge | dea0dce348e3ddf3393d36353735146461069395 | c14d3a06347cdafa22443298fdc12b9406bf6312 | refs/heads/main | 2023-04-27T18:22:10.759048 | 2021-04-21T22:33:27 | 2021-04-21T22:33:27 | 329,452,978 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,640 | h | // Copyright (c) FIRST and other WPILib contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#pragma once
#include <frc2/command/CommandBase.h>
#include <frc2/command/CommandHelper.h>
#include <functional>
#in... | [
"55177986+DJAY101@users.noreply.github.com"
] | 55177986+DJAY101@users.noreply.github.com |
f2f13c1daee43f450a0e7a41cffcbf143a746944 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/httpd/gumtree/httpd_old_log_752.cpp | f1b17e1675444bc918a794fefc1278401f4d0740 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 120 | cpp | ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r,
"chunked Transfer-Encoding forbidden: %s", r->uri); | [
"993273596@qq.com"
] | 993273596@qq.com |
3154da526a67721f1f079453b5c611526b1af8cb | 4301a3b0635d8637565705f6c5b584f8a8248af2 | /BattleTank/Source/BattleTank/Private/Tank.cpp | 5f484d33d016f6571bb6283a8054c1faf87faa4e | [] | no_license | thesamriel/04_BattleTank | 08160bea1644d4c62ca25862ae6569858afdffdf | b47991d75ac62735121f8040dba3a081ec75afeb | refs/heads/master | 2021-10-11T20:45:16.052198 | 2019-01-29T16:34:42 | 2019-01-29T16:34:42 | 152,095,362 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,680 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "Tank.h"
#include "TankAimingComponent.h"
#include "Engine/World.h"
#include "TankBarrel.h"
#include "Projectile.h"
// Sets default values
ATank::ATank()
{
// Set this pawn to call Tick() every frame. You can turn this off to i... | [
"markus.97@mail.de"
] | markus.97@mail.de |
3a9dd239e136747d5d43a74c5b0ef04a7d97a44c | a6a86fa570559a9191b78446e54d25469d28208e | /src/unittests/tests/test_dump_expressions.cpp | ad9f724919fd3d44df0bb82a54e40607e87560e3 | [
"MIT"
] | permissive | zifter/expression_fetcher | 4b26318891da2bdf53dca93d214d21029a33de7d | 1408405e0c50d0c5d15cb5917a28b1626be8673c | refs/heads/master | 2020-04-23T23:35:25.830870 | 2019-12-27T06:57:49 | 2019-12-27T06:57:49 | 171,541,099 | 1 | 0 | MIT | 2019-03-19T20:11:14 | 2019-02-19T20:04:05 | C++ | UTF-8 | C++ | false | false | 4,697 | cpp | #include "unittests.h"
#include "expression_fetcher.h"
using expression_fetcher::tests::Check;
FETCHER_TEST(test_const_char_equal_nullptr)
{
Check(EVAL_CONDITION("test" == nullptr), "\"test\" == nullptr");
}
FETCHER_TEST(test_string_equal_nullptr)
{
Check(EVAL_CONDITION(std::string("test") == nullptr), "\"t... | [
"zifter.ai@gmail.com"
] | zifter.ai@gmail.com |
d106b45679295083e8fb97de7bff1a613536a74b | 1d5014eda4c76155933a78babfeae5e7c1d92fa3 | /HW4/kitchen.h | 142d8ddf043c4039cc42d6400b53e9933fb4249c | [] | no_license | tevarilly/Data-Structures-Homework | ae00aa5434143a9090681a896caf86e239a7e208 | 1a606c05d112c5c125a4f9e837ea1db5c99b7178 | refs/heads/master | 2021-01-12T14:42:31.551690 | 2016-10-27T03:06:33 | 2016-10-27T03:06:33 | 72,065,398 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,074 | h | /*
kitchen.h
Class that creates a kitchen cabinet
Stores a list of ingredients available in the pantry with the respective amounts
*/
#ifndef __kitchen_h_
#define __kitchen_h_
#include <iostream>
#include <fstream>
#include <string>
#include <list>
#include "inventory.h"
class Kitchen
{
public:
//Default construct... | [
"tevarilly@gmail.com"
] | tevarilly@gmail.com |
4e218092a66dbf7b8aad2027de0e2058fcfc9f42 | 820dbfc4f161654d50481ab79ff6a19efe3cef19 | /gcj15rnd1CpB.cpp | 434980b03d27d269d64b72cc7ae29d64e8b7b7c5 | [] | no_license | rdxxer/SPOJ | 8f2c34c0cf8d47c39b8a660125b26453eb2aad48 | 042960cf73167d667946437d162e398d5d80053a | refs/heads/master | 2022-11-23T07:45:05.815578 | 2020-07-29T21:40:37 | 2020-07-29T21:40:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,989 | cpp | /*
*/
#include <bits/stdc++.h>
#define N 0x80
#define A 26
using namespace std;
int n,m,L,p[N][A],prefix[N],cn[N],indeg[N][N];
char keyboard[N],word[N];
double P,prob[N],z[N][N],e[N][N];
bool dz[N][N][N];
map<pair<int,int>,int> indegree;
int main() {
int i,j,k,l,ts,cs= 0,len;
char tmp[N];
for ( scanf("%d",&ts); t... | [
"kazi.serikzhan@gmail.com"
] | kazi.serikzhan@gmail.com |
f42708f90c751a35a5b6febc13d3a2a9328486b5 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5630113748090880_0/C++/dotnetcoder/ProblemB.cpp | 252ca1c3238675338790975420a5aceee14084cd | [] | 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,862 | cpp | //
// ProblemB.cpp
// GoogleCodeJam
//
// Created by Luan Nguyen on 4/9/16.
// Copyright © 2016 Luan Nguyen. All rights reserved.
//
#include <stdio.h>
#include <iostream>
#include <vector>
#include <string>
#include <fstream>
#include <unordered_map>
using namespace std;
bool compare(const vector<int>& x, const... | [
"alexandra1.back@gmail.com"
] | alexandra1.back@gmail.com |
51c6ac610487cf97d2d8f939aba9b4280391fd43 | 740dee819a64a1571cce844ceb33585b8c3fe02d | /Core/TriangleList.h | c72e83ca72ecd7b363ae2860c75f27ae7d2112ad | [
"MIT"
] | permissive | Wimacs/WiRay_GPU | c2ddc67e3776e8e693e5fb0462fe9eae4aa1a236 | 761bf9909313ba1b330ce77d1b2d4d119ebf2b55 | refs/heads/master | 2022-09-09T20:32:26.571122 | 2020-06-02T17:08:56 | 2020-06-02T17:08:56 | 268,821,453 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,084 | h | #pragma once
#include <string>
#include <vector>
#include <map>
#include <tuple>
#include <future>
#include <glm/glm.hpp>
#include <assimp/Importer.hpp>
#include <assimp/postprocess.h>
#include <assimp/scene.h>
#include "BVH/AABB.h"
#include "Utils/Surface.h"
#include "Core/Material.cuh"
#include "Core/Microfacet.c... | [
"Wimacs"
] | Wimacs |
2008bd4eba36cb4ef96627acf5f40b038e18b6af | c057e033602e465adfa3d84d80331a3a21cef609 | /C/testcases/CWE127_Buffer_Underread/s03/CWE127_Buffer_Underread__new_wchar_t_cpy_82.h | 0420652b3cbe636b8f339b1a524780558b9df81d | [] | no_license | Anzsley/My_Juliet_Test_Suite_v1.3_for_C_Cpp | 12c2796ae7e580d89e4e7b8274dddf920361c41c | f278f1464588ffb763b7d06e2650fda01702148f | refs/heads/main | 2023-04-11T08:29:22.597042 | 2021-04-09T11:53:16 | 2021-04-09T11:53:16 | 356,251,613 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,203 | h | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE127_Buffer_Underread__new_wchar_t_cpy_82.h
Label Definition File: CWE127_Buffer_Underread__new.label.xml
Template File: sources-sink-82.tmpl.h
*/
/*
* @description
* CWE: 127 Buffer Under-read
* BadSource: Set data pointer to before the allocated memory buffer
* Goo... | [
"65642214+Anzsley@users.noreply.github.com"
] | 65642214+Anzsley@users.noreply.github.com |
84afabff064544aa27ac0d30c9f3b8fc341c7cbe | 1c1eac855820d3ad64f4e9690cf3b1b2c5816f33 | /src/MQTTService.h | a612bec785cb3f3a3110e99eb5f4a9f8dc2c7795 | [] | no_license | phplego/esp8266-dev-board | f473389ee3021e713087c9c31e9b45b42c718668 | 1528e0c98964926aaa2b490e50e1b14580bab04e | refs/heads/master | 2022-01-26T11:13:52.254194 | 2022-01-19T23:59:51 | 2022-01-19T23:59:51 | 194,566,093 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,179 | h | #pragma once
#include <Adafruit_MQTT.h>
#include <Adafruit_MQTT_Client.h>
#include <WiFiClient.h>
#include <ArduinoJson.h>
#include <user_interface.h> //for getting free memory size
#include "TemperatureService.h"
#include "HumidityService.h"
#define MQTT_HOST "192.168.1.157" // MQTT host (m21.cloudmqtt.co... | [
"phplego@gmail.com"
] | phplego@gmail.com |
c30dcfb114e4b9b4731c4dc4c9d2e088e0d7b75a | 1943252496e726cc5fe07f6598424024e3f561ac | /Project13.1/var.cpp | e6069cbe82bd100fd65a45e3e50a3958644b8f23 | [] | no_license | OksanaPastukh/lab13.1 | 850df69a923bb223fd443d412fd6e1bf70120f11 | a7f673d94e37cdc5b83914e25a51acdd06806b0f | refs/heads/master | 2023-02-18T16:40:15.182240 | 2021-01-09T17:17:53 | 2021-01-09T17:17:53 | 328,207,005 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 168 | cpp | // var.cpp
namespace nsVar
{ // добавляємо до простору імен
int n; // визначення змінних
double x, x_p, x_k, dx, e, a, s;
}; | [
"oksana.pastukh.itis.2020@lpnu.ua"
] | oksana.pastukh.itis.2020@lpnu.ua |
bd96cdbfb6619a06fbfe9833890f85d723396fbd | 29dfcc27d67944ad3a69539f0d6a932c8e9be88e | /audio/libTVaudio/audio/audio_usb_check.cpp | a1316d59984a01c4868e3a45f74dc900dd05fbd8 | [] | no_license | ramalinga18680/audioHAL | e59d22036a18f080012187a827d7d5e728fc0639 | 1fcc2f133dd345d24b0b698dcfe05acf584024f6 | refs/heads/master | 2021-05-06T17:45:12.723568 | 2017-11-23T18:35:56 | 2017-11-23T18:35:56 | 111,839,099 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,782 | cpp | #include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <errno.h>
#include <cutils/log.h>
#include <pthread.h>
#include <sys/prctl.h>
#include <media/AudioSystem.h>
#include <media/AudioParameter.h>
#include "audio_usb_check.h"
#define LOG_TAG "aml_audio"
namespace android {
unsigned int deviceID = 0;
e... | [
"Satya.N@kpit.com"
] | Satya.N@kpit.com |
62991d4538d3132ea8ea1ced8d4ae79919913868 | d0c44dd3da2ef8c0ff835982a437946cbf4d2940 | /cmake-build-debug/programs_tiling/function14066/function14066_schedule_20/function14066_schedule_20.cpp | 9dd2efd7a21dd23096ee16e518ee6f366c1e8626 | [] | no_license | IsraMekki/tiramisu_code_generator | 8b3f1d63cff62ba9f5242c019058d5a3119184a3 | 5a259d8e244af452e5301126683fa4320c2047a3 | refs/heads/master | 2020-04-29T17:27:57.987172 | 2019-04-23T16:50:32 | 2019-04-23T16:50:32 | 176,297,755 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 759 | cpp | #include <tiramisu/tiramisu.h>
using namespace tiramisu;
int main(int argc, char **argv){
tiramisu::init("function14066_schedule_20");
constant c0("c0", 64), c1("c1", 128), c2("c2", 64), c3("c3", 64);
var i0("i0", 0, c0), i1("i1", 0, c1), i2("i2", 0, c2), i3("i3", 0, c3), i01("i01"), i02("i02"), i03("i0... | [
"ei_mekki@esi.dz"
] | ei_mekki@esi.dz |
676529aa3f9e119342fa37fe70a39a0b44141453 | 3fe13e073d1a7c3e8beacc71f1570fc8a2ec8692 | /src/solag/masm18.inc | 3085ce7dbce0c71783204d1eb808f26048e51976 | [
"MIT"
] | permissive | jerebenitez/IFE-simpact-openfoam | 7dbba4ae7ec3aa518277d7fa5f6e0fab42a2cd48 | 2dbcbf3195b22fca1c80ad0da6b3822b6cad5cdf | refs/heads/master | 2021-06-17T09:28:47.097398 | 2021-06-14T21:16:39 | 2021-06-14T21:16:39 | 205,249,068 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,828 | inc | SUBROUTINE masm18 (heade,emass,mass,sumat,coord,lumpd)
! compute mass vector/matrix for element 18 (3-D solid TLF)
! use standard 2x2x2 integration rule
IMPLICIT NONE
! dummy arguments
LOGICAL, INTENT(IN) :: lumpd
REAL (kind=8) :: emass(:,:), & !nodal mass in each direction
mass(:), & ... | [
"jeremias.benitez@mi.unc.edu.ar"
] | jeremias.benitez@mi.unc.edu.ar |
cf1179a93a231df5216d183d2280967be5baf525 | 354ebd2063f51ff7e54d38aac8a056ba59646e1d | /frameworks/Classes/XGifRecoder.h | 66ea01c4baf38de58ad7db2b5407188d1b5b9c27 | [
"MIT"
] | permissive | Xrysnow/LuaSTG-x | f96472cd2efc8ec6b0757183f3e0823d1f4cc7ee | 1afb74213f3e3464334a1e0a9fce4d1d5601ea52 | refs/heads/master | 2023-03-15T12:07:37.521091 | 2023-03-11T08:05:52 | 2023-03-11T08:05:52 | 178,587,001 | 84 | 17 | MIT | 2022-03-29T11:04:31 | 2019-03-30T16:58:55 | C++ | UTF-8 | C++ | false | false | 652 | h | #pragma once
#include "cocos2d.h"
namespace lstg
{
class GifRecoder : public cocos2d::Ref
{
cocos2d::Rect area;
bool trans = true;
cocos2d::Vector<cocos2d::RenderTexture*> captures;
std::vector<int32_t> intervals;
int32_t defaultItv = 1000;
int32_t quantizer = 0;
int32_t dither = 0;
GifRecoder();
... | [
"xrysnow@outlook.com"
] | xrysnow@outlook.com |
0551a7f1e4a692cf17502226896f7a9f82865a42 | 38c10c01007624cd2056884f25e0d6ab85442194 | /chrome/browser/extensions/api/bookmarks/bookmark_apitest.cc | 03674f596e98db83aaa37aef901b4123fb021dcc | [
"BSD-3-Clause"
] | permissive | zenoalbisser/chromium | 6ecf37b6c030c84f1b26282bc4ef95769c62a9b2 | e71f21b9b4b9b839f5093301974a45545dad2691 | refs/heads/master | 2022-12-25T14:23:18.568575 | 2016-07-14T21:49:52 | 2016-07-23T08:02:51 | 63,980,627 | 0 | 2 | BSD-3-Clause | 2022-12-12T12:43:41 | 2016-07-22T20:14:04 | null | UTF-8 | C++ | false | false | 2,589 | 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 "base/prefs/pref_service.h"
#include "base/values.h"
#include "chrome/browser/bookmarks/bookmark_model_factory.h"
#include "chrome/browser/bo... | [
"zeno.albisser@hemispherian.com"
] | zeno.albisser@hemispherian.com |
8604adb5e9c9e7b74af205c6302a58e53a03d18f | 885b2109a0ed4074942573241b7634a0c189995a | /core/init.hpp | 39075db4f7875611a485e6205a7138b5a620c348 | [] | no_license | jonatanolofsson/helios | 500d90ee4de2039743f42c6c4add3f2a6cbea315 | ac4b44a65f7b66ad0b839869b04fb67f172b54db | refs/heads/master | 2021-03-12T22:32:57.116136 | 2015-06-01T07:31:47 | 2015-06-01T07:31:47 | 6,471,209 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 69 | hpp | #pragma once
namespace os {
void init(int argc, char** argv);
}
| [
"jonatan.olofsson@gmail.com"
] | jonatan.olofsson@gmail.com |
21b6bbaa202261db99d6dea86d80b215b62e55cb | a59d498dba16dc6833a12caeffbfabea5cbf3da5 | /Electron/platform/mac/Gallium/render/pipeline/gl/opengl.hpp | e7110c41941519c8123cda9b5fbce94c97e92c9b | [] | no_license | ShadovvMoon/Electron | 2815b5f48d686f2595c070966c5f00b4148b7e54 | 5f91eeb4ff41d7a3f8f39a4d6ad47802d8eb29ab | refs/heads/master | 2021-01-18T15:04:09.043212 | 2017-06-27T19:27:52 | 2017-06-27T19:27:52 | 34,188,014 | 3 | 3 | null | 2015-05-08T12:01:07 | 2015-04-19T00:28:18 | C | UTF-8 | C++ | false | false | 1,387 | hpp | //
// opengl.hpp
// Electron
//
// Created by Samuco on 6/22/17.
// Copyright © 2017 Samuco. All rights reserved.
//
#ifndef opengl_hpp
#define opengl_hpp
// Include OpenGL
#include "defines.h"
#ifdef _WINDOWS
#define _USE_MATH_DEFINES
#include "glew/GL/glew.h"
#define RENDER_VAO_NORMAL
#elif __APPLE__
#include <... | [
"contact@samuco.net"
] | contact@samuco.net |
83070690a07f586fef4d0db18faa682605782a63 | 81ae1a9d4e937088acd120e9a61f59df005652c5 | /usb/MassStorage.h | a5b30c5bd5c8a98d5b09c63a6902e8913a8b5eeb | [] | no_license | ElessarCuthalion/Kvest-Mason_order_FV3 | e3ca3071524ce2b5b145a58bf693a972b9775607 | 85eb94d691fa0a74e82cd72777cc841c389782aa | refs/heads/master | 2020-03-30T16:35:07.032468 | 2019-01-16T10:34:14 | 2019-01-16T10:34:14 | 151,416,197 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,774 | h | /*
* MassStorage.h
*
* Created on: Oct 7, 2013
* Author: g.kruglov
*/
#ifndef MASSSTORAGE_H_
#define MASSSTORAGE_H_
#include "usb_f2.h"
#include "hal.h"
#include "scsi.h"
#include "uart.h"
// Config
#define READ_ONLY FALSE
#if 1 // ================= Mass Storage constants and types ================... | [
"elessarcuthalion@mail.ru"
] | elessarcuthalion@mail.ru |
261d986d2e3bf700e80f7619a22734ed2353ca7b | d892fb4d377911093ad1de9ece5f63739c1c578e | /.pio/libdeps/smartoled/IRremoteESP8266/src/ir_Nikai.cpp | 01c789d70e30492353c454849de77d8075721818 | [
"MIT",
"LGPL-2.1-only"
] | permissive | sblantipodi/smart_thermostat | fd773bab3ffe105cda0dcc80be2a4270da2abb14 | 1e78e84707fb6c7119f73f1c33a68b753e086100 | refs/heads/master | 2023-08-07T20:46:04.387884 | 2023-07-31T12:33:03 | 2023-07-31T12:33:03 | 191,033,648 | 18 | 1 | MIT | 2023-09-05T11:47:59 | 2019-06-09T17:07:51 | C++ | UTF-8 | C++ | false | false | 2,774 | cpp | // Copyright 2009 Ken Shirriff
// Copyright 2017 David Conran
/// @file
/// @brief Nikai
/// @see https://github.com/crankyoldgit/IRremoteESP8266/issues/309
// Supports:
// Brand: Nikai, Model: Unknown LCD TV
#include <algorithm>
#include "IRrecv.h"
#include "IRsend.h"
#include "IRutils.h"
// Constants
const uin... | [
"perini.davide@dpsoftware.org"
] | perini.davide@dpsoftware.org |
13915376e79d12f3d71329248704ff0adc712800 | 600df3590cce1fe49b9a96e9ca5b5242884a2a70 | /tools/gn/tokenizer.h | 9b6ef33c4172a1ec3a0adc3100beb5a3285520e6 | [
"BSD-3-Clause",
"LGPL-2.0-or-later",
"LicenseRef-scancode-unknown-license-reference",
"GPL-2.0-only",
"Apache-2.0",
"LicenseRef-scancode-unknown",
"MIT"
] | permissive | metux/chromium-suckless | efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a | 72a05af97787001756bae2511b7985e61498c965 | refs/heads/orig | 2022-12-04T23:53:58.681218 | 2017-04-30T10:59:06 | 2017-04-30T23:35:58 | 89,884,931 | 5 | 3 | BSD-3-Clause | 2022-11-23T20:52:53 | 2017-05-01T00:09:08 | null | UTF-8 | C++ | false | false | 2,741 | h | // Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef TOOLS_GN_TOKENIZER_H_
#define TOOLS_GN_TOKENIZER_H_
#include <stddef.h>
#include <vector>
#include "base/macros.h"
#include "base/strings/s... | [
"enrico.weigelt@gr13.net"
] | enrico.weigelt@gr13.net |
53132fa1959f4983f757129040dca73a3c0ba122 | 5840e8abf34d91ec8a0647c9d68a405cc0d80f5a | /13307130207/assignment4/a.cpp | 6380b5bdbd09f4d7d475660b7d1b6d02c4ca732b | [] | no_license | ohlionel/codebase | 5d3b086830a0c5dc975bde952a084c3e067d73d2 | b816744b290f68f829c9b0d9df37615e13ece264 | refs/heads/master | 2020-06-19T16:10:21.234359 | 2014-12-19T12:00:38 | 2014-12-19T12:00:38 | 43,301,093 | 1 | 0 | null | 2015-09-28T13:00:50 | 2015-09-28T13:00:50 | null | UTF-8 | C++ | false | false | 505 | cpp | #include <cstdio>
#include <iostream>
#define rep(i,a,b) for(int i=a;i<=b;++i)
using namespace std;
int n,top,p,flag,a[10000],q[10000];
int main(){
while (1){
scanf("%d",&n);
if (!n) break;
while (1){
scanf("%d",&a[1]);
if (!a[1]) break;
rep(i,2,n) scanf("%d",&a[i]);
top=0; p=0; flag=1;
rep(i,1,n... | [
"chiyahoho@gmail.com"
] | chiyahoho@gmail.com |
303c35db1147e4eb45c2650e3354a98a72a1be35 | c2215748e4568f4e5474eaea85b02dd7b8cc89e1 | /c_sim/util.cpp | 64f1835e611f33625843c56623af6efd2da60def | [] | no_license | justindcheng/ANRG | 4f833f67c13f61b18d40ae3f4f64b3a30d3235b7 | 20276be280fe8fd4716d4dc17dc8492196278154 | refs/heads/master | 2021-04-26T16:49:26.148223 | 2015-04-09T00:19:29 | 2015-04-09T00:19:29 | 30,162,072 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 441 | cpp | #include "util.h"
#include <cmath>
#define SQR(x) ((x)*(x))
double Distance(Robot r1, Robot r2) {
return sqrt(SQR(r1.x-r2.x)+SQR(r1.y-r2.y));
}
double Power(Robot r1, Robot r2, double eta) {
return 1/pow(1+Distance(r1, r2), eta);
}
double SINR(double signal, std::vector<double> interf, double gamma) {
double su... | [
"hochingc@usc.edu"
] | hochingc@usc.edu |
502a6ed0cf7a69a29eea5e35b41421099abcefdc | 5e6b67a01bf4c160930610e942cd35a0504e3967 | /tesis/ww39_neuronal_new_IP/IP/solution/solution1/.autopilot/db/calc.pp.0.cpp.ap-line.cpp.CXX | ceef48c90fdebabb0fb2b6be749b63cedbba7ae5 | [] | no_license | mespinoza86/Documents_2020 | 40b7d70e63017d9b1b270c431488251b4fd90742 | 35d6b369cd4b136d692277aa6dea8f959b3cc3d9 | refs/heads/master | 2022-04-15T16:15:55.860768 | 2020-04-12T01:04:17 | 2020-04-12T01:04:17 | 254,982,543 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 79,269 | cxx | #pragma line 1 "modules/calc/calc.cpp" ::: 0
#pragma line 1 "modules/calc/calc.cpp" 1 ::: 1
#pragma line 1 "<built-in>" 1 ::: 2
#pragma line 1 "<built-in>" 3 ::: 3
#pragma line 155 "<built-in>" 3 ::: 4
#pragma line 1 "<command line>" 1 ::: 5
#pragma line 1 "/opt/vivado/Vivado_HLS/2016.4/common/technology/autopilot/etc/... | [
"mespinoza1986@gmail.com"
] | mespinoza1986@gmail.com |
bd8aea3815d740e1bddaeb5e8874e4bacdab8d2a | ad5555334c057f05957e716b81c56808541eef77 | /kinect_dash/Gui/GuiScreen.cpp | 9c061d542f9e9f906961ed2ad55e7bbd36b520ed | [
"MIT"
] | permissive | elissandroms/driver_kinectV1 | 75cdda8592ca9556264b43ec3bd596e0799c967e | 428961464101f88c87df24b5e4315fae60ff7872 | refs/heads/master | 2023-09-03T10:15:21.492205 | 2021-10-19T06:48:09 | 2021-10-19T06:48:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,235 | cpp | #include "stdafx.h"
#include "Gui/GuiScreen.h"
GuiScreen::GuiScreen(const std::string &f_name, const sf::Vector2i &f_size) : GuiElement(f_name)
{
m_size.x = static_cast<float>(f_size.x);
m_size.y = static_cast<float>(f_size.y);
}
GuiScreen::~GuiScreen()
{
}
void GuiScreen::InjectMouseMove(const sf::Vector2f... | [
"sdraw@protonmail.com"
] | sdraw@protonmail.com |
d4009f7411a6e1630244642b0f95941fbc3ce99c | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /chrome/browser/chromeos/night_light/night_light_client.cc | 61c93a5468b3227882f9f1c8f81c59f763c09ab9 | [
"BSD-3-Clause"
] | permissive | Samsung/Castanets | 240d9338e097b75b3f669604315b06f7cf129d64 | 4896f732fc747dfdcfcbac3d442f2d2d42df264a | refs/heads/castanets_76_dev | 2023-08-31T09:01:04.744346 | 2021-07-30T04:56:25 | 2021-08-11T05:45:21 | 125,484,161 | 58 | 49 | BSD-3-Clause | 2022-10-16T19:31:26 | 2018-03-16T08:07:37 | null | UTF-8 | C++ | false | false | 6,474 | cc | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/chromeos/night_light/night_light_client.h"
#include <algorithm>
#include "ash/public/interfaces/constants.mojom.h"
#include "ba... | [
"sunny.nam@samsung.com"
] | sunny.nam@samsung.com |
fc93a4fb41e5cabe1923eb05478203c9998f38c4 | c314097153ab7921679acb1a13b921a8578ccf8a | /include/native/Timer.hpp | 6f6ecca1edc2a548d21469b33ebbd1ad3c9f65e6 | [
"MIT"
] | permissive | blockspacer/nodenative | 5d6b9b576462566b48d86a0cc6d127143e2e5238 | cf988c9399e0793b1b8c29a8ffd09e910d1a0cb3 | refs/heads/master | 2022-07-19T09:10:57.366051 | 2020-05-27T21:58:16 | 2020-05-27T21:58:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,837 | hpp | #ifndef __NATIVE_TIMER_HPP__
#define __NATIVE_TIMER_HPP__
#include "base/Handle.hpp"
namespace native {
class Timer : public base::Handle {
protected:
Timer(std::shared_ptr<Loop> iLoop, std::function<void()> iCallback);
public:
Timer() = delete;
virtual ~Timer();
/**
* Create Timer instance. The `init` ... | [
"ionlupascu@gmail.com"
] | ionlupascu@gmail.com |
860702fb9b7b6322c5d4886168b55cf22ec7bb0f | f0c433340e9159f55c1aaa9c7ec6dbd60e27b5e9 | /DataStructure/DataStructure/Algorithm.cpp | 7425025a262137fffe4fb4f7b3180d217df58a18 | [] | no_license | ylzf0000/DataStructure | 0158d3b7cb6533367159ce99e344cc847608370b | e5fbc0509bbd4a5d3816b981a8941838e3d65069 | refs/heads/master | 2020-03-25T08:27:15.370847 | 2020-01-06T15:45:35 | 2020-01-06T15:45:35 | 143,613,172 | 2 | 0 | null | null | null | null | GB18030 | C++ | false | false | 5,977 | cpp | #include "Algorithm.h"
#include <algorithm>
#include <iostream>
#include <iomanip>
#include <queue>
using namespace std;
int _ZXXXE::partition(int a[], int low, int high)
{
if (low > high)
return -1;
int i = low, j = high;
int tmp = a[i];
while (i < j)
{
while (i < j && tmp <= a[j])
... | [
"84978695@qq,com"
] | 84978695@qq,com |
6cade5b1c0670f2b2dc34c994ea233346d0dcb42 | 649c330e27e9b2b67f08f2cbc080d610cd84aa9f | /1115_latch/tmp/test.cc | 4bab411348f20474ef1778daeb603839bc4e8f19 | [] | no_license | KoseMasu/softwareEngineering2019 | fa4c294d00e4fe7d24ca9426d0a47ee17ddd8b0f | 18f9f7a6277d511fa7fa1ab714427beac659417b | refs/heads/master | 2020-08-09T17:40:02.098306 | 2020-05-14T08:37:46 | 2020-05-14T08:37:46 | 214,135,084 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 591 | cc | #include <stdio.h>
#include <stdlib.h>
#include <pthread.h>
#include "debug.h"
int Value_x = 0;
int Value_y = 0;
void *
worker_1(void *arg)
{
printf("x = %d\n", Value_x);
Value_x = 1;
return NULL;
}
void *
worker_2(void *arg)
{
printf("y = %d\n", Value_y);
Value_y = 1;
return NULL;
}
int
main(void)
{
... | [
"masumurak@keio.jp"
] | masumurak@keio.jp |
b544cc48affba2e54508b22f32770d5fe7e8853a | 9a242d39810cdb39700b6aff5029f725637edd93 | /leti/0303/smo/1/cas-shared-deque-anchor-as-pointer/main.cpp | 62f3ec377644cbfe885e1cc05a137dfe0284203e | [] | no_license | Gremory/hpcourse | ca52ed0f912daab5bfd67df9f00fed74eca0e969 | b5ab685137869d589b69a3a71daa5787076c3ae8 | refs/heads/master | 2021-01-18T10:29:22.777961 | 2016-02-28T06:32:59 | 2016-02-28T06:32:59 | 52,282,432 | 0 | 0 | null | 2016-02-22T15:17:42 | 2016-02-22T15:17:42 | null | UTF-8 | C++ | false | false | 10,338 | cpp | //
// main.cpp
// cas-shared-deque
//
// CAS-Based Lock-Free Algorithm
// for Shared Deques
//
// Created by Dmitry Sereda on 02.02.16.
// Copyright © 2016 Dmitry Sereda. All rights reserved.
//
#include <iostream>
#include <libkern/OSAtomic.h>
#include <thread>
enum StatusType {
STABLE = 1,
RPUSH = 2,
... | [
"dimak@dimak.pp.ua"
] | dimak@dimak.pp.ua |
c30ba0acce2020bc38a8a0509966b5b97bd4adc6 | 10b561c63f491d802734e2c9db121ef2e8659cbf | /reader/src/pin.cpp | b1e21ceeecfcd9c9ef8a558ea74ffb4b9f615ef3 | [] | no_license | woutercloete/cableguard | 31274382de7f9acc6cf3efdd75930a6d9dd4438e | 25c1fd6195f55d46def1300dac1d4607e3833265 | refs/heads/master | 2021-01-25T05:34:53.065520 | 2012-07-05T12:38:06 | 2012-07-05T12:38:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,046 | cpp | /* A simple class to setup and control an AVR port pin.
*
* Created on: 08 Apr 2011
* Author: Wouter Cloete for Firmlogik (Pty) Ltd
****************************************************************************************/
#include "pin.h"
#include "avrlibdefs.h"
/****************************************************... | [
"wouter.cloete@firmlogik.co.za"
] | wouter.cloete@firmlogik.co.za |
5be831ecd653af11ee16883e2e3a35aef31e81b1 | dd815bd299369a29ac1c31cb99390e35ab2b6402 | /jni/Core/Input.cpp | 99ddd7440c414cb01872266f2c3507e1b40981d5 | [] | no_license | amuTBKT/FlappyBird-NDK | 4c5c85085aba8569bf8756e73f37d7d86df4d4c0 | fe0269fa02e44b2f4f8b226e8bfd3711001bcf45 | refs/heads/master | 2020-12-11T07:53:16.729367 | 2015-12-27T18:44:09 | 2015-12-27T18:44:09 | 48,602,867 | 14 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 902 | cpp | #include "Input.h"
Input* Input::GetInstance(){
static Input *instance;
if (instance == 0){
instance = new Input();
}
return instance;
}
void Input::SetCameraParams(Camera *camera){
cameraParams.size.set(camera->width, camera->height);
cameraParams.position = camera->GetPosition();
}
void Input::SetTouchSt... | [
"gookutbkt@gmail.com"
] | gookutbkt@gmail.com |
b7d1a0cf3648abcbbf67a3a5d9d04e43ca6e2e86 | e641bd95bff4a447e25235c265a58df8e7e57c84 | /content/test/fake_compositor_dependencies.cc | b9e219ef517faa1be0f2a47b038927ea3f648246 | [
"BSD-3-Clause"
] | permissive | zaourzag/chromium | e50cb6553b4f30e42f452e666885d511f53604da | 2370de33e232b282bd45faa084e5a8660cb396ed | refs/heads/master | 2023-01-02T08:48:14.707555 | 2020-11-13T13:47:30 | 2020-11-13T13:47:30 | 312,600,463 | 0 | 0 | BSD-3-Clause | 2022-12-23T17:01:30 | 2020-11-13T14:39:10 | null | UTF-8 | C++ | false | false | 1,732 | 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 "content/test/fake_compositor_dependencies.h"
#include <stddef.h>
#include "base/single_thread_task_runner.h"
#include "base/threading/thread_t... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
cb3fe6d2fbb6719a508e4d91391e7ffe3b827869 | 6fc786933fc622f932774cb17834249b4dc39c4c | /Project/TWTL_Database/stdafx.cpp | 86c8f9da1935419a00a4668a3deab8abc8b4f602 | [] | no_license | TWTL/Engine | 6a73b7a392292d0995ef53dc25262ea249ec654a | 2ba3be1270f4acee691a8bfcb5768bf60f9cdf3f | refs/heads/master | 2021-01-12T14:25:28.132190 | 2016-12-09T13:21:27 | 2016-12-09T13:21:27 | 69,204,828 | 0 | 0 | null | 2016-11-19T08:49:20 | 2016-09-26T02:16:50 | C | UHC | C++ | false | false | 331 | cpp | // stdafx.cpp : 표준 포함 파일만 들어 있는 소스 파일입니다.
// TWTL_Database.pch는 미리 컴파일된 헤더가 됩니다.
// stdafx.obj에는 미리 컴파일된 형식 정보가 포함됩니다.
#include "stdafx.h"
// TODO: 필요한 추가 헤더는
// 이 파일이 아닌 STDAFX.H에서 참조합니다.
| [
"jb6804@naver.com"
] | jb6804@naver.com |
cef9dee668b57abda3853d00eeb15fe400c9e678 | 38d64d099cfef6f39fa08aa6364b0464a988102d | /bipartite/src/dendro.h | 804d3091c4161495b8f19def4fc2c1d17d94f7bb | [] | no_license | biometry/bipartite | 004b458f73c25f64de5bda3c4c9e2c861aec983a | 2fb52577d297480a3a1c1c707a3549ac97e5d08c | refs/heads/master | 2023-06-23T12:37:01.423686 | 2023-03-01T15:22:14 | 2023-03-01T15:22:14 | 24,846,853 | 37 | 16 | null | 2020-05-27T11:07:11 | 2014-10-06T13:26:44 | R | UTF-8 | C++ | false | false | 86,704 | h | // ****************************************************************************************************
// *** COPYRIGHT NOTICE *******************************************************************************
// dendro.h - hierarchical random graph (hrg) data structure
// Copyright (C) 2005-2009 Aaron Clauset
// Copyrig... | [
"carsten.dormann@biom.uni-freiburg.de"
] | carsten.dormann@biom.uni-freiburg.de |
cdbbdabfcbf797587ea1b1f4f810f8ed26c71b8e | 363f9b0b683f71b0eac5e22309ea1b13401d96bb | /Cpp/hfdp/src/strategy/ducks/MuteQuack.h | 26737e0fb18b878626420a44d1cff00ce90d2efb | [] | no_license | Chaser/DesignPatternPractice | 83abaca7173fef2c52c580daba286660846b6dd9 | 6cbffec01a024ada604ecc1a140b6cc1487b0f3e | refs/heads/master | 2021-07-05T02:07:02.505356 | 2019-11-03T21:45:19 | 2019-11-03T21:45:19 | 15,788,959 | 0 | 0 | null | 2020-10-13T02:31:45 | 2014-01-10T05:13:37 | Java | UTF-8 | C++ | false | false | 231 | h | //
// Created by Johnson, Chase on 12/4/16.
//
#ifndef HFDP_MUTEQUACK_H
#define HFDP_MUTEQUACK_H
#include "QuackBehaviour.h"
class MuteQuack: public QuackBehaviour {
public:
void quack(void);
};
#endif //HFDP_MUTEQUACK_H
| [
"chaseaj@amazon.com"
] | chaseaj@amazon.com |
97e0f217e267c17d8d7fac8be6b915b5e80410ea | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/CMake/CMake-gumtree/Kitware_CMake_repos_basic_block_block_9504.cpp | a86aa180c379622d4d071ab0072450c1b774e9ff | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 130 | cpp | {
archive_entry_acl_add_entry(entry,
tacl_entry[i].type, tacl_entry[i].permset,
tacl_entry[i].tag, -1, NULL);
} | [
"993273596@qq.com"
] | 993273596@qq.com |
c391982fb7919c548aaa6d28b21a13da7a534189 | 3176cd111d7a957a09c5c2beb6b9aa8abe4ad152 | /JEDI/jvcl/examples/JvXPControls/Simple/BCB/JvXPControlsSimpleDemo.cpp | 0d93a93bfcdd8bd95a687344283d200e3a799272 | [] | no_license | xxrepo/KsmProjAddons | 992b3c85f00c0f9659be6ec92620920eb83578fc | 2bd00a2f0f0a985385b9b45f0cf8d91cbe4bd95d | refs/heads/master | 2020-04-07T18:43:37.379681 | 2012-01-12T12:28:48 | 2012-01-12T12:28:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,854 | cpp | /******************************************************************
JEDI-VCL Demo
Copyright (C) 2004 Project JEDI
Original author: Olivier Sannier (obones att altern dott org)
You may retrieve the latest version of this file at the JEDI-JVCL
home page, located at http://jvcl.sour... | [
"Andy.Chevich@gmail.com"
] | Andy.Chevich@gmail.com |
11dd01e6c41eef79befb3d76ed75a6957b8bcefb | a4e8e1438955b84b72e005818ce4b659aae6237d | /libsnark/src/produce/circuit/gadget.tcc | c43fbb3c5b1399fa34110649e8d1d11492b583f3 | [
"MIT"
] | permissive | Wells-yuan/mds | c1f412195b3e979cf73913f96a2cbaf60c216d84 | e4ee9df52cae8c27b875361fa4e01dee047114db | refs/heads/main | 2023-05-31T19:30:20.767601 | 2021-06-09T12:48:59 | 2021-06-09T12:48:59 | 373,026,063 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,172 | tcc | #include "utils.tcc"
#include "commitment.tcc"
/***********************************************************
* 模块整合,主要包括验证proof时所需要的publicData的输入
***********************************************************
* sha256_CMTA_gadget, Add_gadget, Comparison_gadget
**********************************************************... | [
"yuan9418@live.com"
] | yuan9418@live.com |
f3537ea956a97d83acf01f3247647fad0bde18dd | 5fe209e8fb8891f0fa0981be60b724961a8ebf41 | /day12-3.cpp | 59fa8b0a6f6e8e6540b950d575667a27b0bb4136 | [] | no_license | Jluxcs/CPP_learning | b7d87fe1e1c98ea5f3f203d8db8c706a82d208bb | 9ec057ca6fc5000e3b126bcd49e269043dfcab17 | refs/heads/master | 2020-06-17T02:23:47.588776 | 2019-07-08T08:20:59 | 2019-07-08T08:20:59 | 195,767,170 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 136 | cpp | //数组动态内存分配
char* pvalue = NULL;
pvalue = new char[20];
delete [] pvalue;
int* array = new int [m];
delete [] array;
| [
"852306873@qq.com"
] | 852306873@qq.com |
734d8bee05c13dc4c6a3ac909a8d0a9c0ba5dd6b | 5ab1cee1e1d842c5656281b9cd2bfa232909f93e | /code/source/dbSqlite3/src/dbSqlite3Query.cpp | ddb519eedd1c6fb2f7a596dded6e5aaee0dda752 | [] | no_license | like-open/lib-db | 1c8d06fc8d07242c5be9e253fb5908e25ef3283d | 3fcb21a307d5883f4bc9697c2979be3d6d0014d3 | refs/heads/master | 2021-01-10T08:44:28.642441 | 2016-03-02T08:41:51 | 2016-03-02T08:41:51 | 52,943,224 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 8,038 | cpp | /*----------------- dbSqlite3Query.cpp
*
* Copyright (C): 2016 Lake
* Author : Lake.Liu
* Version : V1.0
*--------------------------------------------------------------
*SQL结果声明
*------------------------------------------------------------*/
#include "dbSqlite3.h"
#include <string.h>
/*************... | [
"thunders@126.com"
] | thunders@126.com |
b89c1c99bd8f67efbd7f9ad5ffd117df51b6f4a1 | f1089d6d41310b7b1d7c8499636b13b400ffe90e | /Source/AllProjects/CQCKit/CQCKit_FldInfoCache.hpp | 3aadb59a0c173e6fe0f662125d1a1417a706966b | [
"MIT"
] | permissive | elix22/CQC | 916ead73fce29e134cb46e54b25b8517baa72f96 | 993a614855b3edf2a2f449f6e221360524398da8 | refs/heads/master | 2023-02-02T22:11:23.912438 | 2020-12-25T19:54:13 | 2020-12-25T19:54:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,876 | hpp | //
// FILE NAME: CQCKit_FldInfoCache.hpp
//
// AUTHOR: Dean Roddey
//
// CREATED: 10/11/2001
//
// COPYRIGHT: Charmed Quark Systems, Ltd @ 2020
//
// This software is copyrighted by 'Charmed Quark Systems, Ltd' and
// the author (Dean Roddey.) It is licensed under the MIT Open Source
// license:
//
// https://ope... | [
"droddey@charmedquark.com"
] | droddey@charmedquark.com |
98dec365b2e28fb7347b3440906b4e052da22d1b | 01a42b69633daf62a2eb3bb70c5b1b6e2639aa5f | /SCUM_Aluminium_Strip_classes.hpp | 764c7618a264bdb16a5959e442f579d9204b40c1 | [] | no_license | Kehczar/scum_sdk | 45db80e46dac736cc7370912ed671fa77fcb95cf | 8d1770b44321a9d0b277e4029551f39b11f15111 | refs/heads/master | 2022-07-25T10:06:20.892750 | 2020-05-21T11:45:36 | 2020-05-21T11:45:36 | 265,826,541 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 631 | hpp | #pragma once
// Scum 3.79.22573 (UE 4.24)
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace Classes
{
//---------------------------------------------------------------------------
//Classes
//---------------------------------------------------------------------------
// BlueprintGeneratedClass Aluminium_Str... | [
"65712402+Kehczar@users.noreply.github.com"
] | 65712402+Kehczar@users.noreply.github.com |
a97120d0fd254478c6350b4003f406cca24750c5 | 79656f11fe06b2bc6f791d21bbdd449c218efdf0 | /Leetcode/44. Wildcard Matching.cpp | 1b7d340fbaa3f48b6f67951416dea0db1ec625b3 | [] | no_license | yuzhengang/algorithm | e3696e8e0ac4fbc994bc7db6a1bdedaa8ec3b6b7 | 525e48ec4cfe3447b6d557553805c4e3e1808bf2 | refs/heads/master | 2022-03-25T04:53:44.766099 | 2019-12-31T02:26:44 | 2019-12-31T02:26:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,704 | cpp | /*Wildcard Matching:Implement wildcard pattern matching with support for '?' and '*'.*/
class Solution {
public:
bool isMatch(string s, string p) {
int idxs = 0, idxp = 0, idxstar = -1, idxmatch = 0;
while(idxs < s.length()){
// 当两个指针指向完全相同的字符时,或者p中遇到的是?时
if(idxp < p.length()... | [
"fupengfei@yaochufa.com"
] | fupengfei@yaochufa.com |
4cbca5c8f09767c5772456eac08160e3e60e0f4d | d8ddcf598033afc032152503fda0e4ae9ed62770 | /libs/elfio/examples/RelocationTable/RelocationTable.cpp | 52570780ada99cd093b5275691825871b1223427 | [
"BSD-3-Clause",
"MIT"
] | permissive | wrffrz/bcm5719-fw | 0c0780396176a9f703733e32493d760be802153c | ef26a71096106b3ed578bb840b0b90d547b82eda | refs/heads/master | 2020-12-15T17:08:44.922891 | 2020-01-20T20:14:03 | 2020-01-20T20:14:03 | 235,189,454 | 0 | 0 | BSD-3-Clause | 2020-01-20T20:09:05 | 2020-01-20T20:09:04 | null | UTF-8 | C++ | false | false | 1,789 | cpp | #include <cstdio>
#include <ELFIO.h>
int main( int, char* argv[] )
{
// Create a ELFI reader
IELFI* pReader;
ELFIO::GetInstance()->CreateELFI( &pReader );
// Initialize it
char* filename = argv[1];
pReader->Load( filename );
// Get .text relocation entry
// List all sections of the fi... | [
"github@meklort.com"
] | github@meklort.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.