hexsha stringlengths 40 40 | size int64 5 1.05M | ext stringclasses 588
values | lang stringclasses 305
values | max_stars_repo_path stringlengths 3 363 | max_stars_repo_name stringlengths 5 118 | max_stars_repo_head_hexsha stringlengths 40 40 | max_stars_repo_licenses listlengths 1 10 | max_stars_count float64 1 191k ⌀ | max_stars_repo_stars_event_min_datetime stringdate 2015-01-01 00:00:35 2022-03-31 23:43:49 ⌀ | max_stars_repo_stars_event_max_datetime stringdate 2015-01-01 12:37:38 2022-03-31 23:59:52 ⌀ | max_issues_repo_path stringlengths 3 363 | max_issues_repo_name stringlengths 5 118 | max_issues_repo_head_hexsha stringlengths 40 40 | max_issues_repo_licenses listlengths 1 10 | max_issues_count float64 1 134k ⌀ | 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 363 | max_forks_repo_name stringlengths 5 135 | max_forks_repo_head_hexsha stringlengths 40 40 | max_forks_repo_licenses listlengths 1 10 | max_forks_count float64 1 105k ⌀ | max_forks_repo_forks_event_min_datetime stringdate 2015-01-01 00:01:02 2022-03-31 23:27:27 ⌀ | max_forks_repo_forks_event_max_datetime stringdate 2015-01-03 08:55:07 2022-03-31 23:59:24 ⌀ | content stringlengths 5 1.05M | avg_line_length float64 1.13 1.04M | max_line_length int64 1 1.05M | alphanum_fraction float64 0 1 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c5901b008cf06df1e5f006c01c31bbbcd28108cd | 15,324 | c | C | src/bltinmodule.c | tomjackbear/python-0.9.1 | 00adeddadaede51e92447523266c9d5616201c38 | [
"FSFAP"
] | 4 | 2020-07-21T09:47:52.000Z | 2022-01-05T21:43:36.000Z | src/bltinmodule.c | tomjackbear/python-0.9.1 | 00adeddadaede51e92447523266c9d5616201c38 | [
"FSFAP"
] | 1 | 2020-09-23T20:46:33.000Z | 2020-09-23T20:59:57.000Z | src/bltinmodule.c | tomjackbear/python-0.9.1 | 00adeddadaede51e92447523266c9d5616201c38 | [
"FSFAP"
] | 4 | 2020-07-13T00:45:24.000Z | 2021-09-04T14:50:46.000Z | /***********************************************************
Copyright 1991 by Stichting Mathematisch Centrum, Amsterdam, The
Netherlands.
All Rights Reserved
Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee is hereby granted,
... | 27.364286 | 76 | 0.485839 |
a603fc433dad3c2917fc9d0decbcdaf8a6d00b2e | 1,214 | h | C | Ritualberater/RuneTreeModel.h | odom11/ritualberater | b5af60785f8a7b5ec2e0a6be53c4441cc38ba94d | [
"MIT"
] | null | null | null | Ritualberater/RuneTreeModel.h | odom11/ritualberater | b5af60785f8a7b5ec2e0a6be53c4441cc38ba94d | [
"MIT"
] | null | null | null | Ritualberater/RuneTreeModel.h | odom11/ritualberater | b5af60785f8a7b5ec2e0a6be53c4441cc38ba94d | [
"MIT"
] | null | null | null | #pragma once
#include <memory>
#include <QModelIndex>
#include <QVariant>
#include "AbstractRuneNode.h"
#include "RuneLeaf.h"
class RuneTreeModel : public QAbstractItemModel {
Q_OBJECT
public:
explicit RuneTreeModel(const QString& data, QObject* parent = nullptr);
QVariant data(const QModelIndex& index,... | 35.705882 | 78 | 0.737232 |
a60511ea7264be12b0a56d4b1e14c848d2c46187 | 14,905 | c | C | BSP_DISCO_F769NI/Drivers/BSP/Components/adv7533/adv7533.c | tdjastrzebski/DISCO-F769NI_LCD_demo | 475d6367f0370dd798e1fd32c5ad953d65bb6e98 | [
"MIT"
] | 3 | 2020-02-13T12:56:41.000Z | 2021-04-02T14:32:09.000Z | BSP_DISCO_F769NI/Drivers/BSP/Components/adv7533/adv7533.c | tdjastrzebski/DISCO-F769NI_LCD_demo | 475d6367f0370dd798e1fd32c5ad953d65bb6e98 | [
"MIT"
] | null | null | null | BSP_DISCO_F769NI/Drivers/BSP/Components/adv7533/adv7533.c | tdjastrzebski/DISCO-F769NI_LCD_demo | 475d6367f0370dd798e1fd32c5ad953d65bb6e98 | [
"MIT"
] | null | null | null | /**
******************************************************************************
* @file adv7533.c
* @author MCD Application Team
* @version V1.0.1
* @date 05-December-2016
* @brief This file provides the ADV7533 DSI to HDMI bridge driver
************************************************... | 28.998054 | 106 | 0.63529 |
43ac88eb2db1cfaf936af7861870d739f5ab9680 | 4,689 | c | C | examples/native/mbed/test_os/test_Semaphore/test_Semaphore.c | knmcguire/gap_sdk | 7b0a09a353ab6f0550793d40bd46e98051f4a3d7 | [
"Apache-2.0"
] | 1 | 2020-01-29T15:39:31.000Z | 2020-01-29T15:39:31.000Z | examples/native/mbed/test_os/test_Semaphore/test_Semaphore.c | knmcguire/gap_sdk | 7b0a09a353ab6f0550793d40bd46e98051f4a3d7 | [
"Apache-2.0"
] | null | null | null | examples/native/mbed/test_os/test_Semaphore/test_Semaphore.c | knmcguire/gap_sdk | 7b0a09a353ab6f0550793d40bd46e98051f4a3d7 | [
"Apache-2.0"
] | 1 | 2021-07-01T15:43:05.000Z | 2021-07-01T15:43:05.000Z | /**
* @file
* Mbed OS Standard Test
* Reference : https://www.keil.com/pack/doc/CMSIS/RTOS2/html/group__CMSIS__RTOS__SemaphoreMgmt.html
*/
// MBED OS
#include "rtx_lib.h"
// GAP Driver API
#include "gap_common.h"
#define TASK_SIZE 1024
GAP_FC_DATA __attribute__ ((aligned (8))) unsigned char TASK1_STK[TASK_SIZE];
G... | 23.923469 | 107 | 0.616123 |
b762cf6a7f0557aad570af87ca831043916a2e90 | 12,801 | c | C | os/fs/inode/fs_files.c | ziyik/TizenRT-1 | d510c03303fcfa605bc12c60f826fa5642bbe406 | [
"Apache-2.0"
] | 511 | 2017-03-29T09:14:09.000Z | 2022-03-30T23:10:29.000Z | os/fs/inode/fs_files.c | ziyik/TizenRT-1 | d510c03303fcfa605bc12c60f826fa5642bbe406 | [
"Apache-2.0"
] | 4,673 | 2017-03-29T10:43:43.000Z | 2022-03-31T08:33:44.000Z | os/fs/inode/fs_files.c | ziyik/TizenRT-1 | d510c03303fcfa605bc12c60f826fa5642bbe406 | [
"Apache-2.0"
] | 642 | 2017-03-30T20:45:33.000Z | 2022-03-24T17:07:33.000Z | /****************************************************************************
*
* Copyright 2016 Samsung Electronics 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... | 27.411135 | 79 | 0.526678 |
2c0676e56fe3a8375f10ef31df372a155a13c124 | 1,956 | h | C | adios-1.9.0/src/public/adios_types.h | swatisgupta/Adaptive-compression | b97a1d3d3e0e968f59c7023c7367a7efa9f672d0 | [
"BSD-2-Clause"
] | null | null | null | adios-1.9.0/src/public/adios_types.h | swatisgupta/Adaptive-compression | b97a1d3d3e0e968f59c7023c7367a7efa9f672d0 | [
"BSD-2-Clause"
] | null | null | null | adios-1.9.0/src/public/adios_types.h | swatisgupta/Adaptive-compression | b97a1d3d3e0e968f59c7023c7367a7efa9f672d0 | [
"BSD-2-Clause"
] | null | null | null | /*
* ADIOS is freely available under the terms of the BSD license described
* in the COPYING file in the top level directory of this source distribution.
*
* Copyright (c) 2008 - 2009. UT-BATTELLE, LLC. All rights reserved.
*/
#ifndef ADIOS_TYPES_H
#define ADIOS_TYPES_H
#ifdef __cplusplus
extern "C" {
#endif
/... | 34.928571 | 84 | 0.441207 |
c8ee436fb34949b96355bc2d574783ab1481e5ce | 363 | c | C | src/common/datatype.c | gvallee/collective_profiler | b4abd3ab68dfd385e15c7ad80a50630c5bde9094 | [
"BSD-3-Clause"
] | 8 | 2021-03-23T15:34:55.000Z | 2021-06-17T06:55:43.000Z | src/common/datatype.c | gvallee/collective_profiler | b4abd3ab68dfd385e15c7ad80a50630c5bde9094 | [
"BSD-3-Clause"
] | 12 | 2021-03-01T06:20:39.000Z | 2021-11-02T03:38:37.000Z | src/common/datatype.c | gvallee/collective_profiler | b4abd3ab68dfd385e15c7ad80a50630c5bde9094 | [
"BSD-3-Clause"
] | 7 | 2021-04-12T21:34:02.000Z | 2021-06-18T22:32:40.000Z | /*************************************************************************
* Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved.
*
* See LICENSE.txt for license information
************************************************************************/
#include <stdbool.h>
#include <stdlib.h>
#include <assert.h... | 25.928571 | 74 | 0.418733 |
087434b9e09c84d4e57e5d5727467d03d806a112 | 5,441 | h | C | Saturn/src/Saturn/Scene/Components.h | BEASTSM96/Saturn-Engine | a018f5602c1583ea4802154924fb0452d7582b8d | [
"MIT"
] | 17 | 2020-10-22T14:46:27.000Z | 2022-01-12T02:09:32.000Z | Saturn/src/Saturn/Scene/Components.h | BEASTSM96/Saturn-Engine | a018f5602c1583ea4802154924fb0452d7582b8d | [
"MIT"
] | null | null | null | Saturn/src/Saturn/Scene/Components.h | BEASTSM96/Saturn-Engine | a018f5602c1583ea4802154924fb0452d7582b8d | [
"MIT"
] | 2 | 2020-12-04T04:06:54.000Z | 2020-12-21T05:38:24.000Z | /********************************************************************************************
* *
* *
* ... | 28.486911 | 93 | 0.497151 |
860134c7389b4d89c46d9e353ec39f9690ca379d | 4,609 | h | C | nx/include/switch/services/usb.h | Atmosphere-NX/libnx | b2bee550ffc97fcb6d30cc8f9da55be53f8b97af | [
"0BSD"
] | 27 | 2018-04-28T18:47:56.000Z | 2022-03-24T01:10:10.000Z | nx/include/switch/services/usb.h | Atmosphere-NX/libnx | b2bee550ffc97fcb6d30cc8f9da55be53f8b97af | [
"0BSD"
] | null | null | null | nx/include/switch/services/usb.h | Atmosphere-NX/libnx | b2bee550ffc97fcb6d30cc8f9da55be53f8b97af | [
"0BSD"
] | 11 | 2018-06-15T21:55:26.000Z | 2022-03-27T14:55:50.000Z | /**
* @file usb.h
* @brief Common USB (usb:*) service IPC header.
* @author SciresM, yellows8
* @copyright libnx Authors
*/
#pragma once
#include "../types.h"
#include "../services/sm.h"
#include "../kernel/event.h"
/// Names starting with "libusb" were changed to "usb" to avoid collision with actual libusb if it... | 28.80625 | 135 | 0.72315 |
886870ecd270e9f56d8a16cab81e22630167893f | 761 | h | C | MySlambook2/ch13/gx_tinySLAM/include/myslam/config.h | liuyang9609/SLAMProgramming | 69522f6332e21183e6e0e5c34a9f48c9c580bb43 | [
"MIT"
] | null | null | null | MySlambook2/ch13/gx_tinySLAM/include/myslam/config.h | liuyang9609/SLAMProgramming | 69522f6332e21183e6e0e5c34a9f48c9c580bb43 | [
"MIT"
] | null | null | null | MySlambook2/ch13/gx_tinySLAM/include/myslam/config.h | liuyang9609/SLAMProgramming | 69522f6332e21183e6e0e5c34a9f48c9c580bb43 | [
"MIT"
] | null | null | null | #pragma once
#ifndef MYSLAM_CONFIG_H
#define MYSLAM_CONFIG_H
#include "myslam/common_include.h"
namespace myslam {
/**
* 配置类,使用SetParameterFile确定配置文件
* 然后用Get得到对应值
* 单例模式
*/
class Config {
private:
static std::shared_ptr<Config> config_;
cv::FileStorage file_;
Config() {} // pri... | 21.742857 | 66 | 0.633377 |
88f3fb7bcebcb1d4e41d2d88f1548b1d2d7c4f2f | 930 | h | C | SDKs/CryCode/3.6.15/CryEngine/CryAction/VehicleSystem/VehiclePartAnimatedChar.h | amrhead/FireNET | 34d439aa0157b0c895b20b2b664fddf4f9b84af1 | [
"BSD-2-Clause"
] | 4 | 2017-12-18T20:10:16.000Z | 2021-02-07T21:21:24.000Z | SDKs/CryCode/3.8.1/CryEngine/CryAction/VehicleSystem/VehiclePartAnimatedChar.h | amrhead/FireNET | 34d439aa0157b0c895b20b2b664fddf4f9b84af1 | [
"BSD-2-Clause"
] | null | null | null | SDKs/CryCode/3.8.1/CryEngine/CryAction/VehicleSystem/VehiclePartAnimatedChar.h | amrhead/FireNET | 34d439aa0157b0c895b20b2b664fddf4f9b84af1 | [
"BSD-2-Clause"
] | 3 | 2019-03-11T21:36:15.000Z | 2021-02-07T21:21:26.000Z | /*************************************************************************
Crytek Source File.
Copyright (C), Crytek Studios, 2001-2011.
-------------------------------------------------------------------------
$Id$
$DateTime$
Description: Implements a part for vehicles which extends the VehiclePartAnimated
but ... | 27.352941 | 81 | 0.541935 |
0053c618e30e77abbc17deb233cc3011fa269ddb | 3,822 | h | C | Include/10.0.17134.0/cppwinrt/winrt/impl/Windows.UI.Text.Core.2.h | sezero/windows-sdk-headers | e8e9d4d50769ded01a2df905c6bf4355eb3fa8b5 | [
"MIT"
] | 5 | 2020-05-29T06:22:17.000Z | 2021-11-28T08:21:38.000Z | Include/10.0.17134.0/cppwinrt/winrt/impl/Windows.UI.Text.Core.2.h | sezero/windows-sdk-headers | e8e9d4d50769ded01a2df905c6bf4355eb3fa8b5 | [
"MIT"
] | null | null | null | Include/10.0.17134.0/cppwinrt/winrt/impl/Windows.UI.Text.Core.2.h | sezero/windows-sdk-headers | e8e9d4d50769ded01a2df905c6bf4355eb3fa8b5 | [
"MIT"
] | 5 | 2020-05-30T04:15:11.000Z | 2021-11-28T08:48:56.000Z | // C++/WinRT v1.0.180227.3
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#pragma once
#include "winrt/impl/Windows.Foundation.1.h"
#include "winrt/impl/Windows.Globalization.1.h"
#include "winrt/impl/Windows.UI.Text.1.h"
#include "winrt/impl/Windows.UI.ViewManagement... | 27.695652 | 114 | 0.774725 |
159f20e0439d9ec7751331da9d8b6354b786b0de | 775 | h | C | src/Camera.h | NoahR02/MinecraftClone | e0b1621a15a0ce4726cac66e7a418ce38c3756dd | [
"Unlicense"
] | null | null | null | src/Camera.h | NoahR02/MinecraftClone | e0b1621a15a0ce4726cac66e7a418ce38c3756dd | [
"Unlicense"
] | null | null | null | src/Camera.h | NoahR02/MinecraftClone | e0b1621a15a0ce4726cac66e7a418ce38c3756dd | [
"Unlicense"
] | null | null | null | #pragma once
/*
* TODO:
* Research the math behind the camera code and make it smoother.
*/
/**
*
* Almost all of the camera code is from this youtube tutorial:
* https://www.youtube.com/watch?v=86_pQCKOIPk
*
*/
#include "Renderer/ShaderProgram.h"
#include "Input.h"
#include "Window.h"
struct Camera {
gl... | 20.394737 | 101 | 0.687742 |
15bd544ff1321b0d07ca11dcd562ec31c5382723 | 1,694 | h | C | chrome/browser/chromeos/app_mode/kiosk_app_prefs_local_state.h | GnorTech/chromium | e1c7731d5bd099ca5544fcf8eda3867d4ce5bab5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2018-03-10T13:08:49.000Z | 2018-03-10T13:08:49.000Z | chrome/browser/chromeos/app_mode/kiosk_app_prefs_local_state.h | GnorTech/chromium | e1c7731d5bd099ca5544fcf8eda3867d4ce5bab5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | null | null | null | chrome/browser/chromeos/app_mode/kiosk_app_prefs_local_state.h | GnorTech/chromium | e1c7731d5bd099ca5544fcf8eda3867d4ce5bab5 | [
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 1 | 2020-11-04T07:19:31.000Z | 2020-11-04T07:19:31.000Z | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_APP_PREFS_LOCAL_STATE_H_
#define CHROME_BROWSER_CHROMEOS_APP_MODE_KIOSK_APP_PREFS_LOCAL_STATE_H_
#include ... | 32.576923 | 74 | 0.803424 |
4b9ecb3d8c5e918b479ce492807f470ee3890933 | 478 | h | C | sources/vehicle.h | xiasun/vehicles_tracking | 18234c3a79bf97cc9f54875a5d9acdcda539b045 | [
"Apache-2.0"
] | 1 | 2019-12-08T03:53:35.000Z | 2019-12-08T03:53:35.000Z | sources/vehicle.h | xiasun/vehicles_tracking | 18234c3a79bf97cc9f54875a5d9acdcda539b045 | [
"Apache-2.0"
] | null | null | null | sources/vehicle.h | xiasun/vehicles_tracking | 18234c3a79bf97cc9f54875a5d9acdcda539b045 | [
"Apache-2.0"
] | null | null | null | #ifndef VEHICLE_H
#define VEHICLE_H
#include <vector>
#include <opencv2/opencv.hpp>
#include "box2.h"
class Vehicle {
public:
explicit Vehicle();
explicit Vehicle(box firstBox);
~Vehicle();
std::string brand;
std::string size;
int numFrames; // total number of frames, to calculate speed
s... | 20.782609 | 64 | 0.679916 |
c61514884e119312c7039d99a30eee2af065e971 | 1,089 | h | C | src/scanresults.h | loh-tar/wpa-cute | 4dca47d842b8a26b99e100585446928c735a82b3 | [
"BSD-3-Clause"
] | 21 | 2018-12-13T16:41:16.000Z | 2022-03-17T03:24:08.000Z | src/scanresults.h | loh-tar/wpa-cute | 4dca47d842b8a26b99e100585446928c735a82b3 | [
"BSD-3-Clause"
] | 9 | 2018-08-13T14:47:14.000Z | 2021-01-15T06:21:49.000Z | src/scanresults.h | loh-tar/wpa-cute | 4dca47d842b8a26b99e100585446928c735a82b3 | [
"BSD-3-Clause"
] | 7 | 2018-09-28T08:35:18.000Z | 2022-03-02T03:56:31.000Z | /*
* wpaCute - A graphical wpa_supplicant front end
* Copyright (C) 2018 loh.tar@googlemail.com
*
* wpa_gui - ScanResults class
* Copyright (c) 2005-2006, Jouni Malinen <j@w1.fi>
*
* This software may be distributed under the terms of the BSD license.
* See COPYING for more details.
*/
#ifndef SCANRESULTS_H
#... | 19.446429 | 71 | 0.673095 |
c6151cc93e1f380faf3b56c5344ba82da2472c76 | 24,161 | h | C | components/password_manager/core/browser/password_store.h | google-ar/chromium | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 777 | 2017-08-29T15:15:32.000Z | 2022-03-21T05:29:41.000Z | components/password_manager/core/browser/password_store.h | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 66 | 2017-08-30T18:31:18.000Z | 2021-08-02T10:59:35.000Z | components/password_manager/core/browser/password_store.h | harrymarkovskiy/WebARonARCore | 2441c86a5fd975f09a6c30cddb57dfb7fc239699 | [
"Apache-2.0",
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 123 | 2017-08-30T01:19:34.000Z | 2022-03-17T22:55:31.000Z | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_STORE_H_
#define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_STORE_H_
#include <memory>
#... | 43.849365 | 86 | 0.74881 |
eb8fcc86cc4f4d28b54ad8e26973cf156ee249a3 | 4,291 | h | C | GeneratorInterface/Core/interface/BaseHadronizer.h | bkilian15/cmssw | ad9b85e79d89f4f6c393c8cc648261366d82adca | [
"Apache-2.0"
] | null | null | null | GeneratorInterface/Core/interface/BaseHadronizer.h | bkilian15/cmssw | ad9b85e79d89f4f6c393c8cc648261366d82adca | [
"Apache-2.0"
] | null | null | null | GeneratorInterface/Core/interface/BaseHadronizer.h | bkilian15/cmssw | ad9b85e79d89f4f6c393c8cc648261366d82adca | [
"Apache-2.0"
] | null | null | null | // -*- C++ -*-
//
//
// class BaseHadronizer meant as base class for hadronizers
// implements a few common methods concerning communication with the
// gen::HadronizerFilter<...> and gen::GeneratorFilter<...> templates,
// mostly memory management regarding the GenEvent pointers and such
#ifndef gen_BaseHadronizer_h... | 35.758333 | 114 | 0.73759 |
9db64416c6297e1bd9a0b9849d8facf43ba60f2a | 796 | c | C | code_guide/progs/20190804.review/is_balance.c | YangXiaoHei/Interview_Question_Solutions | 7c7c99be248f68c38856d655ecb4c36358bef8b1 | [
"Apache-2.0"
] | null | null | null | code_guide/progs/20190804.review/is_balance.c | YangXiaoHei/Interview_Question_Solutions | 7c7c99be248f68c38856d655ecb4c36358bef8b1 | [
"Apache-2.0"
] | null | null | null | code_guide/progs/20190804.review/is_balance.c | YangXiaoHei/Interview_Question_Solutions | 7c7c99be248f68c38856d655ecb4c36358bef8b1 | [
"Apache-2.0"
] | null | null | null | #include "ds.h"
int max(int a, int b) { return a > b ? a : b; }
int xabs(int a, int b) {
int diff = a - b;
return diff < 0 ? -diff : diff;
}
int is_balance_core(treenode *root, int *balance)
{
if (!root)
return 0;
if (!*balance)
return 0; // 这里已经不 care 最终返回什么了
int lheight = is_b... | 19.414634 | 56 | 0.586683 |
9de202d22a3504cd214bdee04ff756e4b8448088 | 29,531 | c | C | extras/deprecated/perfmon/perfmon_intel_skx.c | yasics/vpp | a4d0956082f12ac8269fd415134af7f605c1f3c9 | [
"Apache-2.0"
] | 751 | 2017-07-13T06:16:46.000Z | 2022-03-30T09:14:35.000Z | extras/deprecated/perfmon/perfmon_intel_skx.c | yasics/vpp | a4d0956082f12ac8269fd415134af7f605c1f3c9 | [
"Apache-2.0"
] | 32 | 2021-03-24T06:04:08.000Z | 2021-09-14T02:02:22.000Z | extras/deprecated/perfmon/perfmon_intel_skx.c | yasics/vpp | a4d0956082f12ac8269fd415134af7f605c1f3c9 | [
"Apache-2.0"
] | 479 | 2017-07-13T06:17:26.000Z | 2022-03-31T18:20:43.000Z |
#include <perfmon/perfmon_intel.h>
static perfmon_intel_pmc_cpu_model_t cpu_model_table[] = {
{0x55, 0x00, 1},
{0x55, 0x01, 1},
{0x55, 0x02, 1},
{0x55, 0x03, 1},
{0x55, 0x04, 1},
};
static perfmon_intel_pmc_event_t event_table[] = {
{
.event_code = {0x00},
.umask = 0x01,
.event_name = "inst_reti... | 20.171448 | 77 | 0.582574 |
9df768067991ab1a037ac8c12964325789496276 | 3,980 | c | C | src/lpc8xx_mrt.c | panda5mt/RaVem | 92e6881fe743ef1625df4c4c20f4455b18bc9f5c | [
"MIT"
] | 7 | 2019-02-04T11:06:18.000Z | 2022-02-08T22:52:21.000Z | src/lpc8xx_mrt.c | panda5mt/RaVem | 92e6881fe743ef1625df4c4c20f4455b18bc9f5c | [
"MIT"
] | null | null | null | src/lpc8xx_mrt.c | panda5mt/RaVem | 92e6881fe743ef1625df4c4c20f4455b18bc9f5c | [
"MIT"
] | 1 | 2017-10-11T17:27:55.000Z | 2017-10-11T17:27:55.000Z | /****************************************************************************
* $Id:: lpc8xx_mrt.c 5543 2012-10-31 02:19:19Z usb00423 $
* Project: NXP LPC8xx multi-rate timer(MRT) example
*
* Description:
* This file contains MRT timer code example which include timer
* in... | 36.513761 | 81 | 0.536432 |
ca864555dfd3072632edc10c27dacc97991b89ca | 10,697 | h | C | chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.h | zipated/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 2,151 | 2020-04-18T07:31:17.000Z | 2022-03-31T08:39:18.000Z | chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.h | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 395 | 2020-04-18T08:22:18.000Z | 2021-12-08T13:04:49.000Z | chrome/browser/ui/webui/chromeos/login/gaia_screen_handler.h | cangulcan/src | 2b8388091c71e442910a21ada3d97ae8bc1845d3 | [
"BSD-3-Clause"
] | 338 | 2020-04-18T08:03:10.000Z | 2022-03-29T12:33:22.000Z | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_GAIA_SCREEN_HANDLER_H_
#define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_GAIA_SCREEN_HANDLER_H_
#include <str... | 36.138514 | 80 | 0.730392 |
a9c2dfb0d75135d09eedb2383aa9fa3f6c58bef4 | 65,372 | c | C | text_test.c | WartyMN/A2560-FoenixRetroOS | fd4c03d78794f2cc75e9d2de6b9ce86024e5b6fa | [
"MIT"
] | null | null | null | text_test.c | WartyMN/A2560-FoenixRetroOS | fd4c03d78794f2cc75e9d2de6b9ce86024e5b6fa | [
"MIT"
] | null | null | null | text_test.c | WartyMN/A2560-FoenixRetroOS | fd4c03d78794f2cc75e9d2de6b9ce86024e5b6fa | [
"MIT"
] | null | null | null | /*
* text_test.c
*
* Created on: Feb 19, 2022
* Author: micahbly
*/
/*****************************************************************************/
/* Includes */
/**************************************************************************... | 63.344961 | 7,020 | 0.689469 |
aaa277dd6d991e9de2cb7bc7f9087d7d131a9637 | 15,026 | c | C | runtime/musl-lkl/lkl/drivers/clk/ti/divider.c | dme26/intravisor | 9bf9c50aa14616bd9bd66eee47623e8b61514058 | [
"MIT"
] | 11 | 2022-02-05T12:12:43.000Z | 2022-03-08T08:09:08.000Z | runtime/musl-lkl/lkl/drivers/clk/ti/divider.c | dme26/intravisor | 9bf9c50aa14616bd9bd66eee47623e8b61514058 | [
"MIT"
] | null | null | null | runtime/musl-lkl/lkl/drivers/clk/ti/divider.c | dme26/intravisor | 9bf9c50aa14616bd9bd66eee47623e8b61514058 | [
"MIT"
] | 1 | 2022-02-22T20:32:22.000Z | 2022-02-22T20:32:22.000Z | /*
* TI Divider Clock
*
* Copyright (C) 2013 Texas Instruments, Inc.
*
* Tero Kristo <t-kristo@ti.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is ... | 22.494012 | 80 | 0.686943 |
34237cbaeab25a3effa5b0e41804f5f898b1b079 | 10,684 | c | C | xdk-asf-3.51.0/common/components/wifi/winc1500/simple_growl_example/main21.c | j3270/SAMD_Experiments | 5c242aff44fc8d7092322d7baf2dda450a78a9b7 | [
"MIT"
] | null | null | null | xdk-asf-3.51.0/common/components/wifi/winc1500/simple_growl_example/main21.c | j3270/SAMD_Experiments | 5c242aff44fc8d7092322d7baf2dda450a78a9b7 | [
"MIT"
] | null | null | null | xdk-asf-3.51.0/common/components/wifi/winc1500/simple_growl_example/main21.c | j3270/SAMD_Experiments | 5c242aff44fc8d7092322d7baf2dda450a78a9b7 | [
"MIT"
] | null | null | null | /**
*
* \file
*
* \brief WINC1500 Simple Growl Example.
*
* Copyright (c) 2016-2018 Microchip Technology Inc. and its subsidiaries.
*
* \asf_license_start
*
* \page License
*
* Subject to your compliance with these terms, you may use Microchip
* software and any derivatives exclusively with Microchip produ... | 34.24359 | 166 | 0.728472 |
e76f498913b18dc0278f60fa08b57a2bfb896974 | 22,816 | c | C | Source files/communication.c | XenoVkl/Bank-Server-Client-System | c4b865c6e0e9bbd6a540b2c856e3d693c9db76be | [
"MIT"
] | 1 | 2018-08-13T18:32:33.000Z | 2018-08-13T18:32:33.000Z | Source files/communication.c | XenoVkl/Bank-Server-Client-System | c4b865c6e0e9bbd6a540b2c856e3d693c9db76be | [
"MIT"
] | null | null | null | Source files/communication.c | XenoVkl/Bank-Server-Client-System | c4b865c6e0e9bbd6a540b2c856e3d693c9db76be | [
"MIT"
] | 1 | 2018-08-13T18:32:53.000Z | 2018-08-13T18:32:53.000Z | #include "communication.h"
#include "hashtable.h"
void initialize(queue_t * queue, int size) //Initialize queue that we will store socket descriptors
{
queue->start = 0;
queue->end = -1;
queue->count = 0;
queue->max_size=size;
queue->q_array=malloc(size*sizeof(int));
}
void place(queue_t * queue, int... | 34.104634 | 154 | 0.526823 |
a11540492ddd577833df1f383a0ae3297d41cacf | 4,859 | h | C | sakura_core/recent/CRecentImp.h | toduq/sakura | d819494b53c0d0b8286a2991043d23fbeb368270 | [
"Zlib"
] | null | null | null | sakura_core/recent/CRecentImp.h | toduq/sakura | d819494b53c0d0b8286a2991043d23fbeb368270 | [
"Zlib"
] | null | null | null | sakura_core/recent/CRecentImp.h | toduq/sakura | d819494b53c0d0b8286a2991043d23fbeb368270 | [
"Zlib"
] | null | null | null | /*! @file */
// 各CRecent実装クラスのベースクラス
// エディタ系ファイルからincludeするときは CRecent.h をinclude
/*
Copyright (C) 2008, kobake
Copyright (C) 2018-2021, Sakura Editor Organization
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising fro... | 34.707143 | 124 | 0.739658 |
313d9f5fd0560b5e9c5c108e3b3d2af196c7af86 | 1,207 | h | C | libs/xapiancommon/hashterm.h | restpose/restpose | 8f0bfe96e997eb988baf5edfcc49957aa2f1ceec | [
"MIT"
] | 4 | 2015-11-05T10:36:12.000Z | 2018-10-27T09:59:48.000Z | libs/xapiancommon/hashterm.h | restpose/restpose | 8f0bfe96e997eb988baf5edfcc49957aa2f1ceec | [
"MIT"
] | null | null | null | libs/xapiancommon/hashterm.h | restpose/restpose | 8f0bfe96e997eb988baf5edfcc49957aa2f1ceec | [
"MIT"
] | null | null | null | /* hashterm.h: replace the end of a long term with a hash.
*
* Copyright (C) 2006,2007 Olly Betts
*
* 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
* License, or (... | 35.5 | 77 | 0.756421 |
bd07f2240f67b8639f2fe54310a10174ba6fd03f | 31,747 | c | C | server.c | qca/sigma-dut | bf2b5216acef90f0c7723bd4a59a825b30c2a981 | [
"Unlicense"
] | 24 | 2016-01-06T07:42:05.000Z | 2022-02-09T11:00:15.000Z | server.c | qca/sigma-dut | bf2b5216acef90f0c7723bd4a59a825b30c2a981 | [
"Unlicense"
] | 1 | 2020-08-17T07:06:12.000Z | 2020-08-17T07:06:12.000Z | server.c | qca/sigma-dut | bf2b5216acef90f0c7723bd4a59a825b30c2a981 | [
"Unlicense"
] | 21 | 2016-01-19T11:12:40.000Z | 2022-03-25T10:06:30.000Z | /*
* Sigma Control API DUT (server)
* Copyright (c) 2014, Qualcomm Atheros, Inc.
* Copyright (c) 2018-2021, The Linux Foundation
* All Rights Reserved.
* Licensed under the Clear BSD license. See README for more details.
*/
#include "sigma_dut.h"
#include <sqlite3.h>
#ifndef ROOT_DIR
#define ROOT_DIR "/home/use... | 25.520096 | 209 | 0.662866 |
bd97cadd6e96b7db4fe0bb943f80a8d9e6635df6 | 3,641 | h | C | wxWidgets-2.9.1/include/wx/validate.h | gamekit-developers/gamekit | 74c896af5826ebe8fb72f2911015738f38ab7bb2 | [
"Zlib",
"MIT"
] | 241 | 2015-01-04T00:36:58.000Z | 2022-01-06T19:19:23.000Z | wxWidgets-2.9.1/include/wx/validate.h | gamekit-developers/gamekit | 74c896af5826ebe8fb72f2911015738f38ab7bb2 | [
"Zlib",
"MIT"
] | 10 | 2015-07-10T18:27:17.000Z | 2019-06-26T20:59:59.000Z | wxWidgets-2.9.1/include/wx/validate.h | gamekit-developers/gamekit | 74c896af5826ebe8fb72f2911015738f38ab7bb2 | [
"Zlib",
"MIT"
] | 82 | 2015-01-25T18:02:35.000Z | 2022-03-05T12:28:17.000Z | /////////////////////////////////////////////////////////////////////////////
// Name: wx/validate.h
// Purpose: wxValidator class
// Author: Julian Smart
// Modified by:
// Created: 29/01/98
// RCS-ID: $Id$
// Copyright: (c) 1998 Julian Smart
// Licence: wxWindows licence
//////... | 32.508929 | 79 | 0.665477 |
d804a7129e2ee420aac59989b118b143476c65ac | 688 | h | C | statusvollite/statusvolliteprefs/prefs-common.h | kieranjailbreak/cydua-tweaks-to-code-for-own | 31ab66c12d8c7325e372be0e498c33c291f1fa3e | [
"MIT"
] | 19 | 2015-01-21T13:24:01.000Z | 2022-01-25T12:31:36.000Z | statusvollite/statusvolliteprefs/prefs-common.h | kieranjailbreak/cydua-tweaks-to-code-for-own | 31ab66c12d8c7325e372be0e498c33c291f1fa3e | [
"MIT"
] | 4 | 2015-02-10T18:39:05.000Z | 2021-07-16T19:56:31.000Z | statusvollite/statusvolliteprefs/prefs-common.h | kieranjailbreak/cydua-tweaks-to-code-for-own | 31ab66c12d8c7325e372be0e498c33c291f1fa3e | [
"MIT"
] | 10 | 2015-01-27T22:29:16.000Z | 2021-02-22T00:58:33.000Z | @interface PSListController : UITableViewController{
UITableView *_table;
id _specifiers;
}
- (id)specifiers;
- (id)loadSpecifiersFromPlistName:(id)arg1 target:(id)arg2;
@end
@interface PSSpecifier : NSObject
@end
@interface PSTableCell : UITableViewCell
-(id)initWithStyle:(long long)arg1 reuseIdentifier:(id)ar... | 26.461538 | 80 | 0.780523 |
26a55dcfc942ed1f6985aa030c1be1cb5d917a30 | 1,473 | h | C | org.alloytools.kodkod.nativesat/lib/lingeling-587f/jni/kodkod_engine_satlab_Lingeling.h | chongliujlu/ColorfulAlloy | 4f8ff5074b959f91d3b70a46bc6b7355cf28911b | [
"Apache-2.0"
] | 71 | 2015-09-24T19:31:27.000Z | 2022-02-17T06:26:59.000Z | org.alloytools.kodkod.nativesat/lib/lingeling-587f/jni/kodkod_engine_satlab_Lingeling.h | chongliujlu/ColorfulAlloy | 4f8ff5074b959f91d3b70a46bc6b7355cf28911b | [
"Apache-2.0"
] | 55 | 2019-10-06T18:28:49.000Z | 2021-10-20T14:21:43.000Z | org.alloytools.kodkod.nativesat/lib/lingeling-587f/jni/kodkod_engine_satlab_Lingeling.h | chongliujlu/ColorfulAlloy | 4f8ff5074b959f91d3b70a46bc6b7355cf28911b | [
"Apache-2.0"
] | 22 | 2015-11-11T08:40:43.000Z | 2020-04-13T01:57:40.000Z | /* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class kodkod_engine_satlab_Lingeling */
#ifndef _Included_kodkod_engine_satlab_Lingeling
#define _Included_kodkod_engine_satlab_Lingeling
#ifdef __cplusplus
extern "C" {
#endif
/*
* Class: kodkod_engine_satlab_Lingeling
* Method... | 23.758065 | 72 | 0.748133 |
9ccee32013620982bb7b345a37f2b309e187d736 | 574 | h | C | interfaces/isessionproxy.h | cayprogram/cpl_main | 9cc8f4c8cf33465506bdb18ddc84340992b16494 | [
"MIT"
] | null | null | null | interfaces/isessionproxy.h | cayprogram/cpl_main | 9cc8f4c8cf33465506bdb18ddc84340992b16494 | [
"MIT"
] | null | null | null | interfaces/isessionproxy.h | cayprogram/cpl_main | 9cc8f4c8cf33465506bdb18ddc84340992b16494 | [
"MIT"
] | null | null | null | #ifndef SESSIONPROXYINTERFACE_H
#define SESSIONPROXYINTERFACE_H
class ISessionProxy {
public:
/** is valid to record session */
virtual int IsValidRecordSession() = 0;
/** is running session */
virtual int IsRunningSession() = 0;
/** write command session */
virtual void WriteCommandSessio... | 23.916667 | 56 | 0.691638 |
8c443ef8172b8003ae3aec4bc686ce85c7ed4614 | 3,215 | h | C | NurbsFit/open_curve.h | OpenNurbsFit/OpenNurbsFit | d1ca01437a6da6bbf921466013ff969def5dfe65 | [
"BSD-3-Clause"
] | 14 | 2015-07-06T13:04:49.000Z | 2022-02-06T10:09:05.000Z | NurbsFit/open_curve.h | OpenNurbsFit/OpenNurbsFit | d1ca01437a6da6bbf921466013ff969def5dfe65 | [
"BSD-3-Clause"
] | 1 | 2020-12-07T03:26:39.000Z | 2020-12-07T03:26:39.000Z | NurbsFit/open_curve.h | OpenNurbsFit/OpenNurbsFit | d1ca01437a6da6bbf921466013ff969def5dfe65 | [
"BSD-3-Clause"
] | 11 | 2015-07-06T13:04:43.000Z | 2022-03-29T10:57:04.000Z | /*
* Software License Agreement (BSD License)
*
* Copyright (c) 2015, Thomas Mörwald
* 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 re... | 40.1875 | 117 | 0.733748 |
96a69abc1825a1f38ab4f3433c2777b23aea1cc6 | 128 | h | C | CLActionSheet/CLActionSheet/CLActionSheetCell.h | IOS-mamu/CLActionSheet | 2fe8346fa63ec5df401557bed22a9fbb44655439 | [
"MIT"
] | 3 | 2016-01-21T03:58:03.000Z | 2016-06-14T03:11:07.000Z | CLActionSheet/CLActionSheet/CLActionSheetCell.h | IOS-mamu/CLActionSheet | 2fe8346fa63ec5df401557bed22a9fbb44655439 | [
"MIT"
] | null | null | null | CLActionSheet/CLActionSheet/CLActionSheetCell.h | IOS-mamu/CLActionSheet | 2fe8346fa63ec5df401557bed22a9fbb44655439 | [
"MIT"
] | null | null | null | #import <UIKit/UIKit.h>
@interface CLActionSheetCell : UITableViewCell
@property (nonatomic,strong)UILabel * centerLabel;
@end
| 21.333333 | 50 | 0.796875 |
8862586ff809161950358d04082bc50b9ea300ba | 1,102 | c | C | gcc-gcc-7_3_0-release/gcc/testsuite/gcc.target/i386/avx512dq-vinserti64x2-1.c | best08618/asylo | 5a520a9f5c461ede0f32acc284017b737a43898c | [
"Apache-2.0"
] | 7 | 2020-05-02T17:34:05.000Z | 2021-10-17T10:15:18.000Z | gcc-gcc-7_3_0-release/gcc/testsuite/gcc.target/i386/avx512dq-vinserti64x2-1.c | best08618/asylo | 5a520a9f5c461ede0f32acc284017b737a43898c | [
"Apache-2.0"
] | null | null | null | gcc-gcc-7_3_0-release/gcc/testsuite/gcc.target/i386/avx512dq-vinserti64x2-1.c | best08618/asylo | 5a520a9f5c461ede0f32acc284017b737a43898c | [
"Apache-2.0"
] | 2 | 2020-07-27T00:22:36.000Z | 2021-04-01T09:41:02.000Z | /* { dg-do compile } */
/* { dg-options "-mavx512dq -mavx512vl -O2" } */
/* { dg-final { scan-assembler-times "vinserti64x2\[^\n\]*ymm\[0-9\]+(?:\n|\[ \\t\]+#)" 1 } } */
/* { dg-final { scan-assembler-times "vinserti64x2\[^\n\]*ymm\[0-9\]+\{%k\[1-7\]\}\{z\}(?:\n|\[ \\t\]+#)" 1 } } */
/* { dg-final { scan-assembler-ti... | 42.384615 | 115 | 0.528131 |
15c709710a55d0d0680434311484b74f63d2bcaf | 682 | h | C | libembroidery/emb-settings.h | Drahflow/Embroidermodder | 5fe2bed6407845e9d183aee40095b3f778a5b559 | [
"Zlib"
] | 3 | 2017-05-18T13:57:43.000Z | 2018-08-13T14:56:33.000Z | libembroidery/emb-settings.h | Drahflow/Embroidermodder | 5fe2bed6407845e9d183aee40095b3f778a5b559 | [
"Zlib"
] | null | null | null | libembroidery/emb-settings.h | Drahflow/Embroidermodder | 5fe2bed6407845e9d183aee40095b3f778a5b559 | [
"Zlib"
] | null | null | null | /*! @file emb-settings.h */
#ifndef EMB_SETTINGS_H
#define EMB_SETTINGS_H
#include "emb-point.h"
#include "api-start.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef struct EmbSettings_
{
unsigned int dstJumpsPerTrim;
EmbPoint home;
} EmbSettings;
extern EMB_PUBLIC EmbSettings EMB_CALL embSettings_init(voi... | 22 | 91 | 0.76393 |
76b65b2f6884c911601964e74d08c59978914aad | 2,282 | h | C | clang/include/clang/ARCMigrate/FileRemapper.h | medismailben/llvm-project | e334a839032fe500c3bba22bf976ab7af13ce1c1 | [
"Apache-2.0"
] | 3,102 | 2015-01-04T02:28:35.000Z | 2022-03-30T12:53:41.000Z | clang/include/clang/ARCMigrate/FileRemapper.h | medismailben/llvm-project | e334a839032fe500c3bba22bf976ab7af13ce1c1 | [
"Apache-2.0"
] | 11,789 | 2015-01-05T04:50:15.000Z | 2022-03-31T23:39:19.000Z | clang/include/clang/ARCMigrate/FileRemapper.h | medismailben/llvm-project | e334a839032fe500c3bba22bf976ab7af13ce1c1 | [
"Apache-2.0"
] | 1,868 | 2015-01-03T04:27:11.000Z | 2022-03-25T13:37:35.000Z | //===-- FileRemapper.h - File Remapping Helper ------------------*- C++ -*-===//
//
// 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
//
//===---------------------------... | 29.636364 | 80 | 0.710342 |
63b1c65caf5f2917e6801bb500e377baf717a9e2 | 210 | h | C | OSX Client/src/ColoredNSWindow.h | bensnell/ofxRemoteUI | 748c2da201d7568370610212efef4e4ea9710265 | [
"MIT"
] | 74 | 2015-01-06T05:08:42.000Z | 2022-01-09T03:29:14.000Z | OSX Client/src/ColoredNSWindow.h | bensnell/ofxRemoteUI | 748c2da201d7568370610212efef4e4ea9710265 | [
"MIT"
] | 15 | 2015-01-22T20:37:32.000Z | 2020-02-06T12:25:58.000Z | OSX Client/src/ColoredNSWindow.h | bensnell/ofxRemoteUI | 748c2da201d7568370610212efef4e4ea9710265 | [
"MIT"
] | 12 | 2015-02-22T16:52:14.000Z | 2020-06-30T04:19:10.000Z | //
// ColoredNSWindow.h
// ofxRemoteUIClientOSX
//
// Created by Oriol Ferrer Mesià on 15/08/13.
//
//
#import <Cocoa/Cocoa.h>
@interface ColoredNSWindow : NSWindow{
}
-(void)setColor:(NSColor*)c;
@end
| 11.666667 | 46 | 0.671429 |
6fb6f314940e3a4f391d472ce961080b2ff6d698 | 1,096 | c | C | examples/freertos/l2_cache/src/print_info.c | danielpieczko/xcore_sdk | abb3bdc62d72fa8c13e77f778312ba9f8b29c0f4 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | examples/freertos/l2_cache/src/print_info.c | danielpieczko/xcore_sdk | abb3bdc62d72fa8c13e77f778312ba9f8b29c0f4 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | examples/freertos/l2_cache/src/print_info.c | danielpieczko/xcore_sdk | abb3bdc62d72fa8c13e77f778312ba9f8b29c0f4 | [
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null | // Copyright 2020-2021 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.
#include <platform.h> // for PLATFORM_REFERENCE_MHZ
#include <stdio.h>
#include <stdlib.h>
#include "l2_cache.h"
#include "print_info.h"
#include "xcore_utils.h"
void print_info(uint32_t timer_ticks)
... | 30.444444 | 79 | 0.712591 |
a58af4107714c8d8985e6b54a0082cff774802bd | 2,839 | h | C | vs/include/alibabacloud/vs/model/CreateRenderingDeviceRequest.h | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 89 | 2018-02-02T03:54:39.000Z | 2021-12-13T01:32:55.000Z | vs/include/alibabacloud/vs/model/CreateRenderingDeviceRequest.h | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 89 | 2018-03-14T07:44:54.000Z | 2021-11-26T07:43:25.000Z | vs/include/alibabacloud/vs/model/CreateRenderingDeviceRequest.h | aliyun/aliyun-openapi-cpp-sdk | 0cf5861ece17dfb0bb251f13bf3fbdb39c0c6e36 | [
"Apache-2.0"
] | 69 | 2018-01-22T09:45:52.000Z | 2022-03-28T07:58:38.000Z | /*
* Copyright 2009-2017 Alibaba Cloud 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... | 32.632184 | 87 | 0.728073 |
4f96ed5084274173774665c1c06a374b9addf322 | 453 | h | C | src/math/AABB.h | zippybenjiman/PythonCraft | daeb9b4eac1530c98843bf8fc412345f58e37c97 | [
"MIT"
] | 51 | 2015-08-08T22:36:47.000Z | 2022-03-02T20:20:54.000Z | src/math/AABB.h | zippybenjiman/PythonCraft | daeb9b4eac1530c98843bf8fc412345f58e37c97 | [
"MIT"
] | 3 | 2016-04-12T16:36:58.000Z | 2019-03-02T21:46:10.000Z | src/math/AABB.h | zippybenjiman/PythonCraft | daeb9b4eac1530c98843bf8fc412345f58e37c97 | [
"MIT"
] | 13 | 2016-03-25T07:05:40.000Z | 2021-08-15T12:19:04.000Z | #ifndef _AABB_H_
#define _AABB_H_
class AABB
{
public:
double minX;
double minY;
double minZ;
double maxX;
double maxY;
double maxZ;
AABB()
{
minX = 0;
minY = 0;
minZ = 0;
maxX = 0;
maxY = 0;
maxZ = 0;
}
AABB(double minx, double miny, double minz, double maxx, double maxy, double maxz)
{
this-... | 13.323529 | 83 | 0.613687 |
4ff42e66f8065f8b38e7909c97113c0d81429053 | 616 | h | C | Carthage/Checkouts/Typhoon/Source/Utils/Swizzle/TyphoonMethodSwizzler.h | pomozoff/accountslist | 5649b27a8337d8df2f8604553754d1d4b66111bc | [
"MIT"
] | null | null | null | Carthage/Checkouts/Typhoon/Source/Utils/Swizzle/TyphoonMethodSwizzler.h | pomozoff/accountslist | 5649b27a8337d8df2f8604553754d1d4b66111bc | [
"MIT"
] | null | null | null | Carthage/Checkouts/Typhoon/Source/Utils/Swizzle/TyphoonMethodSwizzler.h | pomozoff/accountslist | 5649b27a8337d8df2f8604553754d1d4b66111bc | [
"MIT"
] | null | null | null | ////////////////////////////////////////////////////////////////////////////////
//
// TYPHOON FRAMEWORK
// Copyright 2014, Typhoon Framework Contributors
// All Rights Reserved.
//
// NOTICE: The authors permit you to use, modify, and distribute this file
// in accordance with the terms of the license agreement a... | 29.333333 | 99 | 0.553571 |
128a221d0f1a2f16bce4a93114bf970dd4734cee | 1,574 | h | C | addons/ofxFX/src/operations/ofxBounce.h | creatologist/openFrameworks0084 | aa74f188f105b62fbcecb7baf2b41d56d97cf7bc | [
"MIT"
] | 220 | 2015-01-19T04:53:59.000Z | 2022-02-19T13:02:03.000Z | addons/ofxFX/src/operations/ofxBounce.h | creatologist/openFrameworks0084 | aa74f188f105b62fbcecb7baf2b41d56d97cf7bc | [
"MIT"
] | 17 | 2015-01-22T06:44:44.000Z | 2021-06-25T14:18:34.000Z | addons/ofxFX/src/operations/ofxBounce.h | creatologist/openFrameworks0084 | aa74f188f105b62fbcecb7baf2b41d56d97cf7bc | [
"MIT"
] | 41 | 2015-02-28T14:22:33.000Z | 2021-07-20T20:36:56.000Z | //
// ofxBounce.h
// example-waterRipples
//
// Created by Patricio Gonzalez Vivo on 11/24/12.
//
//
#pragma once
#define STRINGIFY(A) #A
#include "ofMain.h"
#include "ofxFXObject.h"
class ofxBounce : public ofxFXObject {
public:
ofxBounce(){
passes = 1;
internalFormat = GL_RGBA32F;
... | 36.604651 | 144 | 0.369123 |
c4913e0326496854606a118f271361a33b19a418 | 112,969 | c | C | deps/inchi/INCHI-1-API/INCHI_API/inchi_dll/ikey_base26.c | smikes/inchi | 7a980f01b2c3eef3b5cf4f2502d814724366d385 | [
"MIT"
] | 7 | 2015-01-21T04:48:06.000Z | 2021-05-26T09:10:58.000Z | deps/inchi/INCHI-1-API/INCHI_API/inchi_dll/ikey_base26.c | smikes/inchi | 7a980f01b2c3eef3b5cf4f2502d814724366d385 | [
"MIT"
] | 1 | 2018-02-20T19:47:40.000Z | 2018-02-20T19:47:40.000Z | deps/inchi/INCHI-1-API/INCHI_API/inchi_dll/ikey_base26.c | smikes/inchi | 7a980f01b2c3eef3b5cf4f2502d814724366d385 | [
"MIT"
] | 1 | 2015-06-25T15:09:14.000Z | 2015-06-25T15:09:14.000Z | /*
* International Chemical Identifier (InChI)
* Version 1
* Software version 1.04
* September 9, 2011
*
* The InChI library and programs are free software developed under the
* auspices of the International Union of Pure and Applied Chemistry (IUPAC).
* Originally developed at NIST. Modifications and additions... | 82.640088 | 96 | 0.484407 |
1619370d18ee56ed4ebe406bdb1664648f885bdf | 931 | c | C | ncarg2d/src/libncarg/ezmapCC/c_mdprst.c | tenomoto/ncl | a87114a689a1566e9aa03d85bcf6dc7325b47633 | [
"Apache-2.0"
] | 210 | 2016-11-24T09:05:08.000Z | 2022-03-24T19:15:32.000Z | ncarg2d/src/libncarg/ezmapCC/c_mdprst.c | tenomoto/ncl | a87114a689a1566e9aa03d85bcf6dc7325b47633 | [
"Apache-2.0"
] | 156 | 2017-09-22T09:56:48.000Z | 2022-03-30T07:02:21.000Z | ncarg2d/src/libncarg/ezmapCC/c_mdprst.c | tenomoto/ncl | a87114a689a1566e9aa03d85bcf6dc7325b47633 | [
"Apache-2.0"
] | 58 | 2016-12-14T00:15:22.000Z | 2022-03-15T09:13:00.000Z | /*
* $Id: c_mdprst.c,v 1.2 2008-07-23 16:16:51 haley Exp $
*/
/************************************************************************
* *
* Copyright (C) 2000 *
* University Corporati... | 31.033333 | 73 | 0.311493 |
e9435bbfe30dc60215dac0dbe4c50b6949f77141 | 131 | h | C | main/main.h | mlytvyn80/nucleo-f103rb-cmsis-template | f146860aa10554608c94534c9b9c13116eb6b235 | [
"MIT"
] | 1 | 2020-07-05T07:29:13.000Z | 2020-07-05T07:29:13.000Z | main/main.h | mlytvyn80/nucleo-f103rb-cmsis-template | f146860aa10554608c94534c9b9c13116eb6b235 | [
"MIT"
] | null | null | null | main/main.h | mlytvyn80/nucleo-f103rb-cmsis-template | f146860aa10554608c94534c9b9c13116eb6b235 | [
"MIT"
] | 1 | 2020-10-07T05:52:20.000Z | 2020-10-07T05:52:20.000Z | //
// Created by Itachi on 2019-05-08.
//
#ifndef MYST_MAIN_H
#define MYST_MAIN_H
void clock_config(void);
#endif //MYST_MAIN_H
| 11.909091 | 35 | 0.725191 |
ac0b255331fc88d4a494ecb3ca3e02beff5fde9f | 90 | h | C | datapath/linux/compat/include/linux/PaxHeaders.47482/in.h | xiaobinglu/openvswitch | b206a49997a51909d73fd5c11784c17aa885f76b | [
"Apache-2.0"
] | null | null | null | datapath/linux/compat/include/linux/PaxHeaders.47482/in.h | xiaobinglu/openvswitch | b206a49997a51909d73fd5c11784c17aa885f76b | [
"Apache-2.0"
] | null | null | null | datapath/linux/compat/include/linux/PaxHeaders.47482/in.h | xiaobinglu/openvswitch | b206a49997a51909d73fd5c11784c17aa885f76b | [
"Apache-2.0"
] | null | null | null | 30 mtime=1434842301.108108323
30 atime=1440176505.863228567
30 ctime=1440177386.193358395
| 22.5 | 29 | 0.866667 |
b1c6f70e323f0e8e9dcfaf80a2bcd0fab362b015 | 6,338 | c | C | gala-gopher/src/probes/extends/ebpf.probe/src/endpointprobe/endpoint.bpf.c | openeuler-mirror/A-Ops | e6b75797852e81fa504ecf04c3be499a92fa9146 | [
"MulanPSL-1.0"
] | null | null | null | gala-gopher/src/probes/extends/ebpf.probe/src/endpointprobe/endpoint.bpf.c | openeuler-mirror/A-Ops | e6b75797852e81fa504ecf04c3be499a92fa9146 | [
"MulanPSL-1.0"
] | null | null | null | gala-gopher/src/probes/extends/ebpf.probe/src/endpointprobe/endpoint.bpf.c | openeuler-mirror/A-Ops | e6b75797852e81fa504ecf04c3be499a92fa9146 | [
"MulanPSL-1.0"
] | null | null | null | #ifdef BPF_PROG_USER
#undef BPF_PROG_USER
#endif
#define BPF_PROG_KERN
#include "bpf.h"
#include "endpoint.h"
#define BIG_INDIAN_SK_FL_PROTO_SHIFT 16
#define BIG_INDIAN_SK_FL_PROTO_MASK 0x00ff0000
#define LITTLE_INDIAN_SK_FL_PROTO_SHIFT 8
#define LITTLE_INDIAN_SK_FL_PROTO_MASK 0x0000ff00
char LICENSE[] SEC("l... | 26.298755 | 113 | 0.647365 |
75153c58cae324c31e5dff918f7bfdfa4b81f660 | 200 | h | C | alg/string/search_naive.h | mirazabal/alg_ds | c70b0ece10fff64625e0235a0f8ce86fc5fef572 | [
"MIT"
] | null | null | null | alg/string/search_naive.h | mirazabal/alg_ds | c70b0ece10fff64625e0235a0f8ce86fc5fef572 | [
"MIT"
] | null | null | null | alg/string/search_naive.h | mirazabal/alg_ds | c70b0ece10fff64625e0235a0f8ce86fc5fef572 | [
"MIT"
] | null | null | null | #ifndef NAIVE_SEARCH_ALG_H
#define NAIVE_SEARCH_ALG_H
#include <stddef.h>
char* search_naive(size_t len_needle, char needle[len_needle], size_t len_haystack, char haystack[len_haystack]);
#endif
| 20 | 113 | 0.805 |
ceded9b27b48af16d188ed935fe3bb51c01cae6c | 2,504 | c | C | rdp/scene5.c | kbeckmann/n64fun | c424bab970882e68016d0ac17ba7329891a1828d | [
"MIT"
] | 3 | 2021-09-21T18:07:04.000Z | 2021-11-13T09:00:03.000Z | rdp/scene5.c | kbeckmann/n64fun | c424bab970882e68016d0ac17ba7329891a1828d | [
"MIT"
] | 1 | 2021-10-16T18:04:34.000Z | 2021-10-16T20:57:39.000Z | rdp/scene5.c | kbeckmann/n64fun | c424bab970882e68016d0ac17ba7329891a1828d | [
"MIT"
] | null | null | null | // Copyright (c) 2021 Konrad Beckmann
// SPDX-License-Identifier: MIT
#include "common.h"
// 4x supersampling test. Super slow.
void scene5(display_context_t disp, uint32_t t[8])
{
if (__width != 512 || __height != 240 || __bitdepth != 2) {
// unsupported resolution
return;
}
static int ... | 29.458824 | 92 | 0.521166 |
0e208f895ad946bf04c526b822378cc6dc092242 | 2,421 | h | C | System/Library/PrivateFrameworks/ContentKit.framework/WFContentAttribution.h | lechium/tvOS142Headers | c7696f6d760e4822f61b9f2c2adcd18749700fda | [
"MIT"
] | 1 | 2020-11-11T06:05:23.000Z | 2020-11-11T06:05:23.000Z | System/Library/PrivateFrameworks/ContentKit.framework/WFContentAttribution.h | lechium/tvOS142Headers | c7696f6d760e4822f61b9f2c2adcd18749700fda | [
"MIT"
] | null | null | null | System/Library/PrivateFrameworks/ContentKit.framework/WFContentAttribution.h | lechium/tvOS142Headers | c7696f6d760e4822f61b9f2c2adcd18749700fda | [
"MIT"
] | null | null | null | /*
* This header is generated by classdump-dyld 1.5
* on Tuesday, November 10, 2020 at 10:20:14 PM Mountain Standard Time
* Operating System: Version 14.2 (Build 18K57)
* Image Source: /System/Library/PrivateFrameworks/ContentKi... | 49.408163 | 156 | 0.750929 |
cdf75867d34095e4ee6f2955e9fcde83cf5f863e | 1,421 | h | C | source/common/filesystem/w_zip.h | prg318/Raze | 4ff4fa643bcea6a19a6cce5f06dd436c454b88f3 | [
"RSA-MD"
] | 5 | 2021-07-31T03:34:09.000Z | 2021-08-31T21:43:50.000Z | source/common/filesystem/w_zip.h | Quake-Backup/Raze | 16c81f0b1f409436ebf576d2c23f2459a29b34b4 | [
"RSA-MD"
] | null | null | null | source/common/filesystem/w_zip.h | Quake-Backup/Raze | 16c81f0b1f409436ebf576d2c23f2459a29b34b4 | [
"RSA-MD"
] | null | null | null | #ifndef __W_ZIP
#define __W_ZIP
#include "basics.h"
#pragma pack(1)
// FZipCentralInfo
struct FZipEndOfCentralDirectory
{
uint32_t Magic;
uint16_t DiskNumber;
uint16_t FirstDisk;
uint16_t NumEntries;
uint16_t NumEntriesOnAllDisks;
uint32_t DirectorySize;
uint32_t DirectoryOffset;
uint16_t ZipCommentLength;
} ... | 20.014085 | 52 | 0.7924 |
078f90d8e17bbed194347820a06bf5e035ce281d | 2,695 | h | C | export/windows/obj/include/openfl/_internal/renderer/cairo/CairoTextField.h | arturspon/zombie-killer | 07848c5006916e9079537a3d703ffe3740afaa5a | [
"MIT"
] | null | null | null | export/windows/obj/include/openfl/_internal/renderer/cairo/CairoTextField.h | arturspon/zombie-killer | 07848c5006916e9079537a3d703ffe3740afaa5a | [
"MIT"
] | null | null | null | export/windows/obj/include/openfl/_internal/renderer/cairo/CairoTextField.h | arturspon/zombie-killer | 07848c5006916e9079537a3d703ffe3740afaa5a | [
"MIT"
] | 1 | 2021-07-16T22:57:01.000Z | 2021-07-16T22:57:01.000Z | // Generated by Haxe 4.0.0-rc.2+77068e10c
#ifndef INCLUDED_openfl__internal_renderer_cairo_CairoTextField
#define INCLUDED_openfl__internal_renderer_cairo_CairoTextField
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
HX_DECLARE_CLASS4(openfl,_internal,renderer,cairo,CairoTextField)
HX_DECLARE_CLASS2(openfl,display,CairoRe... | 34.551282 | 164 | 0.78256 |
07c6aad988ce81a5b29839b6d87ad7ed4e139047 | 4,619 | h | C | src/components/sde/interface/papi_sde_interface.h | cothan/PAPI_ARMv8_Cortex_A72 | 2f9d855f1d202b744984f8f24ab5f3f18e15988d | [
"BSD-3-Clause"
] | 4 | 2020-09-18T05:38:40.000Z | 2021-07-16T06:21:51.000Z | src/components/sde/interface/papi_sde_interface.h | cothan/PAPI_ARMv8_Cortex_A72 | 2f9d855f1d202b744984f8f24ab5f3f18e15988d | [
"BSD-3-Clause"
] | 1 | 2021-07-03T08:05:50.000Z | 2021-07-03T09:03:38.000Z | src/components/sde/interface/papi_sde_interface.h | cothan/PAPI_ARMv8_Cortex_A72 | 2f9d855f1d202b744984f8f24ab5f3f18e15988d | [
"BSD-3-Clause"
] | 1 | 2021-12-27T06:12:22.000Z | 2021-12-27T06:12:22.000Z | #ifndef PAPI_SDE_INTERFACE_H
#define PAPI_SDE_INTERFACE_H
#include <stdint.h>
#define PAPI_SDE_RO 0x00
#define PAPI_SDE_RW 0x01
#define PAPI_SDE_DELTA 0x00
#define PAPI_SDE_INSTANT 0x10
#define PAPI_SDE_long_long 0x0
#define PAPI_SDE_int 0x1
#define PAPI_SDE_double 0x2
#define PAPI_SDE_float... | 46.19 | 170 | 0.76575 |
35db1970afe05bb8ceb7680ef2b655b9aca2af63 | 987 | h | C | lib/cpp/vpath.h | fooofei/c_cpp | 83b780fd48cd3c03fd3850fb297576d5fc907955 | [
"MIT"
] | null | null | null | lib/cpp/vpath.h | fooofei/c_cpp | 83b780fd48cd3c03fd3850fb297576d5fc907955 | [
"MIT"
] | null | null | null | lib/cpp/vpath.h | fooofei/c_cpp | 83b780fd48cd3c03fd3850fb297576d5fc907955 | [
"MIT"
] | null | null | null | #pragma once
#include <string>
#ifndef NAMESPACE_BASE_BEGIN
#define NAMESPACE_BASE_BEGIN namespace base {
#endif
#ifndef NAMESPACE_END
#define NAMESPACE_END }
#endif
NAMESPACE_BASE_BEGIN
/* abspath src to dst, utf8 bytes encoding path */
int
path_abspath(const std::string & src, std::string & dst);
// get the e... | 20.142857 | 57 | 0.734549 |
6dfeea1359ed41f64353d784e1cfb396081e499a | 73 | h | C | graph_theory_floyd-warshall_algorithm/floydWarshall.h | 1ndrew100/graph_theory_floyd-warshall_algorithm | cdc89367b974f05adc36aa24e23fb828cd245a23 | [
"MIT"
] | null | null | null | graph_theory_floyd-warshall_algorithm/floydWarshall.h | 1ndrew100/graph_theory_floyd-warshall_algorithm | cdc89367b974f05adc36aa24e23fb828cd245a23 | [
"MIT"
] | null | null | null | graph_theory_floyd-warshall_algorithm/floydWarshall.h | 1ndrew100/graph_theory_floyd-warshall_algorithm | cdc89367b974f05adc36aa24e23fb828cd245a23 | [
"MIT"
] | null | null | null | #pragma once
#include "Graph.h"
void floydWarshall(const Graph& graph); | 14.6 | 39 | 0.753425 |
a30068b567502107e97029fd261cfffd9c4692c1 | 899 | h | C | myprogram/src/commands/CommandDisplayScoresOfStudent.h | JohnLFX/COP3331-Final-Project | f0e7c8c055c56091606d4325754d815d118cf0d0 | [
"MIT"
] | null | null | null | myprogram/src/commands/CommandDisplayScoresOfStudent.h | JohnLFX/COP3331-Final-Project | f0e7c8c055c56091606d4325754d815d118cf0d0 | [
"MIT"
] | null | null | null | myprogram/src/commands/CommandDisplayScoresOfStudent.h | JohnLFX/COP3331-Final-Project | f0e7c8c055c56091606d4325754d815d118cf0d0 | [
"MIT"
] | null | null | null | #ifndef INC_3331PROJECT_COMMANDDISPLAYSCORESOFSTUDENT_H
#define INC_3331PROJECT_COMMANDDISPLAYSCORESOFSTUDENT_H
#include "types/AuthenticatedCommand.h"
class CommandDisplayScoresOfStudent : public AuthenticatedCommand {
public:
CommandDisplayScoresOfStudent(FinalProject *finalProject) : AuthenticatedCo... | 28.09375 | 106 | 0.658509 |
b88e0e6566007374475d0b34ec194b2e16fb7a80 | 222 | c | C | packages/PIPS/validation/Task_parallelization/sequence03.c | DVSR1966/par4all | 86b33ca9da736e832b568c5637a2381f360f1996 | [
"MIT"
] | 51 | 2015-01-31T01:51:39.000Z | 2022-02-18T02:01:50.000Z | packages/PIPS/validation/Task_parallelization/sequence03.c | DVSR1966/par4all | 86b33ca9da736e832b568c5637a2381f360f1996 | [
"MIT"
] | 7 | 2017-05-29T09:29:00.000Z | 2019-03-11T16:01:39.000Z | packages/PIPS/validation/Task_parallelization/sequence03.c | DVSR1966/par4all | 86b33ca9da736e832b568c5637a2381f360f1996 | [
"MIT"
] | 12 | 2015-03-26T08:05:38.000Z | 2022-02-18T02:01:51.000Z | #include <stdio.h>
#include <stdlib.h>
#include <time.h>
void main(int argc, char *argv[]){
unsigned int i;
double A[10], B[10], C[10];
i = 4;
A[i] = 42;
B[i] = 24;
C[i]+= A[i] + B[i];
}
| 12.333333 | 34 | 0.472973 |
335e61fef57a780b062bce5f3e1cce4199062174 | 732 | c | C | test/chora/benchmarks/icrasuite/frankenstein/relational/loop_splitting_test_safe.c | jbreck/duet-jbreck | 3bf4aa0c69983d15f199bf02f294d356c354e932 | [
"MIT"
] | 1 | 2020-08-15T15:26:25.000Z | 2020-08-15T15:26:25.000Z | test/chora/benchmarks/icrasuite/frankenstein/relational/loop_splitting_test_safe.c | jbreck/duet-jbreck | 3bf4aa0c69983d15f199bf02f294d356c354e932 | [
"MIT"
] | null | null | null | test/chora/benchmarks/icrasuite/frankenstein/relational/loop_splitting_test_safe.c | jbreck/duet-jbreck | 3bf4aa0c69983d15f199bf02f294d356c354e932 | [
"MIT"
] | null | null | null |
/* Source: Rahul Sharma, Isil Dillig, Thomas Dillig, Alex Aiken
Simplifying Loop Invariant Generation Using Splitter Predicates
CAV 2011 */
int main(int argc, char ** argv) {
int x1 = __VERIFIER_nondet_int();
int y1 = __VERIFIER_nondet_int();
int x2 = __VERIFIER_nondet_int();
int y2 = __VERIFIER... | 22.181818 | 66 | 0.587432 |
98f182ca1b0e889c6fdbcd889f75dd0400a41bab | 8,422 | h | C | opennurbs_polyline.h | elifri/opennurbs | 08ba072313d912b58d38eabe3525aa5bd627f55f | [
"Zlib"
] | 46 | 2015-05-02T07:27:47.000Z | 2022-01-19T11:21:54.000Z | opennurbs_polyline.h | elifri/opennurbs | 08ba072313d912b58d38eabe3525aa5bd627f55f | [
"Zlib"
] | 2 | 2018-12-27T08:50:53.000Z | 2021-09-22T07:06:58.000Z | opennurbs_polyline.h | elifri/opennurbs | 08ba072313d912b58d38eabe3525aa5bd627f55f | [
"Zlib"
] | 31 | 2015-01-14T21:42:04.000Z | 2022-02-08T06:33:57.000Z | /* $NoKeywords: $ */
/*
//
// Copyright (c) 1993-2012 Robert McNeel & Associates. All rights reserved.
// OpenNURBS, Rhinoceros, and Rhino3D are registered trademarks of Robert
// McNeel & Associates.
//
// THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY.
// ALL IMPLIED WARRANTIES OF FITNE... | 33.688 | 121 | 0.623842 |
32fa15c11568238ebcfd192ef92a97c1a4764593 | 3,042 | h | C | admin/wizards/shrwiz/wizclnt.h | npocmaka/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 17 | 2020-11-13T13:42:52.000Z | 2021-09-16T09:13:13.000Z | admin/wizards/shrwiz/wizclnt.h | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 2 | 2020-10-19T08:02:06.000Z | 2020-10-19T08:23:18.000Z | admin/wizards/shrwiz/wizclnt.h | sancho1952007/Windows-Server-2003 | 5c6fe3db626b63a384230a1aa6b92ac416b0765f | [
"Unlicense"
] | 14 | 2020-11-14T09:43:20.000Z | 2021-08-28T08:59:57.000Z | #if !defined(AFX_WIZCLNT_H__5F8E4B7A_C1ED_11D2_8E4A_0000F87A3388__INCLUDED_)
#define AFX_WIZCLNT_H__5F8E4B7A_C1ED_11D2_8E4A_0000F87A3388__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// WizClnt.h : header file
//
typedef enum _CLIENT_TYPE {
CLIENT_TYPE_SMB=0,
CLIENT_TYPE_... | 25.35 | 104 | 0.679487 |
f80c825e23a4e28cdc336cdaf301667f573a1fdf | 1,009 | h | C | Common01/Source/Common/DrawSystem/Geometry/IGeometry.h | DavidCoenFish/game02 | 3011cf2fe069b579759aa95333cb406a8ff52d53 | [
"Unlicense"
] | null | null | null | Common01/Source/Common/DrawSystem/Geometry/IGeometry.h | DavidCoenFish/game02 | 3011cf2fe069b579759aa95333cb406a8ff52d53 | [
"Unlicense"
] | null | null | null | Common01/Source/Common/DrawSystem/Geometry/IGeometry.h | DavidCoenFish/game02 | 3011cf2fe069b579759aa95333cb406a8ff52d53 | [
"Unlicense"
] | null | null | null | #pragma once
//#include "Common/DrawSystem/IResource.h"
class DrawSystem;
class IGeometry// : public IResource
{
public:
//IGeometry(DrawSystem* const pDrawSystem);
//virtual ~IGeometry();
//virtual void Draw(ID3D12GraphicsCommandList* const pCommandList) = 0;
//protected:
static void DrawImplementat... | 28.027778 | 75 | 0.725471 |
928210c47f3323a0a2a0a28692d1c9ffd2765904 | 3,317 | c | C | assign1/test_file/result/vla_test_1hr/afl_output/cov/diff/id:000010,orig:05_array.c | Kur1su0/cs6888 | 8eefcfeb23f2f7e7d8f6ee0e76a20a20623b9b9f | [
"MIT"
] | null | null | null | assign1/test_file/result/vla_test_1hr/afl_output/cov/diff/id:000010,orig:05_array.c | Kur1su0/cs6888 | 8eefcfeb23f2f7e7d8f6ee0e76a20a20623b9b9f | [
"MIT"
] | null | null | null | assign1/test_file/result/vla_test_1hr/afl_output/cov/diff/id:000010,orig:05_array.c | Kur1su0/cs6888 | 8eefcfeb23f2f7e7d8f6ee0e76a20a20623b9b9f | [
"MIT"
] | null | null | null | diff id:000009,orig:04_for.expect -> id:000010,orig:05_array.c
Src file: /root/git/cs6888/assign1/tcc-0.9.27-cov/x86_64-gen.c
New 'function' coverage: gen_modrm64()
New 'function' coverage: gen_opl()
New 'line' coverage: 1767
New 'line' coverage: 1768
New 'line' coverage: 1769
New 'line' coverage: 1770
Ne... | 28.594828 | 62 | 0.680736 |
de35dcfcf7b685258321d4f0d18765582e6a349d | 194 | c | C | regression-tests/horn-hcc-array/out-of-bounds-loop.c | pottu/tricera | 0f4af70bce7ce67bc6abdb403cdf46bbae6f0f41 | [
"BSD-3-Clause"
] | 12 | 2019-03-05T08:55:15.000Z | 2022-03-14T22:20:42.000Z | regression-tests/horn-hcc-array/out-of-bounds-loop.c | pottu/tricera | 0f4af70bce7ce67bc6abdb403cdf46bbae6f0f41 | [
"BSD-3-Clause"
] | null | null | null | regression-tests/horn-hcc-array/out-of-bounds-loop.c | pottu/tricera | 0f4af70bce7ce67bc6abdb403cdf46bbae6f0f41 | [
"BSD-3-Clause"
] | null | null | null | #include <stdlib.h>
#include <assert.h>
extern int nondet();
int a[];
void main() {
int n = 1;
a = malloc(sizeof(int)*n);
for (int i = 0; i <= n; ++i) {
a[i] = 3;
}
free(a);
}
| 11.411765 | 32 | 0.494845 |
0529b52303714ee393b4de78784d775bcf69e07e | 2,518 | h | C | game/shared/CWeaponInfoCache.h | xalalau/HLEnhanced | f108222ab7d303c9ed5a8e81269f9e949508e78e | [
"Unlicense"
] | 83 | 2016-06-10T20:49:23.000Z | 2022-02-13T18:05:11.000Z | game/shared/CWeaponInfoCache.h | xalalau/HLEnhanced | f108222ab7d303c9ed5a8e81269f9e949508e78e | [
"Unlicense"
] | 26 | 2016-06-16T22:27:24.000Z | 2019-04-30T19:25:51.000Z | game/shared/CWeaponInfoCache.h | xalalau/HLEnhanced | f108222ab7d303c9ed5a8e81269f9e949508e78e | [
"Unlicense"
] | 58 | 2016-06-10T23:52:33.000Z | 2021-12-30T02:30:50.000Z | #ifndef GAME_SHARED_CWEAPONINFOCACHE_H
#define GAME_SHARED_CWEAPONINFOCACHE_H
#include <memory>
#include <unordered_map>
#include <vector>
#include "StringUtils.h"
#include "CWeaponInfo.h"
/**
* Singleton class that caches weapon info.
*/
class CWeaponInfoCache final
{
public:
static const char* const WEAPON_INFO_... | 26.505263 | 124 | 0.745433 |
dc66390801aae24010cf6720a3b7b7de127dede9 | 1,763 | h | C | src/frr/pceplib/test/pcep_msg_tools_test.h | zhouhaifeng/vpe | 9c644ffd561988e5740021ed26e0f7739844353d | [
"Apache-2.0"
] | null | null | null | src/frr/pceplib/test/pcep_msg_tools_test.h | zhouhaifeng/vpe | 9c644ffd561988e5740021ed26e0f7739844353d | [
"Apache-2.0"
] | null | null | null | src/frr/pceplib/test/pcep_msg_tools_test.h | zhouhaifeng/vpe | 9c644ffd561988e5740021ed26e0f7739844353d | [
"Apache-2.0"
] | null | null | null | /*
* This file is part of the PCEPlib, a PCEP protocol library.
*
* Copyright (C) 2020 Volta Networks https://voltanet.io/
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
... | 35.979592 | 75 | 0.802042 |
dc08216d57c8e15de9f5f3fdc2ef619095bf1800 | 5,176 | h | C | include/ironbee/array.h | b1v1r/ironbee | 97b453afd9c3dc70342c6183a875bde22c9c4a76 | [
"Apache-2.0"
] | 148 | 2015-01-10T01:53:39.000Z | 2022-03-20T20:48:12.000Z | include/ironbee/array.h | ErikHendriks/ironbee | 97b453afd9c3dc70342c6183a875bde22c9c4a76 | [
"Apache-2.0"
] | 8 | 2015-03-09T15:50:36.000Z | 2020-10-10T19:23:06.000Z | include/ironbee/array.h | ErikHendriks/ironbee | 97b453afd9c3dc70342c6183a875bde22c9c4a76 | [
"Apache-2.0"
] | 46 | 2015-03-08T22:45:42.000Z | 2022-01-15T13:47:59.000Z | /*****************************************************************************
* Licensed to Qualys, Inc. (QUALYS) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* QUALYS licenses this file to You under ... | 26.274112 | 78 | 0.652048 |
492ccba32f7249a4d2c26379ead7c3e9ab8276a7 | 17,415 | c | C | lb.c | dylanrainwater/kilo | fec2a436e1fd65c258ffdc011e3baf705098640d | [
"MIT"
] | null | null | null | lb.c | dylanrainwater/kilo | fec2a436e1fd65c258ffdc011e3baf705098640d | [
"MIT"
] | null | null | null | lb.c | dylanrainwater/kilo | fec2a436e1fd65c258ffdc011e3baf705098640d | [
"MIT"
] | null | null | null | /*** includes ***/
// Feature test macros to make a little more portable
#define _DEFAULT_SOURCE
#define _BSD_SOURCE
#define _GNU_SOURCE
#include <ctype.h>
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#include <sys/ioctl.h>
#include <sys/types.h>... | 23.921703 | 112 | 0.496985 |
72c09f3aec740a530d0700513e6fe9e2ab403251 | 3,742 | h | C | Source/IntegratedExternals/vaBulletPhysicsIntegration.h | GameTechDev/XeGTAO | 0d177ce06bfa642f64d8af4de1197ad1bcb862d4 | [
"MIT"
] | 318 | 2021-08-20T10:16:12.000Z | 2022-03-24T03:08:16.000Z | Source/IntegratedExternals/vaBulletPhysicsIntegration.h | s-nase/XeGTAO | 11e439c33e3dd7c1e4ea0fc73733ca840bc95bec | [
"MIT"
] | 5 | 2021-09-03T11:40:54.000Z | 2022-02-09T12:37:12.000Z | Source/IntegratedExternals/vaBulletPhysicsIntegration.h | s-nase/XeGTAO | 11e439c33e3dd7c1e4ea0fc73733ca840bc95bec | [
"MIT"
] | 22 | 2021-09-02T03:33:18.000Z | 2022-02-23T06:36:39.000Z | #pragma once
#include "Core/vaCore.h"
#ifdef VA_BULLETPHYSICS_INTEGRATION_ENABLED
#include "Core/vaMath.h"
#include "IntegratedExternals\bullet\btBulletDynamicsCommon.h"
#include "IntegratedExternals\bullet\btBulletCollisionCommon.h"
#include "IntegratedExternals\bullet\BulletCollision\CollisionShapes\btHeightfie... | 70.603774 | 287 | 0.742117 |
3c51278fbfc9ef5974dd172bf8ddc9c900a21b16 | 662 | h | C | 170410/01_algos/01_stl/02_helper.h | yeputons/spring-2017-cpp | f590dcf031be6f2920cae5fc9fe147fcac414d3f | [
"MIT"
] | null | null | null | 170410/01_algos/01_stl/02_helper.h | yeputons/spring-2017-cpp | f590dcf031be6f2920cae5fc9fe147fcac414d3f | [
"MIT"
] | null | null | null | 170410/01_algos/01_stl/02_helper.h | yeputons/spring-2017-cpp | f590dcf031be6f2920cae5fc9fe147fcac414d3f | [
"MIT"
] | null | null | null | #ifndef H_01_STL_02_HELPER_H_
#define H_01_STL_02_HELPER_H_
#include <chrono>
template<typename T>
void fill(T& container) {
for (int i = 0; i < 10000; i++) {
container.push_back(i);
}
}
template<typename T>
void check(const T& container) {
using std::chrono::steady_clock;
using std::chrono::duration_cast... | 24.518519 | 80 | 0.675227 |
715a7d362d324bcf64f6d489ee9870581e56f47c | 1,948 | h | C | src/prod/src/Hosting2/ServiceFactoryRegistrationTable.h | gridgentoo/ServiceFabricAzure | c3e7a07617e852322d73e6cc9819d266146866a4 | [
"MIT"
] | 2,542 | 2018-03-14T21:56:12.000Z | 2019-05-06T01:18:20.000Z | src/prod/src/Hosting2/ServiceFactoryRegistrationTable.h | gridgentoo/ServiceFabricAzure | c3e7a07617e852322d73e6cc9819d266146866a4 | [
"MIT"
] | 994 | 2019-05-07T02:39:30.000Z | 2022-03-31T13:23:04.000Z | src/prod/src/Hosting2/ServiceFactoryRegistrationTable.h | gridgentoo/ServiceFabricAzure | c3e7a07617e852322d73e6cc9819d266146866a4 | [
"MIT"
] | 300 | 2018-03-14T21:57:17.000Z | 2019-05-06T20:07:00.000Z | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
#pragma once
namespace Hostin... | 42.347826 | 135 | 0.637577 |
7169b682af417a6bc7ac14601a5dc7d61fe4e97b | 14,216 | c | C | qamsource/podmgr/podserver/cardmanager/scm_pod_stack/podlowapi.c | rdkcmf/rdk-mediaframework | 55c7753eedaeb15719c5825f212372857459a87e | [
"Apache-2.0"
] | null | null | null | qamsource/podmgr/podserver/cardmanager/scm_pod_stack/podlowapi.c | rdkcmf/rdk-mediaframework | 55c7753eedaeb15719c5825f212372857459a87e | [
"Apache-2.0"
] | null | null | null | qamsource/podmgr/podserver/cardmanager/scm_pod_stack/podlowapi.c | rdkcmf/rdk-mediaframework | 55c7753eedaeb15719c5825f212372857459a87e | [
"Apache-2.0"
] | null | null | null | /*
* If not stated otherwise in this file or this component's LICENSE file the
* following copyright and licenses apply:
*
* Copyright 2011 RDK Management
*
* 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... | 27.391137 | 140 | 0.550155 |
14bdf46ae60233ac4fba69393bb6a718cd6369c2 | 2,401 | c | C | cgi-bin/logout.c | Ikaros-521/boa_cgi_SMS | 194c79c34f6a27588a85ea9d2f51866310e55eef | [
"Apache-2.0"
] | 3 | 2021-12-15T10:21:27.000Z | 2022-02-02T16:33:15.000Z | cgi-bin/logout.c | Ikaros-521/boa_cgi_SMS | 194c79c34f6a27588a85ea9d2f51866310e55eef | [
"Apache-2.0"
] | null | null | null | cgi-bin/logout.c | Ikaros-521/boa_cgi_SMS | 194c79c34f6a27588a85ea9d2f51866310e55eef | [
"Apache-2.0"
] | null | null | null | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <time.h>
#include "cgic.h"
#define SESSION_ID_LEN 45
int cgiMain(void)
{
char *lenstr;
int fd_webdata=-1;
if(lenstr=getenv("QUERY_STRING"))
{
}
else
{
}
p... | 17.91791 | 132 | 0.546855 |
213cf4ccf80d34fb180a1c50534488fdeb0a10ab | 2,221 | c | C | 2_stacks_1_buffer/checker_s/ft_game_2.c | iiasceri/AcademyPlus | 3a48cbfe82c1d1e859d5d9300c2b811715c0b042 | [
"MIT"
] | null | null | null | 2_stacks_1_buffer/checker_s/ft_game_2.c | iiasceri/AcademyPlus | 3a48cbfe82c1d1e859d5d9300c2b811715c0b042 | [
"MIT"
] | null | null | null | 2_stacks_1_buffer/checker_s/ft_game_2.c | iiasceri/AcademyPlus | 3a48cbfe82c1d1e859d5d9300c2b811715c0b042 | [
"MIT"
] | null | null | null | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_game_2.c :+: :+: :+: ... | 28.113924 | 80 | 0.410176 |
34acb8ff4bcd963459d642ae8f79bc272048980f | 8,807 | c | C | main.c | ysph/g403-GUI-control | 37de9ea3a1858785f8e5fa20f8e917d8445c9576 | [
"MIT"
] | 4 | 2021-03-28T01:58:59.000Z | 2022-01-29T10:26:19.000Z | main.c | ysph/g403-GUI-control | 37de9ea3a1858785f8e5fa20f8e917d8445c9576 | [
"MIT"
] | 2 | 2020-06-11T12:23:48.000Z | 2020-06-18T20:16:40.000Z | main.c | ysph/gHub-GUI | 37de9ea3a1858785f8e5fa20f8e917d8445c9576 | [
"MIT"
] | 2 | 2021-11-03T17:34:36.000Z | 2022-03-01T03:42:14.000Z | // Copyright 2020 Mikhail ysph Subbotin
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <time.h>
#include <libusb-1.0/libusb.h>
#include "mouselist.h"
#include "miscellaneous.h"
#define LIBUSB_OPTION_LOG_LEVEL 0
#define LIBUSB_LOG_LEVEL_ERROR 1
static libusb_device_handle *devh = NULL;
libusb_co... | 30.160959 | 134 | 0.707732 |
1fb39119868bcdb0f70b7229472c3530dc064f63 | 1,665 | h | C | reuse/m2c/Errors.h | cocolab8/cocktail | 6b4dfe28fcca30098c9a053f48e5a395c006009d | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | reuse/m2c/Errors.h | cocolab8/cocktail | 6b4dfe28fcca30098c9a053f48e5a395c006009d | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | reuse/m2c/Errors.h | cocolab8/cocktail | 6b4dfe28fcca30098c9a053f48e5a395c006009d | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | #define DEFINITION_Errors
#ifndef DEFINITION_Position
#include "Position.h"
#endif
#ifndef DEFINITION_IO
#include "IO.h"
#endif
#define ZblNKKO_0 0
#define ZblNKKO_1 1
#define ZblNKKO_2 2
#define ZblNKKO_3 3
#define ZblNKKO_4 4
#define ZblNKKO_5 5
#define ZblNKKO_6 6
#define ZblNKKO_7 7
#define ZblNKKO_8 8
#define Z... | 26.854839 | 117 | 0.792793 |
225ead49e4458c289e28d333823ff7094977bafa | 26,445 | h | C | include/star/utils/detail/basic_circular.h | hara-y/StarROS | 03008d8acb46f606bf750cdbb4a9703fae427694 | [
"Apache-2.0"
] | 2 | 2020-05-16T03:14:54.000Z | 2020-05-16T08:27:24.000Z | include/star/utils/detail/basic_circular.h | hara-y/StarROS | 03008d8acb46f606bf750cdbb4a9703fae427694 | [
"Apache-2.0"
] | null | null | null | include/star/utils/detail/basic_circular.h | hara-y/StarROS | 03008d8acb46f606bf750cdbb4a9703fae427694 | [
"Apache-2.0"
] | 3 | 2020-05-15T09:50:06.000Z | 2020-08-26T12:47:05.000Z | /**
* @author : John
* @date : 2018-09-20
*/
#ifndef __STAR_SDK_UTILS_BASIC_CIRCULAR_H
#define __STAR_SDK_UTILS_BASIC_CIRCULAR_H
#include <star/star.h>
#include <cstddef>
#include <cstdint>
#include <memory>
#include <stdexcept>
#include <star/utils/detail/buffer.h>
namespace ss {
namespace utils {
... | 27.123077 | 111 | 0.593912 |
e80e4dd3a647a07ec71a5ed77f34fac51c812c82 | 1,432 | c | C | usr/spawnd/ps.c | renlord/ethz-aos2015 | 0c3face3ba42784e8feacebfec0fbefc083800b1 | [
"MIT"
] | 1 | 2021-02-25T13:59:00.000Z | 2021-02-25T13:59:00.000Z | usr/spawnd/ps.c | renlord/ethz-aos2015 | 0c3face3ba42784e8feacebfec0fbefc083800b1 | [
"MIT"
] | null | null | null | usr/spawnd/ps.c | renlord/ethz-aos2015 | 0c3face3ba42784e8feacebfec0fbefc083800b1 | [
"MIT"
] | null | null | null | #include "ps.h"
errval_t ps_register(struct ps_entry *entry, domainid_t *domainid,
domainid_t parentid)
{
assert(parentid < MAX_DOMAINS);
struct ps_entry **child_slot;
bool child_slot_avail = false;
for (int i = 0; i < MAX_CHILD_PROCESS; i++) {
if (registry[parentid]->c... | 23.866667 | 67 | 0.589385 |
e811ce7f7895fc876a630ef3232af3db437e1c3a | 875 | h | C | VulkanSetup/CharacterSet.h | NEtuee/AnimationEngine | feb7d974edf9cb19725578cae1bcda35a0edc683 | [
"MIT"
] | null | null | null | VulkanSetup/CharacterSet.h | NEtuee/AnimationEngine | feb7d974edf9cb19725578cae1bcda35a0edc683 | [
"MIT"
] | null | null | null | VulkanSetup/CharacterSet.h | NEtuee/AnimationEngine | feb7d974edf9cb19725578cae1bcda35a0edc683 | [
"MIT"
] | null | null | null | #pragma once
#include <string>
#include <unordered_map>
class BoneStructure;
class BlendTree;
class AnimationDataPack;
class CharacterSetLoader;
class IKChain;
class CharacterSet
{
public:
CharacterSet();
void createCharacterSet(std::string name);
void destroyCharacterSet();
void frame(float ... | 21.341463 | 76 | 0.737143 |
9fc952d04ad928821fb47460415bcebcca8f4e39 | 465 | h | C | src/token.h | pinebit/vault | eafb42e08c7bb2f25cbf5aa9f3d9a17317f72c04 | [
"MIT"
] | 3 | 2018-04-04T06:09:22.000Z | 2019-02-28T05:31:49.000Z | src/token.h | pinebit/vault | eafb42e08c7bb2f25cbf5aa9f3d9a17317f72c04 | [
"MIT"
] | null | null | null | src/token.h | pinebit/vault | eafb42e08c7bb2f25cbf5aa9f3d9a17317f72c04 | [
"MIT"
] | 3 | 2018-11-14T21:14:43.000Z | 2019-10-28T21:15:36.000Z | #ifndef VAULT_TOKEN_H
#define VAULT_TOKEN_H
#include <vault.pb.h>
#include "types.h"
namespace vault {
blob_t encode_token(const Authentication &authentication,
const blob_t &aes_key,
const blob_t &aes_iv);
void decode_token(const blob_t &data,
... | 22.142857 | 61 | 0.576344 |
b212ff062c728f8ac80af1ea2f6fd197db1d87c5 | 1,028 | h | C | PrivateFrameworks/TelephonyUI.framework/TPBottomBar.h | shaojiankui/iOS10-Runtime-Headers | 6b0d842bed0c52c2a7c1464087b3081af7e10c43 | [
"MIT"
] | 36 | 2016-04-20T04:19:04.000Z | 2018-10-08T04:12:25.000Z | PrivateFrameworks/TelephonyUI.framework/TPBottomBar.h | shaojiankui/iOS10-Runtime-Headers | 6b0d842bed0c52c2a7c1464087b3081af7e10c43 | [
"MIT"
] | null | null | null | PrivateFrameworks/TelephonyUI.framework/TPBottomBar.h | shaojiankui/iOS10-Runtime-Headers | 6b0d842bed0c52c2a7c1464087b3081af7e10c43 | [
"MIT"
] | 10 | 2016-06-16T02:40:44.000Z | 2019-01-15T03:31:45.000Z | /* Generated by RuntimeBrowser
Image: /System/Library/PrivateFrameworks/TelephonyUI.framework/TelephonyUI
*/
@interface TPBottomBar : UIView {
long long _orientation;
long long _style;
}
+ (double)defaultHeight;
+ (double)defaultHeightForOrientation:(long long)arg1;
+ (double)defaultHeightForStyle:(long... | 38.074074 | 175 | 0.753891 |
2513b6cb2ba3eff7222ae25e07fcb64a80236bf2 | 5,295 | h | C | source/cosa/package/slap/include/slap_co_oid.h | lgirdk/ccsp-common-library | 8d912984e96f960df6dadb4b0e6bc76c76376776 | [
"Apache-2.0"
] | 4 | 2018-02-26T05:41:14.000Z | 2019-12-20T07:31:39.000Z | source/cosa/package/slap/include/slap_co_oid.h | rdkcmf/rdkb-CcspCommonLibrary | 3eba76685bbf5eb6656f45eb4b57fdb5c269c2a1 | [
"Apache-2.0"
] | null | null | null | source/cosa/package/slap/include/slap_co_oid.h | rdkcmf/rdkb-CcspCommonLibrary | 3eba76685bbf5eb6656f45eb4b57fdb5c269c2a1 | [
"Apache-2.0"
] | 3 | 2017-07-30T15:35:16.000Z | 2020-08-18T20:44:08.000Z | /*
* If not stated otherwise in this file or this component's Licenses.txt file the
* following copyright and licenses apply:
*
* Copyright 2015 RDK Management
*
* 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 ... | 44.125 | 98 | 0.580737 |
d7add50d9c3a89d15934295bbb8125bcd27804c7 | 319 | h | C | instruction/instruction.h | muyulong/pi_gateway | bd47e2a937389d47d8e3298a73dbe48556670d3d | [
"WTFPL"
] | 2 | 2022-03-27T08:38:16.000Z | 2022-03-27T08:46:46.000Z | instruction/instruction.h | muyulong/Pi_gateway | 48f4bc7d42852f3b21ee8ad3b3066499bfb8e43b | [
"WTFPL"
] | null | null | null | instruction/instruction.h | muyulong/Pi_gateway | 48f4bc7d42852f3b21ee8ad3b3066499bfb8e43b | [
"WTFPL"
] | null | null | null | #ifndef INSTRUCTION_H
#define INSTRUCTION_H
#include <QWidget>
namespace Ui {
class instruction;
}
class instruction : public QWidget
{
Q_OBJECT
public:
explicit instruction(QWidget *parent = nullptr);
~instruction();
private:
Ui::instruction *ui;
};
#endif // INSTRUCTION_H
| 13.869565 | 53 | 0.664577 |
baae37e2d5b2796bf2b3e7586ccc32caed395f47 | 2,216 | c | C | src/horse.c | ederlf/paper-sigsim-pads-18 | 27c9959c0782cc5edc56a3051709a05c89e6b139 | [
"BSD-3-Clause"
] | 7 | 2018-07-06T09:29:04.000Z | 2022-03-01T16:53:43.000Z | src/horse.c | ederlf/paper-sigsim-pads-18 | 27c9959c0782cc5edc56a3051709a05c89e6b139 | [
"BSD-3-Clause"
] | null | null | null | src/horse.c | ederlf/paper-sigsim-pads-18 | 27c9959c0782cc5edc56a3051709a05c89e6b139 | [
"BSD-3-Clause"
] | 1 | 2018-07-12T20:08:17.000Z | 2018-07-12T20:08:17.000Z | /* Copyright (c) 2016-2017, Eder Leao Fernandes
* All rights reserved.
*
* The contents of this file are subject to the license defined in
* file 'doc/LICENSE', which is part of this source code package.
*
*
* Author: Eder Leao Fernandes <e.leao@qmul.ac.uk>
*/
#include <ctype.h>
#include <stdio.h>
#include <st... | 27.02439 | 70 | 0.428249 |
445318a8b400cb6718e49962d971dbf4ba89b25f | 3,020 | h | C | include/raa.h | revery-ui/esy-nasm | 64a802b70c403634d8f9698bb85563932f7c0cfa | [
"BSD-2-Clause"
] | null | null | null | include/raa.h | revery-ui/esy-nasm | 64a802b70c403634d8f9698bb85563932f7c0cfa | [
"BSD-2-Clause"
] | null | null | null | include/raa.h | revery-ui/esy-nasm | 64a802b70c403634d8f9698bb85563932f7c0cfa | [
"BSD-2-Clause"
] | 1 | 2022-03-21T07:51:52.000Z | 2022-03-21T07:51:52.000Z | /* ----------------------------------------------------------------------- *
*
* Copyright 1996-2016 The NASM Authors - All Rights Reserved
* See the file AUTHORS included with the NASM distribution for
* the specific copyright holders.
*
* Redistribution and use in source and binary forms, with or wit... | 34.318182 | 77 | 0.68245 |
80e6133271d08495f8f7969a721034353fd1f7c4 | 4,214 | h | C | 02_Library/Include/XMM3G/M3GMaterial.h | mcodegeeks/OpenKODE-Framework | d4382d781da7f488a0e7667362a89e8e389468dd | [
"MIT"
] | 2 | 2017-08-03T07:15:00.000Z | 2018-06-18T10:32:53.000Z | 02_Library/Include/XMM3G/M3GMaterial.h | mcodegeeks/OpenKODE-Framework | d4382d781da7f488a0e7667362a89e8e389468dd | [
"MIT"
] | null | null | null | 02_Library/Include/XMM3G/M3GMaterial.h | mcodegeeks/OpenKODE-Framework | d4382d781da7f488a0e7667362a89e8e389468dd | [
"MIT"
] | 2 | 2019-03-04T22:57:42.000Z | 2020-03-06T01:32:26.000Z | /* --------------------------------------------------------------------------
*
* File M3GMaterial.h
* Author Young-Hwan Mun
*
* --------------------------------------------------------------------------
*
* Copyright (c) 2010 UEDA.Takashi
* Copyright (c) 2010-2013... | 29.263889 | 104 | 0.572852 |
c5195820be66a358079a443ec6a3ffc9a59ef18a | 6,108 | h | C | src/libpidee.h | Pidee/ofxPidee | 1dc50befc1077e04c0d0c8c6250a88ee102ad9c9 | [
"MIT"
] | null | null | null | src/libpidee.h | Pidee/ofxPidee | 1dc50befc1077e04c0d0c8c6250a88ee102ad9c9 | [
"MIT"
] | null | null | null | src/libpidee.h | Pidee/ofxPidee | 1dc50befc1077e04c0d0c8c6250a88ee102ad9c9 | [
"MIT"
] | null | null | null | /**
* Copyright (c) 2016 Ross Cairns <ross@electricglen.com>
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS... | 50.065574 | 153 | 0.714637 |
5dffd2307f9d7c8fb8e706bd1f58504667bd8387 | 39 | h | C | MulticategorySinglelayerNetwork/Process.h | uzunb/Artificial-Neural-Network-GUI | 4c7d3898dd24ddef9bff411995700bc167280538 | [
"MIT"
] | null | null | null | MulticategorySinglelayerNetwork/Process.h | uzunb/Artificial-Neural-Network-GUI | 4c7d3898dd24ddef9bff411995700bc167280538 | [
"MIT"
] | null | null | null | MulticategorySinglelayerNetwork/Process.h | uzunb/Artificial-Neural-Network-GUI | 4c7d3898dd24ddef9bff411995700bc167280538 | [
"MIT"
] | 1 | 2021-02-08T19:47:40.000Z | 2021-02-08T19:47:40.000Z |
int YPoint(int x, double* w, int = 1); | 19.5 | 38 | 0.615385 |
70776de6a6e21ede52acf46f96ca2de05a22ee00 | 4,252 | h | C | core/Render.h | jiwenchen/MonkeyGL | 98f8478b753c91e8b8e6c872a03a9742962fbb63 | [
"MIT"
] | 4 | 2022-02-25T02:48:49.000Z | 2022-03-28T08:02:15.000Z | core/Render.h | jiwenchen/MonkeyGL | 98f8478b753c91e8b8e6c872a03a9742962fbb63 | [
"MIT"
] | null | null | null | core/Render.h | jiwenchen/MonkeyGL | 98f8478b753c91e8b8e6c872a03a9742962fbb63 | [
"MIT"
] | null | null | null | // MIT License
// Copyright (c) 2022 jiwenchen(cjwbeyond@hotmail.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 rights
// to u... | 38.654545 | 141 | 0.6992 |
bee2681436c618cb1d03c3e7dcf1540d5b39d47f | 1,338 | h | C | libs/libft/get_next_line.h | JoorsB/corewar | 868ea2d7ff68f22db1f65fe6b66e3667db0d9bd8 | [
"MIT"
] | 2 | 2020-06-17T16:52:23.000Z | 2020-07-16T12:59:17.000Z | libs/libft/get_next_line.h | JoorsB/corewar | 868ea2d7ff68f22db1f65fe6b66e3667db0d9bd8 | [
"MIT"
] | 12 | 2020-07-15T12:45:11.000Z | 2020-09-14T15:00:14.000Z | libs/libft/get_next_line.h | JoorsB/corewar | 868ea2d7ff68f22db1f65fe6b66e3667db0d9bd8 | [
"MIT"
] | 4 | 2020-06-17T16:52:30.000Z | 2020-07-16T12:59:25.000Z | /* ************************************************************************** */
/* */
/* :::::::: */
/* get_next_line.h :+: :+: ... | 38.228571 | 80 | 0.324365 |
2acf549f05df175ffce691d9d93d1427381a9fe6 | 2,304 | c | C | third-party/gasnet/gasnet-src/pami-conduit/gasnet_coll_pami_gathr.c | milisarge/chapel | 5a3bb108f1dde56f19ad0811726809566b9e6613 | [
"ECL-2.0",
"Apache-2.0"
] | 7 | 2015-03-02T01:42:08.000Z | 2021-05-11T22:04:04.000Z | third-party/gasnet/gasnet-src/pami-conduit/gasnet_coll_pami_gathr.c | milisarge/chapel | 5a3bb108f1dde56f19ad0811726809566b9e6613 | [
"ECL-2.0",
"Apache-2.0"
] | 2 | 2019-09-19T17:35:56.000Z | 2019-09-19T20:54:12.000Z | third-party/gasnet/gasnet-src/pami-conduit/gasnet_coll_pami_gathr.c | milisarge/chapel | 5a3bb108f1dde56f19ad0811726809566b9e6613 | [
"ECL-2.0",
"Apache-2.0"
] | 6 | 2015-03-01T13:02:20.000Z | 2021-02-27T01:55:40.000Z | /* $Source: bitbucket.org:berkeleylab/gasnet.git/pami-conduit/gasnet_coll_pami_gathr.c $
* Description: GASNet extended collectives implementation on PAMI
* Copyright 2012, The Regents of the University of California
* Terms of use are as specified in license.txt
*/
#include <gasnet_coll_pami.h>
#if GASNET_PAMI... | 35.446154 | 102 | 0.673177 |
f1c864e960e676bc4121a911fa22f6d62a07bab4 | 643 | h | C | students/students/DeleteViewController.h | fzh541788/Week3 | bee311a9c09ba796cdbedd9d170250001023ad19 | [
"Apache-2.0"
] | null | null | null | students/students/DeleteViewController.h | fzh541788/Week3 | bee311a9c09ba796cdbedd9d170250001023ad19 | [
"Apache-2.0"
] | null | null | null | students/students/DeleteViewController.h | fzh541788/Week3 | bee311a9c09ba796cdbedd9d170250001023ad19 | [
"Apache-2.0"
] | null | null | null | //
// DeleteViewController.h
// students
//
// Created by young_jerry on 2020/7/30.
// Copyright © 2020 young_jerry. All rights reserved.
//
#import <UIKit/UIKit.h>
//声明协议方法
@protocol DeleteDelegate <NSObject>
- (void)deleteContent:(NSMutableArray *)nameArr andClass:(NSMutableArray *)classArr andScore:(NSMutable... | 20.741935 | 120 | 0.783826 |
4a45e00ebad6c29b4ac6739e175f3773726147cd | 680 | c | C | Examen/Examen_1/FuncionesPunteros.c | mikenavarroro/ProgramacionII | 9e7834051db7b1b0cfc9b69722507ea14ba822da | [
"MIT"
] | null | null | null | Examen/Examen_1/FuncionesPunteros.c | mikenavarroro/ProgramacionII | 9e7834051db7b1b0cfc9b69722507ea14ba822da | [
"MIT"
] | null | null | null | Examen/Examen_1/FuncionesPunteros.c | mikenavarroro/ProgramacionII | 9e7834051db7b1b0cfc9b69722507ea14ba822da | [
"MIT"
] | null | null | null | #include <stdio.h>
void promedio(float a; int *b);
typedef struct{
char nombre[30];
float prom;
}estu;
int main(){
int N; i;
float prom = 0.0;
printf("Cuantos alumnos quiere ingresar?\n");
scanf("%i"; &N);
estu estudientes[N];
for (i = 0; i < N; i++){
printf("Nombre del %d es... | 17.894737 | 52 | 0.551471 |
9a305fd237a7eba0b6a4c0d6c2268b3e2f99d365 | 11,539 | c | C | src/snmp-mib/agent/target-module.c | verrio/osnmpd | a7c7830cfbbb77fc20d18021531e250267da67e3 | [
"MIT"
] | 11 | 2017-05-20T22:34:34.000Z | 2022-02-15T00:30:49.000Z | src/snmp-mib/agent/target-module.c | verrio/osnmpd | a7c7830cfbbb77fc20d18021531e250267da67e3 | [
"MIT"
] | 1 | 2019-12-10T01:40:18.000Z | 2019-12-10T01:40:18.000Z | src/snmp-mib/agent/target-module.c | verrio/osnmpd | a7c7830cfbbb77fc20d18021531e250267da67e3 | [
"MIT"
] | 5 | 2017-05-20T22:40:25.000Z | 2021-03-18T19:00:54.000Z | /*
* This file is part of the osnmpd project (https://github.com/verrio/osnmpd).
* Copyright (C) 2016 Olivier Verriest
*
* 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 restrict... | 32.052778 | 91 | 0.647543 |
2bee8c2132e4f96b7646f949a478aff5347980ab | 2,292 | h | C | Source/ILABReverseVideoDefs.h | km-mjkong/TRReverse | 0b31a3a4cdbb9f90b2123f73bf7f7adfa7799cc3 | [
"BSD-3-Clause"
] | 2 | 2019-08-26T00:39:19.000Z | 2019-10-11T00:30:48.000Z | Source/ILABReverseVideoDefs.h | km-mjkong/TRReverse | 0b31a3a4cdbb9f90b2123f73bf7f7adfa7799cc3 | [
"BSD-3-Clause"
] | null | null | null | Source/ILABReverseVideoDefs.h | km-mjkong/TRReverse | 0b31a3a4cdbb9f90b2123f73bf7f7adfa7799cc3 | [
"BSD-3-Clause"
] | 1 | 2019-08-26T05:55:48.000Z | 2019-08-26T05:55:48.000Z | //
// ILABReverseVideoDefs.h
// ILABReverseVideoExporter
//
// Created by Jon Gilkison on 8/15/17.
//
#import <Foundation/Foundation.h>
extern NSString * const kILABReverseVideoExportSessionErrorDomain;
typedef enum : NSInteger {
ILABSessionErrorMissingOutputURL = -101,
ILABSessionErrorAVAs... | 32.28169 | 106 | 0.732984 |
60034f1c172a04d650b2063787959c65c9ecda89 | 128 | h | C | qtCyberDIP-master/qtCyberDip/QTFFmpegWrapper/libavutil/ffversion.h | leofansq/Automatic-Puzzle-Solver | 7179d7ebcaa290eade1fb4846ea50bae2c7bbf2b | [
"MIT"
] | 2 | 2018-11-02T02:46:12.000Z | 2020-07-05T10:40:08.000Z | qtCyberDIP-master/qtCyberDip/QTFFmpegWrapper/libavutil/ffversion.h | leofansq/Automatic-Puzzle-Solver | 7179d7ebcaa290eade1fb4846ea50bae2c7bbf2b | [
"MIT"
] | null | null | null | qtCyberDIP-master/qtCyberDip/QTFFmpegWrapper/libavutil/ffversion.h | leofansq/Automatic-Puzzle-Solver | 7179d7ebcaa290eade1fb4846ea50bae2c7bbf2b | [
"MIT"
] | null | null | null | #ifndef AVUTIL_FFVERSION_H
#define AVUTIL_FFVERSION_H
#define FFMPEG_VERSION "N-59015-g3efe5e3"
#endif /* AVUTIL_FFVERSION_H */
| 25.6 | 41 | 0.820313 |
44e5b2580c1989ae5d90b14f873c39e4e7e8b541 | 6,266 | c | C | src/yalex_interop.c | AlexanderBrevig/yalex | cca45be9544684781a7c41471c4c7d32a115a9a5 | [
"MIT"
] | 4 | 2019-03-12T22:20:00.000Z | 2022-03-09T09:50:22.000Z | src/yalex_interop.c | AlexanderBrevig/yalex | cca45be9544684781a7c41471c4c7d32a115a9a5 | [
"MIT"
] | 1 | 2020-03-11T08:31:53.000Z | 2020-03-11T08:31:53.000Z | src/yalex_interop.c | AlexanderBrevig/yalex | cca45be9544684781a7c41471c4c7d32a115a9a5 | [
"MIT"
] | null | null | null | #ifdef __cplusplus
extern "C" {
#endif
#include "yalex_interop.h"
int yalex_strlen(const char * str) {
if (str == 0) return 0;
int len = 0;
while (str[len]) len++;
return len;
}
int yalex_strcat(char * to, unsigned int size, const char * from) {
if (to == 0 || from == 0 || size == 0) return 0;
... | 30.270531 | 77 | 0.558091 |
cd10216f3e74a202e277f4ce91ea88fb29bbc169 | 1,470 | c | C | mainf.c | I-rocha/Semaforo | a0317e396453e6b4cf476a7b69e5c7033ed6731d | [
"MIT"
] | null | null | null | mainf.c | I-rocha/Semaforo | a0317e396453e6b4cf476a7b69e5c7033ed6731d | [
"MIT"
] | null | null | null | mainf.c | I-rocha/Semaforo | a0317e396453e6b4cf476a7b69e5c7033ed6731d | [
"MIT"
] | null | null | null | #include<stdio.h>
#include<stdlib.h>
#include<semaphore.h>
#include<pthread.h>
#include<unistd.h>
sem_t* sem_a;
sem_t* sem_b;
void* fA(){
printf("Thread A: %llu\n\n", (long long unsigned int)pthread_self());
// printf("before waiting fa\n");
sem_wait(sem_a);
printf("after A alocar a\n");
sem_wait(sem_b);
pri... | 18.846154 | 70 | 0.637415 |
75ca60c60b176aad0fa89ed3a049a6568e564f19 | 2,906 | c | C | doc/mwc/doc/coherent/manual/FILES.c | gspu/Coherent | 299bea1bb52a4dcc42a06eabd5b476fce77013ef | [
"BSD-3-Clause"
] | 20 | 2019-10-10T14:14:56.000Z | 2022-02-24T02:54:38.000Z | doc/mwc/doc/coherent/manual/FILES.c | gspu/Coherent | 299bea1bb52a4dcc42a06eabd5b476fce77013ef | [
"BSD-3-Clause"
] | null | null | null | doc/mwc/doc/coherent/manual/FILES.c | gspu/Coherent | 299bea1bb52a4dcc42a06eabd5b476fce77013ef | [
"BSD-3-Clause"
] | 1 | 2022-03-25T18:38:37.000Z | 2022-03-25T18:38:37.000Z | /v/doc/coherent/lx/c
/v/doc/coherent/lx/c_keyword
/v/doc/coherent/lx/c_languag
/v/doc/coherent/lx/c_preproc
/v/doc/coherent/lx/cabs
/v/doc/coherent/lx/cal
/v/doc/coherent/lx/calendar
/v/doc/coherent/lx/calling_c
/v/doc/coherent/lx/calloc
/v/doc/coherent/lx/cancel
/v/doc/coherent/lx/canon.h
/v/doc/coherent/lx/captoinfo
... | 25.716814 | 28 | 0.759463 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.