hexsha stringlengths 40 40 | size int64 19 11.4M | ext stringclasses 13
values | lang stringclasses 1
value | max_stars_repo_path stringlengths 3 270 | max_stars_repo_name stringlengths 5 110 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 9 | max_stars_count float64 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 3 270 | max_issues_repo_name stringlengths 5 116 | max_issues_repo_head_hexsha stringlengths 40 78 | max_issues_repo_licenses listlengths 1 9 | max_issues_count float64 1 67k ⌀ | 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 3 270 | max_forks_repo_name stringlengths 5 116 | max_forks_repo_head_hexsha stringlengths 40 78 | max_forks_repo_licenses listlengths 1 9 | max_forks_count float64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringlengths 24 24 ⌀ | max_forks_repo_forks_event_max_datetime stringlengths 24 24 ⌀ | content stringlengths 19 11.4M | avg_line_length float64 1.93 229k | max_line_length int64 12 688k | alphanum_fraction float64 0.07 0.99 | matches listlengths 1 10 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
cd61f999a60a7d86ff92a819e7ad00b810dabbbb | 22,190 | cc | C++ | hackt_docker/hackt/src/main/compile.cc | broken-wheel/hacktist | 36e832ae7dd38b27bca9be7d0889d06054dc2806 | [
"MIT"
] | null | null | null | hackt_docker/hackt/src/main/compile.cc | broken-wheel/hacktist | 36e832ae7dd38b27bca9be7d0889d06054dc2806 | [
"MIT"
] | null | null | null | hackt_docker/hackt/src/main/compile.cc | broken-wheel/hacktist | 36e832ae7dd38b27bca9be7d0889d06054dc2806 | [
"MIT"
] | null | null | null | /**
\file "main/compile.cc"
Converts HAC source code to an object file (pre-unrolled).
This file was born from "art++2obj.cc" in earlier revision history.
$Id: compile.cc,v 1.25 2010/08/05 18:25:31 fang Exp $
*/
#define ENABLE_STACKTRACE 0
#include <iostream>
#include <list>
#include <string>
#include <map>
#... | 30.819444 | 80 | 0.672105 | [
"object"
] |
cd68866a7b05112659ad897107233759dac740ed | 12,142 | cpp | C++ | messungen/server_client/corr_client_opencl_17/corr_client_opencl/CorrWorker.cpp | tihmstar/gido_public | dcc523603b9a27b37752211715a10e30b51ce812 | [
"Unlicense"
] | 16 | 2021-04-10T16:28:00.000Z | 2021-12-12T10:15:23.000Z | messungen/server_client/corr_client_opencl_17/corr_client_opencl/CorrWorker.cpp | tihmstar/gido_public | dcc523603b9a27b37752211715a10e30b51ce812 | [
"Unlicense"
] | null | null | null | messungen/server_client/corr_client_opencl_17/corr_client_opencl/CorrWorker.cpp | tihmstar/gido_public | dcc523603b9a27b37752211715a10e30b51ce812 | [
"Unlicense"
] | 2 | 2021-04-10T16:32:36.000Z | 2021-04-11T14:13:45.000Z | //
// CorrWorker.cpp
// corr_client_opencl
//
// Created by tihmstar on 19.03.20.
// Copyright © 2020 tihmstar. All rights reserved.
//
#include "CorrWorker.hpp"
#include <netdb.h>
#include <netinet/in.h>
#include <stdlib.h>
#include <string.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <stdio.h>
#inc... | 32.816216 | 192 | 0.558887 | [
"vector",
"model"
] |
cd6c6cfb3c4f8f77fe4b027bf3a3ebf4709db7a6 | 7,814 | cc | C++ | tensorflow/lite/tools/evaluation/tasks/imagenet_image_classification/run_eval.cc | NeerajBhadani/tensorflow | 8c849c65503fef22f49f7ab843803fca9c439bdf | [
"Apache-2.0"
] | 4 | 2020-04-19T11:30:20.000Z | 2020-07-02T07:13:15.000Z | tensorflow/lite/tools/evaluation/tasks/imagenet_image_classification/run_eval.cc | NeerajBhadani/tensorflow | 8c849c65503fef22f49f7ab843803fca9c439bdf | [
"Apache-2.0"
] | 2 | 2021-08-25T16:01:49.000Z | 2022-02-10T01:13:06.000Z | tensorflow/lite/tools/evaluation/tasks/imagenet_image_classification/run_eval.cc | NeerajBhadani/tensorflow | 8c849c65503fef22f49f7ab843803fca9c439bdf | [
"Apache-2.0"
] | 1 | 2021-08-29T09:37:58.000Z | 2021-08-29T09:37:58.000Z | /* Copyright 2019 The TensorFlow Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or a... | 41.343915 | 80 | 0.695163 | [
"vector",
"model"
] |
cd703d4b3bb4f7a8e28b01d75e02d24a879ef29d | 7,411 | cpp | C++ | third_party/WebKit/Source/modules/bluetooth/BluetoothError.cpp | xzhan96/chromium.src | 1bd0cf3997f947746c0fc5406a2466e7b5f6159e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2021-01-07T18:51:03.000Z | 2021-01-07T18:51:03.000Z | third_party/WebKit/Source/modules/bluetooth/BluetoothError.cpp | emilio/chromium.src | 1bd0cf3997f947746c0fc5406a2466e7b5f6159e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | third_party/WebKit/Source/modules/bluetooth/BluetoothError.cpp | emilio/chromium.src | 1bd0cf3997f947746c0fc5406a2466e7b5f6159e | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | // 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 "modules/bluetooth/BluetoothError.h"
#include "core/dom/DOMException.h"
#include "core/dom/ExceptionCode.h"
#include "third_party/WebKit/public/... | 50.074324 | 91 | 0.682229 | [
"object"
] |
cd7126406416831a88870677389fb78cb50c9023 | 5,337 | cpp | C++ | mlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferizePass.cpp | MikeDvorskiy/llvm | 8213321ebb90110bf4f3d04fa0dc8e131a464a19 | [
"Apache-2.0"
] | null | null | null | mlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferizePass.cpp | MikeDvorskiy/llvm | 8213321ebb90110bf4f3d04fa0dc8e131a464a19 | [
"Apache-2.0"
] | null | null | null | mlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferizePass.cpp | MikeDvorskiy/llvm | 8213321ebb90110bf4f3d04fa0dc8e131a464a19 | [
"Apache-2.0"
] | null | null | null | //===- ComprehensiveBufferize.cpp - Single pass bufferization -------------===//
//
// 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
//
//===---------------------------... | 38.956204 | 80 | 0.746674 | [
"vector"
] |
cd7271cd465ddee611a44c24ab018ccf55dcd357 | 33,798 | cpp | C++ | 10.02_devices/2_src/uda.cpp | jks-prv/QUniBone | 090b400db2d00694873e0f268a18b8ccf662386e | [
"BSD-2-Clause"
] | null | null | null | 10.02_devices/2_src/uda.cpp | jks-prv/QUniBone | 090b400db2d00694873e0f268a18b8ccf662386e | [
"BSD-2-Clause"
] | null | null | null | 10.02_devices/2_src/uda.cpp | jks-prv/QUniBone | 090b400db2d00694873e0f268a18b8ccf662386e | [
"BSD-2-Clause"
] | null | null | null | /*
uda.cpp: Implementation of the MSCP port (qunibus interface).
Copyright Vulcan Inc. 2019 via Living Computers: Museum + Labs, Seattle, WA.
Contributed under the BSD 2-clause license.
This provides logic for the UDA50's SA and IP registers,
the four-step initialization handshake, DMA transfers ... | 33.005859 | 108 | 0.553287 | [
"object",
"vector",
"model"
] |
cd73302619a9061162fa3559d39677c452c24197 | 12,115 | hpp | C++ | src/benchmarks/clsparse-bench/functions/clfunc_xSpMSpM.hpp | xfong/clSPARSE | fa026dcb99a374678624530dff041322d67e0630 | [
"Apache-2.0"
] | 164 | 2015-08-03T21:53:40.000Z | 2022-03-31T14:58:11.000Z | src/benchmarks/clsparse-bench/functions/clfunc_xSpMSpM.hpp | xfong/clSPARSE | fa026dcb99a374678624530dff041322d67e0630 | [
"Apache-2.0"
] | 94 | 2015-08-04T15:49:30.000Z | 2021-02-01T14:28:35.000Z | src/benchmarks/clsparse-bench/functions/clfunc_xSpMSpM.hpp | xfong/clSPARSE | fa026dcb99a374678624530dff041322d67e0630 | [
"Apache-2.0"
] | 76 | 2015-08-04T00:00:44.000Z | 2021-09-17T17:53:06.000Z | /* ************************************************************************
* Copyright 2015 Advanced Micro Devices, 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... | 36.935976 | 214 | 0.625175 | [
"vector"
] |
cd768c1fbd80cfd522bb710bdaf8d2865ec27434 | 1,290 | hpp | C++ | src/webots/user_commands/WbResizeCommand.hpp | yjf18340/webots | 60d441c362031ab8fde120cc0cd97bdb1a31a3d5 | [
"Apache-2.0"
] | 1 | 2019-11-13T08:12:02.000Z | 2019-11-13T08:12:02.000Z | src/webots/user_commands/WbResizeCommand.hpp | chinakwy/webots | 7c35a359848bafe81fe0229ac2ed587528f4c73e | [
"Apache-2.0"
] | null | null | null | src/webots/user_commands/WbResizeCommand.hpp | chinakwy/webots | 7c35a359848bafe81fe0229ac2ed587528f4c73e | [
"Apache-2.0"
] | 1 | 2020-09-25T02:01:45.000Z | 2020-09-25T02:01:45.000Z | // Copyright 1996-2019 Cyberbotics Ltd.
//
// 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 agr... | 26.875 | 90 | 0.747287 | [
"geometry"
] |
cd77d471ba082206c95bac673127485ad8d035ff | 5,643 | cc | C++ | example/speech-demo/python_wrap/ctypes.cc | axbaretto/mxnet | 5f593885356ff6d14f5519fa18e79b944beb51cd | [
"Apache-2.0"
] | 36 | 2018-02-10T07:14:27.000Z | 2021-09-03T09:11:59.000Z | example/speech-demo/python_wrap/ctypes.cc | yanghaojin/BMXNet | 102f8d0ed59529bbd162c37bf07ae58ad6c4caa1 | [
"Apache-2.0"
] | 3 | 2017-07-10T21:49:18.000Z | 2017-07-12T22:40:06.000Z | example/speech-demo/python_wrap/ctypes.cc | yanghaojin/BMXNet | 102f8d0ed59529bbd162c37bf07ae58ad6c4caa1 | [
"Apache-2.0"
] | 15 | 2017-09-20T15:24:53.000Z | 2018-01-11T11:14:03.000Z | #include <iostream>
#include "util/table-types.h"
#include "hmm/posterior.h"
#include "nnet/nnet-nnet.h"
#include "cudamatrix/cu-device.h"
class Foo{
public:
Foo() {
x[0] = 0.5f;
x[1] = 1.5f;
x[2] = 2.5f;
x[3] = 3.5f;
x[4] = 4.5f;
}
... | 24.969027 | 131 | 0.57434 | [
"object"
] |
cd7a7a7bef202c9d9f11519a1b7527bf2de69561 | 14,417 | cpp | C++ | cpp-restsdk/model/Supply.cpp | thracesystems/powermeter-api | 7bdab034ff916ee49e986de88f157bd044e981c1 | [
"Apache-2.0"
] | null | null | null | cpp-restsdk/model/Supply.cpp | thracesystems/powermeter-api | 7bdab034ff916ee49e986de88f157bd044e981c1 | [
"Apache-2.0"
] | null | null | null | cpp-restsdk/model/Supply.cpp | thracesystems/powermeter-api | 7bdab034ff916ee49e986de88f157bd044e981c1 | [
"Apache-2.0"
] | null | null | null | /**
* PowerMeter API
* API
*
* The version of the OpenAPI document: 2021.4.1
*
* NOTE: This class is auto generated by OpenAPI-Generator 4.3.1.
* https://openapi-generator.tech
* Do not edit the class manually.
*/
#include "Supply.h"
namespace powermeter {
namespace model {
Supply::Supply()
{
m_Id ... | 26.897388 | 141 | 0.658944 | [
"object",
"model"
] |
cd7fc19bca89aa8e11c22b70a11fdcb794b7d405 | 8,926 | cc | C++ | thirdparty/glog/src/vlog_is_on.cc | vinben/Rotopp | f0c25db5bd25074c55ff0f67539a2452d92aaf72 | [
"Unlicense"
] | 47 | 2016-07-27T07:22:06.000Z | 2021-08-17T13:08:19.000Z | src/third_party/glog/src/vlog_is_on.cc | rgkoo/libmv-blender | cdf65edbb80d8904e2df9a20116d02546df93a81 | [
"MIT"
] | 1 | 2016-09-24T06:04:39.000Z | 2016-09-25T10:34:19.000Z | src/third_party/glog/src/vlog_is_on.cc | rgkoo/libmv-blender | cdf65edbb80d8904e2df9a20116d02546df93a81 | [
"MIT"
] | 13 | 2016-07-27T10:44:35.000Z | 2020-07-01T21:08:33.000Z | // Copyright (c) 1999, 2007, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of c... | 35.141732 | 79 | 0.667488 | [
"vector"
] |
cd811c1e0ec64b95c93a564db4154e0d92450911 | 12,428 | cpp | C++ | DWriteCore/DWriteCoreGallery/DWriteCoreGallery/TextRenderer.cpp | pmpurifoy/Project-Reunion-Samples | 23015cf649c98eaa305921e41eef21e8fe2e48e9 | [
"MIT"
] | 1 | 2021-07-06T14:30:29.000Z | 2021-07-06T14:30:29.000Z | DWriteCore/DWriteCoreGallery/DWriteCoreGallery/TextRenderer.cpp | pmpurifoy/Project-Reunion-Samples | 23015cf649c98eaa305921e41eef21e8fe2e48e9 | [
"MIT"
] | null | null | null | DWriteCore/DWriteCoreGallery/DWriteCoreGallery/TextRenderer.cpp | pmpurifoy/Project-Reunion-Samples | 23015cf649c98eaa305921e41eef21e8fe2e48e9 | [
"MIT"
] | null | null | null | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
#include "Main.h"
#include "Helpers.h"
#include "TextRenderer.h"
TextRenderer::TextRenderer(HWND hwnd)
{
auto hdc = wil::GetDC(hwnd);
THROW_LAST_ERROR_IF_NULL(hdc);
int dpi = GetDeviceCaps(hdc.get(), LOGPIXELSY);
... | 28.702079 | 157 | 0.630914 | [
"transform"
] |
cd87e3cb30d456a01375e5bc61a0e2e171c166b7 | 724 | cpp | C++ | AcWing/LeetCode究极班/210.cpp | LauZyHou/- | 66c047fe68409c73a077eae561cf82b081cf8e45 | [
"MIT"
] | 7 | 2019-02-25T13:15:00.000Z | 2021-12-21T22:08:39.000Z | AcWing/LeetCode究极班/210.cpp | LauZyHou/- | 66c047fe68409c73a077eae561cf82b081cf8e45 | [
"MIT"
] | null | null | null | AcWing/LeetCode究极班/210.cpp | LauZyHou/- | 66c047fe68409c73a077eae561cf82b081cf8e45 | [
"MIT"
] | 1 | 2019-04-03T06:12:46.000Z | 2019-04-03T06:12:46.000Z | class Solution {
public:
vector<int> findOrder(int n, vector<vector<int>>& edges) {
vector<vector<int>> g(n);
vector<int> d(n);
for (auto& e: edges) {
int b = e[0], a = e[1];
g[a].emplace_back(b);
d[b] ++;
}
queue<int> q;
for (int ... | 24.133333 | 62 | 0.348066 | [
"vector"
] |
cd8c48cb0671b4bd5edd352d8ce9cb77f5a0cf27 | 4,361 | cc | C++ | internal/ceres/preprocessor.cc | hitxiaomi/ceres-solver | c3129c3d4a4830d23a310bd78c240898c82b36e9 | [
"Apache-2.0"
] | 2,425 | 2015-01-23T00:02:03.000Z | 2022-03-31T22:15:00.000Z | internal/ceres/preprocessor.cc | hitxiaomi/ceres-solver | c3129c3d4a4830d23a310bd78c240898c82b36e9 | [
"Apache-2.0"
] | 624 | 2015-03-18T14:36:29.000Z | 2022-03-31T16:06:14.000Z | internal/ceres/preprocessor.cc | hitxiaomi/ceres-solver | c3129c3d4a4830d23a310bd78c240898c82b36e9 | [
"Apache-2.0"
] | 989 | 2015-01-14T14:50:27.000Z | 2022-03-30T15:20:06.000Z | // Ceres Solver - A fast non-linear least squares minimizer
// Copyright 2015 Google Inc. All rights reserved.
// http://ceres-solver.org/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of so... | 41.141509 | 80 | 0.737904 | [
"vector",
"model"
] |
cd8d6e0e10c0df19c6732a0e0934658dd94776cb | 4,478 | cpp | C++ | cnippet/Configuration_C.cpp | ludanpr/psychec | 3b4e057995e103c62d72b50e8fac1088f2b19727 | [
"BSD-3-Clause"
] | null | null | null | cnippet/Configuration_C.cpp | ludanpr/psychec | 3b4e057995e103c62d72b50e8fac1088f2b19727 | [
"BSD-3-Clause"
] | null | null | null | cnippet/Configuration_C.cpp | ludanpr/psychec | 3b4e057995e103c62d72b50e8fac1088f2b19727 | [
"BSD-3-Clause"
] | null | null | null | // Copyright (c) 2016/17/18/19/20/21/22 Leandro T. C. Melo <ltcmelo@gmail.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 without limitation the righ... | 42.647619 | 97 | 0.646494 | [
"vector"
] |
cd92b632432d8da8c8c3d3e41c96231cf22efab2 | 6,267 | hpp | C++ | drivers/sick_ldmrs_driver/src/driver/src/tools/SickThread.hpp | alanjclark/autoware.ai | ba97edbbffb6f22e78912bf96400a59ef6a13daf | [
"Apache-2.0"
] | 64 | 2018-11-19T02:34:05.000Z | 2021-12-27T06:19:48.000Z | ros/src/sensing/drivers/lidar/packages/sick/ldmrs/sick_ldmrs_driver/src/driver/src/tools/SickThread.hpp | anhnv3991/autoware | d5b2ed9dc309193c8a2a7c77a2b6c88104c28328 | [
"Apache-2.0"
] | 40 | 2019-06-24T16:56:15.000Z | 2022-02-28T13:41:58.000Z | ros/src/sensing/drivers/lidar/packages/sick/ldmrs/sick_ldmrs_driver/src/driver/src/tools/SickThread.hpp | anhnv3991/autoware | d5b2ed9dc309193c8a2a7c77a2b6c88104c28328 | [
"Apache-2.0"
] | 34 | 2018-11-27T08:57:32.000Z | 2022-02-18T08:06:04.000Z | //
// SickThread.hpp
//
#ifndef SICKTHREAD_HPP
#define SICKTHREAD_HPP
#include "../BasicDatatypes.hpp"
#include <pthread.h>
#include <unistd.h>
extern "C" void* wrapper_prerun(void*);
class ThreadWrapperBase
{
pthread_t t_id;
friend void* wrapper_prerun(void*);
virtual void thread_entry() = 0;
protect... | 24.196911 | 90 | 0.657252 | [
"object"
] |
cd96871c70f0128ffd49c7f20e8b2d4f701b446d | 3,666 | hpp | C++ | SpaceNotificationsMain.hpp | TerabyteForever/SpaceNotifications | 2f733dc43a23180b9d17de289fc651807e0655d0 | [
"MIT"
] | 1 | 2020-09-28T19:36:43.000Z | 2020-09-28T19:36:43.000Z | SpaceNotificationsMain.hpp | TerabyteForever/SpaceNotifications | 2f733dc43a23180b9d17de289fc651807e0655d0 | [
"MIT"
] | null | null | null | SpaceNotificationsMain.hpp | TerabyteForever/SpaceNotifications | 2f733dc43a23180b9d17de289fc651807e0655d0 | [
"MIT"
] | null | null | null | //This header is the client side API of the SpaceNotifications. It is designed for the client applications that uses SpaceNotifications.
#include <string>
#include <tuple>
#include <vector>
#include <iostream>
#include <fstream>
#include <exception>
#include <ctime>
#include "include/Colorized.hpp"
//Shared memory supp... | 25.458333 | 243 | 0.528914 | [
"vector"
] |
End of preview. Expand in Data Studio
No dataset card yet
- Downloads last month
- 9