hexsha stringlengths 40 40 | size int64 7 1.05M | ext stringclasses 13
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 4 269 | max_stars_repo_name stringlengths 5 109 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 9 | max_stars_count int64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringlengths 24 24 ⌀ | max_stars_repo_stars_event_max_datetime stringlengths 24 24 ⌀ | max_issues_repo_path stringlengths 4 269 | max_issues_repo_name stringlengths 5 116 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 9 | max_issues_count int64 1 48.5k ⌀ | max_issues_repo_issues_event_min_datetime stringlengths 24 24 ⌀ | max_issues_repo_issues_event_max_datetime stringlengths 24 24 ⌀ | max_forks_repo_path stringlengths 4 269 | max_forks_repo_name stringlengths 5 116 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 9 | max_forks_count int64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 7 1.05M | avg_line_length float64 1.21 330k | max_line_length int64 6 990k | alphanum_fraction float64 0.01 0.99 | author_id stringlengths 2 40 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
edfaa7c4fbb504a06de9759704fd248eb3f5b0a1 | 1,503 | cpp | C++ | 10. Circular Queue/Circular Queue (Linked Lists)/Enqueue.cpp | IjlalAhmad845/DSA-Programs | 0d6c585e40a8d8e55f5e4a42727efd68026151c9 | [
"MIT"
] | 8 | 2021-10-02T16:44:39.000Z | 2022-03-13T18:32:07.000Z | 10. Circular Queue/Circular Queue (Linked Lists)/Enqueue.cpp | IjlalAhmad845/DSA-Programs | 0d6c585e40a8d8e55f5e4a42727efd68026151c9 | [
"MIT"
] | null | null | null | 10. Circular Queue/Circular Queue (Linked Lists)/Enqueue.cpp | IjlalAhmad845/DSA-Programs | 0d6c585e40a8d8e55f5e4a42727efd68026151c9 | [
"MIT"
] | 1 | 2021-10-05T14:14:25.000Z | 2021-10-05T14:14:25.000Z | #include <iostream>
using namespace std;
struct node
{
int data;
node *next;
};
//function to display whole queue
int display(node *front)
{
int size = 0;
cout << endl
<< "Circular Queue->";
node *ptr = new node;
ptr = front;
//condition for empty circular queue
if (ptr->nex... | 18.555556 | 86 | 0.528277 | IjlalAhmad845 |
edfb85de04cf7bfcbe524bc80ce2108a382c2a14 | 6,426 | hpp | C++ | src/common.hpp | xevolver/xevxml | 267e35898203d53b495c70956ac58396fd5e3edc | [
"Unlicense"
] | 3 | 2016-12-06T13:49:26.000Z | 2020-01-30T05:44:33.000Z | src/common.hpp | xevolver/xevxml | 267e35898203d53b495c70956ac58396fd5e3edc | [
"Unlicense"
] | null | null | null | src/common.hpp | xevolver/xevxml | 267e35898203d53b495c70956ac58396fd5e3edc | [
"Unlicense"
] | null | null | null | /**
* \license This project is released under the BSD 2-clause license
*
* Copyright (C) 2010-2015 Hiroyuki TAKIZAWA. 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... | 42.276316 | 88 | 0.485528 | xevolver |
edfdfdba799381ecfa6b142c31ff78d113f45f19 | 11,455 | cpp | C++ | src/Writers/WolvenKitWriter.cpp | rfuzzo/RED4.RTTIDumper | 749b02ca74bb8e8bbdf0cf36c4d33733f63689da | [
"MIT"
] | 1 | 2021-03-13T13:36:59.000Z | 2021-03-13T13:36:59.000Z | src/Writers/WolvenKitWriter.cpp | rfuzzo/RED4.RTTIDumper | 749b02ca74bb8e8bbdf0cf36c4d33733f63689da | [
"MIT"
] | null | null | null | src/Writers/WolvenKitWriter.cpp | rfuzzo/RED4.RTTIDumper | 749b02ca74bb8e8bbdf0cf36c4d33733f63689da | [
"MIT"
] | null | null | null | #include "stdafx.hpp"
#include "WolvenKitWriter.hpp"
#include "Utils.hpp"
WolvenKitWriter::WolvenKitWriter(const std::filesystem::path& aRootDir)
: m_dir(aRootDir / L"csharp")
{
if (!std::filesystem::exists(m_dir))
{
std::filesystem::create_directories(m_dir);
}
// WolvenKit has custom nam... | 27.939024 | 116 | 0.637713 | rfuzzo |
edfe4ceb660c56a234092658abbc5bab30262a2c | 1,693 | cpp | C++ | src/item.cpp | theSpool/samp-streamer-plugin | 02f4b15318471f57061349aebbc63a13eb72e1e9 | [
"Apache-2.0"
] | 203 | 2015-01-04T09:35:46.000Z | 2022-03-26T16:42:02.000Z | src/item.cpp | vsergeenko777/samp-streamer-plugin-1 | 3bd9c69da10bd1b53e1d863717057ea5b799231f | [
"Apache-2.0"
] | 374 | 2015-01-01T13:24:04.000Z | 2022-03-22T23:31:59.000Z | src/item.cpp | vsergeenko777/samp-streamer-plugin-1 | 3bd9c69da10bd1b53e1d863717057ea5b799231f | [
"Apache-2.0"
] | 169 | 2015-01-04T09:35:50.000Z | 2022-03-13T17:08:48.000Z | /*
* Copyright (C) 2017 Incognito
*
* 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... | 36.804348 | 75 | 0.71707 | theSpool |
61001e09cbeef9c08137e2b01422db33a0aa7a60 | 970 | hpp | C++ | src/include/StackAllocator.hpp | jmher019/GameEngine-Allocation | c1fa410156652760f92fd73792516ebb4086ae2c | [
"MIT"
] | null | null | null | src/include/StackAllocator.hpp | jmher019/GameEngine-Allocation | c1fa410156652760f92fd73792516ebb4086ae2c | [
"MIT"
] | null | null | null | src/include/StackAllocator.hpp | jmher019/GameEngine-Allocation | c1fa410156652760f92fd73792516ebb4086ae2c | [
"MIT"
] | null | null | null | #ifndef PUGGO_STACK_ALLOCATOR_HPP
#define PUGGO_STACK_ALLOCATOR_HPP
#include <iostream>
#include <Allocator.hpp>
using namespace std;
namespace puggo {
class StackAllocator : public Allocator {
public:
StackAllocator(size_t size, void* start);
StackAllocator(const StackAllocator&) = delete;
... | 22.55814 | 103 | 0.665979 | jmher019 |
6100d09a1cf16cbfbeaccc96a437679783237c53 | 9,470 | inl | C++ | arm_compute/core/Window.inl | Ehsan-aghapour/AI-Sheduling-Reprodution | 657dfa7c875445ab275c8a4418bbf29ed4d94891 | [
"MIT"
] | 2,313 | 2017-03-24T16:25:28.000Z | 2022-03-31T03:00:30.000Z | arm_compute/core/Window.inl | Ehsan-aghapour/AI-Sheduling-Reprodution | 657dfa7c875445ab275c8a4418bbf29ed4d94891 | [
"MIT"
] | 952 | 2017-03-28T07:05:58.000Z | 2022-03-30T09:54:02.000Z | arm_compute/core/Window.inl | Ehsan-aghapour/AI-Sheduling-Reprodution | 657dfa7c875445ab275c8a4418bbf29ed4d94891 | [
"MIT"
] | 714 | 2017-03-24T22:21:51.000Z | 2022-03-18T19:49:57.000Z | /*
* Copyright (c) 2016-2020 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* deal in the Software without restriction, including without limitation the
* ri... | 30.647249 | 119 | 0.635269 | Ehsan-aghapour |
6100f688c573282d5d8e5f27332fb007cef32ca6 | 48,908 | hpp | C++ | Source/ThirdParty/jsoncons/include/jsoncons/staj_cursor.hpp | peetonn/ROSBridge2Unreal | 6c8b4d70f3c6c884c33cf6da6ada7c39c644f59a | [
"BSD-3-Clause"
] | 6 | 2020-06-05T12:46:06.000Z | 2022-03-21T00:00:50.000Z | include/jsoncons/staj_cursor.hpp | fereenwong/jcat | ba8862c8d6d9ce76049a984bbb1ae38fbf687c63 | [
"BSL-1.0"
] | 3 | 2017-08-14T21:41:32.000Z | 2020-08-21T08:21:14.000Z | include/jsoncons/staj_cursor.hpp | fereenwong/jcat | ba8862c8d6d9ce76049a984bbb1ae38fbf687c63 | [
"BSL-1.0"
] | 8 | 2015-09-28T08:25:34.000Z | 2020-04-01T12:25:15.000Z | // Copyright 2018 Daniel Parker
// Distributed under the Boost license, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
// See https://github.com/danielaparker/jsoncons for latest version
#ifndef JSONCONS_STAJ_READER_HPP
#define JSONCONS_STAJ_READER_HPP
#includ... | 33.338787 | 131 | 0.557046 | peetonn |
6106c9f8ece031b4e56c616dbc1af099c20d958c | 1,380 | cpp | C++ | Practice/2018/2018.12.24/ATC17F.cpp | SYCstudio/OI | 6e9bfc17dbd4b43467af9b19aa2aed41e28972fa | [
"MIT"
] | 4 | 2017-10-31T14:25:18.000Z | 2018-06-10T16:10:17.000Z | Practice/2018/2018.12.24/ATC17F.cpp | SYCstudio/OI | 6e9bfc17dbd4b43467af9b19aa2aed41e28972fa | [
"MIT"
] | null | null | null | Practice/2018/2018.12.24/ATC17F.cpp | SYCstudio/OI | 6e9bfc17dbd4b43467af9b19aa2aed41e28972fa | [
"MIT"
] | null | null | null | #include<iostream>
#include<cstdio>
#include<cstdlib>
#include<cstring>
#include<algorithm>
using namespace std;
#define ll long long
#define mem(Arr,x) memset(Arr,x,sizeof(Arr))
const int maxN=320;
const int Mod=1e9+7;
const int inf=2147483647;
int n,D[maxN];
int F[maxN][maxN][2];
int Fac[maxN],Ifc[maxN];
int QPow... | 26.538462 | 107 | 0.553623 | SYCstudio |
610a5d2a6a464531bf29ee43ecb51bf3bbde3636 | 144 | hpp | C++ | include/lava/core/interpolation-ease.hpp | Breush/lava | 1b1b1f0785300b93b4a9f35fca4490502fea6552 | [
"MIT"
] | 15 | 2018-02-26T08:20:03.000Z | 2022-03-06T03:25:46.000Z | include/lava/core/interpolation-ease.hpp | Breush/lava | 1b1b1f0785300b93b4a9f35fca4490502fea6552 | [
"MIT"
] | 32 | 2018-02-26T08:26:38.000Z | 2020-09-12T17:09:38.000Z | include/lava/core/interpolation-ease.hpp | Breush/lava | 1b1b1f0785300b93b4a9f35fca4490502fea6552 | [
"MIT"
] | null | null | null | #pragma once
namespace lava {
enum class InterpolationEase {
None, // t
In, // t²
Out, // 1 - (1 - t)²
};
}
| 14.4 | 34 | 0.451389 | Breush |
610b0f77727b6019a5b4cb1b3ed1afe629486a02 | 1,031 | cpp | C++ | leetcode/993-cousins-in-binary-tree.cpp | vsmolyakov/competitive_programming | ec7891eee86b5d051bcb4d9eff056d4cafab668e | [
"MIT"
] | 1 | 2020-04-21T05:12:34.000Z | 2020-04-21T05:12:34.000Z | leetcode/993-cousins-in-binary-tree.cpp | rossanag/competitive_programming | 5d1bd3d00f2fa8589bdbeee07abeacceb693e930 | [
"MIT"
] | null | null | null | leetcode/993-cousins-in-binary-tree.cpp | rossanag/competitive_programming | 5d1bd3d00f2fa8589bdbeee07abeacceb693e930 | [
"MIT"
] | 2 | 2019-08-13T21:27:05.000Z | 2019-12-30T02:32:09.000Z | /**
* 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:
bool isCousins(TreeNode* root, int x, int y) {
node_depth(root, x, 0, roo... | 25.146341 | 62 | 0.506305 | vsmolyakov |
610bd43eefab02be782b351766174f4c9740c254 | 47,402 | cpp | C++ | tools/IYFEditor/src/assetImport/converters/MeshConverter.cpp | manvis/IYFEngine | 741a8d0dcc9b3e3ff8a8adb92850633523516604 | [
"BSD-3-Clause"
] | 5 | 2018-07-03T17:05:43.000Z | 2020-02-03T00:23:46.000Z | tools/IYFEditor/src/assetImport/converters/MeshConverter.cpp | manvis/IYFEngine | 741a8d0dcc9b3e3ff8a8adb92850633523516604 | [
"BSD-3-Clause"
] | null | null | null | tools/IYFEditor/src/assetImport/converters/MeshConverter.cpp | manvis/IYFEngine | 741a8d0dcc9b3e3ff8a8adb92850633523516604 | [
"BSD-3-Clause"
] | null | null | null | // The IYFEngine
//
// Copyright (C) 2015-2018, Manvydas Šliamka
//
// Redistribution and use in source and binary forms, with or without modification, are
// permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the above copyright notice, this list of
// condi... | 48.567623 | 327 | 0.584701 | manvis |
610d5c8717a855e19f7089ec60d2cb013ff34e08 | 790 | cpp | C++ | aoj/aoj_0105.cpp | Doarakko/competitive-programming | 5ae78c501664af08a3f16c81dbd54c68310adec8 | [
"MIT"
] | 1 | 2017-07-11T16:47:29.000Z | 2017-07-11T16:47:29.000Z | aoj/aoj_0105.cpp | Doarakko/Competitive-Programming | 10642a4bd7266c828dd2fc6e311284e86bdf2968 | [
"MIT"
] | 1 | 2021-02-07T09:10:26.000Z | 2021-02-07T09:10:26.000Z | aoj/aoj_0105.cpp | Doarakko/Competitive-Programming | 10642a4bd7266c828dd2fc6e311284e86bdf2968 | [
"MIT"
] | null | null | null | #include <iostream>
#include <vector>
#include <map>
#include <algorithm>
using namespace std;
int main(){
int n;
string s;
// string = 語句
// vector<int> = ページ番号
map <string, vector<int>> list;
map <string, vector<int>> :: iterator it;
//入力
while(cin >> s){
cin >> n;
... | 21.351351 | 55 | 0.436709 | Doarakko |
610ef72729df8092234c7d9563f5e61acd9f35e4 | 3,051 | cpp | C++ | test/AnalysisCircularDependencies.cpp | emocanu/cpp-dependencies | 94344a3947982d1d067f13a03f7f613b38c30c9b | [
"Apache-2.0"
] | 737 | 2016-08-01T11:52:51.000Z | 2022-03-30T14:44:41.000Z | test/AnalysisCircularDependencies.cpp | emocanu/cpp-dependencies | 94344a3947982d1d067f13a03f7f613b38c30c9b | [
"Apache-2.0"
] | 47 | 2016-08-01T12:21:42.000Z | 2021-11-01T08:40:04.000Z | test/AnalysisCircularDependencies.cpp | emocanu/cpp-dependencies | 94344a3947982d1d067f13a03f7f613b38c30c9b | [
"Apache-2.0"
] | 83 | 2016-08-07T10:48:52.000Z | 2022-01-19T12:22:57.000Z | #include "test.h"
#include "Analysis.h"
TEST(FindCircularDependenciesFindsNothingInADisconnectedGraph) {
std::unordered_map<std::string, Component *> components;
for (int n = 0; n < 10; n++) {
char compName[12];
sprintf(compName, "%d", n);
components[compName] = new Component(compName);
}
FindCir... | 30.818182 | 72 | 0.6647 | emocanu |
610f43d4f8a623da9d2e177d2d0332fb54f4e24d | 3,906 | hpp | C++ | src/bitmaps/brick1.hpp | CircuitMess/CastleJump-ByteBoi | f7e0b2a7687aa83a637330a9c0191b7c27c18824 | [
"MIT"
] | null | null | null | src/bitmaps/brick1.hpp | CircuitMess/CastleJump-ByteBoi | f7e0b2a7687aa83a637330a9c0191b7c27c18824 | [
"MIT"
] | null | null | null | src/bitmaps/brick1.hpp | CircuitMess/CastleJump-ByteBoi | f7e0b2a7687aa83a637330a9c0191b7c27c18824 | [
"MIT"
] | null | null | null | // Generated by : ImageConverter 565 v2.2
// Generated from: cigle1.png
// Time generated: 30/06/2021 10:17:57
// Dimensions : 20x20 pixels
// Size : 800 Bytes
#ifndef PROGMEM
#define PROGMEM
#endif
const unsigned short cigle1[0x190] PROGMEM ={
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x000... | 105.567568 | 145 | 0.71659 | CircuitMess |
61134452500042b1d04d996612735519182c6510 | 6,481 | cpp | C++ | src/shared/Database/SqlOperations.cpp | muscnx/Mangos021SD2 | 695bb6a4822bb9173ab8e9077cb6259869ca2f32 | [
"PostgreSQL",
"Zlib",
"OpenSSL"
] | null | null | null | src/shared/Database/SqlOperations.cpp | muscnx/Mangos021SD2 | 695bb6a4822bb9173ab8e9077cb6259869ca2f32 | [
"PostgreSQL",
"Zlib",
"OpenSSL"
] | null | null | null | src/shared/Database/SqlOperations.cpp | muscnx/Mangos021SD2 | 695bb6a4822bb9173ab8e9077cb6259869ca2f32 | [
"PostgreSQL",
"Zlib",
"OpenSSL"
] | null | null | null | /**
* MaNGOS is a full featured server for World of Warcraft, supporting
* the following clients: 1.12.x, 2.4.3, 3.3.5a, 4.3.4a and 5.4.8
*
* Copyright (C) 2005-2015 MaNGOS project <http://getmangos.eu>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Gene... | 27.578723 | 130 | 0.645888 | muscnx |
6114b44898b8dc7ac33f10050e6eda8bf29f8c32 | 14,232 | cxx | C++ | Utilities/Xdmf2/libsrc/XdmfValuesBinary.cxx | matthb2/ParaView-beforekitwareswtichedtogit | e47e57d6ce88444d9e6af9ab29f9db8c23d24cef | [
"BSD-3-Clause"
] | 1 | 2021-07-31T19:38:03.000Z | 2021-07-31T19:38:03.000Z | Utilities/Xdmf2/libsrc/XdmfValuesBinary.cxx | matthb2/ParaView-beforekitwareswtichedtogit | e47e57d6ce88444d9e6af9ab29f9db8c23d24cef | [
"BSD-3-Clause"
] | null | null | null | Utilities/Xdmf2/libsrc/XdmfValuesBinary.cxx | matthb2/ParaView-beforekitwareswtichedtogit | e47e57d6ce88444d9e6af9ab29f9db8c23d24cef | [
"BSD-3-Clause"
] | 2 | 2019-01-22T19:51:40.000Z | 2021-07-31T19:38:05.000Z | /*******************************************************************/
/* XDMF */
/* eXtensible Data Model and Format */
/* */
/* Id : $Id$ */
/* Date : $Date$ */
/... | 33.020882 | 154 | 0.537943 | matthb2 |
61157b57a8c7692575fcfd185b519a2163083184 | 8,061 | cpp | C++ | src/task6_bezier_surface/task6_bezier_surface.cpp | EdvinM/OpenGL-3D-Pong | 34e561bcb0cbc50555addf71736e063e8ca52e68 | [
"MIT"
] | null | null | null | src/task6_bezier_surface/task6_bezier_surface.cpp | EdvinM/OpenGL-3D-Pong | 34e561bcb0cbc50555addf71736e063e8ca52e68 | [
"MIT"
] | null | null | null | src/task6_bezier_surface/task6_bezier_surface.cpp | EdvinM/OpenGL-3D-Pong | 34e561bcb0cbc50555addf71736e063e8ca52e68 | [
"MIT"
] | null | null | null | // Task 6 - Generate a Bezier surface of variable density with UV coordinates.
// - Confine the Bezier data and associated methods into a reusable class.
// - Define a modelMatrix that uses position, rotation and scale.
// - Render the generated mesh with texturing applied.
// - Animate rota... | 30.767176 | 112 | 0.640243 | EdvinM |
6118aa140c54799b9a50bdff43104cc9d2a25dce | 19,670 | cc | C++ | thirdparty/aria2/src/download_helper.cc | deltegic/deltegic | 9b4f3a505a6842db52efbe850150afbab3af5e2f | [
"BSD-3-Clause"
] | null | null | null | thirdparty/aria2/src/download_helper.cc | deltegic/deltegic | 9b4f3a505a6842db52efbe850150afbab3af5e2f | [
"BSD-3-Clause"
] | 2 | 2021-04-08T08:46:23.000Z | 2021-04-08T08:57:58.000Z | thirdparty/aria2/src/download_helper.cc | deltegic/deltegic | 9b4f3a505a6842db52efbe850150afbab3af5e2f | [
"BSD-3-Clause"
] | null | null | null | /* <!-- copyright */
/*
* aria2 - The high speed download utility
*
* Copyright (C) 2006 Tatsuhiro Tsujikawa
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the Lice... | 32.620232 | 80 | 0.670005 | deltegic |
611c3418bca44f95f0d2058a6be4ddf8e6defec1 | 10,495 | cpp | C++ | src/rviz/default_plugin/covariance_property.cpp | yinzixuan126/rviz | c228cf5e03ef44c7581f449a34845722fe10f9a3 | [
"MIT"
] | 2 | 2021-07-14T12:33:55.000Z | 2021-11-21T07:14:13.000Z | melodic/src/rviz/src/rviz/default_plugin/covariance_property.cpp | disorn-inc/ROS-melodic-python3-Opencv-4.1.1-CUDA | 3d265bb64712e3cd7dfa0ad56d78fcdebafdb4b0 | [
"BSD-3-Clause"
] | null | null | null | melodic/src/rviz/src/rviz/default_plugin/covariance_property.cpp | disorn-inc/ROS-melodic-python3-Opencv-4.1.1-CUDA | 3d265bb64712e3cd7dfa0ad56d78fcdebafdb4b0 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (c) 2017, Ellon Paiva Mendes @ LAAS-CNRS
* 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... | 43.1893 | 220 | 0.695283 | yinzixuan126 |
612633a19cd8f2f724b186bec1765aa3af81f103 | 1,636 | cpp | C++ | SECOND_LEVEL/1035.cpp | BLUECARVIN/PAT | e8519552ce2c398b5e8bb84cd709c2a271363d29 | [
"MIT"
] | null | null | null | SECOND_LEVEL/1035.cpp | BLUECARVIN/PAT | e8519552ce2c398b5e8bb84cd709c2a271363d29 | [
"MIT"
] | null | null | null | SECOND_LEVEL/1035.cpp | BLUECARVIN/PAT | e8519552ce2c398b5e8bb84cd709c2a271363d29 | [
"MIT"
] | null | null | null | #include <iostream>
#include <cstdio>
#include <cstring>
#include <vector>
using namespace std;
struct Node
{
char id[1010];
char password[1010];
};
int main()
{
int num;
scanf("%d", &num);
vector<Node> A;
while(num--)
{
Node temp;
scanf("%s %s", &temp.id, &temp.password);... | 20.974359 | 69 | 0.379584 | BLUECARVIN |
612a481504a6587b7c2ae9e189d208655d60bbc8 | 4,823 | cpp | C++ | test/assume_tests.cpp | srz-zumix/iutest | 53cba19a2ae6cffa6376b54b3f7292e8ca9d9866 | [
"BSD-3-Clause"
] | 58 | 2015-07-20T04:30:18.000Z | 2021-12-28T17:18:00.000Z | test/assume_tests.cpp | srz-zumix/iutest | 53cba19a2ae6cffa6376b54b3f7292e8ca9d9866 | [
"BSD-3-Clause"
] | 467 | 2015-05-07T10:42:47.000Z | 2022-03-26T04:01:00.000Z | test/assume_tests.cpp | srz-zumix/iutest | 53cba19a2ae6cffa6376b54b3f7292e8ca9d9866 | [
"BSD-3-Clause"
] | 13 | 2015-10-05T08:30:27.000Z | 2021-04-30T18:56:03.000Z | //======================================================================
//-----------------------------------------------------------------------
/**
* @file assume_tests.cpp
* @brief iutest assume test
*
* @author t.shirayanagi
* @par copyright
* Copyright (C) 2013-2021, Takazumi Shir... | 27.56 | 127 | 0.671781 | srz-zumix |
612c1f8d7b794edf9b2e3a15ae4fc8bed65484e2 | 2,055 | hpp | C++ | include/puffinn/typedefs.hpp | Cecca/puffinn | c613cd2e82ae334b5553099496d075cc16796fbe | [
"MIT"
] | null | null | null | include/puffinn/typedefs.hpp | Cecca/puffinn | c613cd2e82ae334b5553099496d075cc16796fbe | [
"MIT"
] | 3 | 2022-03-18T06:49:59.000Z | 2022-03-28T05:10:10.000Z | include/puffinn/typedefs.hpp | Cecca/puffinn | c613cd2e82ae334b5553099496d075cc16796fbe | [
"MIT"
] | null | null | null | #pragma once
#include <chrono>
#include <cstdint>
#include <random>
namespace puffinn {
// Number of bits used in filtering sketches.
const static unsigned int NUM_FILTER_HASHBITS = 64;
using FilterLshDatatype = uint64_t;
// Number of bits used in hashes.
const static unsigned int MAX_HASHBITS = ... | 34.25 | 105 | 0.650122 | Cecca |
612cc30ad0276341d7a40fc9fd3c0991629ccbe3 | 2,151 | cpp | C++ | src/lib/sql/sql_pipeline_builder.cpp | youri-k/hyrise | cafd12ed3dc9da425b0139ad68d95a86cd9fc91c | [
"MIT"
] | null | null | null | src/lib/sql/sql_pipeline_builder.cpp | youri-k/hyrise | cafd12ed3dc9da425b0139ad68d95a86cd9fc91c | [
"MIT"
] | null | null | null | src/lib/sql/sql_pipeline_builder.cpp | youri-k/hyrise | cafd12ed3dc9da425b0139ad68d95a86cd9fc91c | [
"MIT"
] | null | null | null | #include "sql_pipeline_builder.hpp"
#include "hyrise.hpp"
#include "utils/tracing/probes.hpp"
namespace opossum {
SQLPipelineBuilder::SQLPipelineBuilder(const std::string& sql)
: _sql(sql), _pqp_cache(Hyrise::get().default_pqp_cache), _lqp_cache(Hyrise::get().default_lqp_cache) {}
SQLPipelineBuilder& SQLPipeline... | 35.85 | 117 | 0.7894 | youri-k |
9ecec8d34505e84b3b099de61503e4ad6788d946 | 13,468 | cpp | C++ | src/PDE/CompFlow/Problem/RayleighTaylor.cpp | franjgonzalez/Quinoa | 411eb8815e92618c563881b784e287e2dd916f89 | [
"RSA-MD"
] | null | null | null | src/PDE/CompFlow/Problem/RayleighTaylor.cpp | franjgonzalez/Quinoa | 411eb8815e92618c563881b784e287e2dd916f89 | [
"RSA-MD"
] | null | null | null | src/PDE/CompFlow/Problem/RayleighTaylor.cpp | franjgonzalez/Quinoa | 411eb8815e92618c563881b784e287e2dd916f89 | [
"RSA-MD"
] | null | null | null | // *****************************************************************************
/*!
\file src/PDE/CompFlow/Problem/RayleighTaylor.cpp
\copyright 2012-2015 J. Bakosi,
2016-2018 Los Alamos National Security, LLC.,
2019 Triad National Security, LLC.
All rights reserved. See... | 41.44 | 80 | 0.542917 | franjgonzalez |
9ed13385561edb9039ca902e715975f2ff82ece3 | 22,851 | cpp | C++ | src/trunk/libs/seiscomp3/datamodel/arrival.cpp | alomax/seiscomp3 | 0726131d1a0f2cb5f98ddc4633385182913e0708 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 1 | 2021-08-04T00:20:17.000Z | 2021-08-04T00:20:17.000Z | src/trunk/libs/seiscomp3/datamodel/arrival.cpp | alomax/seiscomp3 | 0726131d1a0f2cb5f98ddc4633385182913e0708 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | src/trunk/libs/seiscomp3/datamodel/arrival.cpp | alomax/seiscomp3 | 0726131d1a0f2cb5f98ddc4633385182913e0708 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | 1 | 2022-01-13T02:49:31.000Z | 2022-01-13T02:49:31.000Z | /***************************************************************************
* Copyright (C) by GFZ Potsdam *
* *
* You can redistribute and/or modify this program under the *
* terms o... | 33.262009 | 200 | 0.440506 | alomax |
9ed2301e3351a76618dadfa6ff549d65a6ef0d66 | 10,031 | cpp | C++ | lib/slikenet/Samples/Tests/ManyClientsOneServerBlockingTest.cpp | TRUEPADDii/GothicMultiplayerLauncher | 1ae083a62c083fc99bb9b1358a223ae02174af3f | [
"WTFPL"
] | 2 | 2018-03-31T12:55:32.000Z | 2018-04-01T12:04:56.000Z | lib/slikenet/Samples/Tests/ManyClientsOneServerBlockingTest.cpp | TRUEPADDii/GothicMultiplayerLauncher | 1ae083a62c083fc99bb9b1358a223ae02174af3f | [
"WTFPL"
] | 4 | 2018-04-10T23:28:47.000Z | 2021-05-16T20:35:21.000Z | lib/slikenet/Samples/Tests/ManyClientsOneServerBlockingTest.cpp | TRUEPADDii/GothicMultiplayerLauncher | 1ae083a62c083fc99bb9b1358a223ae02174af3f | [
"WTFPL"
] | 3 | 2019-02-13T15:10:03.000Z | 2021-07-12T19:24:07.000Z | /*
* Copyright (c) 2014, Oculus VR, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* RakNet License.txt file in the licenses directory of this source tree. An additional grant
* of patent rights can be found in the RakNet Patents.txt file in the same di... | 23.602353 | 157 | 0.708703 | TRUEPADDii |
9ed5d6c9f029cb067f11346ccf91739a6955e6ca | 24,665 | cpp | C++ | src/impl/CommonDataSubscriberRGB.cpp | threeal/rtabmap_ros | c1ec0939599d6d95b3c4f943c425321db1ea6e64 | [
"BSD-3-Clause"
] | null | null | null | src/impl/CommonDataSubscriberRGB.cpp | threeal/rtabmap_ros | c1ec0939599d6d95b3c4f943c425321db1ea6e64 | [
"BSD-3-Clause"
] | null | null | null | src/impl/CommonDataSubscriberRGB.cpp | threeal/rtabmap_ros | c1ec0939599d6d95b3c4f943c425321db1ea6e64 | [
"BSD-3-Clause"
] | null | null | null | /*
Copyright (c) 2010-2016, Mathieu Labbe - IntRoLab - Universite de Sherbrooke
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
... | 46.802657 | 158 | 0.787472 | threeal |
9ed649babff3e921355c8c73b4e399857c133046 | 2,800 | cpp | C++ | YorozuyaGSLib/source/_PVP_RANK_REFRESH_USERDetail.cpp | lemkova/Yorozuya | f445d800078d9aba5de28f122cedfa03f26a38e4 | [
"MIT"
] | 29 | 2017-07-01T23:08:31.000Z | 2022-02-19T10:22:45.000Z | YorozuyaGSLib/source/_PVP_RANK_REFRESH_USERDetail.cpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 90 | 2017-10-18T21:24:51.000Z | 2019-06-06T02:30:33.000Z | YorozuyaGSLib/source/_PVP_RANK_REFRESH_USERDetail.cpp | kotopes/Yorozuya | 605c97d3a627a8f6545cc09f2a1b0a8afdedd33a | [
"MIT"
] | 44 | 2017-12-19T08:02:59.000Z | 2022-02-24T23:15:01.000Z | #include <_PVP_RANK_REFRESH_USERDetail.hpp>
#include <common/ATFCore.hpp>
START_ATF_NAMESPACE
namespace Detail
{
Info::_PVP_RANK_REFRESH_USERInit2_ptr _PVP_RANK_REFRESH_USERInit2_next(nullptr);
Info::_PVP_RANK_REFRESH_USERInit2_clbk _PVP_RANK_REFRESH_USERInit2_user(nullptr);
I... | 50 | 139 | 0.698571 | lemkova |
9ed707bb5b38b49cb9a911bc8ab5ab99cfc9004b | 5,436 | cpp | C++ | unittests/BinaryFormat/TestFileMagic.cpp | ssahasra/llvm-roc | 2202c6c408395679e92813bbfcc3690d37ba4810 | [
"Apache-2.0"
] | 15 | 2019-08-05T01:24:20.000Z | 2022-01-12T08:19:55.000Z | unittests/BinaryFormat/TestFileMagic.cpp | ssahasra/llvm-roc | 2202c6c408395679e92813bbfcc3690d37ba4810 | [
"Apache-2.0"
] | 3 | 2019-05-28T16:42:25.000Z | 2019-06-07T02:12:24.000Z | unittests/BinaryFormat/TestFileMagic.cpp | ssahasra/llvm-roc | 2202c6c408395679e92813bbfcc3690d37ba4810 | [
"Apache-2.0"
] | 9 | 2019-09-24T06:26:58.000Z | 2021-11-22T08:54:00.000Z | //===- llvm/unittest/BinaryFormat/TestFileMagic.cpp - File magic tests ----===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | 40.266667 | 80 | 0.596946 | ssahasra |
9ed805fede1e2f8bb24e77efe8f864d035dc7ffe | 8,602 | cpp | C++ | src/lib/navigation/completer/locationcompleterview.cpp | sys9kdr/QupZilla | 1d7916e455e14fadd03ab430eec7cdf4eef65ece | [
"BSD-3-Clause"
] | 1 | 2015-11-03T03:24:41.000Z | 2015-11-03T03:24:41.000Z | src/lib/navigation/completer/locationcompleterview.cpp | sys9kdr/QupZilla | 1d7916e455e14fadd03ab430eec7cdf4eef65ece | [
"BSD-3-Clause"
] | null | null | null | src/lib/navigation/completer/locationcompleterview.cpp | sys9kdr/QupZilla | 1d7916e455e14fadd03ab430eec7cdf4eef65ece | [
"BSD-3-Clause"
] | null | null | null | /* ============================================================
* QupZilla - WebKit based browser
* Copyright (C) 2010-2012 David Rosca <nowrep@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software ... | 30.182456 | 120 | 0.580679 | sys9kdr |
9ed949babe972c2fe471e576fdbf45821be1f550 | 16,465 | cpp | C++ | src/ErriezLKM1638Board.cpp | Erriez/ArduinoLibraryLKM1638 | 348fe278f4a78f300cfad96777ed481c047cc040 | [
"MIT"
] | 2 | 2018-07-16T06:48:08.000Z | 2019-05-20T11:16:56.000Z | src/ErriezLKM1638Board.cpp | Erriez/ArduinoLibraryLKM1638 | 348fe278f4a78f300cfad96777ed481c047cc040 | [
"MIT"
] | null | null | null | src/ErriezLKM1638Board.cpp | Erriez/ArduinoLibraryLKM1638 | 348fe278f4a78f300cfad96777ed481c047cc040 | [
"MIT"
] | 4 | 2018-07-14T16:46:51.000Z | 2021-06-18T23:12:36.000Z | /*
* MIT License
*
* Copyright (c) 2020 Erriez
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, m... | 26.428571 | 93 | 0.536532 | Erriez |
9edae9cb07d43e8caba14f5c63008e742316d3cf | 1,431 | cpp | C++ | MFMediaPropDump/SourceResolver.cpp | amate/MFVideoReader | e766d018b6a738df200f0f7c36b78833b1dcd924 | [
"MIT"
] | 13 | 2020-02-25T10:07:22.000Z | 2021-12-11T18:49:08.000Z | MFMediaPropDump/SourceResolver.cpp | amate/MFVideoReader | e766d018b6a738df200f0f7c36b78833b1dcd924 | [
"MIT"
] | null | null | null | MFMediaPropDump/SourceResolver.cpp | amate/MFVideoReader | e766d018b6a738df200f0f7c36b78833b1dcd924 | [
"MIT"
] | 3 | 2020-02-25T22:02:00.000Z | 2022-03-01T08:07:07.000Z | // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//
// Copyright (c) Microsoft Corporation. All rights reserved
#include "stdafx.h"
#includ... | 27.519231 | 130 | 0.62963 | amate |
9edc4f6dd89231ed416b959e8629a1cff92f9042 | 18,746 | cpp | C++ | src/model/PhysicsCar.cpp | joelseverin/Johannebergsrallyt | 40932fe1b8bca88274d909bc2d5ee78d19560d10 | [
"MIT"
] | null | null | null | src/model/PhysicsCar.cpp | joelseverin/Johannebergsrallyt | 40932fe1b8bca88274d909bc2d5ee78d19560d10 | [
"MIT"
] | null | null | null | src/model/PhysicsCar.cpp | joelseverin/Johannebergsrallyt | 40932fe1b8bca88274d909bc2d5ee78d19560d10 | [
"MIT"
] | null | null | null | #include "model/PhysicsCar.h"
#include "model/PhysicsWorld.h"
#include <btBulletDynamicsCommon.h>
#include <sstream>
#include <iostream>
namespace Rally { namespace Model {
namespace {
const btVector3 CAR_DIMENSIONS(2.0f, 1.0f, 4.0f);
const float CAR_MASS = 800.0f;
const float MASS_OFFS... | 44.108235 | 139 | 0.665369 | joelseverin |
9edce769c8cf426a2a39c452bbc32d4bc5a8170e | 15,733 | cpp | C++ | VCECore/rgy_filter_mpdecimate.cpp | rigaya/VCEEnc | bc7f9a6217d846326f4bf6e1f9192fe4a58b46a2 | [
"BSD-2-Clause"
] | 83 | 2017-01-22T11:51:17.000Z | 2022-03-28T07:26:20.000Z | VCECore/rgy_filter_mpdecimate.cpp | rigaya/VCEEnc | bc7f9a6217d846326f4bf6e1f9192fe4a58b46a2 | [
"BSD-2-Clause"
] | 47 | 2017-02-08T19:09:51.000Z | 2022-03-29T10:50:54.000Z | VCECore/rgy_filter_mpdecimate.cpp | rigaya/VCEEnc | bc7f9a6217d846326f4bf6e1f9192fe4a58b46a2 | [
"BSD-2-Clause"
] | 23 | 2017-01-23T05:54:00.000Z | 2021-07-19T16:38:11.000Z | // -----------------------------------------------------------------------------------------
// NVEnc by rigaya
// -----------------------------------------------------------------------------------------
//
// The MIT License
//
// Copyright (c) 2014-2016 rigaya
//
// Permission is hereby granted, free of charge, to ... | 41.293963 | 227 | 0.62709 | rigaya |
9edec46d422f8479946cd6dc17e06b1119e7a256 | 3,239 | cpp | C++ | compiler/luci/service/src/Nodes/CircleConst.cpp | dev-hue/ONE | a4ca4318c1f9331a102a7ab8c544794a108cffbf | [
"Apache-2.0"
] | null | null | null | compiler/luci/service/src/Nodes/CircleConst.cpp | dev-hue/ONE | a4ca4318c1f9331a102a7ab8c544794a108cffbf | [
"Apache-2.0"
] | 1 | 2022-02-10T04:18:26.000Z | 2022-02-10T04:18:26.000Z | compiler/luci/service/src/Nodes/CircleConst.cpp | dev-hue/ONE | a4ca4318c1f9331a102a7ab8c544794a108cffbf | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (c) 2021 Samsung Electronics Co., Ltd. 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
*
* Unle... | 25.304688 | 75 | 0.66255 | dev-hue |
9ee3eb8736bd35e1fbf23f261f99b158bf9d7fc5 | 242 | cpp | C++ | Server/dep/g3dlite/G3D/constants.cpp | ZON3DEV/wow-vanilla | 7b6f03c3e1e7d8dd29a92ba77ed021e5913e5e9f | [
"OpenSSL"
] | 42 | 2015-01-05T10:00:07.000Z | 2022-02-18T14:51:33.000Z | Server/dep/g3dlite/G3D/constants.cpp | ZON3DEV/wow-vanilla | 7b6f03c3e1e7d8dd29a92ba77ed021e5913e5e9f | [
"OpenSSL"
] | 20 | 2017-04-10T18:41:58.000Z | 2017-04-10T19:01:12.000Z | Server/dep/g3dlite/G3D/constants.cpp | ZON3DEV/wow-vanilla | 7b6f03c3e1e7d8dd29a92ba77ed021e5913e5e9f | [
"OpenSSL"
] | 31 | 2015-01-09T02:04:29.000Z | 2021-09-01T13:20:20.000Z | /**
@file constants.cpp
@maintainer Morgan McGuire, http://graphics.cs.williams.edu
@created 2009-05-20
@edited 2010-01-29
*/
#include "G3D/constants.h"
#include "G3D/Any.h"
#include "G3D/stringutils.h"
namespace G3D {
} // G3D
| 14.235294 | 61 | 0.677686 | ZON3DEV |
9ee472284a1d55250d3c35373b4b3ac7b20c0423 | 1,872 | cpp | C++ | cwsdk/cube/Creature.cpp | Andoryuuta/cwsdk | a3672e9c9645e6a0de388e07483e4f8bf22eb7fb | [
"MIT"
] | 2 | 2019-07-08T13:55:13.000Z | 2021-05-06T23:35:46.000Z | cwsdk/cube/Creature.cpp | Andoryuuta/cwsdk | a3672e9c9645e6a0de388e07483e4f8bf22eb7fb | [
"MIT"
] | 4 | 2018-11-09T12:18:17.000Z | 2019-07-08T19:16:24.000Z | cwsdk/cube/Creature.cpp | Andoryuuta/cwsdk | a3672e9c9645e6a0de388e07483e4f8bf22eb7fb | [
"MIT"
] | 1 | 2019-07-07T10:05:56.000Z | 2019-07-07T10:05:56.000Z | #include "Creature.h"
#include <math.h>
#include <locale>
#include <codecvt>
#include <string>
#include "../msvc_bincompat.h"
#include "../cube_funcs.h"
namespace cube {
std::wstring Creature::GetName()
{
auto len = strnlen_s(this->entity_data.name, 16);
if (len == 0)
{
MSVCBinCompat::wstring compat;
i... | 27.130435 | 135 | 0.681624 | Andoryuuta |
9ee646fae9327ef0be33637d0113b939e642c621 | 1,242 | hpp | C++ | ZetaWatch/InvariantDisks/IDDiskArbitrationDispatcher.hpp | cbreak-black/ZetaWatch | 00c440388a923cf7e56206e16323651026a2aba7 | [
"BSD-3-Clause"
] | 111 | 2015-12-26T21:32:32.000Z | 2022-03-28T20:51:49.000Z | ZetaWatch/InvariantDisks/IDDiskArbitrationDispatcher.hpp | cbreak-black/ZetaWatch | 00c440388a923cf7e56206e16323651026a2aba7 | [
"BSD-3-Clause"
] | 22 | 2017-06-25T15:10:40.000Z | 2022-03-26T21:56:04.000Z | ZetaWatch/InvariantDisks/IDDiskArbitrationDispatcher.hpp | cbreak-black/ZetaWatch | 00c440388a923cf7e56206e16323651026a2aba7 | [
"BSD-3-Clause"
] | 10 | 2019-03-18T06:55:50.000Z | 2021-09-11T16:47:50.000Z | //
// IDDiskArbitrationDispatcher.hpp
// InvariantDisks
//
// Created by Gerhard Röthlin on 2014.04.27.
// Copyright (c) 2014 the-color-black.net. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are permitted
// provided that the conditions of the "3-Cla... | 22.178571 | 105 | 0.758454 | cbreak-black |
9ee6ecf1e3122ac3c94b392a0c7276c3738355d0 | 4,777 | cpp | C++ | examples/utils.cpp | lengyuner/hyperpose4fly | c9866bce1a0109e1b9c727ca550b5a380eb3ee17 | [
"Apache-2.0"
] | null | null | null | examples/utils.cpp | lengyuner/hyperpose4fly | c9866bce1a0109e1b9c727ca550b5a380eb3ee17 | [
"Apache-2.0"
] | null | null | null | examples/utils.cpp | lengyuner/hyperpose4fly | c9866bce1a0109e1b9c727ca550b5a380eb3ee17 | [
"Apache-2.0"
] | null | null | null | #include "utils.hpp"
#include <iostream>
#include <opencv2/imgcodecs.hpp>
#include <regex>
std::vector<std::string> split(const std::string& text, const char sep)
{
std::vector<std::string> lines;
std::string line;
std::istringstream ss(text);
while (std::getline(ss, line, sep))
lines.push_bac... | 28.434524 | 120 | 0.667155 | lengyuner |
9eed7a28f49d2fd438a4e0f7914b96a8f807cfa6 | 3,110 | cpp | C++ | UnRAR/unrarsrc-3.9.10/rs.cpp | iidioter/imovie | 5ac37d9aaa893c167f8acdf10b53d0384d8796dd | [
"Apache-2.0"
] | 8 | 2015-04-30T07:53:21.000Z | 2018-09-13T22:06:40.000Z | UnRAR/unrarsrc-3.9.10/rs.cpp | iidioter/imovie | 5ac37d9aaa893c167f8acdf10b53d0384d8796dd | [
"Apache-2.0"
] | 17 | 2015-01-05T21:06:22.000Z | 2015-12-07T20:45:44.000Z | UnRAR/unrarsrc-3.9.10/rs.cpp | iidioter/imovie | 5ac37d9aaa893c167f8acdf10b53d0384d8796dd | [
"Apache-2.0"
] | 3 | 2016-04-26T03:43:55.000Z | 2020-11-06T11:02:08.000Z | #include "rar.hpp"
#define Clean(D,S) {for (int I=0;I<(S);I++) (D)[I]=0;}
RSCoder::RSCoder(int ParSize)
{
RSCoder::ParSize=ParSize;
FirstBlockDone=false;
gfInit();
pnInit();
}
void RSCoder::gfInit()
{
for (int I=0,J=1;I<MAXPAR;I++)
{
gfLog[J]=I;
gfExp[I]=J;
if ((J<<=1)&256)
J^=285;
... | 21.597222 | 69 | 0.567524 | iidioter |
9eee70434ecb331312080eb2099c80c4abbc12ec | 2,381 | hpp | C++ | include/LIEF/errors.hpp | junghee/LIEF | de7492ee49ef813cd8db3a858892e4ed5a5638c5 | [
"Apache-2.0"
] | 2,999 | 2017-04-03T13:43:23.000Z | 2022-03-31T15:24:27.000Z | include/LIEF/errors.hpp | junghee/LIEF | de7492ee49ef813cd8db3a858892e4ed5a5638c5 | [
"Apache-2.0"
] | 626 | 2017-04-04T15:57:04.000Z | 2022-03-31T19:25:18.000Z | include/LIEF/errors.hpp | junghee/LIEF | de7492ee49ef813cd8db3a858892e4ed5a5638c5 | [
"Apache-2.0"
] | 498 | 2017-04-04T14:18:25.000Z | 2022-03-29T19:31:38.000Z | /* Copyright 2021 R. Thomas
* Copyright 2021 Quarkslab
*
* 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 appli... | 24.546392 | 104 | 0.724906 | junghee |
9eeed75e1a7d5848efaebf7fa3c96a1b8d0e26e7 | 1,059 | cpp | C++ | competitive programming/leetcode/2020-July-Challenge/Day-15-Reverse Words in a String.cpp | kashyap99saksham/Code | 96658d0920eb79c007701d2a3cc9dbf453d78f96 | [
"MIT"
] | 16 | 2020-06-02T19:22:45.000Z | 2022-02-05T10:35:28.000Z | competitive programming/leetcode/2020-July-Challenge/Day-15-Reverse Words in a String.cpp | codezoned/Code | de91ffc7ef06812a31464fb40358e2436734574c | [
"MIT"
] | null | null | null | competitive programming/leetcode/2020-July-Challenge/Day-15-Reverse Words in a String.cpp | codezoned/Code | de91ffc7ef06812a31464fb40358e2436734574c | [
"MIT"
] | 2 | 2020-08-27T17:40:06.000Z | 2022-02-05T10:33:52.000Z | Given an input string, reverse the string word by word.
Example 1:
Input: "the sky is blue"
Output: "blue is sky the"
Example 2:
Input: " hello world! "
Output: "world! hello"
Explanation: Your reversed string should not contain leading or trailing spaces.
Example 3:
Input: "a good example"
Output: "example g... | 21.18 | 129 | 0.694995 | kashyap99saksham |
9ef02860f69e3377c75a64397f1c7c9f4c992f0d | 2,439 | cpp | C++ | src/s2mContacts.cpp | fmoissenet/biorbd | 3b3352bf06b9e8fbbdf4f77c852b6a115522becf | [
"MIT"
] | null | null | null | src/s2mContacts.cpp | fmoissenet/biorbd | 3b3352bf06b9e8fbbdf4f77c852b6a115522becf | [
"MIT"
] | null | null | null | src/s2mContacts.cpp | fmoissenet/biorbd | 3b3352bf06b9e8fbbdf4f77c852b6a115522becf | [
"MIT"
] | null | null | null | #define BIORBD_API_EXPORTS
#include "../include/s2mContacts.h"
s2mContacts::s2mContacts()
{
m_nbreConstraint = 0;
m_binded = false;
//ctor
}
s2mContacts::~s2mContacts()
{
//dtor
}
unsigned int s2mContacts::AddConstraint(unsigned int body_id, const RigidBodyDynamics::Math::Vector3d& body_point, const ... | 37.523077 | 205 | 0.686757 | fmoissenet |
9ef0b7bb9a8396a0691265528e5a68b53cba7aad | 706 | cpp | C++ | bubble/BubBase.cpp | Ryan-YM/bubble_game | 71b50dad54968f642fa5c5565d94c4274e4a3f2d | [
"MIT"
] | null | null | null | bubble/BubBase.cpp | Ryan-YM/bubble_game | 71b50dad54968f642fa5c5565d94c4274e4a3f2d | [
"MIT"
] | null | null | null | bubble/BubBase.cpp | Ryan-YM/bubble_game | 71b50dad54968f642fa5c5565d94c4274e4a3f2d | [
"MIT"
] | null | null | null | #include "BubBase.h"
BubBase::BubBase(int x, int y, int width, int height, int dx, int dy, ACL_Image *img, rect r1)
{
this->x = x;
this->y = y;
this->width = width;
this->height = height;
this->dx = dx;
this->dy = dy;
this->img = img;
r = r1;
}
BubBase::BubBase(BubBase & sprite)
{
x = sprite.x;
y = sprite.y;... | 16.418605 | 94 | 0.628895 | Ryan-YM |
9ef47269873739c53618faba122230b3d992d618 | 760 | cpp | C++ | plugins/protein/src/Diagram2DCall.cpp | masrice/megamol | d48fc4889f500528609053a5445202a9c0f6e5fb | [
"BSD-3-Clause"
] | 49 | 2017-08-23T13:24:24.000Z | 2022-03-16T09:10:58.000Z | plugins/protein/src/Diagram2DCall.cpp | masrice/megamol | d48fc4889f500528609053a5445202a9c0f6e5fb | [
"BSD-3-Clause"
] | 200 | 2018-07-20T15:18:26.000Z | 2022-03-31T11:01:44.000Z | plugins/protein/src/Diagram2DCall.cpp | masrice/megamol | d48fc4889f500528609053a5445202a9c0f6e5fb | [
"BSD-3-Clause"
] | 31 | 2017-07-31T16:19:29.000Z | 2022-02-14T23:41:03.000Z | /*
* Diagram2DCall.cpp
*
* Author: Michael Krone
* Copyright (C) 2010 by Universitaet Stuttgart (VISUS).
* All rights reserved.
*/
#include "protein/Diagram2DCall.h"
#include "stdafx.h"
#include "vislib/IllegalParamException.h"
#include "vislib/IllegalStateException.h"
#include "vislib/OutOfRangeException.h"
#in... | 21.111111 | 85 | 0.744737 | masrice |
9ef815ab60e6340ff68cbab0b8c4c1d854040d24 | 13,105 | hpp | C++ | externals/stlsoft-1.9.118/include/acestl/shims/access/string/inet_addr.hpp | betasheet/diffingo | 285d21b16c118155e5c149b20fcb20a20276f3d7 | [
"MIT"
] | 17 | 2015-03-26T14:10:25.000Z | 2022-02-09T20:55:04.000Z | externals/stlsoft-1.9.118/include/acestl/shims/access/string/inet_addr.hpp | betasheet/diffingo | 285d21b16c118155e5c149b20fcb20a20276f3d7 | [
"MIT"
] | null | null | null | externals/stlsoft-1.9.118/include/acestl/shims/access/string/inet_addr.hpp | betasheet/diffingo | 285d21b16c118155e5c149b20fcb20a20276f3d7 | [
"MIT"
] | 3 | 2019-05-05T22:10:56.000Z | 2019-08-22T22:24:23.000Z | /* /////////////////////////////////////////////////////////////////////////
* File: acestl/shims/access/string/inet_addr.hpp
*
* Purpose: Helper functions for ACE strings.
*
* Created: 23rd September 2004
* Updated: 10th August 2009
*
* Home: http://stlsoft.org/
*
* Copyri... | 34.486842 | 131 | 0.668447 | betasheet |
9ef8cfc0f6ed5e4f4c1374a72a7fac48c1cfb31e | 10,371 | cpp | C++ | hooks.cpp | amizu03/csgo_sdk | 3c229bd592f4463b4a098eb02ee9a1d83cf36f77 | [
"MIT"
] | null | null | null | hooks.cpp | amizu03/csgo_sdk | 3c229bd592f4463b4a098eb02ee9a1d83cf36f77 | [
"MIT"
] | null | null | null | hooks.cpp | amizu03/csgo_sdk | 3c229bd592f4463b4a098eb02ee9a1d83cf36f77 | [
"MIT"
] | 1 | 2020-03-31T07:06:08.000Z | 2020-03-31T07:06:08.000Z | #include <intrin.h>
#include "hooks.hpp"
#include "globals.hpp"
#include "minhook/minhook.h"
#include "renderer/d3d9.hpp"
/* features */
#include "features/movement.hpp"
#include "features/prediction.hpp"
bool __fastcall fire_event_hk( REG );
void __fastcall override_view_hk( REG, void* setup );
void __fastcall draw... | 36.776596 | 186 | 0.698486 | amizu03 |
9ef9a89fd39cf33577d4040a5fefaaf5cd965d50 | 27,595 | hpp | C++ | include/zep/gap_buffer.hpp | travisat/tezep | eedb7e3384d422392c6cb088055683574c028b3d | [
"MIT"
] | null | null | null | include/zep/gap_buffer.hpp | travisat/tezep | eedb7e3384d422392c6cb088055683574c028b3d | [
"MIT"
] | null | null | null | include/zep/gap_buffer.hpp | travisat/tezep | eedb7e3384d422392c6cb088055683574c028b3d | [
"MIT"
] | null | null | null | /*The MIT License (MIT)
Copyright (c) 2017 chrismaughan.com
https://github.com/cmaughan/
https://chrismaughan.com
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including w... | 33.448485 | 141 | 0.592499 | travisat |
9efc2a425b30b2079f1073c8091e52023290bc4b | 628 | cpp | C++ | DP/longest_inc_dec.cpp | aneesh001/InterviewBit | fcbac096fd8e9554a52db10dc9e5a88cb8a83ef3 | [
"MIT"
] | null | null | null | DP/longest_inc_dec.cpp | aneesh001/InterviewBit | fcbac096fd8e9554a52db10dc9e5a88cb8a83ef3 | [
"MIT"
] | null | null | null | DP/longest_inc_dec.cpp | aneesh001/InterviewBit | fcbac096fd8e9554a52db10dc9e5a88cb8a83ef3 | [
"MIT"
] | null | null | null | #include <bits/stdc++.h>
using namespace std;
int longestSubsequenceLength(const vector<int> &A) {
int n = A.size();
vector<int> dp1(n, 1);
vector<int> dp2(n, 1);
for(int i = 1; i < n; ++i) {
for(int j = i - 1; j >= 0; --j) {
if(A[i] > A[j]) {
dp1[i] = max(dp1[i], dp1[j] + 1);
}
}
}
for(int i = n -... | 19.030303 | 52 | 0.464968 | aneesh001 |
9efc77cc3fe5a5ebe5fa1f245265409ae0274966 | 7,761 | cpp | C++ | src/tensorrt/src/core/dataset/tensor_dataset.cpp | joehandzik/dlcookbook-dlbs | 7c5ca5a6dfa4e2f7b8b4d81c60bd8be343dabd30 | [
"Apache-2.0"
] | 1 | 2021-03-19T06:51:11.000Z | 2021-03-19T06:51:11.000Z | src/tensorrt/src/core/dataset/tensor_dataset.cpp | joehandzik/dlcookbook-dlbs | 7c5ca5a6dfa4e2f7b8b4d81c60bd8be343dabd30 | [
"Apache-2.0"
] | null | null | null | src/tensorrt/src/core/dataset/tensor_dataset.cpp | joehandzik/dlcookbook-dlbs | 7c5ca5a6dfa4e2f7b8b4d81c60bd8be343dabd30 | [
"Apache-2.0"
] | null | null | null | /*
(c) Copyright [2017] Hewlett Packard Enterprise Development LP
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 app... | 42.642857 | 167 | 0.6226 | joehandzik |
9eff07aa3156fcaea7743fdb7b14aba81d98883f | 3,153 | cpp | C++ | main.cpp | konekoe/examos-session-listener | 4f82bbe975df3220a88e3c2802803006e8f27c63 | [
"MIT"
] | null | null | null | main.cpp | konekoe/examos-session-listener | 4f82bbe975df3220a88e3c2802803006e8f27c63 | [
"MIT"
] | null | null | null | main.cpp | konekoe/examos-session-listener | 4f82bbe975df3220a88e3c2802803006e8f27c63 | [
"MIT"
] | null | null | null | #include <gtkmm/application.h>
#include <gtkmm/messagedialog.h>
#include <dbus-cxx.h>
#include <boost/process.hpp>
struct LogMessage {
std::string title;
std::string message;
};
int ShowLogMessage(void* user_data)
{
LogMessage* msg = reinterpret_cast<LogMessage*>(user_data);
Gtk::MessageDialog LogMessage(msg... | 34.648352 | 182 | 0.722804 | konekoe |
7300de484c3a26a5203c716ad43932b2dbcf7e4b | 11,606 | cpp | C++ | apps/core_test/rftl_string_traits.cpp | max-delta/retrofit-public | 5447fd6399fd74ffbb75494c103940751000db12 | [
"X11"
] | 3 | 2019-10-27T22:32:44.000Z | 2020-05-21T04:00:46.000Z | apps/core_test/rftl_string_traits.cpp | max-delta/retrofit-public | 5447fd6399fd74ffbb75494c103940751000db12 | [
"X11"
] | null | null | null | apps/core_test/rftl_string_traits.cpp | max-delta/retrofit-public | 5447fd6399fd74ffbb75494c103940751000db12 | [
"X11"
] | null | null | null | #include "stdafx.h"
#include "rftl/extension/string_traits.h"
namespace RF {
///////////////////////////////////////////////////////////////////////////////
TEST( StringTraits, IsChar )
{
static_assert( rftl::is_char<char>::value, "Unexpected value" );
static_assert( rftl::is_char<wchar_t>::value, "Unexpected val... | 62.397849 | 103 | 0.715233 | max-delta |
730293ad3625712fc37b6d8da59537c38d354129 | 5,205 | inl | C++ | runtime/gen9/hw_info_glk.inl | mkmartinw/compute-runtime | 8d69b0cd142a9eeab93d1b0c742f4cccef8c5854 | [
"MIT"
] | null | null | null | runtime/gen9/hw_info_glk.inl | mkmartinw/compute-runtime | 8d69b0cd142a9eeab93d1b0c742f4cccef8c5854 | [
"MIT"
] | null | null | null | runtime/gen9/hw_info_glk.inl | mkmartinw/compute-runtime | 8d69b0cd142a9eeab93d1b0c742f4cccef8c5854 | [
"MIT"
] | null | null | null | /*
* Copyright (C) 2017-2018 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "hw_cmds.h"
#include "hw_info_glk.h"
#include "runtime/aub_mem_dump/aub_services.h"
#include "runtime/helpers/engine_node.h"
#include "runtime/memory_manager/memory_constants.h"
namespace OCLRT {
const char *HwMapper<I... | 43.016529 | 121 | 0.539481 | mkmartinw |
730797636c74b68520ce7eae257052a1641f3bc4 | 2,082 | cpp | C++ | src/NumericalAlgorithms/Interpolation/InterpolationTargetApparentHorizon.cpp | tomwlodarczyk/spectre | 086aaee002f2f07eb812cf17b8e1ba54052feb71 | [
"MIT"
] | null | null | null | src/NumericalAlgorithms/Interpolation/InterpolationTargetApparentHorizon.cpp | tomwlodarczyk/spectre | 086aaee002f2f07eb812cf17b8e1ba54052feb71 | [
"MIT"
] | 1 | 2022-03-25T18:26:16.000Z | 2022-03-25T19:30:39.000Z | src/NumericalAlgorithms/Interpolation/InterpolationTargetApparentHorizon.cpp | tomwlodarczyk/spectre | 086aaee002f2f07eb812cf17b8e1ba54052feb71 | [
"MIT"
] | 1 | 2019-01-03T21:47:04.000Z | 2019-01-03T21:47:04.000Z | // Distributed under the MIT License.
// See LICENSE.txt for details.
#include "NumericalAlgorithms/Interpolation/InterpolationTargetApparentHorizon.hpp"
#include <algorithm>
#include "Utilities/GenerateInstantiations.hpp"
/// \cond
namespace Frame {
struct Inertial;
} // namespace Frame
/// \endcond
namespace in... | 33.580645 | 83 | 0.652738 | tomwlodarczyk |
7307e336e6b4cf4f26a45b3262a0f1474ffa1532 | 123,152 | cpp | C++ | sadx-dc-lighting/FixCharacterMaterials.cpp | michael-fadely/sadx-dc-lighting | 5ce48748d3b18ceb07f1b0a57d1d0b683eb1dfb7 | [
"MIT"
] | 18 | 2019-07-27T17:22:57.000Z | 2022-03-11T01:00:07.000Z | sadx-dc-lighting/FixCharacterMaterials.cpp | SonicFreak94/sadx-dc-lighting | 1cc875dddf4a3c7f92bea90da7c36c8c6fda6a69 | [
"MIT"
] | 67 | 2016-11-11T06:38:51.000Z | 2018-11-25T17:41:51.000Z | sadx-dc-lighting/FixCharacterMaterials.cpp | michael-fadely/sadx-dc-lighting | 5ce48748d3b18ceb07f1b0a57d1d0b683eb1dfb7 | [
"MIT"
] | 3 | 2019-07-18T12:12:57.000Z | 2021-09-02T04:37:06.000Z | #include "stdafx.h"
#ifdef _DEBUG
#include <vector>
#endif
#include "d3d8types.hpp"
#include <SADXModLoader.h>
#include "../include/lanternapi.h"
#include "FixCharacterMaterials.h"
static HMODULE CHRMODELS = GetModuleHandle(L"CHRMODELS_orig");
static HMODULE ADV00MODELS = GetModuleHandle(L"ADV00MODELS");... | 37.375417 | 121 | 0.739923 | michael-fadely |
7307eaf2096154c784e58b79b8e3122e19c0c5ff | 1,245 | hpp | C++ | pythran/pythonic/numpy/argwhere.hpp | artas360/pythran | 66dad52d52be71693043e9a7d7578cfb9cb3d1da | [
"BSD-3-Clause"
] | null | null | null | pythran/pythonic/numpy/argwhere.hpp | artas360/pythran | 66dad52d52be71693043e9a7d7578cfb9cb3d1da | [
"BSD-3-Clause"
] | null | null | null | pythran/pythonic/numpy/argwhere.hpp | artas360/pythran | 66dad52d52be71693043e9a7d7578cfb9cb3d1da | [
"BSD-3-Clause"
] | null | null | null | #ifndef PYTHONIC_NUMPY_ARGWHERE_HPP
#define PYTHONIC_NUMPY_ARGWHERE_HPP
#include "pythonic/include/numpy/argwhere.hpp"
#include "pythonic/utils/proxy.hpp"
#include "pythonic/types/ndarray.hpp"
#include "pythonic/numpy/asarray.hpp"
namespace pythonic
{
namespace numpy
{
template <class E>
typename types:... | 24.411765 | 72 | 0.569478 | artas360 |
730ca67a1164fa4417b1903c22c8192c4617444e | 117 | cpp | C++ | src/yacsi/kickoff.cpp | denis-bu/yacsi | 82e6484db8a7d664eedd66c024a3fcc44e78d3c1 | [
"MIT"
] | null | null | null | src/yacsi/kickoff.cpp | denis-bu/yacsi | 82e6484db8a7d664eedd66c024a3fcc44e78d3c1 | [
"MIT"
] | null | null | null | src/yacsi/kickoff.cpp | denis-bu/yacsi | 82e6484db8a7d664eedd66c024a3fcc44e78d3c1 | [
"MIT"
] | null | null | null |
#include "yacsi/kickoff.hpp"
#include <vector>
namespace yacsi {
int kickoff(int arg) {
return arg << 1;
}
}
| 8.357143 | 28 | 0.641026 | denis-bu |
730d13b9fdfb8f8d6f714b1eabe3bab9d32fc572 | 14,972 | cpp | C++ | Source/WebCore/bindings/js/JSDOMExceptionHandling.cpp | ijsf/DeniseEmbeddableWebKit | 57dfc6783d60f8f59b7129874e60f84d8c8556c9 | [
"BSD-3-Clause"
] | null | null | null | Source/WebCore/bindings/js/JSDOMExceptionHandling.cpp | ijsf/DeniseEmbeddableWebKit | 57dfc6783d60f8f59b7129874e60f84d8c8556c9 | [
"BSD-3-Clause"
] | 9 | 2020-04-18T18:47:18.000Z | 2020-04-18T18:52:41.000Z | Source/WebCore/bindings/js/JSDOMExceptionHandling.cpp | ijsf/DeniseEmbeddableWebKit | 57dfc6783d60f8f59b7129874e60f84d8c8556c9 | [
"BSD-3-Clause"
] | null | null | null | /*
* Copyright (C) 1999-2001 Harri Porten (porten@kde.org)
* Copyright (C) 2004-2017 Apple Inc. All rights reserved.
* Copyright (C) 2007 Samuel Weinig <sam@webkit.org>
* Copyright (C) 2013 Michael Pruett <michael@68k.org>
*
* This library is free software; you can redistribute it and/or
* modify it under ... | 40.907104 | 234 | 0.747128 | ijsf |
73106f9506c03790937f7f7ccba89450eb9f2295 | 621 | cpp | C++ | src/win_main.cpp | carlosmonserrat/innopolis-computer-graphics2021 | 9eea00cb30d9d805d298eb89d048d3b0ae44921c | [
"MIT"
] | null | null | null | src/win_main.cpp | carlosmonserrat/innopolis-computer-graphics2021 | 9eea00cb30d9d805d298eb89d048d3b0ae44921c | [
"MIT"
] | null | null | null | src/win_main.cpp | carlosmonserrat/innopolis-computer-graphics2021 | 9eea00cb30d9d805d298eb89d048d3b0ae44921c | [
"MIT"
] | null | null | null | #include "renderer/renderer.h"
#include "settings.h"
#include "utils/window.h"
#include <Windows.h>
#include <exception>
int WinMain(
_In_ HINSTANCE hInstance, _In_opt_ HINSTANCE hPrevInstance,
_In_ LPSTR lpCmdLine, _In_ int nShowCmd)
{
try
{
auto settings = cg::settings::parse_settings(__argc, __argv);
auto... | 20.7 | 69 | 0.713366 | carlosmonserrat |
73123311bf798323c76243e98bd3851425293a2d | 7,461 | inl | C++ | include/upcore/up/detail/cuchar_wchar_utf8.inl | upcaste/upcaste | 8174a2f40e7fde022806f8d1565bb4a415ecb210 | [
"MIT"
] | 1 | 2018-09-17T20:50:14.000Z | 2018-09-17T20:50:14.000Z | include/upcore/up/detail/cuchar_wchar_utf8.inl | jwtowner/upcaste | 8174a2f40e7fde022806f8d1565bb4a415ecb210 | [
"MIT"
] | null | null | null | include/upcore/up/detail/cuchar_wchar_utf8.inl | jwtowner/upcaste | 8174a2f40e7fde022806f8d1565bb4a415ecb210 | [
"MIT"
] | null | null | null | //
// Upcaste Performance Libraries
// Copyright (C) 2012-2013 Jesse W. Towner
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without lim... | 36.395122 | 114 | 0.650583 | upcaste |
731289ed095435127df1f2198532a463bae85536 | 234 | cpp | C++ | Source/NullVisualEffects/Private/FluidSimulation/Render/FluidSimulationPS.cpp | ronaldogsk/NullVisualEffects | 5d20c10e71de6edda3e270596e3d345923f436df | [
"Apache-2.0"
] | null | null | null | Source/NullVisualEffects/Private/FluidSimulation/Render/FluidSimulationPS.cpp | ronaldogsk/NullVisualEffects | 5d20c10e71de6edda3e270596e3d345923f436df | [
"Apache-2.0"
] | null | null | null | Source/NullVisualEffects/Private/FluidSimulation/Render/FluidSimulationPS.cpp | ronaldogsk/NullVisualEffects | 5d20c10e71de6edda3e270596e3d345923f436df | [
"Apache-2.0"
] | null | null | null | // Copyright (C) Ronaldo Veloso. All Rights Reserved.
#include "FluidSimulation/Render/FluidSimulationPS.h"
IMPLEMENT_GLOBAL_SHADER(FFluidSimulationPS, "/NullVisualEffects/FluidSimulation/FluidSimulationPS.usf", "MainPS", SF_Pixel); | 46.8 | 124 | 0.824786 | ronaldogsk |
7313bc6ff14d2c9429c39aef501aee4d1caa001e | 2,187 | hpp | C++ | Runtime/Character/IMetaAnim.hpp | Jcw87/urde | fb9ea9092ad00facfe957ece282a86c194e9cbda | [
"MIT"
] | null | null | null | Runtime/Character/IMetaAnim.hpp | Jcw87/urde | fb9ea9092ad00facfe957ece282a86c194e9cbda | [
"MIT"
] | null | null | null | Runtime/Character/IMetaAnim.hpp | Jcw87/urde | fb9ea9092ad00facfe957ece282a86c194e9cbda | [
"MIT"
] | null | null | null | #pragma once
#include <memory>
#include <optional>
#include <set>
#include "Runtime/RetroTypes.hpp"
#include "Runtime/Character/CCharAnimTime.hpp"
namespace metaforce {
class CAnimTreeNode;
class CPrimitive;
class IAnimReader;
struct CAnimSysContext;
struct CMetaAnimTreeBuildOrders;
enum class EMetaAnimType { Play,... | 30.375 | 109 | 0.721994 | Jcw87 |
7314466532814aa34bacb965ce4070693b6b99cf | 2,680 | cpp | C++ | tests/src/options.cpp | LTLA/CppWeightedLowess | b9cf104772d899d318cc90a1e6913be353fc9a60 | [
"MIT"
] | 2 | 2021-08-03T02:44:35.000Z | 2021-11-04T16:45:19.000Z | tests/src/options.cpp | LTLA/CppWeightedLowess | b9cf104772d899d318cc90a1e6913be353fc9a60 | [
"MIT"
] | 1 | 2021-07-22T05:05:45.000Z | 2021-07-22T05:05:45.000Z | tests/src/options.cpp | LTLA/CppWeightedLowess | b9cf104772d899d318cc90a1e6913be353fc9a60 | [
"MIT"
] | 1 | 2021-08-03T02:44:37.000Z | 2021-08-03T02:44:37.000Z | #include <gtest/gtest.h>
#include "WeightedLowess/WeightedLowess.hpp"
#include "utils.h"
TEST(OptionsTest, IterationsEffect) {
WeightedLowess::WeightedLowess wl;
wl.set_anchors(20);
auto res = wl.run(x.size(), x.data(), y.data());
auto res1 = wl.set_iterations(1).run(x.size(), x.data(), y.data());
... | 37.746479 | 99 | 0.654478 | LTLA |
731b01931fee3a774484cca1018e1f651061dd3b | 1,131 | cpp | C++ | moss/cpu/memory.cpp | astrellon/moss | 917250530964d39588cccdb04aa59ab40333d1c3 | [
"MIT"
] | null | null | null | moss/cpu/memory.cpp | astrellon/moss | 917250530964d39588cccdb04aa59ab40333d1c3 | [
"MIT"
] | null | null | null | moss/cpu/memory.cpp | astrellon/moss | 917250530964d39588cccdb04aa59ab40333d1c3 | [
"MIT"
] | null | null | null | #include "memory.h"
#include <iomanip>
#include <stdexcept>
namespace moss
{
Memory::Memory(uint32_t size) :
_size(size)
{
_data = std::vector<DataWord>(size);
}
Memory::~Memory()
{
}
void Memory::zero()
{
for (uint32_t i = 0u; i < _size; i++)
{
... | 19.842105 | 80 | 0.410256 | astrellon |
731cde5bf9cad1b6037bdcd929d4fe42cba75714 | 8,391 | cpp | C++ | HostLibraryTests/llvm/LibraryPerformance_test.cpp | leekillough/Tensile | 59a13b2d73736fe08d52067d769f9f6777b2053d | [
"MIT"
] | null | null | null | HostLibraryTests/llvm/LibraryPerformance_test.cpp | leekillough/Tensile | 59a13b2d73736fe08d52067d769f9f6777b2053d | [
"MIT"
] | null | null | null | HostLibraryTests/llvm/LibraryPerformance_test.cpp | leekillough/Tensile | 59a13b2d73736fe08d52067d769f9f6777b2053d | [
"MIT"
] | null | null | null | /*******************************************************************************
*
* MIT License
*
* Copyright 2019-2020 Advanced Micro Devices, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
*... | 34.673554 | 100 | 0.563103 | leekillough |
731dfe314f095e7c5dc36d48a11cc41c3db07fe3 | 24,299 | cpp | C++ | spine-cocos2dx/MBSpineFramework/cocos2d-x-3.17.2/cocos/scripting/js-bindings/auto/jsb_cocos2dx_experimental_video_auto.cpp | BowenCoder/spine-cocos2dx | cfac5100b78782b2d4ce84b472a435f46aff4da9 | [
"MIT"
] | 1 | 2022-02-14T01:34:02.000Z | 2022-02-14T01:34:02.000Z | spine-cocos2dx/MBSpineFramework/cocos2d-x-3.17.2/cocos/scripting/js-bindings/auto/jsb_cocos2dx_experimental_video_auto.cpp | BowenCoder/spine-cocos2dx | cfac5100b78782b2d4ce84b472a435f46aff4da9 | [
"MIT"
] | null | null | null | spine-cocos2dx/MBSpineFramework/cocos2d-x-3.17.2/cocos/scripting/js-bindings/auto/jsb_cocos2dx_experimental_video_auto.cpp | BowenCoder/spine-cocos2dx | cfac5100b78782b2d4ce84b472a435f46aff4da9 | [
"MIT"
] | null | null | null | #include "scripting/js-bindings/auto/jsb_cocos2dx_experimental_video_auto.hpp"
#if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID || CC_TARGET_PLATFORM == CC_PLATFORM_IOS) && !defined(CC_TARGET_OS_TVOS)
#include "scripting/js-bindings/manual/cocos2d_specifics.hpp"
#include "ui/UIVideoPlayer.h"
template<class T>
static boo... | 51.7 | 154 | 0.72966 | BowenCoder |
731eab1adffd84f34adff88b8502a397d8eb7222 | 983 | cpp | C++ | modules/task_2/vlasov_m_broadcast/broadcast.cpp | LioBuitrago/pp_2020_autumn_informatics | 1ecc1b5dae978295778176ff11ffe42bedbc602e | [
"BSD-3-Clause"
] | 1 | 2020-11-20T15:05:12.000Z | 2020-11-20T15:05:12.000Z | modules/task_2/vlasov_m_broadcast/broadcast.cpp | LioBuitrago/pp_2020_autumn_informatics | 1ecc1b5dae978295778176ff11ffe42bedbc602e | [
"BSD-3-Clause"
] | 1 | 2021-02-13T03:00:05.000Z | 2021-02-13T03:00:05.000Z | modules/task_2/vlasov_m_broadcast/broadcast.cpp | LioBuitrago/pp_2020_autumn_informatics | 1ecc1b5dae978295778176ff11ffe42bedbc602e | [
"BSD-3-Clause"
] | 1 | 2020-10-11T09:11:57.000Z | 2020-10-11T09:11:57.000Z | // Copyright 2020 Vlasov Maksim
#include <mpi.h>
#include "../../../modules/task_2/vlasov_m_broadcast/broadcast.h"
inline int choose_rank(int rank, int root) {
if (rank == root)
return 0;
if (rank == 0)
return root;
return rank;
}
int broadcast(void *buffer, int count, MPI_Datatype datatyp... | 30.71875 | 88 | 0.595117 | LioBuitrago |
731f2267d01ac136b1033ddd11006b71e87c6ed4 | 2,149 | cpp | C++ | src/PlotsDrawer/ui/CustomPlotImpl.cpp | jenya4361/Composite-LightCurve-Asteroids-PlotsDrawer | 1155e67fe000573ddb606a8039a4068bd73bf1bb | [
"MIT"
] | null | null | null | src/PlotsDrawer/ui/CustomPlotImpl.cpp | jenya4361/Composite-LightCurve-Asteroids-PlotsDrawer | 1155e67fe000573ddb606a8039a4068bd73bf1bb | [
"MIT"
] | null | null | null | src/PlotsDrawer/ui/CustomPlotImpl.cpp | jenya4361/Composite-LightCurve-Asteroids-PlotsDrawer | 1155e67fe000573ddb606a8039a4068bd73bf1bb | [
"MIT"
] | null | null | null | #include "CustomPlotImpl.h"
#include "MainIncludes.h"
#include "qcustomplot.h"
CustomPlotImpl::CustomPlotImpl()
{
}
CustomPlotImpl::~CustomPlotImpl()
{
}
void CustomPlotImpl::assignUI( const QMainWindow* ui )
{
m_plot = FindUIElementInWindow<QCustomPlot*>( ui, "widgetPlot" );
m_plot->yAxis->setRangeReverse... | 23.877778 | 85 | 0.661238 | jenya4361 |
7325fecc550e4548dace21f43531967fb5d4fdfd | 1,046 | hpp | C++ | include/petiga/cxx/iefunction.hpp | dalcinl/PetIGA | a1ffe3be8710dbc0ee43e7b9adff99d4059784d8 | [
"BSD-2-Clause"
] | 3 | 2017-05-19T17:19:43.000Z | 2022-03-20T19:56:49.000Z | include/petiga/cxx/iefunction.hpp | dalcinl/PetIGA | a1ffe3be8710dbc0ee43e7b9adff99d4059784d8 | [
"BSD-2-Clause"
] | null | null | null | include/petiga/cxx/iefunction.hpp | dalcinl/PetIGA | a1ffe3be8710dbc0ee43e7b9adff99d4059784d8 | [
"BSD-2-Clause"
] | null | null | null | #ifndef PETIGA_CXX_IEFUNCTION_HPP
#define PETIGA_CXX_IEFUNCTION_HPP
namespace {
template <int dim, int nen, int dof>
PetscErrorCode IEFunction(IGAPoint q,PetscReal s,const PetscScalar V[],PetscReal t,const PetscScalar U[],PetscReal t0,const PetscScalar U0[],PetscScalar F[],void *ctx)
{
typedef const PetscScalar (&Ar... | 34.866667 | 170 | 0.75717 | dalcinl |
732989a27500d5ee87b203911a0bd39452b7a05b | 3,340 | hpp | C++ | webmvorbisencoder/webmvorbisencoderinpin.hpp | roh0sun/webmdshow | 311dd9686dc896baa4d418c6da79938e94799e55 | [
"BSD-3-Clause"
] | null | null | null | webmvorbisencoder/webmvorbisencoderinpin.hpp | roh0sun/webmdshow | 311dd9686dc896baa4d418c6da79938e94799e55 | [
"BSD-3-Clause"
] | null | null | null | webmvorbisencoder/webmvorbisencoderinpin.hpp | roh0sun/webmdshow | 311dd9686dc896baa4d418c6da79938e94799e55 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2010 The WebM 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 in the root of the source
// tree. An additional intellectual property rights grant can be found
// in the file PATENTS. All contributing p... | 24.558824 | 79 | 0.677246 | roh0sun |
732c12db551fe66fb7f584df539d30a66c03d4a2 | 834 | cpp | C++ | HDOJ/1559.cpp | PIPIKAI/ACM | b8e4416a29c0619946c9b73b0fe5699b6e96e782 | [
"MIT"
] | null | null | null | HDOJ/1559.cpp | PIPIKAI/ACM | b8e4416a29c0619946c9b73b0fe5699b6e96e782 | [
"MIT"
] | null | null | null | HDOJ/1559.cpp | PIPIKAI/ACM | b8e4416a29c0619946c9b73b0fe5699b6e96e782 | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
typedef long long ll;
int n,m,x,y;
int f[1001][1001];
int main()
{
ios::sync_with_stdio(false);cin.tie(0);
int T_T,ans;
cin>>T_T;
while(T_T--)
{
ans=0;
memset(f,0,sizeof f);
cin>>n>>m>>x>>y;
for(int i=1;i<=n;i++)
for(int ... | 21.947368 | 64 | 0.374101 | PIPIKAI |
7333da2176b84805b0a166c7d67cdcac451a0fec | 6,696 | cpp | C++ | test_harness/benchmarks/Generic/src/hebench_genericwl.cpp | jlakness-intel/frontend | 9097a7fd6d8cb35e885827dfb5bdb0c5c3741973 | [
"Apache-2.0"
] | null | null | null | test_harness/benchmarks/Generic/src/hebench_genericwl.cpp | jlakness-intel/frontend | 9097a7fd6d8cb35e885827dfb5bdb0c5c3741973 | [
"Apache-2.0"
] | null | null | null | test_harness/benchmarks/Generic/src/hebench_genericwl.cpp | jlakness-intel/frontend | 9097a7fd6d8cb35e885827dfb5bdb0c5c3741973 | [
"Apache-2.0"
] | null | null | null |
// Copyright (C) 2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
#include <cassert>
#include <sstream>
#include "../include/hebench_genericwl.h"
namespace hebench {
namespace TestHarness {
namespace GenericWL {
//------------------------------------
// class BenchmarkDescriptionCategory
//-----------... | 37.407821 | 145 | 0.590651 | jlakness-intel |
73381825622e036d6c6689e4501e1405e58ead15 | 4,833 | hpp | C++ | src/3rd party/boost/boost/date_time/gregorian/greg_facet.hpp | OLR-xray/OLR-3.0 | b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611 | [
"Apache-2.0"
] | 8 | 2016-01-25T20:18:51.000Z | 2019-03-06T07:00:04.000Z | src/3rd party/boost/boost/date_time/gregorian/greg_facet.hpp | OLR-xray/OLR-3.0 | b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611 | [
"Apache-2.0"
] | null | null | null | src/3rd party/boost/boost/date_time/gregorian/greg_facet.hpp | OLR-xray/OLR-3.0 | b6a9bb2a0c1fb849b8c6cea2e831e1ceea5cc611 | [
"Apache-2.0"
] | 3 | 2016-02-14T01:20:43.000Z | 2021-02-03T11:19:11.000Z | #ifndef GREGORIAN_FACET_HPP___
#define GREGORIAN_FACET_HPP___
/* Copyright (c) 2002 CrystalClear Software, Inc.
* Disclaimer & Full Copyright at end of file
* Author: Jeff Garland
*/
#include "boost/date_time/gregorian/gregorian_types.hpp"
#include "boost/date_time/date_formatting_locales.hpp" // sets BOOST_DATE_T... | 36.613636 | 117 | 0.708463 | OLR-xray |
733a6eaac18683e26f2b24f150e541cc0264a293 | 91,359 | cpp | C++ | browse.cpp | sphinxlogic/shell32 | ef38d3338afd575a2d456d737c7bd6a105392d88 | [
"MIT"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | shell/shell32/browse.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | shell/shell32/browse.cpp | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | #include "shellprv.h"
#include "ids.h"
#include "findhlp.h"
#include "shitemid.h"
#include "findfilter.h"
#include <inetreg.h>
#include <help.h>
class CBrowseForFolder;
// Structure to pass information to browse for folder dialog
typedef struct
{
HWND hwndOwner;
LPCITEMIDLIST pidl... | 33.464835 | 230 | 0.585635 | sphinxlogic |
733c32e0cea32add864dc79e1df0efaf6d8dfc8e | 1,198 | cpp | C++ | CSprite.cpp | CongYun2022/Lux | c47526c5b80b83ce5518164158f3702fa765bf9a | [
"MIT"
] | 1 | 2022-03-31T03:23:06.000Z | 2022-03-31T03:23:06.000Z | CSprite.cpp | CongYun2022/Lux | c47526c5b80b83ce5518164158f3702fa765bf9a | [
"MIT"
] | null | null | null | CSprite.cpp | CongYun2022/Lux | c47526c5b80b83ce5518164158f3702fa765bf9a | [
"MIT"
] | null | null | null | #include "CSprite.h"
#include "Texture.h"
#include "Shader.h"
#include "AActor.h"
#include "Game.h"
#include "Renderer.h"
CSprite::CSprite(AActor* owner, int drawOrder)
:CComponent(owner)
,mTexture(nullptr)
,mDrawOrder(drawOrder)
,mTexWidth(0)
,mTexHeight(0)
,mVisible(true)
{
mOwner->GetGame()->GetRenderer()->A... | 21.781818 | 60 | 0.708681 | CongYun2022 |
733d3bd39177ab896c78f313685b3d956a6b35a4 | 401 | cpp | C++ | GGE/GameEngine.cpp | GuillaumeDua/GGE | 22c9a3774cff4fa5165f2939547cec6ebd595862 | [
"Apache-2.0"
] | 1 | 2016-04-10T19:45:24.000Z | 2016-04-10T19:45:24.000Z | GGE/GameEngine.cpp | GuillaumeDua/GGE | 22c9a3774cff4fa5165f2939547cec6ebd595862 | [
"Apache-2.0"
] | 13 | 2015-08-20T11:57:46.000Z | 2016-06-06T11:57:45.000Z | GGE/GameEngine.cpp | GuillaumeDua/GGE | 22c9a3774cff4fa5165f2939547cec6ebd595862 | [
"Apache-2.0"
] | null | null | null | #include "GameEngine.h"
GGE::GameEngine::Configuration GGE::GameEngine::Configuration::_Default =
{
{
60.f
, {
[]() { std::cerr << "[Warning] : Frame drop detected !" << std::endl; }
// , ...
}
}
, { 800, 600, 32, "[Default Configuration] : GGE : Instance rendering"}
};
const gcl::old::events::EventHa... | 26.733333 | 111 | 0.628429 | GuillaumeDua |
7342fda5d1a05fb611958fb1d7cbd84a0c794455 | 7,822 | cpp | C++ | src/core/NEON/kernels/arm_gemm/gemm_quint8.cpp | K1504296/ComputeLibrary | 5e195f935c454bd274da246be9c3e63ff9a48166 | [
"MIT"
] | null | null | null | src/core/NEON/kernels/arm_gemm/gemm_quint8.cpp | K1504296/ComputeLibrary | 5e195f935c454bd274da246be9c3e63ff9a48166 | [
"MIT"
] | null | null | null | src/core/NEON/kernels/arm_gemm/gemm_quint8.cpp | K1504296/ComputeLibrary | 5e195f935c454bd274da246be9c3e63ff9a48166 | [
"MIT"
] | null | null | null | /*
* Copyright (c) 2019-2020 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* deal in the Software without restriction, including without limitation the
* ri... | 43.455556 | 179 | 0.742905 | K1504296 |
7344b29d598b46fa02b2b033388613c3df263a47 | 2,596 | cpp | C++ | test/test_process.cpp | deadash/nt_wrapper | 34405005ecd949fd75cb586ee0976aa7e3a7ef65 | [
"Apache-2.0"
] | 353 | 2018-07-20T18:45:19.000Z | 2022-03-28T21:04:47.000Z | test/test_process.cpp | deadash/nt_wrapper | 34405005ecd949fd75cb586ee0976aa7e3a7ef65 | [
"Apache-2.0"
] | 26 | 2018-08-06T11:10:48.000Z | 2021-06-04T04:52:45.000Z | test/test_process.cpp | deadash/nt_wrapper | 34405005ecd949fd75cb586ee0976aa7e3a7ef65 | [
"Apache-2.0"
] | 73 | 2018-07-20T21:30:14.000Z | 2022-02-22T02:20:23.000Z | #include <ntw/ob/process.hpp>
#define CATCH_CONFIG_MAIN
#define WIN32_NO_STATUS
#include <catch2/catch.hpp>
#pragma comment(lib, "ntdll.lib")
TEST_CASE("process access building")
{
auto access = ntw::ob::process_access{}
.terminate()
.create_thread()
... | 30.541176 | 90 | 0.527735 | deadash |
73450467f6d6633c1e767b92bf4f3f383423ff56 | 714 | cpp | C++ | DescribingPenClass/Pen.cpp | mcelis13/C_exercises | 0ea4acd3cdee49a33fa0ecfacb534abc107f4d6c | [
"MIT"
] | null | null | null | DescribingPenClass/Pen.cpp | mcelis13/C_exercises | 0ea4acd3cdee49a33fa0ecfacb534abc107f4d6c | [
"MIT"
] | null | null | null | DescribingPenClass/Pen.cpp | mcelis13/C_exercises | 0ea4acd3cdee49a33fa0ecfacb534abc107f4d6c | [
"MIT"
] | null | null | null | #include <iostream>
#include "ModifiedPen.h"
using namespace std;
void Pen::write_on_paper(string word) /*Member function of class Penn so the class is written first and then two :: sets to call the function*/
{
if (InkLevelPercent <= 0)
{
cout << "Oops! Out of ink!" << endl;
}
else
{
... | 24.62069 | 143 | 0.652661 | mcelis13 |
73464f7aa6d548935ff894af11c09e05ad9eefca | 1,082 | hpp | C++ | agency/execution/execution_agent/concurrent_agent.hpp | nerikhman/agency | 966ac59101f2fc3561a86b11874fbe8de361d0e4 | [
"BSD-3-Clause"
] | 129 | 2016-08-18T23:24:15.000Z | 2022-03-25T12:06:05.000Z | agency/execution/execution_agent/concurrent_agent.hpp | nerikhman/agency | 966ac59101f2fc3561a86b11874fbe8de361d0e4 | [
"BSD-3-Clause"
] | 86 | 2016-08-19T03:43:33.000Z | 2020-07-20T14:27:41.000Z | agency/execution/execution_agent/concurrent_agent.hpp | nerikhman/agency | 966ac59101f2fc3561a86b11874fbe8de361d0e4 | [
"BSD-3-Clause"
] | 23 | 2016-08-18T23:52:13.000Z | 2022-02-28T16:28:20.000Z | #pragma once
#include <agency/detail/config.hpp>
#include <agency/execution/execution_agent/detail/basic_concurrent_agent.hpp>
#include <agency/detail/concurrency/any_barrier.hpp>
#include <agency/memory/detail/resource/arena_resource.hpp>
#include <agency/memory/detail/resource/malloc_resource.hpp>
#include <agency/m... | 31.823529 | 131 | 0.819778 | nerikhman |
73498a95b3765dad140628b90e7f6cc50638d5a6 | 3,660 | hpp | C++ | widgets/Button.hpp | DomRe/gui | 04895189b9a8ccf6ee68010b150b1b227242a8c2 | [
"MIT"
] | null | null | null | widgets/Button.hpp | DomRe/gui | 04895189b9a8ccf6ee68010b150b1b227242a8c2 | [
"MIT"
] | null | null | null | widgets/Button.hpp | DomRe/gui | 04895189b9a8ccf6ee68010b150b1b227242a8c2 | [
"MIT"
] | null | null | null | ///
/// Button.hpp
/// galaxy
///
/// Refer to LICENSE.txt for more details.
///
#ifndef GALAXY_UI_WIDGETS_BUTTON_HPP_
#define GALAXY_UI_WIDGETS_BUTTON_HPP_
#include "galaxy/components/BatchSprite.hpp"
#include "galaxy/events/MouseMoved.hpp"
#include "galaxy/events/MousePressed.hpp"
#include "galaxy/events/MouseRelea... | 20.677966 | 104 | 0.611749 | DomRe |
735112c3f76d950ba20fd9c7fddaed6f6d23c91d | 1,510 | cpp | C++ | Game/src/GameOverState.cpp | DanielParra159/EngineAndGame | 45af7439633054aa6c9a8e75dd0453f9ce297626 | [
"CC0-1.0"
] | 1 | 2017-04-08T14:33:04.000Z | 2017-04-08T14:33:04.000Z | Game/src/GameOverState.cpp | DanielParra159/EngineAndGame | 45af7439633054aa6c9a8e75dd0453f9ce297626 | [
"CC0-1.0"
] | 1 | 2017-04-05T01:56:28.000Z | 2017-04-05T01:56:28.000Z | Game/src/GameOverState.cpp | DanielParra159/EngineAndGame | 45af7439633054aa6c9a8e75dd0453f9ce297626 | [
"CC0-1.0"
] | null | null | null | #include "GameOverState.h"
#include "GameState.h"
#include "Input\InputManager.h"
#include "Input\IController.h"
#include "Input\KeyboardController.h"
#include "Input\MouseController.h"
#include "Input\InputAction.h"
#include "Graphics\RenderManager.h"
#include "UI\MenuManager.h"
#include "UI\Menu.h"
... | 22.205882 | 90 | 0.664238 | DanielParra159 |
7353c82bf4f21d075da7fc2dd89a479938e489f9 | 5,899 | hpp | C++ | src/Chain/libraries/include/wallet/Pretty.hpp | WillAchain/Achain | 4118a8fc7a18e356e5a865d39d21bba3100664c9 | [
"MIT"
] | 226 | 2017-09-07T13:13:08.000Z | 2022-02-26T09:07:10.000Z | src/Chain/libraries/include/wallet/Pretty.hpp | WillAchain/Achain | 4118a8fc7a18e356e5a865d39d21bba3100664c9 | [
"MIT"
] | 22 | 2017-09-26T03:36:21.000Z | 2020-08-23T19:59:40.000Z | src/Chain/libraries/include/wallet/Pretty.hpp | WillAchain/Achain | 4118a8fc7a18e356e5a865d39d21bba3100664c9 | [
"MIT"
] | 79 | 2017-09-08T02:57:08.000Z | 2022-02-02T12:46:31.000Z | /*
* This file contains structs to populate for JSON representation of transactions/operations
* for wallets and block explorers and such
*/
#pragma once
namespace thinkyoung {
namespace wallet {
using namespace thinkyoung::blockchain;
struct PublicKeySummary
{
string h... | 30.096939 | 174 | 0.586032 | WillAchain |
7356a8b3b7b96f7731e93d50da0efadc0d45a3c3 | 2,700 | cpp | C++ | 01/calc.cpp | k911mipt/made_2019_cpp | a55a7c867cdc1c076ae86c89a79df6581c80da7b | [
"MIT"
] | null | null | null | 01/calc.cpp | k911mipt/made_2019_cpp | a55a7c867cdc1c076ae86c89a79df6581c80da7b | [
"MIT"
] | null | null | null | 01/calc.cpp | k911mipt/made_2019_cpp | a55a7c867cdc1c076ae86c89a79df6581c80da7b | [
"MIT"
] | null | null | null | #include <math.h>
#include <iostream>
#include <cstring>
#include <string>
#include "calc.h"
#ifndef INT_MAX
#define INT_MAX INT32_MAX
#endif
namespace Calculator {
const int maxNumberLength = static_cast<int>(log10(INT_MAX));
const char space = ' ';
const char minus = '-';
inline void skipSpaces... | 29.032258 | 121 | 0.498519 | k911mipt |
735b82372d01d1c9c67ea1348bfbb49b7ce18f79 | 1,057 | cpp | C++ | solutions/1345.cpp | tdakhran/leetcode | ed680059661faae32857eaa791ca29c1d9c16120 | [
"MIT"
] | null | null | null | solutions/1345.cpp | tdakhran/leetcode | ed680059661faae32857eaa791ca29c1d9c16120 | [
"MIT"
] | null | null | null | solutions/1345.cpp | tdakhran/leetcode | ed680059661faae32857eaa791ca29c1d9c16120 | [
"MIT"
] | null | null | null | #include <queue>
#include <unordered_map>
#include <vector>
class Solution {
public:
int minJumps(std::vector<int>& arr) {
std::unordered_map<int, std::vector<size_t>> edges;
for (size_t pos = 0; pos < arr.size(); ++pos) {
edges[arr[pos]].push_back(pos);
}
std::queue<size_t> q;
q.push(0);... | 19.574074 | 55 | 0.447493 | tdakhran |
735bc184df5ca8823da4ad01e89ad24ce3529e65 | 5,776 | cpp | C++ | Libs/Core/ctkLogger.cpp | kraehlit/CTK | 6557c5779d20b78f501f1fd6ce1063d0f219cca6 | [
"Apache-2.0"
] | 515 | 2015-01-13T05:42:10.000Z | 2022-03-29T03:10:01.000Z | Libs/Core/ctkLogger.cpp | kraehlit/CTK | 6557c5779d20b78f501f1fd6ce1063d0f219cca6 | [
"Apache-2.0"
] | 425 | 2015-01-06T05:28:38.000Z | 2022-03-08T19:42:18.000Z | Libs/Core/ctkLogger.cpp | kraehlit/CTK | 6557c5779d20b78f501f1fd6ce1063d0f219cca6 | [
"Apache-2.0"
] | 341 | 2015-01-08T06:18:17.000Z | 2022-03-29T21:47:49.000Z | /*=========================================================================
Library: CTK
Copyright (c) Kitware Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.ap... | 28.17561 | 81 | 0.415166 | kraehlit |
735c72193be477ae5f966e7f479711bab0bc0348 | 6,370 | cpp | C++ | Graph/Tree/BST/K-th smallest element in BST.cpp | Edith-3000/Algorithmic-Implementations | 7ff8cd615fd453a346b4e851606d47c26f05a084 | [
"MIT"
] | 8 | 2021-02-13T17:07:27.000Z | 2021-08-20T08:20:40.000Z | Graph/Tree/BST/K-th smallest element in BST.cpp | Edith-3000/Algorithmic-Implementations | 7ff8cd615fd453a346b4e851606d47c26f05a084 | [
"MIT"
] | null | null | null | Graph/Tree/BST/K-th smallest element in BST.cpp | Edith-3000/Algorithmic-Implementations | 7ff8cd615fd453a346b4e851606d47c26f05a084 | [
"MIT"
] | 5 | 2021-02-17T18:12:20.000Z | 2021-10-10T17:49:34.000Z | // Problem: https://www.interviewbit.com/problems/kth-smallest-element-in-tree/
// Ref: https://www.youtube.com/watch?v=5R9_qgIV98s&list=PL7JyMDSI2BfZugpAjdWc8ES_mYMz2F9Qo&index=3
/***************************************************************************************************/
#include<bits/stdc++.h>
using namespa... | 23.333333 | 105 | 0.593407 | Edith-3000 |
73600eecd74e10856627c6935e055c4f28133a3e | 28,295 | hpp | C++ | asmd/eita/Fmt3x_v170225.hpp | 00sapo/ASMD | 48e021f98d5fbecd09bed1cdd58024d9b471fad4 | [
"MIT"
] | 6 | 2021-09-18T08:36:26.000Z | 2022-03-25T16:37:04.000Z | asmd/eita/Fmt3x_v170225.hpp | 00sapo/ASMD | 48e021f98d5fbecd09bed1cdd58024d9b471fad4 | [
"MIT"
] | 4 | 2021-04-22T15:01:26.000Z | 2021-04-22T15:01:28.000Z | asmd/eita/Fmt3x_v170225.hpp | 00sapo/ASMD | 48e021f98d5fbecd09bed1cdd58024d9b471fad4 | [
"MIT"
] | 3 | 2021-07-13T15:11:38.000Z | 2021-11-26T07:38:00.000Z | /*
Copyright 2019 Eita Nakamura
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, subl... | 31.971751 | 460 | 0.648242 | 00sapo |
7363f7353990c3eada45224a035dea27ea37b9a6 | 13,722 | cpp | C++ | examples/model_based_segmentation.cpp | aniketmitra001/movetk | cdf0c98121da6df4cadbd715fba02b05be724218 | [
"Apache-2.0"
] | null | null | null | examples/model_based_segmentation.cpp | aniketmitra001/movetk | cdf0c98121da6df4cadbd715fba02b05be724218 | [
"Apache-2.0"
] | 1 | 2021-04-07T13:11:05.000Z | 2021-04-07T13:11:05.000Z | examples/model_based_segmentation.cpp | aniketmitra001/movetk | cdf0c98121da6df4cadbd715fba02b05be724218 | [
"Apache-2.0"
] | null | null | null | /*
* Copyright (C) 2018-2020 HERE Europe B.V.
*
* 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... | 38.436975 | 174 | 0.557936 | aniketmitra001 |
736474721932428f0b8ed0e55c77ce70e893bc53 | 3,449 | cpp | C++ | Homeworks/1_MiniDraw/1/project/src/App/viewwidget.cpp | CieloNeet/CG-project | 664747c7599636f46d2ff9758f38283658c85c08 | [
"MIT"
] | null | null | null | Homeworks/1_MiniDraw/1/project/src/App/viewwidget.cpp | CieloNeet/CG-project | 664747c7599636f46d2ff9758f38283658c85c08 | [
"MIT"
] | null | null | null | Homeworks/1_MiniDraw/1/project/src/App/viewwidget.cpp | CieloNeet/CG-project | 664747c7599636f46d2ff9758f38283658c85c08 | [
"MIT"
] | null | null | null | #include "viewwidget.h"
ViewWidget::ViewWidget(QWidget* parent)
: QWidget(parent)
{
ui.setupUi(this);
draw_status_ = false;
shape_ = NULL;
type_ = Shape::kDefault;
}
ViewWidget::~ViewWidget()
{
for (size_t i = 0; i < shape_list_.size(); i++)
{
if (shape_list_[i])
{
delete shape_list_[i];
shape_list_[... | 16.42381 | 54 | 0.641635 | CieloNeet |
736ade60875ad15853e38cc10216d8e5b7add079 | 494 | cpp | C++ | 1.1 Tipe Data dan Variabel/ascii.cpp | arryaaas/Programming-Algorithms | f469431830cbe528feb297abd47d2d6c08e0781a | [
"MIT"
] | null | null | null | 1.1 Tipe Data dan Variabel/ascii.cpp | arryaaas/Programming-Algorithms | f469431830cbe528feb297abd47d2d6c08e0781a | [
"MIT"
] | null | null | null | 1.1 Tipe Data dan Variabel/ascii.cpp | arryaaas/Programming-Algorithms | f469431830cbe528feb297abd47d2d6c08e0781a | [
"MIT"
] | null | null | null | #include <iostream>
using namespace std;
int main() {
char a, b;
cout << "Masukkan karakter pertama : "; cin >> a;
cout << "Masukkan karakter kedua : "; cin >> b;
cout << "Nilai ASCII dari " << a << " adalah " << int(a) << endl;
cout << "Nilai ASCII dari " << b << " adalah " << int(b) << endl;
... | 26 | 95 | 0.540486 | arryaaas |
736b33a6263375e7a9807ba27a4efaa5d68eb216 | 906 | cpp | C++ | tests/unit_tests/auto_vote.cpp | hennecker/pebble | 9572b868f2157cb044a60ad68c9cffc798b17144 | [
"MIT"
] | 9 | 2015-07-10T11:40:33.000Z | 2020-05-17T01:09:13.000Z | tests/unit_tests/auto_vote.cpp | hennecker/pebble | 9572b868f2157cb044a60ad68c9cffc798b17144 | [
"MIT"
] | 1 | 2018-01-03T07:55:18.000Z | 2018-01-03T07:55:18.000Z | tests/unit_tests/auto_vote.cpp | hennecker/pebble | 9572b868f2157cb044a60ad68c9cffc798b17144 | [
"MIT"
] | 15 | 2016-03-14T03:14:50.000Z | 2020-05-09T11:48:58.000Z | // Copyright (c) 2015 The Pebblecoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "gtest/gtest.h"
#include "cryptonote_core/delegate_auto_vote.h"
#include "cryptonote_core/blockchain_storage.h"
names... | 31.241379 | 71 | 0.750552 | hennecker |
736e4e194944551bc89ac46746fb1982ef222f27 | 9,373 | cpp | C++ | Development/Source/Renderers/Generic/GNRegister.cpp | h-haris/Quesa | a438ab824291ce6936a88dfae4fd0482dcba1247 | [
"BSD-3-Clause"
] | 24 | 2019-10-28T07:01:48.000Z | 2022-03-04T16:10:39.000Z | Development/Source/Renderers/Generic/GNRegister.cpp | h-haris/Quesa | a438ab824291ce6936a88dfae4fd0482dcba1247 | [
"BSD-3-Clause"
] | 8 | 2020-04-22T19:42:45.000Z | 2021-04-30T16:28:32.000Z | Development/Source/Renderers/Generic/GNRegister.cpp | h-haris/Quesa | a438ab824291ce6936a88dfae4fd0482dcba1247 | [
"BSD-3-Clause"
] | 6 | 2019-09-22T14:44:15.000Z | 2021-04-01T20:04:29.000Z | /* NAME:
GNRegister.c
DESCRIPTION:
Quesa generic renderer registration.
COPYRIGHT:
Copyright (c) 1999-2012, Quesa Developers. All rights reserved.
For the current release of Quesa, please see:
<https://github.com/jwwalker/Quesa>
Redistribution an... | 29.108696 | 92 | 0.626054 | h-haris |
736fe7f9bdc8fb046ac08ff6ebae41827508dcca | 237 | cpp | C++ | src/version.cpp | mbits-libs/utfconv | 0b1d7c6c490a5ea02077010a664389469aadd849 | [
"MIT"
] | null | null | null | src/version.cpp | mbits-libs/utfconv | 0b1d7c6c490a5ea02077010a664389469aadd849 | [
"MIT"
] | null | null | null | src/version.cpp | mbits-libs/utfconv | 0b1d7c6c490a5ea02077010a664389469aadd849 | [
"MIT"
] | null | null | null | // Copyright (c) 2020 midnightBITS
// This code is licensed under MIT license (see LICENSE for details)
#include <utf/version.hpp>
namespace utf {
semver::project_version get_version() noexcept { return version; }
} // namespace utf
| 26.333333 | 68 | 0.742616 | mbits-libs |
7370da4a9aaf03f5aa7ce1f5300a6827b7291389 | 698 | cpp | C++ | main.cpp | jefaramvangorp/nodin | 5a3e9c1abc698723f8596e09d0ad6c293c38393d | [
"MIT"
] | null | null | null | main.cpp | jefaramvangorp/nodin | 5a3e9c1abc698723f8596e09d0ad6c293c38393d | [
"MIT"
] | null | null | null | main.cpp | jefaramvangorp/nodin | 5a3e9c1abc698723f8596e09d0ad6c293c38393d | [
"MIT"
] | null | null | null |
// Includes.
#include "UI/mainwindow.h"
#include "App/App.h"
#include "System/QtBasedFileSystem.h"
// Qt.
#include <QApplication>
QString titleString()
{
QString name = QString::fromStdString(App::appName());
QString version = QString::fromStdString(App::appVersion());
return QString("%1 - v%2").arg(nam... | 18.864865 | 64 | 0.657593 | jefaramvangorp |
7371addcd7f050af53db8467d01f11e8c51d082f | 2,580 | hpp | C++ | src/parser/multi_image.hpp | LoungeCPP/PicturaMediocritas | f0aa7aa1d3ad7bfb997550529b31d164bb63e448 | [
"MIT"
] | null | null | null | src/parser/multi_image.hpp | LoungeCPP/PicturaMediocritas | f0aa7aa1d3ad7bfb997550529b31d164bb63e448 | [
"MIT"
] | 6 | 2017-11-19T18:04:42.000Z | 2017-12-30T19:32:03.000Z | src/parser/multi_image.hpp | LoungeCPP/PicturaMediocritas | f0aa7aa1d3ad7bfb997550529b31d164bb63e448 | [
"MIT"
] | null | null | null | // The MIT License (MIT)
// Copyright (c) 2017 Lounge<C++>
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the "Software"),
// to deal in the Software without restriction, including without limitation
// the rights to use, copy, m... | 30 | 91 | 0.727907 | LoungeCPP |
737b391f68076b3c68a905f16d6d99743a825250 | 4,054 | cpp | C++ | simulation/traffic_simulator/src/traffic_lights/traffic_light_manager.cpp | kmiya/scenario_simulator_v2 | 13635e661cc643c783853d1b4c060d1e3dff3458 | [
"Apache-2.0"
] | null | null | null | simulation/traffic_simulator/src/traffic_lights/traffic_light_manager.cpp | kmiya/scenario_simulator_v2 | 13635e661cc643c783853d1b4c060d1e3dff3458 | [
"Apache-2.0"
] | null | null | null | simulation/traffic_simulator/src/traffic_lights/traffic_light_manager.cpp | kmiya/scenario_simulator_v2 | 13635e661cc643c783853d1b4c060d1e3dff3458 | [
"Apache-2.0"
] | null | null | null | // Copyright 2015-2020 Tier IV, Inc. 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 app... | 34.067227 | 97 | 0.72373 | kmiya |
737e608f6eaf443f9a2128f67a62765fc87ed3b2 | 1,736 | cpp | C++ | dataset/test/modification/1526_code_insertion/26/transformation_1.cpp | Karina5005/Plagiarism | ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb | [
"MIT"
] | 3 | 2022-02-15T00:29:39.000Z | 2022-03-15T08:36:44.000Z | dataset/test/modification/1526_code_insertion/26/transformation_1.cpp | Kira5005-code/Plagiarism | ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb | [
"MIT"
] | null | null | null | dataset/test/modification/1526_code_insertion/26/transformation_1.cpp | Kira5005-code/Plagiarism | ce11f72ba21a754ca84a27e5f26a31a19d6cb6fb | [
"MIT"
] | null | null | null | #include<bits/stdc++.h>
using namespace std;
#define ll long long
#define ld long double
#define scnf(n) scanf("%d",&n)
#define lscnf(n) scanf("%lld",&n)
#define dscnf(n) scanf("%Lf",&n)
#define prin(n) printf("%d ",n)
#define lprin(n) printf("%lld ",n)
#define dprin(n) printf("%Lf ",n)
#define print(n) printf("%d\n"... | 18.666667 | 73 | 0.550691 | Karina5005 |
73821d2064687d5cb713b10320f02226c96882ab | 893 | cpp | C++ | C++ Web Server/http/response/response.cpp | Entity47/Side-Projects | ba60bc1c375acc96edff7977ac4823ba50112076 | [
"MIT"
] | null | null | null | C++ Web Server/http/response/response.cpp | Entity47/Side-Projects | ba60bc1c375acc96edff7977ac4823ba50112076 | [
"MIT"
] | null | null | null | C++ Web Server/http/response/response.cpp | Entity47/Side-Projects | ba60bc1c375acc96edff7977ac4823ba50112076 | [
"MIT"
] | null | null | null |
#include <sstream>
#include "response.hpp"
Response::Response(StatusCode status) :
statusCode{status},
headers{},
content{nullptr} {
}
void Response::setContent(std::unique_ptr<std::string> inContent, ContentType type) {
if (inContent != nullptr) {
headers.add("Content-Type", ContentTypeMap:... | 23.5 | 90 | 0.6271 | Entity47 |
7382b3e026bcdb07001cf0349b4ae17c51050373 | 5,001 | cpp | C++ | src/lib/operators/table_scan/column_like_table_scan_impl.cpp | d-justen/hyrise | 8db4770635eccf049c9e6c85c1b6b979ba5eb391 | [
"MIT"
] | 2 | 2019-01-22T19:44:32.000Z | 2019-01-22T19:52:33.000Z | src/lib/operators/table_scan/column_like_table_scan_impl.cpp | tom-lichtenstein/hyrise | a11b5bdf6be726fd88b16c6e6284a238f5ec7873 | [
"MIT"
] | 33 | 2019-02-02T09:52:50.000Z | 2019-03-07T13:14:40.000Z | src/lib/operators/table_scan/column_like_table_scan_impl.cpp | tom-lichtenstein/hyrise | a11b5bdf6be726fd88b16c6e6284a238f5ec7873 | [
"MIT"
] | null | null | null | #include "column_like_table_scan_impl.hpp"
#include <algorithm>
#include <array>
#include <map>
#include <memory>
#include <regex>
#include <sstream>
#include <string>
#include <utility>
#include <vector>
#include "storage/create_iterable_from_segment.hpp"
#include "storage/resolve_encoded_segment_type.hpp"
#include ... | 40.008 | 120 | 0.685263 | d-justen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.