max_stars_count
int64
301
224k
text
stringlengths
6
1.05M
token_count
int64
3
727k
1,002
<gh_stars>1000+ // Copyright (c) Microsoft Corporation. All rights reserved. // // Licensed under the MIT License. See LICENSE.txt in the project root for license information. #pragma once namespace ABI { namespace Microsoft { namespace Graphics { namespace Canvas { namespace UI { namespace Xaml { class AnimatedC...
1,419
9,425
""" Test utility methods that the idem module and state share """ from contextlib import contextmanager import salt.utils.idem as idem import salt.utils.path from tests.support.case import TestCase from tests.support.unit import skipIf HAS_IDEM = not salt.utils.path.which("idem") @skipIf(not idem.HAS_POP[0], str(id...
608
1,056
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
12,749
1,241
// Copyright (c) 2020-2021 Dr. <NAME> and <NAME> // Please see LICENSE for license or visit https://github.com/taocpp/PEGTL/ #include <iomanip> #include <iostream> #include <tao/pegtl.hpp> #include <tao/pegtl/contrib/json.hpp> #include <tao/pegtl/contrib/parse_tree.hpp> #include <tao/pegtl/contrib/parse_tree_to_dot.h...
984
2,921
{ "name": "Throne", "type": "ERC20", "symbol": "THN", "decimals": 18, "website": "https://www.thr.one", "description": "Throne has developed an exciting and disruptive blockchain technology that will transform our relationship to content and empower content creators like never before.", "exp...
167
1,338
<reponame>Kirishikesan/haiku<gh_stars>1000+ #ifndef CPPUNITUI_TEXT_TESTRUNNER_H #define CPPUNITUI_TEXT_TESTRUNNER_H #include <cppunit/Portability.h> #include <string> #include <vector> namespace CppUnit { class Outputter; class Test; class TestSuite; class TextOutputter; class TestResult; class TestResultCollector; ...
928
778
#ifndef AMGCL_MPI_DIRECT_SOLVER_PASTIX_HPP #define AMGCL_MPI_DIRECT_SOLVER_PASTIX_HPP /* The MIT License Copyright (c) 2012-2020 <NAME> <<EMAIL>> 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 ...
4,271
9,136
<filename>examples/OpenCL/CommonOpenCL/GpuDemoInternalData.h #ifndef GPU_DEMO_INTERNAL_DATA_H #define GPU_DEMO_INTERNAL_DATA_H #include "Bullet3OpenCL/Initialize/b3OpenCLInclude.h" struct GpuDemoInternalData { cl_platform_id m_platformId; cl_context m_clContext; cl_device_id m_clDevice; cl_command_queue m_clQueue...
240
14,668
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "content/test/sandbox_status_service.h" #include "mojo/public/cpp/bindings/self_owned_receiver.h" #include "sandbox/policy/linux/sandbox_linux.h...
304
343
<reponame>talatkuyuk/blessed-android package com.welie.blessed; import static android.bluetooth.le.ScanSettings.SCAN_MODE_BALANCED; import static android.bluetooth.le.ScanSettings.SCAN_MODE_LOW_LATENCY; import static android.bluetooth.le.ScanSettings.SCAN_MODE_LOW_POWER; /** * This class represents the possible scan...
446
1,886
<gh_stars>1000+ typedef struct _typeobject { PyObject_VAR_HEAD const char *tp_name; /* For printing, in format "<module>.<name>" */ Py_ssize_t tp_basicsize, tp_itemsize; /* For allocation */ /* Methods to implement standard operations */ destructor tp_dealloc; Py_ssize_t tp_vectorcall_offset; ...
895
1,007
# -*- coding: utf-8 -*- """ .. invisible: _ _ _____ _ _____ _____ | | | | ___| | | ___/ ___| | | | | |__ | | | |__ \ `--. | | | | __|| | | __| `--. \ \ \_/ / |___| |___| |___/\__/ / \___/\____/\_____|____/\____/ Created on Nov 12, 2014 ███████████████████████████████████████...
5,584